mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-12-11 07:24:00 +00:00
75c3292df0
linkmap goes faster now
2053 lines
102 KiB
ArmAsm
2053 lines
102 KiB
ArmAsm
.include "macros.inc"
|
|
.section .rodata # 0x804732E0 - 0x8049E220
|
|
.balign 8
|
|
.global lbl_80486D20
|
|
lbl_80486D20:
|
|
.4byte 0x3234362D
|
|
.4byte 0x456C6563
|
|
.4byte 0x42756753
|
|
.4byte 0x74617465
|
|
.4byte 0x00000000
|
|
.4byte 0x64697363
|
|
.4byte 0x68617267
|
|
.4byte 0x65000000
|
|
.4byte 0x6368696C
|
|
.4byte 0x64636861
|
|
.4byte 0x72676500
|
|
.4byte 0x6368696C
|
|
.4byte 0x64646973
|
|
.4byte 0x63686172
|
|
.4byte 0x67650000
|
|
.4byte 0x00000000
|
|
|
|
.section .data, "wa" # 0x8049E220 - 0x804EFC20
|
|
.balign 8
|
|
.global __vt__Q34Game7ElecBug11StateReturn
|
|
__vt__Q34Game7ElecBug11StateReturn:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug12StateReverse
|
|
__vt__Q34Game7ElecBug12StateReverse:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug19StateChildDischarge
|
|
__vt__Q34Game7ElecBug19StateChildDischarge:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug16StateChildCharge
|
|
__vt__Q34Game7ElecBug16StateChildCharge:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug14StateDischarge
|
|
__vt__Q34Game7ElecBug14StateDischarge:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global "__vt__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>"
|
|
"__vt__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>":
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte "first__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv"
|
|
.4byte "next__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv"
|
|
.4byte "isDone__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv"
|
|
.4byte "__ml__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv"
|
|
.global __vt__Q34Game7ElecBug11StateCharge
|
|
__vt__Q34Game7ElecBug11StateCharge:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug9StateMove
|
|
__vt__Q34Game7ElecBug9StateMove:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug9StateTurn
|
|
__vt__Q34Game7ElecBug9StateTurn:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug9StateWait
|
|
__vt__Q34Game7ElecBug9StateWait:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug9StateDead
|
|
__vt__Q34Game7ElecBug9StateDead:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug5State
|
|
__vt__Q34Game7ElecBug5State:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q24Game13EnemyFSMStateFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
.4byte exec__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte cleanup__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
|
|
.global __vt__Q34Game7ElecBug3FSM
|
|
__vt__Q34Game7ElecBug3FSM:
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte init__Q34Game7ElecBug3FSMFPQ24Game9EnemyBase
|
|
.4byte start__Q24Game17EnemyStateMachineFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte exec__Q24Game17EnemyStateMachineFPQ24Game9EnemyBase
|
|
.4byte transit__Q24Game17EnemyStateMachineFPQ24Game9EnemyBaseiPQ24Game8StateArg
|
|
.4byte doDirectDraw__Q24Game17EnemyStateMachineFPQ24Game9EnemyBaseR8Graphics
|
|
.4byte getCurrState__Q24Game17EnemyStateMachineFPQ24Game9EnemyBase
|
|
.4byte setCurrState__Q24Game17EnemyStateMachineFPQ24Game9EnemyBasePQ24Game13EnemyFSMState
|
|
|
|
.section .sdata2, "a" # 0x80516360 - 0x80520E40
|
|
.balign 8
|
|
.global lbl_8051B450
|
|
lbl_8051B450:
|
|
.4byte 0x64656164
|
|
.4byte 0x00000000
|
|
.global lbl_8051B458
|
|
lbl_8051B458:
|
|
.4byte 0x77616974
|
|
.4byte 0x00000000
|
|
.global lbl_8051B460
|
|
lbl_8051B460:
|
|
.4byte 0x7475726E
|
|
.4byte 0x00000000
|
|
.global lbl_8051B468
|
|
lbl_8051B468:
|
|
.4byte 0x6D6F7665
|
|
.4byte 0x00000000
|
|
.global lbl_8051B470
|
|
lbl_8051B470:
|
|
.4byte 0x63686172
|
|
.4byte 0x67650000
|
|
.global lbl_8051B478
|
|
lbl_8051B478:
|
|
.4byte 0x72657665
|
|
.4byte 0x72736500
|
|
.global lbl_8051B480
|
|
lbl_8051B480:
|
|
.4byte 0x72657475
|
|
.4byte 0x726E0000
|
|
.global lbl_8051B488
|
|
lbl_8051B488:
|
|
.4byte 0x00000000
|
|
.global lbl_8051B48C
|
|
lbl_8051B48C:
|
|
.4byte 0x40490FDB
|
|
.global lbl_8051B490
|
|
lbl_8051B490:
|
|
.4byte 0x3BB60B61
|
|
.global lbl_8051B494
|
|
lbl_8051B494:
|
|
.4byte 0x3F060A92
|
|
.global lbl_8051B498
|
|
lbl_8051B498:
|
|
.4byte 0x41700000
|
|
.global lbl_8051B49C
|
|
lbl_8051B49C:
|
|
.4byte 0x441C4000
|
|
.global lbl_8051B4A0
|
|
lbl_8051B4A0:
|
|
.4byte 0x40000000
|
|
.global lbl_8051B4A4
|
|
lbl_8051B4A4:
|
|
.4byte 0x43960000
|
|
.global lbl_8051B4A8
|
|
lbl_8051B4A8:
|
|
.4byte 0x47000000
|
|
.global lbl_8051B4AC
|
|
lbl_8051B4AC:
|
|
.float 0.15
|
|
.global lbl_8051B4B0
|
|
lbl_8051B4B0:
|
|
.4byte 0x40400000
|
|
.4byte 0x00000000
|
|
.global lbl_8051B4B8
|
|
lbl_8051B4B8:
|
|
.4byte 0x43300000
|
|
.4byte 0x80000000
|
|
.global lbl_8051B4C0
|
|
lbl_8051B4C0:
|
|
.4byte 0x41200000
|
|
.global lbl_8051B4C4
|
|
lbl_8051B4C4:
|
|
.float 1.0
|
|
|
|
.section .text, "ax" # 0x800056C0 - 0x80472F00
|
|
.global init__Q34Game7ElecBug3FSMFPQ24Game9EnemyBase
|
|
init__Q34Game7ElecBug3FSMFPQ24Game9EnemyBase:
|
|
/* 80278E90 00275DD0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80278E94 00275DD4 7C 08 02 A6 */ mflr r0
|
|
/* 80278E98 00275DD8 3C 80 80 48 */ lis r4, lbl_80486D20@ha
|
|
/* 80278E9C 00275DDC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80278EA0 00275DE0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80278EA4 00275DE4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80278EA8 00275DE8 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80278EAC 00275DEC 3B C4 6D 20 */ addi r30, r4, lbl_80486D20@l
|
|
/* 80278EB0 00275DF0 38 80 00 0A */ li r4, 0xa
|
|
/* 80278EB4 00275DF4 4B EB 79 B1 */ bl create__Q24Game17EnemyStateMachineFi
|
|
/* 80278EB8 00275DF8 38 60 00 10 */ li r3, 0x10
|
|
/* 80278EBC 00275DFC 4B DA AF E9 */ bl __nw__FUl
|
|
/* 80278EC0 00275E00 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 80278EC4 00275E04 41 82 00 3C */ beq .L_80278F00
|
|
/* 80278EC8 00275E08 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 80278ECC 00275E0C 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 80278ED0 00275E10 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 80278ED4 00275E14 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug9StateDead@ha
|
|
/* 80278ED8 00275E18 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 80278EDC 00275E1C 38 E0 00 00 */ li r7, 0
|
|
/* 80278EE0 00275E20 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 80278EE4 00275E24 38 A2 D0 F0 */ addi r5, r2, lbl_8051B450@sda21
|
|
/* 80278EE8 00275E28 90 E4 00 04 */ stw r7, 4(r4)
|
|
/* 80278EEC 00275E2C 38 03 79 94 */ addi r0, r3, __vt__Q34Game7ElecBug9StateDead@l
|
|
/* 80278EF0 00275E30 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 80278EF4 00275E34 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 80278EF8 00275E38 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 80278EFC 00275E3C 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_80278F00:
|
|
/* 80278F00 00275E40 7F E3 FB 78 */ mr r3, r31
|
|
/* 80278F04 00275E44 4B EB 7A 05 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 80278F08 00275E48 38 60 00 10 */ li r3, 0x10
|
|
/* 80278F0C 00275E4C 4B DA AF 99 */ bl __nw__FUl
|
|
/* 80278F10 00275E50 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 80278F14 00275E54 41 82 00 40 */ beq .L_80278F54
|
|
/* 80278F18 00275E58 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 80278F1C 00275E5C 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 80278F20 00275E60 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 80278F24 00275E64 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug9StateWait@ha
|
|
/* 80278F28 00275E68 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 80278F2C 00275E6C 38 00 00 01 */ li r0, 1
|
|
/* 80278F30 00275E70 38 E0 00 00 */ li r7, 0
|
|
/* 80278F34 00275E74 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 80278F38 00275E78 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 80278F3C 00275E7C 38 A2 D0 F8 */ addi r5, r2, lbl_8051B458@sda21
|
|
/* 80278F40 00275E80 38 03 79 70 */ addi r0, r3, __vt__Q34Game7ElecBug9StateWait@l
|
|
/* 80278F44 00275E84 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 80278F48 00275E88 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 80278F4C 00275E8C 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 80278F50 00275E90 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_80278F54:
|
|
/* 80278F54 00275E94 7F E3 FB 78 */ mr r3, r31
|
|
/* 80278F58 00275E98 4B EB 79 B1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 80278F5C 00275E9C 38 60 00 10 */ li r3, 0x10
|
|
/* 80278F60 00275EA0 4B DA AF 45 */ bl __nw__FUl
|
|
/* 80278F64 00275EA4 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 80278F68 00275EA8 41 82 00 40 */ beq .L_80278FA8
|
|
/* 80278F6C 00275EAC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 80278F70 00275EB0 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 80278F74 00275EB4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 80278F78 00275EB8 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug9StateTurn@ha
|
|
/* 80278F7C 00275EBC 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 80278F80 00275EC0 38 00 00 02 */ li r0, 2
|
|
/* 80278F84 00275EC4 38 E0 00 00 */ li r7, 0
|
|
/* 80278F88 00275EC8 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 80278F8C 00275ECC 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 80278F90 00275ED0 38 A2 D1 00 */ addi r5, r2, lbl_8051B460@sda21
|
|
/* 80278F94 00275ED4 38 03 79 4C */ addi r0, r3, __vt__Q34Game7ElecBug9StateTurn@l
|
|
/* 80278F98 00275ED8 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 80278F9C 00275EDC 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 80278FA0 00275EE0 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 80278FA4 00275EE4 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_80278FA8:
|
|
/* 80278FA8 00275EE8 7F E3 FB 78 */ mr r3, r31
|
|
/* 80278FAC 00275EEC 4B EB 79 5D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 80278FB0 00275EF0 38 60 00 10 */ li r3, 0x10
|
|
/* 80278FB4 00275EF4 4B DA AE F1 */ bl __nw__FUl
|
|
/* 80278FB8 00275EF8 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 80278FBC 00275EFC 41 82 00 40 */ beq .L_80278FFC
|
|
/* 80278FC0 00275F00 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 80278FC4 00275F04 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 80278FC8 00275F08 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 80278FCC 00275F0C 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug9StateMove@ha
|
|
/* 80278FD0 00275F10 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 80278FD4 00275F14 38 00 00 03 */ li r0, 3
|
|
/* 80278FD8 00275F18 38 E0 00 00 */ li r7, 0
|
|
/* 80278FDC 00275F1C 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 80278FE0 00275F20 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 80278FE4 00275F24 38 A2 D1 08 */ addi r5, r2, lbl_8051B468@sda21
|
|
/* 80278FE8 00275F28 38 03 79 28 */ addi r0, r3, __vt__Q34Game7ElecBug9StateMove@l
|
|
/* 80278FEC 00275F2C 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 80278FF0 00275F30 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 80278FF4 00275F34 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 80278FF8 00275F38 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_80278FFC:
|
|
/* 80278FFC 00275F3C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279000 00275F40 4B EB 79 09 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 80279004 00275F44 38 60 00 10 */ li r3, 0x10
|
|
/* 80279008 00275F48 4B DA AE 9D */ bl __nw__FUl
|
|
/* 8027900C 00275F4C 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 80279010 00275F50 41 82 00 40 */ beq .L_80279050
|
|
/* 80279014 00275F54 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 80279018 00275F58 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 8027901C 00275F5C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 80279020 00275F60 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug11StateCharge@ha
|
|
/* 80279024 00275F64 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 80279028 00275F68 38 00 00 04 */ li r0, 4
|
|
/* 8027902C 00275F6C 38 E0 00 00 */ li r7, 0
|
|
/* 80279030 00275F70 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 80279034 00275F74 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 80279038 00275F78 38 A2 D1 10 */ addi r5, r2, lbl_8051B470@sda21
|
|
/* 8027903C 00275F7C 38 03 79 04 */ addi r0, r3, __vt__Q34Game7ElecBug11StateCharge@l
|
|
/* 80279040 00275F80 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 80279044 00275F84 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 80279048 00275F88 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 8027904C 00275F8C 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_80279050:
|
|
/* 80279050 00275F90 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279054 00275F94 4B EB 78 B5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 80279058 00275F98 38 60 00 10 */ li r3, 0x10
|
|
/* 8027905C 00275F9C 4B DA AE 49 */ bl __nw__FUl
|
|
/* 80279060 00275FA0 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 80279064 00275FA4 41 82 00 40 */ beq .L_802790A4
|
|
/* 80279068 00275FA8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 8027906C 00275FAC 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 80279070 00275FB0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 80279074 00275FB4 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug14StateDischarge@ha
|
|
/* 80279078 00275FB8 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 8027907C 00275FBC 38 00 00 05 */ li r0, 5
|
|
/* 80279080 00275FC0 38 E0 00 00 */ li r7, 0
|
|
/* 80279084 00275FC4 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 80279088 00275FC8 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 8027908C 00275FCC 38 BE 00 14 */ addi r5, r30, 0x14
|
|
/* 80279090 00275FD0 38 03 78 C8 */ addi r0, r3, __vt__Q34Game7ElecBug14StateDischarge@l
|
|
/* 80279094 00275FD4 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 80279098 00275FD8 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 8027909C 00275FDC 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 802790A0 00275FE0 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_802790A4:
|
|
/* 802790A4 00275FE4 7F E3 FB 78 */ mr r3, r31
|
|
/* 802790A8 00275FE8 4B EB 78 61 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 802790AC 00275FEC 38 60 00 10 */ li r3, 0x10
|
|
/* 802790B0 00275FF0 4B DA AD F5 */ bl __nw__FUl
|
|
/* 802790B4 00275FF4 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 802790B8 00275FF8 41 82 00 40 */ beq .L_802790F8
|
|
/* 802790BC 00275FFC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 802790C0 00276000 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 802790C4 00276004 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 802790C8 00276008 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug16StateChildCharge@ha
|
|
/* 802790CC 0027600C 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 802790D0 00276010 38 00 00 06 */ li r0, 6
|
|
/* 802790D4 00276014 38 E0 00 00 */ li r7, 0
|
|
/* 802790D8 00276018 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 802790DC 0027601C 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 802790E0 00276020 38 BE 00 20 */ addi r5, r30, 0x20
|
|
/* 802790E4 00276024 38 03 78 A4 */ addi r0, r3, __vt__Q34Game7ElecBug16StateChildCharge@l
|
|
/* 802790E8 00276028 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 802790EC 0027602C 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 802790F0 00276030 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 802790F4 00276034 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_802790F8:
|
|
/* 802790F8 00276038 7F E3 FB 78 */ mr r3, r31
|
|
/* 802790FC 0027603C 4B EB 78 0D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 80279100 00276040 38 60 00 10 */ li r3, 0x10
|
|
/* 80279104 00276044 4B DA AD A1 */ bl __nw__FUl
|
|
/* 80279108 00276048 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 8027910C 0027604C 41 82 00 40 */ beq .L_8027914C
|
|
/* 80279110 00276050 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 80279114 00276054 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 80279118 00276058 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 8027911C 0027605C 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug19StateChildDischarge@ha
|
|
/* 80279120 00276060 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 80279124 00276064 38 00 00 07 */ li r0, 7
|
|
/* 80279128 00276068 38 E0 00 00 */ li r7, 0
|
|
/* 8027912C 0027606C 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 80279130 00276070 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 80279134 00276074 38 BE 00 2C */ addi r5, r30, 0x2c
|
|
/* 80279138 00276078 38 03 78 80 */ addi r0, r3, __vt__Q34Game7ElecBug19StateChildDischarge@l
|
|
/* 8027913C 0027607C 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 80279140 00276080 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 80279144 00276084 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 80279148 00276088 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_8027914C:
|
|
/* 8027914C 0027608C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279150 00276090 4B EB 77 B9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 80279154 00276094 38 60 00 10 */ li r3, 0x10
|
|
/* 80279158 00276098 4B DA AD 4D */ bl __nw__FUl
|
|
/* 8027915C 0027609C 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 80279160 002760A0 41 82 00 40 */ beq .L_802791A0
|
|
/* 80279164 002760A4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 80279168 002760A8 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 8027916C 002760AC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 80279170 002760B0 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug12StateReverse@ha
|
|
/* 80279174 002760B4 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 80279178 002760B8 38 00 00 08 */ li r0, 8
|
|
/* 8027917C 002760BC 38 E0 00 00 */ li r7, 0
|
|
/* 80279180 002760C0 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 80279184 002760C4 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 80279188 002760C8 38 A2 D1 18 */ addi r5, r2, lbl_8051B478@sda21
|
|
/* 8027918C 002760CC 38 03 78 5C */ addi r0, r3, __vt__Q34Game7ElecBug12StateReverse@l
|
|
/* 80279190 002760D0 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 80279194 002760D4 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 80279198 002760D8 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 8027919C 002760DC 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_802791A0:
|
|
/* 802791A0 002760E0 7F E3 FB 78 */ mr r3, r31
|
|
/* 802791A4 002760E4 4B EB 77 65 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 802791A8 002760E8 38 60 00 10 */ li r3, 0x10
|
|
/* 802791AC 002760EC 4B DA AC F9 */ bl __nw__FUl
|
|
/* 802791B0 002760F0 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 802791B4 002760F4 41 82 00 40 */ beq .L_802791F4
|
|
/* 802791B8 002760F8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
|
|
/* 802791BC 002760FC 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha
|
|
/* 802791C0 00276100 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
|
|
/* 802791C4 00276104 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug11StateReturn@ha
|
|
/* 802791C8 00276108 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 802791CC 0027610C 38 00 00 09 */ li r0, 9
|
|
/* 802791D0 00276110 38 E0 00 00 */ li r7, 0
|
|
/* 802791D4 00276114 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l
|
|
/* 802791D8 00276118 90 04 00 04 */ stw r0, 4(r4)
|
|
/* 802791DC 0027611C 38 A2 D1 20 */ addi r5, r2, lbl_8051B480@sda21
|
|
/* 802791E0 00276120 38 03 78 38 */ addi r0, r3, __vt__Q34Game7ElecBug11StateReturn@l
|
|
/* 802791E4 00276124 90 E4 00 08 */ stw r7, 8(r4)
|
|
/* 802791E8 00276128 90 C4 00 00 */ stw r6, 0(r4)
|
|
/* 802791EC 0027612C 90 A4 00 0C */ stw r5, 0xc(r4)
|
|
/* 802791F0 00276130 90 04 00 00 */ stw r0, 0(r4)
|
|
.L_802791F4:
|
|
/* 802791F4 00276134 7F E3 FB 78 */ mr r3, r31
|
|
/* 802791F8 00276138 4B EB 77 11 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
|
|
/* 802791FC 0027613C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80279200 00276140 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80279204 00276144 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80279208 00276148 7C 08 03 A6 */ mtlr r0
|
|
/* 8027920C 0027614C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80279210 00276150 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 80279214 00276154 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80279218 00276158 7C 08 02 A6 */ mflr r0
|
|
/* 8027921C 0027615C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80279220 00276160 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80279224 00276164 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279228 00276168 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027922C 0027616C 4B E8 C4 F5 */ bl deathProcedure__Q24Game9EnemyBaseFv
|
|
/* 80279230 00276170 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
|
|
/* 80279234 00276174 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279238 00276178 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 8027923C 0027617C 38 80 00 00 */ li r4, 0
|
|
/* 80279240 00276180 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18
|
|
/* 80279244 00276184 38 A0 00 00 */ li r5, 0
|
|
/* 80279248 00276188 90 1F 01 E0 */ stw r0, 0x1e0(r31)
|
|
/* 8027924C 0027618C D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
|
|
/* 80279250 00276190 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
|
|
/* 80279254 00276194 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
|
|
/* 80279258 00276198 4B E8 BD AD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 8027925C 0027619C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80279260 002761A0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80279264 002761A4 7C 08 03 A6 */ mtlr r0
|
|
/* 80279268 002761A8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027926C 002761AC 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase:
|
|
/* 80279270 002761B0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80279274 002761B4 7C 08 02 A6 */ mflr r0
|
|
/* 80279278 002761B8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027927C 002761BC 80 64 01 88 */ lwz r3, 0x188(r4)
|
|
/* 80279280 002761C0 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 80279284 002761C4 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80279288 002761C8 41 82 00 1C */ beq .L_802792A4
|
|
/* 8027928C 002761CC 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80279290 002761D0 28 00 03 E8 */ cmplwi r0, 0x3e8
|
|
/* 80279294 002761D4 40 82 00 10 */ bne .L_802792A4
|
|
/* 80279298 002761D8 7C 83 23 78 */ mr r3, r4
|
|
/* 8027929C 002761DC 38 80 00 00 */ li r4, 0
|
|
/* 802792A0 002761E0 4B EC 1E 51 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg
|
|
.L_802792A4:
|
|
/* 802792A4 002761E4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802792A8 002761E8 7C 08 03 A6 */ mtlr r0
|
|
/* 802792AC 002761EC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802792B0 002761F0 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase:
|
|
/* 802792B4 002761F4 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 802792B8 002761F8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802792BC 002761FC 7C 08 02 A6 */ mflr r0
|
|
/* 802792C0 00276200 7C 83 23 78 */ mr r3, r4
|
|
/* 802792C4 00276204 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 802792C8 00276208 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802792CC 0027620C 38 80 00 02 */ li r4, 2
|
|
/* 802792D0 00276210 38 A0 00 00 */ li r5, 0
|
|
/* 802792D4 00276214 D0 03 02 C4 */ stfs f0, 0x2c4(r3)
|
|
/* 802792D8 00276218 80 03 01 E0 */ lwz r0, 0x1e0(r3)
|
|
/* 802792DC 0027621C 60 00 00 40 */ ori r0, r0, 0x40
|
|
/* 802792E0 00276220 90 03 01 E0 */ stw r0, 0x1e0(r3)
|
|
/* 802792E4 00276224 D0 03 01 D4 */ stfs f0, 0x1d4(r3)
|
|
/* 802792E8 00276228 D0 03 01 D8 */ stfs f0, 0x1d8(r3)
|
|
/* 802792EC 0027622C D0 03 01 DC */ stfs f0, 0x1dc(r3)
|
|
/* 802792F0 00276230 4B E8 BD 15 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 802792F4 00276234 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802792F8 00276238 7C 08 03 A6 */ mtlr r0
|
|
/* 802792FC 0027623C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80279300 00276240 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase:
|
|
/* 80279304 00276244 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80279308 00276248 7C 08 02 A6 */ mflr r0
|
|
/* 8027930C 0027624C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80279310 00276250 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80279314 00276254 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279318 00276258 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8027931C 0027625C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80279320 00276260 80 64 00 C0 */ lwz r3, 0xc0(r4)
|
|
/* 80279324 00276264 C0 24 02 C4 */ lfs f1, 0x2c4(r4)
|
|
/* 80279328 00276268 C0 03 08 44 */ lfs f0, 0x844(r3)
|
|
/* 8027932C 0027626C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279330 00276270 40 81 00 0C */ ble .L_8027933C
|
|
/* 80279334 00276274 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279338 00276278 4B E8 BF 69 */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_8027933C:
|
|
/* 8027933C 0027627C 80 7F 01 88 */ lwz r3, 0x188(r31)
|
|
/* 80279340 00276280 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 80279344 00276284 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80279348 00276288 41 82 00 30 */ beq .L_80279378
|
|
/* 8027934C 0027628C 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80279350 00276290 28 00 03 E8 */ cmplwi r0, 0x3e8
|
|
/* 80279354 00276294 40 82 00 24 */ bne .L_80279378
|
|
/* 80279358 00276298 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027935C 0027629C 7F E4 FB 78 */ mr r4, r31
|
|
/* 80279360 002762A0 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 80279364 002762A4 38 A0 00 02 */ li r5, 2
|
|
/* 80279368 002762A8 38 C0 00 00 */ li r6, 0
|
|
/* 8027936C 002762AC 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 80279370 002762B0 7D 89 03 A6 */ mtctr r12
|
|
/* 80279374 002762B4 4E 80 04 21 */ bctrl
|
|
.L_80279378:
|
|
/* 80279378 002762B8 80 6D 9A EC */ lwz r3, sys@sda21(r13)
|
|
/* 8027937C 002762BC C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 80279380 002762C0 C0 03 00 54 */ lfs f0, 0x54(r3)
|
|
/* 80279384 002762C4 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 80279388 002762C8 D0 1F 02 C4 */ stfs f0, 0x2c4(r31)
|
|
/* 8027938C 002762CC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80279390 002762D0 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80279394 002762D4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80279398 002762D8 7C 08 03 A6 */ mtlr r0
|
|
/* 8027939C 002762DC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802793A0 002762E0 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase:
|
|
/* 802793A4 002762E4 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 802793A8 002762E8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802793AC 002762EC 7C 08 02 A6 */ mflr r0
|
|
/* 802793B0 002762F0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802793B4 002762F4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802793B8 002762F8 7C 9F 23 78 */ mr r31, r4
|
|
/* 802793BC 002762FC 7F E3 FB 78 */ mr r3, r31
|
|
/* 802793C0 00276300 48 00 22 01 */ bl setTargetPosition__Q34Game7ElecBug3ObjFv
|
|
/* 802793C4 00276304 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
|
|
/* 802793C8 00276308 7F E3 FB 78 */ mr r3, r31
|
|
/* 802793CC 0027630C C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 802793D0 00276310 38 80 00 01 */ li r4, 1
|
|
/* 802793D4 00276314 60 00 00 40 */ ori r0, r0, 0x40
|
|
/* 802793D8 00276318 38 A0 00 00 */ li r5, 0
|
|
/* 802793DC 0027631C 90 1F 01 E0 */ stw r0, 0x1e0(r31)
|
|
/* 802793E0 00276320 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
|
|
/* 802793E4 00276324 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
|
|
/* 802793E8 00276328 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
|
|
/* 802793EC 0027632C 4B E8 BC 19 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 802793F0 00276330 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802793F4 00276334 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802793F8 00276338 7C 08 03 A6 */ mtlr r0
|
|
/* 802793FC 0027633C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80279400 00276340 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase:
|
|
/* 80279404 00276344 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
/* 80279408 00276348 7C 08 02 A6 */ mflr r0
|
|
/* 8027940C 0027634C 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 80279410 00276350 DB E1 00 60 */ stfd f31, 0x60(r1)
|
|
/* 80279414 00276354 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
|
|
/* 80279418 00276358 DB C1 00 50 */ stfd f30, 0x50(r1)
|
|
/* 8027941C 0027635C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0
|
|
/* 80279420 00276360 DB A1 00 40 */ stfd f29, 0x40(r1)
|
|
/* 80279424 00276364 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0
|
|
/* 80279428 00276368 DB 81 00 30 */ stfd f28, 0x30(r1)
|
|
/* 8027942C 0027636C F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0
|
|
/* 80279430 00276370 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 80279434 00276374 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 80279438 00276378 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 8027943C 0027637C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80279440 00276380 80 A4 00 C0 */ lwz r5, 0xc0(r4)
|
|
/* 80279444 00276384 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279448 00276388 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8027944C 0027638C 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 80279450 00276390 C3 E4 02 C8 */ lfs f31, 0x2c8(r4)
|
|
/* 80279454 00276394 C3 84 02 D0 */ lfs f28, 0x2d0(r4)
|
|
/* 80279458 00276398 C3 A5 03 34 */ lfs f29, 0x334(r5)
|
|
/* 8027945C 0027639C C3 C5 03 0C */ lfs f30, 0x30c(r5)
|
|
/* 80279460 002763A0 7D 89 03 A6 */ mtctr r12
|
|
/* 80279464 002763A4 4E 80 04 21 */ bctrl
|
|
/* 80279468 002763A8 C0 81 00 14 */ lfs f4, 0x14(r1)
|
|
/* 8027946C 002763AC 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
|
|
/* 80279470 002763B0 C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
/* 80279474 002763B4 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
|
|
/* 80279478 002763B8 C0 61 00 18 */ lfs f3, 0x18(r1)
|
|
/* 8027947C 002763BC EC 3F 20 28 */ fsubs f1, f31, f4
|
|
/* 80279480 002763C0 EC 5C 00 28 */ fsubs f2, f28, f0
|
|
/* 80279484 002763C4 D0 81 00 08 */ stfs f4, 8(r1)
|
|
/* 80279488 002763C8 D0 61 00 0C */ stfs f3, 0xc(r1)
|
|
/* 8027948C 002763CC D0 01 00 10 */ stfs f0, 0x10(r1)
|
|
/* 80279490 002763D0 4B DB BC 79 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
|
|
/* 80279494 002763D4 48 19 87 3D */ bl roundAng__Ff
|
|
/* 80279498 002763D8 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 8027949C 002763DC FF E0 08 90 */ fmr f31, f1
|
|
/* 802794A0 002763E0 7F E3 FB 78 */ mr r3, r31
|
|
/* 802794A4 002763E4 81 8C 00 64 */ lwz r12, 0x64(r12)
|
|
/* 802794A8 002763E8 7D 89 03 A6 */ mtctr r12
|
|
/* 802794AC 002763EC 4E 80 04 21 */ bctrl
|
|
/* 802794B0 002763F0 FC 40 08 90 */ fmr f2, f1
|
|
/* 802794B4 002763F4 FC 20 F8 90 */ fmr f1, f31
|
|
/* 802794B8 002763F8 48 19 87 45 */ bl angDist__Fff
|
|
/* 802794BC 002763FC FF E0 08 90 */ fmr f31, f1
|
|
/* 802794C0 00276400 C0 02 D1 30 */ lfs f0, lbl_8051B490@sda21(r2)
|
|
/* 802794C4 00276404 C0 22 D1 2C */ lfs f1, lbl_8051B48C@sda21(r2)
|
|
/* 802794C8 00276408 EC 00 07 72 */ fmuls f0, f0, f29
|
|
/* 802794CC 0027640C EF BF 07 B2 */ fmuls f29, f31, f30
|
|
/* 802794D0 00276410 EC 21 00 32 */ fmuls f1, f1, f0
|
|
/* 802794D4 00276414 FC 00 EA 10 */ fabs f0, f29
|
|
/* 802794D8 00276418 FC 00 00 18 */ frsp f0, f0
|
|
/* 802794DC 0027641C FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 802794E0 00276420 40 81 00 1C */ ble .L_802794FC
|
|
/* 802794E4 00276424 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 802794E8 00276428 FC 1D 00 40 */ fcmpo cr0, f29, f0
|
|
/* 802794EC 0027642C 40 81 00 0C */ ble .L_802794F8
|
|
/* 802794F0 00276430 FF A0 08 90 */ fmr f29, f1
|
|
/* 802794F4 00276434 48 00 00 08 */ b .L_802794FC
|
|
.L_802794F8:
|
|
/* 802794F8 00276438 FF A0 08 50 */ fneg f29, f1
|
|
.L_802794FC:
|
|
/* 802794FC 0027643C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279500 00276440 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 80279504 00276444 81 8C 00 64 */ lwz r12, 0x64(r12)
|
|
/* 80279508 00276448 7D 89 03 A6 */ mtctr r12
|
|
/* 8027950C 0027644C 4E 80 04 21 */ bctrl
|
|
/* 80279510 00276450 EC 3D 08 2A */ fadds f1, f29, f1
|
|
/* 80279514 00276454 48 19 86 BD */ bl roundAng__Ff
|
|
/* 80279518 00276458 FC 60 FA 10 */ fabs f3, f31
|
|
/* 8027951C 0027645C D0 3F 01 FC */ stfs f1, 0x1fc(r31)
|
|
/* 80279520 00276460 C0 02 D1 34 */ lfs f0, lbl_8051B494@sda21(r2)
|
|
/* 80279524 00276464 C0 5F 01 FC */ lfs f2, 0x1fc(r31)
|
|
/* 80279528 00276468 FC 20 18 18 */ frsp f1, f3
|
|
/* 8027952C 0027646C D0 5F 01 A8 */ stfs f2, 0x1a8(r31)
|
|
/* 80279530 00276470 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279534 00276474 4C 40 13 82 */ cror 2, 0, 2
|
|
/* 80279538 00276478 40 82 00 0C */ bne .L_80279544
|
|
/* 8027953C 0027647C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279540 00276480 4B E8 BD 61 */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_80279544:
|
|
/* 80279544 00276484 C0 3F 02 C0 */ lfs f1, 0x2c0(r31)
|
|
/* 80279548 00276488 C0 02 D1 38 */ lfs f0, lbl_8051B498@sda21(r2)
|
|
/* 8027954C 0027648C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279550 00276490 40 81 00 0C */ ble .L_8027955C
|
|
/* 80279554 00276494 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279558 00276498 4B E8 BD 49 */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_8027955C:
|
|
/* 8027955C 0027649C 80 7F 01 88 */ lwz r3, 0x188(r31)
|
|
/* 80279560 002764A0 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 80279564 002764A4 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80279568 002764A8 41 82 00 64 */ beq .L_802795CC
|
|
/* 8027956C 002764AC 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80279570 002764B0 28 00 03 E8 */ cmplwi r0, 0x3e8
|
|
/* 80279574 002764B4 40 82 00 58 */ bne .L_802795CC
|
|
/* 80279578 002764B8 C0 3F 02 C0 */ lfs f1, 0x2c0(r31)
|
|
/* 8027957C 002764BC C0 02 D1 38 */ lfs f0, lbl_8051B498@sda21(r2)
|
|
/* 80279580 002764C0 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279584 002764C4 40 81 00 28 */ ble .L_802795AC
|
|
/* 80279588 002764C8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027958C 002764CC 7F E4 FB 78 */ mr r4, r31
|
|
/* 80279590 002764D0 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 80279594 002764D4 38 A0 00 04 */ li r5, 4
|
|
/* 80279598 002764D8 38 C0 00 00 */ li r6, 0
|
|
/* 8027959C 002764DC 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 802795A0 002764E0 7D 89 03 A6 */ mtctr r12
|
|
/* 802795A4 002764E4 4E 80 04 21 */ bctrl
|
|
/* 802795A8 002764E8 48 00 00 24 */ b .L_802795CC
|
|
.L_802795AC:
|
|
/* 802795AC 002764EC 7F C3 F3 78 */ mr r3, r30
|
|
/* 802795B0 002764F0 7F E4 FB 78 */ mr r4, r31
|
|
/* 802795B4 002764F4 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 802795B8 002764F8 38 A0 00 03 */ li r5, 3
|
|
/* 802795BC 002764FC 38 C0 00 00 */ li r6, 0
|
|
/* 802795C0 00276500 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 802795C4 00276504 7D 89 03 A6 */ mtctr r12
|
|
/* 802795C8 00276508 4E 80 04 21 */ bctrl
|
|
.L_802795CC:
|
|
/* 802795CC 0027650C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
|
|
/* 802795D0 00276510 CB E1 00 60 */ lfd f31, 0x60(r1)
|
|
/* 802795D4 00276514 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0
|
|
/* 802795D8 00276518 CB C1 00 50 */ lfd f30, 0x50(r1)
|
|
/* 802795DC 0027651C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0
|
|
/* 802795E0 00276520 CB A1 00 40 */ lfd f29, 0x40(r1)
|
|
/* 802795E4 00276524 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0
|
|
/* 802795E8 00276528 CB 81 00 30 */ lfd f28, 0x30(r1)
|
|
/* 802795EC 0027652C 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 802795F0 00276530 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 802795F4 00276534 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 802795F8 00276538 7C 08 03 A6 */ mtlr r0
|
|
/* 802795FC 0027653C 38 21 00 70 */ addi r1, r1, 0x70
|
|
/* 80279600 00276540 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase:
|
|
/* 80279604 00276544 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 80279608 00276548 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027960C 0027654C 7C 08 02 A6 */ mflr r0
|
|
/* 80279610 00276550 38 A0 00 00 */ li r5, 0
|
|
/* 80279614 00276554 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80279618 00276558 7C 80 23 78 */ mr r0, r4
|
|
/* 8027961C 0027655C 7C 03 03 78 */ mr r3, r0
|
|
/* 80279620 00276560 38 80 00 01 */ li r4, 1
|
|
/* 80279624 00276564 80 03 01 E0 */ lwz r0, 0x1e0(r3)
|
|
/* 80279628 00276568 60 00 00 40 */ ori r0, r0, 0x40
|
|
/* 8027962C 0027656C 90 03 01 E0 */ stw r0, 0x1e0(r3)
|
|
/* 80279630 00276570 4B E8 B9 D5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 80279634 00276574 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80279638 00276578 7C 08 03 A6 */ mtlr r0
|
|
/* 8027963C 0027657C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80279640 00276580 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase:
|
|
/* 80279644 00276584 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80279648 00276588 7C 08 02 A6 */ mflr r0
|
|
/* 8027964C 0027658C 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80279650 00276590 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 80279654 00276594 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279658 00276598 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8027965C 0027659C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80279660 002765A0 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80279664 002765A4 C0 24 02 CC */ lfs f1, 0x2cc(r4)
|
|
/* 80279668 002765A8 C0 44 02 D0 */ lfs f2, 0x2d0(r4)
|
|
/* 8027966C 002765AC C0 04 02 C8 */ lfs f0, 0x2c8(r4)
|
|
/* 80279670 002765B0 D0 01 00 14 */ stfs f0, 0x14(r1)
|
|
/* 80279674 002765B4 D0 21 00 18 */ stfs f1, 0x18(r1)
|
|
/* 80279678 002765B8 D0 41 00 1C */ stfs f2, 0x1c(r1)
|
|
/* 8027967C 002765BC 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 80279680 002765C0 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80279684 002765C4 7D 89 03 A6 */ mtctr r12
|
|
/* 80279688 002765C8 4E 80 04 21 */ bctrl
|
|
/* 8027968C 002765CC C0 21 00 10 */ lfs f1, 0x10(r1)
|
|
/* 80279690 002765D0 C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
/* 80279694 002765D4 C0 41 00 08 */ lfs f2, 8(r1)
|
|
/* 80279698 002765D8 EC 61 00 28 */ fsubs f3, f1, f0
|
|
/* 8027969C 002765DC C0 21 00 14 */ lfs f1, 0x14(r1)
|
|
/* 802796A0 002765E0 C0 02 D1 3C */ lfs f0, lbl_8051B49C@sda21(r2)
|
|
/* 802796A4 002765E4 EC 42 08 28 */ fsubs f2, f2, f1
|
|
/* 802796A8 002765E8 EC 23 00 F2 */ fmuls f1, f3, f3
|
|
/* 802796AC 002765EC EC 22 08 BA */ fmadds f1, f2, f2, f1
|
|
/* 802796B0 002765F0 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802796B4 002765F4 40 81 00 24 */ ble .L_802796D8
|
|
/* 802796B8 002765F8 80 BF 00 C0 */ lwz r5, 0xc0(r31)
|
|
/* 802796BC 002765FC 7F E3 FB 78 */ mr r3, r31
|
|
/* 802796C0 00276600 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 802796C4 00276604 C0 25 02 E4 */ lfs f1, 0x2e4(r5)
|
|
/* 802796C8 00276608 C0 45 03 0C */ lfs f2, 0x30c(r5)
|
|
/* 802796CC 0027660C C0 65 03 34 */ lfs f3, 0x334(r5)
|
|
/* 802796D0 00276610 4B E9 BF 0D */ bl "walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3<f>fff"
|
|
/* 802796D4 00276614 48 00 00 0C */ b .L_802796E0
|
|
.L_802796D8:
|
|
/* 802796D8 00276618 7F E3 FB 78 */ mr r3, r31
|
|
/* 802796DC 0027661C 4B E8 BB C5 */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_802796E0:
|
|
/* 802796E0 00276620 C0 3F 02 C0 */ lfs f1, 0x2c0(r31)
|
|
/* 802796E4 00276624 C0 02 D1 38 */ lfs f0, lbl_8051B498@sda21(r2)
|
|
/* 802796E8 00276628 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802796EC 0027662C 40 81 00 0C */ ble .L_802796F8
|
|
/* 802796F0 00276630 7F E3 FB 78 */ mr r3, r31
|
|
/* 802796F4 00276634 4B E8 BB AD */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_802796F8:
|
|
/* 802796F8 00276638 80 7F 01 88 */ lwz r3, 0x188(r31)
|
|
/* 802796FC 0027663C 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 80279700 00276640 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80279704 00276644 41 82 00 64 */ beq .L_80279768
|
|
/* 80279708 00276648 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 8027970C 0027664C 28 00 03 E8 */ cmplwi r0, 0x3e8
|
|
/* 80279710 00276650 40 82 00 58 */ bne .L_80279768
|
|
/* 80279714 00276654 C0 3F 02 C0 */ lfs f1, 0x2c0(r31)
|
|
/* 80279718 00276658 C0 02 D1 38 */ lfs f0, lbl_8051B498@sda21(r2)
|
|
/* 8027971C 0027665C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279720 00276660 40 81 00 28 */ ble .L_80279748
|
|
/* 80279724 00276664 7F C3 F3 78 */ mr r3, r30
|
|
/* 80279728 00276668 7F E4 FB 78 */ mr r4, r31
|
|
/* 8027972C 0027666C 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 80279730 00276670 38 A0 00 04 */ li r5, 4
|
|
/* 80279734 00276674 38 C0 00 00 */ li r6, 0
|
|
/* 80279738 00276678 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8027973C 0027667C 7D 89 03 A6 */ mtctr r12
|
|
/* 80279740 00276680 4E 80 04 21 */ bctrl
|
|
/* 80279744 00276684 48 00 00 24 */ b .L_80279768
|
|
.L_80279748:
|
|
/* 80279748 00276688 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027974C 0027668C 7F E4 FB 78 */ mr r4, r31
|
|
/* 80279750 00276690 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 80279754 00276694 38 A0 00 01 */ li r5, 1
|
|
/* 80279758 00276698 38 C0 00 00 */ li r6, 0
|
|
/* 8027975C 0027669C 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 80279760 002766A0 7D 89 03 A6 */ mtctr r12
|
|
/* 80279764 002766A4 4E 80 04 21 */ bctrl
|
|
.L_80279768:
|
|
/* 80279768 002766A8 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8027976C 002766AC 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 80279770 002766B0 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 80279774 002766B4 7C 08 03 A6 */ mtlr r0
|
|
/* 80279778 002766B8 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8027977C 002766BC 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase:
|
|
/* 80279780 002766C0 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 80279784 002766C4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80279788 002766C8 7C 08 02 A6 */ mflr r0
|
|
/* 8027978C 002766CC C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 80279790 002766D0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80279794 002766D4 38 00 00 00 */ li r0, 0
|
|
/* 80279798 002766D8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8027979C 002766DC 7C 9F 23 78 */ mr r31, r4
|
|
/* 802797A0 002766E0 7F E3 FB 78 */ mr r3, r31
|
|
/* 802797A4 002766E4 98 04 02 D4 */ stb r0, 0x2d4(r4)
|
|
/* 802797A8 002766E8 D0 04 02 C4 */ stfs f0, 0x2c4(r4)
|
|
/* 802797AC 002766EC 48 00 1F B9 */ bl resetPartnerPtr__Q34Game7ElecBug3ObjFv
|
|
/* 802797B0 002766F0 7F E3 FB 78 */ mr r3, r31
|
|
/* 802797B4 002766F4 48 00 24 AD */ bl startChargeEffect__Q34Game7ElecBug3ObjFv
|
|
/* 802797B8 002766F8 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
|
|
/* 802797BC 002766FC 7F E3 FB 78 */ mr r3, r31
|
|
/* 802797C0 00276700 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 802797C4 00276704 60 00 00 40 */ ori r0, r0, 0x40
|
|
/* 802797C8 00276708 90 1F 01 E0 */ stw r0, 0x1e0(r31)
|
|
/* 802797CC 0027670C D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
|
|
/* 802797D0 00276710 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
|
|
/* 802797D4 00276714 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
|
|
/* 802797D8 00276718 4B E8 81 F5 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv
|
|
/* 802797DC 0027671C 7F E3 FB 78 */ mr r3, r31
|
|
/* 802797E0 00276720 38 80 00 03 */ li r4, 3
|
|
/* 802797E4 00276724 38 A0 00 00 */ li r5, 0
|
|
/* 802797E8 00276728 4B E8 B8 1D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 802797EC 0027672C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802797F0 00276730 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802797F4 00276734 7C 08 03 A6 */ mtlr r0
|
|
/* 802797F8 00276738 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802797FC 0027673C 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase:
|
|
/* 80279800 00276740 94 21 FE A0 */ stwu r1, -0x160(r1)
|
|
/* 80279804 00276744 7C 08 02 A6 */ mflr r0
|
|
/* 80279808 00276748 90 01 01 64 */ stw r0, 0x164(r1)
|
|
/* 8027980C 0027674C DB E1 01 50 */ stfd f31, 0x150(r1)
|
|
/* 80279810 00276750 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0
|
|
/* 80279814 00276754 DB C1 01 40 */ stfd f30, 0x140(r1)
|
|
/* 80279818 00276758 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0
|
|
/* 8027981C 0027675C DB A1 01 30 */ stfd f29, 0x130(r1)
|
|
/* 80279820 00276760 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0
|
|
/* 80279824 00276764 DB 81 01 20 */ stfd f28, 0x120(r1)
|
|
/* 80279828 00276768 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0
|
|
/* 8027982C 0027676C DB 61 01 10 */ stfd f27, 0x110(r1)
|
|
/* 80279830 00276770 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0
|
|
/* 80279834 00276774 BF 61 00 FC */ stmw r27, 0xfc(r1)
|
|
/* 80279838 00276778 88 04 02 D4 */ lbz r0, 0x2d4(r4)
|
|
/* 8027983C 0027677C 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80279840 00276780 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279844 00276784 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80279848 00276788 40 82 03 1C */ bne .L_80279B64
|
|
/* 8027984C 0027678C C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 80279850 00276790 C0 02 D1 40 */ lfs f0, lbl_8051B4A0@sda21(r2)
|
|
/* 80279854 00276794 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279858 00276798 40 81 03 0C */ ble .L_80279B64
|
|
/* 8027985C 0027679C 38 00 00 01 */ li r0, 1
|
|
/* 80279860 002767A0 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 80279864 002767A4 98 1F 02 D4 */ stb r0, 0x2d4(r31)
|
|
/* 80279868 002767A8 3B C0 00 00 */ li r30, 0
|
|
/* 8027986C 002767AC 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 80279870 002767B0 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80279874 002767B4 7D 89 03 A6 */ mtctr r12
|
|
/* 80279878 002767B8 4E 80 04 21 */ bctrl
|
|
/* 8027987C 002767BC C3 C1 00 44 */ lfs f30, 0x44(r1)
|
|
/* 80279880 002767C0 38 80 00 1C */ li r4, 0x1c
|
|
/* 80279884 002767C4 C3 E1 00 48 */ lfs f31, 0x48(r1)
|
|
/* 80279888 002767C8 C3 A1 00 4C */ lfs f29, 0x4c(r1)
|
|
/* 8027988C 002767CC 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13)
|
|
/* 80279890 002767D0 4B E9 44 15 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi
|
|
/* 80279894 002767D4 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80279898 002767D8 41 82 02 58 */ beq .L_80279AF0
|
|
/* 8027989C 002767DC 41 82 00 08 */ beq .L_802798A4
|
|
/* 802798A0 002767E0 38 63 00 04 */ addi r3, r3, 4
|
|
.L_802798A4:
|
|
/* 802798A4 002767E4 38 00 00 00 */ li r0, 0
|
|
/* 802798A8 002767E8 3C 80 80 4C */ lis r4, "__vt__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>"@ha
|
|
/* 802798AC 002767EC 38 84 78 EC */ addi r4, r4, "__vt__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>"@l
|
|
/* 802798B0 002767F0 90 01 00 5C */ stw r0, 0x5c(r1)
|
|
/* 802798B4 002767F4 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802798B8 002767F8 90 81 00 50 */ stw r4, 0x50(r1)
|
|
/* 802798BC 002767FC 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 802798C0 00276800 90 61 00 58 */ stw r3, 0x58(r1)
|
|
/* 802798C4 00276804 40 82 00 1C */ bne .L_802798E0
|
|
/* 802798C8 00276808 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 802798CC 0027680C 81 8C 00 18 */ lwz r12, 0x18(r12)
|
|
/* 802798D0 00276810 7D 89 03 A6 */ mtctr r12
|
|
/* 802798D4 00276814 4E 80 04 21 */ bctrl
|
|
/* 802798D8 00276818 90 61 00 54 */ stw r3, 0x54(r1)
|
|
/* 802798DC 0027681C 48 00 00 8C */ b .L_80279968
|
|
.L_802798E0:
|
|
/* 802798E0 00276820 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 802798E4 00276824 81 8C 00 18 */ lwz r12, 0x18(r12)
|
|
/* 802798E8 00276828 7D 89 03 A6 */ mtctr r12
|
|
/* 802798EC 0027682C 4E 80 04 21 */ bctrl
|
|
/* 802798F0 00276830 90 61 00 54 */ stw r3, 0x54(r1)
|
|
/* 802798F4 00276834 48 00 00 58 */ b .L_8027994C
|
|
.L_802798F8:
|
|
/* 802798F8 00276838 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 802798FC 0027683C 80 81 00 54 */ lwz r4, 0x54(r1)
|
|
/* 80279900 00276840 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279904 00276844 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 80279908 00276848 7D 89 03 A6 */ mtctr r12
|
|
/* 8027990C 0027684C 4E 80 04 21 */ bctrl
|
|
/* 80279910 00276850 7C 64 1B 78 */ mr r4, r3
|
|
/* 80279914 00276854 80 61 00 5C */ lwz r3, 0x5c(r1)
|
|
/* 80279918 00276858 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027991C 0027685C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80279920 00276860 7D 89 03 A6 */ mtctr r12
|
|
/* 80279924 00276864 4E 80 04 21 */ bctrl
|
|
/* 80279928 00276868 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8027992C 0027686C 40 82 00 3C */ bne .L_80279968
|
|
/* 80279930 00276870 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 80279934 00276874 80 81 00 54 */ lwz r4, 0x54(r1)
|
|
/* 80279938 00276878 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027993C 0027687C 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
/* 80279940 00276880 7D 89 03 A6 */ mtctr r12
|
|
/* 80279944 00276884 4E 80 04 21 */ bctrl
|
|
/* 80279948 00276888 90 61 00 54 */ stw r3, 0x54(r1)
|
|
.L_8027994C:
|
|
/* 8027994C 0027688C 81 81 00 50 */ lwz r12, 0x50(r1)
|
|
/* 80279950 00276890 38 61 00 50 */ addi r3, r1, 0x50
|
|
/* 80279954 00276894 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 80279958 00276898 7D 89 03 A6 */ mtctr r12
|
|
/* 8027995C 0027689C 4E 80 04 21 */ bctrl
|
|
/* 80279960 002768A0 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80279964 002768A4 41 82 FF 94 */ beq .L_802798F8
|
|
.L_80279968:
|
|
/* 80279968 002768A8 3B 61 00 60 */ addi r27, r1, 0x60
|
|
/* 8027996C 002768AC 48 00 01 64 */ b .L_80279AD0
|
|
.L_80279970:
|
|
/* 80279970 002768B0 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 80279974 002768B4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279978 002768B8 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 8027997C 002768BC 7D 89 03 A6 */ mtctr r12
|
|
/* 80279980 002768C0 4E 80 04 21 */ bctrl
|
|
/* 80279984 002768C4 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80279988 002768C8 7C 1F E0 40 */ cmplw r31, r28
|
|
/* 8027998C 002768CC 41 82 00 88 */ beq .L_80279A14
|
|
/* 80279990 002768D0 48 00 1D F1 */ bl isBecomeChargeState__Q34Game7ElecBug3ObjFv
|
|
/* 80279994 002768D4 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80279998 002768D8 41 82 00 7C */ beq .L_80279A14
|
|
/* 8027999C 002768DC 7F 84 E3 78 */ mr r4, r28
|
|
/* 802799A0 002768E0 38 61 00 38 */ addi r3, r1, 0x38
|
|
/* 802799A4 002768E4 81 9C 00 00 */ lwz r12, 0(r28)
|
|
/* 802799A8 002768E8 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 802799AC 002768EC 7D 89 03 A6 */ mtctr r12
|
|
/* 802799B0 002768F0 4E 80 04 21 */ bctrl
|
|
/* 802799B4 002768F4 C0 01 00 3C */ lfs f0, 0x3c(r1)
|
|
/* 802799B8 002768F8 C0 41 00 38 */ lfs f2, 0x38(r1)
|
|
/* 802799BC 002768FC EC 7F 00 28 */ fsubs f3, f31, f0
|
|
/* 802799C0 00276900 C0 21 00 40 */ lfs f1, 0x40(r1)
|
|
/* 802799C4 00276904 EC 5E 10 28 */ fsubs f2, f30, f2
|
|
/* 802799C8 00276908 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 802799CC 0027690C EC 3D 08 28 */ fsubs f1, f29, f1
|
|
/* 802799D0 00276910 EC 63 00 F2 */ fmuls f3, f3, f3
|
|
/* 802799D4 00276914 EC 81 00 72 */ fmuls f4, f1, f1
|
|
/* 802799D8 00276918 EC 22 18 BA */ fmadds f1, f2, f2, f3
|
|
/* 802799DC 0027691C EC 24 08 2A */ fadds f1, f4, f1
|
|
/* 802799E0 00276920 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 802799E4 00276924 40 81 00 14 */ ble .L_802799F8
|
|
/* 802799E8 00276928 40 81 00 14 */ ble .L_802799FC
|
|
/* 802799EC 0027692C FC 00 08 34 */ frsqrte f0, f1
|
|
/* 802799F0 00276930 EC 20 00 72 */ fmuls f1, f0, f1
|
|
/* 802799F4 00276934 48 00 00 08 */ b .L_802799FC
|
|
.L_802799F8:
|
|
/* 802799F8 00276938 FC 20 00 90 */ fmr f1, f0
|
|
.L_802799FC:
|
|
/* 802799FC 0027693C C0 02 D1 44 */ lfs f0, lbl_8051B4A4@sda21(r2)
|
|
/* 80279A00 00276940 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279A04 00276944 40 80 00 10 */ bge .L_80279A14
|
|
/* 80279A08 00276948 93 9B 00 00 */ stw r28, 0(r27)
|
|
/* 80279A0C 0027694C 3B 7B 00 04 */ addi r27, r27, 4
|
|
/* 80279A10 00276950 3B DE 00 01 */ addi r30, r30, 1
|
|
.L_80279A14:
|
|
/* 80279A14 00276954 80 01 00 5C */ lwz r0, 0x5c(r1)
|
|
/* 80279A18 00276958 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80279A1C 0027695C 40 82 00 24 */ bne .L_80279A40
|
|
/* 80279A20 00276960 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 80279A24 00276964 80 81 00 54 */ lwz r4, 0x54(r1)
|
|
/* 80279A28 00276968 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279A2C 0027696C 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
/* 80279A30 00276970 7D 89 03 A6 */ mtctr r12
|
|
/* 80279A34 00276974 4E 80 04 21 */ bctrl
|
|
/* 80279A38 00276978 90 61 00 54 */ stw r3, 0x54(r1)
|
|
/* 80279A3C 0027697C 48 00 00 94 */ b .L_80279AD0
|
|
.L_80279A40:
|
|
/* 80279A40 00276980 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 80279A44 00276984 80 81 00 54 */ lwz r4, 0x54(r1)
|
|
/* 80279A48 00276988 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279A4C 0027698C 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
/* 80279A50 00276990 7D 89 03 A6 */ mtctr r12
|
|
/* 80279A54 00276994 4E 80 04 21 */ bctrl
|
|
/* 80279A58 00276998 90 61 00 54 */ stw r3, 0x54(r1)
|
|
/* 80279A5C 0027699C 48 00 00 58 */ b .L_80279AB4
|
|
.L_80279A60:
|
|
/* 80279A60 002769A0 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 80279A64 002769A4 80 81 00 54 */ lwz r4, 0x54(r1)
|
|
/* 80279A68 002769A8 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279A6C 002769AC 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 80279A70 002769B0 7D 89 03 A6 */ mtctr r12
|
|
/* 80279A74 002769B4 4E 80 04 21 */ bctrl
|
|
/* 80279A78 002769B8 7C 64 1B 78 */ mr r4, r3
|
|
/* 80279A7C 002769BC 80 61 00 5C */ lwz r3, 0x5c(r1)
|
|
/* 80279A80 002769C0 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279A84 002769C4 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80279A88 002769C8 7D 89 03 A6 */ mtctr r12
|
|
/* 80279A8C 002769CC 4E 80 04 21 */ bctrl
|
|
/* 80279A90 002769D0 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80279A94 002769D4 40 82 00 3C */ bne .L_80279AD0
|
|
/* 80279A98 002769D8 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 80279A9C 002769DC 80 81 00 54 */ lwz r4, 0x54(r1)
|
|
/* 80279AA0 002769E0 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279AA4 002769E4 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
/* 80279AA8 002769E8 7D 89 03 A6 */ mtctr r12
|
|
/* 80279AAC 002769EC 4E 80 04 21 */ bctrl
|
|
/* 80279AB0 002769F0 90 61 00 54 */ stw r3, 0x54(r1)
|
|
.L_80279AB4:
|
|
/* 80279AB4 002769F4 81 81 00 50 */ lwz r12, 0x50(r1)
|
|
/* 80279AB8 002769F8 38 61 00 50 */ addi r3, r1, 0x50
|
|
/* 80279ABC 002769FC 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 80279AC0 00276A00 7D 89 03 A6 */ mtctr r12
|
|
/* 80279AC4 00276A04 4E 80 04 21 */ bctrl
|
|
/* 80279AC8 00276A08 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80279ACC 00276A0C 41 82 FF 94 */ beq .L_80279A60
|
|
.L_80279AD0:
|
|
/* 80279AD0 00276A10 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 80279AD4 00276A14 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279AD8 00276A18 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 80279ADC 00276A1C 7D 89 03 A6 */ mtctr r12
|
|
/* 80279AE0 00276A20 4E 80 04 21 */ bctrl
|
|
/* 80279AE4 00276A24 80 81 00 54 */ lwz r4, 0x54(r1)
|
|
/* 80279AE8 00276A28 7C 04 18 40 */ cmplw r4, r3
|
|
/* 80279AEC 00276A2C 40 82 FE 84 */ bne .L_80279970
|
|
.L_80279AF0:
|
|
/* 80279AF0 00276A30 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 80279AF4 00276A34 41 82 00 70 */ beq .L_80279B64
|
|
/* 80279AF8 00276A38 4B E4 FA A9 */ bl rand
|
|
/* 80279AFC 00276A3C 6C 60 80 00 */ xoris r0, r3, 0x8000
|
|
/* 80279B00 00276A40 3C A0 43 30 */ lis r5, 0x4330
|
|
/* 80279B04 00276A44 90 01 00 E4 */ stw r0, 0xe4(r1)
|
|
/* 80279B08 00276A48 6F C0 80 00 */ xoris r0, r30, 0x8000
|
|
/* 80279B0C 00276A4C C8 42 D1 58 */ lfd f2, lbl_8051B4B8@sda21(r2)
|
|
/* 80279B10 00276A50 38 81 00 60 */ addi r4, r1, 0x60
|
|
/* 80279B14 00276A54 90 A1 00 E0 */ stw r5, 0xe0(r1)
|
|
/* 80279B18 00276A58 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279B1C 00276A5C C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2)
|
|
/* 80279B20 00276A60 C8 21 00 E0 */ lfd f1, 0xe0(r1)
|
|
/* 80279B24 00276A64 90 01 00 EC */ stw r0, 0xec(r1)
|
|
/* 80279B28 00276A68 EC 21 10 28 */ fsubs f1, f1, f2
|
|
/* 80279B2C 00276A6C 90 A1 00 E8 */ stw r5, 0xe8(r1)
|
|
/* 80279B30 00276A70 EC 21 00 24 */ fdivs f1, f1, f0
|
|
/* 80279B34 00276A74 C8 01 00 E8 */ lfd f0, 0xe8(r1)
|
|
/* 80279B38 00276A78 EC 00 10 28 */ fsubs f0, f0, f2
|
|
/* 80279B3C 00276A7C EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 80279B40 00276A80 FC 00 00 1E */ fctiwz f0, f0
|
|
/* 80279B44 00276A84 D8 01 00 F0 */ stfd f0, 0xf0(r1)
|
|
/* 80279B48 00276A88 80 01 00 F4 */ lwz r0, 0xf4(r1)
|
|
/* 80279B4C 00276A8C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80279B50 00276A90 7C 84 00 2E */ lwzx r4, r4, r0
|
|
/* 80279B54 00276A94 48 00 1C 9D */ bl startChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj
|
|
/* 80279B58 00276A98 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
|
|
/* 80279B5C 00276A9C 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18
|
|
/* 80279B60 00276AA0 90 1F 01 E0 */ stw r0, 0x1e0(r31)
|
|
.L_80279B64:
|
|
/* 80279B64 00276AA4 83 9F 02 D8 */ lwz r28, 0x2d8(r31)
|
|
/* 80279B68 00276AA8 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 80279B6C 00276AAC 41 82 01 30 */ beq .L_80279C9C
|
|
/* 80279B70 00276AB0 7F E4 FB 78 */ mr r4, r31
|
|
/* 80279B74 00276AB4 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 80279B78 00276AB8 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 80279B7C 00276ABC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80279B80 00276AC0 7D 89 03 A6 */ mtctr r12
|
|
/* 80279B84 00276AC4 4E 80 04 21 */ bctrl
|
|
/* 80279B88 00276AC8 7F 84 E3 78 */ mr r4, r28
|
|
/* 80279B8C 00276ACC 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80279B90 00276AD0 81 9C 00 00 */ lwz r12, 0(r28)
|
|
/* 80279B94 00276AD4 C3 A1 00 2C */ lfs f29, 0x2c(r1)
|
|
/* 80279B98 00276AD8 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80279B9C 00276ADC C3 C1 00 34 */ lfs f30, 0x34(r1)
|
|
/* 80279BA0 00276AE0 7D 89 03 A6 */ mtctr r12
|
|
/* 80279BA4 00276AE4 4E 80 04 21 */ bctrl
|
|
/* 80279BA8 00276AE8 C0 21 00 20 */ lfs f1, 0x20(r1)
|
|
/* 80279BAC 00276AEC 7F E4 FB 78 */ mr r4, r31
|
|
/* 80279BB0 00276AF0 C0 01 00 28 */ lfs f0, 0x28(r1)
|
|
/* 80279BB4 00276AF4 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 80279BB8 00276AF8 EF 9D 08 28 */ fsubs f28, f29, f1
|
|
/* 80279BBC 00276AFC 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 80279BC0 00276B00 EF 7E 00 28 */ fsubs f27, f30, f0
|
|
/* 80279BC4 00276B04 80 BF 00 C0 */ lwz r5, 0xc0(r31)
|
|
/* 80279BC8 00276B08 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80279BCC 00276B0C EF 9C E8 2A */ fadds f28, f28, f29
|
|
/* 80279BD0 00276B10 EF 7B F0 2A */ fadds f27, f27, f30
|
|
/* 80279BD4 00276B14 C3 E5 03 34 */ lfs f31, 0x334(r5)
|
|
/* 80279BD8 00276B18 7D 89 03 A6 */ mtctr r12
|
|
/* 80279BDC 00276B1C 4E 80 04 21 */ bctrl
|
|
/* 80279BE0 00276B20 C0 81 00 14 */ lfs f4, 0x14(r1)
|
|
/* 80279BE4 00276B24 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
|
|
/* 80279BE8 00276B28 C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
/* 80279BEC 00276B2C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
|
|
/* 80279BF0 00276B30 C0 61 00 18 */ lfs f3, 0x18(r1)
|
|
/* 80279BF4 00276B34 EC 3C 20 28 */ fsubs f1, f28, f4
|
|
/* 80279BF8 00276B38 EC 5B 00 28 */ fsubs f2, f27, f0
|
|
/* 80279BFC 00276B3C D0 81 00 08 */ stfs f4, 8(r1)
|
|
/* 80279C00 00276B40 D0 61 00 0C */ stfs f3, 0xc(r1)
|
|
/* 80279C04 00276B44 D0 01 00 10 */ stfs f0, 0x10(r1)
|
|
/* 80279C08 00276B48 4B DB B5 01 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
|
|
/* 80279C0C 00276B4C 48 19 7F C5 */ bl roundAng__Ff
|
|
/* 80279C10 00276B50 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 80279C14 00276B54 FF C0 08 90 */ fmr f30, f1
|
|
/* 80279C18 00276B58 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279C1C 00276B5C 81 8C 00 64 */ lwz r12, 0x64(r12)
|
|
/* 80279C20 00276B60 7D 89 03 A6 */ mtctr r12
|
|
/* 80279C24 00276B64 4E 80 04 21 */ bctrl
|
|
/* 80279C28 00276B68 FC 40 08 90 */ fmr f2, f1
|
|
/* 80279C2C 00276B6C FC 20 F0 90 */ fmr f1, f30
|
|
/* 80279C30 00276B70 48 19 7F CD */ bl angDist__Fff
|
|
/* 80279C34 00276B74 C0 42 D1 4C */ lfs f2, lbl_8051B4AC@sda21(r2)
|
|
/* 80279C38 00276B78 C0 02 D1 30 */ lfs f0, lbl_8051B490@sda21(r2)
|
|
/* 80279C3C 00276B7C EF C1 00 B2 */ fmuls f30, f1, f2
|
|
/* 80279C40 00276B80 C0 22 D1 2C */ lfs f1, lbl_8051B48C@sda21(r2)
|
|
/* 80279C44 00276B84 EC 00 07 F2 */ fmuls f0, f0, f31
|
|
/* 80279C48 00276B88 FC 40 F2 10 */ fabs f2, f30
|
|
/* 80279C4C 00276B8C EC 21 00 32 */ fmuls f1, f1, f0
|
|
/* 80279C50 00276B90 FC 00 10 18 */ frsp f0, f2
|
|
/* 80279C54 00276B94 FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 80279C58 00276B98 40 81 00 1C */ ble .L_80279C74
|
|
/* 80279C5C 00276B9C C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 80279C60 00276BA0 FC 1E 00 40 */ fcmpo cr0, f30, f0
|
|
/* 80279C64 00276BA4 40 81 00 0C */ ble .L_80279C70
|
|
/* 80279C68 00276BA8 FF C0 08 90 */ fmr f30, f1
|
|
/* 80279C6C 00276BAC 48 00 00 08 */ b .L_80279C74
|
|
.L_80279C70:
|
|
/* 80279C70 00276BB0 FF C0 08 50 */ fneg f30, f1
|
|
.L_80279C74:
|
|
/* 80279C74 00276BB4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279C78 00276BB8 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 80279C7C 00276BBC 81 8C 00 64 */ lwz r12, 0x64(r12)
|
|
/* 80279C80 00276BC0 7D 89 03 A6 */ mtctr r12
|
|
/* 80279C84 00276BC4 4E 80 04 21 */ bctrl
|
|
/* 80279C88 00276BC8 EC 3E 08 2A */ fadds f1, f30, f1
|
|
/* 80279C8C 00276BCC 48 19 7F 45 */ bl roundAng__Ff
|
|
/* 80279C90 00276BD0 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
|
|
/* 80279C94 00276BD4 C0 1F 01 FC */ lfs f0, 0x1fc(r31)
|
|
/* 80279C98 00276BD8 D0 1F 01 A8 */ stfs f0, 0x1a8(r31)
|
|
.L_80279C9C:
|
|
/* 80279C9C 00276BDC C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 80279CA0 00276BE0 C0 02 D1 50 */ lfs f0, lbl_8051B4B0@sda21(r2)
|
|
/* 80279CA4 00276BE4 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279CA8 00276BE8 40 81 00 5C */ ble .L_80279D04
|
|
/* 80279CAC 00276BEC 80 1F 02 D8 */ lwz r0, 0x2d8(r31)
|
|
/* 80279CB0 00276BF0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80279CB4 00276BF4 41 82 00 28 */ beq .L_80279CDC
|
|
/* 80279CB8 00276BF8 7F A3 EB 78 */ mr r3, r29
|
|
/* 80279CBC 00276BFC 7F E4 FB 78 */ mr r4, r31
|
|
/* 80279CC0 00276C00 81 9D 00 00 */ lwz r12, 0(r29)
|
|
/* 80279CC4 00276C04 38 A0 00 05 */ li r5, 5
|
|
/* 80279CC8 00276C08 38 C0 00 00 */ li r6, 0
|
|
/* 80279CCC 00276C0C 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 80279CD0 00276C10 7D 89 03 A6 */ mtctr r12
|
|
/* 80279CD4 00276C14 4E 80 04 21 */ bctrl
|
|
/* 80279CD8 00276C18 48 00 00 2C */ b .L_80279D04
|
|
.L_80279CDC:
|
|
/* 80279CDC 00276C1C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279CE0 00276C20 48 00 20 81 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
|
|
/* 80279CE4 00276C24 7F A3 EB 78 */ mr r3, r29
|
|
/* 80279CE8 00276C28 7F E4 FB 78 */ mr r4, r31
|
|
/* 80279CEC 00276C2C 81 9D 00 00 */ lwz r12, 0(r29)
|
|
/* 80279CF0 00276C30 38 A0 00 02 */ li r5, 2
|
|
/* 80279CF4 00276C34 38 C0 00 00 */ li r6, 0
|
|
/* 80279CF8 00276C38 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 80279CFC 00276C3C 7D 89 03 A6 */ mtctr r12
|
|
/* 80279D00 00276C40 4E 80 04 21 */ bctrl
|
|
.L_80279D04:
|
|
/* 80279D04 00276C44 80 6D 9A EC */ lwz r3, sys@sda21(r13)
|
|
/* 80279D08 00276C48 C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 80279D0C 00276C4C C0 03 00 54 */ lfs f0, 0x54(r3)
|
|
/* 80279D10 00276C50 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 80279D14 00276C54 D0 1F 02 C4 */ stfs f0, 0x2c4(r31)
|
|
/* 80279D18 00276C58 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0
|
|
/* 80279D1C 00276C5C CB E1 01 50 */ lfd f31, 0x150(r1)
|
|
/* 80279D20 00276C60 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0
|
|
/* 80279D24 00276C64 CB C1 01 40 */ lfd f30, 0x140(r1)
|
|
/* 80279D28 00276C68 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0
|
|
/* 80279D2C 00276C6C CB A1 01 30 */ lfd f29, 0x130(r1)
|
|
/* 80279D30 00276C70 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0
|
|
/* 80279D34 00276C74 CB 81 01 20 */ lfd f28, 0x120(r1)
|
|
/* 80279D38 00276C78 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0
|
|
/* 80279D3C 00276C7C CB 61 01 10 */ lfd f27, 0x110(r1)
|
|
/* 80279D40 00276C80 BB 61 00 FC */ lmw r27, 0xfc(r1)
|
|
/* 80279D44 00276C84 80 01 01 64 */ lwz r0, 0x164(r1)
|
|
/* 80279D48 00276C88 7C 08 03 A6 */ mtlr r0
|
|
/* 80279D4C 00276C8C 38 21 01 60 */ addi r1, r1, 0x160
|
|
/* 80279D50 00276C90 4E 80 00 20 */ blr
|
|
|
|
.global "isDone__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv"
|
|
"isDone__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv":
|
|
/* 80279D54 00276C94 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80279D58 00276C98 7C 08 02 A6 */ mflr r0
|
|
/* 80279D5C 00276C9C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80279D60 00276CA0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80279D64 00276CA4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80279D68 00276CA8 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 80279D6C 00276CAC 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80279D70 00276CB0 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 80279D74 00276CB4 7D 89 03 A6 */ mtctr r12
|
|
/* 80279D78 00276CB8 4E 80 04 21 */ bctrl
|
|
/* 80279D7C 00276CBC 80 1F 00 04 */ lwz r0, 4(r31)
|
|
/* 80279D80 00276CC0 7C 00 18 50 */ subf r0, r0, r3
|
|
/* 80279D84 00276CC4 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80279D88 00276CC8 54 03 D9 7E */ srwi r3, r0, 5
|
|
/* 80279D8C 00276CCC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80279D90 00276CD0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80279D94 00276CD4 7C 08 03 A6 */ mtlr r0
|
|
/* 80279D98 00276CD8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80279D9C 00276CDC 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase:
|
|
/* 80279DA0 00276CE0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80279DA4 00276CE4 7C 08 02 A6 */ mflr r0
|
|
/* 80279DA8 00276CE8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80279DAC 00276CEC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80279DB0 00276CF0 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279DB4 00276CF4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279DB8 00276CF8 4B E8 7B C5 */ bl setEmotionCaution__Q24Game9EnemyBaseFv
|
|
/* 80279DBC 00276CFC 4B E4 F7 E5 */ bl rand
|
|
/* 80279DC0 00276D00 6C 63 80 00 */ xoris r3, r3, 0x8000
|
|
/* 80279DC4 00276D04 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 80279DC8 00276D08 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 80279DCC 00276D0C C8 62 D1 58 */ lfd f3, lbl_8051B4B8@sda21(r2)
|
|
/* 80279DD0 00276D10 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 80279DD4 00276D14 C0 22 D1 60 */ lfs f1, lbl_8051B4C0@sda21(r2)
|
|
/* 80279DD8 00276D18 C8 41 00 08 */ lfd f2, 8(r1)
|
|
/* 80279DDC 00276D1C C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2)
|
|
/* 80279DE0 00276D20 EC 42 18 28 */ fsubs f2, f2, f3
|
|
/* 80279DE4 00276D24 EC 21 00 B2 */ fmuls f1, f1, f2
|
|
/* 80279DE8 00276D28 EC 01 00 24 */ fdivs f0, f1, f0
|
|
/* 80279DEC 00276D2C D0 1F 02 C0 */ stfs f0, 0x2c0(r31)
|
|
/* 80279DF0 00276D30 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80279DF4 00276D34 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80279DF8 00276D38 7C 08 03 A6 */ mtlr r0
|
|
/* 80279DFC 00276D3C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80279E00 00276D40 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 80279E04 00276D44 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80279E08 00276D48 7C 08 02 A6 */ mflr r0
|
|
/* 80279E0C 00276D4C C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 80279E10 00276D50 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80279E14 00276D54 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80279E18 00276D58 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279E1C 00276D5C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279E20 00276D60 D0 04 02 C4 */ stfs f0, 0x2c4(r4)
|
|
/* 80279E24 00276D64 80 04 01 E0 */ lwz r0, 0x1e0(r4)
|
|
/* 80279E28 00276D68 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18
|
|
/* 80279E2C 00276D6C 90 04 01 E0 */ stw r0, 0x1e0(r4)
|
|
/* 80279E30 00276D70 D0 04 01 D4 */ stfs f0, 0x1d4(r4)
|
|
/* 80279E34 00276D74 D0 04 01 D8 */ stfs f0, 0x1d8(r4)
|
|
/* 80279E38 00276D78 D0 04 01 DC */ stfs f0, 0x1dc(r4)
|
|
/* 80279E3C 00276D7C 4B E8 7B 91 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv
|
|
/* 80279E40 00276D80 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279E44 00276D84 38 80 00 04 */ li r4, 4
|
|
/* 80279E48 00276D88 38 A0 00 00 */ li r5, 0
|
|
/* 80279E4C 00276D8C 4B E8 B1 B9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 80279E50 00276D90 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80279E54 00276D94 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80279E58 00276D98 7C 08 03 A6 */ mtlr r0
|
|
/* 80279E5C 00276D9C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80279E60 00276DA0 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase:
|
|
/* 80279E64 00276DA4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80279E68 00276DA8 7C 08 02 A6 */ mflr r0
|
|
/* 80279E6C 00276DAC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80279E70 00276DB0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80279E74 00276DB4 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279E78 00276DB8 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80279E7C 00276DBC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80279E80 00276DC0 80 84 02 D8 */ lwz r4, 0x2d8(r4)
|
|
/* 80279E84 00276DC4 28 04 00 00 */ cmplwi r4, 0
|
|
/* 80279E88 00276DC8 41 82 00 10 */ beq .L_80279E98
|
|
/* 80279E8C 00276DCC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279E90 00276DD0 48 00 20 8D */ bl checkInteract__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj
|
|
/* 80279E94 00276DD4 48 00 00 14 */ b .L_80279EA8
|
|
.L_80279E98:
|
|
/* 80279E98 00276DD8 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279E9C 00276DDC 48 00 1E C5 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
|
|
/* 80279EA0 00276DE0 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279EA4 00276DE4 4B E8 B3 FD */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_80279EA8:
|
|
/* 80279EA8 00276DE8 80 7F 00 C0 */ lwz r3, 0xc0(r31)
|
|
/* 80279EAC 00276DEC C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 80279EB0 00276DF0 C0 03 08 6C */ lfs f0, 0x86c(r3)
|
|
/* 80279EB4 00276DF4 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80279EB8 00276DF8 40 81 00 0C */ ble .L_80279EC4
|
|
/* 80279EBC 00276DFC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279EC0 00276E00 4B E8 B3 E1 */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_80279EC4:
|
|
/* 80279EC4 00276E04 80 7F 01 88 */ lwz r3, 0x188(r31)
|
|
/* 80279EC8 00276E08 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 80279ECC 00276E0C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80279ED0 00276E10 41 82 00 50 */ beq .L_80279F20
|
|
/* 80279ED4 00276E14 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80279ED8 00276E18 28 00 00 02 */ cmplwi r0, 2
|
|
/* 80279EDC 00276E1C 40 82 00 1C */ bne .L_80279EF8
|
|
/* 80279EE0 00276E20 80 9F 02 D8 */ lwz r4, 0x2d8(r31)
|
|
/* 80279EE4 00276E24 28 04 00 00 */ cmplwi r4, 0
|
|
/* 80279EE8 00276E28 41 82 00 38 */ beq .L_80279F20
|
|
/* 80279EEC 00276E2C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279EF0 00276E30 48 00 1D B1 */ bl startDischargeEffect__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj
|
|
/* 80279EF4 00276E34 48 00 00 2C */ b .L_80279F20
|
|
.L_80279EF8:
|
|
/* 80279EF8 00276E38 28 00 03 E8 */ cmplwi r0, 0x3e8
|
|
/* 80279EFC 00276E3C 40 82 00 24 */ bne .L_80279F20
|
|
/* 80279F00 00276E40 7F C3 F3 78 */ mr r3, r30
|
|
/* 80279F04 00276E44 7F E4 FB 78 */ mr r4, r31
|
|
/* 80279F08 00276E48 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 80279F0C 00276E4C 38 A0 00 02 */ li r5, 2
|
|
/* 80279F10 00276E50 38 C0 00 00 */ li r6, 0
|
|
/* 80279F14 00276E54 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 80279F18 00276E58 7D 89 03 A6 */ mtctr r12
|
|
/* 80279F1C 00276E5C 4E 80 04 21 */ bctrl
|
|
.L_80279F20:
|
|
/* 80279F20 00276E60 80 6D 9A EC */ lwz r3, sys@sda21(r13)
|
|
/* 80279F24 00276E64 C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 80279F28 00276E68 C0 03 00 54 */ lfs f0, 0x54(r3)
|
|
/* 80279F2C 00276E6C EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 80279F30 00276E70 D0 1F 02 C4 */ stfs f0, 0x2c4(r31)
|
|
/* 80279F34 00276E74 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80279F38 00276E78 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80279F3C 00276E7C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80279F40 00276E80 7C 08 03 A6 */ mtlr r0
|
|
/* 80279F44 00276E84 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80279F48 00276E88 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase:
|
|
/* 80279F4C 00276E8C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80279F50 00276E90 7C 08 02 A6 */ mflr r0
|
|
/* 80279F54 00276E94 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80279F58 00276E98 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80279F5C 00276E9C 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279F60 00276EA0 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279F64 00276EA4 4B E8 7A 19 */ bl setEmotionCaution__Q24Game9EnemyBaseFv
|
|
/* 80279F68 00276EA8 4B E4 F6 39 */ bl rand
|
|
/* 80279F6C 00276EAC 6C 63 80 00 */ xoris r3, r3, 0x8000
|
|
/* 80279F70 00276EB0 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 80279F74 00276EB4 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 80279F78 00276EB8 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279F7C 00276EBC C8 62 D1 58 */ lfd f3, lbl_8051B4B8@sda21(r2)
|
|
/* 80279F80 00276EC0 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 80279F84 00276EC4 C0 22 D1 60 */ lfs f1, lbl_8051B4C0@sda21(r2)
|
|
/* 80279F88 00276EC8 C8 41 00 08 */ lfd f2, 8(r1)
|
|
/* 80279F8C 00276ECC C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2)
|
|
/* 80279F90 00276ED0 EC 42 18 28 */ fsubs f2, f2, f3
|
|
/* 80279F94 00276ED4 EC 21 00 B2 */ fmuls f1, f1, f2
|
|
/* 80279F98 00276ED8 EC 01 00 24 */ fdivs f0, f1, f0
|
|
/* 80279F9C 00276EDC D0 1F 02 C0 */ stfs f0, 0x2c0(r31)
|
|
/* 80279FA0 00276EE0 48 00 1D C1 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
|
|
/* 80279FA4 00276EE4 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80279FA8 00276EE8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80279FAC 00276EEC 7C 08 03 A6 */ mtlr r0
|
|
/* 80279FB0 00276EF0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80279FB4 00276EF4 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 80279FB8 00276EF8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80279FBC 00276EFC 7C 08 02 A6 */ mflr r0
|
|
/* 80279FC0 00276F00 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 80279FC4 00276F04 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80279FC8 00276F08 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80279FCC 00276F0C 7C 9F 23 78 */ mr r31, r4
|
|
/* 80279FD0 00276F10 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279FD4 00276F14 D0 04 02 C4 */ stfs f0, 0x2c4(r4)
|
|
/* 80279FD8 00276F18 48 00 1C 89 */ bl startChargeEffect__Q34Game7ElecBug3ObjFv
|
|
/* 80279FDC 00276F1C 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
|
|
/* 80279FE0 00276F20 7F E3 FB 78 */ mr r3, r31
|
|
/* 80279FE4 00276F24 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 80279FE8 00276F28 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18
|
|
/* 80279FEC 00276F2C 90 1F 01 E0 */ stw r0, 0x1e0(r31)
|
|
/* 80279FF0 00276F30 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
|
|
/* 80279FF4 00276F34 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
|
|
/* 80279FF8 00276F38 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
|
|
/* 80279FFC 00276F3C 4B E8 79 D1 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv
|
|
/* 8027A000 00276F40 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A004 00276F44 38 80 00 03 */ li r4, 3
|
|
/* 8027A008 00276F48 38 A0 00 00 */ li r5, 0
|
|
/* 8027A00C 00276F4C 4B E8 AF F9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 8027A010 00276F50 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A014 00276F54 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8027A018 00276F58 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A01C 00276F5C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A020 00276F60 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase:
|
|
/* 8027A024 00276F64 94 21 FF 70 */ stwu r1, -0x90(r1)
|
|
/* 8027A028 00276F68 7C 08 02 A6 */ mflr r0
|
|
/* 8027A02C 00276F6C 90 01 00 94 */ stw r0, 0x94(r1)
|
|
/* 8027A030 00276F70 DB E1 00 80 */ stfd f31, 0x80(r1)
|
|
/* 8027A034 00276F74 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
|
|
/* 8027A038 00276F78 DB C1 00 70 */ stfd f30, 0x70(r1)
|
|
/* 8027A03C 00276F7C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0
|
|
/* 8027A040 00276F80 DB A1 00 60 */ stfd f29, 0x60(r1)
|
|
/* 8027A044 00276F84 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0
|
|
/* 8027A048 00276F88 DB 81 00 50 */ stfd f28, 0x50(r1)
|
|
/* 8027A04C 00276F8C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0
|
|
/* 8027A050 00276F90 93 E1 00 4C */ stw r31, 0x4c(r1)
|
|
/* 8027A054 00276F94 93 C1 00 48 */ stw r30, 0x48(r1)
|
|
/* 8027A058 00276F98 93 A1 00 44 */ stw r29, 0x44(r1)
|
|
/* 8027A05C 00276F9C 83 E4 02 D8 */ lwz r31, 0x2d8(r4)
|
|
/* 8027A060 00276FA0 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8027A064 00276FA4 7C 9E 23 78 */ mr r30, r4
|
|
/* 8027A068 00276FA8 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8027A06C 00276FAC 41 82 01 2C */ beq .L_8027A198
|
|
/* 8027A070 00276FB0 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 8027A074 00276FB4 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 8027A078 00276FB8 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8027A07C 00276FBC 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A080 00276FC0 4E 80 04 21 */ bctrl
|
|
/* 8027A084 00276FC4 7F E4 FB 78 */ mr r4, r31
|
|
/* 8027A088 00276FC8 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 8027A08C 00276FCC 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 8027A090 00276FD0 C3 C1 00 2C */ lfs f30, 0x2c(r1)
|
|
/* 8027A094 00276FD4 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8027A098 00276FD8 C3 E1 00 34 */ lfs f31, 0x34(r1)
|
|
/* 8027A09C 00276FDC 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A0A0 00276FE0 4E 80 04 21 */ bctrl
|
|
/* 8027A0A4 00276FE4 C0 21 00 20 */ lfs f1, 0x20(r1)
|
|
/* 8027A0A8 00276FE8 7F C4 F3 78 */ mr r4, r30
|
|
/* 8027A0AC 00276FEC C0 01 00 28 */ lfs f0, 0x28(r1)
|
|
/* 8027A0B0 00276FF0 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 8027A0B4 00276FF4 EF BE 08 28 */ fsubs f29, f30, f1
|
|
/* 8027A0B8 00276FF8 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 8027A0BC 00276FFC EF 9F 00 28 */ fsubs f28, f31, f0
|
|
/* 8027A0C0 00277000 80 BE 00 C0 */ lwz r5, 0xc0(r30)
|
|
/* 8027A0C4 00277004 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8027A0C8 00277008 EF BD F0 2A */ fadds f29, f29, f30
|
|
/* 8027A0CC 0027700C EF 9C F8 2A */ fadds f28, f28, f31
|
|
/* 8027A0D0 00277010 C3 E5 03 34 */ lfs f31, 0x334(r5)
|
|
/* 8027A0D4 00277014 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A0D8 00277018 4E 80 04 21 */ bctrl
|
|
/* 8027A0DC 0027701C C0 81 00 14 */ lfs f4, 0x14(r1)
|
|
/* 8027A0E0 00277020 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
|
|
/* 8027A0E4 00277024 C0 01 00 1C */ lfs f0, 0x1c(r1)
|
|
/* 8027A0E8 00277028 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
|
|
/* 8027A0EC 0027702C C0 61 00 18 */ lfs f3, 0x18(r1)
|
|
/* 8027A0F0 00277030 EC 3D 20 28 */ fsubs f1, f29, f4
|
|
/* 8027A0F4 00277034 EC 5C 00 28 */ fsubs f2, f28, f0
|
|
/* 8027A0F8 00277038 D0 81 00 08 */ stfs f4, 8(r1)
|
|
/* 8027A0FC 0027703C D0 61 00 0C */ stfs f3, 0xc(r1)
|
|
/* 8027A100 00277040 D0 01 00 10 */ stfs f0, 0x10(r1)
|
|
/* 8027A104 00277044 4B DB B0 05 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
|
|
/* 8027A108 00277048 48 19 7A C9 */ bl roundAng__Ff
|
|
/* 8027A10C 0027704C 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 8027A110 00277050 FF C0 08 90 */ fmr f30, f1
|
|
/* 8027A114 00277054 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027A118 00277058 81 8C 00 64 */ lwz r12, 0x64(r12)
|
|
/* 8027A11C 0027705C 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A120 00277060 4E 80 04 21 */ bctrl
|
|
/* 8027A124 00277064 FC 40 08 90 */ fmr f2, f1
|
|
/* 8027A128 00277068 FC 20 F0 90 */ fmr f1, f30
|
|
/* 8027A12C 0027706C 48 19 7A D1 */ bl angDist__Fff
|
|
/* 8027A130 00277070 C0 42 D1 4C */ lfs f2, lbl_8051B4AC@sda21(r2)
|
|
/* 8027A134 00277074 C0 02 D1 30 */ lfs f0, lbl_8051B490@sda21(r2)
|
|
/* 8027A138 00277078 EF C1 00 B2 */ fmuls f30, f1, f2
|
|
/* 8027A13C 0027707C C0 22 D1 2C */ lfs f1, lbl_8051B48C@sda21(r2)
|
|
/* 8027A140 00277080 EC 00 07 F2 */ fmuls f0, f0, f31
|
|
/* 8027A144 00277084 FC 40 F2 10 */ fabs f2, f30
|
|
/* 8027A148 00277088 EC 21 00 32 */ fmuls f1, f1, f0
|
|
/* 8027A14C 0027708C FC 00 10 18 */ frsp f0, f2
|
|
/* 8027A150 00277090 FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 8027A154 00277094 40 81 00 1C */ ble .L_8027A170
|
|
/* 8027A158 00277098 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 8027A15C 0027709C FC 1E 00 40 */ fcmpo cr0, f30, f0
|
|
/* 8027A160 002770A0 40 81 00 0C */ ble .L_8027A16C
|
|
/* 8027A164 002770A4 FF C0 08 90 */ fmr f30, f1
|
|
/* 8027A168 002770A8 48 00 00 08 */ b .L_8027A170
|
|
.L_8027A16C:
|
|
/* 8027A16C 002770AC FF C0 08 50 */ fneg f30, f1
|
|
.L_8027A170:
|
|
/* 8027A170 002770B0 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027A174 002770B4 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 8027A178 002770B8 81 8C 00 64 */ lwz r12, 0x64(r12)
|
|
/* 8027A17C 002770BC 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A180 002770C0 4E 80 04 21 */ bctrl
|
|
/* 8027A184 002770C4 EC 3E 08 2A */ fadds f1, f30, f1
|
|
/* 8027A188 002770C8 48 19 7A 49 */ bl roundAng__Ff
|
|
/* 8027A18C 002770CC D0 3E 01 FC */ stfs f1, 0x1fc(r30)
|
|
/* 8027A190 002770D0 C0 1E 01 FC */ lfs f0, 0x1fc(r30)
|
|
/* 8027A194 002770D4 D0 1E 01 A8 */ stfs f0, 0x1a8(r30)
|
|
.L_8027A198:
|
|
/* 8027A198 002770D8 C0 3E 02 C4 */ lfs f1, 0x2c4(r30)
|
|
/* 8027A19C 002770DC C0 02 D1 64 */ lfs f0, lbl_8051B4C4@sda21(r2)
|
|
/* 8027A1A0 002770E0 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 8027A1A4 002770E4 40 81 00 58 */ ble .L_8027A1FC
|
|
/* 8027A1A8 002770E8 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8027A1AC 002770EC 41 82 00 28 */ beq .L_8027A1D4
|
|
/* 8027A1B0 002770F0 7F A3 EB 78 */ mr r3, r29
|
|
/* 8027A1B4 002770F4 7F C4 F3 78 */ mr r4, r30
|
|
/* 8027A1B8 002770F8 81 9D 00 00 */ lwz r12, 0(r29)
|
|
/* 8027A1BC 002770FC 38 A0 00 07 */ li r5, 7
|
|
/* 8027A1C0 00277100 38 C0 00 00 */ li r6, 0
|
|
/* 8027A1C4 00277104 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8027A1C8 00277108 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A1CC 0027710C 4E 80 04 21 */ bctrl
|
|
/* 8027A1D0 00277110 48 00 00 2C */ b .L_8027A1FC
|
|
.L_8027A1D4:
|
|
/* 8027A1D4 00277114 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027A1D8 00277118 48 00 1B 89 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
|
|
/* 8027A1DC 0027711C 7F A3 EB 78 */ mr r3, r29
|
|
/* 8027A1E0 00277120 7F C4 F3 78 */ mr r4, r30
|
|
/* 8027A1E4 00277124 81 9D 00 00 */ lwz r12, 0(r29)
|
|
/* 8027A1E8 00277128 38 A0 00 02 */ li r5, 2
|
|
/* 8027A1EC 0027712C 38 C0 00 00 */ li r6, 0
|
|
/* 8027A1F0 00277130 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8027A1F4 00277134 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A1F8 00277138 4E 80 04 21 */ bctrl
|
|
.L_8027A1FC:
|
|
/* 8027A1FC 0027713C 80 6D 9A EC */ lwz r3, sys@sda21(r13)
|
|
/* 8027A200 00277140 C0 3E 02 C4 */ lfs f1, 0x2c4(r30)
|
|
/* 8027A204 00277144 C0 03 00 54 */ lfs f0, 0x54(r3)
|
|
/* 8027A208 00277148 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8027A20C 0027714C D0 1E 02 C4 */ stfs f0, 0x2c4(r30)
|
|
/* 8027A210 00277150 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
|
|
/* 8027A214 00277154 CB E1 00 80 */ lfd f31, 0x80(r1)
|
|
/* 8027A218 00277158 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0
|
|
/* 8027A21C 0027715C CB C1 00 70 */ lfd f30, 0x70(r1)
|
|
/* 8027A220 00277160 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0
|
|
/* 8027A224 00277164 CB A1 00 60 */ lfd f29, 0x60(r1)
|
|
/* 8027A228 00277168 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0
|
|
/* 8027A22C 0027716C CB 81 00 50 */ lfd f28, 0x50(r1)
|
|
/* 8027A230 00277170 83 E1 00 4C */ lwz r31, 0x4c(r1)
|
|
/* 8027A234 00277174 83 C1 00 48 */ lwz r30, 0x48(r1)
|
|
/* 8027A238 00277178 80 01 00 94 */ lwz r0, 0x94(r1)
|
|
/* 8027A23C 0027717C 83 A1 00 44 */ lwz r29, 0x44(r1)
|
|
/* 8027A240 00277180 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A244 00277184 38 21 00 90 */ addi r1, r1, 0x90
|
|
/* 8027A248 00277188 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase:
|
|
/* 8027A24C 0027718C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8027A250 00277190 7C 08 02 A6 */ mflr r0
|
|
/* 8027A254 00277194 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8027A258 00277198 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8027A25C 0027719C 7C 9F 23 78 */ mr r31, r4
|
|
/* 8027A260 002771A0 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A264 002771A4 4B E8 77 19 */ bl setEmotionCaution__Q24Game9EnemyBaseFv
|
|
/* 8027A268 002771A8 4B E4 F3 39 */ bl rand
|
|
/* 8027A26C 002771AC 6C 63 80 00 */ xoris r3, r3, 0x8000
|
|
/* 8027A270 002771B0 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 8027A274 002771B4 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8027A278 002771B8 C8 62 D1 58 */ lfd f3, lbl_8051B4B8@sda21(r2)
|
|
/* 8027A27C 002771BC 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 8027A280 002771C0 C0 22 D1 60 */ lfs f1, lbl_8051B4C0@sda21(r2)
|
|
/* 8027A284 002771C4 C8 41 00 08 */ lfd f2, 8(r1)
|
|
/* 8027A288 002771C8 C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2)
|
|
/* 8027A28C 002771CC EC 42 18 28 */ fsubs f2, f2, f3
|
|
/* 8027A290 002771D0 EC 21 00 B2 */ fmuls f1, f1, f2
|
|
/* 8027A294 002771D4 EC 01 00 24 */ fdivs f0, f1, f0
|
|
/* 8027A298 002771D8 D0 1F 02 C0 */ stfs f0, 0x2c0(r31)
|
|
/* 8027A29C 002771DC 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8027A2A0 002771E0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8027A2A4 002771E4 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A2A8 002771E8 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8027A2AC 002771EC 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 8027A2B0 002771F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A2B4 002771F4 7C 08 02 A6 */ mflr r0
|
|
/* 8027A2B8 002771F8 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 8027A2BC 002771FC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A2C0 00277200 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8027A2C4 00277204 7C 9F 23 78 */ mr r31, r4
|
|
/* 8027A2C8 00277208 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A2CC 0027720C D0 04 02 C4 */ stfs f0, 0x2c4(r4)
|
|
/* 8027A2D0 00277210 80 04 01 E0 */ lwz r0, 0x1e0(r4)
|
|
/* 8027A2D4 00277214 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18
|
|
/* 8027A2D8 00277218 90 04 01 E0 */ stw r0, 0x1e0(r4)
|
|
/* 8027A2DC 0027721C D0 04 01 D4 */ stfs f0, 0x1d4(r4)
|
|
/* 8027A2E0 00277220 D0 04 01 D8 */ stfs f0, 0x1d8(r4)
|
|
/* 8027A2E4 00277224 D0 04 01 DC */ stfs f0, 0x1dc(r4)
|
|
/* 8027A2E8 00277228 4B E8 76 E5 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv
|
|
/* 8027A2EC 0027722C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A2F0 00277230 38 80 00 04 */ li r4, 4
|
|
/* 8027A2F4 00277234 38 A0 00 00 */ li r5, 0
|
|
/* 8027A2F8 00277238 4B E8 AD 0D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 8027A2FC 0027723C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A300 00277240 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8027A304 00277244 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A308 00277248 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A30C 0027724C 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase:
|
|
/* 8027A310 00277250 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A314 00277254 7C 08 02 A6 */ mflr r0
|
|
/* 8027A318 00277258 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A31C 0027725C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8027A320 00277260 7C 9F 23 78 */ mr r31, r4
|
|
/* 8027A324 00277264 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8027A328 00277268 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8027A32C 0027726C 80 04 02 D8 */ lwz r0, 0x2d8(r4)
|
|
/* 8027A330 00277270 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8027A334 00277274 41 82 00 24 */ beq .L_8027A358
|
|
/* 8027A338 00277278 80 7F 00 C0 */ lwz r3, 0xc0(r31)
|
|
/* 8027A33C 0027727C C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 8027A340 00277280 C0 03 08 6C */ lfs f0, 0x86c(r3)
|
|
/* 8027A344 00277284 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 8027A348 00277288 40 81 00 20 */ ble .L_8027A368
|
|
/* 8027A34C 0027728C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A350 00277290 4B E8 AF 51 */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
/* 8027A354 00277294 48 00 00 14 */ b .L_8027A368
|
|
.L_8027A358:
|
|
/* 8027A358 00277298 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A35C 0027729C 48 00 1A 05 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
|
|
/* 8027A360 002772A0 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A364 002772A4 4B E8 AF 3D */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_8027A368:
|
|
/* 8027A368 002772A8 80 7F 01 88 */ lwz r3, 0x188(r31)
|
|
/* 8027A36C 002772AC 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 8027A370 002772B0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8027A374 002772B4 41 82 00 30 */ beq .L_8027A3A4
|
|
/* 8027A378 002772B8 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 8027A37C 002772BC 28 00 03 E8 */ cmplwi r0, 0x3e8
|
|
/* 8027A380 002772C0 40 82 00 24 */ bne .L_8027A3A4
|
|
/* 8027A384 002772C4 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027A388 002772C8 7F E4 FB 78 */ mr r4, r31
|
|
/* 8027A38C 002772CC 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 8027A390 002772D0 38 A0 00 01 */ li r5, 1
|
|
/* 8027A394 002772D4 38 C0 00 00 */ li r6, 0
|
|
/* 8027A398 002772D8 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8027A39C 002772DC 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A3A0 002772E0 4E 80 04 21 */ bctrl
|
|
.L_8027A3A4:
|
|
/* 8027A3A4 002772E4 80 6D 9A EC */ lwz r3, sys@sda21(r13)
|
|
/* 8027A3A8 002772E8 C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 8027A3AC 002772EC C0 03 00 54 */ lfs f0, 0x54(r3)
|
|
/* 8027A3B0 002772F0 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8027A3B4 002772F4 D0 1F 02 C4 */ stfs f0, 0x2c4(r31)
|
|
/* 8027A3B8 002772F8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8027A3BC 002772FC 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8027A3C0 00277300 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A3C4 00277304 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A3C8 00277308 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A3CC 0027730C 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase:
|
|
/* 8027A3D0 00277310 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8027A3D4 00277314 7C 08 02 A6 */ mflr r0
|
|
/* 8027A3D8 00277318 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8027A3DC 0027731C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8027A3E0 00277320 7C 9F 23 78 */ mr r31, r4
|
|
/* 8027A3E4 00277324 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A3E8 00277328 4B E8 75 95 */ bl setEmotionCaution__Q24Game9EnemyBaseFv
|
|
/* 8027A3EC 0027732C 4B E4 F1 B5 */ bl rand
|
|
/* 8027A3F0 00277330 6C 63 80 00 */ xoris r3, r3, 0x8000
|
|
/* 8027A3F4 00277334 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 8027A3F8 00277338 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8027A3FC 0027733C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A400 00277340 C8 62 D1 58 */ lfd f3, lbl_8051B4B8@sda21(r2)
|
|
/* 8027A404 00277344 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 8027A408 00277348 C0 22 D1 60 */ lfs f1, lbl_8051B4C0@sda21(r2)
|
|
/* 8027A40C 0027734C C8 41 00 08 */ lfd f2, 8(r1)
|
|
/* 8027A410 00277350 C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2)
|
|
/* 8027A414 00277354 EC 42 18 28 */ fsubs f2, f2, f3
|
|
/* 8027A418 00277358 EC 21 00 B2 */ fmuls f1, f1, f2
|
|
/* 8027A41C 0027735C EC 01 00 24 */ fdivs f0, f1, f0
|
|
/* 8027A420 00277360 D0 1F 02 C0 */ stfs f0, 0x2c0(r31)
|
|
/* 8027A424 00277364 48 00 19 3D */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
|
|
/* 8027A428 00277368 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8027A42C 0027736C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8027A430 00277370 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A434 00277374 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8027A438 00277378 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 8027A43C 0027737C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A440 00277380 7C 08 02 A6 */ mflr r0
|
|
/* 8027A444 00277384 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 8027A448 00277388 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A44C 0027738C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8027A450 00277390 7C 9F 23 78 */ mr r31, r4
|
|
/* 8027A454 00277394 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A458 00277398 D0 04 02 C4 */ stfs f0, 0x2c4(r4)
|
|
/* 8027A45C 0027739C 48 00 19 05 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
|
|
/* 8027A460 002773A0 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
|
|
/* 8027A464 002773A4 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A468 002773A8 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 8027A46C 002773AC 38 80 00 05 */ li r4, 5
|
|
/* 8027A470 002773B0 60 00 00 40 */ ori r0, r0, 0x40
|
|
/* 8027A474 002773B4 38 A0 00 00 */ li r5, 0
|
|
/* 8027A478 002773B8 90 1F 01 E0 */ stw r0, 0x1e0(r31)
|
|
/* 8027A47C 002773BC 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
|
|
/* 8027A480 002773C0 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
|
|
/* 8027A484 002773C4 90 1F 01 E0 */ stw r0, 0x1e0(r31)
|
|
/* 8027A488 002773C8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
|
|
/* 8027A48C 002773CC D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
|
|
/* 8027A490 002773D0 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
|
|
/* 8027A494 002773D4 4B E8 AB 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 8027A498 002773D8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A49C 002773DC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8027A4A0 002773E0 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A4A4 002773E4 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A4A8 002773E8 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase:
|
|
/* 8027A4AC 002773EC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A4B0 002773F0 7C 08 02 A6 */ mflr r0
|
|
/* 8027A4B4 002773F4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A4B8 002773F8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8027A4BC 002773FC 7C 9F 23 78 */ mr r31, r4
|
|
/* 8027A4C0 00277400 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8027A4C4 00277404 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8027A4C8 00277408 80 64 00 C0 */ lwz r3, 0xc0(r4)
|
|
/* 8027A4CC 0027740C C0 24 02 C4 */ lfs f1, 0x2c4(r4)
|
|
/* 8027A4D0 00277410 C0 03 08 1C */ lfs f0, 0x81c(r3)
|
|
/* 8027A4D4 00277414 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 8027A4D8 00277418 40 81 00 0C */ ble .L_8027A4E4
|
|
/* 8027A4DC 0027741C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A4E0 00277420 4B E8 AD C1 */ bl finishMotion__Q24Game9EnemyBaseFv
|
|
.L_8027A4E4:
|
|
/* 8027A4E4 00277424 C0 3F 02 00 */ lfs f1, 0x200(r31)
|
|
/* 8027A4E8 00277428 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 8027A4EC 0027742C FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 8027A4F0 00277430 4C 40 13 82 */ cror 2, 0, 2
|
|
/* 8027A4F4 00277434 40 82 00 28 */ bne .L_8027A51C
|
|
/* 8027A4F8 00277438 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027A4FC 0027743C 7F E4 FB 78 */ mr r4, r31
|
|
/* 8027A500 00277440 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 8027A504 00277444 38 A0 00 00 */ li r5, 0
|
|
/* 8027A508 00277448 38 C0 00 00 */ li r6, 0
|
|
/* 8027A50C 0027744C 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8027A510 00277450 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A514 00277454 4E 80 04 21 */ bctrl
|
|
/* 8027A518 00277458 48 00 00 54 */ b .L_8027A56C
|
|
.L_8027A51C:
|
|
/* 8027A51C 0027745C 80 6D 9A EC */ lwz r3, sys@sda21(r13)
|
|
/* 8027A520 00277460 C0 3F 02 C4 */ lfs f1, 0x2c4(r31)
|
|
/* 8027A524 00277464 C0 03 00 54 */ lfs f0, 0x54(r3)
|
|
/* 8027A528 00277468 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 8027A52C 0027746C D0 1F 02 C4 */ stfs f0, 0x2c4(r31)
|
|
/* 8027A530 00277470 80 7F 01 88 */ lwz r3, 0x188(r31)
|
|
/* 8027A534 00277474 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 8027A538 00277478 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8027A53C 0027747C 41 82 00 30 */ beq .L_8027A56C
|
|
/* 8027A540 00277480 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 8027A544 00277484 28 00 03 E8 */ cmplwi r0, 0x3e8
|
|
/* 8027A548 00277488 40 82 00 24 */ bne .L_8027A56C
|
|
/* 8027A54C 0027748C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8027A550 00277490 7F E4 FB 78 */ mr r4, r31
|
|
/* 8027A554 00277494 81 9E 00 00 */ lwz r12, 0(r30)
|
|
/* 8027A558 00277498 38 A0 00 09 */ li r5, 9
|
|
/* 8027A55C 0027749C 38 C0 00 00 */ li r6, 0
|
|
/* 8027A560 002774A0 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8027A564 002774A4 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A568 002774A8 4E 80 04 21 */ bctrl
|
|
.L_8027A56C:
|
|
/* 8027A56C 002774AC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A570 002774B0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8027A574 002774B4 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8027A578 002774B8 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A57C 002774BC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A580 002774C0 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase:
|
|
/* 8027A584 002774C4 80 04 01 E0 */ lwz r0, 0x1e0(r4)
|
|
/* 8027A588 002774C8 60 00 00 01 */ ori r0, r0, 1
|
|
/* 8027A58C 002774CC 90 04 01 E0 */ stw r0, 0x1e0(r4)
|
|
/* 8027A590 002774D0 4E 80 00 20 */ blr
|
|
|
|
.global init__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBasePQ24Game8StateArg
|
|
init__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBasePQ24Game8StateArg:
|
|
/* 8027A594 002774D4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A598 002774D8 7C 08 02 A6 */ mflr r0
|
|
/* 8027A59C 002774DC 7C 83 23 78 */ mr r3, r4
|
|
/* 8027A5A0 002774E0 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2)
|
|
/* 8027A5A4 002774E4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A5A8 002774E8 38 80 00 06 */ li r4, 6
|
|
/* 8027A5AC 002774EC 38 A0 00 00 */ li r5, 0
|
|
/* 8027A5B0 002774F0 80 03 01 E0 */ lwz r0, 0x1e0(r3)
|
|
/* 8027A5B4 002774F4 60 00 00 40 */ ori r0, r0, 0x40
|
|
/* 8027A5B8 002774F8 90 03 01 E0 */ stw r0, 0x1e0(r3)
|
|
/* 8027A5BC 002774FC D0 03 01 D4 */ stfs f0, 0x1d4(r3)
|
|
/* 8027A5C0 00277500 D0 03 01 D8 */ stfs f0, 0x1d8(r3)
|
|
/* 8027A5C4 00277504 D0 03 01 DC */ stfs f0, 0x1dc(r3)
|
|
/* 8027A5C8 00277508 4B E8 AA 3D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
|
|
/* 8027A5CC 0027750C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A5D0 00277510 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A5D4 00277514 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A5D8 00277518 4E 80 00 20 */ blr
|
|
|
|
.global exec__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase
|
|
exec__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase:
|
|
/* 8027A5DC 0027751C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A5E0 00277520 7C 08 02 A6 */ mflr r0
|
|
/* 8027A5E4 00277524 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A5E8 00277528 80 A4 01 88 */ lwz r5, 0x188(r4)
|
|
/* 8027A5EC 0027752C 88 05 00 24 */ lbz r0, 0x24(r5)
|
|
/* 8027A5F0 00277530 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8027A5F4 00277534 41 82 00 28 */ beq .L_8027A61C
|
|
/* 8027A5F8 00277538 80 05 00 1C */ lwz r0, 0x1c(r5)
|
|
/* 8027A5FC 0027753C 28 00 03 E8 */ cmplwi r0, 0x3e8
|
|
/* 8027A600 00277540 40 82 00 1C */ bne .L_8027A61C
|
|
/* 8027A604 00277544 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A608 00277548 38 A0 00 02 */ li r5, 2
|
|
/* 8027A60C 0027754C 38 C0 00 00 */ li r6, 0
|
|
/* 8027A610 00277550 81 8C 00 1C */ lwz r12, 0x1c(r12)
|
|
/* 8027A614 00277554 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A618 00277558 4E 80 04 21 */ bctrl
|
|
.L_8027A61C:
|
|
/* 8027A61C 0027755C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A620 00277560 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A624 00277564 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A628 00277568 4E 80 00 20 */ blr
|
|
|
|
.global cleanup__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase
|
|
cleanup__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase:
|
|
/* 8027A62C 0027756C 4E 80 00 20 */ blr
|
|
|
|
.global "__ml__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv"
|
|
"__ml__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv":
|
|
/* 8027A630 00277570 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A634 00277574 7C 08 02 A6 */ mflr r0
|
|
/* 8027A638 00277578 7C 64 1B 78 */ mr r4, r3
|
|
/* 8027A63C 0027757C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A640 00277580 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 8027A644 00277584 80 84 00 04 */ lwz r4, 4(r4)
|
|
/* 8027A648 00277588 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A64C 0027758C 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 8027A650 00277590 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A654 00277594 4E 80 04 21 */ bctrl
|
|
/* 8027A658 00277598 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A65C 0027759C 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A660 002775A0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A664 002775A4 4E 80 00 20 */ blr
|
|
|
|
.global "next__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv"
|
|
"next__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv":
|
|
/* 8027A668 002775A8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A66C 002775AC 7C 08 02 A6 */ mflr r0
|
|
/* 8027A670 002775B0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A674 002775B4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8027A678 002775B8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8027A67C 002775BC 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
/* 8027A680 002775C0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8027A684 002775C4 40 82 00 24 */ bne .L_8027A6A8
|
|
/* 8027A688 002775C8 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 8027A68C 002775CC 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8027A690 002775D0 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A694 002775D4 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
/* 8027A698 002775D8 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A69C 002775DC 4E 80 04 21 */ bctrl
|
|
/* 8027A6A0 002775E0 90 7F 00 04 */ stw r3, 4(r31)
|
|
/* 8027A6A4 002775E4 48 00 00 94 */ b .L_8027A738
|
|
.L_8027A6A8:
|
|
/* 8027A6A8 002775E8 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 8027A6AC 002775EC 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8027A6B0 002775F0 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A6B4 002775F4 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
/* 8027A6B8 002775F8 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A6BC 002775FC 4E 80 04 21 */ bctrl
|
|
/* 8027A6C0 00277600 90 7F 00 04 */ stw r3, 4(r31)
|
|
/* 8027A6C4 00277604 48 00 00 58 */ b .L_8027A71C
|
|
.L_8027A6C8:
|
|
/* 8027A6C8 00277608 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 8027A6CC 0027760C 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8027A6D0 00277610 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A6D4 00277614 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 8027A6D8 00277618 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A6DC 0027761C 4E 80 04 21 */ bctrl
|
|
/* 8027A6E0 00277620 7C 64 1B 78 */ mr r4, r3
|
|
/* 8027A6E4 00277624 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
/* 8027A6E8 00277628 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A6EC 0027762C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8027A6F0 00277630 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A6F4 00277634 4E 80 04 21 */ bctrl
|
|
/* 8027A6F8 00277638 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8027A6FC 0027763C 40 82 00 3C */ bne .L_8027A738
|
|
/* 8027A700 00277640 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 8027A704 00277644 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8027A708 00277648 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A70C 0027764C 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
/* 8027A710 00277650 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A714 00277654 4E 80 04 21 */ bctrl
|
|
/* 8027A718 00277658 90 7F 00 04 */ stw r3, 4(r31)
|
|
.L_8027A71C:
|
|
/* 8027A71C 0027765C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A720 00277660 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 8027A724 00277664 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 8027A728 00277668 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A72C 0027766C 4E 80 04 21 */ bctrl
|
|
/* 8027A730 00277670 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8027A734 00277674 41 82 FF 94 */ beq .L_8027A6C8
|
|
.L_8027A738:
|
|
/* 8027A738 00277678 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A73C 0027767C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8027A740 00277680 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A744 00277684 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A748 00277688 4E 80 00 20 */ blr
|
|
|
|
.global "first__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv"
|
|
"first__Q24Game34EnemyIterator<Q34Game7ElecBug3Obj>Fv":
|
|
/* 8027A74C 0027768C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8027A750 00277690 7C 08 02 A6 */ mflr r0
|
|
/* 8027A754 00277694 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8027A758 00277698 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8027A75C 0027769C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8027A760 002776A0 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
/* 8027A764 002776A4 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8027A768 002776A8 40 82 00 20 */ bne .L_8027A788
|
|
/* 8027A76C 002776AC 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 8027A770 002776B0 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A774 002776B4 81 8C 00 18 */ lwz r12, 0x18(r12)
|
|
/* 8027A778 002776B8 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A77C 002776BC 4E 80 04 21 */ bctrl
|
|
/* 8027A780 002776C0 90 7F 00 04 */ stw r3, 4(r31)
|
|
/* 8027A784 002776C4 48 00 00 90 */ b .L_8027A814
|
|
.L_8027A788:
|
|
/* 8027A788 002776C8 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 8027A78C 002776CC 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A790 002776D0 81 8C 00 18 */ lwz r12, 0x18(r12)
|
|
/* 8027A794 002776D4 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A798 002776D8 4E 80 04 21 */ bctrl
|
|
/* 8027A79C 002776DC 90 7F 00 04 */ stw r3, 4(r31)
|
|
/* 8027A7A0 002776E0 48 00 00 58 */ b .L_8027A7F8
|
|
.L_8027A7A4:
|
|
/* 8027A7A4 002776E4 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 8027A7A8 002776E8 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8027A7AC 002776EC 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A7B0 002776F0 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 8027A7B4 002776F4 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A7B8 002776F8 4E 80 04 21 */ bctrl
|
|
/* 8027A7BC 002776FC 7C 64 1B 78 */ mr r4, r3
|
|
/* 8027A7C0 00277700 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
/* 8027A7C4 00277704 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A7C8 00277708 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8027A7CC 0027770C 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A7D0 00277710 4E 80 04 21 */ bctrl
|
|
/* 8027A7D4 00277714 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8027A7D8 00277718 40 82 00 3C */ bne .L_8027A814
|
|
/* 8027A7DC 0027771C 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 8027A7E0 00277720 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8027A7E4 00277724 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8027A7E8 00277728 81 8C 00 14 */ lwz r12, 0x14(r12)
|
|
/* 8027A7EC 0027772C 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A7F0 00277730 4E 80 04 21 */ bctrl
|
|
/* 8027A7F4 00277734 90 7F 00 04 */ stw r3, 4(r31)
|
|
.L_8027A7F8:
|
|
/* 8027A7F8 00277738 7F E3 FB 78 */ mr r3, r31
|
|
/* 8027A7FC 0027773C 81 9F 00 00 */ lwz r12, 0(r31)
|
|
/* 8027A800 00277740 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 8027A804 00277744 7D 89 03 A6 */ mtctr r12
|
|
/* 8027A808 00277748 4E 80 04 21 */ bctrl
|
|
/* 8027A80C 0027774C 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8027A810 00277750 41 82 FF 94 */ beq .L_8027A7A4
|
|
.L_8027A814:
|
|
/* 8027A814 00277754 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8027A818 00277758 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8027A81C 0027775C 7C 08 03 A6 */ mtlr r0
|
|
/* 8027A820 00277760 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8027A824 00277764 4E 80 00 20 */ blr
|