868 lines
45 KiB
ArmAsm
868 lines
45 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text1, "ax" # 0x80006A00 - 0x80406260
|
|
.global VX2CommandSkip12x8__FR14VX2DecoderData
|
|
VX2CommandSkip12x8__FR14VX2DecoderData:
|
|
/* 80159EF0 00155D30 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80159EF4 00155D34 7C 08 02 A6 */ mflr r0
|
|
/* 80159EF8 00155D38 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80159EFC 00155D3C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80159F00 00155D40 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80159F04 00155D44 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80159F08 00155D48 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 80159F0C 00155D4C A8 E3 0A 24 */ lha r7, 0xa24(r3)
|
|
/* 80159F10 00155D50 A9 23 0A 26 */ lha r9, 0xa26(r3)
|
|
/* 80159F14 00155D54 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 80159F18 00155D58 7F E7 02 14 */ add r31, r7, r0
|
|
/* 80159F1C 00155D5C 7C E8 0E 70 */ srawi r8, r7, 1
|
|
/* 80159F20 00155D60 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 80159F24 00155D64 7D 26 0E 70 */ srawi r6, r9, 1
|
|
/* 80159F28 00155D68 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 80159F2C 00155D6C 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 80159F30 00155D70 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159F34 00155D74 80 83 00 6C */ lwz r4, 0x6c(r3)
|
|
/* 80159F38 00155D78 B0 E3 0A 20 */ sth r7, 0xa20(r3)
|
|
/* 80159F3C 00155D7C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 80159F40 00155D80 7C E4 52 14 */ add r7, r4, r10
|
|
/* 80159F44 00155D84 80 83 00 68 */ lwz r4, 0x68(r3)
|
|
/* 80159F48 00155D88 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80159F4C 00155D8C B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 80159F50 00155D90 7C 84 52 14 */ add r4, r4, r10
|
|
/* 80159F54 00155D94 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 80159F58 00155D98 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 80159F5C 00155D9C 81 83 0E 48 */ lwz r12, 0xe48(r3)
|
|
/* 80159F60 00155DA0 7C 66 02 14 */ add r3, r6, r0
|
|
/* 80159F64 00155DA4 7D 89 03 A6 */ mtctr r12
|
|
/* 80159F68 00155DA8 4E 80 04 21 */ bctrl
|
|
/* 80159F6C 00155DAC 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80159F70 00155DB0 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 80159F74 00155DB4 A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 80159F78 00155DB8 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 80159F7C 00155DBC A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 80159F80 00155DC0 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 80159F84 00155DC4 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 80159F88 00155DC8 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 80159F8C 00155DCC 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 80159F90 00155DD0 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80159F94 00155DD4 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 80159F98 00155DD8 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 80159F9C 00155DDC 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 80159FA0 00155DE0 7F FE 32 14 */ add r31, r30, r6
|
|
/* 80159FA4 00155DE4 7C 84 42 14 */ add r4, r4, r8
|
|
/* 80159FA8 00155DE8 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 80159FAC 00155DEC 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 80159FB0 00155DF0 7C 67 22 14 */ add r3, r7, r4
|
|
/* 80159FB4 00155DF4 7C 80 42 14 */ add r4, r0, r8
|
|
/* 80159FB8 00155DF8 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159FBC 00155DFC 7D 89 03 A6 */ mtctr r12
|
|
/* 80159FC0 00155E00 4E 80 04 21 */ bctrl
|
|
/* 80159FC4 00155E04 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80159FC8 00155E08 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 80159FCC 00155E0C 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 80159FD0 00155E10 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 80159FD4 00155E14 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 80159FD8 00155E18 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 80159FDC 00155E1C 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 80159FE0 00155E20 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 80159FE4 00155E24 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 80159FE8 00155E28 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 80159FEC 00155E2C 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 80159FF0 00155E30 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 80159FF4 00155E34 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 80159FF8 00155E38 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 80159FFC 00155E3C 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 8015A000 00155E40 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A004 00155E44 4E 80 04 21 */ bctrl
|
|
/* 8015A008 00155E48 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8015A00C 00155E4C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8015A010 00155E50 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015A014 00155E54 7C 08 03 A6 */ mtlr r0
|
|
/* 8015A018 00155E58 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8015A01C 00155E5C 4E 80 00 20 */ blr
|
|
|
|
.global VX2CommandBack12x8__FR14VX2DecoderData
|
|
VX2CommandBack12x8__FR14VX2DecoderData:
|
|
/* 8015A020 00155E60 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8015A024 00155E64 7C 08 02 A6 */ mflr r0
|
|
/* 8015A028 00155E68 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A02C 00155E6C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A030 00155E70 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015A034 00155E74 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A038 00155E78 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A03C 00155E7C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8015A040 00155E80 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8015A044 00155E84 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8015A048 00155E88 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015A04C 00155E8C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A050 00155E90 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 8015A054 00155E94 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 8015A058 00155E98 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A05C 00155E9C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A060 00155EA0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A064 00155EA4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A068 00155EA8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A06C 00155EAC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 8015A070 00155EB0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A074 00155EB4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A078 00155EB8 40 80 00 2C */ bge lbl_8015A0A4
|
|
/* 8015A07C 00155EBC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A080 00155EC0 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A084 00155EC4 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A088 00155EC8 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A08C 00155ECC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A090 00155ED0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A094 00155ED4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A098 00155ED8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A09C 00155EDC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A0A0 00155EE0 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A0A4:
|
|
/* 8015A0A4 00155EE4 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 8015A0A8 00155EE8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A0AC 00155EEC 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 8015A0B0 00155EF0 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A0B4 00155EF4 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 8015A0B8 00155EF8 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015A0BC 00155EFC 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 8015A0C0 00155F00 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A0C4 00155F04 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 8015A0C8 00155F08 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A0CC 00155F0C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A0D0 00155F10 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A0D4 00155F14 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A0D8 00155F18 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A0DC 00155F1C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A0E0 00155F20 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A0E4 00155F24 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 8015A0E8 00155F28 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A0EC 00155F2C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A0F0 00155F30 40 80 00 2C */ bge lbl_8015A11C
|
|
/* 8015A0F4 00155F34 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A0F8 00155F38 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A0FC 00155F3C 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A100 00155F40 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A104 00155F44 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A108 00155F48 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A10C 00155F4C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A110 00155F50 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A114 00155F54 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A118 00155F58 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A11C:
|
|
/* 8015A11C 00155F5C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 8015A120 00155F60 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 8015A124 00155F64 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 8015A128 00155F68 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015A12C 00155F6C 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 8015A130 00155F70 7D 26 07 34 */ extsh r6, r9
|
|
/* 8015A134 00155F74 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 8015A138 00155F78 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015A13C 00155F7C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 8015A140 00155F80 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 8015A144 00155F84 80 E3 00 6C */ lwz r7, 0x6c(r3)
|
|
/* 8015A148 00155F88 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 8015A14C 00155F8C 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 8015A150 00155F90 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 8015A154 00155F94 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A158 00155F98 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015A15C 00155F9C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8015A160 00155FA0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 8015A164 00155FA4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 8015A168 00155FA8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015A16C 00155FAC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 8015A170 00155FB0 81 83 0E 48 */ lwz r12, 0xe48(r3)
|
|
/* 8015A174 00155FB4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 8015A178 00155FB8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015A17C 00155FBC 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A180 00155FC0 4E 80 04 21 */ bctrl
|
|
/* 8015A184 00155FC4 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 8015A188 00155FC8 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 8015A18C 00155FCC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 8015A190 00155FD0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 8015A194 00155FD4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 8015A198 00155FD8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015A19C 00155FDC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 8015A1A0 00155FE0 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 8015A1A4 00155FE4 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 8015A1A8 00155FE8 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A1AC 00155FEC 80 9E 00 84 */ lwz r4, 0x84(r30)
|
|
/* 8015A1B0 00155FF0 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 8015A1B4 00155FF4 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 8015A1B8 00155FF8 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015A1BC 00155FFC 7C 84 42 14 */ add r4, r4, r8
|
|
/* 8015A1C0 00156000 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 8015A1C4 00156004 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015A1C8 00156008 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015A1CC 0015600C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 8015A1D0 00156010 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015A1D4 00156014 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A1D8 00156018 4E 80 04 21 */ bctrl
|
|
/* 8015A1DC 0015601C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 8015A1E0 00156020 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 8015A1E4 00156024 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 8015A1E8 00156028 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015A1EC 0015602C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 8015A1F0 00156030 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 8015A1F4 00156034 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 8015A1F8 00156038 80 7E 00 9C */ lwz r3, 0x9c(r30)
|
|
/* 8015A1FC 0015603C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 8015A200 00156040 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 8015A204 00156044 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 8015A208 00156048 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015A20C 0015604C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015A210 00156050 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 8015A214 00156054 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 8015A218 00156058 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A21C 0015605C 4E 80 04 21 */ bctrl
|
|
/* 8015A220 00156060 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8015A224 00156064 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8015A228 00156068 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015A22C 0015606C 7C 08 03 A6 */ mtlr r0
|
|
/* 8015A230 00156070 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8015A234 00156074 4E 80 00 20 */ blr
|
|
/* 8015A238 00156078 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015A23C 0015607C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack22x8__FR14VX2DecoderData
|
|
VX2CommandBack22x8__FR14VX2DecoderData:
|
|
/* 8015A240 00156080 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8015A244 00156084 7C 08 02 A6 */ mflr r0
|
|
/* 8015A248 00156088 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A24C 0015608C 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A250 00156090 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015A254 00156094 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A258 00156098 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A25C 0015609C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8015A260 001560A0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8015A264 001560A4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8015A268 001560A8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015A26C 001560AC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A270 001560B0 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 8015A274 001560B4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 8015A278 001560B8 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A27C 001560BC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A280 001560C0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A284 001560C4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A288 001560C8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A28C 001560CC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 8015A290 001560D0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A294 001560D4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A298 001560D8 40 80 00 2C */ bge lbl_8015A2C4
|
|
/* 8015A29C 001560DC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A2A0 001560E0 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A2A4 001560E4 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A2A8 001560E8 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A2AC 001560EC 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A2B0 001560F0 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A2B4 001560F4 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A2B8 001560F8 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A2BC 001560FC 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A2C0 00156100 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A2C4:
|
|
/* 8015A2C4 00156104 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 8015A2C8 00156108 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A2CC 0015610C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 8015A2D0 00156110 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A2D4 00156114 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 8015A2D8 00156118 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015A2DC 0015611C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 8015A2E0 00156120 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A2E4 00156124 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 8015A2E8 00156128 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A2EC 0015612C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A2F0 00156130 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A2F4 00156134 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A2F8 00156138 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A2FC 0015613C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A300 00156140 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A304 00156144 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 8015A308 00156148 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A30C 0015614C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A310 00156150 40 80 00 2C */ bge lbl_8015A33C
|
|
/* 8015A314 00156154 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A318 00156158 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A31C 0015615C 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A320 00156160 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A324 00156164 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A328 00156168 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A32C 0015616C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A330 00156170 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A334 00156174 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A338 00156178 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A33C:
|
|
/* 8015A33C 0015617C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 8015A340 00156180 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 8015A344 00156184 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 8015A348 00156188 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015A34C 0015618C 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 8015A350 00156190 7D 26 07 34 */ extsh r6, r9
|
|
/* 8015A354 00156194 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 8015A358 00156198 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015A35C 0015619C 7F E4 02 14 */ add r31, r4, r0
|
|
/* 8015A360 001561A0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 8015A364 001561A4 80 E3 00 70 */ lwz r7, 0x70(r3)
|
|
/* 8015A368 001561A8 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 8015A36C 001561AC 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 8015A370 001561B0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 8015A374 001561B4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A378 001561B8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015A37C 001561BC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8015A380 001561C0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 8015A384 001561C4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 8015A388 001561C8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015A38C 001561CC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 8015A390 001561D0 81 83 0E 48 */ lwz r12, 0xe48(r3)
|
|
/* 8015A394 001561D4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 8015A398 001561D8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015A39C 001561DC 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A3A0 001561E0 4E 80 04 21 */ bctrl
|
|
/* 8015A3A4 001561E4 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 8015A3A8 001561E8 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 8015A3AC 001561EC A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 8015A3B0 001561F0 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 8015A3B4 001561F4 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 8015A3B8 001561F8 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015A3BC 001561FC 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 8015A3C0 00156200 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 8015A3C4 00156204 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 8015A3C8 00156208 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A3CC 0015620C 80 9E 00 88 */ lwz r4, 0x88(r30)
|
|
/* 8015A3D0 00156210 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 8015A3D4 00156214 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 8015A3D8 00156218 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015A3DC 0015621C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 8015A3E0 00156220 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 8015A3E4 00156224 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015A3E8 00156228 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015A3EC 0015622C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 8015A3F0 00156230 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015A3F4 00156234 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A3F8 00156238 4E 80 04 21 */ bctrl
|
|
/* 8015A3FC 0015623C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 8015A400 00156240 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 8015A404 00156244 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 8015A408 00156248 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015A40C 0015624C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 8015A410 00156250 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 8015A414 00156254 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 8015A418 00156258 80 7E 00 A0 */ lwz r3, 0xa0(r30)
|
|
/* 8015A41C 0015625C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 8015A420 00156260 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 8015A424 00156264 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 8015A428 00156268 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015A42C 0015626C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015A430 00156270 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 8015A434 00156274 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 8015A438 00156278 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A43C 0015627C 4E 80 04 21 */ bctrl
|
|
/* 8015A440 00156280 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8015A444 00156284 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8015A448 00156288 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015A44C 0015628C 7C 08 03 A6 */ mtlr r0
|
|
/* 8015A450 00156290 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8015A454 00156294 4E 80 00 20 */ blr
|
|
/* 8015A458 00156298 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015A45C 0015629C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack32x8__FR14VX2DecoderData
|
|
VX2CommandBack32x8__FR14VX2DecoderData:
|
|
/* 8015A460 001562A0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8015A464 001562A4 7C 08 02 A6 */ mflr r0
|
|
/* 8015A468 001562A8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A46C 001562AC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A470 001562B0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015A474 001562B4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A478 001562B8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A47C 001562BC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8015A480 001562C0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8015A484 001562C4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8015A488 001562C8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015A48C 001562CC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A490 001562D0 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 8015A494 001562D4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 8015A498 001562D8 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A49C 001562DC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A4A0 001562E0 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A4A4 001562E4 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A4A8 001562E8 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A4AC 001562EC 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 8015A4B0 001562F0 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A4B4 001562F4 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A4B8 001562F8 40 80 00 2C */ bge lbl_8015A4E4
|
|
/* 8015A4BC 001562FC 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A4C0 00156300 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A4C4 00156304 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A4C8 00156308 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A4CC 0015630C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A4D0 00156310 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A4D4 00156314 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A4D8 00156318 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A4DC 0015631C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A4E0 00156320 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A4E4:
|
|
/* 8015A4E4 00156324 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 8015A4E8 00156328 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A4EC 0015632C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 8015A4F0 00156330 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A4F4 00156334 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 8015A4F8 00156338 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015A4FC 0015633C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 8015A500 00156340 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A504 00156344 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 8015A508 00156348 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A50C 0015634C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A510 00156350 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A514 00156354 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A518 00156358 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A51C 0015635C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A520 00156360 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A524 00156364 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 8015A528 00156368 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A52C 0015636C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A530 00156370 40 80 00 2C */ bge lbl_8015A55C
|
|
/* 8015A534 00156374 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A538 00156378 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A53C 0015637C 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A540 00156380 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A544 00156384 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A548 00156388 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A54C 0015638C 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A550 00156390 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A554 00156394 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A558 00156398 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A55C:
|
|
/* 8015A55C 0015639C A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 8015A560 001563A0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 8015A564 001563A4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 8015A568 001563A8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015A56C 001563AC 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 8015A570 001563B0 7D 26 07 34 */ extsh r6, r9
|
|
/* 8015A574 001563B4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 8015A578 001563B8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015A57C 001563BC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 8015A580 001563C0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 8015A584 001563C4 80 E3 00 74 */ lwz r7, 0x74(r3)
|
|
/* 8015A588 001563C8 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 8015A58C 001563CC 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 8015A590 001563D0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 8015A594 001563D4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A598 001563D8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015A59C 001563DC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8015A5A0 001563E0 7C E7 52 14 */ add r7, r7, r10
|
|
/* 8015A5A4 001563E4 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 8015A5A8 001563E8 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015A5AC 001563EC 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 8015A5B0 001563F0 81 83 0E 48 */ lwz r12, 0xe48(r3)
|
|
/* 8015A5B4 001563F4 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 8015A5B8 001563F8 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015A5BC 001563FC 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A5C0 00156400 4E 80 04 21 */ bctrl
|
|
/* 8015A5C4 00156404 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 8015A5C8 00156408 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 8015A5CC 0015640C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 8015A5D0 00156410 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 8015A5D4 00156414 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 8015A5D8 00156418 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015A5DC 0015641C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 8015A5E0 00156420 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 8015A5E4 00156424 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 8015A5E8 00156428 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A5EC 0015642C 80 9E 00 8C */ lwz r4, 0x8c(r30)
|
|
/* 8015A5F0 00156430 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 8015A5F4 00156434 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 8015A5F8 00156438 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015A5FC 0015643C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 8015A600 00156440 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 8015A604 00156444 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015A608 00156448 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015A60C 0015644C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 8015A610 00156450 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015A614 00156454 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A618 00156458 4E 80 04 21 */ bctrl
|
|
/* 8015A61C 0015645C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 8015A620 00156460 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 8015A624 00156464 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 8015A628 00156468 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015A62C 0015646C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 8015A630 00156470 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 8015A634 00156474 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 8015A638 00156478 80 7E 00 A4 */ lwz r3, 0xa4(r30)
|
|
/* 8015A63C 0015647C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 8015A640 00156480 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 8015A644 00156484 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 8015A648 00156488 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015A64C 0015648C 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015A650 00156490 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 8015A654 00156494 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 8015A658 00156498 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A65C 0015649C 4E 80 04 21 */ bctrl
|
|
/* 8015A660 001564A0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8015A664 001564A4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8015A668 001564A8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015A66C 001564AC 7C 08 03 A6 */ mtlr r0
|
|
/* 8015A670 001564B0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8015A674 001564B4 4E 80 00 20 */ blr
|
|
/* 8015A678 001564B8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015A67C 001564BC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack42x8__FR14VX2DecoderData
|
|
VX2CommandBack42x8__FR14VX2DecoderData:
|
|
/* 8015A680 001564C0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8015A684 001564C4 7C 08 02 A6 */ mflr r0
|
|
/* 8015A688 001564C8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A68C 001564CC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A690 001564D0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015A694 001564D4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A698 001564D8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A69C 001564DC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8015A6A0 001564E0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8015A6A4 001564E4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8015A6A8 001564E8 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015A6AC 001564EC 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A6B0 001564F0 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 8015A6B4 001564F4 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 8015A6B8 001564F8 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A6BC 001564FC 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A6C0 00156500 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A6C4 00156504 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A6C8 00156508 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A6CC 0015650C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 8015A6D0 00156510 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A6D4 00156514 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A6D8 00156518 40 80 00 2C */ bge lbl_8015A704
|
|
/* 8015A6DC 0015651C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A6E0 00156520 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A6E4 00156524 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A6E8 00156528 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A6EC 0015652C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A6F0 00156530 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A6F4 00156534 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A6F8 00156538 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A6FC 0015653C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A700 00156540 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A704:
|
|
/* 8015A704 00156544 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 8015A708 00156548 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A70C 0015654C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 8015A710 00156550 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A714 00156554 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 8015A718 00156558 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015A71C 0015655C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 8015A720 00156560 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A724 00156564 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 8015A728 00156568 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A72C 0015656C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A730 00156570 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A734 00156574 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A738 00156578 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A73C 0015657C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A740 00156580 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A744 00156584 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 8015A748 00156588 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A74C 0015658C 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A750 00156590 40 80 00 2C */ bge lbl_8015A77C
|
|
/* 8015A754 00156594 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A758 00156598 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A75C 0015659C 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A760 001565A0 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A764 001565A4 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A768 001565A8 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A76C 001565AC 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A770 001565B0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A774 001565B4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A778 001565B8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A77C:
|
|
/* 8015A77C 001565BC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 8015A780 001565C0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 8015A784 001565C4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 8015A788 001565C8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015A78C 001565CC 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 8015A790 001565D0 7D 26 07 34 */ extsh r6, r9
|
|
/* 8015A794 001565D4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 8015A798 001565D8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015A79C 001565DC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 8015A7A0 001565E0 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 8015A7A4 001565E4 80 E3 00 78 */ lwz r7, 0x78(r3)
|
|
/* 8015A7A8 001565E8 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 8015A7AC 001565EC 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 8015A7B0 001565F0 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 8015A7B4 001565F4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A7B8 001565F8 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015A7BC 001565FC 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8015A7C0 00156600 7C E7 52 14 */ add r7, r7, r10
|
|
/* 8015A7C4 00156604 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 8015A7C8 00156608 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015A7CC 0015660C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 8015A7D0 00156610 81 83 0E 48 */ lwz r12, 0xe48(r3)
|
|
/* 8015A7D4 00156614 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 8015A7D8 00156618 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015A7DC 0015661C 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A7E0 00156620 4E 80 04 21 */ bctrl
|
|
/* 8015A7E4 00156624 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 8015A7E8 00156628 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 8015A7EC 0015662C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 8015A7F0 00156630 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 8015A7F4 00156634 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 8015A7F8 00156638 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015A7FC 0015663C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 8015A800 00156640 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 8015A804 00156644 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 8015A808 00156648 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A80C 0015664C 80 9E 00 90 */ lwz r4, 0x90(r30)
|
|
/* 8015A810 00156650 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 8015A814 00156654 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 8015A818 00156658 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015A81C 0015665C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 8015A820 00156660 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 8015A824 00156664 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015A828 00156668 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015A82C 0015666C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 8015A830 00156670 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015A834 00156674 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A838 00156678 4E 80 04 21 */ bctrl
|
|
/* 8015A83C 0015667C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 8015A840 00156680 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 8015A844 00156684 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 8015A848 00156688 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015A84C 0015668C 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 8015A850 00156690 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 8015A854 00156694 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 8015A858 00156698 80 7E 00 A8 */ lwz r3, 0xa8(r30)
|
|
/* 8015A85C 0015669C 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 8015A860 001566A0 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 8015A864 001566A4 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 8015A868 001566A8 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015A86C 001566AC 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015A870 001566B0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 8015A874 001566B4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 8015A878 001566B8 7D 89 03 A6 */ mtctr r12
|
|
/* 8015A87C 001566BC 4E 80 04 21 */ bctrl
|
|
/* 8015A880 001566C0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8015A884 001566C4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8015A888 001566C8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015A88C 001566CC 7C 08 03 A6 */ mtlr r0
|
|
/* 8015A890 001566D0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8015A894 001566D4 4E 80 00 20 */ blr
|
|
/* 8015A898 001566D8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015A89C 001566DC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandBack52x8__FR14VX2DecoderData
|
|
VX2CommandBack52x8__FR14VX2DecoderData:
|
|
/* 8015A8A0 001566E0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8015A8A4 001566E4 7C 08 02 A6 */ mflr r0
|
|
/* 8015A8A8 001566E8 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A8AC 001566EC 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A8B0 001566F0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015A8B4 001566F4 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A8B8 001566F8 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A8BC 001566FC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8015A8C0 00156700 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8015A8C4 00156704 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8015A8C8 00156708 81 03 0A 08 */ lwz r8, 0xa08(r3)
|
|
/* 8015A8CC 0015670C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A8D0 00156710 55 06 7C 7E */ srwi r6, r8, 0x11
|
|
/* 8015A8D4 00156714 7D 24 30 AE */ lbzx r9, r4, r6
|
|
/* 8015A8D8 00156718 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A8DC 0015671C 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A8E0 00156720 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A8E4 00156724 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A8E8 00156728 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A8EC 0015672C 7D 08 20 30 */ slw r8, r8, r4
|
|
/* 8015A8F0 00156730 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A8F4 00156734 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A8F8 00156738 40 80 00 2C */ bge lbl_8015A924
|
|
/* 8015A8FC 0015673C 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A900 00156740 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A904 00156744 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A908 00156748 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A90C 0015674C 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A910 00156750 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A914 00156754 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A918 00156758 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A91C 0015675C 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A920 00156760 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A924:
|
|
/* 8015A924 00156764 A8 03 0A 24 */ lha r0, 0xa24(r3)
|
|
/* 8015A928 00156768 3C 80 80 45 */ lis r4, VX2GolombCodeSigned@ha
|
|
/* 8015A92C 0015676C 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 8015A930 00156770 3C A0 80 45 */ lis r5, VX2GolombCodeSignedSize@ha
|
|
/* 8015A934 00156774 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 8015A938 00156778 B0 03 0A 20 */ sth r0, 0xa20(r3)
|
|
/* 8015A93C 0015677C 54 C0 7C 7E */ srwi r0, r6, 0x11
|
|
/* 8015A940 00156780 38 84 85 D8 */ addi r4, r4, VX2GolombCodeSigned@l
|
|
/* 8015A944 00156784 7D 24 00 AE */ lbzx r9, r4, r0
|
|
/* 8015A948 00156788 38 A5 05 D8 */ addi r5, r5, VX2GolombCodeSignedSize@l
|
|
/* 8015A94C 0015678C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015A950 00156790 7D 29 07 74 */ extsb r9, r9
|
|
/* 8015A954 00156794 55 24 10 3A */ slwi r4, r9, 2
|
|
/* 8015A958 00156798 7C 85 22 14 */ add r4, r5, r4
|
|
/* 8015A95C 0015679C 80 84 01 FC */ lwz r4, 0x1fc(r4)
|
|
/* 8015A960 001567A0 7C E4 00 51 */ subf. r7, r4, r0
|
|
/* 8015A964 001567A4 7C C8 20 30 */ slw r8, r6, r4
|
|
/* 8015A968 001567A8 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015A96C 001567AC 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015A970 001567B0 40 80 00 2C */ bge lbl_8015A99C
|
|
/* 8015A974 001567B4 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015A978 001567B8 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015A97C 001567BC 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015A980 001567C0 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015A984 001567C4 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015A988 001567C8 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015A98C 001567CC 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015A990 001567D0 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015A994 001567D4 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015A998 001567D8 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015A99C:
|
|
/* 8015A99C 001567DC A8 03 0A 26 */ lha r0, 0xa26(r3)
|
|
/* 8015A9A0 001567E0 A8 83 0A 20 */ lha r4, 0xa20(r3)
|
|
/* 8015A9A4 001567E4 7D 20 4A 14 */ add r9, r0, r9
|
|
/* 8015A9A8 001567E8 81 43 08 B4 */ lwz r10, 0x8b4(r3)
|
|
/* 8015A9AC 001567EC 80 A3 00 00 */ lwz r5, 0(r3)
|
|
/* 8015A9B0 001567F0 7D 26 07 34 */ extsh r6, r9
|
|
/* 8015A9B4 001567F4 55 40 08 3C */ slwi r0, r10, 1
|
|
/* 8015A9B8 001567F8 7C 88 0E 70 */ srawi r8, r4, 1
|
|
/* 8015A9BC 001567FC 7F E4 02 14 */ add r31, r4, r0
|
|
/* 8015A9C0 00156800 7C C6 0E 70 */ srawi r6, r6, 1
|
|
/* 8015A9C4 00156804 80 E3 00 7C */ lwz r7, 0x7c(r3)
|
|
/* 8015A9C8 00156808 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 8015A9CC 0015680C 57 E4 07 BE */ clrlwi r4, r31, 0x1e
|
|
/* 8015A9D0 00156810 B1 23 0A 22 */ sth r9, 0xa22(r3)
|
|
/* 8015A9D4 00156814 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015A9D8 00156818 80 9E 00 68 */ lwz r4, 0x68(r30)
|
|
/* 8015A9DC 0015681C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8015A9E0 00156820 7C E7 52 14 */ add r7, r7, r10
|
|
/* 8015A9E4 00156824 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 8015A9E8 00156828 7C 84 52 14 */ add r4, r4, r10
|
|
/* 8015A9EC 0015682C 7C C6 29 D6 */ mullw r6, r6, r5
|
|
/* 8015A9F0 00156830 81 83 0E 48 */ lwz r12, 0xe48(r3)
|
|
/* 8015A9F4 00156834 7C 08 3A 14 */ add r0, r8, r7
|
|
/* 8015A9F8 00156838 7C 66 02 14 */ add r3, r6, r0
|
|
/* 8015A9FC 0015683C 7D 89 03 A6 */ mtctr r12
|
|
/* 8015AA00 00156840 4E 80 04 21 */ bctrl
|
|
/* 8015AA04 00156844 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 8015AA08 00156848 57 E4 FF FE */ rlwinm r4, r31, 0x1f, 0x1f, 0x1f
|
|
/* 8015AA0C 0015684C A8 1E 0A 20 */ lha r0, 0xa20(r30)
|
|
/* 8015AA10 00156850 7C 65 0E 70 */ srawi r5, r3, 1
|
|
/* 8015AA14 00156854 A8 7E 0A 22 */ lha r3, 0xa22(r30)
|
|
/* 8015AA18 00156858 7C 07 16 70 */ srawi r7, r0, 2
|
|
/* 8015AA1C 0015685C 81 1E 08 B8 */ lwz r8, 0x8b8(r30)
|
|
/* 8015AA20 00156860 54 60 07 BC */ rlwinm r0, r3, 0, 0x1e, 0x1e
|
|
/* 8015AA24 00156864 7C 63 16 70 */ srawi r3, r3, 2
|
|
/* 8015AA28 00156868 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015AA2C 0015686C 80 9E 00 94 */ lwz r4, 0x94(r30)
|
|
/* 8015AA30 00156870 54 06 10 3A */ slwi r6, r0, 2
|
|
/* 8015AA34 00156874 80 1E 00 80 */ lwz r0, 0x80(r30)
|
|
/* 8015AA38 00156878 7F FE 32 14 */ add r31, r30, r6
|
|
/* 8015AA3C 0015687C 7C 84 42 14 */ add r4, r4, r8
|
|
/* 8015AA40 00156880 7C C3 29 D6 */ mullw r6, r3, r5
|
|
/* 8015AA44 00156884 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015AA48 00156888 7C 67 22 14 */ add r3, r7, r4
|
|
/* 8015AA4C 0015688C 7C 80 42 14 */ add r4, r0, r8
|
|
/* 8015AA50 00156890 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015AA54 00156894 7D 89 03 A6 */ mtctr r12
|
|
/* 8015AA58 00156898 4E 80 04 21 */ bctrl
|
|
/* 8015AA5C 0015689C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 8015AA60 001568A0 A8 7E 0A 20 */ lha r3, 0xa20(r30)
|
|
/* 8015AA64 001568A4 7C 05 0E 70 */ srawi r5, r0, 1
|
|
/* 8015AA68 001568A8 A8 1E 0A 22 */ lha r0, 0xa22(r30)
|
|
/* 8015AA6C 001568AC 7C 66 16 70 */ srawi r6, r3, 2
|
|
/* 8015AA70 001568B0 80 FE 08 B8 */ lwz r7, 0x8b8(r30)
|
|
/* 8015AA74 001568B4 7C 00 16 70 */ srawi r0, r0, 2
|
|
/* 8015AA78 001568B8 80 7E 00 AC */ lwz r3, 0xac(r30)
|
|
/* 8015AA7C 001568BC 7C 80 29 D6 */ mullw r4, r0, r5
|
|
/* 8015AA80 001568C0 80 1E 00 98 */ lwz r0, 0x98(r30)
|
|
/* 8015AA84 001568C4 7C 63 3A 14 */ add r3, r3, r7
|
|
/* 8015AA88 001568C8 81 9F 0E D8 */ lwz r12, 0xed8(r31)
|
|
/* 8015AA8C 001568CC 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8015AA90 001568D0 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 8015AA94 001568D4 7C 80 3A 14 */ add r4, r0, r7
|
|
/* 8015AA98 001568D8 7D 89 03 A6 */ mtctr r12
|
|
/* 8015AA9C 001568DC 4E 80 04 21 */ bctrl
|
|
/* 8015AAA0 001568E0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8015AAA4 001568E4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8015AAA8 001568E8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8015AAAC 001568EC 7C 08 03 A6 */ mtlr r0
|
|
/* 8015AAB0 001568F0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8015AAB4 001568F4 4E 80 00 20 */ blr
|
|
/* 8015AAB8 001568F8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8015AABC 001568FC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2CommandCutH2x8__FR14VX2DecoderData
|
|
VX2CommandCutH2x8__FR14VX2DecoderData:
|
|
/* 8015AAC0 00156900 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8015AAC4 00156904 7C 08 02 A6 */ mflr r0
|
|
/* 8015AAC8 00156908 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8015AACC 0015690C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8015AAD0 00156910 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8015AAD4 00156914 4B FF F3 9D */ bl VX2DecodeBlockInter2x4__FR14VX2DecoderData
|
|
/* 8015AAD8 00156918 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 8015AADC 0015691C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8015AAE0 00156920 80 DF 08 B4 */ lwz r6, 0x8b4(r31)
|
|
/* 8015AAE4 00156924 54 05 10 3A */ slwi r5, r0, 2
|
|
/* 8015AAE8 00156928 80 9F 08 B8 */ lwz r4, 0x8b8(r31)
|
|
/* 8015AAEC 0015692C 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
|
|
/* 8015AAF0 00156930 7C A6 2A 14 */ add r5, r6, r5
|
|
/* 8015AAF4 00156934 90 BF 08 B4 */ stw r5, 0x8b4(r31)
|
|
/* 8015AAF8 00156938 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8015AAFC 0015693C 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 8015AB00 00156940 4B FF F3 71 */ bl VX2DecodeBlockInter2x4__FR14VX2DecoderData
|
|
/* 8015AB04 00156944 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 8015AB08 00156948 80 9F 08 B4 */ lwz r4, 0x8b4(r31)
|
|
/* 8015AB0C 0015694C 54 65 10 3A */ slwi r5, r3, 2
|
|
/* 8015AB10 00156950 80 1F 08 B8 */ lwz r0, 0x8b8(r31)
|
|
/* 8015AB14 00156954 54 63 00 3C */ rlwinm r3, r3, 0, 0, 0x1e
|
|
/* 8015AB18 00156958 7C 85 20 50 */ subf r4, r5, r4
|
|
/* 8015AB1C 0015695C 90 9F 08 B4 */ stw r4, 0x8b4(r31)
|
|
/* 8015AB20 00156960 7C 03 00 50 */ subf r0, r3, r0
|
|
/* 8015AB24 00156964 90 1F 08 B8 */ stw r0, 0x8b8(r31)
|
|
/* 8015AB28 00156968 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8015AB2C 0015696C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8015AB30 00156970 7C 08 03 A6 */ mtlr r0
|
|
/* 8015AB34 00156974 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8015AB38 00156978 4E 80 00 20 */ blr
|
|
/* 8015AB3C 0015697C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global VX2DecodeBlockInter2x8__FR14VX2DecoderData
|
|
VX2DecodeBlockInter2x8__FR14VX2DecoderData:
|
|
/* 8015AB40 00156980 80 C3 0A 08 */ lwz r6, 0xa08(r3)
|
|
/* 8015AB44 00156984 3C 80 80 41 */ lis r4, $$2LOCAL$$2VX2DecodeBlockInter2x8__FR14VX2DecoderData$$2command@ha
|
|
/* 8015AB48 00156988 3C A0 80 41 */ lis r5, $$2LOCAL$$2VX2DecodeBlockInter2x8__FR14VX2DecoderData$$2size$$20@ha
|
|
/* 8015AB4C 0015698C 80 03 0A 04 */ lwz r0, 0xa04(r3)
|
|
/* 8015AB50 00156990 54 C6 36 BA */ rlwinm r6, r6, 6, 0x1a, 0x1d
|
|
/* 8015AB54 00156994 38 84 EE 00 */ addi r4, r4, $$2LOCAL$$2VX2DecodeBlockInter2x8__FR14VX2DecoderData$$2command@l
|
|
/* 8015AB58 00156998 7C C4 30 2E */ lwzx r6, r4, r6
|
|
/* 8015AB5C 0015699C 38 A5 EE 40 */ addi r5, r5, $$2LOCAL$$2VX2DecodeBlockInter2x8__FR14VX2DecoderData$$2size$$20@l
|
|
/* 8015AB60 001569A0 80 83 0A 08 */ lwz r4, 0xa08(r3)
|
|
/* 8015AB64 001569A4 54 C9 10 3A */ slwi r9, r6, 2
|
|
/* 8015AB68 001569A8 7C A5 48 2E */ lwzx r5, r5, r9
|
|
/* 8015AB6C 001569AC 7C E5 00 51 */ subf. r7, r5, r0
|
|
/* 8015AB70 001569B0 7C 88 28 30 */ slw r8, r4, r5
|
|
/* 8015AB74 001569B4 91 03 0A 08 */ stw r8, 0xa08(r3)
|
|
/* 8015AB78 001569B8 90 E3 0A 04 */ stw r7, 0xa04(r3)
|
|
/* 8015AB7C 001569BC 40 80 00 2C */ bge lbl_8015ABA8
|
|
/* 8015AB80 001569C0 80 83 0A 0C */ lwz r4, 0xa0c(r3)
|
|
/* 8015AB84 001569C4 7C C0 26 2C */ lhbrx r6, 0, r4
|
|
/* 8015AB88 001569C8 7C A7 00 D0 */ neg r5, r7
|
|
/* 8015AB8C 001569CC 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8015AB90 001569D0 38 07 00 10 */ addi r0, r7, 0x10
|
|
/* 8015AB94 001569D4 7C C5 28 30 */ slw r5, r6, r5
|
|
/* 8015AB98 001569D8 90 83 0A 0C */ stw r4, 0xa0c(r3)
|
|
/* 8015AB9C 001569DC 7D 04 2B 78 */ or r4, r8, r5
|
|
/* 8015ABA0 001569E0 90 83 0A 08 */ stw r4, 0xa08(r3)
|
|
/* 8015ABA4 001569E4 90 03 0A 04 */ stw r0, 0xa04(r3)
|
|
lbl_8015ABA8:
|
|
/* 8015ABA8 001569E8 3C 80 80 41 */ lis r4, VX2CommandTable2x8@ha
|
|
/* 8015ABAC 001569EC 38 84 ED D8 */ addi r4, r4, VX2CommandTable2x8@l
|
|
/* 8015ABB0 001569F0 7D 84 48 2E */ lwzx r12, r4, r9
|
|
/* 8015ABB4 001569F4 7D 89 03 A6 */ mtctr r12
|
|
/* 8015ABB8 001569F8 4E 80 04 20 */ bctr
|
|
/* 8015ABBC 001569FC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.section .data4, "wa" # 0x80406560 - 0x80421040
|
|
.global VX2CommandTable2x8
|
|
VX2CommandTable2x8:
|
|
.incbin "baserom.dol", 0x40AED8, 0x28
|
|
.global $$2LOCAL$$2VX2DecodeBlockInter2x8__FR14VX2DecoderData$$2command
|
|
$$2LOCAL$$2VX2DecodeBlockInter2x8__FR14VX2DecoderData$$2command:
|
|
.incbin "baserom.dol", 0x40AF00, 0x40
|
|
.global $$2LOCAL$$2VX2DecodeBlockInter2x8__FR14VX2DecoderData$$2size$$20
|
|
$$2LOCAL$$2VX2DecodeBlockInter2x8__FR14VX2DecoderData$$2size$$20:
|
|
.incbin "baserom.dol", 0x40AF40, 0x28
|