556 lines
29 KiB
ArmAsm
556 lines
29 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text1, "ax" # 0x80006A00 - 0x80406260
|
|
.global DecodeStream__FPCScPsPsPsPA21_s
|
|
DecodeStream__FPCScPsPsPsPA21_s:
|
|
/* 8014E090 00149ED0 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 8014E094 00149ED4 7C 08 02 A6 */ mflr r0
|
|
/* 8014E098 00149ED8 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8014E09C 00149EDC 39 61 00 80 */ addi r11, r1, 0x80
|
|
/* 8014E0A0 00149EE0 4B EB 92 69 */ bl __save_gpr
|
|
/* 8014E0A4 00149EE4 3F 40 80 44 */ lis r26, Apcm@ha
|
|
/* 8014E0A8 00149EE8 38 00 00 0A */ li r0, 0xa
|
|
/* 8014E0AC 00149EEC 39 01 00 08 */ addi r8, r1, 8
|
|
/* 8014E0B0 00149EF0 3B 5A 76 28 */ addi r26, r26, Apcm@l
|
|
/* 8014E0B4 00149EF4 7C 09 03 A6 */ mtctr r0
|
|
lbl_8014E0B8:
|
|
/* 8014E0B8 00149EF8 7C 00 1C 2C */ lwbrx r0, 0, r3
|
|
/* 8014E0BC 00149EFC 38 63 00 04 */ addi r3, r3, 4
|
|
/* 8014E0C0 00149F00 90 08 00 00 */ stw r0, 0(r8)
|
|
/* 8014E0C4 00149F04 39 08 00 04 */ addi r8, r8, 4
|
|
/* 8014E0C8 00149F08 42 00 FF F0 */ bdnz lbl_8014E0B8
|
|
/* 8014E0CC 00149F0C 82 21 00 08 */ lwz r17, 8(r1)
|
|
/* 8014E0D0 00149F10 39 3A 04 00 */ addi r9, r26, 0x400
|
|
/* 8014E0D4 00149F14 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
/* 8014E0D8 00149F18 39 DA 04 80 */ addi r14, r26, 0x480
|
|
/* 8014E0DC 00149F1C 56 23 3E 7C */ rlwinm r3, r17, 7, 0x19, 0x1e
|
|
/* 8014E0E0 00149F20 56 30 96 BC */ rlwinm r16, r17, 0x12, 0x1a, 0x1e
|
|
/* 8014E0E4 00149F24 7D 09 1A AE */ lhax r8, r9, r3
|
|
/* 8014E0E8 00149F28 56 23 6E 7C */ rlwinm r3, r17, 0xd, 0x19, 0x1e
|
|
/* 8014E0EC 00149F2C B1 04 00 00 */ sth r8, 0(r4)
|
|
/* 8014E0F0 00149F30 56 2C BE BC */ rlwinm r12, r17, 0x17, 0x1a, 0x1e
|
|
/* 8014E0F4 00149F34 39 7A 04 C0 */ addi r11, r26, 0x4c0
|
|
/* 8014E0F8 00149F38 56 2A DE FC */ rlwinm r10, r17, 0x1b, 0x1b, 0x1e
|
|
/* 8014E0FC 00149F3C 7C 69 1A AE */ lhax r3, r9, r3
|
|
/* 8014E100 00149F40 39 3A 05 00 */ addi r9, r26, 0x500
|
|
/* 8014E104 00149F44 B0 64 00 02 */ sth r3, 2(r4)
|
|
/* 8014E108 00149F48 56 28 F7 3C */ rlwinm r8, r17, 0x1e, 0x1c, 0x1e
|
|
/* 8014E10C 00149F4C 56 38 0F 3C */ rlwinm r24, r17, 1, 0x1c, 0x1e
|
|
/* 8014E110 00149F50 38 7A 05 40 */ addi r3, r26, 0x540
|
|
/* 8014E114 00149F54 7D CE 82 AE */ lhax r14, r14, r16
|
|
/* 8014E118 00149F58 54 16 36 BE */ srwi r22, r0, 0x1a
|
|
/* 8014E11C 00149F5C B1 C4 00 04 */ sth r14, 4(r4)
|
|
/* 8014E120 00149F60 54 15 66 BE */ rlwinm r21, r0, 0xc, 0x1a, 0x1f
|
|
/* 8014E124 00149F64 54 14 96 BE */ rlwinm r20, r0, 0x12, 0x1a, 0x1f
|
|
/* 8014E128 00149F68 54 13 C6 BE */ rlwinm r19, r0, 0x18, 0x1a, 0x1f
|
|
/* 8014E12C 00149F6C 7D 6B 62 AE */ lhax r11, r11, r12
|
|
/* 8014E130 00149F70 54 12 D7 BE */ rlwinm r18, r0, 0x1a, 0x1e, 0x1f
|
|
/* 8014E134 00149F74 B1 64 00 06 */ sth r11, 6(r4)
|
|
/* 8014E138 00149F78 54 11 E7 BE */ rlwinm r17, r0, 0x1c, 0x1e, 0x1f
|
|
/* 8014E13C 00149F7C 81 E1 00 10 */ lwz r15, 0x10(r1)
|
|
/* 8014E140 00149F80 54 10 F7 BE */ rlwinm r16, r0, 0x1e, 0x1e, 0x1f
|
|
/* 8014E144 00149F84 7D 29 52 AE */ lhax r9, r9, r10
|
|
/* 8014E148 00149F88 54 0E 07 BE */ clrlwi r14, r0, 0x1e
|
|
/* 8014E14C 00149F8C B1 24 00 08 */ sth r9, 8(r4)
|
|
/* 8014E150 00149F90 3A FA 05 50 */ addi r23, r26, 0x550
|
|
/* 8014E154 00149F94 55 EC 1F 7E */ srwi r12, r15, 0x1d
|
|
/* 8014E158 00149F98 55 EB 37 7E */ rlwinm r11, r15, 6, 0x1d, 0x1f
|
|
/* 8014E15C 00149F9C 7C 03 42 AE */ lhax r0, r3, r8
|
|
/* 8014E160 00149FA0 55 EA 4F 7E */ rlwinm r10, r15, 9, 0x1d, 0x1f
|
|
/* 8014E164 00149FA4 B0 04 00 0C */ sth r0, 0xc(r4)
|
|
/* 8014E168 00149FA8 55 E9 67 7E */ rlwinm r9, r15, 0xc, 0x1d, 0x1f
|
|
/* 8014E16C 00149FAC 55 E8 7F 7E */ rlwinm r8, r15, 0xf, 0x1d, 0x1f
|
|
/* 8014E170 00149FB0 55 E3 97 7E */ rlwinm r3, r15, 0x12, 0x1d, 0x1f
|
|
/* 8014E174 00149FB4 7E F7 C2 AE */ lhax r23, r23, r24
|
|
/* 8014E178 00149FB8 55 E0 AF 7E */ rlwinm r0, r15, 0x15, 0x1d, 0x1f
|
|
/* 8014E17C 00149FBC B2 E4 00 0E */ sth r23, 0xe(r4)
|
|
/* 8014E180 00149FC0 B2 C6 00 06 */ sth r22, 6(r6)
|
|
/* 8014E184 00149FC4 B2 A6 00 04 */ sth r21, 4(r6)
|
|
/* 8014E188 00149FC8 B2 86 00 02 */ sth r20, 2(r6)
|
|
/* 8014E18C 00149FCC B2 66 00 00 */ sth r19, 0(r6)
|
|
/* 8014E190 00149FD0 B2 45 00 06 */ sth r18, 6(r5)
|
|
/* 8014E194 00149FD4 B2 25 00 04 */ sth r17, 4(r5)
|
|
/* 8014E198 00149FD8 B2 05 00 02 */ sth r16, 2(r5)
|
|
/* 8014E19C 00149FDC B1 C5 00 00 */ sth r14, 0(r5)
|
|
/* 8014E1A0 00149FE0 B1 87 00 00 */ sth r12, 0(r7)
|
|
/* 8014E1A4 00149FE4 B1 67 00 02 */ sth r11, 2(r7)
|
|
/* 8014E1A8 00149FE8 B1 47 00 04 */ sth r10, 4(r7)
|
|
/* 8014E1AC 00149FEC B1 27 00 06 */ sth r9, 6(r7)
|
|
/* 8014E1B0 00149FF0 B1 07 00 08 */ sth r8, 8(r7)
|
|
/* 8014E1B4 00149FF4 B0 67 00 0A */ sth r3, 0xa(r7)
|
|
/* 8014E1B8 00149FF8 B0 07 00 0C */ sth r0, 0xc(r7)
|
|
/* 8014E1BC 00149FFC 80 A1 00 14 */ lwz r5, 0x14(r1)
|
|
/* 8014E1C0 0014A000 55 E3 0F 7C */ rlwinm r3, r15, 1, 0x1d, 0x1e
|
|
/* 8014E1C4 0014A004 81 C1 00 18 */ lwz r14, 0x18(r1)
|
|
/* 8014E1C8 0014A008 55 E9 C7 7E */ rlwinm r9, r15, 0x18, 0x1d, 0x1f
|
|
/* 8014E1CC 0014A00C 54 A0 FF FE */ rlwinm r0, r5, 0x1f, 0x1f, 0x1f
|
|
/* 8014E1D0 0014A010 55 E8 DF 7E */ rlwinm r8, r15, 0x1b, 0x1d, 0x1f
|
|
/* 8014E1D4 0014A014 7C 63 07 34 */ extsh r3, r3
|
|
/* 8014E1D8 0014A018 55 E6 F7 7E */ rlwinm r6, r15, 0x1e, 0x1d, 0x1f
|
|
/* 8014E1DC 0014A01C 7C 00 07 34 */ extsh r0, r0
|
|
/* 8014E1E0 0014A020 54 BB 1F 7E */ srwi r27, r5, 0x1d
|
|
/* 8014E1E4 0014A024 7C 70 03 78 */ or r16, r3, r0
|
|
/* 8014E1E8 0014A028 54 B9 37 7E */ rlwinm r25, r5, 6, 0x1d, 0x1f
|
|
/* 8014E1EC 0014A02C 54 B8 4F 7E */ rlwinm r24, r5, 9, 0x1d, 0x1f
|
|
/* 8014E1F0 0014A030 54 B7 67 7E */ rlwinm r23, r5, 0xc, 0x1d, 0x1f
|
|
/* 8014E1F4 0014A034 54 B6 7F 7E */ rlwinm r22, r5, 0xf, 0x1d, 0x1f
|
|
/* 8014E1F8 0014A038 54 B5 97 7E */ rlwinm r21, r5, 0x12, 0x1d, 0x1f
|
|
/* 8014E1FC 0014A03C 54 B4 AF 7E */ rlwinm r20, r5, 0x15, 0x1d, 0x1f
|
|
/* 8014E200 0014A040 54 B3 C7 7E */ rlwinm r19, r5, 0x18, 0x1d, 0x1f
|
|
/* 8014E204 0014A044 54 B2 DF 7E */ rlwinm r18, r5, 0x1b, 0x1d, 0x1f
|
|
/* 8014E208 0014A048 54 B1 F7 7E */ rlwinm r17, r5, 0x1e, 0x1d, 0x1f
|
|
/* 8014E20C 0014A04C B1 27 00 0E */ sth r9, 0xe(r7)
|
|
/* 8014E210 0014A050 54 AF 1F 38 */ rlwinm r15, r5, 3, 0x1c, 0x1c
|
|
/* 8014E214 0014A054 55 CC 1F 7E */ srwi r12, r14, 0x1d
|
|
/* 8014E218 0014A058 55 CB 37 7E */ rlwinm r11, r14, 6, 0x1d, 0x1f
|
|
/* 8014E21C 0014A05C B1 07 00 10 */ sth r8, 0x10(r7)
|
|
/* 8014E220 0014A060 55 CA 4F 7E */ rlwinm r10, r14, 9, 0x1d, 0x1f
|
|
/* 8014E224 0014A064 55 C9 67 7E */ rlwinm r9, r14, 0xc, 0x1d, 0x1f
|
|
/* 8014E228 0014A068 55 C8 7F 7E */ rlwinm r8, r14, 0xf, 0x1d, 0x1f
|
|
/* 8014E22C 0014A06C B0 C7 00 12 */ sth r6, 0x12(r7)
|
|
/* 8014E230 0014A070 55 C6 97 7E */ rlwinm r6, r14, 0x12, 0x1d, 0x1f
|
|
/* 8014E234 0014A074 55 C5 AF 7E */ rlwinm r5, r14, 0x15, 0x1d, 0x1f
|
|
/* 8014E238 0014A078 55 C3 C7 7E */ rlwinm r3, r14, 0x18, 0x1d, 0x1f
|
|
/* 8014E23C 0014A07C B3 67 00 14 */ sth r27, 0x14(r7)
|
|
/* 8014E240 0014A080 55 C0 DF 7E */ rlwinm r0, r14, 0x1b, 0x1d, 0x1f
|
|
/* 8014E244 0014A084 B3 27 00 16 */ sth r25, 0x16(r7)
|
|
/* 8014E248 0014A088 B3 07 00 18 */ sth r24, 0x18(r7)
|
|
/* 8014E24C 0014A08C B2 E7 00 1A */ sth r23, 0x1a(r7)
|
|
/* 8014E250 0014A090 B2 C7 00 1C */ sth r22, 0x1c(r7)
|
|
/* 8014E254 0014A094 B2 A7 00 1E */ sth r21, 0x1e(r7)
|
|
/* 8014E258 0014A098 B2 87 00 20 */ sth r20, 0x20(r7)
|
|
/* 8014E25C 0014A09C B2 67 00 22 */ sth r19, 0x22(r7)
|
|
/* 8014E260 0014A0A0 B2 47 00 24 */ sth r18, 0x24(r7)
|
|
/* 8014E264 0014A0A4 B2 27 00 26 */ sth r17, 0x26(r7)
|
|
/* 8014E268 0014A0A8 B2 07 00 28 */ sth r16, 0x28(r7)
|
|
/* 8014E26C 0014A0AC B1 E4 00 0A */ sth r15, 0xa(r4)
|
|
/* 8014E270 0014A0B0 B1 87 00 2A */ sth r12, 0x2a(r7)
|
|
/* 8014E274 0014A0B4 B1 67 00 2C */ sth r11, 0x2c(r7)
|
|
/* 8014E278 0014A0B8 B1 47 00 2E */ sth r10, 0x2e(r7)
|
|
/* 8014E27C 0014A0BC B1 27 00 30 */ sth r9, 0x30(r7)
|
|
/* 8014E280 0014A0C0 B1 07 00 32 */ sth r8, 0x32(r7)
|
|
/* 8014E284 0014A0C4 B0 C7 00 34 */ sth r6, 0x34(r7)
|
|
/* 8014E288 0014A0C8 B0 A7 00 36 */ sth r5, 0x36(r7)
|
|
/* 8014E28C 0014A0CC B0 67 00 38 */ sth r3, 0x38(r7)
|
|
/* 8014E290 0014A0D0 B0 07 00 3A */ sth r0, 0x3a(r7)
|
|
/* 8014E294 0014A0D4 81 21 00 1C */ lwz r9, 0x1c(r1)
|
|
/* 8014E298 0014A0D8 55 C3 0F 7C */ rlwinm r3, r14, 1, 0x1d, 0x1e
|
|
/* 8014E29C 0014A0DC 81 E1 00 20 */ lwz r15, 0x20(r1)
|
|
/* 8014E2A0 0014A0E0 55 CA F7 7E */ rlwinm r10, r14, 0x1e, 0x1d, 0x1f
|
|
/* 8014E2A4 0014A0E4 55 20 FF FE */ rlwinm r0, r9, 0x1f, 0x1f, 0x1f
|
|
/* 8014E2A8 0014A0E8 55 28 1F 7E */ srwi r8, r9, 0x1d
|
|
/* 8014E2AC 0014A0EC 7C 63 07 34 */ extsh r3, r3
|
|
/* 8014E2B0 0014A0F0 55 26 37 7E */ rlwinm r6, r9, 6, 0x1d, 0x1f
|
|
/* 8014E2B4 0014A0F4 7C 00 07 34 */ extsh r0, r0
|
|
/* 8014E2B8 0014A0F8 55 25 4F 7E */ rlwinm r5, r9, 9, 0x1d, 0x1f
|
|
/* 8014E2BC 0014A0FC 7C 71 03 78 */ or r17, r3, r0
|
|
/* 8014E2C0 0014A100 55 38 67 7E */ rlwinm r24, r9, 0xc, 0x1d, 0x1f
|
|
/* 8014E2C4 0014A104 55 37 7F 7E */ rlwinm r23, r9, 0xf, 0x1d, 0x1f
|
|
/* 8014E2C8 0014A108 55 36 97 7E */ rlwinm r22, r9, 0x12, 0x1d, 0x1f
|
|
/* 8014E2CC 0014A10C 55 35 AF 7E */ rlwinm r21, r9, 0x15, 0x1d, 0x1f
|
|
/* 8014E2D0 0014A110 55 34 C7 7E */ rlwinm r20, r9, 0x18, 0x1d, 0x1f
|
|
/* 8014E2D4 0014A114 55 33 DF 7E */ rlwinm r19, r9, 0x1b, 0x1d, 0x1f
|
|
/* 8014E2D8 0014A118 55 32 F7 7E */ rlwinm r18, r9, 0x1e, 0x1d, 0x1f
|
|
/* 8014E2DC 0014A11C 55 20 17 7A */ rlwinm r0, r9, 2, 0x1d, 0x1d
|
|
/* 8014E2E0 0014A120 B1 47 00 3C */ sth r10, 0x3c(r7)
|
|
/* 8014E2E4 0014A124 7C 10 07 34 */ extsh r16, r0
|
|
/* 8014E2E8 0014A128 55 EE 1F 7E */ srwi r14, r15, 0x1d
|
|
/* 8014E2EC 0014A12C B1 07 00 3E */ sth r8, 0x3e(r7)
|
|
/* 8014E2F0 0014A130 55 EC 37 7E */ rlwinm r12, r15, 6, 0x1d, 0x1f
|
|
/* 8014E2F4 0014A134 55 EB 4F 7E */ rlwinm r11, r15, 9, 0x1d, 0x1f
|
|
/* 8014E2F8 0014A138 55 EA 67 7E */ rlwinm r10, r15, 0xc, 0x1d, 0x1f
|
|
/* 8014E2FC 0014A13C B0 C7 00 40 */ sth r6, 0x40(r7)
|
|
/* 8014E300 0014A140 55 E9 7F 7E */ rlwinm r9, r15, 0xf, 0x1d, 0x1f
|
|
/* 8014E304 0014A144 55 E8 97 7E */ rlwinm r8, r15, 0x12, 0x1d, 0x1f
|
|
/* 8014E308 0014A148 55 E6 AF 7E */ rlwinm r6, r15, 0x15, 0x1d, 0x1f
|
|
/* 8014E30C 0014A14C B0 A7 00 42 */ sth r5, 0x42(r7)
|
|
/* 8014E310 0014A150 55 E5 C7 7E */ rlwinm r5, r15, 0x18, 0x1d, 0x1f
|
|
/* 8014E314 0014A154 55 E3 DF 7E */ rlwinm r3, r15, 0x1b, 0x1d, 0x1f
|
|
/* 8014E318 0014A158 55 E0 F7 7E */ rlwinm r0, r15, 0x1e, 0x1d, 0x1f
|
|
/* 8014E31C 0014A15C B3 07 00 44 */ sth r24, 0x44(r7)
|
|
/* 8014E320 0014A160 B2 E7 00 46 */ sth r23, 0x46(r7)
|
|
/* 8014E324 0014A164 B2 C7 00 48 */ sth r22, 0x48(r7)
|
|
/* 8014E328 0014A168 B2 A7 00 4A */ sth r21, 0x4a(r7)
|
|
/* 8014E32C 0014A16C B2 87 00 4C */ sth r20, 0x4c(r7)
|
|
/* 8014E330 0014A170 B2 67 00 4E */ sth r19, 0x4e(r7)
|
|
/* 8014E334 0014A174 B2 47 00 50 */ sth r18, 0x50(r7)
|
|
/* 8014E338 0014A178 B2 27 00 52 */ sth r17, 0x52(r7)
|
|
/* 8014E33C 0014A17C AA 24 00 0A */ lha r17, 0xa(r4)
|
|
/* 8014E340 0014A180 7E 30 83 78 */ or r16, r17, r16
|
|
/* 8014E344 0014A184 B2 04 00 0A */ sth r16, 0xa(r4)
|
|
/* 8014E348 0014A188 B1 C7 00 54 */ sth r14, 0x54(r7)
|
|
/* 8014E34C 0014A18C B1 87 00 56 */ sth r12, 0x56(r7)
|
|
/* 8014E350 0014A190 B1 67 00 58 */ sth r11, 0x58(r7)
|
|
/* 8014E354 0014A194 B1 47 00 5A */ sth r10, 0x5a(r7)
|
|
/* 8014E358 0014A198 B1 27 00 5C */ sth r9, 0x5c(r7)
|
|
/* 8014E35C 0014A19C B1 07 00 5E */ sth r8, 0x5e(r7)
|
|
/* 8014E360 0014A1A0 B0 C7 00 60 */ sth r6, 0x60(r7)
|
|
/* 8014E364 0014A1A4 B0 A7 00 62 */ sth r5, 0x62(r7)
|
|
/* 8014E368 0014A1A8 B0 67 00 64 */ sth r3, 0x64(r7)
|
|
/* 8014E36C 0014A1AC B0 07 00 66 */ sth r0, 0x66(r7)
|
|
/* 8014E370 0014A1B0 80 C1 00 24 */ lwz r6, 0x24(r1)
|
|
/* 8014E374 0014A1B4 55 E0 0F 7C */ rlwinm r0, r15, 1, 0x1d, 0x1e
|
|
/* 8014E378 0014A1B8 83 01 00 2C */ lwz r24, 0x2c(r1)
|
|
/* 8014E37C 0014A1BC 7C 05 07 34 */ extsh r5, r0
|
|
/* 8014E380 0014A1C0 54 C0 FF FE */ rlwinm r0, r6, 0x1f, 0x1f, 0x1f
|
|
/* 8014E384 0014A1C4 81 E1 00 28 */ lwz r15, 0x28(r1)
|
|
/* 8014E388 0014A1C8 7C 03 07 34 */ extsh r3, r0
|
|
/* 8014E38C 0014A1CC 54 CA 1F 7E */ srwi r10, r6, 0x1d
|
|
/* 8014E390 0014A1D0 7C BD 1B 78 */ or r29, r5, r3
|
|
/* 8014E394 0014A1D4 54 C9 37 7E */ rlwinm r9, r6, 6, 0x1d, 0x1f
|
|
/* 8014E398 0014A1D8 54 C8 4F 7E */ rlwinm r8, r6, 9, 0x1d, 0x1f
|
|
/* 8014E39C 0014A1DC 54 D0 67 7E */ rlwinm r16, r6, 0xc, 0x1d, 0x1f
|
|
/* 8014E3A0 0014A1E0 54 C0 7F 7E */ rlwinm r0, r6, 0xf, 0x1d, 0x1f
|
|
/* 8014E3A4 0014A1E4 54 D1 97 7E */ rlwinm r17, r6, 0x12, 0x1d, 0x1f
|
|
/* 8014E3A8 0014A1E8 54 D4 AF 7E */ rlwinm r20, r6, 0x15, 0x1d, 0x1f
|
|
/* 8014E3AC 0014A1EC 54 D7 C7 7E */ rlwinm r23, r6, 0x18, 0x1d, 0x1f
|
|
/* 8014E3B0 0014A1F0 54 DB DF 7E */ rlwinm r27, r6, 0x1b, 0x1d, 0x1f
|
|
/* 8014E3B4 0014A1F4 54 DC F7 7E */ rlwinm r28, r6, 0x1e, 0x1d, 0x1f
|
|
/* 8014E3B8 0014A1F8 B1 47 00 68 */ sth r10, 0x68(r7)
|
|
/* 8014E3BC 0014A1FC 54 C6 0F BC */ rlwinm r6, r6, 1, 0x1e, 0x1e
|
|
/* 8014E3C0 0014A200 7C DE 07 34 */ extsh r30, r6
|
|
/* 8014E3C4 0014A204 55 E5 0F 7C */ rlwinm r5, r15, 1, 0x1d, 0x1e
|
|
/* 8014E3C8 0014A208 B1 27 00 6A */ sth r9, 0x6a(r7)
|
|
/* 8014E3CC 0014A20C 57 03 FF FE */ rlwinm r3, r24, 0x1f, 0x1f, 0x1f
|
|
/* 8014E3D0 0014A210 7C B9 07 34 */ extsh r25, r5
|
|
/* 8014E3D4 0014A214 55 FF 1F 7E */ srwi r31, r15, 0x1d
|
|
/* 8014E3D8 0014A218 7C 6E 07 34 */ extsh r14, r3
|
|
/* 8014E3DC 0014A21C B1 07 00 6C */ sth r8, 0x6c(r7)
|
|
/* 8014E3E0 0014A220 57 03 07 FE */ clrlwi r3, r24, 0x1f
|
|
/* 8014E3E4 0014A224 55 EC 37 7E */ rlwinm r12, r15, 6, 0x1d, 0x1f
|
|
/* 8014E3E8 0014A228 B2 07 00 6E */ sth r16, 0x6e(r7)
|
|
/* 8014E3EC 0014A22C 55 EB 4F 7E */ rlwinm r11, r15, 9, 0x1d, 0x1f
|
|
/* 8014E3F0 0014A230 55 EA 67 7E */ rlwinm r10, r15, 0xc, 0x1d, 0x1f
|
|
/* 8014E3F4 0014A234 55 E9 7F 7E */ rlwinm r9, r15, 0xf, 0x1d, 0x1f
|
|
/* 8014E3F8 0014A238 B0 07 00 70 */ sth r0, 0x70(r7)
|
|
/* 8014E3FC 0014A23C 55 E8 97 7E */ rlwinm r8, r15, 0x12, 0x1d, 0x1f
|
|
/* 8014E400 0014A240 55 E6 AF 7E */ rlwinm r6, r15, 0x15, 0x1d, 0x1f
|
|
/* 8014E404 0014A244 55 E5 C7 7E */ rlwinm r5, r15, 0x18, 0x1d, 0x1f
|
|
/* 8014E408 0014A248 B2 27 00 72 */ sth r17, 0x72(r7)
|
|
/* 8014E40C 0014A24C 55 E0 F7 7E */ rlwinm r0, r15, 0x1e, 0x1d, 0x1f
|
|
/* 8014E410 0014A250 57 10 37 7E */ rlwinm r16, r24, 6, 0x1d, 0x1f
|
|
/* 8014E414 0014A254 57 11 4F 7E */ rlwinm r17, r24, 9, 0x1d, 0x1f
|
|
/* 8014E418 0014A258 B2 87 00 74 */ sth r20, 0x74(r7)
|
|
/* 8014E41C 0014A25C 57 12 67 7E */ rlwinm r18, r24, 0xc, 0x1d, 0x1f
|
|
/* 8014E420 0014A260 57 13 7F 7E */ rlwinm r19, r24, 0xf, 0x1d, 0x1f
|
|
/* 8014E424 0014A264 57 14 97 7E */ rlwinm r20, r24, 0x12, 0x1d, 0x1f
|
|
/* 8014E428 0014A268 B2 E7 00 76 */ sth r23, 0x76(r7)
|
|
/* 8014E42C 0014A26C 57 15 AF 7E */ rlwinm r21, r24, 0x15, 0x1d, 0x1f
|
|
/* 8014E430 0014A270 57 16 C7 7E */ rlwinm r22, r24, 0x18, 0x1d, 0x1f
|
|
/* 8014E434 0014A274 57 17 DF 7E */ rlwinm r23, r24, 0x1b, 0x1d, 0x1f
|
|
/* 8014E438 0014A278 90 61 00 30 */ stw r3, 0x30(r1)
|
|
/* 8014E43C 0014A27C 55 E3 DF 7E */ rlwinm r3, r15, 0x1b, 0x1d, 0x1f
|
|
/* 8014E440 0014A280 57 0F 1F 7E */ srwi r15, r24, 0x1d
|
|
/* 8014E444 0014A284 7F 2E 73 78 */ or r14, r25, r14
|
|
/* 8014E448 0014A288 83 21 00 30 */ lwz r25, 0x30(r1)
|
|
/* 8014E44C 0014A28C 57 18 F7 7E */ rlwinm r24, r24, 0x1e, 0x1d, 0x1f
|
|
/* 8014E450 0014A290 B3 67 00 78 */ sth r27, 0x78(r7)
|
|
/* 8014E454 0014A294 3B 5A 05 20 */ addi r26, r26, 0x520
|
|
/* 8014E458 0014A298 7F 39 07 34 */ extsh r25, r25
|
|
/* 8014E45C 0014A29C B3 87 00 7A */ sth r28, 0x7a(r7)
|
|
/* 8014E460 0014A2A0 B3 A7 00 7C */ sth r29, 0x7c(r7)
|
|
/* 8014E464 0014A2A4 AB 64 00 0A */ lha r27, 0xa(r4)
|
|
/* 8014E468 0014A2A8 7F 7B F3 78 */ or r27, r27, r30
|
|
/* 8014E46C 0014A2AC B3 64 00 0A */ sth r27, 0xa(r4)
|
|
/* 8014E470 0014A2B0 B1 67 00 82 */ sth r11, 0x82(r7)
|
|
/* 8014E474 0014A2B4 39 61 00 80 */ addi r11, r1, 0x80
|
|
/* 8014E478 0014A2B8 B3 E7 00 7E */ sth r31, 0x7e(r7)
|
|
/* 8014E47C 0014A2BC B1 87 00 80 */ sth r12, 0x80(r7)
|
|
/* 8014E480 0014A2C0 B1 47 00 84 */ sth r10, 0x84(r7)
|
|
/* 8014E484 0014A2C4 B1 27 00 86 */ sth r9, 0x86(r7)
|
|
/* 8014E488 0014A2C8 B1 07 00 88 */ sth r8, 0x88(r7)
|
|
/* 8014E48C 0014A2CC B0 C7 00 8A */ sth r6, 0x8a(r7)
|
|
/* 8014E490 0014A2D0 B0 A7 00 8C */ sth r5, 0x8c(r7)
|
|
/* 8014E494 0014A2D4 B0 67 00 8E */ sth r3, 0x8e(r7)
|
|
/* 8014E498 0014A2D8 B0 07 00 90 */ sth r0, 0x90(r7)
|
|
/* 8014E49C 0014A2DC B1 E7 00 92 */ sth r15, 0x92(r7)
|
|
/* 8014E4A0 0014A2E0 B2 07 00 94 */ sth r16, 0x94(r7)
|
|
/* 8014E4A4 0014A2E4 B2 27 00 96 */ sth r17, 0x96(r7)
|
|
/* 8014E4A8 0014A2E8 B2 47 00 98 */ sth r18, 0x98(r7)
|
|
/* 8014E4AC 0014A2EC B2 67 00 9A */ sth r19, 0x9a(r7)
|
|
/* 8014E4B0 0014A2F0 B2 87 00 9C */ sth r20, 0x9c(r7)
|
|
/* 8014E4B4 0014A2F4 B2 A7 00 9E */ sth r21, 0x9e(r7)
|
|
/* 8014E4B8 0014A2F8 B2 C7 00 A0 */ sth r22, 0xa0(r7)
|
|
/* 8014E4BC 0014A2FC B2 E7 00 A2 */ sth r23, 0xa2(r7)
|
|
/* 8014E4C0 0014A300 B3 07 00 A4 */ sth r24, 0xa4(r7)
|
|
/* 8014E4C4 0014A304 B1 C7 00 A6 */ sth r14, 0xa6(r7)
|
|
/* 8014E4C8 0014A308 A8 04 00 0A */ lha r0, 0xa(r4)
|
|
/* 8014E4CC 0014A30C 7C 00 CB 78 */ or r0, r0, r25
|
|
/* 8014E4D0 0014A310 B0 04 00 0A */ sth r0, 0xa(r4)
|
|
/* 8014E4D4 0014A314 7C 00 07 34 */ extsh r0, r0
|
|
/* 8014E4D8 0014A318 54 00 08 3C */ slwi r0, r0, 1
|
|
/* 8014E4DC 0014A31C 7C 1A 02 AE */ lhax r0, r26, r0
|
|
/* 8014E4E0 0014A320 B0 04 00 0A */ sth r0, 0xa(r4)
|
|
/* 8014E4E4 0014A324 4B EB 8E 71 */ bl __restore_gpr
|
|
/* 8014E4E8 0014A328 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 8014E4EC 0014A32C 7C 08 03 A6 */ mtlr r0
|
|
/* 8014E4F0 0014A330 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 8014E4F4 0014A334 4E 80 00 20 */ blr
|
|
/* 8014E4F8 0014A338 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
/* 8014E4FC 0014A33C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.global UnpackFast__5CodecFPCScPs
|
|
UnpackFast__5CodecFPCScPs:
|
|
/* 8014E500 0014A340 94 21 FF 20 */ stwu r1, -0xe0(r1)
|
|
/* 8014E504 0014A344 7C 08 02 A6 */ mflr r0
|
|
/* 8014E508 0014A348 90 01 00 E4 */ stw r0, 0xe4(r1)
|
|
/* 8014E50C 0014A34C 38 C1 00 08 */ addi r6, r1, 8
|
|
/* 8014E510 0014A350 38 E1 00 28 */ addi r7, r1, 0x28
|
|
/* 8014E514 0014A354 93 E1 00 DC */ stw r31, 0xdc(r1)
|
|
/* 8014E518 0014A358 7C BF 2B 78 */ mr r31, r5
|
|
/* 8014E51C 0014A35C 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 8014E520 0014A360 93 C1 00 D8 */ stw r30, 0xd8(r1)
|
|
/* 8014E524 0014A364 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8014E528 0014A368 7C 83 23 78 */ mr r3, r4
|
|
/* 8014E52C 0014A36C 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8014E530 0014A370 93 A1 00 D4 */ stw r29, 0xd4(r1)
|
|
/* 8014E534 0014A374 4B FF FB 5D */ bl DecodeStream__FPCScPsPsPsPA21_s
|
|
/* 8014E538 0014A378 3C 60 80 44 */ lis r3, Apcm@ha
|
|
/* 8014E53C 0014A37C 7F E7 FB 78 */ mr r7, r31
|
|
/* 8014E540 0014A380 38 81 00 08 */ addi r4, r1, 8
|
|
/* 8014E544 0014A384 38 A1 00 28 */ addi r5, r1, 0x28
|
|
/* 8014E548 0014A388 38 C1 00 10 */ addi r6, r1, 0x10
|
|
/* 8014E54C 0014A38C 38 63 76 28 */ addi r3, r3, Apcm@l
|
|
/* 8014E550 0014A390 39 00 00 00 */ li r8, 0
|
|
/* 8014E554 0014A394 39 60 00 00 */ li r11, 0
|
|
/* 8014E558 0014A398 38 00 00 02 */ li r0, 2
|
|
/* 8014E55C 0014A39C 60 00 00 00 */ nop
|
|
lbl_8014E560:
|
|
/* 8014E560 0014A3A0 A9 24 00 00 */ lha r9, 0(r4)
|
|
/* 8014E564 0014A3A4 7C AA 2B 78 */ mr r10, r5
|
|
/* 8014E568 0014A3A8 3B A0 00 00 */ li r29, 0
|
|
/* 8014E56C 0014A3AC 55 29 20 36 */ slwi r9, r9, 4
|
|
/* 8014E570 0014A3B0 7D 23 4A 14 */ add r9, r3, r9
|
|
/* 8014E574 0014A3B4 48 00 00 10 */ b lbl_8014E584
|
|
lbl_8014E578:
|
|
/* 8014E578 0014A3B8 B1 67 00 00 */ sth r11, 0(r7)
|
|
/* 8014E57C 0014A3BC 38 E7 00 02 */ addi r7, r7, 2
|
|
/* 8014E580 0014A3C0 3B BD 00 01 */ addi r29, r29, 1
|
|
lbl_8014E584:
|
|
/* 8014E584 0014A3C4 A9 86 00 00 */ lha r12, 0(r6)
|
|
/* 8014E588 0014A3C8 7C 1D 60 00 */ cmpw r29, r12
|
|
/* 8014E58C 0014A3CC 41 80 FF EC */ blt lbl_8014E578
|
|
/* 8014E590 0014A3D0 7C 09 03 A6 */ mtctr r0
|
|
lbl_8014E594:
|
|
/* 8014E594 0014A3D4 A9 8A 00 00 */ lha r12, 0(r10)
|
|
/* 8014E598 0014A3D8 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E59C 0014A3DC 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E5A0 0014A3E0 B1 87 00 00 */ sth r12, 0(r7)
|
|
/* 8014E5A4 0014A3E4 B1 67 00 02 */ sth r11, 2(r7)
|
|
/* 8014E5A8 0014A3E8 B1 67 00 04 */ sth r11, 4(r7)
|
|
/* 8014E5AC 0014A3EC A9 8A 00 02 */ lha r12, 2(r10)
|
|
/* 8014E5B0 0014A3F0 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E5B4 0014A3F4 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E5B8 0014A3F8 B1 87 00 06 */ sth r12, 6(r7)
|
|
/* 8014E5BC 0014A3FC B1 67 00 08 */ sth r11, 8(r7)
|
|
/* 8014E5C0 0014A400 B1 67 00 0A */ sth r11, 0xa(r7)
|
|
/* 8014E5C4 0014A404 A9 8A 00 04 */ lha r12, 4(r10)
|
|
/* 8014E5C8 0014A408 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E5CC 0014A40C 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E5D0 0014A410 B1 87 00 0C */ sth r12, 0xc(r7)
|
|
/* 8014E5D4 0014A414 B1 67 00 0E */ sth r11, 0xe(r7)
|
|
/* 8014E5D8 0014A418 B1 67 00 10 */ sth r11, 0x10(r7)
|
|
/* 8014E5DC 0014A41C A9 8A 00 06 */ lha r12, 6(r10)
|
|
/* 8014E5E0 0014A420 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E5E4 0014A424 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E5E8 0014A428 B1 87 00 12 */ sth r12, 0x12(r7)
|
|
/* 8014E5EC 0014A42C B1 67 00 14 */ sth r11, 0x14(r7)
|
|
/* 8014E5F0 0014A430 B1 67 00 16 */ sth r11, 0x16(r7)
|
|
/* 8014E5F4 0014A434 A9 8A 00 08 */ lha r12, 8(r10)
|
|
/* 8014E5F8 0014A438 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E5FC 0014A43C 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E600 0014A440 B1 87 00 18 */ sth r12, 0x18(r7)
|
|
/* 8014E604 0014A444 B1 67 00 1A */ sth r11, 0x1a(r7)
|
|
/* 8014E608 0014A448 B1 67 00 1C */ sth r11, 0x1c(r7)
|
|
/* 8014E60C 0014A44C A9 8A 00 0A */ lha r12, 0xa(r10)
|
|
/* 8014E610 0014A450 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E614 0014A454 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E618 0014A458 B1 87 00 1E */ sth r12, 0x1e(r7)
|
|
/* 8014E61C 0014A45C B1 67 00 20 */ sth r11, 0x20(r7)
|
|
/* 8014E620 0014A460 B1 67 00 22 */ sth r11, 0x22(r7)
|
|
/* 8014E624 0014A464 A9 8A 00 0C */ lha r12, 0xc(r10)
|
|
/* 8014E628 0014A468 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E62C 0014A46C 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E630 0014A470 B1 87 00 24 */ sth r12, 0x24(r7)
|
|
/* 8014E634 0014A474 B1 67 00 26 */ sth r11, 0x26(r7)
|
|
/* 8014E638 0014A478 B1 67 00 28 */ sth r11, 0x28(r7)
|
|
/* 8014E63C 0014A47C A9 8A 00 0E */ lha r12, 0xe(r10)
|
|
/* 8014E640 0014A480 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E644 0014A484 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E648 0014A488 B1 87 00 2A */ sth r12, 0x2a(r7)
|
|
/* 8014E64C 0014A48C B1 67 00 2C */ sth r11, 0x2c(r7)
|
|
/* 8014E650 0014A490 B1 67 00 2E */ sth r11, 0x2e(r7)
|
|
/* 8014E654 0014A494 A9 8A 00 10 */ lha r12, 0x10(r10)
|
|
/* 8014E658 0014A498 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E65C 0014A49C 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E660 0014A4A0 B1 87 00 30 */ sth r12, 0x30(r7)
|
|
/* 8014E664 0014A4A4 B1 67 00 32 */ sth r11, 0x32(r7)
|
|
/* 8014E668 0014A4A8 B1 67 00 34 */ sth r11, 0x34(r7)
|
|
/* 8014E66C 0014A4AC A9 8A 00 12 */ lha r12, 0x12(r10)
|
|
/* 8014E670 0014A4B0 39 4A 00 14 */ addi r10, r10, 0x14
|
|
/* 8014E674 0014A4B4 55 8C 08 3C */ slwi r12, r12, 1
|
|
/* 8014E678 0014A4B8 7D 89 62 AE */ lhax r12, r9, r12
|
|
/* 8014E67C 0014A4BC B1 87 00 36 */ sth r12, 0x36(r7)
|
|
/* 8014E680 0014A4C0 B1 67 00 38 */ sth r11, 0x38(r7)
|
|
/* 8014E684 0014A4C4 B1 67 00 3A */ sth r11, 0x3a(r7)
|
|
/* 8014E688 0014A4C8 38 E7 00 3C */ addi r7, r7, 0x3c
|
|
/* 8014E68C 0014A4CC 42 00 FF 08 */ bdnz lbl_8014E594
|
|
/* 8014E690 0014A4D0 A9 4A 00 00 */ lha r10, 0(r10)
|
|
/* 8014E694 0014A4D4 39 80 00 00 */ li r12, 0
|
|
/* 8014E698 0014A4D8 55 4A 08 3C */ slwi r10, r10, 1
|
|
/* 8014E69C 0014A4DC 7D 29 52 AE */ lhax r9, r9, r10
|
|
/* 8014E6A0 0014A4E0 B1 27 00 00 */ sth r9, 0(r7)
|
|
/* 8014E6A4 0014A4E4 38 E7 00 02 */ addi r7, r7, 2
|
|
/* 8014E6A8 0014A4E8 48 00 00 14 */ b lbl_8014E6BC
|
|
/* 8014E6AC 0014A4EC 60 00 00 00 */ nop
|
|
lbl_8014E6B0:
|
|
/* 8014E6B0 0014A4F0 B1 67 00 00 */ sth r11, 0(r7)
|
|
/* 8014E6B4 0014A4F4 38 E7 00 02 */ addi r7, r7, 2
|
|
/* 8014E6B8 0014A4F8 39 8C 00 01 */ addi r12, r12, 1
|
|
lbl_8014E6BC:
|
|
/* 8014E6BC 0014A4FC A9 26 00 00 */ lha r9, 0(r6)
|
|
/* 8014E6C0 0014A500 21 29 00 03 */ subfic r9, r9, 3
|
|
/* 8014E6C4 0014A504 7C 0C 48 00 */ cmpw r12, r9
|
|
/* 8014E6C8 0014A508 41 80 FF E8 */ blt lbl_8014E6B0
|
|
/* 8014E6CC 0014A50C 39 08 00 01 */ addi r8, r8, 1
|
|
/* 8014E6D0 0014A510 38 A5 00 2A */ addi r5, r5, 0x2a
|
|
/* 8014E6D4 0014A514 2C 08 00 04 */ cmpwi r8, 4
|
|
/* 8014E6D8 0014A518 38 C6 00 02 */ addi r6, r6, 2
|
|
/* 8014E6DC 0014A51C 38 84 00 02 */ addi r4, r4, 2
|
|
/* 8014E6E0 0014A520 41 80 FE 80 */ blt lbl_8014E560
|
|
/* 8014E6E4 0014A524 38 00 01 00 */ li r0, 0x100
|
|
/* 8014E6E8 0014A528 A9 1E 00 0C */ lha r8, 0xc(r30)
|
|
/* 8014E6EC 0014A52C 7C 09 03 A6 */ mtctr r0
|
|
lbl_8014E6F0:
|
|
/* 8014E6F0 0014A530 A9 3F 00 00 */ lha r9, 0(r31)
|
|
/* 8014E6F4 0014A534 38 9E 00 10 */ addi r4, r30, 0x10
|
|
/* 8014E6F8 0014A538 38 A1 00 28 */ addi r5, r1, 0x28
|
|
/* 8014E6FC 0014A53C 39 40 00 08 */ li r10, 8
|
|
/* 8014E700 0014A540 48 00 00 B4 */ b lbl_8014E7B4
|
|
/* 8014E704 0014A544 60 00 00 00 */ nop
|
|
lbl_8014E708:
|
|
/* 8014E708 0014A548 A8 C5 00 00 */ lha r6, 0(r5)
|
|
/* 8014E70C 0014A54C A8 E4 00 1E */ lha r7, 0x1e(r4)
|
|
/* 8014E710 0014A550 2C 06 80 00 */ cmpwi r6, -32768
|
|
/* 8014E714 0014A554 40 82 00 14 */ bne lbl_8014E728
|
|
/* 8014E718 0014A558 2C 07 80 00 */ cmpwi r7, -32768
|
|
/* 8014E71C 0014A55C 40 82 00 0C */ bne lbl_8014E728
|
|
/* 8014E720 0014A560 38 60 7F FF */ li r3, 0x7fff
|
|
/* 8014E724 0014A564 48 00 00 14 */ b lbl_8014E738
|
|
lbl_8014E728:
|
|
/* 8014E728 0014A568 7C 66 39 D6 */ mullw r3, r6, r7
|
|
/* 8014E72C 0014A56C 38 03 40 00 */ addi r0, r3, 0x4000
|
|
/* 8014E730 0014A570 54 00 8C 3E */ rlwinm r0, r0, 0x11, 0x10, 0x1f
|
|
/* 8014E734 0014A574 7C 03 07 34 */ extsh r3, r0
|
|
lbl_8014E738:
|
|
/* 8014E738 0014A578 7D 20 07 34 */ extsh r0, r9
|
|
/* 8014E73C 0014A57C 7C 63 00 50 */ subf r3, r3, r0
|
|
/* 8014E740 0014A580 2C 03 80 00 */ cmpwi r3, -32768
|
|
/* 8014E744 0014A584 40 80 00 0C */ bge lbl_8014E750
|
|
/* 8014E748 0014A588 38 00 80 00 */ li r0, -32768
|
|
/* 8014E74C 0014A58C 48 00 00 14 */ b lbl_8014E760
|
|
lbl_8014E750:
|
|
/* 8014E750 0014A590 2C 03 7F FF */ cmpwi r3, 0x7fff
|
|
/* 8014E754 0014A594 38 00 7F FF */ li r0, 0x7fff
|
|
/* 8014E758 0014A598 41 81 00 08 */ bgt lbl_8014E760
|
|
/* 8014E75C 0014A59C 7C 60 1B 78 */ mr r0, r3
|
|
lbl_8014E760:
|
|
/* 8014E760 0014A5A0 2C 06 80 00 */ cmpwi r6, -32768
|
|
/* 8014E764 0014A5A4 7C 09 07 34 */ extsh r9, r0
|
|
/* 8014E768 0014A5A8 40 82 00 14 */ bne lbl_8014E77C
|
|
/* 8014E76C 0014A5AC 2C 09 80 00 */ cmpwi r9, -32768
|
|
/* 8014E770 0014A5B0 40 82 00 0C */ bne lbl_8014E77C
|
|
/* 8014E774 0014A5B4 38 00 7F FF */ li r0, 0x7fff
|
|
/* 8014E778 0014A5B8 48 00 00 14 */ b lbl_8014E78C
|
|
lbl_8014E77C:
|
|
/* 8014E77C 0014A5BC 7C 66 49 D6 */ mullw r3, r6, r9
|
|
/* 8014E780 0014A5C0 38 03 40 00 */ addi r0, r3, 0x4000
|
|
/* 8014E784 0014A5C4 54 00 8C 3E */ rlwinm r0, r0, 0x11, 0x10, 0x1f
|
|
/* 8014E788 0014A5C8 7C 00 07 34 */ extsh r0, r0
|
|
lbl_8014E78C:
|
|
/* 8014E78C 0014A5CC 7C 67 02 14 */ add r3, r7, r0
|
|
/* 8014E790 0014A5D0 2C 03 80 00 */ cmpwi r3, -32768
|
|
/* 8014E794 0014A5D4 40 80 00 0C */ bge lbl_8014E7A0
|
|
/* 8014E798 0014A5D8 38 00 80 00 */ li r0, -32768
|
|
/* 8014E79C 0014A5DC 48 00 00 14 */ b lbl_8014E7B0
|
|
lbl_8014E7A0:
|
|
/* 8014E7A0 0014A5E0 2C 03 7F FF */ cmpwi r3, 0x7fff
|
|
/* 8014E7A4 0014A5E4 38 00 7F FF */ li r0, 0x7fff
|
|
/* 8014E7A8 0014A5E8 41 81 00 08 */ bgt lbl_8014E7B0
|
|
/* 8014E7AC 0014A5EC 7C 60 1B 78 */ mr r0, r3
|
|
lbl_8014E7B0:
|
|
/* 8014E7B0 0014A5F0 B0 04 00 20 */ sth r0, 0x20(r4)
|
|
lbl_8014E7B4:
|
|
/* 8014E7B4 0014A5F4 2C 0A 00 00 */ cmpwi r10, 0
|
|
/* 8014E7B8 0014A5F8 39 4A FF FF */ addi r10, r10, -1
|
|
/* 8014E7BC 0014A5FC 38 84 FF FE */ addi r4, r4, -2
|
|
/* 8014E7C0 0014A600 38 A5 FF FE */ addi r5, r5, -2
|
|
/* 8014E7C4 0014A604 40 82 FF 44 */ bne lbl_8014E708
|
|
/* 8014E7C8 0014A608 7D 00 07 34 */ extsh r0, r8
|
|
/* 8014E7CC 0014A60C 7D 24 07 34 */ extsh r4, r9
|
|
/* 8014E7D0 0014A610 1C 60 6E 14 */ mulli r3, r0, 0x6e14
|
|
/* 8014E7D4 0014A614 B1 3E 00 1E */ sth r9, 0x1e(r30)
|
|
/* 8014E7D8 0014A618 38 03 40 00 */ addi r0, r3, 0x4000
|
|
/* 8014E7DC 0014A61C 54 00 8C 3E */ rlwinm r0, r0, 0x11, 0x10, 0x1f
|
|
/* 8014E7E0 0014A620 7C 00 07 34 */ extsh r0, r0
|
|
/* 8014E7E4 0014A624 7C 64 02 14 */ add r3, r4, r0
|
|
/* 8014E7E8 0014A628 2C 03 80 00 */ cmpwi r3, -32768
|
|
/* 8014E7EC 0014A62C 40 80 00 0C */ bge lbl_8014E7F8
|
|
/* 8014E7F0 0014A630 38 00 80 00 */ li r0, -32768
|
|
/* 8014E7F4 0014A634 48 00 00 14 */ b lbl_8014E808
|
|
lbl_8014E7F8:
|
|
/* 8014E7F8 0014A638 2C 03 7F FF */ cmpwi r3, 0x7fff
|
|
/* 8014E7FC 0014A63C 38 00 7F FF */ li r0, 0x7fff
|
|
/* 8014E800 0014A640 41 81 00 08 */ bgt lbl_8014E808
|
|
/* 8014E804 0014A644 7C 60 1B 78 */ mr r0, r3
|
|
lbl_8014E808:
|
|
/* 8014E808 0014A648 7C 08 07 34 */ extsh r8, r0
|
|
/* 8014E80C 0014A64C 55 03 08 3C */ slwi r3, r8, 1
|
|
/* 8014E810 0014A650 2C 03 80 00 */ cmpwi r3, -32768
|
|
/* 8014E814 0014A654 40 80 00 0C */ bge lbl_8014E820
|
|
/* 8014E818 0014A658 38 00 80 00 */ li r0, -32768
|
|
/* 8014E81C 0014A65C 48 00 00 14 */ b lbl_8014E830
|
|
lbl_8014E820:
|
|
/* 8014E820 0014A660 2C 03 7F FF */ cmpwi r3, 0x7fff
|
|
/* 8014E824 0014A664 38 00 7F FF */ li r0, 0x7fff
|
|
/* 8014E828 0014A668 41 81 00 08 */ bgt lbl_8014E830
|
|
/* 8014E82C 0014A66C 7C 60 1B 78 */ mr r0, r3
|
|
lbl_8014E830:
|
|
/* 8014E830 0014A670 B0 1F 00 00 */ sth r0, 0(r31)
|
|
/* 8014E834 0014A674 3B FF 00 02 */ addi r31, r31, 2
|
|
/* 8014E838 0014A678 42 00 FE B8 */ bdnz lbl_8014E6F0
|
|
/* 8014E83C 0014A67C B1 1E 00 0C */ sth r8, 0xc(r30)
|
|
/* 8014E840 0014A680 83 E1 00 DC */ lwz r31, 0xdc(r1)
|
|
/* 8014E844 0014A684 83 C1 00 D8 */ lwz r30, 0xd8(r1)
|
|
/* 8014E848 0014A688 83 A1 00 D4 */ lwz r29, 0xd4(r1)
|
|
/* 8014E84C 0014A68C 80 01 00 E4 */ lwz r0, 0xe4(r1)
|
|
/* 8014E850 0014A690 7C 08 03 A6 */ mtlr r0
|
|
/* 8014E854 0014A694 38 21 00 E0 */ addi r1, r1, 0xe0
|
|
/* 8014E858 0014A698 4E 80 00 20 */ blr
|
|
/* 8014E85C 0014A69C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */
|
|
|
|
.section .data5, "wa" # 0x80421040 - 0x80496700
|
|
.global Apcm
|
|
Apcm:
|
|
.incbin "baserom.dol", 0x443728, 0x400
|
|
.global Lar0
|
|
Lar0:
|
|
.incbin "baserom.dol", 0x443B28, 0x80
|
|
.global Lar2
|
|
Lar2:
|
|
.incbin "baserom.dol", 0x443BA8, 0x40
|
|
.global Lar3
|
|
Lar3:
|
|
.incbin "baserom.dol", 0x443BE8, 0x40
|
|
.global Lar4
|
|
Lar4:
|
|
.incbin "baserom.dol", 0x443C28, 0x20
|
|
.global Lar5
|
|
Lar5:
|
|
.incbin "baserom.dol", 0x443C48, 0x20
|
|
.global Lar6
|
|
Lar6:
|
|
.incbin "baserom.dol", 0x443C68, 0x10
|
|
.global Lar7
|
|
Lar7:
|
|
.incbin "baserom.dol", 0x443C78, 0x10
|