864 lines
45 KiB
ArmAsm
864 lines
45 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text1, "ax" # 0x80006A00 - 0x80406260
|
|
.global VX2CommandSkip116x2__FR14VX2DecoderData
|
|
VX2CommandSkip116x2__FR14VX2DecoderData:
|
|
/* 801551C0 00151000 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 801551C4 00151004 7C 08 02 A6 */ mflr r0
|
|
/* 801551C8 00151008 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 801551CC 0015100C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 801551D0 00151010 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 801551D4 00151014 7C 7E 1B 78 */ mr r30, r3
|
|
/* 801551D8 00151018 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 801551DC 0015101C A8 E3 0A 24 */ lha r7, 0xa24(r3)
|
|
/* 801551E0 00151020 A9 23 0A 26 */ lha r9, 0xa26(r3)
|
|
/* 801551E4 00151024 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 801551E8 00151028 7F E7 02 14 */ add r31, r7, r0
|
|
/* 801551EC 0015102C 7C E8 0E 70 */ srawi r8, r7, 1
|
|
/* 801551F0 00151030 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 801551F4 00151034 7D 26 0E 70 */ srawi r6, r9, 1
|
|
/* 801551F8 00151038 57 E4 07 7E */ clrlwi r4, r31, 0x1d
|
|
/* 801551FC 0015103C 55 20 1F 38 */ rlwinm r0, r9, 3, 0x1c, 0x1c
|
|
/* 80155200 00151040 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155204 00151044 80 83 00 6C */ lwz r4, 0x6c(r3)
|
|
/* 80155208 00151048 B0 E3 0A 20 */ sth r7, 0xa20(r3)
|
|
/* 8015520C 0015104C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80155210 00151050 7C E4 52 14 */ add r7, r4, r10
|
|
/* 80155214 00151054 80 83 00 68 */ lwz r4, 0x68(r3)
|
|
/* 80155218 00151058 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8015521C 0015105C B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80155220 00151060 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80155224 00151064 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80155228 00151068 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 8015522C 0015106C 81 83 0B 68 */ lwz r12, 0xb68(r3)
|
|
/* 80155230 00151070 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80155234 00151074 7D 89 03 A6 */ mtctr r12
|
|
/* 80155238 00151078 4E 80 04 21 */ bctrl
|
|
/* 8015523C 0015107C 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80155240 00151080 57 E4 FF 7E */ rlwinm r4, r31, 0x1f, 0x1d, 0x1f
|
|
/* 80155244 00151084 A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80155248 00151088 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 8015524C 0015108C A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80155250 00151090 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80155254 00151094 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80155258 00151098 54 60 17 38 */ rlwinm r0, r3, 2, 0x1c, 0x1c
|
|
/* 8015525C 0015109C 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80155260 001510A0 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155264 001510A4 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 80155268 001510A8 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 8015526C 001510AC 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80155270 001510B0 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80155274 001510B4 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80155278 001510B8 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 8015527C 001510BC 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 80155280 001510C0 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80155284 001510C4 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80155288 001510C8 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015528C 001510CC 7D 89 03 A6 */ mtctr r12
|
|
/* 80155290 001510D0 4E 80 04 21 */ bctrl
|
|
/* 80155294 001510D4 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80155298 001510D8 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 8015529C 001510DC 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 801552A0 001510E0 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 801552A4 001510E4 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 801552A8 001510E8 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 801552AC 001510EC 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 801552B0 001510F0 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 801552B4 001510F4 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 801552B8 001510F8 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 801552BC 001510FC 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 801552C0 00151100 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 801552C4 00151104 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801552C8 00151108 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 801552CC 0015110C 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 801552D0 00151110 7D 89 03 A6 */ mtctr r12
|
|
/* 801552D4 00151114 4E 80 04 21 */ bctrl
|
|
/* 801552D8 00151118 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 801552DC 0015111C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 801552E0 00151120 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 801552E4 00151124 7C 08 03 A6 */ mtlr r0
|
|
/* 801552E8 00151128 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 801552EC 0015112C 4E 80 00 20 */ blr
|
|
|
|
.global VX2CommandBack116x2__FR14VX2DecoderData
|
|
VX2CommandBack116x2__FR14VX2DecoderData:
|
|
/* 801552F0 00151130 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 801552F4 00151134 7C 08 02 A6 */ mflr r0
|
|
/* 801552F8 00151138 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801552FC 0015113C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80155300 00151140 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80155304 00151144 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80155308 00151148 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015530C 0015114C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80155310 00151150 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80155314 00151154 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80155318 00151158 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015531C 0015115C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80155320 00151160 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 80155324 00151164 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80155328 00151168 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015532C 0015116C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80155330 00151170 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80155334 00151174 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80155338 00151178 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015533C 0015117C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80155340 00151180 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80155344 00151184 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80155348 00151188 40 80 00 2C */ bge lbl_80155374
|
|
/* 8015534C 0015118C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80155350 00151190 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80155354 00151194 7C A7 00 D0 */ neg r5, r7
|
|
/* 80155358 00151198 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015535C 0015119C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80155360 001511A0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80155364 001511A4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80155368 001511A8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015536C 001511AC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80155370 001511B0 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80155374:
|
|
/* 80155374 001511B4 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80155378 001511B8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015537C 001511BC 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80155380 001511C0 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80155384 001511C4 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80155388 001511C8 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015538C 001511CC 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 80155390 001511D0 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80155394 001511D4 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80155398 001511D8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015539C 001511DC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801553A0 001511E0 7D 29 07 74 */ extsb r9, r9
|
|
/* 801553A4 001511E4 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801553A8 001511E8 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801553AC 001511EC 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801553B0 001511F0 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801553B4 001511F4 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 801553B8 001511F8 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801553BC 001511FC 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801553C0 00151200 40 80 00 2C */ bge lbl_801553EC
|
|
/* 801553C4 00151204 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801553C8 00151208 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 801553CC 0015120C 7C A7 00 D0 */ neg r5, r7
|
|
/* 801553D0 00151210 38 84 00 02 */ addi r4, r4, 2
|
|
/* 801553D4 00151214 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801553D8 00151218 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801553DC 0015121C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801553E0 00151220 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801553E4 00151224 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801553E8 00151228 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_801553EC:
|
|
/* 801553EC 0015122C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 801553F0 00151230 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 801553F4 00151234 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 801553F8 00151238 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 801553FC 0015123C 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80155400 00151240 7D 26 07 34 */ extsh r6, r9
|
|
/* 80155404 00151244 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80155408 00151248 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015540C 0015124C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80155410 00151250 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80155414 00151254 80 E3 00 6C */ lwz r7, 0x6c(r3)
|
|
/* 80155418 00151258 55 20 1F 38 */ rlwinm r0, r9, 3, 0x1c, 0x1c
|
|
/* 8015541C 0015125C 57 E4 07 7E */ clrlwi r4, r31, 0x1d
|
|
/* 80155420 00151260 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80155424 00151264 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155428 00151268 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015542C 0015126C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80155430 00151270 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80155434 00151274 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80155438 00151278 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015543C 0015127C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80155440 00151280 81 83 0B 68 */ lwz r12, 0xb68(r3)
|
|
/* 80155444 00151284 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80155448 00151288 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015544C 0015128C 7D 89 03 A6 */ mtctr r12
|
|
/* 80155450 00151290 4E 80 04 21 */ bctrl
|
|
/* 80155454 00151294 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80155458 00151298 57 E4 FF 7E */ rlwinm r4, r31, 0x1f, 0x1d, 0x1f
|
|
/* 8015545C 0015129C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80155460 001512A0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80155464 001512A4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80155468 001512A8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015546C 001512AC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80155470 001512B0 54 60 17 38 */ rlwinm r0, r3, 2, 0x1c, 0x1c
|
|
/* 80155474 001512B4 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80155478 001512B8 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015547C 001512BC 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 80155480 001512C0 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80155484 001512C4 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80155488 001512C8 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015548C 001512CC 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80155490 001512D0 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80155494 001512D4 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 80155498 001512D8 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015549C 001512DC 7C 80 42 14 */ add r4, r0, r8
|
|
/* 801554A0 001512E0 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801554A4 001512E4 7D 89 03 A6 */ mtctr r12
|
|
/* 801554A8 001512E8 4E 80 04 21 */ bctrl
|
|
/* 801554AC 001512EC 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 801554B0 001512F0 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 801554B4 001512F4 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 801554B8 001512F8 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 801554BC 001512FC 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 801554C0 00151300 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 801554C4 00151304 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 801554C8 00151308 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 801554CC 0015130C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 801554D0 00151310 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 801554D4 00151314 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 801554D8 00151318 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 801554DC 0015131C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801554E0 00151320 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 801554E4 00151324 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 801554E8 00151328 7D 89 03 A6 */ mtctr r12
|
|
/* 801554EC 0015132C 4E 80 04 21 */ bctrl
|
|
/* 801554F0 00151330 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 801554F4 00151334 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 801554F8 00151338 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 801554FC 0015133C 7C 08 03 A6 */ mtlr r0
|
|
/* 80155500 00151340 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80155504 00151344 4E 80 00 20 */ blr
|
|
/* 80155508 00151348 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015550C 0015134C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack216x2__FR14VX2DecoderData
|
|
VX2CommandBack216x2__FR14VX2DecoderData:
|
|
/* 80155510 00151350 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80155514 00151354 7C 08 02 A6 */ mflr r0
|
|
/* 80155518 00151358 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015551C 0015135C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80155520 00151360 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80155524 00151364 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80155528 00151368 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015552C 0015136C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80155530 00151370 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80155534 00151374 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80155538 00151378 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015553C 0015137C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80155540 00151380 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 80155544 00151384 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80155548 00151388 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015554C 0015138C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80155550 00151390 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80155554 00151394 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80155558 00151398 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015555C 0015139C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80155560 001513A0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80155564 001513A4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80155568 001513A8 40 80 00 2C */ bge lbl_80155594
|
|
/* 8015556C 001513AC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80155570 001513B0 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80155574 001513B4 7C A7 00 D0 */ neg r5, r7
|
|
/* 80155578 001513B8 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015557C 001513BC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80155580 001513C0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80155584 001513C4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80155588 001513C8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015558C 001513CC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80155590 001513D0 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80155594:
|
|
/* 80155594 001513D4 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80155598 001513D8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015559C 001513DC 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 801555A0 001513E0 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801555A4 001513E4 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 801555A8 001513E8 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 801555AC 001513EC 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 801555B0 001513F0 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801555B4 001513F4 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 801555B8 001513F8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801555BC 001513FC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801555C0 00151400 7D 29 07 74 */ extsb r9, r9
|
|
/* 801555C4 00151404 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801555C8 00151408 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801555CC 0015140C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801555D0 00151410 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801555D4 00151414 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 801555D8 00151418 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801555DC 0015141C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801555E0 00151420 40 80 00 2C */ bge lbl_8015560C
|
|
/* 801555E4 00151424 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801555E8 00151428 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 801555EC 0015142C 7C A7 00 D0 */ neg r5, r7
|
|
/* 801555F0 00151430 38 84 00 02 */ addi r4, r4, 2
|
|
/* 801555F4 00151434 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801555F8 00151438 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801555FC 0015143C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80155600 00151440 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80155604 00151444 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80155608 00151448 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015560C:
|
|
/* 8015560C 0015144C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80155610 00151450 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80155614 00151454 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80155618 00151458 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015561C 0015145C 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80155620 00151460 7D 26 07 34 */ extsh r6, r9
|
|
/* 80155624 00151464 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80155628 00151468 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015562C 0015146C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80155630 00151470 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80155634 00151474 80 E3 00 70 */ lwz r7, 0x70(r3)
|
|
/* 80155638 00151478 55 20 1F 38 */ rlwinm r0, r9, 3, 0x1c, 0x1c
|
|
/* 8015563C 0015147C 57 E4 07 7E */ clrlwi r4, r31, 0x1d
|
|
/* 80155640 00151480 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80155644 00151484 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155648 00151488 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015564C 0015148C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80155650 00151490 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80155654 00151494 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80155658 00151498 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015565C 0015149C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80155660 001514A0 81 83 0B 68 */ lwz r12, 0xb68(r3)
|
|
/* 80155664 001514A4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80155668 001514A8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015566C 001514AC 7D 89 03 A6 */ mtctr r12
|
|
/* 80155670 001514B0 4E 80 04 21 */ bctrl
|
|
/* 80155674 001514B4 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80155678 001514B8 57 E4 FF 7E */ rlwinm r4, r31, 0x1f, 0x1d, 0x1f
|
|
/* 8015567C 001514BC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80155680 001514C0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80155684 001514C4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80155688 001514C8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015568C 001514CC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80155690 001514D0 54 60 17 38 */ rlwinm r0, r3, 2, 0x1c, 0x1c
|
|
/* 80155694 001514D4 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80155698 001514D8 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015569C 001514DC 80 9E 00 88 */ lwz r4, 0x88(r30)
|
|
/* 801556A0 001514E0 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 801556A4 001514E4 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 801556A8 001514E8 7F FE 32 14 */ add r31, r30, r6
|
|
/* 801556AC 001514EC 7C 84 42 14 */ add r4, r4, r8
|
|
/* 801556B0 001514F0 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 801556B4 001514F4 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 801556B8 001514F8 7C 67 22 14 */ add r3, r7, r4
|
|
/* 801556BC 001514FC 7C 80 42 14 */ add r4, r0, r8
|
|
/* 801556C0 00151500 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801556C4 00151504 7D 89 03 A6 */ mtctr r12
|
|
/* 801556C8 00151508 4E 80 04 21 */ bctrl
|
|
/* 801556CC 0015150C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 801556D0 00151510 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 801556D4 00151514 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 801556D8 00151518 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 801556DC 0015151C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 801556E0 00151520 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 801556E4 00151524 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 801556E8 00151528 80 7E 00 A0 */ lwz r3, 0xa0(r30)
|
|
/* 801556EC 0015152C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 801556F0 00151530 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 801556F4 00151534 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 801556F8 00151538 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 801556FC 0015153C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80155700 00151540 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80155704 00151544 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80155708 00151548 7D 89 03 A6 */ mtctr r12
|
|
/* 8015570C 0015154C 4E 80 04 21 */ bctrl
|
|
/* 80155710 00151550 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80155714 00151554 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80155718 00151558 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015571C 0015155C 7C 08 03 A6 */ mtlr r0
|
|
/* 80155720 00151560 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80155724 00151564 4E 80 00 20 */ blr
|
|
/* 80155728 00151568 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015572C 0015156C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack316x2__FR14VX2DecoderData
|
|
VX2CommandBack316x2__FR14VX2DecoderData:
|
|
/* 80155730 00151570 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80155734 00151574 7C 08 02 A6 */ mflr r0
|
|
/* 80155738 00151578 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015573C 0015157C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80155740 00151580 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80155744 00151584 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80155748 00151588 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015574C 0015158C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80155750 00151590 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80155754 00151594 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80155758 00151598 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015575C 0015159C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80155760 001515A0 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 80155764 001515A4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80155768 001515A8 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015576C 001515AC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80155770 001515B0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80155774 001515B4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80155778 001515B8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015577C 001515BC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80155780 001515C0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80155784 001515C4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80155788 001515C8 40 80 00 2C */ bge lbl_801557B4
|
|
/* 8015578C 001515CC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80155790 001515D0 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80155794 001515D4 7C A7 00 D0 */ neg r5, r7
|
|
/* 80155798 001515D8 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015579C 001515DC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801557A0 001515E0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801557A4 001515E4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801557A8 001515E8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801557AC 001515EC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801557B0 001515F0 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_801557B4:
|
|
/* 801557B4 001515F4 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 801557B8 001515F8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801557BC 001515FC 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 801557C0 00151600 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801557C4 00151604 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 801557C8 00151608 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 801557CC 0015160C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 801557D0 00151610 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801557D4 00151614 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 801557D8 00151618 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801557DC 0015161C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801557E0 00151620 7D 29 07 74 */ extsb r9, r9
|
|
/* 801557E4 00151624 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801557E8 00151628 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801557EC 0015162C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801557F0 00151630 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801557F4 00151634 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 801557F8 00151638 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801557FC 0015163C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80155800 00151640 40 80 00 2C */ bge lbl_8015582C
|
|
/* 80155804 00151644 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80155808 00151648 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015580C 0015164C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80155810 00151650 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80155814 00151654 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80155818 00151658 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015581C 0015165C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80155820 00151660 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80155824 00151664 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80155828 00151668 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015582C:
|
|
/* 8015582C 0015166C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80155830 00151670 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80155834 00151674 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80155838 00151678 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015583C 0015167C 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80155840 00151680 7D 26 07 34 */ extsh r6, r9
|
|
/* 80155844 00151684 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80155848 00151688 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015584C 0015168C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80155850 00151690 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80155854 00151694 80 E3 00 74 */ lwz r7, 0x74(r3)
|
|
/* 80155858 00151698 55 20 1F 38 */ rlwinm r0, r9, 3, 0x1c, 0x1c
|
|
/* 8015585C 0015169C 57 E4 07 7E */ clrlwi r4, r31, 0x1d
|
|
/* 80155860 001516A0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80155864 001516A4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155868 001516A8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015586C 001516AC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80155870 001516B0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80155874 001516B4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80155878 001516B8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015587C 001516BC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80155880 001516C0 81 83 0B 68 */ lwz r12, 0xb68(r3)
|
|
/* 80155884 001516C4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80155888 001516C8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015588C 001516CC 7D 89 03 A6 */ mtctr r12
|
|
/* 80155890 001516D0 4E 80 04 21 */ bctrl
|
|
/* 80155894 001516D4 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80155898 001516D8 57 E4 FF 7E */ rlwinm r4, r31, 0x1f, 0x1d, 0x1f
|
|
/* 8015589C 001516DC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 801558A0 001516E0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 801558A4 001516E4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 801558A8 001516E8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 801558AC 001516EC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 801558B0 001516F0 54 60 17 38 */ rlwinm r0, r3, 2, 0x1c, 0x1c
|
|
/* 801558B4 001516F4 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 801558B8 001516F8 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801558BC 001516FC 80 9E 00 8C */ lwz r4, 0x8c(r30)
|
|
/* 801558C0 00151700 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 801558C4 00151704 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 801558C8 00151708 7F FE 32 14 */ add r31, r30, r6
|
|
/* 801558CC 0015170C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 801558D0 00151710 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 801558D4 00151714 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 801558D8 00151718 7C 67 22 14 */ add r3, r7, r4
|
|
/* 801558DC 0015171C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 801558E0 00151720 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801558E4 00151724 7D 89 03 A6 */ mtctr r12
|
|
/* 801558E8 00151728 4E 80 04 21 */ bctrl
|
|
/* 801558EC 0015172C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 801558F0 00151730 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 801558F4 00151734 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 801558F8 00151738 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 801558FC 0015173C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80155900 00151740 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80155904 00151744 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80155908 00151748 80 7E 00 A4 */ lwz r3, 0xa4(r30)
|
|
/* 8015590C 0015174C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80155910 00151750 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80155914 00151754 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80155918 00151758 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 8015591C 0015175C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80155920 00151760 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80155924 00151764 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80155928 00151768 7D 89 03 A6 */ mtctr r12
|
|
/* 8015592C 0015176C 4E 80 04 21 */ bctrl
|
|
/* 80155930 00151770 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80155934 00151774 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80155938 00151778 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015593C 0015177C 7C 08 03 A6 */ mtlr r0
|
|
/* 80155940 00151780 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80155944 00151784 4E 80 00 20 */ blr
|
|
/* 80155948 00151788 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015594C 0015178C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack416x2__FR14VX2DecoderData
|
|
VX2CommandBack416x2__FR14VX2DecoderData:
|
|
/* 80155950 00151790 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80155954 00151794 7C 08 02 A6 */ mflr r0
|
|
/* 80155958 00151798 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015595C 0015179C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80155960 001517A0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80155964 001517A4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80155968 001517A8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015596C 001517AC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80155970 001517B0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80155974 001517B4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80155978 001517B8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015597C 001517BC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80155980 001517C0 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 80155984 001517C4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80155988 001517C8 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015598C 001517CC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80155990 001517D0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80155994 001517D4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80155998 001517D8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015599C 001517DC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 801559A0 001517E0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801559A4 001517E4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801559A8 001517E8 40 80 00 2C */ bge lbl_801559D4
|
|
/* 801559AC 001517EC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801559B0 001517F0 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 801559B4 001517F4 7C A7 00 D0 */ neg r5, r7
|
|
/* 801559B8 001517F8 38 84 00 02 */ addi r4, r4, 2
|
|
/* 801559BC 001517FC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801559C0 00151800 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801559C4 00151804 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801559C8 00151808 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801559CC 0015180C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801559D0 00151810 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_801559D4:
|
|
/* 801559D4 00151814 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 801559D8 00151818 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801559DC 0015181C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 801559E0 00151820 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801559E4 00151824 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 801559E8 00151828 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 801559EC 0015182C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 801559F0 00151830 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801559F4 00151834 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 801559F8 00151838 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801559FC 0015183C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80155A00 00151840 7D 29 07 74 */ extsb r9, r9
|
|
/* 80155A04 00151844 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80155A08 00151848 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80155A0C 0015184C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80155A10 00151850 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80155A14 00151854 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80155A18 00151858 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80155A1C 0015185C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80155A20 00151860 40 80 00 2C */ bge lbl_80155A4C
|
|
/* 80155A24 00151864 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80155A28 00151868 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80155A2C 0015186C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80155A30 00151870 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80155A34 00151874 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80155A38 00151878 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80155A3C 0015187C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80155A40 00151880 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80155A44 00151884 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80155A48 00151888 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80155A4C:
|
|
/* 80155A4C 0015188C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80155A50 00151890 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80155A54 00151894 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80155A58 00151898 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80155A5C 0015189C 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80155A60 001518A0 7D 26 07 34 */ extsh r6, r9
|
|
/* 80155A64 001518A4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80155A68 001518A8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 80155A6C 001518AC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80155A70 001518B0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80155A74 001518B4 80 E3 00 78 */ lwz r7, 0x78(r3)
|
|
/* 80155A78 001518B8 55 20 1F 38 */ rlwinm r0, r9, 3, 0x1c, 0x1c
|
|
/* 80155A7C 001518BC 57 E4 07 7E */ clrlwi r4, r31, 0x1d
|
|
/* 80155A80 001518C0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80155A84 001518C4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155A88 001518C8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 80155A8C 001518CC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80155A90 001518D0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80155A94 001518D4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80155A98 001518D8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80155A9C 001518DC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80155AA0 001518E0 81 83 0B 68 */ lwz r12, 0xb68(r3)
|
|
/* 80155AA4 001518E4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80155AA8 001518E8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80155AAC 001518EC 7D 89 03 A6 */ mtctr r12
|
|
/* 80155AB0 001518F0 4E 80 04 21 */ bctrl
|
|
/* 80155AB4 001518F4 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80155AB8 001518F8 57 E4 FF 7E */ rlwinm r4, r31, 0x1f, 0x1d, 0x1f
|
|
/* 80155ABC 001518FC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80155AC0 00151900 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80155AC4 00151904 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80155AC8 00151908 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80155ACC 0015190C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80155AD0 00151910 54 60 17 38 */ rlwinm r0, r3, 2, 0x1c, 0x1c
|
|
/* 80155AD4 00151914 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80155AD8 00151918 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155ADC 0015191C 80 9E 00 90 */ lwz r4, 0x90(r30)
|
|
/* 80155AE0 00151920 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80155AE4 00151924 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80155AE8 00151928 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80155AEC 0015192C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80155AF0 00151930 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80155AF4 00151934 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 80155AF8 00151938 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80155AFC 0015193C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80155B00 00151940 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80155B04 00151944 7D 89 03 A6 */ mtctr r12
|
|
/* 80155B08 00151948 4E 80 04 21 */ bctrl
|
|
/* 80155B0C 0015194C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80155B10 00151950 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80155B14 00151954 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80155B18 00151958 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80155B1C 0015195C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80155B20 00151960 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80155B24 00151964 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80155B28 00151968 80 7E 00 A8 */ lwz r3, 0xa8(r30)
|
|
/* 80155B2C 0015196C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80155B30 00151970 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80155B34 00151974 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80155B38 00151978 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 80155B3C 0015197C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80155B40 00151980 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80155B44 00151984 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80155B48 00151988 7D 89 03 A6 */ mtctr r12
|
|
/* 80155B4C 0015198C 4E 80 04 21 */ bctrl
|
|
/* 80155B50 00151990 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80155B54 00151994 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80155B58 00151998 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80155B5C 0015199C 7C 08 03 A6 */ mtlr r0
|
|
/* 80155B60 001519A0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80155B64 001519A4 4E 80 00 20 */ blr
|
|
/* 80155B68 001519A8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 80155B6C 001519AC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack516x2__FR14VX2DecoderData
|
|
VX2CommandBack516x2__FR14VX2DecoderData:
|
|
/* 80155B70 001519B0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80155B74 001519B4 7C 08 02 A6 */ mflr r0
|
|
/* 80155B78 001519B8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80155B7C 001519BC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80155B80 001519C0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80155B84 001519C4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80155B88 001519C8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80155B8C 001519CC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80155B90 001519D0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80155B94 001519D4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80155B98 001519D8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 80155B9C 001519DC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80155BA0 001519E0 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 80155BA4 001519E4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80155BA8 001519E8 7D 29 07 74 */ extsb r9, r9
|
|
/* 80155BAC 001519EC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80155BB0 001519F0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80155BB4 001519F4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80155BB8 001519F8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80155BBC 001519FC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80155BC0 00151A00 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80155BC4 00151A04 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80155BC8 00151A08 40 80 00 2C */ bge lbl_80155BF4
|
|
/* 80155BCC 00151A0C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80155BD0 00151A10 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80155BD4 00151A14 7C A7 00 D0 */ neg r5, r7
|
|
/* 80155BD8 00151A18 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80155BDC 00151A1C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80155BE0 00151A20 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80155BE4 00151A24 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80155BE8 00151A28 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80155BEC 00151A2C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80155BF0 00151A30 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80155BF4:
|
|
/* 80155BF4 00151A34 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80155BF8 00151A38 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80155BFC 00151A3C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80155C00 00151A40 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80155C04 00151A44 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80155C08 00151A48 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 80155C0C 00151A4C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 80155C10 00151A50 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80155C14 00151A54 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80155C18 00151A58 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80155C1C 00151A5C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80155C20 00151A60 7D 29 07 74 */ extsb r9, r9
|
|
/* 80155C24 00151A64 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80155C28 00151A68 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80155C2C 00151A6C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80155C30 00151A70 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80155C34 00151A74 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80155C38 00151A78 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80155C3C 00151A7C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80155C40 00151A80 40 80 00 2C */ bge lbl_80155C6C
|
|
/* 80155C44 00151A84 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80155C48 00151A88 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80155C4C 00151A8C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80155C50 00151A90 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80155C54 00151A94 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80155C58 00151A98 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80155C5C 00151A9C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80155C60 00151AA0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80155C64 00151AA4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80155C68 00151AA8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80155C6C:
|
|
/* 80155C6C 00151AAC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80155C70 00151AB0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80155C74 00151AB4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80155C78 00151AB8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80155C7C 00151ABC 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80155C80 00151AC0 7D 26 07 34 */ extsh r6, r9
|
|
/* 80155C84 00151AC4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80155C88 00151AC8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 80155C8C 00151ACC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80155C90 00151AD0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80155C94 00151AD4 80 E3 00 7C */ lwz r7, 0x7c(r3)
|
|
/* 80155C98 00151AD8 55 20 1F 38 */ rlwinm r0, r9, 3, 0x1c, 0x1c
|
|
/* 80155C9C 00151ADC 57 E4 07 7E */ clrlwi r4, r31, 0x1d
|
|
/* 80155CA0 00151AE0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80155CA4 00151AE4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155CA8 00151AE8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 80155CAC 00151AEC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80155CB0 00151AF0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80155CB4 00151AF4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80155CB8 00151AF8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80155CBC 00151AFC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80155CC0 00151B00 81 83 0B 68 */ lwz r12, 0xb68(r3)
|
|
/* 80155CC4 00151B04 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80155CC8 00151B08 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80155CCC 00151B0C 7D 89 03 A6 */ mtctr r12
|
|
/* 80155CD0 00151B10 4E 80 04 21 */ bctrl
|
|
/* 80155CD4 00151B14 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80155CD8 00151B18 57 E4 FF 7E */ rlwinm r4, r31, 0x1f, 0x1d, 0x1f
|
|
/* 80155CDC 00151B1C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80155CE0 00151B20 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80155CE4 00151B24 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80155CE8 00151B28 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80155CEC 00151B2C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80155CF0 00151B30 54 60 17 38 */ rlwinm r0, r3, 2, 0x1c, 0x1c
|
|
/* 80155CF4 00151B34 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80155CF8 00151B38 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80155CFC 00151B3C 80 9E 00 94 */ lwz r4, 0x94(r30)
|
|
/* 80155D00 00151B40 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80155D04 00151B44 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80155D08 00151B48 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80155D0C 00151B4C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80155D10 00151B50 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80155D14 00151B54 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 80155D18 00151B58 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80155D1C 00151B5C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80155D20 00151B60 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80155D24 00151B64 7D 89 03 A6 */ mtctr r12
|
|
/* 80155D28 00151B68 4E 80 04 21 */ bctrl
|
|
/* 80155D2C 00151B6C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80155D30 00151B70 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80155D34 00151B74 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80155D38 00151B78 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80155D3C 00151B7C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80155D40 00151B80 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80155D44 00151B84 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80155D48 00151B88 80 7E 00 AC */ lwz r3, 0xac(r30)
|
|
/* 80155D4C 00151B8C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80155D50 00151B90 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80155D54 00151B94 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80155D58 00151B98 81 9F 0C A8 */ lwz r12, 0xca8(r31)
|
|
/* 80155D5C 00151B9C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80155D60 00151BA0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80155D64 00151BA4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80155D68 00151BA8 7D 89 03 A6 */ mtctr r12
|
|
/* 80155D6C 00151BAC 4E 80 04 21 */ bctrl
|
|
/* 80155D70 00151BB0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80155D74 00151BB4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80155D78 00151BB8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80155D7C 00151BBC 7C 08 03 A6 */ mtlr r0
|
|
/* 80155D80 00151BC0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80155D84 00151BC4 4E 80 00 20 */ blr
|
|
/* 80155D88 00151BC8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 80155D8C 00151BCC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandCutV16x2__FR14VX2DecoderData
|
|
VX2CommandCutV16x2__FR14VX2DecoderData:
|
|
/* 80155D90 00151BD0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80155D94 00151BD4 7C 08 02 A6 */ mflr r0
|
|
/* 80155D98 00151BD8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80155D9C 00151BDC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80155DA0 00151BE0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80155DA4 00151BE4 48 00 9C 1D */ bl VX2DecodeBlockInter8x2__FR14VX2DecoderData
|
|
/* 80155DA8 00151BE8 80 BF 08 B4 */ lwz r5, 0x8b4(r31)
|
|
/* 80155DAC 00151BEC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80155DB0 00151BF0 80 9F 08 B8 */ lwz r4, 0x8b8(r31)
|
|
/* 80155DB4 00151BF4 38 05 00 08 */ addi r0, r5, 8
|
|
/* 80155DB8 00151BF8 90 1F 08 B4 */ stw r0, 0x8b4(r31)
|
|
/* 80155DBC 00151BFC 38 04 00 04 */ addi r0, r4, 4
|
|
/* 80155DC0 00151C00 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 80155DC4 00151C04 48 00 9B FD */ bl VX2DecodeBlockInter8x2__FR14VX2DecoderData
|
|
/* 80155DC8 00151C08 80 9F 08 B4 */ lwz r4, 0x8b4(r31)
|
|
/* 80155DCC 00151C0C 80 7F 08 B8 */ lwz r3, 0x8b8(r31)
|
|
/* 80155DD0 00151C10 38 04 FF F8 */ addi r0, r4, -8
|
|
/* 80155DD4 00151C14 90 1F 08 B4 */ stw r0, 0x8b4(r31)
|
|
/* 80155DD8 00151C18 38 03 FF FC */ addi r0, r3, -4
|
|
/* 80155DDC 00151C1C 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 80155DE0 00151C20 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80155DE4 00151C24 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80155DE8 00151C28 7C 08 03 A6 */ mtlr r0
|
|
/* 80155DEC 00151C2C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80155DF0 00151C30 4E 80 00 20 */ blr
|
|
/* 80155DF4 00151C34 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 80155DF8 00151C38 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 80155DFC 00151C3C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2DecodeBlockInter16x2__FR14VX2DecoderData
|
|
VX2DecodeBlockInter16x2__FR14VX2DecoderData:
|
|
/* 80155E00 00151C40 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80155E04 00151C44 3C 80 80 41 */ lis r4, $$2LOCAL$$2VX2DecodeBlockInter16x2__FR14VX2DecoderData$$2command@ha
|
|
/* 80155E08 00151C48 3C A0 80 41 */ lis r5, $$2LOCAL$$2VX2DecodeBlockInter16x2__FR14VX2DecoderData$$2size$$20@ha
|
|
/* 80155E0C 00151C4C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80155E10 00151C50 54 C6 36 BA */ rlwinm r6, r6, 6, 0x1a, 0x1d
|
|
/* 80155E14 00151C54 38 84 EA 80 */ addi r4, r4, $$2LOCAL$$2VX2DecodeBlockInter16x2__FR14VX2DecoderData$$2command@l
|
|
/* 80155E18 00151C58 7C C4 30 2E */ lwzx r6, r4, r6
|
|
/* 80155E1C 00151C5C 38 A5 EA C0 */ addi r5, r5, $$2LOCAL$$2VX2DecodeBlockInter16x2__FR14VX2DecoderData$$2size$$20@l
|
|
/* 80155E20 00151C60 80 83 0A 08 */ lwz r4, 0xa08(r3)
|
|
/* 80155E24 00151C64 54 C9 10 3A */ slwi r9, r6, 2
|
|
/* 80155E28 00151C68 7C A5 48 2E */ lwzx r5, r5, r9
|
|
/* 80155E2C 00151C6C 7C E5 00 51 */ subf. r7, r5, r0
|
|
/* 80155E30 00151C70 7C 88 28 30 */ slw r8, r4, r5
|
|
/* 80155E34 00151C74 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80155E38 00151C78 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80155E3C 00151C7C 40 80 00 2C */ bge lbl_80155E68
|
|
/* 80155E40 00151C80 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80155E44 00151C84 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80155E48 00151C88 7C A7 00 D0 */ neg r5, r7
|
|
/* 80155E4C 00151C8C 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80155E50 00151C90 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80155E54 00151C94 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80155E58 00151C98 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80155E5C 00151C9C 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80155E60 00151CA0 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80155E64 00151CA4 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80155E68:
|
|
/* 80155E68 00151CA8 3C 80 80 41 */ lis r4, VX2CommandTable16x2@ha
|
|
/* 80155E6C 00151CAC 38 84 EA 58 */ addi r4, r4, VX2CommandTable16x2@l
|
|
/* 80155E70 00151CB0 7D 84 48 2E */ lwzx r12, r4, r9
|
|
/* 80155E74 00151CB4 7D 89 03 A6 */ mtctr r12
|
|
/* 80155E78 00151CB8 4E 80 04 20 */ bctr
|
|
/* 80155E7C 00151CBC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.section .data4, "wa" # 0x80406560 - 0x80421040
|
|
.global VX2CommandTable16x2
|
|
VX2CommandTable16x2:
|
|
.incbin "baserom.dol", 0x40AB58, 0x28
|
|
.global $$2LOCAL$$2VX2DecodeBlockInter16x2__FR14VX2DecoderData$$2command
|
|
$$2LOCAL$$2VX2DecodeBlockInter16x2__FR14VX2DecoderData$$2command:
|
|
.incbin "baserom.dol", 0x40AB80, 0x40
|
|
.global $$2LOCAL$$2VX2DecodeBlockInter16x2__FR14VX2DecoderData$$2size$$20
|
|
$$2LOCAL$$2VX2DecodeBlockInter16x2__FR14VX2DecoderData$$2size$$20:
|
|
.incbin "baserom.dol", 0x40ABC0, 0x28
|