868 lines
45 KiB
ArmAsm
868 lines
45 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text1, "ax" # 0x80006A00 - 0x80406260
|
|
.global VX2CommandSkip12x4__FR14VX2DecoderData
|
|
VX2CommandSkip12x4__FR14VX2DecoderData:
|
|
/* 80159220 00155060 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80159224 00155064 7C 08 02 A6 */ mflr r0
|
|
/* 80159228 00155068 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015922C 0015506C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80159230 00155070 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80159234 00155074 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80159238 00155078 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015923C 0015507C A8 E3 0A 24 */ lha r7, 0xa24(r3)
|
|
/* 80159240 00155080 A9 23 0A 26 */ lha r9, 0xa26(r3)
|
|
/* 80159244 00155084 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80159248 00155088 7F E7 02 14 */ add r31, r7, r0
|
|
/* 8015924C 0015508C 7C E8 0E 70 */ srawi r8, r7, 1
|
|
/* 80159250 00155090 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80159254 00155094 7D 26 0E 70 */ srawi r6, r9, 1
|
|
/* 80159258 00155098 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 8015925C 0015509C 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 80159260 001550A0 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159264 001550A4 80 83 00 6C */ lwz r4, 0x6c(r3)
|
|
/* 80159268 001550A8 B0 E3 0A 20 */ sth r7, 0xa20(r3)
|
|
/* 8015926C 001550AC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80159270 001550B0 7C E4 52 14 */ add r7, r4, r10
|
|
/* 80159274 001550B4 80 83 00 68 */ lwz r4, 0x68(r3)
|
|
/* 80159278 001550B8 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8015927C 001550BC B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80159280 001550C0 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80159284 001550C4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80159288 001550C8 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 8015928C 001550CC 81 83 0E 68 */ lwz r12, 0xe68(r3)
|
|
/* 80159290 001550D0 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80159294 001550D4 7D 89 03 A6 */ mtctr r12
|
|
/* 80159298 001550D8 4E 80 04 21 */ bctrl
|
|
/* 8015929C 001550DC 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 801592A0 001550E0 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 801592A4 001550E4 A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 801592A8 001550E8 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 801592AC 001550EC A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 801592B0 001550F0 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 801592B4 001550F4 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 801592B8 001550F8 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 801592BC 001550FC 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 801592C0 00155100 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801592C4 00155104 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 801592C8 00155108 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 801592CC 0015510C 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 801592D0 00155110 7F FE 32 14 */ add r31, r30, r6
|
|
/* 801592D4 00155114 7C 84 42 14 */ add r4, r4, r8
|
|
/* 801592D8 00155118 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 801592DC 0015511C 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 801592E0 00155120 7C 67 22 14 */ add r3, r7, r4
|
|
/* 801592E4 00155124 7C 80 42 14 */ add r4, r0, r8
|
|
/* 801592E8 00155128 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 801592EC 0015512C 7D 89 03 A6 */ mtctr r12
|
|
/* 801592F0 00155130 4E 80 04 21 */ bctrl
|
|
/* 801592F4 00155134 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 801592F8 00155138 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 801592FC 0015513C 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80159300 00155140 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80159304 00155144 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80159308 00155148 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 8015930C 0015514C 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80159310 00155150 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 80159314 00155154 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80159318 00155158 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 8015931C 0015515C 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80159320 00155160 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 80159324 00155164 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159328 00155168 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 8015932C 0015516C 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80159330 00155170 7D 89 03 A6 */ mtctr r12
|
|
/* 80159334 00155174 4E 80 04 21 */ bctrl
|
|
/* 80159338 00155178 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8015933C 0015517C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80159340 00155180 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80159344 00155184 7C 08 03 A6 */ mtlr r0
|
|
/* 80159348 00155188 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8015934C 0015518C 4E 80 00 20 */ blr
|
|
|
|
.global VX2CommandBack12x4__FR14VX2DecoderData
|
|
VX2CommandBack12x4__FR14VX2DecoderData:
|
|
/* 80159350 00155190 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80159354 00155194 7C 08 02 A6 */ mflr r0
|
|
/* 80159358 00155198 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015935C 0015519C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80159360 001551A0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80159364 001551A4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80159368 001551A8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015936C 001551AC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80159370 001551B0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80159374 001551B4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80159378 001551B8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015937C 001551BC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80159380 001551C0 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 80159384 001551C4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80159388 001551C8 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015938C 001551CC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80159390 001551D0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80159394 001551D4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80159398 001551D8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015939C 001551DC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 801593A0 001551E0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801593A4 001551E4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801593A8 001551E8 40 80 00 2C */ bge lbl_801593D4
|
|
/* 801593AC 001551EC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801593B0 001551F0 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 801593B4 001551F4 7C A7 00 D0 */ neg r5, r7
|
|
/* 801593B8 001551F8 38 84 00 02 */ addi r4, r4, 2
|
|
/* 801593BC 001551FC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801593C0 00155200 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801593C4 00155204 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801593C8 00155208 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801593CC 0015520C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801593D0 00155210 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_801593D4:
|
|
/* 801593D4 00155214 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 801593D8 00155218 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801593DC 0015521C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 801593E0 00155220 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801593E4 00155224 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 801593E8 00155228 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 801593EC 0015522C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 801593F0 00155230 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801593F4 00155234 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 801593F8 00155238 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801593FC 0015523C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80159400 00155240 7D 29 07 74 */ extsb r9, r9
|
|
/* 80159404 00155244 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80159408 00155248 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015940C 0015524C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80159410 00155250 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80159414 00155254 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80159418 00155258 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015941C 0015525C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80159420 00155260 40 80 00 2C */ bge lbl_8015944C
|
|
/* 80159424 00155264 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80159428 00155268 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015942C 0015526C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80159430 00155270 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80159434 00155274 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159438 00155278 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015943C 0015527C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159440 00155280 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80159444 00155284 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159448 00155288 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015944C:
|
|
/* 8015944C 0015528C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80159450 00155290 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80159454 00155294 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80159458 00155298 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015945C 0015529C 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80159460 001552A0 7D 26 07 34 */ extsh r6, r9
|
|
/* 80159464 001552A4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80159468 001552A8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015946C 001552AC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80159470 001552B0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80159474 001552B4 80 E3 00 6C */ lwz r7, 0x6c(r3)
|
|
/* 80159478 001552B8 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 8015947C 001552BC 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 80159480 001552C0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80159484 001552C4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159488 001552C8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015948C 001552CC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80159490 001552D0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80159494 001552D4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80159498 001552D8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015949C 001552DC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 801594A0 001552E0 81 83 0E 68 */ lwz r12, 0xe68(r3)
|
|
/* 801594A4 001552E4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 801594A8 001552E8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 801594AC 001552EC 7D 89 03 A6 */ mtctr r12
|
|
/* 801594B0 001552F0 4E 80 04 21 */ bctrl
|
|
/* 801594B4 001552F4 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 801594B8 001552F8 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 801594BC 001552FC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 801594C0 00155300 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 801594C4 00155304 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 801594C8 00155308 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 801594CC 0015530C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 801594D0 00155310 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 801594D4 00155314 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 801594D8 00155318 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801594DC 0015531C 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 801594E0 00155320 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 801594E4 00155324 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 801594E8 00155328 7F FE 32 14 */ add r31, r30, r6
|
|
/* 801594EC 0015532C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 801594F0 00155330 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 801594F4 00155334 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 801594F8 00155338 7C 67 22 14 */ add r3, r7, r4
|
|
/* 801594FC 0015533C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80159500 00155340 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159504 00155344 7D 89 03 A6 */ mtctr r12
|
|
/* 80159508 00155348 4E 80 04 21 */ bctrl
|
|
/* 8015950C 0015534C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80159510 00155350 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80159514 00155354 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80159518 00155358 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015951C 0015535C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80159520 00155360 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80159524 00155364 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80159528 00155368 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 8015952C 0015536C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80159530 00155370 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80159534 00155374 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80159538 00155378 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 8015953C 0015537C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159540 00155380 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80159544 00155384 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80159548 00155388 7D 89 03 A6 */ mtctr r12
|
|
/* 8015954C 0015538C 4E 80 04 21 */ bctrl
|
|
/* 80159550 00155390 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80159554 00155394 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80159558 00155398 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015955C 0015539C 7C 08 03 A6 */ mtlr r0
|
|
/* 80159560 001553A0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80159564 001553A4 4E 80 00 20 */ blr
|
|
/* 80159568 001553A8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015956C 001553AC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack22x4__FR14VX2DecoderData
|
|
VX2CommandBack22x4__FR14VX2DecoderData:
|
|
/* 80159570 001553B0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80159574 001553B4 7C 08 02 A6 */ mflr r0
|
|
/* 80159578 001553B8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015957C 001553BC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80159580 001553C0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80159584 001553C4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80159588 001553C8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015958C 001553CC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80159590 001553D0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80159594 001553D4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80159598 001553D8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015959C 001553DC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801595A0 001553E0 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 801595A4 001553E4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 801595A8 001553E8 7D 29 07 74 */ extsb r9, r9
|
|
/* 801595AC 001553EC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801595B0 001553F0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801595B4 001553F4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801595B8 001553F8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801595BC 001553FC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 801595C0 00155400 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801595C4 00155404 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801595C8 00155408 40 80 00 2C */ bge lbl_801595F4
|
|
/* 801595CC 0015540C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801595D0 00155410 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 801595D4 00155414 7C A7 00 D0 */ neg r5, r7
|
|
/* 801595D8 00155418 38 84 00 02 */ addi r4, r4, 2
|
|
/* 801595DC 0015541C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 801595E0 00155420 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 801595E4 00155424 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 801595E8 00155428 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 801595EC 0015542C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 801595F0 00155430 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_801595F4:
|
|
/* 801595F4 00155434 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 801595F8 00155438 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801595FC 0015543C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80159600 00155440 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80159604 00155444 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80159608 00155448 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015960C 0015544C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 80159610 00155450 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80159614 00155454 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80159618 00155458 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015961C 0015545C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80159620 00155460 7D 29 07 74 */ extsb r9, r9
|
|
/* 80159624 00155464 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80159628 00155468 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015962C 0015546C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80159630 00155470 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80159634 00155474 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80159638 00155478 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015963C 0015547C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80159640 00155480 40 80 00 2C */ bge lbl_8015966C
|
|
/* 80159644 00155484 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80159648 00155488 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015964C 0015548C 7C A7 00 D0 */ neg r5, r7
|
|
/* 80159650 00155490 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80159654 00155494 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159658 00155498 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015965C 0015549C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159660 001554A0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80159664 001554A4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159668 001554A8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015966C:
|
|
/* 8015966C 001554AC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80159670 001554B0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80159674 001554B4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80159678 001554B8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015967C 001554BC 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80159680 001554C0 7D 26 07 34 */ extsh r6, r9
|
|
/* 80159684 001554C4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80159688 001554C8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015968C 001554CC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80159690 001554D0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80159694 001554D4 80 E3 00 70 */ lwz r7, 0x70(r3)
|
|
/* 80159698 001554D8 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 8015969C 001554DC 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 801596A0 001554E0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 801596A4 001554E4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801596A8 001554E8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 801596AC 001554EC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 801596B0 001554F0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 801596B4 001554F4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 801596B8 001554F8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 801596BC 001554FC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 801596C0 00155500 81 83 0E 68 */ lwz r12, 0xe68(r3)
|
|
/* 801596C4 00155504 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 801596C8 00155508 7C 66 02 14 */ add r3, r6, r0
|
|
/* 801596CC 0015550C 7D 89 03 A6 */ mtctr r12
|
|
/* 801596D0 00155510 4E 80 04 21 */ bctrl
|
|
/* 801596D4 00155514 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 801596D8 00155518 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 801596DC 0015551C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 801596E0 00155520 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 801596E4 00155524 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 801596E8 00155528 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 801596EC 0015552C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 801596F0 00155530 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 801596F4 00155534 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 801596F8 00155538 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801596FC 0015553C 80 9E 00 88 */ lwz r4, 0x88(r30)
|
|
/* 80159700 00155540 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80159704 00155544 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80159708 00155548 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015970C 0015554C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80159710 00155550 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80159714 00155554 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 80159718 00155558 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015971C 0015555C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80159720 00155560 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159724 00155564 7D 89 03 A6 */ mtctr r12
|
|
/* 80159728 00155568 4E 80 04 21 */ bctrl
|
|
/* 8015972C 0015556C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80159730 00155570 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80159734 00155574 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80159738 00155578 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015973C 0015557C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80159740 00155580 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80159744 00155584 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80159748 00155588 80 7E 00 A0 */ lwz r3, 0xa0(r30)
|
|
/* 8015974C 0015558C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80159750 00155590 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80159754 00155594 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80159758 00155598 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 8015975C 0015559C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159760 001555A0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80159764 001555A4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80159768 001555A8 7D 89 03 A6 */ mtctr r12
|
|
/* 8015976C 001555AC 4E 80 04 21 */ bctrl
|
|
/* 80159770 001555B0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80159774 001555B4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80159778 001555B8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015977C 001555BC 7C 08 03 A6 */ mtlr r0
|
|
/* 80159780 001555C0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80159784 001555C4 4E 80 00 20 */ blr
|
|
/* 80159788 001555C8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015978C 001555CC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack32x4__FR14VX2DecoderData
|
|
VX2CommandBack32x4__FR14VX2DecoderData:
|
|
/* 80159790 001555D0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80159794 001555D4 7C 08 02 A6 */ mflr r0
|
|
/* 80159798 001555D8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015979C 001555DC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801597A0 001555E0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 801597A4 001555E4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801597A8 001555E8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801597AC 001555EC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 801597B0 001555F0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 801597B4 001555F4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 801597B8 001555F8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 801597BC 001555FC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801597C0 00155600 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 801597C4 00155604 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 801597C8 00155608 7D 29 07 74 */ extsb r9, r9
|
|
/* 801597CC 0015560C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801597D0 00155610 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801597D4 00155614 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801597D8 00155618 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801597DC 0015561C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 801597E0 00155620 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 801597E4 00155624 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 801597E8 00155628 40 80 00 2C */ bge lbl_80159814
|
|
/* 801597EC 0015562C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 801597F0 00155630 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 801597F4 00155634 7C A7 00 D0 */ neg r5, r7
|
|
/* 801597F8 00155638 38 84 00 02 */ addi r4, r4, 2
|
|
/* 801597FC 0015563C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159800 00155640 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80159804 00155644 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159808 00155648 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015980C 0015564C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159810 00155650 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80159814:
|
|
/* 80159814 00155654 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80159818 00155658 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015981C 0015565C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80159820 00155660 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80159824 00155664 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80159828 00155668 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015982C 0015566C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 80159830 00155670 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80159834 00155674 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80159838 00155678 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015983C 0015567C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80159840 00155680 7D 29 07 74 */ extsb r9, r9
|
|
/* 80159844 00155684 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80159848 00155688 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015984C 0015568C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80159850 00155690 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80159854 00155694 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80159858 00155698 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015985C 0015569C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80159860 001556A0 40 80 00 2C */ bge lbl_8015988C
|
|
/* 80159864 001556A4 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80159868 001556A8 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015986C 001556AC 7C A7 00 D0 */ neg r5, r7
|
|
/* 80159870 001556B0 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80159874 001556B4 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159878 001556B8 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015987C 001556BC 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159880 001556C0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80159884 001556C4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159888 001556C8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015988C:
|
|
/* 8015988C 001556CC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80159890 001556D0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80159894 001556D4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80159898 001556D8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015989C 001556DC 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 801598A0 001556E0 7D 26 07 34 */ extsh r6, r9
|
|
/* 801598A4 001556E4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 801598A8 001556E8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 801598AC 001556EC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 801598B0 001556F0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 801598B4 001556F4 80 E3 00 74 */ lwz r7, 0x74(r3)
|
|
/* 801598B8 001556F8 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 801598BC 001556FC 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 801598C0 00155700 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 801598C4 00155704 7C 04 02 14 */ add r0, r4, r0
|
|
/* 801598C8 00155708 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 801598CC 0015570C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 801598D0 00155710 7C E7 52 14 */ add r7, r7, r10
|
|
/* 801598D4 00155714 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 801598D8 00155718 7C 84 52 14 */ add r4, r4, r10
|
|
/* 801598DC 0015571C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 801598E0 00155720 81 83 0E 68 */ lwz r12, 0xe68(r3)
|
|
/* 801598E4 00155724 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 801598E8 00155728 7C 66 02 14 */ add r3, r6, r0
|
|
/* 801598EC 0015572C 7D 89 03 A6 */ mtctr r12
|
|
/* 801598F0 00155730 4E 80 04 21 */ bctrl
|
|
/* 801598F4 00155734 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 801598F8 00155738 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 801598FC 0015573C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80159900 00155740 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80159904 00155744 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80159908 00155748 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015990C 0015574C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80159910 00155750 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 80159914 00155754 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80159918 00155758 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015991C 0015575C 80 9E 00 8C */ lwz r4, 0x8c(r30)
|
|
/* 80159920 00155760 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80159924 00155764 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80159928 00155768 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015992C 0015576C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80159930 00155770 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80159934 00155774 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 80159938 00155778 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015993C 0015577C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80159940 00155780 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159944 00155784 7D 89 03 A6 */ mtctr r12
|
|
/* 80159948 00155788 4E 80 04 21 */ bctrl
|
|
/* 8015994C 0015578C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80159950 00155790 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80159954 00155794 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80159958 00155798 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015995C 0015579C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80159960 001557A0 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80159964 001557A4 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80159968 001557A8 80 7E 00 A4 */ lwz r3, 0xa4(r30)
|
|
/* 8015996C 001557AC 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80159970 001557B0 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80159974 001557B4 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80159978 001557B8 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 8015997C 001557BC 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159980 001557C0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80159984 001557C4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80159988 001557C8 7D 89 03 A6 */ mtctr r12
|
|
/* 8015998C 001557CC 4E 80 04 21 */ bctrl
|
|
/* 80159990 001557D0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80159994 001557D4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80159998 001557D8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015999C 001557DC 7C 08 03 A6 */ mtlr r0
|
|
/* 801599A0 001557E0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 801599A4 001557E4 4E 80 00 20 */ blr
|
|
/* 801599A8 001557E8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 801599AC 001557EC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack42x4__FR14VX2DecoderData
|
|
VX2CommandBack42x4__FR14VX2DecoderData:
|
|
/* 801599B0 001557F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 801599B4 001557F4 7C 08 02 A6 */ mflr r0
|
|
/* 801599B8 001557F8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 801599BC 001557FC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 801599C0 00155800 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 801599C4 00155804 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 801599C8 00155808 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 801599CC 0015580C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 801599D0 00155810 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 801599D4 00155814 7C 7E 1B 78 */ mr r30, r3
|
|
/* 801599D8 00155818 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 801599DC 0015581C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 801599E0 00155820 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 801599E4 00155824 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 801599E8 00155828 7D 29 07 74 */ extsb r9, r9
|
|
/* 801599EC 0015582C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 801599F0 00155830 7C 85 22 14 */ add r4, r5, r4
|
|
/* 801599F4 00155834 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 801599F8 00155838 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 801599FC 0015583C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80159A00 00155840 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80159A04 00155844 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80159A08 00155848 40 80 00 2C */ bge lbl_80159A34
|
|
/* 80159A0C 0015584C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80159A10 00155850 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80159A14 00155854 7C A7 00 D0 */ neg r5, r7
|
|
/* 80159A18 00155858 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80159A1C 0015585C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159A20 00155860 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80159A24 00155864 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159A28 00155868 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80159A2C 0015586C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159A30 00155870 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80159A34:
|
|
/* 80159A34 00155874 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80159A38 00155878 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80159A3C 0015587C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80159A40 00155880 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80159A44 00155884 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80159A48 00155888 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 80159A4C 0015588C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 80159A50 00155890 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80159A54 00155894 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80159A58 00155898 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80159A5C 0015589C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80159A60 001558A0 7D 29 07 74 */ extsb r9, r9
|
|
/* 80159A64 001558A4 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80159A68 001558A8 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80159A6C 001558AC 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80159A70 001558B0 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80159A74 001558B4 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80159A78 001558B8 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80159A7C 001558BC 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80159A80 001558C0 40 80 00 2C */ bge lbl_80159AAC
|
|
/* 80159A84 001558C4 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80159A88 001558C8 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80159A8C 001558CC 7C A7 00 D0 */ neg r5, r7
|
|
/* 80159A90 001558D0 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80159A94 001558D4 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159A98 001558D8 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80159A9C 001558DC 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159AA0 001558E0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80159AA4 001558E4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159AA8 001558E8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80159AAC:
|
|
/* 80159AAC 001558EC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80159AB0 001558F0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80159AB4 001558F4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80159AB8 001558F8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80159ABC 001558FC 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80159AC0 00155900 7D 26 07 34 */ extsh r6, r9
|
|
/* 80159AC4 00155904 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80159AC8 00155908 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 80159ACC 0015590C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80159AD0 00155910 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80159AD4 00155914 80 E3 00 78 */ lwz r7, 0x78(r3)
|
|
/* 80159AD8 00155918 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 80159ADC 0015591C 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 80159AE0 00155920 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80159AE4 00155924 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159AE8 00155928 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 80159AEC 0015592C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80159AF0 00155930 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80159AF4 00155934 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80159AF8 00155938 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80159AFC 0015593C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80159B00 00155940 81 83 0E 68 */ lwz r12, 0xe68(r3)
|
|
/* 80159B04 00155944 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80159B08 00155948 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80159B0C 0015594C 7D 89 03 A6 */ mtctr r12
|
|
/* 80159B10 00155950 4E 80 04 21 */ bctrl
|
|
/* 80159B14 00155954 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80159B18 00155958 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 80159B1C 0015595C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80159B20 00155960 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80159B24 00155964 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80159B28 00155968 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80159B2C 0015596C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80159B30 00155970 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 80159B34 00155974 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80159B38 00155978 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159B3C 0015597C 80 9E 00 90 */ lwz r4, 0x90(r30)
|
|
/* 80159B40 00155980 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80159B44 00155984 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80159B48 00155988 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80159B4C 0015598C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80159B50 00155990 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80159B54 00155994 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 80159B58 00155998 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80159B5C 0015599C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80159B60 001559A0 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159B64 001559A4 7D 89 03 A6 */ mtctr r12
|
|
/* 80159B68 001559A8 4E 80 04 21 */ bctrl
|
|
/* 80159B6C 001559AC 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80159B70 001559B0 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80159B74 001559B4 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80159B78 001559B8 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80159B7C 001559BC 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80159B80 001559C0 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80159B84 001559C4 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80159B88 001559C8 80 7E 00 A8 */ lwz r3, 0xa8(r30)
|
|
/* 80159B8C 001559CC 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80159B90 001559D0 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80159B94 001559D4 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80159B98 001559D8 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 80159B9C 001559DC 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159BA0 001559E0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80159BA4 001559E4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80159BA8 001559E8 7D 89 03 A6 */ mtctr r12
|
|
/* 80159BAC 001559EC 4E 80 04 21 */ bctrl
|
|
/* 80159BB0 001559F0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80159BB4 001559F4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80159BB8 001559F8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80159BBC 001559FC 7C 08 03 A6 */ mtlr r0
|
|
/* 80159BC0 00155A00 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80159BC4 00155A04 4E 80 00 20 */ blr
|
|
/* 80159BC8 00155A08 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 80159BCC 00155A0C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack52x4__FR14VX2DecoderData
|
|
VX2CommandBack52x4__FR14VX2DecoderData:
|
|
/* 80159BD0 00155A10 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80159BD4 00155A14 7C 08 02 A6 */ mflr r0
|
|
/* 80159BD8 00155A18 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80159BDC 00155A1C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80159BE0 00155A20 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80159BE4 00155A24 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80159BE8 00155A28 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80159BEC 00155A2C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80159BF0 00155A30 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80159BF4 00155A34 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80159BF8 00155A38 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 80159BFC 00155A3C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80159C00 00155A40 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 80159C04 00155A44 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 80159C08 00155A48 7D 29 07 74 */ extsb r9, r9
|
|
/* 80159C0C 00155A4C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80159C10 00155A50 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80159C14 00155A54 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80159C18 00155A58 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80159C1C 00155A5C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 80159C20 00155A60 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80159C24 00155A64 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80159C28 00155A68 40 80 00 2C */ bge lbl_80159C54
|
|
/* 80159C2C 00155A6C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80159C30 00155A70 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80159C34 00155A74 7C A7 00 D0 */ neg r5, r7
|
|
/* 80159C38 00155A78 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80159C3C 00155A7C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159C40 00155A80 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80159C44 00155A84 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159C48 00155A88 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80159C4C 00155A8C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159C50 00155A90 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80159C54:
|
|
/* 80159C54 00155A94 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 80159C58 00155A98 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 80159C5C 00155A9C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80159C60 00155AA0 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 80159C64 00155AA4 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80159C68 00155AA8 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 80159C6C 00155AAC 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 80159C70 00155AB0 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 80159C74 00155AB4 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 80159C78 00155AB8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 80159C7C 00155ABC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80159C80 00155AC0 7D 29 07 74 */ extsb r9, r9
|
|
/* 80159C84 00155AC4 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 80159C88 00155AC8 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80159C8C 00155ACC 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 80159C90 00155AD0 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 80159C94 00155AD4 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 80159C98 00155AD8 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80159C9C 00155ADC 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80159CA0 00155AE0 40 80 00 2C */ bge lbl_80159CCC
|
|
/* 80159CA4 00155AE4 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80159CA8 00155AE8 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80159CAC 00155AEC 7C A7 00 D0 */ neg r5, r7
|
|
/* 80159CB0 00155AF0 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80159CB4 00155AF4 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159CB8 00155AF8 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80159CBC 00155AFC 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159CC0 00155B00 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80159CC4 00155B04 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159CC8 00155B08 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80159CCC:
|
|
/* 80159CCC 00155B0C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 80159CD0 00155B10 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 80159CD4 00155B14 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 80159CD8 00155B18 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80159CDC 00155B1C 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80159CE0 00155B20 7D 26 07 34 */ extsh r6, r9
|
|
/* 80159CE4 00155B24 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80159CE8 00155B28 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 80159CEC 00155B2C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 80159CF0 00155B30 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 80159CF4 00155B34 80 E3 00 7C */ lwz r7, 0x7c(r3)
|
|
/* 80159CF8 00155B38 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 80159CFC 00155B3C 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 80159D00 00155B40 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80159D04 00155B44 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159D08 00155B48 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 80159D0C 00155B4C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80159D10 00155B50 7C E7 52 14 */ add r7, r7, r10
|
|
/* 80159D14 00155B54 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80159D18 00155B58 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80159D1C 00155B5C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80159D20 00155B60 81 83 0E 68 */ lwz r12, 0xe68(r3)
|
|
/* 80159D24 00155B64 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80159D28 00155B68 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80159D2C 00155B6C 7D 89 03 A6 */ mtctr r12
|
|
/* 80159D30 00155B70 4E 80 04 21 */ bctrl
|
|
/* 80159D34 00155B74 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80159D38 00155B78 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 80159D3C 00155B7C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80159D40 00155B80 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80159D44 00155B84 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80159D48 00155B88 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80159D4C 00155B8C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80159D50 00155B90 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 80159D54 00155B94 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80159D58 00155B98 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159D5C 00155B9C 80 9E 00 94 */ lwz r4, 0x94(r30)
|
|
/* 80159D60 00155BA0 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80159D64 00155BA4 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80159D68 00155BA8 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80159D6C 00155BAC 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80159D70 00155BB0 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80159D74 00155BB4 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 80159D78 00155BB8 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80159D7C 00155BBC 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80159D80 00155BC0 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159D84 00155BC4 7D 89 03 A6 */ mtctr r12
|
|
/* 80159D88 00155BC8 4E 80 04 21 */ bctrl
|
|
/* 80159D8C 00155BCC 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80159D90 00155BD0 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80159D94 00155BD4 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80159D98 00155BD8 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80159D9C 00155BDC 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80159DA0 00155BE0 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80159DA4 00155BE4 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80159DA8 00155BE8 80 7E 00 AC */ lwz r3, 0xac(r30)
|
|
/* 80159DAC 00155BEC 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80159DB0 00155BF0 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80159DB4 00155BF4 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80159DB8 00155BF8 81 9F 0E E8 */ lwz r12, 0xee8(r31)
|
|
/* 80159DBC 00155BFC 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159DC0 00155C00 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80159DC4 00155C04 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 80159DC8 00155C08 7D 89 03 A6 */ mtctr r12
|
|
/* 80159DCC 00155C0C 4E 80 04 21 */ bctrl
|
|
/* 80159DD0 00155C10 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80159DD4 00155C14 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80159DD8 00155C18 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80159DDC 00155C1C 7C 08 03 A6 */ mtlr r0
|
|
/* 80159DE0 00155C20 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80159DE4 00155C24 4E 80 00 20 */ blr
|
|
/* 80159DE8 00155C28 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 80159DEC 00155C2C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandCutH2x4__FR14VX2DecoderData
|
|
VX2CommandCutH2x4__FR14VX2DecoderData:
|
|
/* 80159DF0 00155C30 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80159DF4 00155C34 7C 08 02 A6 */ mflr r0
|
|
/* 80159DF8 00155C38 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80159DFC 00155C3C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80159E00 00155C40 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80159E04 00155C44 4B FF F3 9D */ bl VX2DecodeBlockInter2x2__FR14VX2DecoderData
|
|
/* 80159E08 00155C48 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 80159E0C 00155C4C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80159E10 00155C50 80 DF 08 B4 */ lwz r6, 0x8b4(r31)
|
|
/* 80159E14 00155C54 54 05 08 3C */ slwi r5, r0, 1
|
|
/* 80159E18 00155C58 80 9F 08 B8 */ lwz r4, 0x8b8(r31)
|
|
/* 80159E1C 00155C5C 7C 00 0E 70 */ srawi r0, r0, 1
|
|
/* 80159E20 00155C60 7C A6 2A 14 */ add r5, r6, r5
|
|
/* 80159E24 00155C64 90 BF 08 B4 */ stw r5, 0x8b4(r31)
|
|
/* 80159E28 00155C68 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159E2C 00155C6C 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 80159E30 00155C70 4B FF F3 71 */ bl VX2DecodeBlockInter2x2__FR14VX2DecoderData
|
|
/* 80159E34 00155C74 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 80159E38 00155C78 80 9F 08 B4 */ lwz r4, 0x8b4(r31)
|
|
/* 80159E3C 00155C7C 54 65 08 3C */ slwi r5, r3, 1
|
|
/* 80159E40 00155C80 80 1F 08 B8 */ lwz r0, 0x8b8(r31)
|
|
/* 80159E44 00155C84 7C 63 0E 70 */ srawi r3, r3, 1
|
|
/* 80159E48 00155C88 7C 85 20 50 */ subf r4, r5, r4
|
|
/* 80159E4C 00155C8C 90 9F 08 B4 */ stw r4, 0x8b4(r31)
|
|
/* 80159E50 00155C90 7C 03 00 50 */ subf r0, r3, r0
|
|
/* 80159E54 00155C94 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 80159E58 00155C98 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80159E5C 00155C9C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80159E60 00155CA0 7C 08 03 A6 */ mtlr r0
|
|
/* 80159E64 00155CA4 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80159E68 00155CA8 4E 80 00 20 */ blr
|
|
/* 80159E6C 00155CAC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2DecodeBlockInter2x4__FR14VX2DecoderData
|
|
VX2DecodeBlockInter2x4__FR14VX2DecoderData:
|
|
/* 80159E70 00155CB0 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 80159E74 00155CB4 3C 80 80 41 */ lis r4, $$2LOCAL$$2VX2DecodeBlockInter2x4__FR14VX2DecoderData$$2command@ha
|
|
/* 80159E78 00155CB8 3C A0 80 41 */ lis r5, $$2LOCAL$$2VX2DecodeBlockInter2x4__FR14VX2DecoderData$$2size$$20@ha
|
|
/* 80159E7C 00155CBC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 80159E80 00155CC0 54 C6 36 BA */ rlwinm r6, r6, 6, 0x1a, 0x1d
|
|
/* 80159E84 00155CC4 38 84 ED 70 */ addi r4, r4, $$2LOCAL$$2VX2DecodeBlockInter2x4__FR14VX2DecoderData$$2command@l
|
|
/* 80159E88 00155CC8 7C C4 30 2E */ lwzx r6, r4, r6
|
|
/* 80159E8C 00155CCC 38 A5 ED B0 */ addi r5, r5, $$2LOCAL$$2VX2DecodeBlockInter2x4__FR14VX2DecoderData$$2size$$20@l
|
|
/* 80159E90 00155CD0 80 83 0A 08 */ lwz r4, 0xa08(r3)
|
|
/* 80159E94 00155CD4 54 C9 10 3A */ slwi r9, r6, 2
|
|
/* 80159E98 00155CD8 7C A5 48 2E */ lwzx r5, r5, r9
|
|
/* 80159E9C 00155CDC 7C E5 00 51 */ subf. r7, r5, r0
|
|
/* 80159EA0 00155CE0 7C 88 28 30 */ slw r8, r4, r5
|
|
/* 80159EA4 00155CE4 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 80159EA8 00155CE8 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 80159EAC 00155CEC 40 80 00 2C */ bge lbl_80159ED8
|
|
/* 80159EB0 00155CF0 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 80159EB4 00155CF4 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 80159EB8 00155CF8 7C A7 00 D0 */ neg r5, r7
|
|
/* 80159EBC 00155CFC 38 84 00 02 */ addi r4, r4, 2
|
|
/* 80159EC0 00155D00 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 80159EC4 00155D04 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 80159EC8 00155D08 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 80159ECC 00155D0C 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 80159ED0 00155D10 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 80159ED4 00155D14 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_80159ED8:
|
|
/* 80159ED8 00155D18 3C 80 80 41 */ lis r4, VX2CommandTable2x4@ha
|
|
/* 80159EDC 00155D1C 38 84 ED 48 */ addi r4, r4, VX2CommandTable2x4@l
|
|
/* 80159EE0 00155D20 7D 84 48 2E */ lwzx r12, r4, r9
|
|
/* 80159EE4 00155D24 7D 89 03 A6 */ mtctr r12
|
|
/* 80159EE8 00155D28 4E 80 04 20 */ bctr
|
|
/* 80159EEC 00155D2C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.section .data4, "wa" # 0x80406560 - 0x80421040
|
|
.global VX2CommandTable2x4
|
|
VX2CommandTable2x4:
|
|
.incbin "baserom.dol", 0x40AE48, 0x28
|
|
.global $$2LOCAL$$2VX2DecodeBlockInter2x4__FR14VX2DecoderData$$2command
|
|
$$2LOCAL$$2VX2DecodeBlockInter2x4__FR14VX2DecoderData$$2command:
|
|
.incbin "baserom.dol", 0x40AE70, 0x40
|
|
.global $$2LOCAL$$2VX2DecodeBlockInter2x4__FR14VX2DecoderData$$2size$$20
|
|
$$2LOCAL$$2VX2DecodeBlockInter2x4__FR14VX2DecoderData$$2size$$20:
|
|
.incbin "baserom.dol", 0x40AEB0, 0x28
|