pikmin2/asm/JSystem/JAI/JAISystemInterface.s
EpochFlame 5768bb25a7 begin JSTFindCreature and clean some sinits
prep sinits for objdiff
2022-11-19 15:40:50 -05:00

531 lines
27 KiB
ArmAsm

.include "macros.inc"
.section .ctors, "wa" # 0x80472F00 - 0x804732C0
lbl_constructor:
.4byte __sinit_JAISystemInterface_cpp
.section .bss # 0x804EFC20 - 0x8051467C
.balign 8
.lcomm lbl_804F2870, 0xC, 4
# JAISystemInterface.cpp
.comm systemPortCmd__Q27JAInter15SystemInterface, 0x18, 4
.section .sdata2, "a" # 0x80516360 - 0x80520E40
.balign 8
lbl_80517050:
.float 0.0
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global checkFileExsistence__Q27JAInter15SystemInterfaceFPc
checkFileExsistence__Q27JAInter15SystemInterfaceFPc:
/* 800B8EE4 000B5E24 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B8EE8 000B5E28 7C 08 02 A6 */ mflr r0
/* 800B8EEC 000B5E2C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B8EF0 000B5E30 48 02 32 75 */ bl DVDConvertPathToEntrynum
/* 800B8EF4 000B5E34 20 83 FF FF */ subfic r4, r3, -1
/* 800B8EF8 000B5E38 38 03 00 01 */ addi r0, r3, 1
/* 800B8EFC 000B5E3C 7C 80 03 78 */ or r0, r4, r0
/* 800B8F00 000B5E40 54 03 0F FE */ srwi r3, r0, 0x1f
/* 800B8F04 000B5E44 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B8F08 000B5E48 7C 08 03 A6 */ mtlr r0
/* 800B8F0C 000B5E4C 38 21 00 10 */ addi r1, r1, 0x10
/* 800B8F10 000B5E50 4E 80 00 20 */ blr
.global checkSeqActiveFlag__Q27JAInter15SystemInterfaceFP8JASTrack
checkSeqActiveFlag__Q27JAInter15SystemInterfaceFP8JASTrack:
/* 800B8F14 000B5E54 28 03 00 00 */ cmplwi r3, 0
/* 800B8F18 000B5E58 41 82 00 E0 */ beq .L_800B8FF8
/* 800B8F1C 000B5E5C 88 83 03 5B */ lbz r4, 0x35b(r3)
/* 800B8F20 000B5E60 28 04 00 00 */ cmplwi r4, 0
/* 800B8F24 000B5E64 41 82 00 D4 */ beq .L_800B8FF8
/* 800B8F28 000B5E68 80 03 02 FC */ lwz r0, 0x2fc(r3)
/* 800B8F2C 000B5E6C 28 00 00 00 */ cmplwi r0, 0
/* 800B8F30 000B5E70 40 82 00 B8 */ bne .L_800B8FE8
/* 800B8F34 000B5E74 80 03 03 00 */ lwz r0, 0x300(r3)
/* 800B8F38 000B5E78 28 00 00 00 */ cmplwi r0, 0
/* 800B8F3C 000B5E7C 40 82 00 AC */ bne .L_800B8FE8
/* 800B8F40 000B5E80 80 03 03 04 */ lwz r0, 0x304(r3)
/* 800B8F44 000B5E84 28 00 00 00 */ cmplwi r0, 0
/* 800B8F48 000B5E88 40 82 00 A0 */ bne .L_800B8FE8
/* 800B8F4C 000B5E8C 80 03 03 08 */ lwz r0, 0x308(r3)
/* 800B8F50 000B5E90 28 00 00 00 */ cmplwi r0, 0
/* 800B8F54 000B5E94 40 82 00 94 */ bne .L_800B8FE8
/* 800B8F58 000B5E98 80 03 03 0C */ lwz r0, 0x30c(r3)
/* 800B8F5C 000B5E9C 28 00 00 00 */ cmplwi r0, 0
/* 800B8F60 000B5EA0 40 82 00 88 */ bne .L_800B8FE8
/* 800B8F64 000B5EA4 80 03 03 10 */ lwz r0, 0x310(r3)
/* 800B8F68 000B5EA8 28 00 00 00 */ cmplwi r0, 0
/* 800B8F6C 000B5EAC 40 82 00 7C */ bne .L_800B8FE8
/* 800B8F70 000B5EB0 80 03 03 14 */ lwz r0, 0x314(r3)
/* 800B8F74 000B5EB4 28 00 00 00 */ cmplwi r0, 0
/* 800B8F78 000B5EB8 40 82 00 70 */ bne .L_800B8FE8
/* 800B8F7C 000B5EBC 80 03 03 18 */ lwz r0, 0x318(r3)
/* 800B8F80 000B5EC0 28 00 00 00 */ cmplwi r0, 0
/* 800B8F84 000B5EC4 40 82 00 64 */ bne .L_800B8FE8
/* 800B8F88 000B5EC8 80 03 03 1C */ lwz r0, 0x31c(r3)
/* 800B8F8C 000B5ECC 28 00 00 00 */ cmplwi r0, 0
/* 800B8F90 000B5ED0 40 82 00 58 */ bne .L_800B8FE8
/* 800B8F94 000B5ED4 80 03 03 20 */ lwz r0, 0x320(r3)
/* 800B8F98 000B5ED8 28 00 00 00 */ cmplwi r0, 0
/* 800B8F9C 000B5EDC 40 82 00 4C */ bne .L_800B8FE8
/* 800B8FA0 000B5EE0 80 03 03 24 */ lwz r0, 0x324(r3)
/* 800B8FA4 000B5EE4 28 00 00 00 */ cmplwi r0, 0
/* 800B8FA8 000B5EE8 40 82 00 40 */ bne .L_800B8FE8
/* 800B8FAC 000B5EEC 80 03 03 28 */ lwz r0, 0x328(r3)
/* 800B8FB0 000B5EF0 28 00 00 00 */ cmplwi r0, 0
/* 800B8FB4 000B5EF4 40 82 00 34 */ bne .L_800B8FE8
/* 800B8FB8 000B5EF8 80 03 03 2C */ lwz r0, 0x32c(r3)
/* 800B8FBC 000B5EFC 28 00 00 00 */ cmplwi r0, 0
/* 800B8FC0 000B5F00 40 82 00 28 */ bne .L_800B8FE8
/* 800B8FC4 000B5F04 80 03 03 30 */ lwz r0, 0x330(r3)
/* 800B8FC8 000B5F08 28 00 00 00 */ cmplwi r0, 0
/* 800B8FCC 000B5F0C 40 82 00 1C */ bne .L_800B8FE8
/* 800B8FD0 000B5F10 80 03 03 34 */ lwz r0, 0x334(r3)
/* 800B8FD4 000B5F14 28 00 00 00 */ cmplwi r0, 0
/* 800B8FD8 000B5F18 40 82 00 10 */ bne .L_800B8FE8
/* 800B8FDC 000B5F1C 80 03 03 38 */ lwz r0, 0x338(r3)
/* 800B8FE0 000B5F20 28 00 00 00 */ cmplwi r0, 0
/* 800B8FE4 000B5F24 41 82 00 0C */ beq .L_800B8FF0
.L_800B8FE8:
/* 800B8FE8 000B5F28 7C 83 23 78 */ mr r3, r4
/* 800B8FEC 000B5F2C 4E 80 00 20 */ blr
.L_800B8FF0:
/* 800B8FF0 000B5F30 38 60 00 00 */ li r3, 0
/* 800B8FF4 000B5F34 4E 80 00 20 */ blr
.L_800B8FF8:
/* 800B8FF8 000B5F38 38 60 00 00 */ li r3, 0
/* 800B8FFC 000B5F3C 4E 80 00 20 */ blr
.global trackToSeqp__Q27JAInter15SystemInterfaceFP11JAISequenceUc
trackToSeqp__Q27JAInter15SystemInterfaceFP11JAISequenceUc:
/* 800B9000 000B5F40 80 03 00 20 */ lwz r0, 0x20(r3)
/* 800B9004 000B5F44 38 A0 00 00 */ li r5, 0
/* 800B9008 000B5F48 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14
/* 800B900C 000B5F4C 41 82 00 2C */ beq .L_800B9038
/* 800B9010 000B5F50 54 80 F6 BA */ rlwinm r0, r4, 0x1e, 0x1a, 0x1d
/* 800B9014 000B5F54 54 84 06 3E */ clrlwi r4, r4, 0x18
/* 800B9018 000B5F58 7C 63 02 14 */ add r3, r3, r0
/* 800B901C 000B5F5C 80 63 06 08 */ lwz r3, 0x608(r3)
/* 800B9020 000B5F60 28 03 00 00 */ cmplwi r3, 0
/* 800B9024 000B5F64 41 82 00 20 */ beq .L_800B9044
/* 800B9028 000B5F68 54 80 16 BA */ rlwinm r0, r4, 2, 0x1a, 0x1d
/* 800B902C 000B5F6C 7C 63 02 14 */ add r3, r3, r0
/* 800B9030 000B5F70 80 A3 02 FC */ lwz r5, 0x2fc(r3)
/* 800B9034 000B5F74 48 00 00 10 */ b .L_800B9044
.L_800B9038:
/* 800B9038 000B5F78 54 80 16 BA */ rlwinm r0, r4, 2, 0x1a, 0x1d
/* 800B903C 000B5F7C 7C 63 02 14 */ add r3, r3, r0
/* 800B9040 000B5F80 80 A3 06 08 */ lwz r5, 0x608(r3)
.L_800B9044:
/* 800B9044 000B5F84 7C A3 2B 78 */ mr r3, r5
/* 800B9048 000B5F88 4E 80 00 20 */ blr
.global setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf:
/* 800B904C 000B5F8C 1C 84 00 48 */ mulli r4, r4, 0x48
/* 800B9050 000B5F90 80 63 00 4C */ lwz r3, 0x4c(r3)
/* 800B9054 000B5F94 54 A0 15 BA */ rlwinm r0, r5, 2, 0x16, 0x1d
/* 800B9058 000B5F98 7C 63 22 14 */ add r3, r3, r4
/* 800B905C 000B5F9C 7C 63 02 14 */ add r3, r3, r0
/* 800B9060 000B5FA0 D0 23 00 04 */ stfs f1, 4(r3)
/* 800B9064 000B5FA4 4E 80 00 20 */ blr
.global setSeqPortargsU32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcUl
setSeqPortargsU32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcUl:
/* 800B9068 000B5FA8 1C 84 00 48 */ mulli r4, r4, 0x48
/* 800B906C 000B5FAC 80 63 00 4C */ lwz r3, 0x4c(r3)
/* 800B9070 000B5FB0 54 A0 15 BA */ rlwinm r0, r5, 2, 0x16, 0x1d
/* 800B9074 000B5FB4 7C 63 22 14 */ add r3, r3, r4
/* 800B9078 000B5FB8 7C 63 02 14 */ add r3, r3, r0
/* 800B907C 000B5FBC 90 C3 00 04 */ stw r6, 4(r3)
/* 800B9080 000B5FC0 4E 80 00 20 */ blr
.global rootInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateData
rootInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateData:
/* 800B9084 000B5FC4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B9088 000B5FC8 7C 08 02 A6 */ mflr r0
/* 800B908C 000B5FCC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B9090 000B5FD0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B9094 000B5FD4 93 C1 00 08 */ stw r30, 8(r1)
/* 800B9098 000B5FD8 7C 7E 1B 78 */ mr r30, r3
/* 800B909C 000B5FDC 80 63 00 48 */ lwz r3, 0x48(r3)
/* 800B90A0 000B5FE0 3B E3 03 0C */ addi r31, r3, 0x30c
/* 800B90A4 000B5FE4 4B FF 4A 09 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B90A8 000B5FE8 3C C0 00 01 */ lis r6, 0x0000FFFF@ha
/* 800B90AC 000B5FEC 7C 65 1B 78 */ mr r5, r3
/* 800B90B0 000B5FF0 7F C3 F3 78 */ mr r3, r30
/* 800B90B4 000B5FF4 7F E4 FB 78 */ mr r4, r31
/* 800B90B8 000B5FF8 38 C6 FF FF */ addi r6, r6, 0x0000FFFF@l
/* 800B90BC 000B5FFC 38 E0 00 00 */ li r7, 0
/* 800B90C0 000B6000 48 00 00 A5 */ bl outerInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataP8JASTrackUlUsUc
/* 800B90C4 000B6004 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B90C8 000B6008 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B90CC 000B600C 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B90D0 000B6010 7C 08 03 A6 */ mtlr r0
/* 800B90D4 000B6014 38 21 00 10 */ addi r1, r1, 0x10
/* 800B90D8 000B6018 4E 80 00 20 */ blr
.global trackInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateData
trackInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateData:
/* 800B90DC 000B601C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B90E0 000B6020 7C 08 02 A6 */ mflr r0
/* 800B90E4 000B6024 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B90E8 000B6028 BF 41 00 08 */ stmw r26, 8(r1)
/* 800B90EC 000B602C 7C 7A 1B 78 */ mr r26, r3
/* 800B90F0 000B6030 3B 80 00 10 */ li r28, 0x10
/* 800B90F4 000B6034 83 A3 00 48 */ lwz r29, 0x48(r3)
/* 800B90F8 000B6038 80 1D 00 20 */ lwz r0, 0x20(r29)
/* 800B90FC 000B603C 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14
/* 800B9100 000B6040 41 82 00 0C */ beq .L_800B910C
/* 800B9104 000B6044 4B FF 49 A9 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B9108 000B6048 7C 7C 1B 78 */ mr r28, r3
.L_800B910C:
/* 800B910C 000B604C 3B 60 00 00 */ li r27, 0
/* 800B9110 000B6050 3B C0 00 01 */ li r30, 1
/* 800B9114 000B6054 3F E0 00 01 */ lis r31, 1
/* 800B9118 000B6058 48 00 00 30 */ b .L_800B9148
.L_800B911C:
/* 800B911C 000B605C 80 7A 00 04 */ lwz r3, 4(r26)
/* 800B9120 000B6060 7F C0 D8 30 */ slw r0, r30, r27
/* 800B9124 000B6064 7C 60 00 39 */ and. r0, r3, r0
/* 800B9128 000B6068 40 82 00 1C */ bne .L_800B9144
/* 800B912C 000B606C 7F 43 D3 78 */ mr r3, r26
/* 800B9130 000B6070 7F 65 DB 78 */ mr r5, r27
/* 800B9134 000B6074 38 9D 03 0C */ addi r4, r29, 0x30c
/* 800B9138 000B6078 38 DF FF FF */ addi r6, r31, -1
/* 800B913C 000B607C 38 E0 00 00 */ li r7, 0
/* 800B9140 000B6080 48 00 00 25 */ bl outerInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataP8JASTrackUlUsUc
.L_800B9144:
/* 800B9144 000B6084 3B 7B 00 01 */ addi r27, r27, 1
.L_800B9148:
/* 800B9148 000B6088 7C 1B E0 40 */ cmplw r27, r28
/* 800B914C 000B608C 41 80 FF D0 */ blt .L_800B911C
/* 800B9150 000B6090 BB 41 00 08 */ lmw r26, 8(r1)
/* 800B9154 000B6094 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B9158 000B6098 7C 08 03 A6 */ mtlr r0
/* 800B915C 000B609C 38 21 00 20 */ addi r1, r1, 0x20
/* 800B9160 000B60A0 4E 80 00 20 */ blr
.global outerInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataP8JASTrackUlUsUc
outerInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataP8JASTrackUlUsUc:
/* 800B9164 000B60A4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800B9168 000B60A8 7C 08 02 A6 */ mflr r0
/* 800B916C 000B60AC 90 01 00 34 */ stw r0, 0x34(r1)
/* 800B9170 000B60B0 BF 21 00 14 */ stmw r25, 0x14(r1)
/* 800B9174 000B60B4 7C 9F 23 78 */ mr r31, r4
/* 800B9178 000B60B8 7C 79 1B 78 */ mr r25, r3
/* 800B917C 000B60BC 7C BA 2B 78 */ mr r26, r5
/* 800B9180 000B60C0 7C DB 33 78 */ mr r27, r6
/* 800B9184 000B60C4 7F FD FB 78 */ mr r29, r31
/* 800B9188 000B60C8 4B FF 49 25 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B918C 000B60CC 7C 1A 18 40 */ cmplw r26, r3
/* 800B9190 000B60D0 41 82 00 50 */ beq .L_800B91E0
/* 800B9194 000B60D4 80 79 00 48 */ lwz r3, 0x48(r25)
/* 800B9198 000B60D8 38 A0 00 00 */ li r5, 0
/* 800B919C 000B60DC 80 03 00 20 */ lwz r0, 0x20(r3)
/* 800B91A0 000B60E0 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14
/* 800B91A4 000B60E4 41 82 00 2C */ beq .L_800B91D0
/* 800B91A8 000B60E8 57 40 F6 BA */ rlwinm r0, r26, 0x1e, 0x1a, 0x1d
/* 800B91AC 000B60EC 57 44 06 3E */ clrlwi r4, r26, 0x18
/* 800B91B0 000B60F0 7C 63 02 14 */ add r3, r3, r0
/* 800B91B4 000B60F4 80 63 06 08 */ lwz r3, 0x608(r3)
/* 800B91B8 000B60F8 28 03 00 00 */ cmplwi r3, 0
/* 800B91BC 000B60FC 41 82 00 20 */ beq .L_800B91DC
/* 800B91C0 000B6100 54 80 16 BA */ rlwinm r0, r4, 2, 0x1a, 0x1d
/* 800B91C4 000B6104 7C 63 02 14 */ add r3, r3, r0
/* 800B91C8 000B6108 80 A3 02 FC */ lwz r5, 0x2fc(r3)
/* 800B91CC 000B610C 48 00 00 10 */ b .L_800B91DC
.L_800B91D0:
/* 800B91D0 000B6110 57 40 16 BA */ rlwinm r0, r26, 2, 0x1a, 0x1d
/* 800B91D4 000B6114 7C 63 02 14 */ add r3, r3, r0
/* 800B91D8 000B6118 80 A3 06 08 */ lwz r5, 0x608(r3)
.L_800B91DC:
/* 800B91DC 000B611C 7C BD 2B 78 */ mr r29, r5
.L_800B91E0:
/* 800B91E0 000B6120 28 1D 00 00 */ cmplwi r29, 0
/* 800B91E4 000B6124 41 82 01 F4 */ beq .L_800B93D8
/* 800B91E8 000B6128 1F DA 00 48 */ mulli r30, r26, 0x48
/* 800B91EC 000B612C 80 19 00 4C */ lwz r0, 0x4c(r25)
/* 800B91F0 000B6130 3C 60 80 0C */ lis r3, setSePortParameter__Q27JAInter15SystemInterfaceFP11JASPortArgs@ha
/* 800B91F4 000B6134 7C A0 F2 14 */ add r5, r0, r30
/* 800B91F8 000B6138 38 83 93 EC */ addi r4, r3, setSePortParameter__Q27JAInter15SystemInterfaceFP11JASPortArgs@l
/* 800B91FC 000B613C 93 A5 00 00 */ stw r29, 0(r5)
/* 800B9200 000B6140 3B 85 00 04 */ addi r28, r5, 4
/* 800B9204 000B6144 38 7E 00 30 */ addi r3, r30, 0x30
/* 800B9208 000B6148 93 E5 00 04 */ stw r31, 4(r5)
/* 800B920C 000B614C 7F 85 E3 78 */ mr r5, r28
/* 800B9210 000B6150 80 D9 00 48 */ lwz r6, 0x48(r25)
/* 800B9214 000B6154 80 06 00 20 */ lwz r0, 0x20(r6)
/* 800B9218 000B6158 54 00 05 28 */ rlwinm r0, r0, 0, 0x14, 0x14
/* 800B921C 000B615C 7F 40 03 78 */ or r0, r26, r0
/* 800B9220 000B6160 90 1C 00 04 */ stw r0, 4(r28)
/* 800B9224 000B6164 80 19 00 4C */ lwz r0, 0x4c(r25)
/* 800B9228 000B6168 7C 60 1A 14 */ add r3, r0, r3
/* 800B922C 000B616C 4B FE D5 55 */ bl setPortCmd__10JASPortCmdFPFP11JASPortArgs_vP11JASPortArgs
/* 800B9230 000B6170 83 FD 03 3C */ lwz r31, 0x33c(r29)
/* 800B9234 000B6174 4B FF 48 79 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B9238 000B6178 7C 1A 18 40 */ cmplw r26, r3
/* 800B923C 000B617C 40 82 00 4C */ bne .L_800B9288
/* 800B9240 000B6180 C0 19 00 0C */ lfs f0, 0xc(r25)
/* 800B9244 000B6184 38 00 00 FF */ li r0, 0xff
/* 800B9248 000B6188 7F E3 FB 78 */ mr r3, r31
/* 800B924C 000B618C 38 80 00 40 */ li r4, 0x40
/* 800B9250 000B6190 D0 1C 00 0C */ stfs f0, 0xc(r28)
/* 800B9254 000B6194 C0 19 00 10 */ lfs f0, 0x10(r25)
/* 800B9258 000B6198 D0 1C 00 10 */ stfs f0, 0x10(r28)
/* 800B925C 000B619C C0 19 00 14 */ lfs f0, 0x14(r25)
/* 800B9260 000B61A0 D0 1C 00 18 */ stfs f0, 0x18(r28)
/* 800B9264 000B61A4 C0 19 00 18 */ lfs f0, 0x18(r25)
/* 800B9268 000B61A8 D0 1C 00 14 */ stfs f0, 0x14(r28)
/* 800B926C 000B61AC C0 19 00 1C */ lfs f0, 0x1c(r25)
/* 800B9270 000B61B0 D0 1C 00 1C */ stfs f0, 0x1c(r28)
/* 800B9274 000B61B4 C0 19 00 20 */ lfs f0, 0x20(r25)
/* 800B9278 000B61B8 D0 1C 00 28 */ stfs f0, 0x28(r28)
/* 800B927C 000B61BC 90 1C 00 08 */ stw r0, 8(r28)
/* 800B9280 000B61C0 4B FE 32 BD */ bl onSwitch__13JASOuterParamFUs
/* 800B9284 000B61C4 48 00 00 8C */ b .L_800B9310
.L_800B9288:
/* 800B9288 000B61C8 80 D9 00 48 */ lwz r6, 0x48(r25)
/* 800B928C 000B61CC 57 47 20 36 */ slwi r7, r26, 4
/* 800B9290 000B61D0 38 80 00 00 */ li r4, 0
/* 800B9294 000B61D4 38 00 00 7F */ li r0, 0x7f
/* 800B9298 000B61D8 80 A6 02 A8 */ lwz r5, 0x2a8(r6)
/* 800B929C 000B61DC 7F A3 EB 78 */ mr r3, r29
/* 800B92A0 000B61E0 7C A5 3A 14 */ add r5, r5, r7
/* 800B92A4 000B61E4 C0 05 00 04 */ lfs f0, 4(r5)
/* 800B92A8 000B61E8 D0 1C 00 0C */ stfs f0, 0xc(r28)
/* 800B92AC 000B61EC 80 A6 02 B0 */ lwz r5, 0x2b0(r6)
/* 800B92B0 000B61F0 7C A5 3A 14 */ add r5, r5, r7
/* 800B92B4 000B61F4 C0 05 00 04 */ lfs f0, 4(r5)
/* 800B92B8 000B61F8 D0 1C 00 10 */ stfs f0, 0x10(r28)
/* 800B92BC 000B61FC 80 A6 02 B4 */ lwz r5, 0x2b4(r6)
/* 800B92C0 000B6200 7C A5 3A 14 */ add r5, r5, r7
/* 800B92C4 000B6204 C0 05 00 04 */ lfs f0, 4(r5)
/* 800B92C8 000B6208 D0 1C 00 18 */ stfs f0, 0x18(r28)
/* 800B92CC 000B620C 80 A6 02 AC */ lwz r5, 0x2ac(r6)
/* 800B92D0 000B6210 7C A5 3A 14 */ add r5, r5, r7
/* 800B92D4 000B6214 C0 05 00 04 */ lfs f0, 4(r5)
/* 800B92D8 000B6218 D0 1C 00 14 */ stfs f0, 0x14(r28)
/* 800B92DC 000B621C 80 A6 02 B8 */ lwz r5, 0x2b8(r6)
/* 800B92E0 000B6220 7C A5 3A 14 */ add r5, r5, r7
/* 800B92E4 000B6224 C0 05 00 04 */ lfs f0, 4(r5)
/* 800B92E8 000B6228 D0 1C 00 1C */ stfs f0, 0x1c(r28)
/* 800B92EC 000B622C 90 9C 00 24 */ stw r4, 0x24(r28)
/* 800B92F0 000B6230 90 1C 00 08 */ stw r0, 8(r28)
/* 800B92F4 000B6234 80 86 03 04 */ lwz r4, 0x304(r6)
/* 800B92F8 000B6238 7C 04 D0 AE */ lbzx r0, r4, r26
/* 800B92FC 000B623C 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f
/* 800B9300 000B6240 7C 04 00 D0 */ neg r0, r4
/* 800B9304 000B6244 7C 00 23 78 */ or r0, r0, r4
/* 800B9308 000B6248 54 04 0F FE */ srwi r4, r0, 0x1f
/* 800B930C 000B624C 4B FE 7F D9 */ bl muteTrack__8JASTrackFb
.L_800B9310:
/* 800B9310 000B6250 7F E3 FB 78 */ mr r3, r31
/* 800B9314 000B6254 38 80 00 01 */ li r4, 1
/* 800B9318 000B6258 4B FE 32 25 */ bl onSwitch__13JASOuterParamFUs
/* 800B931C 000B625C 7F E3 FB 78 */ mr r3, r31
/* 800B9320 000B6260 38 80 00 02 */ li r4, 2
/* 800B9324 000B6264 4B FE 32 19 */ bl onSwitch__13JASOuterParamFUs
/* 800B9328 000B6268 7F E3 FB 78 */ mr r3, r31
/* 800B932C 000B626C 38 80 00 04 */ li r4, 4
/* 800B9330 000B6270 4B FE 32 0D */ bl onSwitch__13JASOuterParamFUs
/* 800B9334 000B6274 7F E3 FB 78 */ mr r3, r31
/* 800B9338 000B6278 38 80 00 08 */ li r4, 8
/* 800B933C 000B627C 4B FE 32 01 */ bl onSwitch__13JASOuterParamFUs
/* 800B9340 000B6280 7F E3 FB 78 */ mr r3, r31
/* 800B9344 000B6284 38 80 00 10 */ li r4, 0x10
/* 800B9348 000B6288 4B FE 31 F5 */ bl onSwitch__13JASOuterParamFUs
/* 800B934C 000B628C 57 60 07 FF */ clrlwi. r0, r27, 0x1f
/* 800B9350 000B6290 57 7A 04 3E */ clrlwi r26, r27, 0x10
/* 800B9354 000B6294 40 82 00 14 */ bne .L_800B9368
/* 800B9358 000B6298 C0 22 8C F0 */ lfs f1, lbl_80517050@sda21(r2)
/* 800B935C 000B629C 7F E3 FB 78 */ mr r3, r31
/* 800B9360 000B62A0 38 80 00 01 */ li r4, 1
/* 800B9364 000B62A4 4B FE 31 3D */ bl setParam__13JASOuterParamFUcf
.L_800B9368:
/* 800B9368 000B62A8 57 40 07 BD */ rlwinm. r0, r26, 0, 0x1e, 0x1e
/* 800B936C 000B62AC 40 82 00 14 */ bne .L_800B9380
/* 800B9370 000B62B0 C0 22 8C F0 */ lfs f1, lbl_80517050@sda21(r2)
/* 800B9374 000B62B4 7F E3 FB 78 */ mr r3, r31
/* 800B9378 000B62B8 38 80 00 02 */ li r4, 2
/* 800B937C 000B62BC 4B FE 31 25 */ bl setParam__13JASOuterParamFUcf
.L_800B9380:
/* 800B9380 000B62C0 57 40 07 7B */ rlwinm. r0, r26, 0, 0x1d, 0x1d
/* 800B9384 000B62C4 40 82 00 14 */ bne .L_800B9398
/* 800B9388 000B62C8 C0 22 8C F0 */ lfs f1, lbl_80517050@sda21(r2)
/* 800B938C 000B62CC 7F E3 FB 78 */ mr r3, r31
/* 800B9390 000B62D0 38 80 00 04 */ li r4, 4
/* 800B9394 000B62D4 4B FE 31 0D */ bl setParam__13JASOuterParamFUcf
.L_800B9398:
/* 800B9398 000B62D8 57 40 07 39 */ rlwinm. r0, r26, 0, 0x1c, 0x1c
/* 800B939C 000B62DC 40 82 00 14 */ bne .L_800B93B0
/* 800B93A0 000B62E0 C0 22 8C F0 */ lfs f1, lbl_80517050@sda21(r2)
/* 800B93A4 000B62E4 7F E3 FB 78 */ mr r3, r31
/* 800B93A8 000B62E8 38 80 00 08 */ li r4, 8
/* 800B93AC 000B62EC 4B FE 30 F5 */ bl setParam__13JASOuterParamFUcf
.L_800B93B0:
/* 800B93B0 000B62F0 57 40 06 F7 */ rlwinm. r0, r26, 0, 0x1b, 0x1b
/* 800B93B4 000B62F4 40 82 00 14 */ bne .L_800B93C8
/* 800B93B8 000B62F8 C0 22 8C F0 */ lfs f1, lbl_80517050@sda21(r2)
/* 800B93BC 000B62FC 7F E3 FB 78 */ mr r3, r31
/* 800B93C0 000B6300 38 80 00 10 */ li r4, 0x10
/* 800B93C4 000B6304 4B FE 30 DD */ bl setParam__13JASOuterParamFUcf
.L_800B93C8:
/* 800B93C8 000B6308 80 19 00 4C */ lwz r0, 0x4c(r25)
/* 800B93CC 000B630C 38 7E 00 30 */ addi r3, r30, 0x30
/* 800B93D0 000B6310 7C 60 1A 14 */ add r3, r0, r3
/* 800B93D4 000B6314 4B FE D3 51 */ bl addPortCmdOnce__10JASPortCmdFv
.L_800B93D8:
/* 800B93D8 000B6318 BB 21 00 14 */ lmw r25, 0x14(r1)
/* 800B93DC 000B631C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B93E0 000B6320 7C 08 03 A6 */ mtlr r0
/* 800B93E4 000B6324 38 21 00 30 */ addi r1, r1, 0x30
/* 800B93E8 000B6328 4E 80 00 20 */ blr
.global setSePortParameter__Q27JAInter15SystemInterfaceFP11JASPortArgs
setSePortParameter__Q27JAInter15SystemInterfaceFP11JASPortArgs:
/* 800B93EC 000B632C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B93F0 000B6330 7C 08 02 A6 */ mflr r0
/* 800B93F4 000B6334 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B93F8 000B6338 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B93FC 000B633C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B9400 000B6340 7C 7E 1B 78 */ mr r30, r3
/* 800B9404 000B6344 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B9408 000B6348 93 81 00 10 */ stw r28, 0x10(r1)
/* 800B940C 000B634C 83 A3 00 04 */ lwz r29, 4(r3)
/* 800B9410 000B6350 83 E3 00 00 */ lwz r31, 0(r3)
/* 800B9414 000B6354 57 BC 05 28 */ rlwinm r28, r29, 0, 0x14, 0x14
/* 800B9418 000B6358 4B FF 46 95 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B941C 000B635C 57 A4 06 3E */ clrlwi r4, r29, 0x18
/* 800B9420 000B6360 7C 04 18 40 */ cmplw r4, r3
/* 800B9424 000B6364 41 82 00 48 */ beq .L_800B946C
/* 800B9428 000B6368 28 1C 00 00 */ cmplwi r28, 0
/* 800B942C 000B636C 38 A0 00 00 */ li r5, 0
/* 800B9430 000B6370 41 82 00 2C */ beq .L_800B945C
/* 800B9434 000B6374 7C 80 26 70 */ srawi r0, r4, 4
/* 800B9438 000B6378 54 00 10 3A */ slwi r0, r0, 2
/* 800B943C 000B637C 7C 7F 02 14 */ add r3, r31, r0
/* 800B9440 000B6380 80 63 02 FC */ lwz r3, 0x2fc(r3)
/* 800B9444 000B6384 28 03 00 00 */ cmplwi r3, 0
/* 800B9448 000B6388 41 82 00 20 */ beq .L_800B9468
/* 800B944C 000B638C 54 80 16 BA */ rlwinm r0, r4, 2, 0x1a, 0x1d
/* 800B9450 000B6390 7C 63 02 14 */ add r3, r3, r0
/* 800B9454 000B6394 80 A3 02 FC */ lwz r5, 0x2fc(r3)
/* 800B9458 000B6398 48 00 00 10 */ b .L_800B9468
.L_800B945C:
/* 800B945C 000B639C 54 80 16 BA */ rlwinm r0, r4, 2, 0x1a, 0x1d
/* 800B9460 000B63A0 7C 7F 02 14 */ add r3, r31, r0
/* 800B9464 000B63A4 80 A3 02 FC */ lwz r5, 0x2fc(r3)
.L_800B9468:
/* 800B9468 000B63A8 7C BF 2B 78 */ mr r31, r5
.L_800B946C:
/* 800B946C 000B63AC 28 1F 00 00 */ cmplwi r31, 0
/* 800B9470 000B63B0 41 82 01 18 */ beq .L_800B9588
/* 800B9474 000B63B4 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B9478 000B63B8 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 800B947C 000B63BC 41 82 00 20 */ beq .L_800B949C
/* 800B9480 000B63C0 80 7F 03 3C */ lwz r3, 0x33c(r31)
/* 800B9484 000B63C4 38 80 00 01 */ li r4, 1
/* 800B9488 000B63C8 C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 800B948C 000B63CC 4B FE 30 15 */ bl setParam__13JASOuterParamFUcf
/* 800B9490 000B63D0 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B9494 000B63D4 68 00 00 01 */ xori r0, r0, 1
/* 800B9498 000B63D8 90 1E 00 08 */ stw r0, 8(r30)
.L_800B949C:
/* 800B949C 000B63DC 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B94A0 000B63E0 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e
/* 800B94A4 000B63E4 41 82 00 20 */ beq .L_800B94C4
/* 800B94A8 000B63E8 80 7F 03 3C */ lwz r3, 0x33c(r31)
/* 800B94AC 000B63EC 38 80 00 02 */ li r4, 2
/* 800B94B0 000B63F0 C0 3E 00 10 */ lfs f1, 0x10(r30)
/* 800B94B4 000B63F4 4B FE 2F ED */ bl setParam__13JASOuterParamFUcf
/* 800B94B8 000B63F8 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B94BC 000B63FC 68 00 00 02 */ xori r0, r0, 2
/* 800B94C0 000B6400 90 1E 00 08 */ stw r0, 8(r30)
.L_800B94C4:
/* 800B94C4 000B6404 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B94C8 000B6408 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d
/* 800B94CC 000B640C 41 82 00 20 */ beq .L_800B94EC
/* 800B94D0 000B6410 80 7F 03 3C */ lwz r3, 0x33c(r31)
/* 800B94D4 000B6414 38 80 00 08 */ li r4, 8
/* 800B94D8 000B6418 C0 3E 00 14 */ lfs f1, 0x14(r30)
/* 800B94DC 000B641C 4B FE 2F C5 */ bl setParam__13JASOuterParamFUcf
/* 800B94E0 000B6420 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B94E4 000B6424 68 00 00 04 */ xori r0, r0, 4
/* 800B94E8 000B6428 90 1E 00 08 */ stw r0, 8(r30)
.L_800B94EC:
/* 800B94EC 000B642C 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B94F0 000B6430 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c
/* 800B94F4 000B6434 41 82 00 20 */ beq .L_800B9514
/* 800B94F8 000B6438 80 7F 03 3C */ lwz r3, 0x33c(r31)
/* 800B94FC 000B643C 38 80 00 04 */ li r4, 4
/* 800B9500 000B6440 C0 3E 00 18 */ lfs f1, 0x18(r30)
/* 800B9504 000B6444 4B FE 2F 9D */ bl setParam__13JASOuterParamFUcf
/* 800B9508 000B6448 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B950C 000B644C 68 00 00 08 */ xori r0, r0, 8
/* 800B9510 000B6450 90 1E 00 08 */ stw r0, 8(r30)
.L_800B9514:
/* 800B9514 000B6454 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B9518 000B6458 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18
/* 800B951C 000B645C 41 82 00 20 */ beq .L_800B953C
/* 800B9520 000B6460 80 7F 03 3C */ lwz r3, 0x33c(r31)
/* 800B9524 000B6464 38 80 00 40 */ li r4, 0x40
/* 800B9528 000B6468 C0 3E 00 28 */ lfs f1, 0x28(r30)
/* 800B952C 000B646C 4B FE 2F 75 */ bl setParam__13JASOuterParamFUcf
/* 800B9530 000B6470 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B9534 000B6474 68 00 00 80 */ xori r0, r0, 0x80
/* 800B9538 000B6478 90 1E 00 08 */ stw r0, 8(r30)
.L_800B953C:
/* 800B953C 000B647C 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B9540 000B6480 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b
/* 800B9544 000B6484 41 82 00 20 */ beq .L_800B9564
/* 800B9548 000B6488 80 7F 03 3C */ lwz r3, 0x33c(r31)
/* 800B954C 000B648C 38 80 00 10 */ li r4, 0x10
/* 800B9550 000B6490 C0 3E 00 1C */ lfs f1, 0x1c(r30)
/* 800B9554 000B6494 4B FE 2F 4D */ bl setParam__13JASOuterParamFUcf
/* 800B9558 000B6498 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B955C 000B649C 68 00 00 10 */ xori r0, r0, 0x10
/* 800B9560 000B64A0 90 1E 00 08 */ stw r0, 8(r30)
.L_800B9564:
/* 800B9564 000B64A4 80 1E 00 08 */ lwz r0, 8(r30)
/* 800B9568 000B64A8 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19
/* 800B956C 000B64AC 41 82 00 1C */ beq .L_800B9588
/* 800B9570 000B64B0 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 800B9574 000B64B4 28 00 00 00 */ cmplwi r0, 0
/* 800B9578 000B64B8 41 82 00 10 */ beq .L_800B9588
/* 800B957C 000B64BC 7F E3 FB 78 */ mr r3, r31
/* 800B9580 000B64C0 38 80 00 05 */ li r4, 5
/* 800B9584 000B64C4 4B FE 60 C5 */ bl setInterrupt__8JASTrackFUs
.L_800B9588:
/* 800B9588 000B64C8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B958C 000B64CC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B9590 000B64D0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B9594 000B64D4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B9598 000B64D8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800B959C 000B64DC 7C 08 03 A6 */ mtlr r0
/* 800B95A0 000B64E0 38 21 00 20 */ addi r1, r1, 0x20
/* 800B95A4 000B64E4 4E 80 00 20 */ blr
fn local __sinit_JAISystemInterface_cpp
/* 800B95A8 000B64E8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B95AC 000B64EC 7C 08 02 A6 */ mflr r0
/* 800B95B0 000B64F0 3C 60 80 51 */ lis r3, systemPortCmd__Q27JAInter15SystemInterface@ha
/* 800B95B4 000B64F4 38 63 22 74 */ addi r3, r3, systemPortCmd__Q27JAInter15SystemInterface@l
/* 800B95B8 000B64F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B95BC 000B64FC 7C 64 1B 78 */ mr r4, r3
/* 800B95C0 000B6500 4B F6 D1 F9 */ bl __ct__10JSUPtrLinkFPv
/* 800B95C4 000B6504 3C 60 80 51 */ lis r3, systemPortCmd__Q27JAInter15SystemInterface@ha
/* 800B95C8 000B6508 3C 80 80 0B */ lis r4, __dt__10JASPortCmdFv@ha
/* 800B95CC 000B650C 38 63 22 74 */ addi r3, r3, systemPortCmd__Q27JAInter15SystemInterface@l
/* 800B95D0 000B6510 38 00 00 00 */ li r0, 0
/* 800B95D4 000B6514 3C A0 80 4F */ lis r5, lbl_804F2870@ha
/* 800B95D8 000B6518 90 03 00 10 */ stw r0, 0x10(r3)
/* 800B95DC 000B651C 38 84 0F D0 */ addi r4, r4, __dt__10JASPortCmdFv@l
/* 800B95E0 000B6520 90 03 00 14 */ stw r0, 0x14(r3)
/* 800B95E4 000B6524 38 A5 28 70 */ addi r5, r5, lbl_804F2870@l
/* 800B95E8 000B6528 48 00 81 19 */ bl __register_global_object
/* 800B95EC 000B652C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B95F0 000B6530 7C 08 03 A6 */ mtlr r0
/* 800B95F4 000B6534 38 21 00 10 */ addi r1, r1, 0x10
/* 800B95F8 000B6538 4E 80 00 20 */ blr
end __sinit_JAISystemInterface_cpp