pikmin2/asm/plugProjectNishimuraU/KumaChappyState.s
EpochFlame 75c3292df0 reduce label emissions
linkmap goes faster now
2022-11-03 17:02:42 -04:00

3738 lines
191 KiB
ArmAsm

.include "macros.inc"
.section .rodata # 0x804732E0 - 0x8049E220
.balign 8
.global lbl_804888C8
lbl_804888C8:
.4byte 0x7475726E
.4byte 0x70617468
.4byte 0x00000000
.global lbl_804888D4
lbl_804888D4:
.4byte 0x77616C6B
.4byte 0x70617468
.4byte 0x00000000
.section .data, "wa" # 0x8049E220 - 0x804EFC20
.balign 8
.global __vt__Q34Game10KumaChappy13StateWalkPath
__vt__Q34Game10KumaChappy13StateWalkPath:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy9StateWalk
__vt__Q34Game10KumaChappy9StateWalk:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy13StateTurnPath
__vt__Q34Game10KumaChappy13StateTurnPath:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy9StateTurn
__vt__Q34Game10KumaChappy9StateTurn:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy10StateFlick
__vt__Q34Game10KumaChappy10StateFlick:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy11StateAttack
__vt__Q34Game10KumaChappy11StateAttack:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy9StateLost
__vt__Q34Game10KumaChappy9StateLost:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy12StateRebirth
__vt__Q34Game10KumaChappy12StateRebirth:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy9StateDead
__vt__Q34Game10KumaChappy9StateDead:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg
.4byte exec__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBase
.4byte cleanup__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBase
.4byte resume__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte restart__Q24Game13EnemyFSMStateFPQ24Game9EnemyBase
.4byte transit__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game13EnemyFSMStateFPQ24Game9EnemyBaseR8Graphics
.global __vt__Q34Game10KumaChappy5State
__vt__Q34Game10KumaChappy5State:
.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__Q34Game10KumaChappy3FSM
__vt__Q34Game10KumaChappy3FSM:
.4byte 0
.4byte 0
.4byte init__Q34Game10KumaChappy3FSMFPQ24Game9EnemyBase
.4byte start__Q24Game17EnemyStateMachineFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte exec__Q24Game17EnemyStateMachineFPQ24Game9EnemyBase
.4byte transit__Q24Game17EnemyStateMachineFPQ24Game9EnemyBaseiPQ24Game8StateArg
.4byte doDirectDraw__Q24Game17EnemyStateMachineFPQ24Game9EnemyBaseR8Graphics
.4byte getCurrState__Q24Game17EnemyStateMachineFPQ24Game9EnemyBase
.4byte setCurrState__Q24Game17EnemyStateMachineFPQ24Game9EnemyBasePQ24Game13EnemyFSMState
.4byte 0
.section .sdata2, "a" # 0x80516360 - 0x80520E40
.balign 8
.global lbl_8051BAE0
lbl_8051BAE0:
.4byte 0x64656164
.4byte 0x00000000
.global lbl_8051BAE8
lbl_8051BAE8:
.4byte 0x72656269
.4byte 0x72746800
.global lbl_8051BAF0
lbl_8051BAF0:
.4byte 0x6C6F7374
.4byte 0x00000000
.global lbl_8051BAF8
lbl_8051BAF8:
.4byte 0x61747461
.4byte 0x636B0000
.global lbl_8051BB00
lbl_8051BB00:
.4byte 0x666C6963
.4byte 0x6B000000
.global lbl_8051BB08
lbl_8051BB08:
.4byte 0x7475726E
.4byte 0x00000000
.global lbl_8051BB10
lbl_8051BB10:
.4byte 0x77616C6B
.4byte 0x00000000
.global lbl_8051BB18
lbl_8051BB18:
.4byte 0x00000000
.global lbl_8051BB1C
lbl_8051BB1C:
.4byte 0xC47A0000
.global lbl_8051BB20
lbl_8051BB20:
.4byte 0x40490FDB
.global lbl_8051BB24
lbl_8051BB24:
.4byte 0x3BB60B61
.global lbl_8051BB28
lbl_8051BB28:
.4byte 0x3F490FDB
.global lbl_8051BB2C
lbl_8051BB2C:
.4byte 0x42700000
.global lbl_8051BB30
lbl_8051BB30:
.4byte 0x41F00000
.global lbl_8051BB34
lbl_8051BB34:
.4byte 0x42340000
.global lbl_8051BB38
lbl_8051BB38:
.4byte 0x3C23D70A
.global lbl_8051BB3C
lbl_8051BB3C:
.float 1.0
.global lbl_8051BB40
lbl_8051BB40:
.float 0.5
.4byte 0x00000000
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global init__Q34Game10KumaChappy3FSMFPQ24Game9EnemyBase
init__Q34Game10KumaChappy3FSMFPQ24Game9EnemyBase:
/* 80295E28 00292D68 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80295E2C 00292D6C 7C 08 02 A6 */ mflr r0
/* 80295E30 00292D70 38 80 00 09 */ li r4, 9
/* 80295E34 00292D74 90 01 00 14 */ stw r0, 0x14(r1)
/* 80295E38 00292D78 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80295E3C 00292D7C 7C 7F 1B 78 */ mr r31, r3
/* 80295E40 00292D80 4B E9 AA 25 */ bl create__Q24Game17EnemyStateMachineFi
/* 80295E44 00292D84 38 60 00 10 */ li r3, 0x10
/* 80295E48 00292D88 4B D8 E0 5D */ bl __nw__FUl
/* 80295E4C 00292D8C 7C 64 1B 79 */ or. r4, r3, r3
/* 80295E50 00292D90 41 82 00 3C */ beq .L_80295E8C
/* 80295E54 00292D94 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 80295E58 00292D98 3C A0 80 4D */ lis r5, __vt__Q34Game10KumaChappy5State@ha
/* 80295E5C 00292D9C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 80295E60 00292DA0 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy9StateDead@ha
/* 80295E64 00292DA4 90 04 00 00 */ stw r0, 0(r4)
/* 80295E68 00292DA8 38 E0 00 00 */ li r7, 0
/* 80295E6C 00292DAC 38 C5 BB 2C */ addi r6, r5, __vt__Q34Game10KumaChappy5State@l
/* 80295E70 00292DB0 38 A2 D7 80 */ addi r5, r2, lbl_8051BAE0@sda21
/* 80295E74 00292DB4 90 E4 00 04 */ stw r7, 4(r4)
/* 80295E78 00292DB8 38 03 BB 08 */ addi r0, r3, __vt__Q34Game10KumaChappy9StateDead@l
/* 80295E7C 00292DBC 90 E4 00 08 */ stw r7, 8(r4)
/* 80295E80 00292DC0 90 C4 00 00 */ stw r6, 0(r4)
/* 80295E84 00292DC4 90 A4 00 0C */ stw r5, 0xc(r4)
/* 80295E88 00292DC8 90 04 00 00 */ stw r0, 0(r4)
.L_80295E8C:
/* 80295E8C 00292DCC 7F E3 FB 78 */ mr r3, r31
/* 80295E90 00292DD0 4B E9 AA 79 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 80295E94 00292DD4 38 60 00 10 */ li r3, 0x10
/* 80295E98 00292DD8 4B D8 E0 0D */ bl __nw__FUl
/* 80295E9C 00292DDC 7C 64 1B 79 */ or. r4, r3, r3
/* 80295EA0 00292DE0 41 82 00 40 */ beq .L_80295EE0
/* 80295EA4 00292DE4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 80295EA8 00292DE8 3C A0 80 4D */ lis r5, __vt__Q34Game10KumaChappy5State@ha
/* 80295EAC 00292DEC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 80295EB0 00292DF0 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy12StateRebirth@ha
/* 80295EB4 00292DF4 90 04 00 00 */ stw r0, 0(r4)
/* 80295EB8 00292DF8 38 00 00 01 */ li r0, 1
/* 80295EBC 00292DFC 38 E0 00 00 */ li r7, 0
/* 80295EC0 00292E00 38 C5 BB 2C */ addi r6, r5, __vt__Q34Game10KumaChappy5State@l
/* 80295EC4 00292E04 90 04 00 04 */ stw r0, 4(r4)
/* 80295EC8 00292E08 38 A2 D7 88 */ addi r5, r2, lbl_8051BAE8@sda21
/* 80295ECC 00292E0C 38 03 BA E4 */ addi r0, r3, __vt__Q34Game10KumaChappy12StateRebirth@l
/* 80295ED0 00292E10 90 E4 00 08 */ stw r7, 8(r4)
/* 80295ED4 00292E14 90 C4 00 00 */ stw r6, 0(r4)
/* 80295ED8 00292E18 90 A4 00 0C */ stw r5, 0xc(r4)
/* 80295EDC 00292E1C 90 04 00 00 */ stw r0, 0(r4)
.L_80295EE0:
/* 80295EE0 00292E20 7F E3 FB 78 */ mr r3, r31
/* 80295EE4 00292E24 4B E9 AA 25 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 80295EE8 00292E28 38 60 00 10 */ li r3, 0x10
/* 80295EEC 00292E2C 4B D8 DF B9 */ bl __nw__FUl
/* 80295EF0 00292E30 7C 64 1B 79 */ or. r4, r3, r3
/* 80295EF4 00292E34 41 82 00 40 */ beq .L_80295F34
/* 80295EF8 00292E38 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 80295EFC 00292E3C 3C A0 80 4D */ lis r5, __vt__Q34Game10KumaChappy5State@ha
/* 80295F00 00292E40 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 80295F04 00292E44 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy9StateLost@ha
/* 80295F08 00292E48 90 04 00 00 */ stw r0, 0(r4)
/* 80295F0C 00292E4C 38 00 00 02 */ li r0, 2
/* 80295F10 00292E50 38 E0 00 00 */ li r7, 0
/* 80295F14 00292E54 38 C5 BB 2C */ addi r6, r5, __vt__Q34Game10KumaChappy5State@l
/* 80295F18 00292E58 90 04 00 04 */ stw r0, 4(r4)
/* 80295F1C 00292E5C 38 A2 D7 90 */ addi r5, r2, lbl_8051BAF0@sda21
/* 80295F20 00292E60 38 03 BA C0 */ addi r0, r3, __vt__Q34Game10KumaChappy9StateLost@l
/* 80295F24 00292E64 90 E4 00 08 */ stw r7, 8(r4)
/* 80295F28 00292E68 90 C4 00 00 */ stw r6, 0(r4)
/* 80295F2C 00292E6C 90 A4 00 0C */ stw r5, 0xc(r4)
/* 80295F30 00292E70 90 04 00 00 */ stw r0, 0(r4)
.L_80295F34:
/* 80295F34 00292E74 7F E3 FB 78 */ mr r3, r31
/* 80295F38 00292E78 4B E9 A9 D1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 80295F3C 00292E7C 38 60 00 10 */ li r3, 0x10
/* 80295F40 00292E80 4B D8 DF 65 */ bl __nw__FUl
/* 80295F44 00292E84 7C 64 1B 79 */ or. r4, r3, r3
/* 80295F48 00292E88 41 82 00 40 */ beq .L_80295F88
/* 80295F4C 00292E8C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 80295F50 00292E90 3C A0 80 4D */ lis r5, __vt__Q34Game10KumaChappy5State@ha
/* 80295F54 00292E94 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 80295F58 00292E98 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy11StateAttack@ha
/* 80295F5C 00292E9C 90 04 00 00 */ stw r0, 0(r4)
/* 80295F60 00292EA0 38 00 00 03 */ li r0, 3
/* 80295F64 00292EA4 38 E0 00 00 */ li r7, 0
/* 80295F68 00292EA8 38 C5 BB 2C */ addi r6, r5, __vt__Q34Game10KumaChappy5State@l
/* 80295F6C 00292EAC 90 04 00 04 */ stw r0, 4(r4)
/* 80295F70 00292EB0 38 A2 D7 98 */ addi r5, r2, lbl_8051BAF8@sda21
/* 80295F74 00292EB4 38 03 BA 9C */ addi r0, r3, __vt__Q34Game10KumaChappy11StateAttack@l
/* 80295F78 00292EB8 90 E4 00 08 */ stw r7, 8(r4)
/* 80295F7C 00292EBC 90 C4 00 00 */ stw r6, 0(r4)
/* 80295F80 00292EC0 90 A4 00 0C */ stw r5, 0xc(r4)
/* 80295F84 00292EC4 90 04 00 00 */ stw r0, 0(r4)
.L_80295F88:
/* 80295F88 00292EC8 7F E3 FB 78 */ mr r3, r31
/* 80295F8C 00292ECC 4B E9 A9 7D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 80295F90 00292ED0 38 60 00 10 */ li r3, 0x10
/* 80295F94 00292ED4 4B D8 DF 11 */ bl __nw__FUl
/* 80295F98 00292ED8 7C 64 1B 79 */ or. r4, r3, r3
/* 80295F9C 00292EDC 41 82 00 40 */ beq .L_80295FDC
/* 80295FA0 00292EE0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 80295FA4 00292EE4 3C A0 80 4D */ lis r5, __vt__Q34Game10KumaChappy5State@ha
/* 80295FA8 00292EE8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 80295FAC 00292EEC 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy10StateFlick@ha
/* 80295FB0 00292EF0 90 04 00 00 */ stw r0, 0(r4)
/* 80295FB4 00292EF4 38 00 00 04 */ li r0, 4
/* 80295FB8 00292EF8 38 E0 00 00 */ li r7, 0
/* 80295FBC 00292EFC 38 C5 BB 2C */ addi r6, r5, __vt__Q34Game10KumaChappy5State@l
/* 80295FC0 00292F00 90 04 00 04 */ stw r0, 4(r4)
/* 80295FC4 00292F04 38 A2 D7 A0 */ addi r5, r2, lbl_8051BB00@sda21
/* 80295FC8 00292F08 38 03 BA 78 */ addi r0, r3, __vt__Q34Game10KumaChappy10StateFlick@l
/* 80295FCC 00292F0C 90 E4 00 08 */ stw r7, 8(r4)
/* 80295FD0 00292F10 90 C4 00 00 */ stw r6, 0(r4)
/* 80295FD4 00292F14 90 A4 00 0C */ stw r5, 0xc(r4)
/* 80295FD8 00292F18 90 04 00 00 */ stw r0, 0(r4)
.L_80295FDC:
/* 80295FDC 00292F1C 7F E3 FB 78 */ mr r3, r31
/* 80295FE0 00292F20 4B E9 A9 29 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 80295FE4 00292F24 38 60 00 10 */ li r3, 0x10
/* 80295FE8 00292F28 4B D8 DE BD */ bl __nw__FUl
/* 80295FEC 00292F2C 7C 64 1B 79 */ or. r4, r3, r3
/* 80295FF0 00292F30 41 82 00 40 */ beq .L_80296030
/* 80295FF4 00292F34 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 80295FF8 00292F38 3C A0 80 4D */ lis r5, __vt__Q34Game10KumaChappy5State@ha
/* 80295FFC 00292F3C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 80296000 00292F40 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy9StateTurn@ha
/* 80296004 00292F44 90 04 00 00 */ stw r0, 0(r4)
/* 80296008 00292F48 38 00 00 05 */ li r0, 5
/* 8029600C 00292F4C 38 E0 00 00 */ li r7, 0
/* 80296010 00292F50 38 C5 BB 2C */ addi r6, r5, __vt__Q34Game10KumaChappy5State@l
/* 80296014 00292F54 90 04 00 04 */ stw r0, 4(r4)
/* 80296018 00292F58 38 A2 D7 A8 */ addi r5, r2, lbl_8051BB08@sda21
/* 8029601C 00292F5C 38 03 BA 54 */ addi r0, r3, __vt__Q34Game10KumaChappy9StateTurn@l
/* 80296020 00292F60 90 E4 00 08 */ stw r7, 8(r4)
/* 80296024 00292F64 90 C4 00 00 */ stw r6, 0(r4)
/* 80296028 00292F68 90 A4 00 0C */ stw r5, 0xc(r4)
/* 8029602C 00292F6C 90 04 00 00 */ stw r0, 0(r4)
.L_80296030:
/* 80296030 00292F70 7F E3 FB 78 */ mr r3, r31
/* 80296034 00292F74 4B E9 A8 D5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 80296038 00292F78 38 60 00 10 */ li r3, 0x10
/* 8029603C 00292F7C 4B D8 DE 69 */ bl __nw__FUl
/* 80296040 00292F80 7C 64 1B 79 */ or. r4, r3, r3
/* 80296044 00292F84 41 82 00 44 */ beq .L_80296088
/* 80296048 00292F88 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 8029604C 00292F8C 3C C0 80 4D */ lis r6, __vt__Q34Game10KumaChappy5State@ha
/* 80296050 00292F90 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 80296054 00292F94 3C A0 80 49 */ lis r5, lbl_804888C8@ha
/* 80296058 00292F98 90 04 00 00 */ stw r0, 0(r4)
/* 8029605C 00292F9C 38 00 00 06 */ li r0, 6
/* 80296060 00292FA0 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy13StateTurnPath@ha
/* 80296064 00292FA4 38 E0 00 00 */ li r7, 0
/* 80296068 00292FA8 90 04 00 04 */ stw r0, 4(r4)
/* 8029606C 00292FAC 38 C6 BB 2C */ addi r6, r6, __vt__Q34Game10KumaChappy5State@l
/* 80296070 00292FB0 38 A5 88 C8 */ addi r5, r5, lbl_804888C8@l
/* 80296074 00292FB4 38 03 BA 30 */ addi r0, r3, __vt__Q34Game10KumaChappy13StateTurnPath@l
/* 80296078 00292FB8 90 E4 00 08 */ stw r7, 8(r4)
/* 8029607C 00292FBC 90 C4 00 00 */ stw r6, 0(r4)
/* 80296080 00292FC0 90 A4 00 0C */ stw r5, 0xc(r4)
/* 80296084 00292FC4 90 04 00 00 */ stw r0, 0(r4)
.L_80296088:
/* 80296088 00292FC8 7F E3 FB 78 */ mr r3, r31
/* 8029608C 00292FCC 4B E9 A8 7D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 80296090 00292FD0 38 60 00 10 */ li r3, 0x10
/* 80296094 00292FD4 4B D8 DE 11 */ bl __nw__FUl
/* 80296098 00292FD8 7C 64 1B 79 */ or. r4, r3, r3
/* 8029609C 00292FDC 41 82 00 40 */ beq .L_802960DC
/* 802960A0 00292FE0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 802960A4 00292FE4 3C A0 80 4D */ lis r5, __vt__Q34Game10KumaChappy5State@ha
/* 802960A8 00292FE8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 802960AC 00292FEC 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy9StateWalk@ha
/* 802960B0 00292FF0 90 04 00 00 */ stw r0, 0(r4)
/* 802960B4 00292FF4 38 00 00 07 */ li r0, 7
/* 802960B8 00292FF8 38 E0 00 00 */ li r7, 0
/* 802960BC 00292FFC 38 C5 BB 2C */ addi r6, r5, __vt__Q34Game10KumaChappy5State@l
/* 802960C0 00293000 90 04 00 04 */ stw r0, 4(r4)
/* 802960C4 00293004 38 A2 D7 B0 */ addi r5, r2, lbl_8051BB10@sda21
/* 802960C8 00293008 38 03 BA 0C */ addi r0, r3, __vt__Q34Game10KumaChappy9StateWalk@l
/* 802960CC 0029300C 90 E4 00 08 */ stw r7, 8(r4)
/* 802960D0 00293010 90 C4 00 00 */ stw r6, 0(r4)
/* 802960D4 00293014 90 A4 00 0C */ stw r5, 0xc(r4)
/* 802960D8 00293018 90 04 00 00 */ stw r0, 0(r4)
.L_802960DC:
/* 802960DC 0029301C 7F E3 FB 78 */ mr r3, r31
/* 802960E0 00293020 4B E9 A8 29 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 802960E4 00293024 38 60 00 10 */ li r3, 0x10
/* 802960E8 00293028 4B D8 DD BD */ bl __nw__FUl
/* 802960EC 0029302C 7C 64 1B 79 */ or. r4, r3, r3
/* 802960F0 00293030 41 82 00 44 */ beq .L_80296134
/* 802960F4 00293034 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha
/* 802960F8 00293038 3C C0 80 4D */ lis r6, __vt__Q34Game10KumaChappy5State@ha
/* 802960FC 0029303C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l
/* 80296100 00293040 3C A0 80 49 */ lis r5, lbl_804888D4@ha
/* 80296104 00293044 90 04 00 00 */ stw r0, 0(r4)
/* 80296108 00293048 38 00 00 08 */ li r0, 8
/* 8029610C 0029304C 3C 60 80 4D */ lis r3, __vt__Q34Game10KumaChappy13StateWalkPath@ha
/* 80296110 00293050 38 E0 00 00 */ li r7, 0
/* 80296114 00293054 90 04 00 04 */ stw r0, 4(r4)
/* 80296118 00293058 38 C6 BB 2C */ addi r6, r6, __vt__Q34Game10KumaChappy5State@l
/* 8029611C 0029305C 38 A5 88 D4 */ addi r5, r5, lbl_804888D4@l
/* 80296120 00293060 38 03 B9 E8 */ addi r0, r3, __vt__Q34Game10KumaChappy13StateWalkPath@l
/* 80296124 00293064 90 E4 00 08 */ stw r7, 8(r4)
/* 80296128 00293068 90 C4 00 00 */ stw r6, 0(r4)
/* 8029612C 0029306C 90 A4 00 0C */ stw r5, 0xc(r4)
/* 80296130 00293070 90 04 00 00 */ stw r0, 0(r4)
.L_80296134:
/* 80296134 00293074 7F E3 FB 78 */ mr r3, r31
/* 80296138 00293078 4B E9 A7 D1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState
/* 8029613C 0029307C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80296140 00293080 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80296144 00293084 7C 08 03 A6 */ mtlr r0
/* 80296148 00293088 38 21 00 10 */ addi r1, r1, 0x10
/* 8029614C 0029308C 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 80296150 00293090 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80296154 00293094 7C 08 02 A6 */ mflr r0
/* 80296158 00293098 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029615C 0029309C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80296160 002930A0 7C 9F 23 78 */ mr r31, r4
/* 80296164 002930A4 7F E3 FB 78 */ mr r3, r31
/* 80296168 002930A8 4B E6 F5 B9 */ bl deathProcedure__Q24Game9EnemyBaseFv
/* 8029616C 002930AC C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80296170 002930B0 7F E3 FB 78 */ mr r3, r31
/* 80296174 002930B4 38 80 00 01 */ li r4, 1
/* 80296178 002930B8 38 A0 00 00 */ li r5, 0
/* 8029617C 002930BC D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 80296180 002930C0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
/* 80296184 002930C4 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
/* 80296188 002930C8 4B E6 EE 7D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 8029618C 002930CC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80296190 002930D0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80296194 002930D4 7C 08 03 A6 */ mtlr r0
/* 80296198 002930D8 38 21 00 10 */ addi r1, r1, 0x10
/* 8029619C 002930DC 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBase:
/* 802961A0 002930E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802961A4 002930E4 7C 08 02 A6 */ mflr r0
/* 802961A8 002930E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 802961AC 002930EC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802961B0 002930F0 7C 9F 23 78 */ mr r31, r4
/* 802961B4 002930F4 80 64 01 88 */ lwz r3, 0x188(r4)
/* 802961B8 002930F8 88 03 00 24 */ lbz r0, 0x24(r3)
/* 802961BC 002930FC 28 00 00 00 */ cmplwi r0, 0
/* 802961C0 00293100 41 82 00 64 */ beq .L_80296224
/* 802961C4 00293104 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 802961C8 00293108 28 00 00 02 */ cmplwi r0, 2
/* 802961CC 0029310C 40 82 00 1C */ bne .L_802961E8
/* 802961D0 00293110 7F E3 FB 78 */ mr r3, r31
/* 802961D4 00293114 81 9F 00 00 */ lwz r12, 0(r31)
/* 802961D8 00293118 81 8C 03 04 */ lwz r12, 0x304(r12)
/* 802961DC 0029311C 7D 89 03 A6 */ mtctr r12
/* 802961E0 00293120 4E 80 04 21 */ bctrl
/* 802961E4 00293124 48 00 00 40 */ b .L_80296224
.L_802961E8:
/* 802961E8 00293128 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 802961EC 0029312C 40 82 00 38 */ bne .L_80296224
/* 802961F0 00293130 7F E3 FB 78 */ mr r3, r31
/* 802961F4 00293134 81 9F 00 00 */ lwz r12, 0(r31)
/* 802961F8 00293138 81 8C 02 58 */ lwz r12, 0x258(r12)
/* 802961FC 0029313C 7D 89 03 A6 */ mtctr r12
/* 80296200 00293140 4E 80 04 21 */ bctrl
/* 80296204 00293144 2C 03 00 23 */ cmpwi r3, 0x23
/* 80296208 00293148 40 82 00 10 */ bne .L_80296218
/* 8029620C 0029314C 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
/* 80296210 00293150 54 00 06 2C */ rlwinm r0, r0, 0, 0x18, 0x16
/* 80296214 00293154 90 1F 01 E0 */ stw r0, 0x1e0(r31)
.L_80296218:
/* 80296218 00293158 7F E3 FB 78 */ mr r3, r31
/* 8029621C 0029315C 38 80 00 00 */ li r4, 0
/* 80296220 00293160 4B EA 4E D1 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg
.L_80296224:
/* 80296224 00293164 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80296228 00293168 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029622C 0029316C 7C 08 03 A6 */ mtlr r0
/* 80296230 00293170 38 21 00 10 */ addi r1, r1, 0x10
/* 80296234 00293174 4E 80 00 20 */ blr
.global getEnemyTypeID__Q34Game10KumaChappy3ObjFv
getEnemyTypeID__Q34Game10KumaChappy3ObjFv:
/* 80296238 00293178 38 60 00 23 */ li r3, 0x23
/* 8029623C 0029317C 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy9StateDeadFPQ24Game9EnemyBase:
/* 80296240 00293180 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 80296244 00293184 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80296248 00293188 7C 08 02 A6 */ mflr r0
/* 8029624C 0029318C 38 A0 FF FF */ li r5, -1
/* 80296250 00293190 7C 83 23 78 */ mr r3, r4
/* 80296254 00293194 90 01 00 14 */ stw r0, 0x14(r1)
/* 80296258 00293198 38 00 00 00 */ li r0, 0
/* 8029625C 0029319C C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80296260 002931A0 90 A4 02 D4 */ stw r5, 0x2d4(r4)
/* 80296264 002931A4 38 80 00 08 */ li r4, 8
/* 80296268 002931A8 38 A0 00 00 */ li r5, 0
/* 8029626C 002931AC 80 C3 01 E0 */ lwz r6, 0x1e0(r3)
/* 80296270 002931B0 54 C6 02 D2 */ rlwinm r6, r6, 0, 0xb, 9
/* 80296274 002931B4 90 C3 01 E0 */ stw r6, 0x1e0(r3)
/* 80296278 002931B8 90 03 02 30 */ stw r0, 0x230(r3)
/* 8029627C 002931BC D0 03 01 D4 */ stfs f0, 0x1d4(r3)
/* 80296280 002931C0 D0 03 01 D8 */ stfs f0, 0x1d8(r3)
/* 80296284 002931C4 D0 03 01 DC */ stfs f0, 0x1dc(r3)
/* 80296288 002931C8 4B E6 ED 7D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 8029628C 002931CC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80296290 002931D0 7C 08 03 A6 */ mtlr r0
/* 80296294 002931D4 38 21 00 10 */ addi r1, r1, 0x10
/* 80296298 002931D8 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBase:
/* 8029629C 002931DC 94 21 FE B0 */ stwu r1, -0x150(r1)
/* 802962A0 002931E0 7C 08 02 A6 */ mflr r0
/* 802962A4 002931E4 90 01 01 54 */ stw r0, 0x154(r1)
/* 802962A8 002931E8 DB E1 01 40 */ stfd f31, 0x140(r1)
/* 802962AC 002931EC F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0
/* 802962B0 002931F0 DB C1 01 30 */ stfd f30, 0x130(r1)
/* 802962B4 002931F4 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0
/* 802962B8 002931F8 DB A1 01 20 */ stfd f29, 0x120(r1)
/* 802962BC 002931FC F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0
/* 802962C0 00293200 DB 81 01 10 */ stfd f28, 0x110(r1)
/* 802962C4 00293204 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0
/* 802962C8 00293208 DB 61 01 00 */ stfd f27, 0x100(r1)
/* 802962CC 0029320C F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0
/* 802962D0 00293210 DB 41 00 F0 */ stfd f26, 0xf0(r1)
/* 802962D4 00293214 F3 41 00 F8 */ psq_st f26, 248(r1), 0, qr0
/* 802962D8 00293218 DB 21 00 E0 */ stfd f25, 0xe0(r1)
/* 802962DC 0029321C F3 21 00 E8 */ psq_st f25, 232(r1), 0, qr0
/* 802962E0 00293220 93 E1 00 DC */ stw r31, 0xdc(r1)
/* 802962E4 00293224 93 C1 00 D8 */ stw r30, 0xd8(r1)
/* 802962E8 00293228 93 A1 00 D4 */ stw r29, 0xd4(r1)
/* 802962EC 0029322C 93 81 00 D0 */ stw r28, 0xd0(r1)
/* 802962F0 00293230 80 A4 01 88 */ lwz r5, 0x188(r4)
/* 802962F4 00293234 7C 7E 1B 78 */ mr r30, r3
/* 802962F8 00293238 7C 9F 23 78 */ mr r31, r4
/* 802962FC 0029323C 88 05 00 24 */ lbz r0, 0x24(r5)
/* 80296300 00293240 28 00 00 00 */ cmplwi r0, 0
/* 80296304 00293244 41 82 04 F0 */ beq .L_802967F4
/* 80296308 00293248 80 05 00 1C */ lwz r0, 0x1c(r5)
/* 8029630C 0029324C 28 00 00 02 */ cmplwi r0, 2
/* 80296310 00293250 40 82 00 70 */ bne .L_80296380
/* 80296314 00293254 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80296318 00293258 7F E3 FB 78 */ mr r3, r31
/* 8029631C 0029325C C0 82 D7 BC */ lfs f4, lbl_8051BB1C@sda21(r2)
/* 80296320 00293260 38 80 00 00 */ li r4, 0
/* 80296324 00293264 C0 25 05 3C */ lfs f1, 0x53c(r5)
/* 80296328 00293268 C0 45 04 C4 */ lfs f2, 0x4c4(r5)
/* 8029632C 0029326C C0 65 04 EC */ lfs f3, 0x4ec(r5)
/* 80296330 00293270 4B E7 CD ED */ bl "flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition<Q24Game4Piki>"
/* 80296334 00293274 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80296338 00293278 7F E3 FB 78 */ mr r3, r31
/* 8029633C 0029327C C0 82 D7 BC */ lfs f4, lbl_8051BB1C@sda21(r2)
/* 80296340 00293280 38 80 00 00 */ li r4, 0
/* 80296344 00293284 C0 25 05 14 */ lfs f1, 0x514(r5)
/* 80296348 00293288 C0 45 04 C4 */ lfs f2, 0x4c4(r5)
/* 8029634C 0029328C C0 65 04 EC */ lfs f3, 0x4ec(r5)
/* 80296350 00293290 4B E7 D1 85 */ bl "flickNearbyPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition<Q24Game4Piki>"
/* 80296354 00293294 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80296358 00293298 7F E3 FB 78 */ mr r3, r31
/* 8029635C 0029329C C0 82 D7 BC */ lfs f4, lbl_8051BB1C@sda21(r2)
/* 80296360 002932A0 38 80 00 00 */ li r4, 0
/* 80296364 002932A4 C0 25 05 14 */ lfs f1, 0x514(r5)
/* 80296368 002932A8 C0 45 04 C4 */ lfs f2, 0x4c4(r5)
/* 8029636C 002932AC C0 65 04 EC */ lfs f3, 0x4ec(r5)
/* 80296370 002932B0 4B E7 D4 21 */ bl "flickNearbyNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition<Q24Game4Navi>"
/* 80296374 002932B4 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80296378 002932B8 D0 1F 02 0C */ stfs f0, 0x20c(r31)
/* 8029637C 002932BC 48 00 04 78 */ b .L_802967F4
.L_80296380:
/* 80296380 002932C0 28 00 00 03 */ cmplwi r0, 3
/* 80296384 002932C4 40 82 00 14 */ bne .L_80296398
/* 80296388 002932C8 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
/* 8029638C 002932CC 64 00 00 20 */ oris r0, r0, 0x20
/* 80296390 002932D0 90 1F 01 E0 */ stw r0, 0x1e0(r31)
/* 80296394 002932D4 48 00 04 60 */ b .L_802967F4
.L_80296398:
/* 80296398 002932D8 28 00 00 04 */ cmplwi r0, 4
/* 8029639C 002932DC 40 82 00 14 */ bne .L_802963B0
/* 802963A0 002932E0 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
/* 802963A4 002932E4 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9
/* 802963A8 002932E8 90 1F 01 E0 */ stw r0, 0x1e0(r31)
/* 802963AC 002932EC 48 00 04 48 */ b .L_802967F4
.L_802963B0:
/* 802963B0 002932F0 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 802963B4 002932F4 40 82 04 40 */ bne .L_802967F4
/* 802963B8 002932F8 C0 3F 02 00 */ lfs f1, 0x200(r31)
/* 802963BC 002932FC C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 802963C0 00293300 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802963C4 00293304 4C 40 13 82 */ cror 2, 0, 2
/* 802963C8 00293308 40 82 00 20 */ bne .L_802963E8
/* 802963CC 0029330C 81 83 00 00 */ lwz r12, 0(r3)
/* 802963D0 00293310 38 A0 00 00 */ li r5, 0
/* 802963D4 00293314 38 C0 00 00 */ li r6, 0
/* 802963D8 00293318 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802963DC 0029331C 7D 89 03 A6 */ mtctr r12
/* 802963E0 00293320 4E 80 04 21 */ bctrl
/* 802963E4 00293324 48 00 04 10 */ b .L_802967F4
.L_802963E8:
/* 802963E8 00293328 7F E3 FB 78 */ mr r3, r31
/* 802963EC 0029332C 38 80 00 00 */ li r4, 0
/* 802963F0 00293330 4B E7 E2 69 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb
/* 802963F4 00293334 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802963F8 00293338 41 82 00 28 */ beq .L_80296420
/* 802963FC 0029333C 7F C3 F3 78 */ mr r3, r30
/* 80296400 00293340 7F E4 FB 78 */ mr r4, r31
/* 80296404 00293344 81 9E 00 00 */ lwz r12, 0(r30)
/* 80296408 00293348 38 A0 00 04 */ li r5, 4
/* 8029640C 0029334C 38 C0 00 00 */ li r6, 0
/* 80296410 00293350 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296414 00293354 7D 89 03 A6 */ mtctr r12
/* 80296418 00293358 4E 80 04 21 */ bctrl
/* 8029641C 0029335C 48 00 03 D8 */ b .L_802967F4
.L_80296420:
/* 80296420 00293360 7F E3 FB 78 */ mr r3, r31
/* 80296424 00293364 48 00 3D ED */ bl getSearchedTarget__Q34Game10KumaChappy3ObjFv
/* 80296428 00293368 7C 7C 1B 79 */ or. r28, r3, r3
/* 8029642C 0029336C 41 82 02 F8 */ beq .L_80296724
/* 80296430 00293370 7F 84 E3 78 */ mr r4, r28
/* 80296434 00293374 38 61 00 B0 */ addi r3, r1, 0xb0
/* 80296438 00293378 81 9C 00 00 */ lwz r12, 0(r28)
/* 8029643C 0029337C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296440 00293380 7D 89 03 A6 */ mtctr r12
/* 80296444 00293384 4E 80 04 21 */ bctrl
/* 80296448 00293388 7F E4 FB 78 */ mr r4, r31
/* 8029644C 0029338C C0 41 00 B0 */ lfs f2, 0xb0(r1)
/* 80296450 00293390 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296454 00293394 38 61 00 BC */ addi r3, r1, 0xbc
/* 80296458 00293398 C0 21 00 B4 */ lfs f1, 0xb4(r1)
/* 8029645C 0029339C C0 01 00 B8 */ lfs f0, 0xb8(r1)
/* 80296460 002933A0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296464 002933A4 D0 41 00 98 */ stfs f2, 0x98(r1)
/* 80296468 002933A8 D0 21 00 9C */ stfs f1, 0x9c(r1)
/* 8029646C 002933AC D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 80296470 002933B0 7D 89 03 A6 */ mtctr r12
/* 80296474 002933B4 4E 80 04 21 */ bctrl
/* 80296478 002933B8 C0 A1 00 BC */ lfs f5, 0xbc(r1)
/* 8029647C 002933BC 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80296480 002933C0 C0 61 00 C4 */ lfs f3, 0xc4(r1)
/* 80296484 002933C4 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80296488 002933C8 C0 21 00 98 */ lfs f1, 0x98(r1)
/* 8029648C 002933CC C0 01 00 A0 */ lfs f0, 0xa0(r1)
/* 80296490 002933D0 C0 81 00 C0 */ lfs f4, 0xc0(r1)
/* 80296494 002933D4 EC 21 28 28 */ fsubs f1, f1, f5
/* 80296498 002933D8 EC 40 18 28 */ fsubs f2, f0, f3
/* 8029649C 002933DC D0 A1 00 A4 */ stfs f5, 0xa4(r1)
/* 802964A0 002933E0 D0 81 00 A8 */ stfs f4, 0xa8(r1)
/* 802964A4 002933E4 D0 61 00 AC */ stfs f3, 0xac(r1)
/* 802964A8 002933E8 4B D9 EC 61 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 802964AC 002933EC 48 17 B7 25 */ bl roundAng__Ff
/* 802964B0 002933F0 81 9F 00 00 */ lwz r12, 0(r31)
/* 802964B4 002933F4 FF 20 08 90 */ fmr f25, f1
/* 802964B8 002933F8 7F E3 FB 78 */ mr r3, r31
/* 802964BC 002933FC 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 802964C0 00293400 7D 89 03 A6 */ mtctr r12
/* 802964C4 00293404 4E 80 04 21 */ bctrl
/* 802964C8 00293408 FC 40 08 90 */ fmr f2, f1
/* 802964CC 0029340C FC 20 C8 90 */ fmr f1, f25
/* 802964D0 00293410 48 17 B7 2D */ bl angDist__Fff
/* 802964D4 00293414 7F 84 E3 78 */ mr r4, r28
/* 802964D8 00293418 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 802964DC 0029341C 81 9C 00 00 */ lwz r12, 0(r28)
/* 802964E0 00293420 FF E0 08 90 */ fmr f31, f1
/* 802964E4 00293424 38 61 00 68 */ addi r3, r1, 0x68
/* 802964E8 00293428 C3 A5 05 8C */ lfs f29, 0x58c(r5)
/* 802964EC 0029342C 81 8C 00 08 */ lwz r12, 8(r12)
/* 802964F0 00293430 C3 C5 05 64 */ lfs f30, 0x564(r5)
/* 802964F4 00293434 7D 89 03 A6 */ mtctr r12
/* 802964F8 00293438 4E 80 04 21 */ bctrl
/* 802964FC 0029343C 7F E4 FB 78 */ mr r4, r31
/* 80296500 00293440 C0 41 00 68 */ lfs f2, 0x68(r1)
/* 80296504 00293444 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296508 00293448 38 61 00 74 */ addi r3, r1, 0x74
/* 8029650C 0029344C C0 21 00 6C */ lfs f1, 0x6c(r1)
/* 80296510 00293450 C0 01 00 70 */ lfs f0, 0x70(r1)
/* 80296514 00293454 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296518 00293458 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 8029651C 0029345C D0 21 00 54 */ stfs f1, 0x54(r1)
/* 80296520 00293460 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80296524 00293464 7D 89 03 A6 */ mtctr r12
/* 80296528 00293468 4E 80 04 21 */ bctrl
/* 8029652C 0029346C C0 A1 00 74 */ lfs f5, 0x74(r1)
/* 80296530 00293470 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80296534 00293474 C0 61 00 7C */ lfs f3, 0x7c(r1)
/* 80296538 00293478 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 8029653C 0029347C C0 21 00 50 */ lfs f1, 0x50(r1)
/* 80296540 00293480 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 80296544 00293484 C0 81 00 78 */ lfs f4, 0x78(r1)
/* 80296548 00293488 EC 21 28 28 */ fsubs f1, f1, f5
/* 8029654C 0029348C EC 40 18 28 */ fsubs f2, f0, f3
/* 80296550 00293490 D0 A1 00 5C */ stfs f5, 0x5c(r1)
/* 80296554 00293494 D0 81 00 60 */ stfs f4, 0x60(r1)
/* 80296558 00293498 D0 61 00 64 */ stfs f3, 0x64(r1)
/* 8029655C 0029349C 4B D9 EB AD */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80296560 002934A0 48 17 B6 71 */ bl roundAng__Ff
/* 80296564 002934A4 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296568 002934A8 FF 20 08 90 */ fmr f25, f1
/* 8029656C 002934AC 7F E3 FB 78 */ mr r3, r31
/* 80296570 002934B0 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80296574 002934B4 7D 89 03 A6 */ mtctr r12
/* 80296578 002934B8 4E 80 04 21 */ bctrl
/* 8029657C 002934BC FC 40 08 90 */ fmr f2, f1
/* 80296580 002934C0 FC 20 C8 90 */ fmr f1, f25
/* 80296584 002934C4 48 17 B6 79 */ bl angDist__Fff
/* 80296588 002934C8 7F E4 FB 78 */ mr r4, r31
/* 8029658C 002934CC FF 60 08 90 */ fmr f27, f1
/* 80296590 002934D0 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296594 002934D4 38 61 00 14 */ addi r3, r1, 0x14
/* 80296598 002934D8 3B A0 00 00 */ li r29, 0
/* 8029659C 002934DC 81 8C 00 08 */ lwz r12, 8(r12)
/* 802965A0 002934E0 7D 89 03 A6 */ mtctr r12
/* 802965A4 002934E4 4E 80 04 21 */ bctrl
/* 802965A8 002934E8 7F 84 E3 78 */ mr r4, r28
/* 802965AC 002934EC 38 61 00 08 */ addi r3, r1, 8
/* 802965B0 002934F0 81 9C 00 00 */ lwz r12, 0(r28)
/* 802965B4 002934F4 C3 81 00 14 */ lfs f28, 0x14(r1)
/* 802965B8 002934F8 81 8C 00 08 */ lwz r12, 8(r12)
/* 802965BC 002934FC 7D 89 03 A6 */ mtctr r12
/* 802965C0 00293500 4E 80 04 21 */ bctrl
/* 802965C4 00293504 7F E4 FB 78 */ mr r4, r31
/* 802965C8 00293508 C0 01 00 08 */ lfs f0, 8(r1)
/* 802965CC 0029350C 81 9F 00 00 */ lwz r12, 0(r31)
/* 802965D0 00293510 38 61 00 2C */ addi r3, r1, 0x2c
/* 802965D4 00293514 EF 20 E0 28 */ fsubs f25, f0, f28
/* 802965D8 00293518 81 8C 00 08 */ lwz r12, 8(r12)
/* 802965DC 0029351C 7D 89 03 A6 */ mtctr r12
/* 802965E0 00293520 4E 80 04 21 */ bctrl
/* 802965E4 00293524 7F 84 E3 78 */ mr r4, r28
/* 802965E8 00293528 38 61 00 20 */ addi r3, r1, 0x20
/* 802965EC 0029352C 81 9C 00 00 */ lwz r12, 0(r28)
/* 802965F0 00293530 C3 81 00 30 */ lfs f28, 0x30(r1)
/* 802965F4 00293534 81 8C 00 08 */ lwz r12, 8(r12)
/* 802965F8 00293538 7D 89 03 A6 */ mtctr r12
/* 802965FC 0029353C 4E 80 04 21 */ bctrl
/* 80296600 00293540 7F E4 FB 78 */ mr r4, r31
/* 80296604 00293544 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80296608 00293548 81 9F 00 00 */ lwz r12, 0(r31)
/* 8029660C 0029354C 38 61 00 44 */ addi r3, r1, 0x44
/* 80296610 00293550 EF 40 E0 28 */ fsubs f26, f0, f28
/* 80296614 00293554 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296618 00293558 7D 89 03 A6 */ mtctr r12
/* 8029661C 0029355C 4E 80 04 21 */ bctrl
/* 80296620 00293560 7F 84 E3 78 */ mr r4, r28
/* 80296624 00293564 38 61 00 38 */ addi r3, r1, 0x38
/* 80296628 00293568 81 9C 00 00 */ lwz r12, 0(r28)
/* 8029662C 0029356C C3 81 00 4C */ lfs f28, 0x4c(r1)
/* 80296630 00293570 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296634 00293574 7D 89 03 A6 */ mtctr r12
/* 80296638 00293578 4E 80 04 21 */ bctrl
/* 8029663C 0029357C EC 3A 06 B2 */ fmuls f1, f26, f26
/* 80296640 00293580 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 80296644 00293584 EC 1E 07 B2 */ fmuls f0, f30, f30
/* 80296648 00293588 EC 42 E0 28 */ fsubs f2, f2, f28
/* 8029664C 0029358C EC 39 0E 7A */ fmadds f1, f25, f25, f1
/* 80296650 00293590 EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 80296654 00293594 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80296658 00293598 40 80 00 2C */ bge .L_80296684
/* 8029665C 0029359C C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80296660 002935A0 FC 40 DA 10 */ fabs f2, f27
/* 80296664 002935A4 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80296668 002935A8 EC 00 07 72 */ fmuls f0, f0, f29
/* 8029666C 002935AC FC 40 10 18 */ frsp f2, f2
/* 80296670 002935B0 EC 01 00 32 */ fmuls f0, f1, f0
/* 80296674 002935B4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80296678 002935B8 4C 40 13 82 */ cror 2, 0, 2
/* 8029667C 002935BC 40 82 00 08 */ bne .L_80296684
/* 80296680 002935C0 3B A0 00 01 */ li r29, 1
.L_80296684:
/* 80296684 002935C4 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80296688 002935C8 41 82 00 28 */ beq .L_802966B0
/* 8029668C 002935CC 7F C3 F3 78 */ mr r3, r30
/* 80296690 002935D0 7F E4 FB 78 */ mr r4, r31
/* 80296694 002935D4 81 9E 00 00 */ lwz r12, 0(r30)
/* 80296698 002935D8 38 A0 00 03 */ li r5, 3
/* 8029669C 002935DC 38 C0 00 00 */ li r6, 0
/* 802966A0 002935E0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802966A4 002935E4 7D 89 03 A6 */ mtctr r12
/* 802966A8 002935E8 4E 80 04 21 */ bctrl
/* 802966AC 002935EC 48 00 01 48 */ b .L_802967F4
.L_802966B0:
/* 802966B0 002935F0 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802966B4 002935F4 FC 40 FA 10 */ fabs f2, f31
/* 802966B8 002935F8 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 802966BC 002935FC C0 63 05 8C */ lfs f3, 0x58c(r3)
/* 802966C0 00293600 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 802966C4 00293604 FC 40 10 18 */ frsp f2, f2
/* 802966C8 00293608 EC 00 00 F2 */ fmuls f0, f0, f3
/* 802966CC 0029360C EC 01 00 32 */ fmuls f0, f1, f0
/* 802966D0 00293610 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802966D4 00293614 4C 40 13 82 */ cror 2, 0, 2
/* 802966D8 00293618 40 82 00 28 */ bne .L_80296700
/* 802966DC 0029361C 7F C3 F3 78 */ mr r3, r30
/* 802966E0 00293620 7F E4 FB 78 */ mr r4, r31
/* 802966E4 00293624 81 9E 00 00 */ lwz r12, 0(r30)
/* 802966E8 00293628 38 A0 00 07 */ li r5, 7
/* 802966EC 0029362C 38 C0 00 00 */ li r6, 0
/* 802966F0 00293630 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802966F4 00293634 7D 89 03 A6 */ mtctr r12
/* 802966F8 00293638 4E 80 04 21 */ bctrl
/* 802966FC 0029363C 48 00 00 F8 */ b .L_802967F4
.L_80296700:
/* 80296700 00293640 7F C3 F3 78 */ mr r3, r30
/* 80296704 00293644 7F E4 FB 78 */ mr r4, r31
/* 80296708 00293648 81 9E 00 00 */ lwz r12, 0(r30)
/* 8029670C 0029364C 38 A0 00 05 */ li r5, 5
/* 80296710 00293650 38 C0 00 00 */ li r6, 0
/* 80296714 00293654 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296718 00293658 7D 89 03 A6 */ mtctr r12
/* 8029671C 0029365C 4E 80 04 21 */ bctrl
/* 80296720 00293660 48 00 00 D4 */ b .L_802967F4
.L_80296724:
/* 80296724 00293664 7F E4 FB 78 */ mr r4, r31
/* 80296728 00293668 38 61 00 8C */ addi r3, r1, 0x8c
/* 8029672C 0029366C 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296730 00293670 C3 3F 02 E0 */ lfs f25, 0x2e0(r31)
/* 80296734 00293674 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296738 00293678 C3 5F 02 E8 */ lfs f26, 0x2e8(r31)
/* 8029673C 0029367C 7D 89 03 A6 */ mtctr r12
/* 80296740 00293680 4E 80 04 21 */ bctrl
/* 80296744 00293684 C0 81 00 8C */ lfs f4, 0x8c(r1)
/* 80296748 00293688 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 8029674C 0029368C C0 01 00 94 */ lfs f0, 0x94(r1)
/* 80296750 00293690 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80296754 00293694 C0 61 00 90 */ lfs f3, 0x90(r1)
/* 80296758 00293698 EC 39 20 28 */ fsubs f1, f25, f4
/* 8029675C 0029369C EC 5A 00 28 */ fsubs f2, f26, f0
/* 80296760 002936A0 D0 81 00 80 */ stfs f4, 0x80(r1)
/* 80296764 002936A4 D0 61 00 84 */ stfs f3, 0x84(r1)
/* 80296768 002936A8 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 8029676C 002936AC 4B D9 E9 9D */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80296770 002936B0 48 17 B4 61 */ bl roundAng__Ff
/* 80296774 002936B4 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296778 002936B8 FF 20 08 90 */ fmr f25, f1
/* 8029677C 002936BC 7F E3 FB 78 */ mr r3, r31
/* 80296780 002936C0 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80296784 002936C4 7D 89 03 A6 */ mtctr r12
/* 80296788 002936C8 4E 80 04 21 */ bctrl
/* 8029678C 002936CC FC 40 08 90 */ fmr f2, f1
/* 80296790 002936D0 FC 20 C8 90 */ fmr f1, f25
/* 80296794 002936D4 48 17 B4 69 */ bl angDist__Fff
/* 80296798 002936D8 FC 20 0A 10 */ fabs f1, f1
/* 8029679C 002936DC C0 02 D7 C8 */ lfs f0, lbl_8051BB28@sda21(r2)
/* 802967A0 002936E0 FC 20 08 18 */ frsp f1, f1
/* 802967A4 002936E4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802967A8 002936E8 4C 40 13 82 */ cror 2, 0, 2
/* 802967AC 002936EC 40 82 00 28 */ bne .L_802967D4
/* 802967B0 002936F0 7F C3 F3 78 */ mr r3, r30
/* 802967B4 002936F4 7F E4 FB 78 */ mr r4, r31
/* 802967B8 002936F8 81 9E 00 00 */ lwz r12, 0(r30)
/* 802967BC 002936FC 38 A0 00 08 */ li r5, 8
/* 802967C0 00293700 38 C0 00 00 */ li r6, 0
/* 802967C4 00293704 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802967C8 00293708 7D 89 03 A6 */ mtctr r12
/* 802967CC 0029370C 4E 80 04 21 */ bctrl
/* 802967D0 00293710 48 00 00 24 */ b .L_802967F4
.L_802967D4:
/* 802967D4 00293714 7F C3 F3 78 */ mr r3, r30
/* 802967D8 00293718 7F E4 FB 78 */ mr r4, r31
/* 802967DC 0029371C 81 9E 00 00 */ lwz r12, 0(r30)
/* 802967E0 00293720 38 A0 00 06 */ li r5, 6
/* 802967E4 00293724 38 C0 00 00 */ li r6, 0
/* 802967E8 00293728 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802967EC 0029372C 7D 89 03 A6 */ mtctr r12
/* 802967F0 00293730 4E 80 04 21 */ bctrl
.L_802967F4:
/* 802967F4 00293734 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0
/* 802967F8 00293738 CB E1 01 40 */ lfd f31, 0x140(r1)
/* 802967FC 0029373C E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0
/* 80296800 00293740 CB C1 01 30 */ lfd f30, 0x130(r1)
/* 80296804 00293744 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0
/* 80296808 00293748 CB A1 01 20 */ lfd f29, 0x120(r1)
/* 8029680C 0029374C E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0
/* 80296810 00293750 CB 81 01 10 */ lfd f28, 0x110(r1)
/* 80296814 00293754 E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0
/* 80296818 00293758 CB 61 01 00 */ lfd f27, 0x100(r1)
/* 8029681C 0029375C E3 41 00 F8 */ psq_l f26, 248(r1), 0, qr0
/* 80296820 00293760 CB 41 00 F0 */ lfd f26, 0xf0(r1)
/* 80296824 00293764 E3 21 00 E8 */ psq_l f25, 232(r1), 0, qr0
/* 80296828 00293768 CB 21 00 E0 */ lfd f25, 0xe0(r1)
/* 8029682C 0029376C 83 E1 00 DC */ lwz r31, 0xdc(r1)
/* 80296830 00293770 83 C1 00 D8 */ lwz r30, 0xd8(r1)
/* 80296834 00293774 83 A1 00 D4 */ lwz r29, 0xd4(r1)
/* 80296838 00293778 80 01 01 54 */ lwz r0, 0x154(r1)
/* 8029683C 0029377C 83 81 00 D0 */ lwz r28, 0xd0(r1)
/* 80296840 00293780 7C 08 03 A6 */ mtlr r0
/* 80296844 00293784 38 21 01 50 */ addi r1, r1, 0x150
/* 80296848 00293788 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy12StateRebirthFPQ24Game9EnemyBase:
/* 8029684C 0029378C 80 04 01 E0 */ lwz r0, 0x1e0(r4)
/* 80296850 00293790 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9
/* 80296854 00293794 90 04 01 E0 */ stw r0, 0x1e0(r4)
/* 80296858 00293798 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 8029685C 0029379C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80296860 002937A0 7C 08 02 A6 */ mflr r0
/* 80296864 002937A4 38 A0 FF FF */ li r5, -1
/* 80296868 002937A8 7C 83 23 78 */ mr r3, r4
/* 8029686C 002937AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80296870 002937B0 38 00 00 00 */ li r0, 0
/* 80296874 002937B4 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80296878 002937B8 90 A4 02 D4 */ stw r5, 0x2d4(r4)
/* 8029687C 002937BC 38 80 00 05 */ li r4, 5
/* 80296880 002937C0 38 A0 00 00 */ li r5, 0
/* 80296884 002937C4 90 03 02 30 */ stw r0, 0x230(r3)
/* 80296888 002937C8 D0 03 01 D4 */ stfs f0, 0x1d4(r3)
/* 8029688C 002937CC D0 03 01 D8 */ stfs f0, 0x1d8(r3)
/* 80296890 002937D0 D0 03 01 DC */ stfs f0, 0x1dc(r3)
/* 80296894 002937D4 4B E6 E7 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 80296898 002937D8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029689C 002937DC 7C 08 03 A6 */ mtlr r0
/* 802968A0 002937E0 38 21 00 10 */ addi r1, r1, 0x10
/* 802968A4 002937E4 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBase:
/* 802968A8 002937E8 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 802968AC 002937EC 7C 08 02 A6 */ mflr r0
/* 802968B0 002937F0 90 01 01 14 */ stw r0, 0x114(r1)
/* 802968B4 002937F4 DB E1 01 00 */ stfd f31, 0x100(r1)
/* 802968B8 002937F8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0
/* 802968BC 002937FC DB C1 00 F0 */ stfd f30, 0xf0(r1)
/* 802968C0 00293800 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0
/* 802968C4 00293804 DB A1 00 E0 */ stfd f29, 0xe0(r1)
/* 802968C8 00293808 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0
/* 802968CC 0029380C DB 81 00 D0 */ stfd f28, 0xd0(r1)
/* 802968D0 00293810 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0
/* 802968D4 00293814 DB 61 00 C0 */ stfd f27, 0xc0(r1)
/* 802968D8 00293818 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0
/* 802968DC 0029381C DB 41 00 B0 */ stfd f26, 0xb0(r1)
/* 802968E0 00293820 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0
/* 802968E4 00293824 93 E1 00 AC */ stw r31, 0xac(r1)
/* 802968E8 00293828 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 802968EC 0029382C 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 802968F0 00293830 93 81 00 A0 */ stw r28, 0xa0(r1)
/* 802968F4 00293834 80 A4 01 88 */ lwz r5, 0x188(r4)
/* 802968F8 00293838 7C 7C 1B 78 */ mr r28, r3
/* 802968FC 0029383C 7C 9E 23 78 */ mr r30, r4
/* 80296900 00293840 88 05 00 24 */ lbz r0, 0x24(r5)
/* 80296904 00293844 28 00 00 00 */ cmplwi r0, 0
/* 80296908 00293848 41 82 03 AC */ beq .L_80296CB4
/* 8029690C 0029384C 80 05 00 1C */ lwz r0, 0x1c(r5)
/* 80296910 00293850 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 80296914 00293854 40 82 03 A0 */ bne .L_80296CB4
/* 80296918 00293858 C0 3E 02 00 */ lfs f1, 0x200(r30)
/* 8029691C 0029385C C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80296920 00293860 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80296924 00293864 4C 40 13 82 */ cror 2, 0, 2
/* 80296928 00293868 40 82 00 20 */ bne .L_80296948
/* 8029692C 0029386C 81 83 00 00 */ lwz r12, 0(r3)
/* 80296930 00293870 38 A0 00 00 */ li r5, 0
/* 80296934 00293874 38 C0 00 00 */ li r6, 0
/* 80296938 00293878 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8029693C 0029387C 7D 89 03 A6 */ mtctr r12
/* 80296940 00293880 4E 80 04 21 */ bctrl
/* 80296944 00293884 48 00 03 70 */ b .L_80296CB4
.L_80296948:
/* 80296948 00293888 7F C3 F3 78 */ mr r3, r30
/* 8029694C 0029388C 38 80 00 00 */ li r4, 0
/* 80296950 00293890 4B E7 DD 09 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb
/* 80296954 00293894 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80296958 00293898 41 82 00 28 */ beq .L_80296980
/* 8029695C 0029389C 7F 83 E3 78 */ mr r3, r28
/* 80296960 002938A0 7F C4 F3 78 */ mr r4, r30
/* 80296964 002938A4 81 9C 00 00 */ lwz r12, 0(r28)
/* 80296968 002938A8 38 A0 00 04 */ li r5, 4
/* 8029696C 002938AC 38 C0 00 00 */ li r6, 0
/* 80296970 002938B0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296974 002938B4 7D 89 03 A6 */ mtctr r12
/* 80296978 002938B8 4E 80 04 21 */ bctrl
/* 8029697C 002938BC 48 00 03 38 */ b .L_80296CB4
.L_80296980:
/* 80296980 002938C0 7F C3 F3 78 */ mr r3, r30
/* 80296984 002938C4 48 00 38 8D */ bl getSearchedTarget__Q34Game10KumaChappy3ObjFv
/* 80296988 002938C8 7C 7D 1B 79 */ or. r29, r3, r3
/* 8029698C 002938CC 41 82 02 50 */ beq .L_80296BDC
/* 80296990 002938D0 7F A4 EB 78 */ mr r4, r29
/* 80296994 002938D4 38 61 00 80 */ addi r3, r1, 0x80
/* 80296998 002938D8 81 9D 00 00 */ lwz r12, 0(r29)
/* 8029699C 002938DC 81 8C 00 08 */ lwz r12, 8(r12)
/* 802969A0 002938E0 7D 89 03 A6 */ mtctr r12
/* 802969A4 002938E4 4E 80 04 21 */ bctrl
/* 802969A8 002938E8 7F C4 F3 78 */ mr r4, r30
/* 802969AC 002938EC C0 41 00 80 */ lfs f2, 0x80(r1)
/* 802969B0 002938F0 81 9E 00 00 */ lwz r12, 0(r30)
/* 802969B4 002938F4 38 61 00 8C */ addi r3, r1, 0x8c
/* 802969B8 002938F8 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 802969BC 002938FC C0 01 00 88 */ lfs f0, 0x88(r1)
/* 802969C0 00293900 81 8C 00 08 */ lwz r12, 8(r12)
/* 802969C4 00293904 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 802969C8 00293908 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 802969CC 0029390C D0 01 00 70 */ stfs f0, 0x70(r1)
/* 802969D0 00293910 7D 89 03 A6 */ mtctr r12
/* 802969D4 00293914 4E 80 04 21 */ bctrl
/* 802969D8 00293918 C0 A1 00 8C */ lfs f5, 0x8c(r1)
/* 802969DC 0029391C 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 802969E0 00293920 C0 61 00 94 */ lfs f3, 0x94(r1)
/* 802969E4 00293924 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 802969E8 00293928 C0 21 00 68 */ lfs f1, 0x68(r1)
/* 802969EC 0029392C C0 01 00 70 */ lfs f0, 0x70(r1)
/* 802969F0 00293930 C0 81 00 90 */ lfs f4, 0x90(r1)
/* 802969F4 00293934 EC 21 28 28 */ fsubs f1, f1, f5
/* 802969F8 00293938 EC 40 18 28 */ fsubs f2, f0, f3
/* 802969FC 0029393C D0 A1 00 74 */ stfs f5, 0x74(r1)
/* 80296A00 00293940 D0 81 00 78 */ stfs f4, 0x78(r1)
/* 80296A04 00293944 D0 61 00 7C */ stfs f3, 0x7c(r1)
/* 80296A08 00293948 4B D9 E7 01 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80296A0C 0029394C 48 17 B1 C5 */ bl roundAng__Ff
/* 80296A10 00293950 81 9E 00 00 */ lwz r12, 0(r30)
/* 80296A14 00293954 FF 40 08 90 */ fmr f26, f1
/* 80296A18 00293958 7F C3 F3 78 */ mr r3, r30
/* 80296A1C 0029395C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80296A20 00293960 7D 89 03 A6 */ mtctr r12
/* 80296A24 00293964 4E 80 04 21 */ bctrl
/* 80296A28 00293968 FC 40 08 90 */ fmr f2, f1
/* 80296A2C 0029396C FC 20 D0 90 */ fmr f1, f26
/* 80296A30 00293970 48 17 B1 CD */ bl angDist__Fff
/* 80296A34 00293974 7F C4 F3 78 */ mr r4, r30
/* 80296A38 00293978 80 BE 00 C0 */ lwz r5, 0xc0(r30)
/* 80296A3C 0029397C 81 9E 00 00 */ lwz r12, 0(r30)
/* 80296A40 00293980 FF C0 08 90 */ fmr f30, f1
/* 80296A44 00293984 38 61 00 14 */ addi r3, r1, 0x14
/* 80296A48 00293988 C3 85 05 8C */ lfs f28, 0x58c(r5)
/* 80296A4C 0029398C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296A50 00293990 3B E0 00 00 */ li r31, 0
/* 80296A54 00293994 C3 A5 05 64 */ lfs f29, 0x564(r5)
/* 80296A58 00293998 7D 89 03 A6 */ mtctr r12
/* 80296A5C 0029399C 4E 80 04 21 */ bctrl
/* 80296A60 002939A0 7F A4 EB 78 */ mr r4, r29
/* 80296A64 002939A4 38 61 00 08 */ addi r3, r1, 8
/* 80296A68 002939A8 81 9D 00 00 */ lwz r12, 0(r29)
/* 80296A6C 002939AC C3 E1 00 14 */ lfs f31, 0x14(r1)
/* 80296A70 002939B0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296A74 002939B4 7D 89 03 A6 */ mtctr r12
/* 80296A78 002939B8 4E 80 04 21 */ bctrl
/* 80296A7C 002939BC 7F C4 F3 78 */ mr r4, r30
/* 80296A80 002939C0 C0 01 00 08 */ lfs f0, 8(r1)
/* 80296A84 002939C4 81 9E 00 00 */ lwz r12, 0(r30)
/* 80296A88 002939C8 38 61 00 2C */ addi r3, r1, 0x2c
/* 80296A8C 002939CC EF 40 F8 28 */ fsubs f26, f0, f31
/* 80296A90 002939D0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296A94 002939D4 7D 89 03 A6 */ mtctr r12
/* 80296A98 002939D8 4E 80 04 21 */ bctrl
/* 80296A9C 002939DC 7F A4 EB 78 */ mr r4, r29
/* 80296AA0 002939E0 38 61 00 20 */ addi r3, r1, 0x20
/* 80296AA4 002939E4 81 9D 00 00 */ lwz r12, 0(r29)
/* 80296AA8 002939E8 C3 E1 00 30 */ lfs f31, 0x30(r1)
/* 80296AAC 002939EC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296AB0 002939F0 7D 89 03 A6 */ mtctr r12
/* 80296AB4 002939F4 4E 80 04 21 */ bctrl
/* 80296AB8 002939F8 7F C4 F3 78 */ mr r4, r30
/* 80296ABC 002939FC C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80296AC0 00293A00 81 9E 00 00 */ lwz r12, 0(r30)
/* 80296AC4 00293A04 38 61 00 44 */ addi r3, r1, 0x44
/* 80296AC8 00293A08 EF 60 F8 28 */ fsubs f27, f0, f31
/* 80296ACC 00293A0C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296AD0 00293A10 7D 89 03 A6 */ mtctr r12
/* 80296AD4 00293A14 4E 80 04 21 */ bctrl
/* 80296AD8 00293A18 7F A4 EB 78 */ mr r4, r29
/* 80296ADC 00293A1C 38 61 00 38 */ addi r3, r1, 0x38
/* 80296AE0 00293A20 81 9D 00 00 */ lwz r12, 0(r29)
/* 80296AE4 00293A24 C3 E1 00 4C */ lfs f31, 0x4c(r1)
/* 80296AE8 00293A28 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296AEC 00293A2C 7D 89 03 A6 */ mtctr r12
/* 80296AF0 00293A30 4E 80 04 21 */ bctrl
/* 80296AF4 00293A34 EC 3B 06 F2 */ fmuls f1, f27, f27
/* 80296AF8 00293A38 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 80296AFC 00293A3C EC 1D 07 72 */ fmuls f0, f29, f29
/* 80296B00 00293A40 EC 42 F8 28 */ fsubs f2, f2, f31
/* 80296B04 00293A44 EC 3A 0E BA */ fmadds f1, f26, f26, f1
/* 80296B08 00293A48 EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 80296B0C 00293A4C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80296B10 00293A50 40 80 00 2C */ bge .L_80296B3C
/* 80296B14 00293A54 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80296B18 00293A58 FC 40 F2 10 */ fabs f2, f30
/* 80296B1C 00293A5C C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80296B20 00293A60 EC 00 07 32 */ fmuls f0, f0, f28
/* 80296B24 00293A64 FC 40 10 18 */ frsp f2, f2
/* 80296B28 00293A68 EC 01 00 32 */ fmuls f0, f1, f0
/* 80296B2C 00293A6C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80296B30 00293A70 4C 40 13 82 */ cror 2, 0, 2
/* 80296B34 00293A74 40 82 00 08 */ bne .L_80296B3C
/* 80296B38 00293A78 3B E0 00 01 */ li r31, 1
.L_80296B3C:
/* 80296B3C 00293A7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80296B40 00293A80 41 82 00 28 */ beq .L_80296B68
/* 80296B44 00293A84 7F 83 E3 78 */ mr r3, r28
/* 80296B48 00293A88 7F C4 F3 78 */ mr r4, r30
/* 80296B4C 00293A8C 81 9C 00 00 */ lwz r12, 0(r28)
/* 80296B50 00293A90 38 A0 00 03 */ li r5, 3
/* 80296B54 00293A94 38 C0 00 00 */ li r6, 0
/* 80296B58 00293A98 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296B5C 00293A9C 7D 89 03 A6 */ mtctr r12
/* 80296B60 00293AA0 4E 80 04 21 */ bctrl
/* 80296B64 00293AA4 48 00 01 50 */ b .L_80296CB4
.L_80296B68:
/* 80296B68 00293AA8 80 7E 00 C0 */ lwz r3, 0xc0(r30)
/* 80296B6C 00293AAC FC 40 F2 10 */ fabs f2, f30
/* 80296B70 00293AB0 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80296B74 00293AB4 C0 63 05 8C */ lfs f3, 0x58c(r3)
/* 80296B78 00293AB8 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80296B7C 00293ABC FC 40 10 18 */ frsp f2, f2
/* 80296B80 00293AC0 EC 00 00 F2 */ fmuls f0, f0, f3
/* 80296B84 00293AC4 EC 01 00 32 */ fmuls f0, f1, f0
/* 80296B88 00293AC8 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80296B8C 00293ACC 4C 40 13 82 */ cror 2, 0, 2
/* 80296B90 00293AD0 40 82 00 28 */ bne .L_80296BB8
/* 80296B94 00293AD4 7F 83 E3 78 */ mr r3, r28
/* 80296B98 00293AD8 7F C4 F3 78 */ mr r4, r30
/* 80296B9C 00293ADC 81 9C 00 00 */ lwz r12, 0(r28)
/* 80296BA0 00293AE0 38 A0 00 07 */ li r5, 7
/* 80296BA4 00293AE4 38 C0 00 00 */ li r6, 0
/* 80296BA8 00293AE8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296BAC 00293AEC 7D 89 03 A6 */ mtctr r12
/* 80296BB0 00293AF0 4E 80 04 21 */ bctrl
/* 80296BB4 00293AF4 48 00 01 00 */ b .L_80296CB4
.L_80296BB8:
/* 80296BB8 00293AF8 7F 83 E3 78 */ mr r3, r28
/* 80296BBC 00293AFC 7F C4 F3 78 */ mr r4, r30
/* 80296BC0 00293B00 81 9C 00 00 */ lwz r12, 0(r28)
/* 80296BC4 00293B04 38 A0 00 05 */ li r5, 5
/* 80296BC8 00293B08 38 C0 00 00 */ li r6, 0
/* 80296BCC 00293B0C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296BD0 00293B10 7D 89 03 A6 */ mtctr r12
/* 80296BD4 00293B14 4E 80 04 21 */ bctrl
/* 80296BD8 00293B18 48 00 00 DC */ b .L_80296CB4
.L_80296BDC:
/* 80296BDC 00293B1C 7F C3 F3 78 */ mr r3, r30
/* 80296BE0 00293B20 48 00 33 21 */ bl setNearestWayPoint__Q34Game10KumaChappy3ObjFv
/* 80296BE4 00293B24 7F C4 F3 78 */ mr r4, r30
/* 80296BE8 00293B28 38 61 00 5C */ addi r3, r1, 0x5c
/* 80296BEC 00293B2C 81 9E 00 00 */ lwz r12, 0(r30)
/* 80296BF0 00293B30 C3 5E 02 E0 */ lfs f26, 0x2e0(r30)
/* 80296BF4 00293B34 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296BF8 00293B38 C3 7E 02 E8 */ lfs f27, 0x2e8(r30)
/* 80296BFC 00293B3C 7D 89 03 A6 */ mtctr r12
/* 80296C00 00293B40 4E 80 04 21 */ bctrl
/* 80296C04 00293B44 C0 81 00 5C */ lfs f4, 0x5c(r1)
/* 80296C08 00293B48 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80296C0C 00293B4C C0 01 00 64 */ lfs f0, 0x64(r1)
/* 80296C10 00293B50 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80296C14 00293B54 C0 61 00 60 */ lfs f3, 0x60(r1)
/* 80296C18 00293B58 EC 3A 20 28 */ fsubs f1, f26, f4
/* 80296C1C 00293B5C EC 5B 00 28 */ fsubs f2, f27, f0
/* 80296C20 00293B60 D0 81 00 50 */ stfs f4, 0x50(r1)
/* 80296C24 00293B64 D0 61 00 54 */ stfs f3, 0x54(r1)
/* 80296C28 00293B68 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80296C2C 00293B6C 4B D9 E4 DD */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80296C30 00293B70 48 17 AF A1 */ bl roundAng__Ff
/* 80296C34 00293B74 81 9E 00 00 */ lwz r12, 0(r30)
/* 80296C38 00293B78 FF 40 08 90 */ fmr f26, f1
/* 80296C3C 00293B7C 7F C3 F3 78 */ mr r3, r30
/* 80296C40 00293B80 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80296C44 00293B84 7D 89 03 A6 */ mtctr r12
/* 80296C48 00293B88 4E 80 04 21 */ bctrl
/* 80296C4C 00293B8C FC 40 08 90 */ fmr f2, f1
/* 80296C50 00293B90 FC 20 D0 90 */ fmr f1, f26
/* 80296C54 00293B94 48 17 AF A9 */ bl angDist__Fff
/* 80296C58 00293B98 FC 20 0A 10 */ fabs f1, f1
/* 80296C5C 00293B9C C0 02 D7 C8 */ lfs f0, lbl_8051BB28@sda21(r2)
/* 80296C60 00293BA0 FC 20 08 18 */ frsp f1, f1
/* 80296C64 00293BA4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80296C68 00293BA8 4C 40 13 82 */ cror 2, 0, 2
/* 80296C6C 00293BAC 40 82 00 28 */ bne .L_80296C94
/* 80296C70 00293BB0 7F 83 E3 78 */ mr r3, r28
/* 80296C74 00293BB4 7F C4 F3 78 */ mr r4, r30
/* 80296C78 00293BB8 81 9C 00 00 */ lwz r12, 0(r28)
/* 80296C7C 00293BBC 38 A0 00 08 */ li r5, 8
/* 80296C80 00293BC0 38 C0 00 00 */ li r6, 0
/* 80296C84 00293BC4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296C88 00293BC8 7D 89 03 A6 */ mtctr r12
/* 80296C8C 00293BCC 4E 80 04 21 */ bctrl
/* 80296C90 00293BD0 48 00 00 24 */ b .L_80296CB4
.L_80296C94:
/* 80296C94 00293BD4 7F 83 E3 78 */ mr r3, r28
/* 80296C98 00293BD8 7F C4 F3 78 */ mr r4, r30
/* 80296C9C 00293BDC 81 9C 00 00 */ lwz r12, 0(r28)
/* 80296CA0 00293BE0 38 A0 00 06 */ li r5, 6
/* 80296CA4 00293BE4 38 C0 00 00 */ li r6, 0
/* 80296CA8 00293BE8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296CAC 00293BEC 7D 89 03 A6 */ mtctr r12
/* 80296CB0 00293BF0 4E 80 04 21 */ bctrl
.L_80296CB4:
/* 80296CB4 00293BF4 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0
/* 80296CB8 00293BF8 CB E1 01 00 */ lfd f31, 0x100(r1)
/* 80296CBC 00293BFC E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0
/* 80296CC0 00293C00 CB C1 00 F0 */ lfd f30, 0xf0(r1)
/* 80296CC4 00293C04 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0
/* 80296CC8 00293C08 CB A1 00 E0 */ lfd f29, 0xe0(r1)
/* 80296CCC 00293C0C E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0
/* 80296CD0 00293C10 CB 81 00 D0 */ lfd f28, 0xd0(r1)
/* 80296CD4 00293C14 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0
/* 80296CD8 00293C18 CB 61 00 C0 */ lfd f27, 0xc0(r1)
/* 80296CDC 00293C1C E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0
/* 80296CE0 00293C20 CB 41 00 B0 */ lfd f26, 0xb0(r1)
/* 80296CE4 00293C24 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 80296CE8 00293C28 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 80296CEC 00293C2C 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 80296CF0 00293C30 80 01 01 14 */ lwz r0, 0x114(r1)
/* 80296CF4 00293C34 83 81 00 A0 */ lwz r28, 0xa0(r1)
/* 80296CF8 00293C38 7C 08 03 A6 */ mtlr r0
/* 80296CFC 00293C3C 38 21 01 10 */ addi r1, r1, 0x110
/* 80296D00 00293C40 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy9StateLostFPQ24Game9EnemyBase:
/* 80296D04 00293C44 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 80296D08 00293C48 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80296D0C 00293C4C 7C 08 02 A6 */ mflr r0
/* 80296D10 00293C50 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80296D14 00293C54 90 01 00 14 */ stw r0, 0x14(r1)
/* 80296D18 00293C58 38 00 FF FF */ li r0, -1
/* 80296D1C 00293C5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80296D20 00293C60 7C 9F 23 78 */ mr r31, r4
/* 80296D24 00293C64 7F E3 FB 78 */ mr r3, r31
/* 80296D28 00293C68 90 04 02 D4 */ stw r0, 0x2d4(r4)
/* 80296D2C 00293C6C D0 04 01 D4 */ stfs f0, 0x1d4(r4)
/* 80296D30 00293C70 D0 04 01 D8 */ stfs f0, 0x1d8(r4)
/* 80296D34 00293C74 D0 04 01 DC */ stfs f0, 0x1dc(r4)
/* 80296D38 00293C78 4B E6 AC 95 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv
/* 80296D3C 00293C7C 7F E3 FB 78 */ mr r3, r31
/* 80296D40 00293C80 38 80 00 00 */ li r4, 0
/* 80296D44 00293C84 38 A0 00 00 */ li r5, 0
/* 80296D48 00293C88 4B E6 E2 BD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 80296D4C 00293C8C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80296D50 00293C90 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80296D54 00293C94 7C 08 03 A6 */ mtlr r0
/* 80296D58 00293C98 38 21 00 10 */ addi r1, r1, 0x10
/* 80296D5C 00293C9C 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBase:
/* 80296D60 00293CA0 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 80296D64 00293CA4 7C 08 02 A6 */ mflr r0
/* 80296D68 00293CA8 90 01 01 14 */ stw r0, 0x114(r1)
/* 80296D6C 00293CAC DB E1 01 00 */ stfd f31, 0x100(r1)
/* 80296D70 00293CB0 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0
/* 80296D74 00293CB4 DB C1 00 F0 */ stfd f30, 0xf0(r1)
/* 80296D78 00293CB8 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0
/* 80296D7C 00293CBC DB A1 00 E0 */ stfd f29, 0xe0(r1)
/* 80296D80 00293CC0 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0
/* 80296D84 00293CC4 DB 81 00 D0 */ stfd f28, 0xd0(r1)
/* 80296D88 00293CC8 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0
/* 80296D8C 00293CCC DB 61 00 C0 */ stfd f27, 0xc0(r1)
/* 80296D90 00293CD0 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0
/* 80296D94 00293CD4 DB 41 00 B0 */ stfd f26, 0xb0(r1)
/* 80296D98 00293CD8 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0
/* 80296D9C 00293CDC 93 E1 00 AC */ stw r31, 0xac(r1)
/* 80296DA0 00293CE0 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 80296DA4 00293CE4 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 80296DA8 00293CE8 93 81 00 A0 */ stw r28, 0xa0(r1)
/* 80296DAC 00293CEC 80 A4 01 88 */ lwz r5, 0x188(r4)
/* 80296DB0 00293CF0 7C 7C 1B 78 */ mr r28, r3
/* 80296DB4 00293CF4 7C 9F 23 78 */ mr r31, r4
/* 80296DB8 00293CF8 88 05 00 24 */ lbz r0, 0x24(r5)
/* 80296DBC 00293CFC 28 00 00 00 */ cmplwi r0, 0
/* 80296DC0 00293D00 41 82 04 A0 */ beq .L_80297260
/* 80296DC4 00293D04 80 05 00 1C */ lwz r0, 0x1c(r5)
/* 80296DC8 00293D08 28 00 00 02 */ cmplwi r0, 2
/* 80296DCC 00293D0C 40 82 00 B0 */ bne .L_80296E7C
/* 80296DD0 00293D10 7F E3 FB 78 */ mr r3, r31
/* 80296DD4 00293D14 4B E7 05 75 */ bl getCurrAnimIndex__Q24Game9EnemyBaseFv
/* 80296DD8 00293D18 2C 03 00 00 */ cmpwi r3, 0
/* 80296DDC 00293D1C 40 82 00 88 */ bne .L_80296E64
/* 80296DE0 00293D20 80 DF 00 C0 */ lwz r6, 0xc0(r31)
/* 80296DE4 00293D24 7F E3 FB 78 */ mr r3, r31
/* 80296DE8 00293D28 38 80 00 00 */ li r4, 0
/* 80296DEC 00293D2C 38 A0 00 00 */ li r5, 0
/* 80296DF0 00293D30 C0 26 05 B4 */ lfs f1, 0x5b4(r6)
/* 80296DF4 00293D34 C0 46 05 DC */ lfs f2, 0x5dc(r6)
/* 80296DF8 00293D38 C0 66 06 04 */ lfs f3, 0x604(r6)
/* 80296DFC 00293D3C 4B E7 D4 65 */ bl "attackNavi__Q24Game9EnemyFuncFPQ24Game8CreaturefffP8CollPartP23Condition<Q24Game4Navi>"
/* 80296E00 00293D40 7C 7E 1B 78 */ mr r30, r3
/* 80296E04 00293D44 7F E3 FB 78 */ mr r3, r31
/* 80296E08 00293D48 38 80 00 00 */ li r4, 0
/* 80296E0C 00293D4C 4B E7 CD 29 */ bl "eatPikmin__Q24Game9EnemyFuncFPQ24Game9EnemyBaseP23Condition<Q24Game4Piki>"
/* 80296E10 00293D50 7F BE 1A 14 */ add r29, r30, r3
/* 80296E14 00293D54 7F E3 FB 78 */ mr r3, r31
/* 80296E18 00293D58 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296E1C 00293D5C 83 DF 00 C0 */ lwz r30, 0xc0(r31)
/* 80296E20 00293D60 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80296E24 00293D64 7D 89 03 A6 */ mtctr r12
/* 80296E28 00293D68 4E 80 04 21 */ bctrl
/* 80296E2C 00293D6C FC 80 08 90 */ fmr f4, f1
/* 80296E30 00293D70 C0 3E 05 3C */ lfs f1, 0x53c(r30)
/* 80296E34 00293D74 C0 5E 04 C4 */ lfs f2, 0x4c4(r30)
/* 80296E38 00293D78 7F E3 FB 78 */ mr r3, r31
/* 80296E3C 00293D7C C0 7E 04 EC */ lfs f3, 0x4ec(r30)
/* 80296E40 00293D80 38 80 00 00 */ li r4, 0
/* 80296E44 00293D84 4B E7 C2 D9 */ bl "flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition<Q24Game4Piki>"
/* 80296E48 00293D88 2C 1D 00 00 */ cmpwi r29, 0
/* 80296E4C 00293D8C 40 82 04 14 */ bne .L_80297260
/* 80296E50 00293D90 7F E3 FB 78 */ mr r3, r31
/* 80296E54 00293D94 38 80 00 07 */ li r4, 7
/* 80296E58 00293D98 38 A0 00 00 */ li r5, 0
/* 80296E5C 00293D9C 4B E6 E1 A9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 80296E60 00293DA0 48 00 04 00 */ b .L_80297260
.L_80296E64:
/* 80296E64 00293DA4 7F E3 FB 78 */ mr r3, r31
/* 80296E68 00293DA8 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296E6C 00293DAC 81 8C 03 04 */ lwz r12, 0x304(r12)
/* 80296E70 00293DB0 7D 89 03 A6 */ mtctr r12
/* 80296E74 00293DB4 4E 80 04 21 */ bctrl
/* 80296E78 00293DB8 48 00 03 E8 */ b .L_80297260
.L_80296E7C:
/* 80296E7C 00293DBC 28 00 00 03 */ cmplwi r0, 3
/* 80296E80 00293DC0 40 82 00 3C */ bne .L_80296EBC
/* 80296E84 00293DC4 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80296E88 00293DC8 7F E3 FB 78 */ mr r3, r31
/* 80296E8C 00293DCC 38 80 00 00 */ li r4, 0
/* 80296E90 00293DD0 C0 25 08 1C */ lfs f1, 0x81c(r5)
/* 80296E94 00293DD4 4B E7 CF F1 */ bl "swallowPikmin__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition<Q24Game4Piki>"
/* 80296E98 00293DD8 C0 3F 02 00 */ lfs f1, 0x200(r31)
/* 80296E9C 00293DDC C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80296EA0 00293DE0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80296EA4 00293DE4 4C 40 13 82 */ cror 2, 0, 2
/* 80296EA8 00293DE8 40 82 03 B8 */ bne .L_80297260
/* 80296EAC 00293DEC C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80296EB0 00293DF0 7F E3 FB 78 */ mr r3, r31
/* 80296EB4 00293DF4 4B E7 04 DD */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80296EB8 00293DF8 48 00 03 A8 */ b .L_80297260
.L_80296EBC:
/* 80296EBC 00293DFC 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 80296EC0 00293E00 40 82 03 A0 */ bne .L_80297260
/* 80296EC4 00293E04 C0 3F 02 00 */ lfs f1, 0x200(r31)
/* 80296EC8 00293E08 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80296ECC 00293E0C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80296ED0 00293E10 4C 40 13 82 */ cror 2, 0, 2
/* 80296ED4 00293E14 40 82 00 20 */ bne .L_80296EF4
/* 80296ED8 00293E18 81 83 00 00 */ lwz r12, 0(r3)
/* 80296EDC 00293E1C 38 A0 00 00 */ li r5, 0
/* 80296EE0 00293E20 38 C0 00 00 */ li r6, 0
/* 80296EE4 00293E24 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296EE8 00293E28 7D 89 03 A6 */ mtctr r12
/* 80296EEC 00293E2C 4E 80 04 21 */ bctrl
/* 80296EF0 00293E30 48 00 03 70 */ b .L_80297260
.L_80296EF4:
/* 80296EF4 00293E34 7F E3 FB 78 */ mr r3, r31
/* 80296EF8 00293E38 38 80 00 00 */ li r4, 0
/* 80296EFC 00293E3C 4B E7 D7 5D */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb
/* 80296F00 00293E40 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80296F04 00293E44 41 82 00 28 */ beq .L_80296F2C
/* 80296F08 00293E48 7F 83 E3 78 */ mr r3, r28
/* 80296F0C 00293E4C 7F E4 FB 78 */ mr r4, r31
/* 80296F10 00293E50 81 9C 00 00 */ lwz r12, 0(r28)
/* 80296F14 00293E54 38 A0 00 04 */ li r5, 4
/* 80296F18 00293E58 38 C0 00 00 */ li r6, 0
/* 80296F1C 00293E5C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80296F20 00293E60 7D 89 03 A6 */ mtctr r12
/* 80296F24 00293E64 4E 80 04 21 */ bctrl
/* 80296F28 00293E68 48 00 03 38 */ b .L_80297260
.L_80296F2C:
/* 80296F2C 00293E6C 7F E3 FB 78 */ mr r3, r31
/* 80296F30 00293E70 48 00 32 E1 */ bl getSearchedTarget__Q34Game10KumaChappy3ObjFv
/* 80296F34 00293E74 7C 7D 1B 79 */ or. r29, r3, r3
/* 80296F38 00293E78 41 82 02 50 */ beq .L_80297188
/* 80296F3C 00293E7C 7F A4 EB 78 */ mr r4, r29
/* 80296F40 00293E80 38 61 00 80 */ addi r3, r1, 0x80
/* 80296F44 00293E84 81 9D 00 00 */ lwz r12, 0(r29)
/* 80296F48 00293E88 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296F4C 00293E8C 7D 89 03 A6 */ mtctr r12
/* 80296F50 00293E90 4E 80 04 21 */ bctrl
/* 80296F54 00293E94 7F E4 FB 78 */ mr r4, r31
/* 80296F58 00293E98 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 80296F5C 00293E9C 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296F60 00293EA0 38 61 00 8C */ addi r3, r1, 0x8c
/* 80296F64 00293EA4 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 80296F68 00293EA8 C0 01 00 88 */ lfs f0, 0x88(r1)
/* 80296F6C 00293EAC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296F70 00293EB0 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 80296F74 00293EB4 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 80296F78 00293EB8 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 80296F7C 00293EBC 7D 89 03 A6 */ mtctr r12
/* 80296F80 00293EC0 4E 80 04 21 */ bctrl
/* 80296F84 00293EC4 C0 A1 00 8C */ lfs f5, 0x8c(r1)
/* 80296F88 00293EC8 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80296F8C 00293ECC C0 61 00 94 */ lfs f3, 0x94(r1)
/* 80296F90 00293ED0 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80296F94 00293ED4 C0 21 00 68 */ lfs f1, 0x68(r1)
/* 80296F98 00293ED8 C0 01 00 70 */ lfs f0, 0x70(r1)
/* 80296F9C 00293EDC C0 81 00 90 */ lfs f4, 0x90(r1)
/* 80296FA0 00293EE0 EC 21 28 28 */ fsubs f1, f1, f5
/* 80296FA4 00293EE4 EC 40 18 28 */ fsubs f2, f0, f3
/* 80296FA8 00293EE8 D0 A1 00 74 */ stfs f5, 0x74(r1)
/* 80296FAC 00293EEC D0 81 00 78 */ stfs f4, 0x78(r1)
/* 80296FB0 00293EF0 D0 61 00 7C */ stfs f3, 0x7c(r1)
/* 80296FB4 00293EF4 4B D9 E1 55 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80296FB8 00293EF8 48 17 AC 19 */ bl roundAng__Ff
/* 80296FBC 00293EFC 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296FC0 00293F00 FF 40 08 90 */ fmr f26, f1
/* 80296FC4 00293F04 7F E3 FB 78 */ mr r3, r31
/* 80296FC8 00293F08 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80296FCC 00293F0C 7D 89 03 A6 */ mtctr r12
/* 80296FD0 00293F10 4E 80 04 21 */ bctrl
/* 80296FD4 00293F14 FC 40 08 90 */ fmr f2, f1
/* 80296FD8 00293F18 FC 20 D0 90 */ fmr f1, f26
/* 80296FDC 00293F1C 48 17 AC 21 */ bl angDist__Fff
/* 80296FE0 00293F20 7F E4 FB 78 */ mr r4, r31
/* 80296FE4 00293F24 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80296FE8 00293F28 81 9F 00 00 */ lwz r12, 0(r31)
/* 80296FEC 00293F2C FF C0 08 90 */ fmr f30, f1
/* 80296FF0 00293F30 38 61 00 14 */ addi r3, r1, 0x14
/* 80296FF4 00293F34 C3 85 05 8C */ lfs f28, 0x58c(r5)
/* 80296FF8 00293F38 81 8C 00 08 */ lwz r12, 8(r12)
/* 80296FFC 00293F3C 3B C0 00 00 */ li r30, 0
/* 80297000 00293F40 C3 A5 05 64 */ lfs f29, 0x564(r5)
/* 80297004 00293F44 7D 89 03 A6 */ mtctr r12
/* 80297008 00293F48 4E 80 04 21 */ bctrl
/* 8029700C 00293F4C 7F A4 EB 78 */ mr r4, r29
/* 80297010 00293F50 38 61 00 08 */ addi r3, r1, 8
/* 80297014 00293F54 81 9D 00 00 */ lwz r12, 0(r29)
/* 80297018 00293F58 C3 E1 00 14 */ lfs f31, 0x14(r1)
/* 8029701C 00293F5C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297020 00293F60 7D 89 03 A6 */ mtctr r12
/* 80297024 00293F64 4E 80 04 21 */ bctrl
/* 80297028 00293F68 7F E4 FB 78 */ mr r4, r31
/* 8029702C 00293F6C C0 01 00 08 */ lfs f0, 8(r1)
/* 80297030 00293F70 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297034 00293F74 38 61 00 2C */ addi r3, r1, 0x2c
/* 80297038 00293F78 EF 40 F8 28 */ fsubs f26, f0, f31
/* 8029703C 00293F7C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297040 00293F80 7D 89 03 A6 */ mtctr r12
/* 80297044 00293F84 4E 80 04 21 */ bctrl
/* 80297048 00293F88 7F A4 EB 78 */ mr r4, r29
/* 8029704C 00293F8C 38 61 00 20 */ addi r3, r1, 0x20
/* 80297050 00293F90 81 9D 00 00 */ lwz r12, 0(r29)
/* 80297054 00293F94 C3 E1 00 30 */ lfs f31, 0x30(r1)
/* 80297058 00293F98 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029705C 00293F9C 7D 89 03 A6 */ mtctr r12
/* 80297060 00293FA0 4E 80 04 21 */ bctrl
/* 80297064 00293FA4 7F E4 FB 78 */ mr r4, r31
/* 80297068 00293FA8 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8029706C 00293FAC 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297070 00293FB0 38 61 00 44 */ addi r3, r1, 0x44
/* 80297074 00293FB4 EF 60 F8 28 */ fsubs f27, f0, f31
/* 80297078 00293FB8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029707C 00293FBC 7D 89 03 A6 */ mtctr r12
/* 80297080 00293FC0 4E 80 04 21 */ bctrl
/* 80297084 00293FC4 7F A4 EB 78 */ mr r4, r29
/* 80297088 00293FC8 38 61 00 38 */ addi r3, r1, 0x38
/* 8029708C 00293FCC 81 9D 00 00 */ lwz r12, 0(r29)
/* 80297090 00293FD0 C3 E1 00 4C */ lfs f31, 0x4c(r1)
/* 80297094 00293FD4 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297098 00293FD8 7D 89 03 A6 */ mtctr r12
/* 8029709C 00293FDC 4E 80 04 21 */ bctrl
/* 802970A0 00293FE0 EC 3B 06 F2 */ fmuls f1, f27, f27
/* 802970A4 00293FE4 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 802970A8 00293FE8 EC 1D 07 72 */ fmuls f0, f29, f29
/* 802970AC 00293FEC EC 42 F8 28 */ fsubs f2, f2, f31
/* 802970B0 00293FF0 EC 3A 0E BA */ fmadds f1, f26, f26, f1
/* 802970B4 00293FF4 EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 802970B8 00293FF8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802970BC 00293FFC 40 80 00 2C */ bge .L_802970E8
/* 802970C0 00294000 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 802970C4 00294004 FC 40 F2 10 */ fabs f2, f30
/* 802970C8 00294008 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 802970CC 0029400C EC 00 07 32 */ fmuls f0, f0, f28
/* 802970D0 00294010 FC 40 10 18 */ frsp f2, f2
/* 802970D4 00294014 EC 01 00 32 */ fmuls f0, f1, f0
/* 802970D8 00294018 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802970DC 0029401C 4C 40 13 82 */ cror 2, 0, 2
/* 802970E0 00294020 40 82 00 08 */ bne .L_802970E8
/* 802970E4 00294024 3B C0 00 01 */ li r30, 1
.L_802970E8:
/* 802970E8 00294028 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 802970EC 0029402C 41 82 00 28 */ beq .L_80297114
/* 802970F0 00294030 7F 83 E3 78 */ mr r3, r28
/* 802970F4 00294034 7F E4 FB 78 */ mr r4, r31
/* 802970F8 00294038 81 9C 00 00 */ lwz r12, 0(r28)
/* 802970FC 0029403C 38 A0 00 03 */ li r5, 3
/* 80297100 00294040 38 C0 00 00 */ li r6, 0
/* 80297104 00294044 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80297108 00294048 7D 89 03 A6 */ mtctr r12
/* 8029710C 0029404C 4E 80 04 21 */ bctrl
/* 80297110 00294050 48 00 01 50 */ b .L_80297260
.L_80297114:
/* 80297114 00294054 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 80297118 00294058 FC 40 F2 10 */ fabs f2, f30
/* 8029711C 0029405C C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80297120 00294060 C0 63 05 8C */ lfs f3, 0x58c(r3)
/* 80297124 00294064 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80297128 00294068 FC 40 10 18 */ frsp f2, f2
/* 8029712C 0029406C EC 00 00 F2 */ fmuls f0, f0, f3
/* 80297130 00294070 EC 01 00 32 */ fmuls f0, f1, f0
/* 80297134 00294074 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80297138 00294078 4C 40 13 82 */ cror 2, 0, 2
/* 8029713C 0029407C 40 82 00 28 */ bne .L_80297164
/* 80297140 00294080 7F 83 E3 78 */ mr r3, r28
/* 80297144 00294084 7F E4 FB 78 */ mr r4, r31
/* 80297148 00294088 81 9C 00 00 */ lwz r12, 0(r28)
/* 8029714C 0029408C 38 A0 00 07 */ li r5, 7
/* 80297150 00294090 38 C0 00 00 */ li r6, 0
/* 80297154 00294094 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80297158 00294098 7D 89 03 A6 */ mtctr r12
/* 8029715C 0029409C 4E 80 04 21 */ bctrl
/* 80297160 002940A0 48 00 01 00 */ b .L_80297260
.L_80297164:
/* 80297164 002940A4 7F 83 E3 78 */ mr r3, r28
/* 80297168 002940A8 7F E4 FB 78 */ mr r4, r31
/* 8029716C 002940AC 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297170 002940B0 38 A0 00 05 */ li r5, 5
/* 80297174 002940B4 38 C0 00 00 */ li r6, 0
/* 80297178 002940B8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8029717C 002940BC 7D 89 03 A6 */ mtctr r12
/* 80297180 002940C0 4E 80 04 21 */ bctrl
/* 80297184 002940C4 48 00 00 DC */ b .L_80297260
.L_80297188:
/* 80297188 002940C8 7F E3 FB 78 */ mr r3, r31
/* 8029718C 002940CC 48 00 2D 75 */ bl setNearestWayPoint__Q34Game10KumaChappy3ObjFv
/* 80297190 002940D0 7F E4 FB 78 */ mr r4, r31
/* 80297194 002940D4 38 61 00 5C */ addi r3, r1, 0x5c
/* 80297198 002940D8 81 9F 00 00 */ lwz r12, 0(r31)
/* 8029719C 002940DC C3 5F 02 E0 */ lfs f26, 0x2e0(r31)
/* 802971A0 002940E0 81 8C 00 08 */ lwz r12, 8(r12)
/* 802971A4 002940E4 C3 7F 02 E8 */ lfs f27, 0x2e8(r31)
/* 802971A8 002940E8 7D 89 03 A6 */ mtctr r12
/* 802971AC 002940EC 4E 80 04 21 */ bctrl
/* 802971B0 002940F0 C0 81 00 5C */ lfs f4, 0x5c(r1)
/* 802971B4 002940F4 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 802971B8 002940F8 C0 01 00 64 */ lfs f0, 0x64(r1)
/* 802971BC 002940FC 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 802971C0 00294100 C0 61 00 60 */ lfs f3, 0x60(r1)
/* 802971C4 00294104 EC 3A 20 28 */ fsubs f1, f26, f4
/* 802971C8 00294108 EC 5B 00 28 */ fsubs f2, f27, f0
/* 802971CC 0029410C D0 81 00 50 */ stfs f4, 0x50(r1)
/* 802971D0 00294110 D0 61 00 54 */ stfs f3, 0x54(r1)
/* 802971D4 00294114 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 802971D8 00294118 4B D9 DF 31 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 802971DC 0029411C 48 17 A9 F5 */ bl roundAng__Ff
/* 802971E0 00294120 81 9F 00 00 */ lwz r12, 0(r31)
/* 802971E4 00294124 FF 40 08 90 */ fmr f26, f1
/* 802971E8 00294128 7F E3 FB 78 */ mr r3, r31
/* 802971EC 0029412C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 802971F0 00294130 7D 89 03 A6 */ mtctr r12
/* 802971F4 00294134 4E 80 04 21 */ bctrl
/* 802971F8 00294138 FC 40 08 90 */ fmr f2, f1
/* 802971FC 0029413C FC 20 D0 90 */ fmr f1, f26
/* 80297200 00294140 48 17 A9 FD */ bl angDist__Fff
/* 80297204 00294144 FC 20 0A 10 */ fabs f1, f1
/* 80297208 00294148 C0 02 D7 C8 */ lfs f0, lbl_8051BB28@sda21(r2)
/* 8029720C 0029414C FC 20 08 18 */ frsp f1, f1
/* 80297210 00294150 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80297214 00294154 4C 40 13 82 */ cror 2, 0, 2
/* 80297218 00294158 40 82 00 28 */ bne .L_80297240
/* 8029721C 0029415C 7F 83 E3 78 */ mr r3, r28
/* 80297220 00294160 7F E4 FB 78 */ mr r4, r31
/* 80297224 00294164 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297228 00294168 38 A0 00 08 */ li r5, 8
/* 8029722C 0029416C 38 C0 00 00 */ li r6, 0
/* 80297230 00294170 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80297234 00294174 7D 89 03 A6 */ mtctr r12
/* 80297238 00294178 4E 80 04 21 */ bctrl
/* 8029723C 0029417C 48 00 00 24 */ b .L_80297260
.L_80297240:
/* 80297240 00294180 7F 83 E3 78 */ mr r3, r28
/* 80297244 00294184 7F E4 FB 78 */ mr r4, r31
/* 80297248 00294188 81 9C 00 00 */ lwz r12, 0(r28)
/* 8029724C 0029418C 38 A0 00 06 */ li r5, 6
/* 80297250 00294190 38 C0 00 00 */ li r6, 0
/* 80297254 00294194 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80297258 00294198 7D 89 03 A6 */ mtctr r12
/* 8029725C 0029419C 4E 80 04 21 */ bctrl
.L_80297260:
/* 80297260 002941A0 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0
/* 80297264 002941A4 CB E1 01 00 */ lfd f31, 0x100(r1)
/* 80297268 002941A8 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0
/* 8029726C 002941AC CB C1 00 F0 */ lfd f30, 0xf0(r1)
/* 80297270 002941B0 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0
/* 80297274 002941B4 CB A1 00 E0 */ lfd f29, 0xe0(r1)
/* 80297278 002941B8 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0
/* 8029727C 002941BC CB 81 00 D0 */ lfd f28, 0xd0(r1)
/* 80297280 002941C0 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0
/* 80297284 002941C4 CB 61 00 C0 */ lfd f27, 0xc0(r1)
/* 80297288 002941C8 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0
/* 8029728C 002941CC CB 41 00 B0 */ lfd f26, 0xb0(r1)
/* 80297290 002941D0 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 80297294 002941D4 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 80297298 002941D8 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 8029729C 002941DC 80 01 01 14 */ lwz r0, 0x114(r1)
/* 802972A0 002941E0 83 81 00 A0 */ lwz r28, 0xa0(r1)
/* 802972A4 002941E4 7C 08 03 A6 */ mtlr r0
/* 802972A8 002941E8 38 21 01 10 */ addi r1, r1, 0x110
/* 802972AC 002941EC 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy11StateAttackFPQ24Game9EnemyBase:
/* 802972B0 002941F0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802972B4 002941F4 7C 08 02 A6 */ mflr r0
/* 802972B8 002941F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 802972BC 002941FC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802972C0 00294200 7C 9F 23 78 */ mr r31, r4
/* 802972C4 00294204 7F E3 FB 78 */ mr r3, r31
/* 802972C8 00294208 4B E6 A6 B5 */ bl setEmotionCaution__Q24Game9EnemyBaseFv
/* 802972CC 0029420C C0 22 D7 D0 */ lfs f1, lbl_8051BB30@sda21(r2)
/* 802972D0 00294210 7F E3 FB 78 */ mr r3, r31
/* 802972D4 00294214 4B E7 00 BD */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 802972D8 00294218 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802972DC 0029421C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802972E0 00294220 7C 08 03 A6 */ mtlr r0
/* 802972E4 00294224 38 21 00 10 */ addi r1, r1, 0x10
/* 802972E8 00294228 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 802972EC 0029422C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802972F0 00294230 7C 08 02 A6 */ mflr r0
/* 802972F4 00294234 90 01 00 14 */ stw r0, 0x14(r1)
/* 802972F8 00294238 38 00 FF FF */ li r0, -1
/* 802972FC 0029423C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80297300 00294240 7C 9F 23 78 */ mr r31, r4
/* 80297304 00294244 7F E3 FB 78 */ mr r3, r31
/* 80297308 00294248 90 04 02 D4 */ stw r0, 0x2d4(r4)
/* 8029730C 0029424C 4B E6 A6 C1 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv
/* 80297310 00294250 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80297314 00294254 7F E3 FB 78 */ mr r3, r31
/* 80297318 00294258 38 80 00 02 */ li r4, 2
/* 8029731C 0029425C 38 A0 00 00 */ li r5, 0
/* 80297320 00294260 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 80297324 00294264 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
/* 80297328 00294268 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
/* 8029732C 0029426C 4B E6 DC D9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 80297330 00294270 C0 22 D7 D4 */ lfs f1, lbl_8051BB34@sda21(r2)
/* 80297334 00294274 7F E3 FB 78 */ mr r3, r31
/* 80297338 00294278 4B E7 00 59 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 8029733C 0029427C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80297340 00294280 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80297344 00294284 7C 08 03 A6 */ mtlr r0
/* 80297348 00294288 38 21 00 10 */ addi r1, r1, 0x10
/* 8029734C 0029428C 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBase:
/* 80297350 00294290 94 21 FE F0 */ stwu r1, -0x110(r1)
/* 80297354 00294294 7C 08 02 A6 */ mflr r0
/* 80297358 00294298 90 01 01 14 */ stw r0, 0x114(r1)
/* 8029735C 0029429C DB E1 01 00 */ stfd f31, 0x100(r1)
/* 80297360 002942A0 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0
/* 80297364 002942A4 DB C1 00 F0 */ stfd f30, 0xf0(r1)
/* 80297368 002942A8 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0
/* 8029736C 002942AC DB A1 00 E0 */ stfd f29, 0xe0(r1)
/* 80297370 002942B0 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0
/* 80297374 002942B4 DB 81 00 D0 */ stfd f28, 0xd0(r1)
/* 80297378 002942B8 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0
/* 8029737C 002942BC DB 61 00 C0 */ stfd f27, 0xc0(r1)
/* 80297380 002942C0 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0
/* 80297384 002942C4 DB 41 00 B0 */ stfd f26, 0xb0(r1)
/* 80297388 002942C8 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0
/* 8029738C 002942CC 93 E1 00 AC */ stw r31, 0xac(r1)
/* 80297390 002942D0 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 80297394 002942D4 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 80297398 002942D8 93 81 00 A0 */ stw r28, 0xa0(r1)
/* 8029739C 002942DC 80 A4 01 88 */ lwz r5, 0x188(r4)
/* 802973A0 002942E0 7C 7C 1B 78 */ mr r28, r3
/* 802973A4 002942E4 7C 9E 23 78 */ mr r30, r4
/* 802973A8 002942E8 88 05 00 24 */ lbz r0, 0x24(r5)
/* 802973AC 002942EC 28 00 00 00 */ cmplwi r0, 0
/* 802973B0 002942F0 41 82 04 24 */ beq .L_802977D4
/* 802973B4 002942F4 80 05 00 1C */ lwz r0, 0x1c(r5)
/* 802973B8 002942F8 28 00 00 02 */ cmplwi r0, 2
/* 802973BC 002942FC 40 82 00 AC */ bne .L_80297468
/* 802973C0 00294300 7F C3 F3 78 */ mr r3, r30
/* 802973C4 00294304 83 FE 00 C0 */ lwz r31, 0xc0(r30)
/* 802973C8 00294308 81 9E 00 00 */ lwz r12, 0(r30)
/* 802973CC 0029430C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 802973D0 00294310 7D 89 03 A6 */ mtctr r12
/* 802973D4 00294314 4E 80 04 21 */ bctrl
/* 802973D8 00294318 FC 80 08 90 */ fmr f4, f1
/* 802973DC 0029431C C0 3F 05 3C */ lfs f1, 0x53c(r31)
/* 802973E0 00294320 C0 5F 04 C4 */ lfs f2, 0x4c4(r31)
/* 802973E4 00294324 7F C3 F3 78 */ mr r3, r30
/* 802973E8 00294328 C0 7F 04 EC */ lfs f3, 0x4ec(r31)
/* 802973EC 0029432C 38 80 00 00 */ li r4, 0
/* 802973F0 00294330 4B E7 BD 2D */ bl "flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition<Q24Game4Piki>"
/* 802973F4 00294334 7F C3 F3 78 */ mr r3, r30
/* 802973F8 00294338 83 FE 00 C0 */ lwz r31, 0xc0(r30)
/* 802973FC 0029433C 81 9E 00 00 */ lwz r12, 0(r30)
/* 80297400 00294340 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80297404 00294344 7D 89 03 A6 */ mtctr r12
/* 80297408 00294348 4E 80 04 21 */ bctrl
/* 8029740C 0029434C FC 80 08 90 */ fmr f4, f1
/* 80297410 00294350 C0 3F 05 14 */ lfs f1, 0x514(r31)
/* 80297414 00294354 C0 5F 04 C4 */ lfs f2, 0x4c4(r31)
/* 80297418 00294358 7F C3 F3 78 */ mr r3, r30
/* 8029741C 0029435C C0 7F 04 EC */ lfs f3, 0x4ec(r31)
/* 80297420 00294360 38 80 00 00 */ li r4, 0
/* 80297424 00294364 4B E7 C0 B1 */ bl "flickNearbyPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition<Q24Game4Piki>"
/* 80297428 00294368 7F C3 F3 78 */ mr r3, r30
/* 8029742C 0029436C 83 FE 00 C0 */ lwz r31, 0xc0(r30)
/* 80297430 00294370 81 9E 00 00 */ lwz r12, 0(r30)
/* 80297434 00294374 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80297438 00294378 7D 89 03 A6 */ mtctr r12
/* 8029743C 0029437C 4E 80 04 21 */ bctrl
/* 80297440 00294380 FC 80 08 90 */ fmr f4, f1
/* 80297444 00294384 C0 3F 05 14 */ lfs f1, 0x514(r31)
/* 80297448 00294388 C0 5F 04 C4 */ lfs f2, 0x4c4(r31)
/* 8029744C 0029438C 7F C3 F3 78 */ mr r3, r30
/* 80297450 00294390 C0 7F 04 EC */ lfs f3, 0x4ec(r31)
/* 80297454 00294394 38 80 00 00 */ li r4, 0
/* 80297458 00294398 4B E7 C3 39 */ bl "flickNearbyNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition<Q24Game4Navi>"
/* 8029745C 0029439C C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80297460 002943A0 D0 1E 02 0C */ stfs f0, 0x20c(r30)
/* 80297464 002943A4 48 00 03 70 */ b .L_802977D4
.L_80297468:
/* 80297468 002943A8 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 8029746C 002943AC 40 82 03 68 */ bne .L_802977D4
/* 80297470 002943B0 C0 3E 02 00 */ lfs f1, 0x200(r30)
/* 80297474 002943B4 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80297478 002943B8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029747C 002943BC 4C 40 13 82 */ cror 2, 0, 2
/* 80297480 002943C0 40 82 00 20 */ bne .L_802974A0
/* 80297484 002943C4 81 83 00 00 */ lwz r12, 0(r3)
/* 80297488 002943C8 38 A0 00 00 */ li r5, 0
/* 8029748C 002943CC 38 C0 00 00 */ li r6, 0
/* 80297490 002943D0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80297494 002943D4 7D 89 03 A6 */ mtctr r12
/* 80297498 002943D8 4E 80 04 21 */ bctrl
/* 8029749C 002943DC 48 00 03 38 */ b .L_802977D4
.L_802974A0:
/* 802974A0 002943E0 7F C3 F3 78 */ mr r3, r30
/* 802974A4 002943E4 48 00 2D 6D */ bl getSearchedTarget__Q34Game10KumaChappy3ObjFv
/* 802974A8 002943E8 7C 7D 1B 79 */ or. r29, r3, r3
/* 802974AC 002943EC 41 82 02 50 */ beq .L_802976FC
/* 802974B0 002943F0 7F A4 EB 78 */ mr r4, r29
/* 802974B4 002943F4 38 61 00 80 */ addi r3, r1, 0x80
/* 802974B8 002943F8 81 9D 00 00 */ lwz r12, 0(r29)
/* 802974BC 002943FC 81 8C 00 08 */ lwz r12, 8(r12)
/* 802974C0 00294400 7D 89 03 A6 */ mtctr r12
/* 802974C4 00294404 4E 80 04 21 */ bctrl
/* 802974C8 00294408 7F C4 F3 78 */ mr r4, r30
/* 802974CC 0029440C C0 41 00 80 */ lfs f2, 0x80(r1)
/* 802974D0 00294410 81 9E 00 00 */ lwz r12, 0(r30)
/* 802974D4 00294414 38 61 00 8C */ addi r3, r1, 0x8c
/* 802974D8 00294418 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 802974DC 0029441C C0 01 00 88 */ lfs f0, 0x88(r1)
/* 802974E0 00294420 81 8C 00 08 */ lwz r12, 8(r12)
/* 802974E4 00294424 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 802974E8 00294428 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 802974EC 0029442C D0 01 00 70 */ stfs f0, 0x70(r1)
/* 802974F0 00294430 7D 89 03 A6 */ mtctr r12
/* 802974F4 00294434 4E 80 04 21 */ bctrl
/* 802974F8 00294438 C0 A1 00 8C */ lfs f5, 0x8c(r1)
/* 802974FC 0029443C 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80297500 00294440 C0 61 00 94 */ lfs f3, 0x94(r1)
/* 80297504 00294444 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80297508 00294448 C0 21 00 68 */ lfs f1, 0x68(r1)
/* 8029750C 0029444C C0 01 00 70 */ lfs f0, 0x70(r1)
/* 80297510 00294450 C0 81 00 90 */ lfs f4, 0x90(r1)
/* 80297514 00294454 EC 21 28 28 */ fsubs f1, f1, f5
/* 80297518 00294458 EC 40 18 28 */ fsubs f2, f0, f3
/* 8029751C 0029445C D0 A1 00 74 */ stfs f5, 0x74(r1)
/* 80297520 00294460 D0 81 00 78 */ stfs f4, 0x78(r1)
/* 80297524 00294464 D0 61 00 7C */ stfs f3, 0x7c(r1)
/* 80297528 00294468 4B D9 DB E1 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 8029752C 0029446C 48 17 A6 A5 */ bl roundAng__Ff
/* 80297530 00294470 81 9E 00 00 */ lwz r12, 0(r30)
/* 80297534 00294474 FF 40 08 90 */ fmr f26, f1
/* 80297538 00294478 7F C3 F3 78 */ mr r3, r30
/* 8029753C 0029447C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80297540 00294480 7D 89 03 A6 */ mtctr r12
/* 80297544 00294484 4E 80 04 21 */ bctrl
/* 80297548 00294488 FC 40 08 90 */ fmr f2, f1
/* 8029754C 0029448C FC 20 D0 90 */ fmr f1, f26
/* 80297550 00294490 48 17 A6 AD */ bl angDist__Fff
/* 80297554 00294494 7F C4 F3 78 */ mr r4, r30
/* 80297558 00294498 80 BE 00 C0 */ lwz r5, 0xc0(r30)
/* 8029755C 0029449C 81 9E 00 00 */ lwz r12, 0(r30)
/* 80297560 002944A0 FF C0 08 90 */ fmr f30, f1
/* 80297564 002944A4 38 61 00 14 */ addi r3, r1, 0x14
/* 80297568 002944A8 C3 85 05 8C */ lfs f28, 0x58c(r5)
/* 8029756C 002944AC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297570 002944B0 3B E0 00 00 */ li r31, 0
/* 80297574 002944B4 C3 A5 05 64 */ lfs f29, 0x564(r5)
/* 80297578 002944B8 7D 89 03 A6 */ mtctr r12
/* 8029757C 002944BC 4E 80 04 21 */ bctrl
/* 80297580 002944C0 7F A4 EB 78 */ mr r4, r29
/* 80297584 002944C4 38 61 00 08 */ addi r3, r1, 8
/* 80297588 002944C8 81 9D 00 00 */ lwz r12, 0(r29)
/* 8029758C 002944CC C3 E1 00 14 */ lfs f31, 0x14(r1)
/* 80297590 002944D0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297594 002944D4 7D 89 03 A6 */ mtctr r12
/* 80297598 002944D8 4E 80 04 21 */ bctrl
/* 8029759C 002944DC 7F C4 F3 78 */ mr r4, r30
/* 802975A0 002944E0 C0 01 00 08 */ lfs f0, 8(r1)
/* 802975A4 002944E4 81 9E 00 00 */ lwz r12, 0(r30)
/* 802975A8 002944E8 38 61 00 2C */ addi r3, r1, 0x2c
/* 802975AC 002944EC EF 40 F8 28 */ fsubs f26, f0, f31
/* 802975B0 002944F0 81 8C 00 08 */ lwz r12, 8(r12)
/* 802975B4 002944F4 7D 89 03 A6 */ mtctr r12
/* 802975B8 002944F8 4E 80 04 21 */ bctrl
/* 802975BC 002944FC 7F A4 EB 78 */ mr r4, r29
/* 802975C0 00294500 38 61 00 20 */ addi r3, r1, 0x20
/* 802975C4 00294504 81 9D 00 00 */ lwz r12, 0(r29)
/* 802975C8 00294508 C3 E1 00 30 */ lfs f31, 0x30(r1)
/* 802975CC 0029450C 81 8C 00 08 */ lwz r12, 8(r12)
/* 802975D0 00294510 7D 89 03 A6 */ mtctr r12
/* 802975D4 00294514 4E 80 04 21 */ bctrl
/* 802975D8 00294518 7F C4 F3 78 */ mr r4, r30
/* 802975DC 0029451C C0 01 00 24 */ lfs f0, 0x24(r1)
/* 802975E0 00294520 81 9E 00 00 */ lwz r12, 0(r30)
/* 802975E4 00294524 38 61 00 44 */ addi r3, r1, 0x44
/* 802975E8 00294528 EF 60 F8 28 */ fsubs f27, f0, f31
/* 802975EC 0029452C 81 8C 00 08 */ lwz r12, 8(r12)
/* 802975F0 00294530 7D 89 03 A6 */ mtctr r12
/* 802975F4 00294534 4E 80 04 21 */ bctrl
/* 802975F8 00294538 7F A4 EB 78 */ mr r4, r29
/* 802975FC 0029453C 38 61 00 38 */ addi r3, r1, 0x38
/* 80297600 00294540 81 9D 00 00 */ lwz r12, 0(r29)
/* 80297604 00294544 C3 E1 00 4C */ lfs f31, 0x4c(r1)
/* 80297608 00294548 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029760C 0029454C 7D 89 03 A6 */ mtctr r12
/* 80297610 00294550 4E 80 04 21 */ bctrl
/* 80297614 00294554 EC 3B 06 F2 */ fmuls f1, f27, f27
/* 80297618 00294558 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 8029761C 0029455C EC 1D 07 72 */ fmuls f0, f29, f29
/* 80297620 00294560 EC 42 F8 28 */ fsubs f2, f2, f31
/* 80297624 00294564 EC 3A 0E BA */ fmadds f1, f26, f26, f1
/* 80297628 00294568 EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 8029762C 0029456C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80297630 00294570 40 80 00 2C */ bge .L_8029765C
/* 80297634 00294574 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80297638 00294578 FC 40 F2 10 */ fabs f2, f30
/* 8029763C 0029457C C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80297640 00294580 EC 00 07 32 */ fmuls f0, f0, f28
/* 80297644 00294584 FC 40 10 18 */ frsp f2, f2
/* 80297648 00294588 EC 01 00 32 */ fmuls f0, f1, f0
/* 8029764C 0029458C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80297650 00294590 4C 40 13 82 */ cror 2, 0, 2
/* 80297654 00294594 40 82 00 08 */ bne .L_8029765C
/* 80297658 00294598 3B E0 00 01 */ li r31, 1
.L_8029765C:
/* 8029765C 0029459C 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80297660 002945A0 41 82 00 28 */ beq .L_80297688
/* 80297664 002945A4 7F 83 E3 78 */ mr r3, r28
/* 80297668 002945A8 7F C4 F3 78 */ mr r4, r30
/* 8029766C 002945AC 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297670 002945B0 38 A0 00 03 */ li r5, 3
/* 80297674 002945B4 38 C0 00 00 */ li r6, 0
/* 80297678 002945B8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8029767C 002945BC 7D 89 03 A6 */ mtctr r12
/* 80297680 002945C0 4E 80 04 21 */ bctrl
/* 80297684 002945C4 48 00 01 50 */ b .L_802977D4
.L_80297688:
/* 80297688 002945C8 80 7E 00 C0 */ lwz r3, 0xc0(r30)
/* 8029768C 002945CC FC 40 F2 10 */ fabs f2, f30
/* 80297690 002945D0 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80297694 002945D4 C0 63 05 8C */ lfs f3, 0x58c(r3)
/* 80297698 002945D8 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 8029769C 002945DC FC 40 10 18 */ frsp f2, f2
/* 802976A0 002945E0 EC 00 00 F2 */ fmuls f0, f0, f3
/* 802976A4 002945E4 EC 01 00 32 */ fmuls f0, f1, f0
/* 802976A8 002945E8 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802976AC 002945EC 4C 40 13 82 */ cror 2, 0, 2
/* 802976B0 002945F0 40 82 00 28 */ bne .L_802976D8
/* 802976B4 002945F4 7F 83 E3 78 */ mr r3, r28
/* 802976B8 002945F8 7F C4 F3 78 */ mr r4, r30
/* 802976BC 002945FC 81 9C 00 00 */ lwz r12, 0(r28)
/* 802976C0 00294600 38 A0 00 07 */ li r5, 7
/* 802976C4 00294604 38 C0 00 00 */ li r6, 0
/* 802976C8 00294608 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802976CC 0029460C 7D 89 03 A6 */ mtctr r12
/* 802976D0 00294610 4E 80 04 21 */ bctrl
/* 802976D4 00294614 48 00 01 00 */ b .L_802977D4
.L_802976D8:
/* 802976D8 00294618 7F 83 E3 78 */ mr r3, r28
/* 802976DC 0029461C 7F C4 F3 78 */ mr r4, r30
/* 802976E0 00294620 81 9C 00 00 */ lwz r12, 0(r28)
/* 802976E4 00294624 38 A0 00 05 */ li r5, 5
/* 802976E8 00294628 38 C0 00 00 */ li r6, 0
/* 802976EC 0029462C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802976F0 00294630 7D 89 03 A6 */ mtctr r12
/* 802976F4 00294634 4E 80 04 21 */ bctrl
/* 802976F8 00294638 48 00 00 DC */ b .L_802977D4
.L_802976FC:
/* 802976FC 0029463C 7F C3 F3 78 */ mr r3, r30
/* 80297700 00294640 48 00 28 01 */ bl setNearestWayPoint__Q34Game10KumaChappy3ObjFv
/* 80297704 00294644 7F C4 F3 78 */ mr r4, r30
/* 80297708 00294648 38 61 00 5C */ addi r3, r1, 0x5c
/* 8029770C 0029464C 81 9E 00 00 */ lwz r12, 0(r30)
/* 80297710 00294650 C3 5E 02 E0 */ lfs f26, 0x2e0(r30)
/* 80297714 00294654 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297718 00294658 C3 7E 02 E8 */ lfs f27, 0x2e8(r30)
/* 8029771C 0029465C 7D 89 03 A6 */ mtctr r12
/* 80297720 00294660 4E 80 04 21 */ bctrl
/* 80297724 00294664 C0 81 00 5C */ lfs f4, 0x5c(r1)
/* 80297728 00294668 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 8029772C 0029466C C0 01 00 64 */ lfs f0, 0x64(r1)
/* 80297730 00294670 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80297734 00294674 C0 61 00 60 */ lfs f3, 0x60(r1)
/* 80297738 00294678 EC 3A 20 28 */ fsubs f1, f26, f4
/* 8029773C 0029467C EC 5B 00 28 */ fsubs f2, f27, f0
/* 80297740 00294680 D0 81 00 50 */ stfs f4, 0x50(r1)
/* 80297744 00294684 D0 61 00 54 */ stfs f3, 0x54(r1)
/* 80297748 00294688 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 8029774C 0029468C 4B D9 D9 BD */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80297750 00294690 48 17 A4 81 */ bl roundAng__Ff
/* 80297754 00294694 81 9E 00 00 */ lwz r12, 0(r30)
/* 80297758 00294698 FF 40 08 90 */ fmr f26, f1
/* 8029775C 0029469C 7F C3 F3 78 */ mr r3, r30
/* 80297760 002946A0 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80297764 002946A4 7D 89 03 A6 */ mtctr r12
/* 80297768 002946A8 4E 80 04 21 */ bctrl
/* 8029776C 002946AC FC 40 08 90 */ fmr f2, f1
/* 80297770 002946B0 FC 20 D0 90 */ fmr f1, f26
/* 80297774 002946B4 48 17 A4 89 */ bl angDist__Fff
/* 80297778 002946B8 FC 20 0A 10 */ fabs f1, f1
/* 8029777C 002946BC C0 02 D7 C8 */ lfs f0, lbl_8051BB28@sda21(r2)
/* 80297780 002946C0 FC 20 08 18 */ frsp f1, f1
/* 80297784 002946C4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80297788 002946C8 4C 40 13 82 */ cror 2, 0, 2
/* 8029778C 002946CC 40 82 00 28 */ bne .L_802977B4
/* 80297790 002946D0 7F 83 E3 78 */ mr r3, r28
/* 80297794 002946D4 7F C4 F3 78 */ mr r4, r30
/* 80297798 002946D8 81 9C 00 00 */ lwz r12, 0(r28)
/* 8029779C 002946DC 38 A0 00 08 */ li r5, 8
/* 802977A0 002946E0 38 C0 00 00 */ li r6, 0
/* 802977A4 002946E4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802977A8 002946E8 7D 89 03 A6 */ mtctr r12
/* 802977AC 002946EC 4E 80 04 21 */ bctrl
/* 802977B0 002946F0 48 00 00 24 */ b .L_802977D4
.L_802977B4:
/* 802977B4 002946F4 7F 83 E3 78 */ mr r3, r28
/* 802977B8 002946F8 7F C4 F3 78 */ mr r4, r30
/* 802977BC 002946FC 81 9C 00 00 */ lwz r12, 0(r28)
/* 802977C0 00294700 38 A0 00 06 */ li r5, 6
/* 802977C4 00294704 38 C0 00 00 */ li r6, 0
/* 802977C8 00294708 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802977CC 0029470C 7D 89 03 A6 */ mtctr r12
/* 802977D0 00294710 4E 80 04 21 */ bctrl
.L_802977D4:
/* 802977D4 00294714 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0
/* 802977D8 00294718 CB E1 01 00 */ lfd f31, 0x100(r1)
/* 802977DC 0029471C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0
/* 802977E0 00294720 CB C1 00 F0 */ lfd f30, 0xf0(r1)
/* 802977E4 00294724 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0
/* 802977E8 00294728 CB A1 00 E0 */ lfd f29, 0xe0(r1)
/* 802977EC 0029472C E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0
/* 802977F0 00294730 CB 81 00 D0 */ lfd f28, 0xd0(r1)
/* 802977F4 00294734 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0
/* 802977F8 00294738 CB 61 00 C0 */ lfd f27, 0xc0(r1)
/* 802977FC 0029473C E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0
/* 80297800 00294740 CB 41 00 B0 */ lfd f26, 0xb0(r1)
/* 80297804 00294744 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 80297808 00294748 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 8029780C 0029474C 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 80297810 00294750 80 01 01 14 */ lwz r0, 0x114(r1)
/* 80297814 00294754 83 81 00 A0 */ lwz r28, 0xa0(r1)
/* 80297818 00294758 7C 08 03 A6 */ mtlr r0
/* 8029781C 0029475C 38 21 01 10 */ addi r1, r1, 0x110
/* 80297820 00294760 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy10StateFlickFPQ24Game9EnemyBase:
/* 80297824 00294764 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80297828 00294768 7C 08 02 A6 */ mflr r0
/* 8029782C 0029476C C0 22 D7 D0 */ lfs f1, lbl_8051BB30@sda21(r2)
/* 80297830 00294770 90 01 00 14 */ stw r0, 0x14(r1)
/* 80297834 00294774 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80297838 00294778 7C 9F 23 78 */ mr r31, r4
/* 8029783C 0029477C 7F E3 FB 78 */ mr r3, r31
/* 80297840 00294780 4B E6 FB 51 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80297844 00294784 7F E3 FB 78 */ mr r3, r31
/* 80297848 00294788 4B E6 A1 35 */ bl setEmotionCaution__Q24Game9EnemyBaseFv
/* 8029784C 0029478C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80297850 00294790 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80297854 00294794 7C 08 03 A6 */ mtlr r0
/* 80297858 00294798 38 21 00 10 */ addi r1, r1, 0x10
/* 8029785C 0029479C 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 80297860 002947A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80297864 002947A4 7C 08 02 A6 */ mflr r0
/* 80297868 002947A8 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 8029786C 002947AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80297870 002947B0 38 00 FF FF */ li r0, -1
/* 80297874 002947B4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80297878 002947B8 7C 9F 23 78 */ mr r31, r4
/* 8029787C 002947BC 7F E3 FB 78 */ mr r3, r31
/* 80297880 002947C0 D0 04 02 D0 */ stfs f0, 0x2d0(r4)
/* 80297884 002947C4 90 04 02 D4 */ stw r0, 0x2d4(r4)
/* 80297888 002947C8 4B E6 A1 45 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv
/* 8029788C 002947CC C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80297890 002947D0 7F E3 FB 78 */ mr r3, r31
/* 80297894 002947D4 38 80 00 06 */ li r4, 6
/* 80297898 002947D8 38 A0 00 00 */ li r5, 0
/* 8029789C 002947DC D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 802978A0 002947E0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
/* 802978A4 002947E4 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
/* 802978A8 002947E8 4B E6 D7 5D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 802978AC 002947EC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802978B0 002947F0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802978B4 002947F4 7C 08 03 A6 */ mtlr r0
/* 802978B8 002947F8 38 21 00 10 */ addi r1, r1, 0x10
/* 802978BC 002947FC 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBase:
/* 802978C0 00294800 94 21 FE A0 */ stwu r1, -0x160(r1)
/* 802978C4 00294804 7C 08 02 A6 */ mflr r0
/* 802978C8 00294808 90 01 01 64 */ stw r0, 0x164(r1)
/* 802978CC 0029480C DB E1 01 50 */ stfd f31, 0x150(r1)
/* 802978D0 00294810 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0
/* 802978D4 00294814 DB C1 01 40 */ stfd f30, 0x140(r1)
/* 802978D8 00294818 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0
/* 802978DC 0029481C DB A1 01 30 */ stfd f29, 0x130(r1)
/* 802978E0 00294820 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0
/* 802978E4 00294824 DB 81 01 20 */ stfd f28, 0x120(r1)
/* 802978E8 00294828 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0
/* 802978EC 0029482C DB 61 01 10 */ stfd f27, 0x110(r1)
/* 802978F0 00294830 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0
/* 802978F4 00294834 DB 41 01 00 */ stfd f26, 0x100(r1)
/* 802978F8 00294838 F3 41 01 08 */ psq_st f26, 264(r1), 0, qr0
/* 802978FC 0029483C DB 21 00 F0 */ stfd f25, 0xf0(r1)
/* 80297900 00294840 F3 21 00 F8 */ psq_st f25, 248(r1), 0, qr0
/* 80297904 00294844 DB 01 00 E0 */ stfd f24, 0xe0(r1)
/* 80297908 00294848 F3 01 00 E8 */ psq_st f24, 232(r1), 0, qr0
/* 8029790C 0029484C 93 E1 00 DC */ stw r31, 0xdc(r1)
/* 80297910 00294850 93 C1 00 D8 */ stw r30, 0xd8(r1)
/* 80297914 00294854 93 A1 00 D4 */ stw r29, 0xd4(r1)
/* 80297918 00294858 93 81 00 D0 */ stw r28, 0xd0(r1)
/* 8029791C 0029485C C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80297920 00294860 7C 9F 23 78 */ mr r31, r4
/* 80297924 00294864 C0 24 02 00 */ lfs f1, 0x200(r4)
/* 80297928 00294868 7C 7E 1B 78 */ mr r30, r3
/* 8029792C 0029486C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80297930 00294870 4C 40 13 82 */ cror 2, 0, 2
/* 80297934 00294874 40 82 00 24 */ bne .L_80297958
/* 80297938 00294878 38 00 00 00 */ li r0, 0
/* 8029793C 0029487C 7F E3 FB 78 */ mr r3, r31
/* 80297940 00294880 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80297944 00294884 4B E6 D9 5D */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80297948 00294888 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 8029794C 0029488C 7F E3 FB 78 */ mr r3, r31
/* 80297950 00294890 4B E6 FA 41 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80297954 00294894 48 00 05 40 */ b .L_80297E94
.L_80297958:
/* 80297958 00294898 7F E3 FB 78 */ mr r3, r31
/* 8029795C 0029489C 38 80 00 00 */ li r4, 0
/* 80297960 002948A0 4B E7 CC F9 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb
/* 80297964 002948A4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80297968 002948A8 41 82 00 24 */ beq .L_8029798C
/* 8029796C 002948AC 38 00 00 04 */ li r0, 4
/* 80297970 002948B0 7F E3 FB 78 */ mr r3, r31
/* 80297974 002948B4 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80297978 002948B8 4B E6 D9 29 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 8029797C 002948BC C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80297980 002948C0 7F E3 FB 78 */ mr r3, r31
/* 80297984 002948C4 4B E6 FA 0D */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80297988 002948C8 48 00 05 0C */ b .L_80297E94
.L_8029798C:
/* 8029798C 002948CC 7F E3 FB 78 */ mr r3, r31
/* 80297990 002948D0 48 00 28 81 */ bl getSearchedTarget__Q34Game10KumaChappy3ObjFv
/* 80297994 002948D4 7C 7C 1B 79 */ or. r28, r3, r3
/* 80297998 002948D8 41 82 03 D0 */ beq .L_80297D68
/* 8029799C 002948DC 7F 84 E3 78 */ mr r4, r28
/* 802979A0 002948E0 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 802979A4 002948E4 81 9C 00 00 */ lwz r12, 0(r28)
/* 802979A8 002948E8 38 61 00 68 */ addi r3, r1, 0x68
/* 802979AC 002948EC C3 C5 03 34 */ lfs f30, 0x334(r5)
/* 802979B0 002948F0 81 8C 00 08 */ lwz r12, 8(r12)
/* 802979B4 002948F4 C3 A5 03 0C */ lfs f29, 0x30c(r5)
/* 802979B8 002948F8 7D 89 03 A6 */ mtctr r12
/* 802979BC 002948FC 4E 80 04 21 */ bctrl
/* 802979C0 00294900 7F E4 FB 78 */ mr r4, r31
/* 802979C4 00294904 38 61 00 74 */ addi r3, r1, 0x74
/* 802979C8 00294908 81 9F 00 00 */ lwz r12, 0(r31)
/* 802979CC 0029490C C3 01 00 68 */ lfs f24, 0x68(r1)
/* 802979D0 00294910 81 8C 00 08 */ lwz r12, 8(r12)
/* 802979D4 00294914 C3 21 00 70 */ lfs f25, 0x70(r1)
/* 802979D8 00294918 7D 89 03 A6 */ mtctr r12
/* 802979DC 0029491C 4E 80 04 21 */ bctrl
/* 802979E0 00294920 C0 21 00 74 */ lfs f1, 0x74(r1)
/* 802979E4 00294924 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 802979E8 00294928 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 802979EC 0029492C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 802979F0 00294930 EC 38 08 28 */ fsubs f1, f24, f1
/* 802979F4 00294934 EC 59 00 28 */ fsubs f2, f25, f0
/* 802979F8 00294938 4B D9 D7 11 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 802979FC 0029493C 48 17 A1 D5 */ bl roundAng__Ff
/* 80297A00 00294940 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297A04 00294944 FF 00 08 90 */ fmr f24, f1
/* 80297A08 00294948 7F E3 FB 78 */ mr r3, r31
/* 80297A0C 0029494C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80297A10 00294950 7D 89 03 A6 */ mtctr r12
/* 80297A14 00294954 4E 80 04 21 */ bctrl
/* 80297A18 00294958 FC 40 08 90 */ fmr f2, f1
/* 80297A1C 0029495C FC 20 C0 90 */ fmr f1, f24
/* 80297A20 00294960 48 17 A1 DD */ bl angDist__Fff
/* 80297A24 00294964 FF E0 08 90 */ fmr f31, f1
/* 80297A28 00294968 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80297A2C 0029496C C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80297A30 00294970 EC 00 07 B2 */ fmuls f0, f0, f30
/* 80297A34 00294974 EF 1F 07 72 */ fmuls f24, f31, f29
/* 80297A38 00294978 EC 21 00 32 */ fmuls f1, f1, f0
/* 80297A3C 0029497C FC 00 C2 10 */ fabs f0, f24
/* 80297A40 00294980 FC 00 00 18 */ frsp f0, f0
/* 80297A44 00294984 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80297A48 00294988 40 81 00 1C */ ble .L_80297A64
/* 80297A4C 0029498C C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80297A50 00294990 FC 18 00 40 */ fcmpo cr0, f24, f0
/* 80297A54 00294994 40 81 00 0C */ ble .L_80297A60
/* 80297A58 00294998 FF 00 08 90 */ fmr f24, f1
/* 80297A5C 0029499C 48 00 00 08 */ b .L_80297A64
.L_80297A60:
/* 80297A60 002949A0 FF 00 08 50 */ fneg f24, f1
.L_80297A64:
/* 80297A64 002949A4 7F E3 FB 78 */ mr r3, r31
/* 80297A68 002949A8 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297A6C 002949AC 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80297A70 002949B0 7D 89 03 A6 */ mtctr r12
/* 80297A74 002949B4 4E 80 04 21 */ bctrl
/* 80297A78 002949B8 EC 38 08 2A */ fadds f1, f24, f1
/* 80297A7C 002949BC 48 17 A1 55 */ bl roundAng__Ff
/* 80297A80 002949C0 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 80297A84 002949C4 7F E4 FB 78 */ mr r4, r31
/* 80297A88 002949C8 38 61 00 2C */ addi r3, r1, 0x2c
/* 80297A8C 002949CC 3B A0 00 00 */ li r29, 0
/* 80297A90 002949D0 C0 1F 01 FC */ lfs f0, 0x1fc(r31)
/* 80297A94 002949D4 D0 1F 01 A8 */ stfs f0, 0x1a8(r31)
/* 80297A98 002949D8 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297A9C 002949DC 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80297AA0 002949E0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297AA4 002949E4 C3 85 05 8C */ lfs f28, 0x58c(r5)
/* 80297AA8 002949E8 C3 C5 05 64 */ lfs f30, 0x564(r5)
/* 80297AAC 002949EC 7D 89 03 A6 */ mtctr r12
/* 80297AB0 002949F0 4E 80 04 21 */ bctrl
/* 80297AB4 002949F4 7F 84 E3 78 */ mr r4, r28
/* 80297AB8 002949F8 38 61 00 20 */ addi r3, r1, 0x20
/* 80297ABC 002949FC 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297AC0 00294A00 C3 A1 00 2C */ lfs f29, 0x2c(r1)
/* 80297AC4 00294A04 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297AC8 00294A08 7D 89 03 A6 */ mtctr r12
/* 80297ACC 00294A0C 4E 80 04 21 */ bctrl
/* 80297AD0 00294A10 7F E4 FB 78 */ mr r4, r31
/* 80297AD4 00294A14 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80297AD8 00294A18 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297ADC 00294A1C 38 61 00 44 */ addi r3, r1, 0x44
/* 80297AE0 00294A20 EF 20 E8 28 */ fsubs f25, f0, f29
/* 80297AE4 00294A24 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297AE8 00294A28 7D 89 03 A6 */ mtctr r12
/* 80297AEC 00294A2C 4E 80 04 21 */ bctrl
/* 80297AF0 00294A30 7F 84 E3 78 */ mr r4, r28
/* 80297AF4 00294A34 38 61 00 38 */ addi r3, r1, 0x38
/* 80297AF8 00294A38 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297AFC 00294A3C C3 A1 00 48 */ lfs f29, 0x48(r1)
/* 80297B00 00294A40 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297B04 00294A44 7D 89 03 A6 */ mtctr r12
/* 80297B08 00294A48 4E 80 04 21 */ bctrl
/* 80297B0C 00294A4C 7F E4 FB 78 */ mr r4, r31
/* 80297B10 00294A50 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80297B14 00294A54 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297B18 00294A58 38 61 00 5C */ addi r3, r1, 0x5c
/* 80297B1C 00294A5C EF 00 E8 28 */ fsubs f24, f0, f29
/* 80297B20 00294A60 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297B24 00294A64 7D 89 03 A6 */ mtctr r12
/* 80297B28 00294A68 4E 80 04 21 */ bctrl
/* 80297B2C 00294A6C 7F 84 E3 78 */ mr r4, r28
/* 80297B30 00294A70 38 61 00 50 */ addi r3, r1, 0x50
/* 80297B34 00294A74 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297B38 00294A78 C3 A1 00 64 */ lfs f29, 0x64(r1)
/* 80297B3C 00294A7C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297B40 00294A80 7D 89 03 A6 */ mtctr r12
/* 80297B44 00294A84 4E 80 04 21 */ bctrl
/* 80297B48 00294A88 EC 38 06 32 */ fmuls f1, f24, f24
/* 80297B4C 00294A8C C0 41 00 58 */ lfs f2, 0x58(r1)
/* 80297B50 00294A90 EC 1E 07 B2 */ fmuls f0, f30, f30
/* 80297B54 00294A94 EC 42 E8 28 */ fsubs f2, f2, f29
/* 80297B58 00294A98 EC 39 0E 7A */ fmadds f1, f25, f25, f1
/* 80297B5C 00294A9C EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 80297B60 00294AA0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80297B64 00294AA4 40 80 00 2C */ bge .L_80297B90
/* 80297B68 00294AA8 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80297B6C 00294AAC FC 40 FA 10 */ fabs f2, f31
/* 80297B70 00294AB0 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80297B74 00294AB4 EC 00 07 32 */ fmuls f0, f0, f28
/* 80297B78 00294AB8 FC 40 10 18 */ frsp f2, f2
/* 80297B7C 00294ABC EC 01 00 32 */ fmuls f0, f1, f0
/* 80297B80 00294AC0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80297B84 00294AC4 4C 40 13 82 */ cror 2, 0, 2
/* 80297B88 00294AC8 40 82 00 08 */ bne .L_80297B90
/* 80297B8C 00294ACC 3B A0 00 01 */ li r29, 1
.L_80297B90:
/* 80297B90 00294AD0 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80297B94 00294AD4 41 82 00 24 */ beq .L_80297BB8
/* 80297B98 00294AD8 38 00 00 03 */ li r0, 3
/* 80297B9C 00294ADC 7F E3 FB 78 */ mr r3, r31
/* 80297BA0 00294AE0 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80297BA4 00294AE4 4B E6 D6 FD */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80297BA8 00294AE8 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80297BAC 00294AEC 7F E3 FB 78 */ mr r3, r31
/* 80297BB0 00294AF0 4B E6 F7 E1 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80297BB4 00294AF4 48 00 02 E0 */ b .L_80297E94
.L_80297BB8:
/* 80297BB8 00294AF8 7F E3 FB 78 */ mr r3, r31
/* 80297BBC 00294AFC 48 00 23 11 */ bl getViewAngle__Q34Game10KumaChappy3ObjFv
/* 80297BC0 00294B00 7F E4 FB 78 */ mr r4, r31
/* 80297BC4 00294B04 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80297BC8 00294B08 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297BCC 00294B0C FF A0 08 90 */ fmr f29, f1
/* 80297BD0 00294B10 38 61 00 8C */ addi r3, r1, 0x8c
/* 80297BD4 00294B14 C3 05 03 FC */ lfs f24, 0x3fc(r5)
/* 80297BD8 00294B18 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297BDC 00294B1C C3 25 03 D4 */ lfs f25, 0x3d4(r5)
/* 80297BE0 00294B20 C3 45 03 AC */ lfs f26, 0x3ac(r5)
/* 80297BE4 00294B24 7D 89 03 A6 */ mtctr r12
/* 80297BE8 00294B28 4E 80 04 21 */ bctrl
/* 80297BEC 00294B2C 7F 84 E3 78 */ mr r4, r28
/* 80297BF0 00294B30 38 61 00 80 */ addi r3, r1, 0x80
/* 80297BF4 00294B34 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297BF8 00294B38 C3 C1 00 8C */ lfs f30, 0x8c(r1)
/* 80297BFC 00294B3C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297C00 00294B40 7D 89 03 A6 */ mtctr r12
/* 80297C04 00294B44 4E 80 04 21 */ bctrl
/* 80297C08 00294B48 7F E4 FB 78 */ mr r4, r31
/* 80297C0C 00294B4C C0 01 00 80 */ lfs f0, 0x80(r1)
/* 80297C10 00294B50 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297C14 00294B54 38 61 00 A4 */ addi r3, r1, 0xa4
/* 80297C18 00294B58 EF 60 F0 28 */ fsubs f27, f0, f30
/* 80297C1C 00294B5C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297C20 00294B60 7D 89 03 A6 */ mtctr r12
/* 80297C24 00294B64 4E 80 04 21 */ bctrl
/* 80297C28 00294B68 7F 84 E3 78 */ mr r4, r28
/* 80297C2C 00294B6C 38 61 00 98 */ addi r3, r1, 0x98
/* 80297C30 00294B70 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297C34 00294B74 C3 C1 00 A8 */ lfs f30, 0xa8(r1)
/* 80297C38 00294B78 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297C3C 00294B7C 7D 89 03 A6 */ mtctr r12
/* 80297C40 00294B80 4E 80 04 21 */ bctrl
/* 80297C44 00294B84 7F E4 FB 78 */ mr r4, r31
/* 80297C48 00294B88 C0 01 00 9C */ lfs f0, 0x9c(r1)
/* 80297C4C 00294B8C 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297C50 00294B90 38 61 00 BC */ addi r3, r1, 0xbc
/* 80297C54 00294B94 EF 80 F0 28 */ fsubs f28, f0, f30
/* 80297C58 00294B98 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297C5C 00294B9C 7D 89 03 A6 */ mtctr r12
/* 80297C60 00294BA0 4E 80 04 21 */ bctrl
/* 80297C64 00294BA4 7F 84 E3 78 */ mr r4, r28
/* 80297C68 00294BA8 38 61 00 B0 */ addi r3, r1, 0xb0
/* 80297C6C 00294BAC 81 9C 00 00 */ lwz r12, 0(r28)
/* 80297C70 00294BB0 C3 C1 00 C4 */ lfs f30, 0xc4(r1)
/* 80297C74 00294BB4 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297C78 00294BB8 7D 89 03 A6 */ mtctr r12
/* 80297C7C 00294BBC 4E 80 04 21 */ bctrl
/* 80297C80 00294BC0 C0 01 00 B8 */ lfs f0, 0xb8(r1)
/* 80297C84 00294BC4 EF 5A 06 B2 */ fmuls f26, f26, f26
/* 80297C88 00294BC8 EF 39 06 72 */ fmuls f25, f25, f25
/* 80297C8C 00294BCC 38 60 00 01 */ li r3, 1
/* 80297C90 00294BD0 EC 00 F0 28 */ fsubs f0, f0, f30
/* 80297C94 00294BD4 38 80 00 00 */ li r4, 0
/* 80297C98 00294BD8 EC 00 00 32 */ fmuls f0, f0, f0
/* 80297C9C 00294BDC EC 1B 06 FA */ fmadds f0, f27, f27, f0
/* 80297CA0 00294BE0 FC 00 D0 40 */ fcmpo cr0, f0, f26
/* 80297CA4 00294BE4 40 81 00 30 */ ble .L_80297CD4
/* 80297CA8 00294BE8 FC 00 C8 40 */ fcmpo cr0, f0, f25
/* 80297CAC 00294BEC 7C 80 23 78 */ mr r0, r4
/* 80297CB0 00294BF0 40 81 00 18 */ ble .L_80297CC8
/* 80297CB4 00294BF4 FC 00 E2 10 */ fabs f0, f28
/* 80297CB8 00294BF8 FC 00 00 18 */ frsp f0, f0
/* 80297CBC 00294BFC FC 00 C0 40 */ fcmpo cr0, f0, f24
/* 80297CC0 00294C00 40 80 00 08 */ bge .L_80297CC8
/* 80297CC4 00294C04 7C 60 1B 78 */ mr r0, r3
.L_80297CC8:
/* 80297CC8 00294C08 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80297CCC 00294C0C 41 82 00 08 */ beq .L_80297CD4
/* 80297CD0 00294C10 38 80 00 01 */ li r4, 1
.L_80297CD4:
/* 80297CD4 00294C14 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80297CD8 00294C18 40 82 00 34 */ bne .L_80297D0C
/* 80297CDC 00294C1C C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80297CE0 00294C20 FC 40 FA 10 */ fabs f2, f31
/* 80297CE4 00294C24 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80297CE8 00294C28 EC 00 07 72 */ fmuls f0, f0, f29
/* 80297CEC 00294C2C FC 40 10 18 */ frsp f2, f2
/* 80297CF0 00294C30 EC 01 00 32 */ fmuls f0, f1, f0
/* 80297CF4 00294C34 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80297CF8 00294C38 4C 40 13 82 */ cror 2, 0, 2
/* 80297CFC 00294C3C 7C 00 00 26 */ mfcr r0
/* 80297D00 00294C40 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f
/* 80297D04 00294C44 41 82 00 08 */ beq .L_80297D0C
/* 80297D08 00294C48 38 60 00 00 */ li r3, 0
.L_80297D0C:
/* 80297D0C 00294C4C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80297D10 00294C50 41 82 00 18 */ beq .L_80297D28
/* 80297D14 00294C54 38 00 00 02 */ li r0, 2
/* 80297D18 00294C58 7F E3 FB 78 */ mr r3, r31
/* 80297D1C 00294C5C 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80297D20 00294C60 4B E6 D5 81 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80297D24 00294C64 48 00 01 70 */ b .L_80297E94
.L_80297D28:
/* 80297D28 00294C68 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 80297D2C 00294C6C FC 40 FA 10 */ fabs f2, f31
/* 80297D30 00294C70 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80297D34 00294C74 C0 63 05 8C */ lfs f3, 0x58c(r3)
/* 80297D38 00294C78 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80297D3C 00294C7C FC 40 10 18 */ frsp f2, f2
/* 80297D40 00294C80 EC 00 00 F2 */ fmuls f0, f0, f3
/* 80297D44 00294C84 EC 01 00 32 */ fmuls f0, f1, f0
/* 80297D48 00294C88 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80297D4C 00294C8C 4C 40 13 82 */ cror 2, 0, 2
/* 80297D50 00294C90 40 82 01 44 */ bne .L_80297E94
/* 80297D54 00294C94 38 00 00 07 */ li r0, 7
/* 80297D58 00294C98 7F E3 FB 78 */ mr r3, r31
/* 80297D5C 00294C9C 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80297D60 00294CA0 4B E6 D5 41 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80297D64 00294CA4 48 00 01 30 */ b .L_80297E94
.L_80297D68:
/* 80297D68 00294CA8 7F E3 FB 78 */ mr r3, r31
/* 80297D6C 00294CAC 48 00 21 95 */ bl setNearestWayPoint__Q34Game10KumaChappy3ObjFv
/* 80297D70 00294CB0 7F E4 FB 78 */ mr r4, r31
/* 80297D74 00294CB4 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80297D78 00294CB8 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297D7C 00294CBC 38 61 00 14 */ addi r3, r1, 0x14
/* 80297D80 00294CC0 C3 5F 02 E0 */ lfs f26, 0x2e0(r31)
/* 80297D84 00294CC4 81 8C 00 08 */ lwz r12, 8(r12)
/* 80297D88 00294CC8 C3 7F 02 E8 */ lfs f27, 0x2e8(r31)
/* 80297D8C 00294CCC C3 25 03 34 */ lfs f25, 0x334(r5)
/* 80297D90 00294CD0 C3 05 03 0C */ lfs f24, 0x30c(r5)
/* 80297D94 00294CD4 7D 89 03 A6 */ mtctr r12
/* 80297D98 00294CD8 4E 80 04 21 */ bctrl
/* 80297D9C 00294CDC C0 81 00 14 */ lfs f4, 0x14(r1)
/* 80297DA0 00294CE0 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80297DA4 00294CE4 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80297DA8 00294CE8 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80297DAC 00294CEC C0 61 00 18 */ lfs f3, 0x18(r1)
/* 80297DB0 00294CF0 EC 3A 20 28 */ fsubs f1, f26, f4
/* 80297DB4 00294CF4 EC 5B 00 28 */ fsubs f2, f27, f0
/* 80297DB8 00294CF8 D0 81 00 08 */ stfs f4, 8(r1)
/* 80297DBC 00294CFC D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80297DC0 00294D00 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80297DC4 00294D04 4B D9 D3 45 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80297DC8 00294D08 48 17 9E 09 */ bl roundAng__Ff
/* 80297DCC 00294D0C 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297DD0 00294D10 FF 40 08 90 */ fmr f26, f1
/* 80297DD4 00294D14 7F E3 FB 78 */ mr r3, r31
/* 80297DD8 00294D18 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80297DDC 00294D1C 7D 89 03 A6 */ mtctr r12
/* 80297DE0 00294D20 4E 80 04 21 */ bctrl
/* 80297DE4 00294D24 FC 40 08 90 */ fmr f2, f1
/* 80297DE8 00294D28 FC 20 D0 90 */ fmr f1, f26
/* 80297DEC 00294D2C 48 17 9E 11 */ bl angDist__Fff
/* 80297DF0 00294D30 FF E0 08 90 */ fmr f31, f1
/* 80297DF4 00294D34 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80297DF8 00294D38 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80297DFC 00294D3C EC 00 06 72 */ fmuls f0, f0, f25
/* 80297E00 00294D40 EF 1F 06 32 */ fmuls f24, f31, f24
/* 80297E04 00294D44 EC 21 00 32 */ fmuls f1, f1, f0
/* 80297E08 00294D48 FC 00 C2 10 */ fabs f0, f24
/* 80297E0C 00294D4C FC 00 00 18 */ frsp f0, f0
/* 80297E10 00294D50 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80297E14 00294D54 40 81 00 1C */ ble .L_80297E30
/* 80297E18 00294D58 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80297E1C 00294D5C FC 18 00 40 */ fcmpo cr0, f24, f0
/* 80297E20 00294D60 40 81 00 0C */ ble .L_80297E2C
/* 80297E24 00294D64 FF 00 08 90 */ fmr f24, f1
/* 80297E28 00294D68 48 00 00 08 */ b .L_80297E30
.L_80297E2C:
/* 80297E2C 00294D6C FF 00 08 50 */ fneg f24, f1
.L_80297E30:
/* 80297E30 00294D70 7F E3 FB 78 */ mr r3, r31
/* 80297E34 00294D74 81 9F 00 00 */ lwz r12, 0(r31)
/* 80297E38 00294D78 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80297E3C 00294D7C 7D 89 03 A6 */ mtctr r12
/* 80297E40 00294D80 4E 80 04 21 */ bctrl
/* 80297E44 00294D84 EC 38 08 2A */ fadds f1, f24, f1
/* 80297E48 00294D88 48 17 9D 89 */ bl roundAng__Ff
/* 80297E4C 00294D8C FC 60 FA 10 */ fabs f3, f31
/* 80297E50 00294D90 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 80297E54 00294D94 C0 02 D7 C8 */ lfs f0, lbl_8051BB28@sda21(r2)
/* 80297E58 00294D98 C0 5F 01 FC */ lfs f2, 0x1fc(r31)
/* 80297E5C 00294D9C FC 20 18 18 */ frsp f1, f3
/* 80297E60 00294DA0 D0 5F 01 A8 */ stfs f2, 0x1a8(r31)
/* 80297E64 00294DA4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80297E68 00294DA8 4C 40 13 82 */ cror 2, 0, 2
/* 80297E6C 00294DAC 40 82 00 18 */ bne .L_80297E84
/* 80297E70 00294DB0 38 00 00 08 */ li r0, 8
/* 80297E74 00294DB4 7F E3 FB 78 */ mr r3, r31
/* 80297E78 00294DB8 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80297E7C 00294DBC 4B E6 D4 25 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80297E80 00294DC0 48 00 00 14 */ b .L_80297E94
.L_80297E84:
/* 80297E84 00294DC4 38 00 00 06 */ li r0, 6
/* 80297E88 00294DC8 7F E3 FB 78 */ mr r3, r31
/* 80297E8C 00294DCC 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80297E90 00294DD0 4B E6 D4 11 */ bl finishMotion__Q24Game9EnemyBaseFv
.L_80297E94:
/* 80297E94 00294DD4 80 7F 01 88 */ lwz r3, 0x188(r31)
/* 80297E98 00294DD8 88 03 00 24 */ lbz r0, 0x24(r3)
/* 80297E9C 00294DDC 28 00 00 00 */ cmplwi r0, 0
/* 80297EA0 00294DE0 41 82 00 30 */ beq .L_80297ED0
/* 80297EA4 00294DE4 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 80297EA8 00294DE8 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 80297EAC 00294DEC 40 82 00 24 */ bne .L_80297ED0
/* 80297EB0 00294DF0 7F C3 F3 78 */ mr r3, r30
/* 80297EB4 00294DF4 7F E4 FB 78 */ mr r4, r31
/* 80297EB8 00294DF8 81 9E 00 00 */ lwz r12, 0(r30)
/* 80297EBC 00294DFC 38 C0 00 00 */ li r6, 0
/* 80297EC0 00294E00 80 BF 02 D4 */ lwz r5, 0x2d4(r31)
/* 80297EC4 00294E04 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80297EC8 00294E08 7D 89 03 A6 */ mtctr r12
/* 80297ECC 00294E0C 4E 80 04 21 */ bctrl
.L_80297ED0:
/* 80297ED0 00294E10 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0
/* 80297ED4 00294E14 CB E1 01 50 */ lfd f31, 0x150(r1)
/* 80297ED8 00294E18 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0
/* 80297EDC 00294E1C CB C1 01 40 */ lfd f30, 0x140(r1)
/* 80297EE0 00294E20 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0
/* 80297EE4 00294E24 CB A1 01 30 */ lfd f29, 0x130(r1)
/* 80297EE8 00294E28 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0
/* 80297EEC 00294E2C CB 81 01 20 */ lfd f28, 0x120(r1)
/* 80297EF0 00294E30 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0
/* 80297EF4 00294E34 CB 61 01 10 */ lfd f27, 0x110(r1)
/* 80297EF8 00294E38 E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0
/* 80297EFC 00294E3C CB 41 01 00 */ lfd f26, 0x100(r1)
/* 80297F00 00294E40 E3 21 00 F8 */ psq_l f25, 248(r1), 0, qr0
/* 80297F04 00294E44 CB 21 00 F0 */ lfd f25, 0xf0(r1)
/* 80297F08 00294E48 E3 01 00 E8 */ psq_l f24, 232(r1), 0, qr0
/* 80297F0C 00294E4C CB 01 00 E0 */ lfd f24, 0xe0(r1)
/* 80297F10 00294E50 83 E1 00 DC */ lwz r31, 0xdc(r1)
/* 80297F14 00294E54 83 C1 00 D8 */ lwz r30, 0xd8(r1)
/* 80297F18 00294E58 83 A1 00 D4 */ lwz r29, 0xd4(r1)
/* 80297F1C 00294E5C 80 01 01 64 */ lwz r0, 0x164(r1)
/* 80297F20 00294E60 83 81 00 D0 */ lwz r28, 0xd0(r1)
/* 80297F24 00294E64 7C 08 03 A6 */ mtlr r0
/* 80297F28 00294E68 38 21 01 60 */ addi r1, r1, 0x160
/* 80297F2C 00294E6C 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy9StateTurnFPQ24Game9EnemyBase:
/* 80297F30 00294E70 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80297F34 00294E74 7C 08 02 A6 */ mflr r0
/* 80297F38 00294E78 C0 22 D7 D0 */ lfs f1, lbl_8051BB30@sda21(r2)
/* 80297F3C 00294E7C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80297F40 00294E80 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80297F44 00294E84 7C 9F 23 78 */ mr r31, r4
/* 80297F48 00294E88 7F E3 FB 78 */ mr r3, r31
/* 80297F4C 00294E8C 4B E6 F4 45 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80297F50 00294E90 7F E3 FB 78 */ mr r3, r31
/* 80297F54 00294E94 4B E6 9A 29 */ bl setEmotionCaution__Q24Game9EnemyBaseFv
/* 80297F58 00294E98 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80297F5C 00294E9C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80297F60 00294EA0 7C 08 03 A6 */ mtlr r0
/* 80297F64 00294EA4 38 21 00 10 */ addi r1, r1, 0x10
/* 80297F68 00294EA8 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 80297F6C 00294EAC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80297F70 00294EB0 7C 08 02 A6 */ mflr r0
/* 80297F74 00294EB4 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80297F78 00294EB8 7C 83 23 78 */ mr r3, r4
/* 80297F7C 00294EBC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80297F80 00294EC0 38 00 FF FF */ li r0, -1
/* 80297F84 00294EC4 38 A0 00 00 */ li r5, 0
/* 80297F88 00294EC8 90 04 02 D4 */ stw r0, 0x2d4(r4)
/* 80297F8C 00294ECC 38 80 00 06 */ li r4, 6
/* 80297F90 00294ED0 D0 03 01 D4 */ stfs f0, 0x1d4(r3)
/* 80297F94 00294ED4 D0 03 01 D8 */ stfs f0, 0x1d8(r3)
/* 80297F98 00294ED8 D0 03 01 DC */ stfs f0, 0x1dc(r3)
/* 80297F9C 00294EDC 4B E6 D0 69 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 80297FA0 00294EE0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80297FA4 00294EE4 7C 08 03 A6 */ mtlr r0
/* 80297FA8 00294EE8 38 21 00 10 */ addi r1, r1, 0x10
/* 80297FAC 00294EEC 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBase:
/* 80297FB0 00294EF0 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 80297FB4 00294EF4 7C 08 02 A6 */ mflr r0
/* 80297FB8 00294EF8 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 80297FBC 00294EFC DB E1 00 E0 */ stfd f31, 0xe0(r1)
/* 80297FC0 00294F00 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0
/* 80297FC4 00294F04 DB C1 00 D0 */ stfd f30, 0xd0(r1)
/* 80297FC8 00294F08 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0
/* 80297FCC 00294F0C DB A1 00 C0 */ stfd f29, 0xc0(r1)
/* 80297FD0 00294F10 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0
/* 80297FD4 00294F14 DB 81 00 B0 */ stfd f28, 0xb0(r1)
/* 80297FD8 00294F18 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0
/* 80297FDC 00294F1C DB 61 00 A0 */ stfd f27, 0xa0(r1)
/* 80297FE0 00294F20 F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0
/* 80297FE4 00294F24 DB 41 00 90 */ stfd f26, 0x90(r1)
/* 80297FE8 00294F28 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0
/* 80297FEC 00294F2C 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 80297FF0 00294F30 93 C1 00 88 */ stw r30, 0x88(r1)
/* 80297FF4 00294F34 93 A1 00 84 */ stw r29, 0x84(r1)
/* 80297FF8 00294F38 93 81 00 80 */ stw r28, 0x80(r1)
/* 80297FFC 00294F3C 7C 9F 23 78 */ mr r31, r4
/* 80298000 00294F40 7C 7E 1B 78 */ mr r30, r3
/* 80298004 00294F44 7F E3 FB 78 */ mr r3, r31
/* 80298008 00294F48 48 00 23 9D */ bl updateHomePosition__Q34Game10KumaChappy3ObjFv
/* 8029800C 00294F4C C0 3F 02 00 */ lfs f1, 0x200(r31)
/* 80298010 00294F50 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80298014 00294F54 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80298018 00294F58 4C 40 13 82 */ cror 2, 0, 2
/* 8029801C 00294F5C 40 82 00 24 */ bne .L_80298040
/* 80298020 00294F60 38 00 00 00 */ li r0, 0
/* 80298024 00294F64 7F E3 FB 78 */ mr r3, r31
/* 80298028 00294F68 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 8029802C 00294F6C 4B E6 D2 75 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298030 00294F70 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80298034 00294F74 7F E3 FB 78 */ mr r3, r31
/* 80298038 00294F78 4B E6 F3 59 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 8029803C 00294F7C 48 00 03 C8 */ b .L_80298404
.L_80298040:
/* 80298040 00294F80 7F E3 FB 78 */ mr r3, r31
/* 80298044 00294F84 38 80 00 00 */ li r4, 0
/* 80298048 00294F88 4B E7 C6 11 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb
/* 8029804C 00294F8C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80298050 00294F90 41 82 00 24 */ beq .L_80298074
/* 80298054 00294F94 38 00 00 04 */ li r0, 4
/* 80298058 00294F98 7F E3 FB 78 */ mr r3, r31
/* 8029805C 00294F9C 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298060 00294FA0 4B E6 D2 41 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298064 00294FA4 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80298068 00294FA8 7F E3 FB 78 */ mr r3, r31
/* 8029806C 00294FAC 4B E6 F3 25 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80298070 00294FB0 48 00 03 94 */ b .L_80298404
.L_80298074:
/* 80298074 00294FB4 7F E3 FB 78 */ mr r3, r31
/* 80298078 00294FB8 48 00 21 99 */ bl getSearchedTarget__Q34Game10KumaChappy3ObjFv
/* 8029807C 00294FBC 7C 7C 1B 79 */ or. r28, r3, r3
/* 80298080 00294FC0 41 82 02 74 */ beq .L_802982F4
/* 80298084 00294FC4 7F 84 E3 78 */ mr r4, r28
/* 80298088 00294FC8 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 8029808C 00294FCC 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298090 00294FD0 38 61 00 68 */ addi r3, r1, 0x68
/* 80298094 00294FD4 C3 A5 03 34 */ lfs f29, 0x334(r5)
/* 80298098 00294FD8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029809C 00294FDC C3 C5 03 0C */ lfs f30, 0x30c(r5)
/* 802980A0 00294FE0 7D 89 03 A6 */ mtctr r12
/* 802980A4 00294FE4 4E 80 04 21 */ bctrl
/* 802980A8 00294FE8 7F E4 FB 78 */ mr r4, r31
/* 802980AC 00294FEC 38 61 00 74 */ addi r3, r1, 0x74
/* 802980B0 00294FF0 81 9F 00 00 */ lwz r12, 0(r31)
/* 802980B4 00294FF4 C3 41 00 68 */ lfs f26, 0x68(r1)
/* 802980B8 00294FF8 81 8C 00 08 */ lwz r12, 8(r12)
/* 802980BC 00294FFC C3 61 00 70 */ lfs f27, 0x70(r1)
/* 802980C0 00295000 7D 89 03 A6 */ mtctr r12
/* 802980C4 00295004 4E 80 04 21 */ bctrl
/* 802980C8 00295008 C0 21 00 74 */ lfs f1, 0x74(r1)
/* 802980CC 0029500C 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 802980D0 00295010 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 802980D4 00295014 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 802980D8 00295018 EC 3A 08 28 */ fsubs f1, f26, f1
/* 802980DC 0029501C EC 5B 00 28 */ fsubs f2, f27, f0
/* 802980E0 00295020 4B D9 D0 29 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 802980E4 00295024 48 17 9A ED */ bl roundAng__Ff
/* 802980E8 00295028 81 9F 00 00 */ lwz r12, 0(r31)
/* 802980EC 0029502C FF 40 08 90 */ fmr f26, f1
/* 802980F0 00295030 7F E3 FB 78 */ mr r3, r31
/* 802980F4 00295034 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 802980F8 00295038 7D 89 03 A6 */ mtctr r12
/* 802980FC 0029503C 4E 80 04 21 */ bctrl
/* 80298100 00295040 FC 40 08 90 */ fmr f2, f1
/* 80298104 00295044 FC 20 D0 90 */ fmr f1, f26
/* 80298108 00295048 48 17 9A F5 */ bl angDist__Fff
/* 8029810C 0029504C FF E0 08 90 */ fmr f31, f1
/* 80298110 00295050 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80298114 00295054 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80298118 00295058 EC 00 07 72 */ fmuls f0, f0, f29
/* 8029811C 0029505C EF 9F 07 B2 */ fmuls f28, f31, f30
/* 80298120 00295060 EC 21 00 32 */ fmuls f1, f1, f0
/* 80298124 00295064 FC 00 E2 10 */ fabs f0, f28
/* 80298128 00295068 FC 00 00 18 */ frsp f0, f0
/* 8029812C 0029506C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80298130 00295070 40 81 00 1C */ ble .L_8029814C
/* 80298134 00295074 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80298138 00295078 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 8029813C 0029507C 40 81 00 0C */ ble .L_80298148
/* 80298140 00295080 FF 80 08 90 */ fmr f28, f1
/* 80298144 00295084 48 00 00 08 */ b .L_8029814C
.L_80298148:
/* 80298148 00295088 FF 80 08 50 */ fneg f28, f1
.L_8029814C:
/* 8029814C 0029508C 7F E3 FB 78 */ mr r3, r31
/* 80298150 00295090 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298154 00295094 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298158 00295098 7D 89 03 A6 */ mtctr r12
/* 8029815C 0029509C 4E 80 04 21 */ bctrl
/* 80298160 002950A0 EC 3C 08 2A */ fadds f1, f28, f1
/* 80298164 002950A4 48 17 9A 6D */ bl roundAng__Ff
/* 80298168 002950A8 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 8029816C 002950AC 7F E4 FB 78 */ mr r4, r31
/* 80298170 002950B0 38 61 00 2C */ addi r3, r1, 0x2c
/* 80298174 002950B4 3B A0 00 00 */ li r29, 0
/* 80298178 002950B8 C0 1F 01 FC */ lfs f0, 0x1fc(r31)
/* 8029817C 002950BC D0 1F 01 A8 */ stfs f0, 0x1a8(r31)
/* 80298180 002950C0 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298184 002950C4 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80298188 002950C8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029818C 002950CC C3 85 05 8C */ lfs f28, 0x58c(r5)
/* 80298190 002950D0 C3 A5 05 64 */ lfs f29, 0x564(r5)
/* 80298194 002950D4 7D 89 03 A6 */ mtctr r12
/* 80298198 002950D8 4E 80 04 21 */ bctrl
/* 8029819C 002950DC 7F 84 E3 78 */ mr r4, r28
/* 802981A0 002950E0 38 61 00 20 */ addi r3, r1, 0x20
/* 802981A4 002950E4 81 9C 00 00 */ lwz r12, 0(r28)
/* 802981A8 002950E8 C3 C1 00 2C */ lfs f30, 0x2c(r1)
/* 802981AC 002950EC 81 8C 00 08 */ lwz r12, 8(r12)
/* 802981B0 002950F0 7D 89 03 A6 */ mtctr r12
/* 802981B4 002950F4 4E 80 04 21 */ bctrl
/* 802981B8 002950F8 7F E4 FB 78 */ mr r4, r31
/* 802981BC 002950FC C0 01 00 20 */ lfs f0, 0x20(r1)
/* 802981C0 00295100 81 9F 00 00 */ lwz r12, 0(r31)
/* 802981C4 00295104 38 61 00 44 */ addi r3, r1, 0x44
/* 802981C8 00295108 EF 40 F0 28 */ fsubs f26, f0, f30
/* 802981CC 0029510C 81 8C 00 08 */ lwz r12, 8(r12)
/* 802981D0 00295110 7D 89 03 A6 */ mtctr r12
/* 802981D4 00295114 4E 80 04 21 */ bctrl
/* 802981D8 00295118 7F 84 E3 78 */ mr r4, r28
/* 802981DC 0029511C 38 61 00 38 */ addi r3, r1, 0x38
/* 802981E0 00295120 81 9C 00 00 */ lwz r12, 0(r28)
/* 802981E4 00295124 C3 C1 00 48 */ lfs f30, 0x48(r1)
/* 802981E8 00295128 81 8C 00 08 */ lwz r12, 8(r12)
/* 802981EC 0029512C 7D 89 03 A6 */ mtctr r12
/* 802981F0 00295130 4E 80 04 21 */ bctrl
/* 802981F4 00295134 7F E4 FB 78 */ mr r4, r31
/* 802981F8 00295138 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 802981FC 0029513C 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298200 00295140 38 61 00 5C */ addi r3, r1, 0x5c
/* 80298204 00295144 EF 60 F0 28 */ fsubs f27, f0, f30
/* 80298208 00295148 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029820C 0029514C 7D 89 03 A6 */ mtctr r12
/* 80298210 00295150 4E 80 04 21 */ bctrl
/* 80298214 00295154 7F 84 E3 78 */ mr r4, r28
/* 80298218 00295158 38 61 00 50 */ addi r3, r1, 0x50
/* 8029821C 0029515C 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298220 00295160 C3 C1 00 64 */ lfs f30, 0x64(r1)
/* 80298224 00295164 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298228 00295168 7D 89 03 A6 */ mtctr r12
/* 8029822C 0029516C 4E 80 04 21 */ bctrl
/* 80298230 00295170 EC 3B 06 F2 */ fmuls f1, f27, f27
/* 80298234 00295174 C0 41 00 58 */ lfs f2, 0x58(r1)
/* 80298238 00295178 EC 1D 07 72 */ fmuls f0, f29, f29
/* 8029823C 0029517C EC 42 F0 28 */ fsubs f2, f2, f30
/* 80298240 00295180 EC 3A 0E BA */ fmadds f1, f26, f26, f1
/* 80298244 00295184 EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 80298248 00295188 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029824C 0029518C 40 80 00 2C */ bge .L_80298278
/* 80298250 00295190 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80298254 00295194 FC 40 FA 10 */ fabs f2, f31
/* 80298258 00295198 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 8029825C 0029519C EC 00 07 32 */ fmuls f0, f0, f28
/* 80298260 002951A0 FC 40 10 18 */ frsp f2, f2
/* 80298264 002951A4 EC 01 00 32 */ fmuls f0, f1, f0
/* 80298268 002951A8 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8029826C 002951AC 4C 40 13 82 */ cror 2, 0, 2
/* 80298270 002951B0 40 82 00 08 */ bne .L_80298278
/* 80298274 002951B4 3B A0 00 01 */ li r29, 1
.L_80298278:
/* 80298278 002951B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 8029827C 002951BC 41 82 00 24 */ beq .L_802982A0
/* 80298280 002951C0 38 00 00 03 */ li r0, 3
/* 80298284 002951C4 7F E3 FB 78 */ mr r3, r31
/* 80298288 002951C8 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 8029828C 002951CC 4B E6 D0 15 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298290 002951D0 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80298294 002951D4 7F E3 FB 78 */ mr r3, r31
/* 80298298 002951D8 4B E6 F0 F9 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 8029829C 002951DC 48 00 01 68 */ b .L_80298404
.L_802982A0:
/* 802982A0 002951E0 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 802982A4 002951E4 FC 40 FA 10 */ fabs f2, f31
/* 802982A8 002951E8 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 802982AC 002951EC C0 63 05 8C */ lfs f3, 0x58c(r3)
/* 802982B0 002951F0 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 802982B4 002951F4 FC 40 10 18 */ frsp f2, f2
/* 802982B8 002951F8 EC 00 00 F2 */ fmuls f0, f0, f3
/* 802982BC 002951FC EC 01 00 32 */ fmuls f0, f1, f0
/* 802982C0 00295200 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802982C4 00295204 4C 40 13 82 */ cror 2, 0, 2
/* 802982C8 00295208 40 82 00 18 */ bne .L_802982E0
/* 802982CC 0029520C 38 00 00 07 */ li r0, 7
/* 802982D0 00295210 7F E3 FB 78 */ mr r3, r31
/* 802982D4 00295214 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 802982D8 00295218 4B E6 CF C9 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 802982DC 0029521C 48 00 01 28 */ b .L_80298404
.L_802982E0:
/* 802982E0 00295220 38 00 00 05 */ li r0, 5
/* 802982E4 00295224 7F E3 FB 78 */ mr r3, r31
/* 802982E8 00295228 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 802982EC 0029522C 4B E6 CF B5 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 802982F0 00295230 48 00 01 14 */ b .L_80298404
.L_802982F4:
/* 802982F4 00295234 7F E4 FB 78 */ mr r4, r31
/* 802982F8 00295238 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 802982FC 0029523C 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298300 00295240 38 61 00 14 */ addi r3, r1, 0x14
/* 80298304 00295244 C3 5F 02 E0 */ lfs f26, 0x2e0(r31)
/* 80298308 00295248 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029830C 0029524C C3 7F 02 E8 */ lfs f27, 0x2e8(r31)
/* 80298310 00295250 C3 A5 03 34 */ lfs f29, 0x334(r5)
/* 80298314 00295254 C3 85 03 0C */ lfs f28, 0x30c(r5)
/* 80298318 00295258 7D 89 03 A6 */ mtctr r12
/* 8029831C 0029525C 4E 80 04 21 */ bctrl
/* 80298320 00295260 C0 81 00 14 */ lfs f4, 0x14(r1)
/* 80298324 00295264 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80298328 00295268 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8029832C 0029526C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80298330 00295270 C0 61 00 18 */ lfs f3, 0x18(r1)
/* 80298334 00295274 EC 3A 20 28 */ fsubs f1, f26, f4
/* 80298338 00295278 EC 5B 00 28 */ fsubs f2, f27, f0
/* 8029833C 0029527C D0 81 00 08 */ stfs f4, 8(r1)
/* 80298340 00295280 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80298344 00295284 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80298348 00295288 4B D9 CD C1 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 8029834C 0029528C 48 17 98 85 */ bl roundAng__Ff
/* 80298350 00295290 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298354 00295294 FF 40 08 90 */ fmr f26, f1
/* 80298358 00295298 7F E3 FB 78 */ mr r3, r31
/* 8029835C 0029529C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298360 002952A0 7D 89 03 A6 */ mtctr r12
/* 80298364 002952A4 4E 80 04 21 */ bctrl
/* 80298368 002952A8 FC 40 08 90 */ fmr f2, f1
/* 8029836C 002952AC FC 20 D0 90 */ fmr f1, f26
/* 80298370 002952B0 48 17 98 8D */ bl angDist__Fff
/* 80298374 002952B4 FF E0 08 90 */ fmr f31, f1
/* 80298378 002952B8 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 8029837C 002952BC C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80298380 002952C0 EC 00 07 72 */ fmuls f0, f0, f29
/* 80298384 002952C4 EF 5F 07 32 */ fmuls f26, f31, f28
/* 80298388 002952C8 EC 21 00 32 */ fmuls f1, f1, f0
/* 8029838C 002952CC FC 00 D2 10 */ fabs f0, f26
/* 80298390 002952D0 FC 00 00 18 */ frsp f0, f0
/* 80298394 002952D4 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80298398 002952D8 40 81 00 1C */ ble .L_802983B4
/* 8029839C 002952DC C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 802983A0 002952E0 FC 1A 00 40 */ fcmpo cr0, f26, f0
/* 802983A4 002952E4 40 81 00 0C */ ble .L_802983B0
/* 802983A8 002952E8 FF 40 08 90 */ fmr f26, f1
/* 802983AC 002952EC 48 00 00 08 */ b .L_802983B4
.L_802983B0:
/* 802983B0 002952F0 FF 40 08 50 */ fneg f26, f1
.L_802983B4:
/* 802983B4 002952F4 7F E3 FB 78 */ mr r3, r31
/* 802983B8 002952F8 81 9F 00 00 */ lwz r12, 0(r31)
/* 802983BC 002952FC 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 802983C0 00295300 7D 89 03 A6 */ mtctr r12
/* 802983C4 00295304 4E 80 04 21 */ bctrl
/* 802983C8 00295308 EC 3A 08 2A */ fadds f1, f26, f1
/* 802983CC 0029530C 48 17 98 05 */ bl roundAng__Ff
/* 802983D0 00295310 FC 60 FA 10 */ fabs f3, f31
/* 802983D4 00295314 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 802983D8 00295318 C0 02 D7 C8 */ lfs f0, lbl_8051BB28@sda21(r2)
/* 802983DC 0029531C C0 5F 01 FC */ lfs f2, 0x1fc(r31)
/* 802983E0 00295320 FC 20 18 18 */ frsp f1, f3
/* 802983E4 00295324 D0 5F 01 A8 */ stfs f2, 0x1a8(r31)
/* 802983E8 00295328 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802983EC 0029532C 4C 40 13 82 */ cror 2, 0, 2
/* 802983F0 00295330 40 82 00 14 */ bne .L_80298404
/* 802983F4 00295334 38 00 00 08 */ li r0, 8
/* 802983F8 00295338 7F E3 FB 78 */ mr r3, r31
/* 802983FC 0029533C 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298400 00295340 4B E6 CE A1 */ bl finishMotion__Q24Game9EnemyBaseFv
.L_80298404:
/* 80298404 00295344 80 7F 01 88 */ lwz r3, 0x188(r31)
/* 80298408 00295348 88 03 00 24 */ lbz r0, 0x24(r3)
/* 8029840C 0029534C 28 00 00 00 */ cmplwi r0, 0
/* 80298410 00295350 41 82 00 30 */ beq .L_80298440
/* 80298414 00295354 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 80298418 00295358 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 8029841C 0029535C 40 82 00 24 */ bne .L_80298440
/* 80298420 00295360 7F C3 F3 78 */ mr r3, r30
/* 80298424 00295364 7F E4 FB 78 */ mr r4, r31
/* 80298428 00295368 81 9E 00 00 */ lwz r12, 0(r30)
/* 8029842C 0029536C 38 C0 00 00 */ li r6, 0
/* 80298430 00295370 80 BF 02 D4 */ lwz r5, 0x2d4(r31)
/* 80298434 00295374 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80298438 00295378 7D 89 03 A6 */ mtctr r12
/* 8029843C 0029537C 4E 80 04 21 */ bctrl
.L_80298440:
/* 80298440 00295380 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0
/* 80298444 00295384 CB E1 00 E0 */ lfd f31, 0xe0(r1)
/* 80298448 00295388 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0
/* 8029844C 0029538C CB C1 00 D0 */ lfd f30, 0xd0(r1)
/* 80298450 00295390 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0
/* 80298454 00295394 CB A1 00 C0 */ lfd f29, 0xc0(r1)
/* 80298458 00295398 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0
/* 8029845C 0029539C CB 81 00 B0 */ lfd f28, 0xb0(r1)
/* 80298460 002953A0 E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0
/* 80298464 002953A4 CB 61 00 A0 */ lfd f27, 0xa0(r1)
/* 80298468 002953A8 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0
/* 8029846C 002953AC CB 41 00 90 */ lfd f26, 0x90(r1)
/* 80298470 002953B0 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 80298474 002953B4 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 80298478 002953B8 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 8029847C 002953BC 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 80298480 002953C0 83 81 00 80 */ lwz r28, 0x80(r1)
/* 80298484 002953C4 7C 08 03 A6 */ mtlr r0
/* 80298488 002953C8 38 21 00 F0 */ addi r1, r1, 0xf0
/* 8029848C 002953CC 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy13StateTurnPathFPQ24Game9EnemyBase:
/* 80298490 002953D0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80298494 002953D4 7C 08 02 A6 */ mflr r0
/* 80298498 002953D8 C0 22 D7 D0 */ lfs f1, lbl_8051BB30@sda21(r2)
/* 8029849C 002953DC 7C 83 23 78 */ mr r3, r4
/* 802984A0 002953E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 802984A4 002953E4 4B E6 EE ED */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 802984A8 002953E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802984AC 002953EC 7C 08 03 A6 */ mtlr r0
/* 802984B0 002953F0 38 21 00 10 */ addi r1, r1, 0x10
/* 802984B4 002953F4 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 802984B8 002953F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802984BC 002953FC 7C 08 02 A6 */ mflr r0
/* 802984C0 00295400 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 802984C4 00295404 90 01 00 14 */ stw r0, 0x14(r1)
/* 802984C8 00295408 38 00 FF FF */ li r0, -1
/* 802984CC 0029540C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802984D0 00295410 7C 9F 23 78 */ mr r31, r4
/* 802984D4 00295414 7F E3 FB 78 */ mr r3, r31
/* 802984D8 00295418 D0 04 02 D0 */ stfs f0, 0x2d0(r4)
/* 802984DC 0029541C 90 04 02 D4 */ stw r0, 0x2d4(r4)
/* 802984E0 00295420 4B E6 94 ED */ bl setEmotionExcitement__Q24Game9EnemyBaseFv
/* 802984E4 00295424 7F E3 FB 78 */ mr r3, r31
/* 802984E8 00295428 38 80 00 03 */ li r4, 3
/* 802984EC 0029542C 38 A0 00 00 */ li r5, 0
/* 802984F0 00295430 4B E6 CB 15 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 802984F4 00295434 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802984F8 00295438 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802984FC 0029543C 7C 08 03 A6 */ mtlr r0
/* 80298500 00295440 38 21 00 10 */ addi r1, r1, 0x10
/* 80298504 00295444 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBase:
/* 80298508 00295448 94 21 FE 90 */ stwu r1, -0x170(r1)
/* 8029850C 0029544C 7C 08 02 A6 */ mflr r0
/* 80298510 00295450 90 01 01 74 */ stw r0, 0x174(r1)
/* 80298514 00295454 DB E1 01 60 */ stfd f31, 0x160(r1)
/* 80298518 00295458 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0
/* 8029851C 0029545C DB C1 01 50 */ stfd f30, 0x150(r1)
/* 80298520 00295460 F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0
/* 80298524 00295464 DB A1 01 40 */ stfd f29, 0x140(r1)
/* 80298528 00295468 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0
/* 8029852C 0029546C DB 81 01 30 */ stfd f28, 0x130(r1)
/* 80298530 00295470 F3 81 01 38 */ psq_st f28, 312(r1), 0, qr0
/* 80298534 00295474 DB 61 01 20 */ stfd f27, 0x120(r1)
/* 80298538 00295478 F3 61 01 28 */ psq_st f27, 296(r1), 0, qr0
/* 8029853C 0029547C DB 41 01 10 */ stfd f26, 0x110(r1)
/* 80298540 00295480 F3 41 01 18 */ psq_st f26, 280(r1), 0, qr0
/* 80298544 00295484 DB 21 01 00 */ stfd f25, 0x100(r1)
/* 80298548 00295488 F3 21 01 08 */ psq_st f25, 264(r1), 0, qr0
/* 8029854C 0029548C DB 01 00 F0 */ stfd f24, 0xf0(r1)
/* 80298550 00295490 F3 01 00 F8 */ psq_st f24, 248(r1), 0, qr0
/* 80298554 00295494 93 E1 00 EC */ stw r31, 0xec(r1)
/* 80298558 00295498 93 C1 00 E8 */ stw r30, 0xe8(r1)
/* 8029855C 0029549C 93 A1 00 E4 */ stw r29, 0xe4(r1)
/* 80298560 002954A0 93 81 00 E0 */ stw r28, 0xe0(r1)
/* 80298564 002954A4 7C 9F 23 78 */ mr r31, r4
/* 80298568 002954A8 80 84 00 C0 */ lwz r4, 0xc0(r4)
/* 8029856C 002954AC 7C 7E 1B 78 */ mr r30, r3
/* 80298570 002954B0 C3 C4 03 0C */ lfs f30, 0x30c(r4)
/* 80298574 002954B4 7F E3 FB 78 */ mr r3, r31
/* 80298578 002954B8 C3 A4 03 34 */ lfs f29, 0x334(r4)
/* 8029857C 002954BC 4B E6 ED 85 */ bl isFinishMotion__Q24Game9EnemyBaseFv
/* 80298580 002954C0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80298584 002954C4 41 82 00 0C */ beq .L_80298590
/* 80298588 002954C8 C3 C2 D7 D8 */ lfs f30, lbl_8051BB38@sda21(r2)
/* 8029858C 002954CC C3 A2 D7 DC */ lfs f29, lbl_8051BB3C@sda21(r2)
.L_80298590:
/* 80298590 002954D0 C0 3F 02 00 */ lfs f1, 0x200(r31)
/* 80298594 002954D4 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80298598 002954D8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029859C 002954DC 4C 40 13 82 */ cror 2, 0, 2
/* 802985A0 002954E0 40 82 00 24 */ bne .L_802985C4
/* 802985A4 002954E4 38 00 00 00 */ li r0, 0
/* 802985A8 002954E8 7F E3 FB 78 */ mr r3, r31
/* 802985AC 002954EC 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 802985B0 002954F0 4B E6 CC F1 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 802985B4 002954F4 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 802985B8 002954F8 7F E3 FB 78 */ mr r3, r31
/* 802985BC 002954FC 4B E6 ED D5 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 802985C0 00295500 48 00 05 28 */ b .L_80298AE8
.L_802985C4:
/* 802985C4 00295504 7F E3 FB 78 */ mr r3, r31
/* 802985C8 00295508 38 80 00 00 */ li r4, 0
/* 802985CC 0029550C 4B E7 C0 8D */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb
/* 802985D0 00295510 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802985D4 00295514 41 82 00 24 */ beq .L_802985F8
/* 802985D8 00295518 38 00 00 04 */ li r0, 4
/* 802985DC 0029551C 7F E3 FB 78 */ mr r3, r31
/* 802985E0 00295520 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 802985E4 00295524 4B E6 CC BD */ bl finishMotion__Q24Game9EnemyBaseFv
/* 802985E8 00295528 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 802985EC 0029552C 7F E3 FB 78 */ mr r3, r31
/* 802985F0 00295530 4B E6 ED A1 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 802985F4 00295534 48 00 04 F4 */ b .L_80298AE8
.L_802985F8:
/* 802985F8 00295538 7F E3 FB 78 */ mr r3, r31
/* 802985FC 0029553C 48 00 1C 15 */ bl getSearchedTarget__Q34Game10KumaChappy3ObjFv
/* 80298600 00295540 7C 7C 1B 79 */ or. r28, r3, r3
/* 80298604 00295544 41 82 03 C4 */ beq .L_802989C8
/* 80298608 00295548 7F 84 E3 78 */ mr r4, r28
/* 8029860C 0029554C 38 61 00 68 */ addi r3, r1, 0x68
/* 80298610 00295550 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298614 00295554 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298618 00295558 7D 89 03 A6 */ mtctr r12
/* 8029861C 0029555C 4E 80 04 21 */ bctrl
/* 80298620 00295560 7F E4 FB 78 */ mr r4, r31
/* 80298624 00295564 38 61 00 74 */ addi r3, r1, 0x74
/* 80298628 00295568 81 9F 00 00 */ lwz r12, 0(r31)
/* 8029862C 0029556C C3 01 00 68 */ lfs f24, 0x68(r1)
/* 80298630 00295570 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298634 00295574 C3 21 00 70 */ lfs f25, 0x70(r1)
/* 80298638 00295578 7D 89 03 A6 */ mtctr r12
/* 8029863C 0029557C 4E 80 04 21 */ bctrl
/* 80298640 00295580 C0 21 00 74 */ lfs f1, 0x74(r1)
/* 80298644 00295584 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80298648 00295588 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 8029864C 0029558C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80298650 00295590 EC 38 08 28 */ fsubs f1, f24, f1
/* 80298654 00295594 EC 59 00 28 */ fsubs f2, f25, f0
/* 80298658 00295598 4B D9 CA B1 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 8029865C 0029559C 48 17 95 75 */ bl roundAng__Ff
/* 80298660 002955A0 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298664 002955A4 FF 00 08 90 */ fmr f24, f1
/* 80298668 002955A8 7F E3 FB 78 */ mr r3, r31
/* 8029866C 002955AC 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298670 002955B0 7D 89 03 A6 */ mtctr r12
/* 80298674 002955B4 4E 80 04 21 */ bctrl
/* 80298678 002955B8 FC 40 08 90 */ fmr f2, f1
/* 8029867C 002955BC FC 20 C0 90 */ fmr f1, f24
/* 80298680 002955C0 48 17 95 7D */ bl angDist__Fff
/* 80298684 002955C4 FF E0 08 90 */ fmr f31, f1
/* 80298688 002955C8 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 8029868C 002955CC C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80298690 002955D0 EC 00 07 72 */ fmuls f0, f0, f29
/* 80298694 002955D4 EF 1F 07 B2 */ fmuls f24, f31, f30
/* 80298698 002955D8 EC 21 00 32 */ fmuls f1, f1, f0
/* 8029869C 002955DC FC 00 C2 10 */ fabs f0, f24
/* 802986A0 002955E0 FC 00 00 18 */ frsp f0, f0
/* 802986A4 002955E4 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802986A8 002955E8 40 81 00 1C */ ble .L_802986C4
/* 802986AC 002955EC C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 802986B0 002955F0 FC 18 00 40 */ fcmpo cr0, f24, f0
/* 802986B4 002955F4 40 81 00 0C */ ble .L_802986C0
/* 802986B8 002955F8 FF 00 08 90 */ fmr f24, f1
/* 802986BC 002955FC 48 00 00 08 */ b .L_802986C4
.L_802986C0:
/* 802986C0 00295600 FF 00 08 50 */ fneg f24, f1
.L_802986C4:
/* 802986C4 00295604 7F E3 FB 78 */ mr r3, r31
/* 802986C8 00295608 81 9F 00 00 */ lwz r12, 0(r31)
/* 802986CC 0029560C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 802986D0 00295610 7D 89 03 A6 */ mtctr r12
/* 802986D4 00295614 4E 80 04 21 */ bctrl
/* 802986D8 00295618 EC 38 08 2A */ fadds f1, f24, f1
/* 802986DC 0029561C 48 17 94 F5 */ bl roundAng__Ff
/* 802986E0 00295620 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 802986E4 00295624 7F E4 FB 78 */ mr r4, r31
/* 802986E8 00295628 38 61 00 2C */ addi r3, r1, 0x2c
/* 802986EC 0029562C 3B A0 00 00 */ li r29, 0
/* 802986F0 00295630 C0 1F 01 FC */ lfs f0, 0x1fc(r31)
/* 802986F4 00295634 D0 1F 01 A8 */ stfs f0, 0x1a8(r31)
/* 802986F8 00295638 81 9F 00 00 */ lwz r12, 0(r31)
/* 802986FC 0029563C 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80298700 00295640 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298704 00295644 C3 85 05 8C */ lfs f28, 0x58c(r5)
/* 80298708 00295648 C3 C5 05 64 */ lfs f30, 0x564(r5)
/* 8029870C 0029564C 7D 89 03 A6 */ mtctr r12
/* 80298710 00295650 4E 80 04 21 */ bctrl
/* 80298714 00295654 7F 84 E3 78 */ mr r4, r28
/* 80298718 00295658 38 61 00 20 */ addi r3, r1, 0x20
/* 8029871C 0029565C 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298720 00295660 C3 A1 00 2C */ lfs f29, 0x2c(r1)
/* 80298724 00295664 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298728 00295668 7D 89 03 A6 */ mtctr r12
/* 8029872C 0029566C 4E 80 04 21 */ bctrl
/* 80298730 00295670 7F E4 FB 78 */ mr r4, r31
/* 80298734 00295674 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80298738 00295678 81 9F 00 00 */ lwz r12, 0(r31)
/* 8029873C 0029567C 38 61 00 44 */ addi r3, r1, 0x44
/* 80298740 00295680 EF 20 E8 28 */ fsubs f25, f0, f29
/* 80298744 00295684 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298748 00295688 7D 89 03 A6 */ mtctr r12
/* 8029874C 0029568C 4E 80 04 21 */ bctrl
/* 80298750 00295690 7F 84 E3 78 */ mr r4, r28
/* 80298754 00295694 38 61 00 38 */ addi r3, r1, 0x38
/* 80298758 00295698 81 9C 00 00 */ lwz r12, 0(r28)
/* 8029875C 0029569C C3 A1 00 48 */ lfs f29, 0x48(r1)
/* 80298760 002956A0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298764 002956A4 7D 89 03 A6 */ mtctr r12
/* 80298768 002956A8 4E 80 04 21 */ bctrl
/* 8029876C 002956AC 7F E4 FB 78 */ mr r4, r31
/* 80298770 002956B0 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80298774 002956B4 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298778 002956B8 38 61 00 5C */ addi r3, r1, 0x5c
/* 8029877C 002956BC EF 00 E8 28 */ fsubs f24, f0, f29
/* 80298780 002956C0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298784 002956C4 7D 89 03 A6 */ mtctr r12
/* 80298788 002956C8 4E 80 04 21 */ bctrl
/* 8029878C 002956CC 7F 84 E3 78 */ mr r4, r28
/* 80298790 002956D0 38 61 00 50 */ addi r3, r1, 0x50
/* 80298794 002956D4 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298798 002956D8 C3 A1 00 64 */ lfs f29, 0x64(r1)
/* 8029879C 002956DC 81 8C 00 08 */ lwz r12, 8(r12)
/* 802987A0 002956E0 7D 89 03 A6 */ mtctr r12
/* 802987A4 002956E4 4E 80 04 21 */ bctrl
/* 802987A8 002956E8 EC 38 06 32 */ fmuls f1, f24, f24
/* 802987AC 002956EC C0 41 00 58 */ lfs f2, 0x58(r1)
/* 802987B0 002956F0 EC 1E 07 B2 */ fmuls f0, f30, f30
/* 802987B4 002956F4 EC 42 E8 28 */ fsubs f2, f2, f29
/* 802987B8 002956F8 EC 39 0E 7A */ fmadds f1, f25, f25, f1
/* 802987BC 002956FC EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 802987C0 00295700 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802987C4 00295704 40 80 00 2C */ bge .L_802987F0
/* 802987C8 00295708 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 802987CC 0029570C FC 40 FA 10 */ fabs f2, f31
/* 802987D0 00295710 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 802987D4 00295714 EC 00 07 32 */ fmuls f0, f0, f28
/* 802987D8 00295718 FC 40 10 18 */ frsp f2, f2
/* 802987DC 0029571C EC 01 00 32 */ fmuls f0, f1, f0
/* 802987E0 00295720 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802987E4 00295724 4C 40 13 82 */ cror 2, 0, 2
/* 802987E8 00295728 40 82 00 08 */ bne .L_802987F0
/* 802987EC 0029572C 3B A0 00 01 */ li r29, 1
.L_802987F0:
/* 802987F0 00295730 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 802987F4 00295734 41 82 00 24 */ beq .L_80298818
/* 802987F8 00295738 38 00 00 03 */ li r0, 3
/* 802987FC 0029573C 7F E3 FB 78 */ mr r3, r31
/* 80298800 00295740 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298804 00295744 4B E6 CA 9D */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298808 00295748 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 8029880C 0029574C 7F E3 FB 78 */ mr r3, r31
/* 80298810 00295750 4B E6 EB 81 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80298814 00295754 48 00 02 D4 */ b .L_80298AE8
.L_80298818:
/* 80298818 00295758 7F E3 FB 78 */ mr r3, r31
/* 8029881C 0029575C 48 00 16 B1 */ bl getViewAngle__Q34Game10KumaChappy3ObjFv
/* 80298820 00295760 7F E4 FB 78 */ mr r4, r31
/* 80298824 00295764 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80298828 00295768 81 9F 00 00 */ lwz r12, 0(r31)
/* 8029882C 0029576C FF C0 08 90 */ fmr f30, f1
/* 80298830 00295770 38 61 00 98 */ addi r3, r1, 0x98
/* 80298834 00295774 C3 05 03 FC */ lfs f24, 0x3fc(r5)
/* 80298838 00295778 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029883C 0029577C C3 25 03 D4 */ lfs f25, 0x3d4(r5)
/* 80298840 00295780 C3 45 03 AC */ lfs f26, 0x3ac(r5)
/* 80298844 00295784 7D 89 03 A6 */ mtctr r12
/* 80298848 00295788 4E 80 04 21 */ bctrl
/* 8029884C 0029578C 7F 84 E3 78 */ mr r4, r28
/* 80298850 00295790 38 61 00 8C */ addi r3, r1, 0x8c
/* 80298854 00295794 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298858 00295798 C3 A1 00 98 */ lfs f29, 0x98(r1)
/* 8029885C 0029579C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298860 002957A0 7D 89 03 A6 */ mtctr r12
/* 80298864 002957A4 4E 80 04 21 */ bctrl
/* 80298868 002957A8 7F E4 FB 78 */ mr r4, r31
/* 8029886C 002957AC C0 01 00 8C */ lfs f0, 0x8c(r1)
/* 80298870 002957B0 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298874 002957B4 38 61 00 B0 */ addi r3, r1, 0xb0
/* 80298878 002957B8 EF 60 E8 28 */ fsubs f27, f0, f29
/* 8029887C 002957BC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298880 002957C0 7D 89 03 A6 */ mtctr r12
/* 80298884 002957C4 4E 80 04 21 */ bctrl
/* 80298888 002957C8 7F 84 E3 78 */ mr r4, r28
/* 8029888C 002957CC 38 61 00 A4 */ addi r3, r1, 0xa4
/* 80298890 002957D0 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298894 002957D4 C3 A1 00 B4 */ lfs f29, 0xb4(r1)
/* 80298898 002957D8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8029889C 002957DC 7D 89 03 A6 */ mtctr r12
/* 802988A0 002957E0 4E 80 04 21 */ bctrl
/* 802988A4 002957E4 7F E4 FB 78 */ mr r4, r31
/* 802988A8 002957E8 C0 01 00 A8 */ lfs f0, 0xa8(r1)
/* 802988AC 002957EC 81 9F 00 00 */ lwz r12, 0(r31)
/* 802988B0 002957F0 38 61 00 C8 */ addi r3, r1, 0xc8
/* 802988B4 002957F4 EF 80 E8 28 */ fsubs f28, f0, f29
/* 802988B8 002957F8 81 8C 00 08 */ lwz r12, 8(r12)
/* 802988BC 002957FC 7D 89 03 A6 */ mtctr r12
/* 802988C0 00295800 4E 80 04 21 */ bctrl
/* 802988C4 00295804 7F 84 E3 78 */ mr r4, r28
/* 802988C8 00295808 38 61 00 BC */ addi r3, r1, 0xbc
/* 802988CC 0029580C 81 9C 00 00 */ lwz r12, 0(r28)
/* 802988D0 00295810 C3 A1 00 D0 */ lfs f29, 0xd0(r1)
/* 802988D4 00295814 81 8C 00 08 */ lwz r12, 8(r12)
/* 802988D8 00295818 7D 89 03 A6 */ mtctr r12
/* 802988DC 0029581C 4E 80 04 21 */ bctrl
/* 802988E0 00295820 C0 01 00 C4 */ lfs f0, 0xc4(r1)
/* 802988E4 00295824 EF 5A 06 B2 */ fmuls f26, f26, f26
/* 802988E8 00295828 EF 39 06 72 */ fmuls f25, f25, f25
/* 802988EC 0029582C 38 60 00 01 */ li r3, 1
/* 802988F0 00295830 EC 00 E8 28 */ fsubs f0, f0, f29
/* 802988F4 00295834 38 80 00 00 */ li r4, 0
/* 802988F8 00295838 EC 00 00 32 */ fmuls f0, f0, f0
/* 802988FC 0029583C EC 1B 06 FA */ fmadds f0, f27, f27, f0
/* 80298900 00295840 FC 00 D0 40 */ fcmpo cr0, f0, f26
/* 80298904 00295844 40 81 00 30 */ ble .L_80298934
/* 80298908 00295848 FC 00 C8 40 */ fcmpo cr0, f0, f25
/* 8029890C 0029584C 7C 80 23 78 */ mr r0, r4
/* 80298910 00295850 40 81 00 18 */ ble .L_80298928
/* 80298914 00295854 FC 00 E2 10 */ fabs f0, f28
/* 80298918 00295858 FC 00 00 18 */ frsp f0, f0
/* 8029891C 0029585C FC 00 C0 40 */ fcmpo cr0, f0, f24
/* 80298920 00295860 40 80 00 08 */ bge .L_80298928
/* 80298924 00295864 7C 60 1B 78 */ mr r0, r3
.L_80298928:
/* 80298928 00295868 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8029892C 0029586C 41 82 00 08 */ beq .L_80298934
/* 80298930 00295870 38 80 00 01 */ li r4, 1
.L_80298934:
/* 80298934 00295874 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80298938 00295878 40 82 00 34 */ bne .L_8029896C
/* 8029893C 0029587C C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80298940 00295880 FC 40 FA 10 */ fabs f2, f31
/* 80298944 00295884 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80298948 00295888 EC 00 07 B2 */ fmuls f0, f0, f30
/* 8029894C 0029588C FC 40 10 18 */ frsp f2, f2
/* 80298950 00295890 EC 01 00 32 */ fmuls f0, f1, f0
/* 80298954 00295894 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80298958 00295898 4C 40 13 82 */ cror 2, 0, 2
/* 8029895C 0029589C 7C 00 00 26 */ mfcr r0
/* 80298960 002958A0 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f
/* 80298964 002958A4 41 82 00 08 */ beq .L_8029896C
/* 80298968 002958A8 38 60 00 00 */ li r3, 0
.L_8029896C:
/* 8029896C 002958AC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80298970 002958B0 41 82 00 18 */ beq .L_80298988
/* 80298974 002958B4 38 00 00 02 */ li r0, 2
/* 80298978 002958B8 7F E3 FB 78 */ mr r3, r31
/* 8029897C 002958BC 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298980 002958C0 4B E6 C9 21 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298984 002958C4 48 00 01 64 */ b .L_80298AE8
.L_80298988:
/* 80298988 002958C8 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8029898C 002958CC FC 40 FA 10 */ fabs f2, f31
/* 80298990 002958D0 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80298994 002958D4 C0 63 05 8C */ lfs f3, 0x58c(r3)
/* 80298998 002958D8 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 8029899C 002958DC FC 40 10 18 */ frsp f2, f2
/* 802989A0 002958E0 EC 00 00 F2 */ fmuls f0, f0, f3
/* 802989A4 002958E4 EC 01 00 32 */ fmuls f0, f1, f0
/* 802989A8 002958E8 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 802989AC 002958EC 4C 40 13 82 */ cror 2, 0, 2
/* 802989B0 002958F0 41 82 01 38 */ beq .L_80298AE8
/* 802989B4 002958F4 38 00 00 05 */ li r0, 5
/* 802989B8 002958F8 7F E3 FB 78 */ mr r3, r31
/* 802989BC 002958FC 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 802989C0 00295900 4B E6 C8 E1 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 802989C4 00295904 48 00 01 24 */ b .L_80298AE8
.L_802989C8:
/* 802989C8 00295908 7F E3 FB 78 */ mr r3, r31
/* 802989CC 0029590C 48 00 15 35 */ bl setNearestWayPoint__Q34Game10KumaChappy3ObjFv
/* 802989D0 00295910 7F E4 FB 78 */ mr r4, r31
/* 802989D4 00295914 38 61 00 14 */ addi r3, r1, 0x14
/* 802989D8 00295918 81 9F 00 00 */ lwz r12, 0(r31)
/* 802989DC 0029591C C3 1F 02 E0 */ lfs f24, 0x2e0(r31)
/* 802989E0 00295920 81 8C 00 08 */ lwz r12, 8(r12)
/* 802989E4 00295924 C3 3F 02 E8 */ lfs f25, 0x2e8(r31)
/* 802989E8 00295928 7D 89 03 A6 */ mtctr r12
/* 802989EC 0029592C 4E 80 04 21 */ bctrl
/* 802989F0 00295930 C0 81 00 14 */ lfs f4, 0x14(r1)
/* 802989F4 00295934 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 802989F8 00295938 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 802989FC 0029593C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80298A00 00295940 C0 61 00 18 */ lfs f3, 0x18(r1)
/* 80298A04 00295944 EC 38 20 28 */ fsubs f1, f24, f4
/* 80298A08 00295948 EC 59 00 28 */ fsubs f2, f25, f0
/* 80298A0C 0029594C D0 81 00 08 */ stfs f4, 8(r1)
/* 80298A10 00295950 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80298A14 00295954 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80298A18 00295958 4B D9 C6 F1 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80298A1C 0029595C 48 17 91 B5 */ bl roundAng__Ff
/* 80298A20 00295960 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298A24 00295964 FF 00 08 90 */ fmr f24, f1
/* 80298A28 00295968 7F E3 FB 78 */ mr r3, r31
/* 80298A2C 0029596C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298A30 00295970 7D 89 03 A6 */ mtctr r12
/* 80298A34 00295974 4E 80 04 21 */ bctrl
/* 80298A38 00295978 FC 40 08 90 */ fmr f2, f1
/* 80298A3C 0029597C FC 20 C0 90 */ fmr f1, f24
/* 80298A40 00295980 48 17 91 BD */ bl angDist__Fff
/* 80298A44 00295984 FF E0 08 90 */ fmr f31, f1
/* 80298A48 00295988 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80298A4C 0029598C C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80298A50 00295990 EC 00 07 72 */ fmuls f0, f0, f29
/* 80298A54 00295994 EF 1F 07 B2 */ fmuls f24, f31, f30
/* 80298A58 00295998 EC 21 00 32 */ fmuls f1, f1, f0
/* 80298A5C 0029599C FC 00 C2 10 */ fabs f0, f24
/* 80298A60 002959A0 FC 00 00 18 */ frsp f0, f0
/* 80298A64 002959A4 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80298A68 002959A8 40 81 00 1C */ ble .L_80298A84
/* 80298A6C 002959AC C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80298A70 002959B0 FC 18 00 40 */ fcmpo cr0, f24, f0
/* 80298A74 002959B4 40 81 00 0C */ ble .L_80298A80
/* 80298A78 002959B8 FF 00 08 90 */ fmr f24, f1
/* 80298A7C 002959BC 48 00 00 08 */ b .L_80298A84
.L_80298A80:
/* 80298A80 002959C0 FF 00 08 50 */ fneg f24, f1
.L_80298A84:
/* 80298A84 002959C4 7F E3 FB 78 */ mr r3, r31
/* 80298A88 002959C8 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298A8C 002959CC 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298A90 002959D0 7D 89 03 A6 */ mtctr r12
/* 80298A94 002959D4 4E 80 04 21 */ bctrl
/* 80298A98 002959D8 EC 38 08 2A */ fadds f1, f24, f1
/* 80298A9C 002959DC 48 17 91 35 */ bl roundAng__Ff
/* 80298AA0 002959E0 FC 60 FA 10 */ fabs f3, f31
/* 80298AA4 002959E4 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 80298AA8 002959E8 C0 02 D7 C8 */ lfs f0, lbl_8051BB28@sda21(r2)
/* 80298AAC 002959EC C0 5F 01 FC */ lfs f2, 0x1fc(r31)
/* 80298AB0 002959F0 FC 20 18 18 */ frsp f1, f3
/* 80298AB4 002959F4 D0 5F 01 A8 */ stfs f2, 0x1a8(r31)
/* 80298AB8 002959F8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80298ABC 002959FC 4C 40 13 82 */ cror 2, 0, 2
/* 80298AC0 00295A00 40 82 00 18 */ bne .L_80298AD8
/* 80298AC4 00295A04 38 00 00 08 */ li r0, 8
/* 80298AC8 00295A08 7F E3 FB 78 */ mr r3, r31
/* 80298ACC 00295A0C 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298AD0 00295A10 4B E6 C7 D1 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298AD4 00295A14 48 00 00 14 */ b .L_80298AE8
.L_80298AD8:
/* 80298AD8 00295A18 38 00 00 06 */ li r0, 6
/* 80298ADC 00295A1C 7F E3 FB 78 */ mr r3, r31
/* 80298AE0 00295A20 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298AE4 00295A24 4B E6 C7 BD */ bl finishMotion__Q24Game9EnemyBaseFv
.L_80298AE8:
/* 80298AE8 00295A28 7F E3 FB 78 */ mr r3, r31
/* 80298AEC 00295A2C 4B E6 E8 15 */ bl isFinishMotion__Q24Game9EnemyBaseFv
/* 80298AF0 00295A30 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80298AF4 00295A34 41 82 00 18 */ beq .L_80298B0C
/* 80298AF8 00295A38 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80298AFC 00295A3C D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 80298B00 00295A40 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
/* 80298B04 00295A44 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
/* 80298B08 00295A48 48 00 00 70 */ b .L_80298B78
.L_80298B0C:
/* 80298B0C 00295A4C 7F E3 FB 78 */ mr r3, r31
/* 80298B10 00295A50 80 9F 00 C0 */ lwz r4, 0xc0(r31)
/* 80298B14 00295A54 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298B18 00295A58 C3 04 02 E4 */ lfs f24, 0x2e4(r4)
/* 80298B1C 00295A5C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298B20 00295A60 7D 89 03 A6 */ mtctr r12
/* 80298B24 00295A64 4E 80 04 21 */ bctrl
/* 80298B28 00295A68 4B E3 6C F5 */ bl sin
/* 80298B2C 00295A6C 7F E3 FB 78 */ mr r3, r31
/* 80298B30 00295A70 C0 5F 01 D4 */ lfs f2, 0x1d4(r31)
/* 80298B34 00295A74 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298B38 00295A78 FF 20 08 18 */ frsp f25, f1
/* 80298B3C 00295A7C C3 BF 01 D8 */ lfs f29, 0x1d8(r31)
/* 80298B40 00295A80 C0 1F 01 DC */ lfs f0, 0x1dc(r31)
/* 80298B44 00295A84 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298B48 00295A88 D0 41 00 80 */ stfs f2, 0x80(r1)
/* 80298B4C 00295A8C D3 A1 00 84 */ stfs f29, 0x84(r1)
/* 80298B50 00295A90 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 80298B54 00295A94 7D 89 03 A6 */ mtctr r12
/* 80298B58 00295A98 4E 80 04 21 */ bctrl
/* 80298B5C 00295A9C 4B E3 67 59 */ bl cos
/* 80298B60 00295AA0 EC 18 06 72 */ fmuls f0, f24, f25
/* 80298B64 00295AA4 FC 20 08 18 */ frsp f1, f1
/* 80298B68 00295AA8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 80298B6C 00295AAC EC 18 00 72 */ fmuls f0, f24, f1
/* 80298B70 00295AB0 D3 BF 01 D8 */ stfs f29, 0x1d8(r31)
/* 80298B74 00295AB4 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
.L_80298B78:
/* 80298B78 00295AB8 80 7F 01 88 */ lwz r3, 0x188(r31)
/* 80298B7C 00295ABC 88 03 00 24 */ lbz r0, 0x24(r3)
/* 80298B80 00295AC0 28 00 00 00 */ cmplwi r0, 0
/* 80298B84 00295AC4 41 82 00 30 */ beq .L_80298BB4
/* 80298B88 00295AC8 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 80298B8C 00295ACC 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 80298B90 00295AD0 40 82 00 24 */ bne .L_80298BB4
/* 80298B94 00295AD4 7F C3 F3 78 */ mr r3, r30
/* 80298B98 00295AD8 7F E4 FB 78 */ mr r4, r31
/* 80298B9C 00295ADC 81 9E 00 00 */ lwz r12, 0(r30)
/* 80298BA0 00295AE0 38 C0 00 00 */ li r6, 0
/* 80298BA4 00295AE4 80 BF 02 D4 */ lwz r5, 0x2d4(r31)
/* 80298BA8 00295AE8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80298BAC 00295AEC 7D 89 03 A6 */ mtctr r12
/* 80298BB0 00295AF0 4E 80 04 21 */ bctrl
.L_80298BB4:
/* 80298BB4 00295AF4 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0
/* 80298BB8 00295AF8 CB E1 01 60 */ lfd f31, 0x160(r1)
/* 80298BBC 00295AFC E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0
/* 80298BC0 00295B00 CB C1 01 50 */ lfd f30, 0x150(r1)
/* 80298BC4 00295B04 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0
/* 80298BC8 00295B08 CB A1 01 40 */ lfd f29, 0x140(r1)
/* 80298BCC 00295B0C E3 81 01 38 */ psq_l f28, 312(r1), 0, qr0
/* 80298BD0 00295B10 CB 81 01 30 */ lfd f28, 0x130(r1)
/* 80298BD4 00295B14 E3 61 01 28 */ psq_l f27, 296(r1), 0, qr0
/* 80298BD8 00295B18 CB 61 01 20 */ lfd f27, 0x120(r1)
/* 80298BDC 00295B1C E3 41 01 18 */ psq_l f26, 280(r1), 0, qr0
/* 80298BE0 00295B20 CB 41 01 10 */ lfd f26, 0x110(r1)
/* 80298BE4 00295B24 E3 21 01 08 */ psq_l f25, 264(r1), 0, qr0
/* 80298BE8 00295B28 CB 21 01 00 */ lfd f25, 0x100(r1)
/* 80298BEC 00295B2C E3 01 00 F8 */ psq_l f24, 248(r1), 0, qr0
/* 80298BF0 00295B30 CB 01 00 F0 */ lfd f24, 0xf0(r1)
/* 80298BF4 00295B34 83 E1 00 EC */ lwz r31, 0xec(r1)
/* 80298BF8 00295B38 83 C1 00 E8 */ lwz r30, 0xe8(r1)
/* 80298BFC 00295B3C 83 A1 00 E4 */ lwz r29, 0xe4(r1)
/* 80298C00 00295B40 80 01 01 74 */ lwz r0, 0x174(r1)
/* 80298C04 00295B44 83 81 00 E0 */ lwz r28, 0xe0(r1)
/* 80298C08 00295B48 7C 08 03 A6 */ mtlr r0
/* 80298C0C 00295B4C 38 21 01 70 */ addi r1, r1, 0x170
/* 80298C10 00295B50 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy9StateWalkFPQ24Game9EnemyBase:
/* 80298C14 00295B54 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80298C18 00295B58 7C 08 02 A6 */ mflr r0
/* 80298C1C 00295B5C C0 22 D7 D0 */ lfs f1, lbl_8051BB30@sda21(r2)
/* 80298C20 00295B60 90 01 00 14 */ stw r0, 0x14(r1)
/* 80298C24 00295B64 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80298C28 00295B68 7C 9F 23 78 */ mr r31, r4
/* 80298C2C 00295B6C 7F E3 FB 78 */ mr r3, r31
/* 80298C30 00295B70 4B E6 E7 61 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80298C34 00295B74 7F E3 FB 78 */ mr r3, r31
/* 80298C38 00295B78 4B E6 8D 45 */ bl setEmotionCaution__Q24Game9EnemyBaseFv
/* 80298C3C 00295B7C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80298C40 00295B80 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80298C44 00295B84 7C 08 03 A6 */ mtlr r0
/* 80298C48 00295B88 38 21 00 10 */ addi r1, r1, 0x10
/* 80298C4C 00295B8C 4E 80 00 20 */ blr
.global init__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBasePQ24Game8StateArg
init__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBasePQ24Game8StateArg:
/* 80298C50 00295B90 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80298C54 00295B94 7C 08 02 A6 */ mflr r0
/* 80298C58 00295B98 7C 83 23 78 */ mr r3, r4
/* 80298C5C 00295B9C 38 80 00 03 */ li r4, 3
/* 80298C60 00295BA0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80298C64 00295BA4 38 00 FF FF */ li r0, -1
/* 80298C68 00295BA8 38 A0 00 00 */ li r5, 0
/* 80298C6C 00295BAC 90 03 02 D4 */ stw r0, 0x2d4(r3)
/* 80298C70 00295BB0 4B E6 C3 95 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 80298C74 00295BB4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80298C78 00295BB8 7C 08 03 A6 */ mtlr r0
/* 80298C7C 00295BBC 38 21 00 10 */ addi r1, r1, 0x10
/* 80298C80 00295BC0 4E 80 00 20 */ blr
.global exec__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBase
exec__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBase:
/* 80298C84 00295BC4 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 80298C88 00295BC8 7C 08 02 A6 */ mflr r0
/* 80298C8C 00295BCC 90 01 01 04 */ stw r0, 0x104(r1)
/* 80298C90 00295BD0 DB E1 00 F0 */ stfd f31, 0xf0(r1)
/* 80298C94 00295BD4 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0
/* 80298C98 00295BD8 DB C1 00 E0 */ stfd f30, 0xe0(r1)
/* 80298C9C 00295BDC F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0
/* 80298CA0 00295BE0 DB A1 00 D0 */ stfd f29, 0xd0(r1)
/* 80298CA4 00295BE4 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0
/* 80298CA8 00295BE8 DB 81 00 C0 */ stfd f28, 0xc0(r1)
/* 80298CAC 00295BEC F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0
/* 80298CB0 00295BF0 DB 61 00 B0 */ stfd f27, 0xb0(r1)
/* 80298CB4 00295BF4 F3 61 00 B8 */ psq_st f27, 184(r1), 0, qr0
/* 80298CB8 00295BF8 DB 41 00 A0 */ stfd f26, 0xa0(r1)
/* 80298CBC 00295BFC F3 41 00 A8 */ psq_st f26, 168(r1), 0, qr0
/* 80298CC0 00295C00 93 E1 00 9C */ stw r31, 0x9c(r1)
/* 80298CC4 00295C04 93 C1 00 98 */ stw r30, 0x98(r1)
/* 80298CC8 00295C08 93 A1 00 94 */ stw r29, 0x94(r1)
/* 80298CCC 00295C0C 93 81 00 90 */ stw r28, 0x90(r1)
/* 80298CD0 00295C10 7C 9F 23 78 */ mr r31, r4
/* 80298CD4 00295C14 7C 7E 1B 78 */ mr r30, r3
/* 80298CD8 00295C18 7F E3 FB 78 */ mr r3, r31
/* 80298CDC 00295C1C 48 00 16 C9 */ bl updateHomePosition__Q34Game10KumaChappy3ObjFv
/* 80298CE0 00295C20 80 9F 00 C0 */ lwz r4, 0xc0(r31)
/* 80298CE4 00295C24 7F E3 FB 78 */ mr r3, r31
/* 80298CE8 00295C28 C3 C4 03 0C */ lfs f30, 0x30c(r4)
/* 80298CEC 00295C2C C3 A4 03 34 */ lfs f29, 0x334(r4)
/* 80298CF0 00295C30 4B E6 E6 11 */ bl isFinishMotion__Q24Game9EnemyBaseFv
/* 80298CF4 00295C34 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80298CF8 00295C38 41 82 00 0C */ beq .L_80298D04
/* 80298CFC 00295C3C C3 C2 D7 D8 */ lfs f30, lbl_8051BB38@sda21(r2)
/* 80298D00 00295C40 C3 A2 D7 DC */ lfs f29, lbl_8051BB3C@sda21(r2)
.L_80298D04:
/* 80298D04 00295C44 C0 3F 02 00 */ lfs f1, 0x200(r31)
/* 80298D08 00295C48 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80298D0C 00295C4C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80298D10 00295C50 4C 40 13 82 */ cror 2, 0, 2
/* 80298D14 00295C54 40 82 00 24 */ bne .L_80298D38
/* 80298D18 00295C58 38 00 00 00 */ li r0, 0
/* 80298D1C 00295C5C 7F E3 FB 78 */ mr r3, r31
/* 80298D20 00295C60 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298D24 00295C64 4B E6 C5 7D */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298D28 00295C68 C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80298D2C 00295C6C 7F E3 FB 78 */ mr r3, r31
/* 80298D30 00295C70 4B E6 E6 61 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80298D34 00295C74 48 00 03 B0 */ b .L_802990E4
.L_80298D38:
/* 80298D38 00295C78 7F E3 FB 78 */ mr r3, r31
/* 80298D3C 00295C7C 38 80 00 00 */ li r4, 0
/* 80298D40 00295C80 4B E7 B9 19 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb
/* 80298D44 00295C84 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80298D48 00295C88 41 82 00 24 */ beq .L_80298D6C
/* 80298D4C 00295C8C 38 00 00 04 */ li r0, 4
/* 80298D50 00295C90 7F E3 FB 78 */ mr r3, r31
/* 80298D54 00295C94 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298D58 00295C98 4B E6 C5 49 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298D5C 00295C9C C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80298D60 00295CA0 7F E3 FB 78 */ mr r3, r31
/* 80298D64 00295CA4 4B E6 E6 2D */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80298D68 00295CA8 48 00 03 7C */ b .L_802990E4
.L_80298D6C:
/* 80298D6C 00295CAC 7F E3 FB 78 */ mr r3, r31
/* 80298D70 00295CB0 48 00 14 A1 */ bl getSearchedTarget__Q34Game10KumaChappy3ObjFv
/* 80298D74 00295CB4 7C 7C 1B 79 */ or. r28, r3, r3
/* 80298D78 00295CB8 41 82 02 68 */ beq .L_80298FE0
/* 80298D7C 00295CBC 7F 84 E3 78 */ mr r4, r28
/* 80298D80 00295CC0 38 61 00 68 */ addi r3, r1, 0x68
/* 80298D84 00295CC4 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298D88 00295CC8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298D8C 00295CCC 7D 89 03 A6 */ mtctr r12
/* 80298D90 00295CD0 4E 80 04 21 */ bctrl
/* 80298D94 00295CD4 7F E4 FB 78 */ mr r4, r31
/* 80298D98 00295CD8 38 61 00 74 */ addi r3, r1, 0x74
/* 80298D9C 00295CDC 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298DA0 00295CE0 C3 41 00 68 */ lfs f26, 0x68(r1)
/* 80298DA4 00295CE4 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298DA8 00295CE8 C3 61 00 70 */ lfs f27, 0x70(r1)
/* 80298DAC 00295CEC 7D 89 03 A6 */ mtctr r12
/* 80298DB0 00295CF0 4E 80 04 21 */ bctrl
/* 80298DB4 00295CF4 C0 21 00 74 */ lfs f1, 0x74(r1)
/* 80298DB8 00295CF8 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80298DBC 00295CFC C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 80298DC0 00295D00 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80298DC4 00295D04 EC 3A 08 28 */ fsubs f1, f26, f1
/* 80298DC8 00295D08 EC 5B 00 28 */ fsubs f2, f27, f0
/* 80298DCC 00295D0C 4B D9 C3 3D */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 80298DD0 00295D10 48 17 8E 01 */ bl roundAng__Ff
/* 80298DD4 00295D14 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298DD8 00295D18 FF 40 08 90 */ fmr f26, f1
/* 80298DDC 00295D1C 7F E3 FB 78 */ mr r3, r31
/* 80298DE0 00295D20 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298DE4 00295D24 7D 89 03 A6 */ mtctr r12
/* 80298DE8 00295D28 4E 80 04 21 */ bctrl
/* 80298DEC 00295D2C FC 40 08 90 */ fmr f2, f1
/* 80298DF0 00295D30 FC 20 D0 90 */ fmr f1, f26
/* 80298DF4 00295D34 48 17 8E 09 */ bl angDist__Fff
/* 80298DF8 00295D38 FF E0 08 90 */ fmr f31, f1
/* 80298DFC 00295D3C C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80298E00 00295D40 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80298E04 00295D44 EC 00 07 72 */ fmuls f0, f0, f29
/* 80298E08 00295D48 EF 9F 07 B2 */ fmuls f28, f31, f30
/* 80298E0C 00295D4C EC 21 00 32 */ fmuls f1, f1, f0
/* 80298E10 00295D50 FC 00 E2 10 */ fabs f0, f28
/* 80298E14 00295D54 FC 00 00 18 */ frsp f0, f0
/* 80298E18 00295D58 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80298E1C 00295D5C 40 81 00 1C */ ble .L_80298E38
/* 80298E20 00295D60 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80298E24 00295D64 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 80298E28 00295D68 40 81 00 0C */ ble .L_80298E34
/* 80298E2C 00295D6C FF 80 08 90 */ fmr f28, f1
/* 80298E30 00295D70 48 00 00 08 */ b .L_80298E38
.L_80298E34:
/* 80298E34 00295D74 FF 80 08 50 */ fneg f28, f1
.L_80298E38:
/* 80298E38 00295D78 7F E3 FB 78 */ mr r3, r31
/* 80298E3C 00295D7C 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298E40 00295D80 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80298E44 00295D84 7D 89 03 A6 */ mtctr r12
/* 80298E48 00295D88 4E 80 04 21 */ bctrl
/* 80298E4C 00295D8C EC 3C 08 2A */ fadds f1, f28, f1
/* 80298E50 00295D90 48 17 8D 81 */ bl roundAng__Ff
/* 80298E54 00295D94 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 80298E58 00295D98 7F E4 FB 78 */ mr r4, r31
/* 80298E5C 00295D9C 38 61 00 2C */ addi r3, r1, 0x2c
/* 80298E60 00295DA0 3B A0 00 00 */ li r29, 0
/* 80298E64 00295DA4 C0 1F 01 FC */ lfs f0, 0x1fc(r31)
/* 80298E68 00295DA8 D0 1F 01 A8 */ stfs f0, 0x1a8(r31)
/* 80298E6C 00295DAC 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298E70 00295DB0 80 BF 00 C0 */ lwz r5, 0xc0(r31)
/* 80298E74 00295DB4 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298E78 00295DB8 C3 85 05 8C */ lfs f28, 0x58c(r5)
/* 80298E7C 00295DBC C3 C5 05 64 */ lfs f30, 0x564(r5)
/* 80298E80 00295DC0 7D 89 03 A6 */ mtctr r12
/* 80298E84 00295DC4 4E 80 04 21 */ bctrl
/* 80298E88 00295DC8 7F 84 E3 78 */ mr r4, r28
/* 80298E8C 00295DCC 38 61 00 20 */ addi r3, r1, 0x20
/* 80298E90 00295DD0 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298E94 00295DD4 C3 A1 00 2C */ lfs f29, 0x2c(r1)
/* 80298E98 00295DD8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298E9C 00295DDC 7D 89 03 A6 */ mtctr r12
/* 80298EA0 00295DE0 4E 80 04 21 */ bctrl
/* 80298EA4 00295DE4 7F E4 FB 78 */ mr r4, r31
/* 80298EA8 00295DE8 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80298EAC 00295DEC 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298EB0 00295DF0 38 61 00 44 */ addi r3, r1, 0x44
/* 80298EB4 00295DF4 EF 40 E8 28 */ fsubs f26, f0, f29
/* 80298EB8 00295DF8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298EBC 00295DFC 7D 89 03 A6 */ mtctr r12
/* 80298EC0 00295E00 4E 80 04 21 */ bctrl
/* 80298EC4 00295E04 7F 84 E3 78 */ mr r4, r28
/* 80298EC8 00295E08 38 61 00 38 */ addi r3, r1, 0x38
/* 80298ECC 00295E0C 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298ED0 00295E10 C3 A1 00 48 */ lfs f29, 0x48(r1)
/* 80298ED4 00295E14 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298ED8 00295E18 7D 89 03 A6 */ mtctr r12
/* 80298EDC 00295E1C 4E 80 04 21 */ bctrl
/* 80298EE0 00295E20 7F E4 FB 78 */ mr r4, r31
/* 80298EE4 00295E24 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80298EE8 00295E28 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298EEC 00295E2C 38 61 00 5C */ addi r3, r1, 0x5c
/* 80298EF0 00295E30 EF 60 E8 28 */ fsubs f27, f0, f29
/* 80298EF4 00295E34 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298EF8 00295E38 7D 89 03 A6 */ mtctr r12
/* 80298EFC 00295E3C 4E 80 04 21 */ bctrl
/* 80298F00 00295E40 7F 84 E3 78 */ mr r4, r28
/* 80298F04 00295E44 38 61 00 50 */ addi r3, r1, 0x50
/* 80298F08 00295E48 81 9C 00 00 */ lwz r12, 0(r28)
/* 80298F0C 00295E4C C3 A1 00 64 */ lfs f29, 0x64(r1)
/* 80298F10 00295E50 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298F14 00295E54 7D 89 03 A6 */ mtctr r12
/* 80298F18 00295E58 4E 80 04 21 */ bctrl
/* 80298F1C 00295E5C EC 3B 06 F2 */ fmuls f1, f27, f27
/* 80298F20 00295E60 C0 41 00 58 */ lfs f2, 0x58(r1)
/* 80298F24 00295E64 EC 1E 07 B2 */ fmuls f0, f30, f30
/* 80298F28 00295E68 EC 42 E8 28 */ fsubs f2, f2, f29
/* 80298F2C 00295E6C EC 3A 0E BA */ fmadds f1, f26, f26, f1
/* 80298F30 00295E70 EC 22 08 BA */ fmadds f1, f2, f2, f1
/* 80298F34 00295E74 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80298F38 00295E78 40 80 00 2C */ bge .L_80298F64
/* 80298F3C 00295E7C C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80298F40 00295E80 FC 40 FA 10 */ fabs f2, f31
/* 80298F44 00295E84 C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80298F48 00295E88 EC 00 07 32 */ fmuls f0, f0, f28
/* 80298F4C 00295E8C FC 40 10 18 */ frsp f2, f2
/* 80298F50 00295E90 EC 01 00 32 */ fmuls f0, f1, f0
/* 80298F54 00295E94 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80298F58 00295E98 4C 40 13 82 */ cror 2, 0, 2
/* 80298F5C 00295E9C 40 82 00 08 */ bne .L_80298F64
/* 80298F60 00295EA0 3B A0 00 01 */ li r29, 1
.L_80298F64:
/* 80298F64 00295EA4 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80298F68 00295EA8 41 82 00 24 */ beq .L_80298F8C
/* 80298F6C 00295EAC 38 00 00 03 */ li r0, 3
/* 80298F70 00295EB0 7F E3 FB 78 */ mr r3, r31
/* 80298F74 00295EB4 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298F78 00295EB8 4B E6 C3 29 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298F7C 00295EBC C0 22 D7 CC */ lfs f1, lbl_8051BB2C@sda21(r2)
/* 80298F80 00295EC0 7F E3 FB 78 */ mr r3, r31
/* 80298F84 00295EC4 4B E6 E4 0D */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80298F88 00295EC8 48 00 01 5C */ b .L_802990E4
.L_80298F8C:
/* 80298F8C 00295ECC 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 80298F90 00295ED0 FC 40 FA 10 */ fabs f2, f31
/* 80298F94 00295ED4 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 80298F98 00295ED8 C0 63 05 8C */ lfs f3, 0x58c(r3)
/* 80298F9C 00295EDC C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80298FA0 00295EE0 FC 40 10 18 */ frsp f2, f2
/* 80298FA4 00295EE4 EC 00 00 F2 */ fmuls f0, f0, f3
/* 80298FA8 00295EE8 EC 01 00 32 */ fmuls f0, f1, f0
/* 80298FAC 00295EEC FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80298FB0 00295EF0 4C 40 13 82 */ cror 2, 0, 2
/* 80298FB4 00295EF4 40 82 00 18 */ bne .L_80298FCC
/* 80298FB8 00295EF8 38 00 00 07 */ li r0, 7
/* 80298FBC 00295EFC 7F E3 FB 78 */ mr r3, r31
/* 80298FC0 00295F00 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298FC4 00295F04 4B E6 C2 DD */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298FC8 00295F08 48 00 01 1C */ b .L_802990E4
.L_80298FCC:
/* 80298FCC 00295F0C 38 00 00 05 */ li r0, 5
/* 80298FD0 00295F10 7F E3 FB 78 */ mr r3, r31
/* 80298FD4 00295F14 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 80298FD8 00295F18 4B E6 C2 C9 */ bl finishMotion__Q24Game9EnemyBaseFv
/* 80298FDC 00295F1C 48 00 01 08 */ b .L_802990E4
.L_80298FE0:
/* 80298FE0 00295F20 7F E4 FB 78 */ mr r4, r31
/* 80298FE4 00295F24 38 61 00 14 */ addi r3, r1, 0x14
/* 80298FE8 00295F28 81 9F 00 00 */ lwz r12, 0(r31)
/* 80298FEC 00295F2C C3 5F 02 E0 */ lfs f26, 0x2e0(r31)
/* 80298FF0 00295F30 81 8C 00 08 */ lwz r12, 8(r12)
/* 80298FF4 00295F34 C3 7F 02 E8 */ lfs f27, 0x2e8(r31)
/* 80298FF8 00295F38 7D 89 03 A6 */ mtctr r12
/* 80298FFC 00295F3C 4E 80 04 21 */ bctrl
/* 80299000 00295F40 C0 81 00 14 */ lfs f4, 0x14(r1)
/* 80299004 00295F44 3C 60 80 51 */ lis r3, atanTable___5JMath@ha
/* 80299008 00295F48 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8029900C 00295F4C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l
/* 80299010 00295F50 C0 61 00 18 */ lfs f3, 0x18(r1)
/* 80299014 00295F54 EC 3A 20 28 */ fsubs f1, f26, f4
/* 80299018 00295F58 EC 5B 00 28 */ fsubs f2, f27, f0
/* 8029901C 00295F5C D0 81 00 08 */ stfs f4, 8(r1)
/* 80299020 00295F60 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 80299024 00295F64 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80299028 00295F68 4B D9 C0 E1 */ bl "atan2___Q25JMath18TAtanTable<1024,f>CFff"
/* 8029902C 00295F6C 48 17 8B A5 */ bl roundAng__Ff
/* 80299030 00295F70 81 9F 00 00 */ lwz r12, 0(r31)
/* 80299034 00295F74 FF 40 08 90 */ fmr f26, f1
/* 80299038 00295F78 7F E3 FB 78 */ mr r3, r31
/* 8029903C 00295F7C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80299040 00295F80 7D 89 03 A6 */ mtctr r12
/* 80299044 00295F84 4E 80 04 21 */ bctrl
/* 80299048 00295F88 FC 40 08 90 */ fmr f2, f1
/* 8029904C 00295F8C FC 20 D0 90 */ fmr f1, f26
/* 80299050 00295F90 48 17 8B AD */ bl angDist__Fff
/* 80299054 00295F94 FF E0 08 90 */ fmr f31, f1
/* 80299058 00295F98 C0 02 D7 C4 */ lfs f0, lbl_8051BB24@sda21(r2)
/* 8029905C 00295F9C C0 22 D7 C0 */ lfs f1, lbl_8051BB20@sda21(r2)
/* 80299060 00295FA0 EC 00 07 72 */ fmuls f0, f0, f29
/* 80299064 00295FA4 EF 5F 07 B2 */ fmuls f26, f31, f30
/* 80299068 00295FA8 EC 21 00 32 */ fmuls f1, f1, f0
/* 8029906C 00295FAC FC 00 D2 10 */ fabs f0, f26
/* 80299070 00295FB0 FC 00 00 18 */ frsp f0, f0
/* 80299074 00295FB4 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80299078 00295FB8 40 81 00 1C */ ble .L_80299094
/* 8029907C 00295FBC C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 80299080 00295FC0 FC 1A 00 40 */ fcmpo cr0, f26, f0
/* 80299084 00295FC4 40 81 00 0C */ ble .L_80299090
/* 80299088 00295FC8 FF 40 08 90 */ fmr f26, f1
/* 8029908C 00295FCC 48 00 00 08 */ b .L_80299094
.L_80299090:
/* 80299090 00295FD0 FF 40 08 50 */ fneg f26, f1
.L_80299094:
/* 80299094 00295FD4 7F E3 FB 78 */ mr r3, r31
/* 80299098 00295FD8 81 9F 00 00 */ lwz r12, 0(r31)
/* 8029909C 00295FDC 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 802990A0 00295FE0 7D 89 03 A6 */ mtctr r12
/* 802990A4 00295FE4 4E 80 04 21 */ bctrl
/* 802990A8 00295FE8 EC 3A 08 2A */ fadds f1, f26, f1
/* 802990AC 00295FEC 48 17 8B 25 */ bl roundAng__Ff
/* 802990B0 00295FF0 FC 60 FA 10 */ fabs f3, f31
/* 802990B4 00295FF4 D0 3F 01 FC */ stfs f1, 0x1fc(r31)
/* 802990B8 00295FF8 C0 02 D7 C8 */ lfs f0, lbl_8051BB28@sda21(r2)
/* 802990BC 00295FFC C0 5F 01 FC */ lfs f2, 0x1fc(r31)
/* 802990C0 00296000 FC 20 18 18 */ frsp f1, f3
/* 802990C4 00296004 D0 5F 01 A8 */ stfs f2, 0x1a8(r31)
/* 802990C8 00296008 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802990CC 0029600C 4C 40 13 82 */ cror 2, 0, 2
/* 802990D0 00296010 41 82 00 14 */ beq .L_802990E4
/* 802990D4 00296014 38 00 00 06 */ li r0, 6
/* 802990D8 00296018 7F E3 FB 78 */ mr r3, r31
/* 802990DC 0029601C 90 1F 02 D4 */ stw r0, 0x2d4(r31)
/* 802990E0 00296020 4B E6 C1 C1 */ bl finishMotion__Q24Game9EnemyBaseFv
.L_802990E4:
/* 802990E4 00296024 7F E3 FB 78 */ mr r3, r31
/* 802990E8 00296028 4B E6 E2 19 */ bl isFinishMotion__Q24Game9EnemyBaseFv
/* 802990EC 0029602C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802990F0 00296030 41 82 00 18 */ beq .L_80299108
/* 802990F4 00296034 C0 02 D7 B8 */ lfs f0, lbl_8051BB18@sda21(r2)
/* 802990F8 00296038 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 802990FC 0029603C D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
/* 80299100 00296040 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
/* 80299104 00296044 48 00 00 70 */ b .L_80299174
.L_80299108:
/* 80299108 00296048 7F E3 FB 78 */ mr r3, r31
/* 8029910C 0029604C 80 9F 00 C0 */ lwz r4, 0xc0(r31)
/* 80299110 00296050 81 9F 00 00 */ lwz r12, 0(r31)
/* 80299114 00296054 C3 84 02 E4 */ lfs f28, 0x2e4(r4)
/* 80299118 00296058 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 8029911C 0029605C 7D 89 03 A6 */ mtctr r12
/* 80299120 00296060 4E 80 04 21 */ bctrl
/* 80299124 00296064 4B E3 66 F9 */ bl sin
/* 80299128 00296068 7F E3 FB 78 */ mr r3, r31
/* 8029912C 0029606C C0 5F 01 D4 */ lfs f2, 0x1d4(r31)
/* 80299130 00296070 81 9F 00 00 */ lwz r12, 0(r31)
/* 80299134 00296074 FF 40 08 18 */ frsp f26, f1
/* 80299138 00296078 C3 BF 01 D8 */ lfs f29, 0x1d8(r31)
/* 8029913C 0029607C C0 1F 01 DC */ lfs f0, 0x1dc(r31)
/* 80299140 00296080 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80299144 00296084 D0 41 00 80 */ stfs f2, 0x80(r1)
/* 80299148 00296088 D3 A1 00 84 */ stfs f29, 0x84(r1)
/* 8029914C 0029608C D0 01 00 88 */ stfs f0, 0x88(r1)
/* 80299150 00296090 7D 89 03 A6 */ mtctr r12
/* 80299154 00296094 4E 80 04 21 */ bctrl
/* 80299158 00296098 4B E3 61 5D */ bl cos
/* 8029915C 0029609C EC 1C 06 B2 */ fmuls f0, f28, f26
/* 80299160 002960A0 FC 20 08 18 */ frsp f1, f1
/* 80299164 002960A4 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 80299168 002960A8 EC 1C 00 72 */ fmuls f0, f28, f1
/* 8029916C 002960AC D3 BF 01 D8 */ stfs f29, 0x1d8(r31)
/* 80299170 002960B0 D0 1F 01 DC */ stfs f0, 0x1dc(r31)
.L_80299174:
/* 80299174 002960B4 80 6D 9A EC */ lwz r3, sys@sda21(r13)
/* 80299178 002960B8 C0 42 D7 E0 */ lfs f2, lbl_8051BB40@sda21(r2)
/* 8029917C 002960BC C0 23 00 54 */ lfs f1, 0x54(r3)
/* 80299180 002960C0 C0 1F 02 D0 */ lfs f0, 0x2d0(r31)
/* 80299184 002960C4 EC 02 00 7A */ fmadds f0, f2, f1, f0
/* 80299188 002960C8 D0 1F 02 D0 */ stfs f0, 0x2d0(r31)
/* 8029918C 002960CC 80 7F 01 88 */ lwz r3, 0x188(r31)
/* 80299190 002960D0 88 03 00 24 */ lbz r0, 0x24(r3)
/* 80299194 002960D4 28 00 00 00 */ cmplwi r0, 0
/* 80299198 002960D8 41 82 00 30 */ beq .L_802991C8
/* 8029919C 002960DC 80 03 00 1C */ lwz r0, 0x1c(r3)
/* 802991A0 002960E0 28 00 03 E8 */ cmplwi r0, 0x3e8
/* 802991A4 002960E4 40 82 00 24 */ bne .L_802991C8
/* 802991A8 002960E8 7F C3 F3 78 */ mr r3, r30
/* 802991AC 002960EC 7F E4 FB 78 */ mr r4, r31
/* 802991B0 002960F0 81 9E 00 00 */ lwz r12, 0(r30)
/* 802991B4 002960F4 38 C0 00 00 */ li r6, 0
/* 802991B8 002960F8 80 BF 02 D4 */ lwz r5, 0x2d4(r31)
/* 802991BC 002960FC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 802991C0 00296100 7D 89 03 A6 */ mtctr r12
/* 802991C4 00296104 4E 80 04 21 */ bctrl
.L_802991C8:
/* 802991C8 00296108 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0
/* 802991CC 0029610C CB E1 00 F0 */ lfd f31, 0xf0(r1)
/* 802991D0 00296110 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0
/* 802991D4 00296114 CB C1 00 E0 */ lfd f30, 0xe0(r1)
/* 802991D8 00296118 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0
/* 802991DC 0029611C CB A1 00 D0 */ lfd f29, 0xd0(r1)
/* 802991E0 00296120 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0
/* 802991E4 00296124 CB 81 00 C0 */ lfd f28, 0xc0(r1)
/* 802991E8 00296128 E3 61 00 B8 */ psq_l f27, 184(r1), 0, qr0
/* 802991EC 0029612C CB 61 00 B0 */ lfd f27, 0xb0(r1)
/* 802991F0 00296130 E3 41 00 A8 */ psq_l f26, 168(r1), 0, qr0
/* 802991F4 00296134 CB 41 00 A0 */ lfd f26, 0xa0(r1)
/* 802991F8 00296138 83 E1 00 9C */ lwz r31, 0x9c(r1)
/* 802991FC 0029613C 83 C1 00 98 */ lwz r30, 0x98(r1)
/* 80299200 00296140 83 A1 00 94 */ lwz r29, 0x94(r1)
/* 80299204 00296144 80 01 01 04 */ lwz r0, 0x104(r1)
/* 80299208 00296148 83 81 00 90 */ lwz r28, 0x90(r1)
/* 8029920C 0029614C 7C 08 03 A6 */ mtlr r0
/* 80299210 00296150 38 21 01 00 */ addi r1, r1, 0x100
/* 80299214 00296154 4E 80 00 20 */ blr
.global cleanup__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBase
cleanup__Q34Game10KumaChappy13StateWalkPathFPQ24Game9EnemyBase:
/* 80299218 00296158 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029921C 0029615C 7C 08 02 A6 */ mflr r0
/* 80299220 00296160 C0 22 D7 D0 */ lfs f1, lbl_8051BB30@sda21(r2)
/* 80299224 00296164 7C 83 23 78 */ mr r3, r4
/* 80299228 00296168 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029922C 0029616C 4B E6 E1 65 */ bl setAnimSpeed__Q24Game9EnemyBaseFf
/* 80299230 00296170 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80299234 00296174 7C 08 03 A6 */ mtlr r0
/* 80299238 00296178 38 21 00 10 */ addi r1, r1, 0x10
/* 8029923C 0029617C 4E 80 00 20 */ blr