diff --git a/asm/text_1.s b/asm/text_1.s index 5698c6a67..a7c81ea01 100644 --- a/asm/text_1.s +++ b/asm/text_1.s @@ -1,105329 +1,5 @@ .include "macros.inc" -.global __ct__Q24Game12CylinderBaseFv -__ct__Q24Game12CylinderBaseFv: -/* 8023DA30 0023A970 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8023DA34 0023A974 7C 08 02 A6 */ mflr r0 -/* 8023DA38 0023A978 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8023DA3C 0023A97C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8023DA40 0023A980 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8023DA44 0023A984 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8023DA48 0023A988 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8023DA4C 0023A98C DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8023DA50 0023A990 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 8023DA54 0023A994 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 8023DA58 0023A998 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 8023DA5C 0023A99C DB 61 00 90 */ stfd f27, 0x90(r1) -/* 8023DA60 0023A9A0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 8023DA64 0023A9A4 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 8023DA68 0023A9A8 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 8023DA6C 0023A9AC DB 21 00 70 */ stfd f25, 0x70(r1) -/* 8023DA70 0023A9B0 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 -/* 8023DA74 0023A9B4 DB 01 00 60 */ stfd f24, 0x60(r1) -/* 8023DA78 0023A9B8 F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0 -/* 8023DA7C 0023A9BC BF 01 00 40 */ stmw r24, 0x40(r1) -/* 8023DA80 0023A9C0 3C 80 80 4C */ lis r4, __vt__Q24Game12CylinderBase@ha -/* 8023DA84 0023A9C4 7C 78 1B 78 */ mr r24, r3 -/* 8023DA88 0023A9C8 38 04 19 40 */ addi r0, r4, __vt__Q24Game12CylinderBase@l -/* 8023DA8C 0023A9CC 3C 60 80 12 */ lis r3, __ct__10Vector3$$0f$$1Fv@ha -/* 8023DA90 0023A9D0 38 83 F3 48 */ addi r4, r3, __ct__10Vector3$$0f$$1Fv@l -/* 8023DA94 0023A9D4 90 18 00 00 */ stw r0, 0(r24) -/* 8023DA98 0023A9D8 3C 60 80 4C */ lis r3, lbl_804C1780@ha -/* 8023DA9C 0023A9DC 38 A0 00 00 */ li r5, 0 -/* 8023DAA0 0023A9E0 3B 63 17 80 */ addi r27, r3, lbl_804C1780@l -/* 8023DAA4 0023A9E4 38 C0 00 0C */ li r6, 0xc -/* 8023DAA8 0023A9E8 38 78 00 20 */ addi r3, r24, 0x20 -/* 8023DAAC 0023A9EC 38 E0 00 02 */ li r7, 2 -/* 8023DAB0 0023A9F0 4B E8 3D 8D */ bl __construct_array -/* 8023DAB4 0023A9F4 3C 80 80 12 */ lis r4, __ct__10Vector3$$0f$$1Fv@ha -/* 8023DAB8 0023A9F8 38 78 00 38 */ addi r3, r24, 0x38 -/* 8023DABC 0023A9FC 38 84 F3 48 */ addi r4, r4, __ct__10Vector3$$0f$$1Fv@l -/* 8023DAC0 0023AA00 38 A0 00 00 */ li r5, 0 -/* 8023DAC4 0023AA04 38 C0 00 0C */ li r6, 0xc -/* 8023DAC8 0023AA08 38 E0 00 02 */ li r7, 2 -/* 8023DACC 0023AA0C 4B E8 3D 71 */ bl __construct_array -/* 8023DAD0 0023AA10 38 60 00 0C */ li r3, 0xc -/* 8023DAD4 0023AA14 4B DE 64 D9 */ bl __nwa__FUl -/* 8023DAD8 0023AA18 3C A0 80 50 */ lis r5, sincosTable___5JMath@ha -/* 8023DADC 0023AA1C 3C 80 80 4F */ lis r4, sCylinderVertPos__4Game@ha -/* 8023DAE0 0023AA20 90 78 00 04 */ stw r3, 4(r24) -/* 8023DAE4 0023AA24 3B C5 71 A0 */ addi r30, r5, sincosTable___5JMath@l -/* 8023DAE8 0023AA28 CB A2 C2 D8 */ lfd f29, lbl_8051A638@sda21(r2) -/* 8023DAEC 0023AA2C 3B E4 79 D0 */ addi r31, r4, sCylinderVertPos__4Game@l -/* 8023DAF0 0023AA30 C3 C2 C2 C0 */ lfs f30, lbl_8051A620@sda21(r2) -/* 8023DAF4 0023AA34 3B 20 00 00 */ li r25, 0 -/* 8023DAF8 0023AA38 C3 E2 C2 C4 */ lfs f31, lbl_8051A624@sda21(r2) -/* 8023DAFC 0023AA3C 3B 40 00 00 */ li r26, 0 -/* 8023DB00 0023AA40 C3 02 C2 CC */ lfs f24, lbl_8051A62C@sda21(r2) -/* 8023DB04 0023AA44 3F A0 43 30 */ lis r29, 0x4330 -/* 8023DB08 0023AA48 C3 42 C2 B8 */ lfs f26, lbl_8051A618@sda21(r2) -/* 8023DB0C 0023AA4C CB 62 C2 D0 */ lfd f27, lbl_8051A630@sda21(r2) -/* 8023DB10 0023AA50 C3 82 C2 BC */ lfs f28, lbl_8051A61C@sda21(r2) -lbl_8023DB14: -/* 8023DB14 0023AA54 2C 19 00 01 */ cmpwi r25, 1 -/* 8023DB18 0023AA58 C3 22 C2 E0 */ lfs f25, lbl_8051A640@sda21(r2) -/* 8023DB1C 0023AA5C 41 82 00 24 */ beq lbl_8023DB40 -/* 8023DB20 0023AA60 40 80 00 10 */ bge lbl_8023DB30 -/* 8023DB24 0023AA64 2C 19 00 00 */ cmpwi r25, 0 -/* 8023DB28 0023AA68 40 80 00 24 */ bge lbl_8023DB4C -/* 8023DB2C 0023AA6C 48 00 00 20 */ b lbl_8023DB4C -lbl_8023DB30: -/* 8023DB30 0023AA70 2C 19 00 03 */ cmpwi r25, 3 -/* 8023DB34 0023AA74 40 80 00 18 */ bge lbl_8023DB4C -/* 8023DB38 0023AA78 48 00 00 10 */ b lbl_8023DB48 -/* 8023DB3C 0023AA7C 48 00 00 10 */ b lbl_8023DB4C -lbl_8023DB40: -/* 8023DB40 0023AA80 C3 22 C2 E4 */ lfs f25, lbl_8051A644@sda21(r2) -/* 8023DB44 0023AA84 48 00 00 08 */ b lbl_8023DB4C -lbl_8023DB48: -/* 8023DB48 0023AA88 C3 22 C2 E8 */ lfs f25, lbl_8051A648@sda21(r2) -lbl_8023DB4C: -/* 8023DB4C 0023AA8C 38 60 00 0C */ li r3, 0xc -/* 8023DB50 0023AA90 4B DE 63 55 */ bl __nw__FUl -/* 8023DB54 0023AA94 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8023DB58 0023AA98 41 82 00 D8 */ beq lbl_8023DC30 -/* 8023DB5C 0023AA9C 38 00 00 00 */ li r0, 0 -/* 8023DB60 0023AAA0 2C 19 00 01 */ cmpwi r25, 1 -/* 8023DB64 0023AAA4 98 1C 00 00 */ stb r0, 0(r28) -/* 8023DB68 0023AAA8 90 1C 00 04 */ stw r0, 4(r28) -/* 8023DB6C 0023AAAC 90 1C 00 08 */ stw r0, 8(r28) -/* 8023DB70 0023AAB0 41 82 00 3C */ beq lbl_8023DBAC -/* 8023DB74 0023AAB4 40 80 00 10 */ bge lbl_8023DB84 -/* 8023DB78 0023AAB8 2C 19 00 00 */ cmpwi r25, 0 -/* 8023DB7C 0023AABC 40 80 00 14 */ bge lbl_8023DB90 -/* 8023DB80 0023AAC0 48 00 00 60 */ b lbl_8023DBE0 -lbl_8023DB84: -/* 8023DB84 0023AAC4 2C 19 00 03 */ cmpwi r25, 3 -/* 8023DB88 0023AAC8 40 80 00 58 */ bge lbl_8023DBE0 -/* 8023DB8C 0023AACC 48 00 00 3C */ b lbl_8023DBC8 -lbl_8023DB90: -/* 8023DB90 0023AAD0 38 00 00 0C */ li r0, 0xc -/* 8023DB94 0023AAD4 38 7B 00 20 */ addi r3, r27, 0x20 -/* 8023DB98 0023AAD8 98 1C 00 00 */ stb r0, 0(r28) -/* 8023DB9C 0023AADC 38 00 00 8D */ li r0, 0x8d -/* 8023DBA0 0023AAE0 90 7C 00 04 */ stw r3, 4(r28) -/* 8023DBA4 0023AAE4 90 1C 00 08 */ stw r0, 8(r28) -/* 8023DBA8 0023AAE8 48 00 00 38 */ b lbl_8023DBE0 -lbl_8023DBAC: -/* 8023DBAC 0023AAEC 38 00 00 08 */ li r0, 8 -/* 8023DBB0 0023AAF0 38 7B 00 C0 */ addi r3, r27, 0xc0 -/* 8023DBB4 0023AAF4 98 1C 00 00 */ stb r0, 0(r28) -/* 8023DBB8 0023AAF8 38 00 00 6D */ li r0, 0x6d -/* 8023DBBC 0023AAFC 90 7C 00 04 */ stw r3, 4(r28) -/* 8023DBC0 0023AB00 90 1C 00 08 */ stw r0, 8(r28) -/* 8023DBC4 0023AB04 48 00 00 1C */ b lbl_8023DBE0 -lbl_8023DBC8: -/* 8023DBC8 0023AB08 38 00 00 04 */ li r0, 4 -/* 8023DBCC 0023AB0C 38 7B 01 40 */ addi r3, r27, 0x140 -/* 8023DBD0 0023AB10 98 1C 00 00 */ stb r0, 0(r28) -/* 8023DBD4 0023AB14 38 00 00 4D */ li r0, 0x4d -/* 8023DBD8 0023AB18 90 7C 00 04 */ stw r3, 4(r28) -/* 8023DBDC 0023AB1C 90 1C 00 08 */ stw r0, 8(r28) -lbl_8023DBE0: -/* 8023DBE0 0023AB20 88 1C 00 00 */ lbz r0, 0(r28) -/* 8023DBE4 0023AB24 38 60 00 00 */ li r3, 0 -/* 8023DBE8 0023AB28 28 00 00 00 */ cmplwi r0, 0 -/* 8023DBEC 0023AB2C 41 82 00 20 */ beq lbl_8023DC0C -/* 8023DBF0 0023AB30 80 1C 00 04 */ lwz r0, 4(r28) -/* 8023DBF4 0023AB34 28 00 00 00 */ cmplwi r0, 0 -/* 8023DBF8 0023AB38 41 82 00 14 */ beq lbl_8023DC0C -/* 8023DBFC 0023AB3C 80 1C 00 08 */ lwz r0, 8(r28) -/* 8023DC00 0023AB40 2C 00 00 00 */ cmpwi r0, 0 -/* 8023DC04 0023AB44 41 82 00 08 */ beq lbl_8023DC0C -/* 8023DC08 0023AB48 38 60 00 01 */ li r3, 1 -lbl_8023DC0C: -/* 8023DC0C 0023AB4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8023DC10 0023AB50 40 82 00 20 */ bne lbl_8023DC30 -/* 8023DC14 0023AB54 3C 60 80 48 */ lis r3, lbl_80483F78@ha -/* 8023DC18 0023AB58 3C A0 80 48 */ lis r5, lbl_80483F8C@ha -/* 8023DC1C 0023AB5C 38 63 3F 78 */ addi r3, r3, lbl_80483F78@l -/* 8023DC20 0023AB60 38 80 00 BC */ li r4, 0xbc -/* 8023DC24 0023AB64 38 A5 3F 8C */ addi r5, r5, lbl_80483F8C@l -/* 8023DC28 0023AB68 4C C6 31 82 */ crclr 6 -/* 8023DC2C 0023AB6C 4B DE CA 15 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8023DC30: -/* 8023DC30 0023AB70 80 78 00 04 */ lwz r3, 4(r24) -/* 8023DC34 0023AB74 2C 19 00 01 */ cmpwi r25, 1 -/* 8023DC38 0023AB78 38 00 00 00 */ li r0, 0 -/* 8023DC3C 0023AB7C 7F 83 D1 2E */ stwx r28, r3, r26 -/* 8023DC40 0023AB80 80 78 00 04 */ lwz r3, 4(r24) -/* 8023DC44 0023AB84 7C 83 D0 2E */ lwzx r4, r3, r26 -/* 8023DC48 0023AB88 41 82 00 24 */ beq lbl_8023DC6C -/* 8023DC4C 0023AB8C 40 80 00 10 */ bge lbl_8023DC5C -/* 8023DC50 0023AB90 2C 19 00 00 */ cmpwi r25, 0 -/* 8023DC54 0023AB94 40 80 00 24 */ bge lbl_8023DC78 -/* 8023DC58 0023AB98 48 00 00 20 */ b lbl_8023DC78 -lbl_8023DC5C: -/* 8023DC5C 0023AB9C 2C 19 00 03 */ cmpwi r25, 3 -/* 8023DC60 0023ABA0 40 80 00 18 */ bge lbl_8023DC78 -/* 8023DC64 0023ABA4 48 00 00 10 */ b lbl_8023DC74 -/* 8023DC68 0023ABA8 48 00 00 10 */ b lbl_8023DC78 -lbl_8023DC6C: -/* 8023DC6C 0023ABAC 38 00 00 48 */ li r0, 0x48 -/* 8023DC70 0023ABB0 48 00 00 08 */ b lbl_8023DC78 -lbl_8023DC74: -/* 8023DC74 0023ABB4 38 00 00 78 */ li r0, 0x78 -lbl_8023DC78: -/* 8023DC78 0023ABB8 88 E4 00 00 */ lbz r7, 0(r4) -/* 8023DC7C 0023ABBC 7C 05 03 78 */ mr r5, r0 -/* 8023DC80 0023ABC0 93 A1 00 08 */ stw r29, 8(r1) -/* 8023DC84 0023ABC4 54 06 10 3A */ slwi r6, r0, 2 -/* 8023DC88 0023ABC8 38 60 00 00 */ li r3, 0 -/* 8023DC8C 0023ABCC 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8023DC90 0023ABD0 C8 01 00 08 */ lfd f0, 8(r1) -/* 8023DC94 0023ABD4 EC 00 D8 28 */ fsubs f0, f0, f27 -/* 8023DC98 0023ABD8 EC 3A 00 24 */ fdivs f1, f26, f0 -/* 8023DC9C 0023ABDC EC 01 07 32 */ fmuls f0, f1, f28 -/* 8023DCA0 0023ABE0 48 00 01 6C */ b lbl_8023DE0C -lbl_8023DCA4: -/* 8023DCA4 0023ABE4 6C 67 80 00 */ xoris r7, r3, 0x8000 -/* 8023DCA8 0023ABE8 93 A1 00 08 */ stw r29, 8(r1) -/* 8023DCAC 0023ABEC 7D 23 42 14 */ add r9, r3, r8 -/* 8023DCB0 0023ABF0 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8023DCB4 0023ABF4 C8 41 00 08 */ lfd f2, 8(r1) -/* 8023DCB8 0023ABF8 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 8023DCBC 0023ABFC EC 82 00 72 */ fmuls f4, f2, f1 -/* 8023DCC0 0023AC00 EC 64 00 28 */ fsubs f3, f4, f0 -/* 8023DCC4 0023AC04 FC 40 18 90 */ fmr f2, f3 -/* 8023DCC8 0023AC08 FC 03 F0 40 */ fcmpo cr0, f3, f30 -/* 8023DCCC 0023AC0C 40 80 00 08 */ bge lbl_8023DCD4 -/* 8023DCD0 0023AC10 FC 40 18 50 */ fneg f2, f3 -lbl_8023DCD4: -/* 8023DCD4 0023AC14 EC 42 07 F2 */ fmuls f2, f2, f31 -/* 8023DCD8 0023AC18 7D 5F 32 14 */ add r10, r31, r6 -/* 8023DCDC 0023AC1C FC 03 F0 40 */ fcmpo cr0, f3, f30 -/* 8023DCE0 0023AC20 FC 40 10 1E */ fctiwz f2, f2 -/* 8023DCE4 0023AC24 D8 41 00 10 */ stfd f2, 0x10(r1) -/* 8023DCE8 0023AC28 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 8023DCEC 0023AC2C 54 E7 1C B8 */ rlwinm r7, r7, 3, 0x12, 0x1c -/* 8023DCF0 0023AC30 7C FE 3A 14 */ add r7, r30, r7 -/* 8023DCF4 0023AC34 C0 47 00 04 */ lfs f2, 4(r7) -/* 8023DCF8 0023AC38 EC 59 00 B2 */ fmuls f2, f25, f2 -/* 8023DCFC 0023AC3C D0 4A 00 00 */ stfs f2, 0(r10) -/* 8023DD00 0023AC40 D3 CA 00 04 */ stfs f30, 4(r10) -/* 8023DD04 0023AC44 40 80 00 30 */ bge lbl_8023DD34 -/* 8023DD08 0023AC48 C0 42 C2 C8 */ lfs f2, lbl_8051A628@sda21(r2) -/* 8023DD0C 0023AC4C 3C E0 80 50 */ lis r7, sincosTable___5JMath@ha -/* 8023DD10 0023AC50 38 E7 71 A0 */ addi r7, r7, sincosTable___5JMath@l -/* 8023DD14 0023AC54 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8023DD18 0023AC58 FC 40 10 1E */ fctiwz f2, f2 -/* 8023DD1C 0023AC5C D8 41 00 18 */ stfd f2, 0x18(r1) -/* 8023DD20 0023AC60 81 01 00 1C */ lwz r8, 0x1c(r1) -/* 8023DD24 0023AC64 55 08 1C B8 */ rlwinm r8, r8, 3, 0x12, 0x1c -/* 8023DD28 0023AC68 7C 47 44 2E */ lfsx f2, r7, r8 -/* 8023DD2C 0023AC6C FC 40 10 50 */ fneg f2, f2 -/* 8023DD30 0023AC70 48 00 00 24 */ b lbl_8023DD54 -lbl_8023DD34: -/* 8023DD34 0023AC74 EC 43 07 F2 */ fmuls f2, f3, f31 -/* 8023DD38 0023AC78 3C E0 80 50 */ lis r7, sincosTable___5JMath@ha -/* 8023DD3C 0023AC7C 38 E7 71 A0 */ addi r7, r7, sincosTable___5JMath@l -/* 8023DD40 0023AC80 FC 40 10 1E */ fctiwz f2, f2 -/* 8023DD44 0023AC84 D8 41 00 20 */ stfd f2, 0x20(r1) -/* 8023DD48 0023AC88 81 01 00 24 */ lwz r8, 0x24(r1) -/* 8023DD4C 0023AC8C 55 08 1C B8 */ rlwinm r8, r8, 3, 0x12, 0x1c -/* 8023DD50 0023AC90 7C 47 44 2E */ lfsx f2, r7, r8 -lbl_8023DD54: -/* 8023DD54 0023AC94 EC 59 00 B2 */ fmuls f2, f25, f2 -/* 8023DD58 0023AC98 FC 60 20 90 */ fmr f3, f4 -/* 8023DD5C 0023AC9C FC 04 F0 40 */ fcmpo cr0, f4, f30 -/* 8023DD60 0023ACA0 D0 4A 00 08 */ stfs f2, 8(r10) -/* 8023DD64 0023ACA4 40 80 00 08 */ bge lbl_8023DD6C -/* 8023DD68 0023ACA8 FC 60 20 50 */ fneg f3, f4 -lbl_8023DD6C: -/* 8023DD6C 0023ACAC EC 43 07 F2 */ fmuls f2, f3, f31 -/* 8023DD70 0023ACB0 1C E9 00 03 */ mulli r7, r9, 3 -/* 8023DD74 0023ACB4 FC 04 F0 40 */ fcmpo cr0, f4, f30 -/* 8023DD78 0023ACB8 FC 40 10 1E */ fctiwz f2, f2 -/* 8023DD7C 0023ACBC 7C E0 3A 14 */ add r7, r0, r7 -/* 8023DD80 0023ACC0 54 E7 10 3A */ slwi r7, r7, 2 -/* 8023DD84 0023ACC4 7D 3F 3A 14 */ add r9, r31, r7 -/* 8023DD88 0023ACC8 D8 41 00 28 */ stfd f2, 0x28(r1) -/* 8023DD8C 0023ACCC 80 E1 00 2C */ lwz r7, 0x2c(r1) -/* 8023DD90 0023ACD0 54 E7 1C B8 */ rlwinm r7, r7, 3, 0x12, 0x1c -/* 8023DD94 0023ACD4 7C FE 3A 14 */ add r7, r30, r7 -/* 8023DD98 0023ACD8 C0 47 00 04 */ lfs f2, 4(r7) -/* 8023DD9C 0023ACDC EC 59 00 B2 */ fmuls f2, f25, f2 -/* 8023DDA0 0023ACE0 D0 49 00 00 */ stfs f2, 0(r9) -/* 8023DDA4 0023ACE4 D3 09 00 04 */ stfs f24, 4(r9) -/* 8023DDA8 0023ACE8 40 80 00 30 */ bge lbl_8023DDD8 -/* 8023DDAC 0023ACEC C0 42 C2 C8 */ lfs f2, lbl_8051A628@sda21(r2) -/* 8023DDB0 0023ACF0 3C E0 80 50 */ lis r7, sincosTable___5JMath@ha -/* 8023DDB4 0023ACF4 38 E7 71 A0 */ addi r7, r7, sincosTable___5JMath@l -/* 8023DDB8 0023ACF8 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8023DDBC 0023ACFC FC 40 10 1E */ fctiwz f2, f2 -/* 8023DDC0 0023AD00 D8 41 00 30 */ stfd f2, 0x30(r1) -/* 8023DDC4 0023AD04 81 01 00 34 */ lwz r8, 0x34(r1) -/* 8023DDC8 0023AD08 55 08 1C B8 */ rlwinm r8, r8, 3, 0x12, 0x1c -/* 8023DDCC 0023AD0C 7C 47 44 2E */ lfsx f2, r7, r8 -/* 8023DDD0 0023AD10 FC 40 10 50 */ fneg f2, f2 -/* 8023DDD4 0023AD14 48 00 00 24 */ b lbl_8023DDF8 -lbl_8023DDD8: -/* 8023DDD8 0023AD18 EC 44 07 F2 */ fmuls f2, f4, f31 -/* 8023DDDC 0023AD1C 3C E0 80 50 */ lis r7, sincosTable___5JMath@ha -/* 8023DDE0 0023AD20 38 E7 71 A0 */ addi r7, r7, sincosTable___5JMath@l -/* 8023DDE4 0023AD24 FC 40 10 1E */ fctiwz f2, f2 -/* 8023DDE8 0023AD28 D8 41 00 38 */ stfd f2, 0x38(r1) -/* 8023DDEC 0023AD2C 81 01 00 3C */ lwz r8, 0x3c(r1) -/* 8023DDF0 0023AD30 55 08 1C B8 */ rlwinm r8, r8, 3, 0x12, 0x1c -/* 8023DDF4 0023AD34 7C 47 44 2E */ lfsx f2, r7, r8 -lbl_8023DDF8: -/* 8023DDF8 0023AD38 EC 59 00 B2 */ fmuls f2, f25, f2 -/* 8023DDFC 0023AD3C 38 A5 00 03 */ addi r5, r5, 3 -/* 8023DE00 0023AD40 38 C6 00 0C */ addi r6, r6, 0xc -/* 8023DE04 0023AD44 38 63 00 01 */ addi r3, r3, 1 -/* 8023DE08 0023AD48 D0 49 00 08 */ stfs f2, 8(r9) -lbl_8023DE0C: -/* 8023DE0C 0023AD4C 89 04 00 00 */ lbz r8, 0(r4) -/* 8023DE10 0023AD50 7C 03 40 00 */ cmpw r3, r8 -/* 8023DE14 0023AD54 41 80 FE 90 */ blt lbl_8023DCA4 -/* 8023DE18 0023AD58 3B 39 00 01 */ addi r25, r25, 1 -/* 8023DE1C 0023AD5C 3B 5A 00 04 */ addi r26, r26, 4 -/* 8023DE20 0023AD60 2C 19 00 03 */ cmpwi r25, 3 -/* 8023DE24 0023AD64 41 80 FC F0 */ blt lbl_8023DB14 -/* 8023DE28 0023AD68 48 1E 53 FD */ bl getRenderModeObj__6SystemFv -/* 8023DE2C 0023AD6C A3 23 00 06 */ lhz r25, 6(r3) -/* 8023DE30 0023AD70 48 1E 53 F5 */ bl getRenderModeObj__6SystemFv -/* 8023DE34 0023AD74 A0 83 00 04 */ lhz r4, 4(r3) -/* 8023DE38 0023AD78 3C 00 43 30 */ lis r0, 0x4330 -/* 8023DE3C 0023AD7C C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023DE40 0023AD80 7F 03 C3 78 */ mr r3, r24 -/* 8023DE44 0023AD84 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8023DE48 0023AD88 C8 82 C2 D0 */ lfd f4, lbl_8051A630@sda21(r2) -/* 8023DE4C 0023AD8C 90 01 00 38 */ stw r0, 0x38(r1) -/* 8023DE50 0023AD90 C0 22 C2 E0 */ lfs f1, lbl_8051A640@sda21(r2) -/* 8023DE54 0023AD94 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 8023DE58 0023AD98 D0 B8 00 10 */ stfs f5, 0x10(r24) -/* 8023DE5C 0023AD9C EC 60 20 28 */ fsubs f3, f0, f4 -/* 8023DE60 0023ADA0 C0 02 C2 EC */ lfs f0, lbl_8051A64C@sda21(r2) -/* 8023DE64 0023ADA4 D0 B8 00 14 */ stfs f5, 0x14(r24) -/* 8023DE68 0023ADA8 93 21 00 34 */ stw r25, 0x34(r1) -/* 8023DE6C 0023ADAC 90 01 00 30 */ stw r0, 0x30(r1) -/* 8023DE70 0023ADB0 C8 41 00 30 */ lfd f2, 0x30(r1) -/* 8023DE74 0023ADB4 D0 78 00 18 */ stfs f3, 0x18(r24) -/* 8023DE78 0023ADB8 EC 42 20 28 */ fsubs f2, f2, f4 -/* 8023DE7C 0023ADBC D0 58 00 1C */ stfs f2, 0x1c(r24) -/* 8023DE80 0023ADC0 D0 B8 00 20 */ stfs f5, 0x20(r24) -/* 8023DE84 0023ADC4 D0 B8 00 24 */ stfs f5, 0x24(r24) -/* 8023DE88 0023ADC8 D0 38 00 28 */ stfs f1, 0x28(r24) -/* 8023DE8C 0023ADCC D0 B8 00 38 */ stfs f5, 0x38(r24) -/* 8023DE90 0023ADD0 D0 B8 00 3C */ stfs f5, 0x3c(r24) -/* 8023DE94 0023ADD4 D0 38 00 40 */ stfs f1, 0x40(r24) -/* 8023DE98 0023ADD8 D0 18 00 50 */ stfs f0, 0x50(r24) -/* 8023DE9C 0023ADDC D0 B8 00 2C */ stfs f5, 0x2c(r24) -/* 8023DEA0 0023ADE0 D0 B8 00 30 */ stfs f5, 0x30(r24) -/* 8023DEA4 0023ADE4 D0 38 00 34 */ stfs f1, 0x34(r24) -/* 8023DEA8 0023ADE8 D0 B8 00 44 */ stfs f5, 0x44(r24) -/* 8023DEAC 0023ADEC D0 B8 00 48 */ stfs f5, 0x48(r24) -/* 8023DEB0 0023ADF0 D0 38 00 4C */ stfs f1, 0x4c(r24) -/* 8023DEB4 0023ADF4 D0 18 00 54 */ stfs f0, 0x54(r24) -/* 8023DEB8 0023ADF8 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8023DEBC 0023ADFC CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8023DEC0 0023AE00 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8023DEC4 0023AE04 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8023DEC8 0023AE08 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 8023DECC 0023AE0C CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 8023DED0 0023AE10 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 8023DED4 0023AE14 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 8023DED8 0023AE18 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 8023DEDC 0023AE1C CB 61 00 90 */ lfd f27, 0x90(r1) -/* 8023DEE0 0023AE20 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 8023DEE4 0023AE24 CB 41 00 80 */ lfd f26, 0x80(r1) -/* 8023DEE8 0023AE28 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 -/* 8023DEEC 0023AE2C CB 21 00 70 */ lfd f25, 0x70(r1) -/* 8023DEF0 0023AE30 E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0 -/* 8023DEF4 0023AE34 CB 01 00 60 */ lfd f24, 0x60(r1) -/* 8023DEF8 0023AE38 BB 01 00 40 */ lmw r24, 0x40(r1) -/* 8023DEFC 0023AE3C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8023DF00 0023AE40 7C 08 03 A6 */ mtlr r0 -/* 8023DF04 0023AE44 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8023DF08 0023AE48 4E 80 00 20 */ blr - -.global setColor__Q24Game12CylinderBaseFP6Color4 -setColor__Q24Game12CylinderBaseFP6Color4: -/* 8023DF0C 0023AE4C 90 83 00 08 */ stw r4, 8(r3) -/* 8023DF10 0023AE50 4E 80 00 20 */ blr - -.global setShadowRect__Q24Game12CylinderBaseFR7Rect$$0f$$1 -setShadowRect__Q24Game12CylinderBaseFR7Rect$$0f$$1: -/* 8023DF14 0023AE54 C0 04 00 00 */ lfs f0, 0(r4) -/* 8023DF18 0023AE58 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8023DF1C 0023AE5C C0 04 00 04 */ lfs f0, 4(r4) -/* 8023DF20 0023AE60 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8023DF24 0023AE64 C0 04 00 08 */ lfs f0, 8(r4) -/* 8023DF28 0023AE68 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8023DF2C 0023AE6C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8023DF30 0023AE70 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8023DF34 0023AE74 4E 80 00 20 */ blr - -.global setCameraParms__Q24Game12CylinderBaseFP6Camerai -setCameraParms__Q24Game12CylinderBaseFP6Camerai: -/* 8023DF38 0023AE78 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8023DF3C 0023AE7C 7C 08 02 A6 */ mflr r0 -/* 8023DF40 0023AE80 90 01 00 34 */ stw r0, 0x34(r1) -/* 8023DF44 0023AE84 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8023DF48 0023AE88 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8023DF4C 0023AE8C 7C BE 2B 78 */ mr r30, r5 -/* 8023DF50 0023AE90 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8023DF54 0023AE94 7C 9D 23 78 */ mr r29, r4 -/* 8023DF58 0023AE98 93 81 00 20 */ stw r28, 0x20(r1) -/* 8023DF5C 0023AE9C 7C 7C 1B 78 */ mr r28, r3 -/* 8023DF60 0023AEA0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8023DF64 0023AEA4 81 84 00 00 */ lwz r12, 0(r4) -/* 8023DF68 0023AEA8 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8023DF6C 0023AEAC 7D 89 03 A6 */ mtctr r12 -/* 8023DF70 0023AEB0 4E 80 04 21 */ bctrl -/* 8023DF74 0023AEB4 1F FE 00 0C */ mulli r31, r30, 0xc -/* 8023DF78 0023AEB8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8023DF7C 0023AEBC 7F A4 EB 78 */ mr r4, r29 -/* 8023DF80 0023AEC0 38 61 00 08 */ addi r3, r1, 8 -/* 8023DF84 0023AEC4 7C BC FA 14 */ add r5, r28, r31 -/* 8023DF88 0023AEC8 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 8023DF8C 0023AECC C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8023DF90 0023AED0 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 8023DF94 0023AED4 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8023DF98 0023AED8 D0 05 00 28 */ stfs f0, 0x28(r5) -/* 8023DF9C 0023AEDC 48 1D C3 39 */ bl getViewVector__11CullFrustumFv -/* 8023DFA0 0023AEE0 C0 01 00 08 */ lfs f0, 8(r1) -/* 8023DFA4 0023AEE4 7C 9C FA 14 */ add r4, r28, r31 -/* 8023DFA8 0023AEE8 57 C0 10 3A */ slwi r0, r30, 2 -/* 8023DFAC 0023AEEC D0 04 00 38 */ stfs f0, 0x38(r4) -/* 8023DFB0 0023AEF0 7C 7C 02 14 */ add r3, r28, r0 -/* 8023DFB4 0023AEF4 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8023DFB8 0023AEF8 D0 04 00 3C */ stfs f0, 0x3c(r4) -/* 8023DFBC 0023AEFC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8023DFC0 0023AF00 D0 04 00 40 */ stfs f0, 0x40(r4) -/* 8023DFC4 0023AF04 C0 1D 01 38 */ lfs f0, 0x138(r29) -/* 8023DFC8 0023AF08 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 8023DFCC 0023AF0C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8023DFD0 0023AF10 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8023DFD4 0023AF14 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8023DFD8 0023AF18 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8023DFDC 0023AF1C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8023DFE0 0023AF20 7C 08 03 A6 */ mtlr r0 -/* 8023DFE4 0023AF24 38 21 00 30 */ addi r1, r1, 0x30 -/* 8023DFE8 0023AF28 4E 80 00 20 */ blr - -.global makeSRT__Q24Game12CylinderBaseFR7MatrixfRQ24Game11ShadowParam -makeSRT__Q24Game12CylinderBaseFR7MatrixfRQ24Game11ShadowParam: -/* 8023DFEC 0023AF2C C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8023DFF0 0023AF30 C0 02 C2 E0 */ lfs f0, lbl_8051A640@sda21(r2) -/* 8023DFF4 0023AF34 C0 65 00 00 */ lfs f3, 0(r5) -/* 8023DFF8 0023AF38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023DFFC 0023AF3C C0 85 00 04 */ lfs f4, 4(r5) -/* 8023E000 0023AF40 C0 A5 00 08 */ lfs f5, 8(r5) -/* 8023E004 0023AF44 C0 C5 00 1C */ lfs f6, 0x1c(r5) -/* 8023E008 0023AF48 C0 E5 00 18 */ lfs f7, 0x18(r5) -/* 8023E00C 0023AF4C 4C 41 13 82 */ cror 2, 1, 2 -/* 8023E010 0023AF50 41 82 00 14 */ beq lbl_8023E024 -/* 8023E014 0023AF54 C0 42 C2 C0 */ lfs f2, lbl_8051A620@sda21(r2) -/* 8023E018 0023AF58 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8023E01C 0023AF5C 4C 40 13 82 */ cror 2, 0, 2 -/* 8023E020 0023AF60 40 82 00 3C */ bne lbl_8023E05C -lbl_8023E024: -/* 8023E024 0023AF64 D0 C4 00 00 */ stfs f6, 0(r4) -/* 8023E028 0023AF68 C0 02 C2 C0 */ lfs f0, lbl_8051A620@sda21(r2) -/* 8023E02C 0023AF6C D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8023E030 0023AF70 D0 04 00 20 */ stfs f0, 0x20(r4) -/* 8023E034 0023AF74 D0 04 00 04 */ stfs f0, 4(r4) -/* 8023E038 0023AF78 D0 E4 00 14 */ stfs f7, 0x14(r4) -/* 8023E03C 0023AF7C D0 04 00 24 */ stfs f0, 0x24(r4) -/* 8023E040 0023AF80 D0 04 00 08 */ stfs f0, 8(r4) -/* 8023E044 0023AF84 D0 04 00 18 */ stfs f0, 0x18(r4) -/* 8023E048 0023AF88 D0 C4 00 28 */ stfs f6, 0x28(r4) -/* 8023E04C 0023AF8C D0 64 00 0C */ stfs f3, 0xc(r4) -/* 8023E050 0023AF90 D0 84 00 1C */ stfs f4, 0x1c(r4) -/* 8023E054 0023AF94 D0 A4 00 2C */ stfs f5, 0x2c(r4) -/* 8023E058 0023AF98 4E 80 00 20 */ blr -lbl_8023E05C: -/* 8023E05C 0023AF9C D0 C4 00 00 */ stfs f6, 0(r4) -/* 8023E060 0023AFA0 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 8023E064 0023AFA4 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8023E068 0023AFA8 FC 20 08 50 */ fneg f1, f1 -/* 8023E06C 0023AFAC EC 01 00 24 */ fdivs f0, f1, f0 -/* 8023E070 0023AFB0 EC 06 00 32 */ fmuls f0, f6, f0 -/* 8023E074 0023AFB4 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8023E078 0023AFB8 D0 44 00 20 */ stfs f2, 0x20(r4) -/* 8023E07C 0023AFBC D0 44 00 04 */ stfs f2, 4(r4) -/* 8023E080 0023AFC0 D0 E4 00 14 */ stfs f7, 0x14(r4) -/* 8023E084 0023AFC4 D0 44 00 24 */ stfs f2, 0x24(r4) -/* 8023E088 0023AFC8 D0 44 00 08 */ stfs f2, 8(r4) -/* 8023E08C 0023AFCC C0 25 00 14 */ lfs f1, 0x14(r5) -/* 8023E090 0023AFD0 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8023E094 0023AFD4 FC 20 08 50 */ fneg f1, f1 -/* 8023E098 0023AFD8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8023E09C 0023AFDC EC 06 00 32 */ fmuls f0, f6, f0 -/* 8023E0A0 0023AFE0 D0 04 00 18 */ stfs f0, 0x18(r4) -/* 8023E0A4 0023AFE4 D0 C4 00 28 */ stfs f6, 0x28(r4) -/* 8023E0A8 0023AFE8 D0 64 00 0C */ stfs f3, 0xc(r4) -/* 8023E0AC 0023AFEC D0 84 00 1C */ stfs f4, 0x1c(r4) -/* 8023E0B0 0023AFF0 D0 A4 00 2C */ stfs f5, 0x2c(r4) -/* 8023E0B4 0023AFF4 4E 80 00 20 */ blr - -.global getCylinderType__Q24Game12CylinderBaseFRQ24Game11ShadowParami -getCylinderType__Q24Game12CylinderBaseFRQ24Game11ShadowParami: -/* 8023E0B8 0023AFF8 1C C5 00 0C */ mulli r6, r5, 0xc -/* 8023E0BC 0023AFFC 54 A0 10 3A */ slwi r0, r5, 2 -/* 8023E0C0 0023B000 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 8023E0C4 0023B004 7C A3 02 14 */ add r5, r3, r0 -/* 8023E0C8 0023B008 C0 24 00 04 */ lfs f1, 4(r4) -/* 8023E0CC 0023B00C 7C 63 32 14 */ add r3, r3, r6 -/* 8023E0D0 0023B010 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 8023E0D4 0023B014 C0 64 00 00 */ lfs f3, 0(r4) -/* 8023E0D8 0023B018 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8023E0DC 0023B01C C0 43 00 20 */ lfs f2, 0x20(r3) -/* 8023E0E0 0023B020 C0 23 00 3C */ lfs f1, 0x3c(r3) -/* 8023E0E4 0023B024 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8023E0E8 0023B028 C0 84 00 08 */ lfs f4, 8(r4) -/* 8023E0EC 0023B02C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8023E0F0 0023B030 C0 63 00 28 */ lfs f3, 0x28(r3) -/* 8023E0F4 0023B034 C0 23 00 38 */ lfs f1, 0x38(r3) -/* 8023E0F8 0023B038 EC A4 18 28 */ fsubs f5, f4, f3 -/* 8023E0FC 0023B03C C0 85 00 50 */ lfs f4, 0x50(r5) -/* 8023E100 0023B040 C0 64 00 1C */ lfs f3, 0x1c(r4) -/* 8023E104 0023B044 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 8023E108 0023B048 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 8023E10C 0023B04C EC 44 00 F2 */ fmuls f2, f4, f3 -/* 8023E110 0023B050 EC 21 01 7A */ fmadds f1, f1, f5, f0 -/* 8023E114 0023B054 C0 07 00 24 */ lfs f0, 0x24(r7) -/* 8023E118 0023B058 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8023E11C 0023B05C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023E120 0023B060 40 81 00 0C */ ble lbl_8023E12C -/* 8023E124 0023B064 38 60 00 00 */ li r3, 0 -/* 8023E128 0023B068 4E 80 00 20 */ blr -lbl_8023E12C: -/* 8023E12C 0023B06C C0 07 00 4C */ lfs f0, 0x4c(r7) -/* 8023E130 0023B070 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023E134 0023B074 40 81 00 0C */ ble lbl_8023E140 -/* 8023E138 0023B078 38 60 00 01 */ li r3, 1 -/* 8023E13C 0023B07C 4E 80 00 20 */ blr -lbl_8023E140: -/* 8023E140 0023B080 C0 02 C2 C0 */ lfs f0, lbl_8051A620@sda21(r2) -/* 8023E144 0023B084 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023E148 0023B088 40 81 00 0C */ ble lbl_8023E154 -/* 8023E14C 0023B08C 38 60 00 02 */ li r3, 2 -/* 8023E150 0023B090 4E 80 00 20 */ blr -lbl_8023E154: -/* 8023E154 0023B094 38 60 00 00 */ li r3, 0 -/* 8023E158 0023B098 4E 80 00 20 */ blr - -.global setFilterTextureID__Q24Game12CylinderBaseFi -setFilterTextureID__Q24Game12CylinderBaseFi: -/* 8023E15C 0023B09C 4E 80 00 20 */ blr - -.global drawInit__Q24Game12CylinderBaseFv -drawInit__Q24Game12CylinderBaseFv: -/* 8023E160 0023B0A0 4E 80 00 20 */ blr - -.global drawCylinder__Q24Game12CylinderBaseFR7Matrixfi -drawCylinder__Q24Game12CylinderBaseFR7Matrixfi: -/* 8023E164 0023B0A4 4E 80 00 20 */ blr - -.global drawFinish__Q24Game12CylinderBaseFv -drawFinish__Q24Game12CylinderBaseFv: -/* 8023E168 0023B0A8 4E 80 00 20 */ blr - -.global __ct__Q24Game15ShadowCylinder2FPQ24Game11ShadowParmsP6Color4 -__ct__Q24Game15ShadowCylinder2FPQ24Game11ShadowParmsP6Color4: -/* 8023E16C 0023B0AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8023E170 0023B0B0 7C 08 02 A6 */ mflr r0 -/* 8023E174 0023B0B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8023E178 0023B0B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8023E17C 0023B0BC 7C BF 2B 78 */ mr r31, r5 -/* 8023E180 0023B0C0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8023E184 0023B0C4 7C 9E 23 78 */ mr r30, r4 -/* 8023E188 0023B0C8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8023E18C 0023B0CC 7C 7D 1B 78 */ mr r29, r3 -/* 8023E190 0023B0D0 93 81 00 10 */ stw r28, 0x10(r1) -/* 8023E194 0023B0D4 4B FF F8 9D */ bl __ct__Q24Game12CylinderBaseFv -/* 8023E198 0023B0D8 3C 80 80 4C */ lis r4, __vt__Q24Game15ShadowCylinder2@ha -/* 8023E19C 0023B0DC 3C 60 80 48 */ lis r3, lbl_80483FBC@ha -/* 8023E1A0 0023B0E0 38 04 19 28 */ addi r0, r4, __vt__Q24Game15ShadowCylinder2@l -/* 8023E1A4 0023B0E4 38 A0 00 00 */ li r5, 0 -/* 8023E1A8 0023B0E8 90 1D 00 00 */ stw r0, 0(r29) -/* 8023E1AC 0023B0EC 38 83 3F BC */ addi r4, r3, lbl_80483FBC@l -/* 8023E1B0 0023B0F0 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8023E1B4 0023B0F4 48 1E 51 A9 */ bl heapStatusStart__6SystemFPcP7JKRHeap -/* 8023E1B8 0023B0F8 48 1E 50 6D */ bl getRenderModeObj__6SystemFv -/* 8023E1BC 0023B0FC A3 83 00 06 */ lhz r28, 6(r3) -/* 8023E1C0 0023B100 48 1E 50 65 */ bl getRenderModeObj__6SystemFv -/* 8023E1C4 0023B104 A0 03 00 04 */ lhz r0, 4(r3) -/* 8023E1C8 0023B108 57 84 FC 7E */ rlwinm r4, r28, 0x1f, 0x11, 0x1f -/* 8023E1CC 0023B10C 38 A0 00 27 */ li r5, 0x27 -/* 8023E1D0 0023B110 38 C0 00 00 */ li r6, 0 -/* 8023E1D4 0023B114 54 03 FC 7E */ rlwinm r3, r0, 0x1f, 0x11, 0x1f -/* 8023E1D8 0023B118 38 E0 00 00 */ li r7, 0 -/* 8023E1DC 0023B11C 4B EA 8D 7D */ bl GXGetTexBufferSize -/* 8023E1E0 0023B120 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8023E1E4 0023B124 7C 7C 1B 78 */ mr r28, r3 -/* 8023E1E8 0023B128 28 04 00 00 */ cmplwi r4, 0 -/* 8023E1EC 0023B12C 41 82 00 5C */ beq lbl_8023E248 -/* 8023E1F0 0023B130 80 64 00 44 */ lwz r3, 0x44(r4) -/* 8023E1F4 0023B134 38 00 00 00 */ li r0, 0 -/* 8023E1F8 0023B138 2C 03 00 01 */ cmpwi r3, 1 -/* 8023E1FC 0023B13C 41 82 00 0C */ beq lbl_8023E208 -/* 8023E200 0023B140 2C 03 00 03 */ cmpwi r3, 3 -/* 8023E204 0023B144 40 82 00 08 */ bne lbl_8023E20C -lbl_8023E208: -/* 8023E208 0023B148 38 00 00 01 */ li r0, 1 -lbl_8023E20C: -/* 8023E20C 0023B14C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8023E210 0023B150 40 82 00 38 */ bne lbl_8023E248 -/* 8023E214 0023B154 38 60 00 04 */ li r3, 4 -/* 8023E218 0023B158 38 80 00 20 */ li r4, 0x20 -/* 8023E21C 0023B15C 4B DE 5D DD */ bl __nwa__FUli -/* 8023E220 0023B160 90 7D 00 58 */ stw r3, 0x58(r29) -/* 8023E224 0023B164 7F 83 E3 78 */ mr r3, r28 -/* 8023E228 0023B168 38 80 00 20 */ li r4, 0x20 -/* 8023E22C 0023B16C 4B DE 5D CD */ bl __nwa__FUli -/* 8023E230 0023B170 80 9D 00 58 */ lwz r4, 0x58(r29) -/* 8023E234 0023B174 90 64 00 00 */ stw r3, 0(r4) -/* 8023E238 0023B178 38 60 00 20 */ li r3, 0x20 -/* 8023E23C 0023B17C 4B DE 5D 71 */ bl __nwa__FUl -/* 8023E240 0023B180 90 7D 00 5C */ stw r3, 0x5c(r29) -/* 8023E244 0023B184 48 00 00 48 */ b lbl_8023E28C -lbl_8023E248: -/* 8023E248 0023B188 38 60 00 08 */ li r3, 8 -/* 8023E24C 0023B18C 38 80 00 20 */ li r4, 0x20 -/* 8023E250 0023B190 4B DE 5D A9 */ bl __nwa__FUli -/* 8023E254 0023B194 90 7D 00 58 */ stw r3, 0x58(r29) -/* 8023E258 0023B198 7F 83 E3 78 */ mr r3, r28 -/* 8023E25C 0023B19C 38 80 00 20 */ li r4, 0x20 -/* 8023E260 0023B1A0 4B DE 5D 99 */ bl __nwa__FUli -/* 8023E264 0023B1A4 80 BD 00 58 */ lwz r5, 0x58(r29) -/* 8023E268 0023B1A8 38 80 00 20 */ li r4, 0x20 -/* 8023E26C 0023B1AC 90 65 00 00 */ stw r3, 0(r5) -/* 8023E270 0023B1B0 7F 83 E3 78 */ mr r3, r28 -/* 8023E274 0023B1B4 4B DE 5D 85 */ bl __nwa__FUli -/* 8023E278 0023B1B8 80 9D 00 58 */ lwz r4, 0x58(r29) -/* 8023E27C 0023B1BC 90 64 00 04 */ stw r3, 4(r4) -/* 8023E280 0023B1C0 38 60 00 40 */ li r3, 0x40 -/* 8023E284 0023B1C4 4B DE 5D 29 */ bl __nwa__FUl -/* 8023E288 0023B1C8 90 7D 00 5C */ stw r3, 0x5c(r29) -lbl_8023E28C: -/* 8023E28C 0023B1CC 93 DD 00 0C */ stw r30, 0xc(r29) -/* 8023E290 0023B1D0 3C 60 80 48 */ lis r3, lbl_80483FBC@ha -/* 8023E294 0023B1D4 38 00 00 00 */ li r0, 0 -/* 8023E298 0023B1D8 93 FD 00 08 */ stw r31, 8(r29) -/* 8023E29C 0023B1DC 38 83 3F BC */ addi r4, r3, lbl_80483FBC@l -/* 8023E2A0 0023B1E0 90 1D 00 60 */ stw r0, 0x60(r29) -/* 8023E2A4 0023B1E4 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8023E2A8 0023B1E8 48 1E 50 BD */ bl heapStatusEnd__6SystemFPc -/* 8023E2AC 0023B1EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8023E2B0 0023B1F0 7F A3 EB 78 */ mr r3, r29 -/* 8023E2B4 0023B1F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8023E2B8 0023B1F8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8023E2BC 0023B1FC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8023E2C0 0023B200 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8023E2C4 0023B204 7C 08 03 A6 */ mtlr r0 -/* 8023E2C8 0023B208 38 21 00 20 */ addi r1, r1, 0x20 -/* 8023E2CC 0023B20C 4E 80 00 20 */ blr - -.global setFilterTextureID__Q24Game15ShadowCylinder2Fi -setFilterTextureID__Q24Game15ShadowCylinder2Fi: -/* 8023E2D0 0023B210 80 AD 93 E8 */ lwz r5, gameSystem__4Game@sda21(r13) -/* 8023E2D4 0023B214 28 05 00 00 */ cmplwi r5, 0 -/* 8023E2D8 0023B218 41 82 00 34 */ beq lbl_8023E30C -/* 8023E2DC 0023B21C 80 A5 00 44 */ lwz r5, 0x44(r5) -/* 8023E2E0 0023B220 38 00 00 00 */ li r0, 0 -/* 8023E2E4 0023B224 2C 05 00 01 */ cmpwi r5, 1 -/* 8023E2E8 0023B228 41 82 00 0C */ beq lbl_8023E2F4 -/* 8023E2EC 0023B22C 2C 05 00 03 */ cmpwi r5, 3 -/* 8023E2F0 0023B230 40 82 00 08 */ bne lbl_8023E2F8 -lbl_8023E2F4: -/* 8023E2F4 0023B234 38 00 00 01 */ li r0, 1 -lbl_8023E2F8: -/* 8023E2F8 0023B238 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8023E2FC 0023B23C 40 82 00 10 */ bne lbl_8023E30C -/* 8023E300 0023B240 38 00 00 00 */ li r0, 0 -/* 8023E304 0023B244 90 03 00 60 */ stw r0, 0x60(r3) -/* 8023E308 0023B248 4E 80 00 20 */ blr -lbl_8023E30C: -/* 8023E30C 0023B24C 90 83 00 60 */ stw r4, 0x60(r3) -/* 8023E310 0023B250 4E 80 00 20 */ blr - -.global drawInit__Q24Game15ShadowCylinder2Fv -drawInit__Q24Game15ShadowCylinder2Fv: -/* 8023E314 0023B254 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8023E318 0023B258 7C 08 02 A6 */ mflr r0 -/* 8023E31C 0023B25C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8023E320 0023B260 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8023E324 0023B264 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8023E328 0023B268 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8023E32C 0023B26C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8023E330 0023B270 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8023E334 0023B274 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8023E338 0023B278 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8023E33C 0023B27C 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8023E340 0023B280 7C 7F 1B 78 */ mr r31, r3 -/* 8023E344 0023B284 3C 60 80 48 */ lis r3, lbl_80483F58@ha -/* 8023E348 0023B288 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8023E34C 0023B28C 3B C3 3F 58 */ addi r30, r3, lbl_80483F58@l -/* 8023E350 0023B290 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023E354 0023B294 38 61 00 68 */ addi r3, r1, 0x68 -/* 8023E358 0023B298 C0 7F 00 10 */ lfs f3, 0x10(r31) -/* 8023E35C 0023B29C C0 9F 00 18 */ lfs f4, 0x18(r31) -/* 8023E360 0023B2A0 C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023E364 0023B2A4 C0 C2 C2 F0 */ lfs f6, lbl_8051A650@sda21(r2) -/* 8023E368 0023B2A8 4B EA CA 71 */ bl C_MTXOrtho -/* 8023E36C 0023B2AC 38 61 00 68 */ addi r3, r1, 0x68 -/* 8023E370 0023B2B0 38 80 00 01 */ li r4, 1 -/* 8023E374 0023B2B4 4B EA B0 D5 */ bl GXSetProjection -/* 8023E378 0023B2B8 83 BE 00 40 */ lwz r29, 0x40(r30) -/* 8023E37C 0023B2BC 38 61 00 38 */ addi r3, r1, 0x38 -/* 8023E380 0023B2C0 83 9E 00 44 */ lwz r28, 0x44(r30) -/* 8023E384 0023B2C4 38 81 00 2C */ addi r4, r1, 0x2c -/* 8023E388 0023B2C8 81 9E 00 48 */ lwz r12, 0x48(r30) -/* 8023E38C 0023B2CC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8023E390 0023B2D0 81 7E 00 4C */ lwz r11, 0x4c(r30) -/* 8023E394 0023B2D4 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8023E398 0023B2D8 81 5E 00 50 */ lwz r10, 0x50(r30) -/* 8023E39C 0023B2DC 81 3E 00 54 */ lwz r9, 0x54(r30) -/* 8023E3A0 0023B2E0 81 1E 00 58 */ lwz r8, 0x58(r30) -/* 8023E3A4 0023B2E4 80 FE 00 5C */ lwz r7, 0x5c(r30) -/* 8023E3A8 0023B2E8 80 1E 00 60 */ lwz r0, 0x60(r30) -/* 8023E3AC 0023B2EC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8023E3B0 0023B2F0 93 81 00 18 */ stw r28, 0x18(r1) -/* 8023E3B4 0023B2F4 91 81 00 1C */ stw r12, 0x1c(r1) -/* 8023E3B8 0023B2F8 91 61 00 20 */ stw r11, 0x20(r1) -/* 8023E3BC 0023B2FC 91 41 00 24 */ stw r10, 0x24(r1) -/* 8023E3C0 0023B300 91 21 00 28 */ stw r9, 0x28(r1) -/* 8023E3C4 0023B304 91 01 00 2C */ stw r8, 0x2c(r1) -/* 8023E3C8 0023B308 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8023E3CC 0023B30C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8023E3D0 0023B310 4B EA C5 29 */ bl C_MTXLookAt -/* 8023E3D4 0023B314 38 61 00 38 */ addi r3, r1, 0x38 -/* 8023E3D8 0023B318 38 80 00 00 */ li r4, 0 -/* 8023E3DC 0023B31C 4B EA B1 9D */ bl GXLoadPosMtxImm -/* 8023E3E0 0023B320 C3 FF 00 14 */ lfs f31, 0x14(r31) -/* 8023E3E4 0023B324 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8023E3E8 0023B328 C3 DF 00 10 */ lfs f30, 0x10(r31) -/* 8023E3EC 0023B32C EC 20 F8 28 */ fsubs f1, f0, f31 -/* 8023E3F0 0023B330 4B E8 37 5D */ bl __cvt_fp2unsigned -/* 8023E3F4 0023B334 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023E3F8 0023B338 7C 7C 1B 78 */ mr r28, r3 -/* 8023E3FC 0023B33C EC 20 F0 28 */ fsubs f1, f0, f30 -/* 8023E400 0023B340 4B E8 37 4D */ bl __cvt_fp2unsigned -/* 8023E404 0023B344 FC 20 F8 90 */ fmr f1, f31 -/* 8023E408 0023B348 7C 7D 1B 78 */ mr r29, r3 -/* 8023E40C 0023B34C 4B E8 37 41 */ bl __cvt_fp2unsigned -/* 8023E410 0023B350 FC 20 F0 90 */ fmr f1, f30 -/* 8023E414 0023B354 7C 7E 1B 78 */ mr r30, r3 -/* 8023E418 0023B358 4B E8 37 35 */ bl __cvt_fp2unsigned -/* 8023E41C 0023B35C 7F C4 F3 78 */ mr r4, r30 -/* 8023E420 0023B360 7F A5 EB 78 */ mr r5, r29 -/* 8023E424 0023B364 7F 86 E3 78 */ mr r6, r28 -/* 8023E428 0023B368 4B EA B3 B1 */ bl GXSetScissor -/* 8023E42C 0023B36C C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023E430 0023B370 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8023E434 0023B374 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8023E438 0023B378 C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 8023E43C 0023B37C EC 80 10 28 */ fsubs f4, f0, f2 -/* 8023E440 0023B380 C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023E444 0023B384 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8023E448 0023B388 C0 C2 C2 E0 */ lfs f6, lbl_8051A640@sda21(r2) -/* 8023E44C 0023B38C 4B EA B3 45 */ bl GXSetViewport -/* 8023E450 0023B390 38 60 00 00 */ li r3, 0 -/* 8023E454 0023B394 4B EA 6B 49 */ bl GXSetNumTexGens -/* 8023E458 0023B398 38 60 00 00 */ li r3, 0 -/* 8023E45C 0023B39C 4B EA 9E F9 */ bl GXSetNumIndStages -/* 8023E460 0023B3A0 38 60 00 00 */ li r3, 0 -/* 8023E464 0023B3A4 4B EA 9F C5 */ bl __GXSetIndirectMask -/* 8023E468 0023B3A8 38 60 00 00 */ li r3, 0 -/* 8023E46C 0023B3AC 4B EA B1 AD */ bl GXSetCurrentMtx -/* 8023E470 0023B3B0 38 60 00 01 */ li r3, 1 -/* 8023E474 0023B3B4 4B EA A7 45 */ bl GXSetNumTevStages -/* 8023E478 0023B3B8 38 60 00 00 */ li r3, 0 -/* 8023E47C 0023B3BC 38 80 00 04 */ li r4, 4 -/* 8023E480 0023B3C0 4B EA 9F FD */ bl GXSetTevOp -/* 8023E484 0023B3C4 38 60 00 00 */ li r3, 0 -/* 8023E488 0023B3C8 38 80 00 FF */ li r4, 0xff -/* 8023E48C 0023B3CC 38 A0 00 FF */ li r5, 0xff -/* 8023E490 0023B3D0 38 C0 00 04 */ li r6, 4 -/* 8023E494 0023B3D4 4B EA A5 89 */ bl GXSetTevOrder -/* 8023E498 0023B3D8 38 60 00 01 */ li r3, 1 -/* 8023E49C 0023B3DC 4B EA 89 C9 */ bl GXSetNumChans -/* 8023E4A0 0023B3E0 81 1F 00 08 */ lwz r8, 8(r31) -/* 8023E4A4 0023B3E4 38 81 00 0C */ addi r4, r1, 0xc -/* 8023E4A8 0023B3E8 38 60 00 04 */ li r3, 4 -/* 8023E4AC 0023B3EC 88 E8 00 00 */ lbz r7, 0(r8) -/* 8023E4B0 0023B3F0 88 C8 00 01 */ lbz r6, 1(r8) -/* 8023E4B4 0023B3F4 88 A8 00 02 */ lbz r5, 2(r8) -/* 8023E4B8 0023B3F8 88 08 00 03 */ lbz r0, 3(r8) -/* 8023E4BC 0023B3FC 98 E1 00 08 */ stb r7, 8(r1) -/* 8023E4C0 0023B400 98 C1 00 09 */ stb r6, 9(r1) -/* 8023E4C4 0023B404 98 A1 00 0A */ stb r5, 0xa(r1) -/* 8023E4C8 0023B408 98 01 00 0B */ stb r0, 0xb(r1) -/* 8023E4CC 0023B40C 80 01 00 08 */ lwz r0, 8(r1) -/* 8023E4D0 0023B410 90 01 00 0C */ stw r0, 0xc(r1) -/* 8023E4D4 0023B414 4B EA 88 A1 */ bl GXSetChanMatColor -/* 8023E4D8 0023B418 38 60 00 04 */ li r3, 4 -/* 8023E4DC 0023B41C 38 80 00 00 */ li r4, 0 -/* 8023E4E0 0023B420 38 A0 00 00 */ li r5, 0 -/* 8023E4E4 0023B424 38 C0 00 00 */ li r6, 0 -/* 8023E4E8 0023B428 38 E0 00 00 */ li r7, 0 -/* 8023E4EC 0023B42C 39 00 00 00 */ li r8, 0 -/* 8023E4F0 0023B430 39 20 00 02 */ li r9, 2 -/* 8023E4F4 0023B434 4B EA 89 AD */ bl GXSetChanCtrl -/* 8023E4F8 0023B438 38 60 00 02 */ li r3, 2 -/* 8023E4FC 0023B43C 4B EA 76 AD */ bl GXSetCullMode -/* 8023E500 0023B440 38 60 00 00 */ li r3, 0 -/* 8023E504 0023B444 38 80 00 00 */ li r4, 0 -/* 8023E508 0023B448 38 A0 00 00 */ li r5, 0 -/* 8023E50C 0023B44C 4B EA AC 79 */ bl GXSetZMode -/* 8023E510 0023B450 38 60 00 00 */ li r3, 0 -/* 8023E514 0023B454 38 80 00 01 */ li r4, 1 -/* 8023E518 0023B458 38 A0 00 01 */ li r5, 1 -/* 8023E51C 0023B45C 38 C0 00 00 */ li r6, 0 -/* 8023E520 0023B460 4B EA AB B9 */ bl GXSetBlendMode -/* 8023E524 0023B464 38 60 00 00 */ li r3, 0 -/* 8023E528 0023B468 4B EA AC 05 */ bl GXSetColorUpdate -/* 8023E52C 0023B46C 38 60 00 01 */ li r3, 1 -/* 8023E530 0023B470 4B EA AC 29 */ bl GXSetAlphaUpdate -/* 8023E534 0023B474 38 60 00 01 */ li r3, 1 -/* 8023E538 0023B478 38 80 00 00 */ li r4, 0 -/* 8023E53C 0023B47C 4B EA AD B1 */ bl GXSetDstAlpha -/* 8023E540 0023B480 4B EA 61 91 */ bl GXClearVtxDesc -/* 8023E544 0023B484 4B EA 67 C9 */ bl GXInvalidateVtxCache -/* 8023E548 0023B488 38 60 00 09 */ li r3, 9 -/* 8023E54C 0023B48C 38 80 00 01 */ li r4, 1 -/* 8023E550 0023B490 4B EA 5D 35 */ bl GXSetVtxDesc -/* 8023E554 0023B494 38 60 00 00 */ li r3, 0 -/* 8023E558 0023B498 38 80 00 09 */ li r4, 9 -/* 8023E55C 0023B49C 38 A0 00 01 */ li r5, 1 -/* 8023E560 0023B4A0 38 C0 00 04 */ li r6, 4 -/* 8023E564 0023B4A4 38 E0 00 00 */ li r7, 0 -/* 8023E568 0023B4A8 4B EA 61 A1 */ bl GXSetVtxAttrFmt -/* 8023E56C 0023B4AC 38 60 00 80 */ li r3, 0x80 -/* 8023E570 0023B4B0 38 80 00 00 */ li r4, 0 -/* 8023E574 0023B4B4 38 A0 00 04 */ li r5, 4 -/* 8023E578 0023B4B8 4B EA 74 11 */ bl GXBegin -/* 8023E57C 0023B4BC C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023E580 0023B4C0 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 8023E584 0023B4C4 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8023E588 0023B4C8 38 60 00 00 */ li r3, 0 -/* 8023E58C 0023B4CC C0 22 C2 C0 */ lfs f1, lbl_8051A620@sda21(r2) -/* 8023E590 0023B4D0 38 80 00 00 */ li r4, 0 -/* 8023E594 0023B4D4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8023E598 0023B4D8 D0 45 80 00 */ stfs f2, -0x8000(r5) -/* 8023E59C 0023B4DC D0 25 80 00 */ stfs f1, -0x8000(r5) -/* 8023E5A0 0023B4E0 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023E5A4 0023B4E4 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023E5A8 0023B4E8 D0 05 80 00 */ stfs f0, -0x8000(r5) -/* 8023E5AC 0023B4EC D0 45 80 00 */ stfs f2, -0x8000(r5) -/* 8023E5B0 0023B4F0 D0 25 80 00 */ stfs f1, -0x8000(r5) -/* 8023E5B4 0023B4F4 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023E5B8 0023B4F8 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023E5BC 0023B4FC D0 05 80 00 */ stfs f0, -0x8000(r5) -/* 8023E5C0 0023B500 D0 45 80 00 */ stfs f2, -0x8000(r5) -/* 8023E5C4 0023B504 D0 25 80 00 */ stfs f1, -0x8000(r5) -/* 8023E5C8 0023B508 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023E5CC 0023B50C C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8023E5D0 0023B510 D0 05 80 00 */ stfs f0, -0x8000(r5) -/* 8023E5D4 0023B514 D0 45 80 00 */ stfs f2, -0x8000(r5) -/* 8023E5D8 0023B518 D0 25 80 00 */ stfs f1, -0x8000(r5) -/* 8023E5DC 0023B51C 4B EA AD 11 */ bl GXSetDstAlpha -/* 8023E5E0 0023B520 80 02 C2 F4 */ lwz r0, lbl_8051A654@sda21(r2) -/* 8023E5E4 0023B524 38 81 00 10 */ addi r4, r1, 0x10 -/* 8023E5E8 0023B528 38 60 00 04 */ li r3, 4 -/* 8023E5EC 0023B52C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8023E5F0 0023B530 4B EA 87 85 */ bl GXSetChanMatColor -/* 8023E5F4 0023B534 4B EA 60 DD */ bl GXClearVtxDesc -/* 8023E5F8 0023B538 4B EA 67 15 */ bl GXInvalidateVtxCache -/* 8023E5FC 0023B53C 38 60 00 09 */ li r3, 9 -/* 8023E600 0023B540 38 80 00 03 */ li r4, 3 -/* 8023E604 0023B544 4B EA 5C 81 */ bl GXSetVtxDesc -/* 8023E608 0023B548 38 60 00 00 */ li r3, 0 -/* 8023E60C 0023B54C 38 80 00 09 */ li r4, 9 -/* 8023E610 0023B550 38 A0 00 01 */ li r5, 1 -/* 8023E614 0023B554 38 C0 00 04 */ li r6, 4 -/* 8023E618 0023B558 38 E0 00 00 */ li r7, 0 -/* 8023E61C 0023B55C 4B EA 60 ED */ bl GXSetVtxAttrFmt -/* 8023E620 0023B560 3C 80 80 4F */ lis r4, sCylinderVertPos__4Game@ha -/* 8023E624 0023B564 38 60 00 09 */ li r3, 9 -/* 8023E628 0023B568 38 84 79 D0 */ addi r4, r4, sCylinderVertPos__4Game@l -/* 8023E62C 0023B56C 38 A0 00 0C */ li r5, 0xc -/* 8023E630 0023B570 4B EA 66 51 */ bl GXSetArray -/* 8023E634 0023B574 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8023E638 0023B578 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8023E63C 0023B57C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8023E640 0023B580 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8023E644 0023B584 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8023E648 0023B588 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8023E64C 0023B58C 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8023E650 0023B590 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8023E654 0023B594 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 8023E658 0023B598 7C 08 03 A6 */ mtlr r0 -/* 8023E65C 0023B59C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8023E660 0023B5A0 4E 80 00 20 */ blr - -.global drawCylinder__Q24Game15ShadowCylinder2FR7Matrixfi -drawCylinder__Q24Game15ShadowCylinder2FR7Matrixfi: -/* 8023E664 0023B5A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023E668 0023B5A8 7C 08 02 A6 */ mflr r0 -/* 8023E66C 0023B5AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023E670 0023B5B0 7C 80 23 78 */ mr r0, r4 -/* 8023E674 0023B5B4 38 80 00 00 */ li r4, 0 -/* 8023E678 0023B5B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023E67C 0023B5BC 7C BF 2B 78 */ mr r31, r5 -/* 8023E680 0023B5C0 93 C1 00 08 */ stw r30, 8(r1) -/* 8023E684 0023B5C4 7C 7E 1B 78 */ mr r30, r3 -/* 8023E688 0023B5C8 7C 03 03 78 */ mr r3, r0 -/* 8023E68C 0023B5CC 4B EA AE ED */ bl GXLoadPosMtxImm -/* 8023E690 0023B5D0 38 60 00 01 */ li r3, 1 -/* 8023E694 0023B5D4 38 80 00 03 */ li r4, 3 -/* 8023E698 0023B5D8 38 A0 00 00 */ li r5, 0 -/* 8023E69C 0023B5DC 4B EA AA E9 */ bl GXSetZMode -/* 8023E6A0 0023B5E0 38 60 00 02 */ li r3, 2 -/* 8023E6A4 0023B5E4 4B EA 75 05 */ bl GXSetCullMode -/* 8023E6A8 0023B5E8 38 60 00 01 */ li r3, 1 -/* 8023E6AC 0023B5EC 38 80 00 01 */ li r4, 1 -/* 8023E6B0 0023B5F0 38 A0 00 01 */ li r5, 1 -/* 8023E6B4 0023B5F4 38 C0 00 05 */ li r6, 5 -/* 8023E6B8 0023B5F8 4B EA AA 21 */ bl GXSetBlendMode -/* 8023E6BC 0023B5FC 80 7E 00 04 */ lwz r3, 4(r30) -/* 8023E6C0 0023B600 57 FF 10 3A */ slwi r31, r31, 2 -/* 8023E6C4 0023B604 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 8023E6C8 0023B608 80 03 00 08 */ lwz r0, 8(r3) -/* 8023E6CC 0023B60C 80 63 00 04 */ lwz r3, 4(r3) -/* 8023E6D0 0023B610 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 8023E6D4 0023B614 4B EA AD 05 */ bl GXCallDisplayList -/* 8023E6D8 0023B618 38 60 00 01 */ li r3, 1 -/* 8023E6DC 0023B61C 4B EA 74 CD */ bl GXSetCullMode -/* 8023E6E0 0023B620 38 60 00 03 */ li r3, 3 -/* 8023E6E4 0023B624 38 80 00 01 */ li r4, 1 -/* 8023E6E8 0023B628 38 A0 00 01 */ li r5, 1 -/* 8023E6EC 0023B62C 38 C0 00 05 */ li r6, 5 -/* 8023E6F0 0023B630 4B EA A9 E9 */ bl GXSetBlendMode -/* 8023E6F4 0023B634 80 7E 00 04 */ lwz r3, 4(r30) -/* 8023E6F8 0023B638 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 8023E6FC 0023B63C 80 03 00 08 */ lwz r0, 8(r3) -/* 8023E700 0023B640 80 63 00 04 */ lwz r3, 4(r3) -/* 8023E704 0023B644 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 8023E708 0023B648 4B EA AC D1 */ bl GXCallDisplayList -/* 8023E70C 0023B64C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023E710 0023B650 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023E714 0023B654 83 C1 00 08 */ lwz r30, 8(r1) -/* 8023E718 0023B658 7C 08 03 A6 */ mtlr r0 -/* 8023E71C 0023B65C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023E720 0023B660 4E 80 00 20 */ blr - -.global drawFinish__Q24Game15ShadowCylinder2Fv -drawFinish__Q24Game15ShadowCylinder2Fv: -/* 8023E724 0023B664 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8023E728 0023B668 7C 08 02 A6 */ mflr r0 -/* 8023E72C 0023B66C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8023E730 0023B670 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8023E734 0023B674 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8023E738 0023B678 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8023E73C 0023B67C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8023E740 0023B680 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8023E744 0023B684 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8023E748 0023B688 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8023E74C 0023B68C 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8023E750 0023B690 7C 7F 1B 78 */ mr r31, r3 -/* 8023E754 0023B694 3C 60 80 48 */ lis r3, lbl_80483F58@ha -/* 8023E758 0023B698 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8023E75C 0023B69C 3B C3 3F 58 */ addi r30, r3, lbl_80483F58@l -/* 8023E760 0023B6A0 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023E764 0023B6A4 38 61 00 64 */ addi r3, r1, 0x64 -/* 8023E768 0023B6A8 C0 7F 00 10 */ lfs f3, 0x10(r31) -/* 8023E76C 0023B6AC C0 9F 00 18 */ lfs f4, 0x18(r31) -/* 8023E770 0023B6B0 C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023E774 0023B6B4 C0 C2 C2 F0 */ lfs f6, lbl_8051A650@sda21(r2) -/* 8023E778 0023B6B8 4B EA C6 61 */ bl C_MTXOrtho -/* 8023E77C 0023B6BC 38 61 00 64 */ addi r3, r1, 0x64 -/* 8023E780 0023B6C0 38 80 00 01 */ li r4, 1 -/* 8023E784 0023B6C4 4B EA AC C5 */ bl GXSetProjection -/* 8023E788 0023B6C8 83 BE 00 40 */ lwz r29, 0x40(r30) -/* 8023E78C 0023B6CC 38 61 00 34 */ addi r3, r1, 0x34 -/* 8023E790 0023B6D0 83 9E 00 44 */ lwz r28, 0x44(r30) -/* 8023E794 0023B6D4 38 81 00 28 */ addi r4, r1, 0x28 -/* 8023E798 0023B6D8 81 9E 00 48 */ lwz r12, 0x48(r30) -/* 8023E79C 0023B6DC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8023E7A0 0023B6E0 81 7E 00 4C */ lwz r11, 0x4c(r30) -/* 8023E7A4 0023B6E4 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8023E7A8 0023B6E8 81 5E 00 50 */ lwz r10, 0x50(r30) -/* 8023E7AC 0023B6EC 81 3E 00 54 */ lwz r9, 0x54(r30) -/* 8023E7B0 0023B6F0 81 1E 00 58 */ lwz r8, 0x58(r30) -/* 8023E7B4 0023B6F4 80 FE 00 5C */ lwz r7, 0x5c(r30) -/* 8023E7B8 0023B6F8 80 1E 00 60 */ lwz r0, 0x60(r30) -/* 8023E7BC 0023B6FC 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8023E7C0 0023B700 93 81 00 14 */ stw r28, 0x14(r1) -/* 8023E7C4 0023B704 91 81 00 18 */ stw r12, 0x18(r1) -/* 8023E7C8 0023B708 91 61 00 1C */ stw r11, 0x1c(r1) -/* 8023E7CC 0023B70C 91 41 00 20 */ stw r10, 0x20(r1) -/* 8023E7D0 0023B710 91 21 00 24 */ stw r9, 0x24(r1) -/* 8023E7D4 0023B714 91 01 00 28 */ stw r8, 0x28(r1) -/* 8023E7D8 0023B718 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8023E7DC 0023B71C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8023E7E0 0023B720 4B EA C1 19 */ bl C_MTXLookAt -/* 8023E7E4 0023B724 38 61 00 34 */ addi r3, r1, 0x34 -/* 8023E7E8 0023B728 38 80 00 00 */ li r4, 0 -/* 8023E7EC 0023B72C 4B EA AD 8D */ bl GXLoadPosMtxImm -/* 8023E7F0 0023B730 C3 FF 00 14 */ lfs f31, 0x14(r31) -/* 8023E7F4 0023B734 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8023E7F8 0023B738 C3 DF 00 10 */ lfs f30, 0x10(r31) -/* 8023E7FC 0023B73C EC 20 F8 28 */ fsubs f1, f0, f31 -/* 8023E800 0023B740 4B E8 33 4D */ bl __cvt_fp2unsigned -/* 8023E804 0023B744 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023E808 0023B748 7C 7C 1B 78 */ mr r28, r3 -/* 8023E80C 0023B74C EC 20 F0 28 */ fsubs f1, f0, f30 -/* 8023E810 0023B750 4B E8 33 3D */ bl __cvt_fp2unsigned -/* 8023E814 0023B754 FC 20 F8 90 */ fmr f1, f31 -/* 8023E818 0023B758 7C 7D 1B 78 */ mr r29, r3 -/* 8023E81C 0023B75C 4B E8 33 31 */ bl __cvt_fp2unsigned -/* 8023E820 0023B760 FC 20 F0 90 */ fmr f1, f30 -/* 8023E824 0023B764 7C 7E 1B 78 */ mr r30, r3 -/* 8023E828 0023B768 4B E8 33 25 */ bl __cvt_fp2unsigned -/* 8023E82C 0023B76C 7F C4 F3 78 */ mr r4, r30 -/* 8023E830 0023B770 7F A5 EB 78 */ mr r5, r29 -/* 8023E834 0023B774 7F 86 E3 78 */ mr r6, r28 -/* 8023E838 0023B778 4B EA AF A1 */ bl GXSetScissor -/* 8023E83C 0023B77C C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023E840 0023B780 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8023E844 0023B784 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8023E848 0023B788 C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 8023E84C 0023B78C EC 80 10 28 */ fsubs f4, f0, f2 -/* 8023E850 0023B790 C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023E854 0023B794 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8023E858 0023B798 C0 C2 C2 E0 */ lfs f6, lbl_8051A640@sda21(r2) -/* 8023E85C 0023B79C 4B EA AF 35 */ bl GXSetViewport -/* 8023E860 0023B7A0 38 60 00 01 */ li r3, 1 -/* 8023E864 0023B7A4 4B EA A8 C9 */ bl GXSetColorUpdate -/* 8023E868 0023B7A8 38 60 00 01 */ li r3, 1 -/* 8023E86C 0023B7AC 4B EA A8 ED */ bl GXSetAlphaUpdate -/* 8023E870 0023B7B0 81 1F 00 08 */ lwz r8, 8(r31) -/* 8023E874 0023B7B4 38 81 00 0C */ addi r4, r1, 0xc -/* 8023E878 0023B7B8 38 60 00 04 */ li r3, 4 -/* 8023E87C 0023B7BC 88 E8 00 00 */ lbz r7, 0(r8) -/* 8023E880 0023B7C0 88 C8 00 01 */ lbz r6, 1(r8) -/* 8023E884 0023B7C4 88 A8 00 02 */ lbz r5, 2(r8) -/* 8023E888 0023B7C8 88 08 00 03 */ lbz r0, 3(r8) -/* 8023E88C 0023B7CC 98 E1 00 08 */ stb r7, 8(r1) -/* 8023E890 0023B7D0 98 C1 00 09 */ stb r6, 9(r1) -/* 8023E894 0023B7D4 98 A1 00 0A */ stb r5, 0xa(r1) -/* 8023E898 0023B7D8 98 01 00 0B */ stb r0, 0xb(r1) -/* 8023E89C 0023B7DC 80 01 00 08 */ lwz r0, 8(r1) -/* 8023E8A0 0023B7E0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8023E8A4 0023B7E4 4B EA 84 D1 */ bl GXSetChanMatColor -/* 8023E8A8 0023B7E8 38 60 00 02 */ li r3, 2 -/* 8023E8AC 0023B7EC 4B EA 72 FD */ bl GXSetCullMode -/* 8023E8B0 0023B7F0 38 60 00 00 */ li r3, 0 -/* 8023E8B4 0023B7F4 38 80 00 00 */ li r4, 0 -/* 8023E8B8 0023B7F8 38 A0 00 00 */ li r5, 0 -/* 8023E8BC 0023B7FC 4B EA A8 C9 */ bl GXSetZMode -/* 8023E8C0 0023B800 7F E3 FB 78 */ mr r3, r31 -/* 8023E8C4 0023B804 48 00 00 45 */ bl copyShadowTexture__Q24Game15ShadowCylinder2Fv -/* 8023E8C8 0023B808 7F E3 FB 78 */ mr r3, r31 -/* 8023E8CC 0023B80C 48 00 01 AD */ bl setupTextureFilterGX__Q24Game15ShadowCylinder2Fv -/* 8023E8D0 0023B810 7F E3 FB 78 */ mr r3, r31 -/* 8023E8D4 0023B814 48 00 02 A1 */ bl drawTextureFilter__Q24Game15ShadowCylinder2Fv -/* 8023E8D8 0023B818 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8023E8DC 0023B81C CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8023E8E0 0023B820 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8023E8E4 0023B824 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8023E8E8 0023B828 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8023E8EC 0023B82C 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8023E8F0 0023B830 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8023E8F4 0023B834 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8023E8F8 0023B838 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 8023E8FC 0023B83C 7C 08 03 A6 */ mtlr r0 -/* 8023E900 0023B840 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8023E904 0023B844 4E 80 00 20 */ blr - -.global copyShadowTexture__Q24Game15ShadowCylinder2Fv -copyShadowTexture__Q24Game15ShadowCylinder2Fv: -/* 8023E908 0023B848 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8023E90C 0023B84C 7C 08 02 A6 */ mflr r0 -/* 8023E910 0023B850 90 01 00 54 */ stw r0, 0x54(r1) -/* 8023E914 0023B854 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8023E918 0023B858 7C 7F 1B 78 */ mr r31, r3 -/* 8023E91C 0023B85C C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8023E920 0023B860 C0 43 00 14 */ lfs f2, 0x14(r3) -/* 8023E924 0023B864 FC 60 00 1E */ fctiwz f3, f0 -/* 8023E928 0023B868 C0 23 00 18 */ lfs f1, 0x18(r3) -/* 8023E92C 0023B86C C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8023E930 0023B870 FC 40 10 1E */ fctiwz f2, f2 -/* 8023E934 0023B874 FC 20 08 1E */ fctiwz f1, f1 -/* 8023E938 0023B878 FC 00 00 1E */ fctiwz f0, f0 -/* 8023E93C 0023B87C D8 61 00 08 */ stfd f3, 8(r1) -/* 8023E940 0023B880 D8 41 00 10 */ stfd f2, 0x10(r1) -/* 8023E944 0023B884 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8023E948 0023B888 D8 21 00 18 */ stfd f1, 0x18(r1) -/* 8023E94C 0023B88C 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8023E950 0023B890 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8023E954 0023B894 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8023E958 0023B898 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8023E95C 0023B89C 4B EA 73 65 */ bl GXSetTexCopySrc -/* 8023E960 0023B8A0 C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 8023E964 0023B8A4 38 A0 00 27 */ li r5, 0x27 -/* 8023E968 0023B8A8 C0 5F 00 10 */ lfs f2, 0x10(r31) -/* 8023E96C 0023B8AC 38 C0 00 01 */ li r6, 1 -/* 8023E970 0023B8B0 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8023E974 0023B8B4 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8023E978 0023B8B8 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8023E97C 0023B8BC C0 42 C2 BC */ lfs f2, lbl_8051A61C@sda21(r2) -/* 8023E980 0023B8C0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8023E984 0023B8C4 EC 23 00 B2 */ fmuls f1, f3, f2 -/* 8023E988 0023B8C8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8023E98C 0023B8CC FC 20 08 1E */ fctiwz f1, f1 -/* 8023E990 0023B8D0 FC 00 00 1E */ fctiwz f0, f0 -/* 8023E994 0023B8D4 D8 21 00 28 */ stfd f1, 0x28(r1) -/* 8023E998 0023B8D8 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 8023E99C 0023B8DC 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8023E9A0 0023B8E0 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8023E9A4 0023B8E4 4B EA 73 CD */ bl GXSetTexCopyDst -/* 8023E9A8 0023B8E8 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 8023E9AC 0023B8EC 38 80 00 00 */ li r4, 0 -/* 8023E9B0 0023B8F0 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 8023E9B4 0023B8F4 54 00 10 3A */ slwi r0, r0, 2 -/* 8023E9B8 0023B8F8 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8023E9BC 0023B8FC 4B EA 7C F1 */ bl GXCopyTex -/* 8023E9C0 0023B900 4B EA 6B FD */ bl GXPixModeSync -/* 8023E9C4 0023B904 C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 8023E9C8 0023B908 38 E0 00 01 */ li r7, 1 -/* 8023E9CC 0023B90C C0 5F 00 10 */ lfs f2, 0x10(r31) -/* 8023E9D0 0023B910 39 00 00 00 */ li r8, 0 -/* 8023E9D4 0023B914 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8023E9D8 0023B918 39 20 00 00 */ li r9, 0 -/* 8023E9DC 0023B91C C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8023E9E0 0023B920 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8023E9E4 0023B924 C0 42 C2 BC */ lfs f2, lbl_8051A61C@sda21(r2) -/* 8023E9E8 0023B928 39 40 00 00 */ li r10, 0 -/* 8023E9EC 0023B92C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8023E9F0 0023B930 80 9F 00 60 */ lwz r4, 0x60(r31) -/* 8023E9F4 0023B934 EC 23 00 B2 */ fmuls f1, f3, f2 -/* 8023E9F8 0023B938 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 8023E9FC 0023B93C 54 80 10 3A */ slwi r0, r4, 2 -/* 8023EA00 0023B940 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8023EA04 0023B944 FC 20 08 1E */ fctiwz f1, f1 -/* 8023EA08 0023B948 80 DF 00 5C */ lwz r6, 0x5c(r31) -/* 8023EA0C 0023B94C 54 85 28 34 */ slwi r5, r4, 5 -/* 8023EA10 0023B950 7C 83 00 2E */ lwzx r4, r3, r0 -/* 8023EA14 0023B954 FC 00 00 1E */ fctiwz f0, f0 -/* 8023EA18 0023B958 D8 21 00 38 */ stfd f1, 0x38(r1) -/* 8023EA1C 0023B95C 7C 66 2A 14 */ add r3, r6, r5 -/* 8023EA20 0023B960 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 8023EA24 0023B964 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 8023EA28 0023B968 80 C1 00 44 */ lwz r6, 0x44(r1) -/* 8023EA2C 0023B96C 4B EA 87 51 */ bl GXInitTexObj -/* 8023EA30 0023B970 C0 22 C2 C0 */ lfs f1, lbl_8051A620@sda21(r2) -/* 8023EA34 0023B974 38 80 00 01 */ li r4, 1 -/* 8023EA38 0023B978 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 8023EA3C 0023B97C 38 A0 00 01 */ li r5, 1 -/* 8023EA40 0023B980 FC 40 08 90 */ fmr f2, f1 -/* 8023EA44 0023B984 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 8023EA48 0023B988 54 00 28 34 */ slwi r0, r0, 5 -/* 8023EA4C 0023B98C FC 60 08 90 */ fmr f3, f1 -/* 8023EA50 0023B990 7C 63 02 14 */ add r3, r3, r0 -/* 8023EA54 0023B994 38 C0 00 00 */ li r6, 0 -/* 8023EA58 0023B998 38 E0 00 00 */ li r7, 0 -/* 8023EA5C 0023B99C 39 00 00 00 */ li r8, 0 -/* 8023EA60 0023B9A0 4B EA 89 B1 */ bl GXInitTexObjLOD -/* 8023EA64 0023B9A4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8023EA68 0023B9A8 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8023EA6C 0023B9AC 7C 08 03 A6 */ mtlr r0 -/* 8023EA70 0023B9B0 38 21 00 50 */ addi r1, r1, 0x50 -/* 8023EA74 0023B9B4 4E 80 00 20 */ blr - -.global setupTextureFilterGX__Q24Game15ShadowCylinder2Fv -setupTextureFilterGX__Q24Game15ShadowCylinder2Fv: -/* 8023EA78 0023B9B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023EA7C 0023B9BC 7C 08 02 A6 */ mflr r0 -/* 8023EA80 0023B9C0 38 80 00 00 */ li r4, 0 -/* 8023EA84 0023B9C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023EA88 0023B9C8 80 03 00 60 */ lwz r0, 0x60(r3) -/* 8023EA8C 0023B9CC 80 63 00 5C */ lwz r3, 0x5c(r3) -/* 8023EA90 0023B9D0 54 00 28 34 */ slwi r0, r0, 5 -/* 8023EA94 0023B9D4 7C 63 02 14 */ add r3, r3, r0 -/* 8023EA98 0023B9D8 4B EA 8C 79 */ bl GXLoadTexObj -/* 8023EA9C 0023B9DC 38 60 00 01 */ li r3, 1 -/* 8023EAA0 0023B9E0 4B EA 64 FD */ bl GXSetNumTexGens -/* 8023EAA4 0023B9E4 38 60 00 00 */ li r3, 0 -/* 8023EAA8 0023B9E8 38 80 00 01 */ li r4, 1 -/* 8023EAAC 0023B9EC 38 A0 00 04 */ li r5, 4 -/* 8023EAB0 0023B9F0 38 C0 00 3C */ li r6, 0x3c -/* 8023EAB4 0023B9F4 38 E0 00 00 */ li r7, 0 -/* 8023EAB8 0023B9F8 39 00 00 7D */ li r8, 0x7d -/* 8023EABC 0023B9FC 4B EA 62 61 */ bl GXSetTexCoordGen2 -/* 8023EAC0 0023BA00 38 60 00 00 */ li r3, 0 -/* 8023EAC4 0023BA04 38 80 00 00 */ li r4, 0 -/* 8023EAC8 0023BA08 38 A0 00 00 */ li r5, 0 -/* 8023EACC 0023BA0C 38 C0 00 04 */ li r6, 4 -/* 8023EAD0 0023BA10 4B EA 9F 4D */ bl GXSetTevOrder -/* 8023EAD4 0023BA14 80 02 2B 28 */ lwz r0, lbl_80520E88@sda21(r2) -/* 8023EAD8 0023BA18 38 81 00 08 */ addi r4, r1, 8 -/* 8023EADC 0023BA1C 38 60 00 01 */ li r3, 1 -/* 8023EAE0 0023BA20 90 01 00 08 */ stw r0, 8(r1) -/* 8023EAE4 0023BA24 4B EA 9B 7D */ bl GXSetTevColor -/* 8023EAE8 0023BA28 38 60 00 00 */ li r3, 0 -/* 8023EAEC 0023BA2C 38 80 00 09 */ li r4, 9 -/* 8023EAF0 0023BA30 38 A0 00 03 */ li r5, 3 -/* 8023EAF4 0023BA34 38 C0 00 0A */ li r6, 0xa -/* 8023EAF8 0023BA38 38 E0 00 0F */ li r7, 0xf -/* 8023EAFC 0023BA3C 4B EA 9A 0D */ bl GXSetTevColorIn -/* 8023EB00 0023BA40 38 60 00 00 */ li r3, 0 -/* 8023EB04 0023BA44 38 80 00 08 */ li r4, 8 -/* 8023EB08 0023BA48 38 A0 00 00 */ li r5, 0 -/* 8023EB0C 0023BA4C 38 C0 00 00 */ li r6, 0 -/* 8023EB10 0023BA50 38 E0 00 00 */ li r7, 0 -/* 8023EB14 0023BA54 39 00 00 00 */ li r8, 0 -/* 8023EB18 0023BA58 4B EA 9A 79 */ bl GXSetTevColorOp -/* 8023EB1C 0023BA5C 38 60 00 00 */ li r3, 0 -/* 8023EB20 0023BA60 38 80 00 04 */ li r4, 4 -/* 8023EB24 0023BA64 38 A0 00 01 */ li r5, 1 -/* 8023EB28 0023BA68 38 C0 00 05 */ li r6, 5 -/* 8023EB2C 0023BA6C 38 E0 00 07 */ li r7, 7 -/* 8023EB30 0023BA70 4B EA 9A 1D */ bl GXSetTevAlphaIn -/* 8023EB34 0023BA74 38 60 00 00 */ li r3, 0 -/* 8023EB38 0023BA78 38 80 00 08 */ li r4, 8 -/* 8023EB3C 0023BA7C 38 A0 00 00 */ li r5, 0 -/* 8023EB40 0023BA80 38 C0 00 00 */ li r6, 0 -/* 8023EB44 0023BA84 38 E0 00 00 */ li r7, 0 -/* 8023EB48 0023BA88 39 00 00 00 */ li r8, 0 -/* 8023EB4C 0023BA8C 4B EA 9A AD */ bl GXSetTevAlphaOp -/* 8023EB50 0023BA90 38 60 00 01 */ li r3, 1 -/* 8023EB54 0023BA94 38 80 00 04 */ li r4, 4 -/* 8023EB58 0023BA98 38 A0 00 05 */ li r5, 5 -/* 8023EB5C 0023BA9C 38 C0 00 05 */ li r6, 5 -/* 8023EB60 0023BAA0 4B EA A5 79 */ bl GXSetBlendMode -/* 8023EB64 0023BAA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023EB68 0023BAA8 7C 08 03 A6 */ mtlr r0 -/* 8023EB6C 0023BAAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023EB70 0023BAB0 4E 80 00 20 */ blr - -.global drawTextureFilter__Q24Game15ShadowCylinder2Fv -drawTextureFilter__Q24Game15ShadowCylinder2Fv: -/* 8023EB74 0023BAB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023EB78 0023BAB8 7C 08 02 A6 */ mflr r0 -/* 8023EB7C 0023BABC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023EB80 0023BAC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023EB84 0023BAC4 7C 7F 1B 78 */ mr r31, r3 -/* 8023EB88 0023BAC8 4B EA 5B 49 */ bl GXClearVtxDesc -/* 8023EB8C 0023BACC 4B EA 61 81 */ bl GXInvalidateVtxCache -/* 8023EB90 0023BAD0 38 60 00 09 */ li r3, 9 -/* 8023EB94 0023BAD4 38 80 00 01 */ li r4, 1 -/* 8023EB98 0023BAD8 4B EA 56 ED */ bl GXSetVtxDesc -/* 8023EB9C 0023BADC 38 60 00 0D */ li r3, 0xd -/* 8023EBA0 0023BAE0 38 80 00 01 */ li r4, 1 -/* 8023EBA4 0023BAE4 4B EA 56 E1 */ bl GXSetVtxDesc -/* 8023EBA8 0023BAE8 38 60 00 00 */ li r3, 0 -/* 8023EBAC 0023BAEC 38 80 00 09 */ li r4, 9 -/* 8023EBB0 0023BAF0 38 A0 00 01 */ li r5, 1 -/* 8023EBB4 0023BAF4 38 C0 00 04 */ li r6, 4 -/* 8023EBB8 0023BAF8 38 E0 00 00 */ li r7, 0 -/* 8023EBBC 0023BAFC 4B EA 5B 4D */ bl GXSetVtxAttrFmt -/* 8023EBC0 0023BB00 38 60 00 00 */ li r3, 0 -/* 8023EBC4 0023BB04 38 80 00 0D */ li r4, 0xd -/* 8023EBC8 0023BB08 38 A0 00 01 */ li r5, 1 -/* 8023EBCC 0023BB0C 38 C0 00 01 */ li r6, 1 -/* 8023EBD0 0023BB10 38 E0 00 04 */ li r7, 4 -/* 8023EBD4 0023BB14 4B EA 5B 35 */ bl GXSetVtxAttrFmt -/* 8023EBD8 0023BB18 38 60 00 80 */ li r3, 0x80 -/* 8023EBDC 0023BB1C 38 80 00 00 */ li r4, 0 -/* 8023EBE0 0023BB20 38 A0 00 04 */ li r5, 4 -/* 8023EBE4 0023BB24 4B EA 6D A5 */ bl GXBegin -/* 8023EBE8 0023BB28 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023EBEC 0023BB2C 3C 80 CC 01 */ lis r4, 0xCC008000@ha -/* 8023EBF0 0023BB30 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8023EBF4 0023BB34 38 60 00 00 */ li r3, 0 -/* 8023EBF8 0023BB38 C0 22 C2 C0 */ lfs f1, lbl_8051A620@sda21(r2) -/* 8023EBFC 0023BB3C 38 00 00 10 */ li r0, 0x10 -/* 8023EC00 0023BB40 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8023EC04 0023BB44 D0 44 80 00 */ stfs f2, -0x8000(r4) -/* 8023EC08 0023BB48 D0 24 80 00 */ stfs f1, -0x8000(r4) -/* 8023EC0C 0023BB4C 98 64 80 00 */ stb r3, -0x8000(r4) -/* 8023EC10 0023BB50 98 64 80 00 */ stb r3, -0x8000(r4) -/* 8023EC14 0023BB54 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023EC18 0023BB58 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023EC1C 0023BB5C D0 04 80 00 */ stfs f0, -0x8000(r4) -/* 8023EC20 0023BB60 D0 44 80 00 */ stfs f2, -0x8000(r4) -/* 8023EC24 0023BB64 D0 24 80 00 */ stfs f1, -0x8000(r4) -/* 8023EC28 0023BB68 98 04 80 00 */ stb r0, -0x8000(r4) -/* 8023EC2C 0023BB6C 98 64 80 00 */ stb r3, -0x8000(r4) -/* 8023EC30 0023BB70 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023EC34 0023BB74 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023EC38 0023BB78 D0 04 80 00 */ stfs f0, -0x8000(r4) -/* 8023EC3C 0023BB7C D0 44 80 00 */ stfs f2, -0x8000(r4) -/* 8023EC40 0023BB80 D0 24 80 00 */ stfs f1, -0x8000(r4) -/* 8023EC44 0023BB84 98 04 80 00 */ stb r0, -0x8000(r4) -/* 8023EC48 0023BB88 98 04 80 00 */ stb r0, -0x8000(r4) -/* 8023EC4C 0023BB8C C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023EC50 0023BB90 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8023EC54 0023BB94 D0 04 80 00 */ stfs f0, -0x8000(r4) -/* 8023EC58 0023BB98 D0 44 80 00 */ stfs f2, -0x8000(r4) -/* 8023EC5C 0023BB9C D0 24 80 00 */ stfs f1, -0x8000(r4) -/* 8023EC60 0023BBA0 98 64 80 00 */ stb r3, -0x8000(r4) -/* 8023EC64 0023BBA4 98 04 80 00 */ stb r0, -0x8000(r4) -/* 8023EC68 0023BBA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023EC6C 0023BBAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023EC70 0023BBB0 7C 08 03 A6 */ mtlr r0 -/* 8023EC74 0023BBB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023EC78 0023BBB8 4E 80 00 20 */ blr - -.global __ct__Q24Game15ShadowCylinder3FPQ24Game11ShadowParmsP6Color4 -__ct__Q24Game15ShadowCylinder3FPQ24Game11ShadowParmsP6Color4: -/* 8023EC7C 0023BBBC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8023EC80 0023BBC0 7C 08 02 A6 */ mflr r0 -/* 8023EC84 0023BBC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8023EC88 0023BBC8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8023EC8C 0023BBCC 7C BF 2B 78 */ mr r31, r5 -/* 8023EC90 0023BBD0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8023EC94 0023BBD4 7C 9E 23 78 */ mr r30, r4 -/* 8023EC98 0023BBD8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8023EC9C 0023BBDC 7C 7D 1B 78 */ mr r29, r3 -/* 8023ECA0 0023BBE0 4B FF ED 91 */ bl __ct__Q24Game12CylinderBaseFv -/* 8023ECA4 0023BBE4 3C 80 80 4C */ lis r4, __vt__Q24Game15ShadowCylinder3@ha -/* 8023ECA8 0023BBE8 7F A3 EB 78 */ mr r3, r29 -/* 8023ECAC 0023BBEC 38 04 19 10 */ addi r0, r4, __vt__Q24Game15ShadowCylinder3@l -/* 8023ECB0 0023BBF0 90 1D 00 00 */ stw r0, 0(r29) -/* 8023ECB4 0023BBF4 93 DD 00 0C */ stw r30, 0xc(r29) -/* 8023ECB8 0023BBF8 93 FD 00 08 */ stw r31, 8(r29) -/* 8023ECBC 0023BBFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8023ECC0 0023BC00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8023ECC4 0023BC04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8023ECC8 0023BC08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8023ECCC 0023BC0C 7C 08 03 A6 */ mtlr r0 -/* 8023ECD0 0023BC10 38 21 00 20 */ addi r1, r1, 0x20 -/* 8023ECD4 0023BC14 4E 80 00 20 */ blr - -.global drawInit__Q24Game15ShadowCylinder3Fv -drawInit__Q24Game15ShadowCylinder3Fv: -/* 8023ECD8 0023BC18 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8023ECDC 0023BC1C 7C 08 02 A6 */ mflr r0 -/* 8023ECE0 0023BC20 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8023ECE4 0023BC24 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8023ECE8 0023BC28 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8023ECEC 0023BC2C DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8023ECF0 0023BC30 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8023ECF4 0023BC34 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8023ECF8 0023BC38 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8023ECFC 0023BC3C 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8023ED00 0023BC40 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8023ED04 0023BC44 7C 7F 1B 78 */ mr r31, r3 -/* 8023ED08 0023BC48 3C 60 80 48 */ lis r3, lbl_80483F58@ha -/* 8023ED0C 0023BC4C C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8023ED10 0023BC50 3B C3 3F 58 */ addi r30, r3, lbl_80483F58@l -/* 8023ED14 0023BC54 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023ED18 0023BC58 38 61 00 68 */ addi r3, r1, 0x68 -/* 8023ED1C 0023BC5C C0 7F 00 10 */ lfs f3, 0x10(r31) -/* 8023ED20 0023BC60 C0 9F 00 18 */ lfs f4, 0x18(r31) -/* 8023ED24 0023BC64 C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023ED28 0023BC68 C0 C2 C2 F0 */ lfs f6, lbl_8051A650@sda21(r2) -/* 8023ED2C 0023BC6C 4B EA C0 AD */ bl C_MTXOrtho -/* 8023ED30 0023BC70 38 61 00 68 */ addi r3, r1, 0x68 -/* 8023ED34 0023BC74 38 80 00 01 */ li r4, 1 -/* 8023ED38 0023BC78 4B EA A7 11 */ bl GXSetProjection -/* 8023ED3C 0023BC7C 83 BE 00 40 */ lwz r29, 0x40(r30) -/* 8023ED40 0023BC80 38 61 00 38 */ addi r3, r1, 0x38 -/* 8023ED44 0023BC84 83 9E 00 44 */ lwz r28, 0x44(r30) -/* 8023ED48 0023BC88 38 81 00 2C */ addi r4, r1, 0x2c -/* 8023ED4C 0023BC8C 81 9E 00 48 */ lwz r12, 0x48(r30) -/* 8023ED50 0023BC90 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8023ED54 0023BC94 81 7E 00 4C */ lwz r11, 0x4c(r30) -/* 8023ED58 0023BC98 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8023ED5C 0023BC9C 81 5E 00 50 */ lwz r10, 0x50(r30) -/* 8023ED60 0023BCA0 81 3E 00 54 */ lwz r9, 0x54(r30) -/* 8023ED64 0023BCA4 81 1E 00 58 */ lwz r8, 0x58(r30) -/* 8023ED68 0023BCA8 80 FE 00 5C */ lwz r7, 0x5c(r30) -/* 8023ED6C 0023BCAC 80 1E 00 60 */ lwz r0, 0x60(r30) -/* 8023ED70 0023BCB0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8023ED74 0023BCB4 93 81 00 18 */ stw r28, 0x18(r1) -/* 8023ED78 0023BCB8 91 81 00 1C */ stw r12, 0x1c(r1) -/* 8023ED7C 0023BCBC 91 61 00 20 */ stw r11, 0x20(r1) -/* 8023ED80 0023BCC0 91 41 00 24 */ stw r10, 0x24(r1) -/* 8023ED84 0023BCC4 91 21 00 28 */ stw r9, 0x28(r1) -/* 8023ED88 0023BCC8 91 01 00 2C */ stw r8, 0x2c(r1) -/* 8023ED8C 0023BCCC 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8023ED90 0023BCD0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8023ED94 0023BCD4 4B EA BB 65 */ bl C_MTXLookAt -/* 8023ED98 0023BCD8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8023ED9C 0023BCDC 38 80 00 00 */ li r4, 0 -/* 8023EDA0 0023BCE0 4B EA A7 D9 */ bl GXLoadPosMtxImm -/* 8023EDA4 0023BCE4 C3 FF 00 14 */ lfs f31, 0x14(r31) -/* 8023EDA8 0023BCE8 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8023EDAC 0023BCEC C3 DF 00 10 */ lfs f30, 0x10(r31) -/* 8023EDB0 0023BCF0 EC 20 F8 28 */ fsubs f1, f0, f31 -/* 8023EDB4 0023BCF4 4B E8 2D 99 */ bl __cvt_fp2unsigned -/* 8023EDB8 0023BCF8 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023EDBC 0023BCFC 7C 7C 1B 78 */ mr r28, r3 -/* 8023EDC0 0023BD00 EC 20 F0 28 */ fsubs f1, f0, f30 -/* 8023EDC4 0023BD04 4B E8 2D 89 */ bl __cvt_fp2unsigned -/* 8023EDC8 0023BD08 FC 20 F8 90 */ fmr f1, f31 -/* 8023EDCC 0023BD0C 7C 7D 1B 78 */ mr r29, r3 -/* 8023EDD0 0023BD10 4B E8 2D 7D */ bl __cvt_fp2unsigned -/* 8023EDD4 0023BD14 FC 20 F0 90 */ fmr f1, f30 -/* 8023EDD8 0023BD18 7C 7E 1B 78 */ mr r30, r3 -/* 8023EDDC 0023BD1C 4B E8 2D 71 */ bl __cvt_fp2unsigned -/* 8023EDE0 0023BD20 7F C4 F3 78 */ mr r4, r30 -/* 8023EDE4 0023BD24 7F A5 EB 78 */ mr r5, r29 -/* 8023EDE8 0023BD28 7F 86 E3 78 */ mr r6, r28 -/* 8023EDEC 0023BD2C 4B EA A9 ED */ bl GXSetScissor -/* 8023EDF0 0023BD30 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023EDF4 0023BD34 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8023EDF8 0023BD38 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8023EDFC 0023BD3C C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 8023EE00 0023BD40 EC 80 10 28 */ fsubs f4, f0, f2 -/* 8023EE04 0023BD44 C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023EE08 0023BD48 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8023EE0C 0023BD4C C0 C2 C2 E0 */ lfs f6, lbl_8051A640@sda21(r2) -/* 8023EE10 0023BD50 4B EA A9 81 */ bl GXSetViewport -/* 8023EE14 0023BD54 38 60 00 00 */ li r3, 0 -/* 8023EE18 0023BD58 4B EA 61 85 */ bl GXSetNumTexGens -/* 8023EE1C 0023BD5C 38 60 00 00 */ li r3, 0 -/* 8023EE20 0023BD60 4B EA 95 35 */ bl GXSetNumIndStages -/* 8023EE24 0023BD64 38 60 00 00 */ li r3, 0 -/* 8023EE28 0023BD68 4B EA 96 01 */ bl __GXSetIndirectMask -/* 8023EE2C 0023BD6C 38 60 00 00 */ li r3, 0 -/* 8023EE30 0023BD70 4B EA A7 E9 */ bl GXSetCurrentMtx -/* 8023EE34 0023BD74 38 60 00 01 */ li r3, 1 -/* 8023EE38 0023BD78 4B EA 9D 81 */ bl GXSetNumTevStages -/* 8023EE3C 0023BD7C 38 60 00 00 */ li r3, 0 -/* 8023EE40 0023BD80 38 80 00 04 */ li r4, 4 -/* 8023EE44 0023BD84 4B EA 96 39 */ bl GXSetTevOp -/* 8023EE48 0023BD88 38 60 00 00 */ li r3, 0 -/* 8023EE4C 0023BD8C 38 80 00 FF */ li r4, 0xff -/* 8023EE50 0023BD90 38 A0 00 FF */ li r5, 0xff -/* 8023EE54 0023BD94 38 C0 00 04 */ li r6, 4 -/* 8023EE58 0023BD98 4B EA 9B C5 */ bl GXSetTevOrder -/* 8023EE5C 0023BD9C 38 60 00 01 */ li r3, 1 -/* 8023EE60 0023BDA0 4B EA 80 05 */ bl GXSetNumChans -/* 8023EE64 0023BDA4 81 1F 00 08 */ lwz r8, 8(r31) -/* 8023EE68 0023BDA8 38 81 00 0C */ addi r4, r1, 0xc -/* 8023EE6C 0023BDAC 38 60 00 04 */ li r3, 4 -/* 8023EE70 0023BDB0 88 E8 00 00 */ lbz r7, 0(r8) -/* 8023EE74 0023BDB4 88 C8 00 01 */ lbz r6, 1(r8) -/* 8023EE78 0023BDB8 88 A8 00 02 */ lbz r5, 2(r8) -/* 8023EE7C 0023BDBC 88 08 00 03 */ lbz r0, 3(r8) -/* 8023EE80 0023BDC0 98 E1 00 08 */ stb r7, 8(r1) -/* 8023EE84 0023BDC4 98 C1 00 09 */ stb r6, 9(r1) -/* 8023EE88 0023BDC8 98 A1 00 0A */ stb r5, 0xa(r1) -/* 8023EE8C 0023BDCC 98 01 00 0B */ stb r0, 0xb(r1) -/* 8023EE90 0023BDD0 80 01 00 08 */ lwz r0, 8(r1) -/* 8023EE94 0023BDD4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8023EE98 0023BDD8 4B EA 7E DD */ bl GXSetChanMatColor -/* 8023EE9C 0023BDDC 38 60 00 04 */ li r3, 4 -/* 8023EEA0 0023BDE0 38 80 00 00 */ li r4, 0 -/* 8023EEA4 0023BDE4 38 A0 00 00 */ li r5, 0 -/* 8023EEA8 0023BDE8 38 C0 00 00 */ li r6, 0 -/* 8023EEAC 0023BDEC 38 E0 00 00 */ li r7, 0 -/* 8023EEB0 0023BDF0 39 00 00 00 */ li r8, 0 -/* 8023EEB4 0023BDF4 39 20 00 02 */ li r9, 2 -/* 8023EEB8 0023BDF8 4B EA 7F E9 */ bl GXSetChanCtrl -/* 8023EEBC 0023BDFC 38 60 00 02 */ li r3, 2 -/* 8023EEC0 0023BE00 4B EA 6C E9 */ bl GXSetCullMode -/* 8023EEC4 0023BE04 38 60 00 00 */ li r3, 0 -/* 8023EEC8 0023BE08 38 80 00 00 */ li r4, 0 -/* 8023EECC 0023BE0C 38 A0 00 00 */ li r5, 0 -/* 8023EED0 0023BE10 4B EA A2 B5 */ bl GXSetZMode -/* 8023EED4 0023BE14 38 60 00 00 */ li r3, 0 -/* 8023EED8 0023BE18 38 80 00 01 */ li r4, 1 -/* 8023EEDC 0023BE1C 38 A0 00 01 */ li r5, 1 -/* 8023EEE0 0023BE20 38 C0 00 00 */ li r6, 0 -/* 8023EEE4 0023BE24 4B EA A1 F5 */ bl GXSetBlendMode -/* 8023EEE8 0023BE28 38 60 00 00 */ li r3, 0 -/* 8023EEEC 0023BE2C 4B EA A2 41 */ bl GXSetColorUpdate -/* 8023EEF0 0023BE30 38 60 00 01 */ li r3, 1 -/* 8023EEF4 0023BE34 4B EA A2 65 */ bl GXSetAlphaUpdate -/* 8023EEF8 0023BE38 38 60 00 01 */ li r3, 1 -/* 8023EEFC 0023BE3C 38 80 00 00 */ li r4, 0 -/* 8023EF00 0023BE40 4B EA A3 ED */ bl GXSetDstAlpha -/* 8023EF04 0023BE44 4B EA 57 CD */ bl GXClearVtxDesc -/* 8023EF08 0023BE48 4B EA 5E 05 */ bl GXInvalidateVtxCache -/* 8023EF0C 0023BE4C 38 60 00 09 */ li r3, 9 -/* 8023EF10 0023BE50 38 80 00 01 */ li r4, 1 -/* 8023EF14 0023BE54 4B EA 53 71 */ bl GXSetVtxDesc -/* 8023EF18 0023BE58 38 60 00 00 */ li r3, 0 -/* 8023EF1C 0023BE5C 38 80 00 09 */ li r4, 9 -/* 8023EF20 0023BE60 38 A0 00 01 */ li r5, 1 -/* 8023EF24 0023BE64 38 C0 00 04 */ li r6, 4 -/* 8023EF28 0023BE68 38 E0 00 00 */ li r7, 0 -/* 8023EF2C 0023BE6C 4B EA 57 DD */ bl GXSetVtxAttrFmt -/* 8023EF30 0023BE70 38 60 00 80 */ li r3, 0x80 -/* 8023EF34 0023BE74 38 80 00 00 */ li r4, 0 -/* 8023EF38 0023BE78 38 A0 00 04 */ li r5, 4 -/* 8023EF3C 0023BE7C 4B EA 6A 4D */ bl GXBegin -/* 8023EF40 0023BE80 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023EF44 0023BE84 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 8023EF48 0023BE88 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8023EF4C 0023BE8C 38 60 00 00 */ li r3, 0 -/* 8023EF50 0023BE90 C0 22 C2 C0 */ lfs f1, lbl_8051A620@sda21(r2) -/* 8023EF54 0023BE94 38 80 00 00 */ li r4, 0 -/* 8023EF58 0023BE98 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8023EF5C 0023BE9C D0 45 80 00 */ stfs f2, -0x8000(r5) -/* 8023EF60 0023BEA0 D0 25 80 00 */ stfs f1, -0x8000(r5) -/* 8023EF64 0023BEA4 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023EF68 0023BEA8 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023EF6C 0023BEAC D0 05 80 00 */ stfs f0, -0x8000(r5) -/* 8023EF70 0023BEB0 D0 45 80 00 */ stfs f2, -0x8000(r5) -/* 8023EF74 0023BEB4 D0 25 80 00 */ stfs f1, -0x8000(r5) -/* 8023EF78 0023BEB8 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023EF7C 0023BEBC C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023EF80 0023BEC0 D0 05 80 00 */ stfs f0, -0x8000(r5) -/* 8023EF84 0023BEC4 D0 45 80 00 */ stfs f2, -0x8000(r5) -/* 8023EF88 0023BEC8 D0 25 80 00 */ stfs f1, -0x8000(r5) -/* 8023EF8C 0023BECC C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023EF90 0023BED0 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8023EF94 0023BED4 D0 05 80 00 */ stfs f0, -0x8000(r5) -/* 8023EF98 0023BED8 D0 45 80 00 */ stfs f2, -0x8000(r5) -/* 8023EF9C 0023BEDC D0 25 80 00 */ stfs f1, -0x8000(r5) -/* 8023EFA0 0023BEE0 4B EA A3 4D */ bl GXSetDstAlpha -/* 8023EFA4 0023BEE4 80 02 C2 F8 */ lwz r0, lbl_8051A658@sda21(r2) -/* 8023EFA8 0023BEE8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8023EFAC 0023BEEC 38 60 00 04 */ li r3, 4 -/* 8023EFB0 0023BEF0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8023EFB4 0023BEF4 4B EA 7D C1 */ bl GXSetChanMatColor -/* 8023EFB8 0023BEF8 4B EA 57 19 */ bl GXClearVtxDesc -/* 8023EFBC 0023BEFC 4B EA 5D 51 */ bl GXInvalidateVtxCache -/* 8023EFC0 0023BF00 38 60 00 09 */ li r3, 9 -/* 8023EFC4 0023BF04 38 80 00 03 */ li r4, 3 -/* 8023EFC8 0023BF08 4B EA 52 BD */ bl GXSetVtxDesc -/* 8023EFCC 0023BF0C 38 60 00 00 */ li r3, 0 -/* 8023EFD0 0023BF10 38 80 00 09 */ li r4, 9 -/* 8023EFD4 0023BF14 38 A0 00 01 */ li r5, 1 -/* 8023EFD8 0023BF18 38 C0 00 04 */ li r6, 4 -/* 8023EFDC 0023BF1C 38 E0 00 00 */ li r7, 0 -/* 8023EFE0 0023BF20 4B EA 57 29 */ bl GXSetVtxAttrFmt -/* 8023EFE4 0023BF24 3C 80 80 4F */ lis r4, sCylinderVertPos__4Game@ha -/* 8023EFE8 0023BF28 38 60 00 09 */ li r3, 9 -/* 8023EFEC 0023BF2C 38 84 79 D0 */ addi r4, r4, sCylinderVertPos__4Game@l -/* 8023EFF0 0023BF30 38 A0 00 0C */ li r5, 0xc -/* 8023EFF4 0023BF34 4B EA 5C 8D */ bl GXSetArray -/* 8023EFF8 0023BF38 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8023EFFC 0023BF3C CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8023F000 0023BF40 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8023F004 0023BF44 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8023F008 0023BF48 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8023F00C 0023BF4C 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8023F010 0023BF50 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8023F014 0023BF54 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8023F018 0023BF58 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 8023F01C 0023BF5C 7C 08 03 A6 */ mtlr r0 -/* 8023F020 0023BF60 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8023F024 0023BF64 4E 80 00 20 */ blr - -.global drawCylinder__Q24Game15ShadowCylinder3FR7Matrixfi -drawCylinder__Q24Game15ShadowCylinder3FR7Matrixfi: -/* 8023F028 0023BF68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023F02C 0023BF6C 7C 08 02 A6 */ mflr r0 -/* 8023F030 0023BF70 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023F034 0023BF74 7C 80 23 78 */ mr r0, r4 -/* 8023F038 0023BF78 38 80 00 00 */ li r4, 0 -/* 8023F03C 0023BF7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023F040 0023BF80 7C BF 2B 78 */ mr r31, r5 -/* 8023F044 0023BF84 93 C1 00 08 */ stw r30, 8(r1) -/* 8023F048 0023BF88 7C 7E 1B 78 */ mr r30, r3 -/* 8023F04C 0023BF8C 7C 03 03 78 */ mr r3, r0 -/* 8023F050 0023BF90 4B EA A5 29 */ bl GXLoadPosMtxImm -/* 8023F054 0023BF94 38 60 00 01 */ li r3, 1 -/* 8023F058 0023BF98 4B EA 6B 51 */ bl GXSetCullMode -/* 8023F05C 0023BF9C 38 60 00 01 */ li r3, 1 -/* 8023F060 0023BFA0 38 80 00 06 */ li r4, 6 -/* 8023F064 0023BFA4 38 A0 00 00 */ li r5, 0 -/* 8023F068 0023BFA8 4B EA A1 1D */ bl GXSetZMode -/* 8023F06C 0023BFAC 38 60 00 01 */ li r3, 1 -/* 8023F070 0023BFB0 38 80 00 01 */ li r4, 1 -/* 8023F074 0023BFB4 38 A0 00 01 */ li r5, 1 -/* 8023F078 0023BFB8 38 C0 00 05 */ li r6, 5 -/* 8023F07C 0023BFBC 4B EA A0 5D */ bl GXSetBlendMode -/* 8023F080 0023BFC0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8023F084 0023BFC4 57 FF 10 3A */ slwi r31, r31, 2 -/* 8023F088 0023BFC8 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 8023F08C 0023BFCC 80 03 00 08 */ lwz r0, 8(r3) -/* 8023F090 0023BFD0 80 63 00 04 */ lwz r3, 4(r3) -/* 8023F094 0023BFD4 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 8023F098 0023BFD8 4B EA A3 41 */ bl GXCallDisplayList -/* 8023F09C 0023BFDC 38 60 00 02 */ li r3, 2 -/* 8023F0A0 0023BFE0 4B EA 6B 09 */ bl GXSetCullMode -/* 8023F0A4 0023BFE4 38 60 00 01 */ li r3, 1 -/* 8023F0A8 0023BFE8 38 80 00 03 */ li r4, 3 -/* 8023F0AC 0023BFEC 38 A0 00 00 */ li r5, 0 -/* 8023F0B0 0023BFF0 4B EA A0 D5 */ bl GXSetZMode -/* 8023F0B4 0023BFF4 80 7E 00 04 */ lwz r3, 4(r30) -/* 8023F0B8 0023BFF8 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 8023F0BC 0023BFFC 80 03 00 08 */ lwz r0, 8(r3) -/* 8023F0C0 0023C000 80 63 00 04 */ lwz r3, 4(r3) -/* 8023F0C4 0023C004 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 8023F0C8 0023C008 4B EA A3 11 */ bl GXCallDisplayList -/* 8023F0CC 0023C00C 38 60 00 00 */ li r3, 0 -/* 8023F0D0 0023C010 38 80 00 07 */ li r4, 7 -/* 8023F0D4 0023C014 38 A0 00 00 */ li r5, 0 -/* 8023F0D8 0023C018 4B EA A0 AD */ bl GXSetZMode -/* 8023F0DC 0023C01C 38 60 00 03 */ li r3, 3 -/* 8023F0E0 0023C020 38 80 00 01 */ li r4, 1 -/* 8023F0E4 0023C024 38 A0 00 01 */ li r5, 1 -/* 8023F0E8 0023C028 38 C0 00 05 */ li r6, 5 -/* 8023F0EC 0023C02C 4B EA 9F ED */ bl GXSetBlendMode -/* 8023F0F0 0023C030 80 7E 00 04 */ lwz r3, 4(r30) -/* 8023F0F4 0023C034 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 8023F0F8 0023C038 80 03 00 08 */ lwz r0, 8(r3) -/* 8023F0FC 0023C03C 80 63 00 04 */ lwz r3, 4(r3) -/* 8023F100 0023C040 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 8023F104 0023C044 4B EA A2 D5 */ bl GXCallDisplayList -/* 8023F108 0023C048 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023F10C 0023C04C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023F110 0023C050 83 C1 00 08 */ lwz r30, 8(r1) -/* 8023F114 0023C054 7C 08 03 A6 */ mtlr r0 -/* 8023F118 0023C058 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023F11C 0023C05C 4E 80 00 20 */ blr - -.global drawFinish__Q24Game15ShadowCylinder3Fv -drawFinish__Q24Game15ShadowCylinder3Fv: -/* 8023F120 0023C060 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8023F124 0023C064 7C 08 02 A6 */ mflr r0 -/* 8023F128 0023C068 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8023F12C 0023C06C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8023F130 0023C070 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8023F134 0023C074 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8023F138 0023C078 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8023F13C 0023C07C 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8023F140 0023C080 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8023F144 0023C084 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8023F148 0023C088 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8023F14C 0023C08C 7C 7F 1B 78 */ mr r31, r3 -/* 8023F150 0023C090 3C 60 80 48 */ lis r3, lbl_80483F58@ha -/* 8023F154 0023C094 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8023F158 0023C098 3B C3 3F 58 */ addi r30, r3, lbl_80483F58@l -/* 8023F15C 0023C09C C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023F160 0023C0A0 38 61 00 64 */ addi r3, r1, 0x64 -/* 8023F164 0023C0A4 C0 7F 00 10 */ lfs f3, 0x10(r31) -/* 8023F168 0023C0A8 C0 9F 00 18 */ lfs f4, 0x18(r31) -/* 8023F16C 0023C0AC C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023F170 0023C0B0 C0 C2 C2 F0 */ lfs f6, lbl_8051A650@sda21(r2) -/* 8023F174 0023C0B4 4B EA BC 65 */ bl C_MTXOrtho -/* 8023F178 0023C0B8 38 61 00 64 */ addi r3, r1, 0x64 -/* 8023F17C 0023C0BC 38 80 00 01 */ li r4, 1 -/* 8023F180 0023C0C0 4B EA A2 C9 */ bl GXSetProjection -/* 8023F184 0023C0C4 83 BE 00 40 */ lwz r29, 0x40(r30) -/* 8023F188 0023C0C8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8023F18C 0023C0CC 83 9E 00 44 */ lwz r28, 0x44(r30) -/* 8023F190 0023C0D0 38 81 00 28 */ addi r4, r1, 0x28 -/* 8023F194 0023C0D4 81 9E 00 48 */ lwz r12, 0x48(r30) -/* 8023F198 0023C0D8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8023F19C 0023C0DC 81 7E 00 4C */ lwz r11, 0x4c(r30) -/* 8023F1A0 0023C0E0 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8023F1A4 0023C0E4 81 5E 00 50 */ lwz r10, 0x50(r30) -/* 8023F1A8 0023C0E8 81 3E 00 54 */ lwz r9, 0x54(r30) -/* 8023F1AC 0023C0EC 81 1E 00 58 */ lwz r8, 0x58(r30) -/* 8023F1B0 0023C0F0 80 FE 00 5C */ lwz r7, 0x5c(r30) -/* 8023F1B4 0023C0F4 80 1E 00 60 */ lwz r0, 0x60(r30) -/* 8023F1B8 0023C0F8 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8023F1BC 0023C0FC 93 81 00 14 */ stw r28, 0x14(r1) -/* 8023F1C0 0023C100 91 81 00 18 */ stw r12, 0x18(r1) -/* 8023F1C4 0023C104 91 61 00 1C */ stw r11, 0x1c(r1) -/* 8023F1C8 0023C108 91 41 00 20 */ stw r10, 0x20(r1) -/* 8023F1CC 0023C10C 91 21 00 24 */ stw r9, 0x24(r1) -/* 8023F1D0 0023C110 91 01 00 28 */ stw r8, 0x28(r1) -/* 8023F1D4 0023C114 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8023F1D8 0023C118 90 01 00 30 */ stw r0, 0x30(r1) -/* 8023F1DC 0023C11C 4B EA B7 1D */ bl C_MTXLookAt -/* 8023F1E0 0023C120 38 61 00 34 */ addi r3, r1, 0x34 -/* 8023F1E4 0023C124 38 80 00 00 */ li r4, 0 -/* 8023F1E8 0023C128 4B EA A3 91 */ bl GXLoadPosMtxImm -/* 8023F1EC 0023C12C C3 FF 00 14 */ lfs f31, 0x14(r31) -/* 8023F1F0 0023C130 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8023F1F4 0023C134 C3 DF 00 10 */ lfs f30, 0x10(r31) -/* 8023F1F8 0023C138 EC 20 F8 28 */ fsubs f1, f0, f31 -/* 8023F1FC 0023C13C 4B E8 29 51 */ bl __cvt_fp2unsigned -/* 8023F200 0023C140 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023F204 0023C144 7C 7C 1B 78 */ mr r28, r3 -/* 8023F208 0023C148 EC 20 F0 28 */ fsubs f1, f0, f30 -/* 8023F20C 0023C14C 4B E8 29 41 */ bl __cvt_fp2unsigned -/* 8023F210 0023C150 FC 20 F8 90 */ fmr f1, f31 -/* 8023F214 0023C154 7C 7D 1B 78 */ mr r29, r3 -/* 8023F218 0023C158 4B E8 29 35 */ bl __cvt_fp2unsigned -/* 8023F21C 0023C15C FC 20 F0 90 */ fmr f1, f30 -/* 8023F220 0023C160 7C 7E 1B 78 */ mr r30, r3 -/* 8023F224 0023C164 4B E8 29 29 */ bl __cvt_fp2unsigned -/* 8023F228 0023C168 7F C4 F3 78 */ mr r4, r30 -/* 8023F22C 0023C16C 7F A5 EB 78 */ mr r5, r29 -/* 8023F230 0023C170 7F 86 E3 78 */ mr r6, r28 -/* 8023F234 0023C174 4B EA A5 A5 */ bl GXSetScissor -/* 8023F238 0023C178 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023F23C 0023C17C C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8023F240 0023C180 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8023F244 0023C184 C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 8023F248 0023C188 EC 80 10 28 */ fsubs f4, f0, f2 -/* 8023F24C 0023C18C C0 A2 C2 C0 */ lfs f5, lbl_8051A620@sda21(r2) -/* 8023F250 0023C190 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8023F254 0023C194 C0 C2 C2 E0 */ lfs f6, lbl_8051A640@sda21(r2) -/* 8023F258 0023C198 4B EA A5 39 */ bl GXSetViewport -/* 8023F25C 0023C19C 38 60 00 01 */ li r3, 1 -/* 8023F260 0023C1A0 4B EA 9E CD */ bl GXSetColorUpdate -/* 8023F264 0023C1A4 38 60 00 01 */ li r3, 1 -/* 8023F268 0023C1A8 4B EA 9E F1 */ bl GXSetAlphaUpdate -/* 8023F26C 0023C1AC 81 1F 00 08 */ lwz r8, 8(r31) -/* 8023F270 0023C1B0 38 81 00 0C */ addi r4, r1, 0xc -/* 8023F274 0023C1B4 38 60 00 04 */ li r3, 4 -/* 8023F278 0023C1B8 88 E8 00 00 */ lbz r7, 0(r8) -/* 8023F27C 0023C1BC 88 C8 00 01 */ lbz r6, 1(r8) -/* 8023F280 0023C1C0 88 A8 00 02 */ lbz r5, 2(r8) -/* 8023F284 0023C1C4 88 08 00 03 */ lbz r0, 3(r8) -/* 8023F288 0023C1C8 98 E1 00 08 */ stb r7, 8(r1) -/* 8023F28C 0023C1CC 98 C1 00 09 */ stb r6, 9(r1) -/* 8023F290 0023C1D0 98 A1 00 0A */ stb r5, 0xa(r1) -/* 8023F294 0023C1D4 98 01 00 0B */ stb r0, 0xb(r1) -/* 8023F298 0023C1D8 80 01 00 08 */ lwz r0, 8(r1) -/* 8023F29C 0023C1DC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8023F2A0 0023C1E0 4B EA 7A D5 */ bl GXSetChanMatColor -/* 8023F2A4 0023C1E4 38 60 00 02 */ li r3, 2 -/* 8023F2A8 0023C1E8 4B EA 69 01 */ bl GXSetCullMode -/* 8023F2AC 0023C1EC 38 60 00 00 */ li r3, 0 -/* 8023F2B0 0023C1F0 38 80 00 00 */ li r4, 0 -/* 8023F2B4 0023C1F4 38 A0 00 00 */ li r5, 0 -/* 8023F2B8 0023C1F8 4B EA 9E CD */ bl GXSetZMode -/* 8023F2BC 0023C1FC 7F E3 FB 78 */ mr r3, r31 -/* 8023F2C0 0023C200 48 00 00 35 */ bl drawScreenFilter__Q24Game15ShadowCylinder3Fv -/* 8023F2C4 0023C204 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8023F2C8 0023C208 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8023F2CC 0023C20C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8023F2D0 0023C210 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8023F2D4 0023C214 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8023F2D8 0023C218 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8023F2DC 0023C21C 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8023F2E0 0023C220 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8023F2E4 0023C224 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 8023F2E8 0023C228 7C 08 03 A6 */ mtlr r0 -/* 8023F2EC 0023C22C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8023F2F0 0023C230 4E 80 00 20 */ blr - -.global drawScreenFilter__Q24Game15ShadowCylinder3Fv -drawScreenFilter__Q24Game15ShadowCylinder3Fv: -/* 8023F2F4 0023C234 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023F2F8 0023C238 7C 08 02 A6 */ mflr r0 -/* 8023F2FC 0023C23C 38 80 00 06 */ li r4, 6 -/* 8023F300 0023C240 38 A0 00 07 */ li r5, 7 -/* 8023F304 0023C244 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023F308 0023C248 38 C0 00 05 */ li r6, 5 -/* 8023F30C 0023C24C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023F310 0023C250 7C 7F 1B 78 */ mr r31, r3 -/* 8023F314 0023C254 38 60 00 01 */ li r3, 1 -/* 8023F318 0023C258 4B EA 9D C1 */ bl GXSetBlendMode -/* 8023F31C 0023C25C 4B EA 53 B5 */ bl GXClearVtxDesc -/* 8023F320 0023C260 4B EA 59 ED */ bl GXInvalidateVtxCache -/* 8023F324 0023C264 38 60 00 09 */ li r3, 9 -/* 8023F328 0023C268 38 80 00 01 */ li r4, 1 -/* 8023F32C 0023C26C 4B EA 4F 59 */ bl GXSetVtxDesc -/* 8023F330 0023C270 38 60 00 00 */ li r3, 0 -/* 8023F334 0023C274 38 80 00 09 */ li r4, 9 -/* 8023F338 0023C278 38 A0 00 01 */ li r5, 1 -/* 8023F33C 0023C27C 38 C0 00 04 */ li r6, 4 -/* 8023F340 0023C280 38 E0 00 00 */ li r7, 0 -/* 8023F344 0023C284 4B EA 53 C5 */ bl GXSetVtxAttrFmt -/* 8023F348 0023C288 38 60 00 80 */ li r3, 0x80 -/* 8023F34C 0023C28C 38 80 00 00 */ li r4, 0 -/* 8023F350 0023C290 38 A0 00 04 */ li r5, 4 -/* 8023F354 0023C294 4B EA 66 35 */ bl GXBegin -/* 8023F358 0023C298 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023F35C 0023C29C 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8023F360 0023C2A0 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8023F364 0023C2A4 C0 22 C2 C0 */ lfs f1, lbl_8051A620@sda21(r2) -/* 8023F368 0023C2A8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8023F36C 0023C2AC D0 43 80 00 */ stfs f2, -0x8000(r3) -/* 8023F370 0023C2B0 D0 23 80 00 */ stfs f1, -0x8000(r3) -/* 8023F374 0023C2B4 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 8023F378 0023C2B8 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023F37C 0023C2BC D0 03 80 00 */ stfs f0, -0x8000(r3) -/* 8023F380 0023C2C0 D0 43 80 00 */ stfs f2, -0x8000(r3) -/* 8023F384 0023C2C4 D0 23 80 00 */ stfs f1, -0x8000(r3) -/* 8023F388 0023C2C8 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023F38C 0023C2CC C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8023F390 0023C2D0 D0 03 80 00 */ stfs f0, -0x8000(r3) -/* 8023F394 0023C2D4 D0 43 80 00 */ stfs f2, -0x8000(r3) -/* 8023F398 0023C2D8 D0 23 80 00 */ stfs f1, -0x8000(r3) -/* 8023F39C 0023C2DC C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 8023F3A0 0023C2E0 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8023F3A4 0023C2E4 D0 03 80 00 */ stfs f0, -0x8000(r3) -/* 8023F3A8 0023C2E8 D0 43 80 00 */ stfs f2, -0x8000(r3) -/* 8023F3AC 0023C2EC D0 23 80 00 */ stfs f1, -0x8000(r3) -/* 8023F3B0 0023C2F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023F3B4 0023C2F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023F3B8 0023C2F8 7C 08 03 A6 */ mtlr r0 -/* 8023F3BC 0023C2FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023F3C0 0023C300 4E 80 00 20 */ blr - -.global setFilterTextureID__Q24Game15ShadowCylinder3Fi -setFilterTextureID__Q24Game15ShadowCylinder3Fi: -/* 8023F3C4 0023C304 4E 80 00 20 */ blr - -.global __sinit_ShadowCylinder_cpp -__sinit_ShadowCylinder_cpp: -/* 8023F3C8 0023C308 3C 80 80 51 */ lis r4, __float_nan@ha -/* 8023F3CC 0023C30C 38 00 FF FF */ li r0, -1 -/* 8023F3D0 0023C310 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 8023F3D4 0023C314 3C 60 80 4C */ lis r3, lbl_804C1780@ha -/* 8023F3D8 0023C318 90 0D 96 68 */ stw r0, lbl_80515CE8@sda21(r13) -/* 8023F3DC 0023C31C D4 03 17 80 */ stfsu f0, lbl_804C1780@l(r3) -/* 8023F3E0 0023C320 D0 0D 96 6C */ stfs f0, lbl_80515CEC@sda21(r13) -/* 8023F3E4 0023C324 D0 03 00 04 */ stfs f0, 4(r3) -/* 8023F3E8 0023C328 D0 03 00 08 */ stfs f0, 8(r3) -/* 8023F3EC 0023C32C 4E 80 00 20 */ blr - -.global __ct__Q24Game10PlayCameraFPQ24Game4Navi -__ct__Q24Game10PlayCameraFPQ24Game4Navi: -/* 8023F3F0 0023C330 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023F3F4 0023C334 7C 08 02 A6 */ mflr r0 -/* 8023F3F8 0023C338 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023F3FC 0023C33C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023F400 0023C340 7C 9F 23 78 */ mr r31, r4 -/* 8023F404 0023C344 93 C1 00 08 */ stw r30, 8(r1) -/* 8023F408 0023C348 7C 7E 1B 78 */ mr r30, r3 -/* 8023F40C 0023C34C 48 1D C0 8D */ bl __ct__12LookAtCameraFv -/* 8023F410 0023C350 3C 80 80 4C */ lis r4, __vt__Q24Game10PlayCamera@ha -/* 8023F414 0023C354 3C 60 80 48 */ lis r3, lbl_80483FD0@ha -/* 8023F418 0023C358 38 04 19 64 */ addi r0, r4, __vt__Q24Game10PlayCamera@l -/* 8023F41C 0023C35C 38 A0 00 00 */ li r5, 0 -/* 8023F420 0023C360 90 1E 00 00 */ stw r0, 0(r30) -/* 8023F424 0023C364 38 80 00 01 */ li r4, 1 -/* 8023F428 0023C368 C0 82 C3 00 */ lfs f4, lbl_8051A660@sda21(r2) -/* 8023F42C 0023C36C 38 03 3F D0 */ addi r0, r3, lbl_80483FD0@l -/* 8023F430 0023C370 93 FE 01 98 */ stw r31, 0x198(r30) -/* 8023F434 0023C374 7F C3 F3 78 */ mr r3, r30 -/* 8023F438 0023C378 C0 62 C3 04 */ lfs f3, lbl_8051A664@sda21(r2) -/* 8023F43C 0023C37C 90 BE 01 9C */ stw r5, 0x19c(r30) -/* 8023F440 0023C380 C0 42 C3 08 */ lfs f2, lbl_8051A668@sda21(r2) -/* 8023F444 0023C384 90 9E 01 A0 */ stw r4, 0x1a0(r30) -/* 8023F448 0023C388 C0 22 C3 0C */ lfs f1, lbl_8051A66C@sda21(r2) -/* 8023F44C 0023C38C 90 BE 01 A4 */ stw r5, 0x1a4(r30) -/* 8023F450 0023C390 C0 02 C3 10 */ lfs f0, lbl_8051A670@sda21(r2) -/* 8023F454 0023C394 98 9E 02 48 */ stb r4, 0x248(r30) -/* 8023F458 0023C398 98 BE 02 49 */ stb r5, 0x249(r30) -/* 8023F45C 0023C39C D0 9E 01 AC */ stfs f4, 0x1ac(r30) -/* 8023F460 0023C3A0 D0 9E 01 A8 */ stfs f4, 0x1a8(r30) -/* 8023F464 0023C3A4 D0 7E 01 B4 */ stfs f3, 0x1b4(r30) -/* 8023F468 0023C3A8 D0 7E 01 B0 */ stfs f3, 0x1b0(r30) -/* 8023F46C 0023C3AC D0 7E 01 BC */ stfs f3, 0x1bc(r30) -/* 8023F470 0023C3B0 D0 7E 01 B8 */ stfs f3, 0x1b8(r30) -/* 8023F474 0023C3B4 D0 5E 01 C0 */ stfs f2, 0x1c0(r30) -/* 8023F478 0023C3B8 D0 5E 00 28 */ stfs f2, 0x28(r30) -/* 8023F47C 0023C3BC D0 3E 01 C4 */ stfs f1, 0x1c4(r30) -/* 8023F480 0023C3C0 D0 3E 00 70 */ stfs f1, 0x70(r30) -/* 8023F484 0023C3C4 D0 1E 01 C8 */ stfs f0, 0x1c8(r30) -/* 8023F488 0023C3C8 D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 8023F48C 0023C3CC D0 7E 01 CC */ stfs f3, 0x1cc(r30) -/* 8023F490 0023C3D0 D0 7E 01 D0 */ stfs f3, 0x1d0(r30) -/* 8023F494 0023C3D4 D0 7E 01 D4 */ stfs f3, 0x1d4(r30) -/* 8023F498 0023C3D8 D0 7E 01 D8 */ stfs f3, 0x1d8(r30) -/* 8023F49C 0023C3DC D0 7E 01 DC */ stfs f3, 0x1dc(r30) -/* 8023F4A0 0023C3E0 D0 7E 01 E0 */ stfs f3, 0x1e0(r30) -/* 8023F4A4 0023C3E4 98 BE 01 F0 */ stb r5, 0x1f0(r30) -/* 8023F4A8 0023C3E8 D0 7E 02 3C */ stfs f3, 0x23c(r30) -/* 8023F4AC 0023C3EC D0 7E 02 30 */ stfs f3, 0x230(r30) -/* 8023F4B0 0023C3F0 D0 7E 02 24 */ stfs f3, 0x224(r30) -/* 8023F4B4 0023C3F4 D0 7E 02 18 */ stfs f3, 0x218(r30) -/* 8023F4B8 0023C3F8 D0 7E 02 0C */ stfs f3, 0x20c(r30) -/* 8023F4BC 0023C3FC D0 7E 02 00 */ stfs f3, 0x200(r30) -/* 8023F4C0 0023C400 D0 7E 01 F4 */ stfs f3, 0x1f4(r30) -/* 8023F4C4 0023C404 98 BE 01 F1 */ stb r5, 0x1f1(r30) -/* 8023F4C8 0023C408 D0 7E 02 40 */ stfs f3, 0x240(r30) -/* 8023F4CC 0023C40C D0 7E 02 34 */ stfs f3, 0x234(r30) -/* 8023F4D0 0023C410 D0 7E 02 28 */ stfs f3, 0x228(r30) -/* 8023F4D4 0023C414 D0 7E 02 1C */ stfs f3, 0x21c(r30) -/* 8023F4D8 0023C418 D0 7E 02 10 */ stfs f3, 0x210(r30) -/* 8023F4DC 0023C41C D0 7E 02 04 */ stfs f3, 0x204(r30) -/* 8023F4E0 0023C420 D0 7E 01 F8 */ stfs f3, 0x1f8(r30) -/* 8023F4E4 0023C424 98 BE 01 F2 */ stb r5, 0x1f2(r30) -/* 8023F4E8 0023C428 D0 7E 02 44 */ stfs f3, 0x244(r30) -/* 8023F4EC 0023C42C D0 7E 02 38 */ stfs f3, 0x238(r30) -/* 8023F4F0 0023C430 D0 7E 02 2C */ stfs f3, 0x22c(r30) -/* 8023F4F4 0023C434 D0 7E 02 20 */ stfs f3, 0x220(r30) -/* 8023F4F8 0023C438 D0 7E 02 14 */ stfs f3, 0x214(r30) -/* 8023F4FC 0023C43C D0 7E 02 08 */ stfs f3, 0x208(r30) -/* 8023F500 0023C440 D0 7E 01 FC */ stfs f3, 0x1fc(r30) -/* 8023F504 0023C444 90 BE 02 4C */ stw r5, 0x24c(r30) -/* 8023F508 0023C448 90 BE 02 50 */ stw r5, 0x250(r30) -/* 8023F50C 0023C44C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8023F510 0023C450 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023F514 0023C454 83 C1 00 08 */ lwz r30, 8(r1) -/* 8023F518 0023C458 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023F51C 0023C45C 7C 08 03 A6 */ mtlr r0 -/* 8023F520 0023C460 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023F524 0023C464 4E 80 00 20 */ blr - -.global setCameraParms__Q24Game10PlayCameraFPQ24Game11CameraParms -setCameraParms__Q24Game10PlayCameraFPQ24Game11CameraParms: -/* 8023F528 0023C468 90 83 02 4C */ stw r4, 0x24c(r3) -/* 8023F52C 0023C46C 4E 80 00 20 */ blr - -.global setVibrationParms__Q24Game10PlayCameraFPQ24Game14VibrationParms -setVibrationParms__Q24Game10PlayCameraFPQ24Game14VibrationParms: -/* 8023F530 0023C470 90 83 02 50 */ stw r4, 0x250(r3) -/* 8023F534 0023C474 4E 80 00 20 */ blr - -.global init__Q24Game10PlayCameraFv -init__Q24Game10PlayCameraFv: -/* 8023F538 0023C478 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023F53C 0023C47C 7C 08 02 A6 */ mflr r0 -/* 8023F540 0023C480 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023F544 0023C484 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023F548 0023C488 7C 7F 1B 78 */ mr r31, r3 -/* 8023F54C 0023C48C 80 03 01 98 */ lwz r0, 0x198(r3) -/* 8023F550 0023C490 28 00 00 00 */ cmplwi r0, 0 -/* 8023F554 0023C494 40 82 00 20 */ bne lbl_8023F574 -/* 8023F558 0023C498 3C 60 80 48 */ lis r3, lbl_80483FDC@ha -/* 8023F55C 0023C49C 3C A0 80 48 */ lis r5, lbl_80483FEC@ha -/* 8023F560 0023C4A0 38 63 3F DC */ addi r3, r3, lbl_80483FDC@l -/* 8023F564 0023C4A4 38 80 00 78 */ li r4, 0x78 -/* 8023F568 0023C4A8 38 A5 3F EC */ addi r5, r5, lbl_80483FEC@l -/* 8023F56C 0023C4AC 4C C6 31 82 */ crclr 6 -/* 8023F570 0023C4B0 4B DE B0 D1 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8023F574: -/* 8023F574 0023C4B4 80 1F 02 4C */ lwz r0, 0x24c(r31) -/* 8023F578 0023C4B8 28 00 00 00 */ cmplwi r0, 0 -/* 8023F57C 0023C4BC 40 82 00 20 */ bne lbl_8023F59C -/* 8023F580 0023C4C0 3C 60 80 48 */ lis r3, lbl_80483FDC@ha -/* 8023F584 0023C4C4 3C A0 80 48 */ lis r5, lbl_80483FEC@ha -/* 8023F588 0023C4C8 38 63 3F DC */ addi r3, r3, lbl_80483FDC@l -/* 8023F58C 0023C4CC 38 80 00 79 */ li r4, 0x79 -/* 8023F590 0023C4D0 38 A5 3F EC */ addi r5, r5, lbl_80483FEC@l -/* 8023F594 0023C4D4 4C C6 31 82 */ crclr 6 -/* 8023F598 0023C4D8 4B DE B0 A9 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8023F59C: -/* 8023F59C 0023C4DC 80 1F 02 50 */ lwz r0, 0x250(r31) -/* 8023F5A0 0023C4E0 28 00 00 00 */ cmplwi r0, 0 -/* 8023F5A4 0023C4E4 40 82 00 20 */ bne lbl_8023F5C4 -/* 8023F5A8 0023C4E8 3C 60 80 48 */ lis r3, lbl_80483FDC@ha -/* 8023F5AC 0023C4EC 3C A0 80 48 */ lis r5, lbl_80483FEC@ha -/* 8023F5B0 0023C4F0 38 63 3F DC */ addi r3, r3, lbl_80483FDC@l -/* 8023F5B4 0023C4F4 38 80 00 7A */ li r4, 0x7a -/* 8023F5B8 0023C4F8 38 A5 3F EC */ addi r5, r5, lbl_80483FEC@l -/* 8023F5BC 0023C4FC 4C C6 31 82 */ crclr 6 -/* 8023F5C0 0023C500 4B DE B0 81 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8023F5C4: -/* 8023F5C4 0023C504 38 80 00 01 */ li r4, 1 -/* 8023F5C8 0023C508 38 00 00 00 */ li r0, 0 -/* 8023F5CC 0023C50C 98 9F 02 48 */ stb r4, 0x248(r31) -/* 8023F5D0 0023C510 7F E3 FB 78 */ mr r3, r31 -/* 8023F5D4 0023C514 90 1F 01 9C */ stw r0, 0x19c(r31) -/* 8023F5D8 0023C518 90 9F 01 A0 */ stw r4, 0x1a0(r31) -/* 8023F5DC 0023C51C 90 1F 01 A4 */ stw r0, 0x1a4(r31) -/* 8023F5E0 0023C520 48 00 09 ED */ bl setTargetParms__Q24Game10PlayCameraFv -/* 8023F5E4 0023C524 7F E3 FB 78 */ mr r3, r31 -/* 8023F5E8 0023C528 48 00 0E A5 */ bl changeTargetAtPosition__Q24Game10PlayCameraFv -/* 8023F5EC 0023C52C C0 1F 01 AC */ lfs f0, 0x1ac(r31) -/* 8023F5F0 0023C530 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8023F5F4 0023C534 80 7F 01 98 */ lwz r3, 0x198(r31) -/* 8023F5F8 0023C538 81 83 00 00 */ lwz r12, 0(r3) -/* 8023F5FC 0023C53C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8023F600 0023C540 7D 89 03 A6 */ mtctr r12 -/* 8023F604 0023C544 4E 80 04 21 */ bctrl -/* 8023F608 0023C548 C0 42 C3 14 */ lfs f2, lbl_8051A674@sda21(r2) -/* 8023F60C 0023C54C C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 8023F610 0023C550 EC 22 08 2A */ fadds f1, f2, f1 -/* 8023F614 0023C554 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023F618 0023C558 40 80 00 10 */ bge lbl_8023F628 -/* 8023F61C 0023C55C C0 02 C3 18 */ lfs f0, lbl_8051A678@sda21(r2) -/* 8023F620 0023C560 EC 20 08 2A */ fadds f1, f0, f1 -/* 8023F624 0023C564 48 00 00 18 */ b lbl_8023F63C -lbl_8023F628: -/* 8023F628 0023C568 C0 02 C3 18 */ lfs f0, lbl_8051A678@sda21(r2) -/* 8023F62C 0023C56C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023F630 0023C570 4C 41 13 82 */ cror 2, 1, 2 -/* 8023F634 0023C574 40 82 00 08 */ bne lbl_8023F63C -/* 8023F638 0023C578 EC 21 00 28 */ fsubs f1, f1, f0 -lbl_8023F63C: -/* 8023F63C 0023C57C D0 3F 01 B4 */ stfs f1, 0x1b4(r31) -/* 8023F640 0023C580 7F E3 FB 78 */ mr r3, r31 -/* 8023F644 0023C584 D0 3F 01 B0 */ stfs f1, 0x1b0(r31) -/* 8023F648 0023C588 C0 1F 01 BC */ lfs f0, 0x1bc(r31) -/* 8023F64C 0023C58C D0 1F 01 B8 */ stfs f0, 0x1b8(r31) -/* 8023F650 0023C590 C0 1F 01 C0 */ lfs f0, 0x1c0(r31) -/* 8023F654 0023C594 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 8023F658 0023C598 C0 1F 01 C4 */ lfs f0, 0x1c4(r31) -/* 8023F65C 0023C59C D0 1F 00 70 */ stfs f0, 0x70(r31) -/* 8023F660 0023C5A0 C0 1F 01 C8 */ lfs f0, 0x1c8(r31) -/* 8023F664 0023C5A4 D0 1F 00 74 */ stfs f0, 0x74(r31) -/* 8023F668 0023C5A8 C0 1F 01 E4 */ lfs f0, 0x1e4(r31) -/* 8023F66C 0023C5AC D0 1F 01 80 */ stfs f0, 0x180(r31) -/* 8023F670 0023C5B0 C0 1F 01 E8 */ lfs f0, 0x1e8(r31) -/* 8023F674 0023C5B4 D0 1F 01 84 */ stfs f0, 0x184(r31) -/* 8023F678 0023C5B8 C0 1F 01 EC */ lfs f0, 0x1ec(r31) -/* 8023F67C 0023C5BC D0 1F 01 88 */ stfs f0, 0x188(r31) -/* 8023F680 0023C5C0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8023F684 0023C5C4 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8023F688 0023C5C8 7D 89 03 A6 */ mtctr r12 -/* 8023F68C 0023C5CC 4E 80 04 21 */ bctrl -/* 8023F690 0023C5D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023F694 0023C5D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023F698 0023C5D8 7C 08 03 A6 */ mtlr r0 -/* 8023F69C 0023C5DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023F6A0 0023C5E0 4E 80 00 20 */ blr - -.global setCameraAngle__Q24Game10PlayCameraFf -setCameraAngle__Q24Game10PlayCameraFf: -/* 8023F6A4 0023C5E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023F6A8 0023C5E8 7C 08 02 A6 */ mflr r0 -/* 8023F6AC 0023C5EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023F6B0 0023C5F0 D0 23 01 B4 */ stfs f1, 0x1b4(r3) -/* 8023F6B4 0023C5F4 D0 23 01 B0 */ stfs f1, 0x1b0(r3) -/* 8023F6B8 0023C5F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8023F6BC 0023C5FC 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8023F6C0 0023C600 7D 89 03 A6 */ mtctr r12 -/* 8023F6C4 0023C604 4E 80 04 21 */ bctrl -/* 8023F6C8 0023C608 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023F6CC 0023C60C 7C 08 03 A6 */ mtlr r0 -/* 8023F6D0 0023C610 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023F6D4 0023C614 4E 80 00 20 */ blr - -.global getCameraData__Q24Game10PlayCameraFRQ24Game10CameraData -getCameraData__Q24Game10PlayCameraFRQ24Game10CameraData: -/* 8023F6D8 0023C618 C0 03 01 A8 */ lfs f0, 0x1a8(r3) -/* 8023F6DC 0023C61C D0 04 00 00 */ stfs f0, 0(r4) -/* 8023F6E0 0023C620 C0 03 01 B0 */ lfs f0, 0x1b0(r3) -/* 8023F6E4 0023C624 D0 04 00 04 */ stfs f0, 4(r4) -/* 8023F6E8 0023C628 C0 03 01 B8 */ lfs f0, 0x1b8(r3) -/* 8023F6EC 0023C62C D0 04 00 08 */ stfs f0, 8(r4) -/* 8023F6F0 0023C630 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8023F6F4 0023C634 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 8023F6F8 0023C638 C0 03 00 70 */ lfs f0, 0x70(r3) -/* 8023F6FC 0023C63C D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8023F700 0023C640 C0 03 00 74 */ lfs f0, 0x74(r3) -/* 8023F704 0023C644 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 8023F708 0023C648 C0 03 01 80 */ lfs f0, 0x180(r3) -/* 8023F70C 0023C64C D0 04 00 18 */ stfs f0, 0x18(r4) -/* 8023F710 0023C650 C0 03 01 84 */ lfs f0, 0x184(r3) -/* 8023F714 0023C654 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8023F718 0023C658 C0 03 01 88 */ lfs f0, 0x188(r3) -/* 8023F71C 0023C65C D0 04 00 20 */ stfs f0, 0x20(r4) -/* 8023F720 0023C660 80 03 01 A0 */ lwz r0, 0x1a0(r3) -/* 8023F724 0023C664 90 04 00 24 */ stw r0, 0x24(r4) -/* 8023F728 0023C668 80 03 01 A4 */ lwz r0, 0x1a4(r3) -/* 8023F72C 0023C66C 90 04 00 28 */ stw r0, 0x28(r4) -/* 8023F730 0023C670 4E 80 00 20 */ blr - -.global setCameraData__Q24Game10PlayCameraFRQ24Game10CameraData -setCameraData__Q24Game10PlayCameraFRQ24Game10CameraData: -/* 8023F734 0023C674 C0 04 00 00 */ lfs f0, 0(r4) -/* 8023F738 0023C678 D0 03 01 A8 */ stfs f0, 0x1a8(r3) -/* 8023F73C 0023C67C C0 04 00 04 */ lfs f0, 4(r4) -/* 8023F740 0023C680 D0 03 01 B0 */ stfs f0, 0x1b0(r3) -/* 8023F744 0023C684 C0 04 00 08 */ lfs f0, 8(r4) -/* 8023F748 0023C688 D0 03 01 B8 */ stfs f0, 0x1b8(r3) -/* 8023F74C 0023C68C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8023F750 0023C690 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8023F754 0023C694 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8023F758 0023C698 D0 03 00 70 */ stfs f0, 0x70(r3) -/* 8023F75C 0023C69C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8023F760 0023C6A0 D0 03 00 74 */ stfs f0, 0x74(r3) -/* 8023F764 0023C6A4 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8023F768 0023C6A8 D0 03 01 80 */ stfs f0, 0x180(r3) -/* 8023F76C 0023C6AC C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 8023F770 0023C6B0 D0 03 01 84 */ stfs f0, 0x184(r3) -/* 8023F774 0023C6B4 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8023F778 0023C6B8 D0 03 01 88 */ stfs f0, 0x188(r3) -/* 8023F77C 0023C6BC 80 04 00 24 */ lwz r0, 0x24(r4) -/* 8023F780 0023C6C0 90 03 01 A0 */ stw r0, 0x1a0(r3) -/* 8023F784 0023C6C4 80 04 00 28 */ lwz r0, 0x28(r4) -/* 8023F788 0023C6C8 90 03 01 A4 */ stw r0, 0x1a4(r3) -/* 8023F78C 0023C6CC 4E 80 00 20 */ blr - -.global changePlayerMode__Q24Game10PlayCameraFb -changePlayerMode__Q24Game10PlayCameraFb: -/* 8023F790 0023C6D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023F794 0023C6D4 7C 08 02 A6 */ mflr r0 -/* 8023F798 0023C6D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023F79C 0023C6DC 38 00 00 01 */ li r0, 1 -/* 8023F7A0 0023C6E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023F7A4 0023C6E4 7C 9F 23 78 */ mr r31, r4 -/* 8023F7A8 0023C6E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8023F7AC 0023C6EC 7C 7E 1B 78 */ mr r30, r3 -/* 8023F7B0 0023C6F0 90 03 01 9C */ stw r0, 0x19c(r3) -/* 8023F7B4 0023C6F4 48 00 08 19 */ bl setTargetParms__Q24Game10PlayCameraFv -/* 8023F7B8 0023C6F8 7F C3 F3 78 */ mr r3, r30 -/* 8023F7BC 0023C6FC 48 00 0C D1 */ bl changeTargetAtPosition__Q24Game10PlayCameraFv -/* 8023F7C0 0023C700 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8023F7C4 0023C704 41 82 00 10 */ beq lbl_8023F7D4 -/* 8023F7C8 0023C708 7F C3 F3 78 */ mr r3, r30 -/* 8023F7CC 0023C70C 48 00 0A F9 */ bl setTargetThetaToWhistle__Q24Game10PlayCameraFv -/* 8023F7D0 0023C710 48 00 00 0C */ b lbl_8023F7DC -lbl_8023F7D4: -/* 8023F7D4 0023C714 C0 1E 01 B0 */ lfs f0, 0x1b0(r30) -/* 8023F7D8 0023C718 D0 1E 01 B4 */ stfs f0, 0x1b4(r30) -lbl_8023F7DC: -/* 8023F7DC 0023C71C 7F C3 F3 78 */ mr r3, r30 -/* 8023F7E0 0023C720 81 9E 00 00 */ lwz r12, 0(r30) -/* 8023F7E4 0023C724 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8023F7E8 0023C728 7D 89 03 A6 */ mtctr r12 -/* 8023F7EC 0023C72C 4E 80 04 21 */ bctrl -/* 8023F7F0 0023C730 7F C3 F3 78 */ mr r3, r30 -/* 8023F7F4 0023C734 48 1D B5 51 */ bl setProjection__6CameraFv -/* 8023F7F8 0023C738 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023F7FC 0023C73C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023F800 0023C740 83 C1 00 08 */ lwz r30, 8(r1) -/* 8023F804 0023C744 7C 08 03 A6 */ mtlr r0 -/* 8023F808 0023C748 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023F80C 0023C74C 4E 80 00 20 */ blr - -.global isSpecialCamera__Q24Game10PlayCameraFv -isSpecialCamera__Q24Game10PlayCameraFv: -/* 8023F810 0023C750 80 83 01 98 */ lwz r4, 0x198(r3) -/* 8023F814 0023C754 80 04 02 78 */ lwz r0, 0x278(r4) -/* 8023F818 0023C758 28 00 00 00 */ cmplwi r0, 0 -/* 8023F81C 0023C75C 41 82 00 38 */ beq lbl_8023F854 -/* 8023F820 0023C760 88 03 02 48 */ lbz r0, 0x248(r3) -/* 8023F824 0023C764 28 00 00 00 */ cmplwi r0, 0 -/* 8023F828 0023C768 41 82 00 2C */ beq lbl_8023F854 -/* 8023F82C 0023C76C 80 03 01 9C */ lwz r0, 0x19c(r3) -/* 8023F830 0023C770 2C 00 00 00 */ cmpwi r0, 0 -/* 8023F834 0023C774 40 82 00 20 */ bne lbl_8023F854 -/* 8023F838 0023C778 C0 23 01 E0 */ lfs f1, 0x1e0(r3) -/* 8023F83C 0023C77C C0 02 C3 0C */ lfs f0, lbl_8051A66C@sda21(r2) -/* 8023F840 0023C780 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023F844 0023C784 4C 41 13 82 */ cror 2, 1, 2 -/* 8023F848 0023C788 40 82 00 0C */ bne lbl_8023F854 -/* 8023F84C 0023C78C 38 60 00 01 */ li r3, 1 -/* 8023F850 0023C790 4E 80 00 20 */ blr -lbl_8023F854: -/* 8023F854 0023C794 38 60 00 00 */ li r3, 0 -/* 8023F858 0023C798 4E 80 00 20 */ blr - -.global doUpdate__Q24Game10PlayCameraFv -doUpdate__Q24Game10PlayCameraFv: -/* 8023F85C 0023C79C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023F860 0023C7A0 7C 08 02 A6 */ mflr r0 -/* 8023F864 0023C7A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023F868 0023C7A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023F86C 0023C7AC 93 C1 00 08 */ stw r30, 8(r1) -/* 8023F870 0023C7B0 7C 7E 1B 78 */ mr r30, r3 -/* 8023F874 0023C7B4 48 00 05 69 */ bl updateCameraMode__Q24Game10PlayCameraFv -/* 8023F878 0023C7B8 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b -/* 8023F87C 0023C7BC 7C 7F 1B 78 */ mr r31, r3 -/* 8023F880 0023C7C0 41 82 00 0C */ beq lbl_8023F88C -/* 8023F884 0023C7C4 7F C3 F3 78 */ mr r3, r30 -/* 8023F888 0023C7C8 48 00 06 41 */ bl startZoomCamera__Q24Game10PlayCameraFv -lbl_8023F88C: -/* 8023F88C 0023C7CC 57 E0 06 73 */ rlwinm. r0, r31, 0, 0x19, 0x19 -/* 8023F890 0023C7D0 41 82 00 0C */ beq lbl_8023F89C -/* 8023F894 0023C7D4 7F C3 F3 78 */ mr r3, r30 -/* 8023F898 0023C7D8 48 00 05 25 */ bl finishDemoCamera__Q24Game10PlayCameraFv -lbl_8023F89C: -/* 8023F89C 0023C7DC 57 E0 07 BF */ clrlwi. r0, r31, 0x1e -/* 8023F8A0 0023C7E0 41 82 00 10 */ beq lbl_8023F8B0 -/* 8023F8A4 0023C7E4 7F C3 F3 78 */ mr r3, r30 -/* 8023F8A8 0023C7E8 7F E4 FB 78 */ mr r4, r31 -/* 8023F8AC 0023C7EC 48 00 06 9D */ bl startGameCamera__Q24Game10PlayCameraFi -lbl_8023F8B0: -/* 8023F8B0 0023C7F0 57 E0 07 7B */ rlwinm. r0, r31, 0, 0x1d, 0x1d -/* 8023F8B4 0023C7F4 41 82 00 0C */ beq lbl_8023F8C0 -/* 8023F8B8 0023C7F8 7F C3 F3 78 */ mr r3, r30 -/* 8023F8BC 0023C7FC 48 00 0A 79 */ bl setFollowTime__Q24Game10PlayCameraFv -lbl_8023F8C0: -/* 8023F8C0 0023C800 57 E0 07 39 */ rlwinm. r0, r31, 0, 0x1c, 0x1c -/* 8023F8C4 0023C804 41 82 00 0C */ beq lbl_8023F8D0 -/* 8023F8C8 0023C808 7F C3 F3 78 */ mr r3, r30 -/* 8023F8CC 0023C80C 48 00 0A 79 */ bl setSmoothThetaSpeed__Q24Game10PlayCameraFv -lbl_8023F8D0: -/* 8023F8D0 0023C810 7F C3 F3 78 */ mr r3, r30 -/* 8023F8D4 0023C814 48 00 0A D9 */ bl changeTargetTheta__Q24Game10PlayCameraFv -/* 8023F8D8 0023C818 7F C3 F3 78 */ mr r3, r30 -/* 8023F8DC 0023C81C 48 00 0B B1 */ bl changeTargetAtPosition__Q24Game10PlayCameraFv -/* 8023F8E0 0023C820 7F C3 F3 78 */ mr r3, r30 -/* 8023F8E4 0023C824 7F E4 FB 78 */ mr r4, r31 -/* 8023F8E8 0023C828 48 00 13 A1 */ bl setCollisionCameraTargetPhi__Q24Game10PlayCameraFi -/* 8023F8EC 0023C82C 7F C3 F3 78 */ mr r3, r30 -/* 8023F8F0 0023C830 7F E4 FB 78 */ mr r4, r31 -/* 8023F8F4 0023C834 48 00 0F 1D */ bl updateParms__Q24Game10PlayCameraFi -/* 8023F8F8 0023C838 3B E0 00 00 */ li r31, 0 -lbl_8023F8FC: -/* 8023F8FC 0023C83C 38 1F 01 F0 */ addi r0, r31, 0x1f0 -/* 8023F900 0023C840 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 8023F904 0023C844 28 00 00 00 */ cmplwi r0, 0 -/* 8023F908 0023C848 41 82 00 10 */ beq lbl_8023F918 -/* 8023F90C 0023C84C 7F C3 F3 78 */ mr r3, r30 -/* 8023F910 0023C850 7F E4 FB 78 */ mr r4, r31 -/* 8023F914 0023C854 48 00 10 61 */ bl updateVibration__Q24Game10PlayCameraFi -lbl_8023F918: -/* 8023F918 0023C858 3B FF 00 01 */ addi r31, r31, 1 -/* 8023F91C 0023C85C 2C 1F 00 03 */ cmpwi r31, 3 -/* 8023F920 0023C860 41 80 FF DC */ blt lbl_8023F8FC -/* 8023F924 0023C864 7F C3 F3 78 */ mr r3, r30 -/* 8023F928 0023C868 48 00 11 ED */ bl isModCameraFinished__Q24Game10PlayCameraFv -/* 8023F92C 0023C86C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023F930 0023C870 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023F934 0023C874 83 C1 00 08 */ lwz r30, 8(r1) -/* 8023F938 0023C878 7C 08 03 A6 */ mtlr r0 -/* 8023F93C 0023C87C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023F940 0023C880 4E 80 00 20 */ blr - -.global updateMatrix__Q24Game10PlayCameraFv -updateMatrix__Q24Game10PlayCameraFv: -/* 8023F944 0023C884 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8023F948 0023C888 7C 08 02 A6 */ mflr r0 -/* 8023F94C 0023C88C 38 80 00 5A */ li r4, 0x5a -/* 8023F950 0023C890 90 01 01 04 */ stw r0, 0x104(r1) -/* 8023F954 0023C894 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8023F958 0023C898 7C 7F 1B 78 */ mr r31, r3 -/* 8023F95C 0023C89C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8023F960 0023C8A0 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8023F964 0023C8A4 4B EA AB B1 */ bl PSMTXRotRad -/* 8023F968 0023C8A8 C0 1F 01 B0 */ lfs f0, 0x1b0(r31) -/* 8023F96C 0023C8AC 38 61 00 98 */ addi r3, r1, 0x98 -/* 8023F970 0023C8B0 38 80 00 59 */ li r4, 0x59 -/* 8023F974 0023C8B4 FC 20 00 50 */ fneg f1, f0 -/* 8023F978 0023C8B8 4B EA AB 9D */ bl PSMTXRotRad -/* 8023F97C 0023C8BC C0 3F 01 B8 */ lfs f1, 0x1b8(r31) -/* 8023F980 0023C8C0 38 61 00 68 */ addi r3, r1, 0x68 -/* 8023F984 0023C8C4 38 80 00 58 */ li r4, 0x58 -/* 8023F988 0023C8C8 4B EA AB 8D */ bl PSMTXRotRad -/* 8023F98C 0023C8CC C0 22 C3 04 */ lfs f1, lbl_8051A664@sda21(r2) -/* 8023F990 0023C8D0 38 61 00 38 */ addi r3, r1, 0x38 -/* 8023F994 0023C8D4 C0 7F 02 08 */ lfs f3, 0x208(r31) -/* 8023F998 0023C8D8 C0 1F 01 A8 */ lfs f0, 0x1a8(r31) -/* 8023F99C 0023C8DC FC 40 08 90 */ fmr f2, f1 -/* 8023F9A0 0023C8E0 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8023F9A4 0023C8E4 4B EA AD B1 */ bl PSMTXTrans -/* 8023F9A8 0023C8E8 C0 1F 02 04 */ lfs f0, 0x204(r31) -/* 8023F9AC 0023C8EC 38 61 00 08 */ addi r3, r1, 8 -/* 8023F9B0 0023C8F0 C0 3F 01 80 */ lfs f1, 0x180(r31) -/* 8023F9B4 0023C8F4 FC 60 00 50 */ fneg f3, f0 -/* 8023F9B8 0023C8F8 C0 5F 01 84 */ lfs f2, 0x184(r31) -/* 8023F9BC 0023C8FC C0 1F 01 88 */ lfs f0, 0x188(r31) -/* 8023F9C0 0023C900 FC 20 08 50 */ fneg f1, f1 -/* 8023F9C4 0023C904 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8023F9C8 0023C908 FC 60 00 50 */ fneg f3, f0 -/* 8023F9CC 0023C90C 4B EA AD 89 */ bl PSMTXTrans -/* 8023F9D0 0023C910 38 61 00 68 */ addi r3, r1, 0x68 -/* 8023F9D4 0023C914 38 81 00 98 */ addi r4, r1, 0x98 -/* 8023F9D8 0023C918 38 BF 01 44 */ addi r5, r31, 0x144 -/* 8023F9DC 0023C91C 4B EA A9 25 */ bl PSMTXConcat -/* 8023F9E0 0023C920 38 9F 01 44 */ addi r4, r31, 0x144 -/* 8023F9E4 0023C924 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8023F9E8 0023C928 7C 85 23 78 */ mr r5, r4 -/* 8023F9EC 0023C92C 4B EA A9 15 */ bl PSMTXConcat -/* 8023F9F0 0023C930 38 9F 01 44 */ addi r4, r31, 0x144 -/* 8023F9F4 0023C934 38 61 00 38 */ addi r3, r1, 0x38 -/* 8023F9F8 0023C938 7C 85 23 78 */ mr r5, r4 -/* 8023F9FC 0023C93C 4B EA A9 05 */ bl PSMTXConcat -/* 8023FA00 0023C940 38 7F 01 44 */ addi r3, r31, 0x144 -/* 8023FA04 0023C944 38 81 00 08 */ addi r4, r1, 8 -/* 8023FA08 0023C948 7C 65 1B 78 */ mr r5, r3 -/* 8023FA0C 0023C94C 4B EA A8 F5 */ bl PSMTXConcat -/* 8023FA10 0023C950 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8023FA14 0023C954 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8023FA18 0023C958 7C 08 03 A6 */ mtlr r0 -/* 8023FA1C 0023C95C 38 21 01 00 */ addi r1, r1, 0x100 -/* 8023FA20 0023C960 4E 80 00 20 */ blr - -.global noUpdate__Q24Game10PlayCameraFv -noUpdate__Q24Game10PlayCameraFv: -/* 8023FA24 0023C964 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023FA28 0023C968 7C 08 02 A6 */ mflr r0 -/* 8023FA2C 0023C96C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023FA30 0023C970 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023FA34 0023C974 7C 7F 1B 78 */ mr r31, r3 -/* 8023FA38 0023C978 38 7F 00 B4 */ addi r3, r31, 0xb4 -/* 8023FA3C 0023C97C 38 9F 00 F4 */ addi r4, r31, 0xf4 -/* 8023FA40 0023C980 4B EA B4 31 */ bl PSMTX44Copy -/* 8023FA44 0023C984 7F E3 FB 78 */ mr r3, r31 -/* 8023FA48 0023C988 38 80 00 00 */ li r4, 0 -/* 8023FA4C 0023C98C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8023FA50 0023C990 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 8023FA54 0023C994 7D 89 03 A6 */ mtctr r12 -/* 8023FA58 0023C998 4E 80 04 21 */ bctrl -/* 8023FA5C 0023C99C 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8023FA60 0023C9A0 4B EA A8 6D */ bl PSMTXCopy -/* 8023FA64 0023C9A4 7F E3 FB 78 */ mr r3, r31 -/* 8023FA68 0023C9A8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8023FA6C 0023C9AC 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 8023FA70 0023C9B0 7D 89 03 A6 */ mtctr r12 -/* 8023FA74 0023C9B4 4E 80 04 21 */ bctrl -/* 8023FA78 0023C9B8 7F E3 FB 78 */ mr r3, r31 -/* 8023FA7C 0023C9BC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8023FA80 0023C9C0 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 8023FA84 0023C9C4 7D 89 03 A6 */ mtctr r12 -/* 8023FA88 0023C9C8 4E 80 04 21 */ bctrl -/* 8023FA8C 0023C9CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023FA90 0023C9D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023FA94 0023C9D4 7C 08 03 A6 */ mtlr r0 -/* 8023FA98 0023C9D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023FA9C 0023C9DC 4E 80 00 20 */ blr - -.global isVibration__Q24Game10PlayCameraFv -isVibration__Q24Game10PlayCameraFv: -/* 8023FAA0 0023C9E0 88 03 01 F0 */ lbz r0, 0x1f0(r3) -/* 8023FAA4 0023C9E4 28 00 00 00 */ cmplwi r0, 0 -/* 8023FAA8 0023C9E8 41 82 00 0C */ beq lbl_8023FAB4 -/* 8023FAAC 0023C9EC 38 60 00 01 */ li r3, 1 -/* 8023FAB0 0023C9F0 4E 80 00 20 */ blr -lbl_8023FAB4: -/* 8023FAB4 0023C9F4 88 03 01 F1 */ lbz r0, 0x1f1(r3) -/* 8023FAB8 0023C9F8 28 00 00 00 */ cmplwi r0, 0 -/* 8023FABC 0023C9FC 41 82 00 0C */ beq lbl_8023FAC8 -/* 8023FAC0 0023CA00 38 60 00 01 */ li r3, 1 -/* 8023FAC4 0023CA04 4E 80 00 20 */ blr -lbl_8023FAC8: -/* 8023FAC8 0023CA08 88 03 01 F2 */ lbz r0, 0x1f2(r3) -/* 8023FACC 0023CA0C 28 00 00 00 */ cmplwi r0, 0 -/* 8023FAD0 0023CA10 41 82 00 0C */ beq lbl_8023FADC -/* 8023FAD4 0023CA14 38 60 00 01 */ li r3, 1 -/* 8023FAD8 0023CA18 4E 80 00 20 */ blr -lbl_8023FADC: -/* 8023FADC 0023CA1C 38 60 00 00 */ li r3, 0 -/* 8023FAE0 0023CA20 4E 80 00 20 */ blr - -.global startVibration__Q24Game10PlayCameraFif -startVibration__Q24Game10PlayCameraFif: -/* 8023FAE4 0023CA24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023FAE8 0023CA28 7C 08 02 A6 */ mflr r0 -/* 8023FAEC 0023CA2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023FAF0 0023CA30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023FAF4 0023CA34 7C 9F 23 78 */ mr r31, r4 -/* 8023FAF8 0023CA38 2C 1F 00 1D */ cmpwi r31, 0x1d -/* 8023FAFC 0023CA3C 93 C1 00 08 */ stw r30, 8(r1) -/* 8023FB00 0023CA40 7C 7E 1B 78 */ mr r30, r3 -/* 8023FB04 0023CA44 40 82 00 48 */ bne lbl_8023FB4C -/* 8023FB08 0023CA48 38 00 00 01 */ li r0, 1 -/* 8023FB0C 0023CA4C C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 8023FB10 0023CA50 98 1E 01 F0 */ stb r0, 0x1f0(r30) -/* 8023FB14 0023CA54 38 80 00 00 */ li r4, 0 -/* 8023FB18 0023CA58 D0 1E 02 18 */ stfs f0, 0x218(r30) -/* 8023FB1C 0023CA5C D0 3E 02 30 */ stfs f1, 0x230(r30) -/* 8023FB20 0023CA60 80 BE 02 50 */ lwz r5, 0x250(r30) -/* 8023FB24 0023CA64 C0 05 02 7C */ lfs f0, 0x27c(r5) -/* 8023FB28 0023CA68 D0 1E 02 3C */ stfs f0, 0x23c(r30) -/* 8023FB2C 0023CA6C 80 BE 02 50 */ lwz r5, 0x250(r30) -/* 8023FB30 0023CA70 C0 05 02 A4 */ lfs f0, 0x2a4(r5) -/* 8023FB34 0023CA74 D0 1E 01 F4 */ stfs f0, 0x1f4(r30) -/* 8023FB38 0023CA78 80 BE 02 50 */ lwz r5, 0x250(r30) -/* 8023FB3C 0023CA7C C0 05 02 CC */ lfs f0, 0x2cc(r5) -/* 8023FB40 0023CA80 D0 1E 02 24 */ stfs f0, 0x224(r30) -/* 8023FB44 0023CA84 48 00 0F 5D */ bl otherVibFinished__Q24Game10PlayCameraFi -/* 8023FB48 0023CA88 48 00 01 8C */ b lbl_8023FCD4 -lbl_8023FB4C: -/* 8023FB4C 0023CA8C 2C 1F 00 1C */ cmpwi r31, 0x1c -/* 8023FB50 0023CA90 40 82 00 48 */ bne lbl_8023FB98 -/* 8023FB54 0023CA94 38 00 00 01 */ li r0, 1 -/* 8023FB58 0023CA98 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 8023FB5C 0023CA9C 98 1E 01 F2 */ stb r0, 0x1f2(r30) -/* 8023FB60 0023CAA0 38 80 00 02 */ li r4, 2 -/* 8023FB64 0023CAA4 D0 1E 02 20 */ stfs f0, 0x220(r30) -/* 8023FB68 0023CAA8 D0 3E 02 38 */ stfs f1, 0x238(r30) -/* 8023FB6C 0023CAAC 80 BE 02 50 */ lwz r5, 0x250(r30) -/* 8023FB70 0023CAB0 C0 05 02 04 */ lfs f0, 0x204(r5) -/* 8023FB74 0023CAB4 D0 1E 02 44 */ stfs f0, 0x244(r30) -/* 8023FB78 0023CAB8 80 BE 02 50 */ lwz r5, 0x250(r30) -/* 8023FB7C 0023CABC C0 05 02 2C */ lfs f0, 0x22c(r5) -/* 8023FB80 0023CAC0 D0 1E 01 FC */ stfs f0, 0x1fc(r30) -/* 8023FB84 0023CAC4 80 BE 02 50 */ lwz r5, 0x250(r30) -/* 8023FB88 0023CAC8 C0 05 02 54 */ lfs f0, 0x254(r5) -/* 8023FB8C 0023CACC D0 1E 02 2C */ stfs f0, 0x22c(r30) -/* 8023FB90 0023CAD0 48 00 0F 11 */ bl otherVibFinished__Q24Game10PlayCameraFi -/* 8023FB94 0023CAD4 48 00 01 40 */ b lbl_8023FCD4 -lbl_8023FB98: -/* 8023FB98 0023CAD8 38 00 00 01 */ li r0, 1 -/* 8023FB9C 0023CADC C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 8023FBA0 0023CAE0 98 1E 01 F1 */ stb r0, 0x1f1(r30) -/* 8023FBA4 0023CAE4 38 80 00 01 */ li r4, 1 -/* 8023FBA8 0023CAE8 D0 1E 02 1C */ stfs f0, 0x21c(r30) -/* 8023FBAC 0023CAEC D0 3E 02 34 */ stfs f1, 0x234(r30) -/* 8023FBB0 0023CAF0 48 00 0E F1 */ bl otherVibFinished__Q24Game10PlayCameraFi -/* 8023FBB4 0023CAF4 2C 1F 00 1B */ cmpwi r31, 0x1b -/* 8023FBB8 0023CAF8 40 82 00 2C */ bne lbl_8023FBE4 -/* 8023FBBC 0023CAFC 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FBC0 0023CB00 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8023FBC4 0023CB04 D0 1E 02 40 */ stfs f0, 0x240(r30) -/* 8023FBC8 0023CB08 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FBCC 0023CB0C C0 03 01 B4 */ lfs f0, 0x1b4(r3) -/* 8023FBD0 0023CB10 D0 1E 01 F8 */ stfs f0, 0x1f8(r30) -/* 8023FBD4 0023CB14 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FBD8 0023CB18 C0 03 01 DC */ lfs f0, 0x1dc(r3) -/* 8023FBDC 0023CB1C D0 1E 02 28 */ stfs f0, 0x228(r30) -/* 8023FBE0 0023CB20 48 00 00 F4 */ b lbl_8023FCD4 -lbl_8023FBE4: -/* 8023FBE4 0023CB24 2C 1F 00 08 */ cmpwi r31, 8 -/* 8023FBE8 0023CB28 41 81 00 14 */ bgt lbl_8023FBFC -/* 8023FBEC 0023CB2C 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FBF0 0023CB30 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 8023FBF4 0023CB34 D0 1E 02 40 */ stfs f0, 0x240(r30) -/* 8023FBF8 0023CB38 48 00 00 28 */ b lbl_8023FC20 -lbl_8023FBFC: -/* 8023FBFC 0023CB3C 2C 1F 00 11 */ cmpwi r31, 0x11 -/* 8023FC00 0023CB40 41 81 00 14 */ bgt lbl_8023FC14 -/* 8023FC04 0023CB44 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FC08 0023CB48 C0 03 00 4C */ lfs f0, 0x4c(r3) -/* 8023FC0C 0023CB4C D0 1E 02 40 */ stfs f0, 0x240(r30) -/* 8023FC10 0023CB50 48 00 00 10 */ b lbl_8023FC20 -lbl_8023FC14: -/* 8023FC14 0023CB54 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FC18 0023CB58 C0 03 00 74 */ lfs f0, 0x74(r3) -/* 8023FC1C 0023CB5C D0 1E 02 40 */ stfs f0, 0x240(r30) -lbl_8023FC20: -/* 8023FC20 0023CB60 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 8023FC24 0023CB64 38 63 55 56 */ addi r3, r3, 0x55555556@l -/* 8023FC28 0023CB68 7C 83 F8 96 */ mulhw r4, r3, r31 -/* 8023FC2C 0023CB6C 54 80 0F FE */ srwi r0, r4, 0x1f -/* 8023FC30 0023CB70 7C 84 02 14 */ add r4, r4, r0 -/* 8023FC34 0023CB74 7C 63 20 96 */ mulhw r3, r3, r4 -/* 8023FC38 0023CB78 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8023FC3C 0023CB7C 7C 03 02 14 */ add r0, r3, r0 -/* 8023FC40 0023CB80 1C 00 00 03 */ mulli r0, r0, 3 -/* 8023FC44 0023CB84 7C 00 20 51 */ subf. r0, r0, r4 -/* 8023FC48 0023CB88 40 82 00 14 */ bne lbl_8023FC5C -/* 8023FC4C 0023CB8C 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FC50 0023CB90 C0 03 00 9C */ lfs f0, 0x9c(r3) -/* 8023FC54 0023CB94 D0 1E 01 F8 */ stfs f0, 0x1f8(r30) -/* 8023FC58 0023CB98 48 00 00 28 */ b lbl_8023FC80 -lbl_8023FC5C: -/* 8023FC5C 0023CB9C 2C 00 00 01 */ cmpwi r0, 1 -/* 8023FC60 0023CBA0 40 82 00 14 */ bne lbl_8023FC74 -/* 8023FC64 0023CBA4 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FC68 0023CBA8 C0 03 00 C4 */ lfs f0, 0xc4(r3) -/* 8023FC6C 0023CBAC D0 1E 01 F8 */ stfs f0, 0x1f8(r30) -/* 8023FC70 0023CBB0 48 00 00 10 */ b lbl_8023FC80 -lbl_8023FC74: -/* 8023FC74 0023CBB4 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FC78 0023CBB8 C0 03 00 EC */ lfs f0, 0xec(r3) -/* 8023FC7C 0023CBBC D0 1E 01 F8 */ stfs f0, 0x1f8(r30) -lbl_8023FC80: -/* 8023FC80 0023CBC0 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 8023FC84 0023CBC4 38 03 55 56 */ addi r0, r3, 0x55555556@l -/* 8023FC88 0023CBC8 7C 60 F8 96 */ mulhw r3, r0, r31 -/* 8023FC8C 0023CBCC 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8023FC90 0023CBD0 7C 03 02 14 */ add r0, r3, r0 -/* 8023FC94 0023CBD4 1C 00 00 03 */ mulli r0, r0, 3 -/* 8023FC98 0023CBD8 7C 00 F8 51 */ subf. r0, r0, r31 -/* 8023FC9C 0023CBDC 40 82 00 14 */ bne lbl_8023FCB0 -/* 8023FCA0 0023CBE0 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FCA4 0023CBE4 C0 03 01 14 */ lfs f0, 0x114(r3) -/* 8023FCA8 0023CBE8 D0 1E 02 28 */ stfs f0, 0x228(r30) -/* 8023FCAC 0023CBEC 48 00 00 28 */ b lbl_8023FCD4 -lbl_8023FCB0: -/* 8023FCB0 0023CBF0 2C 00 00 01 */ cmpwi r0, 1 -/* 8023FCB4 0023CBF4 40 82 00 14 */ bne lbl_8023FCC8 -/* 8023FCB8 0023CBF8 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FCBC 0023CBFC C0 03 01 3C */ lfs f0, 0x13c(r3) -/* 8023FCC0 0023CC00 D0 1E 02 28 */ stfs f0, 0x228(r30) -/* 8023FCC4 0023CC04 48 00 00 10 */ b lbl_8023FCD4 -lbl_8023FCC8: -/* 8023FCC8 0023CC08 80 7E 02 50 */ lwz r3, 0x250(r30) -/* 8023FCCC 0023CC0C C0 03 01 64 */ lfs f0, 0x164(r3) -/* 8023FCD0 0023CC10 D0 1E 02 28 */ stfs f0, 0x228(r30) -lbl_8023FCD4: -/* 8023FCD4 0023CC14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023FCD8 0023CC18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023FCDC 0023CC1C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8023FCE0 0023CC20 7C 08 03 A6 */ mtlr r0 -/* 8023FCE4 0023CC24 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023FCE8 0023CC28 4E 80 00 20 */ blr - -.global startDemoCamera__Q24Game10PlayCameraFi -startDemoCamera__Q24Game10PlayCameraFi: -/* 8023FCEC 0023CC2C 2C 04 00 01 */ cmpwi r4, 1 -/* 8023FCF0 0023CC30 41 82 00 08 */ beq lbl_8023FCF8 -/* 8023FCF4 0023CC34 48 00 00 5C */ b lbl_8023FD50 -lbl_8023FCF8: -/* 8023FCF8 0023CC38 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FCFC 0023CC3C C0 A2 C3 1C */ lfs f5, lbl_8051A67C@sda21(r2) -/* 8023FD00 0023CC40 C0 04 07 A4 */ lfs f0, 0x7a4(r4) -/* 8023FD04 0023CC44 C0 82 C3 0C */ lfs f4, lbl_8051A66C@sda21(r2) -/* 8023FD08 0023CC48 D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 8023FD0C 0023CC4C C0 62 C3 10 */ lfs f3, lbl_8051A670@sda21(r2) -/* 8023FD10 0023CC50 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FD14 0023CC54 C0 42 C3 20 */ lfs f2, lbl_8051A680@sda21(r2) -/* 8023FD18 0023CC58 C0 04 07 CC */ lfs f0, 0x7cc(r4) -/* 8023FD1C 0023CC5C C0 22 C3 24 */ lfs f1, lbl_8051A684@sda21(r2) -/* 8023FD20 0023CC60 EC A5 00 32 */ fmuls f5, f5, f0 -/* 8023FD24 0023CC64 C0 02 C3 28 */ lfs f0, lbl_8051A688@sda21(r2) -/* 8023FD28 0023CC68 D0 A3 01 BC */ stfs f5, 0x1bc(r3) -/* 8023FD2C 0023CC6C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FD30 0023CC70 C0 A4 07 F4 */ lfs f5, 0x7f4(r4) -/* 8023FD34 0023CC74 D0 A3 01 C0 */ stfs f5, 0x1c0(r3) -/* 8023FD38 0023CC78 D0 83 01 C4 */ stfs f4, 0x1c4(r3) -/* 8023FD3C 0023CC7C D0 63 01 C8 */ stfs f3, 0x1c8(r3) -/* 8023FD40 0023CC80 D0 43 01 CC */ stfs f2, 0x1cc(r3) -/* 8023FD44 0023CC84 D0 23 01 D0 */ stfs f1, 0x1d0(r3) -/* 8023FD48 0023CC88 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8023FD4C 0023CC8C 4E 80 00 20 */ blr -lbl_8023FD50: -/* 8023FD50 0023CC90 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FD54 0023CC94 C0 22 C3 1C */ lfs f1, lbl_8051A67C@sda21(r2) -/* 8023FD58 0023CC98 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8023FD5C 0023CC9C D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 8023FD60 0023CCA0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FD64 0023CCA4 C0 04 00 4C */ lfs f0, 0x4c(r4) -/* 8023FD68 0023CCA8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8023FD6C 0023CCAC D0 03 01 BC */ stfs f0, 0x1bc(r3) -/* 8023FD70 0023CCB0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FD74 0023CCB4 C0 04 00 74 */ lfs f0, 0x74(r4) -/* 8023FD78 0023CCB8 D0 03 01 C0 */ stfs f0, 0x1c0(r3) -/* 8023FD7C 0023CCBC 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FD80 0023CCC0 C0 04 01 14 */ lfs f0, 0x114(r4) -/* 8023FD84 0023CCC4 D0 03 01 C4 */ stfs f0, 0x1c4(r3) -/* 8023FD88 0023CCC8 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FD8C 0023CCCC C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 8023FD90 0023CCD0 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 8023FD94 0023CCD4 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FD98 0023CCD8 C0 04 00 9C */ lfs f0, 0x9c(r4) -/* 8023FD9C 0023CCDC D0 03 01 CC */ stfs f0, 0x1cc(r3) -/* 8023FDA0 0023CCE0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FDA4 0023CCE4 C0 04 00 C4 */ lfs f0, 0xc4(r4) -/* 8023FDA8 0023CCE8 D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 8023FDAC 0023CCEC 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8023FDB0 0023CCF0 C0 04 00 EC */ lfs f0, 0xec(r4) -/* 8023FDB4 0023CCF4 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8023FDB8 0023CCF8 4E 80 00 20 */ blr - -.global finishDemoCamera__Q24Game10PlayCameraFv -finishDemoCamera__Q24Game10PlayCameraFv: -/* 8023FDBC 0023CCFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023FDC0 0023CD00 7C 08 02 A6 */ mflr r0 -/* 8023FDC4 0023CD04 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023FDC8 0023CD08 48 00 02 05 */ bl setTargetParms__Q24Game10PlayCameraFv -/* 8023FDCC 0023CD0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023FDD0 0023CD10 7C 08 03 A6 */ mtlr r0 -/* 8023FDD4 0023CD14 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023FDD8 0023CD18 4E 80 00 20 */ blr - -.global updateCameraMode__Q24Game10PlayCameraFv -updateCameraMode__Q24Game10PlayCameraFv: -/* 8023FDDC 0023CD1C 80 83 01 98 */ lwz r4, 0x198(r3) -/* 8023FDE0 0023CD20 38 C0 00 00 */ li r6, 0 -/* 8023FDE4 0023CD24 80 A4 02 78 */ lwz r5, 0x278(r4) -/* 8023FDE8 0023CD28 28 05 00 00 */ cmplwi r5, 0 -/* 8023FDEC 0023CD2C 41 82 00 D4 */ beq lbl_8023FEC0 -/* 8023FDF0 0023CD30 88 03 02 48 */ lbz r0, 0x248(r3) -/* 8023FDF4 0023CD34 28 00 00 00 */ cmplwi r0, 0 -/* 8023FDF8 0023CD38 41 82 00 C8 */ beq lbl_8023FEC0 -/* 8023FDFC 0023CD3C 80 03 01 9C */ lwz r0, 0x19c(r3) -/* 8023FE00 0023CD40 2C 00 00 00 */ cmpwi r0, 0 -/* 8023FE04 0023CD44 40 82 00 BC */ bne lbl_8023FEC0 -/* 8023FE08 0023CD48 80 05 00 18 */ lwz r0, 0x18(r5) -/* 8023FE0C 0023CD4C 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 8023FE10 0023CD50 41 82 00 44 */ beq lbl_8023FE54 -/* 8023FE14 0023CD54 C0 43 01 E0 */ lfs f2, 0x1e0(r3) -/* 8023FE18 0023CD58 C0 22 C3 0C */ lfs f1, lbl_8051A66C@sda21(r2) -/* 8023FE1C 0023CD5C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8023FE20 0023CD60 40 80 00 2C */ bge lbl_8023FE4C -/* 8023FE24 0023CD64 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 8023FE28 0023CD68 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 8023FE2C 0023CD6C EC 02 00 2A */ fadds f0, f2, f0 -/* 8023FE30 0023CD70 D0 03 01 E0 */ stfs f0, 0x1e0(r3) -/* 8023FE34 0023CD74 C0 03 01 E0 */ lfs f0, 0x1e0(r3) -/* 8023FE38 0023CD78 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8023FE3C 0023CD7C 4C 41 13 82 */ cror 2, 1, 2 -/* 8023FE40 0023CD80 40 82 00 34 */ bne lbl_8023FE74 -/* 8023FE44 0023CD84 60 C6 00 30 */ ori r6, r6, 0x30 -/* 8023FE48 0023CD88 48 00 00 2C */ b lbl_8023FE74 -lbl_8023FE4C: -/* 8023FE4C 0023CD8C 60 C6 00 20 */ ori r6, r6, 0x20 -/* 8023FE50 0023CD90 48 00 00 24 */ b lbl_8023FE74 -lbl_8023FE54: -/* 8023FE54 0023CD94 C0 23 01 E0 */ lfs f1, 0x1e0(r3) -/* 8023FE58 0023CD98 C0 02 C3 0C */ lfs f0, lbl_8051A66C@sda21(r2) -/* 8023FE5C 0023CD9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023FE60 0023CDA0 4C 41 13 82 */ cror 2, 1, 2 -/* 8023FE64 0023CDA4 40 82 00 08 */ bne lbl_8023FE6C -/* 8023FE68 0023CDA8 60 C6 00 40 */ ori r6, r6, 0x40 -lbl_8023FE6C: -/* 8023FE6C 0023CDAC C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 8023FE70 0023CDB0 D0 03 01 E0 */ stfs f0, 0x1e0(r3) -lbl_8023FE74: -/* 8023FE74 0023CDB4 54 C0 06 B5 */ rlwinm. r0, r6, 0, 0x1a, 0x1a -/* 8023FE78 0023CDB8 40 82 00 20 */ bne lbl_8023FE98 -/* 8023FE7C 0023CDBC 80 65 00 1C */ lwz r3, 0x1c(r5) -/* 8023FE80 0023CDC0 54 60 06 B5 */ rlwinm. r0, r3, 0, 0x1a, 0x1a -/* 8023FE84 0023CDC4 41 82 00 08 */ beq lbl_8023FE8C -/* 8023FE88 0023CDC8 60 C6 00 01 */ ori r6, r6, 1 -lbl_8023FE8C: -/* 8023FE8C 0023CDCC 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b -/* 8023FE90 0023CDD0 41 82 00 08 */ beq lbl_8023FE98 -/* 8023FE94 0023CDD4 60 C6 00 02 */ ori r6, r6, 2 -lbl_8023FE98: -/* 8023FE98 0023CDD8 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8023FE9C 0023CDDC 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19 -/* 8023FEA0 0023CDE0 41 82 00 0C */ beq lbl_8023FEAC -/* 8023FEA4 0023CDE4 60 C6 00 04 */ ori r6, r6, 4 -/* 8023FEA8 0023CDE8 48 00 00 18 */ b lbl_8023FEC0 -lbl_8023FEAC: -/* 8023FEAC 0023CDEC C0 25 00 28 */ lfs f1, 0x28(r5) -/* 8023FEB0 0023CDF0 C0 02 C3 2C */ lfs f0, lbl_8051A68C@sda21(r2) -/* 8023FEB4 0023CDF4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8023FEB8 0023CDF8 40 81 00 08 */ ble lbl_8023FEC0 -/* 8023FEBC 0023CDFC 60 C6 00 08 */ ori r6, r6, 8 -lbl_8023FEC0: -/* 8023FEC0 0023CE00 7C C3 33 78 */ mr r3, r6 -/* 8023FEC4 0023CE04 4E 80 00 20 */ blr - -.global startZoomCamera__Q24Game10PlayCameraFv -startZoomCamera__Q24Game10PlayCameraFv: -/* 8023FEC8 0023CE08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023FECC 0023CE0C 7C 08 02 A6 */ mflr r0 -/* 8023FED0 0023CE10 C0 A2 C3 1C */ lfs f5, lbl_8051A67C@sda21(r2) -/* 8023FED4 0023CE14 38 80 18 88 */ li r4, 0x1888 -/* 8023FED8 0023CE18 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023FEDC 0023CE1C 38 A0 00 00 */ li r5, 0 -/* 8023FEE0 0023CE20 C0 82 C3 0C */ lfs f4, lbl_8051A66C@sda21(r2) -/* 8023FEE4 0023CE24 80 C3 02 4C */ lwz r6, 0x24c(r3) -/* 8023FEE8 0023CE28 C0 62 C3 10 */ lfs f3, lbl_8051A670@sda21(r2) -/* 8023FEEC 0023CE2C C0 06 07 A4 */ lfs f0, 0x7a4(r6) -/* 8023FEF0 0023CE30 C0 42 C3 20 */ lfs f2, lbl_8051A680@sda21(r2) -/* 8023FEF4 0023CE34 D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 8023FEF8 0023CE38 C0 22 C3 24 */ lfs f1, lbl_8051A684@sda21(r2) -/* 8023FEFC 0023CE3C 80 C3 02 4C */ lwz r6, 0x24c(r3) -/* 8023FF00 0023CE40 C0 06 07 CC */ lfs f0, 0x7cc(r6) -/* 8023FF04 0023CE44 EC A5 00 32 */ fmuls f5, f5, f0 -/* 8023FF08 0023CE48 C0 02 C3 28 */ lfs f0, lbl_8051A688@sda21(r2) -/* 8023FF0C 0023CE4C D0 A3 01 BC */ stfs f5, 0x1bc(r3) -/* 8023FF10 0023CE50 80 C3 02 4C */ lwz r6, 0x24c(r3) -/* 8023FF14 0023CE54 C0 A6 07 F4 */ lfs f5, 0x7f4(r6) -/* 8023FF18 0023CE58 D0 A3 01 C0 */ stfs f5, 0x1c0(r3) -/* 8023FF1C 0023CE5C D0 83 01 C4 */ stfs f4, 0x1c4(r3) -/* 8023FF20 0023CE60 D0 63 01 C8 */ stfs f3, 0x1c8(r3) -/* 8023FF24 0023CE64 D0 43 01 CC */ stfs f2, 0x1cc(r3) -/* 8023FF28 0023CE68 D0 23 01 D0 */ stfs f1, 0x1d0(r3) -/* 8023FF2C 0023CE6C D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8023FF30 0023CE70 80 6D 98 58 */ lwz r3, spSysIF__8PSSystem@sda21(r13) -/* 8023FF34 0023CE74 48 0F 86 FD */ bl playSystemSe__Q28PSSystem5SysIFFUlUl -/* 8023FF38 0023CE78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023FF3C 0023CE7C 7C 08 03 A6 */ mtlr r0 -/* 8023FF40 0023CE80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023FF44 0023CE84 4E 80 00 20 */ blr - -.global startGameCamera__Q24Game10PlayCameraFi -startGameCamera__Q24Game10PlayCameraFi: -/* 8023FF48 0023CE88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8023FF4C 0023CE8C 7C 08 02 A6 */ mflr r0 -/* 8023FF50 0023CE90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8023FF54 0023CE94 54 80 07 FF */ clrlwi. r0, r4, 0x1f -/* 8023FF58 0023CE98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8023FF5C 0023CE9C 7C 7F 1B 78 */ mr r31, r3 -/* 8023FF60 0023CEA0 41 82 00 24 */ beq lbl_8023FF84 -/* 8023FF64 0023CEA4 80 7F 01 A0 */ lwz r3, 0x1a0(r31) -/* 8023FF68 0023CEA8 38 03 00 01 */ addi r0, r3, 1 -/* 8023FF6C 0023CEAC 90 1F 01 A0 */ stw r0, 0x1a0(r31) -/* 8023FF70 0023CEB0 80 1F 01 A0 */ lwz r0, 0x1a0(r31) -/* 8023FF74 0023CEB4 2C 00 00 02 */ cmpwi r0, 2 -/* 8023FF78 0023CEB8 40 81 00 0C */ ble lbl_8023FF84 -/* 8023FF7C 0023CEBC 38 00 00 00 */ li r0, 0 -/* 8023FF80 0023CEC0 90 1F 01 A0 */ stw r0, 0x1a0(r31) -lbl_8023FF84: -/* 8023FF84 0023CEC4 54 80 07 BD */ rlwinm. r0, r4, 0, 0x1e, 0x1e -/* 8023FF88 0023CEC8 41 82 00 18 */ beq lbl_8023FFA0 -/* 8023FF8C 0023CECC 80 7F 01 A4 */ lwz r3, 0x1a4(r31) -/* 8023FF90 0023CED0 38 00 00 00 */ li r0, 0 -/* 8023FF94 0023CED4 68 63 00 01 */ xori r3, r3, 1 -/* 8023FF98 0023CED8 90 7F 01 A4 */ stw r3, 0x1a4(r31) -/* 8023FF9C 0023CEDC 98 1F 02 49 */ stb r0, 0x249(r31) -lbl_8023FFA0: -/* 8023FFA0 0023CEE0 80 6D 98 58 */ lwz r3, spSysIF__8PSSystem@sda21(r13) -/* 8023FFA4 0023CEE4 38 80 18 0F */ li r4, 0x180f -/* 8023FFA8 0023CEE8 38 A0 00 00 */ li r5, 0 -/* 8023FFAC 0023CEEC 48 0F 86 85 */ bl playSystemSe__Q28PSSystem5SysIFFUlUl -/* 8023FFB0 0023CEF0 7F E3 FB 78 */ mr r3, r31 -/* 8023FFB4 0023CEF4 48 00 00 19 */ bl setTargetParms__Q24Game10PlayCameraFv -/* 8023FFB8 0023CEF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8023FFBC 0023CEFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8023FFC0 0023CF00 7C 08 03 A6 */ mtlr r0 -/* 8023FFC4 0023CF04 38 21 00 10 */ addi r1, r1, 0x10 -/* 8023FFC8 0023CF08 4E 80 00 20 */ blr - -.global setTargetParms__Q24Game10PlayCameraFv -setTargetParms__Q24Game10PlayCameraFv: -/* 8023FFCC 0023CF0C C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 8023FFD0 0023CF10 D0 03 01 E0 */ stfs f0, 0x1e0(r3) -/* 8023FFD4 0023CF14 80 03 01 A4 */ lwz r0, 0x1a4(r3) -/* 8023FFD8 0023CF18 2C 00 00 01 */ cmpwi r0, 1 -/* 8023FFDC 0023CF1C 41 82 01 7C */ beq lbl_80240158 -/* 8023FFE0 0023CF20 4C 80 00 20 */ bgelr -/* 8023FFE4 0023CF24 2C 00 00 00 */ cmpwi r0, 0 -/* 8023FFE8 0023CF28 4D 80 00 20 */ bltlr -/* 8023FFEC 0023CF2C 80 03 01 A0 */ lwz r0, 0x1a0(r3) -/* 8023FFF0 0023CF30 2C 00 00 01 */ cmpwi r0, 1 -/* 8023FFF4 0023CF34 41 82 00 8C */ beq lbl_80240080 -/* 8023FFF8 0023CF38 40 80 00 10 */ bge lbl_80240008 -/* 8023FFFC 0023CF3C 2C 00 00 00 */ cmpwi r0, 0 -/* 80240000 0023CF40 40 80 00 14 */ bge lbl_80240014 -/* 80240004 0023CF44 4E 80 00 20 */ blr -lbl_80240008: -/* 80240008 0023CF48 2C 00 00 03 */ cmpwi r0, 3 -/* 8024000C 0023CF4C 4C 80 00 20 */ bgelr -/* 80240010 0023CF50 48 00 00 DC */ b lbl_802400EC -lbl_80240014: -/* 80240014 0023CF54 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240018 0023CF58 C0 22 C3 1C */ lfs f1, lbl_8051A67C@sda21(r2) -/* 8024001C 0023CF5C C0 04 00 24 */ lfs f0, 0x24(r4) -/* 80240020 0023CF60 D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 80240024 0023CF64 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240028 0023CF68 C0 04 00 4C */ lfs f0, 0x4c(r4) -/* 8024002C 0023CF6C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80240030 0023CF70 D0 03 01 BC */ stfs f0, 0x1bc(r3) -/* 80240034 0023CF74 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240038 0023CF78 C0 04 00 74 */ lfs f0, 0x74(r4) -/* 8024003C 0023CF7C D0 03 01 C0 */ stfs f0, 0x1c0(r3) -/* 80240040 0023CF80 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240044 0023CF84 C0 04 01 14 */ lfs f0, 0x114(r4) -/* 80240048 0023CF88 D0 03 01 C4 */ stfs f0, 0x1c4(r3) -/* 8024004C 0023CF8C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240050 0023CF90 C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 80240054 0023CF94 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 80240058 0023CF98 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8024005C 0023CF9C C0 04 00 9C */ lfs f0, 0x9c(r4) -/* 80240060 0023CFA0 D0 03 01 CC */ stfs f0, 0x1cc(r3) -/* 80240064 0023CFA4 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240068 0023CFA8 C0 04 00 C4 */ lfs f0, 0xc4(r4) -/* 8024006C 0023CFAC D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 80240070 0023CFB0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240074 0023CFB4 C0 04 00 EC */ lfs f0, 0xec(r4) -/* 80240078 0023CFB8 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8024007C 0023CFBC 4E 80 00 20 */ blr -lbl_80240080: -/* 80240080 0023CFC0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240084 0023CFC4 C0 22 C3 1C */ lfs f1, lbl_8051A67C@sda21(r2) -/* 80240088 0023CFC8 C0 04 01 64 */ lfs f0, 0x164(r4) -/* 8024008C 0023CFCC D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 80240090 0023CFD0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240094 0023CFD4 C0 04 01 8C */ lfs f0, 0x18c(r4) -/* 80240098 0023CFD8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8024009C 0023CFDC D0 03 01 BC */ stfs f0, 0x1bc(r3) -/* 802400A0 0023CFE0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802400A4 0023CFE4 C0 04 01 B4 */ lfs f0, 0x1b4(r4) -/* 802400A8 0023CFE8 D0 03 01 C0 */ stfs f0, 0x1c0(r3) -/* 802400AC 0023CFEC 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802400B0 0023CFF0 C0 04 02 54 */ lfs f0, 0x254(r4) -/* 802400B4 0023CFF4 D0 03 01 C4 */ stfs f0, 0x1c4(r3) -/* 802400B8 0023CFF8 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802400BC 0023CFFC C0 04 02 7C */ lfs f0, 0x27c(r4) -/* 802400C0 0023D000 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 802400C4 0023D004 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802400C8 0023D008 C0 04 01 DC */ lfs f0, 0x1dc(r4) -/* 802400CC 0023D00C D0 03 01 CC */ stfs f0, 0x1cc(r3) -/* 802400D0 0023D010 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802400D4 0023D014 C0 04 02 04 */ lfs f0, 0x204(r4) -/* 802400D8 0023D018 D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 802400DC 0023D01C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802400E0 0023D020 C0 04 02 2C */ lfs f0, 0x22c(r4) -/* 802400E4 0023D024 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 802400E8 0023D028 4E 80 00 20 */ blr -lbl_802400EC: -/* 802400EC 0023D02C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802400F0 0023D030 C0 22 C3 1C */ lfs f1, lbl_8051A67C@sda21(r2) -/* 802400F4 0023D034 C0 04 02 A4 */ lfs f0, 0x2a4(r4) -/* 802400F8 0023D038 D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 802400FC 0023D03C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240100 0023D040 C0 04 02 CC */ lfs f0, 0x2cc(r4) -/* 80240104 0023D044 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80240108 0023D048 D0 03 01 BC */ stfs f0, 0x1bc(r3) -/* 8024010C 0023D04C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240110 0023D050 C0 04 02 F4 */ lfs f0, 0x2f4(r4) -/* 80240114 0023D054 D0 03 01 C0 */ stfs f0, 0x1c0(r3) -/* 80240118 0023D058 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8024011C 0023D05C C0 04 03 94 */ lfs f0, 0x394(r4) -/* 80240120 0023D060 D0 03 01 C4 */ stfs f0, 0x1c4(r3) -/* 80240124 0023D064 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240128 0023D068 C0 04 03 BC */ lfs f0, 0x3bc(r4) -/* 8024012C 0023D06C D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 80240130 0023D070 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240134 0023D074 C0 04 03 1C */ lfs f0, 0x31c(r4) -/* 80240138 0023D078 D0 03 01 CC */ stfs f0, 0x1cc(r3) -/* 8024013C 0023D07C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240140 0023D080 C0 04 03 44 */ lfs f0, 0x344(r4) -/* 80240144 0023D084 D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 80240148 0023D088 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8024014C 0023D08C C0 04 03 6C */ lfs f0, 0x36c(r4) -/* 80240150 0023D090 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80240154 0023D094 4E 80 00 20 */ blr -lbl_80240158: -/* 80240158 0023D098 80 03 01 A0 */ lwz r0, 0x1a0(r3) -/* 8024015C 0023D09C 2C 00 00 01 */ cmpwi r0, 1 -/* 80240160 0023D0A0 41 82 00 8C */ beq lbl_802401EC -/* 80240164 0023D0A4 40 80 00 10 */ bge lbl_80240174 -/* 80240168 0023D0A8 2C 00 00 00 */ cmpwi r0, 0 -/* 8024016C 0023D0AC 40 80 00 14 */ bge lbl_80240180 -/* 80240170 0023D0B0 4E 80 00 20 */ blr -lbl_80240174: -/* 80240174 0023D0B4 2C 00 00 03 */ cmpwi r0, 3 -/* 80240178 0023D0B8 4C 80 00 20 */ bgelr -/* 8024017C 0023D0BC 48 00 00 DC */ b lbl_80240258 -lbl_80240180: -/* 80240180 0023D0C0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240184 0023D0C4 C0 22 C3 1C */ lfs f1, lbl_8051A67C@sda21(r2) -/* 80240188 0023D0C8 C0 04 03 E4 */ lfs f0, 0x3e4(r4) -/* 8024018C 0023D0CC D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 80240190 0023D0D0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240194 0023D0D4 C0 04 04 0C */ lfs f0, 0x40c(r4) -/* 80240198 0023D0D8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8024019C 0023D0DC D0 03 01 BC */ stfs f0, 0x1bc(r3) -/* 802401A0 0023D0E0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802401A4 0023D0E4 C0 04 04 34 */ lfs f0, 0x434(r4) -/* 802401A8 0023D0E8 D0 03 01 C0 */ stfs f0, 0x1c0(r3) -/* 802401AC 0023D0EC 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802401B0 0023D0F0 C0 04 04 D4 */ lfs f0, 0x4d4(r4) -/* 802401B4 0023D0F4 D0 03 01 C4 */ stfs f0, 0x1c4(r3) -/* 802401B8 0023D0F8 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802401BC 0023D0FC C0 04 04 FC */ lfs f0, 0x4fc(r4) -/* 802401C0 0023D100 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 802401C4 0023D104 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802401C8 0023D108 C0 04 04 5C */ lfs f0, 0x45c(r4) -/* 802401CC 0023D10C D0 03 01 CC */ stfs f0, 0x1cc(r3) -/* 802401D0 0023D110 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802401D4 0023D114 C0 04 04 84 */ lfs f0, 0x484(r4) -/* 802401D8 0023D118 D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 802401DC 0023D11C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802401E0 0023D120 C0 04 04 AC */ lfs f0, 0x4ac(r4) -/* 802401E4 0023D124 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 802401E8 0023D128 4E 80 00 20 */ blr -lbl_802401EC: -/* 802401EC 0023D12C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802401F0 0023D130 C0 22 C3 1C */ lfs f1, lbl_8051A67C@sda21(r2) -/* 802401F4 0023D134 C0 04 05 24 */ lfs f0, 0x524(r4) -/* 802401F8 0023D138 D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 802401FC 0023D13C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240200 0023D140 C0 04 05 4C */ lfs f0, 0x54c(r4) -/* 80240204 0023D144 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80240208 0023D148 D0 03 01 BC */ stfs f0, 0x1bc(r3) -/* 8024020C 0023D14C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240210 0023D150 C0 04 05 74 */ lfs f0, 0x574(r4) -/* 80240214 0023D154 D0 03 01 C0 */ stfs f0, 0x1c0(r3) -/* 80240218 0023D158 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8024021C 0023D15C C0 04 06 14 */ lfs f0, 0x614(r4) -/* 80240220 0023D160 D0 03 01 C4 */ stfs f0, 0x1c4(r3) -/* 80240224 0023D164 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240228 0023D168 C0 04 06 3C */ lfs f0, 0x63c(r4) -/* 8024022C 0023D16C D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 80240230 0023D170 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240234 0023D174 C0 04 05 9C */ lfs f0, 0x59c(r4) -/* 80240238 0023D178 D0 03 01 CC */ stfs f0, 0x1cc(r3) -/* 8024023C 0023D17C 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240240 0023D180 C0 04 05 C4 */ lfs f0, 0x5c4(r4) -/* 80240244 0023D184 D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 80240248 0023D188 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8024024C 0023D18C C0 04 05 EC */ lfs f0, 0x5ec(r4) -/* 80240250 0023D190 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80240254 0023D194 4E 80 00 20 */ blr -lbl_80240258: -/* 80240258 0023D198 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8024025C 0023D19C C0 22 C3 1C */ lfs f1, lbl_8051A67C@sda21(r2) -/* 80240260 0023D1A0 C0 04 06 64 */ lfs f0, 0x664(r4) -/* 80240264 0023D1A4 D0 03 01 AC */ stfs f0, 0x1ac(r3) -/* 80240268 0023D1A8 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8024026C 0023D1AC C0 04 06 8C */ lfs f0, 0x68c(r4) -/* 80240270 0023D1B0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80240274 0023D1B4 D0 03 01 BC */ stfs f0, 0x1bc(r3) -/* 80240278 0023D1B8 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 8024027C 0023D1BC C0 04 06 B4 */ lfs f0, 0x6b4(r4) -/* 80240280 0023D1C0 D0 03 01 C0 */ stfs f0, 0x1c0(r3) -/* 80240284 0023D1C4 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240288 0023D1C8 C0 04 07 54 */ lfs f0, 0x754(r4) -/* 8024028C 0023D1CC D0 03 01 C4 */ stfs f0, 0x1c4(r3) -/* 80240290 0023D1D0 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240294 0023D1D4 C0 04 07 7C */ lfs f0, 0x77c(r4) -/* 80240298 0023D1D8 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 8024029C 0023D1DC 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802402A0 0023D1E0 C0 04 06 DC */ lfs f0, 0x6dc(r4) -/* 802402A4 0023D1E4 D0 03 01 CC */ stfs f0, 0x1cc(r3) -/* 802402A8 0023D1E8 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802402AC 0023D1EC C0 04 07 04 */ lfs f0, 0x704(r4) -/* 802402B0 0023D1F0 D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 802402B4 0023D1F4 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802402B8 0023D1F8 C0 04 07 2C */ lfs f0, 0x72c(r4) -/* 802402BC 0023D1FC D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 802402C0 0023D200 4E 80 00 20 */ blr - -.global setTargetThetaToWhistle__Q24Game10PlayCameraFv -setTargetThetaToWhistle__Q24Game10PlayCameraFv: -/* 802402C4 0023D204 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802402C8 0023D208 7C 08 02 A6 */ mflr r0 -/* 802402CC 0023D20C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802402D0 0023D210 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802402D4 0023D214 7C 7F 1B 78 */ mr r31, r3 -/* 802402D8 0023D218 38 61 00 08 */ addi r3, r1, 8 -/* 802402DC 0023D21C 80 9F 01 98 */ lwz r4, 0x198(r31) -/* 802402E0 0023D220 81 84 00 00 */ lwz r12, 0(r4) -/* 802402E4 0023D224 81 8C 00 08 */ lwz r12, 8(r12) -/* 802402E8 0023D228 7D 89 03 A6 */ mtctr r12 -/* 802402EC 0023D22C 4E 80 04 21 */ bctrl -/* 802402F0 0023D230 80 9F 01 98 */ lwz r4, 0x198(r31) -/* 802402F4 0023D234 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802402F8 0023D238 C0 61 00 08 */ lfs f3, 8(r1) -/* 802402FC 0023D23C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80240300 0023D240 80 84 02 8C */ lwz r4, 0x28c(r4) -/* 80240304 0023D244 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80240308 0023D248 C0 24 00 0C */ lfs f1, 0xc(r4) -/* 8024030C 0023D24C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80240310 0023D250 EC 23 08 28 */ fsubs f1, f3, f1 -/* 80240314 0023D254 EC 42 00 28 */ fsubs f2, f2, f0 -/* 80240318 0023D258 4B DF 4D F1 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8024031C 0023D25C D0 3F 01 B4 */ stfs f1, 0x1b4(r31) -/* 80240320 0023D260 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80240324 0023D264 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80240328 0023D268 7C 08 03 A6 */ mtlr r0 -/* 8024032C 0023D26C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80240330 0023D270 4E 80 00 20 */ blr - -.global setFollowTime__Q24Game10PlayCameraFv -setFollowTime__Q24Game10PlayCameraFv: -/* 80240334 0023D274 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 80240338 0023D278 C0 04 09 0C */ lfs f0, 0x90c(r4) -/* 8024033C 0023D27C D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80240340 0023D280 4E 80 00 20 */ blr - -.global setSmoothThetaSpeed__Q24Game10PlayCameraFv -setSmoothThetaSpeed__Q24Game10PlayCameraFv: -/* 80240344 0023D284 80 83 01 98 */ lwz r4, 0x198(r3) -/* 80240348 0023D288 80 C4 02 78 */ lwz r6, 0x278(r4) -/* 8024034C 0023D28C 28 06 00 00 */ cmplwi r6, 0 -/* 80240350 0023D290 4D 82 00 20 */ beqlr -/* 80240354 0023D294 80 A3 02 4C */ lwz r5, 0x24c(r3) -/* 80240358 0023D298 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 8024035C 0023D29C C0 46 00 48 */ lfs f2, 0x48(r6) -/* 80240360 0023D2A0 C0 25 09 34 */ lfs f1, 0x934(r5) -/* 80240364 0023D2A4 C0 03 01 D8 */ lfs f0, 0x1d8(r3) -/* 80240368 0023D2A8 C0 85 09 5C */ lfs f4, 0x95c(r5) -/* 8024036C 0023D2AC C0 64 00 54 */ lfs f3, 0x54(r4) -/* 80240370 0023D2B0 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80240374 0023D2B4 EC 44 00 F2 */ fmuls f2, f4, f3 -/* 80240378 0023D2B8 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 8024037C 0023D2BC FC 20 10 50 */ fneg f1, f2 -/* 80240380 0023D2C0 C0 03 01 D8 */ lfs f0, 0x1d8(r3) -/* 80240384 0023D2C4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80240388 0023D2C8 40 80 00 08 */ bge lbl_80240390 -/* 8024038C 0023D2CC 48 00 00 18 */ b lbl_802403A4 -lbl_80240390: -/* 80240390 0023D2D0 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80240394 0023D2D4 40 81 00 0C */ ble lbl_802403A0 -/* 80240398 0023D2D8 FC 20 10 90 */ fmr f1, f2 -/* 8024039C 0023D2DC 48 00 00 08 */ b lbl_802403A4 -lbl_802403A0: -/* 802403A0 0023D2E0 FC 20 00 90 */ fmr f1, f0 -lbl_802403A4: -/* 802403A4 0023D2E4 D0 23 01 D8 */ stfs f1, 0x1d8(r3) -/* 802403A8 0023D2E8 4E 80 00 20 */ blr - -.global changeTargetTheta__Q24Game10PlayCameraFv -changeTargetTheta__Q24Game10PlayCameraFv: -/* 802403AC 0023D2EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802403B0 0023D2F0 7C 08 02 A6 */ mflr r0 -/* 802403B4 0023D2F4 C0 42 C3 04 */ lfs f2, lbl_8051A664@sda21(r2) -/* 802403B8 0023D2F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802403BC 0023D2FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802403C0 0023D300 7C 7F 1B 78 */ mr r31, r3 -/* 802403C4 0023D304 C0 23 01 DC */ lfs f1, 0x1dc(r3) -/* 802403C8 0023D308 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802403CC 0023D30C 40 81 00 60 */ ble lbl_8024042C -/* 802403D0 0023D310 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 802403D4 0023D314 38 61 00 08 */ addi r3, r1, 8 -/* 802403D8 0023D318 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 802403DC 0023D31C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802403E0 0023D320 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802403E4 0023D324 80 9F 01 98 */ lwz r4, 0x198(r31) -/* 802403E8 0023D328 81 84 00 00 */ lwz r12, 0(r4) -/* 802403EC 0023D32C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802403F0 0023D330 7D 89 03 A6 */ mtctr r12 -/* 802403F4 0023D334 4E 80 04 21 */ bctrl -/* 802403F8 0023D338 80 9F 01 98 */ lwz r4, 0x198(r31) -/* 802403FC 0023D33C 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80240400 0023D340 C0 61 00 08 */ lfs f3, 8(r1) -/* 80240404 0023D344 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80240408 0023D348 80 84 02 8C */ lwz r4, 0x28c(r4) -/* 8024040C 0023D34C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80240410 0023D350 C0 24 00 0C */ lfs f1, 0xc(r4) -/* 80240414 0023D354 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80240418 0023D358 EC 23 08 28 */ fsubs f1, f3, f1 -/* 8024041C 0023D35C EC 42 00 28 */ fsubs f2, f2, f0 -/* 80240420 0023D360 4B DF 4C E9 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80240424 0023D364 D0 3F 01 B4 */ stfs f1, 0x1b4(r31) -/* 80240428 0023D368 48 00 00 3C */ b lbl_80240464 -lbl_8024042C: -/* 8024042C 0023D36C C0 3F 01 B4 */ lfs f1, 0x1b4(r31) -/* 80240430 0023D370 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) -/* 80240434 0023D374 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80240438 0023D378 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8024043C 0023D37C 40 80 00 10 */ bge lbl_8024044C -/* 80240440 0023D380 C0 02 C3 18 */ lfs f0, lbl_8051A678@sda21(r2) -/* 80240444 0023D384 EC 20 08 2A */ fadds f1, f0, f1 -/* 80240448 0023D388 48 00 00 18 */ b lbl_80240460 -lbl_8024044C: -/* 8024044C 0023D38C C0 02 C3 18 */ lfs f0, lbl_8051A678@sda21(r2) -/* 80240450 0023D390 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240454 0023D394 4C 41 13 82 */ cror 2, 1, 2 -/* 80240458 0023D398 40 82 00 08 */ bne lbl_80240460 -/* 8024045C 0023D39C EC 21 00 28 */ fsubs f1, f1, f0 -lbl_80240460: -/* 80240460 0023D3A0 D0 3F 01 B4 */ stfs f1, 0x1b4(r31) -lbl_80240464: -/* 80240464 0023D3A4 80 7F 02 4C */ lwz r3, 0x24c(r31) -/* 80240468 0023D3A8 C0 3F 01 D8 */ lfs f1, 0x1d8(r31) -/* 8024046C 0023D3AC C0 03 09 84 */ lfs f0, 0x984(r3) -/* 80240470 0023D3B0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80240474 0023D3B4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80240478 0023D3B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024047C 0023D3BC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80240480 0023D3C0 7C 08 03 A6 */ mtlr r0 -/* 80240484 0023D3C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80240488 0023D3C8 4E 80 00 20 */ blr - -.global changeTargetAtPosition__Q24Game10PlayCameraFv -changeTargetAtPosition__Q24Game10PlayCameraFv: -/* 8024048C 0023D3CC 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80240490 0023D3D0 7C 08 02 A6 */ mflr r0 -/* 80240494 0023D3D4 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80240498 0023D3D8 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8024049C 0023D3DC F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 802404A0 0023D3E0 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 802404A4 0023D3E4 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 802404A8 0023D3E8 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 802404AC 0023D3EC F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 802404B0 0023D3F0 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 802404B4 0023D3F4 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 802404B8 0023D3F8 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 802404BC 0023D3FC F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 802404C0 0023D400 DB 41 00 50 */ stfd f26, 0x50(r1) -/* 802404C4 0023D404 F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 -/* 802404C8 0023D408 DB 21 00 40 */ stfd f25, 0x40(r1) -/* 802404CC 0023D40C F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 -/* 802404D0 0023D410 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802404D4 0023D414 7C 7F 1B 78 */ mr r31, r3 -/* 802404D8 0023D418 38 61 00 14 */ addi r3, r1, 0x14 -/* 802404DC 0023D41C 80 9F 01 98 */ lwz r4, 0x198(r31) -/* 802404E0 0023D420 C3 3F 01 D0 */ lfs f25, 0x1d0(r31) -/* 802404E4 0023D424 81 84 00 00 */ lwz r12, 0(r4) -/* 802404E8 0023D428 81 8C 00 08 */ lwz r12, 8(r12) -/* 802404EC 0023D42C 7D 89 03 A6 */ mtctr r12 -/* 802404F0 0023D430 4E 80 04 21 */ bctrl -/* 802404F4 0023D434 80 7F 01 98 */ lwz r3, 0x198(r31) -/* 802404F8 0023D438 3C 80 80 4B */ lis r4, __vt__26Iterator$$0Q24Game8Creature$$1@ha -/* 802404FC 0023D43C C3 A1 00 14 */ lfs f29, 0x14(r1) -/* 80240500 0023D440 38 00 00 00 */ li r0, 0 -/* 80240504 0023D444 80 63 02 54 */ lwz r3, 0x254(r3) -/* 80240508 0023D448 38 84 BC 84 */ addi r4, r4, __vt__26Iterator$$0Q24Game8Creature$$1@l -/* 8024050C 0023D44C C3 E1 00 18 */ lfs f31, 0x18(r1) -/* 80240510 0023D450 28 00 00 00 */ cmplwi r0, 0 -/* 80240514 0023D454 C3 C1 00 1C */ lfs f30, 0x1c(r1) -/* 80240518 0023D458 EF 9D 06 72 */ fmuls f28, f29, f25 -/* 8024051C 0023D45C EF 7F 06 72 */ fmuls f27, f31, f25 -/* 80240520 0023D460 90 81 00 20 */ stw r4, 0x20(r1) -/* 80240524 0023D464 EF 5E 06 72 */ fmuls f26, f30, f25 -/* 80240528 0023D468 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8024052C 0023D46C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80240530 0023D470 90 61 00 28 */ stw r3, 0x28(r1) -/* 80240534 0023D474 40 82 00 1C */ bne lbl_80240550 -/* 80240538 0023D478 81 83 00 00 */ lwz r12, 0(r3) -/* 8024053C 0023D47C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80240540 0023D480 7D 89 03 A6 */ mtctr r12 -/* 80240544 0023D484 4E 80 04 21 */ bctrl -/* 80240548 0023D488 90 61 00 24 */ stw r3, 0x24(r1) -/* 8024054C 0023D48C 48 00 01 A0 */ b lbl_802406EC -lbl_80240550: -/* 80240550 0023D490 81 83 00 00 */ lwz r12, 0(r3) -/* 80240554 0023D494 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80240558 0023D498 7D 89 03 A6 */ mtctr r12 -/* 8024055C 0023D49C 4E 80 04 21 */ bctrl -/* 80240560 0023D4A0 90 61 00 24 */ stw r3, 0x24(r1) -/* 80240564 0023D4A4 48 00 00 58 */ b lbl_802405BC -lbl_80240568: -/* 80240568 0023D4A8 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8024056C 0023D4AC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80240570 0023D4B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80240574 0023D4B4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80240578 0023D4B8 7D 89 03 A6 */ mtctr r12 -/* 8024057C 0023D4BC 4E 80 04 21 */ bctrl -/* 80240580 0023D4C0 7C 64 1B 78 */ mr r4, r3 -/* 80240584 0023D4C4 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80240588 0023D4C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8024058C 0023D4CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80240590 0023D4D0 7D 89 03 A6 */ mtctr r12 -/* 80240594 0023D4D4 4E 80 04 21 */ bctrl -/* 80240598 0023D4D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024059C 0023D4DC 40 82 01 50 */ bne lbl_802406EC -/* 802405A0 0023D4E0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802405A4 0023D4E4 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802405A8 0023D4E8 81 83 00 00 */ lwz r12, 0(r3) -/* 802405AC 0023D4EC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802405B0 0023D4F0 7D 89 03 A6 */ mtctr r12 -/* 802405B4 0023D4F4 4E 80 04 21 */ bctrl -/* 802405B8 0023D4F8 90 61 00 24 */ stw r3, 0x24(r1) -lbl_802405BC: -/* 802405BC 0023D4FC 81 81 00 20 */ lwz r12, 0x20(r1) -/* 802405C0 0023D500 38 61 00 20 */ addi r3, r1, 0x20 -/* 802405C4 0023D504 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802405C8 0023D508 7D 89 03 A6 */ mtctr r12 -/* 802405CC 0023D50C 4E 80 04 21 */ bctrl -/* 802405D0 0023D510 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802405D4 0023D514 41 82 FF 94 */ beq lbl_80240568 -/* 802405D8 0023D518 48 00 01 14 */ b lbl_802406EC -lbl_802405DC: -/* 802405DC 0023D51C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802405E0 0023D520 81 83 00 00 */ lwz r12, 0(r3) -/* 802405E4 0023D524 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802405E8 0023D528 7D 89 03 A6 */ mtctr r12 -/* 802405EC 0023D52C 4E 80 04 21 */ bctrl -/* 802405F0 0023D530 28 03 00 00 */ cmplwi r3, 0 -/* 802405F4 0023D534 41 82 00 3C */ beq lbl_80240630 -/* 802405F8 0023D538 7C 64 1B 78 */ mr r4, r3 -/* 802405FC 0023D53C 38 61 00 08 */ addi r3, r1, 8 -/* 80240600 0023D540 81 84 00 00 */ lwz r12, 0(r4) -/* 80240604 0023D544 81 8C 00 08 */ lwz r12, 8(r12) -/* 80240608 0023D548 7D 89 03 A6 */ mtctr r12 -/* 8024060C 0023D54C 4E 80 04 21 */ bctrl -/* 80240610 0023D550 C0 01 00 08 */ lfs f0, 8(r1) -/* 80240614 0023D554 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80240618 0023D558 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8024061C 0023D55C EF 9C 00 2A */ fadds f28, f28, f0 -/* 80240620 0023D560 C0 02 C3 0C */ lfs f0, lbl_8051A66C@sda21(r2) -/* 80240624 0023D564 EF 7B 10 2A */ fadds f27, f27, f2 -/* 80240628 0023D568 EF 5A 08 2A */ fadds f26, f26, f1 -/* 8024062C 0023D56C EF 39 00 2A */ fadds f25, f25, f0 -lbl_80240630: -/* 80240630 0023D570 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80240634 0023D574 28 00 00 00 */ cmplwi r0, 0 -/* 80240638 0023D578 40 82 00 24 */ bne lbl_8024065C -/* 8024063C 0023D57C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80240640 0023D580 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80240644 0023D584 81 83 00 00 */ lwz r12, 0(r3) -/* 80240648 0023D588 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8024064C 0023D58C 7D 89 03 A6 */ mtctr r12 -/* 80240650 0023D590 4E 80 04 21 */ bctrl -/* 80240654 0023D594 90 61 00 24 */ stw r3, 0x24(r1) -/* 80240658 0023D598 48 00 00 94 */ b lbl_802406EC -lbl_8024065C: -/* 8024065C 0023D59C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80240660 0023D5A0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80240664 0023D5A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80240668 0023D5A8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8024066C 0023D5AC 7D 89 03 A6 */ mtctr r12 -/* 80240670 0023D5B0 4E 80 04 21 */ bctrl -/* 80240674 0023D5B4 90 61 00 24 */ stw r3, 0x24(r1) -/* 80240678 0023D5B8 48 00 00 58 */ b lbl_802406D0 -lbl_8024067C: -/* 8024067C 0023D5BC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80240680 0023D5C0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80240684 0023D5C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80240688 0023D5C8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8024068C 0023D5CC 7D 89 03 A6 */ mtctr r12 -/* 80240690 0023D5D0 4E 80 04 21 */ bctrl -/* 80240694 0023D5D4 7C 64 1B 78 */ mr r4, r3 -/* 80240698 0023D5D8 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8024069C 0023D5DC 81 83 00 00 */ lwz r12, 0(r3) -/* 802406A0 0023D5E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802406A4 0023D5E4 7D 89 03 A6 */ mtctr r12 -/* 802406A8 0023D5E8 4E 80 04 21 */ bctrl -/* 802406AC 0023D5EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802406B0 0023D5F0 40 82 00 3C */ bne lbl_802406EC -/* 802406B4 0023D5F4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802406B8 0023D5F8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802406BC 0023D5FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802406C0 0023D600 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802406C4 0023D604 7D 89 03 A6 */ mtctr r12 -/* 802406C8 0023D608 4E 80 04 21 */ bctrl -/* 802406CC 0023D60C 90 61 00 24 */ stw r3, 0x24(r1) -lbl_802406D0: -/* 802406D0 0023D610 81 81 00 20 */ lwz r12, 0x20(r1) -/* 802406D4 0023D614 38 61 00 20 */ addi r3, r1, 0x20 -/* 802406D8 0023D618 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802406DC 0023D61C 7D 89 03 A6 */ mtctr r12 -/* 802406E0 0023D620 4E 80 04 21 */ bctrl -/* 802406E4 0023D624 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802406E8 0023D628 41 82 FF 94 */ beq lbl_8024067C -lbl_802406EC: -/* 802406EC 0023D62C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802406F0 0023D630 81 83 00 00 */ lwz r12, 0(r3) -/* 802406F4 0023D634 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802406F8 0023D638 7D 89 03 A6 */ mtctr r12 -/* 802406FC 0023D63C 4E 80 04 21 */ bctrl -/* 80240700 0023D640 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80240704 0023D644 7C 04 18 40 */ cmplw r4, r3 -/* 80240708 0023D648 40 82 FE D4 */ bne lbl_802405DC -/* 8024070C 0023D64C EC 3C C8 24 */ fdivs f1, f28, f25 -/* 80240710 0023D650 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240714 0023D654 EC 5B C8 24 */ fdivs f2, f27, f25 -/* 80240718 0023D658 D0 3F 01 E4 */ stfs f1, 0x1e4(r31) -/* 8024071C 0023D65C EC 3A C8 24 */ fdivs f1, f26, f25 -/* 80240720 0023D660 D0 5F 01 E8 */ stfs f2, 0x1e8(r31) -/* 80240724 0023D664 D0 3F 01 EC */ stfs f1, 0x1ec(r31) -/* 80240728 0023D668 C0 DF 01 E8 */ lfs f6, 0x1e8(r31) -/* 8024072C 0023D66C C0 FF 01 E4 */ lfs f7, 0x1e4(r31) -/* 80240730 0023D670 EC 46 F8 28 */ fsubs f2, f6, f31 -/* 80240734 0023D674 C0 BF 01 EC */ lfs f5, 0x1ec(r31) -/* 80240738 0023D678 EC 67 E8 28 */ fsubs f3, f7, f29 -/* 8024073C 0023D67C EC 25 F0 28 */ fsubs f1, f5, f30 -/* 80240740 0023D680 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80240744 0023D684 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80240748 0023D688 EC 23 10 FA */ fmadds f1, f3, f3, f2 -/* 8024074C 0023D68C EC 24 08 2A */ fadds f1, f4, f1 -/* 80240750 0023D690 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240754 0023D694 40 81 00 14 */ ble lbl_80240768 -/* 80240758 0023D698 40 81 00 14 */ ble lbl_8024076C -/* 8024075C 0023D69C FC 00 08 34 */ frsqrte f0, f1 -/* 80240760 0023D6A0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80240764 0023D6A4 48 00 00 08 */ b lbl_8024076C -lbl_80240768: -/* 80240768 0023D6A8 FC 20 00 90 */ fmr f1, f0 -lbl_8024076C: -/* 8024076C 0023D6AC C0 1F 01 D4 */ lfs f0, 0x1d4(r31) -/* 80240770 0023D6B0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80240774 0023D6B4 40 80 00 40 */ bge lbl_802407B4 -/* 80240778 0023D6B8 ED 00 08 24 */ fdivs f8, f0, f1 -/* 8024077C 0023D6BC C0 02 C3 0C */ lfs f0, lbl_8051A66C@sda21(r2) -/* 80240780 0023D6C0 EC 20 40 28 */ fsubs f1, f0, f8 -/* 80240784 0023D6C4 EC 07 02 32 */ fmuls f0, f7, f8 -/* 80240788 0023D6C8 EC 46 02 32 */ fmuls f2, f6, f8 -/* 8024078C 0023D6CC EC 9D 00 72 */ fmuls f4, f29, f1 -/* 80240790 0023D6D0 EC 7F 00 72 */ fmuls f3, f31, f1 -/* 80240794 0023D6D4 EC 3E 00 72 */ fmuls f1, f30, f1 -/* 80240798 0023D6D8 EC 84 00 2A */ fadds f4, f4, f0 -/* 8024079C 0023D6DC EC 05 02 32 */ fmuls f0, f5, f8 -/* 802407A0 0023D6E0 EC 43 10 2A */ fadds f2, f3, f2 -/* 802407A4 0023D6E4 D0 9F 01 E4 */ stfs f4, 0x1e4(r31) -/* 802407A8 0023D6E8 EC 01 00 2A */ fadds f0, f1, f0 -/* 802407AC 0023D6EC D0 5F 01 E8 */ stfs f2, 0x1e8(r31) -/* 802407B0 0023D6F0 D0 1F 01 EC */ stfs f0, 0x1ec(r31) -lbl_802407B4: -/* 802407B4 0023D6F4 C0 3F 01 E8 */ lfs f1, 0x1e8(r31) -/* 802407B8 0023D6F8 C0 1F 01 CC */ lfs f0, 0x1cc(r31) -/* 802407BC 0023D6FC EC 01 00 2A */ fadds f0, f1, f0 -/* 802407C0 0023D700 D0 1F 01 E8 */ stfs f0, 0x1e8(r31) -/* 802407C4 0023D704 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 802407C8 0023D708 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 802407CC 0023D70C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 802407D0 0023D710 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 802407D4 0023D714 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 802407D8 0023D718 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 802407DC 0023D71C E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 802407E0 0023D720 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 802407E4 0023D724 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 802407E8 0023D728 CB 61 00 60 */ lfd f27, 0x60(r1) -/* 802407EC 0023D72C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 -/* 802407F0 0023D730 CB 41 00 50 */ lfd f26, 0x50(r1) -/* 802407F4 0023D734 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 -/* 802407F8 0023D738 CB 21 00 40 */ lfd f25, 0x40(r1) -/* 802407FC 0023D73C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80240800 0023D740 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80240804 0023D744 7C 08 03 A6 */ mtlr r0 -/* 80240808 0023D748 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8024080C 0023D74C 4E 80 00 20 */ blr - -.global updateParms__Q24Game10PlayCameraFi -updateParms__Q24Game10PlayCameraFi: -/* 80240810 0023D750 80 A3 02 4C */ lwz r5, 0x24c(r3) -/* 80240814 0023D754 54 80 06 B5 */ rlwinm. r0, r4, 0, 0x1a, 0x1a -/* 80240818 0023D758 C0 22 C3 0C */ lfs f1, lbl_8051A66C@sda21(r2) -/* 8024081C 0023D75C C0 05 08 BC */ lfs f0, 0x8bc(r5) -/* 80240820 0023D760 C0 43 01 AC */ lfs f2, 0x1ac(r3) -/* 80240824 0023D764 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80240828 0023D768 C0 63 01 A8 */ lfs f3, 0x1a8(r3) -/* 8024082C 0023D76C EC 42 00 32 */ fmuls f2, f2, f0 -/* 80240830 0023D770 EC 43 10 7A */ fmadds f2, f3, f1, f2 -/* 80240834 0023D774 D0 43 01 A8 */ stfs f2, 0x1a8(r3) -/* 80240838 0023D778 C0 43 01 BC */ lfs f2, 0x1bc(r3) -/* 8024083C 0023D77C C0 63 01 B8 */ lfs f3, 0x1b8(r3) -/* 80240840 0023D780 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80240844 0023D784 EC 43 10 7A */ fmadds f2, f3, f1, f2 -/* 80240848 0023D788 D0 43 01 B8 */ stfs f2, 0x1b8(r3) -/* 8024084C 0023D78C C0 43 01 C0 */ lfs f2, 0x1c0(r3) -/* 80240850 0023D790 C0 63 00 28 */ lfs f3, 0x28(r3) -/* 80240854 0023D794 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80240858 0023D798 EC 43 10 7A */ fmadds f2, f3, f1, f2 -/* 8024085C 0023D79C D0 43 00 28 */ stfs f2, 0x28(r3) -/* 80240860 0023D7A0 C0 43 01 C4 */ lfs f2, 0x1c4(r3) -/* 80240864 0023D7A4 C0 63 00 70 */ lfs f3, 0x70(r3) -/* 80240868 0023D7A8 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8024086C 0023D7AC EC 43 10 7A */ fmadds f2, f3, f1, f2 -/* 80240870 0023D7B0 D0 43 00 70 */ stfs f2, 0x70(r3) -/* 80240874 0023D7B4 C0 43 01 C8 */ lfs f2, 0x1c8(r3) -/* 80240878 0023D7B8 C0 63 00 74 */ lfs f3, 0x74(r3) -/* 8024087C 0023D7BC EC 42 00 32 */ fmuls f2, f2, f0 -/* 80240880 0023D7C0 EC 43 10 7A */ fmadds f2, f3, f1, f2 -/* 80240884 0023D7C4 D0 43 00 74 */ stfs f2, 0x74(r3) -/* 80240888 0023D7C8 41 82 00 0C */ beq lbl_80240894 -/* 8024088C 0023D7CC C0 02 C3 30 */ lfs f0, lbl_8051A690@sda21(r2) -/* 80240890 0023D7D0 C0 22 C3 34 */ lfs f1, lbl_8051A694@sda21(r2) -lbl_80240894: -/* 80240894 0023D7D4 C0 63 01 80 */ lfs f3, 0x180(r3) -/* 80240898 0023D7D8 C0 43 01 E4 */ lfs f2, 0x1e4(r3) -/* 8024089C 0023D7DC C0 A3 01 84 */ lfs f5, 0x184(r3) -/* 802408A0 0023D7E0 EC 63 00 72 */ fmuls f3, f3, f1 -/* 802408A4 0023D7E4 EC 42 00 32 */ fmuls f2, f2, f0 -/* 802408A8 0023D7E8 C0 83 01 E8 */ lfs f4, 0x1e8(r3) -/* 802408AC 0023D7EC C0 E3 01 88 */ lfs f7, 0x188(r3) -/* 802408B0 0023D7F0 EC A5 00 72 */ fmuls f5, f5, f1 -/* 802408B4 0023D7F4 EC 84 00 32 */ fmuls f4, f4, f0 -/* 802408B8 0023D7F8 C0 C3 01 EC */ lfs f6, 0x1ec(r3) -/* 802408BC 0023D7FC EC 43 10 2A */ fadds f2, f3, f2 -/* 802408C0 0023D800 EC 27 00 72 */ fmuls f1, f7, f1 -/* 802408C4 0023D804 EC 06 00 32 */ fmuls f0, f6, f0 -/* 802408C8 0023D808 EC 65 20 2A */ fadds f3, f5, f4 -/* 802408CC 0023D80C D0 43 01 80 */ stfs f2, 0x180(r3) -/* 802408D0 0023D810 EC 01 00 2A */ fadds f0, f1, f0 -/* 802408D4 0023D814 D0 63 01 84 */ stfs f3, 0x184(r3) -/* 802408D8 0023D818 D0 03 01 88 */ stfs f0, 0x188(r3) -/* 802408DC 0023D81C C0 83 01 B4 */ lfs f4, 0x1b4(r3) -/* 802408E0 0023D820 C0 43 01 B0 */ lfs f2, 0x1b0(r3) -/* 802408E4 0023D824 80 83 02 4C */ lwz r4, 0x24c(r3) -/* 802408E8 0023D828 FC 04 10 40 */ fcmpo cr0, f4, f2 -/* 802408EC 0023D82C 4C 41 13 82 */ cror 2, 1, 2 -/* 802408F0 0023D830 40 82 00 20 */ bne lbl_80240910 -/* 802408F4 0023D834 EC 64 10 28 */ fsubs f3, f4, f2 -/* 802408F8 0023D838 C0 22 C3 18 */ lfs f1, lbl_8051A678@sda21(r2) -/* 802408FC 0023D83C EC 01 18 28 */ fsubs f0, f1, f3 -/* 80240900 0023D840 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80240904 0023D844 40 80 00 24 */ bge lbl_80240928 -/* 80240908 0023D848 EC 84 08 28 */ fsubs f4, f4, f1 -/* 8024090C 0023D84C 48 00 00 1C */ b lbl_80240928 -lbl_80240910: -/* 80240910 0023D850 EC 62 20 28 */ fsubs f3, f2, f4 -/* 80240914 0023D854 C0 22 C3 18 */ lfs f1, lbl_8051A678@sda21(r2) -/* 80240918 0023D858 EC 01 18 28 */ fsubs f0, f1, f3 -/* 8024091C 0023D85C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80240920 0023D860 40 80 00 08 */ bge lbl_80240928 -/* 80240924 0023D864 EC 84 08 2A */ fadds f4, f4, f1 -lbl_80240928: -/* 80240928 0023D868 EC 44 10 28 */ fsubs f2, f4, f2 -/* 8024092C 0023D86C C0 64 08 E4 */ lfs f3, 0x8e4(r4) -/* 80240930 0023D870 C0 23 01 B0 */ lfs f1, 0x1b0(r3) -/* 80240934 0023D874 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240938 0023D878 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 8024093C 0023D87C D0 23 01 B0 */ stfs f1, 0x1b0(r3) -/* 80240940 0023D880 C0 23 01 B0 */ lfs f1, 0x1b0(r3) -/* 80240944 0023D884 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240948 0023D888 40 80 00 10 */ bge lbl_80240958 -/* 8024094C 0023D88C C0 02 C3 18 */ lfs f0, lbl_8051A678@sda21(r2) -/* 80240950 0023D890 EC 20 08 2A */ fadds f1, f0, f1 -/* 80240954 0023D894 48 00 00 18 */ b lbl_8024096C -lbl_80240958: -/* 80240958 0023D898 C0 02 C3 18 */ lfs f0, lbl_8051A678@sda21(r2) -/* 8024095C 0023D89C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240960 0023D8A0 4C 41 13 82 */ cror 2, 1, 2 -/* 80240964 0023D8A4 40 82 00 08 */ bne lbl_8024096C -/* 80240968 0023D8A8 EC 21 00 28 */ fsubs f1, f1, f0 -lbl_8024096C: -/* 8024096C 0023D8AC D0 23 01 B0 */ stfs f1, 0x1b0(r3) -/* 80240970 0023D8B0 4E 80 00 20 */ blr - -.global updateVibration__Q24Game10PlayCameraFi -updateVibration__Q24Game10PlayCameraFi: -/* 80240974 0023D8B4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80240978 0023D8B8 54 86 10 3A */ slwi r6, r4, 2 -/* 8024097C 0023D8BC 7C E3 32 14 */ add r7, r3, r6 -/* 80240980 0023D8C0 C0 02 C3 18 */ lfs f0, lbl_8051A678@sda21(r2) -/* 80240984 0023D8C4 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 80240988 0023D8C8 39 07 02 18 */ addi r8, r7, 0x218 -/* 8024098C 0023D8CC C0 47 01 F4 */ lfs f2, 0x1f4(r7) -/* 80240990 0023D8D0 C0 25 00 54 */ lfs f1, 0x54(r5) -/* 80240994 0023D8D4 C0 67 02 0C */ lfs f3, 0x20c(r7) -/* 80240998 0023D8D8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8024099C 0023D8DC C0 82 C3 0C */ lfs f4, lbl_8051A66C@sda21(r2) -/* 802409A0 0023D8E0 EC 23 08 2A */ fadds f1, f3, f1 -/* 802409A4 0023D8E4 D0 27 02 0C */ stfs f1, 0x20c(r7) -/* 802409A8 0023D8E8 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 802409AC 0023D8EC C0 47 02 18 */ lfs f2, 0x218(r7) -/* 802409B0 0023D8F0 C0 25 00 54 */ lfs f1, 0x54(r5) -/* 802409B4 0023D8F4 EC 22 08 2A */ fadds f1, f2, f1 -/* 802409B8 0023D8F8 D0 27 02 18 */ stfs f1, 0x218(r7) -/* 802409BC 0023D8FC C0 27 02 0C */ lfs f1, 0x20c(r7) -/* 802409C0 0023D900 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802409C4 0023D904 40 81 00 0C */ ble lbl_802409D0 -/* 802409C8 0023D908 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802409CC 0023D90C D0 07 02 0C */ stfs f0, 0x20c(r7) -lbl_802409D0: -/* 802409D0 0023D910 7C A3 32 14 */ add r5, r3, r6 -/* 802409D4 0023D914 C0 28 00 00 */ lfs f1, 0(r8) -/* 802409D8 0023D918 C0 05 02 24 */ lfs f0, 0x224(r5) -/* 802409DC 0023D91C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802409E0 0023D920 40 81 00 38 */ ble lbl_80240A18 -/* 802409E4 0023D924 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802409E8 0023D928 C0 22 C3 38 */ lfs f1, lbl_8051A698@sda21(r2) -/* 802409EC 0023D92C C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 802409F0 0023D930 EC 22 08 24 */ fdivs f1, f2, f1 -/* 802409F4 0023D934 EC 84 08 28 */ fsubs f4, f4, f1 -/* 802409F8 0023D938 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802409FC 0023D93C 40 80 00 1C */ bge lbl_80240A18 -/* 80240A00 0023D940 7C 83 22 14 */ add r4, r3, r4 -/* 80240A04 0023D944 38 00 00 00 */ li r0, 0 -/* 80240A08 0023D948 98 04 01 F0 */ stb r0, 0x1f0(r4) -/* 80240A0C 0023D94C FC 80 00 90 */ fmr f4, f0 -/* 80240A10 0023D950 D0 07 02 0C */ stfs f0, 0x20c(r7) -/* 80240A14 0023D954 D0 08 00 00 */ stfs f0, 0(r8) -lbl_80240A18: -/* 80240A18 0023D958 7C 83 32 14 */ add r4, r3, r6 -/* 80240A1C 0023D95C C0 67 02 0C */ lfs f3, 0x20c(r7) -/* 80240A20 0023D960 C0 24 02 30 */ lfs f1, 0x230(r4) -/* 80240A24 0023D964 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240A28 0023D968 EC 24 00 72 */ fmuls f1, f4, f1 -/* 80240A2C 0023D96C C0 44 02 3C */ lfs f2, 0x23c(r4) -/* 80240A30 0023D970 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80240A34 0023D974 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80240A38 0023D978 40 80 00 30 */ bge lbl_80240A68 -/* 80240A3C 0023D97C C0 02 C3 3C */ lfs f0, lbl_8051A69C@sda21(r2) -/* 80240A40 0023D980 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 80240A44 0023D984 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 80240A48 0023D988 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80240A4C 0023D98C FC 00 00 1E */ fctiwz f0, f0 -/* 80240A50 0023D990 D8 01 00 08 */ stfd f0, 8(r1) -/* 80240A54 0023D994 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80240A58 0023D998 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80240A5C 0023D99C 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80240A60 0023D9A0 FC 00 00 50 */ fneg f0, f0 -/* 80240A64 0023D9A4 48 00 00 28 */ b lbl_80240A8C -lbl_80240A68: -/* 80240A68 0023D9A8 C0 02 C3 40 */ lfs f0, lbl_8051A6A0@sda21(r2) -/* 80240A6C 0023D9AC 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 80240A70 0023D9B0 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 80240A74 0023D9B4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80240A78 0023D9B8 FC 00 00 1E */ fctiwz f0, f0 -/* 80240A7C 0023D9BC D8 01 00 10 */ stfd f0, 0x10(r1) -/* 80240A80 0023D9C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80240A84 0023D9C4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80240A88 0023D9C8 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_80240A8C: -/* 80240A8C 0023D9CC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80240A90 0023D9D0 7C 63 32 14 */ add r3, r3, r6 -/* 80240A94 0023D9D4 D0 03 02 00 */ stfs f0, 0x200(r3) -/* 80240A98 0023D9D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80240A9C 0023D9DC 4E 80 00 20 */ blr - -.global otherVibFinished__Q24Game10PlayCameraFi -otherVibFinished__Q24Game10PlayCameraFi: -/* 80240AA0 0023D9E0 88 03 01 F0 */ lbz r0, 0x1f0(r3) -/* 80240AA4 0023D9E4 38 A0 00 00 */ li r5, 0 -/* 80240AA8 0023D9E8 C0 22 C3 10 */ lfs f1, lbl_8051A670@sda21(r2) -/* 80240AAC 0023D9EC 28 00 00 00 */ cmplwi r0, 0 -/* 80240AB0 0023D9F0 41 82 00 18 */ beq lbl_80240AC8 -/* 80240AB4 0023D9F4 7C 05 20 00 */ cmpw r5, r4 -/* 80240AB8 0023D9F8 41 82 00 10 */ beq lbl_80240AC8 -/* 80240ABC 0023D9FC C0 03 02 18 */ lfs f0, 0x218(r3) -/* 80240AC0 0023DA00 EC 00 08 2A */ fadds f0, f0, f1 -/* 80240AC4 0023DA04 D0 03 02 18 */ stfs f0, 0x218(r3) -lbl_80240AC8: -/* 80240AC8 0023DA08 88 03 01 F1 */ lbz r0, 0x1f1(r3) -/* 80240ACC 0023DA0C 38 A0 00 01 */ li r5, 1 -/* 80240AD0 0023DA10 28 00 00 00 */ cmplwi r0, 0 -/* 80240AD4 0023DA14 41 82 00 18 */ beq lbl_80240AEC -/* 80240AD8 0023DA18 7C 05 20 00 */ cmpw r5, r4 -/* 80240ADC 0023DA1C 41 82 00 10 */ beq lbl_80240AEC -/* 80240AE0 0023DA20 C0 03 02 1C */ lfs f0, 0x21c(r3) -/* 80240AE4 0023DA24 EC 00 08 2A */ fadds f0, f0, f1 -/* 80240AE8 0023DA28 D0 03 02 1C */ stfs f0, 0x21c(r3) -lbl_80240AEC: -/* 80240AEC 0023DA2C 88 03 01 F2 */ lbz r0, 0x1f2(r3) -/* 80240AF0 0023DA30 38 A0 00 02 */ li r5, 2 -/* 80240AF4 0023DA34 28 00 00 00 */ cmplwi r0, 0 -/* 80240AF8 0023DA38 4D 82 00 20 */ beqlr -/* 80240AFC 0023DA3C 7C 05 20 00 */ cmpw r5, r4 -/* 80240B00 0023DA40 4D 82 00 20 */ beqlr -/* 80240B04 0023DA44 C0 03 02 20 */ lfs f0, 0x220(r3) -/* 80240B08 0023DA48 EC 00 08 2A */ fadds f0, f0, f1 -/* 80240B0C 0023DA4C D0 03 02 20 */ stfs f0, 0x220(r3) -/* 80240B10 0023DA50 4E 80 00 20 */ blr - -.global isModCameraFinished__Q24Game10PlayCameraFv -isModCameraFinished__Q24Game10PlayCameraFv: -/* 80240B14 0023DA54 80 03 01 9C */ lwz r0, 0x19c(r3) -/* 80240B18 0023DA58 2C 00 00 01 */ cmpwi r0, 1 -/* 80240B1C 0023DA5C 40 82 01 64 */ bne lbl_80240C80 -/* 80240B20 0023DA60 C0 63 01 B4 */ lfs f3, 0x1b4(r3) -/* 80240B24 0023DA64 C0 83 01 B0 */ lfs f4, 0x1b0(r3) -/* 80240B28 0023DA68 FC 03 20 40 */ fcmpo cr0, f3, f4 -/* 80240B2C 0023DA6C 4C 41 13 82 */ cror 2, 1, 2 -/* 80240B30 0023DA70 40 82 00 20 */ bne lbl_80240B50 -/* 80240B34 0023DA74 EC 43 20 28 */ fsubs f2, f3, f4 -/* 80240B38 0023DA78 C0 22 C3 18 */ lfs f1, lbl_8051A678@sda21(r2) -/* 80240B3C 0023DA7C EC 01 10 28 */ fsubs f0, f1, f2 -/* 80240B40 0023DA80 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80240B44 0023DA84 40 80 00 24 */ bge lbl_80240B68 -/* 80240B48 0023DA88 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80240B4C 0023DA8C 48 00 00 1C */ b lbl_80240B68 -lbl_80240B50: -/* 80240B50 0023DA90 EC 44 18 28 */ fsubs f2, f4, f3 -/* 80240B54 0023DA94 C0 22 C3 18 */ lfs f1, lbl_8051A678@sda21(r2) -/* 80240B58 0023DA98 EC 01 10 28 */ fsubs f0, f1, f2 -/* 80240B5C 0023DA9C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80240B60 0023DAA0 40 80 00 08 */ bge lbl_80240B68 -/* 80240B64 0023DAA4 EC 63 08 2A */ fadds f3, f3, f1 -lbl_80240B68: -/* 80240B68 0023DAA8 EC 23 20 28 */ fsubs f1, f3, f4 -/* 80240B6C 0023DAAC C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240B70 0023DAB0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240B74 0023DAB4 40 81 00 08 */ ble lbl_80240B7C -/* 80240B78 0023DAB8 48 00 00 08 */ b lbl_80240B80 -lbl_80240B7C: -/* 80240B7C 0023DABC FC 20 08 50 */ fneg f1, f1 -lbl_80240B80: -/* 80240B80 0023DAC0 C0 02 C3 2C */ lfs f0, lbl_8051A68C@sda21(r2) -/* 80240B84 0023DAC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240B88 0023DAC8 40 80 00 F8 */ bge lbl_80240C80 -/* 80240B8C 0023DACC C0 43 01 AC */ lfs f2, 0x1ac(r3) -/* 80240B90 0023DAD0 C0 23 01 A8 */ lfs f1, 0x1a8(r3) -/* 80240B94 0023DAD4 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240B98 0023DAD8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80240B9C 0023DADC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240BA0 0023DAE0 40 81 00 08 */ ble lbl_80240BA8 -/* 80240BA4 0023DAE4 48 00 00 08 */ b lbl_80240BAC -lbl_80240BA8: -/* 80240BA8 0023DAE8 FC 20 08 50 */ fneg f1, f1 -lbl_80240BAC: -/* 80240BAC 0023DAEC C0 02 C3 20 */ lfs f0, lbl_8051A680@sda21(r2) -/* 80240BB0 0023DAF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240BB4 0023DAF4 40 80 00 CC */ bge lbl_80240C80 -/* 80240BB8 0023DAF8 C0 43 01 BC */ lfs f2, 0x1bc(r3) -/* 80240BBC 0023DAFC C0 23 01 B8 */ lfs f1, 0x1b8(r3) -/* 80240BC0 0023DB00 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240BC4 0023DB04 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80240BC8 0023DB08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240BCC 0023DB0C 40 81 00 08 */ ble lbl_80240BD4 -/* 80240BD0 0023DB10 48 00 00 08 */ b lbl_80240BD8 -lbl_80240BD4: -/* 80240BD4 0023DB14 FC 20 08 50 */ fneg f1, f1 -lbl_80240BD8: -/* 80240BD8 0023DB18 C0 02 C3 2C */ lfs f0, lbl_8051A68C@sda21(r2) -/* 80240BDC 0023DB1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240BE0 0023DB20 40 80 00 A0 */ bge lbl_80240C80 -/* 80240BE4 0023DB24 C0 43 01 C0 */ lfs f2, 0x1c0(r3) -/* 80240BE8 0023DB28 C0 23 00 28 */ lfs f1, 0x28(r3) -/* 80240BEC 0023DB2C C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240BF0 0023DB30 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80240BF4 0023DB34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240BF8 0023DB38 40 81 00 08 */ ble lbl_80240C00 -/* 80240BFC 0023DB3C 48 00 00 08 */ b lbl_80240C04 -lbl_80240C00: -/* 80240C00 0023DB40 FC 20 08 50 */ fneg f1, f1 -lbl_80240C04: -/* 80240C04 0023DB44 C0 02 C3 0C */ lfs f0, lbl_8051A66C@sda21(r2) -/* 80240C08 0023DB48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240C0C 0023DB4C 40 80 00 74 */ bge lbl_80240C80 -/* 80240C10 0023DB50 C0 23 01 E8 */ lfs f1, 0x1e8(r3) -/* 80240C14 0023DB54 C0 03 01 84 */ lfs f0, 0x184(r3) -/* 80240C18 0023DB58 C0 63 01 E4 */ lfs f3, 0x1e4(r3) -/* 80240C1C 0023DB5C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80240C20 0023DB60 C0 43 01 80 */ lfs f2, 0x180(r3) -/* 80240C24 0023DB64 C0 23 01 EC */ lfs f1, 0x1ec(r3) -/* 80240C28 0023DB68 C0 03 01 88 */ lfs f0, 0x188(r3) -/* 80240C2C 0023DB6C EC 63 10 28 */ fsubs f3, f3, f2 -/* 80240C30 0023DB70 EC 84 01 32 */ fmuls f4, f4, f4 -/* 80240C34 0023DB74 EC 41 00 28 */ fsubs f2, f1, f0 -/* 80240C38 0023DB78 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240C3C 0023DB7C EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 80240C40 0023DB80 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80240C44 0023DB84 EC 22 08 2A */ fadds f1, f2, f1 -/* 80240C48 0023DB88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240C4C 0023DB8C 40 81 00 14 */ ble lbl_80240C60 -/* 80240C50 0023DB90 40 81 00 14 */ ble lbl_80240C64 -/* 80240C54 0023DB94 FC 00 08 34 */ frsqrte f0, f1 -/* 80240C58 0023DB98 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80240C5C 0023DB9C 48 00 00 08 */ b lbl_80240C64 -lbl_80240C60: -/* 80240C60 0023DBA0 FC 20 00 90 */ fmr f1, f0 -lbl_80240C64: -/* 80240C64 0023DBA4 C0 02 C3 44 */ lfs f0, lbl_8051A6A4@sda21(r2) -/* 80240C68 0023DBA8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240C6C 0023DBAC 40 80 00 14 */ bge lbl_80240C80 -/* 80240C70 0023DBB0 38 00 00 00 */ li r0, 0 -/* 80240C74 0023DBB4 90 03 01 9C */ stw r0, 0x19c(r3) -/* 80240C78 0023DBB8 38 60 00 01 */ li r3, 1 -/* 80240C7C 0023DBBC 4E 80 00 20 */ blr -lbl_80240C80: -/* 80240C80 0023DBC0 38 60 00 00 */ li r3, 0 -/* 80240C84 0023DBC4 4E 80 00 20 */ blr - -.global setCollisionCameraTargetPhi__Q24Game10PlayCameraFi -setCollisionCameraTargetPhi__Q24Game10PlayCameraFi: -/* 80240C88 0023DBC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80240C8C 0023DBCC 7C 08 02 A6 */ mflr r0 -/* 80240C90 0023DBD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80240C94 0023DBD4 54 80 06 B5 */ rlwinm. r0, r4, 0, 0x1a, 0x1a -/* 80240C98 0023DBD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80240C9C 0023DBDC 7C 7F 1B 78 */ mr r31, r3 -/* 80240CA0 0023DBE0 41 82 00 1C */ beq lbl_80240CBC -/* 80240CA4 0023DBE4 80 9F 02 4C */ lwz r4, 0x24c(r31) -/* 80240CA8 0023DBE8 C0 24 07 CC */ lfs f1, 0x7cc(r4) -/* 80240CAC 0023DBEC C0 44 07 A4 */ lfs f2, 0x7a4(r4) -/* 80240CB0 0023DBF0 48 00 01 31 */ bl getCollisionCameraTargetPhi__Q24Game10PlayCameraFff -/* 80240CB4 0023DBF4 D0 3F 01 BC */ stfs f1, 0x1bc(r31) -/* 80240CB8 0023DBF8 48 00 01 14 */ b lbl_80240DCC -lbl_80240CBC: -/* 80240CBC 0023DBFC 80 1F 01 A4 */ lwz r0, 0x1a4(r31) -/* 80240CC0 0023DC00 2C 00 00 00 */ cmpwi r0, 0 -/* 80240CC4 0023DC04 40 82 01 08 */ bne lbl_80240DCC -/* 80240CC8 0023DC08 88 1F 02 49 */ lbz r0, 0x249(r31) -/* 80240CCC 0023DC0C 28 00 00 00 */ cmplwi r0, 0 -/* 80240CD0 0023DC10 41 82 00 C8 */ beq lbl_80240D98 -/* 80240CD4 0023DC14 80 1F 01 A0 */ lwz r0, 0x1a0(r31) -/* 80240CD8 0023DC18 2C 00 00 01 */ cmpwi r0, 1 -/* 80240CDC 0023DC1C 41 82 00 34 */ beq lbl_80240D10 -/* 80240CE0 0023DC20 40 80 00 10 */ bge lbl_80240CF0 -/* 80240CE4 0023DC24 2C 00 00 00 */ cmpwi r0, 0 -/* 80240CE8 0023DC28 40 80 00 14 */ bge lbl_80240CFC -/* 80240CEC 0023DC2C 48 00 00 4C */ b lbl_80240D38 -lbl_80240CF0: -/* 80240CF0 0023DC30 2C 00 00 03 */ cmpwi r0, 3 -/* 80240CF4 0023DC34 40 80 00 44 */ bge lbl_80240D38 -/* 80240CF8 0023DC38 48 00 00 2C */ b lbl_80240D24 -lbl_80240CFC: -/* 80240CFC 0023DC3C 80 9F 02 4C */ lwz r4, 0x24c(r31) -/* 80240D00 0023DC40 C0 24 00 4C */ lfs f1, 0x4c(r4) -/* 80240D04 0023DC44 C0 44 08 1C */ lfs f2, 0x81c(r4) -/* 80240D08 0023DC48 48 00 00 D9 */ bl getCollisionCameraTargetPhi__Q24Game10PlayCameraFff -/* 80240D0C 0023DC4C 48 00 00 40 */ b lbl_80240D4C -lbl_80240D10: -/* 80240D10 0023DC50 80 9F 02 4C */ lwz r4, 0x24c(r31) -/* 80240D14 0023DC54 C0 24 01 8C */ lfs f1, 0x18c(r4) -/* 80240D18 0023DC58 C0 44 08 1C */ lfs f2, 0x81c(r4) -/* 80240D1C 0023DC5C 48 00 00 C5 */ bl getCollisionCameraTargetPhi__Q24Game10PlayCameraFff -/* 80240D20 0023DC60 48 00 00 2C */ b lbl_80240D4C -lbl_80240D24: -/* 80240D24 0023DC64 80 9F 02 4C */ lwz r4, 0x24c(r31) -/* 80240D28 0023DC68 C0 24 02 CC */ lfs f1, 0x2cc(r4) -/* 80240D2C 0023DC6C C0 44 08 1C */ lfs f2, 0x81c(r4) -/* 80240D30 0023DC70 48 00 00 B1 */ bl getCollisionCameraTargetPhi__Q24Game10PlayCameraFff -/* 80240D34 0023DC74 48 00 00 18 */ b lbl_80240D4C -lbl_80240D38: -/* 80240D38 0023DC78 80 9F 02 4C */ lwz r4, 0x24c(r31) -/* 80240D3C 0023DC7C 7F E3 FB 78 */ mr r3, r31 -/* 80240D40 0023DC80 C0 24 07 CC */ lfs f1, 0x7cc(r4) -/* 80240D44 0023DC84 C0 44 08 1C */ lfs f2, 0x81c(r4) -/* 80240D48 0023DC88 48 00 00 99 */ bl getCollisionCameraTargetPhi__Q24Game10PlayCameraFff -lbl_80240D4C: -/* 80240D4C 0023DC8C C0 5F 01 BC */ lfs f2, 0x1bc(r31) -/* 80240D50 0023DC90 80 7F 02 4C */ lwz r3, 0x24c(r31) -/* 80240D54 0023DC94 EC 82 08 28 */ fsubs f4, f2, f1 -/* 80240D58 0023DC98 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240D5C 0023DC9C C0 63 08 44 */ lfs f3, 0x844(r3) -/* 80240D60 0023DCA0 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80240D64 0023DCA4 40 81 00 08 */ ble lbl_80240D6C -/* 80240D68 0023DCA8 48 00 00 08 */ b lbl_80240D70 -lbl_80240D6C: -/* 80240D6C 0023DCAC FC 80 20 50 */ fneg f4, f4 -lbl_80240D70: -/* 80240D70 0023DCB0 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 80240D74 0023DCB4 40 80 00 08 */ bge lbl_80240D7C -/* 80240D78 0023DCB8 48 00 00 18 */ b lbl_80240D90 -lbl_80240D7C: -/* 80240D7C 0023DCBC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80240D80 0023DCC0 40 80 00 0C */ bge lbl_80240D8C -/* 80240D84 0023DCC4 EC 22 18 2A */ fadds f1, f2, f3 -/* 80240D88 0023DCC8 48 00 00 08 */ b lbl_80240D90 -lbl_80240D8C: -/* 80240D8C 0023DCCC EC 22 18 28 */ fsubs f1, f2, f3 -lbl_80240D90: -/* 80240D90 0023DCD0 D0 3F 01 BC */ stfs f1, 0x1bc(r31) -/* 80240D94 0023DCD4 48 00 00 38 */ b lbl_80240DCC -lbl_80240D98: -/* 80240D98 0023DCD8 C0 5F 01 B8 */ lfs f2, 0x1b8(r31) -/* 80240D9C 0023DCDC C0 3F 01 BC */ lfs f1, 0x1bc(r31) -/* 80240DA0 0023DCE0 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240DA4 0023DCE4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80240DA8 0023DCE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240DAC 0023DCEC 40 81 00 08 */ ble lbl_80240DB4 -/* 80240DB0 0023DCF0 48 00 00 08 */ b lbl_80240DB8 -lbl_80240DB4: -/* 80240DB4 0023DCF4 FC 20 08 50 */ fneg f1, f1 -lbl_80240DB8: -/* 80240DB8 0023DCF8 C0 02 C3 2C */ lfs f0, lbl_8051A68C@sda21(r2) -/* 80240DBC 0023DCFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80240DC0 0023DD00 40 80 00 0C */ bge lbl_80240DCC -/* 80240DC4 0023DD04 38 00 00 01 */ li r0, 1 -/* 80240DC8 0023DD08 98 1F 02 49 */ stb r0, 0x249(r31) -lbl_80240DCC: -/* 80240DCC 0023DD0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80240DD0 0023DD10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80240DD4 0023DD14 7C 08 03 A6 */ mtlr r0 -/* 80240DD8 0023DD18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80240DDC 0023DD1C 4E 80 00 20 */ blr - -.global getCollisionCameraTargetPhi__Q24Game10PlayCameraFff -getCollisionCameraTargetPhi__Q24Game10PlayCameraFff: -/* 80240DE0 0023DD20 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80240DE4 0023DD24 7C 08 02 A6 */ mflr r0 -/* 80240DE8 0023DD28 90 01 01 64 */ stw r0, 0x164(r1) -/* 80240DEC 0023DD2C DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80240DF0 0023DD30 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 80240DF4 0023DD34 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 80240DF8 0023DD38 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 80240DFC 0023DD3C DB A1 01 30 */ stfd f29, 0x130(r1) -/* 80240E00 0023DD40 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 80240E04 0023DD44 DB 81 01 20 */ stfd f28, 0x120(r1) -/* 80240E08 0023DD48 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 -/* 80240E0C 0023DD4C DB 61 01 10 */ stfd f27, 0x110(r1) -/* 80240E10 0023DD50 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0 -/* 80240E14 0023DD54 DB 41 01 00 */ stfd f26, 0x100(r1) -/* 80240E18 0023DD58 F3 41 01 08 */ psq_st f26, 264(r1), 0, qr0 -/* 80240E1C 0023DD5C DB 21 00 F0 */ stfd f25, 0xf0(r1) -/* 80240E20 0023DD60 F3 21 00 F8 */ psq_st f25, 248(r1), 0, qr0 -/* 80240E24 0023DD64 DB 01 00 E0 */ stfd f24, 0xe0(r1) -/* 80240E28 0023DD68 F3 01 00 E8 */ psq_st f24, 232(r1), 0, qr0 -/* 80240E2C 0023DD6C DA E1 00 D0 */ stfd f23, 0xd0(r1) -/* 80240E30 0023DD70 F2 E1 00 D8 */ psq_st f23, 216(r1), 0, qr0 -/* 80240E34 0023DD74 DA C1 00 C0 */ stfd f22, 0xc0(r1) -/* 80240E38 0023DD78 F2 C1 00 C8 */ psq_st f22, 200(r1), 0, qr0 -/* 80240E3C 0023DD7C DA A1 00 B0 */ stfd f21, 0xb0(r1) -/* 80240E40 0023DD80 F2 A1 00 B8 */ psq_st f21, 184(r1), 0, qr0 -/* 80240E44 0023DD84 DA 81 00 A0 */ stfd f20, 0xa0(r1) -/* 80240E48 0023DD88 F2 81 00 A8 */ psq_st f20, 168(r1), 0, qr0 -/* 80240E4C 0023DD8C DA 61 00 90 */ stfd f19, 0x90(r1) -/* 80240E50 0023DD90 F2 61 00 98 */ psq_st f19, 152(r1), 0, qr0 -/* 80240E54 0023DD94 DA 41 00 80 */ stfd f18, 0x80(r1) -/* 80240E58 0023DD98 F2 41 00 88 */ psq_st f18, 136(r1), 0, qr0 -/* 80240E5C 0023DD9C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80240E60 0023DDA0 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80240E64 0023DDA4 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80240E68 0023DDA8 C0 02 C3 48 */ lfs f0, lbl_8051A6A8@sda21(r2) -/* 80240E6C 0023DDAC 7C 7F 1B 78 */ mr r31, r3 -/* 80240E70 0023DDB0 C0 62 C3 1C */ lfs f3, lbl_8051A67C@sda21(r2) -/* 80240E74 0023DDB4 EE 62 00 24 */ fdivs f19, f2, f0 -/* 80240E78 0023DDB8 C0 A3 01 B4 */ lfs f5, 0x1b4(r3) -/* 80240E7C 0023DDBC C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240E80 0023DDC0 FC 80 28 90 */ fmr f4, f5 -/* 80240E84 0023DDC4 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80240E88 0023DDC8 EE 41 00 F2 */ fmuls f18, f1, f3 -/* 80240E8C 0023DDCC 40 80 00 08 */ bge lbl_80240E94 -/* 80240E90 0023DDD0 FC 80 28 50 */ fneg f4, f5 -lbl_80240E94: -/* 80240E94 0023DDD4 C0 42 C3 40 */ lfs f2, lbl_8051A6A0@sda21(r2) -/* 80240E98 0023DDD8 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80240E9C 0023DDDC C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240EA0 0023DDE0 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80240EA4 0023DDE4 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 80240EA8 0023DDE8 38 83 00 04 */ addi r4, r3, 4 -/* 80240EAC 0023DDEC FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80240EB0 0023DDF0 FC 00 08 1E */ fctiwz f0, f1 -/* 80240EB4 0023DDF4 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 80240EB8 0023DDF8 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80240EBC 0023DDFC 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80240EC0 0023DE00 7E C4 04 2E */ lfsx f22, r4, r0 -/* 80240EC4 0023DE04 40 80 00 28 */ bge lbl_80240EEC -/* 80240EC8 0023DE08 C0 02 C3 3C */ lfs f0, lbl_8051A69C@sda21(r2) -/* 80240ECC 0023DE0C EC 05 00 32 */ fmuls f0, f5, f0 -/* 80240ED0 0023DE10 FC 00 00 1E */ fctiwz f0, f0 -/* 80240ED4 0023DE14 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 80240ED8 0023DE18 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80240EDC 0023DE1C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80240EE0 0023DE20 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80240EE4 0023DE24 FF 40 00 50 */ fneg f26, f0 -/* 80240EE8 0023DE28 48 00 00 1C */ b lbl_80240F04 -lbl_80240EEC: -/* 80240EEC 0023DE2C EC 05 00 B2 */ fmuls f0, f5, f2 -/* 80240EF0 0023DE30 FC 00 00 1E */ fctiwz f0, f0 -/* 80240EF4 0023DE34 D8 01 00 48 */ stfd f0, 0x48(r1) -/* 80240EF8 0023DE38 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80240EFC 0023DE3C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80240F00 0023DE40 7F 43 04 2E */ lfsx f26, r3, r0 -lbl_80240F04: -/* 80240F04 0023DE44 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240F08 0023DE48 FC 12 00 40 */ fcmpo cr0, f18, f0 -/* 80240F0C 0023DE4C 40 80 00 30 */ bge lbl_80240F3C -/* 80240F10 0023DE50 C0 02 C3 3C */ lfs f0, lbl_8051A69C@sda21(r2) -/* 80240F14 0023DE54 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80240F18 0023DE58 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80240F1C 0023DE5C EC 12 00 32 */ fmuls f0, f18, f0 -/* 80240F20 0023DE60 FC 00 00 1E */ fctiwz f0, f0 -/* 80240F24 0023DE64 D8 01 00 50 */ stfd f0, 0x50(r1) -/* 80240F28 0023DE68 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80240F2C 0023DE6C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80240F30 0023DE70 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80240F34 0023DE74 FF 00 00 50 */ fneg f24, f0 -/* 80240F38 0023DE78 48 00 00 28 */ b lbl_80240F60 -lbl_80240F3C: -/* 80240F3C 0023DE7C C0 02 C3 40 */ lfs f0, lbl_8051A6A0@sda21(r2) -/* 80240F40 0023DE80 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80240F44 0023DE84 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80240F48 0023DE88 EC 12 00 32 */ fmuls f0, f18, f0 -/* 80240F4C 0023DE8C FC 00 00 1E */ fctiwz f0, f0 -/* 80240F50 0023DE90 D8 01 00 58 */ stfd f0, 0x58(r1) -/* 80240F54 0023DE94 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80240F58 0023DE98 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80240F5C 0023DE9C 7F 03 04 2E */ lfsx f24, r3, r0 -lbl_80240F60: -/* 80240F60 0023DEA0 C0 02 C3 04 */ lfs f0, lbl_8051A664@sda21(r2) -/* 80240F64 0023DEA4 FC 20 90 90 */ fmr f1, f18 -/* 80240F68 0023DEA8 FC 12 00 40 */ fcmpo cr0, f18, f0 -/* 80240F6C 0023DEAC 40 80 00 08 */ bge lbl_80240F74 -/* 80240F70 0023DEB0 FC 20 90 50 */ fneg f1, f18 -lbl_80240F74: -/* 80240F74 0023DEB4 C0 02 C3 40 */ lfs f0, lbl_8051A6A0@sda21(r2) -/* 80240F78 0023DEB8 3B A0 00 01 */ li r29, 1 -/* 80240F7C 0023DEBC CB 62 C3 58 */ lfd f27, lbl_8051A6B8@sda21(r2) -/* 80240F80 0023DEC0 3F C0 43 30 */ lis r30, 0x4330 -/* 80240F84 0023DEC4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80240F88 0023DEC8 C3 82 C3 4C */ lfs f28, lbl_8051A6AC@sda21(r2) -/* 80240F8C 0023DECC C3 A2 C3 50 */ lfs f29, lbl_8051A6B0@sda21(r2) -/* 80240F90 0023DED0 C3 C2 C3 04 */ lfs f30, lbl_8051A664@sda21(r2) -/* 80240F94 0023DED4 FC 00 00 1E */ fctiwz f0, f0 -/* 80240F98 0023DED8 C3 E2 C3 0C */ lfs f31, lbl_8051A66C@sda21(r2) -/* 80240F9C 0023DEDC D8 01 00 60 */ stfd f0, 0x60(r1) -/* 80240FA0 0023DEE0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80240FA4 0023DEE4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80240FA8 0023DEE8 7E E4 04 2E */ lfsx f23, r4, r0 -lbl_80240FAC: -/* 80240FAC 0023DEEC 6F A6 80 00 */ xoris r6, r29, 0x8000 -/* 80240FB0 0023DEF0 80 7F 02 4C */ lwz r3, 0x24c(r31) -/* 80240FB4 0023DEF4 90 C1 00 64 */ stw r6, 0x64(r1) -/* 80240FB8 0023DEF8 38 00 00 01 */ li r0, 1 -/* 80240FBC 0023DEFC C0 7F 01 EC */ lfs f3, 0x1ec(r31) -/* 80240FC0 0023DF00 38 A0 00 00 */ li r5, 0 -/* 80240FC4 0023DF04 93 C1 00 60 */ stw r30, 0x60(r1) -/* 80240FC8 0023DF08 38 81 00 08 */ addi r4, r1, 8 -/* 80240FCC 0023DF0C C0 5F 01 E8 */ lfs f2, 0x1e8(r31) -/* 80240FD0 0023DF10 C8 21 00 60 */ lfd f1, 0x60(r1) -/* 80240FD4 0023DF14 C0 1F 01 E4 */ lfs f0, 0x1e4(r31) -/* 80240FD8 0023DF18 EC 21 D8 28 */ fsubs f1, f1, f27 -/* 80240FDC 0023DF1C C0 83 08 6C */ lfs f4, 0x86c(r3) -/* 80240FE0 0023DF20 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 80240FE4 0023DF24 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80240FE8 0023DF28 EE B3 00 72 */ fmuls f21, f19, f1 -/* 80240FEC 0023DF2C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80240FF0 0023DF30 98 01 00 14 */ stb r0, 0x14(r1) -/* 80240FF4 0023DF34 EC D5 05 F2 */ fmuls f6, f21, f23 -/* 80240FF8 0023DF38 C8 A1 00 58 */ lfd f5, 0x58(r1) -/* 80240FFC 0023DF3C EC 35 06 32 */ fmuls f1, f21, f24 -/* 80241000 0023DF40 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80241004 0023DF44 EC A5 D8 28 */ fsubs f5, f5, f27 -/* 80241008 0023DF48 EC 76 19 BA */ fmadds f3, f22, f6, f3 -/* 8024100C 0023DF4C EF 22 08 2A */ fadds f25, f2, f1 -/* 80241010 0023DF50 D3 81 00 20 */ stfs f28, 0x20(r1) -/* 80241014 0023DF54 EC 1A 01 BA */ fmadds f0, f26, f6, f0 -/* 80241018 0023DF58 D3 A1 00 24 */ stfs f29, 0x24(r1) -/* 8024101C 0023DF5C EE 85 01 32 */ fmuls f20, f5, f4 -/* 80241020 0023DF60 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80241024 0023DF64 D3 C1 00 28 */ stfs f30, 0x28(r1) -/* 80241028 0023DF68 D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 8024102C 0023DF6C D3 C1 00 30 */ stfs f30, 0x30(r1) -/* 80241030 0023DF70 98 A1 00 15 */ stb r5, 0x15(r1) -/* 80241034 0023DF74 D0 01 00 08 */ stfs f0, 8(r1) -/* 80241038 0023DF78 D3 21 00 0C */ stfs f25, 0xc(r1) -/* 8024103C 0023DF7C D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80241040 0023DF80 98 A1 00 14 */ stb r5, 0x14(r1) -/* 80241044 0023DF84 81 83 00 04 */ lwz r12, 4(r3) -/* 80241048 0023DF88 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8024104C 0023DF8C 7D 89 03 A6 */ mtctr r12 -/* 80241050 0023DF90 4E 80 04 21 */ bctrl -/* 80241054 0023DF94 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 80241058 0023DF98 28 03 00 00 */ cmplwi r3, 0 -/* 8024105C 0023DF9C 41 82 00 38 */ beq lbl_80241094 -/* 80241060 0023DFA0 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80241064 0023DFA4 28 00 00 00 */ cmplwi r0, 0 -/* 80241068 0023DFA8 41 82 00 2C */ beq lbl_80241094 -/* 8024106C 0023DFAC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80241070 0023DFB0 28 00 00 00 */ cmplwi r0, 0 -/* 80241074 0023DFB4 41 82 00 10 */ beq lbl_80241084 -/* 80241078 0023DFB8 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8024107C 0023DFBC EE 94 00 2A */ fadds f20, f20, f0 -/* 80241080 0023DFC0 48 00 00 1C */ b lbl_8024109C -lbl_80241084: -/* 80241084 0023DFC4 80 7F 02 4C */ lwz r3, 0x24c(r31) -/* 80241088 0023DFC8 C0 03 08 94 */ lfs f0, 0x894(r3) -/* 8024108C 0023DFCC EE 99 00 2A */ fadds f20, f25, f0 -/* 80241090 0023DFD0 48 00 00 0C */ b lbl_8024109C -lbl_80241094: -/* 80241094 0023DFD4 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80241098 0023DFD8 EE 94 00 2A */ fadds f20, f20, f0 -lbl_8024109C: -/* 8024109C 0023DFDC FC 14 C8 40 */ fcmpo cr0, f20, f25 -/* 802410A0 0023DFE0 40 81 00 28 */ ble lbl_802410C8 -/* 802410A4 0023DFE4 C0 1F 01 E8 */ lfs f0, 0x1e8(r31) -/* 802410A8 0023DFE8 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802410AC 0023DFEC FC 40 A8 90 */ fmr f2, f21 -/* 802410B0 0023DFF0 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 802410B4 0023DFF4 EC 34 00 28 */ fsubs f1, f20, f0 -/* 802410B8 0023DFF8 4B DF 40 51 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 802410BC 0023DFFC FC 01 90 40 */ fcmpo cr0, f1, f18 -/* 802410C0 0023E000 40 81 00 08 */ ble lbl_802410C8 -/* 802410C4 0023E004 FE 40 08 90 */ fmr f18, f1 -lbl_802410C8: -/* 802410C8 0023E008 3B BD 00 01 */ addi r29, r29, 1 -/* 802410CC 0023E00C 2C 1D 00 0F */ cmpwi r29, 0xf -/* 802410D0 0023E010 40 81 FE DC */ ble lbl_80240FAC -/* 802410D4 0023E014 FC 20 90 90 */ fmr f1, f18 -/* 802410D8 0023E018 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 802410DC 0023E01C CB E1 01 50 */ lfd f31, 0x150(r1) -/* 802410E0 0023E020 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 802410E4 0023E024 CB C1 01 40 */ lfd f30, 0x140(r1) -/* 802410E8 0023E028 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 802410EC 0023E02C CB A1 01 30 */ lfd f29, 0x130(r1) -/* 802410F0 0023E030 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 -/* 802410F4 0023E034 CB 81 01 20 */ lfd f28, 0x120(r1) -/* 802410F8 0023E038 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 -/* 802410FC 0023E03C CB 61 01 10 */ lfd f27, 0x110(r1) -/* 80241100 0023E040 E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0 -/* 80241104 0023E044 CB 41 01 00 */ lfd f26, 0x100(r1) -/* 80241108 0023E048 E3 21 00 F8 */ psq_l f25, 248(r1), 0, qr0 -/* 8024110C 0023E04C CB 21 00 F0 */ lfd f25, 0xf0(r1) -/* 80241110 0023E050 E3 01 00 E8 */ psq_l f24, 232(r1), 0, qr0 -/* 80241114 0023E054 CB 01 00 E0 */ lfd f24, 0xe0(r1) -/* 80241118 0023E058 E2 E1 00 D8 */ psq_l f23, 216(r1), 0, qr0 -/* 8024111C 0023E05C CA E1 00 D0 */ lfd f23, 0xd0(r1) -/* 80241120 0023E060 E2 C1 00 C8 */ psq_l f22, 200(r1), 0, qr0 -/* 80241124 0023E064 CA C1 00 C0 */ lfd f22, 0xc0(r1) -/* 80241128 0023E068 E2 A1 00 B8 */ psq_l f21, 184(r1), 0, qr0 -/* 8024112C 0023E06C CA A1 00 B0 */ lfd f21, 0xb0(r1) -/* 80241130 0023E070 E2 81 00 A8 */ psq_l f20, 168(r1), 0, qr0 -/* 80241134 0023E074 CA 81 00 A0 */ lfd f20, 0xa0(r1) -/* 80241138 0023E078 E2 61 00 98 */ psq_l f19, 152(r1), 0, qr0 -/* 8024113C 0023E07C CA 61 00 90 */ lfd f19, 0x90(r1) -/* 80241140 0023E080 E2 41 00 88 */ psq_l f18, 136(r1), 0, qr0 -/* 80241144 0023E084 CA 41 00 80 */ lfd f18, 0x80(r1) -/* 80241148 0023E088 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8024114C 0023E08C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80241150 0023E090 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80241154 0023E094 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 80241158 0023E098 7C 08 03 A6 */ mtlr r0 -/* 8024115C 0023E09C 38 21 01 60 */ addi r1, r1, 0x160 -/* 80241160 0023E0A0 4E 80 00 20 */ blr - -.global __dt__Q24Game10PlayCameraFv -__dt__Q24Game10PlayCameraFv: -/* 80241164 0023E0A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80241168 0023E0A8 7C 08 02 A6 */ mflr r0 -/* 8024116C 0023E0AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80241170 0023E0B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80241174 0023E0B4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80241178 0023E0B8 93 C1 00 08 */ stw r30, 8(r1) -/* 8024117C 0023E0BC 7C 9E 23 78 */ mr r30, r4 -/* 80241180 0023E0C0 41 82 00 98 */ beq lbl_80241218 -/* 80241184 0023E0C4 3C 80 80 4C */ lis r4, __vt__Q24Game10PlayCamera@ha -/* 80241188 0023E0C8 38 04 19 64 */ addi r0, r4, __vt__Q24Game10PlayCamera@l -/* 8024118C 0023E0CC 90 1F 00 00 */ stw r0, 0(r31) -/* 80241190 0023E0D0 41 82 00 78 */ beq lbl_80241208 -/* 80241194 0023E0D4 3C 80 80 4F */ lis r4, __vt__12LookAtCamera@ha -/* 80241198 0023E0D8 38 04 B7 A0 */ addi r0, r4, __vt__12LookAtCamera@l -/* 8024119C 0023E0DC 90 1F 00 00 */ stw r0, 0(r31) -/* 802411A0 0023E0E0 41 82 00 68 */ beq lbl_80241208 -/* 802411A4 0023E0E4 3C 80 80 4F */ lis r4, __vt__6Camera@ha -/* 802411A8 0023E0E8 38 04 B8 20 */ addi r0, r4, __vt__6Camera@l -/* 802411AC 0023E0EC 90 1F 00 00 */ stw r0, 0(r31) -/* 802411B0 0023E0F0 41 82 00 58 */ beq lbl_80241208 -/* 802411B4 0023E0F4 3C 80 80 4F */ lis r4, __vt__11CullFrustum@ha -/* 802411B8 0023E0F8 38 04 B8 9C */ addi r0, r4, __vt__11CullFrustum@l -/* 802411BC 0023E0FC 90 1F 00 00 */ stw r0, 0(r31) -/* 802411C0 0023E100 41 82 00 48 */ beq lbl_80241208 -/* 802411C4 0023E104 3C 80 80 4B */ lis r4, __vt__9CullPlane@ha -/* 802411C8 0023E108 38 04 0E 94 */ addi r0, r4, __vt__9CullPlane@l -/* 802411CC 0023E10C 90 1F 00 00 */ stw r0, 0(r31) -/* 802411D0 0023E110 41 82 00 38 */ beq lbl_80241208 -/* 802411D4 0023E114 3C 80 80 4B */ lis r4, __vt__22ArrayContainer$$05Plane$$1@ha -/* 802411D8 0023E118 38 04 0E 4C */ addi r0, r4, __vt__22ArrayContainer$$05Plane$$1@l -/* 802411DC 0023E11C 90 1F 00 00 */ stw r0, 0(r31) -/* 802411E0 0023E120 41 82 00 28 */ beq lbl_80241208 -/* 802411E4 0023E124 3C 80 80 4B */ lis r4, __vt__17Container$$05Plane$$1@ha -/* 802411E8 0023E128 38 04 0E 20 */ addi r0, r4, __vt__17Container$$05Plane$$1@l -/* 802411EC 0023E12C 90 1F 00 00 */ stw r0, 0(r31) -/* 802411F0 0023E130 41 82 00 18 */ beq lbl_80241208 -/* 802411F4 0023E134 3C A0 80 4B */ lis r5, __vt__16GenericContainer@ha -/* 802411F8 0023E138 38 80 00 00 */ li r4, 0 -/* 802411FC 0023E13C 38 05 AC DC */ addi r0, r5, __vt__16GenericContainer@l -/* 80241200 0023E140 90 1F 00 00 */ stw r0, 0(r31) -/* 80241204 0023E144 48 1D 03 85 */ bl __dt__5CNodeFv -lbl_80241208: -/* 80241208 0023E148 7F C0 07 35 */ extsh. r0, r30 -/* 8024120C 0023E14C 40 81 00 0C */ ble lbl_80241218 -/* 80241210 0023E150 7F E3 FB 78 */ mr r3, r31 -/* 80241214 0023E154 4B DE 2E A1 */ bl __dl__FPv -lbl_80241218: -/* 80241218 0023E158 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024121C 0023E15C 7F E3 FB 78 */ mr r3, r31 -/* 80241220 0023E160 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80241224 0023E164 83 C1 00 08 */ lwz r30, 8(r1) -/* 80241228 0023E168 7C 08 03 A6 */ mtlr r0 -/* 8024122C 0023E16C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80241230 0023E170 4E 80 00 20 */ blr - -.global startVibration__Q24Game10PlayCameraFi -startVibration__Q24Game10PlayCameraFi: -/* 80241234 0023E174 4E 80 00 20 */ blr - -.global getLookAtPosition___Q24Game10PlayCameraFv -getLookAtPosition___Q24Game10PlayCameraFv: -/* 80241238 0023E178 C0 04 01 80 */ lfs f0, 0x180(r4) -/* 8024123C 0023E17C D0 03 00 00 */ stfs f0, 0(r3) -/* 80241240 0023E180 C0 04 01 84 */ lfs f0, 0x184(r4) -/* 80241244 0023E184 D0 03 00 04 */ stfs f0, 4(r3) -/* 80241248 0023E188 C0 04 01 88 */ lfs f0, 0x188(r4) -/* 8024124C 0023E18C D0 03 00 08 */ stfs f0, 8(r3) -/* 80241250 0023E190 4E 80 00 20 */ blr - -.global __sinit_playCamera_cpp -__sinit_playCamera_cpp: -/* 80241254 0023E194 3C 80 80 51 */ lis r4, __float_nan@ha -/* 80241258 0023E198 38 00 FF FF */ li r0, -1 -/* 8024125C 0023E19C C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 80241260 0023E1A0 3C 60 80 4C */ lis r3, lbl_804C1958@ha -/* 80241264 0023E1A4 90 0D 96 70 */ stw r0, lbl_80515CF0@sda21(r13) -/* 80241268 0023E1A8 D4 03 19 58 */ stfsu f0, lbl_804C1958@l(r3) -/* 8024126C 0023E1AC D0 0D 96 74 */ stfs f0, lbl_80515CF4@sda21(r13) -/* 80241270 0023E1B0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80241274 0023E1B4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80241278 0023E1B8 4E 80 00 20 */ blr - -.global __ct__Q24Game19JointShadowRootNodeFPQ24Game8Creature -__ct__Q24Game19JointShadowRootNodeFPQ24Game8Creature: -/* 8024127C 0023E1BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80241280 0023E1C0 7C 08 02 A6 */ mflr r0 -/* 80241284 0023E1C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80241288 0023E1C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024128C 0023E1CC 7C 9F 23 78 */ mr r31, r4 -/* 80241290 0023E1D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80241294 0023E1D4 7C 7E 1B 78 */ mr r30, r3 -/* 80241298 0023E1D8 48 1D 00 F9 */ bl __ct__5CNodeFv -/* 8024129C 0023E1DC 3C 60 80 4C */ lis r3, __vt__Q24Game19JointShadowRootNode@ha -/* 802412A0 0023E1E0 38 00 00 00 */ li r0, 0 -/* 802412A4 0023E1E4 38 63 1A 44 */ addi r3, r3, __vt__Q24Game19JointShadowRootNode@l -/* 802412A8 0023E1E8 7F C4 F3 78 */ mr r4, r30 -/* 802412AC 0023E1EC 90 7E 00 00 */ stw r3, 0(r30) -/* 802412B0 0023E1F0 93 FE 00 18 */ stw r31, 0x18(r30) -/* 802412B4 0023E1F4 98 1E 00 1C */ stb r0, 0x1c(r30) -/* 802412B8 0023E1F8 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 802412BC 0023E1FC 48 00 0E 21 */ bl setJointShadowRootNode__Q24Game9ShadowMgrFPQ24Game19JointShadowRootNode -/* 802412C0 0023E200 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802412C4 0023E204 7F C3 F3 78 */ mr r3, r30 -/* 802412C8 0023E208 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802412CC 0023E20C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802412D0 0023E210 7C 08 03 A6 */ mtlr r0 -/* 802412D4 0023E214 38 21 00 10 */ addi r1, r1, 0x10 -/* 802412D8 0023E218 4E 80 00 20 */ blr - -.global __ct__Q24Game15JointShadowNodeFi -__ct__Q24Game15JointShadowNodeFi: -/* 802412DC 0023E21C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802412E0 0023E220 7C 08 02 A6 */ mflr r0 -/* 802412E4 0023E224 90 01 00 14 */ stw r0, 0x14(r1) -/* 802412E8 0023E228 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802412EC 0023E22C 7C 9F 23 78 */ mr r31, r4 -/* 802412F0 0023E230 93 C1 00 08 */ stw r30, 8(r1) -/* 802412F4 0023E234 7C 7E 1B 78 */ mr r30, r3 -/* 802412F8 0023E238 48 1D 00 99 */ bl __ct__5CNodeFv -/* 802412FC 0023E23C 3C 60 80 4C */ lis r3, __vt__Q24Game15JointShadowNode@ha -/* 80241300 0023E240 38 00 00 00 */ li r0, 0 -/* 80241304 0023E244 38 83 1A 34 */ addi r4, r3, __vt__Q24Game15JointShadowNode@l -/* 80241308 0023E248 38 60 00 30 */ li r3, 0x30 -/* 8024130C 0023E24C 90 9E 00 00 */ stw r4, 0(r30) -/* 80241310 0023E250 90 1E 00 18 */ stw r0, 0x18(r30) -/* 80241314 0023E254 4B DE 2B 91 */ bl __nw__FUl -/* 80241318 0023E258 90 7E 00 1C */ stw r3, 0x1c(r30) -/* 8024131C 0023E25C 1C 7F 00 30 */ mulli r3, r31, 0x30 -/* 80241320 0023E260 4B DE 2C 8D */ bl __nwa__FUl -/* 80241324 0023E264 90 7E 00 20 */ stw r3, 0x20(r30) -/* 80241328 0023E268 7F C3 F3 78 */ mr r3, r30 -/* 8024132C 0023E26C 7F E4 FB 78 */ mr r4, r31 -/* 80241330 0023E270 48 00 00 21 */ bl init__Q24Game15JointShadowNodeFi -/* 80241334 0023E274 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80241338 0023E278 7F C3 F3 78 */ mr r3, r30 -/* 8024133C 0023E27C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80241340 0023E280 83 C1 00 08 */ lwz r30, 8(r1) -/* 80241344 0023E284 7C 08 03 A6 */ mtlr r0 -/* 80241348 0023E288 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024134C 0023E28C 4E 80 00 20 */ blr - -.global init__Q24Game15JointShadowNodeFi -init__Q24Game15JointShadowNodeFi: -/* 80241350 0023E290 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80241354 0023E294 7C 08 02 A6 */ mflr r0 -/* 80241358 0023E298 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024135C 0023E29C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80241360 0023E2A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80241364 0023E2A4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80241368 0023E2A8 7C 9D 23 78 */ mr r29, r4 -/* 8024136C 0023E2AC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80241370 0023E2B0 7C 7C 1B 78 */ mr r28, r3 -/* 80241374 0023E2B4 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80241378 0023E2B8 4B EA 8F 29 */ bl PSMTXIdentity -/* 8024137C 0023E2BC 3B C0 00 00 */ li r30, 0 -/* 80241380 0023E2C0 3B E0 00 00 */ li r31, 0 -/* 80241384 0023E2C4 48 00 00 18 */ b lbl_8024139C -lbl_80241388: -/* 80241388 0023E2C8 80 1C 00 20 */ lwz r0, 0x20(r28) -/* 8024138C 0023E2CC 7C 60 FA 14 */ add r3, r0, r31 -/* 80241390 0023E2D0 4B EA 8F 11 */ bl PSMTXIdentity -/* 80241394 0023E2D4 3B FF 00 30 */ addi r31, r31, 0x30 -/* 80241398 0023E2D8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8024139C: -/* 8024139C 0023E2DC 7C 1E E8 00 */ cmpw r30, r29 -/* 802413A0 0023E2E0 41 80 FF E8 */ blt lbl_80241388 -/* 802413A4 0023E2E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802413A8 0023E2E8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802413AC 0023E2EC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802413B0 0023E2F0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802413B4 0023E2F4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802413B8 0023E2F8 7C 08 03 A6 */ mtlr r0 -/* 802413BC 0023E2FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802413C0 0023E300 4E 80 00 20 */ blr - -.global __ct__Q24Game9ShadowMgrFi -__ct__Q24Game9ShadowMgrFi: -/* 802413C4 0023E304 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802413C8 0023E308 7C 08 02 A6 */ mflr r0 -/* 802413CC 0023E30C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802413D0 0023E310 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802413D4 0023E314 7C 9F 23 78 */ mr r31, r4 -/* 802413D8 0023E318 93 C1 00 08 */ stw r30, 8(r1) -/* 802413DC 0023E31C 7C 7E 1B 78 */ mr r30, r3 -/* 802413E0 0023E320 48 1C FF B1 */ bl __ct__5CNodeFv -/* 802413E4 0023E324 3C 60 80 4C */ lis r3, __vt__Q24Game9ShadowMgr@ha -/* 802413E8 0023E328 38 00 00 00 */ li r0, 0 -/* 802413EC 0023E32C 38 83 19 F4 */ addi r4, r3, __vt__Q24Game9ShadowMgr@l -/* 802413F0 0023E330 7F C3 F3 78 */ mr r3, r30 -/* 802413F4 0023E334 90 9E 00 00 */ stw r4, 0(r30) -/* 802413F8 0023E338 93 FE 00 18 */ stw r31, 0x18(r30) -/* 802413FC 0023E33C 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80241400 0023E340 48 00 00 45 */ bl loadResource__Q24Game9ShadowMgrFv -/* 80241404 0023E344 38 A0 00 01 */ li r5, 1 -/* 80241408 0023E348 3C 60 80 48 */ lis r3, lbl_80484014@ha -/* 8024140C 0023E34C 98 BE 00 3C */ stb r5, 0x3c(r30) -/* 80241410 0023E350 38 80 00 00 */ li r4, 0 -/* 80241414 0023E354 38 03 40 14 */ addi r0, r3, lbl_80484014@l -/* 80241418 0023E358 7F C3 F3 78 */ mr r3, r30 -/* 8024141C 0023E35C 98 BE 00 3D */ stb r5, 0x3d(r30) -/* 80241420 0023E360 90 9E 00 40 */ stw r4, 0x40(r30) -/* 80241424 0023E364 90 9E 00 44 */ stw r4, 0x44(r30) -/* 80241428 0023E368 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8024142C 0023E36C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80241430 0023E370 83 C1 00 08 */ lwz r30, 8(r1) -/* 80241434 0023E374 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80241438 0023E378 7C 08 03 A6 */ mtlr r0 -/* 8024143C 0023E37C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80241440 0023E380 4E 80 00 20 */ blr - -.global loadResource__Q24Game9ShadowMgrFv -loadResource__Q24Game9ShadowMgrFv: -/* 80241444 0023E384 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80241448 0023E388 7C 08 02 A6 */ mflr r0 -/* 8024144C 0023E38C 3C 80 80 48 */ lis r4, lbl_80483FF8@ha -/* 80241450 0023E390 90 01 00 24 */ stw r0, 0x24(r1) -/* 80241454 0023E394 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80241458 0023E398 3B E4 3F F8 */ addi r31, r4, lbl_80483FF8@l -/* 8024145C 0023E39C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80241460 0023E3A0 7C 7E 1B 78 */ mr r30, r3 -/* 80241464 0023E3A4 38 60 00 60 */ li r3, 0x60 -/* 80241468 0023E3A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024146C 0023E3AC 4B DE 2A 39 */ bl __nw__FUl -/* 80241470 0023E3B0 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80241474 0023E3B4 41 82 00 94 */ beq lbl_80241508 -/* 80241478 0023E3B8 38 1D 00 5C */ addi r0, r29, 0x5c -/* 8024147C 0023E3BC 3C A0 6C 6F */ lis r5, 0x6C6F646E@ha -/* 80241480 0023E3C0 90 1D 00 00 */ stw r0, 0(r29) -/* 80241484 0023E3C4 38 60 00 00 */ li r3, 0 -/* 80241488 0023E3C8 38 1F 00 28 */ addi r0, r31, 0x28 -/* 8024148C 0023E3CC 7F A4 EB 78 */ mr r4, r29 -/* 80241490 0023E3D0 90 7D 00 04 */ stw r3, 4(r29) -/* 80241494 0023E3D4 38 7D 00 0C */ addi r3, r29, 0xc -/* 80241498 0023E3D8 38 A5 64 6E */ addi r5, r5, 0x6C6F646E@l -/* 8024149C 0023E3DC 38 DF 00 34 */ addi r6, r31, 0x34 -/* 802414A0 0023E3E0 90 1D 00 08 */ stw r0, 8(r29) -/* 802414A4 0023E3E4 48 1D 21 B5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802414A8 0023E3E8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802414AC 0023E3EC 3C A0 6C 6F */ lis r5, 0x6C6F6466@ha -/* 802414B0 0023E3F0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802414B4 0023E3F4 C0 02 C3 60 */ lfs f0, lbl_8051A6C0@sda21(r2) -/* 802414B8 0023E3F8 90 1D 00 0C */ stw r0, 0xc(r29) -/* 802414BC 0023E3FC 7F A4 EB 78 */ mr r4, r29 -/* 802414C0 0023E400 C0 22 C3 64 */ lfs f1, lbl_8051A6C4@sda21(r2) -/* 802414C4 0023E404 38 7D 00 34 */ addi r3, r29, 0x34 -/* 802414C8 0023E408 D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 802414CC 0023E40C 38 A5 64 66 */ addi r5, r5, 0x6C6F6466@l -/* 802414D0 0023E410 C0 02 C3 68 */ lfs f0, lbl_8051A6C8@sda21(r2) -/* 802414D4 0023E414 38 DF 00 40 */ addi r6, r31, 0x40 -/* 802414D8 0023E418 D0 3D 00 2C */ stfs f1, 0x2c(r29) -/* 802414DC 0023E41C D0 1D 00 30 */ stfs f0, 0x30(r29) -/* 802414E0 0023E420 48 1D 21 79 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802414E4 0023E424 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802414E8 0023E428 C0 42 C3 6C */ lfs f2, lbl_8051A6CC@sda21(r2) -/* 802414EC 0023E42C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802414F0 0023E430 C0 22 C3 64 */ lfs f1, lbl_8051A6C4@sda21(r2) -/* 802414F4 0023E434 90 1D 00 34 */ stw r0, 0x34(r29) -/* 802414F8 0023E438 C0 02 C3 68 */ lfs f0, lbl_8051A6C8@sda21(r2) -/* 802414FC 0023E43C D0 5D 00 4C */ stfs f2, 0x4c(r29) -/* 80241500 0023E440 D0 3D 00 54 */ stfs f1, 0x54(r29) -/* 80241504 0023E444 D0 1D 00 58 */ stfs f0, 0x58(r29) -lbl_80241508: -/* 80241508 0023E448 93 BE 00 4C */ stw r29, 0x4c(r30) -/* 8024150C 0023E44C 38 60 00 24 */ li r3, 0x24 -/* 80241510 0023E450 4B DE 29 95 */ bl __nw__FUl -/* 80241514 0023E454 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80241518 0023E458 41 82 00 24 */ beq lbl_8024153C -/* 8024151C 0023E45C 48 1C FE 75 */ bl __ct__5CNodeFv -/* 80241520 0023E460 3C 60 80 4C */ lis r3, __vt__Q24Game10ShadowNode@ha -/* 80241524 0023E464 38 00 00 00 */ li r0, 0 -/* 80241528 0023E468 38 63 1A 24 */ addi r3, r3, __vt__Q24Game10ShadowNode@l -/* 8024152C 0023E46C 90 7D 00 00 */ stw r3, 0(r29) -/* 80241530 0023E470 90 1D 00 18 */ stw r0, 0x18(r29) -/* 80241534 0023E474 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 80241538 0023E478 90 1D 00 20 */ stw r0, 0x20(r29) -lbl_8024153C: -/* 8024153C 0023E47C 93 BE 00 20 */ stw r29, 0x20(r30) -/* 80241540 0023E480 38 60 00 24 */ li r3, 0x24 -/* 80241544 0023E484 4B DE 29 61 */ bl __nw__FUl -/* 80241548 0023E488 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8024154C 0023E48C 41 82 00 24 */ beq lbl_80241570 -/* 80241550 0023E490 48 1C FE 41 */ bl __ct__5CNodeFv -/* 80241554 0023E494 3C 60 80 4C */ lis r3, __vt__Q24Game10ShadowNode@ha -/* 80241558 0023E498 38 00 00 00 */ li r0, 0 -/* 8024155C 0023E49C 38 63 1A 24 */ addi r3, r3, __vt__Q24Game10ShadowNode@l -/* 80241560 0023E4A0 90 7D 00 00 */ stw r3, 0(r29) -/* 80241564 0023E4A4 90 1D 00 18 */ stw r0, 0x18(r29) -/* 80241568 0023E4A8 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 8024156C 0023E4AC 90 1D 00 20 */ stw r0, 0x20(r29) -lbl_80241570: -/* 80241570 0023E4B0 93 BE 00 24 */ stw r29, 0x24(r30) -/* 80241574 0023E4B4 38 60 00 64 */ li r3, 0x64 -/* 80241578 0023E4B8 4B DE 29 2D */ bl __nw__FUl -/* 8024157C 0023E4BC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80241580 0023E4C0 41 82 00 14 */ beq lbl_80241594 -/* 80241584 0023E4C4 80 9E 00 4C */ lwz r4, 0x4c(r30) -/* 80241588 0023E4C8 38 BE 00 48 */ addi r5, r30, 0x48 -/* 8024158C 0023E4CC 4B FF CB E1 */ bl __ct__Q24Game15ShadowCylinder2FPQ24Game11ShadowParmsP6Color4 -/* 80241590 0023E4D0 7C 60 1B 78 */ mr r0, r3 -lbl_80241594: -/* 80241594 0023E4D4 90 1E 00 28 */ stw r0, 0x28(r30) -/* 80241598 0023E4D8 38 60 00 58 */ li r3, 0x58 -/* 8024159C 0023E4DC 4B DE 29 09 */ bl __nw__FUl -/* 802415A0 0023E4E0 7C 60 1B 79 */ or. r0, r3, r3 -/* 802415A4 0023E4E4 41 82 00 14 */ beq lbl_802415B8 -/* 802415A8 0023E4E8 80 9E 00 4C */ lwz r4, 0x4c(r30) -/* 802415AC 0023E4EC 38 BE 00 48 */ addi r5, r30, 0x48 -/* 802415B0 0023E4F0 4B FF D6 CD */ bl __ct__Q24Game15ShadowCylinder3FPQ24Game11ShadowParmsP6Color4 -/* 802415B4 0023E4F4 7C 60 1B 78 */ mr r0, r3 -lbl_802415B8: -/* 802415B8 0023E4F8 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 802415BC 0023E4FC 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 802415C0 0023E500 54 03 10 3A */ slwi r3, r0, 2 -/* 802415C4 0023E504 4B DE 29 E9 */ bl __nwa__FUl -/* 802415C8 0023E508 90 7E 00 30 */ stw r3, 0x30(r30) -/* 802415CC 0023E50C 38 60 00 20 */ li r3, 0x20 -/* 802415D0 0023E510 4B DE 28 D5 */ bl __nw__FUl -/* 802415D4 0023E514 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802415D8 0023E518 41 82 00 20 */ beq lbl_802415F8 -/* 802415DC 0023E51C 48 1C FD B5 */ bl __ct__5CNodeFv -/* 802415E0 0023E520 3C 60 80 4C */ lis r3, __vt__Q24Game19JointShadowRootNode@ha -/* 802415E4 0023E524 38 00 00 00 */ li r0, 0 -/* 802415E8 0023E528 38 63 1A 44 */ addi r3, r3, __vt__Q24Game19JointShadowRootNode@l -/* 802415EC 0023E52C 90 7D 00 00 */ stw r3, 0(r29) -/* 802415F0 0023E530 90 1D 00 18 */ stw r0, 0x18(r29) -/* 802415F4 0023E534 98 1D 00 1C */ stb r0, 0x1c(r29) -lbl_802415F8: -/* 802415F8 0023E538 93 BE 00 34 */ stw r29, 0x34(r30) -/* 802415FC 0023E53C 38 60 00 20 */ li r3, 0x20 -/* 80241600 0023E540 4B DE 28 A5 */ bl __nw__FUl -/* 80241604 0023E544 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80241608 0023E548 41 82 00 20 */ beq lbl_80241628 -/* 8024160C 0023E54C 48 1C FD 85 */ bl __ct__5CNodeFv -/* 80241610 0023E550 3C 60 80 4C */ lis r3, __vt__Q24Game19JointShadowRootNode@ha -/* 80241614 0023E554 38 00 00 00 */ li r0, 0 -/* 80241618 0023E558 38 63 1A 44 */ addi r3, r3, __vt__Q24Game19JointShadowRootNode@l -/* 8024161C 0023E55C 90 7D 00 00 */ stw r3, 0(r29) -/* 80241620 0023E560 90 1D 00 18 */ stw r0, 0x18(r29) -/* 80241624 0023E564 98 1D 00 1C */ stb r0, 0x1c(r29) -lbl_80241628: -/* 80241628 0023E568 93 BE 00 38 */ stw r29, 0x38(r30) -/* 8024162C 0023E56C 7F C3 F3 78 */ mr r3, r30 -/* 80241630 0023E570 38 9F 00 4C */ addi r4, r31, 0x4c -/* 80241634 0023E574 48 00 0E 21 */ bl readShadowParms__Q24Game9ShadowMgrFPc -/* 80241638 0023E578 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024163C 0023E57C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80241640 0023E580 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80241644 0023E584 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80241648 0023E588 7C 08 03 A6 */ mtlr r0 -/* 8024164C 0023E58C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80241650 0023E590 4E 80 00 20 */ blr - -.global init__Q24Game9ShadowMgrFv -init__Q24Game9ShadowMgrFv: -/* 80241654 0023E594 4E 80 00 20 */ blr - -.global setViewport__Q24Game9ShadowMgrFP8Viewporti -setViewport__Q24Game9ShadowMgrFP8Viewporti: -/* 80241658 0023E598 80 63 00 30 */ lwz r3, 0x30(r3) -/* 8024165C 0023E59C 54 A0 10 3A */ slwi r0, r5, 2 -/* 80241660 0023E5A0 7C 83 01 2E */ stwx r4, r3, r0 -/* 80241664 0023E5A4 4E 80 00 20 */ blr - -.global setShadowColor__Q24Game9ShadowMgrFP6Color4 -setShadowColor__Q24Game9ShadowMgrFP6Color4: -/* 80241668 0023E5A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024166C 0023E5AC 7C 08 02 A6 */ mflr r0 -/* 80241670 0023E5B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80241674 0023E5B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80241678 0023E5B8 7C 9F 23 78 */ mr r31, r4 -/* 8024167C 0023E5BC 93 C1 00 08 */ stw r30, 8(r1) -/* 80241680 0023E5C0 7C 7E 1B 78 */ mr r30, r3 -/* 80241684 0023E5C4 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80241688 0023E5C8 4B FF C8 85 */ bl setColor__Q24Game12CylinderBaseFP6Color4 -/* 8024168C 0023E5CC 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 80241690 0023E5D0 7F E4 FB 78 */ mr r4, r31 -/* 80241694 0023E5D4 4B FF C8 79 */ bl setColor__Q24Game12CylinderBaseFP6Color4 -/* 80241698 0023E5D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024169C 0023E5DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802416A0 0023E5E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802416A4 0023E5E4 7C 08 03 A6 */ mtlr r0 -/* 802416A8 0023E5E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802416AC 0023E5EC 4E 80 00 20 */ blr - -.global update__Q24Game9ShadowMgrFv -update__Q24Game9ShadowMgrFv: -/* 802416B0 0023E5F0 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802416B4 0023E5F4 7C 08 02 A6 */ mflr r0 -/* 802416B8 0023E5F8 90 01 00 84 */ stw r0, 0x84(r1) -/* 802416BC 0023E5FC BF 01 00 60 */ stmw r24, 0x60(r1) -/* 802416C0 0023E600 7C 7B 1B 78 */ mr r27, r3 -/* 802416C4 0023E604 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 802416C8 0023E608 28 00 00 00 */ cmplwi r0, 0 -/* 802416CC 0023E60C 41 82 02 30 */ beq lbl_802418FC -/* 802416D0 0023E610 3B 80 00 00 */ li r28, 0 -/* 802416D4 0023E614 3B 40 00 00 */ li r26, 0 -/* 802416D8 0023E618 48 00 00 30 */ b lbl_80241708 -lbl_802416DC: -/* 802416DC 0023E61C 80 1B 00 40 */ lwz r0, 0x40(r27) -/* 802416E0 0023E620 7F 85 E3 78 */ mr r5, r28 -/* 802416E4 0023E624 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 802416E8 0023E628 54 06 10 3A */ slwi r6, r0, 2 -/* 802416EC 0023E62C 7C 83 D0 2E */ lwzx r4, r3, r26 -/* 802416F0 0023E630 38 06 00 28 */ addi r0, r6, 0x28 -/* 802416F4 0023E634 7C 7B 00 2E */ lwzx r3, r27, r0 -/* 802416F8 0023E638 80 84 00 44 */ lwz r4, 0x44(r4) -/* 802416FC 0023E63C 4B FF C8 3D */ bl setCameraParms__Q24Game12CylinderBaseFP6Camerai -/* 80241700 0023E640 3B 5A 00 04 */ addi r26, r26, 4 -/* 80241704 0023E644 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80241708: -/* 80241708 0023E648 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8024170C 0023E64C 7C 1C 00 00 */ cmpw r28, r0 -/* 80241710 0023E650 41 80 FF CC */ blt lbl_802416DC -/* 80241714 0023E654 80 7B 00 20 */ lwz r3, 0x20(r27) -/* 80241718 0023E658 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 8024171C 0023E65C 48 00 01 1C */ b lbl_80241838 -lbl_80241720: -/* 80241720 0023E660 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80241724 0023E664 81 83 00 00 */ lwz r12, 0(r3) -/* 80241728 0023E668 81 8C 01 38 */ lwz r12, 0x138(r12) -/* 8024172C 0023E66C 7D 89 03 A6 */ mtctr r12 -/* 80241730 0023E670 4E 80 04 21 */ bctrl -/* 80241734 0023E674 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80241738 0023E678 41 82 00 FC */ beq lbl_80241834 -/* 8024173C 0023E67C 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80241740 0023E680 38 81 00 08 */ addi r4, r1, 8 -/* 80241744 0023E684 81 83 00 00 */ lwz r12, 0(r3) -/* 80241748 0023E688 81 8C 01 34 */ lwz r12, 0x134(r12) -/* 8024174C 0023E68C 7D 89 03 A6 */ mtctr r12 -/* 80241750 0023E690 4E 80 04 21 */ bctrl -/* 80241754 0023E694 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 80241758 0023E698 38 81 00 28 */ addi r4, r1, 0x28 -/* 8024175C 0023E69C 38 A1 00 08 */ addi r5, r1, 8 -/* 80241760 0023E6A0 54 00 00 06 */ rlwinm r0, r0, 0, 0, 3 -/* 80241764 0023E6A4 90 1D 00 20 */ stw r0, 0x20(r29) -/* 80241768 0023E6A8 80 1B 00 40 */ lwz r0, 0x40(r27) -/* 8024176C 0023E6AC 54 03 10 3A */ slwi r3, r0, 2 -/* 80241770 0023E6B0 38 03 00 28 */ addi r0, r3, 0x28 -/* 80241774 0023E6B4 7C 7B 00 2E */ lwzx r3, r27, r0 -/* 80241778 0023E6B8 4B FF C8 75 */ bl makeSRT__Q24Game12CylinderBaseFR7MatrixfRQ24Game11ShadowParam -/* 8024177C 0023E6BC 3B E0 00 00 */ li r31, 0 -/* 80241780 0023E6C0 3B 80 00 00 */ li r28, 0 -/* 80241784 0023E6C4 7F FE FB 78 */ mr r30, r31 -/* 80241788 0023E6C8 48 00 00 A0 */ b lbl_80241828 -lbl_8024178C: -/* 8024178C 0023E6CC 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 80241790 0023E6D0 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80241794 0023E6D4 48 1E 3A AD */ bl viewable__8ViewportFv -/* 80241798 0023E6D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024179C 0023E6DC 41 82 00 80 */ beq lbl_8024181C -/* 802417A0 0023E6E0 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 802417A4 0023E6E4 38 80 00 00 */ li r4, 0 -/* 802417A8 0023E6E8 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 802417AC 0023E6EC 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802417B0 0023E6F0 7F 40 F2 14 */ add r26, r0, r30 -/* 802417B4 0023E6F4 80 63 00 44 */ lwz r3, 0x44(r3) -/* 802417B8 0023E6F8 81 83 00 00 */ lwz r12, 0(r3) -/* 802417BC 0023E6FC 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 802417C0 0023E700 7D 89 03 A6 */ mtctr r12 -/* 802417C4 0023E704 4E 80 04 21 */ bctrl -/* 802417C8 0023E708 7F 45 D3 78 */ mr r5, r26 -/* 802417CC 0023E70C 38 81 00 28 */ addi r4, r1, 0x28 -/* 802417D0 0023E710 4B EA 8B 31 */ bl PSMTXConcat -/* 802417D4 0023E714 88 1B 00 3D */ lbz r0, 0x3d(r27) -/* 802417D8 0023E718 38 80 00 00 */ li r4, 0 -/* 802417DC 0023E71C 28 00 00 00 */ cmplwi r0, 0 -/* 802417E0 0023E720 41 82 00 24 */ beq lbl_80241804 -/* 802417E4 0023E724 80 1B 00 40 */ lwz r0, 0x40(r27) -/* 802417E8 0023E728 7F 85 E3 78 */ mr r5, r28 -/* 802417EC 0023E72C 38 81 00 08 */ addi r4, r1, 8 -/* 802417F0 0023E730 54 03 10 3A */ slwi r3, r0, 2 -/* 802417F4 0023E734 38 03 00 28 */ addi r0, r3, 0x28 -/* 802417F8 0023E738 7C 7B 00 2E */ lwzx r3, r27, r0 -/* 802417FC 0023E73C 4B FF C8 BD */ bl getCylinderType__Q24Game12CylinderBaseFRQ24Game11ShadowParami -/* 80241800 0023E740 7C 64 1B 78 */ mr r4, r3 -lbl_80241804: -/* 80241804 0023E744 7F 63 DB 78 */ mr r3, r27 -/* 80241808 0023E748 7F 85 E3 78 */ mr r5, r28 -/* 8024180C 0023E74C 48 00 0A B1 */ bl getShadowMaskType__Q24Game9ShadowMgrFii -/* 80241810 0023E750 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 80241814 0023E754 7C 00 1B 78 */ or r0, r0, r3 -/* 80241818 0023E758 90 1D 00 20 */ stw r0, 0x20(r29) -lbl_8024181C: -/* 8024181C 0023E75C 3B FF 00 04 */ addi r31, r31, 4 -/* 80241820 0023E760 3B DE 00 30 */ addi r30, r30, 0x30 -/* 80241824 0023E764 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80241828: -/* 80241828 0023E768 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8024182C 0023E76C 7C 1C 00 00 */ cmpw r28, r0 -/* 80241830 0023E770 41 80 FF 5C */ blt lbl_8024178C -lbl_80241834: -/* 80241834 0023E774 83 BD 00 04 */ lwz r29, 4(r29) -lbl_80241838: -/* 80241838 0023E778 28 1D 00 00 */ cmplwi r29, 0 -/* 8024183C 0023E77C 40 82 FE E4 */ bne lbl_80241720 -/* 80241840 0023E780 80 7B 00 34 */ lwz r3, 0x34(r27) -/* 80241844 0023E784 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80241848 0023E788 48 00 00 AC */ b lbl_802418F4 -lbl_8024184C: -/* 8024184C 0023E78C 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80241850 0023E790 81 83 00 00 */ lwz r12, 0(r3) -/* 80241854 0023E794 81 8C 01 38 */ lwz r12, 0x138(r12) -/* 80241858 0023E798 7D 89 03 A6 */ mtctr r12 -/* 8024185C 0023E79C 4E 80 04 21 */ bctrl -/* 80241860 0023E7A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80241864 0023E7A4 41 82 00 8C */ beq lbl_802418F0 -/* 80241868 0023E7A8 83 3F 00 10 */ lwz r25, 0x10(r31) -/* 8024186C 0023E7AC 48 00 00 7C */ b lbl_802418E8 -lbl_80241870: -/* 80241870 0023E7B0 3B A0 00 00 */ li r29, 0 -/* 80241874 0023E7B4 3B 00 00 00 */ li r24, 0 -/* 80241878 0023E7B8 7F BE EB 78 */ mr r30, r29 -/* 8024187C 0023E7BC 48 00 00 5C */ b lbl_802418D8 -lbl_80241880: -/* 80241880 0023E7C0 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 80241884 0023E7C4 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 80241888 0023E7C8 48 1E 39 B9 */ bl viewable__8ViewportFv -/* 8024188C 0023E7CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80241890 0023E7D0 41 82 00 3C */ beq lbl_802418CC -/* 80241894 0023E7D4 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 80241898 0023E7D8 38 80 00 00 */ li r4, 0 -/* 8024189C 0023E7DC 80 19 00 20 */ lwz r0, 0x20(r25) -/* 802418A0 0023E7E0 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 802418A4 0023E7E4 7F 80 F2 14 */ add r28, r0, r30 -/* 802418A8 0023E7E8 83 59 00 1C */ lwz r26, 0x1c(r25) -/* 802418AC 0023E7EC 80 63 00 44 */ lwz r3, 0x44(r3) -/* 802418B0 0023E7F0 81 83 00 00 */ lwz r12, 0(r3) -/* 802418B4 0023E7F4 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 802418B8 0023E7F8 7D 89 03 A6 */ mtctr r12 -/* 802418BC 0023E7FC 4E 80 04 21 */ bctrl -/* 802418C0 0023E800 7F 44 D3 78 */ mr r4, r26 -/* 802418C4 0023E804 7F 85 E3 78 */ mr r5, r28 -/* 802418C8 0023E808 4B EA 8A 39 */ bl PSMTXConcat -lbl_802418CC: -/* 802418CC 0023E80C 3B BD 00 04 */ addi r29, r29, 4 -/* 802418D0 0023E810 3B DE 00 30 */ addi r30, r30, 0x30 -/* 802418D4 0023E814 3B 18 00 01 */ addi r24, r24, 1 -lbl_802418D8: -/* 802418D8 0023E818 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 802418DC 0023E81C 7C 18 00 00 */ cmpw r24, r0 -/* 802418E0 0023E820 41 80 FF A0 */ blt lbl_80241880 -/* 802418E4 0023E824 83 39 00 04 */ lwz r25, 4(r25) -lbl_802418E8: -/* 802418E8 0023E828 28 19 00 00 */ cmplwi r25, 0 -/* 802418EC 0023E82C 40 82 FF 84 */ bne lbl_80241870 -lbl_802418F0: -/* 802418F0 0023E830 83 FF 00 04 */ lwz r31, 4(r31) -lbl_802418F4: -/* 802418F4 0023E834 28 1F 00 00 */ cmplwi r31, 0 -/* 802418F8 0023E838 40 82 FF 54 */ bne lbl_8024184C -lbl_802418FC: -/* 802418FC 0023E83C BB 01 00 60 */ lmw r24, 0x60(r1) -/* 80241900 0023E840 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80241904 0023E844 7C 08 03 A6 */ mtlr r0 -/* 80241908 0023E848 38 21 00 80 */ addi r1, r1, 0x80 -/* 8024190C 0023E84C 4E 80 00 20 */ blr - -.global draw__Q24Game9ShadowMgrFR8Graphicsi -draw__Q24Game9ShadowMgrFR8Graphicsi: -/* 80241910 0023E850 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80241914 0023E854 7C 08 02 A6 */ mflr r0 -/* 80241918 0023E858 38 82 C3 70 */ addi r4, r2, lbl_8051A6D0@sda21 -/* 8024191C 0023E85C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80241920 0023E860 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80241924 0023E864 7C BE 2B 78 */ mr r30, r5 -/* 80241928 0023E868 7C 7D 1B 78 */ mr r29, r3 -/* 8024192C 0023E86C 38 A0 00 01 */ li r5, 1 -/* 80241930 0023E870 80 CD 9A EC */ lwz r6, sys@sda21(r13) -/* 80241934 0023E874 80 66 00 28 */ lwz r3, 0x28(r6) -/* 80241938 0023E878 48 1E 91 C1 */ bl _start__9SysTimersFPcb -/* 8024193C 0023E87C 88 1D 00 3C */ lbz r0, 0x3c(r29) -/* 80241940 0023E880 28 00 00 00 */ cmplwi r0, 0 -/* 80241944 0023E884 41 82 01 B8 */ beq lbl_80241AFC -/* 80241948 0023E888 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 8024194C 0023E88C 57 DF 10 3A */ slwi r31, r30, 2 -/* 80241950 0023E890 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80241954 0023E894 48 1E 38 ED */ bl viewable__8ViewportFv -/* 80241958 0023E898 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024195C 0023E89C 41 82 01 A0 */ beq lbl_80241AFC -/* 80241960 0023E8A0 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 80241964 0023E8A4 38 81 00 08 */ addi r4, r1, 8 -/* 80241968 0023E8A8 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 8024196C 0023E8AC C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80241970 0023E8B0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80241974 0023E8B4 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 80241978 0023E8B8 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8024197C 0023E8BC C0 03 00 34 */ lfs f0, 0x34(r3) -/* 80241980 0023E8C0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80241984 0023E8C4 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 80241988 0023E8C8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8024198C 0023E8CC 80 1D 00 40 */ lwz r0, 0x40(r29) -/* 80241990 0023E8D0 54 00 10 3A */ slwi r0, r0, 2 -/* 80241994 0023E8D4 7C 7D 02 14 */ add r3, r29, r0 -/* 80241998 0023E8D8 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024199C 0023E8DC 4B FF C5 79 */ bl setShadowRect__Q24Game12CylinderBaseFR7Rect$$0f$$1 -/* 802419A0 0023E8E0 80 1D 00 40 */ lwz r0, 0x40(r29) -/* 802419A4 0023E8E4 7F C4 F3 78 */ mr r4, r30 -/* 802419A8 0023E8E8 54 00 10 3A */ slwi r0, r0, 2 -/* 802419AC 0023E8EC 7C 7D 02 14 */ add r3, r29, r0 -/* 802419B0 0023E8F0 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802419B4 0023E8F4 81 83 00 00 */ lwz r12, 0(r3) -/* 802419B8 0023E8F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802419BC 0023E8FC 7D 89 03 A6 */ mtctr r12 -/* 802419C0 0023E900 4E 80 04 21 */ bctrl -/* 802419C4 0023E904 80 1D 00 40 */ lwz r0, 0x40(r29) -/* 802419C8 0023E908 54 00 10 3A */ slwi r0, r0, 2 -/* 802419CC 0023E90C 7C 7D 02 14 */ add r3, r29, r0 -/* 802419D0 0023E910 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802419D4 0023E914 81 83 00 00 */ lwz r12, 0(r3) -/* 802419D8 0023E918 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802419DC 0023E91C 7D 89 03 A6 */ mtctr r12 -/* 802419E0 0023E920 4E 80 04 21 */ bctrl -/* 802419E4 0023E924 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 802419E8 0023E928 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802419EC 0023E92C 48 1E 37 B5 */ bl setProjection__8ViewportFv -/* 802419F0 0023E930 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 802419F4 0023E934 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802419F8 0023E938 48 1E 3A 4D */ bl setViewport__8ViewportFv -/* 802419FC 0023E93C 80 7D 00 20 */ lwz r3, 0x20(r29) -/* 80241A00 0023E940 1F FE 00 30 */ mulli r31, r30, 0x30 -/* 80241A04 0023E944 83 83 00 10 */ lwz r28, 0x10(r3) -/* 80241A08 0023E948 48 00 00 5C */ b lbl_80241A64 -lbl_80241A0C: -/* 80241A0C 0023E94C 7F A3 EB 78 */ mr r3, r29 -/* 80241A10 0023E950 7F 84 E3 78 */ mr r4, r28 -/* 80241A14 0023E954 7F C5 F3 78 */ mr r5, r30 -/* 80241A18 0023E958 48 00 09 3D */ bl isDrawNormalShadow__Q24Game9ShadowMgrFPQ24Game10ShadowNodei -/* 80241A1C 0023E95C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80241A20 0023E960 41 82 00 40 */ beq lbl_80241A60 -/* 80241A24 0023E964 80 9C 00 20 */ lwz r4, 0x20(r28) -/* 80241A28 0023E968 7F A3 EB 78 */ mr r3, r29 -/* 80241A2C 0023E96C 7F C5 F3 78 */ mr r5, r30 -/* 80241A30 0023E970 48 00 08 D9 */ bl getShadowType__Q24Game9ShadowMgrFii -/* 80241A34 0023E974 80 9D 00 40 */ lwz r4, 0x40(r29) -/* 80241A38 0023E978 7C 65 1B 78 */ mr r5, r3 -/* 80241A3C 0023E97C 80 1C 00 1C */ lwz r0, 0x1c(r28) -/* 80241A40 0023E980 54 84 10 3A */ slwi r4, r4, 2 -/* 80241A44 0023E984 38 84 00 28 */ addi r4, r4, 0x28 -/* 80241A48 0023E988 7C 7D 20 2E */ lwzx r3, r29, r4 -/* 80241A4C 0023E98C 7C 80 FA 14 */ add r4, r0, r31 -/* 80241A50 0023E990 81 83 00 00 */ lwz r12, 0(r3) -/* 80241A54 0023E994 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80241A58 0023E998 7D 89 03 A6 */ mtctr r12 -/* 80241A5C 0023E99C 4E 80 04 21 */ bctrl -lbl_80241A60: -/* 80241A60 0023E9A0 83 9C 00 04 */ lwz r28, 4(r28) -lbl_80241A64: -/* 80241A64 0023E9A4 28 1C 00 00 */ cmplwi r28, 0 -/* 80241A68 0023E9A8 40 82 FF A4 */ bne lbl_80241A0C -/* 80241A6C 0023E9AC 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 80241A70 0023E9B0 83 83 00 10 */ lwz r28, 0x10(r3) -/* 80241A74 0023E9B4 48 00 00 60 */ b lbl_80241AD4 -lbl_80241A78: -/* 80241A78 0023E9B8 7F A3 EB 78 */ mr r3, r29 -/* 80241A7C 0023E9BC 7F 84 E3 78 */ mr r4, r28 -/* 80241A80 0023E9C0 7F C5 F3 78 */ mr r5, r30 -/* 80241A84 0023E9C4 48 00 09 51 */ bl isDrawJointShadow__Q24Game9ShadowMgrFPQ24Game19JointShadowRootNodei -/* 80241A88 0023E9C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80241A8C 0023E9CC 41 82 00 44 */ beq lbl_80241AD0 -/* 80241A90 0023E9D0 83 7C 00 10 */ lwz r27, 0x10(r28) -/* 80241A94 0023E9D4 48 00 00 34 */ b lbl_80241AC8 -lbl_80241A98: -/* 80241A98 0023E9D8 80 7D 00 40 */ lwz r3, 0x40(r29) -/* 80241A9C 0023E9DC 80 1B 00 20 */ lwz r0, 0x20(r27) -/* 80241AA0 0023E9E0 54 63 10 3A */ slwi r3, r3, 2 -/* 80241AA4 0023E9E4 80 BB 00 18 */ lwz r5, 0x18(r27) -/* 80241AA8 0023E9E8 38 63 00 28 */ addi r3, r3, 0x28 -/* 80241AAC 0023E9EC 7C 80 FA 14 */ add r4, r0, r31 -/* 80241AB0 0023E9F0 7C 7D 18 2E */ lwzx r3, r29, r3 -/* 80241AB4 0023E9F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80241AB8 0023E9F8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80241ABC 0023E9FC 7D 89 03 A6 */ mtctr r12 -/* 80241AC0 0023EA00 4E 80 04 21 */ bctrl -/* 80241AC4 0023EA04 83 7B 00 04 */ lwz r27, 4(r27) -lbl_80241AC8: -/* 80241AC8 0023EA08 28 1B 00 00 */ cmplwi r27, 0 -/* 80241ACC 0023EA0C 40 82 FF CC */ bne lbl_80241A98 -lbl_80241AD0: -/* 80241AD0 0023EA10 83 9C 00 04 */ lwz r28, 4(r28) -lbl_80241AD4: -/* 80241AD4 0023EA14 28 1C 00 00 */ cmplwi r28, 0 -/* 80241AD8 0023EA18 40 82 FF A0 */ bne lbl_80241A78 -/* 80241ADC 0023EA1C 80 1D 00 40 */ lwz r0, 0x40(r29) -/* 80241AE0 0023EA20 54 00 10 3A */ slwi r0, r0, 2 -/* 80241AE4 0023EA24 7C 7D 02 14 */ add r3, r29, r0 -/* 80241AE8 0023EA28 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80241AEC 0023EA2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80241AF0 0023EA30 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80241AF4 0023EA34 7D 89 03 A6 */ mtctr r12 -/* 80241AF8 0023EA38 4E 80 04 21 */ bctrl -lbl_80241AFC: -/* 80241AFC 0023EA3C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80241B00 0023EA40 38 82 C3 70 */ addi r4, r2, lbl_8051A6D0@sda21 -/* 80241B04 0023EA44 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80241B08 0023EA48 48 1E 8F F5 */ bl _stop__9SysTimersFPc -/* 80241B0C 0023EA4C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80241B10 0023EA50 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80241B14 0023EA54 7C 08 03 A6 */ mtlr r0 -/* 80241B18 0023EA58 38 21 00 30 */ addi r1, r1, 0x30 -/* 80241B1C 0023EA5C 4E 80 00 20 */ blr - -.global createShadow__Q24Game9ShadowMgrFPQ24Game8Creature -createShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241B20 0023EA60 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80241B24 0023EA64 7C 08 02 A6 */ mflr r0 -/* 80241B28 0023EA68 90 01 00 24 */ stw r0, 0x24(r1) -/* 80241B2C 0023EA6C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80241B30 0023EA70 7C 7F 1B 78 */ mr r31, r3 -/* 80241B34 0023EA74 7C 9C 23 78 */ mr r28, r4 -/* 80241B38 0023EA78 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80241B3C 0023EA7C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80241B40 0023EA80 48 00 00 14 */ b lbl_80241B54 -lbl_80241B44: -/* 80241B44 0023EA84 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80241B48 0023EA88 7C 1C 00 40 */ cmplw r28, r0 -/* 80241B4C 0023EA8C 41 82 00 B0 */ beq lbl_80241BFC -/* 80241B50 0023EA90 80 63 00 04 */ lwz r3, 4(r3) -lbl_80241B54: -/* 80241B54 0023EA94 28 03 00 00 */ cmplwi r3, 0 -/* 80241B58 0023EA98 40 82 FF EC */ bne lbl_80241B44 -/* 80241B5C 0023EA9C 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80241B60 0023EAA0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80241B64 0023EAA4 48 00 00 14 */ b lbl_80241B78 -lbl_80241B68: -/* 80241B68 0023EAA8 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80241B6C 0023EAAC 7C 1C 00 40 */ cmplw r28, r0 -/* 80241B70 0023EAB0 41 82 00 8C */ beq lbl_80241BFC -/* 80241B74 0023EAB4 80 63 00 04 */ lwz r3, 4(r3) -lbl_80241B78: -/* 80241B78 0023EAB8 28 03 00 00 */ cmplwi r3, 0 -/* 80241B7C 0023EABC 40 82 FF EC */ bne lbl_80241B68 -/* 80241B80 0023EAC0 38 60 00 24 */ li r3, 0x24 -/* 80241B84 0023EAC4 4B DE 23 21 */ bl __nw__FUl -/* 80241B88 0023EAC8 7C 64 1B 79 */ or. r4, r3, r3 -/* 80241B8C 0023EACC 41 82 00 5C */ beq lbl_80241BE8 -/* 80241B90 0023EAD0 83 DF 00 18 */ lwz r30, 0x18(r31) -/* 80241B94 0023EAD4 7C 9B 23 78 */ mr r27, r4 -/* 80241B98 0023EAD8 48 1C F7 F9 */ bl __ct__5CNodeFv -/* 80241B9C 0023EADC 3C 60 80 4C */ lis r3, __vt__Q24Game10ShadowNode@ha -/* 80241BA0 0023EAE0 38 03 1A 24 */ addi r0, r3, __vt__Q24Game10ShadowNode@l -/* 80241BA4 0023EAE4 90 1B 00 00 */ stw r0, 0(r27) -/* 80241BA8 0023EAE8 1C 7E 00 30 */ mulli r3, r30, 0x30 -/* 80241BAC 0023EAEC 93 9B 00 18 */ stw r28, 0x18(r27) -/* 80241BB0 0023EAF0 4B DE 23 FD */ bl __nwa__FUl -/* 80241BB4 0023EAF4 90 7B 00 1C */ stw r3, 0x1c(r27) -/* 80241BB8 0023EAF8 3B A0 00 00 */ li r29, 0 -/* 80241BBC 0023EAFC 7F BC EB 78 */ mr r28, r29 -/* 80241BC0 0023EB00 93 BB 00 20 */ stw r29, 0x20(r27) -/* 80241BC4 0023EB04 48 00 00 18 */ b lbl_80241BDC -lbl_80241BC8: -/* 80241BC8 0023EB08 80 1B 00 1C */ lwz r0, 0x1c(r27) -/* 80241BCC 0023EB0C 7C 60 E2 14 */ add r3, r0, r28 -/* 80241BD0 0023EB10 4B EA 86 D1 */ bl PSMTXIdentity -/* 80241BD4 0023EB14 3B 9C 00 30 */ addi r28, r28, 0x30 -/* 80241BD8 0023EB18 3B BD 00 01 */ addi r29, r29, 1 -lbl_80241BDC: -/* 80241BDC 0023EB1C 7C 1D F0 00 */ cmpw r29, r30 -/* 80241BE0 0023EB20 41 80 FF E8 */ blt lbl_80241BC8 -/* 80241BE4 0023EB24 7F 64 DB 78 */ mr r4, r27 -lbl_80241BE8: -/* 80241BE8 0023EB28 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80241BEC 0023EB2C 48 1C F8 1D */ bl add__5CNodeFP5CNode -/* 80241BF0 0023EB30 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80241BF4 0023EB34 38 03 00 01 */ addi r0, r3, 1 -/* 80241BF8 0023EB38 90 1F 00 1C */ stw r0, 0x1c(r31) -lbl_80241BFC: -/* 80241BFC 0023EB3C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80241C00 0023EB40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80241C04 0023EB44 7C 08 03 A6 */ mtlr r0 -/* 80241C08 0023EB48 38 21 00 20 */ addi r1, r1, 0x20 -/* 80241C0C 0023EB4C 4E 80 00 20 */ blr - -.global killAll__Q24Game9ShadowMgrFv -killAll__Q24Game9ShadowMgrFv: -/* 80241C10 0023EB50 80 83 00 34 */ lwz r4, 0x34(r3) -/* 80241C14 0023EB54 38 00 00 00 */ li r0, 0 -/* 80241C18 0023EB58 90 04 00 10 */ stw r0, 0x10(r4) -/* 80241C1C 0023EB5C 90 04 00 0C */ stw r0, 0xc(r4) -/* 80241C20 0023EB60 90 04 00 08 */ stw r0, 8(r4) -/* 80241C24 0023EB64 90 04 00 04 */ stw r0, 4(r4) -/* 80241C28 0023EB68 80 83 00 38 */ lwz r4, 0x38(r3) -/* 80241C2C 0023EB6C 90 04 00 10 */ stw r0, 0x10(r4) -/* 80241C30 0023EB70 90 04 00 0C */ stw r0, 0xc(r4) -/* 80241C34 0023EB74 90 04 00 08 */ stw r0, 8(r4) -/* 80241C38 0023EB78 90 04 00 04 */ stw r0, 4(r4) -/* 80241C3C 0023EB7C 80 83 00 20 */ lwz r4, 0x20(r3) -/* 80241C40 0023EB80 90 04 00 10 */ stw r0, 0x10(r4) -/* 80241C44 0023EB84 90 04 00 0C */ stw r0, 0xc(r4) -/* 80241C48 0023EB88 90 04 00 08 */ stw r0, 8(r4) -/* 80241C4C 0023EB8C 90 04 00 04 */ stw r0, 4(r4) -/* 80241C50 0023EB90 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80241C54 0023EB94 90 03 00 10 */ stw r0, 0x10(r3) -/* 80241C58 0023EB98 90 03 00 0C */ stw r0, 0xc(r3) -/* 80241C5C 0023EB9C 90 03 00 08 */ stw r0, 8(r3) -/* 80241C60 0023EBA0 90 03 00 04 */ stw r0, 4(r3) -/* 80241C64 0023EBA4 4E 80 00 20 */ blr - -.global killShadow__Q24Game9ShadowMgrFPQ24Game8Creature -killShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241C68 0023EBA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80241C6C 0023EBAC 7C 08 02 A6 */ mflr r0 -/* 80241C70 0023EBB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80241C74 0023EBB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80241C78 0023EBB8 7C 9F 23 78 */ mr r31, r4 -/* 80241C7C 0023EBBC 93 C1 00 08 */ stw r30, 8(r1) -/* 80241C80 0023EBC0 7C 7E 1B 78 */ mr r30, r3 -/* 80241C84 0023EBC4 48 00 03 AD */ bl killJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 80241C88 0023EBC8 7F C3 F3 78 */ mr r3, r30 -/* 80241C8C 0023EBCC 7F E4 FB 78 */ mr r4, r31 -/* 80241C90 0023EBD0 48 00 02 F5 */ bl killNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 80241C94 0023EBD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80241C98 0023EBD8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80241C9C 0023EBDC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80241CA0 0023EBE0 7C 08 03 A6 */ mtlr r0 -/* 80241CA4 0023EBE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80241CA8 0023EBE8 4E 80 00 20 */ blr - -.global addShadow__Q24Game9ShadowMgrFPQ24Game8Creature -addShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241CAC 0023EBEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80241CB0 0023EBF0 7C 08 02 A6 */ mflr r0 -/* 80241CB4 0023EBF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80241CB8 0023EBF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80241CBC 0023EBFC 7C 9F 23 78 */ mr r31, r4 -/* 80241CC0 0023EC00 93 C1 00 08 */ stw r30, 8(r1) -/* 80241CC4 0023EC04 7C 7E 1B 78 */ mr r30, r3 -/* 80241CC8 0023EC08 48 00 01 19 */ bl addJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 80241CCC 0023EC0C 7F C3 F3 78 */ mr r3, r30 -/* 80241CD0 0023EC10 7F E4 FB 78 */ mr r4, r31 -/* 80241CD4 0023EC14 48 00 00 61 */ bl addNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 80241CD8 0023EC18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80241CDC 0023EC1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80241CE0 0023EC20 83 C1 00 08 */ lwz r30, 8(r1) -/* 80241CE4 0023EC24 7C 08 03 A6 */ mtlr r0 -/* 80241CE8 0023EC28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80241CEC 0023EC2C 4E 80 00 20 */ blr - -.global delShadow__Q24Game9ShadowMgrFPQ24Game8Creature -delShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241CF0 0023EC30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80241CF4 0023EC34 7C 08 02 A6 */ mflr r0 -/* 80241CF8 0023EC38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80241CFC 0023EC3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80241D00 0023EC40 7C 9F 23 78 */ mr r31, r4 -/* 80241D04 0023EC44 93 C1 00 08 */ stw r30, 8(r1) -/* 80241D08 0023EC48 7C 7E 1B 78 */ mr r30, r3 -/* 80241D0C 0023EC4C 48 00 01 F9 */ bl delJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 80241D10 0023EC50 7F C3 F3 78 */ mr r3, r30 -/* 80241D14 0023EC54 7F E4 FB 78 */ mr r4, r31 -/* 80241D18 0023EC58 48 00 01 81 */ bl delNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 80241D1C 0023EC5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80241D20 0023EC60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80241D24 0023EC64 83 C1 00 08 */ lwz r30, 8(r1) -/* 80241D28 0023EC68 7C 08 03 A6 */ mtlr r0 -/* 80241D2C 0023EC6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80241D30 0023EC70 4E 80 00 20 */ blr - -.global addNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -addNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241D34 0023EC74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80241D38 0023EC78 7C 08 02 A6 */ mflr r0 -/* 80241D3C 0023EC7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80241D40 0023EC80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80241D44 0023EC84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80241D48 0023EC88 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80241D4C 0023EC8C 7C 7D 1B 78 */ mr r29, r3 -/* 80241D50 0023EC90 93 81 00 10 */ stw r28, 0x10(r1) -/* 80241D54 0023EC94 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80241D58 0023EC98 83 83 00 10 */ lwz r28, 0x10(r3) -/* 80241D5C 0023EC9C 48 00 00 5C */ b lbl_80241DB8 -lbl_80241D60: -/* 80241D60 0023ECA0 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 80241D64 0023ECA4 7C 04 00 40 */ cmplw r4, r0 -/* 80241D68 0023ECA8 40 82 00 4C */ bne lbl_80241DB4 -/* 80241D6C 0023ECAC 7F 83 E3 78 */ mr r3, r28 -/* 80241D70 0023ECB0 48 1C F8 61 */ bl del__5CNodeFv -/* 80241D74 0023ECB4 80 7D 00 20 */ lwz r3, 0x20(r29) -/* 80241D78 0023ECB8 7F 84 E3 78 */ mr r4, r28 -/* 80241D7C 0023ECBC 48 1C F6 8D */ bl add__5CNodeFP5CNode -/* 80241D80 0023ECC0 83 DD 00 18 */ lwz r30, 0x18(r29) -/* 80241D84 0023ECC4 3B E0 00 00 */ li r31, 0 -/* 80241D88 0023ECC8 7F FD FB 78 */ mr r29, r31 -/* 80241D8C 0023ECCC 93 FC 00 20 */ stw r31, 0x20(r28) -/* 80241D90 0023ECD0 48 00 00 18 */ b lbl_80241DA8 -lbl_80241D94: -/* 80241D94 0023ECD4 80 1C 00 1C */ lwz r0, 0x1c(r28) -/* 80241D98 0023ECD8 7C 60 EA 14 */ add r3, r0, r29 -/* 80241D9C 0023ECDC 4B EA 85 05 */ bl PSMTXIdentity -/* 80241DA0 0023ECE0 3B BD 00 30 */ addi r29, r29, 0x30 -/* 80241DA4 0023ECE4 3B FF 00 01 */ addi r31, r31, 1 -lbl_80241DA8: -/* 80241DA8 0023ECE8 7C 1F F0 00 */ cmpw r31, r30 -/* 80241DAC 0023ECEC 41 80 FF E8 */ blt lbl_80241D94 -/* 80241DB0 0023ECF0 48 00 00 10 */ b lbl_80241DC0 -lbl_80241DB4: -/* 80241DB4 0023ECF4 83 9C 00 04 */ lwz r28, 4(r28) -lbl_80241DB8: -/* 80241DB8 0023ECF8 28 1C 00 00 */ cmplwi r28, 0 -/* 80241DBC 0023ECFC 40 82 FF A4 */ bne lbl_80241D60 -lbl_80241DC0: -/* 80241DC0 0023ED00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80241DC4 0023ED04 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80241DC8 0023ED08 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80241DCC 0023ED0C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80241DD0 0023ED10 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80241DD4 0023ED14 7C 08 03 A6 */ mtlr r0 -/* 80241DD8 0023ED18 38 21 00 20 */ addi r1, r1, 0x20 -/* 80241DDC 0023ED1C 4E 80 00 20 */ blr - -.global addJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature -addJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241DE0 0023ED20 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80241DE4 0023ED24 7C 08 02 A6 */ mflr r0 -/* 80241DE8 0023ED28 90 01 00 34 */ stw r0, 0x34(r1) -/* 80241DEC 0023ED2C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80241DF0 0023ED30 7C 79 1B 78 */ mr r25, r3 -/* 80241DF4 0023ED34 7C 9A 23 78 */ mr r26, r4 -/* 80241DF8 0023ED38 80 63 00 38 */ lwz r3, 0x38(r3) -/* 80241DFC 0023ED3C 83 83 00 10 */ lwz r28, 0x10(r3) -/* 80241E00 0023ED40 48 00 00 7C */ b lbl_80241E7C -lbl_80241E04: -/* 80241E04 0023ED44 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 80241E08 0023ED48 83 7C 00 04 */ lwz r27, 4(r28) -/* 80241E0C 0023ED4C 7C 1A 00 40 */ cmplw r26, r0 -/* 80241E10 0023ED50 40 82 00 68 */ bne lbl_80241E78 -/* 80241E14 0023ED54 7F 83 E3 78 */ mr r3, r28 -/* 80241E18 0023ED58 48 1C F7 B9 */ bl del__5CNodeFv -/* 80241E1C 0023ED5C 80 79 00 34 */ lwz r3, 0x34(r25) -/* 80241E20 0023ED60 7F 84 E3 78 */ mr r4, r28 -/* 80241E24 0023ED64 48 1C F5 E5 */ bl add__5CNodeFP5CNode -/* 80241E28 0023ED68 83 D9 00 18 */ lwz r30, 0x18(r25) -/* 80241E2C 0023ED6C 38 00 00 00 */ li r0, 0 -/* 80241E30 0023ED70 98 1C 00 1C */ stb r0, 0x1c(r28) -/* 80241E34 0023ED74 83 FC 00 10 */ lwz r31, 0x10(r28) -/* 80241E38 0023ED78 48 00 00 38 */ b lbl_80241E70 -lbl_80241E3C: -/* 80241E3C 0023ED7C 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80241E40 0023ED80 4B EA 84 61 */ bl PSMTXIdentity -/* 80241E44 0023ED84 3B A0 00 00 */ li r29, 0 -/* 80241E48 0023ED88 7F BC EB 78 */ mr r28, r29 -/* 80241E4C 0023ED8C 48 00 00 18 */ b lbl_80241E64 -lbl_80241E50: -/* 80241E50 0023ED90 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80241E54 0023ED94 7C 60 E2 14 */ add r3, r0, r28 -/* 80241E58 0023ED98 4B EA 84 49 */ bl PSMTXIdentity -/* 80241E5C 0023ED9C 3B 9C 00 30 */ addi r28, r28, 0x30 -/* 80241E60 0023EDA0 3B BD 00 01 */ addi r29, r29, 1 -lbl_80241E64: -/* 80241E64 0023EDA4 7C 1D F0 00 */ cmpw r29, r30 -/* 80241E68 0023EDA8 41 80 FF E8 */ blt lbl_80241E50 -/* 80241E6C 0023EDAC 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80241E70: -/* 80241E70 0023EDB0 28 1F 00 00 */ cmplwi r31, 0 -/* 80241E74 0023EDB4 40 82 FF C8 */ bne lbl_80241E3C -lbl_80241E78: -/* 80241E78 0023EDB8 7F 7C DB 78 */ mr r28, r27 -lbl_80241E7C: -/* 80241E7C 0023EDBC 28 1C 00 00 */ cmplwi r28, 0 -/* 80241E80 0023EDC0 40 82 FF 84 */ bne lbl_80241E04 -/* 80241E84 0023EDC4 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80241E88 0023EDC8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80241E8C 0023EDCC 7C 08 03 A6 */ mtlr r0 -/* 80241E90 0023EDD0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80241E94 0023EDD4 4E 80 00 20 */ blr - -.global delNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -delNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241E98 0023EDD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80241E9C 0023EDDC 7C 08 02 A6 */ mflr r0 -/* 80241EA0 0023EDE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80241EA4 0023EDE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80241EA8 0023EDE8 93 C1 00 08 */ stw r30, 8(r1) -/* 80241EAC 0023EDEC 7C 7E 1B 78 */ mr r30, r3 -/* 80241EB0 0023EDF0 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80241EB4 0023EDF4 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80241EB8 0023EDF8 48 00 00 2C */ b lbl_80241EE4 -lbl_80241EBC: -/* 80241EBC 0023EDFC 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80241EC0 0023EE00 7C 04 00 40 */ cmplw r4, r0 -/* 80241EC4 0023EE04 40 82 00 1C */ bne lbl_80241EE0 -/* 80241EC8 0023EE08 7F E3 FB 78 */ mr r3, r31 -/* 80241ECC 0023EE0C 48 1C F7 05 */ bl del__5CNodeFv -/* 80241ED0 0023EE10 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80241ED4 0023EE14 7F E4 FB 78 */ mr r4, r31 -/* 80241ED8 0023EE18 48 1C F5 31 */ bl add__5CNodeFP5CNode -/* 80241EDC 0023EE1C 48 00 00 10 */ b lbl_80241EEC -lbl_80241EE0: -/* 80241EE0 0023EE20 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80241EE4: -/* 80241EE4 0023EE24 28 1F 00 00 */ cmplwi r31, 0 -/* 80241EE8 0023EE28 40 82 FF D4 */ bne lbl_80241EBC -lbl_80241EEC: -/* 80241EEC 0023EE2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80241EF0 0023EE30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80241EF4 0023EE34 83 C1 00 08 */ lwz r30, 8(r1) -/* 80241EF8 0023EE38 7C 08 03 A6 */ mtlr r0 -/* 80241EFC 0023EE3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80241F00 0023EE40 4E 80 00 20 */ blr - -.global delJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature -delJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241F04 0023EE44 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80241F08 0023EE48 7C 08 02 A6 */ mflr r0 -/* 80241F0C 0023EE4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80241F10 0023EE50 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80241F14 0023EE54 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80241F18 0023EE58 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80241F1C 0023EE5C 7C 9D 23 78 */ mr r29, r4 -/* 80241F20 0023EE60 93 81 00 10 */ stw r28, 0x10(r1) -/* 80241F24 0023EE64 7C 7C 1B 78 */ mr r28, r3 -/* 80241F28 0023EE68 80 63 00 34 */ lwz r3, 0x34(r3) -/* 80241F2C 0023EE6C 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 80241F30 0023EE70 48 00 00 2C */ b lbl_80241F5C -lbl_80241F34: -/* 80241F34 0023EE74 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80241F38 0023EE78 83 FE 00 04 */ lwz r31, 4(r30) -/* 80241F3C 0023EE7C 7C 1D 00 40 */ cmplw r29, r0 -/* 80241F40 0023EE80 40 82 00 18 */ bne lbl_80241F58 -/* 80241F44 0023EE84 7F C3 F3 78 */ mr r3, r30 -/* 80241F48 0023EE88 48 1C F6 89 */ bl del__5CNodeFv -/* 80241F4C 0023EE8C 80 7C 00 38 */ lwz r3, 0x38(r28) -/* 80241F50 0023EE90 7F C4 F3 78 */ mr r4, r30 -/* 80241F54 0023EE94 48 1C F4 B5 */ bl add__5CNodeFP5CNode -lbl_80241F58: -/* 80241F58 0023EE98 7F FE FB 78 */ mr r30, r31 -lbl_80241F5C: -/* 80241F5C 0023EE9C 28 1E 00 00 */ cmplwi r30, 0 -/* 80241F60 0023EEA0 40 82 FF D4 */ bne lbl_80241F34 -/* 80241F64 0023EEA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80241F68 0023EEA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80241F6C 0023EEAC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80241F70 0023EEB0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80241F74 0023EEB4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80241F78 0023EEB8 7C 08 03 A6 */ mtlr r0 -/* 80241F7C 0023EEBC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80241F80 0023EEC0 4E 80 00 20 */ blr - -.global killNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -killNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80241F84 0023EEC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80241F88 0023EEC8 7C 08 02 A6 */ mflr r0 -/* 80241F8C 0023EECC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80241F90 0023EED0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80241F94 0023EED4 3B E0 00 00 */ li r31, 0 -/* 80241F98 0023EED8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80241F9C 0023EEDC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80241FA0 0023EEE0 7C 9D 23 78 */ mr r29, r4 -/* 80241FA4 0023EEE4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80241FA8 0023EEE8 7C 7C 1B 78 */ mr r28, r3 -/* 80241FAC 0023EEEC 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80241FB0 0023EEF0 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 80241FB4 0023EEF4 48 00 00 20 */ b lbl_80241FD4 -lbl_80241FB8: -/* 80241FB8 0023EEF8 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80241FBC 0023EEFC 7C 1D 00 40 */ cmplw r29, r0 -/* 80241FC0 0023EF00 40 82 00 10 */ bne lbl_80241FD0 -/* 80241FC4 0023EF04 93 FE 00 18 */ stw r31, 0x18(r30) -/* 80241FC8 0023EF08 7F C3 F3 78 */ mr r3, r30 -/* 80241FCC 0023EF0C 48 1C F6 05 */ bl del__5CNodeFv -lbl_80241FD0: -/* 80241FD0 0023EF10 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80241FD4: -/* 80241FD4 0023EF14 28 1E 00 00 */ cmplwi r30, 0 -/* 80241FD8 0023EF18 40 82 FF E0 */ bne lbl_80241FB8 -/* 80241FDC 0023EF1C 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80241FE0 0023EF20 3B E0 00 00 */ li r31, 0 -/* 80241FE4 0023EF24 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 80241FE8 0023EF28 48 00 00 20 */ b lbl_80242008 -lbl_80241FEC: -/* 80241FEC 0023EF2C 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80241FF0 0023EF30 7C 1D 00 40 */ cmplw r29, r0 -/* 80241FF4 0023EF34 40 82 00 10 */ bne lbl_80242004 -/* 80241FF8 0023EF38 93 FE 00 18 */ stw r31, 0x18(r30) -/* 80241FFC 0023EF3C 7F C3 F3 78 */ mr r3, r30 -/* 80242000 0023EF40 48 1C F5 D1 */ bl del__5CNodeFv -lbl_80242004: -/* 80242004 0023EF44 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80242008: -/* 80242008 0023EF48 28 1E 00 00 */ cmplwi r30, 0 -/* 8024200C 0023EF4C 40 82 FF E0 */ bne lbl_80241FEC -/* 80242010 0023EF50 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80242014 0023EF54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80242018 0023EF58 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024201C 0023EF5C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80242020 0023EF60 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80242024 0023EF64 7C 08 03 A6 */ mtlr r0 -/* 80242028 0023EF68 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024202C 0023EF6C 4E 80 00 20 */ blr - -.global killJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature -killJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature: -/* 80242030 0023EF70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80242034 0023EF74 7C 08 02 A6 */ mflr r0 -/* 80242038 0023EF78 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024203C 0023EF7C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80242040 0023EF80 3B E0 00 00 */ li r31, 0 -/* 80242044 0023EF84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80242048 0023EF88 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024204C 0023EF8C 7C 9D 23 78 */ mr r29, r4 -/* 80242050 0023EF90 93 81 00 10 */ stw r28, 0x10(r1) -/* 80242054 0023EF94 7C 7C 1B 78 */ mr r28, r3 -/* 80242058 0023EF98 80 63 00 34 */ lwz r3, 0x34(r3) -/* 8024205C 0023EF9C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80242060 0023EFA0 48 00 00 20 */ b lbl_80242080 -lbl_80242064: -/* 80242064 0023EFA4 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80242068 0023EFA8 83 C3 00 04 */ lwz r30, 4(r3) -/* 8024206C 0023EFAC 7C 1D 00 40 */ cmplw r29, r0 -/* 80242070 0023EFB0 40 82 00 0C */ bne lbl_8024207C -/* 80242074 0023EFB4 93 E3 00 18 */ stw r31, 0x18(r3) -/* 80242078 0023EFB8 48 1C F5 59 */ bl del__5CNodeFv -lbl_8024207C: -/* 8024207C 0023EFBC 7F C3 F3 78 */ mr r3, r30 -lbl_80242080: -/* 80242080 0023EFC0 28 03 00 00 */ cmplwi r3, 0 -/* 80242084 0023EFC4 40 82 FF E0 */ bne lbl_80242064 -/* 80242088 0023EFC8 80 7C 00 38 */ lwz r3, 0x38(r28) -/* 8024208C 0023EFCC 3B E0 00 00 */ li r31, 0 -/* 80242090 0023EFD0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80242094 0023EFD4 48 00 00 20 */ b lbl_802420B4 -lbl_80242098: -/* 80242098 0023EFD8 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8024209C 0023EFDC 83 C3 00 04 */ lwz r30, 4(r3) -/* 802420A0 0023EFE0 7C 1D 00 40 */ cmplw r29, r0 -/* 802420A4 0023EFE4 40 82 00 0C */ bne lbl_802420B0 -/* 802420A8 0023EFE8 93 E3 00 18 */ stw r31, 0x18(r3) -/* 802420AC 0023EFEC 48 1C F5 25 */ bl del__5CNodeFv -lbl_802420B0: -/* 802420B0 0023EFF0 7F C3 F3 78 */ mr r3, r30 -lbl_802420B4: -/* 802420B4 0023EFF4 28 03 00 00 */ cmplwi r3, 0 -/* 802420B8 0023EFF8 40 82 FF E0 */ bne lbl_80242098 -/* 802420BC 0023EFFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802420C0 0023F000 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802420C4 0023F004 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802420C8 0023F008 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802420CC 0023F00C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802420D0 0023F010 7C 08 03 A6 */ mtlr r0 -/* 802420D4 0023F014 38 21 00 20 */ addi r1, r1, 0x20 -/* 802420D8 0023F018 4E 80 00 20 */ blr - -.global setJointShadowRootNode__Q24Game9ShadowMgrFPQ24Game19JointShadowRootNode -setJointShadowRootNode__Q24Game9ShadowMgrFPQ24Game19JointShadowRootNode: -/* 802420DC 0023F01C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802420E0 0023F020 7C 08 02 A6 */ mflr r0 -/* 802420E4 0023F024 90 01 00 14 */ stw r0, 0x14(r1) -/* 802420E8 0023F028 80 63 00 38 */ lwz r3, 0x38(r3) -/* 802420EC 0023F02C 48 1C F3 1D */ bl add__5CNodeFP5CNode -/* 802420F0 0023F030 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802420F4 0023F034 7C 08 03 A6 */ mtlr r0 -/* 802420F8 0023F038 38 21 00 10 */ addi r1, r1, 0x10 -/* 802420FC 0023F03C 4E 80 00 20 */ blr - -.global setForceVisible__Q24Game9ShadowMgrFPQ24Game8Creatureb -setForceVisible__Q24Game9ShadowMgrFPQ24Game8Creatureb: -/* 80242100 0023F040 80 C3 00 20 */ lwz r6, 0x20(r3) -/* 80242104 0023F044 80 C6 00 10 */ lwz r6, 0x10(r6) -/* 80242108 0023F048 48 00 00 3C */ b lbl_80242144 -lbl_8024210C: -/* 8024210C 0023F04C 80 06 00 18 */ lwz r0, 0x18(r6) -/* 80242110 0023F050 7C 04 00 40 */ cmplw r4, r0 -/* 80242114 0023F054 40 82 00 2C */ bne lbl_80242140 -/* 80242118 0023F058 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8024211C 0023F05C 41 82 00 14 */ beq lbl_80242130 -/* 80242120 0023F060 80 06 00 20 */ lwz r0, 0x20(r6) -/* 80242124 0023F064 64 00 10 00 */ oris r0, r0, 0x1000 -/* 80242128 0023F068 90 06 00 20 */ stw r0, 0x20(r6) -/* 8024212C 0023F06C 48 00 00 20 */ b lbl_8024214C -lbl_80242130: -/* 80242130 0023F070 80 06 00 20 */ lwz r0, 0x20(r6) -/* 80242134 0023F074 54 00 01 3E */ clrlwi r0, r0, 4 -/* 80242138 0023F078 90 06 00 20 */ stw r0, 0x20(r6) -/* 8024213C 0023F07C 48 00 00 10 */ b lbl_8024214C -lbl_80242140: -/* 80242140 0023F080 80 C6 00 04 */ lwz r6, 4(r6) -lbl_80242144: -/* 80242144 0023F084 28 06 00 00 */ cmplwi r6, 0 -/* 80242148 0023F088 40 82 FF C4 */ bne lbl_8024210C -lbl_8024214C: -/* 8024214C 0023F08C 80 C3 00 24 */ lwz r6, 0x24(r3) -/* 80242150 0023F090 80 C6 00 10 */ lwz r6, 0x10(r6) -/* 80242154 0023F094 48 00 00 3C */ b lbl_80242190 -lbl_80242158: -/* 80242158 0023F098 80 06 00 18 */ lwz r0, 0x18(r6) -/* 8024215C 0023F09C 7C 04 00 40 */ cmplw r4, r0 -/* 80242160 0023F0A0 40 82 00 2C */ bne lbl_8024218C -/* 80242164 0023F0A4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80242168 0023F0A8 41 82 00 14 */ beq lbl_8024217C -/* 8024216C 0023F0AC 80 06 00 20 */ lwz r0, 0x20(r6) -/* 80242170 0023F0B0 64 00 10 00 */ oris r0, r0, 0x1000 -/* 80242174 0023F0B4 90 06 00 20 */ stw r0, 0x20(r6) -/* 80242178 0023F0B8 48 00 00 20 */ b lbl_80242198 -lbl_8024217C: -/* 8024217C 0023F0BC 80 06 00 20 */ lwz r0, 0x20(r6) -/* 80242180 0023F0C0 54 00 01 3E */ clrlwi r0, r0, 4 -/* 80242184 0023F0C4 90 06 00 20 */ stw r0, 0x20(r6) -/* 80242188 0023F0C8 48 00 00 10 */ b lbl_80242198 -lbl_8024218C: -/* 8024218C 0023F0CC 80 C6 00 04 */ lwz r6, 4(r6) -lbl_80242190: -/* 80242190 0023F0D0 28 06 00 00 */ cmplwi r6, 0 -/* 80242194 0023F0D4 40 82 FF C4 */ bne lbl_80242158 -lbl_80242198: -/* 80242198 0023F0D8 80 C3 00 34 */ lwz r6, 0x34(r3) -/* 8024219C 0023F0DC 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 802421A0 0023F0E0 80 C6 00 10 */ lwz r6, 0x10(r6) -/* 802421A4 0023F0E4 48 00 00 18 */ b lbl_802421BC -lbl_802421A8: -/* 802421A8 0023F0E8 80 06 00 18 */ lwz r0, 0x18(r6) -/* 802421AC 0023F0EC 7C 04 00 40 */ cmplw r4, r0 -/* 802421B0 0023F0F0 40 82 00 08 */ bne lbl_802421B8 -/* 802421B4 0023F0F4 98 A6 00 1C */ stb r5, 0x1c(r6) -lbl_802421B8: -/* 802421B8 0023F0F8 80 C6 00 04 */ lwz r6, 4(r6) -lbl_802421BC: -/* 802421BC 0023F0FC 28 06 00 00 */ cmplwi r6, 0 -/* 802421C0 0023F100 40 82 FF E8 */ bne lbl_802421A8 -/* 802421C4 0023F104 80 63 00 38 */ lwz r3, 0x38(r3) -/* 802421C8 0023F108 80 63 00 10 */ lwz r3, 0x10(r3) -/* 802421CC 0023F10C 48 00 00 18 */ b lbl_802421E4 -lbl_802421D0: -/* 802421D0 0023F110 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802421D4 0023F114 7C 04 00 40 */ cmplw r4, r0 -/* 802421D8 0023F118 40 82 00 08 */ bne lbl_802421E0 -/* 802421DC 0023F11C 98 A3 00 1C */ stb r5, 0x1c(r3) -lbl_802421E0: -/* 802421E0 0023F120 80 63 00 04 */ lwz r3, 4(r3) -lbl_802421E4: -/* 802421E4 0023F124 28 03 00 00 */ cmplwi r3, 0 -/* 802421E8 0023F128 40 82 FF E8 */ bne lbl_802421D0 -/* 802421EC 0023F12C 4E 80 00 20 */ blr - -.global getSize__Q24Game9ShadowMgrFv -getSize__Q24Game9ShadowMgrFv: -/* 802421F0 0023F130 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802421F4 0023F134 7C 08 02 A6 */ mflr r0 -/* 802421F8 0023F138 90 01 00 14 */ stw r0, 0x14(r1) -/* 802421FC 0023F13C 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80242200 0023F140 81 83 00 00 */ lwz r12, 0(r3) -/* 80242204 0023F144 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80242208 0023F148 7D 89 03 A6 */ mtctr r12 -/* 8024220C 0023F14C 4E 80 04 21 */ bctrl -/* 80242210 0023F150 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242214 0023F154 7C 08 03 A6 */ mtlr r0 -/* 80242218 0023F158 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024221C 0023F15C 4E 80 00 20 */ blr - -.global getMax__Q24Game9ShadowMgrFv -getMax__Q24Game9ShadowMgrFv: -/* 80242220 0023F160 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80242224 0023F164 4E 80 00 20 */ blr - -.global getCreature__Q24Game9ShadowMgrFi -getCreature__Q24Game9ShadowMgrFi: -/* 80242228 0023F168 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024222C 0023F16C 7C 08 02 A6 */ mflr r0 -/* 80242230 0023F170 90 01 00 14 */ stw r0, 0x14(r1) -/* 80242234 0023F174 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80242238 0023F178 48 1C F4 65 */ bl getChildAt__5CNodeFi -/* 8024223C 0023F17C 28 03 00 00 */ cmplwi r3, 0 -/* 80242240 0023F180 41 82 00 0C */ beq lbl_8024224C -/* 80242244 0023F184 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80242248 0023F188 48 00 00 08 */ b lbl_80242250 -lbl_8024224C: -/* 8024224C 0023F18C 38 60 00 00 */ li r3, 0 -lbl_80242250: -/* 80242250 0023F190 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242254 0023F194 7C 08 03 A6 */ mtlr r0 -/* 80242258 0023F198 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024225C 0023F19C 4E 80 00 20 */ blr - -.global getFirst__Q24Game9ShadowMgrFv -getFirst__Q24Game9ShadowMgrFv: -/* 80242260 0023F1A0 38 60 00 00 */ li r3, 0 -/* 80242264 0023F1A4 4E 80 00 20 */ blr - -.global getNext__Q24Game9ShadowMgrFi -getNext__Q24Game9ShadowMgrFi: -/* 80242268 0023F1A8 38 64 00 01 */ addi r3, r4, 1 -/* 8024226C 0023F1AC 4E 80 00 20 */ blr - -.global isDone__Q24Game9ShadowMgrFi -isDone__Q24Game9ShadowMgrFi: -/* 80242270 0023F1B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242274 0023F1B4 7C 08 02 A6 */ mflr r0 -/* 80242278 0023F1B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024227C 0023F1BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80242280 0023F1C0 7C 9F 23 78 */ mr r31, r4 -/* 80242284 0023F1C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80242288 0023F1C8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8024228C 0023F1CC 7D 89 03 A6 */ mtctr r12 -/* 80242290 0023F1D0 4E 80 04 21 */ bctrl -/* 80242294 0023F1D4 7F E5 FE 70 */ srawi r5, r31, 0x1f -/* 80242298 0023F1D8 54 64 0F FE */ srwi r4, r3, 0x1f -/* 8024229C 0023F1DC 7C 03 F8 10 */ subfc r0, r3, r31 -/* 802422A0 0023F1E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802422A4 0023F1E4 7C 05 21 14 */ adde r0, r5, r4 -/* 802422A8 0023F1E8 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 802422AC 0023F1EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802422B0 0023F1F0 7C 08 03 A6 */ mtlr r0 -/* 802422B4 0023F1F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802422B8 0023F1F8 4E 80 00 20 */ blr - -.global getShadowMaskType__Q24Game9ShadowMgrFii -getShadowMaskType__Q24Game9ShadowMgrFii: -/* 802422BC 0023F1FC 2C 05 00 00 */ cmpwi r5, 0 -/* 802422C0 0023F200 40 82 00 0C */ bne lbl_802422CC -/* 802422C4 0023F204 7C 83 23 78 */ mr r3, r4 -/* 802422C8 0023F208 4E 80 00 20 */ blr -lbl_802422CC: -/* 802422CC 0023F20C 2C 05 00 01 */ cmpwi r5, 1 -/* 802422D0 0023F210 40 82 00 0C */ bne lbl_802422DC -/* 802422D4 0023F214 54 83 26 36 */ rlwinm r3, r4, 4, 0x18, 0x1b -/* 802422D8 0023F218 4E 80 00 20 */ blr -lbl_802422DC: -/* 802422DC 0023F21C 2C 05 00 02 */ cmpwi r5, 2 -/* 802422E0 0023F220 40 82 00 0C */ bne lbl_802422EC -/* 802422E4 0023F224 54 83 45 2E */ rlwinm r3, r4, 8, 0x14, 0x17 -/* 802422E8 0023F228 4E 80 00 20 */ blr -lbl_802422EC: -/* 802422EC 0023F22C 38 65 FF FD */ addi r3, r5, -3 -/* 802422F0 0023F230 20 05 00 03 */ subfic r0, r5, 3 -/* 802422F4 0023F234 7C 63 00 F8 */ nor r3, r3, r0 -/* 802422F8 0023F238 54 80 64 26 */ rlwinm r0, r4, 0xc, 0x10, 0x13 -/* 802422FC 0023F23C 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 80242300 0023F240 7C 03 18 38 */ and r3, r0, r3 -/* 80242304 0023F244 4E 80 00 20 */ blr - -.global getShadowType__Q24Game9ShadowMgrFii -getShadowType__Q24Game9ShadowMgrFii: -/* 80242308 0023F248 2C 05 00 00 */ cmpwi r5, 0 -/* 8024230C 0023F24C 40 82 00 0C */ bne lbl_80242318 -/* 80242310 0023F250 54 83 07 3E */ clrlwi r3, r4, 0x1c -/* 80242314 0023F254 4E 80 00 20 */ blr -lbl_80242318: -/* 80242318 0023F258 2C 05 00 01 */ cmpwi r5, 1 -/* 8024231C 0023F25C 40 82 00 0C */ bne lbl_80242328 -/* 80242320 0023F260 54 83 E7 3E */ rlwinm r3, r4, 0x1c, 0x1c, 0x1f -/* 80242324 0023F264 4E 80 00 20 */ blr -lbl_80242328: -/* 80242328 0023F268 2C 05 00 02 */ cmpwi r5, 2 -/* 8024232C 0023F26C 40 82 00 0C */ bne lbl_80242338 -/* 80242330 0023F270 54 83 C7 3E */ rlwinm r3, r4, 0x18, 0x1c, 0x1f -/* 80242334 0023F274 4E 80 00 20 */ blr -lbl_80242338: -/* 80242338 0023F278 38 65 FF FD */ addi r3, r5, -3 -/* 8024233C 0023F27C 20 05 00 03 */ subfic r0, r5, 3 -/* 80242340 0023F280 7C 63 00 F8 */ nor r3, r3, r0 -/* 80242344 0023F284 54 80 A7 3E */ rlwinm r0, r4, 0x14, 0x1c, 0x1f -/* 80242348 0023F288 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 8024234C 0023F28C 7C 03 18 38 */ and r3, r0, r3 -/* 80242350 0023F290 4E 80 00 20 */ blr - -.global isDrawNormalShadow__Q24Game9ShadowMgrFPQ24Game10ShadowNodei -isDrawNormalShadow__Q24Game9ShadowMgrFPQ24Game10ShadowNodei: -/* 80242354 0023F294 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242358 0023F298 7C 08 02 A6 */ mflr r0 -/* 8024235C 0023F29C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80242360 0023F2A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80242364 0023F2A4 7C BF 2B 78 */ mr r31, r5 -/* 80242368 0023F2A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8024236C 0023F2AC 7C 9E 23 78 */ mr r30, r4 -/* 80242370 0023F2B0 80 64 00 18 */ lwz r3, 0x18(r4) -/* 80242374 0023F2B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80242378 0023F2B8 81 8C 01 38 */ lwz r12, 0x138(r12) -/* 8024237C 0023F2BC 7D 89 03 A6 */ mtctr r12 -/* 80242380 0023F2C0 4E 80 04 21 */ bctrl -/* 80242384 0023F2C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80242388 0023F2C8 41 82 00 30 */ beq lbl_802423B8 -/* 8024238C 0023F2CC 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 80242390 0023F2D0 54 00 00 07 */ rlwinm. r0, r0, 0, 0, 3 -/* 80242394 0023F2D4 40 82 00 1C */ bne lbl_802423B0 -/* 80242398 0023F2D8 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8024239C 0023F2DC 38 00 00 10 */ li r0, 0x10 -/* 802423A0 0023F2E0 7C 00 F8 30 */ slw r0, r0, r31 -/* 802423A4 0023F2E4 88 63 00 D8 */ lbz r3, 0xd8(r3) -/* 802423A8 0023F2E8 7C 60 00 39 */ and. r0, r3, r0 -/* 802423AC 0023F2EC 41 82 00 0C */ beq lbl_802423B8 -lbl_802423B0: -/* 802423B0 0023F2F0 38 60 00 01 */ li r3, 1 -/* 802423B4 0023F2F4 48 00 00 08 */ b lbl_802423BC -lbl_802423B8: -/* 802423B8 0023F2F8 38 60 00 00 */ li r3, 0 -lbl_802423BC: -/* 802423BC 0023F2FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802423C0 0023F300 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802423C4 0023F304 83 C1 00 08 */ lwz r30, 8(r1) -/* 802423C8 0023F308 7C 08 03 A6 */ mtlr r0 -/* 802423CC 0023F30C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802423D0 0023F310 4E 80 00 20 */ blr - -.global isDrawJointShadow__Q24Game9ShadowMgrFPQ24Game19JointShadowRootNodei -isDrawJointShadow__Q24Game9ShadowMgrFPQ24Game19JointShadowRootNodei: -/* 802423D4 0023F314 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802423D8 0023F318 7C 08 02 A6 */ mflr r0 -/* 802423DC 0023F31C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802423E0 0023F320 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802423E4 0023F324 7C BF 2B 78 */ mr r31, r5 -/* 802423E8 0023F328 93 C1 00 08 */ stw r30, 8(r1) -/* 802423EC 0023F32C 7C 9E 23 78 */ mr r30, r4 -/* 802423F0 0023F330 80 64 00 18 */ lwz r3, 0x18(r4) -/* 802423F4 0023F334 81 83 00 00 */ lwz r12, 0(r3) -/* 802423F8 0023F338 81 8C 01 38 */ lwz r12, 0x138(r12) -/* 802423FC 0023F33C 7D 89 03 A6 */ mtctr r12 -/* 80242400 0023F340 4E 80 04 21 */ bctrl -/* 80242404 0023F344 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80242408 0023F348 41 82 00 30 */ beq lbl_80242438 -/* 8024240C 0023F34C 88 1E 00 1C */ lbz r0, 0x1c(r30) -/* 80242410 0023F350 28 00 00 00 */ cmplwi r0, 0 -/* 80242414 0023F354 40 82 00 1C */ bne lbl_80242430 -/* 80242418 0023F358 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8024241C 0023F35C 38 00 00 10 */ li r0, 0x10 -/* 80242420 0023F360 7C 00 F8 30 */ slw r0, r0, r31 -/* 80242424 0023F364 88 63 00 D8 */ lbz r3, 0xd8(r3) -/* 80242428 0023F368 7C 60 00 39 */ and. r0, r3, r0 -/* 8024242C 0023F36C 41 82 00 0C */ beq lbl_80242438 -lbl_80242430: -/* 80242430 0023F370 38 60 00 01 */ li r3, 1 -/* 80242434 0023F374 48 00 00 08 */ b lbl_8024243C -lbl_80242438: -/* 80242438 0023F378 38 60 00 00 */ li r3, 0 -lbl_8024243C: -/* 8024243C 0023F37C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242440 0023F380 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80242444 0023F384 83 C1 00 08 */ lwz r30, 8(r1) -/* 80242448 0023F388 7C 08 03 A6 */ mtlr r0 -/* 8024244C 0023F38C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80242450 0023F390 4E 80 00 20 */ blr - -.global readShadowParms__Q24Game9ShadowMgrFPc -readShadowParms__Q24Game9ShadowMgrFPc: -/* 80242454 0023F394 94 21 FB C0 */ stwu r1, -0x440(r1) -/* 80242458 0023F398 7C 08 02 A6 */ mflr r0 -/* 8024245C 0023F39C 38 A0 00 00 */ li r5, 0 -/* 80242460 0023F3A0 38 C0 00 00 */ li r6, 0 -/* 80242464 0023F3A4 90 01 04 44 */ stw r0, 0x444(r1) -/* 80242468 0023F3A8 38 00 00 00 */ li r0, 0 -/* 8024246C 0023F3AC 38 E0 00 00 */ li r7, 0 -/* 80242470 0023F3B0 39 00 00 02 */ li r8, 2 -/* 80242474 0023F3B4 93 E1 04 3C */ stw r31, 0x43c(r1) -/* 80242478 0023F3B8 39 20 00 00 */ li r9, 0 -/* 8024247C 0023F3BC 39 40 00 00 */ li r10, 0 -/* 80242480 0023F3C0 93 C1 04 38 */ stw r30, 0x438(r1) -/* 80242484 0023F3C4 7C 7E 1B 78 */ mr r30, r3 -/* 80242488 0023F3C8 7C 83 23 78 */ mr r3, r4 -/* 8024248C 0023F3CC 38 80 00 00 */ li r4, 0 -/* 80242490 0023F3D0 90 01 00 08 */ stw r0, 8(r1) -/* 80242494 0023F3D4 4B DD CC F5 */ bl loadToMainRAM__12JKRDvdRipperFPCcPUc15JKRExpandSwitchUlP7JKRHeapQ212JKRDvdRipper15EAllocDirectionUlPiPUl -/* 80242498 0023F3D8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024249C 0023F3DC 41 82 00 4C */ beq lbl_802424E8 -/* 802424A0 0023F3E0 7F E4 FB 78 */ mr r4, r31 -/* 802424A4 0023F3E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 802424A8 0023F3E8 38 A0 FF FF */ li r5, -1 -/* 802424AC 0023F3EC 48 1D 34 4D */ bl __ct__9RamStreamFPvi -/* 802424B0 0023F3F0 38 00 00 01 */ li r0, 1 -/* 802424B4 0023F3F4 2C 00 00 01 */ cmpwi r0, 1 -/* 802424B8 0023F3F8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802424BC 0023F3FC 40 82 00 0C */ bne lbl_802424C8 -/* 802424C0 0023F400 38 00 00 00 */ li r0, 0 -/* 802424C4 0023F404 90 01 04 24 */ stw r0, 0x424(r1) -lbl_802424C8: -/* 802424C8 0023F408 7F C3 F3 78 */ mr r3, r30 -/* 802424CC 0023F40C 38 81 00 10 */ addi r4, r1, 0x10 -/* 802424D0 0023F410 81 9E 00 00 */ lwz r12, 0(r30) -/* 802424D4 0023F414 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 802424D8 0023F418 7D 89 03 A6 */ mtctr r12 -/* 802424DC 0023F41C 4E 80 04 21 */ bctrl -/* 802424E0 0023F420 7F E3 FB 78 */ mr r3, r31 -/* 802424E4 0023F424 4B DE 1B F5 */ bl __dla__FPv -lbl_802424E8: -/* 802424E8 0023F428 80 01 04 44 */ lwz r0, 0x444(r1) -/* 802424EC 0023F42C 83 E1 04 3C */ lwz r31, 0x43c(r1) -/* 802424F0 0023F430 83 C1 04 38 */ lwz r30, 0x438(r1) -/* 802424F4 0023F434 7C 08 03 A6 */ mtlr r0 -/* 802424F8 0023F438 38 21 04 40 */ addi r1, r1, 0x440 -/* 802424FC 0023F43C 4E 80 00 20 */ blr - -.global write__Q24Game9ShadowMgrFR6Stream -write__Q24Game9ShadowMgrFR6Stream: -/* 80242500 0023F440 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242504 0023F444 7C 08 02 A6 */ mflr r0 -/* 80242508 0023F448 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024250C 0023F44C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80242510 0023F450 7C 9F 23 78 */ mr r31, r4 -/* 80242514 0023F454 93 C1 00 08 */ stw r30, 8(r1) -/* 80242518 0023F458 7C 7E 1B 78 */ mr r30, r3 -/* 8024251C 0023F45C 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 80242520 0023F460 7F E3 FB 78 */ mr r3, r31 -/* 80242524 0023F464 7C 04 07 34 */ extsh r4, r0 -/* 80242528 0023F468 48 1D 32 09 */ bl writeShort__6StreamFs -/* 8024252C 0023F46C 88 1E 00 3D */ lbz r0, 0x3d(r30) -/* 80242530 0023F470 7F E3 FB 78 */ mr r3, r31 -/* 80242534 0023F474 7C 04 07 34 */ extsh r4, r0 -/* 80242538 0023F478 48 1D 31 F9 */ bl writeShort__6StreamFs -/* 8024253C 0023F47C 80 9E 00 40 */ lwz r4, 0x40(r30) -/* 80242540 0023F480 7F E3 FB 78 */ mr r3, r31 -/* 80242544 0023F484 48 1D 32 7D */ bl writeInt__6StreamFi -/* 80242548 0023F488 80 9E 00 44 */ lwz r4, 0x44(r30) -/* 8024254C 0023F48C 7F E3 FB 78 */ mr r3, r31 -/* 80242550 0023F490 48 1D 32 71 */ bl writeInt__6StreamFi -/* 80242554 0023F494 7F E4 FB 78 */ mr r4, r31 -/* 80242558 0023F498 38 7E 00 48 */ addi r3, r30, 0x48 -/* 8024255C 0023F49C 48 1C F5 AD */ bl write__6Color4FR6Stream -/* 80242560 0023F4A0 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 80242564 0023F4A4 7F E4 FB 78 */ mr r4, r31 -/* 80242568 0023F4A8 48 1D 11 9D */ bl write__10ParametersFR6Stream -/* 8024256C 0023F4AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242570 0023F4B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80242574 0023F4B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80242578 0023F4B8 7C 08 03 A6 */ mtlr r0 -/* 8024257C 0023F4BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80242580 0023F4C0 4E 80 00 20 */ blr - -.global read__Q24Game9ShadowMgrFR6Stream -read__Q24Game9ShadowMgrFR6Stream: -/* 80242584 0023F4C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242588 0023F4C8 7C 08 02 A6 */ mflr r0 -/* 8024258C 0023F4CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80242590 0023F4D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80242594 0023F4D4 7C 9F 23 78 */ mr r31, r4 -/* 80242598 0023F4D8 93 C1 00 08 */ stw r30, 8(r1) -/* 8024259C 0023F4DC 7C 7E 1B 78 */ mr r30, r3 -/* 802425A0 0023F4E0 7F E3 FB 78 */ mr r3, r31 -/* 802425A4 0023F4E4 48 1D 21 C1 */ bl readShort__6StreamFv -/* 802425A8 0023F4E8 98 7E 00 3C */ stb r3, 0x3c(r30) -/* 802425AC 0023F4EC 7F E3 FB 78 */ mr r3, r31 -/* 802425B0 0023F4F0 48 1D 21 B5 */ bl readShort__6StreamFv -/* 802425B4 0023F4F4 98 7E 00 3D */ stb r3, 0x3d(r30) -/* 802425B8 0023F4F8 7F E3 FB 78 */ mr r3, r31 -/* 802425BC 0023F4FC 48 1D 24 D5 */ bl readInt__6StreamFv -/* 802425C0 0023F500 90 7E 00 40 */ stw r3, 0x40(r30) -/* 802425C4 0023F504 7F E3 FB 78 */ mr r3, r31 -/* 802425C8 0023F508 48 1D 24 C9 */ bl readInt__6StreamFv -/* 802425CC 0023F50C 90 7E 00 44 */ stw r3, 0x44(r30) -/* 802425D0 0023F510 7F E4 FB 78 */ mr r4, r31 -/* 802425D4 0023F514 38 7E 00 48 */ addi r3, r30, 0x48 -/* 802425D8 0023F518 48 1C F5 95 */ bl read__6Color4FR6Stream -/* 802425DC 0023F51C 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 802425E0 0023F520 7F E4 FB 78 */ mr r4, r31 -/* 802425E4 0023F524 48 1D 12 11 */ bl read__10ParametersFR6Stream -/* 802425E8 0023F528 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802425EC 0023F52C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802425F0 0023F530 83 C1 00 08 */ lwz r30, 8(r1) -/* 802425F4 0023F534 7C 08 03 A6 */ mtlr r0 -/* 802425F8 0023F538 38 21 00 10 */ addi r1, r1, 0x10 -/* 802425FC 0023F53C 4E 80 00 20 */ blr - -.global __dt__Q24Game9ShadowMgrFv -__dt__Q24Game9ShadowMgrFv: -/* 80242600 0023F540 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242604 0023F544 7C 08 02 A6 */ mflr r0 -/* 80242608 0023F548 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024260C 0023F54C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80242610 0023F550 7C 9F 23 78 */ mr r31, r4 -/* 80242614 0023F554 93 C1 00 08 */ stw r30, 8(r1) -/* 80242618 0023F558 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024261C 0023F55C 41 82 00 28 */ beq lbl_80242644 -/* 80242620 0023F560 3C A0 80 4C */ lis r5, __vt__Q24Game9ShadowMgr@ha -/* 80242624 0023F564 38 80 00 00 */ li r4, 0 -/* 80242628 0023F568 38 05 19 F4 */ addi r0, r5, __vt__Q24Game9ShadowMgr@l -/* 8024262C 0023F56C 90 1E 00 00 */ stw r0, 0(r30) -/* 80242630 0023F570 48 1C EF 59 */ bl __dt__5CNodeFv -/* 80242634 0023F574 7F E0 07 35 */ extsh. r0, r31 -/* 80242638 0023F578 40 81 00 0C */ ble lbl_80242644 -/* 8024263C 0023F57C 7F C3 F3 78 */ mr r3, r30 -/* 80242640 0023F580 4B DE 1A 75 */ bl __dl__FPv -lbl_80242644: -/* 80242644 0023F584 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242648 0023F588 7F C3 F3 78 */ mr r3, r30 -/* 8024264C 0023F58C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80242650 0023F590 83 C1 00 08 */ lwz r30, 8(r1) -/* 80242654 0023F594 7C 08 03 A6 */ mtlr r0 -/* 80242658 0023F598 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024265C 0023F59C 4E 80 00 20 */ blr - -.global __dt__Q24Game10ShadowNodeFv -__dt__Q24Game10ShadowNodeFv: -/* 80242660 0023F5A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242664 0023F5A4 7C 08 02 A6 */ mflr r0 -/* 80242668 0023F5A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024266C 0023F5AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80242670 0023F5B0 7C 9F 23 78 */ mr r31, r4 -/* 80242674 0023F5B4 93 C1 00 08 */ stw r30, 8(r1) -/* 80242678 0023F5B8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024267C 0023F5BC 41 82 00 28 */ beq lbl_802426A4 -/* 80242680 0023F5C0 3C A0 80 4C */ lis r5, __vt__Q24Game10ShadowNode@ha -/* 80242684 0023F5C4 38 80 00 00 */ li r4, 0 -/* 80242688 0023F5C8 38 05 1A 24 */ addi r0, r5, __vt__Q24Game10ShadowNode@l -/* 8024268C 0023F5CC 90 1E 00 00 */ stw r0, 0(r30) -/* 80242690 0023F5D0 48 1C EE F9 */ bl __dt__5CNodeFv -/* 80242694 0023F5D4 7F E0 07 35 */ extsh. r0, r31 -/* 80242698 0023F5D8 40 81 00 0C */ ble lbl_802426A4 -/* 8024269C 0023F5DC 7F C3 F3 78 */ mr r3, r30 -/* 802426A0 0023F5E0 4B DE 1A 15 */ bl __dl__FPv -lbl_802426A4: -/* 802426A4 0023F5E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802426A8 0023F5E8 7F C3 F3 78 */ mr r3, r30 -/* 802426AC 0023F5EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802426B0 0023F5F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802426B4 0023F5F4 7C 08 03 A6 */ mtlr r0 -/* 802426B8 0023F5F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802426BC 0023F5FC 4E 80 00 20 */ blr - -.global __dt__Q24Game15JointShadowNodeFv -__dt__Q24Game15JointShadowNodeFv: -/* 802426C0 0023F600 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802426C4 0023F604 7C 08 02 A6 */ mflr r0 -/* 802426C8 0023F608 90 01 00 14 */ stw r0, 0x14(r1) -/* 802426CC 0023F60C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802426D0 0023F610 7C 9F 23 78 */ mr r31, r4 -/* 802426D4 0023F614 93 C1 00 08 */ stw r30, 8(r1) -/* 802426D8 0023F618 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802426DC 0023F61C 41 82 00 28 */ beq lbl_80242704 -/* 802426E0 0023F620 3C A0 80 4C */ lis r5, __vt__Q24Game15JointShadowNode@ha -/* 802426E4 0023F624 38 80 00 00 */ li r4, 0 -/* 802426E8 0023F628 38 05 1A 34 */ addi r0, r5, __vt__Q24Game15JointShadowNode@l -/* 802426EC 0023F62C 90 1E 00 00 */ stw r0, 0(r30) -/* 802426F0 0023F630 48 1C EE 99 */ bl __dt__5CNodeFv -/* 802426F4 0023F634 7F E0 07 35 */ extsh. r0, r31 -/* 802426F8 0023F638 40 81 00 0C */ ble lbl_80242704 -/* 802426FC 0023F63C 7F C3 F3 78 */ mr r3, r30 -/* 80242700 0023F640 4B DE 19 B5 */ bl __dl__FPv -lbl_80242704: -/* 80242704 0023F644 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242708 0023F648 7F C3 F3 78 */ mr r3, r30 -/* 8024270C 0023F64C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80242710 0023F650 83 C1 00 08 */ lwz r30, 8(r1) -/* 80242714 0023F654 7C 08 03 A6 */ mtlr r0 -/* 80242718 0023F658 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024271C 0023F65C 4E 80 00 20 */ blr - -.global __dt__Q24Game19JointShadowRootNodeFv -__dt__Q24Game19JointShadowRootNodeFv: -/* 80242720 0023F660 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242724 0023F664 7C 08 02 A6 */ mflr r0 -/* 80242728 0023F668 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024272C 0023F66C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80242730 0023F670 7C 9F 23 78 */ mr r31, r4 -/* 80242734 0023F674 93 C1 00 08 */ stw r30, 8(r1) -/* 80242738 0023F678 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024273C 0023F67C 41 82 00 28 */ beq lbl_80242764 -/* 80242740 0023F680 3C A0 80 4C */ lis r5, __vt__Q24Game19JointShadowRootNode@ha -/* 80242744 0023F684 38 80 00 00 */ li r4, 0 -/* 80242748 0023F688 38 05 1A 44 */ addi r0, r5, __vt__Q24Game19JointShadowRootNode@l -/* 8024274C 0023F68C 90 1E 00 00 */ stw r0, 0(r30) -/* 80242750 0023F690 48 1C EE 39 */ bl __dt__5CNodeFv -/* 80242754 0023F694 7F E0 07 35 */ extsh. r0, r31 -/* 80242758 0023F698 40 81 00 0C */ ble lbl_80242764 -/* 8024275C 0023F69C 7F C3 F3 78 */ mr r3, r30 -/* 80242760 0023F6A0 4B DE 19 55 */ bl __dl__FPv -lbl_80242764: -/* 80242764 0023F6A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242768 0023F6A8 7F C3 F3 78 */ mr r3, r30 -/* 8024276C 0023F6AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80242770 0023F6B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80242774 0023F6B4 7C 08 03 A6 */ mtlr r0 -/* 80242778 0023F6B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024277C 0023F6BC 4E 80 00 20 */ blr - -.global __sinit_shadowMgr_cpp -__sinit_shadowMgr_cpp: -/* 80242780 0023F6C0 3C 80 80 51 */ lis r4, __float_nan@ha -/* 80242784 0023F6C4 38 00 FF FF */ li r0, -1 -/* 80242788 0023F6C8 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 8024278C 0023F6CC 3C 60 80 4C */ lis r3, lbl_804C19E8@ha -/* 80242790 0023F6D0 90 0D 96 78 */ stw r0, lbl_80515CF8@sda21(r13) -/* 80242794 0023F6D4 D4 03 19 E8 */ stfsu f0, lbl_804C19E8@l(r3) -/* 80242798 0023F6D8 D0 0D 96 7C */ stfs f0, lbl_80515CFC@sda21(r13) -/* 8024279C 0023F6DC D0 03 00 04 */ stfs f0, 4(r3) -/* 802427A0 0023F6E0 D0 03 00 08 */ stfs f0, 8(r3) -/* 802427A4 0023F6E4 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave8MapUnitsFP10JUTTexture -__ct__Q34Game4Cave8MapUnitsFP10JUTTexture: -/* 802427A8 0023F6E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802427AC 0023F6EC 7C 08 02 A6 */ mflr r0 -/* 802427B0 0023F6F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802427B4 0023F6F4 38 00 FF FF */ li r0, -1 -/* 802427B8 0023F6F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802427BC 0023F6FC 7C 7F 1B 78 */ mr r31, r3 -/* 802427C0 0023F700 38 60 00 00 */ li r3, 0 -/* 802427C4 0023F704 90 9F 00 08 */ stw r4, 8(r31) -/* 802427C8 0023F708 90 7F 00 0C */ stw r3, 0xc(r31) -/* 802427CC 0023F70C 90 7F 00 10 */ stw r3, 0x10(r31) -/* 802427D0 0023F710 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802427D4 0023F714 90 1F 00 18 */ stw r0, 0x18(r31) -/* 802427D8 0023F718 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 802427DC 0023F71C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 802427E0 0023F720 80 7F 00 08 */ lwz r3, 8(r31) -/* 802427E4 0023F724 28 03 00 00 */ cmplwi r3, 0 -/* 802427E8 0023F728 41 82 00 28 */ beq lbl_80242810 -/* 802427EC 0023F72C 80 63 00 20 */ lwz r3, 0x20(r3) -/* 802427F0 0023F730 A0 03 00 02 */ lhz r0, 2(r3) -/* 802427F4 0023F734 54 00 E8 FE */ srwi r0, r0, 3 -/* 802427F8 0023F738 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 802427FC 0023F73C 80 7F 00 08 */ lwz r3, 8(r31) -/* 80242800 0023F740 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80242804 0023F744 A0 03 00 04 */ lhz r0, 4(r3) -/* 80242808 0023F748 54 00 E8 FE */ srwi r0, r0, 3 -/* 8024280C 0023F74C 90 1F 00 20 */ stw r0, 0x20(r31) -lbl_80242810: -/* 80242810 0023F750 38 60 00 20 */ li r3, 0x20 -/* 80242814 0023F754 4B DE 16 91 */ bl __nw__FUl -/* 80242818 0023F758 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024281C 0023F75C 41 82 00 0C */ beq lbl_80242828 -/* 80242820 0023F760 48 00 91 09 */ bl __ct__Q34Game4Cave8DoorNodeFv -/* 80242824 0023F764 7C 60 1B 78 */ mr r0, r3 -lbl_80242828: -/* 80242828 0023F768 90 1F 00 00 */ stw r0, 0(r31) -/* 8024282C 0023F76C 38 00 00 00 */ li r0, 0 -/* 80242830 0023F770 7F E3 FB 78 */ mr r3, r31 -/* 80242834 0023F774 90 1F 00 04 */ stw r0, 4(r31) -/* 80242838 0023F778 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024283C 0023F77C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242840 0023F780 7C 08 03 A6 */ mtlr r0 -/* 80242844 0023F784 38 21 00 10 */ addi r1, r1, 0x10 -/* 80242848 0023F788 4E 80 00 20 */ blr - -.global setDoorNum__Q34Game4Cave8MapUnitsFi -setDoorNum__Q34Game4Cave8MapUnitsFi: -/* 8024284C 0023F78C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242850 0023F790 7C 08 02 A6 */ mflr r0 -/* 80242854 0023F794 90 01 00 14 */ stw r0, 0x14(r1) -/* 80242858 0023F798 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024285C 0023F79C 7C 9F 23 78 */ mr r31, r4 -/* 80242860 0023F7A0 93 C1 00 08 */ stw r30, 8(r1) -/* 80242864 0023F7A4 7C 7E 1B 78 */ mr r30, r3 -/* 80242868 0023F7A8 1C 7F 00 1C */ mulli r3, r31, 0x1c -/* 8024286C 0023F7AC 38 63 00 10 */ addi r3, r3, 0x10 -/* 80242870 0023F7B0 4B DE 17 3D */ bl __nwa__FUl -/* 80242874 0023F7B4 3C 80 80 25 */ lis r4, __ct__Q34Game4Cave10AdjustNodeFv@ha -/* 80242878 0023F7B8 3C A0 80 24 */ lis r5, __dt__Q34Game4Cave10AdjustNodeFv@ha -/* 8024287C 0023F7BC 38 84 B8 88 */ addi r4, r4, __ct__Q34Game4Cave10AdjustNodeFv@l -/* 80242880 0023F7C0 7F E7 FB 78 */ mr r7, r31 -/* 80242884 0023F7C4 38 A5 28 AC */ addi r5, r5, __dt__Q34Game4Cave10AdjustNodeFv@l -/* 80242888 0023F7C8 38 C0 00 1C */ li r6, 0x1c -/* 8024288C 0023F7CC 4B E7 F1 65 */ bl __construct_new_array -/* 80242890 0023F7D0 90 7E 00 04 */ stw r3, 4(r30) -/* 80242894 0023F7D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242898 0023F7D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024289C 0023F7DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802428A0 0023F7E0 7C 08 03 A6 */ mtlr r0 -/* 802428A4 0023F7E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802428A8 0023F7E8 4E 80 00 20 */ blr - -.global __dt__Q34Game4Cave10AdjustNodeFv -__dt__Q34Game4Cave10AdjustNodeFv: -/* 802428AC 0023F7EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802428B0 0023F7F0 7C 08 02 A6 */ mflr r0 -/* 802428B4 0023F7F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802428B8 0023F7F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802428BC 0023F7FC 7C 9F 23 78 */ mr r31, r4 -/* 802428C0 0023F800 93 C1 00 08 */ stw r30, 8(r1) -/* 802428C4 0023F804 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802428C8 0023F808 41 82 00 28 */ beq lbl_802428F0 -/* 802428CC 0023F80C 3C A0 80 4C */ lis r5, __vt__Q34Game4Cave10AdjustNode@ha -/* 802428D0 0023F810 38 80 00 00 */ li r4, 0 -/* 802428D4 0023F814 38 05 1A 58 */ addi r0, r5, __vt__Q34Game4Cave10AdjustNode@l -/* 802428D8 0023F818 90 1E 00 00 */ stw r0, 0(r30) -/* 802428DC 0023F81C 48 1C EC AD */ bl __dt__5CNodeFv -/* 802428E0 0023F820 7F E0 07 35 */ extsh. r0, r31 -/* 802428E4 0023F824 40 81 00 0C */ ble lbl_802428F0 -/* 802428E8 0023F828 7F C3 F3 78 */ mr r3, r30 -/* 802428EC 0023F82C 4B DE 17 C9 */ bl __dl__FPv -lbl_802428F0: -/* 802428F0 0023F830 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802428F4 0023F834 7F C3 F3 78 */ mr r3, r30 -/* 802428F8 0023F838 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802428FC 0023F83C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80242900 0023F840 7C 08 03 A6 */ mtlr r0 -/* 80242904 0023F844 38 21 00 10 */ addi r1, r1, 0x10 -/* 80242908 0023F848 4E 80 00 20 */ blr - -.global setUnitName__Q34Game4Cave8MapUnitsFPc -setUnitName__Q34Game4Cave8MapUnitsFPc: -/* 8024290C 0023F84C 90 83 00 10 */ stw r4, 0x10(r3) -/* 80242910 0023F850 4E 80 00 20 */ blr - -.global setUnitIndex__Q34Game4Cave8MapUnitsFi -setUnitIndex__Q34Game4Cave8MapUnitsFi: -/* 80242914 0023F854 90 83 00 14 */ stw r4, 0x14(r3) -/* 80242918 0023F858 4E 80 00 20 */ blr - -.global setUnitKind__Q34Game4Cave8MapUnitsFi -setUnitKind__Q34Game4Cave8MapUnitsFi: -/* 8024291C 0023F85C 90 83 00 18 */ stw r4, 0x18(r3) -/* 80242920 0023F860 4E 80 00 20 */ blr - -.global setUnitSize__Q34Game4Cave8MapUnitsFii -setUnitSize__Q34Game4Cave8MapUnitsFii: -/* 80242924 0023F864 90 83 00 1C */ stw r4, 0x1c(r3) -/* 80242928 0023F868 90 A3 00 20 */ stw r5, 0x20(r3) -/* 8024292C 0023F86C 4E 80 00 20 */ blr - -.global setBaseGenPtr__Q34Game4Cave8MapUnitsFPQ34Game4Cave7BaseGen -setBaseGenPtr__Q34Game4Cave8MapUnitsFPQ34Game4Cave7BaseGen: -/* 80242930 0023F870 90 83 00 0C */ stw r4, 0xc(r3) -/* 80242934 0023F874 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave8UnitInfoFPQ34Game4Cave8MapUnits -__ct__Q34Game4Cave8UnitInfoFPQ34Game4Cave8MapUnits: -/* 80242938 0023F878 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024293C 0023F87C 7C 08 02 A6 */ mflr r0 -/* 80242940 0023F880 90 01 00 14 */ stw r0, 0x14(r1) -/* 80242944 0023F884 38 00 FF FF */ li r0, -1 -/* 80242948 0023F888 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024294C 0023F88C 7C 7F 1B 78 */ mr r31, r3 -/* 80242950 0023F890 90 83 00 08 */ stw r4, 8(r3) -/* 80242954 0023F894 38 60 00 20 */ li r3, 0x20 -/* 80242958 0023F898 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8024295C 0023F89C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80242960 0023F8A0 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80242964 0023F8A4 4B DE 15 41 */ bl __nw__FUl -/* 80242968 0023F8A8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024296C 0023F8AC 41 82 00 0C */ beq lbl_80242978 -/* 80242970 0023F8B0 48 00 8F B9 */ bl __ct__Q34Game4Cave8DoorNodeFv -/* 80242974 0023F8B4 7C 60 1B 78 */ mr r0, r3 -lbl_80242978: -/* 80242978 0023F8B8 90 1F 00 00 */ stw r0, 0(r31) -/* 8024297C 0023F8BC 38 00 00 00 */ li r0, 0 -/* 80242980 0023F8C0 7F E3 FB 78 */ mr r3, r31 -/* 80242984 0023F8C4 90 1F 00 04 */ stw r0, 4(r31) -/* 80242988 0023F8C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024298C 0023F8CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242990 0023F8D0 7C 08 03 A6 */ mtlr r0 -/* 80242994 0023F8D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80242998 0023F8D8 4E 80 00 20 */ blr - -.global setUnitTexture__Q34Game4Cave8UnitInfoFP10JUTTexture -setUnitTexture__Q34Game4Cave8UnitInfoFP10JUTTexture: -/* 8024299C 0023F8DC 80 63 00 08 */ lwz r3, 8(r3) -/* 802429A0 0023F8E0 90 83 00 08 */ stw r4, 8(r3) -/* 802429A4 0023F8E4 4E 80 00 20 */ blr - -.global setUnitRotation__Q34Game4Cave8UnitInfoFi -setUnitRotation__Q34Game4Cave8UnitInfoFi: -/* 802429A8 0023F8E8 90 83 00 0C */ stw r4, 0xc(r3) -/* 802429AC 0023F8EC 4E 80 00 20 */ blr - -.global create__Q34Game4Cave8UnitInfoFv -create__Q34Game4Cave8UnitInfoFv: -/* 802429B0 0023F8F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802429B4 0023F8F4 7C 08 02 A6 */ mflr r0 -/* 802429B8 0023F8F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802429BC 0023F8FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802429C0 0023F900 7C 7F 1B 78 */ mr r31, r3 -/* 802429C4 0023F904 93 C1 00 08 */ stw r30, 8(r1) -/* 802429C8 0023F908 80 63 00 08 */ lwz r3, 8(r3) -/* 802429CC 0023F90C 80 63 00 00 */ lwz r3, 0(r3) -/* 802429D0 0023F910 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 802429D4 0023F914 48 00 00 38 */ b lbl_80242A0C -lbl_802429D8: -/* 802429D8 0023F918 38 60 00 20 */ li r3, 0x20 -/* 802429DC 0023F91C 4B DE 14 C9 */ bl __nw__FUl -/* 802429E0 0023F920 7C 64 1B 79 */ or. r4, r3, r3 -/* 802429E4 0023F924 41 82 00 0C */ beq lbl_802429F0 -/* 802429E8 0023F928 48 00 8F 41 */ bl __ct__Q34Game4Cave8DoorNodeFv -/* 802429EC 0023F92C 7C 64 1B 78 */ mr r4, r3 -lbl_802429F0: -/* 802429F0 0023F930 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 802429F4 0023F934 90 04 00 18 */ stw r0, 0x18(r4) -/* 802429F8 0023F938 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 802429FC 0023F93C 90 04 00 1C */ stw r0, 0x1c(r4) -/* 80242A00 0023F940 80 7F 00 00 */ lwz r3, 0(r31) -/* 80242A04 0023F944 48 1C EA 05 */ bl add__5CNodeFP5CNode -/* 80242A08 0023F948 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80242A0C: -/* 80242A0C 0023F94C 28 1E 00 00 */ cmplwi r30, 0 -/* 80242A10 0023F950 40 82 FF C8 */ bne lbl_802429D8 -/* 80242A14 0023F954 80 7F 00 08 */ lwz r3, 8(r31) -/* 80242A18 0023F958 80 03 00 04 */ lwz r0, 4(r3) -/* 80242A1C 0023F95C 90 1F 00 04 */ stw r0, 4(r31) -/* 80242A20 0023F960 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80242A24 0023F964 2C 00 00 00 */ cmpwi r0, 0 -/* 80242A28 0023F968 41 82 00 0C */ beq lbl_80242A34 -/* 80242A2C 0023F96C 2C 00 00 02 */ cmpwi r0, 2 -/* 80242A30 0023F970 40 82 00 20 */ bne lbl_80242A50 -lbl_80242A34: -/* 80242A34 0023F974 80 7F 00 08 */ lwz r3, 8(r31) -/* 80242A38 0023F978 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80242A3C 0023F97C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80242A40 0023F980 80 7F 00 08 */ lwz r3, 8(r31) -/* 80242A44 0023F984 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80242A48 0023F988 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80242A4C 0023F98C 48 00 00 1C */ b lbl_80242A68 -lbl_80242A50: -/* 80242A50 0023F990 80 7F 00 08 */ lwz r3, 8(r31) -/* 80242A54 0023F994 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80242A58 0023F998 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80242A5C 0023F99C 80 7F 00 08 */ lwz r3, 8(r31) -/* 80242A60 0023F9A0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80242A64 0023F9A4 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_80242A68: -/* 80242A68 0023F9A8 80 9F 00 08 */ lwz r4, 8(r31) -/* 80242A6C 0023F9AC 80 7F 00 00 */ lwz r3, 0(r31) -/* 80242A70 0023F9B0 80 A4 00 1C */ lwz r5, 0x1c(r4) -/* 80242A74 0023F9B4 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80242A78 0023F9B8 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 80242A7C 0023F9BC 38 A5 FF FF */ addi r5, r5, -1 -/* 80242A80 0023F9C0 38 84 FF FF */ addi r4, r4, -1 -/* 80242A84 0023F9C4 48 00 00 C8 */ b lbl_80242B4C -lbl_80242A88: -/* 80242A88 0023F9C8 80 E6 00 18 */ lwz r7, 0x18(r6) -/* 80242A8C 0023F9CC 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80242A90 0023F9D0 2C 07 00 00 */ cmpwi r7, 0 -/* 80242A94 0023F9D4 7C 67 02 14 */ add r3, r7, r0 -/* 80242A98 0023F9D8 54 60 F0 02 */ slwi r0, r3, 0x1e -/* 80242A9C 0023F9DC 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80242AA0 0023F9E0 7C 03 00 50 */ subf r0, r3, r0 -/* 80242AA4 0023F9E4 54 00 10 3E */ rotlwi r0, r0, 2 -/* 80242AA8 0023F9E8 7C 00 1A 14 */ add r0, r0, r3 -/* 80242AAC 0023F9EC 90 06 00 18 */ stw r0, 0x18(r6) -/* 80242AB0 0023F9F0 40 82 00 24 */ bne lbl_80242AD4 -/* 80242AB4 0023F9F4 2C 00 00 02 */ cmpwi r0, 2 -/* 80242AB8 0023F9F8 41 82 00 0C */ beq lbl_80242AC4 -/* 80242ABC 0023F9FC 2C 00 00 03 */ cmpwi r0, 3 -/* 80242AC0 0023FA00 40 82 00 88 */ bne lbl_80242B48 -lbl_80242AC4: -/* 80242AC4 0023FA04 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 80242AC8 0023FA08 7C 00 28 50 */ subf r0, r0, r5 -/* 80242ACC 0023FA0C 90 06 00 1C */ stw r0, 0x1c(r6) -/* 80242AD0 0023FA10 48 00 00 78 */ b lbl_80242B48 -lbl_80242AD4: -/* 80242AD4 0023FA14 2C 07 00 01 */ cmpwi r7, 1 -/* 80242AD8 0023FA18 40 82 00 24 */ bne lbl_80242AFC -/* 80242ADC 0023FA1C 2C 00 00 02 */ cmpwi r0, 2 -/* 80242AE0 0023FA20 41 82 00 0C */ beq lbl_80242AEC -/* 80242AE4 0023FA24 2C 00 00 03 */ cmpwi r0, 3 -/* 80242AE8 0023FA28 40 82 00 60 */ bne lbl_80242B48 -lbl_80242AEC: -/* 80242AEC 0023FA2C 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 80242AF0 0023FA30 7C 00 20 50 */ subf r0, r0, r4 -/* 80242AF4 0023FA34 90 06 00 1C */ stw r0, 0x1c(r6) -/* 80242AF8 0023FA38 48 00 00 50 */ b lbl_80242B48 -lbl_80242AFC: -/* 80242AFC 0023FA3C 2C 07 00 02 */ cmpwi r7, 2 -/* 80242B00 0023FA40 40 82 00 24 */ bne lbl_80242B24 -/* 80242B04 0023FA44 2C 00 00 00 */ cmpwi r0, 0 -/* 80242B08 0023FA48 41 82 00 0C */ beq lbl_80242B14 -/* 80242B0C 0023FA4C 2C 00 00 01 */ cmpwi r0, 1 -/* 80242B10 0023FA50 40 82 00 38 */ bne lbl_80242B48 -lbl_80242B14: -/* 80242B14 0023FA54 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 80242B18 0023FA58 7C 00 28 50 */ subf r0, r0, r5 -/* 80242B1C 0023FA5C 90 06 00 1C */ stw r0, 0x1c(r6) -/* 80242B20 0023FA60 48 00 00 28 */ b lbl_80242B48 -lbl_80242B24: -/* 80242B24 0023FA64 2C 07 00 03 */ cmpwi r7, 3 -/* 80242B28 0023FA68 40 82 00 20 */ bne lbl_80242B48 -/* 80242B2C 0023FA6C 2C 00 00 00 */ cmpwi r0, 0 -/* 80242B30 0023FA70 41 82 00 0C */ beq lbl_80242B3C -/* 80242B34 0023FA74 2C 00 00 01 */ cmpwi r0, 1 -/* 80242B38 0023FA78 40 82 00 10 */ bne lbl_80242B48 -lbl_80242B3C: -/* 80242B3C 0023FA7C 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 80242B40 0023FA80 7C 00 20 50 */ subf r0, r0, r4 -/* 80242B44 0023FA84 90 06 00 1C */ stw r0, 0x1c(r6) -lbl_80242B48: -/* 80242B48 0023FA88 80 C6 00 04 */ lwz r6, 4(r6) -lbl_80242B4C: -/* 80242B4C 0023FA8C 28 06 00 00 */ cmplwi r6, 0 -/* 80242B50 0023FA90 40 82 FF 38 */ bne lbl_80242A88 -/* 80242B54 0023FA94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242B58 0023FA98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80242B5C 0023FA9C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80242B60 0023FAA0 7C 08 03 A6 */ mtlr r0 -/* 80242B64 0023FAA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80242B68 0023FAA8 4E 80 00 20 */ blr - -.global getUnitName__Q34Game4Cave8UnitInfoFv -getUnitName__Q34Game4Cave8UnitInfoFv: -/* 80242B6C 0023FAAC 80 63 00 08 */ lwz r3, 8(r3) -/* 80242B70 0023FAB0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80242B74 0023FAB4 4E 80 00 20 */ blr - -.global getUnitKind__Q34Game4Cave8UnitInfoFv -getUnitKind__Q34Game4Cave8UnitInfoFv: -/* 80242B78 0023FAB8 80 63 00 08 */ lwz r3, 8(r3) -/* 80242B7C 0023FABC 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80242B80 0023FAC0 4E 80 00 20 */ blr - -.global getUnitSizeX__Q34Game4Cave8UnitInfoFv -getUnitSizeX__Q34Game4Cave8UnitInfoFv: -/* 80242B84 0023FAC4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80242B88 0023FAC8 4E 80 00 20 */ blr - -.global getUnitSizeY__Q34Game4Cave8UnitInfoFv -getUnitSizeY__Q34Game4Cave8UnitInfoFv: -/* 80242B8C 0023FACC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80242B90 0023FAD0 4E 80 00 20 */ blr - -.global getUnitRotation__Q34Game4Cave8UnitInfoFv -getUnitRotation__Q34Game4Cave8UnitInfoFv: -/* 80242B94 0023FAD4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80242B98 0023FAD8 4E 80 00 20 */ blr - -.global getDoorNode__Q34Game4Cave8UnitInfoFi -getDoorNode__Q34Game4Cave8UnitInfoFi: -/* 80242B9C 0023FADC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80242BA0 0023FAE0 7C 08 02 A6 */ mflr r0 -/* 80242BA4 0023FAE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80242BA8 0023FAE8 80 63 00 00 */ lwz r3, 0(r3) -/* 80242BAC 0023FAEC 48 1C EA F1 */ bl getChildAt__5CNodeFi -/* 80242BB0 0023FAF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80242BB4 0023FAF4 7C 08 03 A6 */ mtlr r0 -/* 80242BB8 0023FAF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80242BBC 0023FAFC 4E 80 00 20 */ blr - -.global getBaseGen__Q34Game4Cave8UnitInfoFv -getBaseGen__Q34Game4Cave8UnitInfoFv: -/* 80242BC0 0023FB00 80 63 00 08 */ lwz r3, 8(r3) -/* 80242BC4 0023FB04 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80242BC8 0023FB08 4E 80 00 20 */ blr - -.global draw__Q34Game4Cave8UnitInfoFffff -draw__Q34Game4Cave8UnitInfoFffff: -/* 80242BCC 0023FB0C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80242BD0 0023FB10 7C 08 02 A6 */ mflr r0 -/* 80242BD4 0023FB14 90 01 00 74 */ stw r0, 0x74(r1) -/* 80242BD8 0023FB18 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80242BDC 0023FB1C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80242BE0 0023FB20 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80242BE4 0023FB24 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80242BE8 0023FB28 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80242BEC 0023FB2C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80242BF0 0023FB30 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 80242BF4 0023FB34 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 80242BF8 0023FB38 BF 01 00 10 */ stmw r24, 0x10(r1) -/* 80242BFC 0023FB3C 80 83 00 08 */ lwz r4, 8(r3) -/* 80242C00 0023FB40 FF 80 08 90 */ fmr f28, f1 -/* 80242C04 0023FB44 FF A0 10 90 */ fmr f29, f2 -/* 80242C08 0023FB48 80 84 00 08 */ lwz r4, 8(r4) -/* 80242C0C 0023FB4C FF C0 18 90 */ fmr f30, f3 -/* 80242C10 0023FB50 FF E0 20 90 */ fmr f31, f4 -/* 80242C14 0023FB54 28 04 00 00 */ cmplwi r4, 0 -/* 80242C18 0023FB58 41 82 01 0C */ beq lbl_80242D24 -/* 80242C1C 0023FB5C 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80242C20 0023FB60 3B E0 00 00 */ li r31, 0 -/* 80242C24 0023FB64 3B C0 00 10 */ li r30, 0x10 -/* 80242C28 0023FB68 3B A0 00 10 */ li r29, 0x10 -/* 80242C2C 0023FB6C 2C 00 00 02 */ cmpwi r0, 2 -/* 80242C30 0023FB70 3B 80 00 00 */ li r28, 0 -/* 80242C34 0023FB74 3B 60 00 00 */ li r27, 0 -/* 80242C38 0023FB78 3B 40 00 00 */ li r26, 0 -/* 80242C3C 0023FB7C 3B 20 00 10 */ li r25, 0x10 -/* 80242C40 0023FB80 3B 00 00 10 */ li r24, 0x10 -/* 80242C44 0023FB84 41 82 00 38 */ beq lbl_80242C7C -/* 80242C48 0023FB88 40 80 00 14 */ bge lbl_80242C5C -/* 80242C4C 0023FB8C 2C 00 00 00 */ cmpwi r0, 0 -/* 80242C50 0023FB90 41 82 00 60 */ beq lbl_80242CB0 -/* 80242C54 0023FB94 40 80 00 14 */ bge lbl_80242C68 -/* 80242C58 0023FB98 48 00 00 58 */ b lbl_80242CB0 -lbl_80242C5C: -/* 80242C5C 0023FB9C 2C 00 00 04 */ cmpwi r0, 4 -/* 80242C60 0023FBA0 40 80 00 50 */ bge lbl_80242CB0 -/* 80242C64 0023FBA4 48 00 00 3C */ b lbl_80242CA0 -lbl_80242C68: -/* 80242C68 0023FBA8 3B C0 00 00 */ li r30, 0 -/* 80242C6C 0023FBAC 3B 80 00 10 */ li r28, 0x10 -/* 80242C70 0023FBB0 3B 60 00 10 */ li r27, 0x10 -/* 80242C74 0023FBB4 3B 20 00 00 */ li r25, 0 -/* 80242C78 0023FBB8 48 00 00 38 */ b lbl_80242CB0 -lbl_80242C7C: -/* 80242C7C 0023FBBC 3B E0 00 10 */ li r31, 0x10 -/* 80242C80 0023FBC0 3B C0 00 00 */ li r30, 0 -/* 80242C84 0023FBC4 3B A0 00 00 */ li r29, 0 -/* 80242C88 0023FBC8 3B 80 00 10 */ li r28, 0x10 -/* 80242C8C 0023FBCC 3B 60 00 10 */ li r27, 0x10 -/* 80242C90 0023FBD0 3B 40 00 10 */ li r26, 0x10 -/* 80242C94 0023FBD4 3B 20 00 00 */ li r25, 0 -/* 80242C98 0023FBD8 3B 00 00 00 */ li r24, 0 -/* 80242C9C 0023FBDC 48 00 00 14 */ b lbl_80242CB0 -lbl_80242CA0: -/* 80242CA0 0023FBE0 3B E0 00 10 */ li r31, 0x10 -/* 80242CA4 0023FBE4 3B A0 00 00 */ li r29, 0 -/* 80242CA8 0023FBE8 3B 40 00 10 */ li r26, 0x10 -/* 80242CAC 0023FBEC 3B 00 00 00 */ li r24, 0 -lbl_80242CB0: -/* 80242CB0 0023FBF0 7C 83 23 78 */ mr r3, r4 -/* 80242CB4 0023FBF4 38 80 00 00 */ li r4, 0 -/* 80242CB8 0023FBF8 4B DF 09 79 */ bl load__10JUTTextureF11_GXTexMapID -/* 80242CBC 0023FBFC 38 60 00 80 */ li r3, 0x80 -/* 80242CC0 0023FC00 38 80 00 00 */ li r4, 0 -/* 80242CC4 0023FC04 38 A0 00 04 */ li r5, 4 -/* 80242CC8 0023FC08 4B EA 2C C1 */ bl GXBegin -/* 80242CCC 0023FC0C 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 80242CD0 0023FC10 C0 02 C3 78 */ lfs f0, lbl_8051A6D8@sda21(r2) -/* 80242CD4 0023FC14 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 80242CD8 0023FC18 D3 A3 80 00 */ stfs f29, -0x8000(r3) -/* 80242CDC 0023FC1C D0 03 80 00 */ stfs f0, -0x8000(r3) -/* 80242CE0 0023FC20 9B E3 80 00 */ stb r31, -0x8000(r3) -/* 80242CE4 0023FC24 9B 63 80 00 */ stb r27, -0x8000(r3) -/* 80242CE8 0023FC28 D3 C3 80 00 */ stfs f30, -0x8000(r3) -/* 80242CEC 0023FC2C D3 A3 80 00 */ stfs f29, -0x8000(r3) -/* 80242CF0 0023FC30 D0 03 80 00 */ stfs f0, -0x8000(r3) -/* 80242CF4 0023FC34 9B C3 80 00 */ stb r30, -0x8000(r3) -/* 80242CF8 0023FC38 9B 43 80 00 */ stb r26, -0x8000(r3) -/* 80242CFC 0023FC3C D3 C3 80 00 */ stfs f30, -0x8000(r3) -/* 80242D00 0023FC40 D3 E3 80 00 */ stfs f31, -0x8000(r3) -/* 80242D04 0023FC44 D0 03 80 00 */ stfs f0, -0x8000(r3) -/* 80242D08 0023FC48 9B A3 80 00 */ stb r29, -0x8000(r3) -/* 80242D0C 0023FC4C 9B 23 80 00 */ stb r25, -0x8000(r3) -/* 80242D10 0023FC50 D3 83 80 00 */ stfs f28, -0x8000(r3) -/* 80242D14 0023FC54 D3 E3 80 00 */ stfs f31, -0x8000(r3) -/* 80242D18 0023FC58 D0 03 80 00 */ stfs f0, -0x8000(r3) -/* 80242D1C 0023FC5C 9B 83 80 00 */ stb r28, -0x8000(r3) -/* 80242D20 0023FC60 9B 03 80 00 */ stb r24, -0x8000(r3) -lbl_80242D24: -/* 80242D24 0023FC64 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80242D28 0023FC68 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80242D2C 0023FC6C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80242D30 0023FC70 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80242D34 0023FC74 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80242D38 0023FC78 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80242D3C 0023FC7C E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 80242D40 0023FC80 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 80242D44 0023FC84 BB 01 00 10 */ lmw r24, 0x10(r1) -/* 80242D48 0023FC88 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80242D4C 0023FC8C 7C 08 03 A6 */ mtlr r0 -/* 80242D50 0023FC90 38 21 00 70 */ addi r1, r1, 0x70 -/* 80242D54 0023FC94 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave10AdjustInfoFv -__ct__Q34Game4Cave10AdjustInfoFv: -/* 80242D58 0023FC98 38 80 00 00 */ li r4, 0 -/* 80242D5C 0023FC9C 38 00 FF FF */ li r0, -1 -/* 80242D60 0023FCA0 90 83 00 00 */ stw r4, 0(r3) -/* 80242D64 0023FCA4 90 03 00 04 */ stw r0, 4(r3) -/* 80242D68 0023FCA8 90 03 00 08 */ stw r0, 8(r3) -/* 80242D6C 0023FCAC 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo -__ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo: -/* 80242D70 0023FCB0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80242D74 0023FCB4 7C 08 02 A6 */ mflr r0 -/* 80242D78 0023FCB8 90 01 00 54 */ stw r0, 0x54(r1) -/* 80242D7C 0023FCBC BE 01 00 10 */ stmw r16, 0x10(r1) -/* 80242D80 0023FCC0 7C 7E 1B 78 */ mr r30, r3 -/* 80242D84 0023FCC4 7C 90 23 78 */ mr r16, r4 -/* 80242D88 0023FCC8 48 1C E6 09 */ bl __ct__5CNodeFv -/* 80242D8C 0023FCCC 3C 80 80 4C */ lis r4, __vt__Q34Game4Cave7MapNode@ha -/* 80242D90 0023FCD0 38 60 00 00 */ li r3, 0 -/* 80242D94 0023FCD4 38 84 1A 68 */ addi r4, r4, __vt__Q34Game4Cave7MapNode@l -/* 80242D98 0023FCD8 38 00 FF FF */ li r0, -1 -/* 80242D9C 0023FCDC 90 9E 00 00 */ stw r4, 0(r30) -/* 80242DA0 0023FCE0 28 10 00 00 */ cmplwi r16, 0 -/* 80242DA4 0023FCE4 90 7E 00 18 */ stw r3, 0x18(r30) -/* 80242DA8 0023FCE8 90 7E 00 1C */ stw r3, 0x1c(r30) -/* 80242DAC 0023FCEC 90 7E 00 20 */ stw r3, 0x20(r30) -/* 80242DB0 0023FCF0 90 7E 00 24 */ stw r3, 0x24(r30) -/* 80242DB4 0023FCF4 90 7E 00 28 */ stw r3, 0x28(r30) -/* 80242DB8 0023FCF8 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80242DBC 0023FCFC 90 1E 00 30 */ stw r0, 0x30(r30) -/* 80242DC0 0023FD00 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80242DC4 0023FD04 90 1E 00 38 */ stw r0, 0x38(r30) -/* 80242DC8 0023FD08 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 80242DCC 0023FD0C 41 82 02 38 */ beq lbl_80243004 -/* 80242DD0 0023FD10 92 1E 00 18 */ stw r16, 0x18(r30) -/* 80242DD4 0023FD14 38 60 00 38 */ li r3, 0x38 -/* 80242DD8 0023FD18 4B DE 10 CD */ bl __nw__FUl -/* 80242DDC 0023FD1C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80242DE0 0023FD20 41 82 00 0C */ beq lbl_80242DEC -/* 80242DE4 0023FD24 48 00 13 11 */ bl __ct__Q34Game4Cave9EnemyNodeFv -/* 80242DE8 0023FD28 7C 60 1B 78 */ mr r0, r3 -lbl_80242DEC: -/* 80242DEC 0023FD2C 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80242DF0 0023FD30 38 60 00 24 */ li r3, 0x24 -/* 80242DF4 0023FD34 4B DE 10 B1 */ bl __nw__FUl -/* 80242DF8 0023FD38 7C 60 1B 79 */ or. r0, r3, r3 -/* 80242DFC 0023FD3C 41 82 00 0C */ beq lbl_80242E08 -/* 80242E00 0023FD40 48 00 CE C9 */ bl __ct__Q34Game4Cave8GateNodeFv -/* 80242E04 0023FD44 7C 60 1B 78 */ mr r0, r3 -lbl_80242E08: -/* 80242E08 0023FD48 90 1E 00 20 */ stw r0, 0x20(r30) -/* 80242E0C 0023FD4C 38 60 00 34 */ li r3, 0x34 -/* 80242E10 0023FD50 4B DE 10 95 */ bl __nw__FUl -/* 80242E14 0023FD54 7C 60 1B 79 */ or. r0, r3, r3 -/* 80242E18 0023FD58 41 82 00 0C */ beq lbl_80242E24 -/* 80242E1C 0023FD5C 48 00 B3 55 */ bl __ct__Q34Game4Cave8ItemNodeFv -/* 80242E20 0023FD60 7C 60 1B 78 */ mr r0, r3 -lbl_80242E24: -/* 80242E24 0023FD64 90 1E 00 24 */ stw r0, 0x24(r30) -/* 80242E28 0023FD68 7F C3 F3 78 */ mr r3, r30 -/* 80242E2C 0023FD6C 48 00 12 35 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80242E30 0023FD70 7C 7F 1B 78 */ mr r31, r3 -/* 80242E34 0023FD74 7F F0 FB 78 */ mr r16, r31 -/* 80242E38 0023FD78 1C 70 00 0C */ mulli r3, r16, 0xc -/* 80242E3C 0023FD7C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80242E40 0023FD80 4B DE 11 6D */ bl __nwa__FUl -/* 80242E44 0023FD84 3C 80 80 24 */ lis r4, __ct__Q34Game4Cave10AdjustInfoFv@ha -/* 80242E48 0023FD88 7E 07 83 78 */ mr r7, r16 -/* 80242E4C 0023FD8C 38 84 2D 58 */ addi r4, r4, __ct__Q34Game4Cave10AdjustInfoFv@l -/* 80242E50 0023FD90 38 A0 00 00 */ li r5, 0 -/* 80242E54 0023FD94 38 C0 00 0C */ li r6, 0xc -/* 80242E58 0023FD98 4B E7 EB 99 */ bl __construct_new_array -/* 80242E5C 0023FD9C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80242E60 0023FDA0 90 7E 00 28 */ stw r3, 0x28(r30) -/* 80242E64 0023FDA4 38 A0 00 00 */ li r5, 0 -/* 80242E68 0023FDA8 40 81 01 9C */ ble lbl_80243004 -/* 80242E6C 0023FDAC 2C 1F 00 08 */ cmpwi r31, 8 -/* 80242E70 0023FDB0 38 7F FF F8 */ addi r3, r31, -8 -/* 80242E74 0023FDB4 40 81 01 4C */ ble lbl_80242FC0 -/* 80242E78 0023FDB8 38 03 00 07 */ addi r0, r3, 7 -/* 80242E7C 0023FDBC 38 80 00 00 */ li r4, 0 -/* 80242E80 0023FDC0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80242E84 0023FDC4 7C 09 03 A6 */ mtctr r0 -/* 80242E88 0023FDC8 2C 03 00 00 */ cmpwi r3, 0 -/* 80242E8C 0023FDCC 40 81 01 34 */ ble lbl_80242FC0 -lbl_80242E90: -/* 80242E90 0023FDD0 80 DE 00 28 */ lwz r6, 0x28(r30) -/* 80242E94 0023FDD4 38 60 00 00 */ li r3, 0 -/* 80242E98 0023FDD8 39 04 00 04 */ addi r8, r4, 4 -/* 80242E9C 0023FDDC 38 00 FF FF */ li r0, -1 -/* 80242EA0 0023FDE0 7C 66 21 2E */ stwx r3, r6, r4 -/* 80242EA4 0023FDE4 38 E4 00 08 */ addi r7, r4, 8 -/* 80242EA8 0023FDE8 38 C4 00 0C */ addi r6, r4, 0xc -/* 80242EAC 0023FDEC 3A 24 00 10 */ addi r17, r4, 0x10 -/* 80242EB0 0023FDF0 81 3E 00 28 */ lwz r9, 0x28(r30) -/* 80242EB4 0023FDF4 3A 44 00 14 */ addi r18, r4, 0x14 -/* 80242EB8 0023FDF8 3A 64 00 18 */ addi r19, r4, 0x18 -/* 80242EBC 0023FDFC 3A 84 00 1C */ addi r20, r4, 0x1c -/* 80242EC0 0023FE00 7C 09 41 2E */ stwx r0, r9, r8 -/* 80242EC4 0023FE04 3A A4 00 20 */ addi r21, r4, 0x20 -/* 80242EC8 0023FE08 3A C4 00 24 */ addi r22, r4, 0x24 -/* 80242ECC 0023FE0C 3A E4 00 28 */ addi r23, r4, 0x28 -/* 80242ED0 0023FE10 81 1E 00 28 */ lwz r8, 0x28(r30) -/* 80242ED4 0023FE14 3B 04 00 2C */ addi r24, r4, 0x2c -/* 80242ED8 0023FE18 3B 24 00 30 */ addi r25, r4, 0x30 -/* 80242EDC 0023FE1C 3B 44 00 34 */ addi r26, r4, 0x34 -/* 80242EE0 0023FE20 7C 08 39 2E */ stwx r0, r8, r7 -/* 80242EE4 0023FE24 3B 64 00 38 */ addi r27, r4, 0x38 -/* 80242EE8 0023FE28 3B 84 00 3C */ addi r28, r4, 0x3c -/* 80242EEC 0023FE2C 3B A4 00 40 */ addi r29, r4, 0x40 -/* 80242EF0 0023FE30 80 FE 00 28 */ lwz r7, 0x28(r30) -/* 80242EF4 0023FE34 39 84 00 44 */ addi r12, r4, 0x44 -/* 80242EF8 0023FE38 39 64 00 48 */ addi r11, r4, 0x48 -/* 80242EFC 0023FE3C 39 44 00 4C */ addi r10, r4, 0x4c -/* 80242F00 0023FE40 7C 67 31 2E */ stwx r3, r7, r6 -/* 80242F04 0023FE44 39 24 00 50 */ addi r9, r4, 0x50 -/* 80242F08 0023FE48 39 04 00 54 */ addi r8, r4, 0x54 -/* 80242F0C 0023FE4C 38 E4 00 58 */ addi r7, r4, 0x58 -/* 80242F10 0023FE50 82 1E 00 28 */ lwz r16, 0x28(r30) -/* 80242F14 0023FE54 38 C4 00 5C */ addi r6, r4, 0x5c -/* 80242F18 0023FE58 38 84 00 60 */ addi r4, r4, 0x60 -/* 80242F1C 0023FE5C 38 A5 00 08 */ addi r5, r5, 8 -/* 80242F20 0023FE60 7C 10 89 2E */ stwx r0, r16, r17 -/* 80242F24 0023FE64 82 3E 00 28 */ lwz r17, 0x28(r30) -/* 80242F28 0023FE68 7C 11 91 2E */ stwx r0, r17, r18 -/* 80242F2C 0023FE6C 82 5E 00 28 */ lwz r18, 0x28(r30) -/* 80242F30 0023FE70 7C 72 99 2E */ stwx r3, r18, r19 -/* 80242F34 0023FE74 82 7E 00 28 */ lwz r19, 0x28(r30) -/* 80242F38 0023FE78 7C 13 A1 2E */ stwx r0, r19, r20 -/* 80242F3C 0023FE7C 82 9E 00 28 */ lwz r20, 0x28(r30) -/* 80242F40 0023FE80 7C 14 A9 2E */ stwx r0, r20, r21 -/* 80242F44 0023FE84 82 BE 00 28 */ lwz r21, 0x28(r30) -/* 80242F48 0023FE88 7C 75 B1 2E */ stwx r3, r21, r22 -/* 80242F4C 0023FE8C 82 DE 00 28 */ lwz r22, 0x28(r30) -/* 80242F50 0023FE90 7C 16 B9 2E */ stwx r0, r22, r23 -/* 80242F54 0023FE94 82 FE 00 28 */ lwz r23, 0x28(r30) -/* 80242F58 0023FE98 7C 17 C1 2E */ stwx r0, r23, r24 -/* 80242F5C 0023FE9C 83 1E 00 28 */ lwz r24, 0x28(r30) -/* 80242F60 0023FEA0 7C 78 C9 2E */ stwx r3, r24, r25 -/* 80242F64 0023FEA4 83 3E 00 28 */ lwz r25, 0x28(r30) -/* 80242F68 0023FEA8 7C 19 D1 2E */ stwx r0, r25, r26 -/* 80242F6C 0023FEAC 83 5E 00 28 */ lwz r26, 0x28(r30) -/* 80242F70 0023FEB0 7C 1A D9 2E */ stwx r0, r26, r27 -/* 80242F74 0023FEB4 83 7E 00 28 */ lwz r27, 0x28(r30) -/* 80242F78 0023FEB8 7C 7B E1 2E */ stwx r3, r27, r28 -/* 80242F7C 0023FEBC 83 9E 00 28 */ lwz r28, 0x28(r30) -/* 80242F80 0023FEC0 7C 1C E9 2E */ stwx r0, r28, r29 -/* 80242F84 0023FEC4 83 BE 00 28 */ lwz r29, 0x28(r30) -/* 80242F88 0023FEC8 7C 1D 61 2E */ stwx r0, r29, r12 -/* 80242F8C 0023FECC 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 80242F90 0023FED0 7C 6C 59 2E */ stwx r3, r12, r11 -/* 80242F94 0023FED4 81 7E 00 28 */ lwz r11, 0x28(r30) -/* 80242F98 0023FED8 7C 0B 51 2E */ stwx r0, r11, r10 -/* 80242F9C 0023FEDC 81 5E 00 28 */ lwz r10, 0x28(r30) -/* 80242FA0 0023FEE0 7C 0A 49 2E */ stwx r0, r10, r9 -/* 80242FA4 0023FEE4 81 3E 00 28 */ lwz r9, 0x28(r30) -/* 80242FA8 0023FEE8 7C 69 41 2E */ stwx r3, r9, r8 -/* 80242FAC 0023FEEC 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80242FB0 0023FEF0 7C 03 39 2E */ stwx r0, r3, r7 -/* 80242FB4 0023FEF4 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80242FB8 0023FEF8 7C 03 31 2E */ stwx r0, r3, r6 -/* 80242FBC 0023FEFC 42 00 FE D4 */ bdnz lbl_80242E90 -lbl_80242FC0: -/* 80242FC0 0023FF00 7C 05 F8 50 */ subf r0, r5, r31 -/* 80242FC4 0023FF04 38 E0 00 00 */ li r7, 0 -/* 80242FC8 0023FF08 1D 05 00 0C */ mulli r8, r5, 0xc -/* 80242FCC 0023FF0C 38 C0 FF FF */ li r6, -1 -/* 80242FD0 0023FF10 7C 09 03 A6 */ mtctr r0 -/* 80242FD4 0023FF14 7C 05 F8 00 */ cmpw r5, r31 -/* 80242FD8 0023FF18 40 80 00 2C */ bge lbl_80243004 -lbl_80242FDC: -/* 80242FDC 0023FF1C 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80242FE0 0023FF20 38 68 00 04 */ addi r3, r8, 4 -/* 80242FE4 0023FF24 38 08 00 08 */ addi r0, r8, 8 -/* 80242FE8 0023FF28 7C E4 41 2E */ stwx r7, r4, r8 -/* 80242FEC 0023FF2C 39 08 00 0C */ addi r8, r8, 0xc -/* 80242FF0 0023FF30 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80242FF4 0023FF34 7C C4 19 2E */ stwx r6, r4, r3 -/* 80242FF8 0023FF38 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80242FFC 0023FF3C 7C C3 01 2E */ stwx r6, r3, r0 -/* 80243000 0023FF40 42 00 FF DC */ bdnz lbl_80242FDC -lbl_80243004: -/* 80243004 0023FF44 7F C3 F3 78 */ mr r3, r30 -/* 80243008 0023FF48 BA 01 00 10 */ lmw r16, 0x10(r1) -/* 8024300C 0023FF4C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80243010 0023FF50 7C 08 03 A6 */ mtlr r0 -/* 80243014 0023FF54 38 21 00 50 */ addi r1, r1, 0x50 -/* 80243018 0023FF58 4E 80 00 20 */ blr - -.global setOffset__Q34Game4Cave7MapNodeFii -setOffset__Q34Game4Cave7MapNodeFii: -/* 8024301C 0023FF5C 90 83 00 2C */ stw r4, 0x2c(r3) -/* 80243020 0023FF60 90 A3 00 30 */ stw r5, 0x30(r3) -/* 80243024 0023FF64 4E 80 00 20 */ blr - -.global getDoorDirect__Q34Game4Cave7MapNodeFi -getDoorDirect__Q34Game4Cave7MapNodeFi: -/* 80243028 0023FF68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024302C 0023FF6C 7C 08 02 A6 */ mflr r0 -/* 80243030 0023FF70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243034 0023FF74 48 00 04 51 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80243038 0023FF78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024303C 0023FF7C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80243040 0023FF80 7C 08 03 A6 */ mtlr r0 -/* 80243044 0023FF84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80243048 0023FF88 4E 80 00 20 */ blr - -.global getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -getDoorOffset__Q34Game4Cave7MapNodeFiRiRi: -/* 8024304C 0023FF8C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80243050 0023FF90 7C 08 02 A6 */ mflr r0 -/* 80243054 0023FF94 90 01 00 24 */ stw r0, 0x24(r1) -/* 80243058 0023FF98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024305C 0023FF9C 7C DF 33 78 */ mr r31, r6 -/* 80243060 0023FFA0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80243064 0023FFA4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80243068 0023FFA8 7C BD 2B 78 */ mr r29, r5 -/* 8024306C 0023FFAC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80243070 0023FFB0 7C 7C 1B 78 */ mr r28, r3 -/* 80243074 0023FFB4 48 00 04 11 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80243078 0023FFB8 7C 7E 1B 78 */ mr r30, r3 -/* 8024307C 0023FFBC 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80243080 0023FFC0 2C 00 00 02 */ cmpwi r0, 2 -/* 80243084 0023FFC4 41 82 00 68 */ beq lbl_802430EC -/* 80243088 0023FFC8 40 80 00 14 */ bge lbl_8024309C -/* 8024308C 0023FFCC 2C 00 00 00 */ cmpwi r0, 0 -/* 80243090 0023FFD0 41 82 00 18 */ beq lbl_802430A8 -/* 80243094 0023FFD4 40 80 00 30 */ bge lbl_802430C4 -/* 80243098 0023FFD8 48 00 00 94 */ b lbl_8024312C -lbl_8024309C: -/* 8024309C 0023FFDC 2C 00 00 04 */ cmpwi r0, 4 -/* 802430A0 0023FFE0 40 80 00 8C */ bge lbl_8024312C -/* 802430A4 0023FFE4 48 00 00 70 */ b lbl_80243114 -lbl_802430A8: -/* 802430A8 0023FFE8 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 802430AC 0023FFEC 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 802430B0 0023FFF0 7C 03 02 14 */ add r0, r3, r0 -/* 802430B4 0023FFF4 90 1D 00 00 */ stw r0, 0(r29) -/* 802430B8 0023FFF8 80 1C 00 30 */ lwz r0, 0x30(r28) -/* 802430BC 0023FFFC 90 1F 00 00 */ stw r0, 0(r31) -/* 802430C0 00240000 48 00 00 6C */ b lbl_8024312C -lbl_802430C4: -/* 802430C4 00240004 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 802430C8 00240008 4B FF FA BD */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 802430CC 0024000C 80 1C 00 2C */ lwz r0, 0x2c(r28) -/* 802430D0 00240010 7C 00 1A 14 */ add r0, r0, r3 -/* 802430D4 00240014 90 1D 00 00 */ stw r0, 0(r29) -/* 802430D8 00240018 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 802430DC 0024001C 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 802430E0 00240020 7C 03 02 14 */ add r0, r3, r0 -/* 802430E4 00240024 90 1F 00 00 */ stw r0, 0(r31) -/* 802430E8 00240028 48 00 00 44 */ b lbl_8024312C -lbl_802430EC: -/* 802430EC 0024002C 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 802430F0 00240030 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 802430F4 00240034 7C 03 02 14 */ add r0, r3, r0 -/* 802430F8 00240038 90 1D 00 00 */ stw r0, 0(r29) -/* 802430FC 0024003C 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 80243100 00240040 4B FF FA 8D */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80243104 00240044 80 1C 00 30 */ lwz r0, 0x30(r28) -/* 80243108 00240048 7C 00 1A 14 */ add r0, r0, r3 -/* 8024310C 0024004C 90 1F 00 00 */ stw r0, 0(r31) -/* 80243110 00240050 48 00 00 1C */ b lbl_8024312C -lbl_80243114: -/* 80243114 00240054 80 1C 00 2C */ lwz r0, 0x2c(r28) -/* 80243118 00240058 90 1D 00 00 */ stw r0, 0(r29) -/* 8024311C 0024005C 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 80243120 00240060 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80243124 00240064 7C 03 02 14 */ add r0, r3, r0 -/* 80243128 00240068 90 1F 00 00 */ stw r0, 0(r31) -lbl_8024312C: -/* 8024312C 0024006C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80243130 00240070 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80243134 00240074 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80243138 00240078 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024313C 0024007C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80243140 00240080 7C 08 03 A6 */ mtlr r0 -/* 80243144 00240084 38 21 00 20 */ addi r1, r1, 0x20 -/* 80243148 00240088 4E 80 00 20 */ blr - -.global isDoorSet__Q34Game4Cave7MapNodeFPQ34Game4Cave8DoorNodeiii -isDoorSet__Q34Game4Cave7MapNodeFPQ34Game4Cave8DoorNodeiii: -/* 8024314C 0024008C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80243150 00240090 7C 08 02 A6 */ mflr r0 -/* 80243154 00240094 90 01 00 24 */ stw r0, 0x24(r1) -/* 80243158 00240098 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8024315C 0024009C 7C 9B 23 78 */ mr r27, r4 -/* 80243160 002400A0 7C 7F 1B 78 */ mr r31, r3 -/* 80243164 002400A4 7C BC 2B 78 */ mr r28, r5 -/* 80243168 002400A8 7C DD 33 78 */ mr r29, r6 -/* 8024316C 002400AC 7C E4 3B 78 */ mr r4, r7 -/* 80243170 002400B0 48 00 03 15 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80243174 002400B4 7C 7E 1B 78 */ mr r30, r3 -/* 80243178 002400B8 7F 64 DB 78 */ mr r4, r27 -/* 8024317C 002400BC 48 00 88 61 */ bl isDoorAdjust__Q34Game4Cave8DoorNodeFPQ34Game4Cave8DoorNode -/* 80243180 002400C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80243184 002400C4 41 82 00 AC */ beq lbl_80243230 -/* 80243188 002400C8 93 9F 00 2C */ stw r28, 0x2c(r31) -/* 8024318C 002400CC 93 BF 00 30 */ stw r29, 0x30(r31) -/* 80243190 002400D0 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80243194 002400D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80243198 002400D8 40 82 00 18 */ bne lbl_802431B0 -/* 8024319C 002400DC 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 802431A0 002400E0 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 802431A4 002400E4 7C 03 00 50 */ subf r0, r3, r0 -/* 802431A8 002400E8 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802431AC 002400EC 48 00 00 7C */ b lbl_80243228 -lbl_802431B0: -/* 802431B0 002400F0 2C 00 00 02 */ cmpwi r0, 2 -/* 802431B4 002400F4 40 82 00 2C */ bne lbl_802431E0 -/* 802431B8 002400F8 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 802431BC 002400FC 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 802431C0 00240100 7C 03 00 50 */ subf r0, r3, r0 -/* 802431C4 00240104 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802431C8 00240108 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 802431CC 0024010C 4B FF F9 C1 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 802431D0 00240110 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 802431D4 00240114 7C 03 00 50 */ subf r0, r3, r0 -/* 802431D8 00240118 90 1F 00 30 */ stw r0, 0x30(r31) -/* 802431DC 0024011C 48 00 00 4C */ b lbl_80243228 -lbl_802431E0: -/* 802431E0 00240120 2C 00 00 03 */ cmpwi r0, 3 -/* 802431E4 00240124 40 82 00 18 */ bne lbl_802431FC -/* 802431E8 00240128 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 802431EC 0024012C 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 802431F0 00240130 7C 03 00 50 */ subf r0, r3, r0 -/* 802431F4 00240134 90 1F 00 30 */ stw r0, 0x30(r31) -/* 802431F8 00240138 48 00 00 30 */ b lbl_80243228 -lbl_802431FC: -/* 802431FC 0024013C 2C 00 00 01 */ cmpwi r0, 1 -/* 80243200 00240140 40 82 00 28 */ bne lbl_80243228 -/* 80243204 00240144 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80243208 00240148 4B FF F9 7D */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 8024320C 0024014C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80243210 00240150 7C 03 00 50 */ subf r0, r3, r0 -/* 80243214 00240154 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80243218 00240158 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8024321C 0024015C 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 80243220 00240160 7C 03 00 50 */ subf r0, r3, r0 -/* 80243224 00240164 90 1F 00 30 */ stw r0, 0x30(r31) -lbl_80243228: -/* 80243228 00240168 38 60 00 01 */ li r3, 1 -/* 8024322C 0024016C 48 00 00 08 */ b lbl_80243234 -lbl_80243230: -/* 80243230 00240170 38 60 00 00 */ li r3, 0 -lbl_80243234: -/* 80243234 00240174 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80243238 00240178 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024323C 0024017C 7C 08 03 A6 */ mtlr r0 -/* 80243240 00240180 38 21 00 20 */ addi r1, r1, 0x20 -/* 80243244 00240184 4E 80 00 20 */ blr - -.global setDoorClose__Q34Game4Cave7MapNodeFiPQ34Game4Cave7MapNodei -setDoorClose__Q34Game4Cave7MapNodeFiPQ34Game4Cave7MapNodei: -/* 80243248 00240188 1D 04 00 0C */ mulli r8, r4, 0xc -/* 8024324C 0024018C 80 E3 00 28 */ lwz r7, 0x28(r3) -/* 80243250 00240190 7C A7 41 2E */ stwx r5, r7, r8 -/* 80243254 00240194 1D 26 00 0C */ mulli r9, r6, 0xc -/* 80243258 00240198 80 03 00 28 */ lwz r0, 0x28(r3) -/* 8024325C 0024019C 7C E0 42 14 */ add r7, r0, r8 -/* 80243260 002401A0 90 C7 00 04 */ stw r6, 4(r7) -/* 80243264 002401A4 80 C5 00 28 */ lwz r6, 0x28(r5) -/* 80243268 002401A8 7C 66 49 2E */ stwx r3, r6, r9 -/* 8024326C 002401AC 80 05 00 28 */ lwz r0, 0x28(r5) -/* 80243270 002401B0 7C 60 4A 14 */ add r3, r0, r9 -/* 80243274 002401B4 90 83 00 04 */ stw r4, 4(r3) -/* 80243278 002401B8 4E 80 00 20 */ blr - -.global detachDoorClose__Q34Game4Cave7MapNodeFv -detachDoorClose__Q34Game4Cave7MapNodeFv: -/* 8024327C 002401BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80243280 002401C0 7C 08 02 A6 */ mflr r0 -/* 80243284 002401C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243288 002401C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024328C 002401CC 7C 7F 1B 78 */ mr r31, r3 -/* 80243290 002401D0 48 00 0D D1 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80243294 002401D4 38 E0 00 00 */ li r7, 0 -/* 80243298 002401D8 7C 69 03 A6 */ mtctr r3 -/* 8024329C 002401DC 2C 03 00 00 */ cmpwi r3, 0 -/* 802432A0 002401E0 40 81 00 64 */ ble lbl_80243304 -/* 802432A4 002401E4 7C E6 3B 78 */ mr r6, r7 -/* 802432A8 002401E8 7C E4 3B 78 */ mr r4, r7 -/* 802432AC 002401EC 38 A0 FF FF */ li r5, -1 -lbl_802432B0: -/* 802432B0 002401F0 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 802432B4 002401F4 7C 60 3A 14 */ add r3, r0, r7 -/* 802432B8 002401F8 81 03 00 00 */ lwz r8, 0(r3) -/* 802432BC 002401FC 28 08 00 00 */ cmplwi r8, 0 -/* 802432C0 00240200 41 82 00 28 */ beq lbl_802432E8 -/* 802432C4 00240204 80 03 00 04 */ lwz r0, 4(r3) -/* 802432C8 00240208 80 68 00 28 */ lwz r3, 0x28(r8) -/* 802432CC 0024020C 1D 00 00 0C */ mulli r8, r0, 0xc -/* 802432D0 00240210 7C C3 41 2E */ stwx r6, r3, r8 -/* 802432D4 00240214 38 08 00 04 */ addi r0, r8, 4 -/* 802432D8 00240218 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 802432DC 0024021C 7C 63 38 2E */ lwzx r3, r3, r7 -/* 802432E0 00240220 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802432E4 00240224 7C A3 01 2E */ stwx r5, r3, r0 -lbl_802432E8: -/* 802432E8 00240228 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 802432EC 0024022C 38 07 00 04 */ addi r0, r7, 4 -/* 802432F0 00240230 7C 83 39 2E */ stwx r4, r3, r7 -/* 802432F4 00240234 38 E7 00 0C */ addi r7, r7, 0xc -/* 802432F8 00240238 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 802432FC 0024023C 7C A3 01 2E */ stwx r5, r3, r0 -/* 80243300 00240240 42 00 FF B0 */ bdnz lbl_802432B0 -lbl_80243304: -/* 80243304 00240244 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80243308 00240248 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024330C 0024024C 7C 08 03 A6 */ mtlr r0 -/* 80243310 00240250 38 21 00 10 */ addi r1, r1, 0x10 -/* 80243314 00240254 4E 80 00 20 */ blr - -.global isDoorClose__Q34Game4Cave7MapNodeFi -isDoorClose__Q34Game4Cave7MapNodeFi: -/* 80243318 00240258 1C 04 00 0C */ mulli r0, r4, 0xc -/* 8024331C 0024025C 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80243320 00240260 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80243324 00240264 7C 03 00 D0 */ neg r0, r3 -/* 80243328 00240268 7C 00 1B 78 */ or r0, r0, r3 -/* 8024332C 0024026C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80243330 00240270 4E 80 00 20 */ blr - -.global resetDoorScore__Q34Game4Cave7MapNodeFv -resetDoorScore__Q34Game4Cave7MapNodeFv: -/* 80243334 00240274 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80243338 00240278 7C 08 02 A6 */ mflr r0 -/* 8024333C 0024027C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243340 00240280 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80243344 00240284 7C 7F 1B 78 */ mr r31, r3 -/* 80243348 00240288 93 C1 00 08 */ stw r30, 8(r1) -/* 8024334C 0024028C 48 00 0D 15 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80243350 00240290 2C 03 00 00 */ cmpwi r3, 0 -/* 80243354 00240294 3B C0 00 00 */ li r30, 0 -/* 80243358 00240298 40 81 00 C4 */ ble lbl_8024341C -/* 8024335C 0024029C 2C 03 00 08 */ cmpwi r3, 8 -/* 80243360 002402A0 38 83 FF F8 */ addi r4, r3, -8 -/* 80243364 002402A4 40 81 00 8C */ ble lbl_802433F0 -/* 80243368 002402A8 38 04 00 07 */ addi r0, r4, 7 -/* 8024336C 002402AC 39 80 00 00 */ li r12, 0 -/* 80243370 002402B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80243374 002402B4 7C 09 03 A6 */ mtctr r0 -/* 80243378 002402B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8024337C 002402BC 40 81 00 74 */ ble lbl_802433F0 -lbl_80243380: -/* 80243380 002402C0 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 80243384 002402C4 38 0C 00 08 */ addi r0, r12, 8 -/* 80243388 002402C8 39 60 FF FF */ li r11, -1 -/* 8024338C 002402CC 39 2C 00 14 */ addi r9, r12, 0x14 -/* 80243390 002402D0 7D 64 01 2E */ stwx r11, r4, r0 -/* 80243394 002402D4 39 0C 00 20 */ addi r8, r12, 0x20 -/* 80243398 002402D8 38 EC 00 2C */ addi r7, r12, 0x2c -/* 8024339C 002402DC 38 CC 00 38 */ addi r6, r12, 0x38 -/* 802433A0 002402E0 81 5F 00 28 */ lwz r10, 0x28(r31) -/* 802433A4 002402E4 38 AC 00 44 */ addi r5, r12, 0x44 -/* 802433A8 002402E8 38 8C 00 50 */ addi r4, r12, 0x50 -/* 802433AC 002402EC 38 0C 00 5C */ addi r0, r12, 0x5c -/* 802433B0 002402F0 7D 6A 49 2E */ stwx r11, r10, r9 -/* 802433B4 002402F4 39 8C 00 60 */ addi r12, r12, 0x60 -/* 802433B8 002402F8 3B DE 00 08 */ addi r30, r30, 8 -/* 802433BC 002402FC 81 3F 00 28 */ lwz r9, 0x28(r31) -/* 802433C0 00240300 7D 69 41 2E */ stwx r11, r9, r8 -/* 802433C4 00240304 81 1F 00 28 */ lwz r8, 0x28(r31) -/* 802433C8 00240308 7D 68 39 2E */ stwx r11, r8, r7 -/* 802433CC 0024030C 80 FF 00 28 */ lwz r7, 0x28(r31) -/* 802433D0 00240310 7D 67 31 2E */ stwx r11, r7, r6 -/* 802433D4 00240314 80 DF 00 28 */ lwz r6, 0x28(r31) -/* 802433D8 00240318 7D 66 29 2E */ stwx r11, r6, r5 -/* 802433DC 0024031C 80 BF 00 28 */ lwz r5, 0x28(r31) -/* 802433E0 00240320 7D 65 21 2E */ stwx r11, r5, r4 -/* 802433E4 00240324 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 802433E8 00240328 7D 64 01 2E */ stwx r11, r4, r0 -/* 802433EC 0024032C 42 00 FF 94 */ bdnz lbl_80243380 -lbl_802433F0: -/* 802433F0 00240330 7C 1E 18 50 */ subf r0, r30, r3 -/* 802433F4 00240334 38 80 FF FF */ li r4, -1 -/* 802433F8 00240338 1C BE 00 0C */ mulli r5, r30, 0xc -/* 802433FC 0024033C 7C 09 03 A6 */ mtctr r0 -/* 80243400 00240340 7C 1E 18 00 */ cmpw r30, r3 -/* 80243404 00240344 40 80 00 18 */ bge lbl_8024341C -lbl_80243408: -/* 80243408 00240348 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8024340C 0024034C 38 05 00 08 */ addi r0, r5, 8 -/* 80243410 00240350 38 A5 00 0C */ addi r5, r5, 0xc -/* 80243414 00240354 7C 83 01 2E */ stwx r4, r3, r0 -/* 80243418 00240358 42 00 FF F0 */ bdnz lbl_80243408 -lbl_8024341C: -/* 8024341C 0024035C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80243420 00240360 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80243424 00240364 83 C1 00 08 */ lwz r30, 8(r1) -/* 80243428 00240368 7C 08 03 A6 */ mtlr r0 -/* 8024342C 0024036C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80243430 00240370 4E 80 00 20 */ blr - -.global setDoorScore__Q34Game4Cave7MapNodeFii -setDoorScore__Q34Game4Cave7MapNodeFii: -/* 80243434 00240374 1C C4 00 0C */ mulli r6, r4, 0xc -/* 80243438 00240378 80 03 00 28 */ lwz r0, 0x28(r3) -/* 8024343C 0024037C 7C 80 32 14 */ add r4, r0, r6 -/* 80243440 00240380 90 A4 00 08 */ stw r5, 8(r4) -/* 80243444 00240384 80 83 00 28 */ lwz r4, 0x28(r3) -/* 80243448 00240388 7C 64 32 14 */ add r3, r4, r6 -/* 8024344C 0024038C 7C 84 30 2E */ lwzx r4, r4, r6 -/* 80243450 00240390 80 03 00 04 */ lwz r0, 4(r3) -/* 80243454 00240394 80 64 00 28 */ lwz r3, 0x28(r4) -/* 80243458 00240398 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8024345C 0024039C 7C 63 02 14 */ add r3, r3, r0 -/* 80243460 002403A0 90 A3 00 08 */ stw r5, 8(r3) -/* 80243464 002403A4 4E 80 00 20 */ blr - -.global isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -isDoorScoreSetDone__Q34Game4Cave7MapNodeFi: -/* 80243468 002403A8 1C 04 00 0C */ mulli r0, r4, 0xc -/* 8024346C 002403AC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80243470 002403B0 7C 63 02 14 */ add r3, r3, r0 -/* 80243474 002403B4 80 03 00 08 */ lwz r0, 8(r3) -/* 80243478 002403B8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8024347C 002403BC 68 03 00 01 */ xori r3, r0, 1 -/* 80243480 002403C0 4E 80 00 20 */ blr - -.global getDoorNode__Q34Game4Cave7MapNodeFi -getDoorNode__Q34Game4Cave7MapNodeFi: -/* 80243484 002403C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80243488 002403C8 7C 08 02 A6 */ mflr r0 -/* 8024348C 002403CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243490 002403D0 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80243494 002403D4 4B FF F7 09 */ bl getDoorNode__Q34Game4Cave8UnitInfoFi -/* 80243498 002403D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024349C 002403DC 7C 08 03 A6 */ mtlr r0 -/* 802434A0 002403E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802434A4 002403E4 4E 80 00 20 */ blr - -.global getAdjustNode__Q34Game4Cave7MapNodeFi -getAdjustNode__Q34Game4Cave7MapNodeFi: -/* 802434A8 002403E8 80 63 00 18 */ lwz r3, 0x18(r3) -/* 802434AC 002403EC 1C 04 00 1C */ mulli r0, r4, 0x1c -/* 802434B0 002403F0 80 63 00 04 */ lwz r3, 4(r3) -/* 802434B4 002403F4 7C 63 02 14 */ add r3, r3, r0 -/* 802434B8 002403F8 4E 80 00 20 */ blr - -.global isGateSetDoor__Q34Game4Cave7MapNodeFi -isGateSetDoor__Q34Game4Cave7MapNodeFi: -/* 802434BC 002403FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802434C0 00240400 7C 08 02 A6 */ mflr r0 -/* 802434C4 00240404 90 01 00 24 */ stw r0, 0x24(r1) -/* 802434C8 00240408 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802434CC 0024040C 7C 7F 1B 78 */ mr r31, r3 -/* 802434D0 00240410 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802434D4 00240414 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802434D8 00240418 93 81 00 10 */ stw r28, 0x10(r1) -/* 802434DC 0024041C 7C 9C 23 78 */ mr r28, r4 -/* 802434E0 00240420 80 63 00 20 */ lwz r3, 0x20(r3) -/* 802434E4 00240424 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 802434E8 00240428 48 00 00 2C */ b lbl_80243514 -lbl_802434EC: -/* 802434EC 0024042C 7F C3 F3 78 */ mr r3, r30 -/* 802434F0 00240430 81 9E 00 00 */ lwz r12, 0(r30) -/* 802434F4 00240434 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802434F8 00240438 7D 89 03 A6 */ mtctr r12 -/* 802434FC 0024043C 4E 80 04 21 */ bctrl -/* 80243500 00240440 7C 1C 18 00 */ cmpw r28, r3 -/* 80243504 00240444 40 82 00 0C */ bne lbl_80243510 -/* 80243508 00240448 38 60 00 01 */ li r3, 1 -/* 8024350C 0024044C 48 00 00 F4 */ b lbl_80243600 -lbl_80243510: -/* 80243510 00240450 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80243514: -/* 80243514 00240454 28 1E 00 00 */ cmplwi r30, 0 -/* 80243518 00240458 40 82 FF D4 */ bne lbl_802434EC -/* 8024351C 0024045C 1F DC 00 0C */ mulli r30, r28, 0xc -/* 80243520 00240460 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80243524 00240464 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 80243528 00240468 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8024352C 0024046C 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 80243530 00240470 48 00 00 38 */ b lbl_80243568 -lbl_80243534: -/* 80243534 00240474 7F A3 EB 78 */ mr r3, r29 -/* 80243538 00240478 81 9D 00 00 */ lwz r12, 0(r29) -/* 8024353C 0024047C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80243540 00240480 7D 89 03 A6 */ mtctr r12 -/* 80243544 00240484 4E 80 04 21 */ bctrl -/* 80243548 00240488 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8024354C 0024048C 38 04 00 04 */ addi r0, r4, 4 -/* 80243550 00240490 7C 1E 00 2E */ lwzx r0, r30, r0 -/* 80243554 00240494 7C 00 18 00 */ cmpw r0, r3 -/* 80243558 00240498 40 82 00 0C */ bne lbl_80243564 -/* 8024355C 0024049C 38 60 00 01 */ li r3, 1 -/* 80243560 002404A0 48 00 00 A0 */ b lbl_80243600 -lbl_80243564: -/* 80243564 002404A4 83 BD 00 04 */ lwz r29, 4(r29) -lbl_80243568: -/* 80243568 002404A8 28 1D 00 00 */ cmplwi r29, 0 -/* 8024356C 002404AC 40 82 FF C8 */ bne lbl_80243534 -/* 80243570 002404B0 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80243574 002404B4 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 80243578 002404B8 48 00 00 2C */ b lbl_802435A4 -lbl_8024357C: -/* 8024357C 002404BC 7F A3 EB 78 */ mr r3, r29 -/* 80243580 002404C0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80243584 002404C4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80243588 002404C8 7D 89 03 A6 */ mtctr r12 -/* 8024358C 002404CC 4E 80 04 21 */ bctrl -/* 80243590 002404D0 7C 1C 18 00 */ cmpw r28, r3 -/* 80243594 002404D4 40 82 00 0C */ bne lbl_802435A0 -/* 80243598 002404D8 38 60 00 01 */ li r3, 1 -/* 8024359C 002404DC 48 00 00 64 */ b lbl_80243600 -lbl_802435A0: -/* 802435A0 002404E0 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802435A4: -/* 802435A4 002404E4 28 1D 00 00 */ cmplwi r29, 0 -/* 802435A8 002404E8 40 82 FF D4 */ bne lbl_8024357C -/* 802435AC 002404EC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 802435B0 002404F0 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 802435B4 002404F4 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 802435B8 002404F8 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 802435BC 002404FC 48 00 00 38 */ b lbl_802435F4 -lbl_802435C0: -/* 802435C0 00240500 7F A3 EB 78 */ mr r3, r29 -/* 802435C4 00240504 81 9D 00 00 */ lwz r12, 0(r29) -/* 802435C8 00240508 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802435CC 0024050C 7D 89 03 A6 */ mtctr r12 -/* 802435D0 00240510 4E 80 04 21 */ bctrl -/* 802435D4 00240514 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 802435D8 00240518 38 04 00 04 */ addi r0, r4, 4 -/* 802435DC 0024051C 7C 1E 00 2E */ lwzx r0, r30, r0 -/* 802435E0 00240520 7C 00 18 00 */ cmpw r0, r3 -/* 802435E4 00240524 40 82 00 0C */ bne lbl_802435F0 -/* 802435E8 00240528 38 60 00 01 */ li r3, 1 -/* 802435EC 0024052C 48 00 00 14 */ b lbl_80243600 -lbl_802435F0: -/* 802435F0 00240530 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802435F4: -/* 802435F4 00240534 28 1D 00 00 */ cmplwi r29, 0 -/* 802435F8 00240538 40 82 FF C8 */ bne lbl_802435C0 -/* 802435FC 0024053C 38 60 00 00 */ li r3, 0 -lbl_80243600: -/* 80243600 00240540 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80243604 00240544 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80243608 00240548 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024360C 0024054C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80243610 00240550 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80243614 00240554 7C 08 03 A6 */ mtlr r0 -/* 80243618 00240558 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024361C 0024055C 4E 80 00 20 */ blr - -.global getGateScore__Q34Game4Cave7MapNodeFi -getGateScore__Q34Game4Cave7MapNodeFi: -/* 80243620 00240560 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80243624 00240564 7C 08 02 A6 */ mflr r0 -/* 80243628 00240568 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024362C 0024056C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80243630 00240570 7C 7C 1B 78 */ mr r28, r3 -/* 80243634 00240574 7C 9D 23 78 */ mr r29, r4 -/* 80243638 00240578 3B C0 00 00 */ li r30, 0 -/* 8024363C 0024057C 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80243640 00240580 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80243644 00240584 48 00 00 50 */ b lbl_80243694 -lbl_80243648: -/* 80243648 00240588 7F E3 FB 78 */ mr r3, r31 -/* 8024364C 0024058C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80243650 00240590 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80243654 00240594 7D 89 03 A6 */ mtctr r12 -/* 80243658 00240598 4E 80 04 21 */ bctrl -/* 8024365C 0024059C 7C 1D 18 00 */ cmpw r29, r3 -/* 80243660 002405A0 40 82 00 30 */ bne lbl_80243690 -/* 80243664 002405A4 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80243668 002405A8 38 00 03 E8 */ li r0, 0x3e8 -/* 8024366C 002405AC 80 63 00 00 */ lwz r3, 0(r3) -/* 80243670 002405B0 28 03 00 00 */ cmplwi r3, 0 -/* 80243674 002405B4 41 82 00 14 */ beq lbl_80243688 -/* 80243678 002405B8 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8024367C 002405BC FC 00 00 1E */ fctiwz f0, f0 -/* 80243680 002405C0 D8 01 00 08 */ stfd f0, 8(r1) -/* 80243684 002405C4 80 01 00 0C */ lwz r0, 0xc(r1) -lbl_80243688: -/* 80243688 002405C8 7C 1E 03 78 */ mr r30, r0 -/* 8024368C 002405CC 48 00 00 10 */ b lbl_8024369C -lbl_80243690: -/* 80243690 002405D0 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80243694: -/* 80243694 002405D4 28 1F 00 00 */ cmplwi r31, 0 -/* 80243698 002405D8 40 82 FF B0 */ bne lbl_80243648 -lbl_8024369C: -/* 8024369C 002405DC 1F FD 00 0C */ mulli r31, r29, 0xc -/* 802436A0 002405E0 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 802436A4 002405E4 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802436A8 002405E8 80 63 00 20 */ lwz r3, 0x20(r3) -/* 802436AC 002405EC 83 63 00 10 */ lwz r27, 0x10(r3) -/* 802436B0 002405F0 48 00 00 5C */ b lbl_8024370C -lbl_802436B4: -/* 802436B4 002405F4 7F 63 DB 78 */ mr r3, r27 -/* 802436B8 002405F8 81 9B 00 00 */ lwz r12, 0(r27) -/* 802436BC 002405FC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802436C0 00240600 7D 89 03 A6 */ mtctr r12 -/* 802436C4 00240604 4E 80 04 21 */ bctrl -/* 802436C8 00240608 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 802436CC 0024060C 38 04 00 04 */ addi r0, r4, 4 -/* 802436D0 00240610 7C 1F 00 2E */ lwzx r0, r31, r0 -/* 802436D4 00240614 7C 00 18 00 */ cmpw r0, r3 -/* 802436D8 00240618 40 82 00 30 */ bne lbl_80243708 -/* 802436DC 0024061C 80 7B 00 18 */ lwz r3, 0x18(r27) -/* 802436E0 00240620 38 00 03 E8 */ li r0, 0x3e8 -/* 802436E4 00240624 80 63 00 00 */ lwz r3, 0(r3) -/* 802436E8 00240628 28 03 00 00 */ cmplwi r3, 0 -/* 802436EC 0024062C 41 82 00 14 */ beq lbl_80243700 -/* 802436F0 00240630 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 802436F4 00240634 FC 00 00 1E */ fctiwz f0, f0 -/* 802436F8 00240638 D8 01 00 08 */ stfd f0, 8(r1) -/* 802436FC 0024063C 80 01 00 0C */ lwz r0, 0xc(r1) -lbl_80243700: -/* 80243700 00240640 7F DE 02 14 */ add r30, r30, r0 -/* 80243704 00240644 48 00 00 10 */ b lbl_80243714 -lbl_80243708: -/* 80243708 00240648 83 7B 00 04 */ lwz r27, 4(r27) -lbl_8024370C: -/* 8024370C 0024064C 28 1B 00 00 */ cmplwi r27, 0 -/* 80243710 00240650 40 82 FF A4 */ bne lbl_802436B4 -lbl_80243714: -/* 80243714 00240654 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80243718 00240658 83 63 00 10 */ lwz r27, 0x10(r3) -/* 8024371C 0024065C 48 00 00 2C */ b lbl_80243748 -lbl_80243720: -/* 80243720 00240660 7F 63 DB 78 */ mr r3, r27 -/* 80243724 00240664 81 9B 00 00 */ lwz r12, 0(r27) -/* 80243728 00240668 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8024372C 0024066C 7D 89 03 A6 */ mtctr r12 -/* 80243730 00240670 4E 80 04 21 */ bctrl -/* 80243734 00240674 7C 1D 18 00 */ cmpw r29, r3 -/* 80243738 00240678 40 82 00 0C */ bne lbl_80243744 -/* 8024373C 0024067C 3B DE 00 05 */ addi r30, r30, 5 -/* 80243740 00240680 48 00 00 10 */ b lbl_80243750 -lbl_80243744: -/* 80243744 00240684 83 7B 00 04 */ lwz r27, 4(r27) -lbl_80243748: -/* 80243748 00240688 28 1B 00 00 */ cmplwi r27, 0 -/* 8024374C 0024068C 40 82 FF D4 */ bne lbl_80243720 -lbl_80243750: -/* 80243750 00240690 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80243754 00240694 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80243758 00240698 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8024375C 0024069C 83 63 00 10 */ lwz r27, 0x10(r3) -/* 80243760 002406A0 48 00 00 38 */ b lbl_80243798 -lbl_80243764: -/* 80243764 002406A4 7F 63 DB 78 */ mr r3, r27 -/* 80243768 002406A8 81 9B 00 00 */ lwz r12, 0(r27) -/* 8024376C 002406AC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80243770 002406B0 7D 89 03 A6 */ mtctr r12 -/* 80243774 002406B4 4E 80 04 21 */ bctrl -/* 80243778 002406B8 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 8024377C 002406BC 38 04 00 04 */ addi r0, r4, 4 -/* 80243780 002406C0 7C 1F 00 2E */ lwzx r0, r31, r0 -/* 80243784 002406C4 7C 00 18 00 */ cmpw r0, r3 -/* 80243788 002406C8 40 82 00 0C */ bne lbl_80243794 -/* 8024378C 002406CC 3B DE 00 05 */ addi r30, r30, 5 -/* 80243790 002406D0 48 00 00 10 */ b lbl_802437A0 -lbl_80243794: -/* 80243794 002406D4 83 7B 00 04 */ lwz r27, 4(r27) -lbl_80243798: -/* 80243798 002406D8 28 1B 00 00 */ cmplwi r27, 0 -/* 8024379C 002406DC 40 82 FF C8 */ bne lbl_80243764 -lbl_802437A0: -/* 802437A0 002406E0 7F C3 F3 78 */ mr r3, r30 -/* 802437A4 002406E4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 802437A8 002406E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802437AC 002406EC 7C 08 03 A6 */ mtlr r0 -/* 802437B0 002406F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802437B4 002406F4 4E 80 00 20 */ blr - -.global setEnemyScore__Q34Game4Cave7MapNodeFv -setEnemyScore__Q34Game4Cave7MapNodeFv: -/* 802437B8 002406F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802437BC 002406FC 7C 08 02 A6 */ mflr r0 -/* 802437C0 00240700 90 01 00 24 */ stw r0, 0x24(r1) -/* 802437C4 00240704 38 00 00 00 */ li r0, 0 -/* 802437C8 00240708 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802437CC 0024070C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802437D0 00240710 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802437D4 00240714 7C 7D 1B 78 */ mr r29, r3 -/* 802437D8 00240718 90 03 00 34 */ stw r0, 0x34(r3) -/* 802437DC 0024071C 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 802437E0 00240720 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 802437E4 00240724 48 00 00 5C */ b lbl_80243840 -lbl_802437E8: -/* 802437E8 00240728 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 802437EC 0024072C 7F E3 FB 78 */ mr r3, r31 -/* 802437F0 00240730 3B C0 00 00 */ li r30, 0 -/* 802437F4 00240734 28 04 00 00 */ cmplwi r4, 0 -/* 802437F8 00240738 41 82 00 24 */ beq lbl_8024381C -/* 802437FC 0024073C 80 04 00 18 */ lwz r0, 0x18(r4) -/* 80243800 00240740 2C 00 00 00 */ cmpwi r0, 0 -/* 80243804 00240744 40 82 00 0C */ bne lbl_80243810 -/* 80243808 00240748 3B C0 00 02 */ li r30, 2 -/* 8024380C 0024074C 48 00 00 10 */ b lbl_8024381C -lbl_80243810: -/* 80243810 00240750 2C 00 00 01 */ cmpwi r0, 1 -/* 80243814 00240754 40 82 00 08 */ bne lbl_8024381C -/* 80243818 00240758 3B C0 00 0A */ li r30, 0xa -lbl_8024381C: -/* 8024381C 0024075C 81 83 00 00 */ lwz r12, 0(r3) -/* 80243820 00240760 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80243824 00240764 7D 89 03 A6 */ mtctr r12 -/* 80243828 00240768 4E 80 04 21 */ bctrl -/* 8024382C 0024076C 7C 7E 19 D6 */ mullw r3, r30, r3 -/* 80243830 00240770 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 80243834 00240774 7C 00 1A 14 */ add r0, r0, r3 -/* 80243838 00240778 90 1D 00 34 */ stw r0, 0x34(r29) -/* 8024383C 0024077C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80243840: -/* 80243840 00240780 28 1F 00 00 */ cmplwi r31, 0 -/* 80243844 00240784 40 82 FF A4 */ bne lbl_802437E8 -/* 80243848 00240788 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024384C 0024078C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80243850 00240790 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80243854 00240794 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80243858 00240798 7C 08 03 A6 */ mtlr r0 -/* 8024385C 0024079C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80243860 002407A0 4E 80 00 20 */ blr - -.global setNodeScore__Q34Game4Cave7MapNodeFi -setNodeScore__Q34Game4Cave7MapNodeFi: -/* 80243864 002407A4 90 83 00 38 */ stw r4, 0x38(r3) -/* 80243868 002407A8 4E 80 00 20 */ blr - -.global copyNodeScoreToVersusScore__Q34Game4Cave7MapNodeFv -copyNodeScoreToVersusScore__Q34Game4Cave7MapNodeFv: -/* 8024386C 002407AC 80 03 00 38 */ lwz r0, 0x38(r3) -/* 80243870 002407B0 90 03 00 3C */ stw r0, 0x3c(r3) -/* 80243874 002407B4 4E 80 00 20 */ blr - -.global subNodeScoreToVersusScore__Q34Game4Cave7MapNodeFv -subNodeScoreToVersusScore__Q34Game4Cave7MapNodeFv: -/* 80243878 002407B8 80 83 00 38 */ lwz r4, 0x38(r3) -/* 8024387C 002407BC 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 80243880 002407C0 7C 04 00 50 */ subf r0, r4, r0 -/* 80243884 002407C4 90 03 00 3C */ stw r0, 0x3c(r3) -/* 80243888 002407C8 4E 80 00 20 */ blr - -.global draw__Q34Game4Cave7MapNodeFfff -draw__Q34Game4Cave7MapNodeFfff: -/* 8024388C 002407CC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80243890 002407D0 7C 08 02 A6 */ mflr r0 -/* 80243894 002407D4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80243898 002407D8 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8024389C 002407DC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 802438A0 002407E0 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 802438A4 002407E4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 802438A8 002407E8 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 802438AC 002407EC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 802438B0 002407F0 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 802438B4 002407F4 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 802438B8 002407F8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802438BC 002407FC 7C 7F 1B 78 */ mr r31, r3 -/* 802438C0 00240800 3C 80 43 30 */ lis r4, 0x4330 -/* 802438C4 00240804 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 802438C8 00240808 FF 80 18 90 */ fmr f28, f3 -/* 802438CC 0024080C 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 802438D0 00240810 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802438D4 00240814 90 81 00 08 */ stw r4, 8(r1) -/* 802438D8 00240818 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802438DC 0024081C C8 82 C3 80 */ lfd f4, lbl_8051A6E0@sda21(r2) -/* 802438E0 00240820 90 61 00 0C */ stw r3, 0xc(r1) -/* 802438E4 00240824 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 802438E8 00240828 C8 01 00 08 */ lfd f0, 8(r1) -/* 802438EC 0024082C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802438F0 00240830 EC 60 20 28 */ fsubs f3, f0, f4 -/* 802438F4 00240834 90 81 00 10 */ stw r4, 0x10(r1) -/* 802438F8 00240838 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802438FC 0024083C EF E3 0F 3A */ fmadds f31, f3, f28, f1 -/* 80243900 00240840 EC 00 20 28 */ fsubs f0, f0, f4 -/* 80243904 00240844 EF C0 17 3A */ fmadds f30, f0, f28, f2 -/* 80243908 00240848 4B FF F2 7D */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 8024390C 0024084C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80243910 00240850 3C 00 43 30 */ lis r0, 0x4330 -/* 80243914 00240854 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80243918 00240858 C8 22 C3 80 */ lfd f1, lbl_8051A6E0@sda21(r2) -/* 8024391C 0024085C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80243920 00240860 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80243924 00240864 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 80243928 00240868 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8024392C 0024086C EF BC F8 3A */ fmadds f29, f28, f0, f31 -/* 80243930 00240870 4B FF F2 5D */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80243934 00240874 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80243938 00240878 3C 00 43 30 */ lis r0, 0x4330 -/* 8024393C 0024087C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80243940 00240880 FC 20 F8 90 */ fmr f1, f31 -/* 80243944 00240884 C8 82 C3 80 */ lfd f4, lbl_8051A6E0@sda21(r2) -/* 80243948 00240888 FC 40 F0 90 */ fmr f2, f30 -/* 8024394C 0024088C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80243950 00240890 FC 60 E8 90 */ fmr f3, f29 -/* 80243954 00240894 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80243958 00240898 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8024395C 0024089C EC 00 20 28 */ fsubs f0, f0, f4 -/* 80243960 002408A0 EC 9C F0 3A */ fmadds f4, f28, f0, f30 -/* 80243964 002408A4 4B FF F2 69 */ bl draw__Q34Game4Cave8UnitInfoFffff -/* 80243968 002408A8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8024396C 002408AC CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80243970 002408B0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80243974 002408B4 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80243978 002408B8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8024397C 002408BC CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80243980 002408C0 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 80243984 002408C4 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 80243988 002408C8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8024398C 002408CC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80243990 002408D0 7C 08 03 A6 */ mtlr r0 -/* 80243994 002408D4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80243998 002408D8 4E 80 00 20 */ blr - -.global getNodeOffsetX__Q34Game4Cave7MapNodeFv -getNodeOffsetX__Q34Game4Cave7MapNodeFv: -/* 8024399C 002408DC 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 802439A0 002408E0 4E 80 00 20 */ blr - -.global getNodeOffsetY__Q34Game4Cave7MapNodeFv -getNodeOffsetY__Q34Game4Cave7MapNodeFv: -/* 802439A4 002408E4 80 63 00 30 */ lwz r3, 0x30(r3) -/* 802439A8 002408E8 4E 80 00 20 */ blr - -.global getEnemyScore__Q34Game4Cave7MapNodeFv -getEnemyScore__Q34Game4Cave7MapNodeFv: -/* 802439AC 002408EC 80 63 00 34 */ lwz r3, 0x34(r3) -/* 802439B0 002408F0 4E 80 00 20 */ blr - -.global getNodeScore__Q34Game4Cave7MapNodeFv -getNodeScore__Q34Game4Cave7MapNodeFv: -/* 802439B4 002408F4 80 63 00 38 */ lwz r3, 0x38(r3) -/* 802439B8 002408F8 4E 80 00 20 */ blr - -.global getVersusScore__Q34Game4Cave7MapNodeFv -getVersusScore__Q34Game4Cave7MapNodeFv: -/* 802439BC 002408FC 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 802439C0 00240900 4E 80 00 20 */ blr - -.global getUnitName__Q34Game4Cave7MapNodeFv -getUnitName__Q34Game4Cave7MapNodeFv: -/* 802439C4 00240904 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802439C8 00240908 7C 08 02 A6 */ mflr r0 -/* 802439CC 0024090C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802439D0 00240910 80 63 00 18 */ lwz r3, 0x18(r3) -/* 802439D4 00240914 4B FF F1 99 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 802439D8 00240918 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802439DC 0024091C 7C 08 03 A6 */ mtlr r0 -/* 802439E0 00240920 38 21 00 10 */ addi r1, r1, 0x10 -/* 802439E4 00240924 4E 80 00 20 */ blr - -.global getNodeCentreOffset__Q34Game4Cave7MapNodeFRfRf -getNodeCentreOffset__Q34Game4Cave7MapNodeFRfRf: -/* 802439E8 00240928 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802439EC 0024092C 7C 08 02 A6 */ mflr r0 -/* 802439F0 00240930 90 01 00 44 */ stw r0, 0x44(r1) -/* 802439F4 00240934 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802439F8 00240938 7C BF 2B 78 */ mr r31, r5 -/* 802439FC 0024093C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80243A00 00240940 7C 9E 23 78 */ mr r30, r4 -/* 80243A04 00240944 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80243A08 00240948 7C 7D 1B 78 */ mr r29, r3 -/* 80243A0C 0024094C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80243A10 00240950 4B FF F1 75 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80243A14 00240954 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 80243A18 00240958 3C 80 43 30 */ lis r4, 0x4330 -/* 80243A1C 0024095C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80243A20 00240960 90 81 00 08 */ stw r4, 8(r1) -/* 80243A24 00240964 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80243A28 00240968 C8 62 C3 80 */ lfd f3, lbl_8051A6E0@sda21(r2) -/* 80243A2C 0024096C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80243A30 00240970 C0 22 C3 88 */ lfs f1, lbl_8051A6E8@sda21(r2) -/* 80243A34 00240974 C8 01 00 08 */ lfd f0, 8(r1) -/* 80243A38 00240978 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243A3C 0024097C EC 40 18 28 */ fsubs f2, f0, f3 -/* 80243A40 00240980 90 81 00 10 */ stw r4, 0x10(r1) -/* 80243A44 00240984 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80243A48 00240988 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80243A4C 0024098C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80243A50 00240990 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80243A54 00240994 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80243A58 00240998 4B FF F1 35 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80243A5C 0024099C 80 1D 00 30 */ lwz r0, 0x30(r29) -/* 80243A60 002409A0 3C 80 43 30 */ lis r4, 0x4330 -/* 80243A64 002409A4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80243A68 002409A8 90 81 00 18 */ stw r4, 0x18(r1) -/* 80243A6C 002409AC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80243A70 002409B0 C8 62 C3 80 */ lfd f3, lbl_8051A6E0@sda21(r2) -/* 80243A74 002409B4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80243A78 002409B8 C0 22 C3 88 */ lfs f1, lbl_8051A6E8@sda21(r2) -/* 80243A7C 002409BC C8 01 00 18 */ lfd f0, 0x18(r1) -/* 80243A80 002409C0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80243A84 002409C4 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80243A88 002409C8 90 81 00 20 */ stw r4, 0x20(r1) -/* 80243A8C 002409CC C8 01 00 20 */ lfd f0, 0x20(r1) -/* 80243A90 002409D0 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80243A94 002409D4 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80243A98 002409D8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80243A9C 002409DC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80243AA0 002409E0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80243AA4 002409E4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80243AA8 002409E8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80243AAC 002409EC 7C 08 03 A6 */ mtlr r0 -/* 80243AB0 002409F0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80243AB4 002409F4 4E 80 00 20 */ blr - -.global getDirection__Q34Game4Cave7MapNodeFv -getDirection__Q34Game4Cave7MapNodeFv: -/* 80243AB8 002409F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80243ABC 002409FC 7C 08 02 A6 */ mflr r0 -/* 80243AC0 00240A00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243AC4 00240A04 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80243AC8 00240A08 4B FF F0 CD */ bl getUnitRotation__Q34Game4Cave8UnitInfoFv -/* 80243ACC 00240A0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80243AD0 00240A10 7C 08 03 A6 */ mtlr r0 -/* 80243AD4 00240A14 38 21 00 10 */ addi r1, r1, 0x10 -/* 80243AD8 00240A18 4E 80 00 20 */ blr - -.global getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen: -/* 80243ADC 00240A1C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80243AE0 00240A20 7C 08 02 A6 */ mflr r0 -/* 80243AE4 00240A24 90 01 00 74 */ stw r0, 0x74(r1) -/* 80243AE8 00240A28 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80243AEC 00240A2C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80243AF0 00240A30 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80243AF4 00240A34 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80243AF8 00240A38 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80243AFC 00240A3C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80243B00 00240A40 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80243B04 00240A44 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80243B08 00240A48 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80243B0C 00240A4C 7C 9E 23 78 */ mr r30, r4 -/* 80243B10 00240A50 7C 7D 1B 78 */ mr r29, r3 -/* 80243B14 00240A54 C3 E2 C3 8C */ lfs f31, lbl_8051A6EC@sda21(r2) -/* 80243B18 00240A58 7C BF 2B 78 */ mr r31, r5 -/* 80243B1C 00240A5C 80 64 00 18 */ lwz r3, 0x18(r4) -/* 80243B20 00240A60 4B FF F0 65 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80243B24 00240A64 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 80243B28 00240A68 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80243B2C 00240A6C 3C 80 43 30 */ lis r4, 0x4330 -/* 80243B30 00240A70 90 61 00 0C */ stw r3, 0xc(r1) -/* 80243B34 00240A74 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80243B38 00240A78 C8 62 C3 80 */ lfd f3, lbl_8051A6E0@sda21(r2) -/* 80243B3C 00240A7C 90 81 00 08 */ stw r4, 8(r1) -/* 80243B40 00240A80 C0 22 C3 88 */ lfs f1, lbl_8051A6E8@sda21(r2) -/* 80243B44 00240A84 C8 01 00 08 */ lfd f0, 8(r1) -/* 80243B48 00240A88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243B4C 00240A8C EC 40 18 28 */ fsubs f2, f0, f3 -/* 80243B50 00240A90 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80243B54 00240A94 90 81 00 10 */ stw r4, 0x10(r1) -/* 80243B58 00240A98 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80243B5C 00240A9C EC 00 18 28 */ fsubs f0, f0, f3 -/* 80243B60 00240AA0 EF C2 00 7A */ fmadds f30, f2, f1, f0 -/* 80243B64 00240AA4 4B FF F0 29 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80243B68 00240AA8 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 80243B6C 00240AAC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80243B70 00240AB0 3C 80 43 30 */ lis r4, 0x4330 -/* 80243B74 00240AB4 C0 02 C3 90 */ lfs f0, lbl_8051A6F0@sda21(r2) -/* 80243B78 00240AB8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80243B7C 00240ABC 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80243B80 00240AC0 C8 82 C3 80 */ lfd f4, lbl_8051A6E0@sda21(r2) -/* 80243B84 00240AC4 EF DE 00 32 */ fmuls f30, f30, f0 -/* 80243B88 00240AC8 90 81 00 18 */ stw r4, 0x18(r1) -/* 80243B8C 00240ACC C0 42 C3 88 */ lfs f2, lbl_8051A6E8@sda21(r2) -/* 80243B90 00240AD0 C8 21 00 18 */ lfd f1, 0x18(r1) -/* 80243B94 00240AD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80243B98 00240AD8 EC 61 20 28 */ fsubs f3, f1, f4 -/* 80243B9C 00240ADC 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80243BA0 00240AE0 90 81 00 20 */ stw r4, 0x20(r1) -/* 80243BA4 00240AE4 C8 21 00 20 */ lfd f1, 0x20(r1) -/* 80243BA8 00240AE8 EC 21 20 28 */ fsubs f1, f1, f4 -/* 80243BAC 00240AEC EF A3 08 BA */ fmadds f29, f3, f2, f1 -/* 80243BB0 00240AF0 EF BD 00 32 */ fmuls f29, f29, f0 -/* 80243BB4 00240AF4 4B FF F0 0D */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 80243BB8 00240AF8 28 03 00 00 */ cmplwi r3, 0 -/* 80243BBC 00240AFC 41 82 00 A4 */ beq lbl_80243C60 -/* 80243BC0 00240B00 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80243BC4 00240B04 48 00 00 94 */ b lbl_80243C58 -lbl_80243BC8: -/* 80243BC8 00240B08 7C 03 F8 40 */ cmplw r3, r31 -/* 80243BCC 00240B0C 40 82 00 88 */ bne lbl_80243C54 -/* 80243BD0 00240B10 C3 FF 00 20 */ lfs f31, 0x20(r31) -/* 80243BD4 00240B14 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80243BD8 00240B18 4B FF EF BD */ bl getUnitRotation__Q34Game4Cave8UnitInfoFv -/* 80243BDC 00240B1C 2C 03 00 02 */ cmpwi r3, 2 -/* 80243BE0 00240B20 41 82 00 4C */ beq lbl_80243C2C -/* 80243BE4 00240B24 40 80 00 14 */ bge lbl_80243BF8 -/* 80243BE8 00240B28 2C 03 00 00 */ cmpwi r3, 0 -/* 80243BEC 00240B2C 41 82 00 18 */ beq lbl_80243C04 -/* 80243BF0 00240B30 40 80 00 28 */ bge lbl_80243C18 -/* 80243BF4 00240B34 48 00 00 6C */ b lbl_80243C60 -lbl_80243BF8: -/* 80243BF8 00240B38 2C 03 00 04 */ cmpwi r3, 4 -/* 80243BFC 00240B3C 40 80 00 64 */ bge lbl_80243C60 -/* 80243C00 00240B40 48 00 00 40 */ b lbl_80243C40 -lbl_80243C04: -/* 80243C04 00240B44 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 80243C08 00240B48 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 80243C0C 00240B4C EF DE 08 2A */ fadds f30, f30, f1 -/* 80243C10 00240B50 EF BD 00 2A */ fadds f29, f29, f0 -/* 80243C14 00240B54 48 00 00 4C */ b lbl_80243C60 -lbl_80243C18: -/* 80243C18 00240B58 C0 3F 00 24 */ lfs f1, 0x24(r31) -/* 80243C1C 00240B5C C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 80243C20 00240B60 EF DE 08 28 */ fsubs f30, f30, f1 -/* 80243C24 00240B64 EF BD 00 2A */ fadds f29, f29, f0 -/* 80243C28 00240B68 48 00 00 38 */ b lbl_80243C60 -lbl_80243C2C: -/* 80243C2C 00240B6C C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 80243C30 00240B70 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 80243C34 00240B74 EF DE 08 28 */ fsubs f30, f30, f1 -/* 80243C38 00240B78 EF BD 00 28 */ fsubs f29, f29, f0 -/* 80243C3C 00240B7C 48 00 00 24 */ b lbl_80243C60 -lbl_80243C40: -/* 80243C40 00240B80 C0 3F 00 24 */ lfs f1, 0x24(r31) -/* 80243C44 00240B84 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 80243C48 00240B88 EF DE 08 2A */ fadds f30, f30, f1 -/* 80243C4C 00240B8C EF BD 00 28 */ fsubs f29, f29, f0 -/* 80243C50 00240B90 48 00 00 10 */ b lbl_80243C60 -lbl_80243C54: -/* 80243C54 00240B94 80 63 00 04 */ lwz r3, 4(r3) -lbl_80243C58: -/* 80243C58 00240B98 28 03 00 00 */ cmplwi r3, 0 -/* 80243C5C 00240B9C 40 82 FF 6C */ bne lbl_80243BC8 -lbl_80243C60: -/* 80243C60 00240BA0 D3 DD 00 00 */ stfs f30, 0(r29) -/* 80243C64 00240BA4 D3 FD 00 04 */ stfs f31, 4(r29) -/* 80243C68 00240BA8 D3 BD 00 08 */ stfs f29, 8(r29) -/* 80243C6C 00240BAC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80243C70 00240BB0 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80243C74 00240BB4 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80243C78 00240BB8 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80243C7C 00240BBC E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80243C80 00240BC0 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80243C84 00240BC4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80243C88 00240BC8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80243C8C 00240BCC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80243C90 00240BD0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80243C94 00240BD4 7C 08 03 A6 */ mtlr r0 -/* 80243C98 00240BD8 38 21 00 70 */ addi r1, r1, 0x70 -/* 80243C9C 00240BDC 4E 80 00 20 */ blr - -.global getDoorGlobalPosition__Q34Game4Cave7MapNodeFi -getDoorGlobalPosition__Q34Game4Cave7MapNodeFi: -/* 80243CA0 00240BE0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80243CA4 00240BE4 7C 08 02 A6 */ mflr r0 -/* 80243CA8 00240BE8 90 01 00 54 */ stw r0, 0x54(r1) -/* 80243CAC 00240BEC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80243CB0 00240BF0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80243CB4 00240BF4 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80243CB8 00240BF8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80243CBC 00240BFC BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80243CC0 00240C00 C3 E2 C3 8C */ lfs f31, lbl_8051A6EC@sda21(r2) -/* 80243CC4 00240C04 7C 9A 23 78 */ mr r26, r4 -/* 80243CC8 00240C08 7C 7F 1B 78 */ mr r31, r3 -/* 80243CCC 00240C0C 7C BE 2B 78 */ mr r30, r5 -/* 80243CD0 00240C10 FF C0 F8 90 */ fmr f30, f31 -/* 80243CD4 00240C14 80 64 00 18 */ lwz r3, 0x18(r4) -/* 80243CD8 00240C18 7F C4 F3 78 */ mr r4, r30 -/* 80243CDC 00240C1C 4B FF EE C1 */ bl getDoorNode__Q34Game4Cave8UnitInfoFi -/* 80243CE0 00240C20 83 A3 00 18 */ lwz r29, 0x18(r3) -/* 80243CE4 00240C24 7F C4 F3 78 */ mr r4, r30 -/* 80243CE8 00240C28 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 80243CEC 00240C2C 4B FF EE B1 */ bl getDoorNode__Q34Game4Cave8UnitInfoFi -/* 80243CF0 00240C30 7C 7E 1B 78 */ mr r30, r3 -/* 80243CF4 00240C34 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80243CF8 00240C38 2C 00 00 02 */ cmpwi r0, 2 -/* 80243CFC 00240C3C 41 82 00 58 */ beq lbl_80243D54 -/* 80243D00 00240C40 40 80 00 14 */ bge lbl_80243D14 -/* 80243D04 00240C44 2C 00 00 00 */ cmpwi r0, 0 -/* 80243D08 00240C48 41 82 00 18 */ beq lbl_80243D20 -/* 80243D0C 00240C4C 40 80 00 28 */ bge lbl_80243D34 -/* 80243D10 00240C50 48 00 00 74 */ b lbl_80243D84 -lbl_80243D14: -/* 80243D14 00240C54 2C 00 00 04 */ cmpwi r0, 4 -/* 80243D18 00240C58 40 80 00 6C */ bge lbl_80243D84 -/* 80243D1C 00240C5C 48 00 00 58 */ b lbl_80243D74 -lbl_80243D20: -/* 80243D20 00240C60 80 7A 00 2C */ lwz r3, 0x2c(r26) -/* 80243D24 00240C64 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80243D28 00240C68 83 7A 00 30 */ lwz r27, 0x30(r26) -/* 80243D2C 00240C6C 7F 83 02 14 */ add r28, r3, r0 -/* 80243D30 00240C70 48 00 00 54 */ b lbl_80243D84 -lbl_80243D34: -/* 80243D34 00240C74 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 80243D38 00240C78 4B FF EE 4D */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80243D3C 00240C7C 80 BA 00 2C */ lwz r5, 0x2c(r26) -/* 80243D40 00240C80 80 9A 00 30 */ lwz r4, 0x30(r26) -/* 80243D44 00240C84 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80243D48 00240C88 7F 85 1A 14 */ add r28, r5, r3 -/* 80243D4C 00240C8C 7F 64 02 14 */ add r27, r4, r0 -/* 80243D50 00240C90 48 00 00 34 */ b lbl_80243D84 -lbl_80243D54: -/* 80243D54 00240C94 80 9A 00 2C */ lwz r4, 0x2c(r26) -/* 80243D58 00240C98 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80243D5C 00240C9C 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 80243D60 00240CA0 7F 84 02 14 */ add r28, r4, r0 -/* 80243D64 00240CA4 4B FF EE 29 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80243D68 00240CA8 80 1A 00 30 */ lwz r0, 0x30(r26) -/* 80243D6C 00240CAC 7F 60 1A 14 */ add r27, r0, r3 -/* 80243D70 00240CB0 48 00 00 14 */ b lbl_80243D84 -lbl_80243D74: -/* 80243D74 00240CB4 80 7A 00 30 */ lwz r3, 0x30(r26) -/* 80243D78 00240CB8 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80243D7C 00240CBC 83 9A 00 2C */ lwz r28, 0x2c(r26) -/* 80243D80 00240CC0 7F 63 02 14 */ add r27, r3, r0 -lbl_80243D84: -/* 80243D84 00240CC4 2C 1D 00 02 */ cmpwi r29, 2 -/* 80243D88 00240CC8 41 82 00 B4 */ beq lbl_80243E3C -/* 80243D8C 00240CCC 40 80 00 14 */ bge lbl_80243DA0 -/* 80243D90 00240CD0 2C 1D 00 00 */ cmpwi r29, 0 -/* 80243D94 00240CD4 41 82 00 18 */ beq lbl_80243DAC -/* 80243D98 00240CD8 40 80 00 5C */ bge lbl_80243DF4 -/* 80243D9C 00240CDC 48 00 01 2C */ b lbl_80243EC8 -lbl_80243DA0: -/* 80243DA0 00240CE0 2C 1D 00 04 */ cmpwi r29, 4 -/* 80243DA4 00240CE4 40 80 01 24 */ bge lbl_80243EC8 -/* 80243DA8 00240CE8 48 00 00 DC */ b lbl_80243E84 -lbl_80243DAC: -/* 80243DAC 00240CEC 3C 60 43 30 */ lis r3, 0x4330 -/* 80243DB0 00240CF0 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 80243DB4 00240CF4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80243DB8 00240CF8 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80243DBC 00240CFC C8 42 C3 80 */ lfd f2, lbl_8051A6E0@sda21(r2) -/* 80243DC0 00240D00 90 61 00 08 */ stw r3, 8(r1) -/* 80243DC4 00240D04 C0 62 C3 88 */ lfs f3, lbl_8051A6E8@sda21(r2) -/* 80243DC8 00240D08 C8 01 00 08 */ lfd f0, 8(r1) -/* 80243DCC 00240D0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243DD0 00240D10 EC 20 10 28 */ fsubs f1, f0, f2 -/* 80243DD4 00240D14 C0 82 C3 90 */ lfs f4, lbl_8051A6F0@sda21(r2) -/* 80243DD8 00240D18 90 61 00 10 */ stw r3, 0x10(r1) -/* 80243DDC 00240D1C C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80243DE0 00240D20 EC 23 08 2A */ fadds f1, f3, f1 -/* 80243DE4 00240D24 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80243DE8 00240D28 EF E4 00 72 */ fmuls f31, f4, f1 -/* 80243DEC 00240D2C EF C4 00 32 */ fmuls f30, f4, f0 -/* 80243DF0 00240D30 48 00 00 D8 */ b lbl_80243EC8 -lbl_80243DF4: -/* 80243DF4 00240D34 3C 60 43 30 */ lis r3, 0x4330 -/* 80243DF8 00240D38 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80243DFC 00240D3C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80243E00 00240D40 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 80243E04 00240D44 C8 62 C3 80 */ lfd f3, lbl_8051A6E0@sda21(r2) -/* 80243E08 00240D48 90 61 00 08 */ stw r3, 8(r1) -/* 80243E0C 00240D4C C0 22 C3 88 */ lfs f1, lbl_8051A6E8@sda21(r2) -/* 80243E10 00240D50 C8 01 00 08 */ lfd f0, 8(r1) -/* 80243E14 00240D54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243E18 00240D58 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80243E1C 00240D5C C0 82 C3 90 */ lfs f4, lbl_8051A6F0@sda21(r2) -/* 80243E20 00240D60 90 61 00 10 */ stw r3, 0x10(r1) -/* 80243E24 00240D64 C8 41 00 10 */ lfd f2, 0x10(r1) -/* 80243E28 00240D68 EC 01 00 2A */ fadds f0, f1, f0 -/* 80243E2C 00240D6C EC 22 18 28 */ fsubs f1, f2, f3 -/* 80243E30 00240D70 EF C4 00 32 */ fmuls f30, f4, f0 -/* 80243E34 00240D74 EF E4 00 72 */ fmuls f31, f4, f1 -/* 80243E38 00240D78 48 00 00 90 */ b lbl_80243EC8 -lbl_80243E3C: -/* 80243E3C 00240D7C 3C 60 43 30 */ lis r3, 0x4330 -/* 80243E40 00240D80 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 80243E44 00240D84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243E48 00240D88 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80243E4C 00240D8C C8 42 C3 80 */ lfd f2, lbl_8051A6E0@sda21(r2) -/* 80243E50 00240D90 90 61 00 10 */ stw r3, 0x10(r1) -/* 80243E54 00240D94 C0 62 C3 88 */ lfs f3, lbl_8051A6E8@sda21(r2) -/* 80243E58 00240D98 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80243E5C 00240D9C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80243E60 00240DA0 EC 20 10 28 */ fsubs f1, f0, f2 -/* 80243E64 00240DA4 C0 82 C3 90 */ lfs f4, lbl_8051A6F0@sda21(r2) -/* 80243E68 00240DA8 90 61 00 08 */ stw r3, 8(r1) -/* 80243E6C 00240DAC C8 01 00 08 */ lfd f0, 8(r1) -/* 80243E70 00240DB0 EC 23 08 2A */ fadds f1, f3, f1 -/* 80243E74 00240DB4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80243E78 00240DB8 EF E4 00 72 */ fmuls f31, f4, f1 -/* 80243E7C 00240DBC EF C4 00 32 */ fmuls f30, f4, f0 -/* 80243E80 00240DC0 48 00 00 48 */ b lbl_80243EC8 -lbl_80243E84: -/* 80243E84 00240DC4 3C 60 43 30 */ lis r3, 0x43300018@ha -/* 80243E88 00240DC8 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80243E8C 00240DCC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80243E90 00240DD0 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 80243E94 00240DD4 C8 62 C3 80 */ lfd f3, lbl_8051A6E0@sda21(r2) -/* 80243E98 00240DD8 90 61 00 08 */ stw r3, 8(r1) -/* 80243E9C 00240DDC C0 22 C3 88 */ lfs f1, lbl_8051A6E8@sda21(r2) -/* 80243EA0 00240DE0 C8 01 00 08 */ lfd f0, 8(r1) -/* 80243EA4 00240DE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243EA8 00240DE8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80243EAC 00240DEC C0 82 C3 90 */ lfs f4, lbl_8051A6F0@sda21(r2) -/* 80243EB0 00240DF0 90 61 00 10 */ stw r3, 0x10(r1) -/* 80243EB4 00240DF4 C8 41 00 10 */ lfd f2, 0x10(r1) -/* 80243EB8 00240DF8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80243EBC 00240DFC EC 22 18 28 */ fsubs f1, f2, f3 -/* 80243EC0 00240E00 EF C4 00 32 */ fmuls f30, f4, f0 -/* 80243EC4 00240E04 EF E4 00 72 */ fmuls f31, f4, f1 -lbl_80243EC8: -/* 80243EC8 00240E08 D3 FF 00 00 */ stfs f31, 0(r31) -/* 80243ECC 00240E0C C0 02 C3 8C */ lfs f0, lbl_8051A6EC@sda21(r2) -/* 80243ED0 00240E10 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80243ED4 00240E14 D3 DF 00 08 */ stfs f30, 8(r31) -/* 80243ED8 00240E18 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80243EDC 00240E1C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80243EE0 00240E20 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80243EE4 00240E24 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80243EE8 00240E28 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80243EEC 00240E2C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80243EF0 00240E30 7C 08 03 A6 */ mtlr r0 -/* 80243EF4 00240E34 38 21 00 50 */ addi r1, r1, 0x50 -/* 80243EF8 00240E38 4E 80 00 20 */ blr - -.global getBaseGenGlobalDirection__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -getBaseGenGlobalDirection__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen: -/* 80243EFC 00240E3C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80243F00 00240E40 7C 08 02 A6 */ mflr r0 -/* 80243F04 00240E44 90 01 00 34 */ stw r0, 0x34(r1) -/* 80243F08 00240E48 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80243F0C 00240E4C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80243F10 00240E50 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80243F14 00240E54 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80243F18 00240E58 7C 7E 1B 78 */ mr r30, r3 -/* 80243F1C 00240E5C 7C 9F 23 78 */ mr r31, r4 -/* 80243F20 00240E60 80 63 00 18 */ lwz r3, 0x43300018@l(r3) -/* 80243F24 00240E64 4B FF EC 71 */ bl getUnitRotation__Q34Game4Cave8UnitInfoFv -/* 80243F28 00240E68 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80243F2C 00240E6C 3C 00 43 30 */ lis r0, 0x4330 -/* 80243F30 00240E70 90 61 00 0C */ stw r3, 0xc(r1) -/* 80243F34 00240E74 C8 62 C3 80 */ lfd f3, lbl_8051A6E0@sda21(r2) -/* 80243F38 00240E78 90 01 00 08 */ stw r0, 8(r1) -/* 80243F3C 00240E7C C0 22 C3 94 */ lfs f1, lbl_8051A6F4@sda21(r2) -/* 80243F40 00240E80 C8 41 00 08 */ lfd f2, 8(r1) -/* 80243F44 00240E84 C0 02 C3 8C */ lfs f0, lbl_8051A6EC@sda21(r2) -/* 80243F48 00240E88 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80243F4C 00240E8C EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80243F50 00240E90 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80243F54 00240E94 40 80 00 10 */ bge lbl_80243F64 -/* 80243F58 00240E98 C0 02 C3 98 */ lfs f0, lbl_8051A6F8@sda21(r2) -/* 80243F5C 00240E9C EC 20 08 2A */ fadds f1, f0, f1 -/* 80243F60 00240EA0 48 00 00 18 */ b lbl_80243F78 -lbl_80243F64: -/* 80243F64 00240EA4 C0 02 C3 98 */ lfs f0, lbl_8051A6F8@sda21(r2) -/* 80243F68 00240EA8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80243F6C 00240EAC 4C 41 13 82 */ cror 2, 1, 2 -/* 80243F70 00240EB0 40 82 00 08 */ bne lbl_80243F78 -/* 80243F74 00240EB4 EC 21 00 28 */ fsubs f1, f1, f0 -lbl_80243F78: -/* 80243F78 00240EB8 FF E0 08 90 */ fmr f31, f1 -/* 80243F7C 00240EBC 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80243F80 00240EC0 4B FF EC 41 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 80243F84 00240EC4 28 03 00 00 */ cmplwi r3, 0 -/* 80243F88 00240EC8 41 82 00 3C */ beq lbl_80243FC4 -/* 80243F8C 00240ECC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80243F90 00240ED0 48 00 00 2C */ b lbl_80243FBC -lbl_80243F94: -/* 80243F94 00240ED4 7C 03 F8 40 */ cmplw r3, r31 -/* 80243F98 00240ED8 40 82 00 20 */ bne lbl_80243FB8 -/* 80243F9C 00240EDC C0 42 C3 9C */ lfs f2, lbl_8051A6FC@sda21(r2) -/* 80243FA0 00240EE0 C0 23 00 28 */ lfs f1, 0x28(r3) -/* 80243FA4 00240EE4 C0 02 C3 A0 */ lfs f0, lbl_8051A700@sda21(r2) -/* 80243FA8 00240EE8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80243FAC 00240EEC EC 01 00 24 */ fdivs f0, f1, f0 -/* 80243FB0 00240EF0 EF FF 00 2A */ fadds f31, f31, f0 -/* 80243FB4 00240EF4 48 00 00 10 */ b lbl_80243FC4 -lbl_80243FB8: -/* 80243FB8 00240EF8 80 63 00 04 */ lwz r3, 4(r3) -lbl_80243FBC: -/* 80243FBC 00240EFC 28 03 00 00 */ cmplwi r3, 0 -/* 80243FC0 00240F00 40 82 FF D4 */ bne lbl_80243F94 -lbl_80243FC4: -/* 80243FC4 00240F04 FC 20 F8 90 */ fmr f1, f31 -/* 80243FC8 00240F08 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80243FCC 00240F0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80243FD0 00240F10 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80243FD4 00240F14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80243FD8 00240F18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80243FDC 00240F1C 7C 08 03 A6 */ mtlr r0 -/* 80243FE0 00240F20 38 21 00 30 */ addi r1, r1, 0x30 -/* 80243FE4 00240F24 4E 80 00 20 */ blr - -.global getDoorGlobalDirection__Q34Game4Cave7MapNodeFi -getDoorGlobalDirection__Q34Game4Cave7MapNodeFi: -/* 80243FE8 00240F28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80243FEC 00240F2C 7C 08 02 A6 */ mflr r0 -/* 80243FF0 00240F30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80243FF4 00240F34 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80243FF8 00240F38 4B FF EB A5 */ bl getDoorNode__Q34Game4Cave8UnitInfoFi -/* 80243FFC 00240F3C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244000 00240F40 3C 00 43 30 */ lis r0, 0x4330 -/* 80244004 00240F44 90 01 00 08 */ stw r0, 8(r1) -/* 80244008 00240F48 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024400C 00240F4C C8 42 C3 80 */ lfd f2, lbl_8051A6E0@sda21(r2) -/* 80244010 00240F50 90 01 00 0C */ stw r0, 0xc(r1) -/* 80244014 00240F54 C0 62 C3 94 */ lfs f3, lbl_8051A6F4@sda21(r2) -/* 80244018 00240F58 C8 21 00 08 */ lfd f1, 8(r1) -/* 8024401C 00240F5C C0 02 C3 8C */ lfs f0, lbl_8051A6EC@sda21(r2) -/* 80244020 00240F60 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80244024 00240F64 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80244028 00240F68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024402C 00240F6C 40 80 00 10 */ bge lbl_8024403C -/* 80244030 00240F70 C0 02 C3 98 */ lfs f0, lbl_8051A6F8@sda21(r2) -/* 80244034 00240F74 EC 20 08 2A */ fadds f1, f0, f1 -/* 80244038 00240F78 48 00 00 18 */ b lbl_80244050 -lbl_8024403C: -/* 8024403C 00240F7C C0 02 C3 98 */ lfs f0, lbl_8051A6F8@sda21(r2) -/* 80244040 00240F80 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80244044 00240F84 4C 41 13 82 */ cror 2, 1, 2 -/* 80244048 00240F88 40 82 00 08 */ bne lbl_80244050 -/* 8024404C 00240F8C EC 21 00 28 */ fsubs f1, f1, f0 -lbl_80244050: -/* 80244050 00240F90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80244054 00240F94 7C 08 03 A6 */ mtlr r0 -/* 80244058 00240F98 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024405C 00240F9C 4E 80 00 20 */ blr - -.global getNumDoors__Q34Game4Cave7MapNodeFv -getNumDoors__Q34Game4Cave7MapNodeFv: -/* 80244060 00240FA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80244064 00240FA4 7C 08 02 A6 */ mflr r0 -/* 80244068 00240FA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024406C 00240FAC 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244070 00240FB0 80 63 00 00 */ lwz r3, 0(r3) -/* 80244074 00240FB4 81 83 00 00 */ lwz r12, 0(r3) -/* 80244078 00240FB8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8024407C 00240FBC 7D 89 03 A6 */ mtctr r12 -/* 80244080 00240FC0 4E 80 04 21 */ bctrl -/* 80244084 00240FC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80244088 00240FC8 7C 08 03 A6 */ mtlr r0 -/* 8024408C 00240FCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80244090 00240FD0 4E 80 00 20 */ blr - -.global __dt__Q34Game4Cave7MapNodeFv -__dt__Q34Game4Cave7MapNodeFv: -/* 80244094 00240FD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80244098 00240FD8 7C 08 02 A6 */ mflr r0 -/* 8024409C 00240FDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802440A0 00240FE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802440A4 00240FE4 7C 9F 23 78 */ mr r31, r4 -/* 802440A8 00240FE8 93 C1 00 08 */ stw r30, 8(r1) -/* 802440AC 00240FEC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802440B0 00240FF0 41 82 00 28 */ beq lbl_802440D8 -/* 802440B4 00240FF4 3C A0 80 4C */ lis r5, __vt__Q34Game4Cave7MapNode@ha -/* 802440B8 00240FF8 38 80 00 00 */ li r4, 0 -/* 802440BC 00240FFC 38 05 1A 68 */ addi r0, r5, __vt__Q34Game4Cave7MapNode@l -/* 802440C0 00241000 90 1E 00 00 */ stw r0, 0(r30) -/* 802440C4 00241004 48 1C D4 C5 */ bl __dt__5CNodeFv -/* 802440C8 00241008 7F E0 07 35 */ extsh. r0, r31 -/* 802440CC 0024100C 40 81 00 0C */ ble lbl_802440D8 -/* 802440D0 00241010 7F C3 F3 78 */ mr r3, r30 -/* 802440D4 00241014 4B DD FF E1 */ bl __dl__FPv -lbl_802440D8: -/* 802440D8 00241018 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802440DC 0024101C 7F C3 F3 78 */ mr r3, r30 -/* 802440E0 00241020 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802440E4 00241024 83 C1 00 08 */ lwz r30, 8(r1) -/* 802440E8 00241028 7C 08 03 A6 */ mtlr r0 -/* 802440EC 0024102C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802440F0 00241030 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave9EnemyNodeFv -__ct__Q34Game4Cave9EnemyNodeFv: -/* 802440F4 00241034 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802440F8 00241038 7C 08 02 A6 */ mflr r0 -/* 802440FC 0024103C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80244100 00241040 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80244104 00241044 7C 7F 1B 78 */ mr r31, r3 -/* 80244108 00241048 48 1C D2 89 */ bl __ct__5CNodeFv -/* 8024410C 0024104C 3C 80 80 4C */ lis r4, __vt__Q24Game16ObjectLayoutNode@ha -/* 80244110 00241050 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave9EnemyNode@ha -/* 80244114 00241054 38 04 1A A8 */ addi r0, r4, __vt__Q24Game16ObjectLayoutNode@l -/* 80244118 00241058 38 80 00 00 */ li r4, 0 -/* 8024411C 0024105C 90 1F 00 00 */ stw r0, 0(r31) -/* 80244120 00241060 38 63 1A 78 */ addi r3, r3, __vt__Q34Game4Cave9EnemyNode@l -/* 80244124 00241064 38 00 FF FF */ li r0, -1 -/* 80244128 00241068 C0 02 C3 A8 */ lfs f0, lbl_8051A708@sda21(r2) -/* 8024412C 0024106C 90 7F 00 00 */ stw r3, 0(r31) -/* 80244130 00241070 7F E3 FB 78 */ mr r3, r31 -/* 80244134 00241074 90 9F 00 18 */ stw r4, 0x18(r31) -/* 80244138 00241078 90 9F 00 1C */ stw r4, 0x1c(r31) -/* 8024413C 0024107C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80244140 00241080 90 9F 00 24 */ stw r4, 0x24(r31) -/* 80244144 00241084 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 80244148 00241088 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 8024414C 0024108C D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 80244150 00241090 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80244154 00241094 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80244158 00241098 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024415C 0024109C 7C 08 03 A6 */ mtlr r0 -/* 80244160 002410A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80244164 002410A4 4E 80 00 20 */ blr - -.global __dt__Q24Game16ObjectLayoutNodeFv -__dt__Q24Game16ObjectLayoutNodeFv: -/* 80244168 002410A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024416C 002410AC 7C 08 02 A6 */ mflr r0 -/* 80244170 002410B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80244174 002410B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80244178 002410B8 7C 9F 23 78 */ mr r31, r4 -/* 8024417C 002410BC 93 C1 00 08 */ stw r30, 8(r1) -/* 80244180 002410C0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80244184 002410C4 41 82 00 28 */ beq lbl_802441AC -/* 80244188 002410C8 3C A0 80 4C */ lis r5, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024418C 002410CC 38 80 00 00 */ li r4, 0 -/* 80244190 002410D0 38 05 1A A8 */ addi r0, r5, __vt__Q24Game16ObjectLayoutNode@l -/* 80244194 002410D4 90 1E 00 00 */ stw r0, 0(r30) -/* 80244198 002410D8 48 1C D3 F1 */ bl __dt__5CNodeFv -/* 8024419C 002410DC 7F E0 07 35 */ extsh. r0, r31 -/* 802441A0 002410E0 40 81 00 0C */ ble lbl_802441AC -/* 802441A4 002410E4 7F C3 F3 78 */ mr r3, r30 -/* 802441A8 002410E8 4B DD FF 0D */ bl __dl__FPv -lbl_802441AC: -/* 802441AC 002410EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802441B0 002410F0 7F C3 F3 78 */ mr r3, r30 -/* 802441B4 002410F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802441B8 002410F8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802441BC 002410FC 7C 08 03 A6 */ mtlr r0 -/* 802441C0 00241100 38 21 00 10 */ addi r1, r1, 0x10 -/* 802441C4 00241104 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni -__ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni: -/* 802441C8 00241108 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802441CC 0024110C 7C 08 02 A6 */ mflr r0 -/* 802441D0 00241110 90 01 00 24 */ stw r0, 0x24(r1) -/* 802441D4 00241114 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802441D8 00241118 7C DF 33 78 */ mr r31, r6 -/* 802441DC 0024111C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802441E0 00241120 7C BE 2B 78 */ mr r30, r5 -/* 802441E4 00241124 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802441E8 00241128 7C 9D 23 78 */ mr r29, r4 -/* 802441EC 0024112C 93 81 00 10 */ stw r28, 0x10(r1) -/* 802441F0 00241130 7C 7C 1B 78 */ mr r28, r3 -/* 802441F4 00241134 48 1C D1 9D */ bl __ct__5CNodeFv -/* 802441F8 00241138 3C 80 80 4C */ lis r4, __vt__Q24Game16ObjectLayoutNode@ha -/* 802441FC 0024113C 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave9EnemyNode@ha -/* 80244200 00241140 38 84 1A A8 */ addi r4, r4, __vt__Q24Game16ObjectLayoutNode@l -/* 80244204 00241144 38 00 FF FF */ li r0, -1 -/* 80244208 00241148 90 9C 00 00 */ stw r4, 0(r28) -/* 8024420C 0024114C 38 83 1A 78 */ addi r4, r3, __vt__Q34Game4Cave9EnemyNode@l -/* 80244210 00241150 C0 02 C3 A8 */ lfs f0, lbl_8051A708@sda21(r2) -/* 80244214 00241154 7F 83 E3 78 */ mr r3, r28 -/* 80244218 00241158 90 9C 00 00 */ stw r4, 0(r28) -/* 8024421C 0024115C 93 BC 00 18 */ stw r29, 0x18(r28) -/* 80244220 00241160 93 DC 00 1C */ stw r30, 0x1c(r28) -/* 80244224 00241164 90 1C 00 20 */ stw r0, 0x20(r28) -/* 80244228 00241168 93 FC 00 24 */ stw r31, 0x24(r28) -/* 8024422C 0024116C D0 1C 00 28 */ stfs f0, 0x28(r28) -/* 80244230 00241170 D0 1C 00 34 */ stfs f0, 0x34(r28) -/* 80244234 00241174 D0 1C 00 30 */ stfs f0, 0x30(r28) -/* 80244238 00241178 D0 1C 00 2C */ stfs f0, 0x2c(r28) -/* 8024423C 0024117C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80244240 00241180 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80244244 00241184 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80244248 00241188 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8024424C 0024118C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80244250 00241190 7C 08 03 A6 */ mtlr r0 -/* 80244254 00241194 38 21 00 20 */ addi r1, r1, 0x20 -/* 80244258 00241198 4E 80 00 20 */ blr - -.global makeGlobalData__Q34Game4Cave9EnemyNodeFPQ34Game4Cave7MapNode -makeGlobalData__Q34Game4Cave9EnemyNodeFPQ34Game4Cave7MapNode: -/* 8024425C 0024119C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80244260 002411A0 7C 08 02 A6 */ mflr r0 -/* 80244264 002411A4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80244268 002411A8 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8024426C 002411AC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80244270 002411B0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80244274 002411B4 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80244278 002411B8 7C 7F 1B 78 */ mr r31, r3 -/* 8024427C 002411BC 7C 9E 23 78 */ mr r30, r4 -/* 80244280 002411C0 80 A3 00 1C */ lwz r5, 0x1c(r3) -/* 80244284 002411C4 38 61 00 08 */ addi r3, r1, 8 -/* 80244288 002411C8 4B FF F8 55 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024428C 002411CC C0 01 00 08 */ lfs f0, 8(r1) -/* 80244290 002411D0 7F C3 F3 78 */ mr r3, r30 -/* 80244294 002411D4 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80244298 002411D8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8024429C 002411DC D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 802442A0 002411E0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802442A4 002411E4 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 802442A8 002411E8 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 802442AC 002411EC 4B FF FC 51 */ bl getBaseGenGlobalDirection__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 802442B0 002411F0 D0 3F 00 28 */ stfs f1, 0x28(r31) -/* 802442B4 002411F4 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 802442B8 002411F8 28 03 00 00 */ cmplwi r3, 0 -/* 802442BC 002411FC 41 82 01 28 */ beq lbl_802443E4 -/* 802442C0 00241200 80 03 00 18 */ lwz r0, 0x18(r3) -/* 802442C4 00241204 2C 00 00 00 */ cmpwi r0, 0 -/* 802442C8 00241208 40 82 01 1C */ bne lbl_802443E4 -/* 802442CC 0024120C C3 E3 00 2C */ lfs f31, 0x2c(r3) -/* 802442D0 00241210 4B E8 52 D1 */ bl rand -/* 802442D4 00241214 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802442D8 00241218 3C 00 43 30 */ lis r0, 0x4330 -/* 802442DC 0024121C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802442E0 00241220 C8 42 C3 C0 */ lfd f2, lbl_8051A720@sda21(r2) -/* 802442E4 00241224 90 01 00 18 */ stw r0, 0x18(r1) -/* 802442E8 00241228 C0 02 C3 AC */ lfs f0, lbl_8051A70C@sda21(r2) -/* 802442EC 0024122C C8 21 00 18 */ lfd f1, 0x18(r1) -/* 802442F0 00241230 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802442F4 00241234 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 802442F8 00241238 EF E1 00 24 */ fdivs f31, f1, f0 -/* 802442FC 0024123C 4B E8 52 A5 */ bl rand -/* 80244300 00241240 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80244304 00241244 3C 00 43 30 */ lis r0, 0x4330 -/* 80244308 00241248 90 61 00 24 */ stw r3, 0x24(r1) -/* 8024430C 0024124C C8 62 C3 C0 */ lfd f3, lbl_8051A720@sda21(r2) -/* 80244310 00241250 90 01 00 20 */ stw r0, 0x20(r1) -/* 80244314 00241254 C0 42 C3 B0 */ lfs f2, lbl_8051A710@sda21(r2) -/* 80244318 00241258 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8024431C 0024125C C0 22 C3 AC */ lfs f1, lbl_8051A70C@sda21(r2) -/* 80244320 00241260 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80244324 00241264 C0 02 C3 A8 */ lfs f0, lbl_8051A708@sda21(r2) -/* 80244328 00241268 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8024432C 0024126C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80244330 00241270 D0 3F 00 28 */ stfs f1, 0x28(r31) -/* 80244334 00241274 C0 3F 00 28 */ lfs f1, 0x28(r31) -/* 80244338 00241278 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024433C 0024127C 40 80 00 30 */ bge lbl_8024436C -/* 80244340 00241280 C0 02 C3 B4 */ lfs f0, lbl_8051A714@sda21(r2) -/* 80244344 00241284 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80244348 00241288 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8024434C 0024128C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80244350 00241290 FC 00 00 1E */ fctiwz f0, f0 -/* 80244354 00241294 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 80244358 00241298 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8024435C 0024129C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80244360 002412A0 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80244364 002412A4 FC 40 00 50 */ fneg f2, f0 -/* 80244368 002412A8 48 00 00 28 */ b lbl_80244390 -lbl_8024436C: -/* 8024436C 002412AC C0 02 C3 B8 */ lfs f0, lbl_8051A718@sda21(r2) -/* 80244370 002412B0 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80244374 002412B4 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80244378 002412B8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8024437C 002412BC FC 00 00 1E */ fctiwz f0, f0 -/* 80244380 002412C0 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 80244384 002412C4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80244388 002412C8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8024438C 002412CC 7C 43 04 2E */ lfsx f2, r3, r0 -lbl_80244390: -/* 80244390 002412D0 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 80244394 002412D4 C0 02 C3 A8 */ lfs f0, lbl_8051A708@sda21(r2) -/* 80244398 002412D8 EC 3F 08 BA */ fmadds f1, f31, f2, f1 -/* 8024439C 002412DC D0 3F 00 2C */ stfs f1, 0x2c(r31) -/* 802443A0 002412E0 C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 802443A4 002412E4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802443A8 002412E8 40 80 00 08 */ bge lbl_802443B0 -/* 802443AC 002412EC FC 40 10 50 */ fneg f2, f2 -lbl_802443B0: -/* 802443B0 002412F0 C0 22 C3 B8 */ lfs f1, lbl_8051A718@sda21(r2) -/* 802443B4 002412F4 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 802443B8 002412F8 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 802443BC 002412FC C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 802443C0 00241300 EC 22 00 72 */ fmuls f1, f2, f1 -/* 802443C4 00241304 FC 20 08 1E */ fctiwz f1, f1 -/* 802443C8 00241308 D8 21 00 38 */ stfd f1, 0x38(r1) -/* 802443CC 0024130C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 802443D0 00241310 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802443D4 00241314 7C 63 02 14 */ add r3, r3, r0 -/* 802443D8 00241318 C0 23 00 04 */ lfs f1, 4(r3) -/* 802443DC 0024131C EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 802443E0 00241320 D0 1F 00 34 */ stfs f0, 0x34(r31) -lbl_802443E4: -/* 802443E4 00241324 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802443E8 00241328 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802443EC 0024132C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802443F0 00241330 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802443F4 00241334 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802443F8 00241338 7C 08 03 A6 */ mtlr r0 -/* 802443FC 0024133C 38 21 00 60 */ addi r1, r1, 0x60 -/* 80244400 00241340 4E 80 00 20 */ blr - -.global setGlobalData__Q34Game4Cave9EnemyNodeFR10Vector3$$0f$$1f -setGlobalData__Q34Game4Cave9EnemyNodeFR10Vector3$$0f$$1f: -/* 80244404 00241344 C0 04 00 00 */ lfs f0, 0(r4) -/* 80244408 00241348 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8024440C 0024134C C0 04 00 04 */ lfs f0, 4(r4) -/* 80244410 00241350 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 80244414 00241354 C0 04 00 08 */ lfs f0, 8(r4) -/* 80244418 00241358 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 8024441C 0024135C D0 23 00 28 */ stfs f1, 0x28(r3) -/* 80244420 00241360 4E 80 00 20 */ blr - -.global setBirthDoorIndex__Q34Game4Cave9EnemyNodeFi -setBirthDoorIndex__Q34Game4Cave9EnemyNodeFi: -/* 80244424 00241364 90 83 00 20 */ stw r4, 0x20(r3) -/* 80244428 00241368 4E 80 00 20 */ blr - -.global getObjectId__Q34Game4Cave9EnemyNodeFv -getObjectId__Q34Game4Cave9EnemyNodeFv: -/* 8024442C 0024136C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244430 00241370 80 63 00 00 */ lwz r3, 0(r3) -/* 80244434 00241374 28 03 00 00 */ cmplwi r3, 0 -/* 80244438 00241378 41 82 00 0C */ beq lbl_80244444 -/* 8024443C 0024137C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244440 00241380 4E 80 00 20 */ blr -lbl_80244444: -/* 80244444 00241384 38 60 FF FF */ li r3, -1 -/* 80244448 00241388 4E 80 00 20 */ blr - -.global getExtraCode__Q34Game4Cave9EnemyNodeFv -getExtraCode__Q34Game4Cave9EnemyNodeFv: -/* 8024444C 0024138C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244450 00241390 80 63 00 00 */ lwz r3, 0(r3) -/* 80244454 00241394 28 03 00 00 */ cmplwi r3, 0 -/* 80244458 00241398 41 82 00 0C */ beq lbl_80244464 -/* 8024445C 0024139C A8 63 00 26 */ lha r3, 0x26(r3) -/* 80244460 002413A0 4E 80 00 20 */ blr -lbl_80244464: -/* 80244464 002413A4 38 60 00 00 */ li r3, 0 -/* 80244468 002413A8 4E 80 00 20 */ blr - -.global getObjectType__Q34Game4Cave9EnemyNodeFv -getObjectType__Q34Game4Cave9EnemyNodeFv: -/* 8024446C 002413AC 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244470 002413B0 80 63 00 00 */ lwz r3, 0(r3) -/* 80244474 002413B4 28 03 00 00 */ cmplwi r3, 0 -/* 80244478 002413B8 41 82 00 0C */ beq lbl_80244484 -/* 8024447C 002413BC 88 63 00 24 */ lbz r3, 0x24(r3) -/* 80244480 002413C0 4E 80 00 20 */ blr -lbl_80244484: -/* 80244484 002413C4 38 60 00 00 */ li r3, 0 -/* 80244488 002413C8 4E 80 00 20 */ blr - -.global getBirthCount__Q34Game4Cave9EnemyNodeFv -getBirthCount__Q34Game4Cave9EnemyNodeFv: -/* 8024448C 002413CC 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80244490 002413D0 4E 80 00 20 */ blr - -.global getBirthPosition__Q34Game4Cave9EnemyNodeFRfRf -getBirthPosition__Q34Game4Cave9EnemyNodeFRfRf: -/* 80244494 002413D4 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80244498 002413D8 D0 04 00 00 */ stfs f0, 0(r4) -/* 8024449C 002413DC C0 03 00 34 */ lfs f0, 0x34(r3) -/* 802444A0 002413E0 D0 05 00 00 */ stfs f0, 0(r5) -/* 802444A4 002413E4 4E 80 00 20 */ blr - -.global getDirection__Q34Game4Cave9EnemyNodeFv -getDirection__Q34Game4Cave9EnemyNodeFv: -/* 802444A8 002413E8 C0 23 00 28 */ lfs f1, 0x28(r3) -/* 802444AC 002413EC 4E 80 00 20 */ blr - -.global getBirthDoorIndex__Q34Game4Cave9EnemyNodeFv -getBirthDoorIndex__Q34Game4Cave9EnemyNodeFv: -/* 802444B0 002413F0 80 63 00 20 */ lwz r3, 0x20(r3) -/* 802444B4 002413F4 4E 80 00 20 */ blr - -.global __dt__Q34Game4Cave9EnemyNodeFv -__dt__Q34Game4Cave9EnemyNodeFv: -/* 802444B8 002413F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802444BC 002413FC 7C 08 02 A6 */ mflr r0 -/* 802444C0 00241400 90 01 00 14 */ stw r0, 0x14(r1) -/* 802444C4 00241404 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802444C8 00241408 7C 9F 23 78 */ mr r31, r4 -/* 802444CC 0024140C 93 C1 00 08 */ stw r30, 8(r1) -/* 802444D0 00241410 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802444D4 00241414 41 82 00 38 */ beq lbl_8024450C -/* 802444D8 00241418 3C 80 80 4C */ lis r4, __vt__Q34Game4Cave9EnemyNode@ha -/* 802444DC 0024141C 38 04 1A 78 */ addi r0, r4, __vt__Q34Game4Cave9EnemyNode@l -/* 802444E0 00241420 90 1E 00 00 */ stw r0, 0(r30) -/* 802444E4 00241424 41 82 00 18 */ beq lbl_802444FC -/* 802444E8 00241428 3C A0 80 4C */ lis r5, __vt__Q24Game16ObjectLayoutNode@ha -/* 802444EC 0024142C 38 80 00 00 */ li r4, 0 -/* 802444F0 00241430 38 05 1A A8 */ addi r0, r5, __vt__Q24Game16ObjectLayoutNode@l -/* 802444F4 00241434 90 1E 00 00 */ stw r0, 0(r30) -/* 802444F8 00241438 48 1C D0 91 */ bl __dt__5CNodeFv -lbl_802444FC: -/* 802444FC 0024143C 7F E0 07 35 */ extsh. r0, r31 -/* 80244500 00241440 40 81 00 0C */ ble lbl_8024450C -/* 80244504 00241444 7F C3 F3 78 */ mr r3, r30 -/* 80244508 00241448 4B DD FB AD */ bl __dl__FPv -lbl_8024450C: -/* 8024450C 0024144C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80244510 00241450 7F C3 F3 78 */ mr r3, r30 -/* 80244514 00241454 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80244518 00241458 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024451C 0024145C 7C 08 03 A6 */ mtlr r0 -/* 80244520 00241460 38 21 00 10 */ addi r1, r1, 0x10 -/* 80244524 00241464 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave10RandMapMgrFb -__ct__Q34Game4Cave10RandMapMgrFb: -/* 80244528 00241468 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024452C 0024146C 7C 08 02 A6 */ mflr r0 -/* 80244530 00241470 90 01 00 14 */ stw r0, 0x14(r1) -/* 80244534 00241474 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80244538 00241478 7C 9F 23 78 */ mr r31, r4 -/* 8024453C 0024147C 93 C1 00 08 */ stw r30, 8(r1) -/* 80244540 00241480 7C 7E 1B 78 */ mr r30, r3 -/* 80244544 00241484 48 1C CE 4D */ bl __ct__5CNodeFv -/* 80244548 00241488 3C 80 80 4C */ lis r4, __vt__Q34Game4Cave10RandMapMgr@ha -/* 8024454C 0024148C 3C 60 80 48 */ lis r3, lbl_80484070@ha -/* 80244550 00241490 38 04 1A E8 */ addi r0, r4, __vt__Q34Game4Cave10RandMapMgr@l -/* 80244554 00241494 38 80 00 00 */ li r4, 0 -/* 80244558 00241498 90 1E 00 00 */ stw r0, 0(r30) -/* 8024455C 0024149C 38 03 40 70 */ addi r0, r3, lbl_80484070@l -/* 80244560 002414A0 7F C3 F3 78 */ mr r3, r30 -/* 80244564 002414A4 90 9E 00 18 */ stw r4, 0x18(r30) -/* 80244568 002414A8 90 9E 00 1C */ stw r4, 0x1c(r30) -/* 8024456C 002414AC 90 9E 00 20 */ stw r4, 0x20(r30) -/* 80244570 002414B0 90 9E 00 24 */ stw r4, 0x24(r30) -/* 80244574 002414B4 90 9E 00 28 */ stw r4, 0x28(r30) -/* 80244578 002414B8 90 9E 00 2C */ stw r4, 0x2c(r30) -/* 8024457C 002414BC 90 9E 00 30 */ stw r4, 0x30(r30) -/* 80244580 002414C0 90 9E 00 34 */ stw r4, 0x34(r30) -/* 80244584 002414C4 90 9E 00 38 */ stw r4, 0x38(r30) -/* 80244588 002414C8 98 9E 00 3C */ stb r4, 0x3c(r30) -/* 8024458C 002414CC 90 9E 00 40 */ stw r4, 0x40(r30) -/* 80244590 002414D0 9B FE 00 44 */ stb r31, 0x44(r30) -/* 80244594 002414D4 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80244598 002414D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024459C 002414DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802445A0 002414E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802445A4 002414E4 7C 08 03 A6 */ mtlr r0 -/* 802445A8 002414E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802445AC 002414EC 4E 80 00 20 */ blr - -.global loadResource__Q34Game4Cave10RandMapMgrFPQ24Game16MapUnitInterfaceiPQ34Game4Cave9FloorInfobPQ34Game4Cave11EditMapUnit -loadResource__Q34Game4Cave10RandMapMgrFPQ24Game16MapUnitInterfaceiPQ34Game4Cave9FloorInfobPQ34Game4Cave11EditMapUnit: -/* 802445B0 002414F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802445B4 002414F4 7C 08 02 A6 */ mflr r0 -/* 802445B8 002414F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802445BC 002414FC BF 41 00 08 */ stmw r26, 8(r1) -/* 802445C0 00241500 7C 7F 1B 78 */ mr r31, r3 -/* 802445C4 00241504 7C 9A 23 78 */ mr r26, r4 -/* 802445C8 00241508 7C BB 2B 78 */ mr r27, r5 -/* 802445CC 0024150C 7C DC 33 78 */ mr r28, r6 -/* 802445D0 00241510 7C FD 3B 78 */ mr r29, r7 -/* 802445D4 00241514 7D 1E 43 78 */ mr r30, r8 -/* 802445D8 00241518 38 60 00 34 */ li r3, 0x34 -/* 802445DC 0024151C 4B DD F8 C9 */ bl __nw__FUl -/* 802445E0 00241520 7C 60 1B 79 */ or. r0, r3, r3 -/* 802445E4 00241524 41 82 00 20 */ beq lbl_80244604 -/* 802445E8 00241528 7F 44 D3 78 */ mr r4, r26 -/* 802445EC 0024152C 7F 65 DB 78 */ mr r5, r27 -/* 802445F0 00241530 7F 86 E3 78 */ mr r6, r28 -/* 802445F4 00241534 7F A7 EB 78 */ mr r7, r29 -/* 802445F8 00241538 7F C8 F3 78 */ mr r8, r30 -/* 802445FC 0024153C 48 00 74 B1 */ bl __ct__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterfaceiPQ34Game4Cave9FloorInfobPQ34Game4Cave11EditMapUnit -/* 80244600 00241540 7C 60 1B 78 */ mr r0, r3 -lbl_80244604: -/* 80244604 00241544 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80244608 00241548 38 60 00 2C */ li r3, 0x2c -/* 8024460C 0024154C 4B DD F8 99 */ bl __nw__FUl -/* 80244610 00241550 7C 60 1B 79 */ or. r0, r3, r3 -/* 80244614 00241554 41 82 00 10 */ beq lbl_80244624 -/* 80244618 00241558 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 8024461C 0024155C 48 00 19 65 */ bl __ct__Q34Game4Cave11RandMapUnitFPQ34Game4Cave16MapUnitGenerator -/* 80244620 00241560 7C 60 1B 78 */ mr r0, r3 -lbl_80244624: -/* 80244624 00241564 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80244628 00241568 38 60 00 40 */ li r3, 0x40 -/* 8024462C 0024156C 4B DD F8 79 */ bl __nw__FUl -/* 80244630 00241570 7C 60 1B 79 */ or. r0, r3, r3 -/* 80244634 00241574 41 82 00 14 */ beq lbl_80244648 -/* 80244638 00241578 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 8024463C 0024157C 88 BF 00 44 */ lbz r5, 0x44(r31) -/* 80244640 00241580 48 00 42 D5 */ bl __ct__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave16MapUnitGeneratorb -/* 80244644 00241584 7C 60 1B 78 */ mr r0, r3 -lbl_80244648: -/* 80244648 00241588 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8024464C 0024158C 38 60 00 18 */ li r3, 0x18 -/* 80244650 00241590 4B DD F8 55 */ bl __nw__FUl -/* 80244654 00241594 7C 60 1B 79 */ or. r0, r3, r3 -/* 80244658 00241598 41 82 00 10 */ beq lbl_80244668 -/* 8024465C 0024159C 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 80244660 002415A0 48 0B C8 09 */ bl __ct__Q34Game4Cave16RandCapEnemyUnitFPQ34Game4Cave16MapUnitGenerator -/* 80244664 002415A4 7C 60 1B 78 */ mr r0, r3 -lbl_80244668: -/* 80244668 002415A8 90 1F 00 24 */ stw r0, 0x24(r31) -/* 8024466C 002415AC 38 60 00 0C */ li r3, 0xc -/* 80244670 002415B0 4B DD F8 35 */ bl __nw__FUl -/* 80244674 002415B4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80244678 002415B8 41 82 00 10 */ beq lbl_80244688 -/* 8024467C 002415BC 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 80244680 002415C0 48 05 A8 8D */ bl __ct__Q34Game4Cave13RandPlantUnitFPQ34Game4Cave16MapUnitGenerator -/* 80244684 002415C4 7C 60 1B 78 */ mr r0, r3 -lbl_80244688: -/* 80244688 002415C8 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8024468C 002415CC 38 60 00 18 */ li r3, 0x18 -/* 80244690 002415D0 4B DD F8 15 */ bl __nw__FUl -/* 80244694 002415D4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80244698 002415D8 41 82 00 10 */ beq lbl_802446A8 -/* 8024469C 002415DC 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 802446A0 002415E0 48 00 B7 D1 */ bl __ct__Q34Game4Cave12RandGateUnitFPQ34Game4Cave16MapUnitGenerator -/* 802446A4 002415E4 7C 60 1B 78 */ mr r0, r3 -lbl_802446A8: -/* 802446A8 002415E8 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 802446AC 002415EC 38 60 00 18 */ li r3, 0x18 -/* 802446B0 002415F0 4B DD F7 F5 */ bl __nw__FUl -/* 802446B4 002415F4 7C 60 1B 79 */ or. r0, r3, r3 -/* 802446B8 002415F8 41 82 00 10 */ beq lbl_802446C8 -/* 802446BC 002415FC 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 802446C0 00241600 48 00 9C CD */ bl __ct__Q34Game4Cave12RandItemUnitFPQ34Game4Cave16MapUnitGenerator -/* 802446C4 00241604 7C 60 1B 78 */ mr r0, r3 -lbl_802446C8: -/* 802446C8 00241608 90 1F 00 30 */ stw r0, 0x30(r31) -/* 802446CC 0024160C 38 60 00 14 */ li r3, 0x14 -/* 802446D0 00241610 4B DD F7 D5 */ bl __nw__FUl -/* 802446D4 00241614 7C 60 1B 79 */ or. r0, r3, r3 -/* 802446D8 00241618 41 82 00 10 */ beq lbl_802446E8 -/* 802446DC 0024161C 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 802446E0 00241620 48 00 81 99 */ bl __ct__Q34Game4Cave12RandMapScoreFPQ34Game4Cave16MapUnitGenerator -/* 802446E4 00241624 7C 60 1B 78 */ mr r0, r3 -lbl_802446E8: -/* 802446E8 00241628 90 1F 00 34 */ stw r0, 0x34(r31) -/* 802446EC 0024162C 38 60 00 04 */ li r3, 4 -/* 802446F0 00241630 4B DD F7 B5 */ bl __nw__FUl -/* 802446F4 00241634 7C 60 1B 79 */ or. r0, r3, r3 -/* 802446F8 00241638 41 82 00 10 */ beq lbl_80244708 -/* 802446FC 0024163C 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 80244700 00241640 48 00 0D 19 */ bl __ct__Q34Game4Cave11RandMapDrawFPQ34Game4Cave16MapUnitGenerator -/* 80244704 00241644 7C 60 1B 78 */ mr r0, r3 -lbl_80244708: -/* 80244708 00241648 90 1F 00 38 */ stw r0, 0x38(r31) -/* 8024470C 0024164C 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80244710 00241650 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 80244714 00241654 48 00 42 A9 */ bl setManageClassPtr__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave12RandMapScore -/* 80244718 00241658 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8024471C 0024165C 80 9F 00 30 */ lwz r4, 0x30(r31) -/* 80244720 00241660 48 0B C7 75 */ bl setManageClassPtr__Q34Game4Cave16RandCapEnemyUnitFPQ34Game4Cave12RandItemUnit -/* 80244724 00241664 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80244728 00241668 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 8024472C 0024166C 80 BF 00 30 */ lwz r5, 0x30(r31) -/* 80244730 00241670 48 00 B7 B5 */ bl setManageClassPtr__Q34Game4Cave12RandGateUnitFPQ34Game4Cave12RandMapScorePQ34Game4Cave12RandItemUnit -/* 80244734 00241674 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 80244738 00241678 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 8024473C 0024167C 48 00 9C B5 */ bl setManageClassPtr__Q34Game4Cave12RandItemUnitFPQ34Game4Cave12RandMapScore -/* 80244740 00241680 BB 41 00 08 */ lmw r26, 8(r1) -/* 80244744 00241684 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80244748 00241688 7C 08 03 A6 */ mtlr r0 -/* 8024474C 0024168C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80244750 00241690 4E 80 00 20 */ blr - -.global create__Q34Game4Cave10RandMapMgrFv -create__Q34Game4Cave10RandMapMgrFv: -/* 80244754 00241694 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80244758 00241698 7C 08 02 A6 */ mflr r0 -/* 8024475C 0024169C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80244760 002416A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80244764 002416A4 7C 7F 1B 78 */ mr r31, r3 -/* 80244768 002416A8 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8024476C 002416AC 48 00 19 B1 */ bl setMapUnit__Q34Game4Cave11RandMapUnitFv -/* 80244770 002416B0 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80244774 002416B4 48 00 82 19 */ bl setStartSlot__Q34Game4Cave12RandMapScoreFv -/* 80244778 002416B8 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 8024477C 002416BC 48 00 81 A5 */ bl setMapUnitScore__Q34Game4Cave12RandMapScoreFv -/* 80244780 002416C0 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80244784 002416C4 48 00 82 41 */ bl setGoalSlot__Q34Game4Cave12RandMapScoreFv -/* 80244788 002416C8 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8024478C 002416CC 48 00 42 39 */ bl setEnemySlot__Q34Game4Cave13RandEnemyUnitFv -/* 80244790 002416D0 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80244794 002416D4 48 00 81 8D */ bl setMapUnitScore__Q34Game4Cave12RandMapScoreFv -/* 80244798 002416D8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8024479C 002416DC 48 05 A7 CD */ bl setPlantSlot__Q34Game4Cave13RandPlantUnitFv -/* 802447A0 002416E0 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 802447A4 002416E4 48 00 9C 55 */ bl setItemSlot__Q34Game4Cave12RandItemUnitFv -/* 802447A8 002416E8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 802447AC 002416EC 48 0B C6 F1 */ bl setCapEnemySlot__Q34Game4Cave16RandCapEnemyUnitFv -/* 802447B0 002416F0 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 802447B4 002416F4 48 00 81 6D */ bl setMapUnitScore__Q34Game4Cave12RandMapScoreFv -/* 802447B8 002416F8 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 802447BC 002416FC 48 00 B7 35 */ bl setGateDoor__Q34Game4Cave12RandGateUnitFv -/* 802447C0 00241700 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 802447C4 00241704 38 81 00 0C */ addi r4, r1, 0xc -/* 802447C8 00241708 38 A1 00 08 */ addi r5, r1, 8 -/* 802447CC 0024170C 48 00 1A 79 */ bl getTextureSize__Q34Game4Cave11RandMapUnitFRiRi -/* 802447D0 00241710 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802447D4 00241714 3C 60 80 48 */ lis r3, lbl_8048407C@ha -/* 802447D8 00241718 80 01 00 08 */ lwz r0, 8(r1) -/* 802447DC 0024171C 38 83 40 7C */ addi r4, r3, lbl_8048407C@l -/* 802447E0 00241720 54 A5 18 38 */ slwi r5, r5, 3 -/* 802447E4 00241724 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802447E8 00241728 54 00 18 38 */ slwi r0, r0, 3 -/* 802447EC 0024172C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802447F0 00241730 38 A0 00 00 */ li r5, 0 -/* 802447F4 00241734 90 01 00 08 */ stw r0, 8(r1) -/* 802447F8 00241738 48 1D EB 65 */ bl heapStatusStart__6SystemFPcP7JKRHeap -/* 802447FC 0024173C 38 60 00 40 */ li r3, 0x40 -/* 80244800 00241740 4B DD F6 A5 */ bl __nw__FUl -/* 80244804 00241744 7C 60 1B 79 */ or. r0, r3, r3 -/* 80244808 00241748 41 82 00 18 */ beq lbl_80244820 -/* 8024480C 0024174C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80244810 00241750 38 C0 00 00 */ li r6, 0 -/* 80244814 00241754 80 A1 00 08 */ lwz r5, 8(r1) -/* 80244818 00241758 4B DE E7 05 */ bl __ct__10JUTTextureFii9_GXTexFmt -/* 8024481C 0024175C 7C 60 1B 78 */ mr r0, r3 -lbl_80244820: -/* 80244820 00241760 90 1F 00 40 */ stw r0, 0x40(r31) -/* 80244824 00241764 3C 60 80 48 */ lis r3, lbl_8048407C@ha -/* 80244828 00241768 38 83 40 7C */ addi r4, r3, lbl_8048407C@l -/* 8024482C 0024176C 38 00 00 02 */ li r0, 2 -/* 80244830 00241770 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80244834 00241774 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80244838 00241778 98 03 00 01 */ stb r0, 1(r3) -/* 8024483C 0024177C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80244840 00241780 48 1D EB 25 */ bl heapStatusEnd__6SystemFPc -/* 80244844 00241784 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80244848 00241788 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024484C 0024178C 7C 08 03 A6 */ mtlr r0 -/* 80244850 00241790 38 21 00 20 */ addi r1, r1, 0x20 -/* 80244854 00241794 4E 80 00 20 */ blr - -.global getNumRooms__Q34Game4Cave10RandMapMgrFv -getNumRooms__Q34Game4Cave10RandMapMgrFv: -/* 80244858 00241798 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024485C 0024179C 7C 08 02 A6 */ mflr r0 -/* 80244860 002417A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80244864 002417A4 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244868 002417A8 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024486C 002417AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80244870 002417B0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80244874 002417B4 7D 89 03 A6 */ mtctr r12 -/* 80244878 002417B8 4E 80 04 21 */ bctrl -/* 8024487C 002417BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80244880 002417C0 7C 08 03 A6 */ mtlr r0 -/* 80244884 002417C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80244888 002417C8 4E 80 00 20 */ blr - -.global getUseUnitName__Q34Game4Cave10RandMapMgrFi -getUseUnitName__Q34Game4Cave10RandMapMgrFi: -/* 8024488C 002417CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80244890 002417D0 7C 08 02 A6 */ mflr r0 -/* 80244894 002417D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80244898 002417D8 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8024489C 002417DC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802448A0 002417E0 48 1C CD FD */ bl getChildAt__5CNodeFi -/* 802448A4 002417E4 28 03 00 00 */ cmplwi r3, 0 -/* 802448A8 002417E8 41 82 00 0C */ beq lbl_802448B4 -/* 802448AC 002417EC 4B FF F1 19 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 802448B0 002417F0 48 00 00 08 */ b lbl_802448B8 -lbl_802448B4: -/* 802448B4 002417F4 38 60 00 00 */ li r3, 0 -lbl_802448B8: -/* 802448B8 002417F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802448BC 002417FC 7C 08 03 A6 */ mtlr r0 -/* 802448C0 00241800 38 21 00 10 */ addi r1, r1, 0x10 -/* 802448C4 00241804 4E 80 00 20 */ blr - -.global getRoomData__Q34Game4Cave10RandMapMgrFiRfRfRi -getRoomData__Q34Game4Cave10RandMapMgrFiRfRfRi: -/* 802448C8 00241808 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802448CC 0024180C 7C 08 02 A6 */ mflr r0 -/* 802448D0 00241810 90 01 00 24 */ stw r0, 0x24(r1) -/* 802448D4 00241814 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802448D8 00241818 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802448DC 0024181C 7C FE 3B 78 */ mr r30, r7 -/* 802448E0 00241820 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802448E4 00241824 7C DD 33 78 */ mr r29, r6 -/* 802448E8 00241828 93 81 00 10 */ stw r28, 0x10(r1) -/* 802448EC 0024182C 7C BC 2B 78 */ mr r28, r5 -/* 802448F0 00241830 80 63 00 18 */ lwz r3, 0x18(r3) -/* 802448F4 00241834 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802448F8 00241838 48 1C CD A5 */ bl getChildAt__5CNodeFi -/* 802448FC 0024183C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80244900 00241840 41 82 00 28 */ beq lbl_80244928 -/* 80244904 00241844 7F 84 E3 78 */ mr r4, r28 -/* 80244908 00241848 7F A5 EB 78 */ mr r5, r29 -/* 8024490C 0024184C 4B FF F0 DD */ bl getNodeCentreOffset__Q34Game4Cave7MapNodeFRfRf -/* 80244910 00241850 7F E3 FB 78 */ mr r3, r31 -/* 80244914 00241854 4B FF F1 A5 */ bl getDirection__Q34Game4Cave7MapNodeFv -/* 80244918 00241858 90 7E 00 00 */ stw r3, 0(r30) -/* 8024491C 0024185C 7F E3 FB 78 */ mr r3, r31 -/* 80244920 00241860 4B FF F0 A5 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 80244924 00241864 48 00 00 08 */ b lbl_8024492C -lbl_80244928: -/* 80244928 00241868 38 60 00 00 */ li r3, 0 -lbl_8024492C: -/* 8024492C 0024186C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80244930 00241870 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80244934 00241874 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80244938 00241878 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024493C 0024187C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80244940 00241880 7C 08 03 A6 */ mtlr r0 -/* 80244944 00241884 38 21 00 20 */ addi r1, r1, 0x20 -/* 80244948 00241888 4E 80 00 20 */ blr - -.global makeRoomLink__Q34Game4Cave10RandMapMgrFi -makeRoomLink__Q34Game4Cave10RandMapMgrFi: -/* 8024494C 0024188C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80244950 00241890 7C 08 02 A6 */ mflr r0 -/* 80244954 00241894 90 01 00 34 */ stw r0, 0x34(r1) -/* 80244958 00241898 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8024495C 0024189C 7C 7F 1B 78 */ mr r31, r3 -/* 80244960 002418A0 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244964 002418A4 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80244968 002418A8 48 1C CD 35 */ bl getChildAt__5CNodeFi -/* 8024496C 002418AC 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80244970 002418B0 41 82 00 A8 */ beq lbl_80244A18 -/* 80244974 002418B4 38 60 00 20 */ li r3, 0x20 -/* 80244978 002418B8 4B DD F5 2D */ bl __nw__FUl -/* 8024497C 002418BC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80244980 002418C0 41 82 00 14 */ beq lbl_80244994 -/* 80244984 002418C4 48 1C CA 0D */ bl __ct__5CNodeFv -/* 80244988 002418C8 3C 60 80 4C */ lis r3, __vt__Q24Game8RoomLink@ha -/* 8024498C 002418CC 38 03 1A D8 */ addi r0, r3, __vt__Q24Game8RoomLink@l -/* 80244990 002418D0 90 1D 00 00 */ stw r0, 0(r29) -lbl_80244994: -/* 80244994 002418D4 7F 43 D3 78 */ mr r3, r26 -/* 80244998 002418D8 4B FF F6 C9 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024499C 002418DC 7C 7E 1B 78 */ mr r30, r3 -/* 802449A0 002418E0 3B 20 00 00 */ li r25, 0 -/* 802449A4 002418E4 3B 60 00 00 */ li r27, 0 -/* 802449A8 002418E8 48 00 00 60 */ b lbl_80244A08 -lbl_802449AC: -/* 802449AC 002418EC 38 60 00 20 */ li r3, 0x20 -/* 802449B0 002418F0 4B DD F4 F5 */ bl __nw__FUl -/* 802449B4 002418F4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802449B8 002418F8 41 82 00 14 */ beq lbl_802449CC -/* 802449BC 002418FC 48 1C C9 D5 */ bl __ct__5CNodeFv -/* 802449C0 00241900 3C 60 80 4C */ lis r3, __vt__Q24Game8RoomLink@ha -/* 802449C4 00241904 38 03 1A D8 */ addi r0, r3, __vt__Q24Game8RoomLink@l -/* 802449C8 00241908 90 1C 00 00 */ stw r0, 0(r28) -lbl_802449CC: -/* 802449CC 0024190C B3 3C 00 18 */ sth r25, 0x18(r28) -/* 802449D0 00241910 38 1B 00 04 */ addi r0, r27, 4 -/* 802449D4 00241914 80 7A 00 28 */ lwz r3, 0x28(r26) -/* 802449D8 00241918 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802449DC 0024191C B0 1C 00 1A */ sth r0, 0x1a(r28) -/* 802449E0 00241920 80 9A 00 28 */ lwz r4, 0x28(r26) -/* 802449E4 00241924 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 802449E8 00241928 7C 84 D8 2E */ lwzx r4, r4, r27 -/* 802449EC 0024192C 48 00 18 25 */ bl getAliveMapIndex__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode -/* 802449F0 00241930 B0 7C 00 1C */ sth r3, 0x1c(r28) -/* 802449F4 00241934 7F A3 EB 78 */ mr r3, r29 -/* 802449F8 00241938 7F 84 E3 78 */ mr r4, r28 -/* 802449FC 0024193C 48 1C CA 0D */ bl add__5CNodeFP5CNode -/* 80244A00 00241940 3B 7B 00 0C */ addi r27, r27, 0xc -/* 80244A04 00241944 3B 39 00 01 */ addi r25, r25, 1 -lbl_80244A08: -/* 80244A08 00241948 7C 19 F0 00 */ cmpw r25, r30 -/* 80244A0C 0024194C 41 80 FF A0 */ blt lbl_802449AC -/* 80244A10 00241950 7F A3 EB 78 */ mr r3, r29 -/* 80244A14 00241954 48 00 00 08 */ b lbl_80244A1C -lbl_80244A18: -/* 80244A18 00241958 38 60 00 00 */ li r3, 0 -lbl_80244A1C: -/* 80244A1C 0024195C BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80244A20 00241960 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80244A24 00241964 7C 08 03 A6 */ mtlr r0 -/* 80244A28 00241968 38 21 00 30 */ addi r1, r1, 0x30 -/* 80244A2C 0024196C 4E 80 00 20 */ blr - -.global makeObjectLayoutInfo__Q34Game4Cave10RandMapMgrFi -makeObjectLayoutInfo__Q34Game4Cave10RandMapMgrFi: -/* 80244A30 00241970 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80244A34 00241974 7C 08 02 A6 */ mflr r0 -/* 80244A38 00241978 90 01 00 24 */ stw r0, 0x24(r1) -/* 80244A3C 0024197C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80244A40 00241980 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80244A44 00241984 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80244A48 00241988 7C 7D 1B 78 */ mr r29, r3 -/* 80244A4C 0024198C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244A50 00241990 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80244A54 00241994 48 1C CC 49 */ bl getChildAt__5CNodeFi -/* 80244A58 00241998 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80244A5C 0024199C 41 82 00 38 */ beq lbl_80244A94 -/* 80244A60 002419A0 38 60 00 08 */ li r3, 8 -/* 80244A64 002419A4 4B DD F4 41 */ bl __nw__FUl -/* 80244A68 002419A8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80244A6C 002419AC 41 82 00 10 */ beq lbl_80244A7C -/* 80244A70 002419B0 7F C4 F3 78 */ mr r4, r30 -/* 80244A74 002419B4 48 00 BD B1 */ bl __ct__Q34Game4Cave12ObjectLayoutFPQ34Game4Cave7MapNode -/* 80244A78 002419B8 7C 7F 1B 78 */ mr r31, r3 -lbl_80244A7C: -/* 80244A7C 002419BC 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 80244A80 002419C0 7F C4 F3 78 */ mr r4, r30 -/* 80244A84 002419C4 7F E5 FB 78 */ mr r5, r31 -/* 80244A88 002419C8 48 00 7F 95 */ bl makeObjectLayout__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave12ObjectLayout -/* 80244A8C 002419CC 7F E3 FB 78 */ mr r3, r31 -/* 80244A90 002419D0 48 00 00 08 */ b lbl_80244A98 -lbl_80244A94: -/* 80244A94 002419D4 38 60 00 00 */ li r3, 0 -lbl_80244A98: -/* 80244A98 002419D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80244A9C 002419DC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80244AA0 002419E0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80244AA4 002419E4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80244AA8 002419E8 7C 08 03 A6 */ mtlr r0 -/* 80244AAC 002419EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80244AB0 002419F0 4E 80 00 20 */ blr - -.global getStartPosition__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1i -getStartPosition__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1i: -/* 80244AB4 002419F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80244AB8 002419F8 7C 08 02 A6 */ mflr r0 -/* 80244ABC 002419FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80244AC0 00241A00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80244AC4 00241A04 7C 9F 23 78 */ mr r31, r4 -/* 80244AC8 00241A08 80 83 00 18 */ lwz r4, 0x18(r3) -/* 80244ACC 00241A0C 88 04 00 02 */ lbz r0, 2(r4) -/* 80244AD0 00241A10 28 00 00 00 */ cmplwi r0, 0 -/* 80244AD4 00241A14 41 82 00 34 */ beq lbl_80244B08 -/* 80244AD8 00241A18 2C 05 00 00 */ cmpwi r5, 0 -/* 80244ADC 00241A1C 40 82 00 18 */ bne lbl_80244AF4 -/* 80244AE0 00241A20 80 63 00 34 */ lwz r3, 0x34(r3) -/* 80244AE4 00241A24 7F E5 FB 78 */ mr r5, r31 -/* 80244AE8 00241A28 38 80 00 03 */ li r4, 3 -/* 80244AEC 00241A2C 48 00 80 DD */ bl getGlobalPosition__Q34Game4Cave12RandMapScoreFiR10Vector3$$0f$$1 -/* 80244AF0 00241A30 48 00 00 28 */ b lbl_80244B18 -lbl_80244AF4: -/* 80244AF4 00241A34 80 63 00 34 */ lwz r3, 0x34(r3) -/* 80244AF8 00241A38 7F E5 FB 78 */ mr r5, r31 -/* 80244AFC 00241A3C 38 80 00 04 */ li r4, 4 -/* 80244B00 00241A40 48 00 80 C9 */ bl getGlobalPosition__Q34Game4Cave12RandMapScoreFiR10Vector3$$0f$$1 -/* 80244B04 00241A44 48 00 00 14 */ b lbl_80244B18 -lbl_80244B08: -/* 80244B08 00241A48 80 63 00 34 */ lwz r3, 0x34(r3) -/* 80244B0C 00241A4C 7F E5 FB 78 */ mr r5, r31 -/* 80244B10 00241A50 38 80 00 00 */ li r4, 0 -/* 80244B14 00241A54 48 00 80 B5 */ bl getGlobalPosition__Q34Game4Cave12RandMapScoreFiR10Vector3$$0f$$1 -lbl_80244B18: -/* 80244B18 00241A58 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80244B1C 00241A5C C0 02 C3 C8 */ lfs f0, lbl_8051A728@sda21(r2) -/* 80244B20 00241A60 EC 01 00 2A */ fadds f0, f1, f0 -/* 80244B24 00241A64 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80244B28 00241A68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80244B2C 00241A6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80244B30 00241A70 7C 08 03 A6 */ mtlr r0 -/* 80244B34 00241A74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80244B38 00241A78 4E 80 00 20 */ blr - -.global getItemDropPosition__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1ff -getItemDropPosition__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1ff: -/* 80244B3C 00241A7C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80244B40 00241A80 7C 08 02 A6 */ mflr r0 -/* 80244B44 00241A84 90 01 00 44 */ stw r0, 0x44(r1) -/* 80244B48 00241A88 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80244B4C 00241A8C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80244B50 00241A90 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80244B54 00241A94 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80244B58 00241A98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80244B5C 00241A9C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80244B60 00241AA0 FF C0 08 90 */ fmr f30, f1 -/* 80244B64 00241AA4 7C 7E 1B 78 */ mr r30, r3 -/* 80244B68 00241AA8 FF E0 10 90 */ fmr f31, f2 -/* 80244B6C 00241AAC 7C 9F 23 78 */ mr r31, r4 -/* 80244B70 00241AB0 4B E8 4A 31 */ bl rand -/* 80244B74 00241AB4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80244B78 00241AB8 3C 00 43 30 */ lis r0, 0x4330 -/* 80244B7C 00241ABC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80244B80 00241AC0 EC 3F F0 28 */ fsubs f1, f31, f30 -/* 80244B84 00241AC4 C8 62 C3 D0 */ lfd f3, lbl_8051A730@sda21(r2) -/* 80244B88 00241AC8 7F E4 FB 78 */ mr r4, r31 -/* 80244B8C 00241ACC 90 01 00 08 */ stw r0, 8(r1) -/* 80244B90 00241AD0 38 A0 FF FF */ li r5, -1 -/* 80244B94 00241AD4 C0 02 C3 CC */ lfs f0, lbl_8051A72C@sda21(r2) -/* 80244B98 00241AD8 C8 41 00 08 */ lfd f2, 8(r1) -/* 80244B9C 00241ADC 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 80244BA0 00241AE0 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80244BA4 00241AE4 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80244BA8 00241AE8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80244BAC 00241AEC EC 3E 00 2A */ fadds f1, f30, f0 -/* 80244BB0 00241AF0 48 00 9C 21 */ bl getItemDropPosition__Q34Game4Cave12RandItemUnitFR10Vector3$$0f$$1fi -/* 80244BB4 00241AF4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80244BB8 00241AF8 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80244BBC 00241AFC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80244BC0 00241B00 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80244BC4 00241B04 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80244BC8 00241B08 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80244BCC 00241B0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80244BD0 00241B10 7C 08 03 A6 */ mtlr r0 -/* 80244BD4 00241B14 38 21 00 40 */ addi r1, r1, 0x40 -/* 80244BD8 00241B18 4E 80 00 20 */ blr - -.global getItemDropPosition__Q34Game4Cave10RandMapMgrFP10Vector3$$0f$$1iff -getItemDropPosition__Q34Game4Cave10RandMapMgrFP10Vector3$$0f$$1iff: -/* 80244BDC 00241B1C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80244BE0 00241B20 7C 08 02 A6 */ mflr r0 -/* 80244BE4 00241B24 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80244BE8 00241B28 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80244BEC 00241B2C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80244BF0 00241B30 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80244BF4 00241B34 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 80244BF8 00241B38 BF 41 00 98 */ stmw r26, 0x98(r1) -/* 80244BFC 00241B3C EC 21 10 2A */ fadds f1, f1, f2 -/* 80244C00 00241B40 C0 62 C3 D8 */ lfs f3, lbl_8051A738@sda21(r2) -/* 80244C04 00241B44 C0 02 C3 DC */ lfs f0, lbl_8051A73C@sda21(r2) -/* 80244C08 00241B48 7C 7E 1B 78 */ mr r30, r3 -/* 80244C0C 00241B4C 7C 9A 23 78 */ mr r26, r4 -/* 80244C10 00241B50 7C BF 2B 78 */ mr r31, r5 -/* 80244C14 00241B54 EF C3 00 72 */ fmuls f30, f3, f1 -/* 80244C18 00241B58 EF E2 F0 28 */ fsubs f31, f2, f30 -/* 80244C1C 00241B5C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80244C20 00241B60 40 81 00 08 */ ble lbl_80244C28 -/* 80244C24 00241B64 48 00 00 08 */ b lbl_80244C2C -lbl_80244C28: -/* 80244C28 00241B68 FF E0 F8 50 */ fneg f31, f31 -lbl_80244C2C: -/* 80244C2C 00241B6C 4B E8 49 75 */ bl rand -/* 80244C30 00241B70 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80244C34 00241B74 3C 80 43 30 */ lis r4, 0x4330 -/* 80244C38 00241B78 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80244C3C 00241B7C 57 E3 0F FE */ srwi r3, r31, 0x1f -/* 80244C40 00241B80 57 E0 07 FE */ clrlwi r0, r31, 0x1f -/* 80244C44 00241B84 C8 62 C3 D0 */ lfd f3, lbl_8051A730@sda21(r2) -/* 80244C48 00241B88 90 81 00 88 */ stw r4, 0x88(r1) -/* 80244C4C 00241B8C 7C 00 1A 78 */ xor r0, r0, r3 -/* 80244C50 00241B90 7C 63 00 50 */ subf r3, r3, r0 -/* 80244C54 00241B94 C0 22 C3 CC */ lfs f1, lbl_8051A72C@sda21(r2) -/* 80244C58 00241B98 C8 41 00 88 */ lfd f2, 0x88(r1) -/* 80244C5C 00241B9C 3B 63 FF FF */ addi r27, r3, -1 -/* 80244C60 00241BA0 C0 02 C3 E0 */ lfs f0, lbl_8051A740@sda21(r2) -/* 80244C64 00241BA4 38 81 00 48 */ addi r4, r1, 0x48 -/* 80244C68 00241BA8 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80244C6C 00241BAC 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 80244C70 00241BB0 38 A1 00 08 */ addi r5, r1, 8 -/* 80244C74 00241BB4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80244C78 00241BB8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80244C7C 00241BBC FC 00 00 1E */ fctiwz f0, f0 -/* 80244C80 00241BC0 D8 01 00 90 */ stfd f0, 0x90(r1) -/* 80244C84 00241BC4 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 80244C88 00241BC8 48 00 9B 3D */ bl setItemDropPositionList__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGen -/* 80244C8C 00241BCC 7F 5C D3 78 */ mr r28, r26 -/* 80244C90 00241BD0 3B 40 00 00 */ li r26, 0 -/* 80244C94 00241BD4 48 00 00 A4 */ b lbl_80244D38 -lbl_80244C98: -/* 80244C98 00241BD8 FC 20 F0 90 */ fmr f1, f30 -/* 80244C9C 00241BDC 7C 1A D8 00 */ cmpw r26, r27 -/* 80244CA0 00241BE0 41 82 00 80 */ beq lbl_80244D20 -/* 80244CA4 00241BE4 57 43 0F FE */ srwi r3, r26, 0x1f -/* 80244CA8 00241BE8 57 40 07 FE */ clrlwi r0, r26, 0x1f -/* 80244CAC 00241BEC 7C 00 1A 78 */ xor r0, r0, r3 -/* 80244CB0 00241BF0 7C 03 00 50 */ subf r0, r3, r0 -/* 80244CB4 00241BF4 7C 00 E8 00 */ cmpw r0, r29 -/* 80244CB8 00241BF8 40 82 00 38 */ bne lbl_80244CF0 -/* 80244CBC 00241BFC 4B E8 48 E5 */ bl rand -/* 80244CC0 00241C00 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80244CC4 00241C04 3C 00 43 30 */ lis r0, 0x4330 -/* 80244CC8 00241C08 90 61 00 94 */ stw r3, 0x94(r1) -/* 80244CCC 00241C0C C8 42 C3 D0 */ lfd f2, lbl_8051A730@sda21(r2) -/* 80244CD0 00241C10 90 01 00 90 */ stw r0, 0x90(r1) -/* 80244CD4 00241C14 C0 02 C3 CC */ lfs f0, lbl_8051A72C@sda21(r2) -/* 80244CD8 00241C18 C8 21 00 90 */ lfd f1, 0x90(r1) -/* 80244CDC 00241C1C EC 21 10 28 */ fsubs f1, f1, f2 -/* 80244CE0 00241C20 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80244CE4 00241C24 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80244CE8 00241C28 EC 3E 00 2A */ fadds f1, f30, f0 -/* 80244CEC 00241C2C 48 00 00 34 */ b lbl_80244D20 -lbl_80244CF0: -/* 80244CF0 00241C30 4B E8 48 B1 */ bl rand -/* 80244CF4 00241C34 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80244CF8 00241C38 3C 00 43 30 */ lis r0, 0x4330 -/* 80244CFC 00241C3C 90 61 00 94 */ stw r3, 0x94(r1) -/* 80244D00 00241C40 C8 42 C3 D0 */ lfd f2, lbl_8051A730@sda21(r2) -/* 80244D04 00241C44 90 01 00 90 */ stw r0, 0x90(r1) -/* 80244D08 00241C48 C0 02 C3 CC */ lfs f0, lbl_8051A72C@sda21(r2) -/* 80244D0C 00241C4C C8 21 00 90 */ lfd f1, 0x90(r1) -/* 80244D10 00241C50 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80244D14 00241C54 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80244D18 00241C58 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80244D1C 00241C5C EC 3E 00 28 */ fsubs f1, f30, f0 -lbl_80244D20: -/* 80244D20 00241C60 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 80244D24 00241C64 7F 84 E3 78 */ mr r4, r28 -/* 80244D28 00241C68 7F 45 D3 78 */ mr r5, r26 -/* 80244D2C 00241C6C 48 00 9A A5 */ bl getItemDropPosition__Q34Game4Cave12RandItemUnitFR10Vector3$$0f$$1fi -/* 80244D30 00241C70 3B 9C 00 0C */ addi r28, r28, 0xc -/* 80244D34 00241C74 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80244D38: -/* 80244D38 00241C78 7C 1A F8 00 */ cmpw r26, r31 -/* 80244D3C 00241C7C 41 80 FF 5C */ blt lbl_80244C98 -/* 80244D40 00241C80 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80244D44 00241C84 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80244D48 00241C88 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80244D4C 00241C8C CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80244D50 00241C90 BB 41 00 98 */ lmw r26, 0x98(r1) -/* 80244D54 00241C94 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80244D58 00241C98 7C 08 03 A6 */ mtlr r0 -/* 80244D5C 00241C9C 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80244D60 00241CA0 4E 80 00 20 */ blr - -.global setUnitTexture__Q34Game4Cave10RandMapMgrFiP10JUTTexture -setUnitTexture__Q34Game4Cave10RandMapMgrFiP10JUTTexture: -/* 80244D64 00241CA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80244D68 00241CA8 7C 08 02 A6 */ mflr r0 -/* 80244D6C 00241CAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80244D70 00241CB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80244D74 00241CB4 7C BF 2B 78 */ mr r31, r5 -/* 80244D78 00241CB8 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244D7C 00241CBC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80244D80 00241CC0 48 1C C9 1D */ bl getChildAt__5CNodeFi -/* 80244D84 00241CC4 28 03 00 00 */ cmplwi r3, 0 -/* 80244D88 00241CC8 41 82 00 10 */ beq lbl_80244D98 -/* 80244D8C 00241CCC 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244D90 00241CD0 7F E4 FB 78 */ mr r4, r31 -/* 80244D94 00241CD4 4B FF DC 09 */ bl setUnitTexture__Q34Game4Cave8UnitInfoFP10JUTTexture -lbl_80244D98: -/* 80244D98 00241CD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80244D9C 00241CDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80244DA0 00241CE0 7C 08 03 A6 */ mtlr r0 -/* 80244DA4 00241CE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80244DA8 00241CE8 4E 80 00 20 */ blr - -.global setCaptureOn__Q34Game4Cave10RandMapMgrFv -setCaptureOn__Q34Game4Cave10RandMapMgrFv: -/* 80244DAC 00241CEC 38 00 00 01 */ li r0, 1 -/* 80244DB0 00241CF0 98 03 00 3C */ stb r0, 0x3c(r3) -/* 80244DB4 00241CF4 4E 80 00 20 */ blr - -.global captureRadarMap__Q34Game4Cave10RandMapMgrFR8Graphics -captureRadarMap__Q34Game4Cave10RandMapMgrFR8Graphics: -/* 80244DB8 00241CF8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80244DBC 00241CFC 7C 08 02 A6 */ mflr r0 -/* 80244DC0 00241D00 90 01 00 24 */ stw r0, 0x24(r1) -/* 80244DC4 00241D04 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80244DC8 00241D08 7C 9F 23 78 */ mr r31, r4 -/* 80244DCC 00241D0C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80244DD0 00241D10 7C 7E 1B 78 */ mr r30, r3 -/* 80244DD4 00241D14 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 80244DD8 00241D18 28 00 00 00 */ cmplwi r0, 0 -/* 80244DDC 00241D1C 41 82 00 A0 */ beq lbl_80244E7C -/* 80244DE0 00241D20 48 00 03 79 */ bl drawFrameBuffer__Q34Game4Cave10RandMapMgrFR8Graphics -/* 80244DE4 00241D24 7F E3 FB 78 */ mr r3, r31 -/* 80244DE8 00241D28 48 1E 29 C1 */ bl setTextureGX__8GraphicsFv -/* 80244DEC 00241D2C 38 00 00 FF */ li r0, 0xff -/* 80244DF0 00241D30 38 81 00 0C */ addi r4, r1, 0xc -/* 80244DF4 00241D34 98 01 00 08 */ stb r0, 8(r1) -/* 80244DF8 00241D38 38 60 00 04 */ li r3, 4 -/* 80244DFC 00241D3C 98 01 00 09 */ stb r0, 9(r1) -/* 80244E00 00241D40 98 01 00 0A */ stb r0, 0xa(r1) -/* 80244E04 00241D44 98 01 00 0B */ stb r0, 0xb(r1) -/* 80244E08 00241D48 80 01 00 08 */ lwz r0, 8(r1) -/* 80244E0C 00241D4C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80244E10 00241D50 4B EA 1F 65 */ bl GXSetChanMatColor -/* 80244E14 00241D54 38 60 00 04 */ li r3, 4 -/* 80244E18 00241D58 38 80 00 00 */ li r4, 0 -/* 80244E1C 00241D5C 38 A0 00 00 */ li r5, 0 -/* 80244E20 00241D60 38 C0 00 00 */ li r6, 0 -/* 80244E24 00241D64 38 E0 00 00 */ li r7, 0 -/* 80244E28 00241D68 39 00 00 00 */ li r8, 0 -/* 80244E2C 00241D6C 39 20 00 02 */ li r9, 2 -/* 80244E30 00241D70 4B EA 20 71 */ bl GXSetChanCtrl -/* 80244E34 00241D74 C0 22 C3 DC */ lfs f1, lbl_8051A73C@sda21(r2) -/* 80244E38 00241D78 7F E4 FB 78 */ mr r4, r31 -/* 80244E3C 00241D7C 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 80244E40 00241D80 FC 40 08 90 */ fmr f2, f1 -/* 80244E44 00241D84 C0 62 C3 E4 */ lfs f3, lbl_8051A744@sda21(r2) -/* 80244E48 00241D88 48 00 07 A5 */ bl draw__Q34Game4Cave11RandMapDrawFR8Graphicsfff -/* 80244E4C 00241D8C 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 80244E50 00241D90 38 80 00 00 */ li r4, 0 -/* 80244E54 00241D94 38 A0 00 00 */ li r5, 0 -/* 80244E58 00241D98 38 C0 00 20 */ li r6, 0x20 -/* 80244E5C 00241D9C 38 E0 00 00 */ li r7, 0 -/* 80244E60 00241DA0 39 00 00 00 */ li r8, 0 -/* 80244E64 00241DA4 4B DE E8 1D */ bl capture__10JUTTextureFii9_GXTexFmtbUc -/* 80244E68 00241DA8 7F C3 F3 78 */ mr r3, r30 -/* 80244E6C 00241DAC 7F E4 FB 78 */ mr r4, r31 -/* 80244E70 00241DB0 48 00 02 E9 */ bl drawFrameBuffer__Q34Game4Cave10RandMapMgrFR8Graphics -/* 80244E74 00241DB4 38 00 00 00 */ li r0, 0 -/* 80244E78 00241DB8 98 1E 00 3C */ stb r0, 0x3c(r30) -lbl_80244E7C: -/* 80244E7C 00241DBC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80244E80 00241DC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80244E84 00241DC4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80244E88 00241DC8 7C 08 03 A6 */ mtlr r0 -/* 80244E8C 00241DCC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80244E90 00241DD0 4E 80 00 20 */ blr - -.global isLastFloor__Q34Game4Cave10RandMapMgrFv -isLastFloor__Q34Game4Cave10RandMapMgrFv: -/* 80244E94 00241DD4 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80244E98 00241DD8 28 03 00 00 */ cmplwi r3, 0 -/* 80244E9C 00241DDC 41 82 00 0C */ beq lbl_80244EA8 -/* 80244EA0 00241DE0 88 63 00 00 */ lbz r3, 0(r3) -/* 80244EA4 00241DE4 4E 80 00 20 */ blr -lbl_80244EA8: -/* 80244EA8 00241DE8 38 60 00 00 */ li r3, 0 -/* 80244EAC 00241DEC 4E 80 00 20 */ blr - -.global isVersusHiba__Q34Game4Cave10RandMapMgrFv -isVersusHiba__Q34Game4Cave10RandMapMgrFv: -/* 80244EB0 00241DF0 88 63 00 44 */ lbz r3, 0x44(r3) -/* 80244EB4 00241DF4 4E 80 00 20 */ blr - -.global getRadarMapTexture__Q34Game4Cave10RandMapMgrFv -getRadarMapTexture__Q34Game4Cave10RandMapMgrFv: -/* 80244EB8 00241DF8 80 63 00 40 */ lwz r3, 0x40(r3) -/* 80244EBC 00241DFC 4E 80 00 20 */ blr - -.global radarMapPartsOpen__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1 -radarMapPartsOpen__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1: -/* 80244EC0 00241E00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80244EC4 00241E04 7C 08 02 A6 */ mflr r0 -/* 80244EC8 00241E08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80244ECC 00241E0C 80 63 00 38 */ lwz r3, 0x38(r3) -/* 80244ED0 00241E10 48 00 05 51 */ bl radarMapPartsOpen__Q34Game4Cave11RandMapDrawFR10Vector3$$0f$$1 -/* 80244ED4 00241E14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80244ED8 00241E18 7C 08 03 A6 */ mtlr r0 -/* 80244EDC 00241E1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80244EE0 00241E20 4E 80 00 20 */ blr - -.global getPositionOnTex__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1RfRf -getPositionOnTex__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1RfRf: -/* 80244EE4 00241E24 C0 22 C3 E8 */ lfs f1, lbl_8051A748@sda21(r2) -/* 80244EE8 00241E28 C0 04 00 00 */ lfs f0, 0(r4) -/* 80244EEC 00241E2C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80244EF0 00241E30 D0 05 00 00 */ stfs f0, 0(r5) -/* 80244EF4 00241E34 C0 04 00 08 */ lfs f0, 8(r4) -/* 80244EF8 00241E38 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80244EFC 00241E3C D0 06 00 00 */ stfs f0, 0(r6) -/* 80244F00 00241E40 4E 80 00 20 */ blr - -.global getBaseGenData__Q34Game4Cave10RandMapMgrFP10Vector3$$0f$$1Pf -getBaseGenData__Q34Game4Cave10RandMapMgrFP10Vector3$$0f$$1Pf: -/* 80244F04 00241E44 94 21 E7 60 */ stwu r1, -0x18a0(r1) -/* 80244F08 00241E48 7C 08 02 A6 */ mflr r0 -/* 80244F0C 00241E4C 90 01 18 A4 */ stw r0, 0x18a4(r1) -/* 80244F10 00241E50 38 00 18 98 */ li r0, 0x1898 -/* 80244F14 00241E54 DB E1 18 90 */ stfd f31, 0x1890(r1) -/* 80244F18 00241E58 13 E1 00 0E */ psq_stx f31, r1, r0, 0, qr0 -/* 80244F1C 00241E5C 38 00 18 88 */ li r0, 0x1888 -/* 80244F20 00241E60 DB C1 18 80 */ stfd f30, 0x1880(r1) -/* 80244F24 00241E64 13 C1 00 0E */ psq_stx f30, r1, r0, 0, qr0 -/* 80244F28 00241E68 BD E1 18 3C */ stmw r15, 0x183c(r1) -/* 80244F2C 00241E6C 80 C3 00 18 */ lwz r6, 0x18(r3) -/* 80244F30 00241E70 3A 41 10 28 */ addi r18, r1, 0x1028 -/* 80244F34 00241E74 C3 E2 C3 DC */ lfs f31, lbl_8051A73C@sda21(r2) -/* 80244F38 00241E78 7C 9D 23 78 */ mr r29, r4 -/* 80244F3C 00241E7C 80 66 00 28 */ lwz r3, 0x28(r6) -/* 80244F40 00241E80 7C BE 2B 78 */ mr r30, r5 -/* 80244F44 00241E84 80 06 00 2C */ lwz r0, 0x2c(r6) -/* 80244F48 00241E88 7E 53 93 78 */ mr r19, r18 -/* 80244F4C 00241E8C 90 61 00 08 */ stw r3, 8(r1) -/* 80244F50 00241E90 3A C1 00 08 */ addi r22, r1, 8 -/* 80244F54 00241E94 3A A1 08 28 */ addi r21, r1, 0x828 -/* 80244F58 00241E98 3A 81 00 28 */ addi r20, r1, 0x28 -/* 80244F5C 00241E9C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80244F60 00241EA0 3A 20 00 00 */ li r17, 0 -/* 80244F64 00241EA4 3A 00 00 00 */ li r16, 0 -lbl_80244F68: -/* 80244F68 00241EA8 80 76 00 00 */ lwz r3, 0(r22) -/* 80244F6C 00241EAC 7E B9 AB 78 */ mr r25, r21 -/* 80244F70 00241EB0 7E 98 A3 78 */ mr r24, r20 -/* 80244F74 00241EB4 7E 77 9B 78 */ mr r23, r19 -/* 80244F78 00241EB8 81 E3 00 10 */ lwz r15, 0x10(r3) -/* 80244F7C 00241EBC 48 00 00 EC */ b lbl_80245068 -lbl_80244F80: -/* 80244F80 00241EC0 80 6F 00 18 */ lwz r3, 0x18(r15) -/* 80244F84 00241EC4 4B FF DC 3D */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 80244F88 00241EC8 28 03 00 00 */ cmplwi r3, 0 -/* 80244F8C 00241ECC 41 82 00 D8 */ beq lbl_80245064 -/* 80244F90 00241ED0 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80244F94 00241ED4 7F 3C CB 78 */ mr r28, r25 -/* 80244F98 00241ED8 7F 1B C3 78 */ mr r27, r24 -/* 80244F9C 00241EDC 7E FA BB 78 */ mr r26, r23 -/* 80244FA0 00241EE0 48 00 00 BC */ b lbl_8024505C -lbl_80244FA4: -/* 80244FA4 00241EE4 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80244FA8 00241EE8 2C 00 00 00 */ cmpwi r0, 0 -/* 80244FAC 00241EEC 41 82 00 0C */ beq lbl_80244FB8 -/* 80244FB0 00241EF0 2C 00 00 01 */ cmpwi r0, 1 -/* 80244FB4 00241EF4 40 82 00 A4 */ bne lbl_80245058 -lbl_80244FB8: -/* 80244FB8 00241EF8 7D E4 7B 78 */ mr r4, r15 -/* 80244FBC 00241EFC 7F E5 FB 78 */ mr r5, r31 -/* 80244FC0 00241F00 38 61 00 1C */ addi r3, r1, 0x1c -/* 80244FC4 00241F04 4B FF EB 19 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 80244FC8 00241F08 C0 3D 00 04 */ lfs f1, 4(r29) -/* 80244FCC 00241F0C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80244FD0 00241F10 C0 7D 00 00 */ lfs f3, 0(r29) -/* 80244FD4 00241F14 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80244FD8 00241F18 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80244FDC 00241F1C C0 3D 00 08 */ lfs f1, 8(r29) -/* 80244FE0 00241F20 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80244FE4 00241F24 EC 63 10 28 */ fsubs f3, f3, f2 -/* 80244FE8 00241F28 EC 84 01 32 */ fmuls f4, f4, f4 -/* 80244FEC 00241F2C EC 41 00 28 */ fsubs f2, f1, f0 -/* 80244FF0 00241F30 C0 02 C3 DC */ lfs f0, lbl_8051A73C@sda21(r2) -/* 80244FF4 00241F34 91 FC 00 00 */ stw r15, 0(r28) -/* 80244FF8 00241F38 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 80244FFC 00241F3C EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80245000 00241F40 93 FB 00 00 */ stw r31, 0(r27) -/* 80245004 00241F44 EC 22 08 2A */ fadds f1, f2, f1 -/* 80245008 00241F48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024500C 00241F4C 40 81 00 14 */ ble lbl_80245020 -/* 80245010 00241F50 40 81 00 14 */ ble lbl_80245024 -/* 80245014 00241F54 FC 00 08 34 */ frsqrte f0, f1 -/* 80245018 00241F58 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8024501C 00241F5C 48 00 00 08 */ b lbl_80245024 -lbl_80245020: -/* 80245020 00241F60 FC 20 00 90 */ fmr f1, f0 -lbl_80245024: -/* 80245024 00241F64 D0 3A 00 00 */ stfs f1, 0(r26) -/* 80245028 00241F68 3A B5 00 04 */ addi r21, r21, 4 -/* 8024502C 00241F6C 3A 94 00 04 */ addi r20, r20, 4 -/* 80245030 00241F70 3A 73 00 04 */ addi r19, r19, 4 -/* 80245034 00241F74 C0 1A 00 00 */ lfs f0, 0(r26) -/* 80245038 00241F78 3A 31 00 01 */ addi r17, r17, 1 -/* 8024503C 00241F7C 3B 9C 00 04 */ addi r28, r28, 4 -/* 80245040 00241F80 3B 7B 00 04 */ addi r27, r27, 4 -/* 80245044 00241F84 EF FF 00 2A */ fadds f31, f31, f0 -/* 80245048 00241F88 3B 39 00 04 */ addi r25, r25, 4 -/* 8024504C 00241F8C 3B 5A 00 04 */ addi r26, r26, 4 -/* 80245050 00241F90 3B 18 00 04 */ addi r24, r24, 4 -/* 80245054 00241F94 3A F7 00 04 */ addi r23, r23, 4 -lbl_80245058: -/* 80245058 00241F98 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8024505C: -/* 8024505C 00241F9C 28 1F 00 00 */ cmplwi r31, 0 -/* 80245060 00241FA0 40 82 FF 44 */ bne lbl_80244FA4 -lbl_80245064: -/* 80245064 00241FA4 81 EF 00 04 */ lwz r15, 4(r15) -lbl_80245068: -/* 80245068 00241FA8 28 0F 00 00 */ cmplwi r15, 0 -/* 8024506C 00241FAC 40 82 FF 14 */ bne lbl_80244F80 -/* 80245070 00241FB0 3A 10 00 01 */ addi r16, r16, 1 -/* 80245074 00241FB4 3A D6 00 04 */ addi r22, r22, 4 -/* 80245078 00241FB8 2C 10 00 02 */ cmpwi r16, 2 -/* 8024507C 00241FBC 41 80 FE EC */ blt lbl_80244F68 -/* 80245080 00241FC0 2C 11 00 00 */ cmpwi r17, 0 -/* 80245084 00241FC4 41 82 00 A8 */ beq lbl_8024512C -/* 80245088 00241FC8 C3 C2 C3 DC */ lfs f30, lbl_8051A73C@sda21(r2) -/* 8024508C 00241FCC 4B E8 45 15 */ bl rand -/* 80245090 00241FD0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80245094 00241FD4 3C 00 43 30 */ lis r0, 0x4330 -/* 80245098 00241FD8 90 61 18 2C */ stw r3, 0x182c(r1) -/* 8024509C 00241FDC 38 60 00 00 */ li r3, 0 -/* 802450A0 00241FE0 C8 42 C3 D0 */ lfd f2, lbl_8051A730@sda21(r2) -/* 802450A4 00241FE4 90 01 18 28 */ stw r0, 0x1828(r1) -/* 802450A8 00241FE8 C0 02 C3 CC */ lfs f0, lbl_8051A72C@sda21(r2) -/* 802450AC 00241FEC C8 21 18 28 */ lfd f1, 0x1828(r1) -/* 802450B0 00241FF0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802450B4 00241FF4 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 802450B8 00241FF8 EC 21 00 24 */ fdivs f1, f1, f0 -/* 802450BC 00241FFC 7E 29 03 A6 */ mtctr r17 -/* 802450C0 00242000 2C 11 00 00 */ cmpwi r17, 0 -/* 802450C4 00242004 40 81 00 68 */ ble lbl_8024512C -lbl_802450C8: -/* 802450C8 00242008 C0 12 00 00 */ lfs f0, 0(r18) -/* 802450CC 0024200C EF DE 00 2A */ fadds f30, f30, f0 -/* 802450D0 00242010 FC 1E 08 40 */ fcmpo cr0, f30, f1 -/* 802450D4 00242014 40 81 00 4C */ ble lbl_80245120 -/* 802450D8 00242018 54 6F 10 3A */ slwi r15, r3, 2 -/* 802450DC 0024201C 3A 21 08 28 */ addi r17, r1, 0x828 -/* 802450E0 00242020 3A 01 00 28 */ addi r16, r1, 0x28 -/* 802450E4 00242024 7C 91 78 2E */ lwzx r4, r17, r15 -/* 802450E8 00242028 7C B0 78 2E */ lwzx r5, r16, r15 -/* 802450EC 0024202C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802450F0 00242030 4B FF E9 ED */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 802450F4 00242034 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802450F8 00242038 7C 71 78 2E */ lwzx r3, r17, r15 -/* 802450FC 0024203C D0 1D 00 00 */ stfs f0, 0(r29) -/* 80245100 00242040 7C 90 78 2E */ lwzx r4, r16, r15 -/* 80245104 00242044 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80245108 00242048 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8024510C 0024204C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80245110 00242050 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80245114 00242054 4B FF ED E9 */ bl getBaseGenGlobalDirection__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 80245118 00242058 D0 3E 00 00 */ stfs f1, 0(r30) -/* 8024511C 0024205C 48 00 00 10 */ b lbl_8024512C -lbl_80245120: -/* 80245120 00242060 3A 52 00 04 */ addi r18, r18, 4 -/* 80245124 00242064 38 63 00 01 */ addi r3, r3, 1 -/* 80245128 00242068 42 00 FF A0 */ bdnz lbl_802450C8 -lbl_8024512C: -/* 8024512C 0024206C 38 00 18 98 */ li r0, 0x1898 -/* 80245130 00242070 13 E1 00 0C */ psq_lx f31, r1, r0, 0, qr0 -/* 80245134 00242074 CB E1 18 90 */ lfd f31, 0x1890(r1) -/* 80245138 00242078 38 00 18 88 */ li r0, 0x1888 -/* 8024513C 0024207C 13 C1 00 0C */ psq_lx f30, r1, r0, 0, qr0 -/* 80245140 00242080 CB C1 18 80 */ lfd f30, 0x1880(r1) -/* 80245144 00242084 B9 E1 18 3C */ lmw r15, 0x183c(r1) -/* 80245148 00242088 80 01 18 A4 */ lwz r0, 0x18a4(r1) -/* 8024514C 0024208C 7C 08 03 A6 */ mtlr r0 -/* 80245150 00242090 38 21 18 A0 */ addi r1, r1, 0x18a0 -/* 80245154 00242094 4E 80 00 20 */ blr - -.global drawFrameBuffer__Q34Game4Cave10RandMapMgrFR8Graphics -drawFrameBuffer__Q34Game4Cave10RandMapMgrFR8Graphics: -/* 80245158 00242098 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8024515C 0024209C 7C 08 02 A6 */ mflr r0 -/* 80245160 002420A0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80245164 002420A4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80245168 002420A8 7C 7F 1B 78 */ mr r31, r3 -/* 8024516C 002420AC 38 64 00 BC */ addi r3, r4, 0xbc -/* 80245170 002420B0 81 84 00 BC */ lwz r12, 0xbc(r4) -/* 80245174 002420B4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80245178 002420B8 7D 89 03 A6 */ mtctr r12 -/* 8024517C 002420BC 4E 80 04 21 */ bctrl -/* 80245180 002420C0 38 60 00 01 */ li r3, 1 -/* 80245184 002420C4 4B EA 3F A9 */ bl GXSetColorUpdate -/* 80245188 002420C8 38 60 00 01 */ li r3, 1 -/* 8024518C 002420CC 4B EA 3F CD */ bl GXSetAlphaUpdate -/* 80245190 002420D0 38 60 00 01 */ li r3, 1 -/* 80245194 002420D4 38 80 00 00 */ li r4, 0 -/* 80245198 002420D8 4B EA 41 55 */ bl GXSetDstAlpha -/* 8024519C 002420DC 38 60 00 02 */ li r3, 2 -/* 802451A0 002420E0 4B EA 0A 09 */ bl GXSetCullMode -/* 802451A4 002420E4 38 60 00 00 */ li r3, 0 -/* 802451A8 002420E8 38 80 00 00 */ li r4, 0 -/* 802451AC 002420EC 38 A0 00 00 */ li r5, 0 -/* 802451B0 002420F0 4B EA 3F D5 */ bl GXSetZMode -/* 802451B4 002420F4 38 60 00 01 */ li r3, 1 -/* 802451B8 002420F8 38 80 00 04 */ li r4, 4 -/* 802451BC 002420FC 38 A0 00 05 */ li r5, 5 -/* 802451C0 00242100 38 C0 00 00 */ li r6, 0 -/* 802451C4 00242104 4B EA 3F 15 */ bl GXSetBlendMode -/* 802451C8 00242108 38 60 00 01 */ li r3, 1 -/* 802451CC 0024210C 4B EA 1C 99 */ bl GXSetNumChans -/* 802451D0 00242110 38 A0 00 00 */ li r5, 0 -/* 802451D4 00242114 38 00 00 FF */ li r0, 0xff -/* 802451D8 00242118 98 A1 00 08 */ stb r5, 8(r1) -/* 802451DC 0024211C 38 81 00 0C */ addi r4, r1, 0xc -/* 802451E0 00242120 38 60 00 04 */ li r3, 4 -/* 802451E4 00242124 98 A1 00 09 */ stb r5, 9(r1) -/* 802451E8 00242128 98 A1 00 0A */ stb r5, 0xa(r1) -/* 802451EC 0024212C 98 01 00 0B */ stb r0, 0xb(r1) -/* 802451F0 00242130 80 01 00 08 */ lwz r0, 8(r1) -/* 802451F4 00242134 90 01 00 0C */ stw r0, 0xc(r1) -/* 802451F8 00242138 4B EA 1B 7D */ bl GXSetChanMatColor -/* 802451FC 0024213C 38 60 00 04 */ li r3, 4 -/* 80245200 00242140 38 80 00 00 */ li r4, 0 -/* 80245204 00242144 38 A0 00 00 */ li r5, 0 -/* 80245208 00242148 38 C0 00 00 */ li r6, 0 -/* 8024520C 0024214C 38 E0 00 00 */ li r7, 0 -/* 80245210 00242150 39 00 00 00 */ li r8, 0 -/* 80245214 00242154 39 20 00 02 */ li r9, 2 -/* 80245218 00242158 4B EA 1C 89 */ bl GXSetChanCtrl -/* 8024521C 0024215C 38 60 00 01 */ li r3, 1 -/* 80245220 00242160 4B EA 39 99 */ bl GXSetNumTevStages -/* 80245224 00242164 38 60 00 00 */ li r3, 0 -/* 80245228 00242168 38 80 00 00 */ li r4, 0 -/* 8024522C 0024216C 38 A0 00 FF */ li r5, 0xff -/* 80245230 00242170 38 C0 00 04 */ li r6, 4 -/* 80245234 00242174 4B EA 37 E9 */ bl GXSetTevOrder -/* 80245238 00242178 38 60 00 00 */ li r3, 0 -/* 8024523C 0024217C 38 80 00 04 */ li r4, 4 -/* 80245240 00242180 4B EA 32 3D */ bl GXSetTevOp -/* 80245244 00242184 4B E9 F4 8D */ bl GXClearVtxDesc -/* 80245248 00242188 4B E9 FA C5 */ bl GXInvalidateVtxCache -/* 8024524C 0024218C 38 60 00 09 */ li r3, 9 -/* 80245250 00242190 38 80 00 01 */ li r4, 1 -/* 80245254 00242194 4B E9 F0 31 */ bl GXSetVtxDesc -/* 80245258 00242198 38 60 00 00 */ li r3, 0 -/* 8024525C 0024219C 38 80 00 09 */ li r4, 9 -/* 80245260 002421A0 38 A0 00 01 */ li r5, 1 -/* 80245264 002421A4 38 C0 00 04 */ li r6, 4 -/* 80245268 002421A8 38 E0 00 00 */ li r7, 0 -/* 8024526C 002421AC 4B E9 F4 9D */ bl GXSetVtxAttrFmt -/* 80245270 002421B0 38 60 00 80 */ li r3, 0x80 -/* 80245274 002421B4 38 80 00 00 */ li r4, 0 -/* 80245278 002421B8 38 A0 00 04 */ li r5, 4 -/* 8024527C 002421BC 4B EA 07 0D */ bl GXBegin -/* 80245280 002421C0 C0 62 C3 DC */ lfs f3, lbl_8051A73C@sda21(r2) -/* 80245284 002421C4 3C 00 43 30 */ lis r0, 0x4330 -/* 80245288 002421C8 3C C0 CC 01 */ lis r6, 0xCC008000@ha -/* 8024528C 002421CC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80245290 002421D0 C8 42 C3 D0 */ lfd f2, lbl_8051A730@sda21(r2) -/* 80245294 002421D4 38 60 00 00 */ li r3, 0 -/* 80245298 002421D8 D0 66 80 00 */ stfs f3, 0xCC008000@l(r6) -/* 8024529C 002421DC 38 80 00 00 */ li r4, 0 -/* 802452A0 002421E0 D0 66 80 00 */ stfs f3, -0x8000(r6) -/* 802452A4 002421E4 D0 66 80 00 */ stfs f3, -0x8000(r6) -/* 802452A8 002421E8 80 BF 00 40 */ lwz r5, 0x40(r31) -/* 802452AC 002421EC 90 01 00 18 */ stw r0, 0x18(r1) -/* 802452B0 002421F0 80 A5 00 20 */ lwz r5, 0x20(r5) -/* 802452B4 002421F4 90 01 00 20 */ stw r0, 0x20(r1) -/* 802452B8 002421F8 A0 A5 00 02 */ lhz r5, 2(r5) -/* 802452BC 002421FC 90 01 00 28 */ stw r0, 0x28(r1) -/* 802452C0 00242200 6C A0 80 00 */ xoris r0, r5, 0x8000 -/* 802452C4 00242204 90 01 00 14 */ stw r0, 0x14(r1) -/* 802452C8 00242208 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802452CC 0024220C EC 00 10 28 */ fsubs f0, f0, f2 -/* 802452D0 00242210 D0 06 80 00 */ stfs f0, -0x8000(r6) -/* 802452D4 00242214 D0 66 80 00 */ stfs f3, -0x8000(r6) -/* 802452D8 00242218 D0 66 80 00 */ stfs f3, -0x8000(r6) -/* 802452DC 0024221C 80 BF 00 40 */ lwz r5, 0x40(r31) -/* 802452E0 00242220 80 A5 00 20 */ lwz r5, 0x20(r5) -/* 802452E4 00242224 A0 05 00 02 */ lhz r0, 2(r5) -/* 802452E8 00242228 A0 A5 00 04 */ lhz r5, 4(r5) -/* 802452EC 0024222C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 802452F0 00242230 90 01 00 1C */ stw r0, 0x1c(r1) -/* 802452F4 00242234 6C A0 80 00 */ xoris r0, r5, 0x8000 -/* 802452F8 00242238 90 01 00 24 */ stw r0, 0x24(r1) -/* 802452FC 0024223C C8 21 00 18 */ lfd f1, 0x18(r1) -/* 80245300 00242240 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 80245304 00242244 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80245308 00242248 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024530C 0024224C D0 26 80 00 */ stfs f1, -0x8000(r6) -/* 80245310 00242250 D0 06 80 00 */ stfs f0, -0x8000(r6) -/* 80245314 00242254 D0 66 80 00 */ stfs f3, -0x8000(r6) -/* 80245318 00242258 80 BF 00 40 */ lwz r5, 0x40(r31) -/* 8024531C 0024225C 80 A5 00 20 */ lwz r5, 0x20(r5) -/* 80245320 00242260 A0 05 00 04 */ lhz r0, 4(r5) -/* 80245324 00242264 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80245328 00242268 D0 66 80 00 */ stfs f3, -0x8000(r6) -/* 8024532C 0024226C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80245330 00242270 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 80245334 00242274 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80245338 00242278 D0 06 80 00 */ stfs f0, -0x8000(r6) -/* 8024533C 0024227C D0 66 80 00 */ stfs f3, -0x8000(r6) -/* 80245340 00242280 4B EA 3F AD */ bl GXSetDstAlpha -/* 80245344 00242284 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80245348 00242288 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8024534C 0024228C 7C 08 03 A6 */ mtlr r0 -/* 80245350 00242290 38 21 00 40 */ addi r1, r1, 0x40 -/* 80245354 00242294 4E 80 00 20 */ blr - -.global __dt__Q24Game8RoomLinkFv -__dt__Q24Game8RoomLinkFv: -/* 80245358 00242298 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024535C 0024229C 7C 08 02 A6 */ mflr r0 -/* 80245360 002422A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80245364 002422A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80245368 002422A8 7C 9F 23 78 */ mr r31, r4 -/* 8024536C 002422AC 93 C1 00 08 */ stw r30, 8(r1) -/* 80245370 002422B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80245374 002422B4 41 82 00 28 */ beq lbl_8024539C -/* 80245378 002422B8 3C A0 80 4C */ lis r5, __vt__Q24Game8RoomLink@ha -/* 8024537C 002422BC 38 80 00 00 */ li r4, 0 -/* 80245380 002422C0 38 05 1A D8 */ addi r0, r5, __vt__Q24Game8RoomLink@l -/* 80245384 002422C4 90 1E 00 00 */ stw r0, 0(r30) -/* 80245388 002422C8 48 1C C2 01 */ bl __dt__5CNodeFv -/* 8024538C 002422CC 7F E0 07 35 */ extsh. r0, r31 -/* 80245390 002422D0 40 81 00 0C */ ble lbl_8024539C -/* 80245394 002422D4 7F C3 F3 78 */ mr r3, r30 -/* 80245398 002422D8 4B DD ED 1D */ bl __dl__FPv -lbl_8024539C: -/* 8024539C 002422DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802453A0 002422E0 7F C3 F3 78 */ mr r3, r30 -/* 802453A4 002422E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802453A8 002422E8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802453AC 002422EC 7C 08 03 A6 */ mtlr r0 -/* 802453B0 002422F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802453B4 002422F4 4E 80 00 20 */ blr - -.global __dt__Q34Game4Cave10RandMapMgrFv -__dt__Q34Game4Cave10RandMapMgrFv: -/* 802453B8 002422F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802453BC 002422FC 7C 08 02 A6 */ mflr r0 -/* 802453C0 00242300 90 01 00 14 */ stw r0, 0x14(r1) -/* 802453C4 00242304 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802453C8 00242308 7C 9F 23 78 */ mr r31, r4 -/* 802453CC 0024230C 93 C1 00 08 */ stw r30, 8(r1) -/* 802453D0 00242310 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802453D4 00242314 41 82 00 28 */ beq lbl_802453FC -/* 802453D8 00242318 3C A0 80 4C */ lis r5, __vt__Q34Game4Cave10RandMapMgr@ha -/* 802453DC 0024231C 38 80 00 00 */ li r4, 0 -/* 802453E0 00242320 38 05 1A E8 */ addi r0, r5, __vt__Q34Game4Cave10RandMapMgr@l -/* 802453E4 00242324 90 1E 00 00 */ stw r0, 0(r30) -/* 802453E8 00242328 48 1C C1 A1 */ bl __dt__5CNodeFv -/* 802453EC 0024232C 7F E0 07 35 */ extsh. r0, r31 -/* 802453F0 00242330 40 81 00 0C */ ble lbl_802453FC -/* 802453F4 00242334 7F C3 F3 78 */ mr r3, r30 -/* 802453F8 00242338 4B DD EC BD */ bl __dl__FPv -lbl_802453FC: -/* 802453FC 0024233C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80245400 00242340 7F C3 F3 78 */ mr r3, r30 -/* 80245404 00242344 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80245408 00242348 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024540C 0024234C 7C 08 03 A6 */ mtlr r0 -/* 80245410 00242350 38 21 00 10 */ addi r1, r1, 0x10 -/* 80245414 00242354 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave11RandMapDrawFPQ34Game4Cave16MapUnitGenerator -__ct__Q34Game4Cave11RandMapDrawFPQ34Game4Cave16MapUnitGenerator: -/* 80245418 00242358 90 83 00 00 */ stw r4, 0(r3) -/* 8024541C 0024235C 4E 80 00 20 */ blr - -.global radarMapPartsOpen__Q34Game4Cave11RandMapDrawFR10Vector3$$0f$$1 -radarMapPartsOpen__Q34Game4Cave11RandMapDrawFR10Vector3$$0f$$1: -/* 80245420 00242360 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80245424 00242364 7C 08 02 A6 */ mflr r0 -/* 80245428 00242368 90 01 00 64 */ stw r0, 0x64(r1) -/* 8024542C 0024236C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80245430 00242370 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80245434 00242374 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80245438 00242378 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8024543C 0024237C DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80245440 00242380 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80245444 00242384 BF 01 00 10 */ stmw r24, 0x10(r1) -/* 80245448 00242388 C0 44 00 00 */ lfs f2, 0(r4) -/* 8024544C 0024238C 3F 60 43 30 */ lis r27, 0x4330 -/* 80245450 00242390 C0 22 C3 F0 */ lfs f1, lbl_8051A750@sda21(r2) -/* 80245454 00242394 C0 04 00 08 */ lfs f0, 8(r4) -/* 80245458 00242398 EF C2 08 24 */ fdivs f30, f2, f1 -/* 8024545C 0024239C 80 63 00 00 */ lwz r3, 0(r3) -/* 80245460 002423A0 CB E2 C3 F8 */ lfd f31, lbl_8051A758@sda21(r2) -/* 80245464 002423A4 83 E3 00 28 */ lwz r31, 0x28(r3) -/* 80245468 002423A8 83 C3 00 2C */ lwz r30, 0x2c(r3) -/* 8024546C 002423AC 83 BF 00 10 */ lwz r29, 0x10(r31) -/* 80245470 002423B0 EF A0 08 24 */ fdivs f29, f0, f1 -/* 80245474 002423B4 48 00 01 44 */ b lbl_802455B8 -lbl_80245478: -/* 80245478 002423B8 7F A3 EB 78 */ mr r3, r29 -/* 8024547C 002423BC 4B FF E5 21 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80245480 002423C0 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80245484 002423C4 93 61 00 08 */ stw r27, 8(r1) -/* 80245488 002423C8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8024548C 002423CC C8 01 00 08 */ lfd f0, 8(r1) -/* 80245490 002423D0 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80245494 002423D4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80245498 002423D8 40 81 01 1C */ ble lbl_802455B4 -/* 8024549C 002423DC 7F A3 EB 78 */ mr r3, r29 -/* 802454A0 002423E0 4B FF E5 05 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 802454A4 002423E4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802454A8 002423E8 3C 00 43 30 */ lis r0, 0x4330 -/* 802454AC 002423EC 90 61 00 0C */ stw r3, 0xc(r1) -/* 802454B0 002423F0 C8 22 C3 F8 */ lfd f1, lbl_8051A758@sda21(r2) -/* 802454B4 002423F4 90 01 00 08 */ stw r0, 8(r1) -/* 802454B8 002423F8 C8 01 00 08 */ lfd f0, 8(r1) -/* 802454BC 002423FC EC 00 08 28 */ fsubs f0, f0, f1 -/* 802454C0 00242400 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 802454C4 00242404 40 81 00 F0 */ ble lbl_802455B4 -/* 802454C8 00242408 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 802454CC 0024240C 4B FF D6 B9 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 802454D0 00242410 7C 7C 1B 78 */ mr r28, r3 -/* 802454D4 00242414 7F A3 EB 78 */ mr r3, r29 -/* 802454D8 00242418 4B FF E4 C5 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 802454DC 0024241C 7C 63 E2 14 */ add r3, r3, r28 -/* 802454E0 00242420 3C 00 43 30 */ lis r0, 0x4330 -/* 802454E4 00242424 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802454E8 00242428 90 01 00 08 */ stw r0, 8(r1) -/* 802454EC 0024242C C8 22 C3 F8 */ lfd f1, lbl_8051A758@sda21(r2) -/* 802454F0 00242430 90 61 00 0C */ stw r3, 0xc(r1) -/* 802454F4 00242434 C8 01 00 08 */ lfd f0, 8(r1) -/* 802454F8 00242438 EC 00 08 28 */ fsubs f0, f0, f1 -/* 802454FC 0024243C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80245500 00242440 40 80 00 B4 */ bge lbl_802455B4 -/* 80245504 00242444 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80245508 00242448 4B FF D6 85 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 8024550C 0024244C 7C 7C 1B 78 */ mr r28, r3 -/* 80245510 00242450 7F A3 EB 78 */ mr r3, r29 -/* 80245514 00242454 4B FF E4 91 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80245518 00242458 7C 63 E2 14 */ add r3, r3, r28 -/* 8024551C 0024245C 3C 00 43 30 */ lis r0, 0x4330 -/* 80245520 00242460 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80245524 00242464 90 01 00 08 */ stw r0, 8(r1) -/* 80245528 00242468 C8 22 C3 F8 */ lfd f1, lbl_8051A758@sda21(r2) -/* 8024552C 0024246C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80245530 00242470 C8 01 00 08 */ lfd f0, 8(r1) -/* 80245534 00242474 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80245538 00242478 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8024553C 0024247C 40 80 00 78 */ bge lbl_802455B4 -/* 80245540 00242480 7F A3 EB 78 */ mr r3, r29 -/* 80245544 00242484 48 1C C0 8D */ bl del__5CNodeFv -/* 80245548 00242488 7F C3 F3 78 */ mr r3, r30 -/* 8024554C 0024248C 7F A4 EB 78 */ mr r4, r29 -/* 80245550 00242490 48 1C BE B9 */ bl add__5CNodeFP5CNode -/* 80245554 00242494 7F A3 EB 78 */ mr r3, r29 -/* 80245558 00242498 4B FF EB 09 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024555C 0024249C 7C 7C 1B 78 */ mr r28, r3 -/* 80245560 002424A0 3B 20 00 00 */ li r25, 0 -/* 80245564 002424A4 3B 40 00 00 */ li r26, 0 -/* 80245568 002424A8 48 00 00 44 */ b lbl_802455AC -lbl_8024556C: -/* 8024556C 002424AC 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80245570 002424B0 7F 03 D0 2E */ lwzx r24, r3, r26 -/* 80245574 002424B4 80 18 00 0C */ lwz r0, 0xc(r24) -/* 80245578 002424B8 7C 1F 00 40 */ cmplw r31, r0 -/* 8024557C 002424BC 40 82 00 28 */ bne lbl_802455A4 -/* 80245580 002424C0 80 78 00 18 */ lwz r3, 0x18(r24) -/* 80245584 002424C4 4B FF D5 F5 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 80245588 002424C8 2C 03 00 00 */ cmpwi r3, 0 -/* 8024558C 002424CC 40 82 00 18 */ bne lbl_802455A4 -/* 80245590 002424D0 7F 03 C3 78 */ mr r3, r24 -/* 80245594 002424D4 48 1C C0 3D */ bl del__5CNodeFv -/* 80245598 002424D8 7F C3 F3 78 */ mr r3, r30 -/* 8024559C 002424DC 7F 04 C3 78 */ mr r4, r24 -/* 802455A0 002424E0 48 1C BE 69 */ bl add__5CNodeFP5CNode -lbl_802455A4: -/* 802455A4 002424E4 3B 5A 00 0C */ addi r26, r26, 0xc -/* 802455A8 002424E8 3B 39 00 01 */ addi r25, r25, 1 -lbl_802455AC: -/* 802455AC 002424EC 7C 19 E0 00 */ cmpw r25, r28 -/* 802455B0 002424F0 41 80 FF BC */ blt lbl_8024556C -lbl_802455B4: -/* 802455B4 002424F4 83 BD 00 04 */ lwz r29, 4(r29) -lbl_802455B8: -/* 802455B8 002424F8 28 1D 00 00 */ cmplwi r29, 0 -/* 802455BC 002424FC 40 82 FE BC */ bne lbl_80245478 -/* 802455C0 00242500 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802455C4 00242504 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802455C8 00242508 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 802455CC 0024250C CB C1 00 40 */ lfd f30, 0x40(r1) -/* 802455D0 00242510 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 802455D4 00242514 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 802455D8 00242518 BB 01 00 10 */ lmw r24, 0x10(r1) -/* 802455DC 0024251C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802455E0 00242520 7C 08 03 A6 */ mtlr r0 -/* 802455E4 00242524 38 21 00 60 */ addi r1, r1, 0x60 -/* 802455E8 00242528 4E 80 00 20 */ blr - -.global draw__Q34Game4Cave11RandMapDrawFR8Graphicsfff -draw__Q34Game4Cave11RandMapDrawFR8Graphicsfff: -/* 802455EC 0024252C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802455F0 00242530 7C 08 02 A6 */ mflr r0 -/* 802455F4 00242534 90 01 00 34 */ stw r0, 0x34(r1) -/* 802455F8 00242538 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 802455FC 0024253C FF E0 18 90 */ fmr f31, f3 -/* 80245600 00242540 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80245604 00242544 FF C0 10 90 */ fmr f30, f2 -/* 80245608 00242548 DB A1 00 18 */ stfd f29, 0x18(r1) -/* 8024560C 0024254C FF A0 08 90 */ fmr f29, f1 -/* 80245610 00242550 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80245614 00242554 80 63 00 00 */ lwz r3, 0(r3) -/* 80245618 00242558 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 8024561C 0024255C 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80245620 00242560 48 00 00 1C */ b lbl_8024563C -lbl_80245624: -/* 80245624 00242564 FC 20 E8 90 */ fmr f1, f29 -/* 80245628 00242568 7F E3 FB 78 */ mr r3, r31 -/* 8024562C 0024256C FC 40 F0 90 */ fmr f2, f30 -/* 80245630 00242570 FC 60 F8 90 */ fmr f3, f31 -/* 80245634 00242574 4B FF E2 59 */ bl draw__Q34Game4Cave7MapNodeFfff -/* 80245638 00242578 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8024563C: -/* 8024563C 0024257C 28 1F 00 00 */ cmplwi r31, 0 -/* 80245640 00242580 40 82 FF E4 */ bne lbl_80245624 -/* 80245644 00242584 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80245648 00242588 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 8024564C 0024258C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80245650 00242590 CB A1 00 18 */ lfd f29, 0x18(r1) -/* 80245654 00242594 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80245658 00242598 7C 08 03 A6 */ mtlr r0 -/* 8024565C 0024259C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80245660 002425A0 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -__ct__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode: -/* 80245664 002425A4 90 83 00 00 */ stw r4, 0(r3) -/* 80245668 002425A8 4E 80 00 20 */ blr - -.global isPutOnMap__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -isPutOnMap__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode: -/* 8024566C 002425AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80245670 002425B0 7C 08 02 A6 */ mflr r0 -/* 80245674 002425B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80245678 002425B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024567C 002425BC 7C 9F 23 78 */ mr r31, r4 -/* 80245680 002425C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80245684 002425C4 7C 7E 1B 78 */ mr r30, r3 -/* 80245688 002425C8 48 00 00 61 */ bl isPartsOnParts__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -/* 8024568C 002425CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80245690 002425D0 41 82 00 0C */ beq lbl_8024569C -/* 80245694 002425D4 38 60 00 00 */ li r3, 0 -/* 80245698 002425D8 48 00 00 38 */ b lbl_802456D0 -lbl_8024569C: -/* 8024569C 002425DC 7F C3 F3 78 */ mr r3, r30 -/* 802456A0 002425E0 7F E4 FB 78 */ mr r4, r31 -/* 802456A4 002425E4 48 00 01 35 */ bl isDoorOnParts__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -/* 802456A8 002425E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802456AC 002425EC 41 82 00 0C */ beq lbl_802456B8 -/* 802456B0 002425F0 38 60 00 00 */ li r3, 0 -/* 802456B4 002425F4 48 00 00 1C */ b lbl_802456D0 -lbl_802456B8: -/* 802456B8 002425F8 7F C3 F3 78 */ mr r3, r30 -/* 802456BC 002425FC 7F E4 FB 78 */ mr r4, r31 -/* 802456C0 00242600 48 00 03 39 */ bl isPartsOnDoor__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -/* 802456C4 00242604 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 802456C8 00242608 7C 00 00 34 */ cntlzw r0, r0 -/* 802456CC 0024260C 54 03 D9 7E */ srwi r3, r0, 5 -lbl_802456D0: -/* 802456D0 00242610 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802456D4 00242614 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802456D8 00242618 83 C1 00 08 */ lwz r30, 8(r1) -/* 802456DC 0024261C 7C 08 03 A6 */ mtlr r0 -/* 802456E0 00242620 38 21 00 10 */ addi r1, r1, 0x10 -/* 802456E4 00242624 4E 80 00 20 */ blr - -.global isPartsOnParts__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -isPartsOnParts__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode: -/* 802456E8 00242628 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802456EC 0024262C 7C 08 02 A6 */ mflr r0 -/* 802456F0 00242630 90 01 00 44 */ stw r0, 0x44(r1) -/* 802456F4 00242634 BE E1 00 1C */ stmw r23, 0x1c(r1) -/* 802456F8 00242638 7C 98 23 78 */ mr r24, r4 -/* 802456FC 0024263C 7C 77 1B 78 */ mr r23, r3 -/* 80245700 00242640 7F 03 C3 78 */ mr r3, r24 -/* 80245704 00242644 4B FF E2 99 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80245708 00242648 7C 60 1B 78 */ mr r0, r3 -/* 8024570C 0024264C 7F 03 C3 78 */ mr r3, r24 -/* 80245710 00242650 7C 1F 03 78 */ mr r31, r0 -/* 80245714 00242654 4B FF E2 91 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80245718 00242658 7C 60 1B 78 */ mr r0, r3 -/* 8024571C 0024265C 80 78 00 18 */ lwz r3, 0x18(r24) -/* 80245720 00242660 7C 1E 03 78 */ mr r30, r0 -/* 80245724 00242664 4B FF D4 61 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80245728 00242668 7F BF 1A 14 */ add r29, r31, r3 -/* 8024572C 0024266C 80 78 00 18 */ lwz r3, 0x18(r24) -/* 80245730 00242670 4B FF D4 5D */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80245734 00242674 80 97 00 00 */ lwz r4, 0(r23) -/* 80245738 00242678 7F 9E 1A 14 */ add r28, r30, r3 -/* 8024573C 0024267C 83 04 00 10 */ lwz r24, 0x10(r4) -/* 80245740 00242680 48 00 00 78 */ b lbl_802457B8 -lbl_80245744: -/* 80245744 00242684 7F 03 C3 78 */ mr r3, r24 -/* 80245748 00242688 4B FF E2 55 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 8024574C 0024268C 7C 60 1B 78 */ mr r0, r3 -/* 80245750 00242690 7F 03 C3 78 */ mr r3, r24 -/* 80245754 00242694 7C 1B 03 78 */ mr r27, r0 -/* 80245758 00242698 4B FF E2 4D */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 8024575C 0024269C 7C 60 1B 78 */ mr r0, r3 -/* 80245760 002426A0 80 78 00 18 */ lwz r3, 0x18(r24) -/* 80245764 002426A4 7C 1A 03 78 */ mr r26, r0 -/* 80245768 002426A8 4B FF D4 1D */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 8024576C 002426AC 7F 3B 1A 14 */ add r25, r27, r3 -/* 80245770 002426B0 80 78 00 18 */ lwz r3, 0x18(r24) -/* 80245774 002426B4 4B FF D4 19 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80245778 002426B8 7C 1A 1A 14 */ add r0, r26, r3 -/* 8024577C 002426BC 7E E3 BB 78 */ mr r3, r23 -/* 80245780 002426C0 90 01 00 08 */ stw r0, 8(r1) -/* 80245784 002426C4 7F E4 FB 78 */ mr r4, r31 -/* 80245788 002426C8 7F C5 F3 78 */ mr r5, r30 -/* 8024578C 002426CC 7F A6 EB 78 */ mr r6, r29 -/* 80245790 002426D0 7F 87 E3 78 */ mr r7, r28 -/* 80245794 002426D4 7F 68 DB 78 */ mr r8, r27 -/* 80245798 002426D8 7F 49 D3 78 */ mr r9, r26 -/* 8024579C 002426DC 7F 2A CB 78 */ mr r10, r25 -/* 802457A0 002426E0 48 00 04 41 */ bl isInnerBox__Q34Game4Cave14RandMapCheckerFiiiiiiii -/* 802457A4 002426E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802457A8 002426E8 41 82 00 0C */ beq lbl_802457B4 -/* 802457AC 002426EC 38 60 00 01 */ li r3, 1 -/* 802457B0 002426F0 48 00 00 14 */ b lbl_802457C4 -lbl_802457B4: -/* 802457B4 002426F4 83 18 00 04 */ lwz r24, 4(r24) -lbl_802457B8: -/* 802457B8 002426F8 28 18 00 00 */ cmplwi r24, 0 -/* 802457BC 002426FC 40 82 FF 88 */ bne lbl_80245744 -/* 802457C0 00242700 38 60 00 00 */ li r3, 0 -lbl_802457C4: -/* 802457C4 00242704 BA E1 00 1C */ lmw r23, 0x1c(r1) -/* 802457C8 00242708 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802457CC 0024270C 7C 08 03 A6 */ mtlr r0 -/* 802457D0 00242710 38 21 00 40 */ addi r1, r1, 0x40 -/* 802457D4 00242714 4E 80 00 20 */ blr - -.global isDoorOnParts__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -isDoorOnParts__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode: -/* 802457D8 00242718 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802457DC 0024271C 7C 08 02 A6 */ mflr r0 -/* 802457E0 00242720 90 01 00 54 */ stw r0, 0x54(r1) -/* 802457E4 00242724 BE E1 00 2C */ stmw r23, 0x2c(r1) -/* 802457E8 00242728 7C 9D 23 78 */ mr r29, r4 -/* 802457EC 0024272C 7C 7C 1B 78 */ mr r28, r3 -/* 802457F0 00242730 7F A3 EB 78 */ mr r3, r29 -/* 802457F4 00242734 4B FF E8 6D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802457F8 00242738 7C 7F 1B 78 */ mr r31, r3 -/* 802457FC 0024273C 7F A3 EB 78 */ mr r3, r29 -/* 80245800 00242740 4B FF E1 9D */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80245804 00242744 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80245808 00242748 7F A3 EB 78 */ mr r3, r29 -/* 8024580C 0024274C 4B FF E1 99 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80245810 00242750 90 61 00 18 */ stw r3, 0x18(r1) -/* 80245814 00242754 3B C0 00 00 */ li r30, 0 -/* 80245818 00242758 48 00 01 C0 */ b lbl_802459D8 -lbl_8024581C: -/* 8024581C 0024275C 7F A3 EB 78 */ mr r3, r29 -/* 80245820 00242760 7F C4 F3 78 */ mr r4, r30 -/* 80245824 00242764 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80245828 00242768 38 C1 00 18 */ addi r6, r1, 0x18 -/* 8024582C 0024276C 3B 20 00 00 */ li r25, 0 -/* 80245830 00242770 4B FF D8 1D */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80245834 00242774 80 7C 00 00 */ lwz r3, 0(r28) -/* 80245838 00242778 83 03 00 10 */ lwz r24, 0x10(r3) -/* 8024583C 0024277C 48 00 00 A8 */ b lbl_802458E4 -lbl_80245840: -/* 80245840 00242780 7F 03 C3 78 */ mr r3, r24 -/* 80245844 00242784 4B FF E8 1D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80245848 00242788 7C 7A 1B 78 */ mr r26, r3 -/* 8024584C 0024278C 3A E0 00 00 */ li r23, 0 -/* 80245850 00242790 48 00 00 88 */ b lbl_802458D8 -lbl_80245854: -/* 80245854 00242794 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80245858 00242798 40 82 00 7C */ bne lbl_802458D4 -/* 8024585C 0024279C 7F 03 C3 78 */ mr r3, r24 -/* 80245860 002427A0 7E E4 BB 78 */ mr r4, r23 -/* 80245864 002427A4 4B FF DA B5 */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 80245868 002427A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024586C 002427AC 40 82 00 68 */ bne lbl_802458D4 -/* 80245870 002427B0 7F 03 C3 78 */ mr r3, r24 -/* 80245874 002427B4 7E E4 BB 78 */ mr r4, r23 -/* 80245878 002427B8 4B FF DC 0D */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 8024587C 002427BC 7C 7B 1B 78 */ mr r27, r3 -/* 80245880 002427C0 7F A3 EB 78 */ mr r3, r29 -/* 80245884 002427C4 7F C4 F3 78 */ mr r4, r30 -/* 80245888 002427C8 4B FF DB FD */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 8024588C 002427CC 7F 64 DB 78 */ mr r4, r27 -/* 80245890 002427D0 48 00 61 4D */ bl isDoorAdjust__Q34Game4Cave8DoorNodeFPQ34Game4Cave8DoorNode -/* 80245894 002427D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80245898 002427D8 41 82 00 3C */ beq lbl_802458D4 -/* 8024589C 002427DC 7F 03 C3 78 */ mr r3, r24 -/* 802458A0 002427E0 7E E4 BB 78 */ mr r4, r23 -/* 802458A4 002427E4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802458A8 002427E8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 802458AC 002427EC 4B FF D7 A1 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 802458B0 002427F0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802458B4 002427F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802458B8 002427F8 7C 03 00 00 */ cmpw r3, r0 -/* 802458BC 002427FC 40 82 00 18 */ bne lbl_802458D4 -/* 802458C0 00242800 80 61 00 18 */ lwz r3, 0x18(r1) -/* 802458C4 00242804 80 01 00 10 */ lwz r0, 0x10(r1) -/* 802458C8 00242808 7C 03 00 00 */ cmpw r3, r0 -/* 802458CC 0024280C 40 82 00 08 */ bne lbl_802458D4 -/* 802458D0 00242810 3B 20 00 01 */ li r25, 1 -lbl_802458D4: -/* 802458D4 00242814 3A F7 00 01 */ addi r23, r23, 1 -lbl_802458D8: -/* 802458D8 00242818 7C 17 D0 00 */ cmpw r23, r26 -/* 802458DC 0024281C 41 80 FF 78 */ blt lbl_80245854 -/* 802458E0 00242820 83 18 00 04 */ lwz r24, 4(r24) -lbl_802458E4: -/* 802458E4 00242824 28 18 00 00 */ cmplwi r24, 0 -/* 802458E8 00242828 40 82 FF 58 */ bne lbl_80245840 -/* 802458EC 0024282C 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 802458F0 00242830 40 82 00 E4 */ bne lbl_802459D4 -/* 802458F4 00242834 7F A3 EB 78 */ mr r3, r29 -/* 802458F8 00242838 7F C4 F3 78 */ mr r4, r30 -/* 802458FC 0024283C 4B FF D7 2D */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 80245900 00242840 2C 03 00 03 */ cmpwi r3, 3 -/* 80245904 00242844 41 82 00 24 */ beq lbl_80245928 -/* 80245908 00242848 40 80 00 2C */ bge lbl_80245934 -/* 8024590C 0024284C 2C 03 00 00 */ cmpwi r3, 0 -/* 80245910 00242850 41 82 00 08 */ beq lbl_80245918 -/* 80245914 00242854 48 00 00 20 */ b lbl_80245934 -lbl_80245918: -/* 80245918 00242858 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8024591C 0024285C 38 03 FF FF */ addi r0, r3, -1 -/* 80245920 00242860 90 01 00 18 */ stw r0, 0x18(r1) -/* 80245924 00242864 48 00 00 10 */ b lbl_80245934 -lbl_80245928: -/* 80245928 00242868 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8024592C 0024286C 38 03 FF FF */ addi r0, r3, -1 -/* 80245930 00242870 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_80245934: -/* 80245934 00242874 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 80245938 00242878 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8024593C 0024287C 38 84 00 01 */ addi r4, r4, 1 -/* 80245940 00242880 38 03 00 01 */ addi r0, r3, 1 -/* 80245944 00242884 90 81 00 14 */ stw r4, 0x14(r1) -/* 80245948 00242888 90 01 00 10 */ stw r0, 0x10(r1) -/* 8024594C 0024288C 80 7C 00 00 */ lwz r3, 0(r28) -/* 80245950 00242890 82 E3 00 10 */ lwz r23, 0x10(r3) -/* 80245954 00242894 48 00 00 78 */ b lbl_802459CC -lbl_80245958: -/* 80245958 00242898 7E E3 BB 78 */ mr r3, r23 -/* 8024595C 0024289C 4B FF E0 41 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80245960 002428A0 7C 60 1B 78 */ mr r0, r3 -/* 80245964 002428A4 7E E3 BB 78 */ mr r3, r23 -/* 80245968 002428A8 7C 1A 03 78 */ mr r26, r0 -/* 8024596C 002428AC 4B FF E0 39 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80245970 002428B0 7C 60 1B 78 */ mr r0, r3 -/* 80245974 002428B4 80 77 00 18 */ lwz r3, 0x18(r23) -/* 80245978 002428B8 7C 1B 03 78 */ mr r27, r0 -/* 8024597C 002428BC 4B FF D2 09 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80245980 002428C0 7F 3A 1A 14 */ add r25, r26, r3 -/* 80245984 002428C4 80 77 00 18 */ lwz r3, 0x18(r23) -/* 80245988 002428C8 4B FF D2 05 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 8024598C 002428CC 7C 1B 1A 14 */ add r0, r27, r3 -/* 80245990 002428D0 7F 83 E3 78 */ mr r3, r28 -/* 80245994 002428D4 90 01 00 08 */ stw r0, 8(r1) -/* 80245998 002428D8 7F 48 D3 78 */ mr r8, r26 -/* 8024599C 002428DC 7F 69 DB 78 */ mr r9, r27 -/* 802459A0 002428E0 7F 2A CB 78 */ mr r10, r25 -/* 802459A4 002428E4 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 802459A8 002428E8 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 802459AC 002428EC 80 C1 00 14 */ lwz r6, 0x14(r1) -/* 802459B0 002428F0 80 E1 00 10 */ lwz r7, 0x10(r1) -/* 802459B4 002428F4 48 00 02 2D */ bl isInnerBox__Q34Game4Cave14RandMapCheckerFiiiiiiii -/* 802459B8 002428F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802459BC 002428FC 41 82 00 0C */ beq lbl_802459C8 -/* 802459C0 00242900 38 60 00 01 */ li r3, 1 -/* 802459C4 00242904 48 00 00 20 */ b lbl_802459E4 -lbl_802459C8: -/* 802459C8 00242908 82 F7 00 04 */ lwz r23, 4(r23) -lbl_802459CC: -/* 802459CC 0024290C 28 17 00 00 */ cmplwi r23, 0 -/* 802459D0 00242910 40 82 FF 88 */ bne lbl_80245958 -lbl_802459D4: -/* 802459D4 00242914 3B DE 00 01 */ addi r30, r30, 1 -lbl_802459D8: -/* 802459D8 00242918 7C 1E F8 00 */ cmpw r30, r31 -/* 802459DC 0024291C 41 80 FE 40 */ blt lbl_8024581C -/* 802459E0 00242920 38 60 00 00 */ li r3, 0 -lbl_802459E4: -/* 802459E4 00242924 BA E1 00 2C */ lmw r23, 0x2c(r1) -/* 802459E8 00242928 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802459EC 0024292C 7C 08 03 A6 */ mtlr r0 -/* 802459F0 00242930 38 21 00 50 */ addi r1, r1, 0x50 -/* 802459F4 00242934 4E 80 00 20 */ blr - -.global isPartsOnDoor__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -isPartsOnDoor__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode: -/* 802459F8 00242938 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802459FC 0024293C 7C 08 02 A6 */ mflr r0 -/* 80245A00 00242940 90 01 00 64 */ stw r0, 0x64(r1) -/* 80245A04 00242944 BE 61 00 2C */ stmw r19, 0x2c(r1) -/* 80245A08 00242948 7C 95 23 78 */ mr r21, r4 -/* 80245A0C 0024294C 7C 74 1B 78 */ mr r20, r3 -/* 80245A10 00242950 7E A3 AB 78 */ mr r3, r21 -/* 80245A14 00242954 4B FF DF 89 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80245A18 00242958 7C 60 1B 78 */ mr r0, r3 -/* 80245A1C 0024295C 7E A3 AB 78 */ mr r3, r21 -/* 80245A20 00242960 7C 1D 03 78 */ mr r29, r0 -/* 80245A24 00242964 4B FF DF 81 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80245A28 00242968 7C 60 1B 78 */ mr r0, r3 -/* 80245A2C 0024296C 80 75 00 18 */ lwz r3, 0x18(r21) -/* 80245A30 00242970 7C 1C 03 78 */ mr r28, r0 -/* 80245A34 00242974 4B FF D1 51 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80245A38 00242978 7F 7D 1A 14 */ add r27, r29, r3 -/* 80245A3C 0024297C 80 75 00 18 */ lwz r3, 0x18(r21) -/* 80245A40 00242980 4B FF D1 4D */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80245A44 00242984 80 94 00 00 */ lwz r4, 0(r20) -/* 80245A48 00242988 7F 5C 1A 14 */ add r26, r28, r3 -/* 80245A4C 0024298C 83 24 00 10 */ lwz r25, 0x10(r4) -/* 80245A50 00242990 48 00 01 70 */ b lbl_80245BC0 -lbl_80245A54: -/* 80245A54 00242994 7F 23 CB 78 */ mr r3, r25 -/* 80245A58 00242998 4B FF E6 09 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80245A5C 0024299C 7C 7E 1B 78 */ mr r30, r3 -/* 80245A60 002429A0 3B 00 00 00 */ li r24, 0 -/* 80245A64 002429A4 48 00 01 50 */ b lbl_80245BB4 -lbl_80245A68: -/* 80245A68 002429A8 7F 23 CB 78 */ mr r3, r25 -/* 80245A6C 002429AC 7F 04 C3 78 */ mr r4, r24 -/* 80245A70 002429B0 4B FF D8 A9 */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 80245A74 002429B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80245A78 002429B8 40 82 01 38 */ bne lbl_80245BB0 -/* 80245A7C 002429BC 7E A3 AB 78 */ mr r3, r21 -/* 80245A80 002429C0 3A E0 00 00 */ li r23, 0 -/* 80245A84 002429C4 4B FF E5 DD */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80245A88 002429C8 7C 7F 1B 78 */ mr r31, r3 -/* 80245A8C 002429CC 7F 23 CB 78 */ mr r3, r25 -/* 80245A90 002429D0 7F 04 C3 78 */ mr r4, r24 -/* 80245A94 002429D4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80245A98 002429D8 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80245A9C 002429DC 4B FF D5 B1 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80245AA0 002429E0 3A C0 00 00 */ li r22, 0 -/* 80245AA4 002429E4 48 00 00 74 */ b lbl_80245B18 -lbl_80245AA8: -/* 80245AA8 002429E8 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80245AAC 002429EC 40 82 00 68 */ bne lbl_80245B14 -/* 80245AB0 002429F0 7E A3 AB 78 */ mr r3, r21 -/* 80245AB4 002429F4 7E C4 B3 78 */ mr r4, r22 -/* 80245AB8 002429F8 4B FF D9 CD */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80245ABC 002429FC 7C 73 1B 78 */ mr r19, r3 -/* 80245AC0 00242A00 7F 23 CB 78 */ mr r3, r25 -/* 80245AC4 00242A04 7F 04 C3 78 */ mr r4, r24 -/* 80245AC8 00242A08 4B FF D9 BD */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80245ACC 00242A0C 7E 64 9B 78 */ mr r4, r19 -/* 80245AD0 00242A10 48 00 5F 0D */ bl isDoorAdjust__Q34Game4Cave8DoorNodeFPQ34Game4Cave8DoorNode -/* 80245AD4 00242A14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80245AD8 00242A18 41 82 00 3C */ beq lbl_80245B14 -/* 80245ADC 00242A1C 7E A3 AB 78 */ mr r3, r21 -/* 80245AE0 00242A20 7E C4 B3 78 */ mr r4, r22 -/* 80245AE4 00242A24 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80245AE8 00242A28 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80245AEC 00242A2C 4B FF D5 61 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80245AF0 00242A30 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80245AF4 00242A34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80245AF8 00242A38 7C 03 00 00 */ cmpw r3, r0 -/* 80245AFC 00242A3C 40 82 00 18 */ bne lbl_80245B14 -/* 80245B00 00242A40 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80245B04 00242A44 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80245B08 00242A48 7C 03 00 00 */ cmpw r3, r0 -/* 80245B0C 00242A4C 40 82 00 08 */ bne lbl_80245B14 -/* 80245B10 00242A50 3A E0 00 01 */ li r23, 1 -lbl_80245B14: -/* 80245B14 00242A54 3A D6 00 01 */ addi r22, r22, 1 -lbl_80245B18: -/* 80245B18 00242A58 7C 16 F8 00 */ cmpw r22, r31 -/* 80245B1C 00242A5C 41 80 FF 8C */ blt lbl_80245AA8 -/* 80245B20 00242A60 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80245B24 00242A64 40 82 00 8C */ bne lbl_80245BB0 -/* 80245B28 00242A68 7F 23 CB 78 */ mr r3, r25 -/* 80245B2C 00242A6C 7F 04 C3 78 */ mr r4, r24 -/* 80245B30 00242A70 4B FF D4 F9 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 80245B34 00242A74 2C 03 00 03 */ cmpwi r3, 3 -/* 80245B38 00242A78 41 82 00 24 */ beq lbl_80245B5C -/* 80245B3C 00242A7C 40 80 00 2C */ bge lbl_80245B68 -/* 80245B40 00242A80 2C 03 00 00 */ cmpwi r3, 0 -/* 80245B44 00242A84 41 82 00 08 */ beq lbl_80245B4C -/* 80245B48 00242A88 48 00 00 20 */ b lbl_80245B68 -lbl_80245B4C: -/* 80245B4C 00242A8C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80245B50 00242A90 38 03 FF FF */ addi r0, r3, -1 -/* 80245B54 00242A94 90 01 00 18 */ stw r0, 0x18(r1) -/* 80245B58 00242A98 48 00 00 10 */ b lbl_80245B68 -lbl_80245B5C: -/* 80245B5C 00242A9C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80245B60 00242AA0 38 03 FF FF */ addi r0, r3, -1 -/* 80245B64 00242AA4 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_80245B68: -/* 80245B68 00242AA8 81 01 00 1C */ lwz r8, 0x1c(r1) -/* 80245B6C 00242AAC 7E 83 A3 78 */ mr r3, r20 -/* 80245B70 00242AB0 81 21 00 18 */ lwz r9, 0x18(r1) -/* 80245B74 00242AB4 7F A4 EB 78 */ mr r4, r29 -/* 80245B78 00242AB8 38 C8 00 01 */ addi r6, r8, 1 -/* 80245B7C 00242ABC 7F 85 E3 78 */ mr r5, r28 -/* 80245B80 00242AC0 38 09 00 01 */ addi r0, r9, 1 -/* 80245B84 00242AC4 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80245B88 00242AC8 7F 66 DB 78 */ mr r6, r27 -/* 80245B8C 00242ACC 7F 47 D3 78 */ mr r7, r26 -/* 80245B90 00242AD0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80245B94 00242AD4 90 01 00 08 */ stw r0, 8(r1) -/* 80245B98 00242AD8 81 41 00 14 */ lwz r10, 0x14(r1) -/* 80245B9C 00242ADC 48 00 00 45 */ bl isInnerBox__Q34Game4Cave14RandMapCheckerFiiiiiiii -/* 80245BA0 00242AE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80245BA4 00242AE4 41 82 00 0C */ beq lbl_80245BB0 -/* 80245BA8 00242AE8 38 60 00 01 */ li r3, 1 -/* 80245BAC 00242AEC 48 00 00 20 */ b lbl_80245BCC -lbl_80245BB0: -/* 80245BB0 00242AF0 3B 18 00 01 */ addi r24, r24, 1 -lbl_80245BB4: -/* 80245BB4 00242AF4 7C 18 F0 00 */ cmpw r24, r30 -/* 80245BB8 00242AF8 41 80 FE B0 */ blt lbl_80245A68 -/* 80245BBC 00242AFC 83 39 00 04 */ lwz r25, 4(r25) -lbl_80245BC0: -/* 80245BC0 00242B00 28 19 00 00 */ cmplwi r25, 0 -/* 80245BC4 00242B04 40 82 FE 90 */ bne lbl_80245A54 -/* 80245BC8 00242B08 38 60 00 00 */ li r3, 0 -lbl_80245BCC: -/* 80245BCC 00242B0C BA 61 00 2C */ lmw r19, 0x2c(r1) -/* 80245BD0 00242B10 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80245BD4 00242B14 7C 08 03 A6 */ mtlr r0 -/* 80245BD8 00242B18 38 21 00 60 */ addi r1, r1, 0x60 -/* 80245BDC 00242B1C 4E 80 00 20 */ blr - -.global isInnerBox__Q34Game4Cave14RandMapCheckerFiiiiiiii -isInnerBox__Q34Game4Cave14RandMapCheckerFiiiiiiii: -/* 80245BE0 00242B20 7C 04 40 00 */ cmpw r4, r8 -/* 80245BE4 00242B24 80 01 00 08 */ lwz r0, 8(r1) -/* 80245BE8 00242B28 40 80 00 3C */ bge lbl_80245C24 -/* 80245BEC 00242B2C 7C 05 48 00 */ cmpw r5, r9 -/* 80245BF0 00242B30 40 80 00 1C */ bge lbl_80245C0C -/* 80245BF4 00242B34 7C 06 40 00 */ cmpw r6, r8 -/* 80245BF8 00242B38 40 81 00 5C */ ble lbl_80245C54 -/* 80245BFC 00242B3C 7C 07 48 00 */ cmpw r7, r9 -/* 80245C00 00242B40 40 81 00 54 */ ble lbl_80245C54 -/* 80245C04 00242B44 38 60 00 01 */ li r3, 1 -/* 80245C08 00242B48 4E 80 00 20 */ blr -lbl_80245C0C: -/* 80245C0C 00242B4C 7C 05 00 00 */ cmpw r5, r0 -/* 80245C10 00242B50 40 80 00 44 */ bge lbl_80245C54 -/* 80245C14 00242B54 7C 06 40 00 */ cmpw r6, r8 -/* 80245C18 00242B58 40 81 00 3C */ ble lbl_80245C54 -/* 80245C1C 00242B5C 38 60 00 01 */ li r3, 1 -/* 80245C20 00242B60 4E 80 00 20 */ blr -lbl_80245C24: -/* 80245C24 00242B64 7C 04 50 00 */ cmpw r4, r10 -/* 80245C28 00242B68 40 80 00 2C */ bge lbl_80245C54 -/* 80245C2C 00242B6C 7C 05 48 00 */ cmpw r5, r9 -/* 80245C30 00242B70 40 80 00 14 */ bge lbl_80245C44 -/* 80245C34 00242B74 7C 07 48 00 */ cmpw r7, r9 -/* 80245C38 00242B78 40 81 00 1C */ ble lbl_80245C54 -/* 80245C3C 00242B7C 38 60 00 01 */ li r3, 1 -/* 80245C40 00242B80 4E 80 00 20 */ blr -lbl_80245C44: -/* 80245C44 00242B84 7C 05 00 00 */ cmpw r5, r0 -/* 80245C48 00242B88 40 80 00 0C */ bge lbl_80245C54 -/* 80245C4C 00242B8C 38 60 00 01 */ li r3, 1 -/* 80245C50 00242B90 4E 80 00 20 */ blr -lbl_80245C54: -/* 80245C54 00242B94 38 60 00 00 */ li r3, 0 -/* 80245C58 00242B98 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave11EditMapUnitFv -__ct__Q34Game4Cave11EditMapUnitFv: -/* 80245C5C 00242B9C C0 02 C4 00 */ lfs f0, lbl_8051A760@sda21(r2) -/* 80245C60 00242BA0 38 80 00 00 */ li r4, 0 -/* 80245C64 00242BA4 38 00 FF 80 */ li r0, -128 -/* 80245C68 00242BA8 D0 03 00 00 */ stfs f0, 0(r3) -/* 80245C6C 00242BAC 90 83 00 04 */ stw r4, 4(r3) -/* 80245C70 00242BB0 90 83 00 08 */ stw r4, 8(r3) -/* 80245C74 00242BB4 90 83 00 0C */ stw r4, 0xc(r3) -/* 80245C78 00242BB8 90 83 00 10 */ stw r4, 0x10(r3) -/* 80245C7C 00242BBC 90 83 00 14 */ stw r4, 0x14(r3) -/* 80245C80 00242BC0 90 83 00 18 */ stw r4, 0x18(r3) -/* 80245C84 00242BC4 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80245C88 00242BC8 4E 80 00 20 */ blr - -.global read__Q34Game4Cave11EditMapUnitFPc -read__Q34Game4Cave11EditMapUnitFPc: -/* 80245C8C 00242BCC 94 21 FB C0 */ stwu r1, -0x440(r1) -/* 80245C90 00242BD0 7C 08 02 A6 */ mflr r0 -/* 80245C94 00242BD4 38 A0 00 00 */ li r5, 0 -/* 80245C98 00242BD8 38 C0 00 00 */ li r6, 0 -/* 80245C9C 00242BDC 90 01 04 44 */ stw r0, 0x444(r1) -/* 80245CA0 00242BE0 38 00 00 00 */ li r0, 0 -/* 80245CA4 00242BE4 38 E0 00 00 */ li r7, 0 -/* 80245CA8 00242BE8 39 00 00 02 */ li r8, 2 -/* 80245CAC 00242BEC 93 E1 04 3C */ stw r31, 0x43c(r1) -/* 80245CB0 00242BF0 39 20 00 00 */ li r9, 0 -/* 80245CB4 00242BF4 39 40 00 00 */ li r10, 0 -/* 80245CB8 00242BF8 93 C1 04 38 */ stw r30, 0x438(r1) -/* 80245CBC 00242BFC 7C 9E 23 78 */ mr r30, r4 -/* 80245CC0 00242C00 38 80 00 00 */ li r4, 0 -/* 80245CC4 00242C04 93 A1 04 34 */ stw r29, 0x434(r1) -/* 80245CC8 00242C08 7C 7D 1B 78 */ mr r29, r3 -/* 80245CCC 00242C0C 7F C3 F3 78 */ mr r3, r30 -/* 80245CD0 00242C10 90 01 00 08 */ stw r0, 8(r1) -/* 80245CD4 00242C14 4B DD 94 B5 */ bl loadToMainRAM__12JKRDvdRipperFPCcPUc15JKRExpandSwitchUlP7JKRHeapQ212JKRDvdRipper15EAllocDirectionUlPiPUl -/* 80245CD8 00242C18 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80245CDC 00242C1C 41 82 00 2C */ beq lbl_80245D08 -/* 80245CE0 00242C20 7F E4 FB 78 */ mr r4, r31 -/* 80245CE4 00242C24 38 61 00 10 */ addi r3, r1, 0x10 -/* 80245CE8 00242C28 38 A0 FF FF */ li r5, -1 -/* 80245CEC 00242C2C 48 1C FC 0D */ bl __ct__9RamStreamFPvi -/* 80245CF0 00242C30 7F A3 EB 78 */ mr r3, r29 -/* 80245CF4 00242C34 38 81 00 10 */ addi r4, r1, 0x10 -/* 80245CF8 00242C38 48 00 00 4D */ bl read__Q34Game4Cave11EditMapUnitFP6Stream -/* 80245CFC 00242C3C 7F E3 FB 78 */ mr r3, r31 -/* 80245D00 00242C40 4B DD E3 D9 */ bl __dla__FPv -/* 80245D04 00242C44 48 00 00 24 */ b lbl_80245D28 -lbl_80245D08: -/* 80245D08 00242C48 3C 60 80 48 */ lis r3, lbl_80484090@ha -/* 80245D0C 00242C4C 3C 80 80 48 */ lis r4, lbl_804840A0@ha -/* 80245D10 00242C50 38 A4 40 A0 */ addi r5, r4, lbl_804840A0@l -/* 80245D14 00242C54 7F C6 F3 78 */ mr r6, r30 -/* 80245D18 00242C58 38 63 40 90 */ addi r3, r3, lbl_80484090@l -/* 80245D1C 00242C5C 38 80 00 55 */ li r4, 0x55 -/* 80245D20 00242C60 4C C6 31 82 */ crclr 6 -/* 80245D24 00242C64 4B DE 49 1D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80245D28: -/* 80245D28 00242C68 80 01 04 44 */ lwz r0, 0x444(r1) -/* 80245D2C 00242C6C 83 E1 04 3C */ lwz r31, 0x43c(r1) -/* 80245D30 00242C70 83 C1 04 38 */ lwz r30, 0x438(r1) -/* 80245D34 00242C74 83 A1 04 34 */ lwz r29, 0x434(r1) -/* 80245D38 00242C78 7C 08 03 A6 */ mtlr r0 -/* 80245D3C 00242C7C 38 21 04 40 */ addi r1, r1, 0x440 -/* 80245D40 00242C80 4E 80 00 20 */ blr - -.global read__Q34Game4Cave11EditMapUnitFP6Stream -read__Q34Game4Cave11EditMapUnitFP6Stream: -/* 80245D44 00242C84 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80245D48 00242C88 7C 08 02 A6 */ mflr r0 -/* 80245D4C 00242C8C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80245D50 00242C90 38 00 00 01 */ li r0, 1 -/* 80245D54 00242C94 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80245D58 00242C98 7C 9B 23 78 */ mr r27, r4 -/* 80245D5C 00242C9C 7C 7A 1B 78 */ mr r26, r3 -/* 80245D60 00242CA0 90 04 00 0C */ stw r0, 0xc(r4) -/* 80245D64 00242CA4 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80245D68 00242CA8 2C 00 00 01 */ cmpwi r0, 1 -/* 80245D6C 00242CAC 40 82 00 0C */ bne lbl_80245D78 -/* 80245D70 00242CB0 38 00 00 00 */ li r0, 0 -/* 80245D74 00242CB4 90 1B 04 14 */ stw r0, 0x414(r27) -lbl_80245D78: -/* 80245D78 00242CB8 7F 63 DB 78 */ mr r3, r27 -/* 80245D7C 00242CBC 48 1C F0 31 */ bl readFloat__6StreamFv -/* 80245D80 00242CC0 D0 3A 00 00 */ stfs f1, 0(r26) -/* 80245D84 00242CC4 7F 63 DB 78 */ mr r3, r27 -/* 80245D88 00242CC8 48 1C ED 09 */ bl readInt__6StreamFv -/* 80245D8C 00242CCC 90 7A 00 04 */ stw r3, 4(r26) -/* 80245D90 00242CD0 80 1A 00 04 */ lwz r0, 4(r26) -/* 80245D94 00242CD4 54 03 10 3A */ slwi r3, r0, 2 -/* 80245D98 00242CD8 4B DD E2 15 */ bl __nwa__FUl -/* 80245D9C 00242CDC 90 7A 00 08 */ stw r3, 8(r26) -/* 80245DA0 00242CE0 80 1A 00 04 */ lwz r0, 4(r26) -/* 80245DA4 00242CE4 54 03 10 3A */ slwi r3, r0, 2 -/* 80245DA8 00242CE8 4B DD E2 05 */ bl __nwa__FUl -/* 80245DAC 00242CEC 90 7A 00 0C */ stw r3, 0xc(r26) -/* 80245DB0 00242CF0 80 1A 00 04 */ lwz r0, 4(r26) -/* 80245DB4 00242CF4 54 03 10 3A */ slwi r3, r0, 2 -/* 80245DB8 00242CF8 4B DD E1 F5 */ bl __nwa__FUl -/* 80245DBC 00242CFC 90 7A 00 10 */ stw r3, 0x10(r26) -/* 80245DC0 00242D00 80 1A 00 04 */ lwz r0, 4(r26) -/* 80245DC4 00242D04 54 03 10 3A */ slwi r3, r0, 2 -/* 80245DC8 00242D08 4B DD E1 E5 */ bl __nwa__FUl -/* 80245DCC 00242D0C 90 7A 00 14 */ stw r3, 0x14(r26) -/* 80245DD0 00242D10 80 1A 00 04 */ lwz r0, 4(r26) -/* 80245DD4 00242D14 54 03 10 3A */ slwi r3, r0, 2 -/* 80245DD8 00242D18 4B DD E1 D5 */ bl __nwa__FUl -/* 80245DDC 00242D1C 90 7A 00 18 */ stw r3, 0x18(r26) -/* 80245DE0 00242D20 3B A0 00 00 */ li r29, 0 -/* 80245DE4 00242D24 3B C0 00 00 */ li r30, 0 -/* 80245DE8 00242D28 48 00 01 1C */ b lbl_80245F04 -lbl_80245DEC: -/* 80245DEC 00242D2C 7F 63 DB 78 */ mr r3, r27 -/* 80245DF0 00242D30 48 1C EC A1 */ bl readInt__6StreamFv -/* 80245DF4 00242D34 80 9A 00 08 */ lwz r4, 8(r26) -/* 80245DF8 00242D38 7C 64 F1 2E */ stwx r3, r4, r30 -/* 80245DFC 00242D3C 80 7A 00 08 */ lwz r3, 8(r26) -/* 80245E00 00242D40 7C 03 F0 2E */ lwzx r0, r3, r30 -/* 80245E04 00242D44 54 03 10 3A */ slwi r3, r0, 2 -/* 80245E08 00242D48 4B DD E1 A5 */ bl __nwa__FUl -/* 80245E0C 00242D4C 80 9A 00 0C */ lwz r4, 0xc(r26) -/* 80245E10 00242D50 7C 64 F1 2E */ stwx r3, r4, r30 -/* 80245E14 00242D54 80 7A 00 08 */ lwz r3, 8(r26) -/* 80245E18 00242D58 7C 03 F0 2E */ lwzx r0, r3, r30 -/* 80245E1C 00242D5C 54 03 10 3A */ slwi r3, r0, 2 -/* 80245E20 00242D60 4B DD E1 8D */ bl __nwa__FUl -/* 80245E24 00242D64 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 80245E28 00242D68 7C 64 F1 2E */ stwx r3, r4, r30 -/* 80245E2C 00242D6C 80 7A 00 08 */ lwz r3, 8(r26) -/* 80245E30 00242D70 7C 03 F0 2E */ lwzx r0, r3, r30 -/* 80245E34 00242D74 54 03 10 3A */ slwi r3, r0, 2 -/* 80245E38 00242D78 4B DD E1 75 */ bl __nwa__FUl -/* 80245E3C 00242D7C 80 9A 00 14 */ lwz r4, 0x14(r26) -/* 80245E40 00242D80 7C 64 F1 2E */ stwx r3, r4, r30 -/* 80245E44 00242D84 80 7A 00 08 */ lwz r3, 8(r26) -/* 80245E48 00242D88 7C 03 F0 2E */ lwzx r0, r3, r30 -/* 80245E4C 00242D8C 54 03 10 3A */ slwi r3, r0, 2 -/* 80245E50 00242D90 4B DD E1 5D */ bl __nwa__FUl -/* 80245E54 00242D94 80 9A 00 18 */ lwz r4, 0x18(r26) -/* 80245E58 00242D98 3B 80 00 00 */ li r28, 0 -/* 80245E5C 00242D9C 3B E0 00 00 */ li r31, 0 -/* 80245E60 00242DA0 7C 64 F1 2E */ stwx r3, r4, r30 -/* 80245E64 00242DA4 48 00 00 88 */ b lbl_80245EEC -lbl_80245E68: -/* 80245E68 00242DA8 7F 63 DB 78 */ mr r3, r27 -/* 80245E6C 00242DAC 38 80 00 00 */ li r4, 0 -/* 80245E70 00242DB0 38 A0 00 00 */ li r5, 0 -/* 80245E74 00242DB4 48 1C F2 61 */ bl readString__6StreamFPci -/* 80245E78 00242DB8 7C 79 1B 78 */ mr r25, r3 -/* 80245E7C 00242DBC 4B E8 4A 95 */ bl strlen -/* 80245E80 00242DC0 38 63 00 01 */ addi r3, r3, 1 -/* 80245E84 00242DC4 4B DD E1 29 */ bl __nwa__FUl -/* 80245E88 00242DC8 80 1A 00 0C */ lwz r0, 0xc(r26) -/* 80245E8C 00242DCC 7F 24 CB 78 */ mr r4, r25 -/* 80245E90 00242DD0 7C BE 00 2E */ lwzx r5, r30, r0 -/* 80245E94 00242DD4 7C 65 F9 2E */ stwx r3, r5, r31 -/* 80245E98 00242DD8 80 1A 00 0C */ lwz r0, 0xc(r26) -/* 80245E9C 00242DDC 7C 7E 00 2E */ lwzx r3, r30, r0 -/* 80245EA0 00242DE0 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80245EA4 00242DE4 4B E8 49 B5 */ bl strcpy -/* 80245EA8 00242DE8 7F 63 DB 78 */ mr r3, r27 -/* 80245EAC 00242DEC 48 1C EB E5 */ bl readInt__6StreamFv -/* 80245EB0 00242DF0 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 80245EB4 00242DF4 7C 9E 00 2E */ lwzx r4, r30, r0 -/* 80245EB8 00242DF8 7C 64 F9 2E */ stwx r3, r4, r31 -/* 80245EBC 00242DFC 7F 63 DB 78 */ mr r3, r27 -/* 80245EC0 00242E00 48 1C EB D1 */ bl readInt__6StreamFv -/* 80245EC4 00242E04 80 1A 00 14 */ lwz r0, 0x14(r26) -/* 80245EC8 00242E08 7C 9E 00 2E */ lwzx r4, r30, r0 -/* 80245ECC 00242E0C 7C 64 F9 2E */ stwx r3, r4, r31 -/* 80245ED0 00242E10 7F 63 DB 78 */ mr r3, r27 -/* 80245ED4 00242E14 48 1C EB BD */ bl readInt__6StreamFv -/* 80245ED8 00242E18 80 1A 00 18 */ lwz r0, 0x18(r26) -/* 80245EDC 00242E1C 3B 9C 00 01 */ addi r28, r28, 1 -/* 80245EE0 00242E20 7C 9E 00 2E */ lwzx r4, r30, r0 -/* 80245EE4 00242E24 7C 64 F9 2E */ stwx r3, r4, r31 -/* 80245EE8 00242E28 3B FF 00 04 */ addi r31, r31, 4 -lbl_80245EEC: -/* 80245EEC 00242E2C 80 1A 00 08 */ lwz r0, 8(r26) -/* 80245EF0 00242E30 7C 1E 00 2E */ lwzx r0, r30, r0 -/* 80245EF4 00242E34 7C 1C 00 00 */ cmpw r28, r0 -/* 80245EF8 00242E38 41 80 FF 70 */ blt lbl_80245E68 -/* 80245EFC 00242E3C 3B DE 00 04 */ addi r30, r30, 4 -/* 80245F00 00242E40 3B BD 00 01 */ addi r29, r29, 1 -lbl_80245F04: -/* 80245F04 00242E44 80 1A 00 04 */ lwz r0, 4(r26) -/* 80245F08 00242E48 7C 1D 00 00 */ cmpw r29, r0 -/* 80245F0C 00242E4C 41 80 FE E0 */ blt lbl_80245DEC -/* 80245F10 00242E50 38 00 FF 80 */ li r0, -128 -/* 80245F14 00242E54 90 1A 00 1C */ stw r0, 0x1c(r26) -/* 80245F18 00242E58 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80245F1C 00242E5C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80245F20 00242E60 7C 08 03 A6 */ mtlr r0 -/* 80245F24 00242E64 38 21 00 30 */ addi r1, r1, 0x30 -/* 80245F28 00242E68 4E 80 00 20 */ blr - -.global setEditNumber__Q34Game4Cave11EditMapUnitFi -setEditNumber__Q34Game4Cave11EditMapUnitFi: -/* 80245F2C 00242E6C 2C 04 FF FF */ cmpwi r4, -1 -/* 80245F30 00242E70 40 82 00 0C */ bne lbl_80245F3C -/* 80245F34 00242E74 90 83 00 1C */ stw r4, 0x1c(r3) -/* 80245F38 00242E78 4E 80 00 20 */ blr -lbl_80245F3C: -/* 80245F3C 00242E7C 80 A3 00 04 */ lwz r5, 4(r3) -/* 80245F40 00242E80 2C 05 00 00 */ cmpwi r5, 0 -/* 80245F44 00242E84 40 81 00 30 */ ble lbl_80245F74 -/* 80245F48 00242E88 2C 04 00 00 */ cmpwi r4, 0 -/* 80245F4C 00242E8C 4D 80 00 20 */ bltlr -/* 80245F50 00242E90 38 05 FF FF */ addi r0, r5, -1 -/* 80245F54 00242E94 40 80 00 0C */ bge lbl_80245F60 -/* 80245F58 00242E98 38 80 00 00 */ li r4, 0 -/* 80245F5C 00242E9C 48 00 00 10 */ b lbl_80245F6C -lbl_80245F60: -/* 80245F60 00242EA0 7C 04 00 00 */ cmpw r4, r0 -/* 80245F64 00242EA4 40 81 00 08 */ ble lbl_80245F6C -/* 80245F68 00242EA8 7C 04 03 78 */ mr r4, r0 -lbl_80245F6C: -/* 80245F6C 00242EAC 90 83 00 1C */ stw r4, 0x1c(r3) -/* 80245F70 00242EB0 4E 80 00 20 */ blr -lbl_80245F74: -/* 80245F74 00242EB4 38 00 FF FF */ li r0, -1 -/* 80245F78 00242EB8 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80245F7C 00242EBC 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave11RandMapUnitFPQ34Game4Cave16MapUnitGenerator -__ct__Q34Game4Cave11RandMapUnitFPQ34Game4Cave16MapUnitGenerator: -/* 80245F80 00242EC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80245F84 00242EC4 7C 08 02 A6 */ mflr r0 -/* 80245F88 00242EC8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80245F8C 00242ECC BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80245F90 00242ED0 7C 9A 23 78 */ mr r26, r4 -/* 80245F94 00242ED4 7C 7F 1B 78 */ mr r31, r3 -/* 80245F98 00242ED8 93 43 00 20 */ stw r26, 0x20(r3) -/* 80245F9C 00242EDC 38 60 00 0C */ li r3, 0xc -/* 80245FA0 00242EE0 80 9F 00 20 */ lwz r4, 0x20(r31) -/* 80245FA4 00242EE4 83 A4 00 10 */ lwz r29, 0x10(r4) -/* 80245FA8 00242EE8 83 C4 00 28 */ lwz r30, 0x28(r4) -/* 80245FAC 00242EEC 4B DD E0 01 */ bl __nwa__FUl -/* 80245FB0 00242EF0 90 7F 00 24 */ stw r3, 0x24(r31) -/* 80245FB4 00242EF4 3B 60 00 00 */ li r27, 0 -/* 80245FB8 00242EF8 3B 80 00 00 */ li r28, 0 -lbl_80245FBC: -/* 80245FBC 00242EFC 7F A3 EB 78 */ mr r3, r29 -/* 80245FC0 00242F00 81 9D 00 00 */ lwz r12, 0(r29) -/* 80245FC4 00242F04 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80245FC8 00242F08 7D 89 03 A6 */ mtctr r12 -/* 80245FCC 00242F0C 4E 80 04 21 */ bctrl -/* 80245FD0 00242F10 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 80245FD4 00242F14 3B 7B 00 01 */ addi r27, r27, 1 -/* 80245FD8 00242F18 2C 1B 00 03 */ cmpwi r27, 3 -/* 80245FDC 00242F1C 3B BD 00 40 */ addi r29, r29, 0x40 -/* 80245FE0 00242F20 7C 64 E1 2E */ stwx r3, r4, r28 -/* 80245FE4 00242F24 3B 9C 00 04 */ addi r28, r28, 4 -/* 80245FE8 00242F28 41 80 FF D4 */ blt lbl_80245FBC -/* 80245FEC 00242F2C 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80245FF0 00242F30 83 A3 00 08 */ lwz r29, 8(r3) -/* 80245FF4 00242F34 28 1D 00 00 */ cmplwi r29, 0 -/* 80245FF8 00242F38 41 82 00 74 */ beq lbl_8024606C -/* 80245FFC 00242F3C 7F A3 EB 78 */ mr r3, r29 -/* 80246000 00242F40 4B F9 10 71 */ bl getRoomNum__Q34Game4Cave9FloorInfoFv -/* 80246004 00242F44 90 7F 00 04 */ stw r3, 4(r31) -/* 80246008 00242F48 7F A3 EB 78 */ mr r3, r29 -/* 8024600C 00242F4C 4B F9 10 6D */ bl getRouteRatio__Q34Game4Cave9FloorInfoFv -/* 80246010 00242F50 D0 3F 00 08 */ stfs f1, 8(r31) -/* 80246014 00242F54 7F A3 EB 78 */ mr r3, r29 -/* 80246018 00242F58 4B F9 0F 91 */ bl getCapMax__Q34Game4Cave9FloorInfoFv -/* 8024601C 00242F5C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80246020 00242F60 3C 00 43 30 */ lis r0, 0x4330 -/* 80246024 00242F64 90 61 00 0C */ stw r3, 0xc(r1) -/* 80246028 00242F68 C8 62 C4 10 */ lfd f3, lbl_8051A770@sda21(r2) -/* 8024602C 00242F6C 90 01 00 08 */ stw r0, 8(r1) -/* 80246030 00242F70 C0 22 C4 04 */ lfs f1, lbl_8051A764@sda21(r2) -/* 80246034 00242F74 C8 41 00 08 */ lfd f2, 8(r1) -/* 80246038 00242F78 C0 02 C4 00 */ lfs f0, lbl_8051A760@sda21(r2) -/* 8024603C 00242F7C EC 42 18 28 */ fsubs f2, f2, f3 -/* 80246040 00242F80 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80246044 00242F84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80246048 00242F88 40 80 00 08 */ bge lbl_80246050 -/* 8024604C 00242F8C 48 00 00 18 */ b lbl_80246064 -lbl_80246050: -/* 80246050 00242F90 C0 02 C4 08 */ lfs f0, lbl_8051A768@sda21(r2) -/* 80246054 00242F94 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80246058 00242F98 40 81 00 08 */ ble lbl_80246060 -/* 8024605C 00242F9C 48 00 00 08 */ b lbl_80246064 -lbl_80246060: -/* 80246060 00242FA0 FC 00 08 90 */ fmr f0, f1 -lbl_80246064: -/* 80246064 00242FA4 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80246068 00242FA8 48 00 00 18 */ b lbl_80246080 -lbl_8024606C: -/* 8024606C 00242FAC 38 00 00 02 */ li r0, 2 -/* 80246070 00242FB0 C0 02 C4 00 */ lfs f0, lbl_8051A760@sda21(r2) -/* 80246074 00242FB4 90 1F 00 04 */ stw r0, 4(r31) -/* 80246078 00242FB8 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8024607C 00242FBC D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_80246080: -/* 80246080 00242FC0 38 00 00 00 */ li r0, 0 -/* 80246084 00242FC4 98 1F 00 0C */ stb r0, 0xc(r31) -/* 80246088 00242FC8 90 1F 00 00 */ stw r0, 0(r31) -/* 8024608C 00242FCC 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 80246090 00242FD0 83 63 00 10 */ lwz r27, 0x10(r3) -/* 80246094 00242FD4 48 00 00 20 */ b lbl_802460B4 -lbl_80246098: -/* 80246098 00242FD8 7F 63 DB 78 */ mr r3, r27 -/* 8024609C 00242FDC 4B FF DF C5 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802460A0 00242FE0 80 1F 00 00 */ lwz r0, 0(r31) -/* 802460A4 00242FE4 7C 03 00 00 */ cmpw r3, r0 -/* 802460A8 00242FE8 40 81 00 08 */ ble lbl_802460B0 -/* 802460AC 00242FEC 90 7F 00 00 */ stw r3, 0(r31) -lbl_802460B0: -/* 802460B0 00242FF0 83 7B 00 04 */ lwz r27, 4(r27) -lbl_802460B4: -/* 802460B4 00242FF4 28 1B 00 00 */ cmplwi r27, 0 -/* 802460B8 00242FF8 40 82 FF E0 */ bne lbl_80246098 -/* 802460BC 00242FFC 38 60 00 04 */ li r3, 4 -/* 802460C0 00243000 4B DD DD E5 */ bl __nw__FUl -/* 802460C4 00243004 7C 60 1B 79 */ or. r0, r3, r3 -/* 802460C8 00243008 41 82 00 10 */ beq lbl_802460D8 -/* 802460CC 0024300C 7F C4 F3 78 */ mr r4, r30 -/* 802460D0 00243010 4B FF F5 95 */ bl __ct__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -/* 802460D4 00243014 7C 60 1B 78 */ mr r0, r3 -lbl_802460D8: -/* 802460D8 00243018 90 1F 00 28 */ stw r0, 0x28(r31) -/* 802460DC 0024301C 38 80 00 01 */ li r4, 1 -/* 802460E0 00243020 38 00 00 00 */ li r0, 0 -/* 802460E4 00243024 38 60 00 40 */ li r3, 0x40 -/* 802460E8 00243028 98 9F 00 0D */ stb r4, 0xd(r31) -/* 802460EC 0024302C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 802460F0 00243030 4B DD DE BD */ bl __nwa__FUl -/* 802460F4 00243034 90 7F 00 18 */ stw r3, 0x18(r31) -/* 802460F8 00243038 38 60 00 40 */ li r3, 0x40 -/* 802460FC 0024303C 4B DD DE B1 */ bl __nwa__FUl -/* 80246100 00243040 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 80246104 00243044 7F E3 FB 78 */ mr r3, r31 -/* 80246108 00243048 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8024610C 0024304C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80246110 00243050 7C 08 03 A6 */ mtlr r0 -/* 80246114 00243054 38 21 00 30 */ addi r1, r1, 0x30 -/* 80246118 00243058 4E 80 00 20 */ blr - -.global setMapUnit__Q34Game4Cave11RandMapUnitFv -setMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 8024611C 0024305C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80246120 00243060 7C 08 02 A6 */ mflr r0 -/* 80246124 00243064 90 01 00 24 */ stw r0, 0x24(r1) -/* 80246128 00243068 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024612C 0024306C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80246130 00243070 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80246134 00243074 93 81 00 10 */ stw r28, 0x10(r1) -/* 80246138 00243078 7C 7C 1B 78 */ mr r28, r3 -/* 8024613C 0024307C 80 83 00 20 */ lwz r4, 0x20(r3) -/* 80246140 00243080 80 04 00 30 */ lwz r0, 0x30(r4) -/* 80246144 00243084 28 00 00 00 */ cmplwi r0, 0 -/* 80246148 00243088 41 82 00 0C */ beq lbl_80246154 -/* 8024614C 0024308C 48 00 07 E9 */ bl setEditorMapUnit__Q34Game4Cave11RandMapUnitFv -/* 80246150 00243090 48 00 00 08 */ b lbl_80246158 -lbl_80246154: -/* 80246154 00243094 48 00 09 25 */ bl setFirstMapUnit__Q34Game4Cave11RandMapUnitFv -lbl_80246158: -/* 80246158 00243098 7F 83 E3 78 */ mr r3, r28 -/* 8024615C 0024309C 48 00 1E 21 */ bl getOpenDoorNum__Q34Game4Cave11RandMapUnitFv -/* 80246160 002430A0 2C 03 00 00 */ cmpwi r3, 0 -/* 80246164 002430A4 41 82 00 8C */ beq lbl_802461F0 -/* 80246168 002430A8 3B C0 00 00 */ li r30, 0 -lbl_8024616C: -/* 8024616C 002430AC 7F 83 E3 78 */ mr r3, r28 -/* 80246170 002430B0 48 00 01 75 */ bl getRandMapUnit__Q34Game4Cave11RandMapUnitFv -/* 80246174 002430B4 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80246178 002430B8 41 82 00 2C */ beq lbl_802461A4 -/* 8024617C 002430BC 4B FF D8 29 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80246180 002430C0 7C 7F 1B 78 */ mr r31, r3 -/* 80246184 002430C4 7F A3 EB 78 */ mr r3, r29 -/* 80246188 002430C8 4B FF D8 15 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 8024618C 002430CC 80 9D 00 18 */ lwz r4, 0x18(r29) -/* 80246190 002430D0 7C 65 1B 78 */ mr r5, r3 -/* 80246194 002430D4 7F 83 E3 78 */ mr r3, r28 -/* 80246198 002430D8 7F E6 FB 78 */ mr r6, r31 -/* 8024619C 002430DC 38 E0 00 01 */ li r7, 1 -/* 802461A0 002430E0 48 00 1E 69 */ bl addMap__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfoiib -lbl_802461A4: -/* 802461A4 002430E4 7F 83 E3 78 */ mr r3, r28 -/* 802461A8 002430E8 48 00 1D D5 */ bl getOpenDoorNum__Q34Game4Cave11RandMapUnitFv -/* 802461AC 002430EC 2C 03 00 00 */ cmpwi r3, 0 -/* 802461B0 002430F0 40 82 00 34 */ bne lbl_802461E4 -/* 802461B4 002430F4 7F 83 E3 78 */ mr r3, r28 -/* 802461B8 002430F8 48 00 01 99 */ bl changeCapToRootLoopMapUnit__Q34Game4Cave11RandMapUnitFv -/* 802461BC 002430FC 7F 83 E3 78 */ mr r3, r28 -/* 802461C0 00243100 48 00 1D BD */ bl getOpenDoorNum__Q34Game4Cave11RandMapUnitFv -/* 802461C4 00243104 2C 03 00 00 */ cmpwi r3, 0 -/* 802461C8 00243108 40 82 00 1C */ bne lbl_802461E4 -/* 802461CC 0024310C 7F 83 E3 78 */ mr r3, r28 -/* 802461D0 00243110 48 00 04 05 */ bl changeTwoToOneMapUnit__Q34Game4Cave11RandMapUnitFv -/* 802461D4 00243114 7F 83 E3 78 */ mr r3, r28 -/* 802461D8 00243118 48 00 1D A5 */ bl getOpenDoorNum__Q34Game4Cave11RandMapUnitFv -/* 802461DC 0024311C 2C 03 00 00 */ cmpwi r3, 0 -/* 802461E0 00243120 41 82 00 10 */ beq lbl_802461F0 -lbl_802461E4: -/* 802461E4 00243124 3B DE 00 01 */ addi r30, r30, 1 -/* 802461E8 00243128 2C 1E 01 F4 */ cmpwi r30, 0x1f4 -/* 802461EC 0024312C 41 80 FF 80 */ blt lbl_8024616C -lbl_802461F0: -/* 802461F0 00243130 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802461F4 00243134 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802461F8 00243138 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802461FC 0024313C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80246200 00243140 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80246204 00243144 7C 08 03 A6 */ mtlr r0 -/* 80246208 00243148 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024620C 0024314C 4E 80 00 20 */ blr - -.global getAliveMapIndex__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode -getAliveMapIndex__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode: -/* 80246210 00243150 80 A3 00 20 */ lwz r5, 0x20(r3) -/* 80246214 00243154 38 60 00 00 */ li r3, 0 -/* 80246218 00243158 80 A5 00 28 */ lwz r5, 0x28(r5) -/* 8024621C 0024315C 80 A5 00 10 */ lwz r5, 0x10(r5) -/* 80246220 00243160 48 00 00 14 */ b lbl_80246234 -lbl_80246224: -/* 80246224 00243164 7C 04 28 40 */ cmplw r4, r5 -/* 80246228 00243168 4D 82 00 20 */ beqlr -/* 8024622C 0024316C 80 A5 00 04 */ lwz r5, 4(r5) -/* 80246230 00243170 38 63 00 01 */ addi r3, r3, 1 -lbl_80246234: -/* 80246234 00243174 28 05 00 00 */ cmplwi r5, 0 -/* 80246238 00243178 40 82 FF EC */ bne lbl_80246224 -/* 8024623C 0024317C 38 60 FF FF */ li r3, -1 -/* 80246240 00243180 4E 80 00 20 */ blr - -.global getTextureSize__Q34Game4Cave11RandMapUnitFRiRi -getTextureSize__Q34Game4Cave11RandMapUnitFRiRi: -/* 80246244 00243184 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80246248 00243188 7C 08 02 A6 */ mflr r0 -/* 8024624C 0024318C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80246250 00243190 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80246254 00243194 7C 99 23 78 */ mr r25, r4 -/* 80246258 00243198 7C BA 2B 78 */ mr r26, r5 -/* 8024625C 0024319C 3B C0 CE 00 */ li r30, -12800 -/* 80246260 002431A0 3B A0 CE 00 */ li r29, -12800 -/* 80246264 002431A4 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80246268 002431A8 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024626C 002431AC 83 83 00 10 */ lwz r28, 0x10(r3) -/* 80246270 002431B0 48 00 00 50 */ b lbl_802462C0 -lbl_80246274: -/* 80246274 002431B4 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 80246278 002431B8 4B FF C9 0D */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 8024627C 002431BC 7C 7F 1B 78 */ mr r31, r3 -/* 80246280 002431C0 7F 83 E3 78 */ mr r3, r28 -/* 80246284 002431C4 4B FF D7 19 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80246288 002431C8 7F 63 FA 14 */ add r27, r3, r31 -/* 8024628C 002431CC 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 80246290 002431D0 4B FF C8 FD */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80246294 002431D4 7C 7F 1B 78 */ mr r31, r3 -/* 80246298 002431D8 7F 83 E3 78 */ mr r3, r28 -/* 8024629C 002431DC 4B FF D7 09 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 802462A0 002431E0 7C 1B F0 00 */ cmpw r27, r30 -/* 802462A4 002431E4 7C 03 FA 14 */ add r0, r3, r31 -/* 802462A8 002431E8 40 81 00 08 */ ble lbl_802462B0 -/* 802462AC 002431EC 7F 7E DB 78 */ mr r30, r27 -lbl_802462B0: -/* 802462B0 002431F0 7C 00 E8 00 */ cmpw r0, r29 -/* 802462B4 002431F4 40 81 00 08 */ ble lbl_802462BC -/* 802462B8 002431F8 7C 1D 03 78 */ mr r29, r0 -lbl_802462BC: -/* 802462BC 002431FC 83 9C 00 04 */ lwz r28, 4(r28) -lbl_802462C0: -/* 802462C0 00243200 28 1C 00 00 */ cmplwi r28, 0 -/* 802462C4 00243204 40 82 FF B0 */ bne lbl_80246274 -/* 802462C8 00243208 93 D9 00 00 */ stw r30, 0(r25) -/* 802462CC 0024320C 93 BA 00 00 */ stw r29, 0(r26) -/* 802462D0 00243210 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 802462D4 00243214 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802462D8 00243218 7C 08 03 A6 */ mtlr r0 -/* 802462DC 0024321C 38 21 00 30 */ addi r1, r1, 0x30 -/* 802462E0 00243220 4E 80 00 20 */ blr - -.global getRandMapUnit__Q34Game4Cave11RandMapUnitFv -getRandMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 802462E4 00243224 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802462E8 00243228 7C 08 02 A6 */ mflr r0 -/* 802462EC 0024322C 38 80 00 01 */ li r4, 1 -/* 802462F0 00243230 90 01 00 14 */ stw r0, 0x14(r1) -/* 802462F4 00243234 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802462F8 00243238 7C 7F 1B 78 */ mr r31, r3 -/* 802462FC 0024323C 48 00 1C 11 */ bl getPartsKindNum__Q34Game4Cave11RandMapUnitFi -/* 80246300 00243240 80 1F 00 04 */ lwz r0, 4(r31) -/* 80246304 00243244 7C 03 00 00 */ cmpw r3, r0 -/* 80246308 00243248 40 80 00 10 */ bge lbl_80246318 -/* 8024630C 0024324C 7F E3 FB 78 */ mr r3, r31 -/* 80246310 00243250 48 00 08 61 */ bl getNormalRandMapUnit__Q34Game4Cave11RandMapUnitFv -/* 80246314 00243254 48 00 00 28 */ b lbl_8024633C -lbl_80246318: -/* 80246318 00243258 7F E3 FB 78 */ mr r3, r31 -/* 8024631C 0024325C 48 00 24 15 */ bl createLoopMapNodeCheck__Q34Game4Cave11RandMapUnitFv -/* 80246320 00243260 7F E3 FB 78 */ mr r3, r31 -/* 80246324 00243264 48 00 0F 15 */ bl getLoopRandMapUnit__Q34Game4Cave11RandMapUnitFv -/* 80246328 00243268 28 03 00 00 */ cmplwi r3, 0 -/* 8024632C 0024326C 41 82 00 08 */ beq lbl_80246334 -/* 80246330 00243270 48 00 00 0C */ b lbl_8024633C -lbl_80246334: -/* 80246334 00243274 7F E3 FB 78 */ mr r3, r31 -/* 80246338 00243278 48 00 18 E5 */ bl getLoopEndMapUnit__Q34Game4Cave11RandMapUnitFv -lbl_8024633C: -/* 8024633C 0024327C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80246340 00243280 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80246344 00243284 7C 08 03 A6 */ mtlr r0 -/* 80246348 00243288 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024634C 0024328C 4E 80 00 20 */ blr - -.global changeCapToRootLoopMapUnit__Q34Game4Cave11RandMapUnitFv -changeCapToRootLoopMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 80246350 00243290 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80246354 00243294 7C 08 02 A6 */ mflr r0 -/* 80246358 00243298 90 01 00 94 */ stw r0, 0x94(r1) -/* 8024635C 0024329C BE 81 00 60 */ stmw r20, 0x60(r1) -/* 80246360 002432A0 7C 7F 1B 78 */ mr r31, r3 -/* 80246364 002432A4 3B C1 00 08 */ addi r30, r1, 8 -/* 80246368 002432A8 3B 60 00 00 */ li r27, 0 -/* 8024636C 002432AC 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80246370 002432B0 83 83 00 10 */ lwz r28, 0x10(r3) -/* 80246374 002432B4 83 A3 00 28 */ lwz r29, 0x28(r3) -/* 80246378 002432B8 83 5C 00 90 */ lwz r26, 0x90(r28) -/* 8024637C 002432BC 48 00 00 74 */ b lbl_802463F0 -lbl_80246380: -/* 80246380 002432C0 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 80246384 002432C4 4B FF C8 01 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80246388 002432C8 2C 03 00 01 */ cmpwi r3, 1 -/* 8024638C 002432CC 40 82 00 60 */ bne lbl_802463EC -/* 80246390 002432D0 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 80246394 002432D4 4B FF C7 F9 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80246398 002432D8 2C 03 00 01 */ cmpwi r3, 1 -/* 8024639C 002432DC 40 82 00 50 */ bne lbl_802463EC -/* 802463A0 002432E0 7F 43 D3 78 */ mr r3, r26 -/* 802463A4 002432E4 4B FF DC BD */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802463A8 002432E8 2C 03 00 02 */ cmpwi r3, 2 -/* 802463AC 002432EC 40 82 00 40 */ bne lbl_802463EC -/* 802463B0 002432F0 7F 43 D3 78 */ mr r3, r26 -/* 802463B4 002432F4 38 80 00 00 */ li r4, 0 -/* 802463B8 002432F8 4B FF CC 71 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 802463BC 002432FC 2C 03 00 00 */ cmpwi r3, 0 -/* 802463C0 00243300 40 82 00 2C */ bne lbl_802463EC -/* 802463C4 00243304 7F 43 D3 78 */ mr r3, r26 -/* 802463C8 00243308 38 80 00 01 */ li r4, 1 -/* 802463CC 0024330C 4B FF CC 5D */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 802463D0 00243310 2C 03 00 02 */ cmpwi r3, 2 -/* 802463D4 00243314 40 82 00 18 */ bne lbl_802463EC -/* 802463D8 00243318 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 802463DC 0024331C 4B FF C7 91 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 802463E0 00243320 90 7E 00 00 */ stw r3, 0(r30) -/* 802463E4 00243324 3B DE 00 04 */ addi r30, r30, 4 -/* 802463E8 00243328 3B 7B 00 01 */ addi r27, r27, 1 -lbl_802463EC: -/* 802463EC 0024332C 83 5A 00 04 */ lwz r26, 4(r26) -lbl_802463F0: -/* 802463F0 00243330 28 1A 00 00 */ cmplwi r26, 0 -/* 802463F4 00243334 40 82 FF 8C */ bne lbl_80246380 -/* 802463F8 00243338 2C 1B 00 00 */ cmpwi r27, 0 -/* 802463FC 0024333C 41 82 01 C4 */ beq lbl_802465C0 -/* 80246400 00243340 83 5D 00 10 */ lwz r26, 0x10(r29) -/* 80246404 00243344 48 00 01 B4 */ b lbl_802465B8 -lbl_80246408: -/* 80246408 00243348 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 8024640C 0024334C 4B FF C7 6D */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 80246410 00243350 2C 03 00 00 */ cmpwi r3, 0 -/* 80246414 00243354 40 82 01 A0 */ bne lbl_802465B4 -/* 80246418 00243358 7F 43 D3 78 */ mr r3, r26 -/* 8024641C 0024335C 3B 20 00 00 */ li r25, 0 -/* 80246420 00243360 4B FF D5 7D */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80246424 00243364 7C 60 1B 78 */ mr r0, r3 -/* 80246428 00243368 7F 43 D3 78 */ mr r3, r26 -/* 8024642C 0024336C 7C 18 03 78 */ mr r24, r0 -/* 80246430 00243370 4B FF D5 75 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80246434 00243374 7C 77 1B 78 */ mr r23, r3 -/* 80246438 00243378 7F 16 C3 78 */ mr r22, r24 -/* 8024643C 0024337C 7F 43 D3 78 */ mr r3, r26 -/* 80246440 00243380 38 80 00 00 */ li r4, 0 -/* 80246444 00243384 7E F5 BB 78 */ mr r21, r23 -/* 80246448 00243388 4B FF CB E1 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024644C 0024338C 7C 7E 1B 78 */ mr r30, r3 -/* 80246450 00243390 2C 1E 00 02 */ cmpwi r30, 2 -/* 80246454 00243394 41 82 00 34 */ beq lbl_80246488 -/* 80246458 00243398 40 80 00 14 */ bge lbl_8024646C -/* 8024645C 0024339C 2C 1E 00 00 */ cmpwi r30, 0 -/* 80246460 002433A0 41 82 00 18 */ beq lbl_80246478 -/* 80246464 002433A4 40 80 00 1C */ bge lbl_80246480 -/* 80246468 002433A8 48 00 00 2C */ b lbl_80246494 -lbl_8024646C: -/* 8024646C 002433AC 2C 1E 00 04 */ cmpwi r30, 4 -/* 80246470 002433B0 40 80 00 24 */ bge lbl_80246494 -/* 80246474 002433B4 48 00 00 1C */ b lbl_80246490 -lbl_80246478: -/* 80246478 002433B8 3A B5 00 01 */ addi r21, r21, 1 -/* 8024647C 002433BC 48 00 00 18 */ b lbl_80246494 -lbl_80246480: -/* 80246480 002433C0 3A D8 FF FF */ addi r22, r24, -1 -/* 80246484 002433C4 48 00 00 10 */ b lbl_80246494 -lbl_80246488: -/* 80246488 002433C8 3A B5 FF FF */ addi r21, r21, -1 -/* 8024648C 002433CC 48 00 00 08 */ b lbl_80246494 -lbl_80246490: -/* 80246490 002433D0 3A D8 00 01 */ addi r22, r24, 1 -lbl_80246494: -/* 80246494 002433D4 82 9D 00 10 */ lwz r20, 0x10(r29) -/* 80246498 002433D8 48 00 00 48 */ b lbl_802464E0 -lbl_8024649C: -/* 8024649C 002433DC 7C 1A A0 40 */ cmplw r26, r20 -/* 802464A0 002433E0 41 82 00 3C */ beq lbl_802464DC -/* 802464A4 002433E4 80 74 00 18 */ lwz r3, 0x18(r20) -/* 802464A8 002433E8 4B FF C6 D1 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802464AC 002433EC 2C 03 00 02 */ cmpwi r3, 2 -/* 802464B0 002433F0 40 82 00 2C */ bne lbl_802464DC -/* 802464B4 002433F4 7E 83 A3 78 */ mr r3, r20 -/* 802464B8 002433F8 4B FF D4 E5 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 802464BC 002433FC 7C 16 18 00 */ cmpw r22, r3 -/* 802464C0 00243400 40 82 00 1C */ bne lbl_802464DC -/* 802464C4 00243404 7E 83 A3 78 */ mr r3, r20 -/* 802464C8 00243408 4B FF D4 DD */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 802464CC 0024340C 7C 15 18 00 */ cmpw r21, r3 -/* 802464D0 00243410 40 82 00 0C */ bne lbl_802464DC -/* 802464D4 00243414 7E 99 A3 78 */ mr r25, r20 -/* 802464D8 00243418 48 00 00 10 */ b lbl_802464E8 -lbl_802464DC: -/* 802464DC 0024341C 82 94 00 04 */ lwz r20, 4(r20) -lbl_802464E0: -/* 802464E0 00243420 28 14 00 00 */ cmplwi r20, 0 -/* 802464E4 00243424 40 82 FF B8 */ bne lbl_8024649C -lbl_802464E8: -/* 802464E8 00243428 28 19 00 00 */ cmplwi r25, 0 -/* 802464EC 0024342C 41 82 00 C8 */ beq lbl_802465B4 -/* 802464F0 00243430 7F E3 FB 78 */ mr r3, r31 -/* 802464F4 00243434 7F 44 D3 78 */ mr r4, r26 -/* 802464F8 00243438 48 00 22 01 */ bl deleteMapNode__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode -/* 802464FC 0024343C 7F E3 FB 78 */ mr r3, r31 -/* 80246500 00243440 7F 24 CB 78 */ mr r4, r25 -/* 80246504 00243444 48 00 21 F5 */ bl deleteMapNode__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode -/* 80246508 00243448 4B E8 30 99 */ bl rand -/* 8024650C 0024344C 3C 80 43 30 */ lis r4, 0x4330 -/* 80246510 00243450 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80246514 00243454 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80246518 00243458 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 8024651C 0024345C C8 42 C4 10 */ lfd f2, lbl_8051A770@sda21(r2) -/* 80246520 00243460 38 61 00 08 */ addi r3, r1, 8 -/* 80246524 00243464 90 81 00 48 */ stw r4, 0x48(r1) -/* 80246528 00243468 C0 02 C4 18 */ lfs f0, lbl_8051A778@sda21(r2) -/* 8024652C 0024346C C8 21 00 48 */ lfd f1, 0x48(r1) -/* 80246530 00243470 90 01 00 54 */ stw r0, 0x54(r1) -/* 80246534 00243474 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80246538 00243478 82 BC 00 90 */ lwz r21, 0x90(r28) -/* 8024653C 0024347C 90 81 00 50 */ stw r4, 0x50(r1) -/* 80246540 00243480 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80246544 00243484 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 80246548 00243488 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024654C 0024348C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80246550 00243490 FC 00 00 1E */ fctiwz f0, f0 -/* 80246554 00243494 D8 01 00 58 */ stfd f0, 0x58(r1) -/* 80246558 00243498 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8024655C 0024349C 54 00 10 3A */ slwi r0, r0, 2 -/* 80246560 002434A0 7E 83 00 2E */ lwzx r20, r3, r0 -/* 80246564 002434A4 48 00 00 48 */ b lbl_802465AC -lbl_80246568: -/* 80246568 002434A8 80 75 00 18 */ lwz r3, 0x18(r21) -/* 8024656C 002434AC 4B FF C6 01 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 80246570 002434B0 7C 03 A0 40 */ cmplw r3, r20 -/* 80246574 002434B4 40 82 00 34 */ bne lbl_802465A8 -/* 80246578 002434B8 7E A3 AB 78 */ mr r3, r21 -/* 8024657C 002434BC 38 80 00 00 */ li r4, 0 -/* 80246580 002434C0 4B FF CA A9 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 80246584 002434C4 7C 1E 18 00 */ cmpw r30, r3 -/* 80246588 002434C8 40 82 00 20 */ bne lbl_802465A8 -/* 8024658C 002434CC 80 95 00 18 */ lwz r4, 0x18(r21) -/* 80246590 002434D0 7F E3 FB 78 */ mr r3, r31 -/* 80246594 002434D4 7F 05 C3 78 */ mr r5, r24 -/* 80246598 002434D8 7E E6 BB 78 */ mr r6, r23 -/* 8024659C 002434DC 38 E0 00 01 */ li r7, 1 -/* 802465A0 002434E0 48 00 1A 69 */ bl addMap__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfoiib -/* 802465A4 002434E4 48 00 00 1C */ b lbl_802465C0 -lbl_802465A8: -/* 802465A8 002434E8 82 B5 00 04 */ lwz r21, 4(r21) -lbl_802465AC: -/* 802465AC 002434EC 28 15 00 00 */ cmplwi r21, 0 -/* 802465B0 002434F0 40 82 FF B8 */ bne lbl_80246568 -lbl_802465B4: -/* 802465B4 002434F4 83 5A 00 04 */ lwz r26, 4(r26) -lbl_802465B8: -/* 802465B8 002434F8 28 1A 00 00 */ cmplwi r26, 0 -/* 802465BC 002434FC 40 82 FE 4C */ bne lbl_80246408 -lbl_802465C0: -/* 802465C0 00243500 BA 81 00 60 */ lmw r20, 0x60(r1) -/* 802465C4 00243504 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802465C8 00243508 7C 08 03 A6 */ mtlr r0 -/* 802465CC 0024350C 38 21 00 90 */ addi r1, r1, 0x90 -/* 802465D0 00243510 4E 80 00 20 */ blr - -.global changeTwoToOneMapUnit__Q34Game4Cave11RandMapUnitFv -changeTwoToOneMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 802465D4 00243514 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 802465D8 00243518 7C 08 02 A6 */ mflr r0 -/* 802465DC 0024351C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 802465E0 00243520 BE 61 00 AC */ stmw r19, 0xac(r1) -/* 802465E4 00243524 7C 79 1B 78 */ mr r25, r3 -/* 802465E8 00243528 3B C1 00 48 */ addi r30, r1, 0x48 -/* 802465EC 0024352C 3B A0 00 00 */ li r29, 0 -/* 802465F0 00243530 7F D5 F3 78 */ mr r21, r30 -/* 802465F4 00243534 3B 80 00 00 */ li r28, 0 -/* 802465F8 00243538 80 63 00 20 */ lwz r3, 0x20(r3) -/* 802465FC 0024353C 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80246600 00243540 83 03 00 28 */ lwz r24, 0x28(r3) -/* 80246604 00243544 82 9F 00 90 */ lwz r20, 0x90(r31) -/* 80246608 00243548 48 00 00 74 */ b lbl_8024667C -lbl_8024660C: -/* 8024660C 0024354C 80 74 00 18 */ lwz r3, 0x18(r20) -/* 80246610 00243550 4B FF C5 75 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80246614 00243554 2C 03 00 01 */ cmpwi r3, 1 -/* 80246618 00243558 40 82 00 60 */ bne lbl_80246678 -/* 8024661C 0024355C 80 74 00 18 */ lwz r3, 0x18(r20) -/* 80246620 00243560 4B FF C5 6D */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80246624 00243564 2C 03 00 01 */ cmpwi r3, 1 -/* 80246628 00243568 40 82 00 50 */ bne lbl_80246678 -/* 8024662C 0024356C 7E 83 A3 78 */ mr r3, r20 -/* 80246630 00243570 4B FF DA 31 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80246634 00243574 2C 03 00 02 */ cmpwi r3, 2 -/* 80246638 00243578 40 82 00 40 */ bne lbl_80246678 -/* 8024663C 0024357C 7E 83 A3 78 */ mr r3, r20 -/* 80246640 00243580 38 80 00 00 */ li r4, 0 -/* 80246644 00243584 4B FF C9 E5 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 80246648 00243588 2C 03 00 00 */ cmpwi r3, 0 -/* 8024664C 0024358C 40 82 00 2C */ bne lbl_80246678 -/* 80246650 00243590 7E 83 A3 78 */ mr r3, r20 -/* 80246654 00243594 38 80 00 01 */ li r4, 1 -/* 80246658 00243598 4B FF C9 D1 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024665C 0024359C 2C 03 00 02 */ cmpwi r3, 2 -/* 80246660 002435A0 40 82 00 18 */ bne lbl_80246678 -/* 80246664 002435A4 80 74 00 18 */ lwz r3, 0x18(r20) -/* 80246668 002435A8 4B FF C5 05 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 8024666C 002435AC 90 75 00 00 */ stw r3, 0(r21) -/* 80246670 002435B0 3A B5 00 04 */ addi r21, r21, 4 -/* 80246674 002435B4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80246678: -/* 80246678 002435B8 82 94 00 04 */ lwz r20, 4(r20) -lbl_8024667C: -/* 8024667C 002435BC 28 14 00 00 */ cmplwi r20, 0 -/* 80246680 002435C0 40 82 FF 8C */ bne lbl_8024660C -/* 80246684 002435C4 82 9F 00 90 */ lwz r20, 0x90(r31) -/* 80246688 002435C8 3A A1 00 08 */ addi r21, r1, 8 -/* 8024668C 002435CC 48 00 00 74 */ b lbl_80246700 -lbl_80246690: -/* 80246690 002435D0 80 74 00 18 */ lwz r3, 0x18(r20) -/* 80246694 002435D4 4B FF C4 F1 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80246698 002435D8 2C 03 00 01 */ cmpwi r3, 1 -/* 8024669C 002435DC 40 82 00 60 */ bne lbl_802466FC -/* 802466A0 002435E0 80 74 00 18 */ lwz r3, 0x18(r20) -/* 802466A4 002435E4 4B FF C4 E9 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 802466A8 002435E8 2C 03 00 02 */ cmpwi r3, 2 -/* 802466AC 002435EC 40 82 00 50 */ bne lbl_802466FC -/* 802466B0 002435F0 7E 83 A3 78 */ mr r3, r20 -/* 802466B4 002435F4 4B FF D9 AD */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802466B8 002435F8 2C 03 00 02 */ cmpwi r3, 2 -/* 802466BC 002435FC 40 82 00 40 */ bne lbl_802466FC -/* 802466C0 00243600 7E 83 A3 78 */ mr r3, r20 -/* 802466C4 00243604 38 80 00 00 */ li r4, 0 -/* 802466C8 00243608 4B FF C9 61 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 802466CC 0024360C 2C 03 00 00 */ cmpwi r3, 0 -/* 802466D0 00243610 40 82 00 2C */ bne lbl_802466FC -/* 802466D4 00243614 7E 83 A3 78 */ mr r3, r20 -/* 802466D8 00243618 38 80 00 01 */ li r4, 1 -/* 802466DC 0024361C 4B FF C9 4D */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 802466E0 00243620 2C 03 00 02 */ cmpwi r3, 2 -/* 802466E4 00243624 40 82 00 18 */ bne lbl_802466FC -/* 802466E8 00243628 80 74 00 18 */ lwz r3, 0x18(r20) -/* 802466EC 0024362C 4B FF C4 81 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 802466F0 00243630 90 75 00 00 */ stw r3, 0(r21) -/* 802466F4 00243634 3A B5 00 04 */ addi r21, r21, 4 -/* 802466F8 00243638 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802466FC: -/* 802466FC 0024363C 82 94 00 04 */ lwz r20, 4(r20) -lbl_80246700: -/* 80246700 00243640 28 14 00 00 */ cmplwi r20, 0 -/* 80246704 00243644 40 82 FF 8C */ bne lbl_80246690 -/* 80246708 00243648 2C 1D 00 00 */ cmpwi r29, 0 -/* 8024670C 0024364C 41 82 02 14 */ beq lbl_80246920 -/* 80246710 00243650 2C 1C 00 00 */ cmpwi r28, 0 -/* 80246714 00243654 41 82 02 0C */ beq lbl_80246920 -/* 80246718 00243658 80 78 00 10 */ lwz r3, 0x10(r24) -/* 8024671C 0024365C 48 00 01 FC */ b lbl_80246918 -lbl_80246720: -/* 80246720 00243660 82 E3 00 04 */ lwz r23, 4(r3) -/* 80246724 00243664 7C 7B 1B 78 */ mr r27, r3 -/* 80246728 00243668 7F D5 F3 78 */ mr r21, r30 -/* 8024672C 0024366C 3A 80 00 00 */ li r20, 0 -/* 80246730 00243670 3A C0 00 00 */ li r22, 0 -/* 80246734 00243674 48 00 00 24 */ b lbl_80246758 -lbl_80246738: -/* 80246738 00243678 80 7B 00 18 */ lwz r3, 0x18(r27) -/* 8024673C 0024367C 4B FF C4 31 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 80246740 00243680 80 15 00 00 */ lwz r0, 0(r21) -/* 80246744 00243684 7C 03 00 40 */ cmplw r3, r0 -/* 80246748 00243688 40 82 00 08 */ bne lbl_80246750 -/* 8024674C 0024368C 3A 80 00 01 */ li r20, 1 -lbl_80246750: -/* 80246750 00243690 3A B5 00 04 */ addi r21, r21, 4 -/* 80246754 00243694 3A D6 00 01 */ addi r22, r22, 1 -lbl_80246758: -/* 80246758 00243698 7C 16 E8 00 */ cmpw r22, r29 -/* 8024675C 0024369C 41 80 FF DC */ blt lbl_80246738 -/* 80246760 002436A0 56 80 06 3F */ clrlwi. r0, r20, 0x18 -/* 80246764 002436A4 3B 40 00 00 */ li r26, 0 -/* 80246768 002436A8 41 82 00 78 */ beq lbl_802467E0 -/* 8024676C 002436AC 3A A0 00 00 */ li r21, 0 -/* 80246770 002436B0 3A C0 00 00 */ li r22, 0 -lbl_80246774: -/* 80246774 002436B4 28 1A 00 00 */ cmplwi r26, 0 -/* 80246778 002436B8 40 82 00 58 */ bne lbl_802467D0 -/* 8024677C 002436BC 80 7B 00 28 */ lwz r3, 0x28(r27) -/* 80246780 002436C0 7C 03 B0 2E */ lwzx r0, r3, r22 -/* 80246784 002436C4 28 00 00 00 */ cmplwi r0, 0 -/* 80246788 002436C8 41 82 00 48 */ beq lbl_802467D0 -/* 8024678C 002436CC 7F D4 F3 78 */ mr r20, r30 -/* 80246790 002436D0 3A 60 00 00 */ li r19, 0 -/* 80246794 002436D4 48 00 00 34 */ b lbl_802467C8 -lbl_80246798: -/* 80246798 002436D8 80 1B 00 28 */ lwz r0, 0x28(r27) -/* 8024679C 002436DC 7C 76 00 2E */ lwzx r3, r22, r0 -/* 802467A0 002436E0 80 63 00 18 */ lwz r3, 0x18(r3) -/* 802467A4 002436E4 4B FF C3 C9 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 802467A8 002436E8 80 14 00 00 */ lwz r0, 0(r20) -/* 802467AC 002436EC 7C 03 00 40 */ cmplw r3, r0 -/* 802467B0 002436F0 40 82 00 10 */ bne lbl_802467C0 -/* 802467B4 002436F4 80 7B 00 28 */ lwz r3, 0x28(r27) -/* 802467B8 002436F8 7F 43 B0 2E */ lwzx r26, r3, r22 -/* 802467BC 002436FC 48 00 00 14 */ b lbl_802467D0 -lbl_802467C0: -/* 802467C0 00243700 3A 94 00 04 */ addi r20, r20, 4 -/* 802467C4 00243704 3A 73 00 01 */ addi r19, r19, 1 -lbl_802467C8: -/* 802467C8 00243708 7C 13 E8 00 */ cmpw r19, r29 -/* 802467CC 0024370C 41 80 FF CC */ blt lbl_80246798 -lbl_802467D0: -/* 802467D0 00243710 3A B5 00 01 */ addi r21, r21, 1 -/* 802467D4 00243714 3A D6 00 0C */ addi r22, r22, 0xc -/* 802467D8 00243718 2C 15 00 02 */ cmpwi r21, 2 -/* 802467DC 0024371C 41 80 FF 98 */ blt lbl_80246774 -lbl_802467E0: -/* 802467E0 00243720 28 1A 00 00 */ cmplwi r26, 0 -/* 802467E4 00243724 41 82 01 30 */ beq lbl_80246914 -/* 802467E8 00243728 7F 43 D3 78 */ mr r3, r26 -/* 802467EC 0024372C 4B FF D1 B1 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 802467F0 00243730 7C 77 1B 78 */ mr r23, r3 -/* 802467F4 00243734 7F 63 DB 78 */ mr r3, r27 -/* 802467F8 00243738 4B FF D1 A5 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 802467FC 0024373C 7C 03 B8 00 */ cmpw r3, r23 -/* 80246800 00243740 40 80 00 08 */ bge lbl_80246808 -/* 80246804 00243744 7C 77 1B 78 */ mr r23, r3 -lbl_80246808: -/* 80246808 00243748 7F 43 D3 78 */ mr r3, r26 -/* 8024680C 0024374C 4B FF D1 99 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80246810 00243750 7C 76 1B 78 */ mr r22, r3 -/* 80246814 00243754 7F 63 DB 78 */ mr r3, r27 -/* 80246818 00243758 4B FF D1 8D */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 8024681C 0024375C 7C 03 B0 00 */ cmpw r3, r22 -/* 80246820 00243760 40 80 00 08 */ bge lbl_80246828 -/* 80246824 00243764 7C 76 1B 78 */ mr r22, r3 -lbl_80246828: -/* 80246828 00243768 7F 43 D3 78 */ mr r3, r26 -/* 8024682C 0024376C 4B FF D1 71 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80246830 00243770 7C 75 1B 78 */ mr r21, r3 -/* 80246834 00243774 7F 63 DB 78 */ mr r3, r27 -/* 80246838 00243778 4B FF D1 65 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 8024683C 0024377C 7C 83 A8 50 */ subf r4, r3, r21 -/* 80246840 00243780 7C 15 18 50 */ subf r0, r21, r3 -/* 80246844 00243784 7C 80 03 78 */ or r0, r4, r0 -/* 80246848 00243788 7F 23 CB 78 */ mr r3, r25 -/* 8024684C 0024378C 7F 64 DB 78 */ mr r4, r27 -/* 80246850 00243790 54 13 0F FE */ srwi r19, r0, 0x1f -/* 80246854 00243794 48 00 1E A5 */ bl deleteMapNode__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode -/* 80246858 00243798 7F 23 CB 78 */ mr r3, r25 -/* 8024685C 0024379C 7F 44 D3 78 */ mr r4, r26 -/* 80246860 002437A0 48 00 1E 99 */ bl deleteMapNode__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode -/* 80246864 002437A4 4B E8 2D 3D */ bl rand -/* 80246868 002437A8 3C 80 43 30 */ lis r4, 0x4330 -/* 8024686C 002437AC 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80246870 002437B0 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80246874 002437B4 6F 80 80 00 */ xoris r0, r28, 0x8000 -/* 80246878 002437B8 C8 42 C4 10 */ lfd f2, lbl_8051A770@sda21(r2) -/* 8024687C 002437BC 38 61 00 08 */ addi r3, r1, 8 -/* 80246880 002437C0 90 81 00 88 */ stw r4, 0x88(r1) -/* 80246884 002437C4 C0 02 C4 18 */ lfs f0, lbl_8051A778@sda21(r2) -/* 80246888 002437C8 C8 21 00 88 */ lfd f1, 0x88(r1) -/* 8024688C 002437CC 90 01 00 94 */ stw r0, 0x94(r1) -/* 80246890 002437D0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80246894 002437D4 82 BF 00 90 */ lwz r21, 0x90(r31) -/* 80246898 002437D8 90 81 00 90 */ stw r4, 0x90(r1) -/* 8024689C 002437DC EC 21 00 24 */ fdivs f1, f1, f0 -/* 802468A0 002437E0 C8 01 00 90 */ lfd f0, 0x90(r1) -/* 802468A4 002437E4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802468A8 002437E8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802468AC 002437EC FC 00 00 1E */ fctiwz f0, f0 -/* 802468B0 002437F0 D8 01 00 98 */ stfd f0, 0x98(r1) -/* 802468B4 002437F4 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 802468B8 002437F8 54 00 10 3A */ slwi r0, r0, 2 -/* 802468BC 002437FC 7E 83 00 2E */ lwzx r20, r3, r0 -/* 802468C0 00243800 48 00 00 48 */ b lbl_80246908 -lbl_802468C4: -/* 802468C4 00243804 80 75 00 18 */ lwz r3, 0x18(r21) -/* 802468C8 00243808 4B FF C2 A5 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 802468CC 0024380C 7C 03 A0 40 */ cmplw r3, r20 -/* 802468D0 00243810 40 82 00 34 */ bne lbl_80246904 -/* 802468D4 00243814 7E A3 AB 78 */ mr r3, r21 -/* 802468D8 00243818 38 80 00 00 */ li r4, 0 -/* 802468DC 0024381C 4B FF C7 4D */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 802468E0 00243820 7C 13 18 00 */ cmpw r19, r3 -/* 802468E4 00243824 40 82 00 20 */ bne lbl_80246904 -/* 802468E8 00243828 80 95 00 18 */ lwz r4, 0x18(r21) -/* 802468EC 0024382C 7F 23 CB 78 */ mr r3, r25 -/* 802468F0 00243830 7E E5 BB 78 */ mr r5, r23 -/* 802468F4 00243834 7E C6 B3 78 */ mr r6, r22 -/* 802468F8 00243838 38 E0 00 01 */ li r7, 1 -/* 802468FC 0024383C 48 00 17 0D */ bl addMap__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfoiib -/* 80246900 00243840 48 00 00 10 */ b lbl_80246910 -lbl_80246904: -/* 80246904 00243844 82 B5 00 04 */ lwz r21, 4(r21) -lbl_80246908: -/* 80246908 00243848 28 15 00 00 */ cmplwi r21, 0 -/* 8024690C 0024384C 40 82 FF B8 */ bne lbl_802468C4 -lbl_80246910: -/* 80246910 00243850 82 F8 00 10 */ lwz r23, 0x10(r24) -lbl_80246914: -/* 80246914 00243854 7E E3 BB 78 */ mr r3, r23 -lbl_80246918: -/* 80246918 00243858 28 03 00 00 */ cmplwi r3, 0 -/* 8024691C 0024385C 40 82 FE 04 */ bne lbl_80246720 -lbl_80246920: -/* 80246920 00243860 BA 61 00 AC */ lmw r19, 0xac(r1) -/* 80246924 00243864 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80246928 00243868 7C 08 03 A6 */ mtlr r0 -/* 8024692C 0024386C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80246930 00243870 4E 80 00 20 */ blr - -.global setEditorMapUnit__Q34Game4Cave11RandMapUnitFv -setEditorMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 80246934 00243874 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80246938 00243878 7C 08 02 A6 */ mflr r0 -/* 8024693C 0024387C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80246940 00243880 BF 01 00 20 */ stmw r24, 0x20(r1) -/* 80246944 00243884 7C 78 1B 78 */ mr r24, r3 -/* 80246948 00243888 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8024694C 0024388C 83 C3 00 30 */ lwz r30, 0x30(r3) -/* 80246950 00243890 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 80246954 00243894 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80246958 00243898 2C 00 00 00 */ cmpwi r0, 0 -/* 8024695C 0024389C 40 80 00 54 */ bge lbl_802469B0 -/* 80246960 002438A0 83 3E 00 04 */ lwz r25, 4(r30) -/* 80246964 002438A4 4B E8 2C 3D */ bl rand -/* 80246968 002438A8 3C 80 43 30 */ lis r4, 0x4330 -/* 8024696C 002438AC 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80246970 002438B0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80246974 002438B4 6F 20 80 00 */ xoris r0, r25, 0x8000 -/* 80246978 002438B8 C8 42 C4 10 */ lfd f2, lbl_8051A770@sda21(r2) -/* 8024697C 002438BC 90 81 00 08 */ stw r4, 8(r1) -/* 80246980 002438C0 C0 02 C4 18 */ lfs f0, lbl_8051A778@sda21(r2) -/* 80246984 002438C4 C8 21 00 08 */ lfd f1, 8(r1) -/* 80246988 002438C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024698C 002438CC EC 21 10 28 */ fsubs f1, f1, f2 -/* 80246990 002438D0 90 81 00 10 */ stw r4, 0x10(r1) -/* 80246994 002438D4 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80246998 002438D8 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8024699C 002438DC EC 00 10 28 */ fsubs f0, f0, f2 -/* 802469A0 002438E0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802469A4 002438E4 FC 00 00 1E */ fctiwz f0, f0 -/* 802469A8 002438E8 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 802469AC 002438EC 80 01 00 1C */ lwz r0, 0x1c(r1) -lbl_802469B0: -/* 802469B0 002438F0 80 7E 00 08 */ lwz r3, 8(r30) -/* 802469B4 002438F4 54 1C 10 3A */ slwi r28, r0, 2 -/* 802469B8 002438F8 3B 40 00 00 */ li r26, 0 -/* 802469BC 002438FC 3B A0 00 00 */ li r29, 0 -/* 802469C0 00243900 7C 63 E0 2E */ lwzx r3, r3, r28 -/* 802469C4 00243904 3B 63 FF FF */ addi r27, r3, -1 -/* 802469C8 00243908 48 00 00 8C */ b lbl_80246A54 -lbl_802469CC: -/* 802469CC 0024390C 83 3F 00 10 */ lwz r25, 0x10(r31) -/* 802469D0 00243910 48 00 00 74 */ b lbl_80246A44 -lbl_802469D4: -/* 802469D4 00243914 7F 23 CB 78 */ mr r3, r25 -/* 802469D8 00243918 4B FF D0 E1 */ bl getDirection__Q34Game4Cave7MapNodeFv -/* 802469DC 0024391C 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 802469E0 00243920 7C 1C 00 2E */ lwzx r0, r28, r0 -/* 802469E4 00243924 7C 1D 00 2E */ lwzx r0, r29, r0 -/* 802469E8 00243928 7C 00 18 00 */ cmpw r0, r3 -/* 802469EC 0024392C 40 82 00 54 */ bne lbl_80246A40 -/* 802469F0 00243930 7F 23 CB 78 */ mr r3, r25 -/* 802469F4 00243934 4B FF CF D1 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 802469F8 00243938 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 802469FC 0024393C 7C 1C 00 2E */ lwzx r0, r28, r0 -/* 80246A00 00243940 7C 9D 00 2E */ lwzx r4, r29, r0 -/* 80246A04 00243944 4B E8 3C BD */ bl strcmp -/* 80246A08 00243948 2C 03 00 00 */ cmpwi r3, 0 -/* 80246A0C 0024394C 40 82 00 34 */ bne lbl_80246A40 -/* 80246A10 00243950 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 80246A14 00243954 7C 1A D8 50 */ subf r0, r26, r27 -/* 80246A18 00243958 80 9E 00 18 */ lwz r4, 0x18(r30) -/* 80246A1C 0024395C 7C 00 00 34 */ cntlzw r0, r0 -/* 80246A20 00243960 7C BC 18 2E */ lwzx r5, r28, r3 -/* 80246A24 00243964 7F 03 C3 78 */ mr r3, r24 -/* 80246A28 00243968 7C DC 20 2E */ lwzx r6, r28, r4 -/* 80246A2C 0024396C 54 07 D9 7E */ srwi r7, r0, 5 -/* 80246A30 00243970 80 99 00 18 */ lwz r4, 0x18(r25) -/* 80246A34 00243974 7C BD 28 2E */ lwzx r5, r29, r5 -/* 80246A38 00243978 7C DD 30 2E */ lwzx r6, r29, r6 -/* 80246A3C 0024397C 48 00 15 CD */ bl addMap__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfoiib -lbl_80246A40: -/* 80246A40 00243980 83 39 00 04 */ lwz r25, 4(r25) -lbl_80246A44: -/* 80246A44 00243984 28 19 00 00 */ cmplwi r25, 0 -/* 80246A48 00243988 40 82 FF 8C */ bne lbl_802469D4 -/* 80246A4C 0024398C 3B BD 00 04 */ addi r29, r29, 4 -/* 80246A50 00243990 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80246A54: -/* 80246A54 00243994 80 1E 00 08 */ lwz r0, 8(r30) -/* 80246A58 00243998 7C 1C 00 2E */ lwzx r0, r28, r0 -/* 80246A5C 0024399C 7C 1A 00 00 */ cmpw r26, r0 -/* 80246A60 002439A0 41 80 FF 6C */ blt lbl_802469CC -/* 80246A64 002439A4 BB 01 00 20 */ lmw r24, 0x20(r1) -/* 80246A68 002439A8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80246A6C 002439AC 7C 08 03 A6 */ mtlr r0 -/* 80246A70 002439B0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80246A74 002439B4 4E 80 00 20 */ blr - -.global setFirstMapUnit__Q34Game4Cave11RandMapUnitFv -setFirstMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 80246A78 002439B8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80246A7C 002439BC 7C 08 02 A6 */ mflr r0 -/* 80246A80 002439C0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80246A84 002439C4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80246A88 002439C8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80246A8C 002439CC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80246A90 002439D0 7C 7D 1B 78 */ mr r29, r3 -/* 80246A94 002439D4 48 00 00 51 */ bl getFirstMapUnit__Q34Game4Cave11RandMapUnitFv -/* 80246A98 002439D8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80246A9C 002439DC 41 82 00 2C */ beq lbl_80246AC8 -/* 80246AA0 002439E0 4B FF CF 05 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 80246AA4 002439E4 7C 7F 1B 78 */ mr r31, r3 -/* 80246AA8 002439E8 7F C3 F3 78 */ mr r3, r30 -/* 80246AAC 002439EC 4B FF CE F1 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80246AB0 002439F0 80 9E 00 18 */ lwz r4, 0x18(r30) -/* 80246AB4 002439F4 7C 65 1B 78 */ mr r5, r3 -/* 80246AB8 002439F8 7F A3 EB 78 */ mr r3, r29 -/* 80246ABC 002439FC 7F E6 FB 78 */ mr r6, r31 -/* 80246AC0 00243A00 38 E0 00 01 */ li r7, 1 -/* 80246AC4 00243A04 48 00 15 45 */ bl addMap__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfoiib -lbl_80246AC8: -/* 80246AC8 00243A08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80246ACC 00243A0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80246AD0 00243A10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80246AD4 00243A14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80246AD8 00243A18 7C 08 03 A6 */ mtlr r0 -/* 80246ADC 00243A1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80246AE0 00243A20 4E 80 00 20 */ blr - -.global getFirstMapUnit__Q34Game4Cave11RandMapUnitFv -getFirstMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 80246AE4 00243A24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80246AE8 00243A28 7C 08 02 A6 */ mflr r0 -/* 80246AEC 00243A2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80246AF0 00243A30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80246AF4 00243A34 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80246AF8 00243A38 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80246AFC 00243A3C 83 E3 00 50 */ lwz r31, 0x50(r3) -/* 80246B00 00243A40 48 00 00 50 */ b lbl_80246B50 -lbl_80246B04: -/* 80246B04 00243A44 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80246B08 00243A48 4B FF C0 B9 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 80246B0C 00243A4C 28 03 00 00 */ cmplwi r3, 0 -/* 80246B10 00243A50 41 82 00 3C */ beq lbl_80246B4C -/* 80246B14 00243A54 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80246B18 00243A58 48 00 00 2C */ b lbl_80246B44 -lbl_80246B1C: -/* 80246B1C 00243A5C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80246B20 00243A60 2C 00 00 07 */ cmpwi r0, 7 -/* 80246B24 00243A64 40 82 00 1C */ bne lbl_80246B40 -/* 80246B28 00243A68 7F E3 FB 78 */ mr r3, r31 -/* 80246B2C 00243A6C 38 80 00 00 */ li r4, 0 -/* 80246B30 00243A70 38 A0 00 00 */ li r5, 0 -/* 80246B34 00243A74 4B FF C4 E9 */ bl setOffset__Q34Game4Cave7MapNodeFii -/* 80246B38 00243A78 7F E3 FB 78 */ mr r3, r31 -/* 80246B3C 00243A7C 48 00 00 20 */ b lbl_80246B5C -lbl_80246B40: -/* 80246B40 00243A80 80 63 00 04 */ lwz r3, 4(r3) -lbl_80246B44: -/* 80246B44 00243A84 28 03 00 00 */ cmplwi r3, 0 -/* 80246B48 00243A88 40 82 FF D4 */ bne lbl_80246B1C -lbl_80246B4C: -/* 80246B4C 00243A8C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80246B50: -/* 80246B50 00243A90 28 1F 00 00 */ cmplwi r31, 0 -/* 80246B54 00243A94 40 82 FF B0 */ bne lbl_80246B04 -/* 80246B58 00243A98 38 60 00 00 */ li r3, 0 -lbl_80246B5C: -/* 80246B5C 00243A9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80246B60 00243AA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80246B64 00243AA4 7C 08 03 A6 */ mtlr r0 -/* 80246B68 00243AA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80246B6C 00243AAC 4E 80 00 20 */ blr - -.global getNormalRandMapUnit__Q34Game4Cave11RandMapUnitFv -getNormalRandMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 80246B70 00243AB0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80246B74 00243AB4 7C 08 02 A6 */ mflr r0 -/* 80246B78 00243AB8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80246B7C 00243ABC BE E1 00 7C */ stmw r23, 0x7c(r1) -/* 80246B80 00243AC0 7C 7F 1B 78 */ mr r31, r3 -/* 80246B84 00243AC4 48 00 13 F9 */ bl getOpenDoorNum__Q34Game4Cave11RandMapUnitFv -/* 80246B88 00243AC8 7C 7E 1B 78 */ mr r30, r3 -/* 80246B8C 00243ACC 4B E8 2A 15 */ bl rand -/* 80246B90 00243AD0 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80246B94 00243AD4 3D 00 43 30 */ lis r8, 0x4330 -/* 80246B98 00243AD8 90 01 00 64 */ stw r0, 0x64(r1) -/* 80246B9C 00243ADC 6F C0 80 00 */ xoris r0, r30, 0x8000 -/* 80246BA0 00243AE0 80 FF 00 20 */ lwz r7, 0x20(r31) -/* 80246BA4 00243AE4 7F E3 FB 78 */ mr r3, r31 -/* 80246BA8 00243AE8 91 01 00 60 */ stw r8, 0x60(r1) -/* 80246BAC 00243AEC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80246BB0 00243AF0 C8 42 C4 10 */ lfd f2, lbl_8051A770@sda21(r2) -/* 80246BB4 00243AF4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80246BB8 00243AF8 C8 21 00 60 */ lfd f1, 0x60(r1) -/* 80246BBC 00243AFC 38 C1 00 08 */ addi r6, r1, 8 -/* 80246BC0 00243B00 C0 02 C4 18 */ lfs f0, lbl_8051A778@sda21(r2) -/* 80246BC4 00243B04 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80246BC8 00243B08 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80246BCC 00243B0C 83 C7 00 10 */ lwz r30, 0x10(r7) -/* 80246BD0 00243B10 91 01 00 68 */ stw r8, 0x68(r1) -/* 80246BD4 00243B14 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80246BD8 00243B18 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 80246BDC 00243B1C EC 00 10 28 */ fsubs f0, f0, f2 -/* 80246BE0 00243B20 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80246BE4 00243B24 FC 00 00 1E */ fctiwz f0, f0 -/* 80246BE8 00243B28 D8 01 00 70 */ stfd f0, 0x70(r1) -/* 80246BEC 00243B2C 80 E1 00 74 */ lwz r7, 0x74(r1) -/* 80246BF0 00243B30 48 00 08 51 */ bl getCalcDoorIndex__Q34Game4Cave11RandMapUnitFRiRiRii -/* 80246BF4 00243B34 80 81 00 10 */ lwz r4, 0x10(r1) -/* 80246BF8 00243B38 7C 7C 1B 78 */ mr r28, r3 -/* 80246BFC 00243B3C 4B FF C8 89 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80246C00 00243B40 28 1C 00 00 */ cmplwi r28, 0 -/* 80246C04 00243B44 7C 7B 1B 78 */ mr r27, r3 -/* 80246C08 00243B48 41 82 00 D8 */ beq lbl_80246CE0 -/* 80246C0C 00243B4C 28 1B 00 00 */ cmplwi r27, 0 -/* 80246C10 00243B50 41 82 00 D0 */ beq lbl_80246CE0 -/* 80246C14 00243B54 7F E3 FB 78 */ mr r3, r31 -/* 80246C18 00243B58 7F 84 E3 78 */ mr r4, r28 -/* 80246C1C 00243B5C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80246C20 00243B60 48 00 00 D9 */ bl setUnitKindOrder__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodePi -/* 80246C24 00243B64 3B 40 00 00 */ li r26, 0 -/* 80246C28 00243B68 3B 81 00 14 */ addi r28, r1, 0x14 -lbl_80246C2C: -/* 80246C2C 00243B6C 80 9C 00 00 */ lwz r4, 0(r28) -/* 80246C30 00243B70 7F E3 FB 78 */ mr r3, r31 -/* 80246C34 00243B74 48 00 01 8D */ bl setUnitDoorSorting__Q34Game4Cave11RandMapUnitFi -/* 80246C38 00243B78 80 1C 00 00 */ lwz r0, 0(r28) -/* 80246C3C 00243B7C 54 03 30 32 */ slwi r3, r0, 6 -/* 80246C40 00243B80 38 03 00 10 */ addi r0, r3, 0x10 -/* 80246C44 00243B84 7F 3E 00 2E */ lwzx r25, r30, r0 -/* 80246C48 00243B88 48 00 00 80 */ b lbl_80246CC8 -lbl_80246C4C: -/* 80246C4C 00243B8C 7F 23 CB 78 */ mr r3, r25 -/* 80246C50 00243B90 4B FF D4 11 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80246C54 00243B94 7C 60 1B 78 */ mr r0, r3 -/* 80246C58 00243B98 7F E3 FB 78 */ mr r3, r31 -/* 80246C5C 00243B9C 7C 18 03 78 */ mr r24, r0 -/* 80246C60 00243BA0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80246C64 00243BA4 7F 05 C3 78 */ mr r5, r24 -/* 80246C68 00243BA8 48 00 04 6D */ bl setRandomDoorIndex__Q34Game4Cave11RandMapUnitFPii -/* 80246C6C 00243BAC 3B A1 00 20 */ addi r29, r1, 0x20 -/* 80246C70 00243BB0 3A E0 00 00 */ li r23, 0 -/* 80246C74 00243BB4 48 00 00 48 */ b lbl_80246CBC -lbl_80246C78: -/* 80246C78 00243BB8 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 80246C7C 00243BBC 7F 23 CB 78 */ mr r3, r25 -/* 80246C80 00243BC0 80 C1 00 08 */ lwz r6, 8(r1) -/* 80246C84 00243BC4 7F 64 DB 78 */ mr r4, r27 -/* 80246C88 00243BC8 80 FD 00 00 */ lwz r7, 0(r29) -/* 80246C8C 00243BCC 4B FF C4 C1 */ bl isDoorSet__Q34Game4Cave7MapNodeFPQ34Game4Cave8DoorNodeiii -/* 80246C90 00243BD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80246C94 00243BD4 41 82 00 20 */ beq lbl_80246CB4 -/* 80246C98 00243BD8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80246C9C 00243BDC 7F 24 CB 78 */ mr r4, r25 -/* 80246CA0 00243BE0 4B FF E9 CD */ bl isPutOnMap__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -/* 80246CA4 00243BE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80246CA8 00243BE8 41 82 00 0C */ beq lbl_80246CB4 -/* 80246CAC 00243BEC 7F 23 CB 78 */ mr r3, r25 -/* 80246CB0 00243BF0 48 00 00 34 */ b lbl_80246CE4 -lbl_80246CB4: -/* 80246CB4 00243BF4 3B BD 00 04 */ addi r29, r29, 4 -/* 80246CB8 00243BF8 3A F7 00 01 */ addi r23, r23, 1 -lbl_80246CBC: -/* 80246CBC 00243BFC 7C 17 C0 00 */ cmpw r23, r24 -/* 80246CC0 00243C00 41 80 FF B8 */ blt lbl_80246C78 -/* 80246CC4 00243C04 83 39 00 04 */ lwz r25, 4(r25) -lbl_80246CC8: -/* 80246CC8 00243C08 28 19 00 00 */ cmplwi r25, 0 -/* 80246CCC 00243C0C 40 82 FF 80 */ bne lbl_80246C4C -/* 80246CD0 00243C10 3B 5A 00 01 */ addi r26, r26, 1 -/* 80246CD4 00243C14 3B 9C 00 04 */ addi r28, r28, 4 -/* 80246CD8 00243C18 2C 1A 00 03 */ cmpwi r26, 3 -/* 80246CDC 00243C1C 41 80 FF 50 */ blt lbl_80246C2C -lbl_80246CE0: -/* 80246CE0 00243C20 38 60 00 00 */ li r3, 0 -lbl_80246CE4: -/* 80246CE4 00243C24 BA E1 00 7C */ lmw r23, 0x7c(r1) -/* 80246CE8 00243C28 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80246CEC 00243C2C 7C 08 03 A6 */ mtlr r0 -/* 80246CF0 00243C30 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80246CF4 00243C34 4E 80 00 20 */ blr - -.global setUnitKindOrder__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodePi -setUnitKindOrder__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodePi: -/* 80246CF8 00243C38 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80246CFC 00243C3C 7C 08 02 A6 */ mflr r0 -/* 80246D00 00243C40 90 01 00 34 */ stw r0, 0x34(r1) -/* 80246D04 00243C44 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80246D08 00243C48 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80246D0C 00243C4C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80246D10 00243C50 88 03 00 0C */ lbz r0, 0xc(r3) -/* 80246D14 00243C54 7C BF 2B 78 */ mr r31, r5 -/* 80246D18 00243C58 C3 E3 00 08 */ lfs f31, 8(r3) -/* 80246D1C 00243C5C 28 00 00 00 */ cmplwi r0, 0 -/* 80246D20 00243C60 41 82 00 08 */ beq lbl_80246D28 -/* 80246D24 00243C64 C3 E2 C4 00 */ lfs f31, lbl_8051A760@sda21(r2) -lbl_80246D28: -/* 80246D28 00243C68 80 64 00 18 */ lwz r3, 0x18(r4) -/* 80246D2C 00243C6C 4B FF BE 4D */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 80246D30 00243C70 2C 03 00 01 */ cmpwi r3, 1 -/* 80246D34 00243C74 40 82 00 0C */ bne lbl_80246D40 -/* 80246D38 00243C78 C0 02 C4 1C */ lfs f0, lbl_8051A77C@sda21(r2) -/* 80246D3C 00243C7C EF FF 00 32 */ fmuls f31, f31, f0 -lbl_80246D40: -/* 80246D40 00243C80 38 00 00 00 */ li r0, 0 -/* 80246D44 00243C84 90 1F 00 08 */ stw r0, 8(r31) -/* 80246D48 00243C88 4B E8 28 59 */ bl rand -/* 80246D4C 00243C8C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80246D50 00243C90 3C 00 43 30 */ lis r0, 0x4330 -/* 80246D54 00243C94 90 61 00 0C */ stw r3, 0xc(r1) -/* 80246D58 00243C98 C8 62 C4 10 */ lfd f3, lbl_8051A770@sda21(r2) -/* 80246D5C 00243C9C 90 01 00 08 */ stw r0, 8(r1) -/* 80246D60 00243CA0 C0 22 C4 08 */ lfs f1, lbl_8051A768@sda21(r2) -/* 80246D64 00243CA4 C8 41 00 08 */ lfd f2, 8(r1) -/* 80246D68 00243CA8 C0 02 C4 18 */ lfs f0, lbl_8051A778@sda21(r2) -/* 80246D6C 00243CAC EC 42 18 28 */ fsubs f2, f2, f3 -/* 80246D70 00243CB0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80246D74 00243CB4 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80246D78 00243CB8 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80246D7C 00243CBC 40 80 00 18 */ bge lbl_80246D94 -/* 80246D80 00243CC0 38 60 00 02 */ li r3, 2 -/* 80246D84 00243CC4 38 00 00 01 */ li r0, 1 -/* 80246D88 00243CC8 90 7F 00 00 */ stw r3, 0(r31) -/* 80246D8C 00243CCC 90 1F 00 04 */ stw r0, 4(r31) -/* 80246D90 00243CD0 48 00 00 14 */ b lbl_80246DA4 -lbl_80246D94: -/* 80246D94 00243CD4 38 60 00 01 */ li r3, 1 -/* 80246D98 00243CD8 38 00 00 02 */ li r0, 2 -/* 80246D9C 00243CDC 90 7F 00 00 */ stw r3, 0(r31) -/* 80246DA0 00243CE0 90 1F 00 04 */ stw r0, 4(r31) -lbl_80246DA4: -/* 80246DA4 00243CE4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80246DA8 00243CE8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80246DAC 00243CEC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80246DB0 00243CF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80246DB4 00243CF4 7C 08 03 A6 */ mtlr r0 -/* 80246DB8 00243CF8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80246DBC 00243CFC 4E 80 00 20 */ blr - -.global setUnitDoorSorting__Q34Game4Cave11RandMapUnitFi -setUnitDoorSorting__Q34Game4Cave11RandMapUnitFi: -/* 80246DC0 00243D00 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80246DC4 00243D04 7C 08 02 A6 */ mflr r0 -/* 80246DC8 00243D08 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80246DCC 00243D0C DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80246DD0 00243D10 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80246DD4 00243D14 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80246DD8 00243D18 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80246DDC 00243D1C BF 21 00 64 */ stmw r25, 0x64(r1) -/* 80246DE0 00243D20 2C 04 00 02 */ cmpwi r4, 2 -/* 80246DE4 00243D24 7C 7E 1B 78 */ mr r30, r3 -/* 80246DE8 00243D28 40 82 02 C8 */ bne lbl_802470B0 -/* 80246DEC 00243D2C 80 BE 00 20 */ lwz r5, 0x20(r30) -/* 80246DF0 00243D30 54 80 30 32 */ slwi r0, r4, 6 -/* 80246DF4 00243D34 80 85 00 10 */ lwz r4, 0x10(r5) -/* 80246DF8 00243D38 7F E4 02 14 */ add r31, r4, r0 -/* 80246DFC 00243D3C 48 00 11 81 */ bl getOpenDoorNum__Q34Game4Cave11RandMapUnitFv -/* 80246E00 00243D40 2C 03 00 04 */ cmpwi r3, 4 -/* 80246E04 00243D44 40 80 00 D4 */ bge lbl_80246ED8 -/* 80246E08 00243D48 80 7E 00 00 */ lwz r3, 0(r30) -/* 80246E0C 00243D4C 39 40 00 00 */ li r10, 0 -/* 80246E10 00243D50 2C 03 00 00 */ cmpwi r3, 0 -/* 80246E14 00243D54 40 81 01 FC */ ble lbl_80247010 -/* 80246E18 00243D58 2C 03 00 08 */ cmpwi r3, 8 -/* 80246E1C 00243D5C 38 63 FF F8 */ addi r3, r3, -8 -/* 80246E20 00243D60 40 81 00 88 */ ble lbl_80246EA8 -/* 80246E24 00243D64 38 03 00 07 */ addi r0, r3, 7 -/* 80246E28 00243D68 39 21 00 08 */ addi r9, r1, 8 -/* 80246E2C 00243D6C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80246E30 00243D70 7C 09 03 A6 */ mtctr r0 -/* 80246E34 00243D74 2C 03 00 00 */ cmpwi r3, 0 -/* 80246E38 00243D78 40 81 00 70 */ ble lbl_80246EA8 -lbl_80246E3C: -/* 80246E3C 00243D7C 81 1E 00 00 */ lwz r8, 0(r30) -/* 80246E40 00243D80 38 0A 00 01 */ addi r0, r10, 1 -/* 80246E44 00243D84 38 EA 00 02 */ addi r7, r10, 2 -/* 80246E48 00243D88 38 CA 00 03 */ addi r6, r10, 3 -/* 80246E4C 00243D8C 7C 6A 40 50 */ subf r3, r10, r8 -/* 80246E50 00243D90 38 AA 00 04 */ addi r5, r10, 4 -/* 80246E54 00243D94 90 69 00 00 */ stw r3, 0(r9) -/* 80246E58 00243D98 7C 00 40 50 */ subf r0, r0, r8 -/* 80246E5C 00243D9C 38 8A 00 05 */ addi r4, r10, 5 -/* 80246E60 00243DA0 38 6A 00 06 */ addi r3, r10, 6 -/* 80246E64 00243DA4 90 09 00 04 */ stw r0, 4(r9) -/* 80246E68 00243DA8 38 0A 00 07 */ addi r0, r10, 7 -/* 80246E6C 00243DAC 7C E7 40 50 */ subf r7, r7, r8 -/* 80246E70 00243DB0 7C C6 40 50 */ subf r6, r6, r8 -/* 80246E74 00243DB4 90 E9 00 08 */ stw r7, 8(r9) -/* 80246E78 00243DB8 7C A5 40 50 */ subf r5, r5, r8 -/* 80246E7C 00243DBC 7C 84 40 50 */ subf r4, r4, r8 -/* 80246E80 00243DC0 7C 63 40 50 */ subf r3, r3, r8 -/* 80246E84 00243DC4 90 C9 00 0C */ stw r6, 0xc(r9) -/* 80246E88 00243DC8 7C 00 40 50 */ subf r0, r0, r8 -/* 80246E8C 00243DCC 39 4A 00 08 */ addi r10, r10, 8 -/* 80246E90 00243DD0 90 A9 00 10 */ stw r5, 0x10(r9) -/* 80246E94 00243DD4 90 89 00 14 */ stw r4, 0x14(r9) -/* 80246E98 00243DD8 90 69 00 18 */ stw r3, 0x18(r9) -/* 80246E9C 00243DDC 90 09 00 1C */ stw r0, 0x1c(r9) -/* 80246EA0 00243DE0 39 29 00 20 */ addi r9, r9, 0x20 -/* 80246EA4 00243DE4 42 00 FF 98 */ bdnz lbl_80246E3C -lbl_80246EA8: -/* 80246EA8 00243DE8 55 40 10 3A */ slwi r0, r10, 2 -/* 80246EAC 00243DEC 38 61 00 08 */ addi r3, r1, 8 -/* 80246EB0 00243DF0 7C 63 02 14 */ add r3, r3, r0 -/* 80246EB4 00243DF4 48 00 00 14 */ b lbl_80246EC8 -lbl_80246EB8: -/* 80246EB8 00243DF8 7C 0A 00 50 */ subf r0, r10, r0 -/* 80246EBC 00243DFC 39 4A 00 01 */ addi r10, r10, 1 -/* 80246EC0 00243E00 90 03 00 00 */ stw r0, 0(r3) -/* 80246EC4 00243E04 38 63 00 04 */ addi r3, r3, 4 -lbl_80246EC8: -/* 80246EC8 00243E08 80 1E 00 00 */ lwz r0, 0(r30) -/* 80246ECC 00243E0C 7C 0A 00 00 */ cmpw r10, r0 -/* 80246ED0 00243E10 41 80 FF E8 */ blt lbl_80246EB8 -/* 80246ED4 00243E14 48 00 01 3C */ b lbl_80247010 -lbl_80246ED8: -/* 80246ED8 00243E18 80 9E 00 00 */ lwz r4, 0(r30) -/* 80246EDC 00243E1C 39 40 00 00 */ li r10, 0 -/* 80246EE0 00243E20 2C 04 00 00 */ cmpwi r4, 0 -/* 80246EE4 00243E24 40 81 00 A0 */ ble lbl_80246F84 -/* 80246EE8 00243E28 2C 04 00 08 */ cmpwi r4, 8 -/* 80246EEC 00243E2C 38 84 FF F8 */ addi r4, r4, -8 -/* 80246EF0 00243E30 40 81 00 68 */ ble lbl_80246F58 -/* 80246EF4 00243E34 38 04 00 07 */ addi r0, r4, 7 -/* 80246EF8 00243E38 39 21 00 08 */ addi r9, r1, 8 -/* 80246EFC 00243E3C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80246F00 00243E40 7C 09 03 A6 */ mtctr r0 -/* 80246F04 00243E44 2C 04 00 00 */ cmpwi r4, 0 -/* 80246F08 00243E48 40 81 00 50 */ ble lbl_80246F58 -lbl_80246F0C: -/* 80246F0C 00243E4C 38 8A 00 01 */ addi r4, r10, 1 -/* 80246F10 00243E50 38 0A 00 02 */ addi r0, r10, 2 -/* 80246F14 00243E54 90 89 00 00 */ stw r4, 0(r9) -/* 80246F18 00243E58 39 0A 00 03 */ addi r8, r10, 3 -/* 80246F1C 00243E5C 38 EA 00 04 */ addi r7, r10, 4 -/* 80246F20 00243E60 38 CA 00 05 */ addi r6, r10, 5 -/* 80246F24 00243E64 90 09 00 04 */ stw r0, 4(r9) -/* 80246F28 00243E68 38 AA 00 06 */ addi r5, r10, 6 -/* 80246F2C 00243E6C 38 8A 00 07 */ addi r4, r10, 7 -/* 80246F30 00243E70 38 0A 00 08 */ addi r0, r10, 8 -/* 80246F34 00243E74 91 09 00 08 */ stw r8, 8(r9) -/* 80246F38 00243E78 39 4A 00 08 */ addi r10, r10, 8 -/* 80246F3C 00243E7C 90 E9 00 0C */ stw r7, 0xc(r9) -/* 80246F40 00243E80 90 C9 00 10 */ stw r6, 0x10(r9) -/* 80246F44 00243E84 90 A9 00 14 */ stw r5, 0x14(r9) -/* 80246F48 00243E88 90 89 00 18 */ stw r4, 0x18(r9) -/* 80246F4C 00243E8C 90 09 00 1C */ stw r0, 0x1c(r9) -/* 80246F50 00243E90 39 29 00 20 */ addi r9, r9, 0x20 -/* 80246F54 00243E94 42 00 FF B8 */ bdnz lbl_80246F0C -lbl_80246F58: -/* 80246F58 00243E98 55 40 10 3A */ slwi r0, r10, 2 -/* 80246F5C 00243E9C 38 81 00 08 */ addi r4, r1, 8 -/* 80246F60 00243EA0 7C 84 02 14 */ add r4, r4, r0 -/* 80246F64 00243EA4 48 00 00 14 */ b lbl_80246F78 -lbl_80246F68: -/* 80246F68 00243EA8 38 0A 00 01 */ addi r0, r10, 1 -/* 80246F6C 00243EAC 39 4A 00 01 */ addi r10, r10, 1 -/* 80246F70 00243EB0 90 04 00 00 */ stw r0, 0(r4) -/* 80246F74 00243EB4 38 84 00 04 */ addi r4, r4, 4 -lbl_80246F78: -/* 80246F78 00243EB8 80 1E 00 00 */ lwz r0, 0(r30) -/* 80246F7C 00243EBC 7C 0A 00 00 */ cmpw r10, r0 -/* 80246F80 00243EC0 41 80 FF E8 */ blt lbl_80246F68 -lbl_80246F84: -/* 80246F84 00243EC4 2C 03 00 0A */ cmpwi r3, 0xa -/* 80246F88 00243EC8 40 80 00 88 */ bge lbl_80247010 -/* 80246F8C 00243ECC 3B 81 00 08 */ addi r28, r1, 8 -/* 80246F90 00243ED0 CB C2 C4 10 */ lfd f30, lbl_8051A770@sda21(r2) -/* 80246F94 00243ED4 C3 E2 C4 18 */ lfs f31, lbl_8051A778@sda21(r2) -/* 80246F98 00243ED8 7F 9A E3 78 */ mr r26, r28 -/* 80246F9C 00243EDC 3B 20 00 00 */ li r25, 0 -/* 80246FA0 00243EE0 3F A0 43 30 */ lis r29, 0x4330 -/* 80246FA4 00243EE4 48 00 00 60 */ b lbl_80247004 -lbl_80246FA8: -/* 80246FA8 00243EE8 4B E8 25 F9 */ bl rand -/* 80246FAC 00243EEC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80246FB0 00243EF0 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 80246FB4 00243EF4 90 61 00 4C */ stw r3, 0x4c(r1) -/* 80246FB8 00243EF8 3B 39 00 01 */ addi r25, r25, 1 -/* 80246FBC 00243EFC 80 9C 00 00 */ lwz r4, 0(r28) -/* 80246FC0 00243F00 93 A1 00 48 */ stw r29, 0x48(r1) -/* 80246FC4 00243F04 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 80246FC8 00243F08 90 01 00 54 */ stw r0, 0x54(r1) -/* 80246FCC 00243F0C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80246FD0 00243F10 93 A1 00 50 */ stw r29, 0x50(r1) -/* 80246FD4 00243F14 EC 20 F8 24 */ fdivs f1, f0, f31 -/* 80246FD8 00243F18 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 80246FDC 00243F1C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80246FE0 00243F20 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80246FE4 00243F24 FC 00 00 1E */ fctiwz f0, f0 -/* 80246FE8 00243F28 D8 01 00 58 */ stfd f0, 0x58(r1) -/* 80246FEC 00243F2C 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80246FF0 00243F30 54 03 10 3A */ slwi r3, r0, 2 -/* 80246FF4 00243F34 7C 1A 18 2E */ lwzx r0, r26, r3 -/* 80246FF8 00243F38 90 1C 00 00 */ stw r0, 0(r28) -/* 80246FFC 00243F3C 3B 9C 00 04 */ addi r28, r28, 4 -/* 80247000 00243F40 7C 9A 19 2E */ stwx r4, r26, r3 -lbl_80247004: -/* 80247004 00243F44 83 7E 00 00 */ lwz r27, 0(r30) -/* 80247008 00243F48 7C 19 D8 00 */ cmpw r25, r27 -/* 8024700C 00243F4C 41 80 FF 9C */ blt lbl_80246FA8 -lbl_80247010: -/* 80247010 00243F50 3B 81 00 08 */ addi r28, r1, 8 -/* 80247014 00243F54 3B 20 00 00 */ li r25, 0 -/* 80247018 00243F58 48 00 00 8C */ b lbl_802470A4 -lbl_8024701C: -/* 8024701C 00243F5C 83 7F 00 10 */ lwz r27, 0x10(r31) -/* 80247020 00243F60 3B 40 00 00 */ li r26, 0 -/* 80247024 00243F64 48 00 00 20 */ b lbl_80247044 -lbl_80247028: -/* 80247028 00243F68 7F 63 DB 78 */ mr r3, r27 -/* 8024702C 00243F6C 4B FF D0 35 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80247030 00243F70 80 1C 00 00 */ lwz r0, 0(r28) -/* 80247034 00243F74 7C 00 18 00 */ cmpw r0, r3 -/* 80247038 00243F78 40 82 00 08 */ bne lbl_80247040 -/* 8024703C 00243F7C 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80247040: -/* 80247040 00243F80 83 7B 00 04 */ lwz r27, 4(r27) -lbl_80247044: -/* 80247044 00243F84 28 1B 00 00 */ cmplwi r27, 0 -/* 80247048 00243F88 40 82 FF E0 */ bne lbl_80247028 -/* 8024704C 00243F8C 3B 60 00 00 */ li r27, 0 -/* 80247050 00243F90 48 00 00 44 */ b lbl_80247094 -lbl_80247054: -/* 80247054 00243F94 83 BF 00 10 */ lwz r29, 0x10(r31) -/* 80247058 00243F98 48 00 00 30 */ b lbl_80247088 -lbl_8024705C: -/* 8024705C 00243F9C 7F A3 EB 78 */ mr r3, r29 -/* 80247060 00243FA0 4B FF D0 01 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80247064 00243FA4 80 1C 00 00 */ lwz r0, 0(r28) -/* 80247068 00243FA8 7C 00 18 00 */ cmpw r0, r3 -/* 8024706C 00243FAC 40 82 00 18 */ bne lbl_80247084 -/* 80247070 00243FB0 7F A3 EB 78 */ mr r3, r29 -/* 80247074 00243FB4 48 1C A5 5D */ bl del__5CNodeFv -/* 80247078 00243FB8 7F E3 FB 78 */ mr r3, r31 -/* 8024707C 00243FBC 7F A4 EB 78 */ mr r4, r29 -/* 80247080 00243FC0 48 1C A3 89 */ bl add__5CNodeFP5CNode -lbl_80247084: -/* 80247084 00243FC4 83 BD 00 04 */ lwz r29, 4(r29) -lbl_80247088: -/* 80247088 00243FC8 28 1D 00 00 */ cmplwi r29, 0 -/* 8024708C 00243FCC 40 82 FF D0 */ bne lbl_8024705C -/* 80247090 00243FD0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80247094: -/* 80247094 00243FD4 7C 1B D0 00 */ cmpw r27, r26 -/* 80247098 00243FD8 41 80 FF BC */ blt lbl_80247054 -/* 8024709C 00243FDC 3B 9C 00 04 */ addi r28, r28, 4 -/* 802470A0 00243FE0 3B 39 00 01 */ addi r25, r25, 1 -lbl_802470A4: -/* 802470A4 00243FE4 80 1E 00 00 */ lwz r0, 0(r30) -/* 802470A8 00243FE8 7C 19 00 00 */ cmpw r25, r0 -/* 802470AC 00243FEC 41 80 FF 70 */ blt lbl_8024701C -lbl_802470B0: -/* 802470B0 00243FF0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 802470B4 00243FF4 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 802470B8 00243FF8 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 802470BC 00243FFC CB C1 00 80 */ lfd f30, 0x80(r1) -/* 802470C0 00244000 BB 21 00 64 */ lmw r25, 0x64(r1) -/* 802470C4 00244004 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802470C8 00244008 7C 08 03 A6 */ mtlr r0 -/* 802470CC 0024400C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802470D0 00244010 4E 80 00 20 */ blr - -.global setRandomDoorIndex__Q34Game4Cave11RandMapUnitFPii -setRandomDoorIndex__Q34Game4Cave11RandMapUnitFPii: -/* 802470D4 00244014 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802470D8 00244018 7C 08 02 A6 */ mflr r0 -/* 802470DC 0024401C 90 01 00 64 */ stw r0, 0x64(r1) -/* 802470E0 00244020 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802470E4 00244024 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802470E8 00244028 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802470EC 0024402C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802470F0 00244030 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 802470F4 00244034 7C BF 2B 79 */ or. r31, r5, r5 -/* 802470F8 00244038 7C 9E 23 78 */ mr r30, r4 -/* 802470FC 0024403C 39 00 00 00 */ li r8, 0 -/* 80247100 00244040 40 81 00 98 */ ble lbl_80247198 -/* 80247104 00244044 2C 1F 00 08 */ cmpwi r31, 8 -/* 80247108 00244048 38 7F FF F8 */ addi r3, r31, -8 -/* 8024710C 0024404C 40 81 00 64 */ ble lbl_80247170 -/* 80247110 00244050 38 03 00 07 */ addi r0, r3, 7 -/* 80247114 00244054 7F C7 F3 78 */ mr r7, r30 -/* 80247118 00244058 54 00 E8 FE */ srwi r0, r0, 3 -/* 8024711C 0024405C 7C 09 03 A6 */ mtctr r0 -/* 80247120 00244060 2C 03 00 00 */ cmpwi r3, 0 -/* 80247124 00244064 40 81 00 4C */ ble lbl_80247170 -lbl_80247128: -/* 80247128 00244068 91 07 00 00 */ stw r8, 0(r7) -/* 8024712C 0024406C 38 68 00 01 */ addi r3, r8, 1 -/* 80247130 00244070 38 08 00 02 */ addi r0, r8, 2 -/* 80247134 00244074 38 C8 00 03 */ addi r6, r8, 3 -/* 80247138 00244078 90 67 00 04 */ stw r3, 4(r7) -/* 8024713C 0024407C 38 A8 00 04 */ addi r5, r8, 4 -/* 80247140 00244080 38 88 00 05 */ addi r4, r8, 5 -/* 80247144 00244084 38 68 00 06 */ addi r3, r8, 6 -/* 80247148 00244088 90 07 00 08 */ stw r0, 8(r7) -/* 8024714C 0024408C 38 08 00 07 */ addi r0, r8, 7 -/* 80247150 00244090 39 08 00 08 */ addi r8, r8, 8 -/* 80247154 00244094 90 C7 00 0C */ stw r6, 0xc(r7) -/* 80247158 00244098 90 A7 00 10 */ stw r5, 0x10(r7) -/* 8024715C 0024409C 90 87 00 14 */ stw r4, 0x14(r7) -/* 80247160 002440A0 90 67 00 18 */ stw r3, 0x18(r7) -/* 80247164 002440A4 90 07 00 1C */ stw r0, 0x1c(r7) -/* 80247168 002440A8 38 E7 00 20 */ addi r7, r7, 0x20 -/* 8024716C 002440AC 42 00 FF BC */ bdnz lbl_80247128 -lbl_80247170: -/* 80247170 002440B0 55 03 10 3A */ slwi r3, r8, 2 -/* 80247174 002440B4 7C 08 F8 50 */ subf r0, r8, r31 -/* 80247178 002440B8 7C 7E 1A 14 */ add r3, r30, r3 -/* 8024717C 002440BC 7C 09 03 A6 */ mtctr r0 -/* 80247180 002440C0 7C 08 F8 00 */ cmpw r8, r31 -/* 80247184 002440C4 40 80 00 14 */ bge lbl_80247198 -lbl_80247188: -/* 80247188 002440C8 91 03 00 00 */ stw r8, 0(r3) -/* 8024718C 002440CC 38 63 00 04 */ addi r3, r3, 4 -/* 80247190 002440D0 39 08 00 01 */ addi r8, r8, 1 -/* 80247194 002440D4 42 00 FF F4 */ bdnz lbl_80247188 -lbl_80247198: -/* 80247198 002440D8 CB C2 C4 10 */ lfd f30, lbl_8051A770@sda21(r2) -/* 8024719C 002440DC 7F DB F3 78 */ mr r27, r30 -/* 802471A0 002440E0 C3 E2 C4 18 */ lfs f31, lbl_8051A778@sda21(r2) -/* 802471A4 002440E4 6F FD 80 00 */ xoris r29, r31, 0x8000 -/* 802471A8 002440E8 3B 40 00 00 */ li r26, 0 -/* 802471AC 002440EC 3F 80 43 30 */ lis r28, 0x4330 -/* 802471B0 002440F0 48 00 00 5C */ b lbl_8024720C -lbl_802471B4: -/* 802471B4 002440F4 4B E8 23 ED */ bl rand -/* 802471B8 002440F8 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802471BC 002440FC 93 81 00 08 */ stw r28, 8(r1) -/* 802471C0 00244100 80 9B 00 00 */ lwz r4, 0(r27) -/* 802471C4 00244104 3B 5A 00 01 */ addi r26, r26, 1 -/* 802471C8 00244108 90 01 00 0C */ stw r0, 0xc(r1) -/* 802471CC 0024410C C8 01 00 08 */ lfd f0, 8(r1) -/* 802471D0 00244110 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802471D4 00244114 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802471D8 00244118 93 81 00 10 */ stw r28, 0x10(r1) -/* 802471DC 0024411C EC 20 F8 24 */ fdivs f1, f0, f31 -/* 802471E0 00244120 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802471E4 00244124 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802471E8 00244128 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802471EC 0024412C FC 00 00 1E */ fctiwz f0, f0 -/* 802471F0 00244130 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 802471F4 00244134 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802471F8 00244138 54 03 10 3A */ slwi r3, r0, 2 -/* 802471FC 0024413C 7C 1E 18 2E */ lwzx r0, r30, r3 -/* 80247200 00244140 90 1B 00 00 */ stw r0, 0(r27) -/* 80247204 00244144 3B 7B 00 04 */ addi r27, r27, 4 -/* 80247208 00244148 7C 9E 19 2E */ stwx r4, r30, r3 -lbl_8024720C: -/* 8024720C 0024414C 7C 1A F8 00 */ cmpw r26, r31 -/* 80247210 00244150 41 80 FF A4 */ blt lbl_802471B4 -/* 80247214 00244154 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80247218 00244158 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8024721C 0024415C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80247220 00244160 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80247224 00244164 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 80247228 00244168 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8024722C 0024416C 7C 08 03 A6 */ mtlr r0 -/* 80247230 00244170 38 21 00 60 */ addi r1, r1, 0x60 -/* 80247234 00244174 4E 80 00 20 */ blr - -.global getLoopRandMapUnit__Q34Game4Cave11RandMapUnitFv -getLoopRandMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 80247238 00244178 94 21 F7 B0 */ stwu r1, -0x850(r1) -/* 8024723C 0024417C 7C 08 02 A6 */ mflr r0 -/* 80247240 00244180 90 01 08 54 */ stw r0, 0x854(r1) -/* 80247244 00244184 BE A1 08 24 */ stmw r21, 0x824(r1) -/* 80247248 00244188 7C 79 1B 78 */ mr r25, r3 -/* 8024724C 0024418C 48 00 0D 31 */ bl getOpenDoorNum__Q34Game4Cave11RandMapUnitFv -/* 80247250 00244190 7C 7E 1B 78 */ mr r30, r3 -/* 80247254 00244194 7F 23 CB 78 */ mr r3, r25 -/* 80247258 00244198 38 81 00 20 */ addi r4, r1, 0x20 -/* 8024725C 0024419C 48 00 04 A9 */ bl getLoopMapNode__Q34Game4Cave11RandMapUnitFPPQ34Game4Cave7MapNode -/* 80247260 002441A0 7C 7F 1B 78 */ mr r31, r3 -/* 80247264 002441A4 3B 80 00 00 */ li r28, 0 -/* 80247268 002441A8 48 00 01 B8 */ b lbl_80247420 -lbl_8024726C: -/* 8024726C 002441AC 7F 23 CB 78 */ mr r3, r25 -/* 80247270 002441B0 7F 87 E3 78 */ mr r7, r28 -/* 80247274 002441B4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80247278 002441B8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8024727C 002441BC 38 C1 00 0C */ addi r6, r1, 0xc -/* 80247280 002441C0 48 00 01 C1 */ bl getCalcDoorIndex__Q34Game4Cave11RandMapUnitFRiRiRii -/* 80247284 002441C4 7C 76 1B 78 */ mr r22, r3 -/* 80247288 002441C8 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8024728C 002441CC 7F 23 CB 78 */ mr r3, r25 -/* 80247290 002441D0 7E C4 B3 78 */ mr r4, r22 -/* 80247294 002441D4 48 00 16 35 */ bl isLoopMapNodeCheck__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodei -/* 80247298 002441D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024729C 002441DC 41 82 01 80 */ beq lbl_8024741C -/* 802472A0 002441E0 80 81 00 14 */ lwz r4, 0x14(r1) -/* 802472A4 002441E4 7E C3 B3 78 */ mr r3, r22 -/* 802472A8 002441E8 4B FF C1 DD */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 802472AC 002441EC 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 802472B0 002441F0 7C 7B 1B 78 */ mr r27, r3 -/* 802472B4 002441F4 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 802472B8 002441F8 7F 23 CB 78 */ mr r3, r25 -/* 802472BC 002441FC 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 802472C0 00244200 7E C4 B3 78 */ mr r4, r22 -/* 802472C4 00244204 39 01 00 08 */ addi r8, r1, 8 -/* 802472C8 00244208 48 00 02 41 */ bl getLinkDoorNodeFirst__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodeiiiRi -/* 802472CC 0024420C 7C 77 1B 79 */ or. r23, r3, r3 -/* 802472D0 00244210 41 82 01 4C */ beq lbl_8024741C -/* 802472D4 00244214 80 81 00 14 */ lwz r4, 0x14(r1) -/* 802472D8 00244218 7E C3 B3 78 */ mr r3, r22 -/* 802472DC 0024421C 4B FF BD 4D */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 802472E0 00244220 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 802472E4 00244224 7C 78 1B 78 */ mr r24, r3 -/* 802472E8 00244228 80 E1 00 08 */ lwz r7, 8(r1) -/* 802472EC 0024422C 7F 23 CB 78 */ mr r3, r25 -/* 802472F0 00244230 7E C4 B3 78 */ mr r4, r22 -/* 802472F4 00244234 7E E6 BB 78 */ mr r6, r23 -/* 802472F8 00244238 48 00 05 3D */ bl getLinkDoorDirection__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodeiPQ34Game4Cave7MapNodei -/* 802472FC 0024423C 38 98 00 02 */ addi r4, r24, 2 -/* 80247300 00244240 90 61 00 18 */ stw r3, 0x18(r1) -/* 80247304 00244244 54 80 F0 02 */ slwi r0, r4, 0x1e -/* 80247308 00244248 3B A1 00 18 */ addi r29, r1, 0x18 -/* 8024730C 0024424C 54 83 0F FE */ srwi r3, r4, 0x1f -/* 80247310 00244250 93 01 00 1C */ stw r24, 0x1c(r1) -/* 80247314 00244254 7C 03 00 50 */ subf r0, r3, r0 -/* 80247318 00244258 3B 40 00 00 */ li r26, 0 -/* 8024731C 0024425C 54 00 10 3E */ rotlwi r0, r0, 2 -/* 80247320 00244260 7E C0 1A 14 */ add r22, r0, r3 -lbl_80247324: -/* 80247324 00244264 3A E1 00 20 */ addi r23, r1, 0x20 -/* 80247328 00244268 3A A0 00 00 */ li r21, 0 -/* 8024732C 0024426C 48 00 00 D8 */ b lbl_80247404 -lbl_80247330: -/* 80247330 00244270 80 77 00 00 */ lwz r3, 0(r23) -/* 80247334 00244274 38 80 00 00 */ li r4, 0 -/* 80247338 00244278 4B FF BC F1 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024733C 0024427C 7C 78 1B 78 */ mr r24, r3 -/* 80247340 00244280 80 77 00 00 */ lwz r3, 0(r23) -/* 80247344 00244284 38 80 00 01 */ li r4, 1 -/* 80247348 00244288 4B FF BC E1 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024734C 0024428C 7C 18 B0 00 */ cmpw r24, r22 -/* 80247350 00244290 40 82 00 54 */ bne lbl_802473A4 -/* 80247354 00244294 80 1D 00 00 */ lwz r0, 0(r29) -/* 80247358 00244298 7C 03 00 00 */ cmpw r3, r0 -/* 8024735C 0024429C 40 82 00 48 */ bne lbl_802473A4 -/* 80247360 002442A0 80 77 00 00 */ lwz r3, 0(r23) -/* 80247364 002442A4 7F 64 DB 78 */ mr r4, r27 -/* 80247368 002442A8 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8024736C 002442AC 38 E0 00 00 */ li r7, 0 -/* 80247370 002442B0 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 80247374 002442B4 4B FF BD D9 */ bl isDoorSet__Q34Game4Cave7MapNodeFPQ34Game4Cave8DoorNodeiii -/* 80247378 002442B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024737C 002442BC 41 82 00 80 */ beq lbl_802473FC -/* 80247380 002442C0 80 79 00 28 */ lwz r3, 0x28(r25) -/* 80247384 002442C4 80 97 00 00 */ lwz r4, 0(r23) -/* 80247388 002442C8 4B FF E2 E5 */ bl isPutOnMap__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -/* 8024738C 002442CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80247390 002442D0 41 82 00 6C */ beq lbl_802473FC -/* 80247394 002442D4 56 A0 10 3A */ slwi r0, r21, 2 -/* 80247398 002442D8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8024739C 002442DC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802473A0 002442E0 48 00 00 8C */ b lbl_8024742C -lbl_802473A4: -/* 802473A4 002442E4 7C 03 B0 00 */ cmpw r3, r22 -/* 802473A8 002442E8 40 82 00 54 */ bne lbl_802473FC -/* 802473AC 002442EC 80 1D 00 00 */ lwz r0, 0(r29) -/* 802473B0 002442F0 7C 18 00 00 */ cmpw r24, r0 -/* 802473B4 002442F4 40 82 00 48 */ bne lbl_802473FC -/* 802473B8 002442F8 80 77 00 00 */ lwz r3, 0(r23) -/* 802473BC 002442FC 7F 64 DB 78 */ mr r4, r27 -/* 802473C0 00244300 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 802473C4 00244304 38 E0 00 01 */ li r7, 1 -/* 802473C8 00244308 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 802473CC 0024430C 4B FF BD 81 */ bl isDoorSet__Q34Game4Cave7MapNodeFPQ34Game4Cave8DoorNodeiii -/* 802473D0 00244310 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802473D4 00244314 41 82 00 28 */ beq lbl_802473FC -/* 802473D8 00244318 80 79 00 28 */ lwz r3, 0x28(r25) -/* 802473DC 0024431C 80 97 00 00 */ lwz r4, 0(r23) -/* 802473E0 00244320 4B FF E2 8D */ bl isPutOnMap__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -/* 802473E4 00244324 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802473E8 00244328 41 82 00 14 */ beq lbl_802473FC -/* 802473EC 0024432C 56 A0 10 3A */ slwi r0, r21, 2 -/* 802473F0 00244330 38 61 00 20 */ addi r3, r1, 0x20 -/* 802473F4 00244334 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802473F8 00244338 48 00 00 34 */ b lbl_8024742C -lbl_802473FC: -/* 802473FC 0024433C 3A F7 00 04 */ addi r23, r23, 4 -/* 80247400 00244340 3A B5 00 01 */ addi r21, r21, 1 -lbl_80247404: -/* 80247404 00244344 7C 15 F8 00 */ cmpw r21, r31 -/* 80247408 00244348 41 80 FF 28 */ blt lbl_80247330 -/* 8024740C 0024434C 3B 5A 00 01 */ addi r26, r26, 1 -/* 80247410 00244350 3B BD 00 04 */ addi r29, r29, 4 -/* 80247414 00244354 2C 1A 00 02 */ cmpwi r26, 2 -/* 80247418 00244358 41 80 FF 0C */ blt lbl_80247324 -lbl_8024741C: -/* 8024741C 0024435C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80247420: -/* 80247420 00244360 7C 1C F0 00 */ cmpw r28, r30 -/* 80247424 00244364 41 80 FE 48 */ blt lbl_8024726C -/* 80247428 00244368 38 60 00 00 */ li r3, 0 -lbl_8024742C: -/* 8024742C 0024436C BA A1 08 24 */ lmw r21, 0x824(r1) -/* 80247430 00244370 80 01 08 54 */ lwz r0, 0x854(r1) -/* 80247434 00244374 7C 08 03 A6 */ mtlr r0 -/* 80247438 00244378 38 21 08 50 */ addi r1, r1, 0x850 -/* 8024743C 0024437C 4E 80 00 20 */ blr - -.global getCalcDoorIndex__Q34Game4Cave11RandMapUnitFRiRiRii -getCalcDoorIndex__Q34Game4Cave11RandMapUnitFRiRiRii: -/* 80247440 00244380 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80247444 00244384 7C 08 02 A6 */ mflr r0 -/* 80247448 00244388 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024744C 0024438C BF 41 00 08 */ stmw r26, 8(r1) -/* 80247450 00244390 7C 9A 23 78 */ mr r26, r4 -/* 80247454 00244394 7C BB 2B 78 */ mr r27, r5 -/* 80247458 00244398 7C DC 33 78 */ mr r28, r6 -/* 8024745C 0024439C 7C FD 3B 78 */ mr r29, r7 -/* 80247460 002443A0 3B E0 00 00 */ li r31, 0 -/* 80247464 002443A4 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80247468 002443A8 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024746C 002443AC 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 80247470 002443B0 48 00 00 78 */ b lbl_802474E8 -lbl_80247474: -/* 80247474 002443B4 38 00 00 00 */ li r0, 0 -/* 80247478 002443B8 90 1A 00 00 */ stw r0, 0(r26) -/* 8024747C 002443BC 48 00 00 54 */ b lbl_802474D0 -lbl_80247480: -/* 80247480 002443C0 7F C3 F3 78 */ mr r3, r30 -/* 80247484 002443C4 4B FF BE 95 */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 80247488 002443C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024748C 002443CC 40 82 00 38 */ bne lbl_802474C4 -/* 80247490 002443D0 7C 1F E8 00 */ cmpw r31, r29 -/* 80247494 002443D4 40 82 00 2C */ bne lbl_802474C0 -/* 80247498 002443D8 80 9A 00 00 */ lwz r4, 0(r26) -/* 8024749C 002443DC 7F C3 F3 78 */ mr r3, r30 -/* 802474A0 002443E0 4B FF BF E5 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 802474A4 002443E4 80 9A 00 00 */ lwz r4, 0(r26) -/* 802474A8 002443E8 7F C3 F3 78 */ mr r3, r30 -/* 802474AC 002443EC 7F 65 DB 78 */ mr r5, r27 -/* 802474B0 002443F0 7F 86 E3 78 */ mr r6, r28 -/* 802474B4 002443F4 4B FF BB 99 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 802474B8 002443F8 7F C3 F3 78 */ mr r3, r30 -/* 802474BC 002443FC 48 00 00 38 */ b lbl_802474F4 -lbl_802474C0: -/* 802474C0 00244400 3B FF 00 01 */ addi r31, r31, 1 -lbl_802474C4: -/* 802474C4 00244404 80 7A 00 00 */ lwz r3, 0(r26) -/* 802474C8 00244408 38 03 00 01 */ addi r0, r3, 1 -/* 802474CC 0024440C 90 1A 00 00 */ stw r0, 0(r26) -lbl_802474D0: -/* 802474D0 00244410 7F C3 F3 78 */ mr r3, r30 -/* 802474D4 00244414 4B FF CB 8D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802474D8 00244418 80 9A 00 00 */ lwz r4, 0(r26) -/* 802474DC 0024441C 7C 04 18 00 */ cmpw r4, r3 -/* 802474E0 00244420 41 80 FF A0 */ blt lbl_80247480 -/* 802474E4 00244424 83 DE 00 04 */ lwz r30, 4(r30) -lbl_802474E8: -/* 802474E8 00244428 28 1E 00 00 */ cmplwi r30, 0 -/* 802474EC 0024442C 40 82 FF 88 */ bne lbl_80247474 -/* 802474F0 00244430 38 60 00 00 */ li r3, 0 -lbl_802474F4: -/* 802474F4 00244434 BB 41 00 08 */ lmw r26, 8(r1) -/* 802474F8 00244438 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802474FC 0024443C 7C 08 03 A6 */ mtlr r0 -/* 80247500 00244440 38 21 00 20 */ addi r1, r1, 0x20 -/* 80247504 00244444 4E 80 00 20 */ blr - -.global getLinkDoorNodeFirst__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodeiiiRi -getLinkDoorNodeFirst__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodeiiiRi: -/* 80247508 00244448 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8024750C 0024444C 7C 08 02 A6 */ mflr r0 -/* 80247510 00244450 90 01 00 44 */ stw r0, 0x44(r1) -/* 80247514 00244454 BE C1 00 18 */ stmw r22, 0x18(r1) -/* 80247518 00244458 7C 97 23 78 */ mr r23, r4 -/* 8024751C 0024445C 7C 76 1B 78 */ mr r22, r3 -/* 80247520 00244460 7C D8 33 78 */ mr r24, r6 -/* 80247524 00244464 7C F9 3B 78 */ mr r25, r7 -/* 80247528 00244468 7D 1A 43 78 */ mr r26, r8 -/* 8024752C 0024446C 7E E3 BB 78 */ mr r3, r23 -/* 80247530 00244470 7C A4 2B 78 */ mr r4, r5 -/* 80247534 00244474 3B E0 00 FF */ li r31, 0xff -/* 80247538 00244478 4B FF BA F1 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024753C 0024447C 80 96 00 20 */ lwz r4, 0x20(r22) -/* 80247540 00244480 7C 7E 1B 78 */ mr r30, r3 -/* 80247544 00244484 3B A0 00 00 */ li r29, 0 -/* 80247548 00244488 80 64 00 28 */ lwz r3, 0x28(r4) -/* 8024754C 0024448C 83 83 00 10 */ lwz r28, 0x10(r3) -/* 80247550 00244490 48 00 00 C4 */ b lbl_80247614 -lbl_80247554: -/* 80247554 00244494 7C 17 E0 40 */ cmplw r23, r28 -/* 80247558 00244498 41 82 00 B8 */ beq lbl_80247610 -/* 8024755C 0024449C 3B 60 00 00 */ li r27, 0 -/* 80247560 002444A0 48 00 00 A0 */ b lbl_80247600 -lbl_80247564: -/* 80247564 002444A4 7F 83 E3 78 */ mr r3, r28 -/* 80247568 002444A8 7F 64 DB 78 */ mr r4, r27 -/* 8024756C 002444AC 4B FF BD AD */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 80247570 002444B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80247574 002444B4 40 82 00 88 */ bne lbl_802475FC -/* 80247578 002444B8 7F 83 E3 78 */ mr r3, r28 -/* 8024757C 002444BC 7F 64 DB 78 */ mr r4, r27 -/* 80247580 002444C0 4B FF BF 05 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80247584 002444C4 7F 83 E3 78 */ mr r3, r28 -/* 80247588 002444C8 7F 64 DB 78 */ mr r4, r27 -/* 8024758C 002444CC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80247590 002444D0 38 C1 00 08 */ addi r6, r1, 8 -/* 80247594 002444D4 4B FF BA B9 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80247598 002444D8 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 8024759C 002444DC 7E C3 B3 78 */ mr r3, r22 -/* 802475A0 002444E0 81 01 00 08 */ lwz r8, 8(r1) -/* 802475A4 002444E4 7F C4 F3 78 */ mr r4, r30 -/* 802475A8 002444E8 7F 05 C3 78 */ mr r5, r24 -/* 802475AC 002444EC 7F 26 CB 78 */ mr r6, r25 -/* 802475B0 002444F0 48 00 00 85 */ bl isInLinkArea__Q34Game4Cave11RandMapUnitFiiiii -/* 802475B4 002444F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802475B8 002444F8 41 82 00 44 */ beq lbl_802475FC -/* 802475BC 002444FC 80 61 00 08 */ lwz r3, 8(r1) -/* 802475C0 00244500 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802475C4 00244504 7C 83 C8 50 */ subf r4, r3, r25 -/* 802475C8 00244508 7C 85 FE 70 */ srawi r5, r4, 0x1f -/* 802475CC 0024450C 7C 00 C0 50 */ subf r0, r0, r24 -/* 802475D0 00244510 7C 03 FE 70 */ srawi r3, r0, 0x1f -/* 802475D4 00244514 7C A4 22 78 */ xor r4, r5, r4 -/* 802475D8 00244518 7C 60 02 78 */ xor r0, r3, r0 -/* 802475DC 0024451C 7C 85 20 50 */ subf r4, r5, r4 -/* 802475E0 00244520 7C 03 00 50 */ subf r0, r3, r0 -/* 802475E4 00244524 7C 00 22 14 */ add r0, r0, r4 -/* 802475E8 00244528 7C 00 F8 00 */ cmpw r0, r31 -/* 802475EC 0024452C 40 80 00 10 */ bge lbl_802475FC -/* 802475F0 00244530 93 7A 00 00 */ stw r27, 0(r26) -/* 802475F4 00244534 7C 1F 03 78 */ mr r31, r0 -/* 802475F8 00244538 7F 9D E3 78 */ mr r29, r28 -lbl_802475FC: -/* 802475FC 0024453C 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80247600: -/* 80247600 00244540 7F 83 E3 78 */ mr r3, r28 -/* 80247604 00244544 4B FF CA 5D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80247608 00244548 7C 1B 18 00 */ cmpw r27, r3 -/* 8024760C 0024454C 41 80 FF 58 */ blt lbl_80247564 -lbl_80247610: -/* 80247610 00244550 83 9C 00 04 */ lwz r28, 4(r28) -lbl_80247614: -/* 80247614 00244554 28 1C 00 00 */ cmplwi r28, 0 -/* 80247618 00244558 40 82 FF 3C */ bne lbl_80247554 -/* 8024761C 0024455C 7F A3 EB 78 */ mr r3, r29 -/* 80247620 00244560 BA C1 00 18 */ lmw r22, 0x18(r1) -/* 80247624 00244564 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80247628 00244568 7C 08 03 A6 */ mtlr r0 -/* 8024762C 0024456C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80247630 00244570 4E 80 00 20 */ blr - -.global isInLinkArea__Q34Game4Cave11RandMapUnitFiiiii -isInLinkArea__Q34Game4Cave11RandMapUnitFiiiii: -/* 80247634 00244574 7C E5 38 50 */ subf r7, r5, r7 -/* 80247638 00244578 7D 06 40 50 */ subf r8, r6, r8 -/* 8024763C 0024457C 7C E6 FE 70 */ srawi r6, r7, 0x1f -/* 80247640 00244580 2C 04 00 02 */ cmpwi r4, 2 -/* 80247644 00244584 7D 03 FE 70 */ srawi r3, r8, 0x1f -/* 80247648 00244588 7C C5 3A 78 */ xor r5, r6, r7 -/* 8024764C 0024458C 7C 60 42 78 */ xor r0, r3, r8 -/* 80247650 00244590 7C A6 28 50 */ subf r5, r6, r5 -/* 80247654 00244594 7C 03 00 50 */ subf r0, r3, r0 -/* 80247658 00244598 41 82 00 64 */ beq lbl_802476BC -/* 8024765C 0024459C 40 80 00 14 */ bge lbl_80247670 -/* 80247660 002445A0 2C 04 00 00 */ cmpwi r4, 0 -/* 80247664 002445A4 41 82 00 18 */ beq lbl_8024767C -/* 80247668 002445A8 40 80 00 34 */ bge lbl_8024769C -/* 8024766C 002445AC 48 00 00 90 */ b lbl_802476FC -lbl_80247670: -/* 80247670 002445B0 2C 04 00 04 */ cmpwi r4, 4 -/* 80247674 002445B4 40 80 00 88 */ bge lbl_802476FC -/* 80247678 002445B8 48 00 00 64 */ b lbl_802476DC -lbl_8024767C: -/* 8024767C 002445BC 2C 05 00 0A */ cmpwi r5, 0xa -/* 80247680 002445C0 40 80 00 7C */ bge lbl_802476FC -/* 80247684 002445C4 2C 00 00 0A */ cmpwi r0, 0xa -/* 80247688 002445C8 40 80 00 74 */ bge lbl_802476FC -/* 8024768C 002445CC 2C 08 00 00 */ cmpwi r8, 0 -/* 80247690 002445D0 41 81 00 6C */ bgt lbl_802476FC -/* 80247694 002445D4 38 60 00 01 */ li r3, 1 -/* 80247698 002445D8 4E 80 00 20 */ blr -lbl_8024769C: -/* 8024769C 002445DC 2C 05 00 0A */ cmpwi r5, 0xa -/* 802476A0 002445E0 40 80 00 5C */ bge lbl_802476FC -/* 802476A4 002445E4 2C 07 00 00 */ cmpwi r7, 0 -/* 802476A8 002445E8 41 80 00 54 */ blt lbl_802476FC -/* 802476AC 002445EC 2C 00 00 0A */ cmpwi r0, 0xa -/* 802476B0 002445F0 40 80 00 4C */ bge lbl_802476FC -/* 802476B4 002445F4 38 60 00 01 */ li r3, 1 -/* 802476B8 002445F8 4E 80 00 20 */ blr -lbl_802476BC: -/* 802476BC 002445FC 2C 05 00 0A */ cmpwi r5, 0xa -/* 802476C0 00244600 40 80 00 3C */ bge lbl_802476FC -/* 802476C4 00244604 2C 00 00 0A */ cmpwi r0, 0xa -/* 802476C8 00244608 40 80 00 34 */ bge lbl_802476FC -/* 802476CC 0024460C 2C 08 00 00 */ cmpwi r8, 0 -/* 802476D0 00244610 41 80 00 2C */ blt lbl_802476FC -/* 802476D4 00244614 38 60 00 01 */ li r3, 1 -/* 802476D8 00244618 4E 80 00 20 */ blr -lbl_802476DC: -/* 802476DC 0024461C 2C 05 00 0A */ cmpwi r5, 0xa -/* 802476E0 00244620 40 80 00 1C */ bge lbl_802476FC -/* 802476E4 00244624 2C 07 00 00 */ cmpwi r7, 0 -/* 802476E8 00244628 41 81 00 14 */ bgt lbl_802476FC -/* 802476EC 0024462C 2C 00 00 0A */ cmpwi r0, 0xa -/* 802476F0 00244630 40 80 00 0C */ bge lbl_802476FC -/* 802476F4 00244634 38 60 00 01 */ li r3, 1 -/* 802476F8 00244638 4E 80 00 20 */ blr -lbl_802476FC: -/* 802476FC 0024463C 38 60 00 00 */ li r3, 0 -/* 80247700 00244640 4E 80 00 20 */ blr - -.global getLoopMapNode__Q34Game4Cave11RandMapUnitFPPQ34Game4Cave7MapNode -getLoopMapNode__Q34Game4Cave11RandMapUnitFPPQ34Game4Cave7MapNode: -/* 80247704 00244644 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80247708 00244648 7C 08 02 A6 */ mflr r0 -/* 8024770C 0024464C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80247710 00244650 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80247714 00244654 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80247718 00244658 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8024771C 0024465C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80247720 00244660 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 80247724 00244664 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80247728 00244668 7C 9A 23 78 */ mr r26, r4 -/* 8024772C 0024466C 7F 5E D3 78 */ mr r30, r26 -/* 80247730 00244670 3B 80 00 00 */ li r28, 0 -/* 80247734 00244674 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80247738 00244678 83 A3 00 90 */ lwz r29, 0x90(r3) -/* 8024773C 0024467C 48 00 00 44 */ b lbl_80247780 -lbl_80247740: -/* 80247740 00244680 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80247744 00244684 4B FF B4 41 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 80247748 00244688 2C 03 00 01 */ cmpwi r3, 1 -/* 8024774C 0024468C 40 82 00 30 */ bne lbl_8024777C -/* 80247750 00244690 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80247754 00244694 4B FF B4 39 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80247758 00244698 2C 03 00 01 */ cmpwi r3, 1 -/* 8024775C 0024469C 40 82 00 20 */ bne lbl_8024777C -/* 80247760 002446A0 7F A3 EB 78 */ mr r3, r29 -/* 80247764 002446A4 4B FF C8 FD */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80247768 002446A8 2C 03 00 02 */ cmpwi r3, 2 -/* 8024776C 002446AC 40 82 00 10 */ bne lbl_8024777C -/* 80247770 002446B0 93 BE 00 00 */ stw r29, 0(r30) -/* 80247774 002446B4 3B DE 00 04 */ addi r30, r30, 4 -/* 80247778 002446B8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8024777C: -/* 8024777C 002446BC 83 BD 00 04 */ lwz r29, 4(r29) -lbl_80247780: -/* 80247780 002446C0 28 1D 00 00 */ cmplwi r29, 0 -/* 80247784 002446C4 40 82 FF BC */ bne lbl_80247740 -/* 80247788 002446C8 2C 1C 00 00 */ cmpwi r28, 0 -/* 8024778C 002446CC 41 82 00 80 */ beq lbl_8024780C -/* 80247790 002446D0 CB C2 C4 10 */ lfd f30, lbl_8051A770@sda21(r2) -/* 80247794 002446D4 7F 5D D3 78 */ mr r29, r26 -/* 80247798 002446D8 C3 E2 C4 18 */ lfs f31, lbl_8051A778@sda21(r2) -/* 8024779C 002446DC 6F 9F 80 00 */ xoris r31, r28, 0x8000 -/* 802477A0 002446E0 3B 60 00 00 */ li r27, 0 -/* 802477A4 002446E4 3F C0 43 30 */ lis r30, 0x4330 -/* 802477A8 002446E8 48 00 00 5C */ b lbl_80247804 -lbl_802477AC: -/* 802477AC 002446EC 4B E8 1D F5 */ bl rand -/* 802477B0 002446F0 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802477B4 002446F4 93 C1 00 08 */ stw r30, 8(r1) -/* 802477B8 002446F8 80 9D 00 00 */ lwz r4, 0(r29) -/* 802477BC 002446FC 3B 7B 00 01 */ addi r27, r27, 1 -/* 802477C0 00244700 90 01 00 0C */ stw r0, 0xc(r1) -/* 802477C4 00244704 C8 01 00 08 */ lfd f0, 8(r1) -/* 802477C8 00244708 93 E1 00 14 */ stw r31, 0x14(r1) -/* 802477CC 0024470C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802477D0 00244710 93 C1 00 10 */ stw r30, 0x10(r1) -/* 802477D4 00244714 EC 20 F8 24 */ fdivs f1, f0, f31 -/* 802477D8 00244718 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802477DC 0024471C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 802477E0 00244720 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802477E4 00244724 FC 00 00 1E */ fctiwz f0, f0 -/* 802477E8 00244728 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 802477EC 0024472C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802477F0 00244730 54 03 10 3A */ slwi r3, r0, 2 -/* 802477F4 00244734 7C 1A 18 2E */ lwzx r0, r26, r3 -/* 802477F8 00244738 90 1D 00 00 */ stw r0, 0(r29) -/* 802477FC 0024473C 3B BD 00 04 */ addi r29, r29, 4 -/* 80247800 00244740 7C 9A 19 2E */ stwx r4, r26, r3 -lbl_80247804: -/* 80247804 00244744 7C 1B E0 00 */ cmpw r27, r28 -/* 80247808 00244748 41 80 FF A4 */ blt lbl_802477AC -lbl_8024780C: -/* 8024780C 0024474C 7F 83 E3 78 */ mr r3, r28 -/* 80247810 00244750 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80247814 00244754 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80247818 00244758 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8024781C 0024475C CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80247820 00244760 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 80247824 00244764 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80247828 00244768 7C 08 03 A6 */ mtlr r0 -/* 8024782C 0024476C 38 21 00 60 */ addi r1, r1, 0x60 -/* 80247830 00244770 4E 80 00 20 */ blr - -.global getLinkDoorDirection__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodeiPQ34Game4Cave7MapNodei -getLinkDoorDirection__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodeiPQ34Game4Cave7MapNodei: -/* 80247834 00244774 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80247838 00244778 7C 08 02 A6 */ mflr r0 -/* 8024783C 0024477C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80247840 00244780 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80247844 00244784 7C BF 2B 78 */ mr r31, r5 -/* 80247848 00244788 7C 9C 23 78 */ mr r28, r4 -/* 8024784C 0024478C 7C 7B 1B 78 */ mr r27, r3 -/* 80247850 00244790 7C DD 33 78 */ mr r29, r6 -/* 80247854 00244794 7C FE 3B 78 */ mr r30, r7 -/* 80247858 00244798 7F 83 E3 78 */ mr r3, r28 -/* 8024785C 0024479C 7F E4 FB 78 */ mr r4, r31 -/* 80247860 002447A0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80247864 002447A4 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80247868 002447A8 4B FF B7 E5 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 8024786C 002447AC 7F A3 EB 78 */ mr r3, r29 -/* 80247870 002447B0 7F C4 F3 78 */ mr r4, r30 -/* 80247874 002447B4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80247878 002447B8 38 C1 00 08 */ addi r6, r1, 8 -/* 8024787C 002447BC 4B FF B7 D1 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80247880 002447C0 7F 83 E3 78 */ mr r3, r28 -/* 80247884 002447C4 7F E4 FB 78 */ mr r4, r31 -/* 80247888 002447C8 4B FF B7 A1 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024788C 002447CC 7C 7F 1B 78 */ mr r31, r3 -/* 80247890 002447D0 7F A3 EB 78 */ mr r3, r29 -/* 80247894 002447D4 7F C4 F3 78 */ mr r4, r30 -/* 80247898 002447D8 4B FF B7 91 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024789C 002447DC 2C 1F 00 00 */ cmpwi r31, 0 -/* 802478A0 002447E0 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 802478A4 002447E4 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802478A8 002447E8 7C 64 1B 78 */ mr r4, r3 -/* 802478AC 002447EC 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 802478B0 002447F0 80 01 00 08 */ lwz r0, 8(r1) -/* 802478B4 002447F4 7C A7 28 50 */ subf r5, r7, r5 -/* 802478B8 002447F8 7C C6 00 50 */ subf r6, r6, r0 -/* 802478BC 002447FC 40 82 00 10 */ bne lbl_802478CC -/* 802478C0 00244800 7F 63 DB 78 */ mr r3, r27 -/* 802478C4 00244804 48 00 00 5D */ bl getUpToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii -/* 802478C8 00244808 48 00 00 44 */ b lbl_8024790C -lbl_802478CC: -/* 802478CC 0024480C 2C 1F 00 01 */ cmpwi r31, 1 -/* 802478D0 00244810 40 82 00 10 */ bne lbl_802478E0 -/* 802478D4 00244814 7F 63 DB 78 */ mr r3, r27 -/* 802478D8 00244818 48 00 01 05 */ bl getRightToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii -/* 802478DC 0024481C 48 00 00 30 */ b lbl_8024790C -lbl_802478E0: -/* 802478E0 00244820 2C 1F 00 02 */ cmpwi r31, 2 -/* 802478E4 00244824 40 82 00 10 */ bne lbl_802478F4 -/* 802478E8 00244828 7F 63 DB 78 */ mr r3, r27 -/* 802478EC 0024482C 48 00 01 B5 */ bl getDownToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii -/* 802478F0 00244830 48 00 00 1C */ b lbl_8024790C -lbl_802478F4: -/* 802478F4 00244834 2C 1F 00 03 */ cmpwi r31, 3 -/* 802478F8 00244838 40 82 00 10 */ bne lbl_80247908 -/* 802478FC 0024483C 7F 63 DB 78 */ mr r3, r27 -/* 80247900 00244840 48 00 02 5D */ bl getLeftToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii -/* 80247904 00244844 48 00 00 08 */ b lbl_8024790C -lbl_80247908: -/* 80247908 00244848 38 60 FF FF */ li r3, -1 -lbl_8024790C: -/* 8024790C 0024484C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80247910 00244850 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80247914 00244854 7C 08 03 A6 */ mtlr r0 -/* 80247918 00244858 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024791C 0024485C 4E 80 00 20 */ blr - -.global getUpToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii -getUpToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii: -/* 80247920 00244860 2C 06 FF FE */ cmpwi r6, -2 -/* 80247924 00244864 40 81 00 18 */ ble lbl_8024793C -/* 80247928 00244868 2C 05 00 00 */ cmpwi r5, 0 -/* 8024792C 0024486C 38 60 00 01 */ li r3, 1 -/* 80247930 00244870 4C 80 00 20 */ bgelr -/* 80247934 00244874 38 60 00 03 */ li r3, 3 -/* 80247938 00244878 4E 80 00 20 */ blr -lbl_8024793C: -/* 8024793C 0024487C 2C 05 FF FF */ cmpwi r5, -1 -/* 80247940 00244880 40 80 00 0C */ bge lbl_8024794C -/* 80247944 00244884 38 60 00 03 */ li r3, 3 -/* 80247948 00244888 4E 80 00 20 */ blr -lbl_8024794C: -/* 8024794C 0024488C 40 82 00 24 */ bne lbl_80247970 -/* 80247950 00244890 2C 04 00 02 */ cmpwi r4, 2 -/* 80247954 00244894 41 82 00 0C */ beq lbl_80247960 -/* 80247958 00244898 2C 04 00 03 */ cmpwi r4, 3 -/* 8024795C 0024489C 40 82 00 0C */ bne lbl_80247968 -lbl_80247960: -/* 80247960 002448A0 38 60 00 03 */ li r3, 3 -/* 80247964 002448A4 4E 80 00 20 */ blr -lbl_80247968: -/* 80247968 002448A8 38 60 00 00 */ li r3, 0 -/* 8024796C 002448AC 4E 80 00 20 */ blr -lbl_80247970: -/* 80247970 002448B0 2C 05 00 00 */ cmpwi r5, 0 -/* 80247974 002448B4 40 82 00 24 */ bne lbl_80247998 -/* 80247978 002448B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8024797C 002448BC 41 82 00 0C */ beq lbl_80247988 -/* 80247980 002448C0 2C 04 00 03 */ cmpwi r4, 3 -/* 80247984 002448C4 40 82 00 0C */ bne lbl_80247990 -lbl_80247988: -/* 80247988 002448C8 38 60 00 03 */ li r3, 3 -/* 8024798C 002448CC 4E 80 00 20 */ blr -lbl_80247990: -/* 80247990 002448D0 38 60 00 00 */ li r3, 0 -/* 80247994 002448D4 4E 80 00 20 */ blr -lbl_80247998: -/* 80247998 002448D8 2C 05 00 01 */ cmpwi r5, 1 -/* 8024799C 002448DC 40 82 00 24 */ bne lbl_802479C0 -/* 802479A0 002448E0 2C 04 00 01 */ cmpwi r4, 1 -/* 802479A4 002448E4 41 82 00 0C */ beq lbl_802479B0 -/* 802479A8 002448E8 2C 04 00 02 */ cmpwi r4, 2 -/* 802479AC 002448EC 40 82 00 0C */ bne lbl_802479B8 -lbl_802479B0: -/* 802479B0 002448F0 38 60 00 01 */ li r3, 1 -/* 802479B4 002448F4 4E 80 00 20 */ blr -lbl_802479B8: -/* 802479B8 002448F8 38 60 00 00 */ li r3, 0 -/* 802479BC 002448FC 4E 80 00 20 */ blr -lbl_802479C0: -/* 802479C0 00244900 38 00 00 01 */ li r0, 1 -/* 802479C4 00244904 7C A0 02 78 */ xor r0, r5, r0 -/* 802479C8 00244908 7C 03 0E 70 */ srawi r3, r0, 1 -/* 802479CC 0024490C 7C 00 28 38 */ and r0, r0, r5 -/* 802479D0 00244910 7C 00 18 50 */ subf r0, r0, r3 -/* 802479D4 00244914 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802479D8 00244918 4E 80 00 20 */ blr - -.global getRightToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii -getRightToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii: -/* 802479DC 0024491C 2C 05 00 00 */ cmpwi r5, 0 -/* 802479E0 00244920 40 82 00 1C */ bne lbl_802479FC -/* 802479E4 00244924 7C 66 00 D0 */ neg r3, r6 -/* 802479E8 00244928 38 00 00 02 */ li r0, 2 -/* 802479EC 0024492C 7C 63 30 78 */ andc r3, r3, r6 -/* 802479F0 00244930 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 802479F4 00244934 7C 03 18 38 */ and r3, r0, r3 -/* 802479F8 00244938 4E 80 00 20 */ blr -lbl_802479FC: -/* 802479FC 0024493C 2C 06 FF FF */ cmpwi r6, -1 -/* 80247A00 00244940 40 80 00 0C */ bge lbl_80247A0C -/* 80247A04 00244944 38 60 00 00 */ li r3, 0 -/* 80247A08 00244948 4E 80 00 20 */ blr -lbl_80247A0C: -/* 80247A0C 0024494C 40 82 00 24 */ bne lbl_80247A30 -/* 80247A10 00244950 2C 04 00 00 */ cmpwi r4, 0 -/* 80247A14 00244954 41 82 00 0C */ beq lbl_80247A20 -/* 80247A18 00244958 2C 04 00 03 */ cmpwi r4, 3 -/* 80247A1C 0024495C 40 82 00 0C */ bne lbl_80247A28 -lbl_80247A20: -/* 80247A20 00244960 38 60 00 00 */ li r3, 0 -/* 80247A24 00244964 4E 80 00 20 */ blr -lbl_80247A28: -/* 80247A28 00244968 38 60 00 01 */ li r3, 1 -/* 80247A2C 0024496C 4E 80 00 20 */ blr -lbl_80247A30: -/* 80247A30 00244970 2C 06 00 00 */ cmpwi r6, 0 -/* 80247A34 00244974 40 82 00 24 */ bne lbl_80247A58 -/* 80247A38 00244978 2C 04 00 00 */ cmpwi r4, 0 -/* 80247A3C 0024497C 41 82 00 0C */ beq lbl_80247A48 -/* 80247A40 00244980 2C 04 00 01 */ cmpwi r4, 1 -/* 80247A44 00244984 40 82 00 0C */ bne lbl_80247A50 -lbl_80247A48: -/* 80247A48 00244988 38 60 00 00 */ li r3, 0 -/* 80247A4C 0024498C 4E 80 00 20 */ blr -lbl_80247A50: -/* 80247A50 00244990 38 60 00 01 */ li r3, 1 -/* 80247A54 00244994 4E 80 00 20 */ blr -lbl_80247A58: -/* 80247A58 00244998 2C 06 00 01 */ cmpwi r6, 1 -/* 80247A5C 0024499C 40 82 00 24 */ bne lbl_80247A80 -/* 80247A60 002449A0 2C 04 00 02 */ cmpwi r4, 2 -/* 80247A64 002449A4 41 82 00 0C */ beq lbl_80247A70 -/* 80247A68 002449A8 2C 04 00 03 */ cmpwi r4, 3 -/* 80247A6C 002449AC 40 82 00 0C */ bne lbl_80247A78 -lbl_80247A70: -/* 80247A70 002449B0 38 60 00 02 */ li r3, 2 -/* 80247A74 002449B4 4E 80 00 20 */ blr -lbl_80247A78: -/* 80247A78 002449B8 38 60 00 01 */ li r3, 1 -/* 80247A7C 002449BC 4E 80 00 20 */ blr -lbl_80247A80: -/* 80247A80 002449C0 38 00 00 01 */ li r0, 1 -/* 80247A84 002449C4 7C C0 02 78 */ xor r0, r6, r0 -/* 80247A88 002449C8 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80247A8C 002449CC 7C 00 30 38 */ and r0, r0, r6 -/* 80247A90 002449D0 7C 00 18 50 */ subf r0, r0, r3 -/* 80247A94 002449D4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80247A98 002449D8 38 63 00 01 */ addi r3, r3, 1 -/* 80247A9C 002449DC 4E 80 00 20 */ blr - -.global getDownToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii -getDownToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii: -/* 80247AA0 002449E0 2C 06 00 00 */ cmpwi r6, 0 -/* 80247AA4 002449E4 40 82 00 18 */ bne lbl_80247ABC -/* 80247AA8 002449E8 2C 05 00 00 */ cmpwi r5, 0 -/* 80247AAC 002449EC 38 60 00 03 */ li r3, 3 -/* 80247AB0 002449F0 4C 81 00 20 */ blelr -/* 80247AB4 002449F4 38 60 00 01 */ li r3, 1 -/* 80247AB8 002449F8 4E 80 00 20 */ blr -lbl_80247ABC: -/* 80247ABC 002449FC 2C 05 FF FF */ cmpwi r5, -1 -/* 80247AC0 00244A00 40 80 00 0C */ bge lbl_80247ACC -/* 80247AC4 00244A04 38 60 00 03 */ li r3, 3 -/* 80247AC8 00244A08 4E 80 00 20 */ blr -lbl_80247ACC: -/* 80247ACC 00244A0C 40 82 00 24 */ bne lbl_80247AF0 -/* 80247AD0 00244A10 2C 04 00 00 */ cmpwi r4, 0 -/* 80247AD4 00244A14 41 82 00 0C */ beq lbl_80247AE0 -/* 80247AD8 00244A18 2C 04 00 03 */ cmpwi r4, 3 -/* 80247ADC 00244A1C 40 82 00 0C */ bne lbl_80247AE8 -lbl_80247AE0: -/* 80247AE0 00244A20 38 60 00 03 */ li r3, 3 -/* 80247AE4 00244A24 4E 80 00 20 */ blr -lbl_80247AE8: -/* 80247AE8 00244A28 38 60 00 02 */ li r3, 2 -/* 80247AEC 00244A2C 4E 80 00 20 */ blr -lbl_80247AF0: -/* 80247AF0 00244A30 2C 05 00 00 */ cmpwi r5, 0 -/* 80247AF4 00244A34 40 82 00 24 */ bne lbl_80247B18 -/* 80247AF8 00244A38 2C 04 00 02 */ cmpwi r4, 2 -/* 80247AFC 00244A3C 41 82 00 0C */ beq lbl_80247B08 -/* 80247B00 00244A40 2C 04 00 03 */ cmpwi r4, 3 -/* 80247B04 00244A44 40 82 00 0C */ bne lbl_80247B10 -lbl_80247B08: -/* 80247B08 00244A48 38 60 00 03 */ li r3, 3 -/* 80247B0C 00244A4C 4E 80 00 20 */ blr -lbl_80247B10: -/* 80247B10 00244A50 38 60 00 02 */ li r3, 2 -/* 80247B14 00244A54 4E 80 00 20 */ blr -lbl_80247B18: -/* 80247B18 00244A58 2C 05 00 01 */ cmpwi r5, 1 -/* 80247B1C 00244A5C 40 82 00 24 */ bne lbl_80247B40 -/* 80247B20 00244A60 2C 04 00 00 */ cmpwi r4, 0 -/* 80247B24 00244A64 41 82 00 0C */ beq lbl_80247B30 -/* 80247B28 00244A68 2C 04 00 01 */ cmpwi r4, 1 -/* 80247B2C 00244A6C 40 82 00 0C */ bne lbl_80247B38 -lbl_80247B30: -/* 80247B30 00244A70 38 60 00 01 */ li r3, 1 -/* 80247B34 00244A74 4E 80 00 20 */ blr -lbl_80247B38: -/* 80247B38 00244A78 38 60 00 02 */ li r3, 2 -/* 80247B3C 00244A7C 4E 80 00 20 */ blr -lbl_80247B40: -/* 80247B40 00244A80 38 80 00 01 */ li r4, 1 -/* 80247B44 00244A84 54 A3 0F FE */ srwi r3, r5, 0x1f -/* 80247B48 00244A88 7C 05 20 10 */ subfc r0, r5, r4 -/* 80247B4C 00244A8C 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80247B50 00244A90 7C 60 19 10 */ subfe r3, r0, r3 -/* 80247B54 00244A94 38 63 00 02 */ addi r3, r3, 2 -/* 80247B58 00244A98 4E 80 00 20 */ blr - -.global getLeftToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii -getLeftToLinkDoorDir__Q34Game4Cave11RandMapUnitFiii: -/* 80247B5C 00244A9C 2C 05 FF FE */ cmpwi r5, -2 -/* 80247B60 00244AA0 40 81 00 1C */ ble lbl_80247B7C -/* 80247B64 00244AA4 7C 66 00 D0 */ neg r3, r6 -/* 80247B68 00244AA8 38 00 00 02 */ li r0, 2 -/* 80247B6C 00244AAC 7C 63 30 78 */ andc r3, r3, r6 -/* 80247B70 00244AB0 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 80247B74 00244AB4 7C 03 18 38 */ and r3, r0, r3 -/* 80247B78 00244AB8 4E 80 00 20 */ blr -lbl_80247B7C: -/* 80247B7C 00244ABC 2C 06 FF FF */ cmpwi r6, -1 -/* 80247B80 00244AC0 40 80 00 0C */ bge lbl_80247B8C -/* 80247B84 00244AC4 38 60 00 00 */ li r3, 0 -/* 80247B88 00244AC8 4E 80 00 20 */ blr -lbl_80247B8C: -/* 80247B8C 00244ACC 40 82 00 24 */ bne lbl_80247BB0 -/* 80247B90 00244AD0 2C 04 00 00 */ cmpwi r4, 0 -/* 80247B94 00244AD4 41 82 00 0C */ beq lbl_80247BA0 -/* 80247B98 00244AD8 2C 04 00 01 */ cmpwi r4, 1 -/* 80247B9C 00244ADC 40 82 00 0C */ bne lbl_80247BA8 -lbl_80247BA0: -/* 80247BA0 00244AE0 38 60 00 00 */ li r3, 0 -/* 80247BA4 00244AE4 4E 80 00 20 */ blr -lbl_80247BA8: -/* 80247BA8 00244AE8 38 60 00 03 */ li r3, 3 -/* 80247BAC 00244AEC 4E 80 00 20 */ blr -lbl_80247BB0: -/* 80247BB0 00244AF0 2C 06 00 00 */ cmpwi r6, 0 -/* 80247BB4 00244AF4 40 82 00 24 */ bne lbl_80247BD8 -/* 80247BB8 00244AF8 2C 04 00 00 */ cmpwi r4, 0 -/* 80247BBC 00244AFC 41 82 00 0C */ beq lbl_80247BC8 -/* 80247BC0 00244B00 2C 04 00 03 */ cmpwi r4, 3 -/* 80247BC4 00244B04 40 82 00 0C */ bne lbl_80247BD0 -lbl_80247BC8: -/* 80247BC8 00244B08 38 60 00 00 */ li r3, 0 -/* 80247BCC 00244B0C 4E 80 00 20 */ blr -lbl_80247BD0: -/* 80247BD0 00244B10 38 60 00 03 */ li r3, 3 -/* 80247BD4 00244B14 4E 80 00 20 */ blr -lbl_80247BD8: -/* 80247BD8 00244B18 2C 06 00 01 */ cmpwi r6, 1 -/* 80247BDC 00244B1C 40 82 00 24 */ bne lbl_80247C00 -/* 80247BE0 00244B20 2C 04 00 01 */ cmpwi r4, 1 -/* 80247BE4 00244B24 41 82 00 0C */ beq lbl_80247BF0 -/* 80247BE8 00244B28 2C 04 00 02 */ cmpwi r4, 2 -/* 80247BEC 00244B2C 40 82 00 0C */ bne lbl_80247BF8 -lbl_80247BF0: -/* 80247BF0 00244B30 38 60 00 02 */ li r3, 2 -/* 80247BF4 00244B34 4E 80 00 20 */ blr -lbl_80247BF8: -/* 80247BF8 00244B38 38 60 00 03 */ li r3, 3 -/* 80247BFC 00244B3C 4E 80 00 20 */ blr -lbl_80247C00: -/* 80247C00 00244B40 38 80 00 01 */ li r4, 1 -/* 80247C04 00244B44 54 C3 0F FE */ srwi r3, r6, 0x1f -/* 80247C08 00244B48 7C 06 20 10 */ subfc r0, r6, r4 -/* 80247C0C 00244B4C 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80247C10 00244B50 7C 60 19 10 */ subfe r3, r0, r3 -/* 80247C14 00244B54 38 63 00 03 */ addi r3, r3, 3 -/* 80247C18 00244B58 4E 80 00 20 */ blr - -.global getLoopEndMapUnit__Q34Game4Cave11RandMapUnitFv -getLoopEndMapUnit__Q34Game4Cave11RandMapUnitFv: -/* 80247C1C 00244B5C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80247C20 00244B60 7C 08 02 A6 */ mflr r0 -/* 80247C24 00244B64 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80247C28 00244B68 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80247C2C 00244B6C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80247C30 00244B70 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80247C34 00244B74 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 80247C38 00244B78 BE 61 00 7C */ stmw r19, 0x7c(r1) -/* 80247C3C 00244B7C 7C 75 1B 78 */ mr r21, r3 -/* 80247C40 00244B80 3A 80 00 00 */ li r20, 0 -/* 80247C44 00244B84 80 83 00 20 */ lwz r4, 0x20(r3) -/* 80247C48 00244B88 80 64 00 28 */ lwz r3, 0x28(r4) -/* 80247C4C 00244B8C 83 E4 00 10 */ lwz r31, 0x10(r4) -/* 80247C50 00244B90 82 63 00 10 */ lwz r19, 0x10(r3) -/* 80247C54 00244B94 48 00 00 68 */ b lbl_80247CBC -lbl_80247C58: -/* 80247C58 00244B98 3A C0 00 00 */ li r22, 0 -/* 80247C5C 00244B9C 48 00 00 4C */ b lbl_80247CA8 -lbl_80247C60: -/* 80247C60 00244BA0 7E 63 9B 78 */ mr r3, r19 -/* 80247C64 00244BA4 7E C4 B3 78 */ mr r4, r22 -/* 80247C68 00244BA8 4B FF B6 B1 */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 80247C6C 00244BAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80247C70 00244BB0 40 82 00 34 */ bne lbl_80247CA4 -/* 80247C74 00244BB4 2C 14 00 00 */ cmpwi r20, 0 -/* 80247C78 00244BB8 40 82 00 28 */ bne lbl_80247CA0 -/* 80247C7C 00244BBC 7E 63 9B 78 */ mr r3, r19 -/* 80247C80 00244BC0 7E C4 B3 78 */ mr r4, r22 -/* 80247C84 00244BC4 4B FF B8 01 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80247C88 00244BC8 7E 63 9B 78 */ mr r3, r19 -/* 80247C8C 00244BCC 7E C4 B3 78 */ mr r4, r22 -/* 80247C90 00244BD0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80247C94 00244BD4 38 C1 00 08 */ addi r6, r1, 8 -/* 80247C98 00244BD8 4B FF B3 B5 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80247C9C 00244BDC 48 00 00 2C */ b lbl_80247CC8 -lbl_80247CA0: -/* 80247CA0 00244BE0 3A 94 00 01 */ addi r20, r20, 1 -lbl_80247CA4: -/* 80247CA4 00244BE4 3A D6 00 01 */ addi r22, r22, 1 -lbl_80247CA8: -/* 80247CA8 00244BE8 7E 63 9B 78 */ mr r3, r19 -/* 80247CAC 00244BEC 4B FF C3 B5 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80247CB0 00244BF0 7C 16 18 00 */ cmpw r22, r3 -/* 80247CB4 00244BF4 41 80 FF AC */ blt lbl_80247C60 -/* 80247CB8 00244BF8 82 73 00 04 */ lwz r19, 4(r19) -lbl_80247CBC: -/* 80247CBC 00244BFC 28 13 00 00 */ cmplwi r19, 0 -/* 80247CC0 00244C00 40 82 FF 98 */ bne lbl_80247C58 -/* 80247CC4 00244C04 3A 60 00 00 */ li r19, 0 -lbl_80247CC8: -/* 80247CC8 00244C08 7E 63 9B 78 */ mr r3, r19 -/* 80247CCC 00244C0C 7E C4 B3 78 */ mr r4, r22 -/* 80247CD0 00244C10 4B FF B7 B5 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80247CD4 00244C14 3C 80 80 48 */ lis r4, lbl_804840B4@ha -/* 80247CD8 00244C18 7C 7A 1B 78 */ mr r26, r3 -/* 80247CDC 00244C1C 38 A4 40 B4 */ addi r5, r4, lbl_804840B4@l -/* 80247CE0 00244C20 28 13 00 00 */ cmplwi r19, 0 -/* 80247CE4 00244C24 80 85 00 00 */ lwz r4, 0(r5) -/* 80247CE8 00244C28 80 65 00 04 */ lwz r3, 4(r5) -/* 80247CEC 00244C2C 80 05 00 08 */ lwz r0, 8(r5) -/* 80247CF0 00244C30 90 81 00 10 */ stw r4, 0x10(r1) -/* 80247CF4 00244C34 90 61 00 14 */ stw r3, 0x14(r1) -/* 80247CF8 00244C38 90 01 00 18 */ stw r0, 0x18(r1) -/* 80247CFC 00244C3C 41 82 01 E8 */ beq lbl_80247EE4 -/* 80247D00 00244C40 28 1A 00 00 */ cmplwi r26, 0 -/* 80247D04 00244C44 41 82 01 E0 */ beq lbl_80247EE4 -/* 80247D08 00244C48 3B 20 00 00 */ li r25, 0 -/* 80247D0C 00244C4C 3B A1 00 10 */ addi r29, r1, 0x10 -lbl_80247D10: -/* 80247D10 00244C50 3B 00 00 00 */ li r24, 0 -/* 80247D14 00244C54 48 00 01 B4 */ b lbl_80247EC8 -lbl_80247D18: -/* 80247D18 00244C58 80 1D 00 00 */ lwz r0, 0(r29) -/* 80247D1C 00244C5C 3A F8 00 01 */ addi r23, r24, 1 -/* 80247D20 00244C60 54 03 30 32 */ slwi r3, r0, 6 -/* 80247D24 00244C64 38 03 00 10 */ addi r0, r3, 0x10 -/* 80247D28 00244C68 7E DF 00 2E */ lwzx r22, r31, r0 -/* 80247D2C 00244C6C 48 00 01 90 */ b lbl_80247EBC -lbl_80247D30: -/* 80247D30 00244C70 7E C3 B3 78 */ mr r3, r22 -/* 80247D34 00244C74 4B FF C3 2D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80247D38 00244C78 7C 17 18 00 */ cmpw r23, r3 -/* 80247D3C 00244C7C 40 82 01 7C */ bne lbl_80247EB8 -/* 80247D40 00244C80 2C 17 00 00 */ cmpwi r23, 0 -/* 80247D44 00244C84 38 E0 00 00 */ li r7, 0 -/* 80247D48 00244C88 40 81 00 9C */ ble lbl_80247DE4 -/* 80247D4C 00244C8C 2C 17 00 08 */ cmpwi r23, 8 -/* 80247D50 00244C90 38 77 FF F8 */ addi r3, r23, -8 -/* 80247D54 00244C94 40 81 00 64 */ ble lbl_80247DB8 -/* 80247D58 00244C98 38 03 00 07 */ addi r0, r3, 7 -/* 80247D5C 00244C9C 39 01 00 1C */ addi r8, r1, 0x1c -/* 80247D60 00244CA0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80247D64 00244CA4 7C 09 03 A6 */ mtctr r0 -/* 80247D68 00244CA8 2C 03 00 00 */ cmpwi r3, 0 -/* 80247D6C 00244CAC 40 81 00 4C */ ble lbl_80247DB8 -lbl_80247D70: -/* 80247D70 00244CB0 90 E8 00 00 */ stw r7, 0(r8) -/* 80247D74 00244CB4 38 67 00 01 */ addi r3, r7, 1 -/* 80247D78 00244CB8 38 07 00 02 */ addi r0, r7, 2 -/* 80247D7C 00244CBC 38 C7 00 03 */ addi r6, r7, 3 -/* 80247D80 00244CC0 90 68 00 04 */ stw r3, 4(r8) -/* 80247D84 00244CC4 38 A7 00 04 */ addi r5, r7, 4 -/* 80247D88 00244CC8 38 87 00 05 */ addi r4, r7, 5 -/* 80247D8C 00244CCC 38 67 00 06 */ addi r3, r7, 6 -/* 80247D90 00244CD0 90 08 00 08 */ stw r0, 8(r8) -/* 80247D94 00244CD4 38 07 00 07 */ addi r0, r7, 7 -/* 80247D98 00244CD8 38 E7 00 08 */ addi r7, r7, 8 -/* 80247D9C 00244CDC 90 C8 00 0C */ stw r6, 0xc(r8) -/* 80247DA0 00244CE0 90 A8 00 10 */ stw r5, 0x10(r8) -/* 80247DA4 00244CE4 90 88 00 14 */ stw r4, 0x14(r8) -/* 80247DA8 00244CE8 90 68 00 18 */ stw r3, 0x18(r8) -/* 80247DAC 00244CEC 90 08 00 1C */ stw r0, 0x1c(r8) -/* 80247DB0 00244CF0 39 08 00 20 */ addi r8, r8, 0x20 -/* 80247DB4 00244CF4 42 00 FF BC */ bdnz lbl_80247D70 -lbl_80247DB8: -/* 80247DB8 00244CF8 54 E3 10 3A */ slwi r3, r7, 2 -/* 80247DBC 00244CFC 38 81 00 1C */ addi r4, r1, 0x1c -/* 80247DC0 00244D00 7C 07 B8 50 */ subf r0, r7, r23 -/* 80247DC4 00244D04 7C 84 1A 14 */ add r4, r4, r3 -/* 80247DC8 00244D08 7C 09 03 A6 */ mtctr r0 -/* 80247DCC 00244D0C 7C 07 B8 00 */ cmpw r7, r23 -/* 80247DD0 00244D10 40 80 00 14 */ bge lbl_80247DE4 -lbl_80247DD4: -/* 80247DD4 00244D14 90 E4 00 00 */ stw r7, 0(r4) -/* 80247DD8 00244D18 38 84 00 04 */ addi r4, r4, 4 -/* 80247DDC 00244D1C 38 E7 00 01 */ addi r7, r7, 1 -/* 80247DE0 00244D20 42 00 FF F4 */ bdnz lbl_80247DD4 -lbl_80247DE4: -/* 80247DE4 00244D24 3B 81 00 1C */ addi r28, r1, 0x1c -/* 80247DE8 00244D28 CB C2 C4 10 */ lfd f30, lbl_8051A770@sda21(r2) -/* 80247DEC 00244D2C C3 E2 C4 18 */ lfs f31, lbl_8051A778@sda21(r2) -/* 80247DF0 00244D30 7F 9E E3 78 */ mr r30, r28 -/* 80247DF4 00244D34 6E F4 80 00 */ xoris r20, r23, 0x8000 -/* 80247DF8 00244D38 3B 60 00 00 */ li r27, 0 -/* 80247DFC 00244D3C 3E 60 43 30 */ lis r19, 0x4330 -/* 80247E00 00244D40 48 00 00 5C */ b lbl_80247E5C -lbl_80247E04: -/* 80247E04 00244D44 4B E8 17 9D */ bl rand -/* 80247E08 00244D48 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80247E0C 00244D4C 92 61 00 60 */ stw r19, 0x60(r1) -/* 80247E10 00244D50 80 9E 00 00 */ lwz r4, 0(r30) -/* 80247E14 00244D54 3B 7B 00 01 */ addi r27, r27, 1 -/* 80247E18 00244D58 90 01 00 64 */ stw r0, 0x64(r1) -/* 80247E1C 00244D5C C8 01 00 60 */ lfd f0, 0x60(r1) -/* 80247E20 00244D60 92 81 00 6C */ stw r20, 0x6c(r1) -/* 80247E24 00244D64 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80247E28 00244D68 92 61 00 68 */ stw r19, 0x68(r1) -/* 80247E2C 00244D6C EC 20 F8 24 */ fdivs f1, f0, f31 -/* 80247E30 00244D70 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 80247E34 00244D74 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80247E38 00244D78 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80247E3C 00244D7C FC 00 00 1E */ fctiwz f0, f0 -/* 80247E40 00244D80 D8 01 00 70 */ stfd f0, 0x70(r1) -/* 80247E44 00244D84 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80247E48 00244D88 54 03 10 3A */ slwi r3, r0, 2 -/* 80247E4C 00244D8C 7C 1C 18 2E */ lwzx r0, r28, r3 -/* 80247E50 00244D90 90 1E 00 00 */ stw r0, 0(r30) -/* 80247E54 00244D94 3B DE 00 04 */ addi r30, r30, 4 -/* 80247E58 00244D98 7C 9C 19 2E */ stwx r4, r28, r3 -lbl_80247E5C: -/* 80247E5C 00244D9C 7C 1B B8 00 */ cmpw r27, r23 -/* 80247E60 00244DA0 41 80 FF A4 */ blt lbl_80247E04 -/* 80247E64 00244DA4 3A 60 00 00 */ li r19, 0 -/* 80247E68 00244DA8 48 00 00 48 */ b lbl_80247EB0 -lbl_80247E6C: -/* 80247E6C 00244DAC 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 80247E70 00244DB0 7E C3 B3 78 */ mr r3, r22 -/* 80247E74 00244DB4 80 C1 00 08 */ lwz r6, 8(r1) -/* 80247E78 00244DB8 7F 44 D3 78 */ mr r4, r26 -/* 80247E7C 00244DBC 80 FC 00 00 */ lwz r7, 0(r28) -/* 80247E80 00244DC0 4B FF B2 CD */ bl isDoorSet__Q34Game4Cave7MapNodeFPQ34Game4Cave8DoorNodeiii -/* 80247E84 00244DC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80247E88 00244DC8 41 82 00 20 */ beq lbl_80247EA8 -/* 80247E8C 00244DCC 80 75 00 28 */ lwz r3, 0x28(r21) -/* 80247E90 00244DD0 7E C4 B3 78 */ mr r4, r22 -/* 80247E94 00244DD4 4B FF D7 D9 */ bl isPutOnMap__Q34Game4Cave14RandMapCheckerFPQ34Game4Cave7MapNode -/* 80247E98 00244DD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80247E9C 00244DDC 41 82 00 0C */ beq lbl_80247EA8 -/* 80247EA0 00244DE0 7E C3 B3 78 */ mr r3, r22 -/* 80247EA4 00244DE4 48 00 00 44 */ b lbl_80247EE8 -lbl_80247EA8: -/* 80247EA8 00244DE8 3B 9C 00 04 */ addi r28, r28, 4 -/* 80247EAC 00244DEC 3A 73 00 01 */ addi r19, r19, 1 -lbl_80247EB0: -/* 80247EB0 00244DF0 7C 13 B8 00 */ cmpw r19, r23 -/* 80247EB4 00244DF4 41 80 FF B8 */ blt lbl_80247E6C -lbl_80247EB8: -/* 80247EB8 00244DF8 82 D6 00 04 */ lwz r22, 4(r22) -lbl_80247EBC: -/* 80247EBC 00244DFC 28 16 00 00 */ cmplwi r22, 0 -/* 80247EC0 00244E00 40 82 FE 70 */ bne lbl_80247D30 -/* 80247EC4 00244E04 3B 18 00 01 */ addi r24, r24, 1 -lbl_80247EC8: -/* 80247EC8 00244E08 80 15 00 00 */ lwz r0, 0(r21) -/* 80247ECC 00244E0C 7C 18 00 00 */ cmpw r24, r0 -/* 80247ED0 00244E10 41 80 FE 48 */ blt lbl_80247D18 -/* 80247ED4 00244E14 3B 39 00 01 */ addi r25, r25, 1 -/* 80247ED8 00244E18 3B BD 00 04 */ addi r29, r29, 4 -/* 80247EDC 00244E1C 2C 19 00 03 */ cmpwi r25, 3 -/* 80247EE0 00244E20 41 80 FE 30 */ blt lbl_80247D10 -lbl_80247EE4: -/* 80247EE4 00244E24 38 60 00 00 */ li r3, 0 -lbl_80247EE8: -/* 80247EE8 00244E28 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80247EEC 00244E2C CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80247EF0 00244E30 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80247EF4 00244E34 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80247EF8 00244E38 BA 61 00 7C */ lmw r19, 0x7c(r1) -/* 80247EFC 00244E3C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80247F00 00244E40 7C 08 03 A6 */ mtlr r0 -/* 80247F04 00244E44 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80247F08 00244E48 4E 80 00 20 */ blr - -.global getPartsKindNum__Q34Game4Cave11RandMapUnitFi -getPartsKindNum__Q34Game4Cave11RandMapUnitFi: -/* 80247F0C 00244E4C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80247F10 00244E50 7C 08 02 A6 */ mflr r0 -/* 80247F14 00244E54 90 01 00 24 */ stw r0, 0x24(r1) -/* 80247F18 00244E58 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80247F1C 00244E5C 3B E0 00 00 */ li r31, 0 -/* 80247F20 00244E60 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80247F24 00244E64 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80247F28 00244E68 7C 9D 23 78 */ mr r29, r4 -/* 80247F2C 00244E6C 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80247F30 00244E70 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80247F34 00244E74 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 80247F38 00244E78 48 00 00 1C */ b lbl_80247F54 -lbl_80247F3C: -/* 80247F3C 00244E7C 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80247F40 00244E80 4B FF AC 39 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 80247F44 00244E84 7C 1D 18 00 */ cmpw r29, r3 -/* 80247F48 00244E88 40 82 00 08 */ bne lbl_80247F50 -/* 80247F4C 00244E8C 3B FF 00 01 */ addi r31, r31, 1 -lbl_80247F50: -/* 80247F50 00244E90 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80247F54: -/* 80247F54 00244E94 28 1E 00 00 */ cmplwi r30, 0 -/* 80247F58 00244E98 40 82 FF E4 */ bne lbl_80247F3C -/* 80247F5C 00244E9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80247F60 00244EA0 7F E3 FB 78 */ mr r3, r31 -/* 80247F64 00244EA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80247F68 00244EA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80247F6C 00244EAC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80247F70 00244EB0 7C 08 03 A6 */ mtlr r0 -/* 80247F74 00244EB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80247F78 00244EB8 4E 80 00 20 */ blr - -.global getOpenDoorNum__Q34Game4Cave11RandMapUnitFv -getOpenDoorNum__Q34Game4Cave11RandMapUnitFv: -/* 80247F7C 00244EBC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80247F80 00244EC0 7C 08 02 A6 */ mflr r0 -/* 80247F84 00244EC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80247F88 00244EC8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80247F8C 00244ECC 3B E0 00 00 */ li r31, 0 -/* 80247F90 00244ED0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80247F94 00244ED4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80247F98 00244ED8 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80247F9C 00244EDC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80247FA0 00244EE0 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 80247FA4 00244EE4 48 00 00 3C */ b lbl_80247FE0 -lbl_80247FA8: -/* 80247FA8 00244EE8 3B A0 00 00 */ li r29, 0 -/* 80247FAC 00244EEC 48 00 00 20 */ b lbl_80247FCC -lbl_80247FB0: -/* 80247FB0 00244EF0 7F C3 F3 78 */ mr r3, r30 -/* 80247FB4 00244EF4 7F A4 EB 78 */ mr r4, r29 -/* 80247FB8 00244EF8 4B FF B3 61 */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 80247FBC 00244EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80247FC0 00244F00 40 82 00 08 */ bne lbl_80247FC8 -/* 80247FC4 00244F04 3B FF 00 01 */ addi r31, r31, 1 -lbl_80247FC8: -/* 80247FC8 00244F08 3B BD 00 01 */ addi r29, r29, 1 -lbl_80247FCC: -/* 80247FCC 00244F0C 7F C3 F3 78 */ mr r3, r30 -/* 80247FD0 00244F10 4B FF C0 91 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80247FD4 00244F14 7C 1D 18 00 */ cmpw r29, r3 -/* 80247FD8 00244F18 41 80 FF D8 */ blt lbl_80247FB0 -/* 80247FDC 00244F1C 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80247FE0: -/* 80247FE0 00244F20 28 1E 00 00 */ cmplwi r30, 0 -/* 80247FE4 00244F24 40 82 FF C4 */ bne lbl_80247FA8 -/* 80247FE8 00244F28 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80247FEC 00244F2C 7F E3 FB 78 */ mr r3, r31 -/* 80247FF0 00244F30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80247FF4 00244F34 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80247FF8 00244F38 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80247FFC 00244F3C 7C 08 03 A6 */ mtlr r0 -/* 80248000 00244F40 38 21 00 20 */ addi r1, r1, 0x20 -/* 80248004 00244F44 4E 80 00 20 */ blr - -.global addMap__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfoiib -addMap__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfoiib: -/* 80248008 00244F48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024800C 00244F4C 7C 08 02 A6 */ mflr r0 -/* 80248010 00244F50 90 01 00 24 */ stw r0, 0x24(r1) -/* 80248014 00244F54 BF 41 00 08 */ stmw r26, 8(r1) -/* 80248018 00244F58 7C 7A 1B 78 */ mr r26, r3 -/* 8024801C 00244F5C 7C 9B 23 78 */ mr r27, r4 -/* 80248020 00244F60 7C BC 2B 78 */ mr r28, r5 -/* 80248024 00244F64 7C DD 33 78 */ mr r29, r6 -/* 80248028 00244F68 7C FE 3B 78 */ mr r30, r7 -/* 8024802C 00244F6C 38 60 00 40 */ li r3, 0x40 -/* 80248030 00244F70 4B DD BE 75 */ bl __nw__FUl -/* 80248034 00244F74 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80248038 00244F78 41 82 00 10 */ beq lbl_80248048 -/* 8024803C 00244F7C 7F 64 DB 78 */ mr r4, r27 -/* 80248040 00244F80 4B FF AD 31 */ bl __ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo -/* 80248044 00244F84 7C 7F 1B 78 */ mr r31, r3 -lbl_80248048: -/* 80248048 00244F88 28 1F 00 00 */ cmplwi r31, 0 -/* 8024804C 00244F8C 41 82 00 38 */ beq lbl_80248084 -/* 80248050 00244F90 38 00 00 00 */ li r0, 0 -/* 80248054 00244F94 7F E3 FB 78 */ mr r3, r31 -/* 80248058 00244F98 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8024805C 00244F9C 7F 84 E3 78 */ mr r4, r28 -/* 80248060 00244FA0 7F A5 EB 78 */ mr r5, r29 -/* 80248064 00244FA4 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80248068 00244FA8 90 1F 00 08 */ stw r0, 8(r31) -/* 8024806C 00244FAC 90 1F 00 04 */ stw r0, 4(r31) -/* 80248070 00244FB0 4B FF AF AD */ bl setOffset__Q34Game4Cave7MapNodeFii -/* 80248074 00244FB4 80 7A 00 20 */ lwz r3, 0x20(r26) -/* 80248078 00244FB8 7F E4 FB 78 */ mr r4, r31 -/* 8024807C 00244FBC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80248080 00244FC0 48 1C 93 89 */ bl add__5CNodeFP5CNode -lbl_80248084: -/* 80248084 00244FC4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80248088 00244FC8 41 82 00 20 */ beq lbl_802480A8 -/* 8024808C 00244FCC 7F 43 D3 78 */ mr r3, r26 -/* 80248090 00244FD0 48 00 05 35 */ bl closeDoorCheck__Q34Game4Cave11RandMapUnitFv -/* 80248094 00244FD4 7F 43 D3 78 */ mr r3, r26 -/* 80248098 00244FD8 48 00 04 01 */ bl moveCentre__Q34Game4Cave11RandMapUnitFv -/* 8024809C 00244FDC 7F 43 D3 78 */ mr r3, r26 -/* 802480A0 00244FE0 7F 64 DB 78 */ mr r4, r27 -/* 802480A4 00244FE4 48 00 00 19 */ bl changeMapPriority__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfo -lbl_802480A8: -/* 802480A8 00244FE8 BB 41 00 08 */ lmw r26, 8(r1) -/* 802480AC 00244FEC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802480B0 00244FF0 7C 08 03 A6 */ mtlr r0 -/* 802480B4 00244FF4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802480B8 00244FF8 4E 80 00 20 */ blr - -.global changeMapPriority__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfo -changeMapPriority__Q34Game4Cave11RandMapUnitFPQ34Game4Cave8UnitInfo: -/* 802480BC 00244FFC 94 21 FB 80 */ stwu r1, -0x480(r1) -/* 802480C0 00245000 7C 08 02 A6 */ mflr r0 -/* 802480C4 00245004 90 01 04 84 */ stw r0, 0x484(r1) -/* 802480C8 00245008 DB E1 04 70 */ stfd f31, 0x470(r1) -/* 802480CC 0024500C F3 E1 04 78 */ psq_st f31, 1144(r1), 0, qr0 -/* 802480D0 00245010 DB C1 04 60 */ stfd f30, 0x460(r1) -/* 802480D4 00245014 F3 C1 04 68 */ psq_st f30, 1128(r1), 0, qr0 -/* 802480D8 00245018 DB A1 04 50 */ stfd f29, 0x450(r1) -/* 802480DC 0024501C F3 A1 04 58 */ psq_st f29, 1112(r1), 0, qr0 -/* 802480E0 00245020 BE A1 04 24 */ stmw r21, 0x424(r1) -/* 802480E4 00245024 7C 95 23 78 */ mr r21, r4 -/* 802480E8 00245028 7C 77 1B 78 */ mr r23, r3 -/* 802480EC 0024502C 7E A3 AB 78 */ mr r3, r21 -/* 802480F0 00245030 4B FF AA 89 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802480F4 00245034 80 B7 00 20 */ lwz r5, 0x20(r23) -/* 802480F8 00245038 2C 03 00 01 */ cmpwi r3, 1 -/* 802480FC 0024503C 54 60 30 32 */ slwi r0, r3, 6 -/* 80248100 00245040 80 85 00 10 */ lwz r4, 0x10(r5) -/* 80248104 00245044 7F A4 02 14 */ add r29, r4, r0 -/* 80248108 00245048 40 82 02 D8 */ bne lbl_802483E0 -/* 8024810C 0024504C 83 45 00 28 */ lwz r26, 0x28(r5) -/* 80248110 00245050 7E A3 AB 78 */ mr r3, r21 -/* 80248114 00245054 4B FF AA 59 */ bl getUnitName__Q34Game4Cave8UnitInfoFv -/* 80248118 00245058 80 77 00 24 */ lwz r3, 0x24(r23) -/* 8024811C 0024505C 3B C1 02 08 */ addi r30, r1, 0x208 -/* 80248120 00245060 3B E1 00 08 */ addi r31, r1, 8 -/* 80248124 00245064 38 00 00 08 */ li r0, 8 -/* 80248128 00245068 80 63 00 04 */ lwz r3, 4(r3) -/* 8024812C 0024506C 7F C4 F3 78 */ mr r4, r30 -/* 80248130 00245070 7F E5 FB 78 */ mr r5, r31 -/* 80248134 00245074 3B 60 00 00 */ li r27, 0 -/* 80248138 00245078 3B 83 FF FC */ addi r28, r3, -4 -/* 8024813C 0024507C 7C 09 03 A6 */ mtctr r0 -lbl_80248140: -/* 80248140 00245080 38 00 00 00 */ li r0, 0 -/* 80248144 00245084 90 04 00 00 */ stw r0, 0(r4) -/* 80248148 00245088 90 05 00 00 */ stw r0, 0(r5) -/* 8024814C 0024508C 90 04 00 04 */ stw r0, 4(r4) -/* 80248150 00245090 90 05 00 04 */ stw r0, 4(r5) -/* 80248154 00245094 90 04 00 08 */ stw r0, 8(r4) -/* 80248158 00245098 90 05 00 08 */ stw r0, 8(r5) -/* 8024815C 0024509C 90 04 00 0C */ stw r0, 0xc(r4) -/* 80248160 002450A0 90 05 00 0C */ stw r0, 0xc(r5) -/* 80248164 002450A4 90 04 00 10 */ stw r0, 0x10(r4) -/* 80248168 002450A8 90 05 00 10 */ stw r0, 0x10(r5) -/* 8024816C 002450AC 90 04 00 14 */ stw r0, 0x14(r4) -/* 80248170 002450B0 90 05 00 14 */ stw r0, 0x14(r5) -/* 80248174 002450B4 90 04 00 18 */ stw r0, 0x18(r4) -/* 80248178 002450B8 90 05 00 18 */ stw r0, 0x18(r5) -/* 8024817C 002450BC 90 04 00 1C */ stw r0, 0x1c(r4) -/* 80248180 002450C0 90 05 00 1C */ stw r0, 0x1c(r5) -/* 80248184 002450C4 90 04 00 20 */ stw r0, 0x20(r4) -/* 80248188 002450C8 90 05 00 20 */ stw r0, 0x20(r5) -/* 8024818C 002450CC 90 04 00 24 */ stw r0, 0x24(r4) -/* 80248190 002450D0 90 05 00 24 */ stw r0, 0x24(r5) -/* 80248194 002450D4 90 04 00 28 */ stw r0, 0x28(r4) -/* 80248198 002450D8 90 05 00 28 */ stw r0, 0x28(r5) -/* 8024819C 002450DC 90 04 00 2C */ stw r0, 0x2c(r4) -/* 802481A0 002450E0 90 05 00 2C */ stw r0, 0x2c(r5) -/* 802481A4 002450E4 90 04 00 30 */ stw r0, 0x30(r4) -/* 802481A8 002450E8 90 05 00 30 */ stw r0, 0x30(r5) -/* 802481AC 002450EC 90 04 00 34 */ stw r0, 0x34(r4) -/* 802481B0 002450F0 90 05 00 34 */ stw r0, 0x34(r5) -/* 802481B4 002450F4 90 04 00 38 */ stw r0, 0x38(r4) -/* 802481B8 002450F8 90 05 00 38 */ stw r0, 0x38(r5) -/* 802481BC 002450FC 90 04 00 3C */ stw r0, 0x3c(r4) -/* 802481C0 00245100 38 84 00 40 */ addi r4, r4, 0x40 -/* 802481C4 00245104 90 05 00 3C */ stw r0, 0x3c(r5) -/* 802481C8 00245108 38 A5 00 40 */ addi r5, r5, 0x40 -/* 802481CC 0024510C 42 00 FF 74 */ bdnz lbl_80248140 -/* 802481D0 00245110 82 FA 00 10 */ lwz r23, 0x10(r26) -/* 802481D4 00245114 7F F9 FB 78 */ mr r25, r31 -/* 802481D8 00245118 7F D8 F3 78 */ mr r24, r30 -/* 802481DC 0024511C 48 00 00 9C */ b lbl_80248278 -lbl_802481E0: -/* 802481E0 00245120 80 77 00 18 */ lwz r3, 0x18(r23) -/* 802481E4 00245124 4B FF A9 95 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802481E8 00245128 2C 03 00 01 */ cmpwi r3, 1 -/* 802481EC 0024512C 40 82 00 88 */ bne lbl_80248274 -/* 802481F0 00245130 7F FA FB 78 */ mr r26, r31 -/* 802481F4 00245134 3A C0 00 01 */ li r22, 1 -/* 802481F8 00245138 3A A0 00 00 */ li r21, 0 -/* 802481FC 0024513C 48 00 00 44 */ b lbl_80248240 -lbl_80248200: -/* 80248200 00245140 7E E3 BB 78 */ mr r3, r23 -/* 80248204 00245144 4B FF B7 C1 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 80248208 00245148 7C 64 1B 78 */ mr r4, r3 -/* 8024820C 0024514C 80 7A 00 00 */ lwz r3, 0(r26) -/* 80248210 00245150 4B E8 24 B1 */ bl strcmp -/* 80248214 00245154 2C 03 00 00 */ cmpwi r3, 0 -/* 80248218 00245158 40 82 00 20 */ bne lbl_80248238 -/* 8024821C 0024515C 56 A5 10 3A */ slwi r5, r21, 2 -/* 80248220 00245160 38 81 02 08 */ addi r4, r1, 0x208 -/* 80248224 00245164 7C 64 28 2E */ lwzx r3, r4, r5 -/* 80248228 00245168 3A C0 00 00 */ li r22, 0 -/* 8024822C 0024516C 38 03 00 01 */ addi r0, r3, 1 -/* 80248230 00245170 7C 04 29 2E */ stwx r0, r4, r5 -/* 80248234 00245174 48 00 00 14 */ b lbl_80248248 -lbl_80248238: -/* 80248238 00245178 3B 5A 00 04 */ addi r26, r26, 4 -/* 8024823C 0024517C 3A B5 00 01 */ addi r21, r21, 1 -lbl_80248240: -/* 80248240 00245180 7C 15 D8 00 */ cmpw r21, r27 -/* 80248244 00245184 41 80 FF BC */ blt lbl_80248200 -lbl_80248248: -/* 80248248 00245188 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 8024824C 0024518C 41 82 00 28 */ beq lbl_80248274 -/* 80248250 00245190 7E E3 BB 78 */ mr r3, r23 -/* 80248254 00245194 4B FF B7 71 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 80248258 00245198 80 98 00 00 */ lwz r4, 0(r24) -/* 8024825C 0024519C 3B 7B 00 01 */ addi r27, r27, 1 -/* 80248260 002451A0 90 79 00 00 */ stw r3, 0(r25) -/* 80248264 002451A4 3B 39 00 04 */ addi r25, r25, 4 -/* 80248268 002451A8 38 04 00 01 */ addi r0, r4, 1 -/* 8024826C 002451AC 90 18 00 00 */ stw r0, 0(r24) -/* 80248270 002451B0 3B 18 00 04 */ addi r24, r24, 4 -lbl_80248274: -/* 80248274 002451B4 82 F7 00 04 */ lwz r23, 4(r23) -lbl_80248278: -/* 80248278 002451B8 28 17 00 00 */ cmplwi r23, 0 -/* 8024827C 002451BC 40 82 FF 64 */ bne lbl_802481E0 -/* 80248280 002451C0 7F E6 FB 78 */ mr r6, r31 -/* 80248284 002451C4 38 7B FF FF */ addi r3, r27, -1 -/* 80248288 002451C8 39 20 00 00 */ li r9, 0 -/* 8024828C 002451CC 48 00 00 70 */ b lbl_802482FC -lbl_80248290: -/* 80248290 002451D0 39 49 00 01 */ addi r10, r9, 1 -/* 80248294 002451D4 38 81 02 08 */ addi r4, r1, 0x208 -/* 80248298 002451D8 55 47 10 3A */ slwi r7, r10, 2 -/* 8024829C 002451DC 38 A1 00 08 */ addi r5, r1, 8 -/* 802482A0 002451E0 7C 0A D8 50 */ subf r0, r10, r27 -/* 802482A4 002451E4 7C 84 3A 14 */ add r4, r4, r7 -/* 802482A8 002451E8 7C A5 3A 14 */ add r5, r5, r7 -/* 802482AC 002451EC 7C 09 03 A6 */ mtctr r0 -/* 802482B0 002451F0 7C 0A D8 00 */ cmpw r10, r27 -/* 802482B4 002451F4 40 80 00 3C */ bge lbl_802482F0 -lbl_802482B8: -/* 802482B8 002451F8 80 FE 00 00 */ lwz r7, 0(r30) -/* 802482BC 002451FC 81 04 00 00 */ lwz r8, 0(r4) -/* 802482C0 00245200 7C 07 40 00 */ cmpw r7, r8 -/* 802482C4 00245204 40 81 00 1C */ ble lbl_802482E0 -/* 802482C8 00245208 81 66 00 00 */ lwz r11, 0(r6) -/* 802482CC 0024520C 80 05 00 00 */ lwz r0, 0(r5) -/* 802482D0 00245210 91 1E 00 00 */ stw r8, 0(r30) -/* 802482D4 00245214 90 06 00 00 */ stw r0, 0(r6) -/* 802482D8 00245218 90 E4 00 00 */ stw r7, 0(r4) -/* 802482DC 0024521C 91 65 00 00 */ stw r11, 0(r5) -lbl_802482E0: -/* 802482E0 00245220 38 84 00 04 */ addi r4, r4, 4 -/* 802482E4 00245224 38 A5 00 04 */ addi r5, r5, 4 -/* 802482E8 00245228 39 4A 00 01 */ addi r10, r10, 1 -/* 802482EC 0024522C 42 00 FF CC */ bdnz lbl_802482B8 -lbl_802482F0: -/* 802482F0 00245230 3B DE 00 04 */ addi r30, r30, 4 -/* 802482F4 00245234 38 C6 00 04 */ addi r6, r6, 4 -/* 802482F8 00245238 39 29 00 01 */ addi r9, r9, 1 -lbl_802482FC: -/* 802482FC 0024523C 7C 09 18 00 */ cmpw r9, r3 -/* 80248300 00245240 41 80 FF 90 */ blt lbl_80248290 -/* 80248304 00245244 CB A2 C4 10 */ lfd f29, lbl_8051A770@sda21(r2) -/* 80248308 00245248 3A A0 00 00 */ li r21, 0 -/* 8024830C 0024524C C3 E2 C4 18 */ lfs f31, lbl_8051A778@sda21(r2) -/* 80248310 00245250 3F C0 43 30 */ lis r30, 0x4330 -/* 80248314 00245254 C3 C2 C4 20 */ lfs f30, lbl_8051A780@sda21(r2) -/* 80248318 00245258 48 00 00 BC */ b lbl_802483D4 -lbl_8024831C: -/* 8024831C 0024525C 3A C0 00 00 */ li r22, 0 -lbl_80248320: -/* 80248320 00245260 82 FD 00 10 */ lwz r23, 0x10(r29) -/* 80248324 00245264 48 00 00 34 */ b lbl_80248358 -lbl_80248328: -/* 80248328 00245268 7E E3 BB 78 */ mr r3, r23 -/* 8024832C 0024526C 4B FF B6 99 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 80248330 00245270 80 9F 00 00 */ lwz r4, 0(r31) -/* 80248334 00245274 4B E8 23 8D */ bl strcmp -/* 80248338 00245278 2C 03 00 00 */ cmpwi r3, 0 -/* 8024833C 0024527C 40 82 00 18 */ bne lbl_80248354 -/* 80248340 00245280 7E E3 BB 78 */ mr r3, r23 -/* 80248344 00245284 48 1C 92 8D */ bl del__5CNodeFv -/* 80248348 00245288 7F A3 EB 78 */ mr r3, r29 -/* 8024834C 0024528C 7E E4 BB 78 */ mr r4, r23 -/* 80248350 00245290 48 1C 90 B9 */ bl add__5CNodeFP5CNode -lbl_80248354: -/* 80248354 00245294 82 F7 00 04 */ lwz r23, 4(r23) -lbl_80248358: -/* 80248358 00245298 28 17 00 00 */ cmplwi r23, 0 -/* 8024835C 0024529C 40 82 FF CC */ bne lbl_80248328 -/* 80248360 002452A0 3A D6 00 01 */ addi r22, r22, 1 -/* 80248364 002452A4 2C 16 00 04 */ cmpwi r22, 4 -/* 80248368 002452A8 41 80 FF B8 */ blt lbl_80248320 -/* 8024836C 002452AC 3A C0 00 00 */ li r22, 0 -lbl_80248370: -/* 80248370 002452B0 4B E8 12 31 */ bl rand -/* 80248374 002452B4 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80248378 002452B8 93 C1 04 08 */ stw r30, 0x408(r1) -/* 8024837C 002452BC 7F A3 EB 78 */ mr r3, r29 -/* 80248380 002452C0 90 01 04 0C */ stw r0, 0x40c(r1) -/* 80248384 002452C4 C8 01 04 08 */ lfd f0, 0x408(r1) -/* 80248388 002452C8 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 8024838C 002452CC EC 00 F8 24 */ fdivs f0, f0, f31 -/* 80248390 002452D0 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80248394 002452D4 FC 00 00 1E */ fctiwz f0, f0 -/* 80248398 002452D8 D8 01 04 10 */ stfd f0, 0x410(r1) -/* 8024839C 002452DC 80 01 04 14 */ lwz r0, 0x414(r1) -/* 802483A0 002452E0 7C 9C 02 14 */ add r4, r28, r0 -/* 802483A4 002452E4 48 1C 92 F9 */ bl getChildAt__5CNodeFi -/* 802483A8 002452E8 7C 77 1B 79 */ or. r23, r3, r3 -/* 802483AC 002452EC 41 82 00 14 */ beq lbl_802483C0 -/* 802483B0 002452F0 48 1C 92 21 */ bl del__5CNodeFv -/* 802483B4 002452F4 7F A3 EB 78 */ mr r3, r29 -/* 802483B8 002452F8 7E E4 BB 78 */ mr r4, r23 -/* 802483BC 002452FC 48 1C 90 4D */ bl add__5CNodeFP5CNode -lbl_802483C0: -/* 802483C0 00245300 3A D6 00 01 */ addi r22, r22, 1 -/* 802483C4 00245304 2C 16 00 04 */ cmpwi r22, 4 -/* 802483C8 00245308 41 80 FF A8 */ blt lbl_80248370 -/* 802483CC 0024530C 3B FF 00 04 */ addi r31, r31, 4 -/* 802483D0 00245310 3A B5 00 01 */ addi r21, r21, 1 -lbl_802483D4: -/* 802483D4 00245314 7C 15 D8 00 */ cmpw r21, r27 -/* 802483D8 00245318 41 80 FF 44 */ blt lbl_8024831C -/* 802483DC 0024531C 48 00 00 90 */ b lbl_8024846C -lbl_802483E0: -/* 802483E0 00245320 CB C2 C4 10 */ lfd f30, lbl_8051A770@sda21(r2) -/* 802483E4 00245324 54 78 10 3A */ slwi r24, r3, 2 -/* 802483E8 00245328 C3 E2 C4 18 */ lfs f31, lbl_8051A778@sda21(r2) -/* 802483EC 0024532C 3A A0 00 00 */ li r21, 0 -/* 802483F0 00245330 3F 60 43 30 */ lis r27, 0x4330 -/* 802483F4 00245334 48 00 00 68 */ b lbl_8024845C -lbl_802483F8: -/* 802483F8 00245338 4B E8 11 A9 */ bl rand -/* 802483FC 0024533C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80248400 00245340 6F 20 80 00 */ xoris r0, r25, 0x8000 -/* 80248404 00245344 90 61 04 14 */ stw r3, 0x414(r1) -/* 80248408 00245348 7F A3 EB 78 */ mr r3, r29 -/* 8024840C 0024534C 93 61 04 10 */ stw r27, 0x410(r1) -/* 80248410 00245350 C8 01 04 10 */ lfd f0, 0x410(r1) -/* 80248414 00245354 90 01 04 0C */ stw r0, 0x40c(r1) -/* 80248418 00245358 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8024841C 0024535C 93 61 04 08 */ stw r27, 0x408(r1) -/* 80248420 00245360 EC 20 F8 24 */ fdivs f1, f0, f31 -/* 80248424 00245364 C8 01 04 08 */ lfd f0, 0x408(r1) -/* 80248428 00245368 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8024842C 0024536C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80248430 00245370 FC 00 00 1E */ fctiwz f0, f0 -/* 80248434 00245374 D8 01 04 18 */ stfd f0, 0x418(r1) -/* 80248438 00245378 80 81 04 1C */ lwz r4, 0x41c(r1) -/* 8024843C 0024537C 48 1C 92 61 */ bl getChildAt__5CNodeFi -/* 80248440 00245380 7C 76 1B 79 */ or. r22, r3, r3 -/* 80248444 00245384 41 82 00 14 */ beq lbl_80248458 -/* 80248448 00245388 48 1C 91 89 */ bl del__5CNodeFv -/* 8024844C 0024538C 7F A3 EB 78 */ mr r3, r29 -/* 80248450 00245390 7E C4 B3 78 */ mr r4, r22 -/* 80248454 00245394 48 1C 8F B5 */ bl add__5CNodeFP5CNode -lbl_80248458: -/* 80248458 00245398 3A B5 00 01 */ addi r21, r21, 1 -lbl_8024845C: -/* 8024845C 0024539C 80 17 00 24 */ lwz r0, 0x24(r23) -/* 80248460 002453A0 7F 38 00 2E */ lwzx r25, r24, r0 -/* 80248464 002453A4 7C 15 C8 00 */ cmpw r21, r25 -/* 80248468 002453A8 41 80 FF 90 */ blt lbl_802483F8 -lbl_8024846C: -/* 8024846C 002453AC E3 E1 04 78 */ psq_l f31, 1144(r1), 0, qr0 -/* 80248470 002453B0 CB E1 04 70 */ lfd f31, 0x470(r1) -/* 80248474 002453B4 E3 C1 04 68 */ psq_l f30, 1128(r1), 0, qr0 -/* 80248478 002453B8 CB C1 04 60 */ lfd f30, 0x460(r1) -/* 8024847C 002453BC E3 A1 04 58 */ psq_l f29, 1112(r1), 0, qr0 -/* 80248480 002453C0 CB A1 04 50 */ lfd f29, 0x450(r1) -/* 80248484 002453C4 BA A1 04 24 */ lmw r21, 0x424(r1) -/* 80248488 002453C8 80 01 04 84 */ lwz r0, 0x484(r1) -/* 8024848C 002453CC 7C 08 03 A6 */ mtlr r0 -/* 80248490 002453D0 38 21 04 80 */ addi r1, r1, 0x480 -/* 80248494 002453D4 4E 80 00 20 */ blr - -.global moveCentre__Q34Game4Cave11RandMapUnitFv -moveCentre__Q34Game4Cave11RandMapUnitFv: -/* 80248498 002453D8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024849C 002453DC 7C 08 02 A6 */ mflr r0 -/* 802484A0 002453E0 90 01 00 34 */ stw r0, 0x34(r1) -/* 802484A4 002453E4 BE C1 00 08 */ stmw r22, 8(r1) -/* 802484A8 002453E8 7C 7F 1B 78 */ mr r31, r3 -/* 802484AC 002453EC 3B A0 CE 00 */ li r29, -12800 -/* 802484B0 002453F0 3B 80 CE 00 */ li r28, -12800 -/* 802484B4 002453F4 3B 60 32 00 */ li r27, 0x3200 -/* 802484B8 002453F8 3B 40 32 00 */ li r26, 0x3200 -/* 802484BC 002453FC 80 63 00 20 */ lwz r3, 0x20(r3) -/* 802484C0 00245400 83 C3 00 28 */ lwz r30, 0x28(r3) -/* 802484C4 00245404 83 3E 00 10 */ lwz r25, 0x10(r30) -/* 802484C8 00245408 48 00 00 70 */ b lbl_80248538 -lbl_802484CC: -/* 802484CC 0024540C 7F 23 CB 78 */ mr r3, r25 -/* 802484D0 00245410 4B FF B4 CD */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 802484D4 00245414 7C 60 1B 78 */ mr r0, r3 -/* 802484D8 00245418 80 79 00 18 */ lwz r3, 0x18(r25) -/* 802484DC 0024541C 7C 18 03 78 */ mr r24, r0 -/* 802484E0 00245420 4B FF A6 A5 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 802484E4 00245424 7E F8 1A 14 */ add r23, r24, r3 -/* 802484E8 00245428 7F 23 CB 78 */ mr r3, r25 -/* 802484EC 0024542C 4B FF B4 B9 */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 802484F0 00245430 7C 60 1B 78 */ mr r0, r3 -/* 802484F4 00245434 80 79 00 18 */ lwz r3, 0x18(r25) -/* 802484F8 00245438 7C 16 03 78 */ mr r22, r0 -/* 802484FC 0024543C 4B FF A6 91 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 80248500 00245440 7C 18 D8 00 */ cmpw r24, r27 -/* 80248504 00245444 7C 16 1A 14 */ add r0, r22, r3 -/* 80248508 00245448 40 80 00 08 */ bge lbl_80248510 -/* 8024850C 0024544C 7F 1B C3 78 */ mr r27, r24 -lbl_80248510: -/* 80248510 00245450 7C 17 E8 00 */ cmpw r23, r29 -/* 80248514 00245454 40 81 00 08 */ ble lbl_8024851C -/* 80248518 00245458 7E FD BB 78 */ mr r29, r23 -lbl_8024851C: -/* 8024851C 0024545C 7C 16 D0 00 */ cmpw r22, r26 -/* 80248520 00245460 40 80 00 08 */ bge lbl_80248528 -/* 80248524 00245464 7E DA B3 78 */ mr r26, r22 -lbl_80248528: -/* 80248528 00245468 7C 00 E0 00 */ cmpw r0, r28 -/* 8024852C 0024546C 40 81 00 08 */ ble lbl_80248534 -/* 80248530 00245470 7C 1C 03 78 */ mr r28, r0 -lbl_80248534: -/* 80248534 00245474 83 39 00 04 */ lwz r25, 4(r25) -lbl_80248538: -/* 80248538 00245478 28 19 00 00 */ cmplwi r25, 0 -/* 8024853C 0024547C 40 82 FF 90 */ bne lbl_802484CC -/* 80248540 00245480 82 DE 00 10 */ lwz r22, 0x10(r30) -/* 80248544 00245484 48 00 00 30 */ b lbl_80248574 -lbl_80248548: -/* 80248548 00245488 7E C3 B3 78 */ mr r3, r22 -/* 8024854C 0024548C 4B FF B4 51 */ bl getNodeOffsetX__Q34Game4Cave7MapNodeFv -/* 80248550 00245490 7C 7E 1B 78 */ mr r30, r3 -/* 80248554 00245494 7E C3 B3 78 */ mr r3, r22 -/* 80248558 00245498 4B FF B4 4D */ bl getNodeOffsetY__Q34Game4Cave7MapNodeFv -/* 8024855C 0024549C 7C 60 1B 78 */ mr r0, r3 -/* 80248560 002454A0 7E C3 B3 78 */ mr r3, r22 -/* 80248564 002454A4 7C 9B F0 50 */ subf r4, r27, r30 -/* 80248568 002454A8 7C BA 00 50 */ subf r5, r26, r0 -/* 8024856C 002454AC 4B FF AA B1 */ bl setOffset__Q34Game4Cave7MapNodeFii -/* 80248570 002454B0 82 D6 00 04 */ lwz r22, 4(r22) -lbl_80248574: -/* 80248574 002454B4 28 16 00 00 */ cmplwi r22, 0 -/* 80248578 002454B8 40 82 FF D0 */ bne lbl_80248548 -/* 8024857C 002454BC 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 80248580 002454C0 28 00 00 00 */ cmplwi r0, 0 -/* 80248584 002454C4 40 82 00 2C */ bne lbl_802485B0 -/* 80248588 002454C8 7C 1B E8 50 */ subf r0, r27, r29 -/* 8024858C 002454CC 2C 00 00 23 */ cmpwi r0, 0x23 -/* 80248590 002454D0 40 81 00 0C */ ble lbl_8024859C -/* 80248594 002454D4 38 00 00 01 */ li r0, 1 -/* 80248598 002454D8 98 1F 00 0C */ stb r0, 0xc(r31) -lbl_8024859C: -/* 8024859C 002454DC 7C 1A E0 50 */ subf r0, r26, r28 -/* 802485A0 002454E0 2C 00 00 23 */ cmpwi r0, 0x23 -/* 802485A4 002454E4 40 81 00 0C */ ble lbl_802485B0 -/* 802485A8 002454E8 38 00 00 01 */ li r0, 1 -/* 802485AC 002454EC 98 1F 00 0C */ stb r0, 0xc(r31) -lbl_802485B0: -/* 802485B0 002454F0 BA C1 00 08 */ lmw r22, 8(r1) -/* 802485B4 002454F4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802485B8 002454F8 7C 08 03 A6 */ mtlr r0 -/* 802485BC 002454FC 38 21 00 30 */ addi r1, r1, 0x30 -/* 802485C0 00245500 4E 80 00 20 */ blr - -.global closeDoorCheck__Q34Game4Cave11RandMapUnitFv -closeDoorCheck__Q34Game4Cave11RandMapUnitFv: -/* 802485C4 00245504 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802485C8 00245508 7C 08 02 A6 */ mflr r0 -/* 802485CC 0024550C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802485D0 00245510 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 802485D4 00245514 80 63 00 20 */ lwz r3, 0x20(r3) -/* 802485D8 00245518 83 E3 00 28 */ lwz r31, 0x28(r3) -/* 802485DC 0024551C 83 DF 00 10 */ lwz r30, 0x10(r31) -/* 802485E0 00245520 48 00 00 FC */ b lbl_802486DC -lbl_802485E4: -/* 802485E4 00245524 3B A0 00 00 */ li r29, 0 -/* 802485E8 00245528 48 00 00 E0 */ b lbl_802486C8 -lbl_802485EC: -/* 802485EC 0024552C 7F C3 F3 78 */ mr r3, r30 -/* 802485F0 00245530 7F A4 EB 78 */ mr r4, r29 -/* 802485F4 00245534 4B FF AD 25 */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 802485F8 00245538 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802485FC 0024553C 40 82 00 C8 */ bne lbl_802486C4 -/* 80248600 00245540 7F C3 F3 78 */ mr r3, r30 -/* 80248604 00245544 7F A4 EB 78 */ mr r4, r29 -/* 80248608 00245548 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8024860C 0024554C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80248610 00245550 4B FF AA 3D */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80248614 00245554 7F C3 F3 78 */ mr r3, r30 -/* 80248618 00245558 7F A4 EB 78 */ mr r4, r29 -/* 8024861C 0024555C 4B FF AE 69 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80248620 00245560 83 7F 00 10 */ lwz r27, 0x10(r31) -/* 80248624 00245564 7C 7C 1B 78 */ mr r28, r3 -/* 80248628 00245568 48 00 00 94 */ b lbl_802486BC -lbl_8024862C: -/* 8024862C 0024556C 7C 1E D8 40 */ cmplw r30, r27 -/* 80248630 00245570 41 82 00 88 */ beq lbl_802486B8 -/* 80248634 00245574 3B 40 00 00 */ li r26, 0 -/* 80248638 00245578 48 00 00 70 */ b lbl_802486A8 -lbl_8024863C: -/* 8024863C 0024557C 7F 63 DB 78 */ mr r3, r27 -/* 80248640 00245580 7F 44 D3 78 */ mr r4, r26 -/* 80248644 00245584 4B FF AE 41 */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 80248648 00245588 7C 64 1B 78 */ mr r4, r3 -/* 8024864C 0024558C 7F 83 E3 78 */ mr r3, r28 -/* 80248650 00245590 48 00 33 8D */ bl isDoorAdjust__Q34Game4Cave8DoorNodeFPQ34Game4Cave8DoorNode -/* 80248654 00245594 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80248658 00245598 41 82 00 4C */ beq lbl_802486A4 -/* 8024865C 0024559C 7F 63 DB 78 */ mr r3, r27 -/* 80248660 002455A0 7F 44 D3 78 */ mr r4, r26 -/* 80248664 002455A4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80248668 002455A8 38 C1 00 08 */ addi r6, r1, 8 -/* 8024866C 002455AC 4B FF A9 E1 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80248670 002455B0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80248674 002455B4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80248678 002455B8 7C 03 00 00 */ cmpw r3, r0 -/* 8024867C 002455BC 40 82 00 28 */ bne lbl_802486A4 -/* 80248680 002455C0 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80248684 002455C4 80 01 00 08 */ lwz r0, 8(r1) -/* 80248688 002455C8 7C 03 00 00 */ cmpw r3, r0 -/* 8024868C 002455CC 40 82 00 18 */ bne lbl_802486A4 -/* 80248690 002455D0 7F C3 F3 78 */ mr r3, r30 -/* 80248694 002455D4 7F A4 EB 78 */ mr r4, r29 -/* 80248698 002455D8 7F 65 DB 78 */ mr r5, r27 -/* 8024869C 002455DC 7F 46 D3 78 */ mr r6, r26 -/* 802486A0 002455E0 4B FF AB A9 */ bl setDoorClose__Q34Game4Cave7MapNodeFiPQ34Game4Cave7MapNodei -lbl_802486A4: -/* 802486A4 002455E4 3B 5A 00 01 */ addi r26, r26, 1 -lbl_802486A8: -/* 802486A8 002455E8 7F 63 DB 78 */ mr r3, r27 -/* 802486AC 002455EC 4B FF B9 B5 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802486B0 002455F0 7C 1A 18 00 */ cmpw r26, r3 -/* 802486B4 002455F4 41 80 FF 88 */ blt lbl_8024863C -lbl_802486B8: -/* 802486B8 002455F8 83 7B 00 04 */ lwz r27, 4(r27) -lbl_802486BC: -/* 802486BC 002455FC 28 1B 00 00 */ cmplwi r27, 0 -/* 802486C0 00245600 40 82 FF 6C */ bne lbl_8024862C -lbl_802486C4: -/* 802486C4 00245604 3B BD 00 01 */ addi r29, r29, 1 -lbl_802486C8: -/* 802486C8 00245608 7F C3 F3 78 */ mr r3, r30 -/* 802486CC 0024560C 4B FF B9 95 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802486D0 00245610 7C 1D 18 00 */ cmpw r29, r3 -/* 802486D4 00245614 41 80 FF 18 */ blt lbl_802485EC -/* 802486D8 00245618 83 DE 00 04 */ lwz r30, 4(r30) -lbl_802486DC: -/* 802486DC 0024561C 28 1E 00 00 */ cmplwi r30, 0 -/* 802486E0 00245620 40 82 FF 04 */ bne lbl_802485E4 -/* 802486E4 00245624 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802486E8 00245628 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802486EC 0024562C 7C 08 03 A6 */ mtlr r0 -/* 802486F0 00245630 38 21 00 30 */ addi r1, r1, 0x30 -/* 802486F4 00245634 4E 80 00 20 */ blr - -.global deleteMapNode__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode -deleteMapNode__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNode: -/* 802486F8 00245638 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802486FC 0024563C 7C 08 02 A6 */ mflr r0 -/* 80248700 00245640 90 01 00 14 */ stw r0, 0x14(r1) -/* 80248704 00245644 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80248708 00245648 7C 9F 23 78 */ mr r31, r4 -/* 8024870C 0024564C 7F E3 FB 78 */ mr r3, r31 -/* 80248710 00245650 4B FF AB 6D */ bl detachDoorClose__Q34Game4Cave7MapNodeFv -/* 80248714 00245654 7F E3 FB 78 */ mr r3, r31 -/* 80248718 00245658 48 1C 8E B9 */ bl del__5CNodeFv -/* 8024871C 0024565C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80248720 00245660 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80248724 00245664 7C 08 03 A6 */ mtlr r0 -/* 80248728 00245668 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024872C 0024566C 4E 80 00 20 */ blr - -.global createLoopMapNodeCheck__Q34Game4Cave11RandMapUnitFv -createLoopMapNodeCheck__Q34Game4Cave11RandMapUnitFv: -/* 80248730 00245670 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80248734 00245674 7C 08 02 A6 */ mflr r0 -/* 80248738 00245678 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024873C 0024567C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80248740 00245680 7C 7C 1B 78 */ mr r28, r3 -/* 80248744 00245684 88 03 00 0D */ lbz r0, 0xd(r3) -/* 80248748 00245688 28 00 00 00 */ cmplwi r0, 0 -/* 8024874C 0024568C 41 82 01 68 */ beq lbl_802488B4 -/* 80248750 00245690 3B E0 00 00 */ li r31, 0 -/* 80248754 00245694 9B FC 00 0D */ stb r31, 0xd(r28) -/* 80248758 00245698 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 8024875C 0024569C 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80248760 002456A0 83 63 00 10 */ lwz r27, 0x10(r3) -/* 80248764 002456A4 48 00 00 3C */ b lbl_802487A0 -lbl_80248768: -/* 80248768 002456A8 3B A0 00 00 */ li r29, 0 -/* 8024876C 002456AC 48 00 00 20 */ b lbl_8024878C -lbl_80248770: -/* 80248770 002456B0 7F 63 DB 78 */ mr r3, r27 -/* 80248774 002456B4 7F A4 EB 78 */ mr r4, r29 -/* 80248778 002456B8 4B FF AB A1 */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 8024877C 002456BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80248780 002456C0 40 82 00 08 */ bne lbl_80248788 -/* 80248784 002456C4 3B FF 00 01 */ addi r31, r31, 1 -lbl_80248788: -/* 80248788 002456C8 3B BD 00 01 */ addi r29, r29, 1 -lbl_8024878C: -/* 8024878C 002456CC 7F 63 DB 78 */ mr r3, r27 -/* 80248790 002456D0 4B FF B8 D1 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80248794 002456D4 7C 1D 18 00 */ cmpw r29, r3 -/* 80248798 002456D8 41 80 FF D8 */ blt lbl_80248770 -/* 8024879C 002456DC 83 7B 00 04 */ lwz r27, 4(r27) -lbl_802487A0: -/* 802487A0 002456E0 28 1B 00 00 */ cmplwi r27, 0 -/* 802487A4 002456E4 40 82 FF C4 */ bne lbl_80248768 -/* 802487A8 002456E8 3B A0 00 00 */ li r29, 0 -/* 802487AC 002456EC 48 00 01 00 */ b lbl_802488AC -lbl_802487B0: -/* 802487B0 002456F0 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 802487B4 002456F4 2C 00 00 10 */ cmpwi r0, 0x10 -/* 802487B8 002456F8 40 80 00 F0 */ bge lbl_802488A8 -/* 802487BC 002456FC 4B E8 0D E5 */ bl rand -/* 802487C0 00245700 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802487C4 00245704 3C 00 43 30 */ lis r0, 0x4330 -/* 802487C8 00245708 90 61 00 14 */ stw r3, 0x14(r1) -/* 802487CC 0024570C C8 62 C4 10 */ lfd f3, lbl_8051A770@sda21(r2) -/* 802487D0 00245710 90 01 00 10 */ stw r0, 0x10(r1) -/* 802487D4 00245714 C0 42 C4 08 */ lfs f2, lbl_8051A768@sda21(r2) -/* 802487D8 00245718 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 802487DC 0024571C C0 22 C4 18 */ lfs f1, lbl_8051A778@sda21(r2) -/* 802487E0 00245720 EC 60 18 28 */ fsubs f3, f0, f3 -/* 802487E4 00245724 C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 802487E8 00245728 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 802487EC 0024572C EC 22 08 24 */ fdivs f1, f2, f1 -/* 802487F0 00245730 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802487F4 00245734 40 80 00 B4 */ bge lbl_802488A8 -/* 802487F8 00245738 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 802487FC 0024573C 3B 40 00 00 */ li r26, 0 -/* 80248800 00245740 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80248804 00245744 83 63 00 10 */ lwz r27, 0x10(r3) -/* 80248808 00245748 48 00 00 68 */ b lbl_80248870 -lbl_8024880C: -/* 8024880C 0024574C 3B C0 00 00 */ li r30, 0 -/* 80248810 00245750 48 00 00 4C */ b lbl_8024885C -lbl_80248814: -/* 80248814 00245754 7F 63 DB 78 */ mr r3, r27 -/* 80248818 00245758 7F C4 F3 78 */ mr r4, r30 -/* 8024881C 0024575C 4B FF AA FD */ bl isDoorClose__Q34Game4Cave7MapNodeFi -/* 80248820 00245760 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80248824 00245764 40 82 00 34 */ bne lbl_80248858 -/* 80248828 00245768 7C 1A E8 00 */ cmpw r26, r29 -/* 8024882C 0024576C 40 82 00 28 */ bne lbl_80248854 -/* 80248830 00245770 7F 63 DB 78 */ mr r3, r27 -/* 80248834 00245774 7F C4 F3 78 */ mr r4, r30 -/* 80248838 00245778 4B FF AC 4D */ bl getDoorNode__Q34Game4Cave7MapNodeFi -/* 8024883C 0024577C 7F 63 DB 78 */ mr r3, r27 -/* 80248840 00245780 7F C4 F3 78 */ mr r4, r30 -/* 80248844 00245784 38 A1 00 0C */ addi r5, r1, 0xc -/* 80248848 00245788 38 C1 00 08 */ addi r6, r1, 8 -/* 8024884C 0024578C 4B FF A8 01 */ bl getDoorOffset__Q34Game4Cave7MapNodeFiRiRi -/* 80248850 00245790 48 00 00 2C */ b lbl_8024887C -lbl_80248854: -/* 80248854 00245794 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80248858: -/* 80248858 00245798 3B DE 00 01 */ addi r30, r30, 1 -lbl_8024885C: -/* 8024885C 0024579C 7F 63 DB 78 */ mr r3, r27 -/* 80248860 002457A0 4B FF B8 01 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80248864 002457A4 7C 1E 18 00 */ cmpw r30, r3 -/* 80248868 002457A8 41 80 FF AC */ blt lbl_80248814 -/* 8024886C 002457AC 83 7B 00 04 */ lwz r27, 4(r27) -lbl_80248870: -/* 80248870 002457B0 28 1B 00 00 */ cmplwi r27, 0 -/* 80248874 002457B4 40 82 FF 98 */ bne lbl_8024880C -/* 80248878 002457B8 3B 60 00 00 */ li r27, 0 -lbl_8024887C: -/* 8024887C 002457BC 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80248880 002457C0 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 80248884 002457C4 54 00 10 3A */ slwi r0, r0, 2 -/* 80248888 002457C8 7F 63 01 2E */ stwx r27, r3, r0 -/* 8024888C 002457CC 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80248890 002457D0 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80248894 002457D4 54 00 10 3A */ slwi r0, r0, 2 -/* 80248898 002457D8 7F C3 01 2E */ stwx r30, r3, r0 -/* 8024889C 002457DC 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 802488A0 002457E0 38 03 00 01 */ addi r0, r3, 1 -/* 802488A4 002457E4 90 1C 00 10 */ stw r0, 0x10(r28) -lbl_802488A8: -/* 802488A8 002457E8 3B BD 00 01 */ addi r29, r29, 1 -lbl_802488AC: -/* 802488AC 002457EC 7C 1D F8 00 */ cmpw r29, r31 -/* 802488B0 002457F0 41 80 FF 00 */ blt lbl_802487B0 -lbl_802488B4: -/* 802488B4 002457F4 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 802488B8 002457F8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802488BC 002457FC 7C 08 03 A6 */ mtlr r0 -/* 802488C0 00245800 38 21 00 30 */ addi r1, r1, 0x30 -/* 802488C4 00245804 4E 80 00 20 */ blr - -.global isLoopMapNodeCheck__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodei -isLoopMapNodeCheck__Q34Game4Cave11RandMapUnitFPQ34Game4Cave7MapNodei: -/* 802488C8 00245808 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802488CC 0024580C 38 E0 00 00 */ li r7, 0 -/* 802488D0 00245810 7C 09 03 A6 */ mtctr r0 -/* 802488D4 00245814 2C 00 00 00 */ cmpwi r0, 0 -/* 802488D8 00245818 40 81 00 34 */ ble lbl_8024890C -lbl_802488DC: -/* 802488DC 0024581C 80 C3 00 18 */ lwz r6, 0x18(r3) -/* 802488E0 00245820 7C 06 38 2E */ lwzx r0, r6, r7 -/* 802488E4 00245824 7C 04 00 40 */ cmplw r4, r0 -/* 802488E8 00245828 40 82 00 1C */ bne lbl_80248904 -/* 802488EC 0024582C 80 C3 00 1C */ lwz r6, 0x1c(r3) -/* 802488F0 00245830 7C 06 38 2E */ lwzx r0, r6, r7 -/* 802488F4 00245834 7C 05 00 00 */ cmpw r5, r0 -/* 802488F8 00245838 40 82 00 0C */ bne lbl_80248904 -/* 802488FC 0024583C 38 60 00 00 */ li r3, 0 -/* 80248900 00245840 4E 80 00 20 */ blr -lbl_80248904: -/* 80248904 00245844 38 E7 00 04 */ addi r7, r7, 4 -/* 80248908 00245848 42 00 FF D4 */ bdnz lbl_802488DC -lbl_8024890C: -/* 8024890C 0024584C 38 60 00 01 */ li r3, 1 -/* 80248910 00245850 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave16MapUnitGeneratorb -__ct__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave16MapUnitGeneratorb: -/* 80248914 00245854 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80248918 00245858 7C 08 02 A6 */ mflr r0 -/* 8024891C 0024585C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80248920 00245860 38 00 00 00 */ li r0, 0 -/* 80248924 00245864 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80248928 00245868 7C BF 2B 78 */ mr r31, r5 -/* 8024892C 0024586C 93 C1 00 08 */ stw r30, 8(r1) -/* 80248930 00245870 7C 7E 1B 78 */ mr r30, r3 -/* 80248934 00245874 90 83 00 00 */ stw r4, 0(r3) -/* 80248938 00245878 90 03 00 08 */ stw r0, 8(r3) -/* 8024893C 0024587C 80 63 00 00 */ lwz r3, 0(r3) -/* 80248940 00245880 80 63 00 08 */ lwz r3, 8(r3) -/* 80248944 00245884 28 03 00 00 */ cmplwi r3, 0 -/* 80248948 00245888 41 82 00 10 */ beq lbl_80248958 -/* 8024894C 0024588C 4B F8 E3 99 */ bl getTekiMax__Q34Game4Cave9FloorInfoFv -/* 80248950 00245890 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80248954 00245894 48 00 00 08 */ b lbl_8024895C -lbl_80248958: -/* 80248958 00245898 90 1E 00 0C */ stw r0, 0xc(r30) -lbl_8024895C: -/* 8024895C 0024589C 38 60 00 00 */ li r3, 0 -/* 80248960 002458A0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80248964 002458A4 90 7E 00 30 */ stw r3, 0x30(r30) -/* 80248968 002458A8 90 7E 00 34 */ stw r3, 0x34(r30) -/* 8024896C 002458AC 90 7E 00 38 */ stw r3, 0x38(r30) -/* 80248970 002458B0 41 82 00 20 */ beq lbl_80248990 -/* 80248974 002458B4 80 7E 00 00 */ lwz r3, 0(r30) -/* 80248978 002458B8 88 03 00 02 */ lbz r0, 2(r3) -/* 8024897C 002458BC 28 00 00 00 */ cmplwi r0, 0 -/* 80248980 002458C0 41 82 00 10 */ beq lbl_80248990 -/* 80248984 002458C4 38 00 00 01 */ li r0, 1 -/* 80248988 002458C8 98 1E 00 3C */ stb r0, 0x3c(r30) -/* 8024898C 002458CC 48 00 00 0C */ b lbl_80248998 -lbl_80248990: -/* 80248990 002458D0 38 00 00 00 */ li r0, 0 -/* 80248994 002458D4 98 1E 00 3C */ stb r0, 0x3c(r30) -lbl_80248998: -/* 80248998 002458D8 7F C3 F3 78 */ mr r3, r30 -/* 8024899C 002458DC 48 00 00 7D */ bl setEnemyTypeWeight__Q34Game4Cave13RandEnemyUnitFv -/* 802489A0 002458E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802489A4 002458E4 7F C3 F3 78 */ mr r3, r30 -/* 802489A8 002458E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802489AC 002458EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802489B0 002458F0 7C 08 03 A6 */ mtlr r0 -/* 802489B4 002458F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802489B8 002458F8 4E 80 00 20 */ blr - -.global setManageClassPtr__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave12RandMapScore -setManageClassPtr__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave12RandMapScore: -/* 802489BC 002458FC 90 83 00 04 */ stw r4, 4(r3) -/* 802489C0 00245900 4E 80 00 20 */ blr - -.global setEnemySlot__Q34Game4Cave13RandEnemyUnitFv -setEnemySlot__Q34Game4Cave13RandEnemyUnitFv: -/* 802489C4 00245904 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802489C8 00245908 7C 08 02 A6 */ mflr r0 -/* 802489CC 0024590C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802489D0 00245910 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802489D4 00245914 7C 7F 1B 78 */ mr r31, r3 -/* 802489D8 00245918 80 83 00 08 */ lwz r4, 8(r3) -/* 802489DC 0024591C 80 03 00 0C */ lwz r0, 0xc(r3) -/* 802489E0 00245920 7C 04 00 00 */ cmpw r4, r0 -/* 802489E4 00245924 40 80 00 20 */ bge lbl_80248A04 -/* 802489E8 00245928 48 00 02 A9 */ bl setEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv -/* 802489EC 0024592C 7F E3 FB 78 */ mr r3, r31 -/* 802489F0 00245930 48 00 03 91 */ bl setEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv -/* 802489F4 00245934 7F E3 FB 78 */ mr r3, r31 -/* 802489F8 00245938 48 00 04 55 */ bl setEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv -/* 802489FC 0024593C 7F E3 FB 78 */ mr r3, r31 -/* 80248A00 00245940 48 00 05 19 */ bl setEnemyTypeA__Q34Game4Cave13RandEnemyUnitFv -lbl_80248A04: -/* 80248A04 00245944 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80248A08 00245948 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80248A0C 0024594C 7C 08 03 A6 */ mtlr r0 -/* 80248A10 00245950 38 21 00 10 */ addi r1, r1, 0x10 -/* 80248A14 00245954 4E 80 00 20 */ blr - -.global setEnemyTypeWeight__Q34Game4Cave13RandEnemyUnitFv -setEnemyTypeWeight__Q34Game4Cave13RandEnemyUnitFv: -/* 80248A18 00245958 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80248A1C 0024595C 7C 08 02 A6 */ mflr r0 -/* 80248A20 00245960 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80248A24 00245964 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80248A28 00245968 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80248A2C 0024596C DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80248A30 00245970 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80248A34 00245974 BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 80248A38 00245978 7C 7E 1B 78 */ mr r30, r3 -/* 80248A3C 0024597C 38 60 00 00 */ li r3, 0 -/* 80248A40 00245980 81 5E 00 00 */ lwz r10, 0(r30) -/* 80248A44 00245984 3C 80 80 48 */ lis r4, lbl_80480004@ha -/* 80248A48 00245988 84 E4 40 C0 */ lwzu r7, 0x40c0(r4) -/* 80248A4C 0024598C 38 01 00 28 */ addi r0, r1, 0x28 -/* 80248A50 00245990 81 4A 00 14 */ lwz r10, 0x14(r10) -/* 80248A54 00245994 39 01 00 18 */ addi r8, r1, 0x18 -/* 80248A58 00245998 80 C4 00 04 */ lwz r6, lbl_80480004@l(r4) -/* 80248A5C 0024599C 39 20 00 00 */ li r9, 0 -/* 80248A60 002459A0 80 A4 00 08 */ lwz r5, 8(r4) -/* 80248A64 002459A4 80 84 00 0C */ lwz r4, 0xc(r4) -/* 80248A68 002459A8 90 61 00 28 */ stw r3, 0x28(r1) -/* 80248A6C 002459AC 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80248A70 002459B0 90 7E 00 20 */ stw r3, 0x20(r30) -/* 80248A74 002459B4 90 7E 00 14 */ stw r3, 0x14(r30) -/* 80248A78 002459B8 90 7E 00 24 */ stw r3, 0x24(r30) -/* 80248A7C 002459BC 90 7E 00 18 */ stw r3, 0x18(r30) -/* 80248A80 002459C0 90 7E 00 28 */ stw r3, 0x28(r30) -/* 80248A84 002459C4 90 7E 00 1C */ stw r3, 0x1c(r30) -/* 80248A88 002459C8 90 7E 00 2C */ stw r3, 0x2c(r30) -/* 80248A8C 002459CC 90 E1 00 38 */ stw r7, 0x38(r1) -/* 80248A90 002459D0 81 4A 00 10 */ lwz r10, 0x10(r10) -/* 80248A94 002459D4 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 80248A98 002459D8 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80248A9C 002459DC 90 81 00 44 */ stw r4, 0x44(r1) -/* 80248AA0 002459E0 90 61 00 18 */ stw r3, 0x18(r1) -/* 80248AA4 002459E4 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80248AA8 002459E8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80248AAC 002459EC 90 61 00 30 */ stw r3, 0x30(r1) -/* 80248AB0 002459F0 90 61 00 20 */ stw r3, 0x20(r1) -/* 80248AB4 002459F4 90 61 00 34 */ stw r3, 0x34(r1) -/* 80248AB8 002459F8 90 61 00 24 */ stw r3, 0x24(r1) -/* 80248ABC 002459FC 48 00 00 B8 */ b lbl_80248B74 -lbl_80248AC0: -/* 80248AC0 00245A00 80 6A 00 18 */ lwz r3, 0x18(r10) -/* 80248AC4 00245A04 80 63 00 00 */ lwz r3, 0(r3) -/* 80248AC8 00245A08 28 03 00 00 */ cmplwi r3, 0 -/* 80248ACC 00245A0C 41 82 00 A4 */ beq lbl_80248B70 -/* 80248AD0 00245A10 39 60 00 04 */ li r11, 4 -/* 80248AD4 00245A14 7C 05 03 78 */ mr r5, r0 -/* 80248AD8 00245A18 7F C6 F3 78 */ mr r6, r30 -/* 80248ADC 00245A1C 7D 07 43 78 */ mr r7, r8 -/* 80248AE0 00245A20 38 81 00 38 */ addi r4, r1, 0x38 -/* 80248AE4 00245A24 7D 69 03 A6 */ mtctr r11 -lbl_80248AE8: -/* 80248AE8 00245A28 81 83 00 20 */ lwz r12, 0x20(r3) -/* 80248AEC 00245A2C 81 64 00 00 */ lwz r11, 0(r4) -/* 80248AF0 00245A30 7C 0C 58 00 */ cmpw r12, r11 -/* 80248AF4 00245A34 40 82 00 68 */ bne lbl_80248B5C -/* 80248AF8 00245A38 3D 60 66 66 */ lis r11, 0x66666667@ha -/* 80248AFC 00245A3C 83 A3 00 1C */ lwz r29, 0x1c(r3) -/* 80248B00 00245A40 39 6B 66 67 */ addi r11, r11, 0x66666667@l -/* 80248B04 00245A44 7D 6B E8 96 */ mulhw r11, r11, r29 -/* 80248B08 00245A48 7D 6C 16 70 */ srawi r12, r11, 2 -/* 80248B0C 00245A4C 55 9C 0F FE */ srwi r28, r12, 0x1f -/* 80248B10 00245A50 7D 6B 16 70 */ srawi r11, r11, 2 -/* 80248B14 00245A54 7D 8C E2 14 */ add r12, r12, r28 -/* 80248B18 00245A58 1F 8C 00 0A */ mulli r28, r12, 0xa -/* 80248B1C 00245A5C 55 6C 0F FE */ srwi r12, r11, 0x1f -/* 80248B20 00245A60 7F EB 62 14 */ add r31, r11, r12 -/* 80248B24 00245A64 7D 9C E8 51 */ subf. r12, r28, r29 -/* 80248B28 00245A68 41 82 00 14 */ beq lbl_80248B3C -/* 80248B2C 00245A6C 81 65 00 00 */ lwz r11, 0(r5) -/* 80248B30 00245A70 7D 29 62 14 */ add r9, r9, r12 -/* 80248B34 00245A74 7D 6B 62 14 */ add r11, r11, r12 -/* 80248B38 00245A78 91 65 00 00 */ stw r11, 0(r5) -lbl_80248B3C: -/* 80248B3C 00245A7C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80248B40 00245A80 41 82 00 1C */ beq lbl_80248B5C -/* 80248B44 00245A84 81 86 00 20 */ lwz r12, 0x20(r6) -/* 80248B48 00245A88 81 67 00 00 */ lwz r11, 0(r7) -/* 80248B4C 00245A8C 7D 8C FA 14 */ add r12, r12, r31 -/* 80248B50 00245A90 7D 6B FA 14 */ add r11, r11, r31 -/* 80248B54 00245A94 91 86 00 20 */ stw r12, 0x20(r6) -/* 80248B58 00245A98 91 67 00 00 */ stw r11, 0(r7) -lbl_80248B5C: -/* 80248B5C 00245A9C 38 84 00 04 */ addi r4, r4, 4 -/* 80248B60 00245AA0 38 A5 00 04 */ addi r5, r5, 4 -/* 80248B64 00245AA4 38 C6 00 04 */ addi r6, r6, 4 -/* 80248B68 00245AA8 38 E7 00 04 */ addi r7, r7, 4 -/* 80248B6C 00245AAC 42 00 FF 7C */ bdnz lbl_80248AE8 -lbl_80248B70: -/* 80248B70 00245AB0 81 4A 00 04 */ lwz r10, 4(r10) -lbl_80248B74: -/* 80248B74 00245AB4 28 0A 00 00 */ cmplwi r10, 0 -/* 80248B78 00245AB8 40 82 FF 48 */ bne lbl_80248AC0 -/* 80248B7C 00245ABC 80 81 00 28 */ lwz r4, 0x28(r1) -/* 80248B80 00245AC0 3B E1 00 08 */ addi r31, r1, 8 -/* 80248B84 00245AC4 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80248B88 00245AC8 6D 3D 80 00 */ xoris r29, r9, 0x8000 -/* 80248B8C 00245ACC 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80248B90 00245AD0 3F 80 43 30 */ lis r28, 0x4330 -/* 80248B94 00245AD4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80248B98 00245AD8 7C C4 02 14 */ add r6, r4, r0 -/* 80248B9C 00245ADC 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80248BA0 00245AE0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80248BA4 00245AE4 7C A5 1A 14 */ add r5, r5, r3 -/* 80248BA8 00245AE8 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80248BAC 00245AEC 7C C6 02 14 */ add r6, r6, r0 -/* 80248BB0 00245AF0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80248BB4 00245AF4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80248BB8 00245AF8 7C A5 1A 14 */ add r5, r5, r3 -/* 80248BBC 00245AFC 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80248BC0 00245B00 7C C6 02 14 */ add r6, r6, r0 -/* 80248BC4 00245B04 90 81 00 08 */ stw r4, 8(r1) -/* 80248BC8 00245B08 7C A5 1A 14 */ add r5, r5, r3 -/* 80248BCC 00245B0C CB C2 C4 30 */ lfd f30, lbl_8051A790@sda21(r2) -/* 80248BD0 00245B10 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80248BD4 00245B14 7C BB 2B 78 */ mr r27, r5 -/* 80248BD8 00245B18 C3 E2 C4 28 */ lfs f31, lbl_8051A788@sda21(r2) -/* 80248BDC 00245B1C 48 00 00 84 */ b lbl_80248C60 -lbl_80248BE0: -/* 80248BE0 00245B20 4B E8 09 C1 */ bl rand -/* 80248BE4 00245B24 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80248BE8 00245B28 93 81 00 48 */ stw r28, 0x48(r1) -/* 80248BEC 00245B2C 38 00 00 04 */ li r0, 4 -/* 80248BF0 00245B30 7F E4 FB 78 */ mr r4, r31 -/* 80248BF4 00245B34 90 61 00 4C */ stw r3, 0x4c(r1) -/* 80248BF8 00245B38 38 A0 00 00 */ li r5, 0 -/* 80248BFC 00245B3C C8 01 00 48 */ lfd f0, 0x48(r1) -/* 80248C00 00245B40 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80248C04 00245B44 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80248C08 00245B48 93 81 00 50 */ stw r28, 0x50(r1) -/* 80248C0C 00245B4C EC 20 F8 24 */ fdivs f1, f0, f31 -/* 80248C10 00245B50 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 80248C14 00245B54 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80248C18 00245B58 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80248C1C 00245B5C FC 00 00 1E */ fctiwz f0, f0 -/* 80248C20 00245B60 D8 01 00 58 */ stfd f0, 0x58(r1) -/* 80248C24 00245B64 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80248C28 00245B68 7C 09 03 A6 */ mtctr r0 -lbl_80248C2C: -/* 80248C2C 00245B6C 80 04 00 00 */ lwz r0, 0(r4) -/* 80248C30 00245B70 7C 03 00 00 */ cmpw r3, r0 -/* 80248C34 00245B74 40 80 00 1C */ bge lbl_80248C50 -/* 80248C38 00245B78 54 A3 10 3A */ slwi r3, r5, 2 -/* 80248C3C 00245B7C 38 83 00 20 */ addi r4, r3, 0x20 -/* 80248C40 00245B80 7C 7E 20 2E */ lwzx r3, r30, r4 -/* 80248C44 00245B84 38 03 00 01 */ addi r0, r3, 1 -/* 80248C48 00245B88 7C 1E 21 2E */ stwx r0, r30, r4 -/* 80248C4C 00245B8C 48 00 00 10 */ b lbl_80248C5C -lbl_80248C50: -/* 80248C50 00245B90 38 84 00 04 */ addi r4, r4, 4 -/* 80248C54 00245B94 38 A5 00 01 */ addi r5, r5, 1 -/* 80248C58 00245B98 42 00 FF D4 */ bdnz lbl_80248C2C -lbl_80248C5C: -/* 80248C5C 00245B9C 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80248C60: -/* 80248C60 00245BA0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80248C64 00245BA4 7C 1B 00 00 */ cmpw r27, r0 -/* 80248C68 00245BA8 41 80 FF 78 */ blt lbl_80248BE0 -/* 80248C6C 00245BAC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80248C70 00245BB0 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80248C74 00245BB4 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80248C78 00245BB8 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80248C7C 00245BBC BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 80248C80 00245BC0 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80248C84 00245BC4 7C 08 03 A6 */ mtlr r0 -/* 80248C88 00245BC8 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80248C8C 00245BCC 4E 80 00 20 */ blr - -.global setEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv -setEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv: -/* 80248C90 00245BD0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80248C94 00245BD4 7C 08 02 A6 */ mflr r0 -/* 80248C98 00245BD8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80248C9C 00245BDC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80248CA0 00245BE0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80248CA4 00245BE4 7C 7E 1B 78 */ mr r30, r3 -/* 80248CA8 00245BE8 80 83 00 00 */ lwz r4, 0(r3) -/* 80248CAC 00245BEC 88 04 00 02 */ lbz r0, 2(r4) -/* 80248CB0 00245BF0 28 00 00 00 */ cmplwi r0, 0 -/* 80248CB4 00245BF4 41 82 00 08 */ beq lbl_80248CBC -/* 80248CB8 00245BF8 48 00 03 65 */ bl setVersusHibaTypeC__Q34Game4Cave13RandEnemyUnitFv -lbl_80248CBC: -/* 80248CBC 00245BFC 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80248CC0 00245C00 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 80248CC4 00245C04 7C 03 00 00 */ cmpw r3, r0 -/* 80248CC8 00245C08 40 80 00 A0 */ bge lbl_80248D68 -/* 80248CCC 00245C0C 80 7E 00 00 */ lwz r3, 0(r30) -/* 80248CD0 00245C10 88 03 00 02 */ lbz r0, 2(r3) -/* 80248CD4 00245C14 28 00 00 00 */ cmplwi r0, 0 -/* 80248CD8 00245C18 41 82 00 0C */ beq lbl_80248CE4 -/* 80248CDC 00245C1C 7F C3 F3 78 */ mr r3, r30 -/* 80248CE0 00245C20 48 00 04 CD */ bl setVersusEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv -lbl_80248CE4: -/* 80248CE4 00245C24 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80248CE8 00245C28 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 80248CEC 00245C2C 7C 03 00 00 */ cmpw r3, r0 -/* 80248CF0 00245C30 40 80 00 78 */ bge lbl_80248D68 -/* 80248CF4 00245C34 3B E0 00 00 */ li r31, 0 -lbl_80248CF8: -/* 80248CF8 00245C38 38 00 FF FF */ li r0, -1 -/* 80248CFC 00245C3C 7F C3 F3 78 */ mr r3, r30 -/* 80248D00 00245C40 90 01 00 08 */ stw r0, 8(r1) -/* 80248D04 00245C44 38 81 00 08 */ addi r4, r1, 8 -/* 80248D08 00245C48 38 A0 FF FF */ li r5, -1 -/* 80248D0C 00245C4C 48 00 06 45 */ bl setSlotEnemyTypeC__Q34Game4Cave13RandEnemyUnitFRii -/* 80248D10 00245C50 7F C3 F3 78 */ mr r3, r30 -/* 80248D14 00245C54 48 00 09 35 */ bl setUnitRandEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv -/* 80248D18 00245C58 80 9E 00 30 */ lwz r4, 0x30(r30) -/* 80248D1C 00245C5C 28 04 00 00 */ cmplwi r4, 0 -/* 80248D20 00245C60 41 82 00 48 */ beq lbl_80248D68 -/* 80248D24 00245C64 80 A1 00 08 */ lwz r5, 8(r1) -/* 80248D28 00245C68 2C 05 00 00 */ cmpwi r5, 0 -/* 80248D2C 00245C6C 41 80 00 3C */ blt lbl_80248D68 -/* 80248D30 00245C70 80 DE 00 38 */ lwz r6, 0x38(r30) -/* 80248D34 00245C74 28 06 00 00 */ cmplwi r6, 0 -/* 80248D38 00245C78 41 82 00 30 */ beq lbl_80248D68 -/* 80248D3C 00245C7C 7F C3 F3 78 */ mr r3, r30 -/* 80248D40 00245C80 48 00 0A A9 */ bl makeSetEnemyTypeC__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodeiPQ34Game4Cave9EnemyUnit -/* 80248D44 00245C84 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80248D48 00245C88 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 80248D4C 00245C8C 7C 03 00 00 */ cmpw r3, r0 -/* 80248D50 00245C90 41 80 00 0C */ blt lbl_80248D5C -/* 80248D54 00245C94 48 00 00 14 */ b lbl_80248D68 -/* 80248D58 00245C98 48 00 00 10 */ b lbl_80248D68 -lbl_80248D5C: -/* 80248D5C 00245C9C 3B FF 00 01 */ addi r31, r31, 1 -/* 80248D60 00245CA0 2C 1F 00 64 */ cmpwi r31, 0x64 -/* 80248D64 00245CA4 41 80 FF 94 */ blt lbl_80248CF8 -lbl_80248D68: -/* 80248D68 00245CA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80248D6C 00245CAC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80248D70 00245CB0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80248D74 00245CB4 7C 08 03 A6 */ mtlr r0 -/* 80248D78 00245CB8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80248D7C 00245CBC 4E 80 00 20 */ blr - -.global setEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv -setEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv: -/* 80248D80 00245CC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80248D84 00245CC4 7C 08 02 A6 */ mflr r0 -/* 80248D88 00245CC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80248D8C 00245CCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80248D90 00245CD0 93 C1 00 08 */ stw r30, 8(r1) -/* 80248D94 00245CD4 7C 7E 1B 78 */ mr r30, r3 -/* 80248D98 00245CD8 80 83 00 1C */ lwz r4, 0x1c(r3) -/* 80248D9C 00245CDC 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 80248DA0 00245CE0 7C 04 00 00 */ cmpw r4, r0 -/* 80248DA4 00245CE4 40 80 00 90 */ bge lbl_80248E34 -/* 80248DA8 00245CE8 80 9E 00 00 */ lwz r4, 0(r30) -/* 80248DAC 00245CEC 88 04 00 02 */ lbz r0, 2(r4) -/* 80248DB0 00245CF0 28 00 00 00 */ cmplwi r0, 0 -/* 80248DB4 00245CF4 41 82 00 08 */ beq lbl_80248DBC -/* 80248DB8 00245CF8 48 00 0B 09 */ bl setVersusEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv -lbl_80248DBC: -/* 80248DBC 00245CFC 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 80248DC0 00245D00 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 80248DC4 00245D04 7C 03 00 00 */ cmpw r3, r0 -/* 80248DC8 00245D08 40 80 00 6C */ bge lbl_80248E34 -/* 80248DCC 00245D0C 3B E0 00 00 */ li r31, 0 -lbl_80248DD0: -/* 80248DD0 00245D10 7F C3 F3 78 */ mr r3, r30 -/* 80248DD4 00245D14 38 80 FF FF */ li r4, -1 -/* 80248DD8 00245D18 48 00 0C 65 */ bl setSlotEnemyTypeF__Q34Game4Cave13RandEnemyUnitFi -/* 80248DDC 00245D1C 7F C3 F3 78 */ mr r3, r30 -/* 80248DE0 00245D20 48 00 10 3D */ bl setUnitRandEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv -/* 80248DE4 00245D24 80 9E 00 30 */ lwz r4, 0x30(r30) -/* 80248DE8 00245D28 28 04 00 00 */ cmplwi r4, 0 -/* 80248DEC 00245D2C 41 82 00 48 */ beq lbl_80248E34 -/* 80248DF0 00245D30 80 BE 00 34 */ lwz r5, 0x34(r30) -/* 80248DF4 00245D34 28 05 00 00 */ cmplwi r5, 0 -/* 80248DF8 00245D38 41 82 00 3C */ beq lbl_80248E34 -/* 80248DFC 00245D3C 80 DE 00 38 */ lwz r6, 0x38(r30) -/* 80248E00 00245D40 28 06 00 00 */ cmplwi r6, 0 -/* 80248E04 00245D44 41 82 00 30 */ beq lbl_80248E34 -/* 80248E08 00245D48 7F C3 F3 78 */ mr r3, r30 -/* 80248E0C 00245D4C 48 00 11 B1 */ bl makeSetEnemyTypeF__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit -/* 80248E10 00245D50 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 80248E14 00245D54 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 80248E18 00245D58 7C 03 00 00 */ cmpw r3, r0 -/* 80248E1C 00245D5C 41 80 00 0C */ blt lbl_80248E28 -/* 80248E20 00245D60 48 00 00 14 */ b lbl_80248E34 -/* 80248E24 00245D64 48 00 00 10 */ b lbl_80248E34 -lbl_80248E28: -/* 80248E28 00245D68 3B FF 00 01 */ addi r31, r31, 1 -/* 80248E2C 00245D6C 2C 1F 00 64 */ cmpwi r31, 0x64 -/* 80248E30 00245D70 41 80 FF A0 */ blt lbl_80248DD0 -lbl_80248E34: -/* 80248E34 00245D74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80248E38 00245D78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80248E3C 00245D7C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80248E40 00245D80 7C 08 03 A6 */ mtlr r0 -/* 80248E44 00245D84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80248E48 00245D88 4E 80 00 20 */ blr - -.global setEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv -setEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv: -/* 80248E4C 00245D8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80248E50 00245D90 7C 08 02 A6 */ mflr r0 -/* 80248E54 00245D94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80248E58 00245D98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80248E5C 00245D9C 93 C1 00 08 */ stw r30, 8(r1) -/* 80248E60 00245DA0 7C 7E 1B 78 */ mr r30, r3 -/* 80248E64 00245DA4 80 83 00 14 */ lwz r4, 0x14(r3) -/* 80248E68 00245DA8 80 03 00 24 */ lwz r0, 0x24(r3) -/* 80248E6C 00245DAC 7C 04 00 00 */ cmpw r4, r0 -/* 80248E70 00245DB0 40 80 00 90 */ bge lbl_80248F00 -/* 80248E74 00245DB4 80 9E 00 00 */ lwz r4, 0(r30) -/* 80248E78 00245DB8 88 04 00 02 */ lbz r0, 2(r4) -/* 80248E7C 00245DBC 28 00 00 00 */ cmplwi r0, 0 -/* 80248E80 00245DC0 41 82 00 08 */ beq lbl_80248E88 -/* 80248E84 00245DC4 48 00 11 C1 */ bl setVersusEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv -lbl_80248E88: -/* 80248E88 00245DC8 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 80248E8C 00245DCC 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 80248E90 00245DD0 7C 03 00 00 */ cmpw r3, r0 -/* 80248E94 00245DD4 40 80 00 6C */ bge lbl_80248F00 -/* 80248E98 00245DD8 3B E0 00 00 */ li r31, 0 -lbl_80248E9C: -/* 80248E9C 00245DDC 7F C3 F3 78 */ mr r3, r30 -/* 80248EA0 00245DE0 38 80 FF FF */ li r4, -1 -/* 80248EA4 00245DE4 48 00 13 1D */ bl setSlotEnemyTypeB__Q34Game4Cave13RandEnemyUnitFi -/* 80248EA8 00245DE8 7F C3 F3 78 */ mr r3, r30 -/* 80248EAC 00245DEC 48 00 16 F5 */ bl setUnitRandEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv -/* 80248EB0 00245DF0 80 9E 00 30 */ lwz r4, 0x30(r30) -/* 80248EB4 00245DF4 28 04 00 00 */ cmplwi r4, 0 -/* 80248EB8 00245DF8 41 82 00 48 */ beq lbl_80248F00 -/* 80248EBC 00245DFC 80 BE 00 34 */ lwz r5, 0x34(r30) -/* 80248EC0 00245E00 28 05 00 00 */ cmplwi r5, 0 -/* 80248EC4 00245E04 41 82 00 3C */ beq lbl_80248F00 -/* 80248EC8 00245E08 80 DE 00 38 */ lwz r6, 0x38(r30) -/* 80248ECC 00245E0C 28 06 00 00 */ cmplwi r6, 0 -/* 80248ED0 00245E10 41 82 00 30 */ beq lbl_80248F00 -/* 80248ED4 00245E14 7F C3 F3 78 */ mr r3, r30 -/* 80248ED8 00245E18 48 00 18 69 */ bl makeSetEnemyTypeB__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit -/* 80248EDC 00245E1C 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 80248EE0 00245E20 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 80248EE4 00245E24 7C 03 00 00 */ cmpw r3, r0 -/* 80248EE8 00245E28 41 80 00 0C */ blt lbl_80248EF4 -/* 80248EEC 00245E2C 48 00 00 14 */ b lbl_80248F00 -/* 80248EF0 00245E30 48 00 00 10 */ b lbl_80248F00 -lbl_80248EF4: -/* 80248EF4 00245E34 3B FF 00 01 */ addi r31, r31, 1 -/* 80248EF8 00245E38 2C 1F 00 64 */ cmpwi r31, 0x64 -/* 80248EFC 00245E3C 41 80 FF A0 */ blt lbl_80248E9C -lbl_80248F00: -/* 80248F00 00245E40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80248F04 00245E44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80248F08 00245E48 83 C1 00 08 */ lwz r30, 8(r1) -/* 80248F0C 00245E4C 7C 08 03 A6 */ mtlr r0 -/* 80248F10 00245E50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80248F14 00245E54 4E 80 00 20 */ blr - -.global setEnemyTypeA__Q34Game4Cave13RandEnemyUnitFv -setEnemyTypeA__Q34Game4Cave13RandEnemyUnitFv: -/* 80248F18 00245E58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80248F1C 00245E5C 7C 08 02 A6 */ mflr r0 -/* 80248F20 00245E60 90 01 00 24 */ stw r0, 0x24(r1) -/* 80248F24 00245E64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80248F28 00245E68 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80248F2C 00245E6C 7C 7E 1B 78 */ mr r30, r3 -/* 80248F30 00245E70 80 83 00 10 */ lwz r4, 0x10(r3) -/* 80248F34 00245E74 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80248F38 00245E78 7C 04 00 00 */ cmpw r4, r0 -/* 80248F3C 00245E7C 40 80 00 C8 */ bge lbl_80249004 -/* 80248F40 00245E80 80 9E 00 00 */ lwz r4, 0(r30) -/* 80248F44 00245E84 88 04 00 02 */ lbz r0, 2(r4) -/* 80248F48 00245E88 28 00 00 00 */ cmplwi r0, 0 -/* 80248F4C 00245E8C 41 82 00 10 */ beq lbl_80248F5C -/* 80248F50 00245E90 48 00 18 79 */ bl setVersusEasyEnemy__Q34Game4Cave13RandEnemyUnitFv -/* 80248F54 00245E94 7F C3 F3 78 */ mr r3, r30 -/* 80248F58 00245E98 48 00 1C 81 */ bl setVersusEnemyTypeA__Q34Game4Cave13RandEnemyUnitFv -lbl_80248F5C: -/* 80248F5C 00245E9C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80248F60 00245EA0 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 80248F64 00245EA4 7C 03 00 00 */ cmpw r3, r0 -/* 80248F68 00245EA8 40 80 00 9C */ bge lbl_80249004 -/* 80248F6C 00245EAC 3B E0 00 00 */ li r31, 0 -lbl_80248F70: -/* 80248F70 00245EB0 38 00 00 00 */ li r0, 0 -/* 80248F74 00245EB4 7F C3 F3 78 */ mr r3, r30 -/* 80248F78 00245EB8 90 01 00 10 */ stw r0, 0x10(r1) -/* 80248F7C 00245EBC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80248F80 00245EC0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80248F84 00245EC4 38 C0 FF FF */ li r6, -1 -/* 80248F88 00245EC8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80248F8C 00245ECC 90 01 00 08 */ stw r0, 8(r1) -/* 80248F90 00245ED0 48 00 1E 1D */ bl setSlotEnemyTypeA__Q34Game4Cave13RandEnemyUnitFRiRii -/* 80248F94 00245ED4 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80248F98 00245ED8 7F C3 F3 78 */ mr r3, r30 -/* 80248F9C 00245EDC 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 80248FA0 00245EE0 38 81 00 08 */ addi r4, r1, 8 -/* 80248FA4 00245EE4 48 00 21 DD */ bl setUnitRandEnemyTypeA__Q34Game4Cave13RandEnemyUnitFRiii -/* 80248FA8 00245EE8 80 9E 00 30 */ lwz r4, 0x30(r30) -/* 80248FAC 00245EEC 28 04 00 00 */ cmplwi r4, 0 -/* 80248FB0 00245EF0 41 82 00 54 */ beq lbl_80249004 -/* 80248FB4 00245EF4 80 BE 00 34 */ lwz r5, 0x34(r30) -/* 80248FB8 00245EF8 28 05 00 00 */ cmplwi r5, 0 -/* 80248FBC 00245EFC 41 82 00 48 */ beq lbl_80249004 -/* 80248FC0 00245F00 80 DE 00 38 */ lwz r6, 0x38(r30) -/* 80248FC4 00245F04 28 06 00 00 */ cmplwi r6, 0 -/* 80248FC8 00245F08 41 82 00 3C */ beq lbl_80249004 -/* 80248FCC 00245F0C 80 E1 00 08 */ lwz r7, 8(r1) -/* 80248FD0 00245F10 2C 07 00 00 */ cmpwi r7, 0 -/* 80248FD4 00245F14 41 82 00 30 */ beq lbl_80249004 -/* 80248FD8 00245F18 7F C3 F3 78 */ mr r3, r30 -/* 80248FDC 00245F1C 48 00 24 3D */ bl makeSetEnemyTypeA__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUniti -/* 80248FE0 00245F20 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80248FE4 00245F24 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 80248FE8 00245F28 7C 03 00 00 */ cmpw r3, r0 -/* 80248FEC 00245F2C 41 80 00 0C */ blt lbl_80248FF8 -/* 80248FF0 00245F30 48 00 00 14 */ b lbl_80249004 -/* 80248FF4 00245F34 48 00 00 10 */ b lbl_80249004 -lbl_80248FF8: -/* 80248FF8 00245F38 3B FF 00 01 */ addi r31, r31, 1 -/* 80248FFC 00245F3C 2C 1F 00 64 */ cmpwi r31, 0x64 -/* 80249000 00245F40 41 80 FF 70 */ blt lbl_80248F70 -lbl_80249004: -/* 80249004 00245F44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80249008 00245F48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024900C 00245F4C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80249010 00245F50 7C 08 03 A6 */ mtlr r0 -/* 80249014 00245F54 38 21 00 20 */ addi r1, r1, 0x20 -/* 80249018 00245F58 4E 80 00 20 */ blr - -.global setVersusHibaTypeC__Q34Game4Cave13RandEnemyUnitFv -setVersusHibaTypeC__Q34Game4Cave13RandEnemyUnitFv: -/* 8024901C 00245F5C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80249020 00245F60 7C 08 02 A6 */ mflr r0 -/* 80249024 00245F64 90 01 00 54 */ stw r0, 0x54(r1) -/* 80249028 00245F68 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8024902C 00245F6C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80249030 00245F70 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80249034 00245F74 7C 7B 1B 78 */ mr r27, r3 -/* 80249038 00245F78 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 8024903C 00245F7C 28 00 00 00 */ cmplwi r0, 0 -/* 80249040 00245F80 41 82 01 50 */ beq lbl_80249190 -/* 80249044 00245F84 38 60 00 28 */ li r3, 0x28 -/* 80249048 00245F88 4B DD AE 5D */ bl __nw__FUl -/* 8024904C 00245F8C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80249050 00245F90 41 82 00 30 */ beq lbl_80249080 -/* 80249054 00245F94 48 1C 83 3D */ bl __ct__5CNodeFv -/* 80249058 00245F98 3C 80 80 4C */ lis r4, __vt__Q34Game4Cave8TekiInfo@ha -/* 8024905C 00245F9C 38 60 00 00 */ li r3, 0 -/* 80249060 00245FA0 38 84 85 E0 */ addi r4, r4, __vt__Q34Game4Cave8TekiInfo@l -/* 80249064 00245FA4 38 00 00 01 */ li r0, 1 -/* 80249068 00245FA8 90 9F 00 00 */ stw r4, 0(r31) -/* 8024906C 00245FAC B0 7F 00 26 */ sth r3, 0x26(r31) -/* 80249070 00245FB0 90 7F 00 18 */ stw r3, 0x18(r31) -/* 80249074 00245FB4 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80249078 00245FB8 90 7F 00 20 */ stw r3, 0x20(r31) -/* 8024907C 00245FBC 98 7F 00 24 */ stb r3, 0x24(r31) -lbl_80249080: -/* 80249080 00245FC0 38 60 00 16 */ li r3, 0x16 -/* 80249084 00245FC4 38 00 00 05 */ li r0, 5 -/* 80249088 00245FC8 90 7F 00 18 */ stw r3, 0x18(r31) -/* 8024908C 00245FCC 38 60 00 04 */ li r3, 4 -/* 80249090 00245FD0 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80249094 00245FD4 4B DD AE 11 */ bl __nw__FUl -/* 80249098 00245FD8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024909C 00245FDC 41 82 00 0C */ beq lbl_802490A8 -/* 802490A0 00245FE0 38 00 00 00 */ li r0, 0 -/* 802490A4 00245FE4 90 1E 00 00 */ stw r0, 0(r30) -lbl_802490A8: -/* 802490A8 00245FE8 93 FE 00 00 */ stw r31, 0(r30) -/* 802490AC 00245FEC 80 7B 00 00 */ lwz r3, 0(r27) -/* 802490B0 00245FF0 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802490B4 00245FF4 83 83 00 10 */ lwz r28, 0x10(r3) -/* 802490B8 00245FF8 48 00 00 D0 */ b lbl_80249188 -lbl_802490BC: -/* 802490BC 00245FFC 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 802490C0 00246000 4B FF 9A B9 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802490C4 00246004 2C 03 00 01 */ cmpwi r3, 1 -/* 802490C8 00246008 40 82 00 BC */ bne lbl_80249184 -/* 802490CC 0024600C 7F 83 E3 78 */ mr r3, r28 -/* 802490D0 00246010 4B FF AF 91 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802490D4 00246014 7C 7F 1B 78 */ mr r31, r3 -/* 802490D8 00246018 3B 60 00 00 */ li r27, 0 -/* 802490DC 0024601C 48 00 00 A0 */ b lbl_8024917C -lbl_802490E0: -/* 802490E0 00246020 7F 83 E3 78 */ mr r3, r28 -/* 802490E4 00246024 7F 64 DB 78 */ mr r4, r27 -/* 802490E8 00246028 4B FF A3 D5 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 802490EC 0024602C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802490F0 00246030 40 82 00 88 */ bne lbl_80249178 -/* 802490F4 00246034 7F 84 E3 78 */ mr r4, r28 -/* 802490F8 00246038 7F 65 DB 78 */ mr r5, r27 -/* 802490FC 0024603C 38 61 00 08 */ addi r3, r1, 8 -/* 80249100 00246040 4B FF AB A1 */ bl getDoorGlobalPosition__Q34Game4Cave7MapNodeFi -/* 80249104 00246044 C0 41 00 08 */ lfs f2, 8(r1) -/* 80249108 00246048 7F 83 E3 78 */ mr r3, r28 -/* 8024910C 0024604C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80249110 00246050 7F 64 DB 78 */ mr r4, r27 -/* 80249114 00246054 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80249118 00246058 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8024911C 0024605C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80249120 00246060 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80249124 00246064 4B FF AE C5 */ bl getDoorGlobalDirection__Q34Game4Cave7MapNodeFi -/* 80249128 00246068 FF E0 08 90 */ fmr f31, f1 -/* 8024912C 0024606C 38 60 00 38 */ li r3, 0x38 -/* 80249130 00246070 4B DD AD 75 */ bl __nw__FUl -/* 80249134 00246074 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80249138 00246078 41 82 00 18 */ beq lbl_80249150 -/* 8024913C 0024607C 7F C4 F3 78 */ mr r4, r30 -/* 80249140 00246080 38 A0 00 00 */ li r5, 0 -/* 80249144 00246084 38 C0 00 01 */ li r6, 1 -/* 80249148 00246088 4B FF B0 81 */ bl __ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni -/* 8024914C 0024608C 7C 7D 1B 78 */ mr r29, r3 -lbl_80249150: -/* 80249150 00246090 FC 20 F8 90 */ fmr f1, f31 -/* 80249154 00246094 7F A3 EB 78 */ mr r3, r29 -/* 80249158 00246098 38 81 00 14 */ addi r4, r1, 0x14 -/* 8024915C 0024609C 4B FF B2 A9 */ bl setGlobalData__Q34Game4Cave9EnemyNodeFR10Vector3$$0f$$1f -/* 80249160 002460A0 7F A3 EB 78 */ mr r3, r29 -/* 80249164 002460A4 7F 64 DB 78 */ mr r4, r27 -/* 80249168 002460A8 4B FF B2 BD */ bl setBirthDoorIndex__Q34Game4Cave9EnemyNodeFi -/* 8024916C 002460AC 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80249170 002460B0 7F A4 EB 78 */ mr r4, r29 -/* 80249174 002460B4 48 1C 82 95 */ bl add__5CNodeFP5CNode -lbl_80249178: -/* 80249178 002460B8 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8024917C: -/* 8024917C 002460BC 7C 1B F8 00 */ cmpw r27, r31 -/* 80249180 002460C0 41 80 FF 60 */ blt lbl_802490E0 -lbl_80249184: -/* 80249184 002460C4 83 9C 00 04 */ lwz r28, 4(r28) -lbl_80249188: -/* 80249188 002460C8 28 1C 00 00 */ cmplwi r28, 0 -/* 8024918C 002460CC 40 82 FF 30 */ bne lbl_802490BC -lbl_80249190: -/* 80249190 002460D0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80249194 002460D4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80249198 002460D8 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8024919C 002460DC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802491A0 002460E0 7C 08 03 A6 */ mtlr r0 -/* 802491A4 002460E4 38 21 00 50 */ addi r1, r1, 0x50 -/* 802491A8 002460E8 4E 80 00 20 */ blr - -.global setVersusEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv -setVersusEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv: -/* 802491AC 002460EC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802491B0 002460F0 7C 08 02 A6 */ mflr r0 -/* 802491B4 002460F4 90 01 00 44 */ stw r0, 0x44(r1) -/* 802491B8 002460F8 BF 01 00 20 */ stmw r24, 0x20(r1) -/* 802491BC 002460FC 7C 7D 1B 78 */ mr r29, r3 -/* 802491C0 00246100 3B E0 00 00 */ li r31, 0 -/* 802491C4 00246104 80 63 00 00 */ lwz r3, 0(r3) -/* 802491C8 00246108 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802491CC 0024610C 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 802491D0 00246110 48 00 01 64 */ b lbl_80249334 -lbl_802491D4: -/* 802491D4 00246114 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 802491D8 00246118 80 83 00 00 */ lwz r4, 0(r3) -/* 802491DC 0024611C 28 04 00 00 */ cmplwi r4, 0 -/* 802491E0 00246120 41 82 01 50 */ beq lbl_80249330 -/* 802491E4 00246124 80 04 00 20 */ lwz r0, 0x20(r4) -/* 802491E8 00246128 2C 00 00 05 */ cmpwi r0, 5 -/* 802491EC 0024612C 40 82 01 44 */ bne lbl_80249330 -/* 802491F0 00246130 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 802491F4 00246134 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 802491F8 00246138 38 63 66 67 */ addi r3, r3, 0x66666667@l -/* 802491FC 0024613C 80 9D 00 18 */ lwz r4, 0x18(r29) -/* 80249200 00246140 7C 03 00 96 */ mulhw r0, r3, r0 -/* 80249204 00246144 7C 00 16 70 */ srawi r0, r0, 2 -/* 80249208 00246148 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8024920C 0024614C 7C 00 1A 14 */ add r0, r0, r3 -/* 80249210 00246150 7F FF 02 14 */ add r31, r31, r0 -/* 80249214 00246154 7C 1F 20 00 */ cmpw r31, r4 -/* 80249218 00246158 40 81 01 18 */ ble lbl_80249330 -/* 8024921C 0024615C 7C 04 F8 50 */ subf r0, r4, r31 -/* 80249220 00246160 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80249224 00246164 54 03 07 FE */ clrlwi r3, r0, 0x1f -/* 80249228 00246168 7C 04 02 14 */ add r0, r4, r0 -/* 8024922C 0024616C 7C 63 22 78 */ xor r3, r3, r4 -/* 80249230 00246170 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80249234 00246174 7F 64 18 50 */ subf r27, r4, r3 -/* 80249238 00246178 54 1A 08 3C */ slwi r26, r0, 1 -/* 8024923C 0024617C 4B E8 03 65 */ bl rand -/* 80249240 00246180 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80249244 00246184 3C 00 43 30 */ lis r0, 0x4330 -/* 80249248 00246188 90 61 00 14 */ stw r3, 0x14(r1) -/* 8024924C 0024618C 3B 00 00 00 */ li r24, 0 -/* 80249250 00246190 C8 62 C4 30 */ lfd f3, lbl_8051A790@sda21(r2) -/* 80249254 00246194 3B 80 FF FF */ li r28, -1 -/* 80249258 00246198 90 01 00 10 */ stw r0, 0x10(r1) -/* 8024925C 0024619C C0 22 C4 28 */ lfs f1, lbl_8051A788@sda21(r2) -/* 80249260 002461A0 C8 41 00 10 */ lfd f2, 0x10(r1) -/* 80249264 002461A4 C0 02 C4 38 */ lfs f0, lbl_8051A798@sda21(r2) -/* 80249268 002461A8 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8024926C 002461AC EC 22 08 24 */ fdivs f1, f2, f1 -/* 80249270 002461B0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80249274 002461B4 FC 00 00 1E */ fctiwz f0, f0 -/* 80249278 002461B8 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8024927C 002461BC 83 21 00 1C */ lwz r25, 0x1c(r1) -/* 80249280 002461C0 48 00 00 54 */ b lbl_802492D4 -lbl_80249284: -/* 80249284 002461C4 93 81 00 0C */ stw r28, 0xc(r1) -/* 80249288 002461C8 7F A3 EB 78 */ mr r3, r29 -/* 8024928C 002461CC 7F 25 CB 78 */ mr r5, r25 -/* 80249290 002461D0 38 81 00 0C */ addi r4, r1, 0xc -/* 80249294 002461D4 48 00 00 BD */ bl setSlotEnemyTypeC__Q34Game4Cave13RandEnemyUnitFRii -/* 80249298 002461D8 80 9D 00 30 */ lwz r4, 0x30(r29) -/* 8024929C 002461DC 28 04 00 00 */ cmplwi r4, 0 -/* 802492A0 002461E0 41 82 00 9C */ beq lbl_8024933C -/* 802492A4 002461E4 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 802492A8 002461E8 2C 05 00 00 */ cmpwi r5, 0 -/* 802492AC 002461EC 41 80 00 90 */ blt lbl_8024933C -/* 802492B0 002461F0 80 DD 00 38 */ lwz r6, 0x38(r29) -/* 802492B4 002461F4 28 06 00 00 */ cmplwi r6, 0 -/* 802492B8 002461F8 41 82 00 84 */ beq lbl_8024933C -/* 802492BC 002461FC 7F A3 EB 78 */ mr r3, r29 -/* 802492C0 00246200 48 00 05 29 */ bl makeSetEnemyTypeC__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodeiPQ34Game4Cave9EnemyUnit -/* 802492C4 00246204 48 00 00 08 */ b lbl_802492CC -/* 802492C8 00246208 48 00 00 74 */ b lbl_8024933C -lbl_802492CC: -/* 802492CC 0024620C 6B 39 00 01 */ xori r25, r25, 1 -/* 802492D0 00246210 3B 18 00 01 */ addi r24, r24, 1 -lbl_802492D4: -/* 802492D4 00246214 7C 18 D0 00 */ cmpw r24, r26 -/* 802492D8 00246218 41 80 FF AC */ blt lbl_80249284 -/* 802492DC 0024621C 2C 1B 00 00 */ cmpwi r27, 0 -/* 802492E0 00246220 41 82 00 50 */ beq lbl_80249330 -/* 802492E4 00246224 38 00 FF FF */ li r0, -1 -/* 802492E8 00246228 7F A3 EB 78 */ mr r3, r29 -/* 802492EC 0024622C 90 01 00 08 */ stw r0, 8(r1) -/* 802492F0 00246230 38 81 00 08 */ addi r4, r1, 8 -/* 802492F4 00246234 38 A0 FF FF */ li r5, -1 -/* 802492F8 00246238 48 00 00 59 */ bl setSlotEnemyTypeC__Q34Game4Cave13RandEnemyUnitFRii -/* 802492FC 0024623C 80 9D 00 30 */ lwz r4, 0x30(r29) -/* 80249300 00246240 28 04 00 00 */ cmplwi r4, 0 -/* 80249304 00246244 41 82 00 38 */ beq lbl_8024933C -/* 80249308 00246248 80 A1 00 08 */ lwz r5, 8(r1) -/* 8024930C 0024624C 2C 05 00 00 */ cmpwi r5, 0 -/* 80249310 00246250 41 80 00 2C */ blt lbl_8024933C -/* 80249314 00246254 80 DD 00 38 */ lwz r6, 0x38(r29) -/* 80249318 00246258 28 06 00 00 */ cmplwi r6, 0 -/* 8024931C 0024625C 41 82 00 20 */ beq lbl_8024933C -/* 80249320 00246260 7F A3 EB 78 */ mr r3, r29 -/* 80249324 00246264 48 00 04 C5 */ bl makeSetEnemyTypeC__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodeiPQ34Game4Cave9EnemyUnit -/* 80249328 00246268 48 00 00 08 */ b lbl_80249330 -/* 8024932C 0024626C 48 00 00 10 */ b lbl_8024933C -lbl_80249330: -/* 80249330 00246270 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80249334: -/* 80249334 00246274 28 1E 00 00 */ cmplwi r30, 0 -/* 80249338 00246278 40 82 FE 9C */ bne lbl_802491D4 -lbl_8024933C: -/* 8024933C 0024627C BB 01 00 20 */ lmw r24, 0x20(r1) -/* 80249340 00246280 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80249344 00246284 7C 08 03 A6 */ mtlr r0 -/* 80249348 00246288 38 21 00 40 */ addi r1, r1, 0x40 -/* 8024934C 0024628C 4E 80 00 20 */ blr - -.global setSlotEnemyTypeC__Q34Game4Cave13RandEnemyUnitFRii -setSlotEnemyTypeC__Q34Game4Cave13RandEnemyUnitFRii: -/* 80249350 00246290 94 21 F3 A0 */ stwu r1, -0xc60(r1) -/* 80249354 00246294 7C 08 02 A6 */ mflr r0 -/* 80249358 00246298 90 01 0C 64 */ stw r0, 0xc64(r1) -/* 8024935C 0024629C BE 21 0C 24 */ stmw r17, 0xc24(r1) -/* 80249360 002462A0 7C 7E 1B 78 */ mr r30, r3 -/* 80249364 002462A4 7C 9F 23 78 */ mr r31, r4 -/* 80249368 002462A8 3A C0 00 00 */ li r22, 0 -/* 8024936C 002462AC 3A A0 00 00 */ li r21, 0 -/* 80249370 002462B0 80 63 00 00 */ lwz r3, 0(r3) -/* 80249374 002462B4 88 03 00 02 */ lbz r0, 2(r3) -/* 80249378 002462B8 82 23 00 28 */ lwz r17, 0x28(r3) -/* 8024937C 002462BC 28 00 00 00 */ cmplwi r0, 0 -/* 80249380 002462C0 41 82 01 38 */ beq lbl_802494B8 -/* 80249384 002462C4 2C 05 00 00 */ cmpwi r5, 0 -/* 80249388 002462C8 3A 80 00 00 */ li r20, 0 -/* 8024938C 002462CC 3A 60 00 00 */ li r19, 0 -/* 80249390 002462D0 40 82 00 28 */ bne lbl_802493B8 -/* 80249394 002462D4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80249398 002462D8 38 80 00 03 */ li r4, 3 -/* 8024939C 002462DC 48 00 38 0D */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 802493A0 002462E0 28 03 00 00 */ cmplwi r3, 0 -/* 802493A4 002462E4 41 82 00 3C */ beq lbl_802493E0 -/* 802493A8 002462E8 4B FF A6 15 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 802493AC 002462EC 3A 60 FF FF */ li r19, -1 -/* 802493B0 002462F0 7C 74 1B 78 */ mr r20, r3 -/* 802493B4 002462F4 48 00 00 2C */ b lbl_802493E0 -lbl_802493B8: -/* 802493B8 002462F8 2C 05 00 01 */ cmpwi r5, 1 -/* 802493BC 002462FC 40 82 00 24 */ bne lbl_802493E0 -/* 802493C0 00246300 80 7E 00 04 */ lwz r3, 4(r30) -/* 802493C4 00246304 38 80 00 04 */ li r4, 4 -/* 802493C8 00246308 48 00 37 E1 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 802493CC 0024630C 28 03 00 00 */ cmplwi r3, 0 -/* 802493D0 00246310 41 82 00 10 */ beq lbl_802493E0 -/* 802493D4 00246314 4B FF A5 E9 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 802493D8 00246318 3A 60 00 01 */ li r19, 1 -/* 802493DC 0024631C 7C 74 1B 78 */ mr r20, r3 -lbl_802493E0: -/* 802493E0 00246320 82 51 00 10 */ lwz r18, 0x10(r17) -/* 802493E4 00246324 3B 21 08 08 */ addi r25, r1, 0x808 -/* 802493E8 00246328 3B 01 04 08 */ addi r24, r1, 0x408 -/* 802493EC 0024632C 3A E1 00 08 */ addi r23, r1, 8 -/* 802493F0 00246330 48 00 00 BC */ b lbl_802494AC -lbl_802493F4: -/* 802493F4 00246334 80 72 00 18 */ lwz r3, 0x18(r18) -/* 802493F8 00246338 4B FF 97 81 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802493FC 0024633C 2C 03 00 01 */ cmpwi r3, 1 -/* 80249400 00246340 41 82 00 14 */ beq lbl_80249414 -/* 80249404 00246344 80 72 00 18 */ lwz r3, 0x18(r18) -/* 80249408 00246348 4B FF 97 71 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024940C 0024634C 2C 03 00 02 */ cmpwi r3, 2 -/* 80249410 00246350 40 82 00 98 */ bne lbl_802494A8 -lbl_80249414: -/* 80249414 00246354 7E 43 93 78 */ mr r3, r18 -/* 80249418 00246358 4B FF AC 49 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024941C 0024635C 7C 7D 1B 78 */ mr r29, r3 -/* 80249420 00246360 7F 3C CB 78 */ mr r28, r25 -/* 80249424 00246364 7F 1B C3 78 */ mr r27, r24 -/* 80249428 00246368 7E FA BB 78 */ mr r26, r23 -/* 8024942C 0024636C 3A 20 00 00 */ li r17, 0 -/* 80249430 00246370 48 00 00 70 */ b lbl_802494A0 -lbl_80249434: -/* 80249434 00246374 7E 43 93 78 */ mr r3, r18 -/* 80249438 00246378 7E 24 8B 78 */ mr r4, r17 -/* 8024943C 0024637C 4B FF A0 81 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 80249440 00246380 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80249444 00246384 40 82 00 58 */ bne lbl_8024949C -/* 80249448 00246388 92 5C 00 00 */ stw r18, 0(r28) -/* 8024944C 0024638C 92 3B 00 00 */ stw r17, 0(r27) -/* 80249450 00246390 80 7C 00 00 */ lwz r3, 0(r28) -/* 80249454 00246394 4B FF A5 69 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 80249458 00246398 7C 14 1A 14 */ add r0, r20, r3 -/* 8024945C 0024639C 7C 13 01 D6 */ mullw r0, r19, r0 -/* 80249460 002463A0 90 1A 00 00 */ stw r0, 0(r26) -/* 80249464 002463A4 80 1A 00 00 */ lwz r0, 0(r26) -/* 80249468 002463A8 2C 00 00 00 */ cmpwi r0, 0 -/* 8024946C 002463AC 41 81 00 0C */ bgt lbl_80249478 -/* 80249470 002463B0 38 00 00 01 */ li r0, 1 -/* 80249474 002463B4 90 1A 00 00 */ stw r0, 0(r26) -lbl_80249478: -/* 80249478 002463B8 80 1A 00 00 */ lwz r0, 0(r26) -/* 8024947C 002463BC 3B 39 00 04 */ addi r25, r25, 4 -/* 80249480 002463C0 3B 18 00 04 */ addi r24, r24, 4 -/* 80249484 002463C4 3A F7 00 04 */ addi r23, r23, 4 -/* 80249488 002463C8 7E B5 02 14 */ add r21, r21, r0 -/* 8024948C 002463CC 3A D6 00 01 */ addi r22, r22, 1 -/* 80249490 002463D0 3B 9C 00 04 */ addi r28, r28, 4 -/* 80249494 002463D4 3B 7B 00 04 */ addi r27, r27, 4 -/* 80249498 002463D8 3B 5A 00 04 */ addi r26, r26, 4 -lbl_8024949C: -/* 8024949C 002463DC 3A 31 00 01 */ addi r17, r17, 1 -lbl_802494A0: -/* 802494A0 002463E0 7C 11 E8 00 */ cmpw r17, r29 -/* 802494A4 002463E4 41 80 FF 90 */ blt lbl_80249434 -lbl_802494A8: -/* 802494A8 002463E8 82 52 00 04 */ lwz r18, 4(r18) -lbl_802494AC: -/* 802494AC 002463EC 28 12 00 00 */ cmplwi r18, 0 -/* 802494B0 002463F0 40 82 FF 44 */ bne lbl_802493F4 -/* 802494B4 002463F4 48 00 00 CC */ b lbl_80249580 -lbl_802494B8: -/* 802494B8 002463F8 83 51 00 10 */ lwz r26, 0x10(r17) -/* 802494BC 002463FC 3A E1 08 08 */ addi r23, r1, 0x808 -/* 802494C0 00246400 3B 01 04 08 */ addi r24, r1, 0x408 -/* 802494C4 00246404 3B 21 00 08 */ addi r25, r1, 8 -/* 802494C8 00246408 48 00 00 B0 */ b lbl_80249578 -lbl_802494CC: -/* 802494CC 0024640C 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 802494D0 00246410 4B FF 96 A9 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802494D4 00246414 2C 03 00 01 */ cmpwi r3, 1 -/* 802494D8 00246418 41 82 00 14 */ beq lbl_802494EC -/* 802494DC 0024641C 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 802494E0 00246420 4B FF 96 99 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802494E4 00246424 2C 03 00 02 */ cmpwi r3, 2 -/* 802494E8 00246428 40 82 00 8C */ bne lbl_80249574 -lbl_802494EC: -/* 802494EC 0024642C 7F 43 D3 78 */ mr r3, r26 -/* 802494F0 00246430 4B FF AB 71 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802494F4 00246434 7C 71 1B 78 */ mr r17, r3 -/* 802494F8 00246438 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 802494FC 0024643C 3B 60 00 01 */ li r27, 1 -/* 80249500 00246440 4B FF 96 79 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 80249504 00246444 2C 03 00 01 */ cmpwi r3, 1 -/* 80249508 00246448 40 82 00 08 */ bne lbl_80249510 -/* 8024950C 0024644C 3B 60 00 64 */ li r27, 0x64 -lbl_80249510: -/* 80249510 00246450 7E F2 BB 78 */ mr r18, r23 -/* 80249514 00246454 7F 13 C3 78 */ mr r19, r24 -/* 80249518 00246458 7F 34 CB 78 */ mr r20, r25 -/* 8024951C 0024645C 3B 80 00 00 */ li r28, 0 -/* 80249520 00246460 48 00 00 4C */ b lbl_8024956C -lbl_80249524: -/* 80249524 00246464 7F 43 D3 78 */ mr r3, r26 -/* 80249528 00246468 7F 84 E3 78 */ mr r4, r28 -/* 8024952C 0024646C 4B FF 9F 91 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 80249530 00246470 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80249534 00246474 40 82 00 34 */ bne lbl_80249568 -/* 80249538 00246478 93 74 00 00 */ stw r27, 0(r20) -/* 8024953C 0024647C 3A F7 00 04 */ addi r23, r23, 4 -/* 80249540 00246480 3B 18 00 04 */ addi r24, r24, 4 -/* 80249544 00246484 3B 39 00 04 */ addi r25, r25, 4 -/* 80249548 00246488 80 14 00 00 */ lwz r0, 0(r20) -/* 8024954C 0024648C 3A 94 00 04 */ addi r20, r20, 4 -/* 80249550 00246490 93 52 00 00 */ stw r26, 0(r18) -/* 80249554 00246494 3A 52 00 04 */ addi r18, r18, 4 -/* 80249558 00246498 7E B5 02 14 */ add r21, r21, r0 -/* 8024955C 0024649C 3A D6 00 01 */ addi r22, r22, 1 -/* 80249560 002464A0 93 93 00 00 */ stw r28, 0(r19) -/* 80249564 002464A4 3A 73 00 04 */ addi r19, r19, 4 -lbl_80249568: -/* 80249568 002464A8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8024956C: -/* 8024956C 002464AC 7C 1C 88 00 */ cmpw r28, r17 -/* 80249570 002464B0 41 80 FF B4 */ blt lbl_80249524 -lbl_80249574: -/* 80249574 002464B4 83 5A 00 04 */ lwz r26, 4(r26) -lbl_80249578: -/* 80249578 002464B8 28 1A 00 00 */ cmplwi r26, 0 -/* 8024957C 002464BC 40 82 FF 50 */ bne lbl_802494CC -lbl_80249580: -/* 80249580 002464C0 38 00 00 00 */ li r0, 0 -/* 80249584 002464C4 2C 16 00 00 */ cmpwi r22, 0 -/* 80249588 002464C8 90 1E 00 30 */ stw r0, 0x30(r30) -/* 8024958C 002464CC 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80249590 002464D0 41 82 00 A4 */ beq lbl_80249634 -/* 80249594 002464D4 4B E8 00 0D */ bl rand -/* 80249598 002464D8 3C 80 43 30 */ lis r4, 0x4330 -/* 8024959C 002464DC 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 802495A0 002464E0 90 01 0C 0C */ stw r0, 0xc0c(r1) -/* 802495A4 002464E4 6E A0 80 00 */ xoris r0, r21, 0x8000 -/* 802495A8 002464E8 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 802495AC 002464EC 38 A1 00 08 */ addi r5, r1, 8 -/* 802495B0 002464F0 90 81 0C 08 */ stw r4, 0xc08(r1) -/* 802495B4 002464F4 38 C0 00 00 */ li r6, 0 -/* 802495B8 002464F8 C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 802495BC 002464FC 38 E0 00 00 */ li r7, 0 -/* 802495C0 00246500 C8 21 0C 08 */ lfd f1, 0xc08(r1) -/* 802495C4 00246504 90 01 0C 14 */ stw r0, 0xc14(r1) -/* 802495C8 00246508 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802495CC 0024650C 90 81 0C 10 */ stw r4, 0xc10(r1) -/* 802495D0 00246510 EC 21 00 24 */ fdivs f1, f1, f0 -/* 802495D4 00246514 C8 01 0C 10 */ lfd f0, 0xc10(r1) -/* 802495D8 00246518 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802495DC 0024651C EC 00 00 72 */ fmuls f0, f0, f1 -/* 802495E0 00246520 FC 00 00 1E */ fctiwz f0, f0 -/* 802495E4 00246524 D8 01 0C 18 */ stfd f0, 0xc18(r1) -/* 802495E8 00246528 80 61 0C 1C */ lwz r3, 0xc1c(r1) -/* 802495EC 0024652C 7E C9 03 A6 */ mtctr r22 -/* 802495F0 00246530 2C 16 00 00 */ cmpwi r22, 0 -/* 802495F4 00246534 40 81 00 40 */ ble lbl_80249634 -lbl_802495F8: -/* 802495F8 00246538 80 05 00 00 */ lwz r0, 0(r5) -/* 802495FC 0024653C 7C C6 02 14 */ add r6, r6, r0 -/* 80249600 00246540 7C 06 18 00 */ cmpw r6, r3 -/* 80249604 00246544 40 81 00 24 */ ble lbl_80249628 -/* 80249608 00246548 54 E0 10 3A */ slwi r0, r7, 2 -/* 8024960C 0024654C 38 61 08 08 */ addi r3, r1, 0x808 -/* 80249610 00246550 7C 83 00 2E */ lwzx r4, r3, r0 -/* 80249614 00246554 38 61 04 08 */ addi r3, r1, 0x408 -/* 80249618 00246558 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8024961C 0024655C 90 9E 00 30 */ stw r4, 0x30(r30) -/* 80249620 00246560 90 1F 00 00 */ stw r0, 0(r31) -/* 80249624 00246564 48 00 00 10 */ b lbl_80249634 -lbl_80249628: -/* 80249628 00246568 38 A5 00 04 */ addi r5, r5, 4 -/* 8024962C 0024656C 38 E7 00 01 */ addi r7, r7, 1 -/* 80249630 00246570 42 00 FF C8 */ bdnz lbl_802495F8 -lbl_80249634: -/* 80249634 00246574 BA 21 0C 24 */ lmw r17, 0xc24(r1) -/* 80249638 00246578 80 01 0C 64 */ lwz r0, 0xc64(r1) -/* 8024963C 0024657C 7C 08 03 A6 */ mtlr r0 -/* 80249640 00246580 38 21 0C 60 */ addi r1, r1, 0xc60 -/* 80249644 00246584 4E 80 00 20 */ blr - -.global setUnitRandEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv -setUnitRandEnemyTypeC__Q34Game4Cave13RandEnemyUnitFv: -/* 80249648 00246588 94 21 FB D0 */ stwu r1, -0x430(r1) -/* 8024964C 0024658C 7C 08 02 A6 */ mflr r0 -/* 80249650 00246590 39 20 00 00 */ li r9, 0 -/* 80249654 00246594 90 01 04 34 */ stw r0, 0x434(r1) -/* 80249658 00246598 38 A1 02 08 */ addi r5, r1, 0x208 -/* 8024965C 0024659C 93 E1 04 2C */ stw r31, 0x42c(r1) -/* 80249660 002465A0 3B E1 00 08 */ addi r31, r1, 8 -/* 80249664 002465A4 7F E6 FB 78 */ mr r6, r31 -/* 80249668 002465A8 93 C1 04 28 */ stw r30, 0x428(r1) -/* 8024966C 002465AC 3B C0 00 00 */ li r30, 0 -/* 80249670 002465B0 93 A1 04 24 */ stw r29, 0x424(r1) -/* 80249674 002465B4 3B A0 00 00 */ li r29, 0 -/* 80249678 002465B8 93 81 04 20 */ stw r28, 0x420(r1) -/* 8024967C 002465BC 7C 7C 1B 78 */ mr r28, r3 -/* 80249680 002465C0 80 63 00 00 */ lwz r3, 0(r3) -/* 80249684 002465C4 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80249688 002465C8 81 43 00 10 */ lwz r10, 0x10(r3) -/* 8024968C 002465CC 48 00 00 94 */ b lbl_80249720 -lbl_80249690: -/* 80249690 002465D0 81 0A 00 18 */ lwz r8, 0x18(r10) -/* 80249694 002465D4 80 88 00 00 */ lwz r4, 0(r8) -/* 80249698 002465D8 28 04 00 00 */ cmplwi r4, 0 -/* 8024969C 002465DC 41 82 00 80 */ beq lbl_8024971C -/* 802496A0 002465E0 80 04 00 20 */ lwz r0, 0x20(r4) -/* 802496A4 002465E4 2C 00 00 05 */ cmpwi r0, 5 -/* 802496A8 002465E8 40 82 00 74 */ bne lbl_8024971C -/* 802496AC 002465EC 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 802496B0 002465F0 80 E4 00 1C */ lwz r7, 0x1c(r4) -/* 802496B4 002465F4 38 03 66 67 */ addi r0, r3, 0x66666667@l -/* 802496B8 002465F8 7C 00 38 96 */ mulhw r0, r0, r7 -/* 802496BC 002465FC 7C 03 16 70 */ srawi r3, r0, 2 -/* 802496C0 00246600 54 64 0F FE */ srwi r4, r3, 0x1f -/* 802496C4 00246604 7C 00 16 70 */ srawi r0, r0, 2 -/* 802496C8 00246608 7C 63 22 14 */ add r3, r3, r4 -/* 802496CC 0024660C 1C 83 00 0A */ mulli r4, r3, 0xa -/* 802496D0 00246610 54 03 0F FE */ srwi r3, r0, 0x1f -/* 802496D4 00246614 7D 60 1A 15 */ add. r11, r0, r3 -/* 802496D8 00246618 7C 64 38 50 */ subf r3, r4, r7 -/* 802496DC 0024661C 41 82 00 1C */ beq lbl_802496F8 -/* 802496E0 00246620 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 802496E4 00246624 7D 29 5A 14 */ add r9, r9, r11 -/* 802496E8 00246628 7C 09 00 00 */ cmpw r9, r0 -/* 802496EC 0024662C 40 81 00 0C */ ble lbl_802496F8 -/* 802496F0 00246630 91 1C 00 38 */ stw r8, 0x38(r28) -/* 802496F4 00246634 48 00 00 D4 */ b lbl_802497C8 -lbl_802496F8: -/* 802496F8 00246638 2C 03 00 00 */ cmpwi r3, 0 -/* 802496FC 0024663C 41 82 00 20 */ beq lbl_8024971C -/* 80249700 00246640 90 66 00 00 */ stw r3, 0(r6) -/* 80249704 00246644 3B DE 00 01 */ addi r30, r30, 1 -/* 80249708 00246648 80 06 00 00 */ lwz r0, 0(r6) -/* 8024970C 0024664C 38 C6 00 04 */ addi r6, r6, 4 -/* 80249710 00246650 91 05 00 00 */ stw r8, 0(r5) -/* 80249714 00246654 38 A5 00 04 */ addi r5, r5, 4 -/* 80249718 00246658 7F BD 02 14 */ add r29, r29, r0 -lbl_8024971C: -/* 8024971C 0024665C 81 4A 00 04 */ lwz r10, 4(r10) -lbl_80249720: -/* 80249720 00246660 28 0A 00 00 */ cmplwi r10, 0 -/* 80249724 00246664 40 82 FF 6C */ bne lbl_80249690 -/* 80249728 00246668 38 00 00 00 */ li r0, 0 -/* 8024972C 0024666C 2C 1D 00 00 */ cmpwi r29, 0 -/* 80249730 00246670 90 1C 00 38 */ stw r0, 0x38(r28) -/* 80249734 00246674 41 82 00 94 */ beq lbl_802497C8 -/* 80249738 00246678 4B E7 FE 69 */ bl rand -/* 8024973C 0024667C 3C 80 43 30 */ lis r4, 0x4330 -/* 80249740 00246680 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80249744 00246684 90 01 04 0C */ stw r0, 0x40c(r1) -/* 80249748 00246688 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 8024974C 0024668C C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 80249750 00246690 38 A0 00 00 */ li r5, 0 -/* 80249754 00246694 90 81 04 08 */ stw r4, 0x408(r1) -/* 80249758 00246698 38 C0 00 00 */ li r6, 0 -/* 8024975C 0024669C C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 80249760 002466A0 C8 21 04 08 */ lfd f1, 0x408(r1) -/* 80249764 002466A4 90 01 04 14 */ stw r0, 0x414(r1) -/* 80249768 002466A8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024976C 002466AC 90 81 04 10 */ stw r4, 0x410(r1) -/* 80249770 002466B0 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80249774 002466B4 C8 01 04 10 */ lfd f0, 0x410(r1) -/* 80249778 002466B8 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024977C 002466BC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80249780 002466C0 FC 00 00 1E */ fctiwz f0, f0 -/* 80249784 002466C4 D8 01 04 18 */ stfd f0, 0x418(r1) -/* 80249788 002466C8 80 61 04 1C */ lwz r3, 0x41c(r1) -/* 8024978C 002466CC 7F C9 03 A6 */ mtctr r30 -/* 80249790 002466D0 2C 1E 00 00 */ cmpwi r30, 0 -/* 80249794 002466D4 40 81 00 34 */ ble lbl_802497C8 -lbl_80249798: -/* 80249798 002466D8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024979C 002466DC 7C A5 02 14 */ add r5, r5, r0 -/* 802497A0 002466E0 7C 05 18 00 */ cmpw r5, r3 -/* 802497A4 002466E4 40 81 00 18 */ ble lbl_802497BC -/* 802497A8 002466E8 54 C0 10 3A */ slwi r0, r6, 2 -/* 802497AC 002466EC 38 61 02 08 */ addi r3, r1, 0x208 -/* 802497B0 002466F0 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802497B4 002466F4 90 1C 00 38 */ stw r0, 0x38(r28) -/* 802497B8 002466F8 48 00 00 10 */ b lbl_802497C8 -lbl_802497BC: -/* 802497BC 002466FC 3B FF 00 04 */ addi r31, r31, 4 -/* 802497C0 00246700 38 C6 00 01 */ addi r6, r6, 1 -/* 802497C4 00246704 42 00 FF D4 */ bdnz lbl_80249798 -lbl_802497C8: -/* 802497C8 00246708 80 01 04 34 */ lwz r0, 0x434(r1) -/* 802497CC 0024670C 83 E1 04 2C */ lwz r31, 0x42c(r1) -/* 802497D0 00246710 83 C1 04 28 */ lwz r30, 0x428(r1) -/* 802497D4 00246714 83 A1 04 24 */ lwz r29, 0x424(r1) -/* 802497D8 00246718 83 81 04 20 */ lwz r28, 0x420(r1) -/* 802497DC 0024671C 7C 08 03 A6 */ mtlr r0 -/* 802497E0 00246720 38 21 04 30 */ addi r1, r1, 0x430 -/* 802497E4 00246724 4E 80 00 20 */ blr - -.global makeSetEnemyTypeC__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodeiPQ34Game4Cave9EnemyUnit -makeSetEnemyTypeC__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodeiPQ34Game4Cave9EnemyUnit: -/* 802497E8 00246728 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802497EC 0024672C 7C 08 02 A6 */ mflr r0 -/* 802497F0 00246730 90 01 00 54 */ stw r0, 0x54(r1) -/* 802497F4 00246734 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 802497F8 00246738 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 802497FC 0024673C BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80249800 00246740 7C 7B 1B 78 */ mr r27, r3 -/* 80249804 00246744 7C 9C 23 78 */ mr r28, r4 -/* 80249808 00246748 7C BD 2B 78 */ mr r29, r5 -/* 8024980C 0024674C 7C DE 33 78 */ mr r30, r6 -/* 80249810 00246750 38 61 00 08 */ addi r3, r1, 8 -/* 80249814 00246754 4B FF A4 8D */ bl getDoorGlobalPosition__Q34Game4Cave7MapNodeFi -/* 80249818 00246758 C0 41 00 08 */ lfs f2, 8(r1) -/* 8024981C 0024675C 7F 83 E3 78 */ mr r3, r28 -/* 80249820 00246760 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80249824 00246764 7F A4 EB 78 */ mr r4, r29 -/* 80249828 00246768 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8024982C 0024676C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80249830 00246770 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80249834 00246774 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80249838 00246778 4B FF A7 B1 */ bl getDoorGlobalDirection__Q34Game4Cave7MapNodeFi -/* 8024983C 0024677C FF E0 08 90 */ fmr f31, f1 -/* 80249840 00246780 38 60 00 38 */ li r3, 0x38 -/* 80249844 00246784 4B DD A6 61 */ bl __nw__FUl -/* 80249848 00246788 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024984C 0024678C 41 82 00 18 */ beq lbl_80249864 -/* 80249850 00246790 7F C4 F3 78 */ mr r4, r30 -/* 80249854 00246794 38 A0 00 00 */ li r5, 0 -/* 80249858 00246798 38 C0 00 01 */ li r6, 1 -/* 8024985C 0024679C 4B FF A9 6D */ bl __ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni -/* 80249860 002467A0 7C 7F 1B 78 */ mr r31, r3 -lbl_80249864: -/* 80249864 002467A4 FC 20 F8 90 */ fmr f1, f31 -/* 80249868 002467A8 7F E3 FB 78 */ mr r3, r31 -/* 8024986C 002467AC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80249870 002467B0 4B FF AB 95 */ bl setGlobalData__Q34Game4Cave9EnemyNodeFR10Vector3$$0f$$1f -/* 80249874 002467B4 7F E3 FB 78 */ mr r3, r31 -/* 80249878 002467B8 7F A4 EB 78 */ mr r4, r29 -/* 8024987C 002467BC 4B FF AB A9 */ bl setBirthDoorIndex__Q34Game4Cave9EnemyNodeFi -/* 80249880 002467C0 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80249884 002467C4 7F E4 FB 78 */ mr r4, r31 -/* 80249888 002467C8 48 1C 7B 81 */ bl add__5CNodeFP5CNode -/* 8024988C 002467CC 80 7B 00 18 */ lwz r3, 0x18(r27) -/* 80249890 002467D0 38 03 00 01 */ addi r0, r3, 1 -/* 80249894 002467D4 90 1B 00 18 */ stw r0, 0x18(r27) -/* 80249898 002467D8 80 7B 00 08 */ lwz r3, 8(r27) -/* 8024989C 002467DC 38 03 00 01 */ addi r0, r3, 1 -/* 802498A0 002467E0 90 1B 00 08 */ stw r0, 8(r27) -/* 802498A4 002467E4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802498A8 002467E8 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802498AC 002467EC BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 802498B0 002467F0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802498B4 002467F4 7C 08 03 A6 */ mtlr r0 -/* 802498B8 002467F8 38 21 00 50 */ addi r1, r1, 0x50 -/* 802498BC 002467FC 4E 80 00 20 */ blr - -.global setVersusEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv -setVersusEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv: -/* 802498C0 00246800 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802498C4 00246804 7C 08 02 A6 */ mflr r0 -/* 802498C8 00246808 90 01 00 44 */ stw r0, 0x44(r1) -/* 802498CC 0024680C BF 21 00 24 */ stmw r25, 0x24(r1) -/* 802498D0 00246810 7C 7D 1B 78 */ mr r29, r3 -/* 802498D4 00246814 3B E0 00 00 */ li r31, 0 -/* 802498D8 00246818 80 63 00 00 */ lwz r3, 0(r3) -/* 802498DC 0024681C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 802498E0 00246820 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 802498E4 00246824 48 00 01 3C */ b lbl_80249A20 -lbl_802498E8: -/* 802498E8 00246828 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 802498EC 0024682C 80 83 00 00 */ lwz r4, 0(r3) -/* 802498F0 00246830 28 04 00 00 */ cmplwi r4, 0 -/* 802498F4 00246834 41 82 01 28 */ beq lbl_80249A1C -/* 802498F8 00246838 80 04 00 20 */ lwz r0, 0x20(r4) -/* 802498FC 0024683C 2C 00 00 08 */ cmpwi r0, 8 -/* 80249900 00246840 40 82 01 1C */ bne lbl_80249A1C -/* 80249904 00246844 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 80249908 00246848 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 8024990C 0024684C 38 63 66 67 */ addi r3, r3, 0x66666667@l -/* 80249910 00246850 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 80249914 00246854 7C 03 00 96 */ mulhw r0, r3, r0 -/* 80249918 00246858 7C 00 16 70 */ srawi r0, r0, 2 -/* 8024991C 0024685C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80249920 00246860 7C 00 1A 14 */ add r0, r0, r3 -/* 80249924 00246864 7F FF 02 14 */ add r31, r31, r0 -/* 80249928 00246868 7C 1F 20 00 */ cmpw r31, r4 -/* 8024992C 0024686C 40 81 00 F0 */ ble lbl_80249A1C -/* 80249930 00246870 7C 04 F8 50 */ subf r0, r4, r31 -/* 80249934 00246874 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80249938 00246878 54 03 07 FE */ clrlwi r3, r0, 0x1f -/* 8024993C 0024687C 7C 04 02 14 */ add r0, r4, r0 -/* 80249940 00246880 7C 63 22 78 */ xor r3, r3, r4 -/* 80249944 00246884 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80249948 00246888 7F 84 18 50 */ subf r28, r4, r3 -/* 8024994C 0024688C 54 1B 08 3C */ slwi r27, r0, 1 -/* 80249950 00246890 4B E7 FC 51 */ bl rand -/* 80249954 00246894 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80249958 00246898 3C 00 43 30 */ lis r0, 0x4330 -/* 8024995C 0024689C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80249960 002468A0 3B 20 00 00 */ li r25, 0 -/* 80249964 002468A4 C8 62 C4 30 */ lfd f3, lbl_8051A790@sda21(r2) -/* 80249968 002468A8 90 01 00 08 */ stw r0, 8(r1) -/* 8024996C 002468AC C0 22 C4 28 */ lfs f1, lbl_8051A788@sda21(r2) -/* 80249970 002468B0 C8 41 00 08 */ lfd f2, 8(r1) -/* 80249974 002468B4 C0 02 C4 38 */ lfs f0, lbl_8051A798@sda21(r2) -/* 80249978 002468B8 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8024997C 002468BC EC 22 08 24 */ fdivs f1, f2, f1 -/* 80249980 002468C0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80249984 002468C4 FC 00 00 1E */ fctiwz f0, f0 -/* 80249988 002468C8 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8024998C 002468CC 83 41 00 14 */ lwz r26, 0x14(r1) -/* 80249990 002468D0 48 00 00 44 */ b lbl_802499D4 -lbl_80249994: -/* 80249994 002468D4 7F A3 EB 78 */ mr r3, r29 -/* 80249998 002468D8 7F 44 D3 78 */ mr r4, r26 -/* 8024999C 002468DC 48 00 00 A1 */ bl setSlotEnemyTypeF__Q34Game4Cave13RandEnemyUnitFi -/* 802499A0 002468E0 80 9D 00 30 */ lwz r4, 0x30(r29) -/* 802499A4 002468E4 28 04 00 00 */ cmplwi r4, 0 -/* 802499A8 002468E8 41 82 00 80 */ beq lbl_80249A28 -/* 802499AC 002468EC 80 BD 00 34 */ lwz r5, 0x34(r29) -/* 802499B0 002468F0 28 05 00 00 */ cmplwi r5, 0 -/* 802499B4 002468F4 41 82 00 74 */ beq lbl_80249A28 -/* 802499B8 002468F8 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 802499BC 002468FC 7F A3 EB 78 */ mr r3, r29 -/* 802499C0 00246900 48 00 05 FD */ bl makeSetEnemyTypeF__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit -/* 802499C4 00246904 48 00 00 08 */ b lbl_802499CC -/* 802499C8 00246908 48 00 00 60 */ b lbl_80249A28 -lbl_802499CC: -/* 802499CC 0024690C 6B 5A 00 01 */ xori r26, r26, 1 -/* 802499D0 00246910 3B 39 00 01 */ addi r25, r25, 1 -lbl_802499D4: -/* 802499D4 00246914 7C 19 D8 00 */ cmpw r25, r27 -/* 802499D8 00246918 41 80 FF BC */ blt lbl_80249994 -/* 802499DC 0024691C 2C 1C 00 00 */ cmpwi r28, 0 -/* 802499E0 00246920 41 82 00 3C */ beq lbl_80249A1C -/* 802499E4 00246924 7F A3 EB 78 */ mr r3, r29 -/* 802499E8 00246928 38 80 FF FF */ li r4, -1 -/* 802499EC 0024692C 48 00 00 51 */ bl setSlotEnemyTypeF__Q34Game4Cave13RandEnemyUnitFi -/* 802499F0 00246930 80 9D 00 30 */ lwz r4, 0x30(r29) -/* 802499F4 00246934 28 04 00 00 */ cmplwi r4, 0 -/* 802499F8 00246938 41 82 00 30 */ beq lbl_80249A28 -/* 802499FC 0024693C 80 BD 00 34 */ lwz r5, 0x34(r29) -/* 80249A00 00246940 28 05 00 00 */ cmplwi r5, 0 -/* 80249A04 00246944 41 82 00 24 */ beq lbl_80249A28 -/* 80249A08 00246948 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 80249A0C 0024694C 7F A3 EB 78 */ mr r3, r29 -/* 80249A10 00246950 48 00 05 AD */ bl makeSetEnemyTypeF__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit -/* 80249A14 00246954 48 00 00 08 */ b lbl_80249A1C -/* 80249A18 00246958 48 00 00 10 */ b lbl_80249A28 -lbl_80249A1C: -/* 80249A1C 0024695C 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80249A20: -/* 80249A20 00246960 28 1E 00 00 */ cmplwi r30, 0 -/* 80249A24 00246964 40 82 FE C4 */ bne lbl_802498E8 -lbl_80249A28: -/* 80249A28 00246968 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 80249A2C 0024696C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80249A30 00246970 7C 08 03 A6 */ mtlr r0 -/* 80249A34 00246974 38 21 00 40 */ addi r1, r1, 0x40 -/* 80249A38 00246978 4E 80 00 20 */ blr - -.global setSlotEnemyTypeF__Q34Game4Cave13RandEnemyUnitFi -setSlotEnemyTypeF__Q34Game4Cave13RandEnemyUnitFi: -/* 80249A3C 0024697C 94 21 F9 30 */ stwu r1, -0x6d0(r1) -/* 80249A40 00246980 7C 08 02 A6 */ mflr r0 -/* 80249A44 00246984 90 01 06 D4 */ stw r0, 0x6d4(r1) -/* 80249A48 00246988 BD C1 06 88 */ stmw r14, 0x688(r1) -/* 80249A4C 0024698C 7C 6F 1B 78 */ mr r15, r3 -/* 80249A50 00246990 3C 60 80 48 */ lis r3, lbl_80480004@ha -/* 80249A54 00246994 7C 90 23 78 */ mr r16, r4 -/* 80249A58 00246998 3A E0 00 00 */ li r23, 0 -/* 80249A5C 0024699C 39 C0 00 00 */ li r14, 0 -/* 80249A60 002469A0 3A C0 00 00 */ li r22, 0 -/* 80249A64 002469A4 3A A0 00 00 */ li r21, 0 -/* 80249A68 002469A8 3A 80 00 00 */ li r20, 0 -/* 80249A6C 002469AC 80 CF 00 00 */ lwz r6, 0(r15) -/* 80249A70 002469B0 84 A3 40 D0 */ lwzu r5, 0x40d0(r3) -/* 80249A74 002469B4 88 06 00 02 */ lbz r0, 2(r6) -/* 80249A78 002469B8 80 83 00 04 */ lwz r4, lbl_80480004@l(r3) -/* 80249A7C 002469BC 80 63 00 08 */ lwz r3, 8(r3) -/* 80249A80 002469C0 28 00 00 00 */ cmplwi r0, 0 -/* 80249A84 002469C4 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 80249A88 002469C8 82 26 00 28 */ lwz r17, 0x28(r6) -/* 80249A8C 002469CC 90 81 00 30 */ stw r4, 0x30(r1) -/* 80249A90 002469D0 90 61 00 34 */ stw r3, 0x34(r1) -/* 80249A94 002469D4 41 82 00 C8 */ beq lbl_80249B5C -/* 80249A98 002469D8 3A 41 00 38 */ addi r18, r1, 0x38 -/* 80249A9C 002469DC 3A 61 00 2C */ addi r19, r1, 0x2c -/* 80249AA0 002469E0 3B 20 00 03 */ li r25, 3 -lbl_80249AA4: -/* 80249AA4 002469E4 80 6F 00 04 */ lwz r3, 4(r15) -/* 80249AA8 002469E8 7F 24 CB 78 */ mr r4, r25 -/* 80249AAC 002469EC 48 00 30 FD */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 80249AB0 002469F0 7C 60 1B 78 */ mr r0, r3 -/* 80249AB4 002469F4 80 6F 00 04 */ lwz r3, 4(r15) -/* 80249AB8 002469F8 7C 18 03 78 */ mr r24, r0 -/* 80249ABC 002469FC 7F 24 CB 78 */ mr r4, r25 -/* 80249AC0 00246A00 48 00 30 F9 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 80249AC4 00246A04 28 18 00 00 */ cmplwi r24, 0 -/* 80249AC8 00246A08 41 82 00 84 */ beq lbl_80249B4C -/* 80249ACC 00246A0C 7F 04 C3 78 */ mr r4, r24 -/* 80249AD0 00246A10 7C 65 1B 78 */ mr r5, r3 -/* 80249AD4 00246A14 38 61 00 20 */ addi r3, r1, 0x20 -/* 80249AD8 00246A18 4B FF A0 05 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 80249ADC 00246A1C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80249AE0 00246A20 2C 10 00 00 */ cmpwi r16, 0 -/* 80249AE4 00246A24 C0 02 C4 3C */ lfs f0, lbl_8051A79C@sda21(r2) -/* 80249AE8 00246A28 D0 32 00 00 */ stfs f1, 0(r18) -/* 80249AEC 00246A2C C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80249AF0 00246A30 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80249AF4 00246A34 D0 52 00 04 */ stfs f2, 4(r18) -/* 80249AF8 00246A38 D0 32 00 08 */ stfs f1, 8(r18) -/* 80249AFC 00246A3C D0 13 00 00 */ stfs f0, 0(r19) -/* 80249B00 00246A40 40 82 00 20 */ bne lbl_80249B20 -/* 80249B04 00246A44 2C 17 00 00 */ cmpwi r23, 0 -/* 80249B08 00246A48 40 82 00 18 */ bne lbl_80249B20 -/* 80249B0C 00246A4C 7F 03 C3 78 */ mr r3, r24 -/* 80249B10 00246A50 4B FF 9E AD */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 80249B14 00246A54 3A C0 FF FF */ li r22, -1 -/* 80249B18 00246A58 7C 6E 1B 78 */ mr r14, r3 -/* 80249B1C 00246A5C 48 00 00 24 */ b lbl_80249B40 -lbl_80249B20: -/* 80249B20 00246A60 2C 10 00 01 */ cmpwi r16, 1 -/* 80249B24 00246A64 40 82 00 1C */ bne lbl_80249B40 -/* 80249B28 00246A68 2C 17 00 01 */ cmpwi r23, 1 -/* 80249B2C 00246A6C 40 82 00 14 */ bne lbl_80249B40 -/* 80249B30 00246A70 7F 03 C3 78 */ mr r3, r24 -/* 80249B34 00246A74 4B FF 9E 89 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 80249B38 00246A78 3A C0 00 01 */ li r22, 1 -/* 80249B3C 00246A7C 7C 6E 1B 78 */ mr r14, r3 -lbl_80249B40: -/* 80249B40 00246A80 3A 52 00 0C */ addi r18, r18, 0xc -/* 80249B44 00246A84 3A 73 00 04 */ addi r19, r19, 4 -/* 80249B48 00246A88 3A F7 00 01 */ addi r23, r23, 1 -lbl_80249B4C: -/* 80249B4C 00246A8C 3B 39 00 01 */ addi r25, r25, 1 -/* 80249B50 00246A90 2C 19 00 04 */ cmpwi r25, 4 -/* 80249B54 00246A94 40 81 FF 50 */ ble lbl_80249AA4 -/* 80249B58 00246A98 48 00 00 6C */ b lbl_80249BC4 -lbl_80249B5C: -/* 80249B5C 00246A9C 3A 60 00 00 */ li r19, 0 -/* 80249B60 00246AA0 3A 01 00 38 */ addi r16, r1, 0x38 -lbl_80249B64: -/* 80249B64 00246AA4 80 6F 00 04 */ lwz r3, 4(r15) -/* 80249B68 00246AA8 7E 64 9B 78 */ mr r4, r19 -/* 80249B6C 00246AAC 48 00 30 3D */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 80249B70 00246AB0 7C 72 1B 78 */ mr r18, r3 -/* 80249B74 00246AB4 80 6F 00 04 */ lwz r3, 4(r15) -/* 80249B78 00246AB8 7E 64 9B 78 */ mr r4, r19 -/* 80249B7C 00246ABC 48 00 30 3D */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 80249B80 00246AC0 28 12 00 00 */ cmplwi r18, 0 -/* 80249B84 00246AC4 41 82 00 34 */ beq lbl_80249BB8 -/* 80249B88 00246AC8 7E 44 93 78 */ mr r4, r18 -/* 80249B8C 00246ACC 7C 65 1B 78 */ mr r5, r3 -/* 80249B90 00246AD0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80249B94 00246AD4 4B FF 9F 49 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 80249B98 00246AD8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80249B9C 00246ADC 3A F7 00 01 */ addi r23, r23, 1 -/* 80249BA0 00246AE0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80249BA4 00246AE4 D0 10 00 00 */ stfs f0, 0(r16) -/* 80249BA8 00246AE8 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80249BAC 00246AEC D0 30 00 04 */ stfs f1, 4(r16) -/* 80249BB0 00246AF0 D0 10 00 08 */ stfs f0, 8(r16) -/* 80249BB4 00246AF4 3A 10 00 0C */ addi r16, r16, 0xc -lbl_80249BB8: -/* 80249BB8 00246AF8 3A 73 00 01 */ addi r19, r19, 1 -/* 80249BBC 00246AFC 2C 13 00 02 */ cmpwi r19, 2 -/* 80249BC0 00246B00 40 81 FF A4 */ ble lbl_80249B64 -lbl_80249BC4: -/* 80249BC4 00246B04 38 01 00 5C */ addi r0, r1, 0x5c -/* 80249BC8 00246B08 82 71 00 10 */ lwz r19, 0x10(r17) -/* 80249BCC 00246B0C 90 01 06 78 */ stw r0, 0x678(r1) -/* 80249BD0 00246B10 7C 18 03 78 */ mr r24, r0 -/* 80249BD4 00246B14 3B 41 04 5C */ addi r26, r1, 0x45c -/* 80249BD8 00246B18 3B 21 02 5C */ addi r25, r1, 0x25c -/* 80249BDC 00246B1C 48 00 01 6C */ b lbl_80249D48 -lbl_80249BE0: -/* 80249BE0 00246B20 80 73 00 18 */ lwz r3, 0x18(r19) -/* 80249BE4 00246B24 4B FF 8F 95 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 80249BE8 00246B28 2C 03 00 01 */ cmpwi r3, 1 -/* 80249BEC 00246B2C 40 82 01 58 */ bne lbl_80249D44 -/* 80249BF0 00246B30 80 73 00 18 */ lwz r3, 0x18(r19) -/* 80249BF4 00246B34 4B FF 8F CD */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 80249BF8 00246B38 28 03 00 00 */ cmplwi r3, 0 -/* 80249BFC 00246B3C 41 82 01 48 */ beq lbl_80249D44 -/* 80249C00 00246B40 82 43 00 10 */ lwz r18, 0x10(r3) -/* 80249C04 00246B44 7F 5D D3 78 */ mr r29, r26 -/* 80249C08 00246B48 7F 3C CB 78 */ mr r28, r25 -/* 80249C0C 00246B4C 7F 1B C3 78 */ mr r27, r24 -/* 80249C10 00246B50 48 00 01 2C */ b lbl_80249D3C -lbl_80249C14: -/* 80249C14 00246B54 80 12 00 18 */ lwz r0, 0x18(r18) -/* 80249C18 00246B58 2C 00 00 08 */ cmpwi r0, 8 -/* 80249C1C 00246B5C 40 82 01 1C */ bne lbl_80249D38 -/* 80249C20 00246B60 7D E3 7B 78 */ mr r3, r15 -/* 80249C24 00246B64 7E 64 9B 78 */ mr r4, r19 -/* 80249C28 00246B68 7E 45 93 78 */ mr r5, r18 -/* 80249C2C 00246B6C 48 00 1C 0D */ bl isEnemySetGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 80249C30 00246B70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80249C34 00246B74 40 82 01 04 */ bne lbl_80249D38 -/* 80249C38 00246B78 3B E1 00 38 */ addi r31, r1, 0x38 -/* 80249C3C 00246B7C 3B C1 00 2C */ addi r30, r1, 0x2c -/* 80249C40 00246B80 3A 20 00 01 */ li r17, 1 -/* 80249C44 00246B84 3A 00 00 00 */ li r16, 0 -/* 80249C48 00246B88 48 00 00 8C */ b lbl_80249CD4 -lbl_80249C4C: -/* 80249C4C 00246B8C 56 20 06 3F */ clrlwi. r0, r17, 0x18 -/* 80249C50 00246B90 41 82 00 78 */ beq lbl_80249CC8 -/* 80249C54 00246B94 7E 64 9B 78 */ mr r4, r19 -/* 80249C58 00246B98 7E 45 93 78 */ mr r5, r18 -/* 80249C5C 00246B9C 38 61 00 08 */ addi r3, r1, 8 -/* 80249C60 00246BA0 4B FF 9E 7D */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 80249C64 00246BA4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80249C68 00246BA8 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80249C6C 00246BAC C0 61 00 08 */ lfs f3, 8(r1) -/* 80249C70 00246BB0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80249C74 00246BB4 C0 5F 00 00 */ lfs f2, 0(r31) -/* 80249C78 00246BB8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80249C7C 00246BBC C0 1F 00 08 */ lfs f0, 8(r31) -/* 80249C80 00246BC0 EC 63 10 28 */ fsubs f3, f3, f2 -/* 80249C84 00246BC4 EC 84 01 32 */ fmuls f4, f4, f4 -/* 80249C88 00246BC8 EC 41 00 28 */ fsubs f2, f1, f0 -/* 80249C8C 00246BCC C0 02 C4 40 */ lfs f0, lbl_8051A7A0@sda21(r2) -/* 80249C90 00246BD0 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 80249C94 00246BD4 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80249C98 00246BD8 EC 22 08 2A */ fadds f1, f2, f1 -/* 80249C9C 00246BDC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80249CA0 00246BE0 40 81 00 14 */ ble lbl_80249CB4 -/* 80249CA4 00246BE4 40 81 00 14 */ ble lbl_80249CB8 -/* 80249CA8 00246BE8 FC 00 08 34 */ frsqrte f0, f1 -/* 80249CAC 00246BEC EC 20 00 72 */ fmuls f1, f0, f1 -/* 80249CB0 00246BF0 48 00 00 08 */ b lbl_80249CB8 -lbl_80249CB4: -/* 80249CB4 00246BF4 FC 20 00 90 */ fmr f1, f0 -lbl_80249CB8: -/* 80249CB8 00246BF8 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80249CBC 00246BFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80249CC0 00246C00 40 80 00 08 */ bge lbl_80249CC8 -/* 80249CC4 00246C04 3A 20 00 00 */ li r17, 0 -lbl_80249CC8: -/* 80249CC8 00246C08 3B FF 00 0C */ addi r31, r31, 0xc -/* 80249CCC 00246C0C 3B DE 00 04 */ addi r30, r30, 4 -/* 80249CD0 00246C10 3A 10 00 01 */ addi r16, r16, 1 -lbl_80249CD4: -/* 80249CD4 00246C14 7C 10 B8 00 */ cmpw r16, r23 -/* 80249CD8 00246C18 41 80 FF 74 */ blt lbl_80249C4C -/* 80249CDC 00246C1C 56 20 06 3F */ clrlwi. r0, r17, 0x18 -/* 80249CE0 00246C20 41 82 00 58 */ beq lbl_80249D38 -/* 80249CE4 00246C24 92 7D 00 00 */ stw r19, 0(r29) -/* 80249CE8 00246C28 92 5C 00 00 */ stw r18, 0(r28) -/* 80249CEC 00246C2C 80 7D 00 00 */ lwz r3, 0(r29) -/* 80249CF0 00246C30 4B FF 9C CD */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 80249CF4 00246C34 7C 0E 1A 14 */ add r0, r14, r3 -/* 80249CF8 00246C38 7C 16 01 D6 */ mullw r0, r22, r0 -/* 80249CFC 00246C3C 90 1B 00 00 */ stw r0, 0(r27) -/* 80249D00 00246C40 80 1B 00 00 */ lwz r0, 0(r27) -/* 80249D04 00246C44 2C 00 00 00 */ cmpwi r0, 0 -/* 80249D08 00246C48 41 81 00 0C */ bgt lbl_80249D14 -/* 80249D0C 00246C4C 38 00 00 01 */ li r0, 1 -/* 80249D10 00246C50 90 1B 00 00 */ stw r0, 0(r27) -lbl_80249D14: -/* 80249D14 00246C54 80 1B 00 00 */ lwz r0, 0(r27) -/* 80249D18 00246C58 3B 5A 00 04 */ addi r26, r26, 4 -/* 80249D1C 00246C5C 3B 39 00 04 */ addi r25, r25, 4 -/* 80249D20 00246C60 3B 18 00 04 */ addi r24, r24, 4 -/* 80249D24 00246C64 7E 94 02 14 */ add r20, r20, r0 -/* 80249D28 00246C68 3A B5 00 01 */ addi r21, r21, 1 -/* 80249D2C 00246C6C 3B BD 00 04 */ addi r29, r29, 4 -/* 80249D30 00246C70 3B 9C 00 04 */ addi r28, r28, 4 -/* 80249D34 00246C74 3B 7B 00 04 */ addi r27, r27, 4 -lbl_80249D38: -/* 80249D38 00246C78 82 52 00 04 */ lwz r18, 4(r18) -lbl_80249D3C: -/* 80249D3C 00246C7C 28 12 00 00 */ cmplwi r18, 0 -/* 80249D40 00246C80 40 82 FE D4 */ bne lbl_80249C14 -lbl_80249D44: -/* 80249D44 00246C84 82 73 00 04 */ lwz r19, 4(r19) -lbl_80249D48: -/* 80249D48 00246C88 28 13 00 00 */ cmplwi r19, 0 -/* 80249D4C 00246C8C 40 82 FE 94 */ bne lbl_80249BE0 -/* 80249D50 00246C90 38 00 00 00 */ li r0, 0 -/* 80249D54 00246C94 2C 15 00 00 */ cmpwi r21, 0 -/* 80249D58 00246C98 90 0F 00 30 */ stw r0, 0x30(r15) -/* 80249D5C 00246C9C 90 0F 00 34 */ stw r0, 0x34(r15) -/* 80249D60 00246CA0 41 82 00 A8 */ beq lbl_80249E08 -/* 80249D64 00246CA4 4B E7 F8 3D */ bl rand -/* 80249D68 00246CA8 3C 80 43 30 */ lis r4, 0x4330 -/* 80249D6C 00246CAC 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80249D70 00246CB0 90 01 06 64 */ stw r0, 0x664(r1) -/* 80249D74 00246CB4 6E 80 80 00 */ xoris r0, r20, 0x8000 -/* 80249D78 00246CB8 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 80249D7C 00246CBC 38 A0 00 00 */ li r5, 0 -/* 80249D80 00246CC0 90 81 06 60 */ stw r4, 0x660(r1) -/* 80249D84 00246CC4 38 C0 00 00 */ li r6, 0 -/* 80249D88 00246CC8 C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 80249D8C 00246CCC C8 21 06 60 */ lfd f1, 0x660(r1) -/* 80249D90 00246CD0 90 01 06 6C */ stw r0, 0x66c(r1) -/* 80249D94 00246CD4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80249D98 00246CD8 90 81 06 68 */ stw r4, 0x668(r1) -/* 80249D9C 00246CDC EC 21 00 24 */ fdivs f1, f1, f0 -/* 80249DA0 00246CE0 C8 01 06 68 */ lfd f0, 0x668(r1) -/* 80249DA4 00246CE4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80249DA8 00246CE8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80249DAC 00246CEC FC 00 00 1E */ fctiwz f0, f0 -/* 80249DB0 00246CF0 D8 01 06 70 */ stfd f0, 0x670(r1) -/* 80249DB4 00246CF4 80 81 06 74 */ lwz r4, 0x674(r1) -/* 80249DB8 00246CF8 7E A9 03 A6 */ mtctr r21 -/* 80249DBC 00246CFC 2C 15 00 00 */ cmpwi r21, 0 -/* 80249DC0 00246D00 40 81 00 48 */ ble lbl_80249E08 -lbl_80249DC4: -/* 80249DC4 00246D04 80 61 06 78 */ lwz r3, 0x678(r1) -/* 80249DC8 00246D08 80 03 00 00 */ lwz r0, 0(r3) -/* 80249DCC 00246D0C 7C A5 02 14 */ add r5, r5, r0 -/* 80249DD0 00246D10 7C 05 20 00 */ cmpw r5, r4 -/* 80249DD4 00246D14 40 81 00 24 */ ble lbl_80249DF8 -/* 80249DD8 00246D18 54 C0 10 3A */ slwi r0, r6, 2 -/* 80249DDC 00246D1C 38 61 04 5C */ addi r3, r1, 0x45c -/* 80249DE0 00246D20 7C 83 00 2E */ lwzx r4, r3, r0 -/* 80249DE4 00246D24 38 61 02 5C */ addi r3, r1, 0x25c -/* 80249DE8 00246D28 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80249DEC 00246D2C 90 8F 00 30 */ stw r4, 0x30(r15) -/* 80249DF0 00246D30 90 0F 00 34 */ stw r0, 0x34(r15) -/* 80249DF4 00246D34 48 00 00 14 */ b lbl_80249E08 -lbl_80249DF8: -/* 80249DF8 00246D38 38 63 00 04 */ addi r3, r3, 4 -/* 80249DFC 00246D3C 38 C6 00 01 */ addi r6, r6, 1 -/* 80249E00 00246D40 90 61 06 78 */ stw r3, 0x678(r1) -/* 80249E04 00246D44 42 00 FF C0 */ bdnz lbl_80249DC4 -lbl_80249E08: -/* 80249E08 00246D48 B9 C1 06 88 */ lmw r14, 0x688(r1) -/* 80249E0C 00246D4C 80 01 06 D4 */ lwz r0, 0x6d4(r1) -/* 80249E10 00246D50 7C 08 03 A6 */ mtlr r0 -/* 80249E14 00246D54 38 21 06 D0 */ addi r1, r1, 0x6d0 -/* 80249E18 00246D58 4E 80 00 20 */ blr - -.global setUnitRandEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv -setUnitRandEnemyTypeF__Q34Game4Cave13RandEnemyUnitFv: -/* 80249E1C 00246D5C 94 21 FB D0 */ stwu r1, -0x430(r1) -/* 80249E20 00246D60 7C 08 02 A6 */ mflr r0 -/* 80249E24 00246D64 39 20 00 00 */ li r9, 0 -/* 80249E28 00246D68 90 01 04 34 */ stw r0, 0x434(r1) -/* 80249E2C 00246D6C 38 A1 02 08 */ addi r5, r1, 0x208 -/* 80249E30 00246D70 93 E1 04 2C */ stw r31, 0x42c(r1) -/* 80249E34 00246D74 3B E1 00 08 */ addi r31, r1, 8 -/* 80249E38 00246D78 7F E6 FB 78 */ mr r6, r31 -/* 80249E3C 00246D7C 93 C1 04 28 */ stw r30, 0x428(r1) -/* 80249E40 00246D80 3B C0 00 00 */ li r30, 0 -/* 80249E44 00246D84 93 A1 04 24 */ stw r29, 0x424(r1) -/* 80249E48 00246D88 3B A0 00 00 */ li r29, 0 -/* 80249E4C 00246D8C 93 81 04 20 */ stw r28, 0x420(r1) -/* 80249E50 00246D90 7C 7C 1B 78 */ mr r28, r3 -/* 80249E54 00246D94 80 63 00 00 */ lwz r3, 0(r3) -/* 80249E58 00246D98 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80249E5C 00246D9C 81 43 00 10 */ lwz r10, 0x10(r3) -/* 80249E60 00246DA0 48 00 00 94 */ b lbl_80249EF4 -lbl_80249E64: -/* 80249E64 00246DA4 81 0A 00 18 */ lwz r8, 0x18(r10) -/* 80249E68 00246DA8 80 88 00 00 */ lwz r4, 0(r8) -/* 80249E6C 00246DAC 28 04 00 00 */ cmplwi r4, 0 -/* 80249E70 00246DB0 41 82 00 80 */ beq lbl_80249EF0 -/* 80249E74 00246DB4 80 04 00 20 */ lwz r0, 0x20(r4) -/* 80249E78 00246DB8 2C 00 00 08 */ cmpwi r0, 8 -/* 80249E7C 00246DBC 40 82 00 74 */ bne lbl_80249EF0 -/* 80249E80 00246DC0 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 80249E84 00246DC4 80 E4 00 1C */ lwz r7, 0x1c(r4) -/* 80249E88 00246DC8 38 03 66 67 */ addi r0, r3, 0x66666667@l -/* 80249E8C 00246DCC 7C 00 38 96 */ mulhw r0, r0, r7 -/* 80249E90 00246DD0 7C 03 16 70 */ srawi r3, r0, 2 -/* 80249E94 00246DD4 54 64 0F FE */ srwi r4, r3, 0x1f -/* 80249E98 00246DD8 7C 00 16 70 */ srawi r0, r0, 2 -/* 80249E9C 00246DDC 7C 63 22 14 */ add r3, r3, r4 -/* 80249EA0 00246DE0 1C 83 00 0A */ mulli r4, r3, 0xa -/* 80249EA4 00246DE4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80249EA8 00246DE8 7D 60 1A 15 */ add. r11, r0, r3 -/* 80249EAC 00246DEC 7C 64 38 50 */ subf r3, r4, r7 -/* 80249EB0 00246DF0 41 82 00 1C */ beq lbl_80249ECC -/* 80249EB4 00246DF4 80 1C 00 1C */ lwz r0, 0x1c(r28) -/* 80249EB8 00246DF8 7D 29 5A 14 */ add r9, r9, r11 -/* 80249EBC 00246DFC 7C 09 00 00 */ cmpw r9, r0 -/* 80249EC0 00246E00 40 81 00 0C */ ble lbl_80249ECC -/* 80249EC4 00246E04 91 1C 00 38 */ stw r8, 0x38(r28) -/* 80249EC8 00246E08 48 00 00 D4 */ b lbl_80249F9C -lbl_80249ECC: -/* 80249ECC 00246E0C 2C 03 00 00 */ cmpwi r3, 0 -/* 80249ED0 00246E10 41 82 00 20 */ beq lbl_80249EF0 -/* 80249ED4 00246E14 90 66 00 00 */ stw r3, 0(r6) -/* 80249ED8 00246E18 3B DE 00 01 */ addi r30, r30, 1 -/* 80249EDC 00246E1C 80 06 00 00 */ lwz r0, 0(r6) -/* 80249EE0 00246E20 38 C6 00 04 */ addi r6, r6, 4 -/* 80249EE4 00246E24 91 05 00 00 */ stw r8, 0(r5) -/* 80249EE8 00246E28 38 A5 00 04 */ addi r5, r5, 4 -/* 80249EEC 00246E2C 7F BD 02 14 */ add r29, r29, r0 -lbl_80249EF0: -/* 80249EF0 00246E30 81 4A 00 04 */ lwz r10, 4(r10) -lbl_80249EF4: -/* 80249EF4 00246E34 28 0A 00 00 */ cmplwi r10, 0 -/* 80249EF8 00246E38 40 82 FF 6C */ bne lbl_80249E64 -/* 80249EFC 00246E3C 38 00 00 00 */ li r0, 0 -/* 80249F00 00246E40 2C 1D 00 00 */ cmpwi r29, 0 -/* 80249F04 00246E44 90 1C 00 38 */ stw r0, 0x38(r28) -/* 80249F08 00246E48 41 82 00 94 */ beq lbl_80249F9C -/* 80249F0C 00246E4C 4B E7 F6 95 */ bl rand -/* 80249F10 00246E50 3C 80 43 30 */ lis r4, 0x4330 -/* 80249F14 00246E54 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80249F18 00246E58 90 01 04 0C */ stw r0, 0x40c(r1) -/* 80249F1C 00246E5C 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 80249F20 00246E60 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 80249F24 00246E64 38 A0 00 00 */ li r5, 0 -/* 80249F28 00246E68 90 81 04 08 */ stw r4, 0x408(r1) -/* 80249F2C 00246E6C 38 C0 00 00 */ li r6, 0 -/* 80249F30 00246E70 C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 80249F34 00246E74 C8 21 04 08 */ lfd f1, 0x408(r1) -/* 80249F38 00246E78 90 01 04 14 */ stw r0, 0x414(r1) -/* 80249F3C 00246E7C EC 21 10 28 */ fsubs f1, f1, f2 -/* 80249F40 00246E80 90 81 04 10 */ stw r4, 0x410(r1) -/* 80249F44 00246E84 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80249F48 00246E88 C8 01 04 10 */ lfd f0, 0x410(r1) -/* 80249F4C 00246E8C EC 00 10 28 */ fsubs f0, f0, f2 -/* 80249F50 00246E90 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80249F54 00246E94 FC 00 00 1E */ fctiwz f0, f0 -/* 80249F58 00246E98 D8 01 04 18 */ stfd f0, 0x418(r1) -/* 80249F5C 00246E9C 80 61 04 1C */ lwz r3, 0x41c(r1) -/* 80249F60 00246EA0 7F C9 03 A6 */ mtctr r30 -/* 80249F64 00246EA4 2C 1E 00 00 */ cmpwi r30, 0 -/* 80249F68 00246EA8 40 81 00 34 */ ble lbl_80249F9C -lbl_80249F6C: -/* 80249F6C 00246EAC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80249F70 00246EB0 7C A5 02 14 */ add r5, r5, r0 -/* 80249F74 00246EB4 7C 05 18 00 */ cmpw r5, r3 -/* 80249F78 00246EB8 40 81 00 18 */ ble lbl_80249F90 -/* 80249F7C 00246EBC 54 C0 10 3A */ slwi r0, r6, 2 -/* 80249F80 00246EC0 38 61 02 08 */ addi r3, r1, 0x208 -/* 80249F84 00246EC4 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80249F88 00246EC8 90 1C 00 38 */ stw r0, 0x38(r28) -/* 80249F8C 00246ECC 48 00 00 10 */ b lbl_80249F9C -lbl_80249F90: -/* 80249F90 00246ED0 3B FF 00 04 */ addi r31, r31, 4 -/* 80249F94 00246ED4 38 C6 00 01 */ addi r6, r6, 1 -/* 80249F98 00246ED8 42 00 FF D4 */ bdnz lbl_80249F6C -lbl_80249F9C: -/* 80249F9C 00246EDC 80 01 04 34 */ lwz r0, 0x434(r1) -/* 80249FA0 00246EE0 83 E1 04 2C */ lwz r31, 0x42c(r1) -/* 80249FA4 00246EE4 83 C1 04 28 */ lwz r30, 0x428(r1) -/* 80249FA8 00246EE8 83 A1 04 24 */ lwz r29, 0x424(r1) -/* 80249FAC 00246EEC 83 81 04 20 */ lwz r28, 0x420(r1) -/* 80249FB0 00246EF0 7C 08 03 A6 */ mtlr r0 -/* 80249FB4 00246EF4 38 21 04 30 */ addi r1, r1, 0x430 -/* 80249FB8 00246EF8 4E 80 00 20 */ blr - -.global makeSetEnemyTypeF__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit -makeSetEnemyTypeF__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit: -/* 80249FBC 00246EFC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80249FC0 00246F00 7C 08 02 A6 */ mflr r0 -/* 80249FC4 00246F04 90 01 00 24 */ stw r0, 0x24(r1) -/* 80249FC8 00246F08 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80249FCC 00246F0C 7C 7B 1B 78 */ mr r27, r3 -/* 80249FD0 00246F10 7C 9C 23 78 */ mr r28, r4 -/* 80249FD4 00246F14 7C BD 2B 78 */ mr r29, r5 -/* 80249FD8 00246F18 7C DE 33 78 */ mr r30, r6 -/* 80249FDC 00246F1C 38 60 00 38 */ li r3, 0x38 -/* 80249FE0 00246F20 4B DD 9E C5 */ bl __nw__FUl -/* 80249FE4 00246F24 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80249FE8 00246F28 41 82 00 18 */ beq lbl_8024A000 -/* 80249FEC 00246F2C 7F C4 F3 78 */ mr r4, r30 -/* 80249FF0 00246F30 7F A5 EB 78 */ mr r5, r29 -/* 80249FF4 00246F34 38 C0 00 01 */ li r6, 1 -/* 80249FF8 00246F38 4B FF A1 D1 */ bl __ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni -/* 80249FFC 00246F3C 7C 7F 1B 78 */ mr r31, r3 -lbl_8024A000: -/* 8024A000 00246F40 7F E3 FB 78 */ mr r3, r31 -/* 8024A004 00246F44 7F 84 E3 78 */ mr r4, r28 -/* 8024A008 00246F48 4B FF A2 55 */ bl makeGlobalData__Q34Game4Cave9EnemyNodeFPQ34Game4Cave7MapNode -/* 8024A00C 00246F4C 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 8024A010 00246F50 7F E4 FB 78 */ mr r4, r31 -/* 8024A014 00246F54 48 1C 73 F5 */ bl add__5CNodeFP5CNode -/* 8024A018 00246F58 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 8024A01C 00246F5C 38 03 00 01 */ addi r0, r3, 1 -/* 8024A020 00246F60 90 1B 00 1C */ stw r0, 0x1c(r27) -/* 8024A024 00246F64 80 7B 00 08 */ lwz r3, 8(r27) -/* 8024A028 00246F68 38 03 00 01 */ addi r0, r3, 1 -/* 8024A02C 00246F6C 90 1B 00 08 */ stw r0, 8(r27) -/* 8024A030 00246F70 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8024A034 00246F74 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024A038 00246F78 7C 08 03 A6 */ mtlr r0 -/* 8024A03C 00246F7C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024A040 00246F80 4E 80 00 20 */ blr - -.global setVersusEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv -setVersusEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv: -/* 8024A044 00246F84 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8024A048 00246F88 7C 08 02 A6 */ mflr r0 -/* 8024A04C 00246F8C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8024A050 00246F90 BF 21 00 24 */ stmw r25, 0x24(r1) -/* 8024A054 00246F94 7C 7D 1B 78 */ mr r29, r3 -/* 8024A058 00246F98 3B E0 00 00 */ li r31, 0 -/* 8024A05C 00246F9C 80 63 00 00 */ lwz r3, 0(r3) -/* 8024A060 00246FA0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8024A064 00246FA4 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 8024A068 00246FA8 48 00 01 3C */ b lbl_8024A1A4 -lbl_8024A06C: -/* 8024A06C 00246FAC 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8024A070 00246FB0 80 83 00 00 */ lwz r4, 0(r3) -/* 8024A074 00246FB4 28 04 00 00 */ cmplwi r4, 0 -/* 8024A078 00246FB8 41 82 01 28 */ beq lbl_8024A1A0 -/* 8024A07C 00246FBC 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8024A080 00246FC0 2C 00 00 01 */ cmpwi r0, 1 -/* 8024A084 00246FC4 40 82 01 1C */ bne lbl_8024A1A0 -/* 8024A088 00246FC8 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 8024A08C 00246FCC 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 8024A090 00246FD0 38 63 66 67 */ addi r3, r3, 0x66666667@l -/* 8024A094 00246FD4 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 8024A098 00246FD8 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8024A09C 00246FDC 7C 00 16 70 */ srawi r0, r0, 2 -/* 8024A0A0 00246FE0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8024A0A4 00246FE4 7C 00 1A 14 */ add r0, r0, r3 -/* 8024A0A8 00246FE8 7F FF 02 14 */ add r31, r31, r0 -/* 8024A0AC 00246FEC 7C 1F 20 00 */ cmpw r31, r4 -/* 8024A0B0 00246FF0 40 81 00 F0 */ ble lbl_8024A1A0 -/* 8024A0B4 00246FF4 7C 04 F8 50 */ subf r0, r4, r31 -/* 8024A0B8 00246FF8 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8024A0BC 00246FFC 54 03 07 FE */ clrlwi r3, r0, 0x1f -/* 8024A0C0 00247000 7C 04 02 14 */ add r0, r4, r0 -/* 8024A0C4 00247004 7C 63 22 78 */ xor r3, r3, r4 -/* 8024A0C8 00247008 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8024A0CC 0024700C 7F 84 18 50 */ subf r28, r4, r3 -/* 8024A0D0 00247010 54 1B 08 3C */ slwi r27, r0, 1 -/* 8024A0D4 00247014 4B E7 F4 CD */ bl rand -/* 8024A0D8 00247018 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024A0DC 0024701C 3C 00 43 30 */ lis r0, 0x4330 -/* 8024A0E0 00247020 90 61 00 0C */ stw r3, 0xc(r1) -/* 8024A0E4 00247024 3B 20 00 00 */ li r25, 0 -/* 8024A0E8 00247028 C8 62 C4 30 */ lfd f3, lbl_8051A790@sda21(r2) -/* 8024A0EC 0024702C 90 01 00 08 */ stw r0, 8(r1) -/* 8024A0F0 00247030 C0 22 C4 28 */ lfs f1, lbl_8051A788@sda21(r2) -/* 8024A0F4 00247034 C8 41 00 08 */ lfd f2, 8(r1) -/* 8024A0F8 00247038 C0 02 C4 38 */ lfs f0, lbl_8051A798@sda21(r2) -/* 8024A0FC 0024703C EC 42 18 28 */ fsubs f2, f2, f3 -/* 8024A100 00247040 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8024A104 00247044 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024A108 00247048 FC 00 00 1E */ fctiwz f0, f0 -/* 8024A10C 0024704C D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8024A110 00247050 83 41 00 14 */ lwz r26, 0x14(r1) -/* 8024A114 00247054 48 00 00 44 */ b lbl_8024A158 -lbl_8024A118: -/* 8024A118 00247058 7F A3 EB 78 */ mr r3, r29 -/* 8024A11C 0024705C 7F 44 D3 78 */ mr r4, r26 -/* 8024A120 00247060 48 00 00 A1 */ bl setSlotEnemyTypeB__Q34Game4Cave13RandEnemyUnitFi -/* 8024A124 00247064 80 9D 00 30 */ lwz r4, 0x30(r29) -/* 8024A128 00247068 28 04 00 00 */ cmplwi r4, 0 -/* 8024A12C 0024706C 41 82 00 80 */ beq lbl_8024A1AC -/* 8024A130 00247070 80 BD 00 34 */ lwz r5, 0x34(r29) -/* 8024A134 00247074 28 05 00 00 */ cmplwi r5, 0 -/* 8024A138 00247078 41 82 00 74 */ beq lbl_8024A1AC -/* 8024A13C 0024707C 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 8024A140 00247080 7F A3 EB 78 */ mr r3, r29 -/* 8024A144 00247084 48 00 05 FD */ bl makeSetEnemyTypeB__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit -/* 8024A148 00247088 48 00 00 08 */ b lbl_8024A150 -/* 8024A14C 0024708C 48 00 00 60 */ b lbl_8024A1AC -lbl_8024A150: -/* 8024A150 00247090 6B 5A 00 01 */ xori r26, r26, 1 -/* 8024A154 00247094 3B 39 00 01 */ addi r25, r25, 1 -lbl_8024A158: -/* 8024A158 00247098 7C 19 D8 00 */ cmpw r25, r27 -/* 8024A15C 0024709C 41 80 FF BC */ blt lbl_8024A118 -/* 8024A160 002470A0 2C 1C 00 00 */ cmpwi r28, 0 -/* 8024A164 002470A4 41 82 00 3C */ beq lbl_8024A1A0 -/* 8024A168 002470A8 7F A3 EB 78 */ mr r3, r29 -/* 8024A16C 002470AC 38 80 FF FF */ li r4, -1 -/* 8024A170 002470B0 48 00 00 51 */ bl setSlotEnemyTypeB__Q34Game4Cave13RandEnemyUnitFi -/* 8024A174 002470B4 80 9D 00 30 */ lwz r4, 0x30(r29) -/* 8024A178 002470B8 28 04 00 00 */ cmplwi r4, 0 -/* 8024A17C 002470BC 41 82 00 30 */ beq lbl_8024A1AC -/* 8024A180 002470C0 80 BD 00 34 */ lwz r5, 0x34(r29) -/* 8024A184 002470C4 28 05 00 00 */ cmplwi r5, 0 -/* 8024A188 002470C8 41 82 00 24 */ beq lbl_8024A1AC -/* 8024A18C 002470CC 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 8024A190 002470D0 7F A3 EB 78 */ mr r3, r29 -/* 8024A194 002470D4 48 00 05 AD */ bl makeSetEnemyTypeB__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit -/* 8024A198 002470D8 48 00 00 08 */ b lbl_8024A1A0 -/* 8024A19C 002470DC 48 00 00 10 */ b lbl_8024A1AC -lbl_8024A1A0: -/* 8024A1A0 002470E0 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8024A1A4: -/* 8024A1A4 002470E4 28 1E 00 00 */ cmplwi r30, 0 -/* 8024A1A8 002470E8 40 82 FE C4 */ bne lbl_8024A06C -lbl_8024A1AC: -/* 8024A1AC 002470EC BB 21 00 24 */ lmw r25, 0x24(r1) -/* 8024A1B0 002470F0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8024A1B4 002470F4 7C 08 03 A6 */ mtlr r0 -/* 8024A1B8 002470F8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8024A1BC 002470FC 4E 80 00 20 */ blr - -.global setSlotEnemyTypeB__Q34Game4Cave13RandEnemyUnitFi -setSlotEnemyTypeB__Q34Game4Cave13RandEnemyUnitFi: -/* 8024A1C0 00247100 94 21 F9 30 */ stwu r1, -0x6d0(r1) -/* 8024A1C4 00247104 7C 08 02 A6 */ mflr r0 -/* 8024A1C8 00247108 90 01 06 D4 */ stw r0, 0x6d4(r1) -/* 8024A1CC 0024710C BD C1 06 88 */ stmw r14, 0x688(r1) -/* 8024A1D0 00247110 7C 6F 1B 78 */ mr r15, r3 -/* 8024A1D4 00247114 3C 60 80 48 */ lis r3, lbl_80480004@ha -/* 8024A1D8 00247118 7C 90 23 78 */ mr r16, r4 -/* 8024A1DC 0024711C 3A E0 00 00 */ li r23, 0 -/* 8024A1E0 00247120 39 C0 00 00 */ li r14, 0 -/* 8024A1E4 00247124 3A C0 00 00 */ li r22, 0 -/* 8024A1E8 00247128 3A A0 00 00 */ li r21, 0 -/* 8024A1EC 0024712C 3A 80 00 00 */ li r20, 0 -/* 8024A1F0 00247130 80 CF 00 00 */ lwz r6, 0(r15) -/* 8024A1F4 00247134 84 A3 40 DC */ lwzu r5, 0x40dc(r3) -/* 8024A1F8 00247138 88 06 00 02 */ lbz r0, 2(r6) -/* 8024A1FC 0024713C 80 83 00 04 */ lwz r4, lbl_80480004@l(r3) -/* 8024A200 00247140 80 63 00 08 */ lwz r3, 8(r3) -/* 8024A204 00247144 28 00 00 00 */ cmplwi r0, 0 -/* 8024A208 00247148 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8024A20C 0024714C 82 26 00 28 */ lwz r17, 0x28(r6) -/* 8024A210 00247150 90 81 00 30 */ stw r4, 0x30(r1) -/* 8024A214 00247154 90 61 00 34 */ stw r3, 0x34(r1) -/* 8024A218 00247158 41 82 00 C8 */ beq lbl_8024A2E0 -/* 8024A21C 0024715C 3A 41 00 38 */ addi r18, r1, 0x38 -/* 8024A220 00247160 3A 61 00 2C */ addi r19, r1, 0x2c -/* 8024A224 00247164 3B 20 00 03 */ li r25, 3 -lbl_8024A228: -/* 8024A228 00247168 80 6F 00 04 */ lwz r3, 4(r15) -/* 8024A22C 0024716C 7F 24 CB 78 */ mr r4, r25 -/* 8024A230 00247170 48 00 29 79 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024A234 00247174 7C 60 1B 78 */ mr r0, r3 -/* 8024A238 00247178 80 6F 00 04 */ lwz r3, 4(r15) -/* 8024A23C 0024717C 7C 18 03 78 */ mr r24, r0 -/* 8024A240 00247180 7F 24 CB 78 */ mr r4, r25 -/* 8024A244 00247184 48 00 29 75 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024A248 00247188 28 18 00 00 */ cmplwi r24, 0 -/* 8024A24C 0024718C 41 82 00 84 */ beq lbl_8024A2D0 -/* 8024A250 00247190 7F 04 C3 78 */ mr r4, r24 -/* 8024A254 00247194 7C 65 1B 78 */ mr r5, r3 -/* 8024A258 00247198 38 61 00 20 */ addi r3, r1, 0x20 -/* 8024A25C 0024719C 4B FF 98 81 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024A260 002471A0 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8024A264 002471A4 2C 10 00 00 */ cmpwi r16, 0 -/* 8024A268 002471A8 C0 02 C4 3C */ lfs f0, lbl_8051A79C@sda21(r2) -/* 8024A26C 002471AC D0 32 00 00 */ stfs f1, 0(r18) -/* 8024A270 002471B0 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 8024A274 002471B4 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8024A278 002471B8 D0 52 00 04 */ stfs f2, 4(r18) -/* 8024A27C 002471BC D0 32 00 08 */ stfs f1, 8(r18) -/* 8024A280 002471C0 D0 13 00 00 */ stfs f0, 0(r19) -/* 8024A284 002471C4 40 82 00 20 */ bne lbl_8024A2A4 -/* 8024A288 002471C8 2C 17 00 00 */ cmpwi r23, 0 -/* 8024A28C 002471CC 40 82 00 18 */ bne lbl_8024A2A4 -/* 8024A290 002471D0 7F 03 C3 78 */ mr r3, r24 -/* 8024A294 002471D4 4B FF 97 29 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024A298 002471D8 3A C0 FF FF */ li r22, -1 -/* 8024A29C 002471DC 7C 6E 1B 78 */ mr r14, r3 -/* 8024A2A0 002471E0 48 00 00 24 */ b lbl_8024A2C4 -lbl_8024A2A4: -/* 8024A2A4 002471E4 2C 10 00 01 */ cmpwi r16, 1 -/* 8024A2A8 002471E8 40 82 00 1C */ bne lbl_8024A2C4 -/* 8024A2AC 002471EC 2C 17 00 01 */ cmpwi r23, 1 -/* 8024A2B0 002471F0 40 82 00 14 */ bne lbl_8024A2C4 -/* 8024A2B4 002471F4 7F 03 C3 78 */ mr r3, r24 -/* 8024A2B8 002471F8 4B FF 97 05 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024A2BC 002471FC 3A C0 00 01 */ li r22, 1 -/* 8024A2C0 00247200 7C 6E 1B 78 */ mr r14, r3 -lbl_8024A2C4: -/* 8024A2C4 00247204 3A 52 00 0C */ addi r18, r18, 0xc -/* 8024A2C8 00247208 3A 73 00 04 */ addi r19, r19, 4 -/* 8024A2CC 0024720C 3A F7 00 01 */ addi r23, r23, 1 -lbl_8024A2D0: -/* 8024A2D0 00247210 3B 39 00 01 */ addi r25, r25, 1 -/* 8024A2D4 00247214 2C 19 00 04 */ cmpwi r25, 4 -/* 8024A2D8 00247218 40 81 FF 50 */ ble lbl_8024A228 -/* 8024A2DC 0024721C 48 00 00 6C */ b lbl_8024A348 -lbl_8024A2E0: -/* 8024A2E0 00247220 3A 60 00 00 */ li r19, 0 -/* 8024A2E4 00247224 3A 01 00 38 */ addi r16, r1, 0x38 -lbl_8024A2E8: -/* 8024A2E8 00247228 80 6F 00 04 */ lwz r3, 4(r15) -/* 8024A2EC 0024722C 7E 64 9B 78 */ mr r4, r19 -/* 8024A2F0 00247230 48 00 28 B9 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024A2F4 00247234 7C 72 1B 78 */ mr r18, r3 -/* 8024A2F8 00247238 80 6F 00 04 */ lwz r3, 4(r15) -/* 8024A2FC 0024723C 7E 64 9B 78 */ mr r4, r19 -/* 8024A300 00247240 48 00 28 B9 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024A304 00247244 28 12 00 00 */ cmplwi r18, 0 -/* 8024A308 00247248 41 82 00 34 */ beq lbl_8024A33C -/* 8024A30C 0024724C 7E 44 93 78 */ mr r4, r18 -/* 8024A310 00247250 7C 65 1B 78 */ mr r5, r3 -/* 8024A314 00247254 38 61 00 14 */ addi r3, r1, 0x14 -/* 8024A318 00247258 4B FF 97 C5 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024A31C 0024725C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8024A320 00247260 3A F7 00 01 */ addi r23, r23, 1 -/* 8024A324 00247264 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8024A328 00247268 D0 10 00 00 */ stfs f0, 0(r16) -/* 8024A32C 0024726C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8024A330 00247270 D0 30 00 04 */ stfs f1, 4(r16) -/* 8024A334 00247274 D0 10 00 08 */ stfs f0, 8(r16) -/* 8024A338 00247278 3A 10 00 0C */ addi r16, r16, 0xc -lbl_8024A33C: -/* 8024A33C 0024727C 3A 73 00 01 */ addi r19, r19, 1 -/* 8024A340 00247280 2C 13 00 02 */ cmpwi r19, 2 -/* 8024A344 00247284 40 81 FF A4 */ ble lbl_8024A2E8 -lbl_8024A348: -/* 8024A348 00247288 38 01 00 5C */ addi r0, r1, 0x5c -/* 8024A34C 0024728C 82 71 00 10 */ lwz r19, 0x10(r17) -/* 8024A350 00247290 90 01 06 78 */ stw r0, 0x678(r1) -/* 8024A354 00247294 7C 18 03 78 */ mr r24, r0 -/* 8024A358 00247298 3B 41 04 5C */ addi r26, r1, 0x45c -/* 8024A35C 0024729C 3B 21 02 5C */ addi r25, r1, 0x25c -/* 8024A360 002472A0 48 00 01 6C */ b lbl_8024A4CC -lbl_8024A364: -/* 8024A364 002472A4 80 73 00 18 */ lwz r3, 0x18(r19) -/* 8024A368 002472A8 4B FF 88 11 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024A36C 002472AC 2C 03 00 01 */ cmpwi r3, 1 -/* 8024A370 002472B0 40 82 01 58 */ bne lbl_8024A4C8 -/* 8024A374 002472B4 80 73 00 18 */ lwz r3, 0x18(r19) -/* 8024A378 002472B8 4B FF 88 49 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024A37C 002472BC 28 03 00 00 */ cmplwi r3, 0 -/* 8024A380 002472C0 41 82 01 48 */ beq lbl_8024A4C8 -/* 8024A384 002472C4 82 43 00 10 */ lwz r18, 0x10(r3) -/* 8024A388 002472C8 7F 5D D3 78 */ mr r29, r26 -/* 8024A38C 002472CC 7F 3C CB 78 */ mr r28, r25 -/* 8024A390 002472D0 7F 1B C3 78 */ mr r27, r24 -/* 8024A394 002472D4 48 00 01 2C */ b lbl_8024A4C0 -lbl_8024A398: -/* 8024A398 002472D8 80 12 00 18 */ lwz r0, 0x18(r18) -/* 8024A39C 002472DC 2C 00 00 01 */ cmpwi r0, 1 -/* 8024A3A0 002472E0 40 82 01 1C */ bne lbl_8024A4BC -/* 8024A3A4 002472E4 7D E3 7B 78 */ mr r3, r15 -/* 8024A3A8 002472E8 7E 64 9B 78 */ mr r4, r19 -/* 8024A3AC 002472EC 7E 45 93 78 */ mr r5, r18 -/* 8024A3B0 002472F0 48 00 14 89 */ bl isEnemySetGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024A3B4 002472F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024A3B8 002472F8 40 82 01 04 */ bne lbl_8024A4BC -/* 8024A3BC 002472FC 3B E1 00 38 */ addi r31, r1, 0x38 -/* 8024A3C0 00247300 3B C1 00 2C */ addi r30, r1, 0x2c -/* 8024A3C4 00247304 3A 20 00 01 */ li r17, 1 -/* 8024A3C8 00247308 3A 00 00 00 */ li r16, 0 -/* 8024A3CC 0024730C 48 00 00 8C */ b lbl_8024A458 -lbl_8024A3D0: -/* 8024A3D0 00247310 56 20 06 3F */ clrlwi. r0, r17, 0x18 -/* 8024A3D4 00247314 41 82 00 78 */ beq lbl_8024A44C -/* 8024A3D8 00247318 7E 64 9B 78 */ mr r4, r19 -/* 8024A3DC 0024731C 7E 45 93 78 */ mr r5, r18 -/* 8024A3E0 00247320 38 61 00 08 */ addi r3, r1, 8 -/* 8024A3E4 00247324 4B FF 96 F9 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024A3E8 00247328 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8024A3EC 0024732C C0 1F 00 04 */ lfs f0, 4(r31) -/* 8024A3F0 00247330 C0 61 00 08 */ lfs f3, 8(r1) -/* 8024A3F4 00247334 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8024A3F8 00247338 C0 5F 00 00 */ lfs f2, 0(r31) -/* 8024A3FC 0024733C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8024A400 00247340 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8024A404 00247344 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8024A408 00247348 EC 84 01 32 */ fmuls f4, f4, f4 -/* 8024A40C 0024734C EC 41 00 28 */ fsubs f2, f1, f0 -/* 8024A410 00247350 C0 02 C4 40 */ lfs f0, lbl_8051A7A0@sda21(r2) -/* 8024A414 00247354 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 8024A418 00247358 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8024A41C 0024735C EC 22 08 2A */ fadds f1, f2, f1 -/* 8024A420 00247360 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024A424 00247364 40 81 00 14 */ ble lbl_8024A438 -/* 8024A428 00247368 40 81 00 14 */ ble lbl_8024A43C -/* 8024A42C 0024736C FC 00 08 34 */ frsqrte f0, f1 -/* 8024A430 00247370 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8024A434 00247374 48 00 00 08 */ b lbl_8024A43C -lbl_8024A438: -/* 8024A438 00247378 FC 20 00 90 */ fmr f1, f0 -lbl_8024A43C: -/* 8024A43C 0024737C C0 1E 00 00 */ lfs f0, 0(r30) -/* 8024A440 00247380 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024A444 00247384 40 80 00 08 */ bge lbl_8024A44C -/* 8024A448 00247388 3A 20 00 00 */ li r17, 0 -lbl_8024A44C: -/* 8024A44C 0024738C 3B FF 00 0C */ addi r31, r31, 0xc -/* 8024A450 00247390 3B DE 00 04 */ addi r30, r30, 4 -/* 8024A454 00247394 3A 10 00 01 */ addi r16, r16, 1 -lbl_8024A458: -/* 8024A458 00247398 7C 10 B8 00 */ cmpw r16, r23 -/* 8024A45C 0024739C 41 80 FF 74 */ blt lbl_8024A3D0 -/* 8024A460 002473A0 56 20 06 3F */ clrlwi. r0, r17, 0x18 -/* 8024A464 002473A4 41 82 00 58 */ beq lbl_8024A4BC -/* 8024A468 002473A8 92 7D 00 00 */ stw r19, 0(r29) -/* 8024A46C 002473AC 92 5C 00 00 */ stw r18, 0(r28) -/* 8024A470 002473B0 80 7D 00 00 */ lwz r3, 0(r29) -/* 8024A474 002473B4 4B FF 95 49 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024A478 002473B8 7C 0E 1A 14 */ add r0, r14, r3 -/* 8024A47C 002473BC 7C 16 01 D6 */ mullw r0, r22, r0 -/* 8024A480 002473C0 90 1B 00 00 */ stw r0, 0(r27) -/* 8024A484 002473C4 80 1B 00 00 */ lwz r0, 0(r27) -/* 8024A488 002473C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8024A48C 002473CC 41 81 00 0C */ bgt lbl_8024A498 -/* 8024A490 002473D0 38 00 00 01 */ li r0, 1 -/* 8024A494 002473D4 90 1B 00 00 */ stw r0, 0(r27) -lbl_8024A498: -/* 8024A498 002473D8 80 1B 00 00 */ lwz r0, 0(r27) -/* 8024A49C 002473DC 3B 5A 00 04 */ addi r26, r26, 4 -/* 8024A4A0 002473E0 3B 39 00 04 */ addi r25, r25, 4 -/* 8024A4A4 002473E4 3B 18 00 04 */ addi r24, r24, 4 -/* 8024A4A8 002473E8 7E 94 02 14 */ add r20, r20, r0 -/* 8024A4AC 002473EC 3A B5 00 01 */ addi r21, r21, 1 -/* 8024A4B0 002473F0 3B BD 00 04 */ addi r29, r29, 4 -/* 8024A4B4 002473F4 3B 9C 00 04 */ addi r28, r28, 4 -/* 8024A4B8 002473F8 3B 7B 00 04 */ addi r27, r27, 4 -lbl_8024A4BC: -/* 8024A4BC 002473FC 82 52 00 04 */ lwz r18, 4(r18) -lbl_8024A4C0: -/* 8024A4C0 00247400 28 12 00 00 */ cmplwi r18, 0 -/* 8024A4C4 00247404 40 82 FE D4 */ bne lbl_8024A398 -lbl_8024A4C8: -/* 8024A4C8 00247408 82 73 00 04 */ lwz r19, 4(r19) -lbl_8024A4CC: -/* 8024A4CC 0024740C 28 13 00 00 */ cmplwi r19, 0 -/* 8024A4D0 00247410 40 82 FE 94 */ bne lbl_8024A364 -/* 8024A4D4 00247414 38 00 00 00 */ li r0, 0 -/* 8024A4D8 00247418 2C 15 00 00 */ cmpwi r21, 0 -/* 8024A4DC 0024741C 90 0F 00 30 */ stw r0, 0x30(r15) -/* 8024A4E0 00247420 90 0F 00 34 */ stw r0, 0x34(r15) -/* 8024A4E4 00247424 41 82 00 A8 */ beq lbl_8024A58C -/* 8024A4E8 00247428 4B E7 F0 B9 */ bl rand -/* 8024A4EC 0024742C 3C 80 43 30 */ lis r4, 0x4330 -/* 8024A4F0 00247430 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024A4F4 00247434 90 01 06 64 */ stw r0, 0x664(r1) -/* 8024A4F8 00247438 6E 80 80 00 */ xoris r0, r20, 0x8000 -/* 8024A4FC 0024743C C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 8024A500 00247440 38 A0 00 00 */ li r5, 0 -/* 8024A504 00247444 90 81 06 60 */ stw r4, 0x660(r1) -/* 8024A508 00247448 38 C0 00 00 */ li r6, 0 -/* 8024A50C 0024744C C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 8024A510 00247450 C8 21 06 60 */ lfd f1, 0x660(r1) -/* 8024A514 00247454 90 01 06 6C */ stw r0, 0x66c(r1) -/* 8024A518 00247458 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024A51C 0024745C 90 81 06 68 */ stw r4, 0x668(r1) -/* 8024A520 00247460 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024A524 00247464 C8 01 06 68 */ lfd f0, 0x668(r1) -/* 8024A528 00247468 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024A52C 0024746C EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024A530 00247470 FC 00 00 1E */ fctiwz f0, f0 -/* 8024A534 00247474 D8 01 06 70 */ stfd f0, 0x670(r1) -/* 8024A538 00247478 80 81 06 74 */ lwz r4, 0x674(r1) -/* 8024A53C 0024747C 7E A9 03 A6 */ mtctr r21 -/* 8024A540 00247480 2C 15 00 00 */ cmpwi r21, 0 -/* 8024A544 00247484 40 81 00 48 */ ble lbl_8024A58C -lbl_8024A548: -/* 8024A548 00247488 80 61 06 78 */ lwz r3, 0x678(r1) -/* 8024A54C 0024748C 80 03 00 00 */ lwz r0, 0(r3) -/* 8024A550 00247490 7C A5 02 14 */ add r5, r5, r0 -/* 8024A554 00247494 7C 05 20 00 */ cmpw r5, r4 -/* 8024A558 00247498 40 81 00 24 */ ble lbl_8024A57C -/* 8024A55C 0024749C 54 C0 10 3A */ slwi r0, r6, 2 -/* 8024A560 002474A0 38 61 04 5C */ addi r3, r1, 0x45c -/* 8024A564 002474A4 7C 83 00 2E */ lwzx r4, r3, r0 -/* 8024A568 002474A8 38 61 02 5C */ addi r3, r1, 0x25c -/* 8024A56C 002474AC 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8024A570 002474B0 90 8F 00 30 */ stw r4, 0x30(r15) -/* 8024A574 002474B4 90 0F 00 34 */ stw r0, 0x34(r15) -/* 8024A578 002474B8 48 00 00 14 */ b lbl_8024A58C -lbl_8024A57C: -/* 8024A57C 002474BC 38 63 00 04 */ addi r3, r3, 4 -/* 8024A580 002474C0 38 C6 00 01 */ addi r6, r6, 1 -/* 8024A584 002474C4 90 61 06 78 */ stw r3, 0x678(r1) -/* 8024A588 002474C8 42 00 FF C0 */ bdnz lbl_8024A548 -lbl_8024A58C: -/* 8024A58C 002474CC B9 C1 06 88 */ lmw r14, 0x688(r1) -/* 8024A590 002474D0 80 01 06 D4 */ lwz r0, 0x6d4(r1) -/* 8024A594 002474D4 7C 08 03 A6 */ mtlr r0 -/* 8024A598 002474D8 38 21 06 D0 */ addi r1, r1, 0x6d0 -/* 8024A59C 002474DC 4E 80 00 20 */ blr - -.global setUnitRandEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv -setUnitRandEnemyTypeB__Q34Game4Cave13RandEnemyUnitFv: -/* 8024A5A0 002474E0 94 21 FB D0 */ stwu r1, -0x430(r1) -/* 8024A5A4 002474E4 7C 08 02 A6 */ mflr r0 -/* 8024A5A8 002474E8 39 20 00 00 */ li r9, 0 -/* 8024A5AC 002474EC 90 01 04 34 */ stw r0, 0x434(r1) -/* 8024A5B0 002474F0 38 A1 02 08 */ addi r5, r1, 0x208 -/* 8024A5B4 002474F4 93 E1 04 2C */ stw r31, 0x42c(r1) -/* 8024A5B8 002474F8 3B E1 00 08 */ addi r31, r1, 8 -/* 8024A5BC 002474FC 7F E6 FB 78 */ mr r6, r31 -/* 8024A5C0 00247500 93 C1 04 28 */ stw r30, 0x428(r1) -/* 8024A5C4 00247504 3B C0 00 00 */ li r30, 0 -/* 8024A5C8 00247508 93 A1 04 24 */ stw r29, 0x424(r1) -/* 8024A5CC 0024750C 3B A0 00 00 */ li r29, 0 -/* 8024A5D0 00247510 93 81 04 20 */ stw r28, 0x420(r1) -/* 8024A5D4 00247514 7C 7C 1B 78 */ mr r28, r3 -/* 8024A5D8 00247518 80 63 00 00 */ lwz r3, 0(r3) -/* 8024A5DC 0024751C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8024A5E0 00247520 81 43 00 10 */ lwz r10, 0x10(r3) -/* 8024A5E4 00247524 48 00 00 94 */ b lbl_8024A678 -lbl_8024A5E8: -/* 8024A5E8 00247528 81 0A 00 18 */ lwz r8, 0x18(r10) -/* 8024A5EC 0024752C 80 88 00 00 */ lwz r4, 0(r8) -/* 8024A5F0 00247530 28 04 00 00 */ cmplwi r4, 0 -/* 8024A5F4 00247534 41 82 00 80 */ beq lbl_8024A674 -/* 8024A5F8 00247538 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8024A5FC 0024753C 2C 00 00 01 */ cmpwi r0, 1 -/* 8024A600 00247540 40 82 00 74 */ bne lbl_8024A674 -/* 8024A604 00247544 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 8024A608 00247548 80 E4 00 1C */ lwz r7, 0x1c(r4) -/* 8024A60C 0024754C 38 03 66 67 */ addi r0, r3, 0x66666667@l -/* 8024A610 00247550 7C 00 38 96 */ mulhw r0, r0, r7 -/* 8024A614 00247554 7C 03 16 70 */ srawi r3, r0, 2 -/* 8024A618 00247558 54 64 0F FE */ srwi r4, r3, 0x1f -/* 8024A61C 0024755C 7C 00 16 70 */ srawi r0, r0, 2 -/* 8024A620 00247560 7C 63 22 14 */ add r3, r3, r4 -/* 8024A624 00247564 1C 83 00 0A */ mulli r4, r3, 0xa -/* 8024A628 00247568 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8024A62C 0024756C 7D 60 1A 15 */ add. r11, r0, r3 -/* 8024A630 00247570 7C 64 38 50 */ subf r3, r4, r7 -/* 8024A634 00247574 41 82 00 1C */ beq lbl_8024A650 -/* 8024A638 00247578 80 1C 00 14 */ lwz r0, 0x14(r28) -/* 8024A63C 0024757C 7D 29 5A 14 */ add r9, r9, r11 -/* 8024A640 00247580 7C 09 00 00 */ cmpw r9, r0 -/* 8024A644 00247584 40 81 00 0C */ ble lbl_8024A650 -/* 8024A648 00247588 91 1C 00 38 */ stw r8, 0x38(r28) -/* 8024A64C 0024758C 48 00 00 D4 */ b lbl_8024A720 -lbl_8024A650: -/* 8024A650 00247590 2C 03 00 00 */ cmpwi r3, 0 -/* 8024A654 00247594 41 82 00 20 */ beq lbl_8024A674 -/* 8024A658 00247598 90 66 00 00 */ stw r3, 0(r6) -/* 8024A65C 0024759C 3B DE 00 01 */ addi r30, r30, 1 -/* 8024A660 002475A0 80 06 00 00 */ lwz r0, 0(r6) -/* 8024A664 002475A4 38 C6 00 04 */ addi r6, r6, 4 -/* 8024A668 002475A8 91 05 00 00 */ stw r8, 0(r5) -/* 8024A66C 002475AC 38 A5 00 04 */ addi r5, r5, 4 -/* 8024A670 002475B0 7F BD 02 14 */ add r29, r29, r0 -lbl_8024A674: -/* 8024A674 002475B4 81 4A 00 04 */ lwz r10, 4(r10) -lbl_8024A678: -/* 8024A678 002475B8 28 0A 00 00 */ cmplwi r10, 0 -/* 8024A67C 002475BC 40 82 FF 6C */ bne lbl_8024A5E8 -/* 8024A680 002475C0 38 00 00 00 */ li r0, 0 -/* 8024A684 002475C4 2C 1D 00 00 */ cmpwi r29, 0 -/* 8024A688 002475C8 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8024A68C 002475CC 41 82 00 94 */ beq lbl_8024A720 -/* 8024A690 002475D0 4B E7 EF 11 */ bl rand -/* 8024A694 002475D4 3C 80 43 30 */ lis r4, 0x4330 -/* 8024A698 002475D8 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024A69C 002475DC 90 01 04 0C */ stw r0, 0x40c(r1) -/* 8024A6A0 002475E0 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 8024A6A4 002475E4 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 8024A6A8 002475E8 38 A0 00 00 */ li r5, 0 -/* 8024A6AC 002475EC 90 81 04 08 */ stw r4, 0x408(r1) -/* 8024A6B0 002475F0 38 C0 00 00 */ li r6, 0 -/* 8024A6B4 002475F4 C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 8024A6B8 002475F8 C8 21 04 08 */ lfd f1, 0x408(r1) -/* 8024A6BC 002475FC 90 01 04 14 */ stw r0, 0x414(r1) -/* 8024A6C0 00247600 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024A6C4 00247604 90 81 04 10 */ stw r4, 0x410(r1) -/* 8024A6C8 00247608 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024A6CC 0024760C C8 01 04 10 */ lfd f0, 0x410(r1) -/* 8024A6D0 00247610 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024A6D4 00247614 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024A6D8 00247618 FC 00 00 1E */ fctiwz f0, f0 -/* 8024A6DC 0024761C D8 01 04 18 */ stfd f0, 0x418(r1) -/* 8024A6E0 00247620 80 61 04 1C */ lwz r3, 0x41c(r1) -/* 8024A6E4 00247624 7F C9 03 A6 */ mtctr r30 -/* 8024A6E8 00247628 2C 1E 00 00 */ cmpwi r30, 0 -/* 8024A6EC 0024762C 40 81 00 34 */ ble lbl_8024A720 -lbl_8024A6F0: -/* 8024A6F0 00247630 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024A6F4 00247634 7C A5 02 14 */ add r5, r5, r0 -/* 8024A6F8 00247638 7C 05 18 00 */ cmpw r5, r3 -/* 8024A6FC 0024763C 40 81 00 18 */ ble lbl_8024A714 -/* 8024A700 00247640 54 C0 10 3A */ slwi r0, r6, 2 -/* 8024A704 00247644 38 61 02 08 */ addi r3, r1, 0x208 -/* 8024A708 00247648 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8024A70C 0024764C 90 1C 00 38 */ stw r0, 0x38(r28) -/* 8024A710 00247650 48 00 00 10 */ b lbl_8024A720 -lbl_8024A714: -/* 8024A714 00247654 3B FF 00 04 */ addi r31, r31, 4 -/* 8024A718 00247658 38 C6 00 01 */ addi r6, r6, 1 -/* 8024A71C 0024765C 42 00 FF D4 */ bdnz lbl_8024A6F0 -lbl_8024A720: -/* 8024A720 00247660 80 01 04 34 */ lwz r0, 0x434(r1) -/* 8024A724 00247664 83 E1 04 2C */ lwz r31, 0x42c(r1) -/* 8024A728 00247668 83 C1 04 28 */ lwz r30, 0x428(r1) -/* 8024A72C 0024766C 83 A1 04 24 */ lwz r29, 0x424(r1) -/* 8024A730 00247670 83 81 04 20 */ lwz r28, 0x420(r1) -/* 8024A734 00247674 7C 08 03 A6 */ mtlr r0 -/* 8024A738 00247678 38 21 04 30 */ addi r1, r1, 0x430 -/* 8024A73C 0024767C 4E 80 00 20 */ blr - -.global makeSetEnemyTypeB__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit -makeSetEnemyTypeB__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUnit: -/* 8024A740 00247680 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024A744 00247684 7C 08 02 A6 */ mflr r0 -/* 8024A748 00247688 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024A74C 0024768C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8024A750 00247690 7C 7B 1B 78 */ mr r27, r3 -/* 8024A754 00247694 7C 9C 23 78 */ mr r28, r4 -/* 8024A758 00247698 7C BD 2B 78 */ mr r29, r5 -/* 8024A75C 0024769C 7C DE 33 78 */ mr r30, r6 -/* 8024A760 002476A0 38 60 00 38 */ li r3, 0x38 -/* 8024A764 002476A4 4B DD 97 41 */ bl __nw__FUl -/* 8024A768 002476A8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024A76C 002476AC 41 82 00 18 */ beq lbl_8024A784 -/* 8024A770 002476B0 7F C4 F3 78 */ mr r4, r30 -/* 8024A774 002476B4 7F A5 EB 78 */ mr r5, r29 -/* 8024A778 002476B8 38 C0 00 01 */ li r6, 1 -/* 8024A77C 002476BC 4B FF 9A 4D */ bl __ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni -/* 8024A780 002476C0 7C 7F 1B 78 */ mr r31, r3 -lbl_8024A784: -/* 8024A784 002476C4 7F E3 FB 78 */ mr r3, r31 -/* 8024A788 002476C8 7F 84 E3 78 */ mr r4, r28 -/* 8024A78C 002476CC 4B FF 9A D1 */ bl makeGlobalData__Q34Game4Cave9EnemyNodeFPQ34Game4Cave7MapNode -/* 8024A790 002476D0 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 8024A794 002476D4 7F E4 FB 78 */ mr r4, r31 -/* 8024A798 002476D8 48 1C 6C 71 */ bl add__5CNodeFP5CNode -/* 8024A79C 002476DC 80 7B 00 14 */ lwz r3, 0x14(r27) -/* 8024A7A0 002476E0 38 03 00 01 */ addi r0, r3, 1 -/* 8024A7A4 002476E4 90 1B 00 14 */ stw r0, 0x14(r27) -/* 8024A7A8 002476E8 80 7B 00 08 */ lwz r3, 8(r27) -/* 8024A7AC 002476EC 38 03 00 01 */ addi r0, r3, 1 -/* 8024A7B0 002476F0 90 1B 00 08 */ stw r0, 8(r27) -/* 8024A7B4 002476F4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8024A7B8 002476F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024A7BC 002476FC 7C 08 03 A6 */ mtlr r0 -/* 8024A7C0 00247700 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024A7C4 00247704 4E 80 00 20 */ blr - -.global setVersusEasyEnemy__Q34Game4Cave13RandEnemyUnitFv -setVersusEasyEnemy__Q34Game4Cave13RandEnemyUnitFv: -/* 8024A7C8 00247708 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8024A7CC 0024770C 7C 08 02 A6 */ mflr r0 -/* 8024A7D0 00247710 38 80 00 03 */ li r4, 3 -/* 8024A7D4 00247714 90 01 00 74 */ stw r0, 0x74(r1) -/* 8024A7D8 00247718 BF 01 00 50 */ stmw r24, 0x50(r1) -/* 8024A7DC 0024771C 7C 7B 1B 78 */ mr r27, r3 -/* 8024A7E0 00247720 80 E2 2B 30 */ lwz r7, lbl_80520E90@sda21(r2) -/* 8024A7E4 00247724 80 C2 2B 34 */ lwz r6, lbl_80520E94@sda21(r2) -/* 8024A7E8 00247728 80 A2 2B 38 */ lwz r5, lbl_80520E98@sda21(r2) -/* 8024A7EC 0024772C 80 02 2B 3C */ lwz r0, lbl_80520E9C@sda21(r2) -/* 8024A7F0 00247730 90 E1 00 20 */ stw r7, 0x20(r1) -/* 8024A7F4 00247734 80 63 00 04 */ lwz r3, 4(r3) -/* 8024A7F8 00247738 90 C1 00 24 */ stw r6, 0x24(r1) -/* 8024A7FC 0024773C 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8024A800 00247740 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8024A804 00247744 48 00 23 A5 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024A808 00247748 90 61 00 20 */ stw r3, 0x20(r1) -/* 8024A80C 0024774C 38 80 00 03 */ li r4, 3 -/* 8024A810 00247750 80 7B 00 04 */ lwz r3, 4(r27) -/* 8024A814 00247754 48 00 23 A5 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024A818 00247758 90 61 00 18 */ stw r3, 0x18(r1) -/* 8024A81C 0024775C 38 80 00 04 */ li r4, 4 -/* 8024A820 00247760 80 7B 00 04 */ lwz r3, 4(r27) -/* 8024A824 00247764 48 00 23 85 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024A828 00247768 90 61 00 24 */ stw r3, 0x24(r1) -/* 8024A82C 0024776C 38 80 00 04 */ li r4, 4 -/* 8024A830 00247770 80 7B 00 04 */ lwz r3, 4(r27) -/* 8024A834 00247774 48 00 23 85 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024A838 00247778 80 9B 00 00 */ lwz r4, 0(r27) -/* 8024A83C 0024777C 3C A0 80 48 */ lis r5, lbl_80480004@ha -/* 8024A840 00247780 85 05 40 E8 */ lwzu r8, 0x40e8(r5) -/* 8024A844 00247784 83 C4 00 14 */ lwz r30, 0x14(r4) -/* 8024A848 00247788 81 22 C4 44 */ lwz r9, lbl_8051A7A4@sda21(r2) -/* 8024A84C 0024778C 83 E2 C4 48 */ lwz r31, lbl_8051A7A8@sda21(r2) -/* 8024A850 00247790 80 E5 00 04 */ lwz r7, lbl_80480004@l(r5) -/* 8024A854 00247794 80 C5 00 08 */ lwz r6, 8(r5) -/* 8024A858 00247798 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 8024A85C 0024779C 80 82 2B 40 */ lwz r4, lbl_80520EA0@sda21(r2) -/* 8024A860 002477A0 80 02 2B 44 */ lwz r0, lbl_80520EA4@sda21(r2) -/* 8024A864 002477A4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8024A868 002477A8 83 9E 00 10 */ lwz r28, 0x10(r30) -/* 8024A86C 002477AC 91 21 00 10 */ stw r9, 0x10(r1) -/* 8024A870 002477B0 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8024A874 002477B4 91 01 00 28 */ stw r8, 0x28(r1) -/* 8024A878 002477B8 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8024A87C 002477BC 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8024A880 002477C0 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8024A884 002477C4 90 81 00 08 */ stw r4, 8(r1) -/* 8024A888 002477C8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8024A88C 002477CC 48 00 00 B8 */ b lbl_8024A944 -lbl_8024A890: -/* 8024A890 002477D0 80 DC 00 18 */ lwz r6, 0x18(r28) -/* 8024A894 002477D4 83 BC 00 04 */ lwz r29, 4(r28) -/* 8024A898 002477D8 80 86 00 00 */ lwz r4, 0(r6) -/* 8024A89C 002477DC 28 04 00 00 */ cmplwi r4, 0 -/* 8024A8A0 002477E0 41 82 00 A0 */ beq lbl_8024A940 -/* 8024A8A4 002477E4 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024A8A8 002477E8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8024A8AC 002477EC 7C 03 00 00 */ cmpw r3, r0 -/* 8024A8B0 002477F0 40 82 00 48 */ bne lbl_8024A8F8 -/* 8024A8B4 002477F4 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 8024A8B8 002477F8 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 8024A8BC 002477FC 38 63 66 67 */ addi r3, r3, 0x66666667@l -/* 8024A8C0 00247800 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8024A8C4 00247804 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8024A8C8 00247808 90 C1 00 08 */ stw r6, 8(r1) -/* 8024A8CC 0024780C 7F 83 E3 78 */ mr r3, r28 -/* 8024A8D0 00247810 7C 00 16 70 */ srawi r0, r0, 2 -/* 8024A8D4 00247814 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8024A8D8 00247818 7C 00 22 14 */ add r0, r0, r4 -/* 8024A8DC 0024781C 7C 05 02 14 */ add r0, r5, r0 -/* 8024A8E0 00247820 90 01 00 28 */ stw r0, 0x28(r1) -/* 8024A8E4 00247824 48 1C 6C ED */ bl del__5CNodeFv -/* 8024A8E8 00247828 7F C3 F3 78 */ mr r3, r30 -/* 8024A8EC 0024782C 7F 84 E3 78 */ mr r4, r28 -/* 8024A8F0 00247830 48 1C 6A D1 */ bl addHead__5CNodeFP5CNode -/* 8024A8F4 00247834 48 00 00 4C */ b lbl_8024A940 -lbl_8024A8F8: -/* 8024A8F8 00247838 7C 03 F8 00 */ cmpw r3, r31 -/* 8024A8FC 0024783C 40 82 00 44 */ bne lbl_8024A940 -/* 8024A900 00247840 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 8024A904 00247844 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 8024A908 00247848 38 63 66 67 */ addi r3, r3, 0x66666667@l -/* 8024A90C 0024784C 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 8024A910 00247850 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8024A914 00247854 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8024A918 00247858 7F 83 E3 78 */ mr r3, r28 -/* 8024A91C 0024785C 7C 00 16 70 */ srawi r0, r0, 2 -/* 8024A920 00247860 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8024A924 00247864 7C 00 22 14 */ add r0, r0, r4 -/* 8024A928 00247868 7C 05 02 14 */ add r0, r5, r0 -/* 8024A92C 0024786C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8024A930 00247870 48 1C 6C A1 */ bl del__5CNodeFv -/* 8024A934 00247874 7F C3 F3 78 */ mr r3, r30 -/* 8024A938 00247878 7F 84 E3 78 */ mr r4, r28 -/* 8024A93C 0024787C 48 1C 6A 85 */ bl addHead__5CNodeFP5CNode -lbl_8024A940: -/* 8024A940 00247880 7F BC EB 78 */ mr r28, r29 -lbl_8024A944: -/* 8024A944 00247884 28 1C 00 00 */ cmplwi r28, 0 -/* 8024A948 00247888 40 82 FF 48 */ bne lbl_8024A890 -/* 8024A94C 0024788C 3B C1 00 28 */ addi r30, r1, 0x28 -/* 8024A950 00247890 3B E1 00 08 */ addi r31, r1, 8 -/* 8024A954 00247894 3B 80 00 00 */ li r28, 0 -lbl_8024A958: -/* 8024A958 00247898 80 1E 00 00 */ lwz r0, 0(r30) -/* 8024A95C 0024789C 2C 00 00 00 */ cmpwi r0, 0 -/* 8024A960 002478A0 41 82 01 0C */ beq lbl_8024AA6C -/* 8024A964 002478A4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8024A968 002478A8 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8024A96C 002478AC 7C 00 1A 78 */ xor r0, r0, r3 -/* 8024A970 002478B0 C0 42 C4 40 */ lfs f2, lbl_8051A7A0@sda21(r2) -/* 8024A974 002478B4 7C 03 00 51 */ subf. r0, r3, r0 -/* 8024A978 002478B8 41 82 00 38 */ beq lbl_8024A9B0 -/* 8024A97C 002478BC 4B E7 EC 25 */ bl rand -/* 8024A980 002478C0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024A984 002478C4 3C 00 43 30 */ lis r0, 0x4330 -/* 8024A988 002478C8 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8024A98C 002478CC C8 62 C4 30 */ lfd f3, lbl_8051A790@sda21(r2) -/* 8024A990 002478D0 90 01 00 38 */ stw r0, 0x38(r1) -/* 8024A994 002478D4 C0 22 C4 38 */ lfs f1, lbl_8051A798@sda21(r2) -/* 8024A998 002478D8 C8 41 00 38 */ lfd f2, 0x38(r1) -/* 8024A99C 002478DC C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 8024A9A0 002478E0 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8024A9A4 002478E4 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8024A9A8 002478E8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8024A9AC 002478EC FC 40 00 90 */ fmr f2, f0 -lbl_8024A9B0: -/* 8024A9B0 002478F0 80 BE 00 00 */ lwz r5, 0(r30) -/* 8024A9B4 002478F4 3C 60 43 30 */ lis r3, 0x4330 -/* 8024A9B8 002478F8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024A9BC 002478FC 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 8024A9C0 00247900 90 61 00 38 */ stw r3, 0x38(r1) -/* 8024A9C4 00247904 7C 64 2A 14 */ add r3, r4, r5 -/* 8024A9C8 00247908 C8 22 C4 30 */ lfd f1, lbl_8051A790@sda21(r2) -/* 8024A9CC 0024790C 7C 63 0E 70 */ srawi r3, r3, 1 -/* 8024A9D0 00247910 28 00 00 00 */ cmplwi r0, 0 -/* 8024A9D4 00247914 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024A9D8 00247918 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8024A9DC 0024791C C8 01 00 38 */ lfd f0, 0x38(r1) -/* 8024A9E0 00247920 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8024A9E4 00247924 EC 02 00 2A */ fadds f0, f2, f0 -/* 8024A9E8 00247928 FC 00 00 1E */ fctiwz f0, f0 -/* 8024A9EC 0024792C D8 01 00 40 */ stfd f0, 0x40(r1) -/* 8024A9F0 00247930 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8024A9F4 00247934 90 1E 00 04 */ stw r0, 4(r30) -/* 8024A9F8 00247938 80 7E 00 04 */ lwz r3, 4(r30) -/* 8024A9FC 0024793C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8024AA00 00247940 7C 03 00 50 */ subf r0, r3, r0 -/* 8024AA04 00247944 90 1E 00 00 */ stw r0, 0(r30) -/* 8024AA08 00247948 41 82 00 64 */ beq lbl_8024AA6C -/* 8024AA0C 0024794C 7F DD F3 78 */ mr r29, r30 -/* 8024AA10 00247950 3B 41 00 18 */ addi r26, r1, 0x18 -/* 8024AA14 00247954 3B 21 00 20 */ addi r25, r1, 0x20 -/* 8024AA18 00247958 3B 00 00 00 */ li r24, 0 -lbl_8024AA1C: -/* 8024AA1C 0024795C 80 1D 00 00 */ lwz r0, 0(r29) -/* 8024AA20 00247960 2C 00 00 00 */ cmpwi r0, 0 -/* 8024AA24 00247964 41 82 00 30 */ beq lbl_8024AA54 -/* 8024AA28 00247968 80 99 00 00 */ lwz r4, 0(r25) -/* 8024AA2C 0024796C 7F 63 DB 78 */ mr r3, r27 -/* 8024AA30 00247970 80 BA 00 00 */ lwz r5, 0(r26) -/* 8024AA34 00247974 48 00 00 61 */ bl getVersusEasyEnemyBaseGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024AA38 00247978 7C 65 1B 79 */ or. r5, r3, r3 -/* 8024AA3C 0024797C 41 82 00 18 */ beq lbl_8024AA54 -/* 8024AA40 00247980 80 99 00 00 */ lwz r4, 0(r25) -/* 8024AA44 00247984 7F 63 DB 78 */ mr r3, r27 -/* 8024AA48 00247988 80 DF 00 00 */ lwz r6, 0(r31) -/* 8024AA4C 0024798C 80 FD 00 00 */ lwz r7, 0(r29) -/* 8024AA50 00247990 48 00 09 C9 */ bl makeSetEnemyTypeA__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUniti -lbl_8024AA54: -/* 8024AA54 00247994 3B 18 00 01 */ addi r24, r24, 1 -/* 8024AA58 00247998 3B 5A 00 04 */ addi r26, r26, 4 -/* 8024AA5C 0024799C 2C 18 00 02 */ cmpwi r24, 2 -/* 8024AA60 002479A0 3B 39 00 04 */ addi r25, r25, 4 -/* 8024AA64 002479A4 3B BD 00 04 */ addi r29, r29, 4 -/* 8024AA68 002479A8 41 80 FF B4 */ blt lbl_8024AA1C -lbl_8024AA6C: -/* 8024AA6C 002479AC 3B 9C 00 01 */ addi r28, r28, 1 -/* 8024AA70 002479B0 3B FF 00 04 */ addi r31, r31, 4 -/* 8024AA74 002479B4 2C 1C 00 02 */ cmpwi r28, 2 -/* 8024AA78 002479B8 3B DE 00 08 */ addi r30, r30, 8 -/* 8024AA7C 002479BC 41 80 FE DC */ blt lbl_8024A958 -/* 8024AA80 002479C0 BB 01 00 50 */ lmw r24, 0x50(r1) -/* 8024AA84 002479C4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8024AA88 002479C8 7C 08 03 A6 */ mtlr r0 -/* 8024AA8C 002479CC 38 21 00 70 */ addi r1, r1, 0x70 -/* 8024AA90 002479D0 4E 80 00 20 */ blr - -.global getVersusEasyEnemyBaseGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -getVersusEasyEnemyBaseGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen: -/* 8024AA94 002479D4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8024AA98 002479D8 7C 08 02 A6 */ mflr r0 -/* 8024AA9C 002479DC 90 01 00 44 */ stw r0, 0x44(r1) -/* 8024AAA0 002479E0 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8024AAA4 002479E4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8024AAA8 002479E8 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8024AAAC 002479EC 7C 79 1B 78 */ mr r25, r3 -/* 8024AAB0 002479F0 C3 E2 C4 4C */ lfs f31, lbl_8051A7AC@sda21(r2) -/* 8024AAB4 002479F4 80 63 00 00 */ lwz r3, 0(r3) -/* 8024AAB8 002479F8 7C 9A 23 78 */ mr r26, r4 -/* 8024AABC 002479FC 7C BB 2B 78 */ mr r27, r5 -/* 8024AAC0 00247A00 3B E0 00 00 */ li r31, 0 -/* 8024AAC4 00247A04 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024AAC8 00247A08 3B C0 00 00 */ li r30, 0 -/* 8024AACC 00247A0C 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 8024AAD0 00247A10 48 00 00 D0 */ b lbl_8024ABA0 -lbl_8024AAD4: -/* 8024AAD4 00247A14 7C 1D D0 40 */ cmplw r29, r26 -/* 8024AAD8 00247A18 40 82 00 C4 */ bne lbl_8024AB9C -/* 8024AADC 00247A1C 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 8024AAE0 00247A20 4B FF 80 E1 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024AAE4 00247A24 28 03 00 00 */ cmplwi r3, 0 -/* 8024AAE8 00247A28 41 82 00 B4 */ beq lbl_8024AB9C -/* 8024AAEC 00247A2C 83 83 00 10 */ lwz r28, 0x10(r3) -/* 8024AAF0 00247A30 48 00 00 A4 */ b lbl_8024AB94 -lbl_8024AAF4: -/* 8024AAF4 00247A34 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 8024AAF8 00247A38 2C 00 00 00 */ cmpwi r0, 0 -/* 8024AAFC 00247A3C 40 82 00 94 */ bne lbl_8024AB90 -/* 8024AB00 00247A40 7F 23 CB 78 */ mr r3, r25 -/* 8024AB04 00247A44 7F A4 EB 78 */ mr r4, r29 -/* 8024AB08 00247A48 7F 85 E3 78 */ mr r5, r28 -/* 8024AB0C 00247A4C 48 00 0D 2D */ bl isEnemySetGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024AB10 00247A50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024AB14 00247A54 40 82 00 7C */ bne lbl_8024AB90 -/* 8024AB18 00247A58 C0 3C 00 20 */ lfs f1, 0x20(r28) -/* 8024AB1C 00247A5C C0 1B 00 20 */ lfs f0, 0x20(r27) -/* 8024AB20 00247A60 C0 7C 00 1C */ lfs f3, 0x1c(r28) -/* 8024AB24 00247A64 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8024AB28 00247A68 C0 5B 00 1C */ lfs f2, 0x1c(r27) -/* 8024AB2C 00247A6C C0 3C 00 24 */ lfs f1, 0x24(r28) -/* 8024AB30 00247A70 C0 1B 00 24 */ lfs f0, 0x24(r27) -/* 8024AB34 00247A74 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8024AB38 00247A78 EC 84 01 32 */ fmuls f4, f4, f4 -/* 8024AB3C 00247A7C EC 41 00 28 */ fsubs f2, f1, f0 -/* 8024AB40 00247A80 C0 02 C4 40 */ lfs f0, lbl_8051A7A0@sda21(r2) -/* 8024AB44 00247A84 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 8024AB48 00247A88 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8024AB4C 00247A8C EC 22 08 2A */ fadds f1, f2, f1 -/* 8024AB50 00247A90 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024AB54 00247A94 40 81 00 14 */ ble lbl_8024AB68 -/* 8024AB58 00247A98 40 81 00 14 */ ble lbl_8024AB6C -/* 8024AB5C 00247A9C FC 00 08 34 */ frsqrte f0, f1 -/* 8024AB60 00247AA0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8024AB64 00247AA4 48 00 00 08 */ b lbl_8024AB6C -lbl_8024AB68: -/* 8024AB68 00247AA8 FC 20 00 90 */ fmr f1, f0 -lbl_8024AB6C: -/* 8024AB6C 00247AAC C0 02 C4 50 */ lfs f0, lbl_8051A7B0@sda21(r2) -/* 8024AB70 00247AB0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024AB74 00247AB4 40 80 00 0C */ bge lbl_8024AB80 -/* 8024AB78 00247AB8 7F 9F E3 78 */ mr r31, r28 -/* 8024AB7C 00247ABC 48 00 00 14 */ b lbl_8024AB90 -lbl_8024AB80: -/* 8024AB80 00247AC0 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8024AB84 00247AC4 40 80 00 0C */ bge lbl_8024AB90 -/* 8024AB88 00247AC8 7F 9E E3 78 */ mr r30, r28 -/* 8024AB8C 00247ACC FF E0 08 90 */ fmr f31, f1 -lbl_8024AB90: -/* 8024AB90 00247AD0 83 9C 00 04 */ lwz r28, 4(r28) -lbl_8024AB94: -/* 8024AB94 00247AD4 28 1C 00 00 */ cmplwi r28, 0 -/* 8024AB98 00247AD8 40 82 FF 5C */ bne lbl_8024AAF4 -lbl_8024AB9C: -/* 8024AB9C 00247ADC 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8024ABA0: -/* 8024ABA0 00247AE0 28 1D 00 00 */ cmplwi r29, 0 -/* 8024ABA4 00247AE4 40 82 FF 30 */ bne lbl_8024AAD4 -/* 8024ABA8 00247AE8 28 1E 00 00 */ cmplwi r30, 0 -/* 8024ABAC 00247AEC 41 82 00 0C */ beq lbl_8024ABB8 -/* 8024ABB0 00247AF0 7F C3 F3 78 */ mr r3, r30 -/* 8024ABB4 00247AF4 48 00 00 08 */ b lbl_8024ABBC -lbl_8024ABB8: -/* 8024ABB8 00247AF8 7F E3 FB 78 */ mr r3, r31 -lbl_8024ABBC: -/* 8024ABBC 00247AFC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8024ABC0 00247B00 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8024ABC4 00247B04 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8024ABC8 00247B08 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8024ABCC 00247B0C 7C 08 03 A6 */ mtlr r0 -/* 8024ABD0 00247B10 38 21 00 40 */ addi r1, r1, 0x40 -/* 8024ABD4 00247B14 4E 80 00 20 */ blr - -.global setVersusEnemyTypeA__Q34Game4Cave13RandEnemyUnitFv -setVersusEnemyTypeA__Q34Game4Cave13RandEnemyUnitFv: -/* 8024ABD8 00247B18 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8024ABDC 00247B1C 7C 08 02 A6 */ mflr r0 -/* 8024ABE0 00247B20 90 01 00 54 */ stw r0, 0x54(r1) -/* 8024ABE4 00247B24 BF 01 00 30 */ stmw r24, 0x30(r1) -/* 8024ABE8 00247B28 7C 7A 1B 78 */ mr r26, r3 -/* 8024ABEC 00247B2C 3B E0 00 00 */ li r31, 0 -/* 8024ABF0 00247B30 80 63 00 00 */ lwz r3, 0(r3) -/* 8024ABF4 00247B34 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8024ABF8 00247B38 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 8024ABFC 00247B3C 48 00 01 94 */ b lbl_8024AD90 -lbl_8024AC00: -/* 8024AC00 00247B40 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8024AC04 00247B44 80 83 00 00 */ lwz r4, 0(r3) -/* 8024AC08 00247B48 28 04 00 00 */ cmplwi r4, 0 -/* 8024AC0C 00247B4C 41 82 01 80 */ beq lbl_8024AD8C -/* 8024AC10 00247B50 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8024AC14 00247B54 2C 00 00 00 */ cmpwi r0, 0 -/* 8024AC18 00247B58 40 82 01 74 */ bne lbl_8024AD8C -/* 8024AC1C 00247B5C 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 8024AC20 00247B60 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 8024AC24 00247B64 38 63 66 67 */ addi r3, r3, 0x66666667@l -/* 8024AC28 00247B68 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8024AC2C 00247B6C 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8024AC30 00247B70 7C 00 16 70 */ srawi r0, r0, 2 -/* 8024AC34 00247B74 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8024AC38 00247B78 7C 00 1A 14 */ add r0, r0, r3 -/* 8024AC3C 00247B7C 7F FF 02 14 */ add r31, r31, r0 -/* 8024AC40 00247B80 7C 1F 20 00 */ cmpw r31, r4 -/* 8024AC44 00247B84 40 81 01 48 */ ble lbl_8024AD8C -/* 8024AC48 00247B88 7F A4 F8 50 */ subf r29, r4, r31 -/* 8024AC4C 00247B8C 4B E7 E9 55 */ bl rand -/* 8024AC50 00247B90 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024AC54 00247B94 3C 00 43 30 */ lis r0, 0x4330 -/* 8024AC58 00247B98 90 61 00 14 */ stw r3, 0x14(r1) -/* 8024AC5C 00247B9C 3B 60 00 00 */ li r27, 0 -/* 8024AC60 00247BA0 C8 62 C4 30 */ lfd f3, lbl_8051A790@sda21(r2) -/* 8024AC64 00247BA4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8024AC68 00247BA8 C0 22 C4 28 */ lfs f1, lbl_8051A788@sda21(r2) -/* 8024AC6C 00247BAC C8 41 00 10 */ lfd f2, 0x10(r1) -/* 8024AC70 00247BB0 C0 02 C4 38 */ lfs f0, lbl_8051A798@sda21(r2) -/* 8024AC74 00247BB4 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8024AC78 00247BB8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8024AC7C 00247BBC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024AC80 00247BC0 FC 00 00 1E */ fctiwz f0, f0 -/* 8024AC84 00247BC4 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8024AC88 00247BC8 83 81 00 1C */ lwz r28, 0x1c(r1) -/* 8024AC8C 00247BCC 48 00 00 F8 */ b lbl_8024AD84 -lbl_8024AC90: -/* 8024AC90 00247BD0 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 8024AC94 00247BD4 7C 1F 00 00 */ cmpw r31, r0 -/* 8024AC98 00247BD8 40 81 00 E4 */ ble lbl_8024AD7C -/* 8024AC9C 00247BDC 38 00 00 00 */ li r0, 0 -/* 8024ACA0 00247BE0 7F 43 D3 78 */ mr r3, r26 -/* 8024ACA4 00247BE4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8024ACA8 00247BE8 7F 86 E3 78 */ mr r6, r28 -/* 8024ACAC 00247BEC 38 81 00 0C */ addi r4, r1, 0xc -/* 8024ACB0 00247BF0 38 A1 00 08 */ addi r5, r1, 8 -/* 8024ACB4 00247BF4 90 01 00 08 */ stw r0, 8(r1) -/* 8024ACB8 00247BF8 48 00 00 F5 */ bl setSlotEnemyTypeA__Q34Game4Cave13RandEnemyUnitFRiRii -/* 8024ACBC 00247BFC 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 8024ACC0 00247C00 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8024ACC4 00247C04 7F 20 F8 50 */ subf r25, r0, r31 -/* 8024ACC8 00247C08 7C 03 C8 00 */ cmpw r3, r25 -/* 8024ACCC 00247C0C 40 80 00 08 */ bge lbl_8024ACD4 -/* 8024ACD0 00247C10 7C 79 1B 78 */ mr r25, r3 -lbl_8024ACD4: -/* 8024ACD4 00247C14 83 01 00 08 */ lwz r24, 8(r1) -/* 8024ACD8 00247C18 93 21 00 0C */ stw r25, 0xc(r1) -/* 8024ACDC 00247C1C 7C 19 C0 00 */ cmpw r25, r24 -/* 8024ACE0 00247C20 41 81 00 0C */ bgt lbl_8024ACEC -/* 8024ACE4 00247C24 7F 27 CB 78 */ mr r7, r25 -/* 8024ACE8 00247C28 48 00 00 60 */ b lbl_8024AD48 -lbl_8024ACEC: -/* 8024ACEC 00247C2C 4B E7 E8 B5 */ bl rand -/* 8024ACF0 00247C30 3C 80 43 30 */ lis r4, 0x4330 -/* 8024ACF4 00247C34 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024ACF8 00247C38 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8024ACFC 00247C3C 7C 78 C8 50 */ subf r3, r24, r25 -/* 8024AD00 00247C40 38 03 00 01 */ addi r0, r3, 1 -/* 8024AD04 00247C44 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 8024AD08 00247C48 90 81 00 18 */ stw r4, 0x18(r1) -/* 8024AD0C 00247C4C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8024AD10 00247C50 C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 8024AD14 00247C54 C8 21 00 18 */ lfd f1, 0x18(r1) -/* 8024AD18 00247C58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024AD1C 00247C5C EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024AD20 00247C60 80 01 00 08 */ lwz r0, 8(r1) -/* 8024AD24 00247C64 90 81 00 10 */ stw r4, 0x10(r1) -/* 8024AD28 00247C68 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024AD2C 00247C6C C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8024AD30 00247C70 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024AD34 00247C74 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024AD38 00247C78 FC 00 00 1E */ fctiwz f0, f0 -/* 8024AD3C 00247C7C D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8024AD40 00247C80 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8024AD44 00247C84 7C E0 1A 14 */ add r7, r0, r3 -lbl_8024AD48: -/* 8024AD48 00247C88 80 9A 00 30 */ lwz r4, 0x30(r26) -/* 8024AD4C 00247C8C 28 04 00 00 */ cmplwi r4, 0 -/* 8024AD50 00247C90 41 82 00 48 */ beq lbl_8024AD98 -/* 8024AD54 00247C94 80 BA 00 34 */ lwz r5, 0x34(r26) -/* 8024AD58 00247C98 28 05 00 00 */ cmplwi r5, 0 -/* 8024AD5C 00247C9C 41 82 00 3C */ beq lbl_8024AD98 -/* 8024AD60 00247CA0 2C 07 00 00 */ cmpwi r7, 0 -/* 8024AD64 00247CA4 41 82 00 34 */ beq lbl_8024AD98 -/* 8024AD68 00247CA8 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 8024AD6C 00247CAC 7F 43 D3 78 */ mr r3, r26 -/* 8024AD70 00247CB0 48 00 06 A9 */ bl makeSetEnemyTypeA__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUniti -/* 8024AD74 00247CB4 48 00 00 08 */ b lbl_8024AD7C -/* 8024AD78 00247CB8 48 00 00 20 */ b lbl_8024AD98 -lbl_8024AD7C: -/* 8024AD7C 00247CBC 6B 9C 00 01 */ xori r28, r28, 1 -/* 8024AD80 00247CC0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8024AD84: -/* 8024AD84 00247CC4 7C 1B E8 00 */ cmpw r27, r29 -/* 8024AD88 00247CC8 41 80 FF 08 */ blt lbl_8024AC90 -lbl_8024AD8C: -/* 8024AD8C 00247CCC 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8024AD90: -/* 8024AD90 00247CD0 28 1E 00 00 */ cmplwi r30, 0 -/* 8024AD94 00247CD4 40 82 FE 6C */ bne lbl_8024AC00 -lbl_8024AD98: -/* 8024AD98 00247CD8 BB 01 00 30 */ lmw r24, 0x30(r1) -/* 8024AD9C 00247CDC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8024ADA0 00247CE0 7C 08 03 A6 */ mtlr r0 -/* 8024ADA4 00247CE4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8024ADA8 00247CE8 4E 80 00 20 */ blr - -.global setSlotEnemyTypeA__Q34Game4Cave13RandEnemyUnitFRiRii -setSlotEnemyTypeA__Q34Game4Cave13RandEnemyUnitFRiRii: -/* 8024ADAC 00247CEC 94 21 F9 40 */ stwu r1, -0x6c0(r1) -/* 8024ADB0 00247CF0 7C 08 02 A6 */ mflr r0 -/* 8024ADB4 00247CF4 90 01 06 C4 */ stw r0, 0x6c4(r1) -/* 8024ADB8 00247CF8 BD C1 06 78 */ stmw r14, 0x678(r1) -/* 8024ADBC 00247CFC 7C 6F 1B 78 */ mr r15, r3 -/* 8024ADC0 00247D00 7C D8 33 78 */ mr r24, r6 -/* 8024ADC4 00247D04 3A E0 00 00 */ li r23, 0 -/* 8024ADC8 00247D08 90 81 00 08 */ stw r4, 8(r1) -/* 8024ADCC 00247D0C 39 C0 00 00 */ li r14, 0 -/* 8024ADD0 00247D10 3A C0 00 00 */ li r22, 0 -/* 8024ADD4 00247D14 3A A0 00 00 */ li r21, 0 -/* 8024ADD8 00247D18 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8024ADDC 00247D1C 3A 80 00 00 */ li r20, 0 -/* 8024ADE0 00247D20 81 03 00 00 */ lwz r8, 0(r3) -/* 8024ADE4 00247D24 80 E2 C4 54 */ lwz r7, lbl_8051A7B4@sda21(r2) -/* 8024ADE8 00247D28 88 08 00 02 */ lbz r0, 2(r8) -/* 8024ADEC 00247D2C 80 62 C4 58 */ lwz r3, lbl_8051A7B8@sda21(r2) -/* 8024ADF0 00247D30 28 00 00 00 */ cmplwi r0, 0 -/* 8024ADF4 00247D34 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8024ADF8 00247D38 82 08 00 28 */ lwz r16, 0x28(r8) -/* 8024ADFC 00247D3C 90 61 00 14 */ stw r3, 0x14(r1) -/* 8024AE00 00247D40 41 82 00 B8 */ beq lbl_8024AEB8 -/* 8024AE04 00247D44 3A 60 00 03 */ li r19, 3 -/* 8024AE08 00247D48 3A 21 00 3C */ addi r17, r1, 0x3c -lbl_8024AE0C: -/* 8024AE0C 00247D4C 80 6F 00 04 */ lwz r3, 4(r15) -/* 8024AE10 00247D50 7E 64 9B 78 */ mr r4, r19 -/* 8024AE14 00247D54 48 00 1D 95 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024AE18 00247D58 7C 60 1B 78 */ mr r0, r3 -/* 8024AE1C 00247D5C 80 6F 00 04 */ lwz r3, 4(r15) -/* 8024AE20 00247D60 7C 12 03 78 */ mr r18, r0 -/* 8024AE24 00247D64 7E 64 9B 78 */ mr r4, r19 -/* 8024AE28 00247D68 48 00 1D 91 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024AE2C 00247D6C 28 12 00 00 */ cmplwi r18, 0 -/* 8024AE30 00247D70 41 82 00 78 */ beq lbl_8024AEA8 -/* 8024AE34 00247D74 7E 44 93 78 */ mr r4, r18 -/* 8024AE38 00247D78 7C 65 1B 78 */ mr r5, r3 -/* 8024AE3C 00247D7C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8024AE40 00247D80 4B FF 8C 9D */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024AE44 00247D84 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8024AE48 00247D88 2C 18 00 00 */ cmpwi r24, 0 -/* 8024AE4C 00247D8C C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8024AE50 00247D90 D0 11 00 00 */ stfs f0, 0(r17) -/* 8024AE54 00247D94 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8024AE58 00247D98 D0 31 00 04 */ stfs f1, 4(r17) -/* 8024AE5C 00247D9C D0 11 00 08 */ stfs f0, 8(r17) -/* 8024AE60 00247DA0 40 82 00 20 */ bne lbl_8024AE80 -/* 8024AE64 00247DA4 2C 17 00 00 */ cmpwi r23, 0 -/* 8024AE68 00247DA8 40 82 00 18 */ bne lbl_8024AE80 -/* 8024AE6C 00247DAC 7E 43 93 78 */ mr r3, r18 -/* 8024AE70 00247DB0 4B FF 8B 4D */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024AE74 00247DB4 3A C0 FF FF */ li r22, -1 -/* 8024AE78 00247DB8 7C 6E 1B 78 */ mr r14, r3 -/* 8024AE7C 00247DBC 48 00 00 24 */ b lbl_8024AEA0 -lbl_8024AE80: -/* 8024AE80 00247DC0 2C 18 00 01 */ cmpwi r24, 1 -/* 8024AE84 00247DC4 40 82 00 1C */ bne lbl_8024AEA0 -/* 8024AE88 00247DC8 2C 17 00 01 */ cmpwi r23, 1 -/* 8024AE8C 00247DCC 40 82 00 14 */ bne lbl_8024AEA0 -/* 8024AE90 00247DD0 7E 43 93 78 */ mr r3, r18 -/* 8024AE94 00247DD4 4B FF 8B 29 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024AE98 00247DD8 3A C0 00 01 */ li r22, 1 -/* 8024AE9C 00247DDC 7C 6E 1B 78 */ mr r14, r3 -lbl_8024AEA0: -/* 8024AEA0 00247DE0 3A 31 00 0C */ addi r17, r17, 0xc -/* 8024AEA4 00247DE4 3A F7 00 01 */ addi r23, r23, 1 -lbl_8024AEA8: -/* 8024AEA8 00247DE8 3A 73 00 01 */ addi r19, r19, 1 -/* 8024AEAC 00247DEC 2C 13 00 04 */ cmpwi r19, 4 -/* 8024AEB0 00247DF0 40 81 FF 5C */ ble lbl_8024AE0C -/* 8024AEB4 00247DF4 48 00 00 5C */ b lbl_8024AF10 -lbl_8024AEB8: -/* 8024AEB8 00247DF8 80 6F 00 04 */ lwz r3, 4(r15) -/* 8024AEBC 00247DFC 38 80 00 00 */ li r4, 0 -/* 8024AEC0 00247E00 48 00 1C E9 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024AEC4 00247E04 7C 71 1B 78 */ mr r17, r3 -/* 8024AEC8 00247E08 80 6F 00 04 */ lwz r3, 4(r15) -/* 8024AECC 00247E0C 38 80 00 00 */ li r4, 0 -/* 8024AED0 00247E10 48 00 1C E9 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024AED4 00247E14 28 11 00 00 */ cmplwi r17, 0 -/* 8024AED8 00247E18 41 82 00 38 */ beq lbl_8024AF10 -/* 8024AEDC 00247E1C 7E 24 8B 78 */ mr r4, r17 -/* 8024AEE0 00247E20 7C 65 1B 78 */ mr r5, r3 -/* 8024AEE4 00247E24 38 61 00 24 */ addi r3, r1, 0x24 -/* 8024AEE8 00247E28 4B FF 8B F5 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024AEEC 00247E2C C0 61 00 24 */ lfs f3, 0x24(r1) -/* 8024AEF0 00247E30 3A E0 00 01 */ li r23, 1 -/* 8024AEF4 00247E34 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8024AEF8 00247E38 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8024AEFC 00247E3C C0 02 C4 5C */ lfs f0, lbl_8051A7BC@sda21(r2) -/* 8024AF00 00247E40 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 8024AF04 00247E44 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8024AF08 00247E48 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8024AF0C 00247E4C D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_8024AF10: -/* 8024AF10 00247E50 38 01 00 54 */ addi r0, r1, 0x54 -/* 8024AF14 00247E54 82 70 00 10 */ lwz r19, 0x10(r16) -/* 8024AF18 00247E58 90 01 06 70 */ stw r0, 0x670(r1) -/* 8024AF1C 00247E5C 7C 18 03 78 */ mr r24, r0 -/* 8024AF20 00247E60 3B 41 04 54 */ addi r26, r1, 0x454 -/* 8024AF24 00247E64 3B 21 02 54 */ addi r25, r1, 0x254 -/* 8024AF28 00247E68 48 00 01 6C */ b lbl_8024B094 -lbl_8024AF2C: -/* 8024AF2C 00247E6C 80 73 00 18 */ lwz r3, 0x18(r19) -/* 8024AF30 00247E70 4B FF 7C 49 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024AF34 00247E74 2C 03 00 01 */ cmpwi r3, 1 -/* 8024AF38 00247E78 40 82 01 58 */ bne lbl_8024B090 -/* 8024AF3C 00247E7C 80 73 00 18 */ lwz r3, 0x18(r19) -/* 8024AF40 00247E80 4B FF 7C 81 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024AF44 00247E84 28 03 00 00 */ cmplwi r3, 0 -/* 8024AF48 00247E88 41 82 01 48 */ beq lbl_8024B090 -/* 8024AF4C 00247E8C 82 43 00 10 */ lwz r18, 0x10(r3) -/* 8024AF50 00247E90 7F 5D D3 78 */ mr r29, r26 -/* 8024AF54 00247E94 7F 3C CB 78 */ mr r28, r25 -/* 8024AF58 00247E98 7F 1B C3 78 */ mr r27, r24 -/* 8024AF5C 00247E9C 48 00 01 2C */ b lbl_8024B088 -lbl_8024AF60: -/* 8024AF60 00247EA0 80 12 00 18 */ lwz r0, 0x18(r18) -/* 8024AF64 00247EA4 2C 00 00 00 */ cmpwi r0, 0 -/* 8024AF68 00247EA8 40 82 01 1C */ bne lbl_8024B084 -/* 8024AF6C 00247EAC 7D E3 7B 78 */ mr r3, r15 -/* 8024AF70 00247EB0 7E 64 9B 78 */ mr r4, r19 -/* 8024AF74 00247EB4 7E 45 93 78 */ mr r5, r18 -/* 8024AF78 00247EB8 48 00 08 C1 */ bl isEnemySetGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024AF7C 00247EBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024AF80 00247EC0 40 82 01 04 */ bne lbl_8024B084 -/* 8024AF84 00247EC4 3B E1 00 3C */ addi r31, r1, 0x3c -/* 8024AF88 00247EC8 3B C1 00 10 */ addi r30, r1, 0x10 -/* 8024AF8C 00247ECC 3A 20 00 01 */ li r17, 1 -/* 8024AF90 00247ED0 3A 00 00 00 */ li r16, 0 -/* 8024AF94 00247ED4 48 00 00 8C */ b lbl_8024B020 -lbl_8024AF98: -/* 8024AF98 00247ED8 56 20 06 3F */ clrlwi. r0, r17, 0x18 -/* 8024AF9C 00247EDC 41 82 00 78 */ beq lbl_8024B014 -/* 8024AFA0 00247EE0 7E 64 9B 78 */ mr r4, r19 -/* 8024AFA4 00247EE4 7E 45 93 78 */ mr r5, r18 -/* 8024AFA8 00247EE8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8024AFAC 00247EEC 4B FF 8B 31 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024AFB0 00247EF0 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8024AFB4 00247EF4 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8024AFB8 00247EF8 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8024AFBC 00247EFC EC 81 00 28 */ fsubs f4, f1, f0 -/* 8024AFC0 00247F00 C0 5F 00 00 */ lfs f2, 0(r31) -/* 8024AFC4 00247F04 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8024AFC8 00247F08 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8024AFCC 00247F0C EC 63 10 28 */ fsubs f3, f3, f2 -/* 8024AFD0 00247F10 EC 84 01 32 */ fmuls f4, f4, f4 -/* 8024AFD4 00247F14 EC 41 00 28 */ fsubs f2, f1, f0 -/* 8024AFD8 00247F18 C0 02 C4 40 */ lfs f0, lbl_8051A7A0@sda21(r2) -/* 8024AFDC 00247F1C EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 8024AFE0 00247F20 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8024AFE4 00247F24 EC 22 08 2A */ fadds f1, f2, f1 -/* 8024AFE8 00247F28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024AFEC 00247F2C 40 81 00 14 */ ble lbl_8024B000 -/* 8024AFF0 00247F30 40 81 00 14 */ ble lbl_8024B004 -/* 8024AFF4 00247F34 FC 00 08 34 */ frsqrte f0, f1 -/* 8024AFF8 00247F38 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8024AFFC 00247F3C 48 00 00 08 */ b lbl_8024B004 -lbl_8024B000: -/* 8024B000 00247F40 FC 20 00 90 */ fmr f1, f0 -lbl_8024B004: -/* 8024B004 00247F44 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8024B008 00247F48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024B00C 00247F4C 40 80 00 08 */ bge lbl_8024B014 -/* 8024B010 00247F50 3A 20 00 00 */ li r17, 0 -lbl_8024B014: -/* 8024B014 00247F54 3B FF 00 0C */ addi r31, r31, 0xc -/* 8024B018 00247F58 3B DE 00 04 */ addi r30, r30, 4 -/* 8024B01C 00247F5C 3A 10 00 01 */ addi r16, r16, 1 -lbl_8024B020: -/* 8024B020 00247F60 7C 10 B8 00 */ cmpw r16, r23 -/* 8024B024 00247F64 41 80 FF 74 */ blt lbl_8024AF98 -/* 8024B028 00247F68 56 20 06 3F */ clrlwi. r0, r17, 0x18 -/* 8024B02C 00247F6C 41 82 00 58 */ beq lbl_8024B084 -/* 8024B030 00247F70 92 7D 00 00 */ stw r19, 0(r29) -/* 8024B034 00247F74 92 5C 00 00 */ stw r18, 0(r28) -/* 8024B038 00247F78 80 7D 00 00 */ lwz r3, 0(r29) -/* 8024B03C 00247F7C 4B FF 89 81 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024B040 00247F80 7C 0E 1A 14 */ add r0, r14, r3 -/* 8024B044 00247F84 7C 16 01 D6 */ mullw r0, r22, r0 -/* 8024B048 00247F88 90 1B 00 00 */ stw r0, 0(r27) -/* 8024B04C 00247F8C 80 1B 00 00 */ lwz r0, 0(r27) -/* 8024B050 00247F90 2C 00 00 00 */ cmpwi r0, 0 -/* 8024B054 00247F94 41 81 00 0C */ bgt lbl_8024B060 -/* 8024B058 00247F98 38 00 00 01 */ li r0, 1 -/* 8024B05C 00247F9C 90 1B 00 00 */ stw r0, 0(r27) -lbl_8024B060: -/* 8024B060 00247FA0 80 1B 00 00 */ lwz r0, 0(r27) -/* 8024B064 00247FA4 3B 5A 00 04 */ addi r26, r26, 4 -/* 8024B068 00247FA8 3B 39 00 04 */ addi r25, r25, 4 -/* 8024B06C 00247FAC 3B 18 00 04 */ addi r24, r24, 4 -/* 8024B070 00247FB0 7E 94 02 14 */ add r20, r20, r0 -/* 8024B074 00247FB4 3A B5 00 01 */ addi r21, r21, 1 -/* 8024B078 00247FB8 3B BD 00 04 */ addi r29, r29, 4 -/* 8024B07C 00247FBC 3B 9C 00 04 */ addi r28, r28, 4 -/* 8024B080 00247FC0 3B 7B 00 04 */ addi r27, r27, 4 -lbl_8024B084: -/* 8024B084 00247FC4 82 52 00 04 */ lwz r18, 4(r18) -lbl_8024B088: -/* 8024B088 00247FC8 28 12 00 00 */ cmplwi r18, 0 -/* 8024B08C 00247FCC 40 82 FE D4 */ bne lbl_8024AF60 -lbl_8024B090: -/* 8024B090 00247FD0 82 73 00 04 */ lwz r19, 4(r19) -lbl_8024B094: -/* 8024B094 00247FD4 28 13 00 00 */ cmplwi r19, 0 -/* 8024B098 00247FD8 40 82 FE 94 */ bne lbl_8024AF2C -/* 8024B09C 00247FDC 38 00 00 00 */ li r0, 0 -/* 8024B0A0 00247FE0 2C 15 00 00 */ cmpwi r21, 0 -/* 8024B0A4 00247FE4 90 0F 00 30 */ stw r0, 0x30(r15) -/* 8024B0A8 00247FE8 90 0F 00 34 */ stw r0, 0x34(r15) -/* 8024B0AC 00247FEC 41 82 00 C0 */ beq lbl_8024B16C -/* 8024B0B0 00247FF0 4B E7 E4 F1 */ bl rand -/* 8024B0B4 00247FF4 3C 80 43 30 */ lis r4, 0x4330 -/* 8024B0B8 00247FF8 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024B0BC 00247FFC 90 01 06 5C */ stw r0, 0x65c(r1) -/* 8024B0C0 00248000 6E 80 80 00 */ xoris r0, r20, 0x8000 -/* 8024B0C4 00248004 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 8024B0C8 00248008 38 A0 00 00 */ li r5, 0 -/* 8024B0CC 0024800C 90 81 06 58 */ stw r4, 0x658(r1) -/* 8024B0D0 00248010 38 C0 00 00 */ li r6, 0 -/* 8024B0D4 00248014 C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 8024B0D8 00248018 C8 21 06 58 */ lfd f1, 0x658(r1) -/* 8024B0DC 0024801C 90 01 06 64 */ stw r0, 0x664(r1) -/* 8024B0E0 00248020 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024B0E4 00248024 90 81 06 60 */ stw r4, 0x660(r1) -/* 8024B0E8 00248028 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024B0EC 0024802C C8 01 06 60 */ lfd f0, 0x660(r1) -/* 8024B0F0 00248030 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024B0F4 00248034 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024B0F8 00248038 FC 00 00 1E */ fctiwz f0, f0 -/* 8024B0FC 0024803C D8 01 06 68 */ stfd f0, 0x668(r1) -/* 8024B100 00248040 80 81 06 6C */ lwz r4, 0x66c(r1) -/* 8024B104 00248044 7E A9 03 A6 */ mtctr r21 -/* 8024B108 00248048 2C 15 00 00 */ cmpwi r21, 0 -/* 8024B10C 0024804C 40 81 00 60 */ ble lbl_8024B16C -lbl_8024B110: -/* 8024B110 00248050 80 61 06 70 */ lwz r3, 0x670(r1) -/* 8024B114 00248054 80 03 00 00 */ lwz r0, 0(r3) -/* 8024B118 00248058 7C A5 02 14 */ add r5, r5, r0 -/* 8024B11C 0024805C 7C 05 20 00 */ cmpw r5, r4 -/* 8024B120 00248060 40 81 00 3C */ ble lbl_8024B15C -/* 8024B124 00248064 54 C4 10 3A */ slwi r4, r6, 2 -/* 8024B128 00248068 38 61 04 54 */ addi r3, r1, 0x454 -/* 8024B12C 0024806C 7C 03 20 2E */ lwzx r0, r3, r4 -/* 8024B130 00248070 38 61 02 54 */ addi r3, r1, 0x254 -/* 8024B134 00248074 7C 83 20 2E */ lwzx r4, r3, r4 -/* 8024B138 00248078 90 0F 00 30 */ stw r0, 0x30(r15) -/* 8024B13C 0024807C 80 61 00 08 */ lwz r3, 8(r1) -/* 8024B140 00248080 90 8F 00 34 */ stw r4, 0x34(r15) -/* 8024B144 00248084 80 04 00 34 */ lwz r0, 0x34(r4) -/* 8024B148 00248088 90 03 00 00 */ stw r0, 0(r3) -/* 8024B14C 0024808C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8024B150 00248090 80 04 00 30 */ lwz r0, 0x30(r4) -/* 8024B154 00248094 90 03 00 00 */ stw r0, 0(r3) -/* 8024B158 00248098 48 00 00 14 */ b lbl_8024B16C -lbl_8024B15C: -/* 8024B15C 0024809C 38 63 00 04 */ addi r3, r3, 4 -/* 8024B160 002480A0 38 C6 00 01 */ addi r6, r6, 1 -/* 8024B164 002480A4 90 61 06 70 */ stw r3, 0x670(r1) -/* 8024B168 002480A8 42 00 FF A8 */ bdnz lbl_8024B110 -lbl_8024B16C: -/* 8024B16C 002480AC B9 C1 06 78 */ lmw r14, 0x678(r1) -/* 8024B170 002480B0 80 01 06 C4 */ lwz r0, 0x6c4(r1) -/* 8024B174 002480B4 7C 08 03 A6 */ mtlr r0 -/* 8024B178 002480B8 38 21 06 C0 */ addi r1, r1, 0x6c0 -/* 8024B17C 002480BC 4E 80 00 20 */ blr - -.global setUnitRandEnemyTypeA__Q34Game4Cave13RandEnemyUnitFRiii -setUnitRandEnemyTypeA__Q34Game4Cave13RandEnemyUnitFRiii: -/* 8024B180 002480C0 94 21 FB C0 */ stwu r1, -0x440(r1) -/* 8024B184 002480C4 7C 08 02 A6 */ mflr r0 -/* 8024B188 002480C8 39 20 00 00 */ li r9, 0 -/* 8024B18C 002480CC 90 01 04 44 */ stw r0, 0x444(r1) -/* 8024B190 002480D0 BF 21 04 24 */ stmw r25, 0x424(r1) -/* 8024B194 002480D4 7C 79 1B 78 */ mr r25, r3 -/* 8024B198 002480D8 7C BB 2B 78 */ mr r27, r5 -/* 8024B19C 002480DC 3B E1 00 08 */ addi r31, r1, 8 -/* 8024B1A0 002480E0 7C DC 33 78 */ mr r28, r6 -/* 8024B1A4 002480E4 7C 9A 23 78 */ mr r26, r4 -/* 8024B1A8 002480E8 7F E6 FB 78 */ mr r6, r31 -/* 8024B1AC 002480EC 38 A1 02 08 */ addi r5, r1, 0x208 -/* 8024B1B0 002480F0 3B C0 00 00 */ li r30, 0 -/* 8024B1B4 002480F4 3B A0 00 00 */ li r29, 0 -/* 8024B1B8 002480F8 80 63 00 00 */ lwz r3, 0(r3) -/* 8024B1BC 002480FC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8024B1C0 00248100 81 43 00 10 */ lwz r10, 0x10(r3) -/* 8024B1C4 00248104 48 00 01 14 */ b lbl_8024B2D8 -lbl_8024B1C8: -/* 8024B1C8 00248108 81 0A 00 18 */ lwz r8, 0x18(r10) -/* 8024B1CC 0024810C 80 88 00 00 */ lwz r4, 0(r8) -/* 8024B1D0 00248110 28 04 00 00 */ cmplwi r4, 0 -/* 8024B1D4 00248114 41 82 01 00 */ beq lbl_8024B2D4 -/* 8024B1D8 00248118 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8024B1DC 0024811C 2C 00 00 00 */ cmpwi r0, 0 -/* 8024B1E0 00248120 40 82 00 F4 */ bne lbl_8024B2D4 -/* 8024B1E4 00248124 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 8024B1E8 00248128 80 E4 00 1C */ lwz r7, 0x1c(r4) -/* 8024B1EC 0024812C 38 03 66 67 */ addi r0, r3, 0x66666667@l -/* 8024B1F0 00248130 7C 00 38 96 */ mulhw r0, r0, r7 -/* 8024B1F4 00248134 7C 03 16 70 */ srawi r3, r0, 2 -/* 8024B1F8 00248138 54 64 0F FE */ srwi r4, r3, 0x1f -/* 8024B1FC 0024813C 7C 00 16 70 */ srawi r0, r0, 2 -/* 8024B200 00248140 7C 63 22 14 */ add r3, r3, r4 -/* 8024B204 00248144 1C 83 00 0A */ mulli r4, r3, 0xa -/* 8024B208 00248148 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8024B20C 0024814C 7D 60 1A 15 */ add. r11, r0, r3 -/* 8024B210 00248150 7C 64 38 50 */ subf r3, r4, r7 -/* 8024B214 00248154 41 82 00 9C */ beq lbl_8024B2B0 -/* 8024B218 00248158 80 19 00 10 */ lwz r0, 0x10(r25) -/* 8024B21C 0024815C 7D 29 5A 14 */ add r9, r9, r11 -/* 8024B220 00248160 7C 09 00 00 */ cmpw r9, r0 -/* 8024B224 00248164 40 81 00 8C */ ble lbl_8024B2B0 -/* 8024B228 00248168 91 19 00 38 */ stw r8, 0x38(r25) -/* 8024B22C 0024816C 80 19 00 10 */ lwz r0, 0x10(r25) -/* 8024B230 00248170 7F 20 48 50 */ subf r25, r0, r9 -/* 8024B234 00248174 7C 1B C8 00 */ cmpw r27, r25 -/* 8024B238 00248178 40 80 00 08 */ bge lbl_8024B240 -/* 8024B23C 0024817C 7F 79 DB 78 */ mr r25, r27 -lbl_8024B240: -/* 8024B240 00248180 7C 19 E0 00 */ cmpw r25, r28 -/* 8024B244 00248184 41 81 00 0C */ bgt lbl_8024B250 -/* 8024B248 00248188 93 3A 00 00 */ stw r25, 0(r26) -/* 8024B24C 0024818C 48 00 01 B8 */ b lbl_8024B404 -lbl_8024B250: -/* 8024B250 00248190 4B E7 E3 51 */ bl rand -/* 8024B254 00248194 3C 80 43 30 */ lis r4, 0x4330 -/* 8024B258 00248198 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024B25C 0024819C 90 01 04 0C */ stw r0, 0x40c(r1) -/* 8024B260 002481A0 7C 7C C8 50 */ subf r3, r28, r25 -/* 8024B264 002481A4 38 03 00 01 */ addi r0, r3, 1 -/* 8024B268 002481A8 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 8024B26C 002481AC 90 81 04 08 */ stw r4, 0x408(r1) -/* 8024B270 002481B0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8024B274 002481B4 C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 8024B278 002481B8 C8 21 04 08 */ lfd f1, 0x408(r1) -/* 8024B27C 002481BC 90 01 04 14 */ stw r0, 0x414(r1) -/* 8024B280 002481C0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024B284 002481C4 90 81 04 10 */ stw r4, 0x410(r1) -/* 8024B288 002481C8 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024B28C 002481CC C8 01 04 10 */ lfd f0, 0x410(r1) -/* 8024B290 002481D0 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024B294 002481D4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024B298 002481D8 FC 00 00 1E */ fctiwz f0, f0 -/* 8024B29C 002481DC D8 01 04 18 */ stfd f0, 0x418(r1) -/* 8024B2A0 002481E0 80 01 04 1C */ lwz r0, 0x41c(r1) -/* 8024B2A4 002481E4 7C 1C 02 14 */ add r0, r28, r0 -/* 8024B2A8 002481E8 90 1A 00 00 */ stw r0, 0(r26) -/* 8024B2AC 002481EC 48 00 01 58 */ b lbl_8024B404 -lbl_8024B2B0: -/* 8024B2B0 002481F0 2C 03 00 00 */ cmpwi r3, 0 -/* 8024B2B4 002481F4 41 82 00 20 */ beq lbl_8024B2D4 -/* 8024B2B8 002481F8 90 66 00 00 */ stw r3, 0(r6) -/* 8024B2BC 002481FC 3B DE 00 01 */ addi r30, r30, 1 -/* 8024B2C0 00248200 80 06 00 00 */ lwz r0, 0(r6) -/* 8024B2C4 00248204 38 C6 00 04 */ addi r6, r6, 4 -/* 8024B2C8 00248208 91 05 00 00 */ stw r8, 0(r5) -/* 8024B2CC 0024820C 38 A5 00 04 */ addi r5, r5, 4 -/* 8024B2D0 00248210 7F BD 02 14 */ add r29, r29, r0 -lbl_8024B2D4: -/* 8024B2D4 00248214 81 4A 00 04 */ lwz r10, 4(r10) -lbl_8024B2D8: -/* 8024B2D8 00248218 28 0A 00 00 */ cmplwi r10, 0 -/* 8024B2DC 0024821C 40 82 FE EC */ bne lbl_8024B1C8 -/* 8024B2E0 00248220 38 00 00 00 */ li r0, 0 -/* 8024B2E4 00248224 2C 1D 00 00 */ cmpwi r29, 0 -/* 8024B2E8 00248228 90 19 00 38 */ stw r0, 0x38(r25) -/* 8024B2EC 0024822C 41 82 01 18 */ beq lbl_8024B404 -/* 8024B2F0 00248230 4B E7 E2 B1 */ bl rand -/* 8024B2F4 00248234 3C 80 43 30 */ lis r4, 0x4330 -/* 8024B2F8 00248238 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024B2FC 0024823C 90 01 04 1C */ stw r0, 0x41c(r1) -/* 8024B300 00248240 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 8024B304 00248244 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 8024B308 00248248 38 A0 00 00 */ li r5, 0 -/* 8024B30C 0024824C 90 81 04 18 */ stw r4, 0x418(r1) -/* 8024B310 00248250 38 C0 00 00 */ li r6, 0 -/* 8024B314 00248254 C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 8024B318 00248258 C8 21 04 18 */ lfd f1, 0x418(r1) -/* 8024B31C 0024825C 90 01 04 14 */ stw r0, 0x414(r1) -/* 8024B320 00248260 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024B324 00248264 90 81 04 10 */ stw r4, 0x410(r1) -/* 8024B328 00248268 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024B32C 0024826C C8 01 04 10 */ lfd f0, 0x410(r1) -/* 8024B330 00248270 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024B334 00248274 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024B338 00248278 FC 00 00 1E */ fctiwz f0, f0 -/* 8024B33C 0024827C D8 01 04 08 */ stfd f0, 0x408(r1) -/* 8024B340 00248280 80 61 04 0C */ lwz r3, 0x40c(r1) -/* 8024B344 00248284 7F C9 03 A6 */ mtctr r30 -/* 8024B348 00248288 2C 1E 00 00 */ cmpwi r30, 0 -/* 8024B34C 0024828C 40 81 00 B8 */ ble lbl_8024B404 -lbl_8024B350: -/* 8024B350 00248290 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024B354 00248294 7C A5 02 14 */ add r5, r5, r0 -/* 8024B358 00248298 7C 05 18 00 */ cmpw r5, r3 -/* 8024B35C 0024829C 40 81 00 9C */ ble lbl_8024B3F8 -/* 8024B360 002482A0 54 C0 10 3A */ slwi r0, r6, 2 -/* 8024B364 002482A4 38 61 02 08 */ addi r3, r1, 0x208 -/* 8024B368 002482A8 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8024B36C 002482AC 90 19 00 38 */ stw r0, 0x38(r25) -/* 8024B370 002482B0 80 79 00 08 */ lwz r3, 8(r25) -/* 8024B374 002482B4 80 19 00 0C */ lwz r0, 0xc(r25) -/* 8024B378 002482B8 7F 23 00 50 */ subf r25, r3, r0 -/* 8024B37C 002482BC 7C 1B C8 00 */ cmpw r27, r25 -/* 8024B380 002482C0 40 80 00 08 */ bge lbl_8024B388 -/* 8024B384 002482C4 7F 79 DB 78 */ mr r25, r27 -lbl_8024B388: -/* 8024B388 002482C8 7C 19 E0 00 */ cmpw r25, r28 -/* 8024B38C 002482CC 41 81 00 0C */ bgt lbl_8024B398 -/* 8024B390 002482D0 93 3A 00 00 */ stw r25, 0(r26) -/* 8024B394 002482D4 48 00 00 70 */ b lbl_8024B404 -lbl_8024B398: -/* 8024B398 002482D8 4B E7 E2 09 */ bl rand -/* 8024B39C 002482DC 3C 80 43 30 */ lis r4, 0x4330 -/* 8024B3A0 002482E0 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024B3A4 002482E4 90 01 04 1C */ stw r0, 0x41c(r1) -/* 8024B3A8 002482E8 7C 7C C8 50 */ subf r3, r28, r25 -/* 8024B3AC 002482EC 38 03 00 01 */ addi r0, r3, 1 -/* 8024B3B0 002482F0 C8 42 C4 30 */ lfd f2, lbl_8051A790@sda21(r2) -/* 8024B3B4 002482F4 90 81 04 18 */ stw r4, 0x418(r1) -/* 8024B3B8 002482F8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8024B3BC 002482FC C0 02 C4 28 */ lfs f0, lbl_8051A788@sda21(r2) -/* 8024B3C0 00248300 C8 21 04 18 */ lfd f1, 0x418(r1) -/* 8024B3C4 00248304 90 01 04 14 */ stw r0, 0x414(r1) -/* 8024B3C8 00248308 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024B3CC 0024830C 90 81 04 10 */ stw r4, 0x410(r1) -/* 8024B3D0 00248310 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024B3D4 00248314 C8 01 04 10 */ lfd f0, 0x410(r1) -/* 8024B3D8 00248318 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024B3DC 0024831C EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024B3E0 00248320 FC 00 00 1E */ fctiwz f0, f0 -/* 8024B3E4 00248324 D8 01 04 08 */ stfd f0, 0x408(r1) -/* 8024B3E8 00248328 80 01 04 0C */ lwz r0, 0x40c(r1) -/* 8024B3EC 0024832C 7C 1C 02 14 */ add r0, r28, r0 -/* 8024B3F0 00248330 90 1A 00 00 */ stw r0, 0(r26) -/* 8024B3F4 00248334 48 00 00 10 */ b lbl_8024B404 -lbl_8024B3F8: -/* 8024B3F8 00248338 3B FF 00 04 */ addi r31, r31, 4 -/* 8024B3FC 0024833C 38 C6 00 01 */ addi r6, r6, 1 -/* 8024B400 00248340 42 00 FF 50 */ bdnz lbl_8024B350 -lbl_8024B404: -/* 8024B404 00248344 BB 21 04 24 */ lmw r25, 0x424(r1) -/* 8024B408 00248348 80 01 04 44 */ lwz r0, 0x444(r1) -/* 8024B40C 0024834C 7C 08 03 A6 */ mtlr r0 -/* 8024B410 00248350 38 21 04 40 */ addi r1, r1, 0x440 -/* 8024B414 00248354 4E 80 00 20 */ blr - -.global makeSetEnemyTypeA__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUniti -makeSetEnemyTypeA__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGenPQ34Game4Cave9EnemyUniti: -/* 8024B418 00248358 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 8024B41C 0024835C 7C 08 02 A6 */ mflr r0 -/* 8024B420 00248360 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 8024B424 00248364 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 8024B428 00248368 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 8024B42C 0024836C DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 8024B430 00248370 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 8024B434 00248374 DB A1 01 A0 */ stfd f29, 0x1a0(r1) -/* 8024B438 00248378 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 -/* 8024B43C 0024837C DB 81 01 90 */ stfd f28, 0x190(r1) -/* 8024B440 00248380 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 -/* 8024B444 00248384 DB 61 01 80 */ stfd f27, 0x180(r1) -/* 8024B448 00248388 F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0 -/* 8024B44C 0024838C DB 41 01 70 */ stfd f26, 0x170(r1) -/* 8024B450 00248390 F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0 -/* 8024B454 00248394 DB 21 01 60 */ stfd f25, 0x160(r1) -/* 8024B458 00248398 F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0 -/* 8024B45C 0024839C DB 01 01 50 */ stfd f24, 0x150(r1) -/* 8024B460 002483A0 F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0 -/* 8024B464 002483A4 DA E1 01 40 */ stfd f23, 0x140(r1) -/* 8024B468 002483A8 F2 E1 01 48 */ psq_st f23, 328(r1), 0, qr0 -/* 8024B46C 002483AC DA C1 01 30 */ stfd f22, 0x130(r1) -/* 8024B470 002483B0 F2 C1 01 38 */ psq_st f22, 312(r1), 0, qr0 -/* 8024B474 002483B4 BE C1 01 08 */ stmw r22, 0x108(r1) -/* 8024B478 002483B8 3D 00 80 12 */ lis r8, __ct__10Vector3$$0f$$1Fv@ha -/* 8024B47C 002483BC 7C 77 1B 78 */ mr r23, r3 -/* 8024B480 002483C0 38 08 F3 48 */ addi r0, r8, __ct__10Vector3$$0f$$1Fv@l -/* 8024B484 002483C4 7C 98 23 78 */ mr r24, r4 -/* 8024B488 002483C8 7C B9 2B 78 */ mr r25, r5 -/* 8024B48C 002483CC 7C DA 33 78 */ mr r26, r6 -/* 8024B490 002483D0 7C FB 3B 78 */ mr r27, r7 -/* 8024B494 002483D4 7C 04 03 78 */ mr r4, r0 -/* 8024B498 002483D8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8024B49C 002483DC 38 A0 00 00 */ li r5, 0 -/* 8024B4A0 002483E0 38 C0 00 0C */ li r6, 0xc -/* 8024B4A4 002483E4 38 E0 00 10 */ li r7, 0x10 -/* 8024B4A8 002483E8 4B E7 63 95 */ bl __construct_array -/* 8024B4AC 002483EC 7F 04 C3 78 */ mr r4, r24 -/* 8024B4B0 002483F0 7F 25 CB 78 */ mr r5, r25 -/* 8024B4B4 002483F4 38 61 00 08 */ addi r3, r1, 8 -/* 8024B4B8 002483F8 4B FF 86 25 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024B4BC 002483FC 3B A1 00 14 */ addi r29, r1, 0x14 -/* 8024B4C0 00248400 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8024B4C4 00248404 C3 41 00 08 */ lfs f26, 8(r1) -/* 8024B4C8 00248408 7F BE EB 78 */ mr r30, r29 -/* 8024B4CC 0024840C C3 21 00 0C */ lfs f25, 0xc(r1) -/* 8024B4D0 00248410 3A C3 71 A0 */ addi r22, r3, sincosTable___5JMath@l -/* 8024B4D4 00248414 C3 01 00 10 */ lfs f24, 0x10(r1) -/* 8024B4D8 00248418 3B 80 00 00 */ li r28, 0 -/* 8024B4DC 0024841C C2 F9 00 2C */ lfs f23, 0x2c(r25) -/* 8024B4E0 00248420 3F E0 43 30 */ lis r31, 0x4330 -/* 8024B4E4 00248424 CB 82 C4 30 */ lfd f28, lbl_8051A790@sda21(r2) -/* 8024B4E8 00248428 C3 A2 C4 28 */ lfs f29, lbl_8051A788@sda21(r2) -/* 8024B4EC 0024842C C3 C2 C4 60 */ lfs f30, lbl_8051A7C0@sda21(r2) -/* 8024B4F0 00248430 C3 E2 C4 40 */ lfs f31, lbl_8051A7A0@sda21(r2) -/* 8024B4F4 00248434 C2 C2 C4 68 */ lfs f22, lbl_8051A7C8@sda21(r2) -/* 8024B4F8 00248438 48 00 00 E0 */ b lbl_8024B5D8 -lbl_8024B4FC: -/* 8024B4FC 0024843C 4B E7 E0 A5 */ bl rand -/* 8024B500 00248440 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024B504 00248444 93 E1 00 D8 */ stw r31, 0xd8(r1) -/* 8024B508 00248448 90 01 00 DC */ stw r0, 0xdc(r1) -/* 8024B50C 0024844C C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 8024B510 00248450 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 8024B514 00248454 EC 17 00 32 */ fmuls f0, f23, f0 -/* 8024B518 00248458 EF 60 E8 24 */ fdivs f27, f0, f29 -/* 8024B51C 0024845C 4B E7 E0 85 */ bl rand -/* 8024B520 00248460 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024B524 00248464 93 E1 00 E0 */ stw r31, 0xe0(r1) -/* 8024B528 00248468 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8024B52C 0024846C C8 01 00 E0 */ lfd f0, 0xe0(r1) -/* 8024B530 00248470 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 8024B534 00248474 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 8024B538 00248478 EC 20 E8 24 */ fdivs f1, f0, f29 -/* 8024B53C 0024847C FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8024B540 00248480 40 80 00 30 */ bge lbl_8024B570 -/* 8024B544 00248484 C0 02 C4 64 */ lfs f0, lbl_8051A7C4@sda21(r2) -/* 8024B548 00248488 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8024B54C 0024848C 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8024B550 00248490 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8024B554 00248494 FC 00 00 1E */ fctiwz f0, f0 -/* 8024B558 00248498 D8 01 00 E8 */ stfd f0, 0xe8(r1) -/* 8024B55C 0024849C 80 01 00 EC */ lwz r0, 0xec(r1) -/* 8024B560 002484A0 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8024B564 002484A4 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8024B568 002484A8 FC 00 00 50 */ fneg f0, f0 -/* 8024B56C 002484AC 48 00 00 28 */ b lbl_8024B594 -lbl_8024B570: -/* 8024B570 002484B0 C0 02 C4 68 */ lfs f0, lbl_8051A7C8@sda21(r2) -/* 8024B574 002484B4 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8024B578 002484B8 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8024B57C 002484BC EC 01 00 32 */ fmuls f0, f1, f0 -/* 8024B580 002484C0 FC 00 00 1E */ fctiwz f0, f0 -/* 8024B584 002484C4 D8 01 00 F0 */ stfd f0, 0xf0(r1) -/* 8024B588 002484C8 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8024B58C 002484CC 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8024B590 002484D0 7C 03 04 2E */ lfsx f0, r3, r0 -lbl_8024B594: -/* 8024B594 002484D4 EC 1B D0 3A */ fmadds f0, f27, f0, f26 -/* 8024B598 002484D8 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8024B59C 002484DC D0 1E 00 00 */ stfs f0, 0(r30) -/* 8024B5A0 002484E0 D3 3E 00 04 */ stfs f25, 4(r30) -/* 8024B5A4 002484E4 40 80 00 08 */ bge lbl_8024B5AC -/* 8024B5A8 002484E8 FC 20 08 50 */ fneg f1, f1 -lbl_8024B5AC: -/* 8024B5AC 002484EC EC 01 05 B2 */ fmuls f0, f1, f22 -/* 8024B5B0 002484F0 3B 9C 00 01 */ addi r28, r28, 1 -/* 8024B5B4 002484F4 FC 00 00 1E */ fctiwz f0, f0 -/* 8024B5B8 002484F8 D8 01 00 F8 */ stfd f0, 0xf8(r1) -/* 8024B5BC 002484FC 80 01 00 FC */ lwz r0, 0xfc(r1) -/* 8024B5C0 00248500 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8024B5C4 00248504 7C 76 02 14 */ add r3, r22, r0 -/* 8024B5C8 00248508 C0 03 00 04 */ lfs f0, 4(r3) -/* 8024B5CC 0024850C EC 1B C0 3A */ fmadds f0, f27, f0, f24 -/* 8024B5D0 00248510 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8024B5D4 00248514 3B DE 00 0C */ addi r30, r30, 0xc -lbl_8024B5D8: -/* 8024B5D8 00248518 7C 1C D8 00 */ cmpw r28, r27 -/* 8024B5DC 0024851C 41 80 FF 20 */ blt lbl_8024B4FC -/* 8024B5E0 00248520 38 A0 00 00 */ li r5, 0 -lbl_8024B5E4: -/* 8024B5E4 00248524 7F A4 EB 78 */ mr r4, r29 -/* 8024B5E8 00248528 38 C0 00 00 */ li r6, 0 -/* 8024B5EC 0024852C 48 00 01 48 */ b lbl_8024B734 -lbl_8024B5F0: -/* 8024B5F0 00248530 7F A3 EB 78 */ mr r3, r29 -/* 8024B5F4 00248534 38 E0 00 00 */ li r7, 0 -/* 8024B5F8 00248538 7F 69 03 A6 */ mtctr r27 -/* 8024B5FC 0024853C 2C 1B 00 00 */ cmpwi r27, 0 -/* 8024B600 00248540 40 81 01 2C */ ble lbl_8024B72C -lbl_8024B604: -/* 8024B604 00248544 7C 06 38 00 */ cmpw r6, r7 -/* 8024B608 00248548 41 82 01 18 */ beq lbl_8024B720 -/* 8024B60C 0024854C C0 24 00 04 */ lfs f1, 4(r4) -/* 8024B610 00248550 C0 03 00 04 */ lfs f0, 4(r3) -/* 8024B614 00248554 C0 84 00 00 */ lfs f4, 0(r4) -/* 8024B618 00248558 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8024B61C 0024855C C0 43 00 00 */ lfs f2, 0(r3) -/* 8024B620 00248560 C0 64 00 08 */ lfs f3, 8(r4) -/* 8024B624 00248564 C0 03 00 08 */ lfs f0, 8(r3) -/* 8024B628 00248568 EC 44 10 28 */ fsubs f2, f4, f2 -/* 8024B62C 0024856C EC 81 00 72 */ fmuls f4, f1, f1 -/* 8024B630 00248570 EC 03 00 28 */ fsubs f0, f3, f0 -/* 8024B634 00248574 C0 62 C4 40 */ lfs f3, lbl_8051A7A0@sda21(r2) -/* 8024B638 00248578 EC 82 20 BA */ fmadds f4, f2, f2, f4 -/* 8024B63C 0024857C EC A0 00 32 */ fmuls f5, f0, f0 -/* 8024B640 00248580 EC C5 20 2A */ fadds f6, f5, f4 -/* 8024B644 00248584 FC 06 18 40 */ fcmpo cr0, f6, f3 -/* 8024B648 00248588 40 81 00 14 */ ble lbl_8024B65C -/* 8024B64C 0024858C 40 81 00 14 */ ble lbl_8024B660 -/* 8024B650 00248590 FC 60 30 34 */ frsqrte f3, f6 -/* 8024B654 00248594 EC C3 01 B2 */ fmuls f6, f3, f6 -/* 8024B658 00248598 48 00 00 08 */ b lbl_8024B660 -lbl_8024B65C: -/* 8024B65C 0024859C FC C0 18 90 */ fmr f6, f3 -lbl_8024B660: -/* 8024B660 002485A0 C0 62 C4 6C */ lfs f3, lbl_8051A7CC@sda21(r2) -/* 8024B664 002485A4 FC 06 18 40 */ fcmpo cr0, f6, f3 -/* 8024B668 002485A8 40 80 00 B8 */ bge lbl_8024B720 -/* 8024B66C 002485AC EC 81 00 72 */ fmuls f4, f1, f1 -/* 8024B670 002485B0 C0 62 C4 40 */ lfs f3, lbl_8051A7A0@sda21(r2) -/* 8024B674 002485B4 EC A0 00 32 */ fmuls f5, f0, f0 -/* 8024B678 002485B8 EC 82 20 BA */ fmadds f4, f2, f2, f4 -/* 8024B67C 002485BC EC 85 20 2A */ fadds f4, f5, f4 -/* 8024B680 002485C0 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8024B684 002485C4 40 81 00 14 */ ble lbl_8024B698 -/* 8024B688 002485C8 40 81 00 14 */ ble lbl_8024B69C -/* 8024B68C 002485CC FC 60 20 34 */ frsqrte f3, f4 -/* 8024B690 002485D0 EC 83 01 32 */ fmuls f4, f3, f4 -/* 8024B694 002485D4 48 00 00 08 */ b lbl_8024B69C -lbl_8024B698: -/* 8024B698 002485D8 FC 80 18 90 */ fmr f4, f3 -lbl_8024B69C: -/* 8024B69C 002485DC C0 62 C4 40 */ lfs f3, lbl_8051A7A0@sda21(r2) -/* 8024B6A0 002485E0 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8024B6A4 002485E4 40 81 00 18 */ ble lbl_8024B6BC -/* 8024B6A8 002485E8 C0 62 C4 70 */ lfs f3, lbl_8051A7D0@sda21(r2) -/* 8024B6AC 002485EC EC 63 20 24 */ fdivs f3, f3, f4 -/* 8024B6B0 002485F0 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8024B6B4 002485F4 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 8024B6B8 002485F8 EC 00 00 F2 */ fmuls f0, f0, f3 -lbl_8024B6BC: -/* 8024B6BC 002485FC C0 62 C4 6C */ lfs f3, lbl_8051A7CC@sda21(r2) -/* 8024B6C0 00248600 C0 A2 C4 74 */ lfs f5, lbl_8051A7D4@sda21(r2) -/* 8024B6C4 00248604 EC 83 30 28 */ fsubs f4, f3, f6 -/* 8024B6C8 00248608 C0 64 00 00 */ lfs f3, 0(r4) -/* 8024B6CC 0024860C EC 85 01 32 */ fmuls f4, f5, f4 -/* 8024B6D0 00248610 EC 42 01 32 */ fmuls f2, f2, f4 -/* 8024B6D4 00248614 EC 21 01 32 */ fmuls f1, f1, f4 -/* 8024B6D8 00248618 EC 00 01 32 */ fmuls f0, f0, f4 -/* 8024B6DC 0024861C EC 63 10 2A */ fadds f3, f3, f2 -/* 8024B6E0 00248620 D0 64 00 00 */ stfs f3, 0(r4) -/* 8024B6E4 00248624 C0 64 00 04 */ lfs f3, 4(r4) -/* 8024B6E8 00248628 EC 63 08 2A */ fadds f3, f3, f1 -/* 8024B6EC 0024862C D0 64 00 04 */ stfs f3, 4(r4) -/* 8024B6F0 00248630 C0 64 00 08 */ lfs f3, 8(r4) -/* 8024B6F4 00248634 EC 63 00 2A */ fadds f3, f3, f0 -/* 8024B6F8 00248638 D0 64 00 08 */ stfs f3, 8(r4) -/* 8024B6FC 0024863C C0 63 00 00 */ lfs f3, 0(r3) -/* 8024B700 00248640 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8024B704 00248644 D0 43 00 00 */ stfs f2, 0(r3) -/* 8024B708 00248648 C0 43 00 04 */ lfs f2, 4(r3) -/* 8024B70C 0024864C EC 22 08 28 */ fsubs f1, f2, f1 -/* 8024B710 00248650 D0 23 00 04 */ stfs f1, 4(r3) -/* 8024B714 00248654 C0 23 00 08 */ lfs f1, 8(r3) -/* 8024B718 00248658 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8024B71C 0024865C D0 03 00 08 */ stfs f0, 8(r3) -lbl_8024B720: -/* 8024B720 00248660 38 63 00 0C */ addi r3, r3, 0xc -/* 8024B724 00248664 38 E7 00 01 */ addi r7, r7, 1 -/* 8024B728 00248668 42 00 FE DC */ bdnz lbl_8024B604 -lbl_8024B72C: -/* 8024B72C 0024866C 38 84 00 0C */ addi r4, r4, 0xc -/* 8024B730 00248670 38 C6 00 01 */ addi r6, r6, 1 -lbl_8024B734: -/* 8024B734 00248674 7C 06 D8 00 */ cmpw r6, r27 -/* 8024B738 00248678 41 80 FE B8 */ blt lbl_8024B5F0 -/* 8024B73C 0024867C 38 A5 00 01 */ addi r5, r5, 1 -/* 8024B740 00248680 2C 05 00 05 */ cmpwi r5, 5 -/* 8024B744 00248684 41 80 FE A0 */ blt lbl_8024B5E4 -/* 8024B748 00248688 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8024B74C 0024868C 3B C0 00 00 */ li r30, 0 -/* 8024B750 00248690 3B 83 D1 E0 */ addi r28, r3, atanTable___5JMath@l -/* 8024B754 00248694 48 00 00 60 */ b lbl_8024B7B4 -lbl_8024B758: -/* 8024B758 00248698 38 60 00 38 */ li r3, 0x38 -/* 8024B75C 0024869C 4B DD 87 49 */ bl __nw__FUl -/* 8024B760 002486A0 7C 76 1B 79 */ or. r22, r3, r3 -/* 8024B764 002486A4 41 82 00 18 */ beq lbl_8024B77C -/* 8024B768 002486A8 7F 44 D3 78 */ mr r4, r26 -/* 8024B76C 002486AC 7F 25 CB 78 */ mr r5, r25 -/* 8024B770 002486B0 38 C0 00 01 */ li r6, 1 -/* 8024B774 002486B4 4B FF 8A 55 */ bl __ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni -/* 8024B778 002486B8 7C 76 1B 78 */ mr r22, r3 -lbl_8024B77C: -/* 8024B77C 002486BC C0 3D 00 00 */ lfs f1, 0(r29) -/* 8024B780 002486C0 7F 83 E3 78 */ mr r3, r28 -/* 8024B784 002486C4 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8024B788 002486C8 EC 21 D0 28 */ fsubs f1, f1, f26 -/* 8024B78C 002486CC EC 40 C0 28 */ fsubs f2, f0, f24 -/* 8024B790 002486D0 4B DE 99 79 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8024B794 002486D4 7E C3 B3 78 */ mr r3, r22 -/* 8024B798 002486D8 7F A4 EB 78 */ mr r4, r29 -/* 8024B79C 002486DC 4B FF 8C 69 */ bl setGlobalData__Q34Game4Cave9EnemyNodeFR10Vector3$$0f$$1f -/* 8024B7A0 002486E0 80 78 00 1C */ lwz r3, 0x1c(r24) -/* 8024B7A4 002486E4 7E C4 B3 78 */ mr r4, r22 -/* 8024B7A8 002486E8 48 1C 5C 61 */ bl add__5CNodeFP5CNode -/* 8024B7AC 002486EC 3B BD 00 0C */ addi r29, r29, 0xc -/* 8024B7B0 002486F0 3B DE 00 01 */ addi r30, r30, 1 -lbl_8024B7B4: -/* 8024B7B4 002486F4 7C 1E D8 00 */ cmpw r30, r27 -/* 8024B7B8 002486F8 41 80 FF A0 */ blt lbl_8024B758 -/* 8024B7BC 002486FC 80 17 00 10 */ lwz r0, 0x10(r23) -/* 8024B7C0 00248700 7C 00 DA 14 */ add r0, r0, r27 -/* 8024B7C4 00248704 90 17 00 10 */ stw r0, 0x10(r23) -/* 8024B7C8 00248708 80 17 00 08 */ lwz r0, 8(r23) -/* 8024B7CC 0024870C 7C 00 DA 14 */ add r0, r0, r27 -/* 8024B7D0 00248710 90 17 00 08 */ stw r0, 8(r23) -/* 8024B7D4 00248714 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 8024B7D8 00248718 CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 8024B7DC 0024871C E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 8024B7E0 00248720 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 8024B7E4 00248724 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 -/* 8024B7E8 00248728 CB A1 01 A0 */ lfd f29, 0x1a0(r1) -/* 8024B7EC 0024872C E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 -/* 8024B7F0 00248730 CB 81 01 90 */ lfd f28, 0x190(r1) -/* 8024B7F4 00248734 E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0 -/* 8024B7F8 00248738 CB 61 01 80 */ lfd f27, 0x180(r1) -/* 8024B7FC 0024873C E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0 -/* 8024B800 00248740 CB 41 01 70 */ lfd f26, 0x170(r1) -/* 8024B804 00248744 E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0 -/* 8024B808 00248748 CB 21 01 60 */ lfd f25, 0x160(r1) -/* 8024B80C 0024874C E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0 -/* 8024B810 00248750 CB 01 01 50 */ lfd f24, 0x150(r1) -/* 8024B814 00248754 E2 E1 01 48 */ psq_l f23, 328(r1), 0, qr0 -/* 8024B818 00248758 CA E1 01 40 */ lfd f23, 0x140(r1) -/* 8024B81C 0024875C E2 C1 01 38 */ psq_l f22, 312(r1), 0, qr0 -/* 8024B820 00248760 CA C1 01 30 */ lfd f22, 0x130(r1) -/* 8024B824 00248764 BA C1 01 08 */ lmw r22, 0x108(r1) -/* 8024B828 00248768 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 8024B82C 0024876C 7C 08 03 A6 */ mtlr r0 -/* 8024B830 00248770 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 8024B834 00248774 4E 80 00 20 */ blr - -.global isEnemySetGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -isEnemySetGen__Q34Game4Cave13RandEnemyUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen: -/* 8024B838 00248778 28 05 00 00 */ cmplwi r5, 0 -/* 8024B83C 0024877C 41 82 00 30 */ beq lbl_8024B86C -/* 8024B840 00248780 80 64 00 1C */ lwz r3, 0x1c(r4) -/* 8024B844 00248784 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8024B848 00248788 48 00 00 1C */ b lbl_8024B864 -lbl_8024B84C: -/* 8024B84C 0024878C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8024B850 00248790 7C 00 28 40 */ cmplw r0, r5 -/* 8024B854 00248794 40 82 00 0C */ bne lbl_8024B860 -/* 8024B858 00248798 38 60 00 01 */ li r3, 1 -/* 8024B85C 0024879C 4E 80 00 20 */ blr -lbl_8024B860: -/* 8024B860 002487A0 80 63 00 04 */ lwz r3, 4(r3) -lbl_8024B864: -/* 8024B864 002487A4 28 03 00 00 */ cmplwi r3, 0 -/* 8024B868 002487A8 40 82 FF E4 */ bne lbl_8024B84C -lbl_8024B86C: -/* 8024B86C 002487AC 38 60 00 00 */ li r3, 0 -/* 8024B870 002487B0 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave6AdjustFv -__ct__Q34Game4Cave6AdjustFv: -/* 8024B874 002487B4 38 00 FF FF */ li r0, -1 -/* 8024B878 002487B8 90 03 00 00 */ stw r0, 0(r3) -/* 8024B87C 002487BC 90 03 00 04 */ stw r0, 4(r3) -/* 8024B880 002487C0 90 03 00 08 */ stw r0, 8(r3) -/* 8024B884 002487C4 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave10AdjustNodeFv -__ct__Q34Game4Cave10AdjustNodeFv: -/* 8024B888 002487C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024B88C 002487CC 7C 08 02 A6 */ mflr r0 -/* 8024B890 002487D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024B894 002487D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024B898 002487D8 7C 7F 1B 78 */ mr r31, r3 -/* 8024B89C 002487DC 48 1C 5A F5 */ bl __ct__5CNodeFv -/* 8024B8A0 002487E0 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave10AdjustNode@ha -/* 8024B8A4 002487E4 38 00 00 00 */ li r0, 0 -/* 8024B8A8 002487E8 38 83 1A 58 */ addi r4, r3, __vt__Q34Game4Cave10AdjustNode@l -/* 8024B8AC 002487EC 7F E3 FB 78 */ mr r3, r31 -/* 8024B8B0 002487F0 90 9F 00 00 */ stw r4, 0(r31) -/* 8024B8B4 002487F4 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8024B8B8 002487F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024B8BC 002487FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024B8C0 00248800 7C 08 03 A6 */ mtlr r0 -/* 8024B8C4 00248804 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024B8C8 00248808 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave10AdjustNodeFPQ34Game4Cave6Adjust -__ct__Q34Game4Cave10AdjustNodeFPQ34Game4Cave6Adjust: -/* 8024B8CC 0024880C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024B8D0 00248810 7C 08 02 A6 */ mflr r0 -/* 8024B8D4 00248814 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024B8D8 00248818 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024B8DC 0024881C 7C 9F 23 78 */ mr r31, r4 -/* 8024B8E0 00248820 93 C1 00 08 */ stw r30, 8(r1) -/* 8024B8E4 00248824 7C 7E 1B 78 */ mr r30, r3 -/* 8024B8E8 00248828 48 1C 5A A9 */ bl __ct__5CNodeFv -/* 8024B8EC 0024882C 3C 80 80 4C */ lis r4, __vt__Q34Game4Cave10AdjustNode@ha -/* 8024B8F0 00248830 7F C3 F3 78 */ mr r3, r30 -/* 8024B8F4 00248834 38 04 1A 58 */ addi r0, r4, __vt__Q34Game4Cave10AdjustNode@l -/* 8024B8F8 00248838 90 1E 00 00 */ stw r0, 0(r30) -/* 8024B8FC 0024883C 93 FE 00 18 */ stw r31, 0x18(r30) -/* 8024B900 00248840 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024B904 00248844 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024B908 00248848 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024B90C 0024884C 7C 08 03 A6 */ mtlr r0 -/* 8024B910 00248850 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024B914 00248854 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave4DoorFv -__ct__Q34Game4Cave4DoorFv: -/* 8024B918 00248858 38 00 FF FF */ li r0, -1 -/* 8024B91C 0024885C 90 03 00 00 */ stw r0, 0(r3) -/* 8024B920 00248860 90 03 00 04 */ stw r0, 4(r3) -/* 8024B924 00248864 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave8DoorNodeFv -__ct__Q34Game4Cave8DoorNodeFv: -/* 8024B928 00248868 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024B92C 0024886C 7C 08 02 A6 */ mflr r0 -/* 8024B930 00248870 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024B934 00248874 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024B938 00248878 7C 7F 1B 78 */ mr r31, r3 -/* 8024B93C 0024887C 48 1C 5A 55 */ bl __ct__5CNodeFv -/* 8024B940 00248880 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave8DoorNode@ha -/* 8024B944 00248884 38 00 FF FF */ li r0, -1 -/* 8024B948 00248888 38 83 1A F8 */ addi r4, r3, __vt__Q34Game4Cave8DoorNode@l -/* 8024B94C 0024888C 7F E3 FB 78 */ mr r3, r31 -/* 8024B950 00248890 90 9F 00 00 */ stw r4, 0(r31) -/* 8024B954 00248894 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8024B958 00248898 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8024B95C 0024889C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8024B960 002488A0 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8024B964 002488A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024B968 002488A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024B96C 002488AC 7C 08 03 A6 */ mtlr r0 -/* 8024B970 002488B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024B974 002488B4 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave8DoorNodeFRQ34Game4Cave4Door -__ct__Q34Game4Cave8DoorNodeFRQ34Game4Cave4Door: -/* 8024B978 002488B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024B97C 002488BC 7C 08 02 A6 */ mflr r0 -/* 8024B980 002488C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024B984 002488C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024B988 002488C8 7C 9F 23 78 */ mr r31, r4 -/* 8024B98C 002488CC 93 C1 00 08 */ stw r30, 8(r1) -/* 8024B990 002488D0 7C 7E 1B 78 */ mr r30, r3 -/* 8024B994 002488D4 48 1C 59 FD */ bl __ct__5CNodeFv -/* 8024B998 002488D8 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave8DoorNode@ha -/* 8024B99C 002488DC 38 00 FF FF */ li r0, -1 -/* 8024B9A0 002488E0 38 83 1A F8 */ addi r4, r3, __vt__Q34Game4Cave8DoorNode@l -/* 8024B9A4 002488E4 7F C3 F3 78 */ mr r3, r30 -/* 8024B9A8 002488E8 90 9E 00 00 */ stw r4, 0(r30) -/* 8024B9AC 002488EC 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8024B9B0 002488F0 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8024B9B4 002488F4 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024B9B8 002488F8 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8024B9BC 002488FC 80 1F 00 04 */ lwz r0, 4(r31) -/* 8024B9C0 00248900 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8024B9C4 00248904 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024B9C8 00248908 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024B9CC 0024890C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024B9D0 00248910 7C 08 03 A6 */ mtlr r0 -/* 8024B9D4 00248914 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024B9D8 00248918 4E 80 00 20 */ blr - -.global isDoorAdjust__Q34Game4Cave8DoorNodeFPQ34Game4Cave8DoorNode -isDoorAdjust__Q34Game4Cave8DoorNodeFPQ34Game4Cave8DoorNode: -/* 8024B9DC 0024891C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8024B9E0 00248920 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024B9E4 00248924 2C 00 00 00 */ cmpwi r0, 0 -/* 8024B9E8 00248928 40 82 00 14 */ bne lbl_8024B9FC -/* 8024B9EC 0024892C 2C 03 00 02 */ cmpwi r3, 2 -/* 8024B9F0 00248930 40 82 00 0C */ bne lbl_8024B9FC -/* 8024B9F4 00248934 38 60 00 01 */ li r3, 1 -/* 8024B9F8 00248938 4E 80 00 20 */ blr -lbl_8024B9FC: -/* 8024B9FC 0024893C 2C 00 00 02 */ cmpwi r0, 2 -/* 8024BA00 00248940 40 82 00 14 */ bne lbl_8024BA14 -/* 8024BA04 00248944 2C 03 00 00 */ cmpwi r3, 0 -/* 8024BA08 00248948 40 82 00 0C */ bne lbl_8024BA14 -/* 8024BA0C 0024894C 38 60 00 01 */ li r3, 1 -/* 8024BA10 00248950 4E 80 00 20 */ blr -lbl_8024BA14: -/* 8024BA14 00248954 2C 00 00 03 */ cmpwi r0, 3 -/* 8024BA18 00248958 40 82 00 14 */ bne lbl_8024BA2C -/* 8024BA1C 0024895C 2C 03 00 01 */ cmpwi r3, 1 -/* 8024BA20 00248960 40 82 00 0C */ bne lbl_8024BA2C -/* 8024BA24 00248964 38 60 00 01 */ li r3, 1 -/* 8024BA28 00248968 4E 80 00 20 */ blr -lbl_8024BA2C: -/* 8024BA2C 0024896C 2C 00 00 01 */ cmpwi r0, 1 -/* 8024BA30 00248970 40 82 00 14 */ bne lbl_8024BA44 -/* 8024BA34 00248974 2C 03 00 03 */ cmpwi r3, 3 -/* 8024BA38 00248978 40 82 00 0C */ bne lbl_8024BA44 -/* 8024BA3C 0024897C 38 60 00 01 */ li r3, 1 -/* 8024BA40 00248980 4E 80 00 20 */ blr -lbl_8024BA44: -/* 8024BA44 00248984 38 60 00 00 */ li r3, 0 -/* 8024BA48 00248988 4E 80 00 20 */ blr - -.global __dt__Q34Game4Cave8DoorNodeFv -__dt__Q34Game4Cave8DoorNodeFv: -/* 8024BA4C 0024898C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024BA50 00248990 7C 08 02 A6 */ mflr r0 -/* 8024BA54 00248994 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024BA58 00248998 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024BA5C 0024899C 7C 9F 23 78 */ mr r31, r4 -/* 8024BA60 002489A0 93 C1 00 08 */ stw r30, 8(r1) -/* 8024BA64 002489A4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024BA68 002489A8 41 82 00 28 */ beq lbl_8024BA90 -/* 8024BA6C 002489AC 3C A0 80 4C */ lis r5, __vt__Q34Game4Cave8DoorNode@ha -/* 8024BA70 002489B0 38 80 00 00 */ li r4, 0 -/* 8024BA74 002489B4 38 05 1A F8 */ addi r0, r5, __vt__Q34Game4Cave8DoorNode@l -/* 8024BA78 002489B8 90 1E 00 00 */ stw r0, 0(r30) -/* 8024BA7C 002489BC 48 1C 5B 0D */ bl __dt__5CNodeFv -/* 8024BA80 002489C0 7F E0 07 35 */ extsh. r0, r31 -/* 8024BA84 002489C4 40 81 00 0C */ ble lbl_8024BA90 -/* 8024BA88 002489C8 7F C3 F3 78 */ mr r3, r30 -/* 8024BA8C 002489CC 4B DD 86 29 */ bl __dl__FPv -lbl_8024BA90: -/* 8024BA90 002489D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024BA94 002489D4 7F C3 F3 78 */ mr r3, r30 -/* 8024BA98 002489D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024BA9C 002489DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024BAA0 002489E0 7C 08 03 A6 */ mtlr r0 -/* 8024BAA4 002489E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024BAA8 002489E8 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterfaceiPQ34Game4Cave9FloorInfobPQ34Game4Cave11EditMapUnit -__ct__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterfaceiPQ34Game4Cave9FloorInfobPQ34Game4Cave11EditMapUnit: -/* 8024BAAC 002489EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024BAB0 002489F0 7C 08 02 A6 */ mflr r0 -/* 8024BAB4 002489F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024BAB8 002489F8 BF 41 00 08 */ stmw r26, 8(r1) -/* 8024BABC 002489FC 7C 7F 1B 78 */ mr r31, r3 -/* 8024BAC0 00248A00 7C 9C 23 78 */ mr r28, r4 -/* 8024BAC4 00248A04 7C BB 2B 78 */ mr r27, r5 -/* 8024BAC8 00248A08 7C DE 33 78 */ mr r30, r6 -/* 8024BACC 00248A0C 7C FD 3B 78 */ mr r29, r7 -/* 8024BAD0 00248A10 7D 1A 43 78 */ mr r26, r8 -/* 8024BAD4 00248A14 38 60 00 40 */ li r3, 0x40 -/* 8024BAD8 00248A18 4B DD 83 CD */ bl __nw__FUl -/* 8024BADC 00248A1C 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024BAE0 00248A20 41 82 00 10 */ beq lbl_8024BAF0 -/* 8024BAE4 00248A24 38 80 00 00 */ li r4, 0 -/* 8024BAE8 00248A28 4B FF 72 89 */ bl __ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo -/* 8024BAEC 00248A2C 7C 60 1B 78 */ mr r0, r3 -lbl_8024BAF0: -/* 8024BAF0 00248A30 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8024BAF4 00248A34 38 60 00 D0 */ li r3, 0xd0 -/* 8024BAF8 00248A38 4B DD 84 B5 */ bl __nwa__FUl -/* 8024BAFC 00248A3C 3C 80 80 25 */ lis r4, __defctor__Q34Game4Cave7MapNodeFv@ha -/* 8024BB00 00248A40 3C A0 80 24 */ lis r5, __dt__Q34Game4Cave7MapNodeFv@ha -/* 8024BB04 00248A44 38 84 BC AC */ addi r4, r4, __defctor__Q34Game4Cave7MapNodeFv@l -/* 8024BB08 00248A48 38 C0 00 40 */ li r6, 0x40 -/* 8024BB0C 00248A4C 38 A5 40 94 */ addi r5, r5, __dt__Q34Game4Cave7MapNodeFv@l -/* 8024BB10 00248A50 38 E0 00 03 */ li r7, 3 -/* 8024BB14 00248A54 4B E7 5E DD */ bl __construct_new_array -/* 8024BB18 00248A58 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8024BB1C 00248A5C 38 60 00 38 */ li r3, 0x38 -/* 8024BB20 00248A60 4B DD 83 85 */ bl __nw__FUl -/* 8024BB24 00248A64 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024BB28 00248A68 41 82 00 0C */ beq lbl_8024BB34 -/* 8024BB2C 00248A6C 4B FF 85 C9 */ bl __ct__Q34Game4Cave9EnemyNodeFv -/* 8024BB30 00248A70 7C 60 1B 78 */ mr r0, r3 -lbl_8024BB34: -/* 8024BB34 00248A74 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8024BB38 00248A78 38 60 00 38 */ li r3, 0x38 -/* 8024BB3C 00248A7C 4B DD 83 69 */ bl __nw__FUl -/* 8024BB40 00248A80 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024BB44 00248A84 41 82 00 0C */ beq lbl_8024BB50 -/* 8024BB48 00248A88 4B FF 85 AD */ bl __ct__Q34Game4Cave9EnemyNodeFv -/* 8024BB4C 00248A8C 7C 60 1B 78 */ mr r0, r3 -lbl_8024BB50: -/* 8024BB50 00248A90 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8024BB54 00248A94 38 60 00 38 */ li r3, 0x38 -/* 8024BB58 00248A98 4B DD 83 4D */ bl __nw__FUl -/* 8024BB5C 00248A9C 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024BB60 00248AA0 41 82 00 0C */ beq lbl_8024BB6C -/* 8024BB64 00248AA4 4B FF 85 91 */ bl __ct__Q34Game4Cave9EnemyNodeFv -/* 8024BB68 00248AA8 7C 60 1B 78 */ mr r0, r3 -lbl_8024BB6C: -/* 8024BB6C 00248AAC 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8024BB70 00248AB0 38 60 00 24 */ li r3, 0x24 -/* 8024BB74 00248AB4 4B DD 83 31 */ bl __nw__FUl -/* 8024BB78 00248AB8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024BB7C 00248ABC 41 82 00 0C */ beq lbl_8024BB88 -/* 8024BB80 00248AC0 48 00 41 49 */ bl __ct__Q34Game4Cave8GateNodeFv -/* 8024BB84 00248AC4 7C 60 1B 78 */ mr r0, r3 -lbl_8024BB88: -/* 8024BB88 00248AC8 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8024BB8C 00248ACC 38 60 00 34 */ li r3, 0x34 -/* 8024BB90 00248AD0 4B DD 83 15 */ bl __nw__FUl -/* 8024BB94 00248AD4 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024BB98 00248AD8 41 82 00 0C */ beq lbl_8024BBA4 -/* 8024BB9C 00248ADC 48 00 25 D5 */ bl __ct__Q34Game4Cave8ItemNodeFv -/* 8024BBA0 00248AE0 7C 60 1B 78 */ mr r0, r3 -lbl_8024BBA4: -/* 8024BBA4 00248AE4 90 1F 00 24 */ stw r0, 0x24(r31) -/* 8024BBA8 00248AE8 38 60 00 40 */ li r3, 0x40 -/* 8024BBAC 00248AEC 4B DD 82 F9 */ bl __nw__FUl -/* 8024BBB0 00248AF0 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024BBB4 00248AF4 41 82 00 10 */ beq lbl_8024BBC4 -/* 8024BBB8 00248AF8 38 80 00 00 */ li r4, 0 -/* 8024BBBC 00248AFC 4B FF 71 B5 */ bl __ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo -/* 8024BBC0 00248B00 7C 60 1B 78 */ mr r0, r3 -lbl_8024BBC4: -/* 8024BBC4 00248B04 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8024BBC8 00248B08 38 60 00 40 */ li r3, 0x40 -/* 8024BBCC 00248B0C 4B DD 82 D9 */ bl __nw__FUl -/* 8024BBD0 00248B10 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024BBD4 00248B14 41 82 00 10 */ beq lbl_8024BBE4 -/* 8024BBD8 00248B18 38 80 00 00 */ li r4, 0 -/* 8024BBDC 00248B1C 4B FF 71 95 */ bl __ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo -/* 8024BBE0 00248B20 7C 60 1B 78 */ mr r0, r3 -lbl_8024BBE4: -/* 8024BBE4 00248B24 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 8024BBE8 00248B28 93 DF 00 08 */ stw r30, 8(r31) -/* 8024BBEC 00248B2C 9B BF 00 00 */ stb r29, 0(r31) -/* 8024BBF0 00248B30 80 7F 00 08 */ lwz r3, 8(r31) -/* 8024BBF4 00248B34 28 03 00 00 */ cmplwi r3, 0 -/* 8024BBF8 00248B38 41 82 00 14 */ beq lbl_8024BC0C -/* 8024BBFC 00248B3C 38 80 FF FF */ li r4, -1 -/* 8024BC00 00248B40 4B F8 B4 81 */ bl hasEscapeFountain__Q34Game4Cave9FloorInfoFi -/* 8024BC04 00248B44 98 7F 00 01 */ stb r3, 1(r31) -/* 8024BC08 00248B48 48 00 00 0C */ b lbl_8024BC14 -lbl_8024BC0C: -/* 8024BC0C 00248B4C 38 00 00 00 */ li r0, 0 -/* 8024BC10 00248B50 98 1F 00 01 */ stb r0, 1(r31) -lbl_8024BC14: -/* 8024BC14 00248B54 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 8024BC18 00248B58 28 03 00 00 */ cmplwi r3, 0 -/* 8024BC1C 00248B5C 41 82 00 1C */ beq lbl_8024BC38 -/* 8024BC20 00248B60 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8024BC24 00248B64 2C 00 00 01 */ cmpwi r0, 1 -/* 8024BC28 00248B68 40 82 00 10 */ bne lbl_8024BC38 -/* 8024BC2C 00248B6C 38 00 00 01 */ li r0, 1 -/* 8024BC30 00248B70 98 1F 00 02 */ stb r0, 2(r31) -/* 8024BC34 00248B74 48 00 00 0C */ b lbl_8024BC40 -lbl_8024BC38: -/* 8024BC38 00248B78 38 00 00 00 */ li r0, 0 -/* 8024BC3C 00248B7C 98 1F 00 02 */ stb r0, 2(r31) -lbl_8024BC40: -/* 8024BC40 00248B80 7F E3 FB 78 */ mr r3, r31 -/* 8024BC44 00248B84 7F 44 D3 78 */ mr r4, r26 -/* 8024BC48 00248B88 48 00 00 89 */ bl createEditMapInfo__Q34Game4Cave16MapUnitGeneratorFPQ34Game4Cave11EditMapUnit -/* 8024BC4C 00248B8C 7F E3 FB 78 */ mr r3, r31 -/* 8024BC50 00248B90 7F 84 E3 78 */ mr r4, r28 -/* 8024BC54 00248B94 7F 65 DB 78 */ mr r5, r27 -/* 8024BC58 00248B98 48 00 01 25 */ bl createMemList__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterfacei -/* 8024BC5C 00248B9C 7F E3 FB 78 */ mr r3, r31 -/* 8024BC60 00248BA0 48 00 03 E1 */ bl memMapListSorting__Q34Game4Cave16MapUnitGeneratorFv -/* 8024BC64 00248BA4 7F E3 FB 78 */ mr r3, r31 -/* 8024BC68 00248BA8 48 00 04 A5 */ bl createMapPartsList__Q34Game4Cave16MapUnitGeneratorFv -/* 8024BC6C 00248BAC 7F E3 FB 78 */ mr r3, r31 -/* 8024BC70 00248BB0 48 00 05 E9 */ bl createEnemyList__Q34Game4Cave16MapUnitGeneratorFv -/* 8024BC74 00248BB4 7F E3 FB 78 */ mr r3, r31 -/* 8024BC78 00248BB8 48 00 06 95 */ bl createCapEnemyList__Q34Game4Cave16MapUnitGeneratorFv -/* 8024BC7C 00248BBC 7F E3 FB 78 */ mr r3, r31 -/* 8024BC80 00248BC0 48 00 07 A9 */ bl createGateList__Q34Game4Cave16MapUnitGeneratorFv -/* 8024BC84 00248BC4 7F E3 FB 78 */ mr r3, r31 -/* 8024BC88 00248BC8 48 00 08 55 */ bl createItemList__Q34Game4Cave16MapUnitGeneratorFv -/* 8024BC8C 00248BCC 7F E3 FB 78 */ mr r3, r31 -/* 8024BC90 00248BD0 48 00 09 01 */ bl createCaveLevel__Q34Game4Cave16MapUnitGeneratorFv -/* 8024BC94 00248BD4 7F E3 FB 78 */ mr r3, r31 -/* 8024BC98 00248BD8 BB 41 00 08 */ lmw r26, 8(r1) -/* 8024BC9C 00248BDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024BCA0 00248BE0 7C 08 03 A6 */ mtlr r0 -/* 8024BCA4 00248BE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024BCA8 00248BE8 4E 80 00 20 */ blr - -.global __defctor__Q34Game4Cave7MapNodeFv -__defctor__Q34Game4Cave7MapNodeFv: -/* 8024BCAC 00248BEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024BCB0 00248BF0 7C 08 02 A6 */ mflr r0 -/* 8024BCB4 00248BF4 38 80 00 00 */ li r4, 0 -/* 8024BCB8 00248BF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024BCBC 00248BFC 4B FF 70 B5 */ bl __ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo -/* 8024BCC0 00248C00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024BCC4 00248C04 7C 08 03 A6 */ mtlr r0 -/* 8024BCC8 00248C08 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024BCCC 00248C0C 4E 80 00 20 */ blr - -.global createEditMapInfo__Q34Game4Cave16MapUnitGeneratorFPQ34Game4Cave11EditMapUnit -createEditMapInfo__Q34Game4Cave16MapUnitGeneratorFPQ34Game4Cave11EditMapUnit: -/* 8024BCD0 00248C10 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024BCD4 00248C14 7C 08 02 A6 */ mflr r0 -/* 8024BCD8 00248C18 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024BCDC 00248C1C 38 00 00 00 */ li r0, 0 -/* 8024BCE0 00248C20 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024BCE4 00248C24 7C 9F 23 78 */ mr r31, r4 -/* 8024BCE8 00248C28 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024BCEC 00248C2C 7C 7E 1B 78 */ mr r30, r3 -/* 8024BCF0 00248C30 90 03 00 30 */ stw r0, 0x30(r3) -/* 8024BCF4 00248C34 88 03 00 02 */ lbz r0, 2(r3) -/* 8024BCF8 00248C38 28 00 00 00 */ cmplwi r0, 0 -/* 8024BCFC 00248C3C 41 82 00 68 */ beq lbl_8024BD64 -/* 8024BD00 00248C40 28 1F 00 00 */ cmplwi r31, 0 -/* 8024BD04 00248C44 41 82 00 60 */ beq lbl_8024BD64 -/* 8024BD08 00248C48 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8024BD0C 00248C4C 2C 00 FF FF */ cmpwi r0, -1 -/* 8024BD10 00248C50 40 80 00 48 */ bge lbl_8024BD58 -/* 8024BD14 00248C54 4B E7 D8 8D */ bl rand -/* 8024BD18 00248C58 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024BD1C 00248C5C 3C 00 43 30 */ lis r0, 0x4330 -/* 8024BD20 00248C60 90 61 00 0C */ stw r3, 0xc(r1) -/* 8024BD24 00248C64 C8 62 C4 80 */ lfd f3, lbl_8051A7E0@sda21(r2) -/* 8024BD28 00248C68 90 01 00 08 */ stw r0, 8(r1) -/* 8024BD2C 00248C6C C0 42 C4 78 */ lfs f2, lbl_8051A7D8@sda21(r2) -/* 8024BD30 00248C70 C8 01 00 08 */ lfd f0, 8(r1) -/* 8024BD34 00248C74 C0 22 C4 7C */ lfs f1, lbl_8051A7DC@sda21(r2) -/* 8024BD38 00248C78 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8024BD3C 00248C7C C0 1F 00 00 */ lfs f0, 0(r31) -/* 8024BD40 00248C80 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8024BD44 00248C84 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8024BD48 00248C88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024BD4C 00248C8C 40 80 00 18 */ bge lbl_8024BD64 -/* 8024BD50 00248C90 93 FE 00 30 */ stw r31, 0x30(r30) -/* 8024BD54 00248C94 48 00 00 10 */ b lbl_8024BD64 -lbl_8024BD58: -/* 8024BD58 00248C98 2C 00 00 00 */ cmpwi r0, 0 -/* 8024BD5C 00248C9C 41 80 00 08 */ blt lbl_8024BD64 -/* 8024BD60 00248CA0 93 FE 00 30 */ stw r31, 0x30(r30) -lbl_8024BD64: -/* 8024BD64 00248CA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024BD68 00248CA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024BD6C 00248CAC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024BD70 00248CB0 7C 08 03 A6 */ mtlr r0 -/* 8024BD74 00248CB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024BD78 00248CB8 4E 80 00 20 */ blr - -.global createMemList__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterfacei -createMemList__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterfacei: -/* 8024BD7C 00248CBC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8024BD80 00248CC0 7C 08 02 A6 */ mflr r0 -/* 8024BD84 00248CC4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8024BD88 00248CC8 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8024BD8C 00248CCC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8024BD90 00248CD0 BE 61 00 2C */ stmw r19, 0x2c(r1) -/* 8024BD94 00248CD4 7C 7F 1B 78 */ mr r31, r3 -/* 8024BD98 00248CD8 7C B6 2B 78 */ mr r22, r5 -/* 8024BD9C 00248CDC 3A E0 00 00 */ li r23, 0 -/* 8024BDA0 00248CE0 7C 9E 23 78 */ mr r30, r4 -/* 8024BDA4 00248CE4 48 00 02 00 */ b lbl_8024BFA4 -lbl_8024BDA8: -/* 8024BDA8 00248CE8 7F E3 FB 78 */ mr r3, r31 -/* 8024BDAC 00248CEC 7F C4 F3 78 */ mr r4, r30 -/* 8024BDB0 00248CF0 48 00 02 19 */ bl isCreateList__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterface -/* 8024BDB4 00248CF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024BDB8 00248CF8 41 82 01 E4 */ beq lbl_8024BF9C -/* 8024BDBC 00248CFC 38 60 00 24 */ li r3, 0x24 -/* 8024BDC0 00248D00 4B DD 80 E5 */ bl __nw__FUl -/* 8024BDC4 00248D04 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8024BDC8 00248D08 41 82 00 10 */ beq lbl_8024BDD8 -/* 8024BDCC 00248D0C 38 80 00 00 */ li r4, 0 -/* 8024BDD0 00248D10 4B FF 69 D9 */ bl __ct__Q34Game4Cave8MapUnitsFP10JUTTexture -/* 8024BDD4 00248D14 7C 7D 1B 78 */ mr r29, r3 -lbl_8024BDD8: -/* 8024BDD8 00248D18 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8024BDDC 00248D1C 7F A3 EB 78 */ mr r3, r29 -/* 8024BDE0 00248D20 4B FF 6B 2D */ bl setUnitName__Q34Game4Cave8MapUnitsFPc -/* 8024BDE4 00248D24 7F A3 EB 78 */ mr r3, r29 -/* 8024BDE8 00248D28 7E E4 BB 78 */ mr r4, r23 -/* 8024BDEC 00248D2C 4B FF 6B 29 */ bl setUnitIndex__Q34Game4Cave8MapUnitsFi -/* 8024BDF0 00248D30 A8 9E 00 6C */ lha r4, 0x6c(r30) -/* 8024BDF4 00248D34 7F A3 EB 78 */ mr r3, r29 -/* 8024BDF8 00248D38 4B FF 6B 25 */ bl setUnitKind__Q34Game4Cave8MapUnitsFi -/* 8024BDFC 00248D3C 7F C3 F3 78 */ mr r3, r30 -/* 8024BE00 00248D40 38 81 00 0C */ addi r4, r1, 0xc -/* 8024BE04 00248D44 38 A1 00 08 */ addi r5, r1, 8 -/* 8024BE08 00248D48 4B F6 A6 85 */ bl getCellSize__Q24Game16MapUnitInterfaceFRiRi -/* 8024BE0C 00248D4C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8024BE10 00248D50 7F A3 EB 78 */ mr r3, r29 -/* 8024BE14 00248D54 80 A1 00 08 */ lwz r5, 8(r1) -/* 8024BE18 00248D58 4B FF 6B 0D */ bl setUnitSize__Q34Game4Cave8MapUnitsFii -/* 8024BE1C 00248D5C 83 9E 01 14 */ lwz r28, 0x114(r30) -/* 8024BE20 00248D60 7F A3 EB 78 */ mr r3, r29 -/* 8024BE24 00248D64 7F 84 E3 78 */ mr r4, r28 -/* 8024BE28 00248D68 4B FF 6A 25 */ bl setDoorNum__Q34Game4Cave8MapUnitsFi -/* 8024BE2C 00248D6C 80 9E 01 68 */ lwz r4, 0x168(r30) -/* 8024BE30 00248D70 7F A3 EB 78 */ mr r3, r29 -/* 8024BE34 00248D74 4B FF 6A FD */ bl setBaseGenPtr__Q34Game4Cave8MapUnitsFPQ34Game4Cave7BaseGen -/* 8024BE38 00248D78 C3 E2 C4 88 */ lfs f31, lbl_8051A7E8@sda21(r2) -/* 8024BE3C 00248D7C 3B 20 00 00 */ li r25, 0 -/* 8024BE40 00248D80 3B 40 00 00 */ li r26, 0 -/* 8024BE44 00248D84 48 00 00 EC */ b lbl_8024BF30 -lbl_8024BE48: -/* 8024BE48 00248D88 7F C3 F3 78 */ mr r3, r30 -/* 8024BE4C 00248D8C 7F 24 CB 78 */ mr r4, r25 -/* 8024BE50 00248D90 4B F6 A6 19 */ bl getDoor__Q24Game16MapUnitInterfaceFi -/* 8024BE54 00248D94 7C 60 1B 78 */ mr r0, r3 -/* 8024BE58 00248D98 38 61 00 10 */ addi r3, r1, 0x10 -/* 8024BE5C 00248D9C 7C 18 03 78 */ mr r24, r0 -/* 8024BE60 00248DA0 4B FF FA B9 */ bl __ct__Q34Game4Cave4DoorFv -/* 8024BE64 00248DA4 80 18 00 48 */ lwz r0, 0x48(r24) -/* 8024BE68 00248DA8 38 60 00 20 */ li r3, 0x20 -/* 8024BE6C 00248DAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024BE70 00248DB0 80 18 00 44 */ lwz r0, 0x44(r24) -/* 8024BE74 00248DB4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8024BE78 00248DB8 83 78 00 1C */ lwz r27, 0x1c(r24) -/* 8024BE7C 00248DBC 4B DD 80 29 */ bl __nw__FUl -/* 8024BE80 00248DC0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8024BE84 00248DC4 41 82 00 10 */ beq lbl_8024BE94 -/* 8024BE88 00248DC8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8024BE8C 00248DCC 4B FF FA ED */ bl __ct__Q34Game4Cave8DoorNodeFRQ34Game4Cave4Door -/* 8024BE90 00248DD0 7C 64 1B 78 */ mr r4, r3 -lbl_8024BE94: -/* 8024BE94 00248DD4 80 7D 00 00 */ lwz r3, 0(r29) -/* 8024BE98 00248DD8 48 1C 55 71 */ bl add__5CNodeFP5CNode -/* 8024BE9C 00248DDC 3A A0 00 00 */ li r21, 0 -/* 8024BEA0 00248DE0 48 00 00 80 */ b lbl_8024BF20 -lbl_8024BEA4: -/* 8024BEA4 00248DE4 7F 03 C3 78 */ mr r3, r24 -/* 8024BEA8 00248DE8 7E A4 AB 78 */ mr r4, r21 -/* 8024BEAC 00248DEC 4B F6 A5 FD */ bl getLink__Q24Game4DoorFi -/* 8024BEB0 00248DF0 7C 74 1B 78 */ mr r20, r3 -/* 8024BEB4 00248DF4 38 60 00 0C */ li r3, 0xc -/* 8024BEB8 00248DF8 4B DD 7F ED */ bl __nw__FUl -/* 8024BEBC 00248DFC 7C 73 1B 79 */ or. r19, r3, r3 -/* 8024BEC0 00248E00 41 82 00 0C */ beq lbl_8024BECC -/* 8024BEC4 00248E04 4B FF F9 B1 */ bl __ct__Q34Game4Cave6AdjustFv -/* 8024BEC8 00248E08 7C 73 1B 78 */ mr r19, r3 -lbl_8024BECC: -/* 8024BECC 00248E0C 80 14 00 1C */ lwz r0, 0x1c(r20) -/* 8024BED0 00248E10 38 60 00 1C */ li r3, 0x1c -/* 8024BED4 00248E14 90 13 00 00 */ stw r0, 0(r19) -/* 8024BED8 00248E18 C0 14 00 18 */ lfs f0, 0x18(r20) -/* 8024BEDC 00248E1C EC 00 F8 24 */ fdivs f0, f0, f31 -/* 8024BEE0 00248E20 FC 00 00 1E */ fctiwz f0, f0 -/* 8024BEE4 00248E24 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8024BEE8 00248E28 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8024BEEC 00248E2C 90 13 00 04 */ stw r0, 4(r19) -/* 8024BEF0 00248E30 88 14 00 20 */ lbz r0, 0x20(r20) -/* 8024BEF4 00248E34 90 13 00 08 */ stw r0, 8(r19) -/* 8024BEF8 00248E38 4B DD 7F AD */ bl __nw__FUl -/* 8024BEFC 00248E3C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8024BF00 00248E40 41 82 00 10 */ beq lbl_8024BF10 -/* 8024BF04 00248E44 7E 64 9B 78 */ mr r4, r19 -/* 8024BF08 00248E48 4B FF F9 C5 */ bl __ct__Q34Game4Cave10AdjustNodeFPQ34Game4Cave6Adjust -/* 8024BF0C 00248E4C 7C 64 1B 78 */ mr r4, r3 -lbl_8024BF10: -/* 8024BF10 00248E50 80 1D 00 04 */ lwz r0, 4(r29) -/* 8024BF14 00248E54 7C 60 D2 14 */ add r3, r0, r26 -/* 8024BF18 00248E58 48 1C 54 F1 */ bl add__5CNodeFP5CNode -/* 8024BF1C 00248E5C 3A B5 00 01 */ addi r21, r21, 1 -lbl_8024BF20: -/* 8024BF20 00248E60 7C 15 D8 00 */ cmpw r21, r27 -/* 8024BF24 00248E64 41 80 FF 80 */ blt lbl_8024BEA4 -/* 8024BF28 00248E68 3B 5A 00 1C */ addi r26, r26, 0x1c -/* 8024BF2C 00248E6C 3B 39 00 01 */ addi r25, r25, 1 -lbl_8024BF30: -/* 8024BF30 00248E70 7C 19 E0 00 */ cmpw r25, r28 -/* 8024BF34 00248E74 41 80 FF 14 */ blt lbl_8024BE48 -/* 8024BF38 00248E78 3A 80 00 00 */ li r20, 0 -lbl_8024BF3C: -/* 8024BF3C 00248E7C 38 60 00 18 */ li r3, 0x18 -/* 8024BF40 00248E80 4B DD 7F 65 */ bl __nw__FUl -/* 8024BF44 00248E84 7C 73 1B 79 */ or. r19, r3, r3 -/* 8024BF48 00248E88 41 82 00 10 */ beq lbl_8024BF58 -/* 8024BF4C 00248E8C 7F A4 EB 78 */ mr r4, r29 -/* 8024BF50 00248E90 4B FF 69 E9 */ bl __ct__Q34Game4Cave8UnitInfoFPQ34Game4Cave8MapUnits -/* 8024BF54 00248E94 7C 73 1B 78 */ mr r19, r3 -lbl_8024BF58: -/* 8024BF58 00248E98 7E 63 9B 78 */ mr r3, r19 -/* 8024BF5C 00248E9C 7E 84 A3 78 */ mr r4, r20 -/* 8024BF60 00248EA0 4B FF 6A 49 */ bl setUnitRotation__Q34Game4Cave8UnitInfoFi -/* 8024BF64 00248EA4 7E 63 9B 78 */ mr r3, r19 -/* 8024BF68 00248EA8 4B FF 6A 49 */ bl create__Q34Game4Cave8UnitInfoFv -/* 8024BF6C 00248EAC 38 60 00 40 */ li r3, 0x40 -/* 8024BF70 00248EB0 4B DD 7F 35 */ bl __nw__FUl -/* 8024BF74 00248EB4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8024BF78 00248EB8 41 82 00 10 */ beq lbl_8024BF88 -/* 8024BF7C 00248EBC 7E 64 9B 78 */ mr r4, r19 -/* 8024BF80 00248EC0 4B FF 6D F1 */ bl __ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo -/* 8024BF84 00248EC4 7C 64 1B 78 */ mr r4, r3 -lbl_8024BF88: -/* 8024BF88 00248EC8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8024BF8C 00248ECC 48 1C 54 7D */ bl add__5CNodeFP5CNode -/* 8024BF90 00248ED0 3A 94 00 01 */ addi r20, r20, 1 -/* 8024BF94 00248ED4 2C 14 00 04 */ cmpwi r20, 4 -/* 8024BF98 00248ED8 41 80 FF A4 */ blt lbl_8024BF3C -lbl_8024BF9C: -/* 8024BF9C 00248EDC 3B DE 01 6C */ addi r30, r30, 0x16c -/* 8024BFA0 00248EE0 3A F7 00 01 */ addi r23, r23, 1 -lbl_8024BFA4: -/* 8024BFA4 00248EE4 7C 17 B0 00 */ cmpw r23, r22 -/* 8024BFA8 00248EE8 41 80 FE 00 */ blt lbl_8024BDA8 -/* 8024BFAC 00248EEC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8024BFB0 00248EF0 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8024BFB4 00248EF4 BA 61 00 2C */ lmw r19, 0x2c(r1) -/* 8024BFB8 00248EF8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8024BFBC 00248EFC 7C 08 03 A6 */ mtlr r0 -/* 8024BFC0 00248F00 38 21 00 70 */ addi r1, r1, 0x70 -/* 8024BFC4 00248F04 4E 80 00 20 */ blr - -.global isCreateList__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterface -isCreateList__Q34Game4Cave16MapUnitGeneratorFPQ24Game16MapUnitInterface: -/* 8024BFC8 00248F08 88 03 00 02 */ lbz r0, 2(r3) -/* 8024BFCC 00248F0C 28 00 00 00 */ cmplwi r0, 0 -/* 8024BFD0 00248F10 40 82 00 0C */ bne lbl_8024BFDC -/* 8024BFD4 00248F14 38 60 00 01 */ li r3, 1 -/* 8024BFD8 00248F18 4E 80 00 20 */ blr -lbl_8024BFDC: -/* 8024BFDC 00248F1C 80 03 00 30 */ lwz r0, 0x30(r3) -/* 8024BFE0 00248F20 28 00 00 00 */ cmplwi r0, 0 -/* 8024BFE4 00248F24 41 82 00 0C */ beq lbl_8024BFF0 -/* 8024BFE8 00248F28 38 60 00 01 */ li r3, 1 -/* 8024BFEC 00248F2C 4E 80 00 20 */ blr -lbl_8024BFF0: -/* 8024BFF0 00248F30 A8 04 00 6C */ lha r0, 0x6c(r4) -/* 8024BFF4 00248F34 2C 00 00 01 */ cmpwi r0, 1 -/* 8024BFF8 00248F38 41 82 00 0C */ beq lbl_8024C004 -/* 8024BFFC 00248F3C 38 60 00 01 */ li r3, 1 -/* 8024C000 00248F40 4E 80 00 20 */ blr -lbl_8024C004: -/* 8024C004 00248F44 80 64 01 68 */ lwz r3, 0x168(r4) -/* 8024C008 00248F48 28 03 00 00 */ cmplwi r3, 0 -/* 8024C00C 00248F4C 41 82 00 2C */ beq lbl_8024C038 -/* 8024C010 00248F50 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8024C014 00248F54 48 00 00 1C */ b lbl_8024C030 -lbl_8024C018: -/* 8024C018 00248F58 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8024C01C 00248F5C 2C 00 00 07 */ cmpwi r0, 7 -/* 8024C020 00248F60 40 82 00 0C */ bne lbl_8024C02C -/* 8024C024 00248F64 38 60 00 01 */ li r3, 1 -/* 8024C028 00248F68 4E 80 00 20 */ blr -lbl_8024C02C: -/* 8024C02C 00248F6C 80 63 00 04 */ lwz r3, 4(r3) -lbl_8024C030: -/* 8024C030 00248F70 28 03 00 00 */ cmplwi r3, 0 -/* 8024C034 00248F74 40 82 FF E4 */ bne lbl_8024C018 -lbl_8024C038: -/* 8024C038 00248F78 38 60 00 00 */ li r3, 0 -/* 8024C03C 00248F7C 4E 80 00 20 */ blr - -.global memMapListSorting__Q34Game4Cave16MapUnitGeneratorFv -memMapListSorting__Q34Game4Cave16MapUnitGeneratorFv: -/* 8024C040 00248F80 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024C044 00248F84 7C 08 02 A6 */ mflr r0 -/* 8024C048 00248F88 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024C04C 00248F8C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8024C050 00248F90 7C 79 1B 78 */ mr r25, r3 -/* 8024C054 00248F94 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8024C058 00248F98 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8024C05C 00248F9C 48 00 00 94 */ b lbl_8024C0F0 -lbl_8024C060: -/* 8024C060 00248FA0 83 BF 00 04 */ lwz r29, 4(r31) -/* 8024C064 00248FA4 7F FC FB 78 */ mr r28, r31 -/* 8024C068 00248FA8 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8024C06C 00248FAC 4B FF 6B 21 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 8024C070 00248FB0 7C 7E 1B 78 */ mr r30, r3 -/* 8024C074 00248FB4 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8024C078 00248FB8 4B FF 6B 0D */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 8024C07C 00248FBC 7F 63 F1 D6 */ mullw r27, r3, r30 -/* 8024C080 00248FC0 7F E3 FB 78 */ mr r3, r31 -/* 8024C084 00248FC4 4B FF 7F DD */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024C088 00248FC8 7C 7E 1B 78 */ mr r30, r3 -/* 8024C08C 00248FCC 7F BA EB 78 */ mr r26, r29 -/* 8024C090 00248FD0 48 00 00 54 */ b lbl_8024C0E4 -lbl_8024C094: -/* 8024C094 00248FD4 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 8024C098 00248FD8 4B FF 6A F5 */ bl getUnitSizeY__Q34Game4Cave8UnitInfoFv -/* 8024C09C 00248FDC 7C 7F 1B 78 */ mr r31, r3 -/* 8024C0A0 00248FE0 80 7A 00 18 */ lwz r3, 0x18(r26) -/* 8024C0A4 00248FE4 4B FF 6A E1 */ bl getUnitSizeX__Q34Game4Cave8UnitInfoFv -/* 8024C0A8 00248FE8 7F E3 F9 D6 */ mullw r31, r3, r31 -/* 8024C0AC 00248FEC 7F 43 D3 78 */ mr r3, r26 -/* 8024C0B0 00248FF0 4B FF 7F B1 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024C0B4 00248FF4 7C 1B F8 00 */ cmpw r27, r31 -/* 8024C0B8 00248FF8 41 81 00 10 */ bgt lbl_8024C0C8 -/* 8024C0BC 00248FFC 40 82 00 24 */ bne lbl_8024C0E0 -/* 8024C0C0 00249000 7C 1E 18 00 */ cmpw r30, r3 -/* 8024C0C4 00249004 40 81 00 1C */ ble lbl_8024C0E0 -lbl_8024C0C8: -/* 8024C0C8 00249008 7F 83 E3 78 */ mr r3, r28 -/* 8024C0CC 0024900C 48 1C 55 05 */ bl del__5CNodeFv -/* 8024C0D0 00249010 80 79 00 0C */ lwz r3, 0xc(r25) -/* 8024C0D4 00249014 7F 84 E3 78 */ mr r4, r28 -/* 8024C0D8 00249018 48 1C 53 31 */ bl add__5CNodeFP5CNode -/* 8024C0DC 0024901C 48 00 00 10 */ b lbl_8024C0EC -lbl_8024C0E0: -/* 8024C0E0 00249020 83 5A 00 04 */ lwz r26, 4(r26) -lbl_8024C0E4: -/* 8024C0E4 00249024 28 1A 00 00 */ cmplwi r26, 0 -/* 8024C0E8 00249028 40 82 FF AC */ bne lbl_8024C094 -lbl_8024C0EC: -/* 8024C0EC 0024902C 7F BF EB 78 */ mr r31, r29 -lbl_8024C0F0: -/* 8024C0F0 00249030 28 1F 00 00 */ cmplwi r31, 0 -/* 8024C0F4 00249034 40 82 FF 6C */ bne lbl_8024C060 -/* 8024C0F8 00249038 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8024C0FC 0024903C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024C100 00249040 7C 08 03 A6 */ mtlr r0 -/* 8024C104 00249044 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024C108 00249048 4E 80 00 20 */ blr - -.global createMapPartsList__Q34Game4Cave16MapUnitGeneratorFv -createMapPartsList__Q34Game4Cave16MapUnitGeneratorFv: -/* 8024C10C 0024904C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8024C110 00249050 7C 08 02 A6 */ mflr r0 -/* 8024C114 00249054 90 01 00 74 */ stw r0, 0x74(r1) -/* 8024C118 00249058 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8024C11C 0024905C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8024C120 00249060 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8024C124 00249064 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8024C128 00249068 BE E1 00 2C */ stmw r23, 0x2c(r1) -/* 8024C12C 0024906C CB C2 C4 80 */ lfd f30, lbl_8051A7E0@sda21(r2) -/* 8024C130 00249070 7C 7F 1B 78 */ mr r31, r3 -/* 8024C134 00249074 C3 E2 C4 7C */ lfs f31, lbl_8051A7DC@sda21(r2) -/* 8024C138 00249078 3B 40 00 00 */ li r26, 0 -/* 8024C13C 0024907C 3B 60 00 00 */ li r27, 0 -/* 8024C140 00249080 3F A0 43 30 */ lis r29, 0x4330 -lbl_8024C144: -/* 8024C144 00249084 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8024C148 00249088 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8024C14C 0024908C 83 83 00 10 */ lwz r28, 0x10(r3) -/* 8024C150 00249090 7F 20 DA 14 */ add r25, r0, r27 -/* 8024C154 00249094 48 00 00 3C */ b lbl_8024C190 -lbl_8024C158: -/* 8024C158 00249098 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 8024C15C 0024909C 4B FF 6A 1D */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024C160 002490A0 7C 1A 18 00 */ cmpw r26, r3 -/* 8024C164 002490A4 40 82 00 28 */ bne lbl_8024C18C -/* 8024C168 002490A8 38 60 00 40 */ li r3, 0x40 -/* 8024C16C 002490AC 4B DD 7D 39 */ bl __nw__FUl -/* 8024C170 002490B0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8024C174 002490B4 41 82 00 10 */ beq lbl_8024C184 -/* 8024C178 002490B8 80 9C 00 18 */ lwz r4, 0x18(r28) -/* 8024C17C 002490BC 4B FF 6B F5 */ bl __ct__Q34Game4Cave7MapNodeFPQ34Game4Cave8UnitInfo -/* 8024C180 002490C0 7C 64 1B 78 */ mr r4, r3 -lbl_8024C184: -/* 8024C184 002490C4 7F 23 CB 78 */ mr r3, r25 -/* 8024C188 002490C8 48 1C 52 81 */ bl add__5CNodeFP5CNode -lbl_8024C18C: -/* 8024C18C 002490CC 83 9C 00 04 */ lwz r28, 4(r28) -lbl_8024C190: -/* 8024C190 002490D0 28 1C 00 00 */ cmplwi r28, 0 -/* 8024C194 002490D4 40 82 FF C4 */ bne lbl_8024C158 -/* 8024C198 002490D8 7F 23 CB 78 */ mr r3, r25 -/* 8024C19C 002490DC 81 99 00 00 */ lwz r12, 0(r25) -/* 8024C1A0 002490E0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8024C1A4 002490E4 7D 89 03 A6 */ mtctr r12 -/* 8024C1A8 002490E8 4E 80 04 21 */ bctrl -/* 8024C1AC 002490EC 7C 7C 1B 78 */ mr r28, r3 -/* 8024C1B0 002490F0 3B 00 00 00 */ li r24, 0 -/* 8024C1B4 002490F4 6F 9E 80 00 */ xoris r30, r28, 0x8000 -/* 8024C1B8 002490F8 48 00 00 64 */ b lbl_8024C21C -lbl_8024C1BC: -/* 8024C1BC 002490FC 4B E7 D3 E5 */ bl rand -/* 8024C1C0 00249100 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024C1C4 00249104 93 A1 00 08 */ stw r29, 8(r1) -/* 8024C1C8 00249108 7F 23 CB 78 */ mr r3, r25 -/* 8024C1CC 0024910C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8024C1D0 00249110 C8 01 00 08 */ lfd f0, 8(r1) -/* 8024C1D4 00249114 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8024C1D8 00249118 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8024C1DC 0024911C 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8024C1E0 00249120 EC 20 F8 24 */ fdivs f1, f0, f31 -/* 8024C1E4 00249124 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8024C1E8 00249128 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8024C1EC 0024912C EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024C1F0 00249130 FC 00 00 1E */ fctiwz f0, f0 -/* 8024C1F4 00249134 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8024C1F8 00249138 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8024C1FC 0024913C 48 1C 54 A1 */ bl getChildAt__5CNodeFi -/* 8024C200 00249140 7C 77 1B 79 */ or. r23, r3, r3 -/* 8024C204 00249144 41 82 00 14 */ beq lbl_8024C218 -/* 8024C208 00249148 48 1C 53 C9 */ bl del__5CNodeFv -/* 8024C20C 0024914C 7F 23 CB 78 */ mr r3, r25 -/* 8024C210 00249150 7E E4 BB 78 */ mr r4, r23 -/* 8024C214 00249154 48 1C 51 F5 */ bl add__5CNodeFP5CNode -lbl_8024C218: -/* 8024C218 00249158 3B 18 00 01 */ addi r24, r24, 1 -lbl_8024C21C: -/* 8024C21C 0024915C 7C 18 E0 00 */ cmpw r24, r28 -/* 8024C220 00249160 41 80 FF 9C */ blt lbl_8024C1BC -/* 8024C224 00249164 3B 5A 00 01 */ addi r26, r26, 1 -/* 8024C228 00249168 3B 7B 00 40 */ addi r27, r27, 0x40 -/* 8024C22C 0024916C 2C 1A 00 03 */ cmpwi r26, 3 -/* 8024C230 00249170 41 80 FF 14 */ blt lbl_8024C144 -/* 8024C234 00249174 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8024C238 00249178 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8024C23C 0024917C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8024C240 00249180 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8024C244 00249184 BA E1 00 2C */ lmw r23, 0x2c(r1) -/* 8024C248 00249188 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8024C24C 0024918C 7C 08 03 A6 */ mtlr r0 -/* 8024C250 00249190 38 21 00 70 */ addi r1, r1, 0x70 -/* 8024C254 00249194 4E 80 00 20 */ blr - -.global createEnemyList__Q34Game4Cave16MapUnitGeneratorFv -createEnemyList__Q34Game4Cave16MapUnitGeneratorFv: -/* 8024C258 00249198 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024C25C 0024919C 7C 08 02 A6 */ mflr r0 -/* 8024C260 002491A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024C264 002491A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024C268 002491A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024C26C 002491AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024C270 002491B0 3B A0 00 00 */ li r29, 0 -/* 8024C274 002491B4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8024C278 002491B8 7C 7C 1B 78 */ mr r28, r3 -/* 8024C27C 002491BC 48 00 00 60 */ b lbl_8024C2DC -lbl_8024C280: -/* 8024C280 002491C0 38 60 00 04 */ li r3, 4 -/* 8024C284 002491C4 4B DD 7C 21 */ bl __nw__FUl -/* 8024C288 002491C8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024C28C 002491CC 41 82 00 0C */ beq lbl_8024C298 -/* 8024C290 002491D0 38 00 00 00 */ li r0, 0 -/* 8024C294 002491D4 90 1F 00 00 */ stw r0, 0(r31) -lbl_8024C298: -/* 8024C298 002491D8 38 60 00 38 */ li r3, 0x38 -/* 8024C29C 002491DC 4B DD 7C 09 */ bl __nw__FUl -/* 8024C2A0 002491E0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024C2A4 002491E4 41 82 00 18 */ beq lbl_8024C2BC -/* 8024C2A8 002491E8 7F E4 FB 78 */ mr r4, r31 -/* 8024C2AC 002491EC 7F A6 EB 78 */ mr r6, r29 -/* 8024C2B0 002491F0 38 A0 00 00 */ li r5, 0 -/* 8024C2B4 002491F4 4B FF 7F 15 */ bl __ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni -/* 8024C2B8 002491F8 7C 7E 1B 78 */ mr r30, r3 -lbl_8024C2BC: -/* 8024C2BC 002491FC 80 7C 00 08 */ lwz r3, 8(r28) -/* 8024C2C0 00249200 7F A4 EB 78 */ mr r4, r29 -/* 8024C2C4 00249204 4B F8 AA 55 */ bl getTekiInfo__Q34Game4Cave9FloorInfoFi -/* 8024C2C8 00249208 90 7F 00 00 */ stw r3, 0(r31) -/* 8024C2CC 0024920C 7F C4 F3 78 */ mr r4, r30 -/* 8024C2D0 00249210 80 7C 00 14 */ lwz r3, 0x14(r28) -/* 8024C2D4 00249214 48 1C 51 35 */ bl add__5CNodeFP5CNode -/* 8024C2D8 00249218 3B BD 00 01 */ addi r29, r29, 1 -lbl_8024C2DC: -/* 8024C2DC 0024921C 80 7C 00 08 */ lwz r3, 8(r28) -/* 8024C2E0 00249220 4B F8 AA 0D */ bl getTekiInfoNum__Q34Game4Cave9FloorInfoFv -/* 8024C2E4 00249224 7C 1D 18 00 */ cmpw r29, r3 -/* 8024C2E8 00249228 41 80 FF 98 */ blt lbl_8024C280 -/* 8024C2EC 0024922C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024C2F0 00249230 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024C2F4 00249234 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024C2F8 00249238 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024C2FC 0024923C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8024C300 00249240 7C 08 03 A6 */ mtlr r0 -/* 8024C304 00249244 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024C308 00249248 4E 80 00 20 */ blr - -.global createCapEnemyList__Q34Game4Cave16MapUnitGeneratorFv -createCapEnemyList__Q34Game4Cave16MapUnitGeneratorFv: -/* 8024C30C 0024924C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024C310 00249250 7C 08 02 A6 */ mflr r0 -/* 8024C314 00249254 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024C318 00249258 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8024C31C 0024925C 7C 7B 1B 78 */ mr r27, r3 -/* 8024C320 00249260 3B A0 00 00 */ li r29, 0 -/* 8024C324 00249264 48 00 00 B0 */ b lbl_8024C3D4 -lbl_8024C328: -/* 8024C328 00249268 80 7B 00 08 */ lwz r3, 8(r27) -/* 8024C32C 0024926C 7F A4 EB 78 */ mr r4, r29 -/* 8024C330 00249270 4B F8 AC AD */ bl getCapInfo__Q34Game4Cave9FloorInfoFi -/* 8024C334 00249274 28 03 00 00 */ cmplwi r3, 0 -/* 8024C338 00249278 41 82 00 98 */ beq lbl_8024C3D0 -/* 8024C33C 0024927C 88 03 00 18 */ lbz r0, 0x18(r3) -/* 8024C340 00249280 28 00 00 00 */ cmplwi r0, 0 -/* 8024C344 00249284 40 82 00 8C */ bne lbl_8024C3D0 -/* 8024C348 00249288 4B F8 A1 A1 */ bl getTekiInfo__Q34Game4Cave7CapInfoFv -/* 8024C34C 0024928C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8024C350 00249290 41 82 00 80 */ beq lbl_8024C3D0 -/* 8024C354 00249294 38 60 00 04 */ li r3, 4 -/* 8024C358 00249298 4B DD 7B 4D */ bl __nw__FUl -/* 8024C35C 0024929C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024C360 002492A0 41 82 00 0C */ beq lbl_8024C36C -/* 8024C364 002492A4 38 00 00 00 */ li r0, 0 -/* 8024C368 002492A8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8024C36C: -/* 8024C36C 002492AC 38 60 00 38 */ li r3, 0x38 -/* 8024C370 002492B0 4B DD 7B 35 */ bl __nw__FUl -/* 8024C374 002492B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024C378 002492B8 41 82 00 18 */ beq lbl_8024C390 -/* 8024C37C 002492BC 7F E4 FB 78 */ mr r4, r31 -/* 8024C380 002492C0 7F A6 EB 78 */ mr r6, r29 -/* 8024C384 002492C4 38 A0 00 00 */ li r5, 0 -/* 8024C388 002492C8 4B FF 7E 41 */ bl __ct__Q34Game4Cave9EnemyNodeFPQ34Game4Cave9EnemyUnitPQ34Game4Cave7BaseGeni -/* 8024C38C 002492CC 7C 7E 1B 78 */ mr r30, r3 -lbl_8024C390: -/* 8024C390 002492D0 93 9F 00 00 */ stw r28, 0(r31) -/* 8024C394 002492D4 88 1C 00 24 */ lbz r0, 0x24(r28) -/* 8024C398 002492D8 28 00 00 00 */ cmplwi r0, 0 -/* 8024C39C 002492DC 41 82 00 18 */ beq lbl_8024C3B4 -/* 8024C3A0 002492E0 7F 63 DB 78 */ mr r3, r27 -/* 8024C3A4 002492E4 7F 84 E3 78 */ mr r4, r28 -/* 8024C3A8 002492E8 48 00 00 51 */ bl isPomGroup__Q34Game4Cave16MapUnitGeneratorFPQ34Game4Cave8TekiInfo -/* 8024C3AC 002492EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024C3B0 002492F0 41 82 00 14 */ beq lbl_8024C3C4 -lbl_8024C3B4: -/* 8024C3B4 002492F4 80 7B 00 18 */ lwz r3, 0x18(r27) -/* 8024C3B8 002492F8 7F C4 F3 78 */ mr r4, r30 -/* 8024C3BC 002492FC 48 1C 50 4D */ bl add__5CNodeFP5CNode -/* 8024C3C0 00249300 48 00 00 10 */ b lbl_8024C3D0 -lbl_8024C3C4: -/* 8024C3C4 00249304 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 8024C3C8 00249308 7F C4 F3 78 */ mr r4, r30 -/* 8024C3CC 0024930C 48 1C 50 3D */ bl add__5CNodeFP5CNode -lbl_8024C3D0: -/* 8024C3D0 00249310 3B BD 00 01 */ addi r29, r29, 1 -lbl_8024C3D4: -/* 8024C3D4 00249314 80 7B 00 08 */ lwz r3, 8(r27) -/* 8024C3D8 00249318 4B F8 AB D9 */ bl getCapInfoNum__Q34Game4Cave9FloorInfoFv -/* 8024C3DC 0024931C 7C 1D 18 00 */ cmpw r29, r3 -/* 8024C3E0 00249320 41 80 FF 48 */ blt lbl_8024C328 -/* 8024C3E4 00249324 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8024C3E8 00249328 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024C3EC 0024932C 7C 08 03 A6 */ mtlr r0 -/* 8024C3F0 00249330 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024C3F4 00249334 4E 80 00 20 */ blr - -.global isPomGroup__Q34Game4Cave16MapUnitGeneratorFPQ34Game4Cave8TekiInfo -isPomGroup__Q34Game4Cave16MapUnitGeneratorFPQ34Game4Cave8TekiInfo: -/* 8024C3F8 00249338 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024C3FC 0024933C 2C 03 00 52 */ cmpwi r3, 0x52 -/* 8024C400 00249340 41 82 00 18 */ beq lbl_8024C418 -/* 8024C404 00249344 38 03 FF FD */ addi r0, r3, -3 -/* 8024C408 00249348 28 00 00 04 */ cmplwi r0, 4 -/* 8024C40C 0024934C 40 81 00 0C */ ble lbl_8024C418 -/* 8024C410 00249350 2C 03 00 08 */ cmpwi r3, 8 -/* 8024C414 00249354 40 82 00 0C */ bne lbl_8024C420 -lbl_8024C418: -/* 8024C418 00249358 38 60 00 01 */ li r3, 1 -/* 8024C41C 0024935C 4E 80 00 20 */ blr -lbl_8024C420: -/* 8024C420 00249360 38 60 00 00 */ li r3, 0 -/* 8024C424 00249364 4E 80 00 20 */ blr - -.global createGateList__Q34Game4Cave16MapUnitGeneratorFv -createGateList__Q34Game4Cave16MapUnitGeneratorFv: -/* 8024C428 00249368 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024C42C 0024936C 7C 08 02 A6 */ mflr r0 -/* 8024C430 00249370 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024C434 00249374 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024C438 00249378 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024C43C 0024937C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024C440 00249380 3B A0 00 00 */ li r29, 0 -/* 8024C444 00249384 93 81 00 10 */ stw r28, 0x10(r1) -/* 8024C448 00249388 7C 7C 1B 78 */ mr r28, r3 -/* 8024C44C 0024938C 48 00 00 60 */ b lbl_8024C4AC -lbl_8024C450: -/* 8024C450 00249390 38 60 00 04 */ li r3, 4 -/* 8024C454 00249394 4B DD 7A 51 */ bl __nw__FUl -/* 8024C458 00249398 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024C45C 0024939C 41 82 00 0C */ beq lbl_8024C468 -/* 8024C460 002493A0 38 00 00 00 */ li r0, 0 -/* 8024C464 002493A4 90 1F 00 00 */ stw r0, 0(r31) -lbl_8024C468: -/* 8024C468 002493A8 38 60 00 24 */ li r3, 0x24 -/* 8024C46C 002493AC 4B DD 7A 39 */ bl __nw__FUl -/* 8024C470 002493B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024C474 002493B4 41 82 00 18 */ beq lbl_8024C48C -/* 8024C478 002493B8 7F E4 FB 78 */ mr r4, r31 -/* 8024C47C 002493BC 7F A5 EB 78 */ mr r5, r29 -/* 8024C480 002493C0 38 C0 00 00 */ li r6, 0 -/* 8024C484 002493C4 48 00 38 A1 */ bl __ct__Q34Game4Cave8GateNodeFPQ34Game4Cave8GateUnitii -/* 8024C488 002493C8 7C 7E 1B 78 */ mr r30, r3 -lbl_8024C48C: -/* 8024C48C 002493CC 80 7C 00 08 */ lwz r3, 8(r28) -/* 8024C490 002493D0 7F A4 EB 78 */ mr r4, r29 -/* 8024C494 002493D4 4B F8 AA 5D */ bl getGateInfo__Q34Game4Cave9FloorInfoFi -/* 8024C498 002493D8 90 7F 00 00 */ stw r3, 0(r31) -/* 8024C49C 002493DC 7F C4 F3 78 */ mr r4, r30 -/* 8024C4A0 002493E0 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 8024C4A4 002493E4 48 1C 4F 65 */ bl add__5CNodeFP5CNode -/* 8024C4A8 002493E8 3B BD 00 01 */ addi r29, r29, 1 -lbl_8024C4AC: -/* 8024C4AC 002493EC 80 7C 00 08 */ lwz r3, 8(r28) -/* 8024C4B0 002493F0 4B F8 AA 15 */ bl getGateInfoNum__Q34Game4Cave9FloorInfoFv -/* 8024C4B4 002493F4 7C 1D 18 00 */ cmpw r29, r3 -/* 8024C4B8 002493F8 41 80 FF 98 */ blt lbl_8024C450 -/* 8024C4BC 002493FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024C4C0 00249400 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024C4C4 00249404 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024C4C8 00249408 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024C4CC 0024940C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8024C4D0 00249410 7C 08 03 A6 */ mtlr r0 -/* 8024C4D4 00249414 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024C4D8 00249418 4E 80 00 20 */ blr - -.global createItemList__Q34Game4Cave16MapUnitGeneratorFv -createItemList__Q34Game4Cave16MapUnitGeneratorFv: -/* 8024C4DC 0024941C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024C4E0 00249420 7C 08 02 A6 */ mflr r0 -/* 8024C4E4 00249424 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024C4E8 00249428 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024C4EC 0024942C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024C4F0 00249430 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024C4F4 00249434 3B A0 00 00 */ li r29, 0 -/* 8024C4F8 00249438 93 81 00 10 */ stw r28, 0x10(r1) -/* 8024C4FC 0024943C 7C 7C 1B 78 */ mr r28, r3 -/* 8024C500 00249440 48 00 00 60 */ b lbl_8024C560 -lbl_8024C504: -/* 8024C504 00249444 38 60 00 04 */ li r3, 4 -/* 8024C508 00249448 4B DD 79 9D */ bl __nw__FUl -/* 8024C50C 0024944C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024C510 00249450 41 82 00 0C */ beq lbl_8024C51C -/* 8024C514 00249454 38 00 00 00 */ li r0, 0 -/* 8024C518 00249458 90 1F 00 00 */ stw r0, 0(r31) -lbl_8024C51C: -/* 8024C51C 0024945C 38 60 00 34 */ li r3, 0x34 -/* 8024C520 00249460 4B DD 79 85 */ bl __nw__FUl -/* 8024C524 00249464 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024C528 00249468 41 82 00 18 */ beq lbl_8024C540 -/* 8024C52C 0024946C 7F E4 FB 78 */ mr r4, r31 -/* 8024C530 00249470 7F A6 EB 78 */ mr r6, r29 -/* 8024C534 00249474 38 A0 00 00 */ li r5, 0 -/* 8024C538 00249478 48 00 1C A5 */ bl __ct__Q34Game4Cave8ItemNodeFPQ34Game4Cave8ItemUnitPQ34Game4Cave7BaseGeni -/* 8024C53C 0024947C 7C 7E 1B 78 */ mr r30, r3 -lbl_8024C540: -/* 8024C540 00249480 80 7C 00 08 */ lwz r3, 8(r28) -/* 8024C544 00249484 7F A4 EB 78 */ mr r4, r29 -/* 8024C548 00249488 4B F8 A8 BD */ bl getItemInfo__Q34Game4Cave9FloorInfoFi -/* 8024C54C 0024948C 90 7F 00 00 */ stw r3, 0(r31) -/* 8024C550 00249490 7F C4 F3 78 */ mr r4, r30 -/* 8024C554 00249494 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8024C558 00249498 48 1C 4E B1 */ bl add__5CNodeFP5CNode -/* 8024C55C 0024949C 3B BD 00 01 */ addi r29, r29, 1 -lbl_8024C560: -/* 8024C560 002494A0 80 7C 00 08 */ lwz r3, 8(r28) -/* 8024C564 002494A4 4B F8 A8 75 */ bl getItemInfoNum__Q34Game4Cave9FloorInfoFv -/* 8024C568 002494A8 7C 1D 18 00 */ cmpw r29, r3 -/* 8024C56C 002494AC 41 80 FF 98 */ blt lbl_8024C504 -/* 8024C570 002494B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024C574 002494B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024C578 002494B8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024C57C 002494BC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024C580 002494C0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8024C584 002494C4 7C 08 03 A6 */ mtlr r0 -/* 8024C588 002494C8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024C58C 002494CC 4E 80 00 20 */ blr - -.global createCaveLevel__Q34Game4Cave16MapUnitGeneratorFv -createCaveLevel__Q34Game4Cave16MapUnitGeneratorFv: -/* 8024C590 002494D0 38 00 00 00 */ li r0, 0 -/* 8024C594 002494D4 90 03 00 04 */ stw r0, 4(r3) -/* 8024C598 002494D8 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8024C59C 002494DC 28 04 00 00 */ cmplwi r4, 0 -/* 8024C5A0 002494E0 4D 82 00 20 */ beqlr -/* 8024C5A4 002494E4 80 04 00 44 */ lwz r0, 0x44(r4) -/* 8024C5A8 002494E8 2C 00 00 00 */ cmpwi r0, 0 -/* 8024C5AC 002494EC 4C 82 00 20 */ bnelr -/* 8024C5B0 002494F0 38 00 00 04 */ li r0, 4 -/* 8024C5B4 002494F4 90 03 00 04 */ stw r0, 4(r3) -/* 8024C5B8 002494F8 4E 80 00 20 */ blr - -.global __sinit_MapUnitGenerator_cpp -__sinit_MapUnitGenerator_cpp: -/* 8024C5BC 002494FC 3C 80 80 51 */ lis r4, __float_nan@ha -/* 8024C5C0 00249500 38 00 FF FF */ li r0, -1 -/* 8024C5C4 00249504 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 8024C5C8 00249508 3C 60 80 4C */ lis r3, lbl_804C1B08@ha -/* 8024C5CC 0024950C 90 0D 96 90 */ stw r0, lbl_80515D10@sda21(r13) -/* 8024C5D0 00249510 D4 03 1B 08 */ stfsu f0, lbl_804C1B08@l(r3) -/* 8024C5D4 00249514 D0 0D 96 94 */ stfs f0, lbl_80515D14@sda21(r13) -/* 8024C5D8 00249518 D0 03 00 04 */ stfs f0, 4(r3) -/* 8024C5DC 0024951C D0 03 00 08 */ stfs f0, 8(r3) -/* 8024C5E0 00249520 4E 80 00 20 */ blr - -.global nishimuraCreateRandomMap__Q24Game10RoomMapMgrFPQ24Game16MapUnitInterfaceiPQ34Game4Cave9FloorInfobPQ34Game4Cave11EditMapUnit -nishimuraCreateRandomMap__Q24Game10RoomMapMgrFPQ24Game16MapUnitInterfaceiPQ34Game4Cave9FloorInfobPQ34Game4Cave11EditMapUnit: -/* 8024C5E4 00249524 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024C5E8 00249528 7C 08 02 A6 */ mflr r0 -/* 8024C5EC 0024952C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024C5F0 00249530 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8024C5F4 00249534 7C 7F 1B 78 */ mr r31, r3 -/* 8024C5F8 00249538 7C 99 23 78 */ mr r25, r4 -/* 8024C5FC 0024953C 7C BA 2B 78 */ mr r26, r5 -/* 8024C600 00249540 7C DB 33 78 */ mr r27, r6 -/* 8024C604 00249544 7C FC 3B 78 */ mr r28, r7 -/* 8024C608 00249548 7D 1D 43 78 */ mr r29, r8 -/* 8024C60C 0024954C 3B C0 00 00 */ li r30, 0 -/* 8024C610 00249550 81 2D 93 E8 */ lwz r9, gameSystem__4Game@sda21(r13) -/* 8024C614 00249554 28 09 00 00 */ cmplwi r9, 0 -/* 8024C618 00249558 41 82 00 28 */ beq lbl_8024C640 -/* 8024C61C 0024955C 80 09 00 44 */ lwz r0, 0x44(r9) -/* 8024C620 00249560 2C 00 00 01 */ cmpwi r0, 1 -/* 8024C624 00249564 40 82 00 1C */ bne lbl_8024C640 -/* 8024C628 00249568 3C 60 80 51 */ lis r3, gGameConfig__4Game@ha -/* 8024C62C 0024956C 38 63 41 FC */ addi r3, r3, gGameConfig__4Game@l -/* 8024C630 00249570 80 03 01 A8 */ lwz r0, 0x1a8(r3) -/* 8024C634 00249574 2C 00 00 00 */ cmpwi r0, 0 -/* 8024C638 00249578 41 82 00 08 */ beq lbl_8024C640 -/* 8024C63C 0024957C 3B C0 00 01 */ li r30, 1 -lbl_8024C640: -/* 8024C640 00249580 38 60 00 48 */ li r3, 0x48 -/* 8024C644 00249584 4B DD 78 61 */ bl __nw__FUl -/* 8024C648 00249588 7C 60 1B 79 */ or. r0, r3, r3 -/* 8024C64C 0024958C 41 82 00 10 */ beq lbl_8024C65C -/* 8024C650 00249590 7F C4 F3 78 */ mr r4, r30 -/* 8024C654 00249594 4B FF 7E D5 */ bl __ct__Q34Game4Cave10RandMapMgrFb -/* 8024C658 00249598 7C 60 1B 78 */ mr r0, r3 -lbl_8024C65C: -/* 8024C65C 0024959C 90 0D 96 88 */ stw r0, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C660 002495A0 7C 03 03 78 */ mr r3, r0 -/* 8024C664 002495A4 7F 24 CB 78 */ mr r4, r25 -/* 8024C668 002495A8 7F 45 D3 78 */ mr r5, r26 -/* 8024C66C 002495AC 7F 66 DB 78 */ mr r6, r27 -/* 8024C670 002495B0 7F 87 E3 78 */ mr r7, r28 -/* 8024C674 002495B4 7F A8 EB 78 */ mr r8, r29 -/* 8024C678 002495B8 4B FF 7F 39 */ bl loadResource__Q34Game4Cave10RandMapMgrFPQ24Game16MapUnitInterfaceiPQ34Game4Cave9FloorInfobPQ34Game4Cave11EditMapUnit -/* 8024C67C 002495BC 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C680 002495C0 4B FF 80 D5 */ bl create__Q34Game4Cave10RandMapMgrFv -/* 8024C684 002495C4 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C688 002495C8 4B FF 81 D1 */ bl getNumRooms__Q34Game4Cave10RandMapMgrFv -/* 8024C68C 002495CC 7C 7E 1B 78 */ mr r30, r3 -/* 8024C690 002495D0 3B A0 00 00 */ li r29, 0 -/* 8024C694 002495D4 48 00 00 24 */ b lbl_8024C6B8 -lbl_8024C698: -/* 8024C698 002495D8 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C69C 002495DC 7F A4 EB 78 */ mr r4, r29 -/* 8024C6A0 002495E0 4B FF 81 ED */ bl getUseUnitName__Q34Game4Cave10RandMapMgrFi -/* 8024C6A4 002495E4 7C 60 1B 78 */ mr r0, r3 -/* 8024C6A8 002495E8 7F E3 FB 78 */ mr r3, r31 -/* 8024C6AC 002495EC 7C 04 03 78 */ mr r4, r0 -/* 8024C6B0 002495F0 4B F6 C9 D1 */ bl useUnit__Q24Game10RoomMapMgrFPc -/* 8024C6B4 002495F4 3B BD 00 01 */ addi r29, r29, 1 -lbl_8024C6B8: -/* 8024C6B8 002495F8 7C 1D F0 00 */ cmpw r29, r30 -/* 8024C6BC 002495FC 41 80 FF DC */ blt lbl_8024C698 -/* 8024C6C0 00249600 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8024C6C4 00249604 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024C6C8 00249608 7C 08 03 A6 */ mtlr r0 -/* 8024C6CC 0024960C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024C6D0 00249610 4E 80 00 20 */ blr - -.global nishimuraPlaceRooms__Q24Game10RoomMapMgrFv -nishimuraPlaceRooms__Q24Game10RoomMapMgrFv: -/* 8024C6D4 00249614 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8024C6D8 00249618 7C 08 02 A6 */ mflr r0 -/* 8024C6DC 0024961C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8024C6E0 00249620 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8024C6E4 00249624 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8024C6E8 00249628 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8024C6EC 0024962C 7C 7B 1B 78 */ mr r27, r3 -/* 8024C6F0 00249630 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C6F4 00249634 4B FF 81 65 */ bl getNumRooms__Q34Game4Cave10RandMapMgrFv -/* 8024C6F8 00249638 7C 60 1B 78 */ mr r0, r3 -/* 8024C6FC 0024963C 7F 63 DB 78 */ mr r3, r27 -/* 8024C700 00249640 7C 1F 03 78 */ mr r31, r0 -/* 8024C704 00249644 7F E4 FB 78 */ mr r4, r31 -/* 8024C708 00249648 4B F6 CE 45 */ bl allocRooms__Q24Game10RoomMapMgrFi -/* 8024C70C 0024964C 3B C0 00 00 */ li r30, 0 -/* 8024C710 00249650 48 00 00 6C */ b lbl_8024C77C -lbl_8024C714: -/* 8024C714 00249654 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C718 00249658 7F C4 F3 78 */ mr r4, r30 -/* 8024C71C 0024965C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8024C720 00249660 38 C1 00 0C */ addi r6, r1, 0xc -/* 8024C724 00249664 38 E1 00 08 */ addi r7, r1, 8 -/* 8024C728 00249668 4B FF 81 A1 */ bl getRoomData__Q34Game4Cave10RandMapMgrFiRfRfRi -/* 8024C72C 0024966C 7C 60 1B 78 */ mr r0, r3 -/* 8024C730 00249670 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C734 00249674 7C 1D 03 78 */ mr r29, r0 -/* 8024C738 00249678 7F C4 F3 78 */ mr r4, r30 -/* 8024C73C 0024967C 4B FF 82 11 */ bl makeRoomLink__Q34Game4Cave10RandMapMgrFi -/* 8024C740 00249680 7C 60 1B 78 */ mr r0, r3 -/* 8024C744 00249684 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C748 00249688 7C 1C 03 78 */ mr r28, r0 -/* 8024C74C 0024968C 7F C4 F3 78 */ mr r4, r30 -/* 8024C750 00249690 4B FF 82 E1 */ bl makeObjectLayoutInfo__Q34Game4Cave10RandMapMgrFi -/* 8024C754 00249694 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8024C758 00249698 7C 68 1B 78 */ mr r8, r3 -/* 8024C75C 0024969C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8024C760 002496A0 7F 63 DB 78 */ mr r3, r27 -/* 8024C764 002496A4 80 A1 00 08 */ lwz r5, 8(r1) -/* 8024C768 002496A8 7F A4 EB 78 */ mr r4, r29 -/* 8024C76C 002496AC 7F C6 F3 78 */ mr r6, r30 -/* 8024C770 002496B0 7F 87 E3 78 */ mr r7, r28 -/* 8024C774 002496B4 4B F6 CF CD */ bl makeRoom__Q24Game10RoomMapMgrFPcffiiPQ24Game8RoomLinkPQ24Game16ObjectLayoutInfo -/* 8024C778 002496B8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8024C77C: -/* 8024C77C 002496BC 7C 1E F8 00 */ cmpw r30, r31 -/* 8024C780 002496C0 41 80 FF 94 */ blt lbl_8024C714 -/* 8024C784 002496C4 C3 E2 C4 90 */ lfs f31, lbl_8051A7F0@sda21(r2) -/* 8024C788 002496C8 7F 7F DB 78 */ mr r31, r27 -/* 8024C78C 002496CC 3B 80 00 00 */ li r28, 0 -lbl_8024C790: -/* 8024C790 002496D0 D3 E1 00 14 */ stfs f31, 0x14(r1) -/* 8024C794 002496D4 7F 85 E3 78 */ mr r5, r28 -/* 8024C798 002496D8 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C79C 002496DC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8024C7A0 002496E0 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 8024C7A4 002496E4 D3 E1 00 1C */ stfs f31, 0x1c(r1) -/* 8024C7A8 002496E8 4B FF 83 0D */ bl getStartPosition__Q34Game4Cave10RandMapMgrFR10Vector3$$0f$$1i -/* 8024C7AC 002496EC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8024C7B0 002496F0 3B 9C 00 01 */ addi r28, r28, 1 -/* 8024C7B4 002496F4 2C 1C 00 02 */ cmpwi r28, 2 -/* 8024C7B8 002496F8 D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 8024C7BC 002496FC C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8024C7C0 00249700 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 8024C7C4 00249704 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8024C7C8 00249708 D0 1F 01 04 */ stfs f0, 0x104(r31) -/* 8024C7CC 0024970C 3B FF 00 0C */ addi r31, r31, 0xc -/* 8024C7D0 00249710 41 80 FF C0 */ blt lbl_8024C790 -/* 8024C7D4 00249714 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8024C7D8 00249718 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8024C7DC 0024971C BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8024C7E0 00249720 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8024C7E4 00249724 7C 08 03 A6 */ mtlr r0 -/* 8024C7E8 00249728 38 21 00 50 */ addi r1, r1, 0x50 -/* 8024C7EC 0024972C 4E 80 00 20 */ blr - -.global nishimuraSetTexture__Q24Game10RoomMapMgrFv -nishimuraSetTexture__Q24Game10RoomMapMgrFv: -/* 8024C7F0 00249730 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024C7F4 00249734 7C 08 02 A6 */ mflr r0 -/* 8024C7F8 00249738 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024C7FC 0024973C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024C800 00249740 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024C804 00249744 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024C808 00249748 7C 7D 1B 78 */ mr r29, r3 -/* 8024C80C 0024974C 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C810 00249750 4B FF 80 49 */ bl getNumRooms__Q34Game4Cave10RandMapMgrFv -/* 8024C814 00249754 7C 7F 1B 78 */ mr r31, r3 -/* 8024C818 00249758 3B C0 00 00 */ li r30, 0 -/* 8024C81C 0024975C 48 00 00 38 */ b lbl_8024C854 -lbl_8024C820: -/* 8024C820 00249760 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C824 00249764 7F C4 F3 78 */ mr r4, r30 -/* 8024C828 00249768 4B FF 80 65 */ bl getUseUnitName__Q34Game4Cave10RandMapMgrFi -/* 8024C82C 0024976C 7C 60 1B 78 */ mr r0, r3 -/* 8024C830 00249770 7F A3 EB 78 */ mr r3, r29 -/* 8024C834 00249774 7C 04 03 78 */ mr r4, r0 -/* 8024C838 00249778 4B F6 CB 05 */ bl getTexture__Q24Game10RoomMapMgrFPc -/* 8024C83C 0024977C 7C 60 1B 78 */ mr r0, r3 -/* 8024C840 00249780 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8024C844 00249784 7C 05 03 78 */ mr r5, r0 -/* 8024C848 00249788 7F C4 F3 78 */ mr r4, r30 -/* 8024C84C 0024978C 4B FF 85 19 */ bl setUnitTexture__Q34Game4Cave10RandMapMgrFiP10JUTTexture -/* 8024C850 00249790 3B DE 00 01 */ addi r30, r30, 1 -lbl_8024C854: -/* 8024C854 00249794 7C 1E F8 00 */ cmpw r30, r31 -/* 8024C858 00249798 41 80 FF C8 */ blt lbl_8024C820 -/* 8024C85C 0024979C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024C860 002497A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024C864 002497A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024C868 002497A8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024C86C 002497AC 7C 08 03 A6 */ mtlr r0 -/* 8024C870 002497B0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024C874 002497B4 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave12RandMapScoreFPQ34Game4Cave16MapUnitGenerator -__ct__Q34Game4Cave12RandMapScoreFPQ34Game4Cave16MapUnitGenerator: -/* 8024C878 002497B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024C87C 002497BC 7C 08 02 A6 */ mflr r0 -/* 8024C880 002497C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024C884 002497C4 38 00 00 00 */ li r0, 0 -/* 8024C888 002497C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024C88C 002497CC 7C 7F 1B 78 */ mr r31, r3 -/* 8024C890 002497D0 90 83 00 00 */ stw r4, 0(r3) -/* 8024C894 002497D4 38 60 00 14 */ li r3, 0x14 -/* 8024C898 002497D8 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8024C89C 002497DC 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8024C8A0 002497E0 4B DD 77 0D */ bl __nwa__FUl -/* 8024C8A4 002497E4 90 7F 00 04 */ stw r3, 4(r31) -/* 8024C8A8 002497E8 38 60 00 14 */ li r3, 0x14 -/* 8024C8AC 002497EC 4B DD 77 01 */ bl __nwa__FUl -/* 8024C8B0 002497F0 90 7F 00 08 */ stw r3, 8(r31) -/* 8024C8B4 002497F4 38 00 00 00 */ li r0, 0 -/* 8024C8B8 002497F8 7F E3 FB 78 */ mr r3, r31 -/* 8024C8BC 002497FC 80 9F 00 04 */ lwz r4, 4(r31) -/* 8024C8C0 00249800 90 04 00 00 */ stw r0, 0(r4) -/* 8024C8C4 00249804 80 9F 00 08 */ lwz r4, 8(r31) -/* 8024C8C8 00249808 90 04 00 00 */ stw r0, 0(r4) -/* 8024C8CC 0024980C 80 9F 00 04 */ lwz r4, 4(r31) -/* 8024C8D0 00249810 90 04 00 04 */ stw r0, 4(r4) -/* 8024C8D4 00249814 80 9F 00 08 */ lwz r4, 8(r31) -/* 8024C8D8 00249818 90 04 00 04 */ stw r0, 4(r4) -/* 8024C8DC 0024981C 80 9F 00 04 */ lwz r4, 4(r31) -/* 8024C8E0 00249820 90 04 00 08 */ stw r0, 8(r4) -/* 8024C8E4 00249824 80 9F 00 08 */ lwz r4, 8(r31) -/* 8024C8E8 00249828 90 04 00 08 */ stw r0, 8(r4) -/* 8024C8EC 0024982C 80 9F 00 04 */ lwz r4, 4(r31) -/* 8024C8F0 00249830 90 04 00 0C */ stw r0, 0xc(r4) -/* 8024C8F4 00249834 80 9F 00 08 */ lwz r4, 8(r31) -/* 8024C8F8 00249838 90 04 00 0C */ stw r0, 0xc(r4) -/* 8024C8FC 0024983C 80 9F 00 04 */ lwz r4, 4(r31) -/* 8024C900 00249840 90 04 00 10 */ stw r0, 0x10(r4) -/* 8024C904 00249844 80 9F 00 08 */ lwz r4, 8(r31) -/* 8024C908 00249848 90 04 00 10 */ stw r0, 0x10(r4) -/* 8024C90C 0024984C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024C910 00249850 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024C914 00249854 7C 08 03 A6 */ mtlr r0 -/* 8024C918 00249858 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024C91C 0024985C 4E 80 00 20 */ blr - -.global setMapUnitScore__Q34Game4Cave12RandMapScoreFv -setMapUnitScore__Q34Game4Cave12RandMapScoreFv: -/* 8024C920 00249860 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024C924 00249864 7C 08 02 A6 */ mflr r0 -/* 8024C928 00249868 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024C92C 0024986C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024C930 00249870 93 C1 00 08 */ stw r30, 8(r1) -/* 8024C934 00249874 7C 7E 1B 78 */ mr r30, r3 -/* 8024C938 00249878 48 00 03 89 */ bl clearRoomAndDoorScore__Q34Game4Cave12RandMapScoreFv -/* 8024C93C 0024987C 7F C3 F3 78 */ mr r3, r30 -/* 8024C940 00249880 48 00 02 FD */ bl isScoreSetDone__Q34Game4Cave12RandMapScoreFv -/* 8024C944 00249884 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024C948 00249888 40 82 00 2C */ bne lbl_8024C974 -/* 8024C94C 0024988C 3B E0 00 00 */ li r31, 0 -lbl_8024C950: -/* 8024C950 00249890 7F C3 F3 78 */ mr r3, r30 -/* 8024C954 00249894 48 00 04 31 */ bl setUnitAndDoorScore__Q34Game4Cave12RandMapScoreFv -/* 8024C958 00249898 7F C3 F3 78 */ mr r3, r30 -/* 8024C95C 0024989C 48 00 02 E1 */ bl isScoreSetDone__Q34Game4Cave12RandMapScoreFv -/* 8024C960 002498A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024C964 002498A4 40 82 00 10 */ bne lbl_8024C974 -/* 8024C968 002498A8 3B FF 00 01 */ addi r31, r31, 1 -/* 8024C96C 002498AC 2C 1F 01 F4 */ cmpwi r31, 0x1f4 -/* 8024C970 002498B0 41 80 FF E0 */ blt lbl_8024C950 -lbl_8024C974: -/* 8024C974 002498B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024C978 002498B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024C97C 002498BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024C980 002498C0 7C 08 03 A6 */ mtlr r0 -/* 8024C984 002498C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024C988 002498C8 4E 80 00 20 */ blr - -.global setStartSlot__Q34Game4Cave12RandMapScoreFv -setStartSlot__Q34Game4Cave12RandMapScoreFv: -/* 8024C98C 002498CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024C990 002498D0 7C 08 02 A6 */ mflr r0 -/* 8024C994 002498D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024C998 002498D8 80 83 00 00 */ lwz r4, 0(r3) -/* 8024C99C 002498DC 88 04 00 02 */ lbz r0, 2(r4) -/* 8024C9A0 002498E0 28 00 00 00 */ cmplwi r0, 0 -/* 8024C9A4 002498E4 41 82 00 0C */ beq lbl_8024C9B0 -/* 8024C9A8 002498E8 48 00 07 1D */ bl setVersusOnyon__Q34Game4Cave12RandMapScoreFv -/* 8024C9AC 002498EC 48 00 00 08 */ b lbl_8024C9B4 -lbl_8024C9B0: -/* 8024C9B0 002498F0 48 00 05 D9 */ bl setChallengePod__Q34Game4Cave12RandMapScoreFv -lbl_8024C9B4: -/* 8024C9B4 002498F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024C9B8 002498F8 7C 08 03 A6 */ mtlr r0 -/* 8024C9BC 002498FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024C9C0 00249900 4E 80 00 20 */ blr - -.global setGoalSlot__Q34Game4Cave12RandMapScoreFv -setGoalSlot__Q34Game4Cave12RandMapScoreFv: -/* 8024C9C4 00249904 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024C9C8 00249908 7C 08 02 A6 */ mflr r0 -/* 8024C9CC 0024990C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024C9D0 00249910 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024C9D4 00249914 7C 7F 1B 78 */ mr r31, r3 -/* 8024C9D8 00249918 80 83 00 00 */ lwz r4, 0(r3) -/* 8024C9DC 0024991C 88 04 00 02 */ lbz r0, 2(r4) -/* 8024C9E0 00249920 28 00 00 00 */ cmplwi r0, 0 -/* 8024C9E4 00249924 40 82 00 24 */ bne lbl_8024CA08 -/* 8024C9E8 00249928 48 00 15 59 */ bl isGoalSetHard__Q34Game4Cave12RandMapScoreFv -/* 8024C9EC 0024992C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024C9F0 00249930 41 82 00 10 */ beq lbl_8024CA00 -/* 8024C9F4 00249934 7F E3 FB 78 */ mr r3, r31 -/* 8024C9F8 00249938 48 00 12 25 */ bl setChallengeFixObjHard__Q34Game4Cave12RandMapScoreFv -/* 8024C9FC 0024993C 48 00 00 0C */ b lbl_8024CA08 -lbl_8024CA00: -/* 8024CA00 00249940 7F E3 FB 78 */ mr r3, r31 -/* 8024CA04 00249944 48 00 0E 5D */ bl setChallengeFixObjNormal__Q34Game4Cave12RandMapScoreFv -lbl_8024CA08: -/* 8024CA08 00249948 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024CA0C 0024994C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024CA10 00249950 7C 08 03 A6 */ mtlr r0 -/* 8024CA14 00249954 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024CA18 00249958 4E 80 00 20 */ blr - -.global makeObjectLayout__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave12ObjectLayout -makeObjectLayout__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave12ObjectLayout: -/* 8024CA1C 0024995C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8024CA20 00249960 7C 08 02 A6 */ mflr r0 -/* 8024CA24 00249964 90 01 00 84 */ stw r0, 0x84(r1) -/* 8024CA28 00249968 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8024CA2C 0024996C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8024CA30 00249970 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8024CA34 00249974 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8024CA38 00249978 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8024CA3C 0024997C F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 8024CA40 00249980 BF 01 00 30 */ stmw r24, 0x30(r1) -/* 8024CA44 00249984 7C 79 1B 78 */ mr r25, r3 -/* 8024CA48 00249988 7C 9A 23 78 */ mr r26, r4 -/* 8024CA4C 0024998C 7C BB 2B 78 */ mr r27, r5 -/* 8024CA50 00249990 3B A1 00 14 */ addi r29, r1, 0x14 -/* 8024CA54 00249994 3B 80 00 00 */ li r28, 0 -/* 8024CA58 00249998 3B C0 00 00 */ li r30, 0 -lbl_8024CA5C: -/* 8024CA5C 0024999C 80 79 00 04 */ lwz r3, 4(r25) -/* 8024CA60 002499A0 7C 03 F0 2E */ lwzx r0, r3, r30 -/* 8024CA64 002499A4 7C 1A 00 40 */ cmplw r26, r0 -/* 8024CA68 002499A8 40 82 01 00 */ bne lbl_8024CB68 -/* 8024CA6C 002499AC 3C 80 80 48 */ lis r4, lbl_804840F8@ha -/* 8024CA70 002499B0 38 60 00 2C */ li r3, 0x2c -/* 8024CA74 002499B4 39 04 40 F8 */ addi r8, r4, lbl_804840F8@l -/* 8024CA78 002499B8 80 E8 00 00 */ lwz r7, 0(r8) -/* 8024CA7C 002499BC 80 C8 00 04 */ lwz r6, 4(r8) -/* 8024CA80 002499C0 80 A8 00 08 */ lwz r5, 8(r8) -/* 8024CA84 002499C4 80 88 00 0C */ lwz r4, 0xc(r8) -/* 8024CA88 002499C8 80 08 00 10 */ lwz r0, 0x10(r8) -/* 8024CA8C 002499CC 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8024CA90 002499D0 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8024CA94 002499D4 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8024CA98 002499D8 90 81 00 20 */ stw r4, 0x20(r1) -/* 8024CA9C 002499DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024CAA0 002499E0 4B DD 74 05 */ bl __nw__FUl -/* 8024CAA4 002499E4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024CAA8 002499E8 41 82 00 28 */ beq lbl_8024CAD0 -/* 8024CAAC 002499EC 48 1C 48 E5 */ bl __ct__5CNodeFv -/* 8024CAB0 002499F0 3C 80 80 4C */ lis r4, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024CAB4 002499F4 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave10FixObjNode@ha -/* 8024CAB8 002499F8 38 84 1A A8 */ addi r4, r4, __vt__Q24Game16ObjectLayoutNode@l -/* 8024CABC 002499FC 80 1D 00 00 */ lwz r0, 0(r29) -/* 8024CAC0 00249A00 90 9F 00 00 */ stw r4, 0(r31) -/* 8024CAC4 00249A04 38 63 1B 18 */ addi r3, r3, __vt__Q34Game4Cave10FixObjNode@l -/* 8024CAC8 00249A08 90 7F 00 00 */ stw r3, 0(r31) -/* 8024CACC 00249A0C 90 1F 00 18 */ stw r0, 0x18(r31) -lbl_8024CAD0: -/* 8024CAD0 00249A10 38 60 00 2C */ li r3, 0x2c -/* 8024CAD4 00249A14 4B DD 73 D1 */ bl __nw__FUl -/* 8024CAD8 00249A18 7C 78 1B 79 */ or. r24, r3, r3 -/* 8024CADC 00249A1C 41 82 00 28 */ beq lbl_8024CB04 -/* 8024CAE0 00249A20 48 1C 48 B1 */ bl __ct__5CNodeFv -/* 8024CAE4 00249A24 3C 80 80 4C */ lis r4, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024CAE8 00249A28 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave10FixObjNode@ha -/* 8024CAEC 00249A2C 38 84 1A A8 */ addi r4, r4, __vt__Q24Game16ObjectLayoutNode@l -/* 8024CAF0 00249A30 80 1D 00 00 */ lwz r0, 0(r29) -/* 8024CAF4 00249A34 90 98 00 00 */ stw r4, 0(r24) -/* 8024CAF8 00249A38 38 63 1B 18 */ addi r3, r3, __vt__Q34Game4Cave10FixObjNode@l -/* 8024CAFC 00249A3C 90 78 00 00 */ stw r3, 0(r24) -/* 8024CB00 00249A40 90 18 00 18 */ stw r0, 0x18(r24) -lbl_8024CB04: -/* 8024CB04 00249A44 80 99 00 04 */ lwz r4, 4(r25) -/* 8024CB08 00249A48 38 61 00 08 */ addi r3, r1, 8 -/* 8024CB0C 00249A4C 80 B9 00 08 */ lwz r5, 8(r25) -/* 8024CB10 00249A50 7C 84 F0 2E */ lwzx r4, r4, r30 -/* 8024CB14 00249A54 7C A5 F0 2E */ lwzx r5, r5, r30 -/* 8024CB18 00249A58 4B FF 6F C5 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024CB1C 00249A5C 80 79 00 04 */ lwz r3, 4(r25) -/* 8024CB20 00249A60 80 99 00 08 */ lwz r4, 8(r25) -/* 8024CB24 00249A64 C3 E1 00 08 */ lfs f31, 8(r1) -/* 8024CB28 00249A68 C3 C1 00 0C */ lfs f30, 0xc(r1) -/* 8024CB2C 00249A6C C3 A1 00 10 */ lfs f29, 0x10(r1) -/* 8024CB30 00249A70 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 8024CB34 00249A74 7C 84 F0 2E */ lwzx r4, r4, r30 -/* 8024CB38 00249A78 4B FF 73 C5 */ bl getBaseGenGlobalDirection__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024CB3C 00249A7C D3 F8 00 20 */ stfs f31, 0x20(r24) -/* 8024CB40 00249A80 7F E3 FB 78 */ mr r3, r31 -/* 8024CB44 00249A84 7F 04 C3 78 */ mr r4, r24 -/* 8024CB48 00249A88 D3 D8 00 24 */ stfs f30, 0x24(r24) -/* 8024CB4C 00249A8C D3 B8 00 28 */ stfs f29, 0x28(r24) -/* 8024CB50 00249A90 D0 38 00 1C */ stfs f1, 0x1c(r24) -/* 8024CB54 00249A94 48 1C 48 B5 */ bl add__5CNodeFP5CNode -/* 8024CB58 00249A98 80 9D 00 00 */ lwz r4, 0(r29) -/* 8024CB5C 00249A9C 7F 63 DB 78 */ mr r3, r27 -/* 8024CB60 00249AA0 7F E5 FB 78 */ mr r5, r31 -/* 8024CB64 00249AA4 48 00 3D 8D */ bl setNode__Q34Game4Cave12ObjectLayoutFiPQ24Game16ObjectLayoutNode -lbl_8024CB68: -/* 8024CB68 00249AA8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8024CB6C 00249AAC 3B BD 00 04 */ addi r29, r29, 4 -/* 8024CB70 00249AB0 2C 1C 00 05 */ cmpwi r28, 5 -/* 8024CB74 00249AB4 3B DE 00 04 */ addi r30, r30, 4 -/* 8024CB78 00249AB8 41 80 FE E4 */ blt lbl_8024CA5C -/* 8024CB7C 00249ABC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8024CB80 00249AC0 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8024CB84 00249AC4 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8024CB88 00249AC8 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8024CB8C 00249ACC E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8024CB90 00249AD0 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8024CB94 00249AD4 BB 01 00 30 */ lmw r24, 0x30(r1) -/* 8024CB98 00249AD8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8024CB9C 00249ADC 7C 08 03 A6 */ mtlr r0 -/* 8024CBA0 00249AE0 38 21 00 80 */ addi r1, r1, 0x80 -/* 8024CBA4 00249AE4 4E 80 00 20 */ blr - -.global getFixObjNode__Q34Game4Cave12RandMapScoreFi -getFixObjNode__Q34Game4Cave12RandMapScoreFi: -/* 8024CBA8 00249AE8 80 63 00 04 */ lwz r3, 4(r3) -/* 8024CBAC 00249AEC 54 80 10 3A */ slwi r0, r4, 2 -/* 8024CBB0 00249AF0 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8024CBB4 00249AF4 4E 80 00 20 */ blr - -.global getFixObjGen__Q34Game4Cave12RandMapScoreFi -getFixObjGen__Q34Game4Cave12RandMapScoreFi: -/* 8024CBB8 00249AF8 80 63 00 08 */ lwz r3, 8(r3) -/* 8024CBBC 00249AFC 54 80 10 3A */ slwi r0, r4, 2 -/* 8024CBC0 00249B00 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8024CBC4 00249B04 4E 80 00 20 */ blr - -.global getGlobalPosition__Q34Game4Cave12RandMapScoreFiR10Vector3$$0f$$1 -getGlobalPosition__Q34Game4Cave12RandMapScoreFiR10Vector3$$0f$$1: -/* 8024CBC8 00249B08 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024CBCC 00249B0C 7C 08 02 A6 */ mflr r0 -/* 8024CBD0 00249B10 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024CBD4 00249B14 54 80 10 3A */ slwi r0, r4, 2 -/* 8024CBD8 00249B18 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024CBDC 00249B1C 7C BF 2B 78 */ mr r31, r5 -/* 8024CBE0 00249B20 80 83 00 04 */ lwz r4, 4(r3) -/* 8024CBE4 00249B24 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8024CBE8 00249B28 28 04 00 00 */ cmplwi r4, 0 -/* 8024CBEC 00249B2C 41 82 00 2C */ beq lbl_8024CC18 -/* 8024CBF0 00249B30 80 A3 00 08 */ lwz r5, 8(r3) -/* 8024CBF4 00249B34 38 61 00 08 */ addi r3, r1, 8 -/* 8024CBF8 00249B38 7C A5 00 2E */ lwzx r5, r5, r0 -/* 8024CBFC 00249B3C 4B FF 6E E1 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024CC00 00249B40 C0 01 00 08 */ lfs f0, 8(r1) -/* 8024CC04 00249B44 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8024CC08 00249B48 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8024CC0C 00249B4C D0 1F 00 04 */ stfs f0, 4(r31) -/* 8024CC10 00249B50 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8024CC14 00249B54 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8024CC18: -/* 8024CC18 00249B58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024CC1C 00249B5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024CC20 00249B60 7C 08 03 A6 */ mtlr r0 -/* 8024CC24 00249B64 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024CC28 00249B68 4E 80 00 20 */ blr - -.global getVersusHighScore__Q34Game4Cave12RandMapScoreFv -getVersusHighScore__Q34Game4Cave12RandMapScoreFv: -/* 8024CC2C 00249B6C 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8024CC30 00249B70 4E 80 00 20 */ blr - -.global getVersusLowScore__Q34Game4Cave12RandMapScoreFv -getVersusLowScore__Q34Game4Cave12RandMapScoreFv: -/* 8024CC34 00249B74 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8024CC38 00249B78 4E 80 00 20 */ blr - -.global isScoreSetDone__Q34Game4Cave12RandMapScoreFv -isScoreSetDone__Q34Game4Cave12RandMapScoreFv: -/* 8024CC3C 00249B7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024CC40 00249B80 7C 08 02 A6 */ mflr r0 -/* 8024CC44 00249B84 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024CC48 00249B88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024CC4C 00249B8C 93 C1 00 08 */ stw r30, 8(r1) -/* 8024CC50 00249B90 80 63 00 00 */ lwz r3, 0(r3) -/* 8024CC54 00249B94 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024CC58 00249B98 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8024CC5C 00249B9C 48 00 00 40 */ b lbl_8024CC9C -lbl_8024CC60: -/* 8024CC60 00249BA0 3B C0 00 00 */ li r30, 0 -/* 8024CC64 00249BA4 48 00 00 24 */ b lbl_8024CC88 -lbl_8024CC68: -/* 8024CC68 00249BA8 7F E3 FB 78 */ mr r3, r31 -/* 8024CC6C 00249BAC 7F C4 F3 78 */ mr r4, r30 -/* 8024CC70 00249BB0 4B FF 67 F9 */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024CC74 00249BB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024CC78 00249BB8 40 82 00 0C */ bne lbl_8024CC84 -/* 8024CC7C 00249BBC 38 60 00 00 */ li r3, 0 -/* 8024CC80 00249BC0 48 00 00 28 */ b lbl_8024CCA8 -lbl_8024CC84: -/* 8024CC84 00249BC4 3B DE 00 01 */ addi r30, r30, 1 -lbl_8024CC88: -/* 8024CC88 00249BC8 7F E3 FB 78 */ mr r3, r31 -/* 8024CC8C 00249BCC 4B FF 73 D5 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024CC90 00249BD0 7C 1E 18 00 */ cmpw r30, r3 -/* 8024CC94 00249BD4 41 80 FF D4 */ blt lbl_8024CC68 -/* 8024CC98 00249BD8 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8024CC9C: -/* 8024CC9C 00249BDC 28 1F 00 00 */ cmplwi r31, 0 -/* 8024CCA0 00249BE0 40 82 FF C0 */ bne lbl_8024CC60 -/* 8024CCA4 00249BE4 38 60 00 01 */ li r3, 1 -lbl_8024CCA8: -/* 8024CCA8 00249BE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024CCAC 00249BEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024CCB0 00249BF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024CCB4 00249BF4 7C 08 03 A6 */ mtlr r0 -/* 8024CCB8 00249BF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024CCBC 00249BFC 4E 80 00 20 */ blr - -.global clearRoomAndDoorScore__Q34Game4Cave12RandMapScoreFv -clearRoomAndDoorScore__Q34Game4Cave12RandMapScoreFv: -/* 8024CCC0 00249C00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024CCC4 00249C04 7C 08 02 A6 */ mflr r0 -/* 8024CCC8 00249C08 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024CCCC 00249C0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024CCD0 00249C10 93 C1 00 08 */ stw r30, 8(r1) -/* 8024CCD4 00249C14 7C 7E 1B 78 */ mr r30, r3 -/* 8024CCD8 00249C18 80 63 00 00 */ lwz r3, 0(r3) -/* 8024CCDC 00249C1C 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024CCE0 00249C20 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8024CCE4 00249C24 48 00 00 24 */ b lbl_8024CD08 -lbl_8024CCE8: -/* 8024CCE8 00249C28 7F E3 FB 78 */ mr r3, r31 -/* 8024CCEC 00249C2C 4B FF 6A CD */ bl setEnemyScore__Q34Game4Cave7MapNodeFv -/* 8024CCF0 00249C30 7F E3 FB 78 */ mr r3, r31 -/* 8024CCF4 00249C34 38 80 FF FF */ li r4, -1 -/* 8024CCF8 00249C38 4B FF 6B 6D */ bl setNodeScore__Q34Game4Cave7MapNodeFi -/* 8024CCFC 00249C3C 7F E3 FB 78 */ mr r3, r31 -/* 8024CD00 00249C40 4B FF 66 35 */ bl resetDoorScore__Q34Game4Cave7MapNodeFv -/* 8024CD04 00249C44 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8024CD08: -/* 8024CD08 00249C48 28 1F 00 00 */ cmplwi r31, 0 -/* 8024CD0C 00249C4C 40 82 FF DC */ bne lbl_8024CCE8 -/* 8024CD10 00249C50 80 7E 00 00 */ lwz r3, 0(r30) -/* 8024CD14 00249C54 88 03 00 02 */ lbz r0, 2(r3) -/* 8024CD18 00249C58 28 00 00 00 */ cmplwi r0, 0 -/* 8024CD1C 00249C5C 41 82 00 38 */ beq lbl_8024CD54 -/* 8024CD20 00249C60 80 7E 00 04 */ lwz r3, 4(r30) -/* 8024CD24 00249C64 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8024CD28 00249C68 28 04 00 00 */ cmplwi r4, 0 -/* 8024CD2C 00249C6C 41 82 00 0C */ beq lbl_8024CD38 -/* 8024CD30 00249C70 7F C3 F3 78 */ mr r3, r30 -/* 8024CD34 00249C74 48 00 01 A5 */ bl setStartMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode -lbl_8024CD38: -/* 8024CD38 00249C78 80 7E 00 04 */ lwz r3, 4(r30) -/* 8024CD3C 00249C7C 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024CD40 00249C80 28 04 00 00 */ cmplwi r4, 0 -/* 8024CD44 00249C84 41 82 00 28 */ beq lbl_8024CD6C -/* 8024CD48 00249C88 7F C3 F3 78 */ mr r3, r30 -/* 8024CD4C 00249C8C 48 00 01 8D */ bl setStartMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode -/* 8024CD50 00249C90 48 00 00 1C */ b lbl_8024CD6C -lbl_8024CD54: -/* 8024CD54 00249C94 80 7E 00 04 */ lwz r3, 4(r30) -/* 8024CD58 00249C98 80 83 00 00 */ lwz r4, 0(r3) -/* 8024CD5C 00249C9C 28 04 00 00 */ cmplwi r4, 0 -/* 8024CD60 00249CA0 41 82 00 0C */ beq lbl_8024CD6C -/* 8024CD64 00249CA4 7F C3 F3 78 */ mr r3, r30 -/* 8024CD68 00249CA8 48 00 01 71 */ bl setStartMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode -lbl_8024CD6C: -/* 8024CD6C 00249CAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024CD70 00249CB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024CD74 00249CB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024CD78 00249CB8 7C 08 03 A6 */ mtlr r0 -/* 8024CD7C 00249CBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024CD80 00249CC0 4E 80 00 20 */ blr - -.global setUnitAndDoorScore__Q34Game4Cave12RandMapScoreFv -setUnitAndDoorScore__Q34Game4Cave12RandMapScoreFv: -/* 8024CD84 00249CC4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8024CD88 00249CC8 7C 08 02 A6 */ mflr r0 -/* 8024CD8C 00249CCC 3C 80 00 C3 */ lis r4, 0x00C35000@ha -/* 8024CD90 00249CD0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8024CD94 00249CD4 BE 81 00 10 */ stmw r20, 0x10(r1) -/* 8024CD98 00249CD8 7C 76 1B 78 */ mr r22, r3 -/* 8024CD9C 00249CDC 3B 64 50 00 */ addi r27, r4, 0x00C35000@l -/* 8024CDA0 00249CE0 3B A0 00 00 */ li r29, 0 -/* 8024CDA4 00249CE4 3B 80 FF FF */ li r28, -1 -/* 8024CDA8 00249CE8 80 63 00 00 */ lwz r3, 0(r3) -/* 8024CDAC 00249CEC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024CDB0 00249CF0 83 43 00 10 */ lwz r26, 0x10(r3) -/* 8024CDB4 00249CF4 48 00 00 D8 */ b lbl_8024CE8C -lbl_8024CDB8: -/* 8024CDB8 00249CF8 7F 43 D3 78 */ mr r3, r26 -/* 8024CDBC 00249CFC 4B FF 6B F9 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024CDC0 00249D00 7F 43 D3 78 */ mr r3, r26 -/* 8024CDC4 00249D04 4B FF 72 9D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024CDC8 00249D08 7C 7F 1B 78 */ mr r31, r3 -/* 8024CDCC 00249D0C 3B 20 00 00 */ li r25, 0 -/* 8024CDD0 00249D10 3B C0 00 00 */ li r30, 0 -/* 8024CDD4 00249D14 48 00 00 AC */ b lbl_8024CE80 -lbl_8024CDD8: -/* 8024CDD8 00249D18 7F 43 D3 78 */ mr r3, r26 -/* 8024CDDC 00249D1C 7F 24 CB 78 */ mr r4, r25 -/* 8024CDE0 00249D20 4B FF 66 89 */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024CDE4 00249D24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024CDE8 00249D28 41 82 00 90 */ beq lbl_8024CE78 -/* 8024CDEC 00249D2C 7F 43 D3 78 */ mr r3, r26 -/* 8024CDF0 00249D30 7F 24 CB 78 */ mr r4, r25 -/* 8024CDF4 00249D34 4B FF 66 B5 */ bl getAdjustNode__Q34Game4Cave7MapNodeFi -/* 8024CDF8 00249D38 83 03 00 10 */ lwz r24, 0x10(r3) -/* 8024CDFC 00249D3C 48 00 00 74 */ b lbl_8024CE70 -lbl_8024CE00: -/* 8024CE00 00249D40 80 98 00 18 */ lwz r4, 0x18(r24) -/* 8024CE04 00249D44 7F 43 D3 78 */ mr r3, r26 -/* 8024CE08 00249D48 82 E4 00 00 */ lwz r23, 0(r4) -/* 8024CE0C 00249D4C 7E E4 BB 78 */ mr r4, r23 -/* 8024CE10 00249D50 4B FF 66 59 */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024CE14 00249D54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024CE18 00249D58 40 82 00 54 */ bne lbl_8024CE6C -/* 8024CE1C 00249D5C 82 98 00 18 */ lwz r20, 0x18(r24) -/* 8024CE20 00249D60 7F 43 D3 78 */ mr r3, r26 -/* 8024CE24 00249D64 4B FF 6B 89 */ bl getEnemyScore__Q34Game4Cave7MapNodeFv -/* 8024CE28 00249D68 80 14 00 08 */ lwz r0, 8(r20) -/* 8024CE2C 00249D6C 7E E4 BB 78 */ mr r4, r23 -/* 8024CE30 00249D70 80 BA 00 28 */ lwz r5, 0x28(r26) -/* 8024CE34 00249D74 7C C0 19 D6 */ mullw r6, r0, r3 -/* 8024CE38 00249D78 82 94 00 04 */ lwz r20, 4(r20) -/* 8024CE3C 00249D7C 38 05 00 08 */ addi r0, r5, 8 -/* 8024CE40 00249D80 7C 1E 00 2E */ lwzx r0, r30, r0 -/* 8024CE44 00249D84 7F 43 D3 78 */ mr r3, r26 -/* 8024CE48 00249D88 7E A0 32 14 */ add r21, r0, r6 -/* 8024CE4C 00249D8C 4B FF 67 D5 */ bl getGateScore__Q34Game4Cave7MapNodeFi -/* 8024CE50 00249D90 7C 15 1A 14 */ add r0, r21, r3 -/* 8024CE54 00249D94 7C 14 02 14 */ add r0, r20, r0 -/* 8024CE58 00249D98 7C 1B 00 00 */ cmpw r27, r0 -/* 8024CE5C 00249D9C 40 81 00 10 */ ble lbl_8024CE6C -/* 8024CE60 00249DA0 7C 1B 03 78 */ mr r27, r0 -/* 8024CE64 00249DA4 7F 5D D3 78 */ mr r29, r26 -/* 8024CE68 00249DA8 7E FC BB 78 */ mr r28, r23 -lbl_8024CE6C: -/* 8024CE6C 00249DAC 83 18 00 04 */ lwz r24, 4(r24) -lbl_8024CE70: -/* 8024CE70 00249DB0 28 18 00 00 */ cmplwi r24, 0 -/* 8024CE74 00249DB4 40 82 FF 8C */ bne lbl_8024CE00 -lbl_8024CE78: -/* 8024CE78 00249DB8 3B DE 00 0C */ addi r30, r30, 0xc -/* 8024CE7C 00249DBC 3B 39 00 01 */ addi r25, r25, 1 -lbl_8024CE80: -/* 8024CE80 00249DC0 7C 19 F8 00 */ cmpw r25, r31 -/* 8024CE84 00249DC4 41 80 FF 54 */ blt lbl_8024CDD8 -/* 8024CE88 00249DC8 83 5A 00 04 */ lwz r26, 4(r26) -lbl_8024CE8C: -/* 8024CE8C 00249DCC 28 1A 00 00 */ cmplwi r26, 0 -/* 8024CE90 00249DD0 40 82 FF 28 */ bne lbl_8024CDB8 -/* 8024CE94 00249DD4 28 1D 00 00 */ cmplwi r29, 0 -/* 8024CE98 00249DD8 41 82 00 2C */ beq lbl_8024CEC4 -/* 8024CE9C 00249DDC 7F A3 EB 78 */ mr r3, r29 -/* 8024CEA0 00249DE0 7F 84 E3 78 */ mr r4, r28 -/* 8024CEA4 00249DE4 7F 65 DB 78 */ mr r5, r27 -/* 8024CEA8 00249DE8 4B FF 65 8D */ bl setDoorScore__Q34Game4Cave7MapNodeFii -/* 8024CEAC 00249DEC 1C 1C 00 0C */ mulli r0, r28, 0xc -/* 8024CEB0 00249DF0 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8024CEB4 00249DF4 7E C3 B3 78 */ mr r3, r22 -/* 8024CEB8 00249DF8 7F 65 DB 78 */ mr r5, r27 -/* 8024CEBC 00249DFC 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8024CEC0 00249E00 48 00 09 3D */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -lbl_8024CEC4: -/* 8024CEC4 00249E04 BA 81 00 10 */ lmw r20, 0x10(r1) -/* 8024CEC8 00249E08 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8024CECC 00249E0C 7C 08 03 A6 */ mtlr r0 -/* 8024CED0 00249E10 38 21 00 40 */ addi r1, r1, 0x40 -/* 8024CED4 00249E14 4E 80 00 20 */ blr - -.global setStartMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode -setStartMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode: -/* 8024CED8 00249E18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024CEDC 00249E1C 7C 08 02 A6 */ mflr r0 -/* 8024CEE0 00249E20 38 A0 00 00 */ li r5, 0 -/* 8024CEE4 00249E24 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024CEE8 00249E28 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8024CEEC 00249E2C 7C 7B 1B 78 */ mr r27, r3 -/* 8024CEF0 00249E30 7C 9C 23 78 */ mr r28, r4 -/* 8024CEF4 00249E34 48 00 09 09 */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -/* 8024CEF8 00249E38 3B A0 00 00 */ li r29, 0 -/* 8024CEFC 00249E3C 3B C0 00 00 */ li r30, 0 -/* 8024CF00 00249E40 48 00 00 64 */ b lbl_8024CF64 -lbl_8024CF04: -/* 8024CF04 00249E44 7F 83 E3 78 */ mr r3, r28 -/* 8024CF08 00249E48 7F A4 EB 78 */ mr r4, r29 -/* 8024CF0C 00249E4C 4B FF 65 5D */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024CF10 00249E50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024CF14 00249E54 40 82 00 48 */ bne lbl_8024CF5C -/* 8024CF18 00249E58 7F 83 E3 78 */ mr r3, r28 -/* 8024CF1C 00249E5C 7F A4 EB 78 */ mr r4, r29 -/* 8024CF20 00249E60 4B FF 67 01 */ bl getGateScore__Q34Game4Cave7MapNodeFi -/* 8024CF24 00249E64 7C 7F 1B 78 */ mr r31, r3 -/* 8024CF28 00249E68 7F 83 E3 78 */ mr r3, r28 -/* 8024CF2C 00249E6C 4B FF 6A 89 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024CF30 00249E70 3B FF 00 01 */ addi r31, r31, 1 -/* 8024CF34 00249E74 7F A4 EB 78 */ mr r4, r29 -/* 8024CF38 00249E78 7F E3 FA 14 */ add r31, r3, r31 -/* 8024CF3C 00249E7C 7F 83 E3 78 */ mr r3, r28 -/* 8024CF40 00249E80 7F E5 FB 78 */ mr r5, r31 -/* 8024CF44 00249E84 4B FF 64 F1 */ bl setDoorScore__Q34Game4Cave7MapNodeFii -/* 8024CF48 00249E88 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 8024CF4C 00249E8C 7F 63 DB 78 */ mr r3, r27 -/* 8024CF50 00249E90 7F E5 FB 78 */ mr r5, r31 -/* 8024CF54 00249E94 7C 84 F0 2E */ lwzx r4, r4, r30 -/* 8024CF58 00249E98 48 00 08 A5 */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -lbl_8024CF5C: -/* 8024CF5C 00249E9C 3B DE 00 0C */ addi r30, r30, 0xc -/* 8024CF60 00249EA0 3B BD 00 01 */ addi r29, r29, 1 -lbl_8024CF64: -/* 8024CF64 00249EA4 7F 83 E3 78 */ mr r3, r28 -/* 8024CF68 00249EA8 4B FF 70 F9 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024CF6C 00249EAC 7C 1D 18 00 */ cmpw r29, r3 -/* 8024CF70 00249EB0 41 80 FF 94 */ blt lbl_8024CF04 -/* 8024CF74 00249EB4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8024CF78 00249EB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024CF7C 00249EBC 7C 08 03 A6 */ mtlr r0 -/* 8024CF80 00249EC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024CF84 00249EC4 4E 80 00 20 */ blr - -.global setChallengePod__Q34Game4Cave12RandMapScoreFv -setChallengePod__Q34Game4Cave12RandMapScoreFv: -/* 8024CF88 00249EC8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8024CF8C 00249ECC 7C 08 02 A6 */ mflr r0 -/* 8024CF90 00249ED0 90 01 00 74 */ stw r0, 0x74(r1) -/* 8024CF94 00249ED4 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8024CF98 00249ED8 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8024CF9C 00249EDC 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8024CFA0 00249EE0 7C 7D 1B 78 */ mr r29, r3 -/* 8024CFA4 00249EE4 80 63 00 04 */ lwz r3, 4(r3) -/* 8024CFA8 00249EE8 80 03 00 00 */ lwz r0, 0(r3) -/* 8024CFAC 00249EEC 28 00 00 00 */ cmplwi r0, 0 -/* 8024CFB0 00249EF0 40 82 00 F8 */ bne lbl_8024D0A8 -/* 8024CFB4 00249EF4 80 7D 00 00 */ lwz r3, 0(r29) -/* 8024CFB8 00249EF8 3B E0 00 00 */ li r31, 0 -/* 8024CFBC 00249EFC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024CFC0 00249F00 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 8024CFC4 00249F04 48 00 00 24 */ b lbl_8024CFE8 -lbl_8024CFC8: -/* 8024CFC8 00249F08 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8024CFCC 00249F0C 4B FF 5B AD */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024CFD0 00249F10 2C 03 00 01 */ cmpwi r3, 1 -/* 8024CFD4 00249F14 40 82 00 10 */ bne lbl_8024CFE4 -/* 8024CFD8 00249F18 80 7D 00 04 */ lwz r3, 4(r29) -/* 8024CFDC 00249F1C 93 C3 00 00 */ stw r30, 0(r3) -/* 8024CFE0 00249F20 48 00 00 10 */ b lbl_8024CFF0 -lbl_8024CFE4: -/* 8024CFE4 00249F24 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8024CFE8: -/* 8024CFE8 00249F28 28 1E 00 00 */ cmplwi r30, 0 -/* 8024CFEC 00249F2C 40 82 FF DC */ bne lbl_8024CFC8 -lbl_8024CFF0: -/* 8024CFF0 00249F30 80 7D 00 04 */ lwz r3, 4(r29) -/* 8024CFF4 00249F34 80 63 00 00 */ lwz r3, 0(r3) -/* 8024CFF8 00249F38 28 03 00 00 */ cmplwi r3, 0 -/* 8024CFFC 00249F3C 41 82 00 AC */ beq lbl_8024D0A8 -/* 8024D000 00249F40 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8024D004 00249F44 4B FF 5B BD */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024D008 00249F48 28 03 00 00 */ cmplwi r3, 0 -/* 8024D00C 00249F4C 41 82 00 34 */ beq lbl_8024D040 -/* 8024D010 00249F50 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024D014 00249F54 38 61 00 08 */ addi r3, r1, 8 -/* 8024D018 00249F58 48 00 00 20 */ b lbl_8024D038 -lbl_8024D01C: -/* 8024D01C 00249F5C 80 04 00 18 */ lwz r0, 0x18(r4) -/* 8024D020 00249F60 2C 00 00 07 */ cmpwi r0, 7 -/* 8024D024 00249F64 40 82 00 10 */ bne lbl_8024D034 -/* 8024D028 00249F68 90 83 00 00 */ stw r4, 0(r3) -/* 8024D02C 00249F6C 38 63 00 04 */ addi r3, r3, 4 -/* 8024D030 00249F70 3B FF 00 01 */ addi r31, r31, 1 -lbl_8024D034: -/* 8024D034 00249F74 80 84 00 04 */ lwz r4, 4(r4) -lbl_8024D038: -/* 8024D038 00249F78 28 04 00 00 */ cmplwi r4, 0 -/* 8024D03C 00249F7C 40 82 FF E0 */ bne lbl_8024D01C -lbl_8024D040: -/* 8024D040 00249F80 2C 1F 00 00 */ cmpwi r31, 0 -/* 8024D044 00249F84 41 82 00 64 */ beq lbl_8024D0A8 -/* 8024D048 00249F88 4B E7 C5 59 */ bl rand -/* 8024D04C 00249F8C 3C A0 43 30 */ lis r5, 0x4330 -/* 8024D050 00249F90 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024D054 00249F94 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8024D058 00249F98 6F E0 80 00 */ xoris r0, r31, 0x8000 -/* 8024D05C 00249F9C C8 42 C4 A0 */ lfd f2, lbl_8051A800@sda21(r2) -/* 8024D060 00249FA0 38 81 00 08 */ addi r4, r1, 8 -/* 8024D064 00249FA4 90 A1 00 48 */ stw r5, 0x48(r1) -/* 8024D068 00249FA8 C0 02 C4 98 */ lfs f0, lbl_8051A7F8@sda21(r2) -/* 8024D06C 00249FAC C8 21 00 48 */ lfd f1, 0x48(r1) -/* 8024D070 00249FB0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8024D074 00249FB4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024D078 00249FB8 80 7D 00 08 */ lwz r3, 8(r29) -/* 8024D07C 00249FBC 90 A1 00 50 */ stw r5, 0x50(r1) -/* 8024D080 00249FC0 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024D084 00249FC4 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 8024D088 00249FC8 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024D08C 00249FCC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024D090 00249FD0 FC 00 00 1E */ fctiwz f0, f0 -/* 8024D094 00249FD4 D8 01 00 58 */ stfd f0, 0x58(r1) -/* 8024D098 00249FD8 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8024D09C 00249FDC 54 00 10 3A */ slwi r0, r0, 2 -/* 8024D0A0 00249FE0 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8024D0A4 00249FE4 90 03 00 00 */ stw r0, 0(r3) -lbl_8024D0A8: -/* 8024D0A8 00249FE8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8024D0AC 00249FEC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8024D0B0 00249FF0 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8024D0B4 00249FF4 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8024D0B8 00249FF8 7C 08 03 A6 */ mtlr r0 -/* 8024D0BC 00249FFC 38 21 00 70 */ addi r1, r1, 0x70 -/* 8024D0C0 0024A000 4E 80 00 20 */ blr - -.global setVersusOnyon__Q34Game4Cave12RandMapScoreFv -setVersusOnyon__Q34Game4Cave12RandMapScoreFv: -/* 8024D0C4 0024A004 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8024D0C8 0024A008 7C 08 02 A6 */ mflr r0 -/* 8024D0CC 0024A00C 90 01 00 84 */ stw r0, 0x84(r1) -/* 8024D0D0 0024A010 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8024D0D4 0024A014 7C 7F 1B 78 */ mr r31, r3 -/* 8024D0D8 0024A018 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8024D0DC 0024A01C 93 A1 00 74 */ stw r29, 0x74(r1) -/* 8024D0E0 0024A020 93 81 00 70 */ stw r28, 0x70(r1) -/* 8024D0E4 0024A024 80 63 00 04 */ lwz r3, 4(r3) -/* 8024D0E8 0024A028 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8024D0EC 0024A02C 28 00 00 00 */ cmplwi r0, 0 -/* 8024D0F0 0024A030 40 82 01 6C */ bne lbl_8024D25C -/* 8024D0F4 0024A034 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024D0F8 0024A038 28 00 00 00 */ cmplwi r0, 0 -/* 8024D0FC 0024A03C 40 82 01 60 */ bne lbl_8024D25C -/* 8024D100 0024A040 80 7F 00 00 */ lwz r3, 0(r31) -/* 8024D104 0024A044 3B 81 00 18 */ addi r28, r1, 0x18 -/* 8024D108 0024A048 3B A0 00 00 */ li r29, 0 -/* 8024D10C 0024A04C 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024D110 0024A050 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 8024D114 0024A054 48 00 00 24 */ b lbl_8024D138 -lbl_8024D118: -/* 8024D118 0024A058 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8024D11C 0024A05C 4B FF 5A 5D */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024D120 0024A060 2C 03 00 01 */ cmpwi r3, 1 -/* 8024D124 0024A064 40 82 00 10 */ bne lbl_8024D134 -/* 8024D128 0024A068 93 DC 00 00 */ stw r30, 0(r28) -/* 8024D12C 0024A06C 3B 9C 00 04 */ addi r28, r28, 4 -/* 8024D130 0024A070 3B BD 00 01 */ addi r29, r29, 1 -lbl_8024D134: -/* 8024D134 0024A074 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8024D138: -/* 8024D138 0024A078 28 1E 00 00 */ cmplwi r30, 0 -/* 8024D13C 0024A07C 40 82 FF DC */ bne lbl_8024D118 -/* 8024D140 0024A080 2C 1D 00 00 */ cmpwi r29, 0 -/* 8024D144 0024A084 41 82 00 60 */ beq lbl_8024D1A4 -/* 8024D148 0024A088 4B E7 C4 59 */ bl rand -/* 8024D14C 0024A08C 3C 80 43 30 */ lis r4, 0x4330 -/* 8024D150 0024A090 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024D154 0024A094 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8024D158 0024A098 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 8024D15C 0024A09C C8 42 C4 A0 */ lfd f2, lbl_8051A800@sda21(r2) -/* 8024D160 0024A0A0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8024D164 0024A0A4 90 81 00 58 */ stw r4, 0x58(r1) -/* 8024D168 0024A0A8 C0 02 C4 98 */ lfs f0, lbl_8051A7F8@sda21(r2) -/* 8024D16C 0024A0AC C8 21 00 58 */ lfd f1, 0x58(r1) -/* 8024D170 0024A0B0 90 01 00 64 */ stw r0, 0x64(r1) -/* 8024D174 0024A0B4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024D178 0024A0B8 90 81 00 60 */ stw r4, 0x60(r1) -/* 8024D17C 0024A0BC EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024D180 0024A0C0 C8 01 00 60 */ lfd f0, 0x60(r1) -/* 8024D184 0024A0C4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024D188 0024A0C8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024D18C 0024A0CC FC 00 00 1E */ fctiwz f0, f0 -/* 8024D190 0024A0D0 D8 01 00 68 */ stfd f0, 0x68(r1) -/* 8024D194 0024A0D4 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 8024D198 0024A0D8 54 00 10 3A */ slwi r0, r0, 2 -/* 8024D19C 0024A0DC 7F C3 00 2E */ lwzx r30, r3, r0 -/* 8024D1A0 0024A0E0 48 00 00 08 */ b lbl_8024D1A8 -lbl_8024D1A4: -/* 8024D1A4 0024A0E4 3B C0 00 00 */ li r30, 0 -lbl_8024D1A8: -/* 8024D1A8 0024A0E8 80 A2 2B 48 */ lwz r5, lbl_80520EA8@sda21(r2) -/* 8024D1AC 0024A0EC 28 1E 00 00 */ cmplwi r30, 0 -/* 8024D1B0 0024A0F0 80 82 2B 4C */ lwz r4, lbl_80520EAC@sda21(r2) -/* 8024D1B4 0024A0F4 80 62 2B 50 */ lwz r3, lbl_80520EB0@sda21(r2) -/* 8024D1B8 0024A0F8 80 02 2B 54 */ lwz r0, lbl_80520EB4@sda21(r2) -/* 8024D1BC 0024A0FC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8024D1C0 0024A100 90 81 00 14 */ stw r4, 0x14(r1) -/* 8024D1C4 0024A104 90 61 00 08 */ stw r3, 8(r1) -/* 8024D1C8 0024A108 90 01 00 0C */ stw r0, 0xc(r1) -/* 8024D1CC 0024A10C 41 82 00 90 */ beq lbl_8024D25C -/* 8024D1D0 0024A110 7F E3 FB 78 */ mr r3, r31 -/* 8024D1D4 0024A114 7F C4 F3 78 */ mr r4, r30 -/* 8024D1D8 0024A118 48 00 01 A1 */ bl calcNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode -/* 8024D1DC 0024A11C 7F E3 FB 78 */ mr r3, r31 -/* 8024D1E0 0024A120 7F C4 F3 78 */ mr r4, r30 -/* 8024D1E4 0024A124 38 A1 00 08 */ addi r5, r1, 8 -/* 8024D1E8 0024A128 48 00 00 95 */ bl getMaxScoreRoomMapNode__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGen -/* 8024D1EC 0024A12C 7C 64 1B 78 */ mr r4, r3 -/* 8024D1F0 0024A130 7F E3 FB 78 */ mr r3, r31 -/* 8024D1F4 0024A134 90 81 00 10 */ stw r4, 0x10(r1) -/* 8024D1F8 0024A138 48 00 01 81 */ bl calcNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode -/* 8024D1FC 0024A13C 7F E3 FB 78 */ mr r3, r31 -/* 8024D200 0024A140 48 00 05 29 */ bl copyNodeScore__Q34Game4Cave12RandMapScoreFv -/* 8024D204 0024A144 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8024D208 0024A148 38 A1 00 0C */ addi r5, r1, 0xc -/* 8024D20C 0024A14C 7F E3 FB 78 */ mr r3, r31 -/* 8024D210 0024A150 48 00 00 6D */ bl getMaxScoreRoomMapNode__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGen -/* 8024D214 0024A154 7C 7E 1B 78 */ mr r30, r3 -/* 8024D218 0024A158 7F E3 FB 78 */ mr r3, r31 -/* 8024D21C 0024A15C 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8024D220 0024A160 7F C4 F3 78 */ mr r4, r30 -/* 8024D224 0024A164 48 00 01 55 */ bl calcNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode -/* 8024D228 0024A168 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8024D22C 0024A16C 7F E3 FB 78 */ mr r3, r31 -/* 8024D230 0024A170 80 9F 00 04 */ lwz r4, 4(r31) -/* 8024D234 0024A174 90 04 00 0C */ stw r0, 0xc(r4) -/* 8024D238 0024A178 80 9F 00 04 */ lwz r4, 4(r31) -/* 8024D23C 0024A17C 93 C4 00 10 */ stw r30, 0x10(r4) -/* 8024D240 0024A180 80 01 00 08 */ lwz r0, 8(r1) -/* 8024D244 0024A184 80 9F 00 08 */ lwz r4, 8(r31) -/* 8024D248 0024A188 90 04 00 0C */ stw r0, 0xc(r4) -/* 8024D24C 0024A18C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8024D250 0024A190 80 9F 00 08 */ lwz r4, 8(r31) -/* 8024D254 0024A194 90 04 00 10 */ stw r0, 0x10(r4) -/* 8024D258 0024A198 48 00 05 19 */ bl subNodeScore__Q34Game4Cave12RandMapScoreFv -lbl_8024D25C: -/* 8024D25C 0024A19C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8024D260 0024A1A0 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8024D264 0024A1A4 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8024D268 0024A1A8 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8024D26C 0024A1AC 83 81 00 70 */ lwz r28, 0x70(r1) -/* 8024D270 0024A1B0 7C 08 03 A6 */ mtlr r0 -/* 8024D274 0024A1B4 38 21 00 80 */ addi r1, r1, 0x80 -/* 8024D278 0024A1B8 4E 80 00 20 */ blr - -.global getMaxScoreRoomMapNode__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGen -getMaxScoreRoomMapNode__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGen: -/* 8024D27C 0024A1BC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024D280 0024A1C0 7C 08 02 A6 */ mflr r0 -/* 8024D284 0024A1C4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024D288 0024A1C8 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8024D28C 0024A1CC 7C 99 23 78 */ mr r25, r4 -/* 8024D290 0024A1D0 7C BA 2B 78 */ mr r26, r5 -/* 8024D294 0024A1D4 3B E0 00 00 */ li r31, 0 -/* 8024D298 0024A1D8 3B C0 00 00 */ li r30, 0 -/* 8024D29C 0024A1DC 80 63 00 00 */ lwz r3, 0(r3) -/* 8024D2A0 0024A1E0 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024D2A4 0024A1E4 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 8024D2A8 0024A1E8 48 00 00 B0 */ b lbl_8024D358 -lbl_8024D2AC: -/* 8024D2AC 0024A1EC 7C 1D C8 40 */ cmplw r29, r25 -/* 8024D2B0 0024A1F0 41 82 00 A4 */ beq lbl_8024D354 -/* 8024D2B4 0024A1F4 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 8024D2B8 0024A1F8 4B FF 58 C1 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024D2BC 0024A1FC 2C 03 00 01 */ cmpwi r3, 1 -/* 8024D2C0 0024A200 40 82 00 94 */ bne lbl_8024D354 -/* 8024D2C4 0024A204 7F A3 EB 78 */ mr r3, r29 -/* 8024D2C8 0024A208 4B FF 66 ED */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024D2CC 0024A20C 3B 83 00 0A */ addi r28, r3, 0xa -/* 8024D2D0 0024A210 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 8024D2D4 0024A214 4B FF 58 ED */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024D2D8 0024A218 28 03 00 00 */ cmplwi r3, 0 -/* 8024D2DC 0024A21C 41 82 00 78 */ beq lbl_8024D354 -/* 8024D2E0 0024A220 83 63 00 10 */ lwz r27, 0x10(r3) -/* 8024D2E4 0024A224 48 00 00 68 */ b lbl_8024D34C -lbl_8024D2E8: -/* 8024D2E8 0024A228 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8024D2EC 0024A22C 2C 00 00 07 */ cmpwi r0, 7 -/* 8024D2F0 0024A230 40 82 00 58 */ bne lbl_8024D348 -/* 8024D2F4 0024A234 7C 1C F0 00 */ cmpw r28, r30 -/* 8024D2F8 0024A238 41 81 00 44 */ bgt lbl_8024D33C -/* 8024D2FC 0024A23C 40 82 00 4C */ bne lbl_8024D348 -/* 8024D300 0024A240 4B E7 C2 A1 */ bl rand -/* 8024D304 0024A244 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024D308 0024A248 3C 00 43 30 */ lis r0, 0x4330 -/* 8024D30C 0024A24C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8024D310 0024A250 C8 62 C4 A0 */ lfd f3, lbl_8051A800@sda21(r2) -/* 8024D314 0024A254 90 01 00 08 */ stw r0, 8(r1) -/* 8024D318 0024A258 C0 42 C4 A8 */ lfs f2, lbl_8051A808@sda21(r2) -/* 8024D31C 0024A25C C8 01 00 08 */ lfd f0, 8(r1) -/* 8024D320 0024A260 C0 22 C4 98 */ lfs f1, lbl_8051A7F8@sda21(r2) -/* 8024D324 0024A264 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8024D328 0024A268 C0 02 C4 AC */ lfs f0, lbl_8051A80C@sda21(r2) -/* 8024D32C 0024A26C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8024D330 0024A270 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8024D334 0024A274 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024D338 0024A278 40 80 00 10 */ bge lbl_8024D348 -lbl_8024D33C: -/* 8024D33C 0024A27C 93 7A 00 00 */ stw r27, 0(r26) -/* 8024D340 0024A280 7F BF EB 78 */ mr r31, r29 -/* 8024D344 0024A284 7F 9E E3 78 */ mr r30, r28 -lbl_8024D348: -/* 8024D348 0024A288 83 7B 00 04 */ lwz r27, 4(r27) -lbl_8024D34C: -/* 8024D34C 0024A28C 28 1B 00 00 */ cmplwi r27, 0 -/* 8024D350 0024A290 40 82 FF 98 */ bne lbl_8024D2E8 -lbl_8024D354: -/* 8024D354 0024A294 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8024D358: -/* 8024D358 0024A298 28 1D 00 00 */ cmplwi r29, 0 -/* 8024D35C 0024A29C 40 82 FF 50 */ bne lbl_8024D2AC -/* 8024D360 0024A2A0 7F E3 FB 78 */ mr r3, r31 -/* 8024D364 0024A2A4 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8024D368 0024A2A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024D36C 0024A2AC 7C 08 03 A6 */ mtlr r0 -/* 8024D370 0024A2B0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024D374 0024A2B4 4E 80 00 20 */ blr - -.global calcNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode -calcNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNode: -/* 8024D378 0024A2B8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024D37C 0024A2BC 7C 08 02 A6 */ mflr r0 -/* 8024D380 0024A2C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024D384 0024A2C4 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8024D388 0024A2C8 7C 7E 1B 78 */ mr r30, r3 -/* 8024D38C 0024A2CC 7C 9F 23 78 */ mr r31, r4 -/* 8024D390 0024A2D0 80 63 00 00 */ lwz r3, 0(r3) -/* 8024D394 0024A2D4 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024D398 0024A2D8 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 8024D39C 0024A2DC 48 00 00 24 */ b lbl_8024D3C0 -lbl_8024D3A0: -/* 8024D3A0 0024A2E0 7F A3 EB 78 */ mr r3, r29 -/* 8024D3A4 0024A2E4 4B FF 64 15 */ bl setEnemyScore__Q34Game4Cave7MapNodeFv -/* 8024D3A8 0024A2E8 7F A3 EB 78 */ mr r3, r29 -/* 8024D3AC 0024A2EC 38 80 FF FF */ li r4, -1 -/* 8024D3B0 0024A2F0 4B FF 64 B5 */ bl setNodeScore__Q34Game4Cave7MapNodeFi -/* 8024D3B4 0024A2F4 7F A3 EB 78 */ mr r3, r29 -/* 8024D3B8 0024A2F8 4B FF 5F 7D */ bl resetDoorScore__Q34Game4Cave7MapNodeFv -/* 8024D3BC 0024A2FC 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8024D3C0: -/* 8024D3C0 0024A300 28 1D 00 00 */ cmplwi r29, 0 -/* 8024D3C4 0024A304 40 82 FF DC */ bne lbl_8024D3A0 -/* 8024D3C8 0024A308 80 7E 00 00 */ lwz r3, 0(r30) -/* 8024D3CC 0024A30C 88 03 00 02 */ lbz r0, 2(r3) -/* 8024D3D0 0024A310 28 00 00 00 */ cmplwi r0, 0 -/* 8024D3D4 0024A314 41 82 01 40 */ beq lbl_8024D514 -/* 8024D3D8 0024A318 80 7E 00 04 */ lwz r3, 4(r30) -/* 8024D3DC 0024A31C 83 23 00 0C */ lwz r25, 0xc(r3) -/* 8024D3E0 0024A320 28 19 00 00 */ cmplwi r25, 0 -/* 8024D3E4 0024A324 41 82 00 90 */ beq lbl_8024D474 -/* 8024D3E8 0024A328 7F C3 F3 78 */ mr r3, r30 -/* 8024D3EC 0024A32C 7F 24 CB 78 */ mr r4, r25 -/* 8024D3F0 0024A330 38 A0 00 00 */ li r5, 0 -/* 8024D3F4 0024A334 48 00 04 09 */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -/* 8024D3F8 0024A338 3B 60 00 00 */ li r27, 0 -/* 8024D3FC 0024A33C 7F 7A DB 78 */ mr r26, r27 -/* 8024D400 0024A340 48 00 00 64 */ b lbl_8024D464 -lbl_8024D404: -/* 8024D404 0024A344 7F 23 CB 78 */ mr r3, r25 -/* 8024D408 0024A348 7F 64 DB 78 */ mr r4, r27 -/* 8024D40C 0024A34C 4B FF 60 5D */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024D410 0024A350 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024D414 0024A354 40 82 00 48 */ bne lbl_8024D45C -/* 8024D418 0024A358 7F 23 CB 78 */ mr r3, r25 -/* 8024D41C 0024A35C 7F 64 DB 78 */ mr r4, r27 -/* 8024D420 0024A360 4B FF 62 01 */ bl getGateScore__Q34Game4Cave7MapNodeFi -/* 8024D424 0024A364 7C 7D 1B 78 */ mr r29, r3 -/* 8024D428 0024A368 7F 23 CB 78 */ mr r3, r25 -/* 8024D42C 0024A36C 4B FF 65 89 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024D430 0024A370 3B 9D 00 01 */ addi r28, r29, 1 -/* 8024D434 0024A374 7F 64 DB 78 */ mr r4, r27 -/* 8024D438 0024A378 7F 83 E2 14 */ add r28, r3, r28 -/* 8024D43C 0024A37C 7F 23 CB 78 */ mr r3, r25 -/* 8024D440 0024A380 7F 85 E3 78 */ mr r5, r28 -/* 8024D444 0024A384 4B FF 5F F1 */ bl setDoorScore__Q34Game4Cave7MapNodeFii -/* 8024D448 0024A388 80 99 00 28 */ lwz r4, 0x28(r25) -/* 8024D44C 0024A38C 7F C3 F3 78 */ mr r3, r30 -/* 8024D450 0024A390 7F 85 E3 78 */ mr r5, r28 -/* 8024D454 0024A394 7C 84 D0 2E */ lwzx r4, r4, r26 -/* 8024D458 0024A398 48 00 03 A5 */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -lbl_8024D45C: -/* 8024D45C 0024A39C 3B 5A 00 0C */ addi r26, r26, 0xc -/* 8024D460 0024A3A0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8024D464: -/* 8024D464 0024A3A4 7F 23 CB 78 */ mr r3, r25 -/* 8024D468 0024A3A8 4B FF 6B F9 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024D46C 0024A3AC 7C 1B 18 00 */ cmpw r27, r3 -/* 8024D470 0024A3B0 41 80 FF 94 */ blt lbl_8024D404 -lbl_8024D474: -/* 8024D474 0024A3B4 80 7E 00 04 */ lwz r3, 4(r30) -/* 8024D478 0024A3B8 83 23 00 10 */ lwz r25, 0x10(r3) -/* 8024D47C 0024A3BC 28 19 00 00 */ cmplwi r25, 0 -/* 8024D480 0024A3C0 41 82 01 30 */ beq lbl_8024D5B0 -/* 8024D484 0024A3C4 7F C3 F3 78 */ mr r3, r30 -/* 8024D488 0024A3C8 7F 24 CB 78 */ mr r4, r25 -/* 8024D48C 0024A3CC 38 A0 00 00 */ li r5, 0 -/* 8024D490 0024A3D0 48 00 03 6D */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -/* 8024D494 0024A3D4 3B 80 00 00 */ li r28, 0 -/* 8024D498 0024A3D8 7F 9A E3 78 */ mr r26, r28 -/* 8024D49C 0024A3DC 48 00 00 64 */ b lbl_8024D500 -lbl_8024D4A0: -/* 8024D4A0 0024A3E0 7F 23 CB 78 */ mr r3, r25 -/* 8024D4A4 0024A3E4 7F 84 E3 78 */ mr r4, r28 -/* 8024D4A8 0024A3E8 4B FF 5F C1 */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024D4AC 0024A3EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024D4B0 0024A3F0 40 82 00 48 */ bne lbl_8024D4F8 -/* 8024D4B4 0024A3F4 7F 23 CB 78 */ mr r3, r25 -/* 8024D4B8 0024A3F8 7F 84 E3 78 */ mr r4, r28 -/* 8024D4BC 0024A3FC 4B FF 61 65 */ bl getGateScore__Q34Game4Cave7MapNodeFi -/* 8024D4C0 0024A400 7C 7D 1B 78 */ mr r29, r3 -/* 8024D4C4 0024A404 7F 23 CB 78 */ mr r3, r25 -/* 8024D4C8 0024A408 4B FF 64 ED */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024D4CC 0024A40C 3B 7D 00 01 */ addi r27, r29, 1 -/* 8024D4D0 0024A410 7F 84 E3 78 */ mr r4, r28 -/* 8024D4D4 0024A414 7F 63 DA 14 */ add r27, r3, r27 -/* 8024D4D8 0024A418 7F 23 CB 78 */ mr r3, r25 -/* 8024D4DC 0024A41C 7F 65 DB 78 */ mr r5, r27 -/* 8024D4E0 0024A420 4B FF 5F 55 */ bl setDoorScore__Q34Game4Cave7MapNodeFii -/* 8024D4E4 0024A424 80 99 00 28 */ lwz r4, 0x28(r25) -/* 8024D4E8 0024A428 7F C3 F3 78 */ mr r3, r30 -/* 8024D4EC 0024A42C 7F 65 DB 78 */ mr r5, r27 -/* 8024D4F0 0024A430 7C 84 D0 2E */ lwzx r4, r4, r26 -/* 8024D4F4 0024A434 48 00 03 09 */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -lbl_8024D4F8: -/* 8024D4F8 0024A438 3B 5A 00 0C */ addi r26, r26, 0xc -/* 8024D4FC 0024A43C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8024D500: -/* 8024D500 0024A440 7F 23 CB 78 */ mr r3, r25 -/* 8024D504 0024A444 4B FF 6B 5D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024D508 0024A448 7C 1C 18 00 */ cmpw r28, r3 -/* 8024D50C 0024A44C 41 80 FF 94 */ blt lbl_8024D4A0 -/* 8024D510 0024A450 48 00 00 A0 */ b lbl_8024D5B0 -lbl_8024D514: -/* 8024D514 0024A454 80 7E 00 04 */ lwz r3, 4(r30) -/* 8024D518 0024A458 83 23 00 00 */ lwz r25, 0(r3) -/* 8024D51C 0024A45C 28 19 00 00 */ cmplwi r25, 0 -/* 8024D520 0024A460 41 82 00 90 */ beq lbl_8024D5B0 -/* 8024D524 0024A464 7F C3 F3 78 */ mr r3, r30 -/* 8024D528 0024A468 7F 24 CB 78 */ mr r4, r25 -/* 8024D52C 0024A46C 38 A0 00 00 */ li r5, 0 -/* 8024D530 0024A470 48 00 02 CD */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -/* 8024D534 0024A474 3B 80 00 00 */ li r28, 0 -/* 8024D538 0024A478 7F 9A E3 78 */ mr r26, r28 -/* 8024D53C 0024A47C 48 00 00 64 */ b lbl_8024D5A0 -lbl_8024D540: -/* 8024D540 0024A480 7F 23 CB 78 */ mr r3, r25 -/* 8024D544 0024A484 7F 84 E3 78 */ mr r4, r28 -/* 8024D548 0024A488 4B FF 5F 21 */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024D54C 0024A48C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024D550 0024A490 40 82 00 48 */ bne lbl_8024D598 -/* 8024D554 0024A494 7F 23 CB 78 */ mr r3, r25 -/* 8024D558 0024A498 7F 84 E3 78 */ mr r4, r28 -/* 8024D55C 0024A49C 4B FF 60 C5 */ bl getGateScore__Q34Game4Cave7MapNodeFi -/* 8024D560 0024A4A0 7C 7D 1B 78 */ mr r29, r3 -/* 8024D564 0024A4A4 7F 23 CB 78 */ mr r3, r25 -/* 8024D568 0024A4A8 4B FF 64 4D */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024D56C 0024A4AC 3B 7D 00 01 */ addi r27, r29, 1 -/* 8024D570 0024A4B0 7F 84 E3 78 */ mr r4, r28 -/* 8024D574 0024A4B4 7F 63 DA 14 */ add r27, r3, r27 -/* 8024D578 0024A4B8 7F 23 CB 78 */ mr r3, r25 -/* 8024D57C 0024A4BC 7F 65 DB 78 */ mr r5, r27 -/* 8024D580 0024A4C0 4B FF 5E B5 */ bl setDoorScore__Q34Game4Cave7MapNodeFii -/* 8024D584 0024A4C4 80 99 00 28 */ lwz r4, 0x28(r25) -/* 8024D588 0024A4C8 7F C3 F3 78 */ mr r3, r30 -/* 8024D58C 0024A4CC 7F 65 DB 78 */ mr r5, r27 -/* 8024D590 0024A4D0 7C 84 D0 2E */ lwzx r4, r4, r26 -/* 8024D594 0024A4D4 48 00 02 69 */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -lbl_8024D598: -/* 8024D598 0024A4D8 3B 5A 00 0C */ addi r26, r26, 0xc -/* 8024D59C 0024A4DC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8024D5A0: -/* 8024D5A0 0024A4E0 7F 23 CB 78 */ mr r3, r25 -/* 8024D5A4 0024A4E4 4B FF 6A BD */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024D5A8 0024A4E8 7C 1C 18 00 */ cmpw r28, r3 -/* 8024D5AC 0024A4EC 41 80 FF 94 */ blt lbl_8024D540 -lbl_8024D5B0: -/* 8024D5B0 0024A4F0 7F C3 F3 78 */ mr r3, r30 -/* 8024D5B4 0024A4F4 7F E4 FB 78 */ mr r4, r31 -/* 8024D5B8 0024A4F8 38 A0 00 00 */ li r5, 0 -/* 8024D5BC 0024A4FC 48 00 02 41 */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -/* 8024D5C0 0024A500 3B 80 00 00 */ li r28, 0 -/* 8024D5C4 0024A504 7F 9A E3 78 */ mr r26, r28 -/* 8024D5C8 0024A508 48 00 00 64 */ b lbl_8024D62C -lbl_8024D5CC: -/* 8024D5CC 0024A50C 7F E3 FB 78 */ mr r3, r31 -/* 8024D5D0 0024A510 7F 84 E3 78 */ mr r4, r28 -/* 8024D5D4 0024A514 4B FF 5E 95 */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024D5D8 0024A518 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024D5DC 0024A51C 40 82 00 48 */ bne lbl_8024D624 -/* 8024D5E0 0024A520 7F E3 FB 78 */ mr r3, r31 -/* 8024D5E4 0024A524 7F 84 E3 78 */ mr r4, r28 -/* 8024D5E8 0024A528 4B FF 60 39 */ bl getGateScore__Q34Game4Cave7MapNodeFi -/* 8024D5EC 0024A52C 7C 7D 1B 78 */ mr r29, r3 -/* 8024D5F0 0024A530 7F E3 FB 78 */ mr r3, r31 -/* 8024D5F4 0024A534 4B FF 63 C1 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024D5F8 0024A538 3B BD 00 01 */ addi r29, r29, 1 -/* 8024D5FC 0024A53C 7F 84 E3 78 */ mr r4, r28 -/* 8024D600 0024A540 7F A3 EA 14 */ add r29, r3, r29 -/* 8024D604 0024A544 7F E3 FB 78 */ mr r3, r31 -/* 8024D608 0024A548 7F A5 EB 78 */ mr r5, r29 -/* 8024D60C 0024A54C 4B FF 5E 29 */ bl setDoorScore__Q34Game4Cave7MapNodeFii -/* 8024D610 0024A550 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8024D614 0024A554 7F C3 F3 78 */ mr r3, r30 -/* 8024D618 0024A558 7F A5 EB 78 */ mr r5, r29 -/* 8024D61C 0024A55C 7C 84 D0 2E */ lwzx r4, r4, r26 -/* 8024D620 0024A560 48 00 01 DD */ bl setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -lbl_8024D624: -/* 8024D624 0024A564 3B 5A 00 0C */ addi r26, r26, 0xc -/* 8024D628 0024A568 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8024D62C: -/* 8024D62C 0024A56C 7F E3 FB 78 */ mr r3, r31 -/* 8024D630 0024A570 4B FF 6A 31 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024D634 0024A574 7C 1C 18 00 */ cmpw r28, r3 -/* 8024D638 0024A578 41 80 FF 94 */ blt lbl_8024D5CC -/* 8024D63C 0024A57C 80 7E 00 00 */ lwz r3, 0(r30) -/* 8024D640 0024A580 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024D644 0024A584 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 8024D648 0024A588 48 00 00 40 */ b lbl_8024D688 -lbl_8024D64C: -/* 8024D64C 0024A58C 3B 80 00 00 */ li r28, 0 -/* 8024D650 0024A590 48 00 00 24 */ b lbl_8024D674 -lbl_8024D654: -/* 8024D654 0024A594 7F A3 EB 78 */ mr r3, r29 -/* 8024D658 0024A598 7F 84 E3 78 */ mr r4, r28 -/* 8024D65C 0024A59C 4B FF 5E 0D */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024D660 0024A5A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024D664 0024A5A4 40 82 00 0C */ bne lbl_8024D670 -/* 8024D668 0024A5A8 38 00 00 00 */ li r0, 0 -/* 8024D66C 0024A5AC 48 00 00 28 */ b lbl_8024D694 -lbl_8024D670: -/* 8024D670 0024A5B0 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8024D674: -/* 8024D674 0024A5B4 7F A3 EB 78 */ mr r3, r29 -/* 8024D678 0024A5B8 4B FF 69 E9 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024D67C 0024A5BC 7C 1C 18 00 */ cmpw r28, r3 -/* 8024D680 0024A5C0 41 80 FF D4 */ blt lbl_8024D654 -/* 8024D684 0024A5C4 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8024D688: -/* 8024D688 0024A5C8 28 1D 00 00 */ cmplwi r29, 0 -/* 8024D68C 0024A5CC 40 82 FF C0 */ bne lbl_8024D64C -/* 8024D690 0024A5D0 38 00 00 01 */ li r0, 1 -lbl_8024D694: -/* 8024D694 0024A5D4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8024D698 0024A5D8 40 82 00 7C */ bne lbl_8024D714 -/* 8024D69C 0024A5DC 3B 20 00 00 */ li r25, 0 -lbl_8024D6A0: -/* 8024D6A0 0024A5E0 7F C3 F3 78 */ mr r3, r30 -/* 8024D6A4 0024A5E4 4B FF F6 E1 */ bl setUnitAndDoorScore__Q34Game4Cave12RandMapScoreFv -/* 8024D6A8 0024A5E8 80 7E 00 00 */ lwz r3, 0(r30) -/* 8024D6AC 0024A5EC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024D6B0 0024A5F0 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 8024D6B4 0024A5F4 48 00 00 40 */ b lbl_8024D6F4 -lbl_8024D6B8: -/* 8024D6B8 0024A5F8 3B 80 00 00 */ li r28, 0 -/* 8024D6BC 0024A5FC 48 00 00 24 */ b lbl_8024D6E0 -lbl_8024D6C0: -/* 8024D6C0 0024A600 7F A3 EB 78 */ mr r3, r29 -/* 8024D6C4 0024A604 7F 84 E3 78 */ mr r4, r28 -/* 8024D6C8 0024A608 4B FF 5D A1 */ bl isDoorScoreSetDone__Q34Game4Cave7MapNodeFi -/* 8024D6CC 0024A60C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024D6D0 0024A610 40 82 00 0C */ bne lbl_8024D6DC -/* 8024D6D4 0024A614 38 00 00 00 */ li r0, 0 -/* 8024D6D8 0024A618 48 00 00 28 */ b lbl_8024D700 -lbl_8024D6DC: -/* 8024D6DC 0024A61C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8024D6E0: -/* 8024D6E0 0024A620 7F A3 EB 78 */ mr r3, r29 -/* 8024D6E4 0024A624 4B FF 69 7D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024D6E8 0024A628 7C 1C 18 00 */ cmpw r28, r3 -/* 8024D6EC 0024A62C 41 80 FF D4 */ blt lbl_8024D6C0 -/* 8024D6F0 0024A630 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8024D6F4: -/* 8024D6F4 0024A634 28 1D 00 00 */ cmplwi r29, 0 -/* 8024D6F8 0024A638 40 82 FF C0 */ bne lbl_8024D6B8 -/* 8024D6FC 0024A63C 38 00 00 01 */ li r0, 1 -lbl_8024D700: -/* 8024D700 0024A640 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8024D704 0024A644 40 82 00 10 */ bne lbl_8024D714 -/* 8024D708 0024A648 3B 39 00 01 */ addi r25, r25, 1 -/* 8024D70C 0024A64C 2C 19 01 F4 */ cmpwi r25, 0x1f4 -/* 8024D710 0024A650 41 80 FF 90 */ blt lbl_8024D6A0 -lbl_8024D714: -/* 8024D714 0024A654 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8024D718 0024A658 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024D71C 0024A65C 7C 08 03 A6 */ mtlr r0 -/* 8024D720 0024A660 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024D724 0024A664 4E 80 00 20 */ blr - -.global copyNodeScore__Q34Game4Cave12RandMapScoreFv -copyNodeScore__Q34Game4Cave12RandMapScoreFv: -/* 8024D728 0024A668 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024D72C 0024A66C 7C 08 02 A6 */ mflr r0 -/* 8024D730 0024A670 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024D734 0024A674 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024D738 0024A678 80 63 00 00 */ lwz r3, 0(r3) -/* 8024D73C 0024A67C 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024D740 0024A680 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8024D744 0024A684 48 00 00 10 */ b lbl_8024D754 -lbl_8024D748: -/* 8024D748 0024A688 7F E3 FB 78 */ mr r3, r31 -/* 8024D74C 0024A68C 4B FF 61 21 */ bl copyNodeScoreToVersusScore__Q34Game4Cave7MapNodeFv -/* 8024D750 0024A690 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8024D754: -/* 8024D754 0024A694 28 1F 00 00 */ cmplwi r31, 0 -/* 8024D758 0024A698 40 82 FF F0 */ bne lbl_8024D748 -/* 8024D75C 0024A69C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024D760 0024A6A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024D764 0024A6A4 7C 08 03 A6 */ mtlr r0 -/* 8024D768 0024A6A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024D76C 0024A6AC 4E 80 00 20 */ blr - -.global subNodeScore__Q34Game4Cave12RandMapScoreFv -subNodeScore__Q34Game4Cave12RandMapScoreFv: -/* 8024D770 0024A6B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024D774 0024A6B4 7C 08 02 A6 */ mflr r0 -/* 8024D778 0024A6B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024D77C 0024A6BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024D780 0024A6C0 93 C1 00 08 */ stw r30, 8(r1) -/* 8024D784 0024A6C4 7C 7E 1B 78 */ mr r30, r3 -/* 8024D788 0024A6C8 80 63 00 00 */ lwz r3, 0(r3) -/* 8024D78C 0024A6CC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024D790 0024A6D0 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8024D794 0024A6D4 48 00 00 48 */ b lbl_8024D7DC -lbl_8024D798: -/* 8024D798 0024A6D8 7F E3 FB 78 */ mr r3, r31 -/* 8024D79C 0024A6DC 4B FF 60 DD */ bl subNodeScoreToVersusScore__Q34Game4Cave7MapNodeFv -/* 8024D7A0 0024A6E0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8024D7A4 0024A6E4 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8024D7A8 0024A6E8 7C 1F 00 40 */ cmplw r31, r0 -/* 8024D7AC 0024A6EC 40 82 00 14 */ bne lbl_8024D7C0 -/* 8024D7B0 0024A6F0 7F E3 FB 78 */ mr r3, r31 -/* 8024D7B4 0024A6F4 4B FF 62 09 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024D7B8 0024A6F8 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8024D7BC 0024A6FC 48 00 00 1C */ b lbl_8024D7D8 -lbl_8024D7C0: -/* 8024D7C0 0024A700 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024D7C4 0024A704 7C 1F 00 40 */ cmplw r31, r0 -/* 8024D7C8 0024A708 40 82 00 10 */ bne lbl_8024D7D8 -/* 8024D7CC 0024A70C 7F E3 FB 78 */ mr r3, r31 -/* 8024D7D0 0024A710 4B FF 61 ED */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024D7D4 0024A714 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_8024D7D8: -/* 8024D7D8 0024A718 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8024D7DC: -/* 8024D7DC 0024A71C 28 1F 00 00 */ cmplwi r31, 0 -/* 8024D7E0 0024A720 40 82 FF B8 */ bne lbl_8024D798 -/* 8024D7E4 0024A724 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024D7E8 0024A728 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024D7EC 0024A72C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024D7F0 0024A730 7C 08 03 A6 */ mtlr r0 -/* 8024D7F4 0024A734 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024D7F8 0024A738 4E 80 00 20 */ blr - -.global setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei -setMapNodeScore__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodei: -/* 8024D7FC 0024A73C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024D800 0024A740 7C 08 02 A6 */ mflr r0 -/* 8024D804 0024A744 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024D808 0024A748 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024D80C 0024A74C 7C BF 2B 78 */ mr r31, r5 -/* 8024D810 0024A750 93 C1 00 08 */ stw r30, 8(r1) -/* 8024D814 0024A754 7C 9E 23 78 */ mr r30, r4 -/* 8024D818 0024A758 7F C3 F3 78 */ mr r3, r30 -/* 8024D81C 0024A75C 4B FF 61 91 */ bl getEnemyScore__Q34Game4Cave7MapNodeFv -/* 8024D820 0024A760 7F FF 1A 14 */ add r31, r31, r3 -/* 8024D824 0024A764 7F C3 F3 78 */ mr r3, r30 -/* 8024D828 0024A768 4B FF 61 8D */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024D82C 0024A76C 2C 03 00 00 */ cmpwi r3, 0 -/* 8024D830 0024A770 41 80 00 0C */ blt lbl_8024D83C -/* 8024D834 0024A774 7C 03 F8 00 */ cmpw r3, r31 -/* 8024D838 0024A778 40 81 00 10 */ ble lbl_8024D848 -lbl_8024D83C: -/* 8024D83C 0024A77C 7F C3 F3 78 */ mr r3, r30 -/* 8024D840 0024A780 7F E4 FB 78 */ mr r4, r31 -/* 8024D844 0024A784 4B FF 60 21 */ bl setNodeScore__Q34Game4Cave7MapNodeFi -lbl_8024D848: -/* 8024D848 0024A788 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024D84C 0024A78C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024D850 0024A790 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024D854 0024A794 7C 08 03 A6 */ mtlr r0 -/* 8024D858 0024A798 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024D85C 0024A79C 4E 80 00 20 */ blr - -.global setChallengeFixObjNormal__Q34Game4Cave12RandMapScoreFv -setChallengeFixObjNormal__Q34Game4Cave12RandMapScoreFv: -/* 8024D860 0024A7A0 94 21 E7 80 */ stwu r1, -0x1880(r1) -/* 8024D864 0024A7A4 7C 08 02 A6 */ mflr r0 -/* 8024D868 0024A7A8 90 01 18 84 */ stw r0, 0x1884(r1) -/* 8024D86C 0024A7AC BE 01 18 40 */ stmw r16, 0x1840(r1) -/* 8024D870 0024A7B0 7C 71 1B 78 */ mr r17, r3 -/* 8024D874 0024A7B4 80 63 00 04 */ lwz r3, 4(r3) -/* 8024D878 0024A7B8 80 03 00 04 */ lwz r0, 4(r3) -/* 8024D87C 0024A7BC 28 00 00 00 */ cmplwi r0, 0 -/* 8024D880 0024A7C0 40 82 03 88 */ bne lbl_8024DC08 -/* 8024D884 0024A7C4 80 03 00 08 */ lwz r0, 8(r3) -/* 8024D888 0024A7C8 28 00 00 00 */ cmplwi r0, 0 -/* 8024D88C 0024A7CC 41 82 00 08 */ beq lbl_8024D894 -/* 8024D890 0024A7D0 48 00 03 78 */ b lbl_8024DC08 -lbl_8024D894: -/* 8024D894 0024A7D4 80 D1 00 00 */ lwz r6, 0(r17) -/* 8024D898 0024A7D8 80 A2 C4 B0 */ lwz r5, lbl_8051A810@sda21(r2) -/* 8024D89C 0024A7DC 88 06 00 00 */ lbz r0, 0(r6) -/* 8024D8A0 0024A7E0 80 82 C4 B4 */ lwz r4, lbl_8051A814@sda21(r2) -/* 8024D8A4 0024A7E4 A0 62 C4 B8 */ lhz r3, lbl_8051A818@sda21(r2) -/* 8024D8A8 0024A7E8 28 00 00 00 */ cmplwi r0, 0 -/* 8024D8AC 0024A7EC 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8024D8B0 0024A7F0 83 E6 00 28 */ lwz r31, 0x28(r6) -/* 8024D8B4 0024A7F4 90 81 00 10 */ stw r4, 0x10(r1) -/* 8024D8B8 0024A7F8 B0 61 00 08 */ sth r3, 8(r1) -/* 8024D8BC 0024A7FC 41 82 00 10 */ beq lbl_8024D8CC -/* 8024D8C0 0024A800 38 00 00 00 */ li r0, 0 -/* 8024D8C4 0024A804 98 01 00 08 */ stb r0, 8(r1) -/* 8024D8C8 0024A808 48 00 00 18 */ b lbl_8024D8E0 -lbl_8024D8CC: -/* 8024D8CC 0024A80C 88 06 00 01 */ lbz r0, 1(r6) -/* 8024D8D0 0024A810 28 00 00 00 */ cmplwi r0, 0 -/* 8024D8D4 0024A814 40 82 00 0C */ bne lbl_8024D8E0 -/* 8024D8D8 0024A818 38 00 00 00 */ li r0, 0 -/* 8024D8DC 0024A81C 98 01 00 09 */ stb r0, 9(r1) -lbl_8024D8E0: -/* 8024D8E0 0024A820 3B 41 00 08 */ addi r26, r1, 8 -/* 8024D8E4 0024A824 3B 21 00 0C */ addi r25, r1, 0xc -/* 8024D8E8 0024A828 3B 00 00 00 */ li r24, 0 -lbl_8024D8EC: -/* 8024D8EC 0024A82C 88 1A 00 00 */ lbz r0, 0(r26) -/* 8024D8F0 0024A830 28 00 00 00 */ cmplwi r0, 0 -/* 8024D8F4 0024A834 41 82 03 00 */ beq lbl_8024DBF4 -/* 8024D8F8 0024A838 80 19 00 00 */ lwz r0, 0(r25) -/* 8024D8FC 0024A83C 80 71 00 04 */ lwz r3, 4(r17) -/* 8024D900 0024A840 54 00 10 3A */ slwi r0, r0, 2 -/* 8024D904 0024A844 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8024D908 0024A848 28 00 00 00 */ cmplwi r0, 0 -/* 8024D90C 0024A84C 40 82 02 E8 */ bne lbl_8024DBF4 -/* 8024D910 0024A850 3C 60 80 48 */ lis r3, lbl_8048410C@ha -/* 8024D914 0024A854 3A 00 00 00 */ li r16, 0 -/* 8024D918 0024A858 38 A3 41 0C */ addi r5, r3, lbl_8048410C@l -/* 8024D91C 0024A85C 92 01 10 20 */ stw r16, 0x1020(r1) -/* 8024D920 0024A860 80 85 00 00 */ lwz r4, 0(r5) -/* 8024D924 0024A864 3B 61 00 14 */ addi r27, r1, 0x14 -/* 8024D928 0024A868 80 65 00 04 */ lwz r3, 4(r5) -/* 8024D92C 0024A86C 3A E0 00 00 */ li r23, 0 -/* 8024D930 0024A870 80 05 00 08 */ lwz r0, 8(r5) -/* 8024D934 0024A874 3A C0 00 00 */ li r22, 0 -/* 8024D938 0024A878 90 81 00 14 */ stw r4, 0x14(r1) -/* 8024D93C 0024A87C 3A A0 00 00 */ li r21, 0 -/* 8024D940 0024A880 90 61 00 18 */ stw r3, 0x18(r1) -/* 8024D944 0024A884 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_8024D948: -/* 8024D948 0024A888 80 01 10 20 */ lwz r0, 0x1020(r1) -/* 8024D94C 0024A88C 28 00 00 00 */ cmplwi r0, 0 -/* 8024D950 0024A890 41 82 00 0C */ beq lbl_8024D95C -/* 8024D954 0024A894 2C 15 00 02 */ cmpwi r21, 2 -/* 8024D958 0024A898 40 80 01 D4 */ bge lbl_8024DB2C -lbl_8024D95C: -/* 8024D95C 0024A89C 82 9F 00 10 */ lwz r20, 0x10(r31) -/* 8024D960 0024A8A0 48 00 01 C4 */ b lbl_8024DB24 -lbl_8024D964: -/* 8024D964 0024A8A4 80 74 00 18 */ lwz r3, 0x18(r20) -/* 8024D968 0024A8A8 4B FF 52 11 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024D96C 0024A8AC 80 1B 00 00 */ lwz r0, 0(r27) -/* 8024D970 0024A8B0 7C 00 18 00 */ cmpw r0, r3 -/* 8024D974 0024A8B4 40 82 01 AC */ bne lbl_8024DB20 -/* 8024D978 0024A8B8 7E 83 A3 78 */ mr r3, r20 -/* 8024D97C 0024A8BC 4B FF 60 39 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024D980 0024A8C0 2C 03 00 00 */ cmpwi r3, 0 -/* 8024D984 0024A8C4 40 81 00 40 */ ble lbl_8024D9C4 -/* 8024D988 0024A8C8 7E 83 A3 78 */ mr r3, r20 -/* 8024D98C 0024A8CC 4B FF 60 29 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024D990 0024A8D0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024D994 0024A8D4 3C 00 43 30 */ lis r0, 0x4330 -/* 8024D998 0024A8D8 90 61 18 24 */ stw r3, 0x1824(r1) -/* 8024D99C 0024A8DC C8 42 C4 A0 */ lfd f2, lbl_8051A800@sda21(r2) -/* 8024D9A0 0024A8E0 90 01 18 20 */ stw r0, 0x1820(r1) -/* 8024D9A4 0024A8E4 C0 02 C4 BC */ lfs f0, lbl_8051A81C@sda21(r2) -/* 8024D9A8 0024A8E8 C8 21 18 20 */ lfd f1, 0x1820(r1) -/* 8024D9AC 0024A8EC EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024D9B0 0024A8F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024D9B4 0024A8F4 40 81 00 14 */ ble lbl_8024D9C8 -/* 8024D9B8 0024A8F8 FC 00 08 34 */ frsqrte f0, f1 -/* 8024D9BC 0024A8FC EC 20 00 72 */ fmuls f1, f0, f1 -/* 8024D9C0 0024A900 48 00 00 08 */ b lbl_8024D9C8 -lbl_8024D9C4: -/* 8024D9C4 0024A904 C0 22 C4 BC */ lfs f1, lbl_8051A81C@sda21(r2) -lbl_8024D9C8: -/* 8024D9C8 0024A908 FC 00 08 1E */ fctiwz f0, f1 -/* 8024D9CC 0024A90C 80 1B 00 00 */ lwz r0, 0(r27) -/* 8024D9D0 0024A910 2C 00 00 01 */ cmpwi r0, 1 -/* 8024D9D4 0024A914 D8 01 18 20 */ stfd f0, 0x1820(r1) -/* 8024D9D8 0024A918 80 61 18 24 */ lwz r3, 0x1824(r1) -/* 8024D9DC 0024A91C 3A 63 00 0A */ addi r19, r3, 0xa -/* 8024D9E0 0024A920 40 82 00 90 */ bne lbl_8024DA70 -/* 8024D9E4 0024A924 80 74 00 18 */ lwz r3, 0x18(r20) -/* 8024D9E8 0024A928 4B FF 51 D9 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024D9EC 0024A92C 28 03 00 00 */ cmplwi r3, 0 -/* 8024D9F0 0024A930 41 82 01 30 */ beq lbl_8024DB20 -/* 8024D9F4 0024A934 3B C1 10 20 */ addi r30, r1, 0x1020 -/* 8024D9F8 0024A938 3B A1 08 20 */ addi r29, r1, 0x820 -/* 8024D9FC 0024A93C 3B 81 00 20 */ addi r28, r1, 0x20 -/* 8024DA00 0024A940 82 43 00 10 */ lwz r18, 0x10(r3) -/* 8024DA04 0024A944 7F DE 82 14 */ add r30, r30, r16 -/* 8024DA08 0024A948 7F BD 82 14 */ add r29, r29, r16 -/* 8024DA0C 0024A94C 7F 9C 82 14 */ add r28, r28, r16 -/* 8024DA10 0024A950 48 00 00 54 */ b lbl_8024DA64 -lbl_8024DA14: -/* 8024DA14 0024A954 80 12 00 18 */ lwz r0, 0x18(r18) -/* 8024DA18 0024A958 2C 00 00 04 */ cmpwi r0, 4 -/* 8024DA1C 0024A95C 40 82 00 44 */ bne lbl_8024DA60 -/* 8024DA20 0024A960 7E 23 8B 78 */ mr r3, r17 -/* 8024DA24 0024A964 7E 84 A3 78 */ mr r4, r20 -/* 8024DA28 0024A968 7E 45 93 78 */ mr r5, r18 -/* 8024DA2C 0024A96C 48 00 05 79 */ bl isFixObjSet__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024DA30 0024A970 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024DA34 0024A974 41 82 00 2C */ beq lbl_8024DA60 -/* 8024DA38 0024A978 92 7C 00 00 */ stw r19, 0(r28) -/* 8024DA3C 0024A97C 3A F7 00 01 */ addi r23, r23, 1 -/* 8024DA40 0024A980 3A 10 00 04 */ addi r16, r16, 4 -/* 8024DA44 0024A984 80 1C 00 00 */ lwz r0, 0(r28) -/* 8024DA48 0024A988 3B 9C 00 04 */ addi r28, r28, 4 -/* 8024DA4C 0024A98C 92 9E 00 00 */ stw r20, 0(r30) -/* 8024DA50 0024A990 3B DE 00 04 */ addi r30, r30, 4 -/* 8024DA54 0024A994 7E D6 02 14 */ add r22, r22, r0 -/* 8024DA58 0024A998 92 5D 00 00 */ stw r18, 0(r29) -/* 8024DA5C 0024A99C 3B BD 00 04 */ addi r29, r29, 4 -lbl_8024DA60: -/* 8024DA60 0024A9A0 82 52 00 04 */ lwz r18, 4(r18) -lbl_8024DA64: -/* 8024DA64 0024A9A4 28 12 00 00 */ cmplwi r18, 0 -/* 8024DA68 0024A9A8 40 82 FF AC */ bne lbl_8024DA14 -/* 8024DA6C 0024A9AC 48 00 00 B4 */ b lbl_8024DB20 -lbl_8024DA70: -/* 8024DA70 0024A9B0 2C 00 00 00 */ cmpwi r0, 0 -/* 8024DA74 0024A9B4 40 82 00 68 */ bne lbl_8024DADC -/* 8024DA78 0024A9B8 7E 83 A3 78 */ mr r3, r20 -/* 8024DA7C 0024A9BC 4B FF 5F 49 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 8024DA80 0024A9C0 38 82 C4 C0 */ addi r4, r2, lbl_8051A820@sda21 -/* 8024DA84 0024A9C4 38 A0 00 04 */ li r5, 4 -/* 8024DA88 0024A9C8 4B E7 CB F9 */ bl strncmp -/* 8024DA8C 0024A9CC 2C 03 00 00 */ cmpwi r3, 0 -/* 8024DA90 0024A9D0 40 82 00 90 */ bne lbl_8024DB20 -/* 8024DA94 0024A9D4 7E 23 8B 78 */ mr r3, r17 -/* 8024DA98 0024A9D8 7E 84 A3 78 */ mr r4, r20 -/* 8024DA9C 0024A9DC 38 A0 00 00 */ li r5, 0 -/* 8024DAA0 0024A9E0 48 00 05 05 */ bl isFixObjSet__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024DAA4 0024A9E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024DAA8 0024A9E8 41 82 00 78 */ beq lbl_8024DB20 -/* 8024DAAC 0024A9EC 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8024DAB0 0024A9F0 38 A1 10 20 */ addi r5, r1, 0x1020 -/* 8024DAB4 0024A9F4 7E 66 81 2E */ stwx r19, r6, r16 -/* 8024DAB8 0024A9F8 38 61 08 20 */ addi r3, r1, 0x820 -/* 8024DABC 0024A9FC 38 80 00 00 */ li r4, 0 -/* 8024DAC0 0024AA00 3A F7 00 01 */ addi r23, r23, 1 -/* 8024DAC4 0024AA04 7C 06 80 2E */ lwzx r0, r6, r16 -/* 8024DAC8 0024AA08 7E 85 81 2E */ stwx r20, r5, r16 -/* 8024DACC 0024AA0C 7E D6 02 14 */ add r22, r22, r0 -/* 8024DAD0 0024AA10 7C 83 81 2E */ stwx r4, r3, r16 -/* 8024DAD4 0024AA14 3A 10 00 04 */ addi r16, r16, 4 -/* 8024DAD8 0024AA18 48 00 00 48 */ b lbl_8024DB20 -lbl_8024DADC: -/* 8024DADC 0024AA1C 7E 23 8B 78 */ mr r3, r17 -/* 8024DAE0 0024AA20 7E 84 A3 78 */ mr r4, r20 -/* 8024DAE4 0024AA24 38 A0 00 00 */ li r5, 0 -/* 8024DAE8 0024AA28 48 00 04 BD */ bl isFixObjSet__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024DAEC 0024AA2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024DAF0 0024AA30 41 82 00 30 */ beq lbl_8024DB20 -/* 8024DAF4 0024AA34 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8024DAF8 0024AA38 38 A1 10 20 */ addi r5, r1, 0x1020 -/* 8024DAFC 0024AA3C 7E 66 81 2E */ stwx r19, r6, r16 -/* 8024DB00 0024AA40 38 61 08 20 */ addi r3, r1, 0x820 -/* 8024DB04 0024AA44 38 80 00 00 */ li r4, 0 -/* 8024DB08 0024AA48 3A F7 00 01 */ addi r23, r23, 1 -/* 8024DB0C 0024AA4C 7C 06 80 2E */ lwzx r0, r6, r16 -/* 8024DB10 0024AA50 7E 85 81 2E */ stwx r20, r5, r16 -/* 8024DB14 0024AA54 7E D6 02 14 */ add r22, r22, r0 -/* 8024DB18 0024AA58 7C 83 81 2E */ stwx r4, r3, r16 -/* 8024DB1C 0024AA5C 3A 10 00 04 */ addi r16, r16, 4 -lbl_8024DB20: -/* 8024DB20 0024AA60 82 94 00 04 */ lwz r20, 4(r20) -lbl_8024DB24: -/* 8024DB24 0024AA64 28 14 00 00 */ cmplwi r20, 0 -/* 8024DB28 0024AA68 40 82 FE 3C */ bne lbl_8024D964 -lbl_8024DB2C: -/* 8024DB2C 0024AA6C 3A B5 00 01 */ addi r21, r21, 1 -/* 8024DB30 0024AA70 3B 7B 00 04 */ addi r27, r27, 4 -/* 8024DB34 0024AA74 2C 15 00 03 */ cmpwi r21, 3 -/* 8024DB38 0024AA78 41 80 FE 10 */ blt lbl_8024D948 -/* 8024DB3C 0024AA7C 2C 16 00 00 */ cmpwi r22, 0 -/* 8024DB40 0024AA80 41 82 00 B4 */ beq lbl_8024DBF4 -/* 8024DB44 0024AA84 4B E7 BA 5D */ bl rand -/* 8024DB48 0024AA88 3C 80 43 30 */ lis r4, 0x4330 -/* 8024DB4C 0024AA8C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024DB50 0024AA90 90 01 18 24 */ stw r0, 0x1824(r1) -/* 8024DB54 0024AA94 6E C0 80 00 */ xoris r0, r22, 0x8000 -/* 8024DB58 0024AA98 C8 42 C4 A0 */ lfd f2, lbl_8051A800@sda21(r2) -/* 8024DB5C 0024AA9C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8024DB60 0024AAA0 90 81 18 20 */ stw r4, 0x1820(r1) -/* 8024DB64 0024AAA4 38 C0 00 00 */ li r6, 0 -/* 8024DB68 0024AAA8 C0 02 C4 98 */ lfs f0, lbl_8051A7F8@sda21(r2) -/* 8024DB6C 0024AAAC 38 E0 00 00 */ li r7, 0 -/* 8024DB70 0024AAB0 C8 21 18 20 */ lfd f1, 0x1820(r1) -/* 8024DB74 0024AAB4 90 01 18 2C */ stw r0, 0x182c(r1) -/* 8024DB78 0024AAB8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024DB7C 0024AABC 90 81 18 28 */ stw r4, 0x1828(r1) -/* 8024DB80 0024AAC0 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024DB84 0024AAC4 C8 01 18 28 */ lfd f0, 0x1828(r1) -/* 8024DB88 0024AAC8 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024DB8C 0024AACC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024DB90 0024AAD0 FC 00 00 1E */ fctiwz f0, f0 -/* 8024DB94 0024AAD4 D8 01 18 30 */ stfd f0, 0x1830(r1) -/* 8024DB98 0024AAD8 80 61 18 34 */ lwz r3, 0x1834(r1) -/* 8024DB9C 0024AADC 7E E9 03 A6 */ mtctr r23 -/* 8024DBA0 0024AAE0 2C 17 00 00 */ cmpwi r23, 0 -/* 8024DBA4 0024AAE4 40 81 00 50 */ ble lbl_8024DBF4 -lbl_8024DBA8: -/* 8024DBA8 0024AAE8 80 05 00 00 */ lwz r0, 0(r5) -/* 8024DBAC 0024AAEC 7C C6 02 14 */ add r6, r6, r0 -/* 8024DBB0 0024AAF0 7C 06 18 00 */ cmpw r6, r3 -/* 8024DBB4 0024AAF4 40 81 00 34 */ ble lbl_8024DBE8 -/* 8024DBB8 0024AAF8 80 19 00 00 */ lwz r0, 0(r25) -/* 8024DBBC 0024AAFC 54 E7 10 3A */ slwi r7, r7, 2 -/* 8024DBC0 0024AB00 38 61 10 20 */ addi r3, r1, 0x1020 -/* 8024DBC4 0024AB04 80 B1 00 04 */ lwz r5, 4(r17) -/* 8024DBC8 0024AB08 7C C3 38 2E */ lwzx r6, r3, r7 -/* 8024DBCC 0024AB0C 54 04 10 3A */ slwi r4, r0, 2 -/* 8024DBD0 0024AB10 38 61 08 20 */ addi r3, r1, 0x820 -/* 8024DBD4 0024AB14 7C C5 21 2E */ stwx r6, r5, r4 -/* 8024DBD8 0024AB18 7C 03 38 2E */ lwzx r0, r3, r7 -/* 8024DBDC 0024AB1C 80 71 00 08 */ lwz r3, 8(r17) -/* 8024DBE0 0024AB20 7C 03 21 2E */ stwx r0, r3, r4 -/* 8024DBE4 0024AB24 48 00 00 10 */ b lbl_8024DBF4 -lbl_8024DBE8: -/* 8024DBE8 0024AB28 38 A5 00 04 */ addi r5, r5, 4 -/* 8024DBEC 0024AB2C 38 E7 00 01 */ addi r7, r7, 1 -/* 8024DBF0 0024AB30 42 00 FF B8 */ bdnz lbl_8024DBA8 -lbl_8024DBF4: -/* 8024DBF4 0024AB34 3B 18 00 01 */ addi r24, r24, 1 -/* 8024DBF8 0024AB38 3B 39 00 04 */ addi r25, r25, 4 -/* 8024DBFC 0024AB3C 2C 18 00 02 */ cmpwi r24, 2 -/* 8024DC00 0024AB40 3B 5A 00 01 */ addi r26, r26, 1 -/* 8024DC04 0024AB44 41 80 FC E8 */ blt lbl_8024D8EC -lbl_8024DC08: -/* 8024DC08 0024AB48 BA 01 18 40 */ lmw r16, 0x1840(r1) -/* 8024DC0C 0024AB4C 80 01 18 84 */ lwz r0, 0x1884(r1) -/* 8024DC10 0024AB50 7C 08 03 A6 */ mtlr r0 -/* 8024DC14 0024AB54 38 21 18 80 */ addi r1, r1, 0x1880 -/* 8024DC18 0024AB58 4E 80 00 20 */ blr - -.global setChallengeFixObjHard__Q34Game4Cave12RandMapScoreFv -setChallengeFixObjHard__Q34Game4Cave12RandMapScoreFv: -/* 8024DC1C 0024AB5C 94 21 EF 90 */ stwu r1, -0x1070(r1) -/* 8024DC20 0024AB60 7C 08 02 A6 */ mflr r0 -/* 8024DC24 0024AB64 90 01 10 74 */ stw r0, 0x1074(r1) -/* 8024DC28 0024AB68 BE 41 10 38 */ stmw r18, 0x1038(r1) -/* 8024DC2C 0024AB6C 7C 74 1B 78 */ mr r20, r3 -/* 8024DC30 0024AB70 80 63 00 04 */ lwz r3, 4(r3) -/* 8024DC34 0024AB74 80 03 00 04 */ lwz r0, 4(r3) -/* 8024DC38 0024AB78 28 00 00 00 */ cmplwi r0, 0 -/* 8024DC3C 0024AB7C 40 82 02 F0 */ bne lbl_8024DF2C -/* 8024DC40 0024AB80 80 03 00 08 */ lwz r0, 8(r3) -/* 8024DC44 0024AB84 28 00 00 00 */ cmplwi r0, 0 -/* 8024DC48 0024AB88 41 82 00 08 */ beq lbl_8024DC50 -/* 8024DC4C 0024AB8C 48 00 02 E0 */ b lbl_8024DF2C -lbl_8024DC50: -/* 8024DC50 0024AB90 80 D4 00 00 */ lwz r6, 0(r20) -/* 8024DC54 0024AB94 80 A2 C4 C8 */ lwz r5, lbl_8051A828@sda21(r2) -/* 8024DC58 0024AB98 88 06 00 00 */ lbz r0, 0(r6) -/* 8024DC5C 0024AB9C 80 82 C4 CC */ lwz r4, lbl_8051A82C@sda21(r2) -/* 8024DC60 0024ABA0 A0 62 C4 D0 */ lhz r3, lbl_8051A830@sda21(r2) -/* 8024DC64 0024ABA4 28 00 00 00 */ cmplwi r0, 0 -/* 8024DC68 0024ABA8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8024DC6C 0024ABAC 83 E6 00 28 */ lwz r31, 0x28(r6) -/* 8024DC70 0024ABB0 90 81 00 10 */ stw r4, 0x10(r1) -/* 8024DC74 0024ABB4 B0 61 00 08 */ sth r3, 8(r1) -/* 8024DC78 0024ABB8 41 82 00 10 */ beq lbl_8024DC88 -/* 8024DC7C 0024ABBC 38 00 00 00 */ li r0, 0 -/* 8024DC80 0024ABC0 98 01 00 08 */ stb r0, 8(r1) -/* 8024DC84 0024ABC4 48 00 00 18 */ b lbl_8024DC9C -lbl_8024DC88: -/* 8024DC88 0024ABC8 88 06 00 01 */ lbz r0, 1(r6) -/* 8024DC8C 0024ABCC 28 00 00 00 */ cmplwi r0, 0 -/* 8024DC90 0024ABD0 40 82 00 0C */ bne lbl_8024DC9C -/* 8024DC94 0024ABD4 38 00 00 00 */ li r0, 0 -/* 8024DC98 0024ABD8 98 01 00 09 */ stb r0, 9(r1) -lbl_8024DC9C: -/* 8024DC9C 0024ABDC 3B A1 00 08 */ addi r29, r1, 8 -/* 8024DCA0 0024ABE0 3B 81 00 0C */ addi r28, r1, 0xc -/* 8024DCA4 0024ABE4 3B 60 00 00 */ li r27, 0 -lbl_8024DCA8: -/* 8024DCA8 0024ABE8 88 1D 00 00 */ lbz r0, 0(r29) -/* 8024DCAC 0024ABEC 28 00 00 00 */ cmplwi r0, 0 -/* 8024DCB0 0024ABF0 41 82 02 68 */ beq lbl_8024DF18 -/* 8024DCB4 0024ABF4 80 1C 00 00 */ lwz r0, 0(r28) -/* 8024DCB8 0024ABF8 80 74 00 04 */ lwz r3, 4(r20) -/* 8024DCBC 0024ABFC 54 00 10 3A */ slwi r0, r0, 2 -/* 8024DCC0 0024AC00 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8024DCC4 0024AC04 28 00 00 00 */ cmplwi r0, 0 -/* 8024DCC8 0024AC08 40 82 02 50 */ bne lbl_8024DF18 -/* 8024DCCC 0024AC0C 3C 60 80 48 */ lis r3, lbl_80484118@ha -/* 8024DCD0 0024AC10 38 00 00 00 */ li r0, 0 -/* 8024DCD4 0024AC14 38 A3 41 18 */ addi r5, r3, lbl_80484118@l -/* 8024DCD8 0024AC18 90 01 08 20 */ stw r0, 0x820(r1) -/* 8024DCDC 0024AC1C 80 85 00 00 */ lwz r4, 0(r5) -/* 8024DCE0 0024AC20 3B C1 00 14 */ addi r30, r1, 0x14 -/* 8024DCE4 0024AC24 80 65 00 04 */ lwz r3, 4(r5) -/* 8024DCE8 0024AC28 3B 40 00 00 */ li r26, 0 -/* 8024DCEC 0024AC2C 80 05 00 08 */ lwz r0, 8(r5) -/* 8024DCF0 0024AC30 3B 20 FF FF */ li r25, -1 -/* 8024DCF4 0024AC34 90 81 00 14 */ stw r4, 0x14(r1) -/* 8024DCF8 0024AC38 3B 00 00 00 */ li r24, 0 -/* 8024DCFC 0024AC3C 90 61 00 18 */ stw r3, 0x18(r1) -/* 8024DD00 0024AC40 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_8024DD04: -/* 8024DD04 0024AC44 80 01 08 20 */ lwz r0, 0x820(r1) -/* 8024DD08 0024AC48 28 00 00 00 */ cmplwi r0, 0 -/* 8024DD0C 0024AC4C 41 82 00 0C */ beq lbl_8024DD18 -/* 8024DD10 0024AC50 2C 18 00 02 */ cmpwi r24, 2 -/* 8024DD14 0024AC54 40 80 01 74 */ bge lbl_8024DE88 -lbl_8024DD18: -/* 8024DD18 0024AC58 82 FF 00 10 */ lwz r23, 0x10(r31) -/* 8024DD1C 0024AC5C 48 00 01 64 */ b lbl_8024DE80 -lbl_8024DD20: -/* 8024DD20 0024AC60 80 77 00 18 */ lwz r3, 0x18(r23) -/* 8024DD24 0024AC64 4B FF 4E 55 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024DD28 0024AC68 80 1E 00 00 */ lwz r0, 0(r30) -/* 8024DD2C 0024AC6C 7C 00 18 00 */ cmpw r0, r3 -/* 8024DD30 0024AC70 40 82 01 4C */ bne lbl_8024DE7C -/* 8024DD34 0024AC74 7E E3 BB 78 */ mr r3, r23 -/* 8024DD38 0024AC78 4B FF 5C 7D */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024DD3C 0024AC7C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8024DD40 0024AC80 7C 76 1B 78 */ mr r22, r3 -/* 8024DD44 0024AC84 2C 00 00 01 */ cmpwi r0, 1 -/* 8024DD48 0024AC88 40 82 00 7C */ bne lbl_8024DDC4 -/* 8024DD4C 0024AC8C 80 77 00 18 */ lwz r3, 0x18(r23) -/* 8024DD50 0024AC90 4B FF 4E 71 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024DD54 0024AC94 28 03 00 00 */ cmplwi r3, 0 -/* 8024DD58 0024AC98 41 82 01 24 */ beq lbl_8024DE7C -/* 8024DD5C 0024AC9C 82 A3 00 10 */ lwz r21, 0x10(r3) -/* 8024DD60 0024ACA0 3A 41 08 20 */ addi r18, r1, 0x820 -/* 8024DD64 0024ACA4 3A 61 00 20 */ addi r19, r1, 0x20 -/* 8024DD68 0024ACA8 48 00 00 50 */ b lbl_8024DDB8 -lbl_8024DD6C: -/* 8024DD6C 0024ACAC 80 15 00 18 */ lwz r0, 0x18(r21) -/* 8024DD70 0024ACB0 2C 00 00 04 */ cmpwi r0, 4 -/* 8024DD74 0024ACB4 40 82 00 40 */ bne lbl_8024DDB4 -/* 8024DD78 0024ACB8 7E 83 A3 78 */ mr r3, r20 -/* 8024DD7C 0024ACBC 7E E4 BB 78 */ mr r4, r23 -/* 8024DD80 0024ACC0 7E A5 AB 78 */ mr r5, r21 -/* 8024DD84 0024ACC4 48 00 02 21 */ bl isFixObjSet__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024DD88 0024ACC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024DD8C 0024ACCC 41 82 00 28 */ beq lbl_8024DDB4 -/* 8024DD90 0024ACD0 7C 16 C8 00 */ cmpw r22, r25 -/* 8024DD94 0024ACD4 41 80 00 20 */ blt lbl_8024DDB4 -/* 8024DD98 0024ACD8 40 81 00 0C */ ble lbl_8024DDA4 -/* 8024DD9C 0024ACDC 3B 40 00 00 */ li r26, 0 -/* 8024DDA0 0024ACE0 7E D9 B3 78 */ mr r25, r22 -lbl_8024DDA4: -/* 8024DDA4 0024ACE4 57 40 10 3A */ slwi r0, r26, 2 -/* 8024DDA8 0024ACE8 3B 5A 00 01 */ addi r26, r26, 1 -/* 8024DDAC 0024ACEC 7E F2 01 2E */ stwx r23, r18, r0 -/* 8024DDB0 0024ACF0 7E B3 01 2E */ stwx r21, r19, r0 -lbl_8024DDB4: -/* 8024DDB4 0024ACF4 82 B5 00 04 */ lwz r21, 4(r21) -lbl_8024DDB8: -/* 8024DDB8 0024ACF8 28 15 00 00 */ cmplwi r21, 0 -/* 8024DDBC 0024ACFC 40 82 FF B0 */ bne lbl_8024DD6C -/* 8024DDC0 0024AD00 48 00 00 BC */ b lbl_8024DE7C -lbl_8024DDC4: -/* 8024DDC4 0024AD04 2C 00 00 00 */ cmpwi r0, 0 -/* 8024DDC8 0024AD08 40 82 00 6C */ bne lbl_8024DE34 -/* 8024DDCC 0024AD0C 7E E3 BB 78 */ mr r3, r23 -/* 8024DDD0 0024AD10 4B FF 5B F5 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 8024DDD4 0024AD14 38 82 C4 C0 */ addi r4, r2, lbl_8051A820@sda21 -/* 8024DDD8 0024AD18 38 A0 00 04 */ li r5, 4 -/* 8024DDDC 0024AD1C 4B E7 C8 A5 */ bl strncmp -/* 8024DDE0 0024AD20 2C 03 00 00 */ cmpwi r3, 0 -/* 8024DDE4 0024AD24 40 82 00 98 */ bne lbl_8024DE7C -/* 8024DDE8 0024AD28 7E 83 A3 78 */ mr r3, r20 -/* 8024DDEC 0024AD2C 7E E4 BB 78 */ mr r4, r23 -/* 8024DDF0 0024AD30 38 A0 00 00 */ li r5, 0 -/* 8024DDF4 0024AD34 48 00 01 B1 */ bl isFixObjSet__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024DDF8 0024AD38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024DDFC 0024AD3C 41 82 00 80 */ beq lbl_8024DE7C -/* 8024DE00 0024AD40 7C 16 C8 00 */ cmpw r22, r25 -/* 8024DE04 0024AD44 41 80 00 78 */ blt lbl_8024DE7C -/* 8024DE08 0024AD48 40 81 00 0C */ ble lbl_8024DE14 -/* 8024DE0C 0024AD4C 3B 40 00 00 */ li r26, 0 -/* 8024DE10 0024AD50 7E D9 B3 78 */ mr r25, r22 -lbl_8024DE14: -/* 8024DE14 0024AD54 57 45 10 3A */ slwi r5, r26, 2 -/* 8024DE18 0024AD58 38 81 08 20 */ addi r4, r1, 0x820 -/* 8024DE1C 0024AD5C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8024DE20 0024AD60 38 00 00 00 */ li r0, 0 -/* 8024DE24 0024AD64 7E E4 29 2E */ stwx r23, r4, r5 -/* 8024DE28 0024AD68 3B 5A 00 01 */ addi r26, r26, 1 -/* 8024DE2C 0024AD6C 7C 03 29 2E */ stwx r0, r3, r5 -/* 8024DE30 0024AD70 48 00 00 4C */ b lbl_8024DE7C -lbl_8024DE34: -/* 8024DE34 0024AD74 7E 83 A3 78 */ mr r3, r20 -/* 8024DE38 0024AD78 7E E4 BB 78 */ mr r4, r23 -/* 8024DE3C 0024AD7C 38 A0 00 00 */ li r5, 0 -/* 8024DE40 0024AD80 48 00 01 65 */ bl isFixObjSet__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 8024DE44 0024AD84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024DE48 0024AD88 41 82 00 34 */ beq lbl_8024DE7C -/* 8024DE4C 0024AD8C 7C 16 C8 00 */ cmpw r22, r25 -/* 8024DE50 0024AD90 41 80 00 2C */ blt lbl_8024DE7C -/* 8024DE54 0024AD94 40 81 00 0C */ ble lbl_8024DE60 -/* 8024DE58 0024AD98 3B 40 00 00 */ li r26, 0 -/* 8024DE5C 0024AD9C 7E D9 B3 78 */ mr r25, r22 -lbl_8024DE60: -/* 8024DE60 0024ADA0 57 45 10 3A */ slwi r5, r26, 2 -/* 8024DE64 0024ADA4 38 81 08 20 */ addi r4, r1, 0x820 -/* 8024DE68 0024ADA8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8024DE6C 0024ADAC 38 00 00 00 */ li r0, 0 -/* 8024DE70 0024ADB0 7E E4 29 2E */ stwx r23, r4, r5 -/* 8024DE74 0024ADB4 3B 5A 00 01 */ addi r26, r26, 1 -/* 8024DE78 0024ADB8 7C 03 29 2E */ stwx r0, r3, r5 -lbl_8024DE7C: -/* 8024DE7C 0024ADBC 82 F7 00 04 */ lwz r23, 4(r23) -lbl_8024DE80: -/* 8024DE80 0024ADC0 28 17 00 00 */ cmplwi r23, 0 -/* 8024DE84 0024ADC4 40 82 FE 9C */ bne lbl_8024DD20 -lbl_8024DE88: -/* 8024DE88 0024ADC8 3B 18 00 01 */ addi r24, r24, 1 -/* 8024DE8C 0024ADCC 3B DE 00 04 */ addi r30, r30, 4 -/* 8024DE90 0024ADD0 2C 18 00 03 */ cmpwi r24, 3 -/* 8024DE94 0024ADD4 41 80 FE 70 */ blt lbl_8024DD04 -/* 8024DE98 0024ADD8 2C 1A 00 00 */ cmpwi r26, 0 -/* 8024DE9C 0024ADDC 41 82 00 7C */ beq lbl_8024DF18 -/* 8024DEA0 0024ADE0 4B E7 B7 01 */ bl rand -/* 8024DEA4 0024ADE4 3C E0 43 30 */ lis r7, 0x4330 -/* 8024DEA8 0024ADE8 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024DEAC 0024ADEC 90 01 10 24 */ stw r0, 0x1024(r1) -/* 8024DEB0 0024ADF0 6F 45 80 00 */ xoris r5, r26, 0x8000 -/* 8024DEB4 0024ADF4 80 1C 00 00 */ lwz r0, 0(r28) -/* 8024DEB8 0024ADF8 38 C1 08 20 */ addi r6, r1, 0x820 -/* 8024DEBC 0024ADFC 90 E1 10 20 */ stw r7, 0x1020(r1) -/* 8024DEC0 0024AE00 38 61 00 20 */ addi r3, r1, 0x20 -/* 8024DEC4 0024AE04 C8 42 C4 A0 */ lfd f2, lbl_8051A800@sda21(r2) -/* 8024DEC8 0024AE08 54 04 10 3A */ slwi r4, r0, 2 -/* 8024DECC 0024AE0C C8 21 10 20 */ lfd f1, 0x1020(r1) -/* 8024DED0 0024AE10 C0 02 C4 98 */ lfs f0, lbl_8051A7F8@sda21(r2) -/* 8024DED4 0024AE14 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024DED8 0024AE18 90 A1 10 2C */ stw r5, 0x102c(r1) -/* 8024DEDC 0024AE1C 80 B4 00 04 */ lwz r5, 4(r20) -/* 8024DEE0 0024AE20 90 E1 10 28 */ stw r7, 0x1028(r1) -/* 8024DEE4 0024AE24 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024DEE8 0024AE28 C8 01 10 28 */ lfd f0, 0x1028(r1) -/* 8024DEEC 0024AE2C EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024DEF0 0024AE30 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024DEF4 0024AE34 FC 00 00 1E */ fctiwz f0, f0 -/* 8024DEF8 0024AE38 D8 01 10 30 */ stfd f0, 0x1030(r1) -/* 8024DEFC 0024AE3C 80 01 10 34 */ lwz r0, 0x1034(r1) -/* 8024DF00 0024AE40 54 00 10 3A */ slwi r0, r0, 2 -/* 8024DF04 0024AE44 7C C6 00 2E */ lwzx r6, r6, r0 -/* 8024DF08 0024AE48 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8024DF0C 0024AE4C 7C C5 21 2E */ stwx r6, r5, r4 -/* 8024DF10 0024AE50 80 74 00 08 */ lwz r3, 8(r20) -/* 8024DF14 0024AE54 7C 03 21 2E */ stwx r0, r3, r4 -lbl_8024DF18: -/* 8024DF18 0024AE58 3B 7B 00 01 */ addi r27, r27, 1 -/* 8024DF1C 0024AE5C 3B 9C 00 04 */ addi r28, r28, 4 -/* 8024DF20 0024AE60 2C 1B 00 02 */ cmpwi r27, 2 -/* 8024DF24 0024AE64 3B BD 00 01 */ addi r29, r29, 1 -/* 8024DF28 0024AE68 41 80 FD 80 */ blt lbl_8024DCA8 -lbl_8024DF2C: -/* 8024DF2C 0024AE6C BA 41 10 38 */ lmw r18, 0x1038(r1) -/* 8024DF30 0024AE70 80 01 10 74 */ lwz r0, 0x1074(r1) -/* 8024DF34 0024AE74 7C 08 03 A6 */ mtlr r0 -/* 8024DF38 0024AE78 38 21 10 70 */ addi r1, r1, 0x1070 -/* 8024DF3C 0024AE7C 4E 80 00 20 */ blr - -.global isGoalSetHard__Q34Game4Cave12RandMapScoreFv -isGoalSetHard__Q34Game4Cave12RandMapScoreFv: -/* 8024DF40 0024AE80 80 63 00 00 */ lwz r3, 0(r3) -/* 8024DF44 0024AE84 80 03 00 04 */ lwz r0, 4(r3) -/* 8024DF48 0024AE88 2C 00 00 02 */ cmpwi r0, 2 -/* 8024DF4C 0024AE8C 41 82 00 38 */ beq lbl_8024DF84 -/* 8024DF50 0024AE90 40 80 00 14 */ bge lbl_8024DF64 -/* 8024DF54 0024AE94 2C 00 00 00 */ cmpwi r0, 0 -/* 8024DF58 0024AE98 41 82 00 1C */ beq lbl_8024DF74 -/* 8024DF5C 0024AE9C 40 80 00 20 */ bge lbl_8024DF7C -/* 8024DF60 0024AEA0 48 00 00 3C */ b lbl_8024DF9C -lbl_8024DF64: -/* 8024DF64 0024AEA4 2C 00 00 04 */ cmpwi r0, 4 -/* 8024DF68 0024AEA8 41 82 00 2C */ beq lbl_8024DF94 -/* 8024DF6C 0024AEAC 40 80 00 30 */ bge lbl_8024DF9C -/* 8024DF70 0024AEB0 48 00 00 1C */ b lbl_8024DF8C -lbl_8024DF74: -/* 8024DF74 0024AEB4 38 60 00 00 */ li r3, 0 -/* 8024DF78 0024AEB8 4E 80 00 20 */ blr -lbl_8024DF7C: -/* 8024DF7C 0024AEBC 38 60 00 01 */ li r3, 1 -/* 8024DF80 0024AEC0 4E 80 00 20 */ blr -lbl_8024DF84: -/* 8024DF84 0024AEC4 38 60 00 00 */ li r3, 0 -/* 8024DF88 0024AEC8 4E 80 00 20 */ blr -lbl_8024DF8C: -/* 8024DF8C 0024AECC 38 60 00 01 */ li r3, 1 -/* 8024DF90 0024AED0 4E 80 00 20 */ blr -lbl_8024DF94: -/* 8024DF94 0024AED4 38 60 00 01 */ li r3, 1 -/* 8024DF98 0024AED8 4E 80 00 20 */ blr -lbl_8024DF9C: -/* 8024DF9C 0024AEDC 38 60 00 00 */ li r3, 0 -/* 8024DFA0 0024AEE0 4E 80 00 20 */ blr - -.global isFixObjSet__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -isFixObjSet__Q34Game4Cave12RandMapScoreFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen: -/* 8024DFA4 0024AEE4 80 E3 00 04 */ lwz r7, 4(r3) -/* 8024DFA8 0024AEE8 80 07 00 00 */ lwz r0, 0(r7) -/* 8024DFAC 0024AEEC 7C 04 00 40 */ cmplw r4, r0 -/* 8024DFB0 0024AEF0 40 82 00 84 */ bne lbl_8024E034 -/* 8024DFB4 0024AEF4 28 05 00 00 */ cmplwi r5, 0 -/* 8024DFB8 0024AEF8 41 82 00 7C */ beq lbl_8024E034 -/* 8024DFBC 0024AEFC 80 C3 00 08 */ lwz r6, 8(r3) -/* 8024DFC0 0024AF00 80 C6 00 00 */ lwz r6, 0(r6) -/* 8024DFC4 0024AF04 28 06 00 00 */ cmplwi r6, 0 -/* 8024DFC8 0024AF08 41 82 00 6C */ beq lbl_8024E034 -/* 8024DFCC 0024AF0C C0 26 00 20 */ lfs f1, 0x20(r6) -/* 8024DFD0 0024AF10 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 8024DFD4 0024AF14 C0 66 00 1C */ lfs f3, 0x1c(r6) -/* 8024DFD8 0024AF18 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8024DFDC 0024AF1C C0 45 00 1C */ lfs f2, 0x1c(r5) -/* 8024DFE0 0024AF20 C0 26 00 24 */ lfs f1, 0x24(r6) -/* 8024DFE4 0024AF24 C0 05 00 24 */ lfs f0, 0x24(r5) -/* 8024DFE8 0024AF28 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8024DFEC 0024AF2C EC 84 01 32 */ fmuls f4, f4, f4 -/* 8024DFF0 0024AF30 EC 41 00 28 */ fsubs f2, f1, f0 -/* 8024DFF4 0024AF34 C0 02 C4 BC */ lfs f0, lbl_8051A81C@sda21(r2) -/* 8024DFF8 0024AF38 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 8024DFFC 0024AF3C EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8024E000 0024AF40 EC 22 08 2A */ fadds f1, f2, f1 -/* 8024E004 0024AF44 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024E008 0024AF48 40 81 00 14 */ ble lbl_8024E01C -/* 8024E00C 0024AF4C 40 81 00 14 */ ble lbl_8024E020 -/* 8024E010 0024AF50 FC 00 08 34 */ frsqrte f0, f1 -/* 8024E014 0024AF54 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8024E018 0024AF58 48 00 00 08 */ b lbl_8024E020 -lbl_8024E01C: -/* 8024E01C 0024AF5C FC 20 00 90 */ fmr f1, f0 -lbl_8024E020: -/* 8024E020 0024AF60 C0 02 C4 D4 */ lfs f0, lbl_8051A834@sda21(r2) -/* 8024E024 0024AF64 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024E028 0024AF68 40 80 00 0C */ bge lbl_8024E034 -/* 8024E02C 0024AF6C 38 60 00 00 */ li r3, 0 -/* 8024E030 0024AF70 4E 80 00 20 */ blr -lbl_8024E034: -/* 8024E034 0024AF74 80 07 00 04 */ lwz r0, 4(r7) -/* 8024E038 0024AF78 7C 04 00 40 */ cmplw r4, r0 -/* 8024E03C 0024AF7C 40 82 00 1C */ bne lbl_8024E058 -/* 8024E040 0024AF80 80 C3 00 08 */ lwz r6, 8(r3) -/* 8024E044 0024AF84 80 06 00 04 */ lwz r0, 4(r6) -/* 8024E048 0024AF88 7C 05 00 40 */ cmplw r5, r0 -/* 8024E04C 0024AF8C 40 82 00 0C */ bne lbl_8024E058 -/* 8024E050 0024AF90 38 60 00 00 */ li r3, 0 -/* 8024E054 0024AF94 4E 80 00 20 */ blr -lbl_8024E058: -/* 8024E058 0024AF98 80 07 00 08 */ lwz r0, 8(r7) -/* 8024E05C 0024AF9C 7C 04 00 40 */ cmplw r4, r0 -/* 8024E060 0024AFA0 40 82 00 1C */ bne lbl_8024E07C -/* 8024E064 0024AFA4 80 C3 00 08 */ lwz r6, 8(r3) -/* 8024E068 0024AFA8 80 06 00 08 */ lwz r0, 8(r6) -/* 8024E06C 0024AFAC 7C 05 00 40 */ cmplw r5, r0 -/* 8024E070 0024AFB0 40 82 00 0C */ bne lbl_8024E07C -/* 8024E074 0024AFB4 38 60 00 00 */ li r3, 0 -/* 8024E078 0024AFB8 4E 80 00 20 */ blr -lbl_8024E07C: -/* 8024E07C 0024AFBC 80 07 00 0C */ lwz r0, 0xc(r7) -/* 8024E080 0024AFC0 7C 04 00 40 */ cmplw r4, r0 -/* 8024E084 0024AFC4 40 82 00 1C */ bne lbl_8024E0A0 -/* 8024E088 0024AFC8 80 C3 00 08 */ lwz r6, 8(r3) -/* 8024E08C 0024AFCC 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8024E090 0024AFD0 7C 05 00 40 */ cmplw r5, r0 -/* 8024E094 0024AFD4 40 82 00 0C */ bne lbl_8024E0A0 -/* 8024E098 0024AFD8 38 60 00 00 */ li r3, 0 -/* 8024E09C 0024AFDC 4E 80 00 20 */ blr -lbl_8024E0A0: -/* 8024E0A0 0024AFE0 80 07 00 10 */ lwz r0, 0x10(r7) -/* 8024E0A4 0024AFE4 7C 04 00 40 */ cmplw r4, r0 -/* 8024E0A8 0024AFE8 40 82 00 1C */ bne lbl_8024E0C4 -/* 8024E0AC 0024AFEC 80 C3 00 08 */ lwz r6, 8(r3) -/* 8024E0B0 0024AFF0 80 06 00 10 */ lwz r0, 0x10(r6) -/* 8024E0B4 0024AFF4 7C 05 00 40 */ cmplw r5, r0 -/* 8024E0B8 0024AFF8 40 82 00 0C */ bne lbl_8024E0C4 -/* 8024E0BC 0024AFFC 38 60 00 00 */ li r3, 0 -/* 8024E0C0 0024B000 4E 80 00 20 */ blr -lbl_8024E0C4: -/* 8024E0C4 0024B004 38 60 00 01 */ li r3, 1 -/* 8024E0C8 0024B008 4E 80 00 20 */ blr - -.global __dt__Q34Game4Cave10FixObjNodeFv -__dt__Q34Game4Cave10FixObjNodeFv: -/* 8024E0CC 0024B00C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024E0D0 0024B010 7C 08 02 A6 */ mflr r0 -/* 8024E0D4 0024B014 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024E0D8 0024B018 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024E0DC 0024B01C 7C 9F 23 78 */ mr r31, r4 -/* 8024E0E0 0024B020 93 C1 00 08 */ stw r30, 8(r1) -/* 8024E0E4 0024B024 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024E0E8 0024B028 41 82 00 38 */ beq lbl_8024E120 -/* 8024E0EC 0024B02C 3C 80 80 4C */ lis r4, __vt__Q34Game4Cave10FixObjNode@ha -/* 8024E0F0 0024B030 38 04 1B 18 */ addi r0, r4, __vt__Q34Game4Cave10FixObjNode@l -/* 8024E0F4 0024B034 90 1E 00 00 */ stw r0, 0(r30) -/* 8024E0F8 0024B038 41 82 00 18 */ beq lbl_8024E110 -/* 8024E0FC 0024B03C 3C A0 80 4C */ lis r5, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024E100 0024B040 38 80 00 00 */ li r4, 0 -/* 8024E104 0024B044 38 05 1A A8 */ addi r0, r5, __vt__Q24Game16ObjectLayoutNode@l -/* 8024E108 0024B048 90 1E 00 00 */ stw r0, 0(r30) -/* 8024E10C 0024B04C 48 1C 34 7D */ bl __dt__5CNodeFv -lbl_8024E110: -/* 8024E110 0024B050 7F E0 07 35 */ extsh. r0, r31 -/* 8024E114 0024B054 40 81 00 0C */ ble lbl_8024E120 -/* 8024E118 0024B058 7F C3 F3 78 */ mr r3, r30 -/* 8024E11C 0024B05C 4B DD 5F 99 */ bl __dl__FPv -lbl_8024E120: -/* 8024E120 0024B060 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024E124 0024B064 7F C3 F3 78 */ mr r3, r30 -/* 8024E128 0024B068 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024E12C 0024B06C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024E130 0024B070 7C 08 03 A6 */ mtlr r0 -/* 8024E134 0024B074 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024E138 0024B078 4E 80 00 20 */ blr - -.global getObjectId__Q34Game4Cave10FixObjNodeFv -getObjectId__Q34Game4Cave10FixObjNodeFv: -/* 8024E13C 0024B07C 38 60 00 01 */ li r3, 1 -/* 8024E140 0024B080 4E 80 00 20 */ blr - -.global getObjectType__Q34Game4Cave10FixObjNodeFv -getObjectType__Q34Game4Cave10FixObjNodeFv: -/* 8024E144 0024B084 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8024E148 0024B088 4E 80 00 20 */ blr - -.global getBirthCount__Q34Game4Cave10FixObjNodeFv -getBirthCount__Q34Game4Cave10FixObjNodeFv: -/* 8024E14C 0024B08C 38 60 00 01 */ li r3, 1 -/* 8024E150 0024B090 4E 80 00 20 */ blr - -.global getDirection__Q34Game4Cave10FixObjNodeFv -getDirection__Q34Game4Cave10FixObjNodeFv: -/* 8024E154 0024B094 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8024E158 0024B098 4E 80 00 20 */ blr - -.global getBirthPosition__Q34Game4Cave10FixObjNodeFRfRf -getBirthPosition__Q34Game4Cave10FixObjNodeFRfRf: -/* 8024E15C 0024B09C C0 03 00 20 */ lfs f0, 0x20(r3) -/* 8024E160 0024B0A0 D0 04 00 00 */ stfs f0, 0(r4) -/* 8024E164 0024B0A4 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8024E168 0024B0A8 D0 05 00 00 */ stfs f0, 0(r5) -/* 8024E16C 0024B0AC 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave8ItemNodeFv -__ct__Q34Game4Cave8ItemNodeFv: -/* 8024E170 0024B0B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024E174 0024B0B4 7C 08 02 A6 */ mflr r0 -/* 8024E178 0024B0B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024E17C 0024B0BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024E180 0024B0C0 7C 7F 1B 78 */ mr r31, r3 -/* 8024E184 0024B0C4 48 1C 32 0D */ bl __ct__5CNodeFv -/* 8024E188 0024B0C8 3C 80 80 4C */ lis r4, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024E18C 0024B0CC 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave8ItemNode@ha -/* 8024E190 0024B0D0 38 84 1A A8 */ addi r4, r4, __vt__Q24Game16ObjectLayoutNode@l -/* 8024E194 0024B0D4 38 00 00 00 */ li r0, 0 -/* 8024E198 0024B0D8 90 9F 00 00 */ stw r4, 0(r31) -/* 8024E19C 0024B0DC 38 83 1B 48 */ addi r4, r3, __vt__Q34Game4Cave8ItemNode@l -/* 8024E1A0 0024B0E0 C0 02 C4 D8 */ lfs f0, lbl_8051A838@sda21(r2) -/* 8024E1A4 0024B0E4 7F E3 FB 78 */ mr r3, r31 -/* 8024E1A8 0024B0E8 90 9F 00 00 */ stw r4, 0(r31) -/* 8024E1AC 0024B0EC 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8024E1B0 0024B0F0 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8024E1B4 0024B0F4 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8024E1B8 0024B0F8 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8024E1BC 0024B0FC D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 8024E1C0 0024B100 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 8024E1C4 0024B104 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 8024E1C8 0024B108 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024E1CC 0024B10C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024E1D0 0024B110 7C 08 03 A6 */ mtlr r0 -/* 8024E1D4 0024B114 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024E1D8 0024B118 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave8ItemNodeFPQ34Game4Cave8ItemUnitPQ34Game4Cave7BaseGeni -__ct__Q34Game4Cave8ItemNodeFPQ34Game4Cave8ItemUnitPQ34Game4Cave7BaseGeni: -/* 8024E1DC 0024B11C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024E1E0 0024B120 7C 08 02 A6 */ mflr r0 -/* 8024E1E4 0024B124 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024E1E8 0024B128 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024E1EC 0024B12C 7C DF 33 78 */ mr r31, r6 -/* 8024E1F0 0024B130 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024E1F4 0024B134 7C BE 2B 78 */ mr r30, r5 -/* 8024E1F8 0024B138 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024E1FC 0024B13C 7C 9D 23 78 */ mr r29, r4 -/* 8024E200 0024B140 93 81 00 10 */ stw r28, 0x10(r1) -/* 8024E204 0024B144 7C 7C 1B 78 */ mr r28, r3 -/* 8024E208 0024B148 48 1C 31 89 */ bl __ct__5CNodeFv -/* 8024E20C 0024B14C 3C 80 80 4C */ lis r4, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024E210 0024B150 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave8ItemNode@ha -/* 8024E214 0024B154 38 04 1A A8 */ addi r0, r4, __vt__Q24Game16ObjectLayoutNode@l -/* 8024E218 0024B158 C0 02 C4 D8 */ lfs f0, lbl_8051A838@sda21(r2) -/* 8024E21C 0024B15C 90 1C 00 00 */ stw r0, 0(r28) -/* 8024E220 0024B160 38 03 1B 48 */ addi r0, r3, __vt__Q34Game4Cave8ItemNode@l -/* 8024E224 0024B164 7F 83 E3 78 */ mr r3, r28 -/* 8024E228 0024B168 90 1C 00 00 */ stw r0, 0(r28) -/* 8024E22C 0024B16C 93 BC 00 18 */ stw r29, 0x18(r28) -/* 8024E230 0024B170 93 DC 00 1C */ stw r30, 0x1c(r28) -/* 8024E234 0024B174 93 FC 00 20 */ stw r31, 0x20(r28) -/* 8024E238 0024B178 D0 1C 00 24 */ stfs f0, 0x24(r28) -/* 8024E23C 0024B17C D0 1C 00 30 */ stfs f0, 0x30(r28) -/* 8024E240 0024B180 D0 1C 00 2C */ stfs f0, 0x2c(r28) -/* 8024E244 0024B184 D0 1C 00 28 */ stfs f0, 0x28(r28) -/* 8024E248 0024B188 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024E24C 0024B18C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024E250 0024B190 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024E254 0024B194 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8024E258 0024B198 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024E25C 0024B19C 7C 08 03 A6 */ mtlr r0 -/* 8024E260 0024B1A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024E264 0024B1A4 4E 80 00 20 */ blr - -.global makeGlobalData__Q34Game4Cave8ItemNodeFPQ34Game4Cave7MapNode -makeGlobalData__Q34Game4Cave8ItemNodeFPQ34Game4Cave7MapNode: -/* 8024E268 0024B1A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024E26C 0024B1AC 7C 08 02 A6 */ mflr r0 -/* 8024E270 0024B1B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024E274 0024B1B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024E278 0024B1B8 7C 9F 23 78 */ mr r31, r4 -/* 8024E27C 0024B1BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024E280 0024B1C0 7C 7E 1B 78 */ mr r30, r3 -/* 8024E284 0024B1C4 80 A3 00 1C */ lwz r5, 0x1c(r3) -/* 8024E288 0024B1C8 38 61 00 08 */ addi r3, r1, 8 -/* 8024E28C 0024B1CC 4B FF 58 51 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024E290 0024B1D0 C0 01 00 08 */ lfs f0, 8(r1) -/* 8024E294 0024B1D4 7F E3 FB 78 */ mr r3, r31 -/* 8024E298 0024B1D8 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 8024E29C 0024B1DC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8024E2A0 0024B1E0 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 8024E2A4 0024B1E4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8024E2A8 0024B1E8 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 8024E2AC 0024B1EC 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 8024E2B0 0024B1F0 4B FF 5C 4D */ bl getBaseGenGlobalDirection__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024E2B4 0024B1F4 D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 8024E2B8 0024B1F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024E2BC 0024B1FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024E2C0 0024B200 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024E2C4 0024B204 7C 08 03 A6 */ mtlr r0 -/* 8024E2C8 0024B208 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024E2CC 0024B20C 4E 80 00 20 */ blr - -.global getObjectId__Q34Game4Cave8ItemNodeFv -getObjectId__Q34Game4Cave8ItemNodeFv: -/* 8024E2D0 0024B210 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8024E2D4 0024B214 80 63 00 00 */ lwz r3, 0(r3) -/* 8024E2D8 0024B218 28 03 00 00 */ cmplwi r3, 0 -/* 8024E2DC 0024B21C 41 82 00 0C */ beq lbl_8024E2E8 -/* 8024E2E0 0024B220 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8024E2E4 0024B224 4E 80 00 20 */ blr -lbl_8024E2E8: -/* 8024E2E8 0024B228 38 60 FF FF */ li r3, -1 -/* 8024E2EC 0024B22C 4E 80 00 20 */ blr - -.global getObjectType__Q34Game4Cave8ItemNodeFv -getObjectType__Q34Game4Cave8ItemNodeFv: -/* 8024E2F0 0024B230 38 60 00 01 */ li r3, 1 -/* 8024E2F4 0024B234 4E 80 00 20 */ blr - -.global getBirthCount__Q34Game4Cave8ItemNodeFv -getBirthCount__Q34Game4Cave8ItemNodeFv: -/* 8024E2F8 0024B238 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8024E2FC 0024B23C 4E 80 00 20 */ blr - -.global getBirthPosition__Q34Game4Cave8ItemNodeFRfRf -getBirthPosition__Q34Game4Cave8ItemNodeFRfRf: -/* 8024E300 0024B240 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8024E304 0024B244 D0 04 00 00 */ stfs f0, 0(r4) -/* 8024E308 0024B248 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 8024E30C 0024B24C D0 05 00 00 */ stfs f0, 0(r5) -/* 8024E310 0024B250 4E 80 00 20 */ blr - -.global getDirection__Q34Game4Cave8ItemNodeFv -getDirection__Q34Game4Cave8ItemNodeFv: -/* 8024E314 0024B254 C0 23 00 24 */ lfs f1, 0x24(r3) -/* 8024E318 0024B258 4E 80 00 20 */ blr - -.global __dt__Q34Game4Cave8ItemNodeFv -__dt__Q34Game4Cave8ItemNodeFv: -/* 8024E31C 0024B25C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024E320 0024B260 7C 08 02 A6 */ mflr r0 -/* 8024E324 0024B264 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024E328 0024B268 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024E32C 0024B26C 7C 9F 23 78 */ mr r31, r4 -/* 8024E330 0024B270 93 C1 00 08 */ stw r30, 8(r1) -/* 8024E334 0024B274 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024E338 0024B278 41 82 00 38 */ beq lbl_8024E370 -/* 8024E33C 0024B27C 3C 80 80 4C */ lis r4, __vt__Q34Game4Cave8ItemNode@ha -/* 8024E340 0024B280 38 04 1B 48 */ addi r0, r4, __vt__Q34Game4Cave8ItemNode@l -/* 8024E344 0024B284 90 1E 00 00 */ stw r0, 0(r30) -/* 8024E348 0024B288 41 82 00 18 */ beq lbl_8024E360 -/* 8024E34C 0024B28C 3C A0 80 4C */ lis r5, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024E350 0024B290 38 80 00 00 */ li r4, 0 -/* 8024E354 0024B294 38 05 1A A8 */ addi r0, r5, __vt__Q24Game16ObjectLayoutNode@l -/* 8024E358 0024B298 90 1E 00 00 */ stw r0, 0(r30) -/* 8024E35C 0024B29C 48 1C 32 2D */ bl __dt__5CNodeFv -lbl_8024E360: -/* 8024E360 0024B2A0 7F E0 07 35 */ extsh. r0, r31 -/* 8024E364 0024B2A4 40 81 00 0C */ ble lbl_8024E370 -/* 8024E368 0024B2A8 7F C3 F3 78 */ mr r3, r30 -/* 8024E36C 0024B2AC 4B DD 5D 49 */ bl __dl__FPv -lbl_8024E370: -/* 8024E370 0024B2B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024E374 0024B2B4 7F C3 F3 78 */ mr r3, r30 -/* 8024E378 0024B2B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024E37C 0024B2BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024E380 0024B2C0 7C 08 03 A6 */ mtlr r0 -/* 8024E384 0024B2C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024E388 0024B2C8 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave12RandItemUnitFPQ34Game4Cave16MapUnitGenerator -__ct__Q34Game4Cave12RandItemUnitFPQ34Game4Cave16MapUnitGenerator: -/* 8024E38C 0024B2CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024E390 0024B2D0 7C 08 02 A6 */ mflr r0 -/* 8024E394 0024B2D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024E398 0024B2D8 38 00 00 00 */ li r0, 0 -/* 8024E39C 0024B2DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024E3A0 0024B2E0 7C 7F 1B 78 */ mr r31, r3 -/* 8024E3A4 0024B2E4 90 83 00 08 */ stw r4, 8(r3) -/* 8024E3A8 0024B2E8 90 03 00 00 */ stw r0, 0(r3) -/* 8024E3AC 0024B2EC 80 63 00 08 */ lwz r3, 8(r3) -/* 8024E3B0 0024B2F0 80 63 00 08 */ lwz r3, 8(r3) -/* 8024E3B4 0024B2F4 28 03 00 00 */ cmplwi r3, 0 -/* 8024E3B8 0024B2F8 41 82 00 10 */ beq lbl_8024E3C8 -/* 8024E3BC 0024B2FC 4B F8 8A 15 */ bl getItemMax__Q34Game4Cave9FloorInfoFv -/* 8024E3C0 0024B300 90 7F 00 04 */ stw r3, 4(r31) -/* 8024E3C4 0024B304 48 00 00 08 */ b lbl_8024E3CC -lbl_8024E3C8: -/* 8024E3C8 0024B308 90 1F 00 04 */ stw r0, 4(r31) -lbl_8024E3CC: -/* 8024E3CC 0024B30C 38 00 00 00 */ li r0, 0 -/* 8024E3D0 0024B310 7F E3 FB 78 */ mr r3, r31 -/* 8024E3D4 0024B314 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8024E3D8 0024B318 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8024E3DC 0024B31C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024E3E0 0024B320 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024E3E4 0024B324 7C 08 03 A6 */ mtlr r0 -/* 8024E3E8 0024B328 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024E3EC 0024B32C 4E 80 00 20 */ blr - -.global setManageClassPtr__Q34Game4Cave12RandItemUnitFPQ34Game4Cave12RandMapScore -setManageClassPtr__Q34Game4Cave12RandItemUnitFPQ34Game4Cave12RandMapScore: -/* 8024E3F0 0024B330 90 83 00 0C */ stw r4, 0xc(r3) -/* 8024E3F4 0024B334 4E 80 00 20 */ blr - -.global setItemSlot__Q34Game4Cave12RandItemUnitFv -setItemSlot__Q34Game4Cave12RandItemUnitFv: -/* 8024E3F8 0024B338 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024E3FC 0024B33C 7C 08 02 A6 */ mflr r0 -/* 8024E400 0024B340 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024E404 0024B344 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8024E408 0024B348 7C 7F 1B 78 */ mr r31, r3 -/* 8024E40C 0024B34C 80 63 00 00 */ lwz r3, 0(r3) -/* 8024E410 0024B350 80 1F 00 04 */ lwz r0, 4(r31) -/* 8024E414 0024B354 7C 03 00 00 */ cmpw r3, r0 -/* 8024E418 0024B358 40 80 00 D0 */ bge lbl_8024E4E8 -/* 8024E41C 0024B35C 3B A0 00 00 */ li r29, 0 -lbl_8024E420: -/* 8024E420 0024B360 38 00 00 00 */ li r0, 0 -/* 8024E424 0024B364 7F E3 FB 78 */ mr r3, r31 -/* 8024E428 0024B368 90 01 00 08 */ stw r0, 8(r1) -/* 8024E42C 0024B36C 48 00 0E 79 */ bl isItemSetHard__Q34Game4Cave12RandItemUnitFv -/* 8024E430 0024B370 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024E434 0024B374 41 82 00 18 */ beq lbl_8024E44C -/* 8024E438 0024B378 7F E3 FB 78 */ mr r3, r31 -/* 8024E43C 0024B37C 38 81 00 08 */ addi r4, r1, 8 -/* 8024E440 0024B380 48 00 09 45 */ bl getItemHardSetMapNode__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7BaseGen -/* 8024E444 0024B384 7C 7E 1B 78 */ mr r30, r3 -/* 8024E448 0024B388 48 00 00 14 */ b lbl_8024E45C -lbl_8024E44C: -/* 8024E44C 0024B38C 7F E3 FB 78 */ mr r3, r31 -/* 8024E450 0024B390 38 81 00 08 */ addi r4, r1, 8 -/* 8024E454 0024B394 48 00 05 A5 */ bl getItemNormalSetMapNode__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7BaseGen -/* 8024E458 0024B398 7C 7E 1B 78 */ mr r30, r3 -lbl_8024E45C: -/* 8024E45C 0024B39C 7F DC F3 78 */ mr r28, r30 -/* 8024E460 0024B3A0 7F E3 FB 78 */ mr r3, r31 -/* 8024E464 0024B3A4 48 00 0C 61 */ bl getItemUnit__Q34Game4Cave12RandItemUnitFv -/* 8024E468 0024B3A8 28 1E 00 00 */ cmplwi r30, 0 -/* 8024E46C 0024B3AC 7C 7B 1B 78 */ mr r27, r3 -/* 8024E470 0024B3B0 41 82 00 78 */ beq lbl_8024E4E8 -/* 8024E474 0024B3B4 28 1B 00 00 */ cmplwi r27, 0 -/* 8024E478 0024B3B8 41 82 00 70 */ beq lbl_8024E4E8 -/* 8024E47C 0024B3BC 38 60 00 34 */ li r3, 0x34 -/* 8024E480 0024B3C0 4B DD 5A 25 */ bl __nw__FUl -/* 8024E484 0024B3C4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024E488 0024B3C8 41 82 00 18 */ beq lbl_8024E4A0 -/* 8024E48C 0024B3CC 80 A1 00 08 */ lwz r5, 8(r1) -/* 8024E490 0024B3D0 7F 64 DB 78 */ mr r4, r27 -/* 8024E494 0024B3D4 38 C0 00 01 */ li r6, 1 -/* 8024E498 0024B3D8 4B FF FD 45 */ bl __ct__Q34Game4Cave8ItemNodeFPQ34Game4Cave8ItemUnitPQ34Game4Cave7BaseGeni -/* 8024E49C 0024B3DC 7C 7E 1B 78 */ mr r30, r3 -lbl_8024E4A0: -/* 8024E4A0 0024B3E0 7F C3 F3 78 */ mr r3, r30 -/* 8024E4A4 0024B3E4 7F 84 E3 78 */ mr r4, r28 -/* 8024E4A8 0024B3E8 4B FF FD C1 */ bl makeGlobalData__Q34Game4Cave8ItemNodeFPQ34Game4Cave7MapNode -/* 8024E4AC 0024B3EC 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8024E4B0 0024B3F0 7F C4 F3 78 */ mr r4, r30 -/* 8024E4B4 0024B3F4 48 1C 2F 55 */ bl add__5CNodeFP5CNode -/* 8024E4B8 0024B3F8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8024E4BC 0024B3FC 38 03 00 01 */ addi r0, r3, 1 -/* 8024E4C0 0024B400 90 1F 00 00 */ stw r0, 0(r31) -/* 8024E4C4 0024B404 80 7F 00 00 */ lwz r3, 0(r31) -/* 8024E4C8 0024B408 80 1F 00 04 */ lwz r0, 4(r31) -/* 8024E4CC 0024B40C 7C 03 00 00 */ cmpw r3, r0 -/* 8024E4D0 0024B410 41 80 00 0C */ blt lbl_8024E4DC -/* 8024E4D4 0024B414 48 00 00 14 */ b lbl_8024E4E8 -/* 8024E4D8 0024B418 48 00 00 10 */ b lbl_8024E4E8 -lbl_8024E4DC: -/* 8024E4DC 0024B41C 3B BD 00 01 */ addi r29, r29, 1 -/* 8024E4E0 0024B420 2C 1D 00 64 */ cmpwi r29, 0x64 -/* 8024E4E4 0024B424 41 80 FF 3C */ blt lbl_8024E420 -lbl_8024E4E8: -/* 8024E4E8 0024B428 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8024E4EC 0024B42C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024E4F0 0024B430 7C 08 03 A6 */ mtlr r0 -/* 8024E4F4 0024B434 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024E4F8 0024B438 4E 80 00 20 */ blr - -.global isItemSetDone__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -isItemSetDone__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen: -/* 8024E4FC 0024B43C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024E500 0024B440 7C 08 02 A6 */ mflr r0 -/* 8024E504 0024B444 28 05 00 00 */ cmplwi r5, 0 -/* 8024E508 0024B448 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024E50C 0024B44C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024E510 0024B450 7C 9F 23 78 */ mr r31, r4 -/* 8024E514 0024B454 93 C1 00 08 */ stw r30, 8(r1) -/* 8024E518 0024B458 7C 7E 1B 78 */ mr r30, r3 -/* 8024E51C 0024B45C 41 82 00 34 */ beq lbl_8024E550 -/* 8024E520 0024B460 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8024E524 0024B464 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8024E528 0024B468 48 00 00 1C */ b lbl_8024E544 -lbl_8024E52C: -/* 8024E52C 0024B46C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8024E530 0024B470 7C 00 28 40 */ cmplw r0, r5 -/* 8024E534 0024B474 40 82 00 0C */ bne lbl_8024E540 -/* 8024E538 0024B478 38 60 00 01 */ li r3, 1 -/* 8024E53C 0024B47C 48 00 00 B8 */ b lbl_8024E5F4 -lbl_8024E540: -/* 8024E540 0024B480 80 63 00 04 */ lwz r3, 4(r3) -lbl_8024E544: -/* 8024E544 0024B484 28 03 00 00 */ cmplwi r3, 0 -/* 8024E548 0024B488 40 82 FF E4 */ bne lbl_8024E52C -/* 8024E54C 0024B48C 48 00 00 A4 */ b lbl_8024E5F0 -lbl_8024E550: -/* 8024E550 0024B490 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8024E554 0024B494 38 80 00 01 */ li r4, 1 -/* 8024E558 0024B498 4B FF E6 51 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024E55C 0024B49C 7C 1F 18 40 */ cmplw r31, r3 -/* 8024E560 0024B4A0 40 82 00 0C */ bne lbl_8024E56C -/* 8024E564 0024B4A4 38 60 00 01 */ li r3, 1 -/* 8024E568 0024B4A8 48 00 00 8C */ b lbl_8024E5F4 -lbl_8024E56C: -/* 8024E56C 0024B4AC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8024E570 0024B4B0 38 80 00 02 */ li r4, 2 -/* 8024E574 0024B4B4 4B FF E6 35 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024E578 0024B4B8 7C 1F 18 40 */ cmplw r31, r3 -/* 8024E57C 0024B4BC 40 82 00 0C */ bne lbl_8024E588 -/* 8024E580 0024B4C0 38 60 00 01 */ li r3, 1 -/* 8024E584 0024B4C4 48 00 00 70 */ b lbl_8024E5F4 -lbl_8024E588: -/* 8024E588 0024B4C8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8024E58C 0024B4CC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024E590 0024B4D0 28 00 00 00 */ cmplwi r0, 0 -/* 8024E594 0024B4D4 41 82 00 0C */ beq lbl_8024E5A0 -/* 8024E598 0024B4D8 38 60 00 01 */ li r3, 1 -/* 8024E59C 0024B4DC 48 00 00 58 */ b lbl_8024E5F4 -lbl_8024E5A0: -/* 8024E5A0 0024B4E0 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 8024E5A4 0024B4E4 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024E5A8 0024B4E8 48 00 00 40 */ b lbl_8024E5E8 -lbl_8024E5AC: -/* 8024E5AC 0024B4EC 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024E5B0 0024B4F0 80 63 00 00 */ lwz r3, 0(r3) -/* 8024E5B4 0024B4F4 28 03 00 00 */ cmplwi r3, 0 -/* 8024E5B8 0024B4F8 41 82 00 2C */ beq lbl_8024E5E4 -/* 8024E5BC 0024B4FC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8024E5C0 0024B500 28 00 00 00 */ cmplwi r0, 0 -/* 8024E5C4 0024B504 40 82 00 20 */ bne lbl_8024E5E4 -/* 8024E5C8 0024B508 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8024E5CC 0024B50C 2C 00 00 05 */ cmpwi r0, 5 -/* 8024E5D0 0024B510 41 82 00 14 */ beq lbl_8024E5E4 -/* 8024E5D4 0024B514 2C 00 00 06 */ cmpwi r0, 6 -/* 8024E5D8 0024B518 41 82 00 0C */ beq lbl_8024E5E4 -/* 8024E5DC 0024B51C 38 60 00 01 */ li r3, 1 -/* 8024E5E0 0024B520 48 00 00 14 */ b lbl_8024E5F4 -lbl_8024E5E4: -/* 8024E5E4 0024B524 80 84 00 04 */ lwz r4, 4(r4) -lbl_8024E5E8: -/* 8024E5E8 0024B528 28 04 00 00 */ cmplwi r4, 0 -/* 8024E5EC 0024B52C 40 82 FF C0 */ bne lbl_8024E5AC -lbl_8024E5F0: -/* 8024E5F0 0024B530 38 60 00 00 */ li r3, 0 -lbl_8024E5F4: -/* 8024E5F4 0024B534 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024E5F8 0024B538 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024E5FC 0024B53C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024E600 0024B540 7C 08 03 A6 */ mtlr r0 -/* 8024E604 0024B544 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024E608 0024B548 4E 80 00 20 */ blr - -.global isGroundCapEnemySetDone__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNode -isGroundCapEnemySetDone__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNode: -/* 8024E60C 0024B54C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024E610 0024B550 7C 08 02 A6 */ mflr r0 -/* 8024E614 0024B554 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024E618 0024B558 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024E61C 0024B55C 7C 9F 23 78 */ mr r31, r4 -/* 8024E620 0024B560 38 80 00 01 */ li r4, 1 -/* 8024E624 0024B564 93 C1 00 08 */ stw r30, 8(r1) -/* 8024E628 0024B568 7C 7E 1B 78 */ mr r30, r3 -/* 8024E62C 0024B56C 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8024E630 0024B570 4B FF E5 79 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024E634 0024B574 7C 1F 18 40 */ cmplw r31, r3 -/* 8024E638 0024B578 40 82 00 0C */ bne lbl_8024E644 -/* 8024E63C 0024B57C 38 60 00 01 */ li r3, 1 -/* 8024E640 0024B580 48 00 00 9C */ b lbl_8024E6DC -lbl_8024E644: -/* 8024E644 0024B584 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8024E648 0024B588 38 80 00 02 */ li r4, 2 -/* 8024E64C 0024B58C 4B FF E5 5D */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024E650 0024B590 7C 1F 18 40 */ cmplw r31, r3 -/* 8024E654 0024B594 40 82 00 0C */ bne lbl_8024E660 -/* 8024E658 0024B598 38 60 00 01 */ li r3, 1 -/* 8024E65C 0024B59C 48 00 00 80 */ b lbl_8024E6DC -lbl_8024E660: -/* 8024E660 0024B5A0 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8024E664 0024B5A4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024E668 0024B5A8 28 00 00 00 */ cmplwi r0, 0 -/* 8024E66C 0024B5AC 41 82 00 0C */ beq lbl_8024E678 -/* 8024E670 0024B5B0 38 60 00 01 */ li r3, 1 -/* 8024E674 0024B5B4 48 00 00 68 */ b lbl_8024E6DC -lbl_8024E678: -/* 8024E678 0024B5B8 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 8024E67C 0024B5BC 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8024E680 0024B5C0 48 00 00 50 */ b lbl_8024E6D0 -lbl_8024E684: -/* 8024E684 0024B5C4 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8024E688 0024B5C8 80 83 00 00 */ lwz r4, 0(r3) -/* 8024E68C 0024B5CC 28 04 00 00 */ cmplwi r4, 0 -/* 8024E690 0024B5D0 41 82 00 3C */ beq lbl_8024E6CC -/* 8024E694 0024B5D4 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8024E698 0024B5D8 2C 00 00 05 */ cmpwi r0, 5 -/* 8024E69C 0024B5DC 41 82 00 30 */ beq lbl_8024E6CC -/* 8024E6A0 0024B5E0 2C 00 00 06 */ cmpwi r0, 6 -/* 8024E6A4 0024B5E4 41 82 00 28 */ beq lbl_8024E6CC -/* 8024E6A8 0024B5E8 88 04 00 24 */ lbz r0, 0x24(r4) -/* 8024E6AC 0024B5EC 28 00 00 00 */ cmplwi r0, 0 -/* 8024E6B0 0024B5F0 41 82 00 14 */ beq lbl_8024E6C4 -/* 8024E6B4 0024B5F4 80 7E 00 08 */ lwz r3, 8(r30) -/* 8024E6B8 0024B5F8 4B FF DD 41 */ bl isPomGroup__Q34Game4Cave16MapUnitGeneratorFPQ34Game4Cave8TekiInfo -/* 8024E6BC 0024B5FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024E6C0 0024B600 41 82 00 0C */ beq lbl_8024E6CC -lbl_8024E6C4: -/* 8024E6C4 0024B604 38 60 00 01 */ li r3, 1 -/* 8024E6C8 0024B608 48 00 00 14 */ b lbl_8024E6DC -lbl_8024E6CC: -/* 8024E6CC 0024B60C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8024E6D0: -/* 8024E6D0 0024B610 28 1F 00 00 */ cmplwi r31, 0 -/* 8024E6D4 0024B614 40 82 FF B0 */ bne lbl_8024E684 -/* 8024E6D8 0024B618 38 60 00 00 */ li r3, 0 -lbl_8024E6DC: -/* 8024E6DC 0024B61C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024E6E0 0024B620 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024E6E4 0024B624 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024E6E8 0024B628 7C 08 03 A6 */ mtlr r0 -/* 8024E6EC 0024B62C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024E6F0 0024B630 4E 80 00 20 */ blr - -.global isFallCapEnemySetDone__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNode -isFallCapEnemySetDone__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNode: -/* 8024E6F4 0024B634 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024E6F8 0024B638 7C 08 02 A6 */ mflr r0 -/* 8024E6FC 0024B63C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024E700 0024B640 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024E704 0024B644 7C 9F 23 78 */ mr r31, r4 -/* 8024E708 0024B648 38 80 00 01 */ li r4, 1 -/* 8024E70C 0024B64C 93 C1 00 08 */ stw r30, 8(r1) -/* 8024E710 0024B650 7C 7E 1B 78 */ mr r30, r3 -/* 8024E714 0024B654 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8024E718 0024B658 4B FF E4 91 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024E71C 0024B65C 7C 1F 18 40 */ cmplw r31, r3 -/* 8024E720 0024B660 40 82 00 0C */ bne lbl_8024E72C -/* 8024E724 0024B664 38 60 00 01 */ li r3, 1 -/* 8024E728 0024B668 48 00 00 84 */ b lbl_8024E7AC -lbl_8024E72C: -/* 8024E72C 0024B66C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8024E730 0024B670 38 80 00 02 */ li r4, 2 -/* 8024E734 0024B674 4B FF E4 75 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024E738 0024B678 7C 1F 18 40 */ cmplw r31, r3 -/* 8024E73C 0024B67C 40 82 00 0C */ bne lbl_8024E748 -/* 8024E740 0024B680 38 60 00 01 */ li r3, 1 -/* 8024E744 0024B684 48 00 00 68 */ b lbl_8024E7AC -lbl_8024E748: -/* 8024E748 0024B688 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 8024E74C 0024B68C 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8024E750 0024B690 48 00 00 50 */ b lbl_8024E7A0 -lbl_8024E754: -/* 8024E754 0024B694 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8024E758 0024B698 80 83 00 00 */ lwz r4, 0(r3) -/* 8024E75C 0024B69C 28 04 00 00 */ cmplwi r4, 0 -/* 8024E760 0024B6A0 41 82 00 3C */ beq lbl_8024E79C -/* 8024E764 0024B6A4 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8024E768 0024B6A8 2C 00 00 05 */ cmpwi r0, 5 -/* 8024E76C 0024B6AC 41 82 00 30 */ beq lbl_8024E79C -/* 8024E770 0024B6B0 2C 00 00 06 */ cmpwi r0, 6 -/* 8024E774 0024B6B4 41 82 00 28 */ beq lbl_8024E79C -/* 8024E778 0024B6B8 88 04 00 24 */ lbz r0, 0x24(r4) -/* 8024E77C 0024B6BC 28 00 00 00 */ cmplwi r0, 0 -/* 8024E780 0024B6C0 40 82 00 14 */ bne lbl_8024E794 -/* 8024E784 0024B6C4 80 7E 00 08 */ lwz r3, 8(r30) -/* 8024E788 0024B6C8 4B FF DC 71 */ bl isPomGroup__Q34Game4Cave16MapUnitGeneratorFPQ34Game4Cave8TekiInfo -/* 8024E78C 0024B6CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8024E790 0024B6D0 41 82 00 0C */ beq lbl_8024E79C -lbl_8024E794: -/* 8024E794 0024B6D4 38 60 00 01 */ li r3, 1 -/* 8024E798 0024B6D8 48 00 00 14 */ b lbl_8024E7AC -lbl_8024E79C: -/* 8024E79C 0024B6DC 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8024E7A0: -/* 8024E7A0 0024B6E0 28 1F 00 00 */ cmplwi r31, 0 -/* 8024E7A4 0024B6E4 40 82 FF B0 */ bne lbl_8024E754 -/* 8024E7A8 0024B6E8 38 60 00 00 */ li r3, 0 -lbl_8024E7AC: -/* 8024E7AC 0024B6EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024E7B0 0024B6F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024E7B4 0024B6F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024E7B8 0024B6F8 7C 08 03 A6 */ mtlr r0 -/* 8024E7BC 0024B6FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024E7C0 0024B700 4E 80 00 20 */ blr - -.global setItemDropPositionList__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGen -setItemDropPositionList__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGen: -/* 8024E7C4 0024B704 90 83 00 10 */ stw r4, 0x10(r3) -/* 8024E7C8 0024B708 90 A3 00 14 */ stw r5, 0x14(r3) -/* 8024E7CC 0024B70C 4E 80 00 20 */ blr - -.global getItemDropPosition__Q34Game4Cave12RandItemUnitFR10Vector3$$0f$$1fi -getItemDropPosition__Q34Game4Cave12RandItemUnitFR10Vector3$$0f$$1fi: -/* 8024E7D0 0024B710 94 21 F7 70 */ stwu r1, -0x890(r1) -/* 8024E7D4 0024B714 7C 08 02 A6 */ mflr r0 -/* 8024E7D8 0024B718 90 01 08 94 */ stw r0, 0x894(r1) -/* 8024E7DC 0024B71C DB E1 08 80 */ stfd f31, 0x880(r1) -/* 8024E7E0 0024B720 F3 E1 08 88 */ psq_st f31, -1912(r1), 0, qr0 -/* 8024E7E4 0024B724 DB C1 08 70 */ stfd f30, 0x870(r1) -/* 8024E7E8 0024B728 F3 C1 08 78 */ psq_st f30, -1928(r1), 0, qr0 -/* 8024E7EC 0024B72C BF 01 08 50 */ stmw r24, 0x850(r1) -/* 8024E7F0 0024B730 7C 7D 1B 78 */ mr r29, r3 -/* 8024E7F4 0024B734 3C E0 80 48 */ lis r7, lbl_80484128@ha -/* 8024E7F8 0024B738 80 C3 00 08 */ lwz r6, 8(r3) -/* 8024E7FC 0024B73C FF C0 08 90 */ fmr f30, f1 -/* 8024E800 0024B740 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8024E804 0024B744 7C 9E 23 78 */ mr r30, r4 -/* 8024E808 0024B748 80 86 00 28 */ lwz r4, 0x28(r6) -/* 8024E80C 0024B74C 7C BF 2B 78 */ mr r31, r5 -/* 8024E810 0024B750 80 06 00 2C */ lwz r0, 0x2c(r6) -/* 8024E814 0024B754 90 81 00 14 */ stw r4, 0x14(r1) -/* 8024E818 0024B758 3B 87 41 28 */ addi r28, r7, lbl_80484128@l -/* 8024E81C 0024B75C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8024E820 0024B760 4B FF E4 0D */ bl getVersusHighScore__Q34Game4Cave12RandMapScoreFv -/* 8024E824 0024B764 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024E828 0024B768 3C 00 43 30 */ lis r0, 0x4330 -/* 8024E82C 0024B76C 90 61 08 3C */ stw r3, 0x83c(r1) -/* 8024E830 0024B770 C0 02 C4 E0 */ lfs f0, lbl_8051A840@sda21(r2) -/* 8024E834 0024B774 90 01 08 38 */ stw r0, 0x838(r1) -/* 8024E838 0024B778 C8 42 C4 E8 */ lfd f2, lbl_8051A848@sda21(r2) -/* 8024E83C 0024B77C EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8024E840 0024B780 C8 21 08 38 */ lfd f1, 0x838(r1) -/* 8024E844 0024B784 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8024E848 0024B788 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024E84C 0024B78C EF E0 00 72 */ fmuls f31, f0, f1 -/* 8024E850 0024B790 4B FF E3 E5 */ bl getVersusLowScore__Q34Game4Cave12RandMapScoreFv -/* 8024E854 0024B794 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024E858 0024B798 3C 00 43 30 */ lis r0, 0x4330 -/* 8024E85C 0024B79C 90 61 08 44 */ stw r3, 0x844(r1) -/* 8024E860 0024B7A0 2C 1F 00 00 */ cmpwi r31, 0 -/* 8024E864 0024B7A4 C8 22 C4 E8 */ lfd f1, lbl_8051A848@sda21(r2) -/* 8024E868 0024B7A8 90 01 08 40 */ stw r0, 0x840(r1) -/* 8024E86C 0024B7AC C8 01 08 40 */ lfd f0, 0x840(r1) -/* 8024E870 0024B7B0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8024E874 0024B7B4 EC 1E F8 3A */ fmadds f0, f30, f0, f31 -/* 8024E878 0024B7B8 FC 00 00 1E */ fctiwz f0, f0 -/* 8024E87C 0024B7BC D8 01 08 48 */ stfd f0, 0x848(r1) -/* 8024E880 0024B7C0 83 41 08 4C */ lwz r26, 0x84c(r1) -/* 8024E884 0024B7C4 40 80 00 A8 */ bge lbl_8024E92C -/* 8024E888 0024B7C8 3C 60 00 14 */ lis r3, 0x00138800@ha -/* 8024E88C 0024B7CC 3B E1 00 14 */ addi r31, r1, 0x14 -/* 8024E890 0024B7D0 38 03 88 00 */ addi r0, r3, 0x00138800@l -/* 8024E894 0024B7D4 3B 60 00 00 */ li r27, 0 -/* 8024E898 0024B7D8 90 01 00 0C */ stw r0, 0xc(r1) -lbl_8024E89C: -/* 8024E89C 0024B7DC 80 7F 00 00 */ lwz r3, 0(r31) -/* 8024E8A0 0024B7E0 83 23 00 10 */ lwz r25, 0x10(r3) -/* 8024E8A4 0024B7E4 48 00 00 20 */ b lbl_8024E8C4 -lbl_8024E8A8: -/* 8024E8A8 0024B7E8 7F A3 EB 78 */ mr r3, r29 -/* 8024E8AC 0024B7EC 7F 24 CB 78 */ mr r4, r25 -/* 8024E8B0 0024B7F0 7F 46 D3 78 */ mr r6, r26 -/* 8024E8B4 0024B7F4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8024E8B8 0024B7F8 38 E1 00 0C */ addi r7, r1, 0xc -/* 8024E8BC 0024B7FC 48 00 0A 45 */ bl getItemDropMapNode__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePPQ34Game4Cave7MapNodeiRi -/* 8024E8C0 0024B800 83 39 00 04 */ lwz r25, 4(r25) -lbl_8024E8C4: -/* 8024E8C4 0024B804 28 19 00 00 */ cmplwi r25, 0 -/* 8024E8C8 0024B808 40 82 FF E0 */ bne lbl_8024E8A8 -/* 8024E8CC 0024B80C 3B 7B 00 01 */ addi r27, r27, 1 -/* 8024E8D0 0024B810 3B FF 00 04 */ addi r31, r31, 4 -/* 8024E8D4 0024B814 2C 1B 00 02 */ cmpwi r27, 2 -/* 8024E8D8 0024B818 41 80 FF C4 */ blt lbl_8024E89C -/* 8024E8DC 0024B81C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8024E8E0 0024B820 28 05 00 00 */ cmplwi r5, 0 -/* 8024E8E4 0024B824 41 82 00 30 */ beq lbl_8024E914 -/* 8024E8E8 0024B828 7F A4 EB 78 */ mr r4, r29 -/* 8024E8EC 0024B82C 7F 46 D3 78 */ mr r6, r26 -/* 8024E8F0 0024B830 38 61 00 28 */ addi r3, r1, 0x28 -/* 8024E8F4 0024B834 48 00 0B 55 */ bl getItemBaseGenPosition__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodei -/* 8024E8F8 0024B838 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8024E8FC 0024B83C D0 1E 00 00 */ stfs f0, 0(r30) -/* 8024E900 0024B840 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8024E904 0024B844 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8024E908 0024B848 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8024E90C 0024B84C D0 1E 00 08 */ stfs f0, 8(r30) -/* 8024E910 0024B850 48 00 00 C4 */ b lbl_8024E9D4 -lbl_8024E914: -/* 8024E914 0024B854 38 7C 00 14 */ addi r3, r28, 0x14 -/* 8024E918 0024B858 38 BC 00 28 */ addi r5, r28, 0x28 -/* 8024E91C 0024B85C 38 80 01 77 */ li r4, 0x177 -/* 8024E920 0024B860 4C C6 31 82 */ crclr 6 -/* 8024E924 0024B864 4B DD BD 1D */ bl panic_f__12JUTExceptionFPCciPCce -/* 8024E928 0024B868 48 00 00 AC */ b lbl_8024E9D4 -lbl_8024E92C: -/* 8024E92C 0024B86C 38 00 00 00 */ li r0, 0 -/* 8024E930 0024B870 3B 61 00 14 */ addi r27, r1, 0x14 -/* 8024E934 0024B874 90 01 00 08 */ stw r0, 8(r1) -/* 8024E938 0024B878 3B 20 00 00 */ li r25, 0 -lbl_8024E93C: -/* 8024E93C 0024B87C 80 7B 00 00 */ lwz r3, 0(r27) -/* 8024E940 0024B880 83 03 00 10 */ lwz r24, 0x10(r3) -/* 8024E944 0024B884 48 00 00 20 */ b lbl_8024E964 -lbl_8024E948: -/* 8024E948 0024B888 7F A3 EB 78 */ mr r3, r29 -/* 8024E94C 0024B88C 7F 04 C3 78 */ mr r4, r24 -/* 8024E950 0024B890 38 A1 04 34 */ addi r5, r1, 0x434 -/* 8024E954 0024B894 38 C1 00 34 */ addi r6, r1, 0x34 -/* 8024E958 0024B898 38 E1 00 08 */ addi r7, r1, 8 -/* 8024E95C 0024B89C 48 00 0E 01 */ bl getItemDropList__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGenRi -/* 8024E960 0024B8A0 83 18 00 04 */ lwz r24, 4(r24) -lbl_8024E964: -/* 8024E964 0024B8A4 28 18 00 00 */ cmplwi r24, 0 -/* 8024E968 0024B8A8 40 82 FF E0 */ bne lbl_8024E948 -/* 8024E96C 0024B8AC 3B 39 00 01 */ addi r25, r25, 1 -/* 8024E970 0024B8B0 3B 7B 00 04 */ addi r27, r27, 4 -/* 8024E974 0024B8B4 2C 19 00 02 */ cmpwi r25, 2 -/* 8024E978 0024B8B8 41 80 FF C4 */ blt lbl_8024E93C -/* 8024E97C 0024B8BC 80 E1 00 08 */ lwz r7, 8(r1) -/* 8024E980 0024B8C0 7C 1F 38 00 */ cmpw r31, r7 -/* 8024E984 0024B8C4 40 80 00 3C */ bge lbl_8024E9C0 -/* 8024E988 0024B8C8 7F A4 EB 78 */ mr r4, r29 -/* 8024E98C 0024B8CC 7F 48 D3 78 */ mr r8, r26 -/* 8024E990 0024B8D0 7F E9 FB 78 */ mr r9, r31 -/* 8024E994 0024B8D4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8024E998 0024B8D8 38 A1 04 34 */ addi r5, r1, 0x434 -/* 8024E99C 0024B8DC 38 C1 00 34 */ addi r6, r1, 0x34 -/* 8024E9A0 0024B8E0 48 00 0F 49 */ bl getItemBaseGenPosition__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGeniii -/* 8024E9A4 0024B8E4 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8024E9A8 0024B8E8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8024E9AC 0024B8EC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8024E9B0 0024B8F0 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8024E9B4 0024B8F4 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8024E9B8 0024B8F8 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8024E9BC 0024B8FC 48 00 00 18 */ b lbl_8024E9D4 -lbl_8024E9C0: -/* 8024E9C0 0024B900 38 7C 00 14 */ addi r3, r28, 0x14 -/* 8024E9C4 0024B904 38 BC 00 38 */ addi r5, r28, 0x38 -/* 8024E9C8 0024B908 38 80 01 8E */ li r4, 0x18e -/* 8024E9CC 0024B90C 4C C6 31 82 */ crclr 6 -/* 8024E9D0 0024B910 4B DD BC 71 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8024E9D4: -/* 8024E9D4 0024B914 E3 E1 08 88 */ psq_l f31, -1912(r1), 0, qr0 -/* 8024E9D8 0024B918 CB E1 08 80 */ lfd f31, 0x880(r1) -/* 8024E9DC 0024B91C E3 C1 08 78 */ psq_l f30, -1928(r1), 0, qr0 -/* 8024E9E0 0024B920 CB C1 08 70 */ lfd f30, 0x870(r1) -/* 8024E9E4 0024B924 BB 01 08 50 */ lmw r24, 0x850(r1) -/* 8024E9E8 0024B928 80 01 08 94 */ lwz r0, 0x894(r1) -/* 8024E9EC 0024B92C 7C 08 03 A6 */ mtlr r0 -/* 8024E9F0 0024B930 38 21 08 90 */ addi r1, r1, 0x890 -/* 8024E9F4 0024B934 4E 80 00 20 */ blr - -.global getItemNormalSetMapNode__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7BaseGen -getItemNormalSetMapNode__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7BaseGen: -/* 8024E9F8 0024B938 94 21 E7 B0 */ stwu r1, -0x1850(r1) -/* 8024E9FC 0024B93C 7C 08 02 A6 */ mflr r0 -/* 8024EA00 0024B940 90 01 18 54 */ stw r0, 0x1854(r1) -/* 8024EA04 0024B944 BE A1 18 24 */ stmw r21, 0x1824(r1) -/* 8024EA08 0024B948 7C 76 1B 78 */ mr r22, r3 -/* 8024EA0C 0024B94C 7C 97 23 78 */ mr r23, r4 -/* 8024EA10 0024B950 3B 60 00 00 */ li r27, 0 -/* 8024EA14 0024B954 3A A0 00 00 */ li r21, 0 -/* 8024EA18 0024B958 3B 40 00 00 */ li r26, 0 -/* 8024EA1C 0024B95C 80 63 00 08 */ lwz r3, 8(r3) -/* 8024EA20 0024B960 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024EA24 0024B964 83 23 00 10 */ lwz r25, 0x10(r3) -/* 8024EA28 0024B968 48 00 02 98 */ b lbl_8024ECC0 -lbl_8024EA2C: -/* 8024EA2C 0024B96C 80 79 00 18 */ lwz r3, 0x18(r25) -/* 8024EA30 0024B970 4B FF 41 49 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024EA34 0024B974 2C 03 00 01 */ cmpwi r3, 1 -/* 8024EA38 0024B978 40 82 01 80 */ bne lbl_8024EBB8 -/* 8024EA3C 0024B97C 7E C3 B3 78 */ mr r3, r22 -/* 8024EA40 0024B980 7F 24 CB 78 */ mr r4, r25 -/* 8024EA44 0024B984 48 00 08 01 */ bl getItemSlotNum__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNode -/* 8024EA48 0024B988 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8024EA4C 0024B98C 41 82 02 70 */ beq lbl_8024ECBC -/* 8024EA50 0024B990 80 79 00 18 */ lwz r3, 0x18(r25) -/* 8024EA54 0024B994 4B FF 41 6D */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024EA58 0024B998 28 03 00 00 */ cmplwi r3, 0 -/* 8024EA5C 0024B99C 41 82 02 60 */ beq lbl_8024ECBC -/* 8024EA60 0024B9A0 3B C1 10 08 */ addi r30, r1, 0x1008 -/* 8024EA64 0024B9A4 3B A1 08 08 */ addi r29, r1, 0x808 -/* 8024EA68 0024B9A8 3B 81 00 08 */ addi r28, r1, 8 -/* 8024EA6C 0024B9AC 83 03 00 10 */ lwz r24, 0x10(r3) -/* 8024EA70 0024B9B0 7F DE AA 14 */ add r30, r30, r21 -/* 8024EA74 0024B9B4 7F BD AA 14 */ add r29, r29, r21 -/* 8024EA78 0024B9B8 7F 9C AA 14 */ add r28, r28, r21 -/* 8024EA7C 0024B9BC 48 00 01 30 */ b lbl_8024EBAC -lbl_8024EA80: -/* 8024EA80 0024B9C0 80 18 00 18 */ lwz r0, 0x18(r24) -/* 8024EA84 0024B9C4 2C 00 00 02 */ cmpwi r0, 2 -/* 8024EA88 0024B9C8 40 82 01 20 */ bne lbl_8024EBA8 -/* 8024EA8C 0024B9CC 28 18 00 00 */ cmplwi r24, 0 -/* 8024EA90 0024B9D0 41 82 00 34 */ beq lbl_8024EAC4 -/* 8024EA94 0024B9D4 80 79 00 24 */ lwz r3, 0x24(r25) -/* 8024EA98 0024B9D8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8024EA9C 0024B9DC 48 00 00 1C */ b lbl_8024EAB8 -lbl_8024EAA0: -/* 8024EAA0 0024B9E0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8024EAA4 0024B9E4 7C 00 C0 40 */ cmplw r0, r24 -/* 8024EAA8 0024B9E8 40 82 00 0C */ bne lbl_8024EAB4 -/* 8024EAAC 0024B9EC 38 00 00 01 */ li r0, 1 -/* 8024EAB0 0024B9F0 48 00 00 B8 */ b lbl_8024EB68 -lbl_8024EAB4: -/* 8024EAB4 0024B9F4 80 63 00 04 */ lwz r3, 4(r3) -lbl_8024EAB8: -/* 8024EAB8 0024B9F8 28 03 00 00 */ cmplwi r3, 0 -/* 8024EABC 0024B9FC 40 82 FF E4 */ bne lbl_8024EAA0 -/* 8024EAC0 0024BA00 48 00 00 A4 */ b lbl_8024EB64 -lbl_8024EAC4: -/* 8024EAC4 0024BA04 80 76 00 0C */ lwz r3, 0xc(r22) -/* 8024EAC8 0024BA08 38 80 00 01 */ li r4, 1 -/* 8024EACC 0024BA0C 4B FF E0 DD */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024EAD0 0024BA10 7C 19 18 40 */ cmplw r25, r3 -/* 8024EAD4 0024BA14 40 82 00 0C */ bne lbl_8024EAE0 -/* 8024EAD8 0024BA18 38 00 00 01 */ li r0, 1 -/* 8024EADC 0024BA1C 48 00 00 8C */ b lbl_8024EB68 -lbl_8024EAE0: -/* 8024EAE0 0024BA20 80 76 00 0C */ lwz r3, 0xc(r22) -/* 8024EAE4 0024BA24 38 80 00 02 */ li r4, 2 -/* 8024EAE8 0024BA28 4B FF E0 C1 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024EAEC 0024BA2C 7C 19 18 40 */ cmplw r25, r3 -/* 8024EAF0 0024BA30 40 82 00 0C */ bne lbl_8024EAFC -/* 8024EAF4 0024BA34 38 00 00 01 */ li r0, 1 -/* 8024EAF8 0024BA38 48 00 00 70 */ b lbl_8024EB68 -lbl_8024EAFC: -/* 8024EAFC 0024BA3C 80 79 00 24 */ lwz r3, 0x24(r25) -/* 8024EB00 0024BA40 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024EB04 0024BA44 28 00 00 00 */ cmplwi r0, 0 -/* 8024EB08 0024BA48 41 82 00 0C */ beq lbl_8024EB14 -/* 8024EB0C 0024BA4C 38 00 00 01 */ li r0, 1 -/* 8024EB10 0024BA50 48 00 00 58 */ b lbl_8024EB68 -lbl_8024EB14: -/* 8024EB14 0024BA54 80 79 00 1C */ lwz r3, 0x1c(r25) -/* 8024EB18 0024BA58 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024EB1C 0024BA5C 48 00 00 40 */ b lbl_8024EB5C -lbl_8024EB20: -/* 8024EB20 0024BA60 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024EB24 0024BA64 80 63 00 00 */ lwz r3, 0(r3) -/* 8024EB28 0024BA68 28 03 00 00 */ cmplwi r3, 0 -/* 8024EB2C 0024BA6C 41 82 00 2C */ beq lbl_8024EB58 -/* 8024EB30 0024BA70 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8024EB34 0024BA74 28 00 00 00 */ cmplwi r0, 0 -/* 8024EB38 0024BA78 40 82 00 20 */ bne lbl_8024EB58 -/* 8024EB3C 0024BA7C 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8024EB40 0024BA80 2C 00 00 05 */ cmpwi r0, 5 -/* 8024EB44 0024BA84 41 82 00 14 */ beq lbl_8024EB58 -/* 8024EB48 0024BA88 2C 00 00 06 */ cmpwi r0, 6 -/* 8024EB4C 0024BA8C 41 82 00 0C */ beq lbl_8024EB58 -/* 8024EB50 0024BA90 38 00 00 01 */ li r0, 1 -/* 8024EB54 0024BA94 48 00 00 14 */ b lbl_8024EB68 -lbl_8024EB58: -/* 8024EB58 0024BA98 80 84 00 04 */ lwz r4, 4(r4) -lbl_8024EB5C: -/* 8024EB5C 0024BA9C 28 04 00 00 */ cmplwi r4, 0 -/* 8024EB60 0024BAA0 40 82 FF C0 */ bne lbl_8024EB20 -lbl_8024EB64: -/* 8024EB64 0024BAA4 38 00 00 00 */ li r0, 0 -lbl_8024EB68: -/* 8024EB68 0024BAA8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8024EB6C 0024BAAC 40 82 00 3C */ bne lbl_8024EBA8 -/* 8024EB70 0024BAB0 93 3E 00 00 */ stw r25, 0(r30) -/* 8024EB74 0024BAB4 7F 23 CB 78 */ mr r3, r25 -/* 8024EB78 0024BAB8 93 1D 00 00 */ stw r24, 0(r29) -/* 8024EB7C 0024BABC 4B FF 4E 39 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024EB80 0024BAC0 7C 63 FB D6 */ divw r3, r3, r31 -/* 8024EB84 0024BAC4 3B DE 00 04 */ addi r30, r30, 4 -/* 8024EB88 0024BAC8 3B BD 00 04 */ addi r29, r29, 4 -/* 8024EB8C 0024BACC 3B 7B 00 01 */ addi r27, r27, 1 -/* 8024EB90 0024BAD0 3A B5 00 04 */ addi r21, r21, 4 -/* 8024EB94 0024BAD4 38 03 00 01 */ addi r0, r3, 1 -/* 8024EB98 0024BAD8 90 1C 00 00 */ stw r0, 0(r28) -/* 8024EB9C 0024BADC 80 1C 00 00 */ lwz r0, 0(r28) -/* 8024EBA0 0024BAE0 3B 9C 00 04 */ addi r28, r28, 4 -/* 8024EBA4 0024BAE4 7F 5A 02 14 */ add r26, r26, r0 -lbl_8024EBA8: -/* 8024EBA8 0024BAE8 83 18 00 04 */ lwz r24, 4(r24) -lbl_8024EBAC: -/* 8024EBAC 0024BAEC 28 18 00 00 */ cmplwi r24, 0 -/* 8024EBB0 0024BAF0 40 82 FE D0 */ bne lbl_8024EA80 -/* 8024EBB4 0024BAF4 48 00 01 08 */ b lbl_8024ECBC -lbl_8024EBB8: -/* 8024EBB8 0024BAF8 7F 23 CB 78 */ mr r3, r25 -/* 8024EBBC 0024BAFC 4B FF 4E 09 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 8024EBC0 0024BB00 38 82 C4 F0 */ addi r4, r2, lbl_8051A850@sda21 -/* 8024EBC4 0024BB04 38 A0 00 04 */ li r5, 4 -/* 8024EBC8 0024BB08 4B E7 BA B9 */ bl strncmp -/* 8024EBCC 0024BB0C 2C 03 00 00 */ cmpwi r3, 0 -/* 8024EBD0 0024BB10 40 82 00 EC */ bne lbl_8024ECBC -/* 8024EBD4 0024BB14 80 76 00 0C */ lwz r3, 0xc(r22) -/* 8024EBD8 0024BB18 38 80 00 01 */ li r4, 1 -/* 8024EBDC 0024BB1C 4B FF DF CD */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024EBE0 0024BB20 7C 19 18 40 */ cmplw r25, r3 -/* 8024EBE4 0024BB24 40 82 00 0C */ bne lbl_8024EBF0 -/* 8024EBE8 0024BB28 38 00 00 01 */ li r0, 1 -/* 8024EBEC 0024BB2C 48 00 00 8C */ b lbl_8024EC78 -lbl_8024EBF0: -/* 8024EBF0 0024BB30 80 76 00 0C */ lwz r3, 0xc(r22) -/* 8024EBF4 0024BB34 38 80 00 02 */ li r4, 2 -/* 8024EBF8 0024BB38 4B FF DF B1 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024EBFC 0024BB3C 7C 19 18 40 */ cmplw r25, r3 -/* 8024EC00 0024BB40 40 82 00 0C */ bne lbl_8024EC0C -/* 8024EC04 0024BB44 38 00 00 01 */ li r0, 1 -/* 8024EC08 0024BB48 48 00 00 70 */ b lbl_8024EC78 -lbl_8024EC0C: -/* 8024EC0C 0024BB4C 80 79 00 24 */ lwz r3, 0x24(r25) -/* 8024EC10 0024BB50 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024EC14 0024BB54 28 00 00 00 */ cmplwi r0, 0 -/* 8024EC18 0024BB58 41 82 00 0C */ beq lbl_8024EC24 -/* 8024EC1C 0024BB5C 38 00 00 01 */ li r0, 1 -/* 8024EC20 0024BB60 48 00 00 58 */ b lbl_8024EC78 -lbl_8024EC24: -/* 8024EC24 0024BB64 80 79 00 1C */ lwz r3, 0x1c(r25) -/* 8024EC28 0024BB68 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024EC2C 0024BB6C 48 00 00 40 */ b lbl_8024EC6C -lbl_8024EC30: -/* 8024EC30 0024BB70 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024EC34 0024BB74 80 63 00 00 */ lwz r3, 0(r3) -/* 8024EC38 0024BB78 28 03 00 00 */ cmplwi r3, 0 -/* 8024EC3C 0024BB7C 41 82 00 2C */ beq lbl_8024EC68 -/* 8024EC40 0024BB80 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8024EC44 0024BB84 28 00 00 00 */ cmplwi r0, 0 -/* 8024EC48 0024BB88 40 82 00 20 */ bne lbl_8024EC68 -/* 8024EC4C 0024BB8C 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8024EC50 0024BB90 2C 00 00 05 */ cmpwi r0, 5 -/* 8024EC54 0024BB94 41 82 00 14 */ beq lbl_8024EC68 -/* 8024EC58 0024BB98 2C 00 00 06 */ cmpwi r0, 6 -/* 8024EC5C 0024BB9C 41 82 00 0C */ beq lbl_8024EC68 -/* 8024EC60 0024BBA0 38 00 00 01 */ li r0, 1 -/* 8024EC64 0024BBA4 48 00 00 14 */ b lbl_8024EC78 -lbl_8024EC68: -/* 8024EC68 0024BBA8 80 84 00 04 */ lwz r4, 4(r4) -lbl_8024EC6C: -/* 8024EC6C 0024BBAC 28 04 00 00 */ cmplwi r4, 0 -/* 8024EC70 0024BBB0 40 82 FF C0 */ bne lbl_8024EC30 -/* 8024EC74 0024BBB4 38 00 00 00 */ li r0, 0 -lbl_8024EC78: -/* 8024EC78 0024BBB8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8024EC7C 0024BBBC 40 82 00 40 */ bne lbl_8024ECBC -/* 8024EC80 0024BBC0 38 61 10 08 */ addi r3, r1, 0x1008 -/* 8024EC84 0024BBC4 38 81 08 08 */ addi r4, r1, 0x808 -/* 8024EC88 0024BBC8 38 00 00 00 */ li r0, 0 -/* 8024EC8C 0024BBCC 7F 23 A9 2E */ stwx r25, r3, r21 -/* 8024EC90 0024BBD0 7F 23 CB 78 */ mr r3, r25 -/* 8024EC94 0024BBD4 7C 04 A9 2E */ stwx r0, r4, r21 -/* 8024EC98 0024BBD8 4B FF 4D 1D */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024EC9C 0024BBDC 1C 63 00 0A */ mulli r3, r3, 0xa -/* 8024ECA0 0024BBE0 38 81 00 08 */ addi r4, r1, 8 -/* 8024ECA4 0024BBE4 3B 7B 00 01 */ addi r27, r27, 1 -/* 8024ECA8 0024BBE8 38 03 00 01 */ addi r0, r3, 1 -/* 8024ECAC 0024BBEC 7C 04 A9 2E */ stwx r0, r4, r21 -/* 8024ECB0 0024BBF0 7C 04 A8 2E */ lwzx r0, r4, r21 -/* 8024ECB4 0024BBF4 3A B5 00 04 */ addi r21, r21, 4 -/* 8024ECB8 0024BBF8 7F 5A 02 14 */ add r26, r26, r0 -lbl_8024ECBC: -/* 8024ECBC 0024BBFC 83 39 00 04 */ lwz r25, 4(r25) -lbl_8024ECC0: -/* 8024ECC0 0024BC00 28 19 00 00 */ cmplwi r25, 0 -/* 8024ECC4 0024BC04 40 82 FD 68 */ bne lbl_8024EA2C -/* 8024ECC8 0024BC08 2C 1A 00 00 */ cmpwi r26, 0 -/* 8024ECCC 0024BC0C 41 82 00 A0 */ beq lbl_8024ED6C -/* 8024ECD0 0024BC10 4B E7 A8 D1 */ bl rand -/* 8024ECD4 0024BC14 3C 80 43 30 */ lis r4, 0x4330 -/* 8024ECD8 0024BC18 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024ECDC 0024BC1C 90 01 18 0C */ stw r0, 0x180c(r1) -/* 8024ECE0 0024BC20 6F 40 80 00 */ xoris r0, r26, 0x8000 -/* 8024ECE4 0024BC24 C8 42 C4 E8 */ lfd f2, lbl_8051A848@sda21(r2) -/* 8024ECE8 0024BC28 38 A1 00 08 */ addi r5, r1, 8 -/* 8024ECEC 0024BC2C 90 81 18 08 */ stw r4, 0x1808(r1) -/* 8024ECF0 0024BC30 38 C0 00 00 */ li r6, 0 -/* 8024ECF4 0024BC34 C0 02 C4 F8 */ lfs f0, lbl_8051A858@sda21(r2) -/* 8024ECF8 0024BC38 38 E0 00 00 */ li r7, 0 -/* 8024ECFC 0024BC3C C8 21 18 08 */ lfd f1, 0x1808(r1) -/* 8024ED00 0024BC40 90 01 18 14 */ stw r0, 0x1814(r1) -/* 8024ED04 0024BC44 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024ED08 0024BC48 90 81 18 10 */ stw r4, 0x1810(r1) -/* 8024ED0C 0024BC4C EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024ED10 0024BC50 C8 01 18 10 */ lfd f0, 0x1810(r1) -/* 8024ED14 0024BC54 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024ED18 0024BC58 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024ED1C 0024BC5C FC 00 00 1E */ fctiwz f0, f0 -/* 8024ED20 0024BC60 D8 01 18 18 */ stfd f0, 0x1818(r1) -/* 8024ED24 0024BC64 80 61 18 1C */ lwz r3, 0x181c(r1) -/* 8024ED28 0024BC68 7F 69 03 A6 */ mtctr r27 -/* 8024ED2C 0024BC6C 2C 1B 00 00 */ cmpwi r27, 0 -/* 8024ED30 0024BC70 40 81 00 3C */ ble lbl_8024ED6C -lbl_8024ED34: -/* 8024ED34 0024BC74 80 05 00 00 */ lwz r0, 0(r5) -/* 8024ED38 0024BC78 7C C6 02 14 */ add r6, r6, r0 -/* 8024ED3C 0024BC7C 7C 06 18 00 */ cmpw r6, r3 -/* 8024ED40 0024BC80 40 81 00 20 */ ble lbl_8024ED60 -/* 8024ED44 0024BC84 54 E4 10 3A */ slwi r4, r7, 2 -/* 8024ED48 0024BC88 38 61 08 08 */ addi r3, r1, 0x808 -/* 8024ED4C 0024BC8C 7C 03 20 2E */ lwzx r0, r3, r4 -/* 8024ED50 0024BC90 38 61 10 08 */ addi r3, r1, 0x1008 -/* 8024ED54 0024BC94 7C 63 20 2E */ lwzx r3, r3, r4 -/* 8024ED58 0024BC98 90 17 00 00 */ stw r0, 0(r23) -/* 8024ED5C 0024BC9C 48 00 00 14 */ b lbl_8024ED70 -lbl_8024ED60: -/* 8024ED60 0024BCA0 38 A5 00 04 */ addi r5, r5, 4 -/* 8024ED64 0024BCA4 38 E7 00 01 */ addi r7, r7, 1 -/* 8024ED68 0024BCA8 42 00 FF CC */ bdnz lbl_8024ED34 -lbl_8024ED6C: -/* 8024ED6C 0024BCAC 38 60 00 00 */ li r3, 0 -lbl_8024ED70: -/* 8024ED70 0024BCB0 BA A1 18 24 */ lmw r21, 0x1824(r1) -/* 8024ED74 0024BCB4 80 01 18 54 */ lwz r0, 0x1854(r1) -/* 8024ED78 0024BCB8 7C 08 03 A6 */ mtlr r0 -/* 8024ED7C 0024BCBC 38 21 18 50 */ addi r1, r1, 0x1850 -/* 8024ED80 0024BCC0 4E 80 00 20 */ blr - -.global getItemHardSetMapNode__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7BaseGen -getItemHardSetMapNode__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7BaseGen: -/* 8024ED84 0024BCC4 94 21 EF C0 */ stwu r1, -0x1040(r1) -/* 8024ED88 0024BCC8 7C 08 02 A6 */ mflr r0 -/* 8024ED8C 0024BCCC 90 01 10 44 */ stw r0, 0x1044(r1) -/* 8024ED90 0024BCD0 BF 21 10 24 */ stmw r25, 0x1024(r1) -/* 8024ED94 0024BCD4 7C 79 1B 78 */ mr r25, r3 -/* 8024ED98 0024BCD8 7C 9A 23 78 */ mr r26, r4 -/* 8024ED9C 0024BCDC 3B E0 00 00 */ li r31, 0 -/* 8024EDA0 0024BCE0 3B C0 FF FF */ li r30, -1 -/* 8024EDA4 0024BCE4 80 63 00 08 */ lwz r3, 8(r3) -/* 8024EDA8 0024BCE8 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8024EDAC 0024BCEC 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 8024EDB0 0024BCF0 48 00 02 84 */ b lbl_8024F034 -lbl_8024EDB4: -/* 8024EDB4 0024BCF4 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 8024EDB8 0024BCF8 4B FF 3D C1 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024EDBC 0024BCFC 2C 03 00 01 */ cmpwi r3, 1 -/* 8024EDC0 0024BD00 40 82 01 6C */ bne lbl_8024EF2C -/* 8024EDC4 0024BD04 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8024EDC8 0024BD08 81 83 00 00 */ lwz r12, 0(r3) -/* 8024EDCC 0024BD0C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8024EDD0 0024BD10 7D 89 03 A6 */ mtctr r12 -/* 8024EDD4 0024BD14 4E 80 04 21 */ bctrl -/* 8024EDD8 0024BD18 3B 63 00 01 */ addi r27, r3, 1 -/* 8024EDDC 0024BD1C 7F A3 EB 78 */ mr r3, r29 -/* 8024EDE0 0024BD20 4B FF 4B D5 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024EDE4 0024BD24 7F 83 DB D6 */ divw r28, r3, r27 -/* 8024EDE8 0024BD28 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 8024EDEC 0024BD2C 4B FF 3D D5 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024EDF0 0024BD30 28 03 00 00 */ cmplwi r3, 0 -/* 8024EDF4 0024BD34 41 82 02 3C */ beq lbl_8024F030 -/* 8024EDF8 0024BD38 83 63 00 10 */ lwz r27, 0x10(r3) -/* 8024EDFC 0024BD3C 48 00 01 24 */ b lbl_8024EF20 -lbl_8024EE00: -/* 8024EE00 0024BD40 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8024EE04 0024BD44 2C 00 00 02 */ cmpwi r0, 2 -/* 8024EE08 0024BD48 40 82 01 14 */ bne lbl_8024EF1C -/* 8024EE0C 0024BD4C 28 1B 00 00 */ cmplwi r27, 0 -/* 8024EE10 0024BD50 41 82 00 34 */ beq lbl_8024EE44 -/* 8024EE14 0024BD54 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8024EE18 0024BD58 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8024EE1C 0024BD5C 48 00 00 1C */ b lbl_8024EE38 -lbl_8024EE20: -/* 8024EE20 0024BD60 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8024EE24 0024BD64 7C 00 D8 40 */ cmplw r0, r27 -/* 8024EE28 0024BD68 40 82 00 0C */ bne lbl_8024EE34 -/* 8024EE2C 0024BD6C 38 00 00 01 */ li r0, 1 -/* 8024EE30 0024BD70 48 00 00 B8 */ b lbl_8024EEE8 -lbl_8024EE34: -/* 8024EE34 0024BD74 80 63 00 04 */ lwz r3, 4(r3) -lbl_8024EE38: -/* 8024EE38 0024BD78 28 03 00 00 */ cmplwi r3, 0 -/* 8024EE3C 0024BD7C 40 82 FF E4 */ bne lbl_8024EE20 -/* 8024EE40 0024BD80 48 00 00 A4 */ b lbl_8024EEE4 -lbl_8024EE44: -/* 8024EE44 0024BD84 80 79 00 0C */ lwz r3, 0xc(r25) -/* 8024EE48 0024BD88 38 80 00 01 */ li r4, 1 -/* 8024EE4C 0024BD8C 4B FF DD 5D */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024EE50 0024BD90 7C 1D 18 40 */ cmplw r29, r3 -/* 8024EE54 0024BD94 40 82 00 0C */ bne lbl_8024EE60 -/* 8024EE58 0024BD98 38 00 00 01 */ li r0, 1 -/* 8024EE5C 0024BD9C 48 00 00 8C */ b lbl_8024EEE8 -lbl_8024EE60: -/* 8024EE60 0024BDA0 80 79 00 0C */ lwz r3, 0xc(r25) -/* 8024EE64 0024BDA4 38 80 00 02 */ li r4, 2 -/* 8024EE68 0024BDA8 4B FF DD 41 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024EE6C 0024BDAC 7C 1D 18 40 */ cmplw r29, r3 -/* 8024EE70 0024BDB0 40 82 00 0C */ bne lbl_8024EE7C -/* 8024EE74 0024BDB4 38 00 00 01 */ li r0, 1 -/* 8024EE78 0024BDB8 48 00 00 70 */ b lbl_8024EEE8 -lbl_8024EE7C: -/* 8024EE7C 0024BDBC 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8024EE80 0024BDC0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024EE84 0024BDC4 28 00 00 00 */ cmplwi r0, 0 -/* 8024EE88 0024BDC8 41 82 00 0C */ beq lbl_8024EE94 -/* 8024EE8C 0024BDCC 38 00 00 01 */ li r0, 1 -/* 8024EE90 0024BDD0 48 00 00 58 */ b lbl_8024EEE8 -lbl_8024EE94: -/* 8024EE94 0024BDD4 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 8024EE98 0024BDD8 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024EE9C 0024BDDC 48 00 00 40 */ b lbl_8024EEDC -lbl_8024EEA0: -/* 8024EEA0 0024BDE0 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024EEA4 0024BDE4 80 63 00 00 */ lwz r3, 0(r3) -/* 8024EEA8 0024BDE8 28 03 00 00 */ cmplwi r3, 0 -/* 8024EEAC 0024BDEC 41 82 00 2C */ beq lbl_8024EED8 -/* 8024EEB0 0024BDF0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8024EEB4 0024BDF4 28 00 00 00 */ cmplwi r0, 0 -/* 8024EEB8 0024BDF8 40 82 00 20 */ bne lbl_8024EED8 -/* 8024EEBC 0024BDFC 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8024EEC0 0024BE00 2C 00 00 05 */ cmpwi r0, 5 -/* 8024EEC4 0024BE04 41 82 00 14 */ beq lbl_8024EED8 -/* 8024EEC8 0024BE08 2C 00 00 06 */ cmpwi r0, 6 -/* 8024EECC 0024BE0C 41 82 00 0C */ beq lbl_8024EED8 -/* 8024EED0 0024BE10 38 00 00 01 */ li r0, 1 -/* 8024EED4 0024BE14 48 00 00 14 */ b lbl_8024EEE8 -lbl_8024EED8: -/* 8024EED8 0024BE18 80 84 00 04 */ lwz r4, 4(r4) -lbl_8024EEDC: -/* 8024EEDC 0024BE1C 28 04 00 00 */ cmplwi r4, 0 -/* 8024EEE0 0024BE20 40 82 FF C0 */ bne lbl_8024EEA0 -lbl_8024EEE4: -/* 8024EEE4 0024BE24 38 00 00 00 */ li r0, 0 -lbl_8024EEE8: -/* 8024EEE8 0024BE28 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8024EEEC 0024BE2C 40 82 00 30 */ bne lbl_8024EF1C -/* 8024EEF0 0024BE30 7C 1C F0 00 */ cmpw r28, r30 -/* 8024EEF4 0024BE34 41 80 00 28 */ blt lbl_8024EF1C -/* 8024EEF8 0024BE38 40 81 00 0C */ ble lbl_8024EF04 -/* 8024EEFC 0024BE3C 3B E0 00 00 */ li r31, 0 -/* 8024EF00 0024BE40 7F 9E E3 78 */ mr r30, r28 -lbl_8024EF04: -/* 8024EF04 0024BE44 57 E0 10 3A */ slwi r0, r31, 2 -/* 8024EF08 0024BE48 38 81 08 08 */ addi r4, r1, 0x808 -/* 8024EF0C 0024BE4C 38 61 00 08 */ addi r3, r1, 8 -/* 8024EF10 0024BE50 7F A4 01 2E */ stwx r29, r4, r0 -/* 8024EF14 0024BE54 3B FF 00 01 */ addi r31, r31, 1 -/* 8024EF18 0024BE58 7F 63 01 2E */ stwx r27, r3, r0 -lbl_8024EF1C: -/* 8024EF1C 0024BE5C 83 7B 00 04 */ lwz r27, 4(r27) -lbl_8024EF20: -/* 8024EF20 0024BE60 28 1B 00 00 */ cmplwi r27, 0 -/* 8024EF24 0024BE64 40 82 FE DC */ bne lbl_8024EE00 -/* 8024EF28 0024BE68 48 00 01 08 */ b lbl_8024F030 -lbl_8024EF2C: -/* 8024EF2C 0024BE6C 7F A3 EB 78 */ mr r3, r29 -/* 8024EF30 0024BE70 4B FF 4A 95 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 8024EF34 0024BE74 38 82 C4 F0 */ addi r4, r2, lbl_8051A850@sda21 -/* 8024EF38 0024BE78 38 A0 00 04 */ li r5, 4 -/* 8024EF3C 0024BE7C 4B E7 B7 45 */ bl strncmp -/* 8024EF40 0024BE80 2C 03 00 00 */ cmpwi r3, 0 -/* 8024EF44 0024BE84 40 82 00 EC */ bne lbl_8024F030 -/* 8024EF48 0024BE88 7F A3 EB 78 */ mr r3, r29 -/* 8024EF4C 0024BE8C 4B FF 4A 69 */ bl getNodeScore__Q34Game4Cave7MapNodeFv -/* 8024EF50 0024BE90 3B 63 00 01 */ addi r27, r3, 1 -/* 8024EF54 0024BE94 80 79 00 0C */ lwz r3, 0xc(r25) -/* 8024EF58 0024BE98 38 80 00 01 */ li r4, 1 -/* 8024EF5C 0024BE9C 4B FF DC 4D */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024EF60 0024BEA0 7C 1D 18 40 */ cmplw r29, r3 -/* 8024EF64 0024BEA4 40 82 00 0C */ bne lbl_8024EF70 -/* 8024EF68 0024BEA8 38 00 00 01 */ li r0, 1 -/* 8024EF6C 0024BEAC 48 00 00 8C */ b lbl_8024EFF8 -lbl_8024EF70: -/* 8024EF70 0024BEB0 80 79 00 0C */ lwz r3, 0xc(r25) -/* 8024EF74 0024BEB4 38 80 00 02 */ li r4, 2 -/* 8024EF78 0024BEB8 4B FF DC 31 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024EF7C 0024BEBC 7C 1D 18 40 */ cmplw r29, r3 -/* 8024EF80 0024BEC0 40 82 00 0C */ bne lbl_8024EF8C -/* 8024EF84 0024BEC4 38 00 00 01 */ li r0, 1 -/* 8024EF88 0024BEC8 48 00 00 70 */ b lbl_8024EFF8 -lbl_8024EF8C: -/* 8024EF8C 0024BECC 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8024EF90 0024BED0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8024EF94 0024BED4 28 00 00 00 */ cmplwi r0, 0 -/* 8024EF98 0024BED8 41 82 00 0C */ beq lbl_8024EFA4 -/* 8024EF9C 0024BEDC 38 00 00 01 */ li r0, 1 -/* 8024EFA0 0024BEE0 48 00 00 58 */ b lbl_8024EFF8 -lbl_8024EFA4: -/* 8024EFA4 0024BEE4 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 8024EFA8 0024BEE8 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024EFAC 0024BEEC 48 00 00 40 */ b lbl_8024EFEC -lbl_8024EFB0: -/* 8024EFB0 0024BEF0 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024EFB4 0024BEF4 80 63 00 00 */ lwz r3, 0(r3) -/* 8024EFB8 0024BEF8 28 03 00 00 */ cmplwi r3, 0 -/* 8024EFBC 0024BEFC 41 82 00 2C */ beq lbl_8024EFE8 -/* 8024EFC0 0024BF00 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8024EFC4 0024BF04 28 00 00 00 */ cmplwi r0, 0 -/* 8024EFC8 0024BF08 40 82 00 20 */ bne lbl_8024EFE8 -/* 8024EFCC 0024BF0C 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8024EFD0 0024BF10 2C 00 00 05 */ cmpwi r0, 5 -/* 8024EFD4 0024BF14 41 82 00 14 */ beq lbl_8024EFE8 -/* 8024EFD8 0024BF18 2C 00 00 06 */ cmpwi r0, 6 -/* 8024EFDC 0024BF1C 41 82 00 0C */ beq lbl_8024EFE8 -/* 8024EFE0 0024BF20 38 00 00 01 */ li r0, 1 -/* 8024EFE4 0024BF24 48 00 00 14 */ b lbl_8024EFF8 -lbl_8024EFE8: -/* 8024EFE8 0024BF28 80 84 00 04 */ lwz r4, 4(r4) -lbl_8024EFEC: -/* 8024EFEC 0024BF2C 28 04 00 00 */ cmplwi r4, 0 -/* 8024EFF0 0024BF30 40 82 FF C0 */ bne lbl_8024EFB0 -/* 8024EFF4 0024BF34 38 00 00 00 */ li r0, 0 -lbl_8024EFF8: -/* 8024EFF8 0024BF38 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8024EFFC 0024BF3C 40 82 00 34 */ bne lbl_8024F030 -/* 8024F000 0024BF40 7C 1B F0 00 */ cmpw r27, r30 -/* 8024F004 0024BF44 41 80 00 2C */ blt lbl_8024F030 -/* 8024F008 0024BF48 40 81 00 0C */ ble lbl_8024F014 -/* 8024F00C 0024BF4C 3B E0 00 00 */ li r31, 0 -/* 8024F010 0024BF50 7F 7E DB 78 */ mr r30, r27 -lbl_8024F014: -/* 8024F014 0024BF54 57 E5 10 3A */ slwi r5, r31, 2 -/* 8024F018 0024BF58 38 81 08 08 */ addi r4, r1, 0x808 -/* 8024F01C 0024BF5C 38 61 00 08 */ addi r3, r1, 8 -/* 8024F020 0024BF60 38 00 00 00 */ li r0, 0 -/* 8024F024 0024BF64 7F A4 29 2E */ stwx r29, r4, r5 -/* 8024F028 0024BF68 3B FF 00 01 */ addi r31, r31, 1 -/* 8024F02C 0024BF6C 7C 03 29 2E */ stwx r0, r3, r5 -lbl_8024F030: -/* 8024F030 0024BF70 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8024F034: -/* 8024F034 0024BF74 28 1D 00 00 */ cmplwi r29, 0 -/* 8024F038 0024BF78 40 82 FD 7C */ bne lbl_8024EDB4 -/* 8024F03C 0024BF7C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8024F040 0024BF80 41 82 00 6C */ beq lbl_8024F0AC -/* 8024F044 0024BF84 4B E7 A5 5D */ bl rand -/* 8024F048 0024BF88 3C A0 43 30 */ lis r5, 0x4330 -/* 8024F04C 0024BF8C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024F050 0024BF90 90 01 10 0C */ stw r0, 0x100c(r1) -/* 8024F054 0024BF94 6F E0 80 00 */ xoris r0, r31, 0x8000 -/* 8024F058 0024BF98 C8 42 C4 E8 */ lfd f2, lbl_8051A848@sda21(r2) -/* 8024F05C 0024BF9C 38 81 00 08 */ addi r4, r1, 8 -/* 8024F060 0024BFA0 90 A1 10 08 */ stw r5, 0x1008(r1) -/* 8024F064 0024BFA4 38 61 08 08 */ addi r3, r1, 0x808 -/* 8024F068 0024BFA8 C0 02 C4 F8 */ lfs f0, lbl_8051A858@sda21(r2) -/* 8024F06C 0024BFAC C8 21 10 08 */ lfd f1, 0x1008(r1) -/* 8024F070 0024BFB0 90 01 10 14 */ stw r0, 0x1014(r1) -/* 8024F074 0024BFB4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024F078 0024BFB8 90 A1 10 10 */ stw r5, 0x1010(r1) -/* 8024F07C 0024BFBC EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024F080 0024BFC0 C8 01 10 10 */ lfd f0, 0x1010(r1) -/* 8024F084 0024BFC4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024F088 0024BFC8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024F08C 0024BFCC FC 00 00 1E */ fctiwz f0, f0 -/* 8024F090 0024BFD0 D8 01 10 18 */ stfd f0, 0x1018(r1) -/* 8024F094 0024BFD4 80 01 10 1C */ lwz r0, 0x101c(r1) -/* 8024F098 0024BFD8 54 05 10 3A */ slwi r5, r0, 2 -/* 8024F09C 0024BFDC 7C 04 28 2E */ lwzx r0, r4, r5 -/* 8024F0A0 0024BFE0 7C 63 28 2E */ lwzx r3, r3, r5 -/* 8024F0A4 0024BFE4 90 1A 00 00 */ stw r0, 0(r26) -/* 8024F0A8 0024BFE8 48 00 00 08 */ b lbl_8024F0B0 -lbl_8024F0AC: -/* 8024F0AC 0024BFEC 38 60 00 00 */ li r3, 0 -lbl_8024F0B0: -/* 8024F0B0 0024BFF0 BB 21 10 24 */ lmw r25, 0x1024(r1) -/* 8024F0B4 0024BFF4 80 01 10 44 */ lwz r0, 0x1044(r1) -/* 8024F0B8 0024BFF8 7C 08 03 A6 */ mtlr r0 -/* 8024F0BC 0024BFFC 38 21 10 40 */ addi r1, r1, 0x1040 -/* 8024F0C0 0024C000 4E 80 00 20 */ blr - -.global getItemUnit__Q34Game4Cave12RandItemUnitFv -getItemUnit__Q34Game4Cave12RandItemUnitFv: -/* 8024F0C4 0024C004 94 21 EF D0 */ stwu r1, -0x1030(r1) -/* 8024F0C8 0024C008 7C 08 02 A6 */ mflr r0 -/* 8024F0CC 0024C00C 39 40 00 00 */ li r10, 0 -/* 8024F0D0 0024C010 90 01 10 34 */ stw r0, 0x1034(r1) -/* 8024F0D4 0024C014 38 C1 08 08 */ addi r6, r1, 0x808 -/* 8024F0D8 0024C018 93 E1 10 2C */ stw r31, 0x102c(r1) -/* 8024F0DC 0024C01C 3B E1 00 08 */ addi r31, r1, 8 -/* 8024F0E0 0024C020 7F E7 FB 78 */ mr r7, r31 -/* 8024F0E4 0024C024 93 C1 10 28 */ stw r30, 0x1028(r1) -/* 8024F0E8 0024C028 3B C0 00 00 */ li r30, 0 -/* 8024F0EC 0024C02C 93 A1 10 24 */ stw r29, 0x1024(r1) -/* 8024F0F0 0024C030 3B A0 00 00 */ li r29, 0 -/* 8024F0F4 0024C034 80 83 00 08 */ lwz r4, 8(r3) -/* 8024F0F8 0024C038 80 84 00 24 */ lwz r4, 0x24(r4) -/* 8024F0FC 0024C03C 81 64 00 10 */ lwz r11, 0x10(r4) -/* 8024F100 0024C040 48 00 00 88 */ b lbl_8024F188 -lbl_8024F104: -/* 8024F104 0024C044 81 2B 00 18 */ lwz r9, 0x18(r11) -/* 8024F108 0024C048 80 A9 00 00 */ lwz r5, 0(r9) -/* 8024F10C 0024C04C 28 05 00 00 */ cmplwi r5, 0 -/* 8024F110 0024C050 41 82 00 74 */ beq lbl_8024F184 -/* 8024F114 0024C054 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 8024F118 0024C058 81 05 00 1C */ lwz r8, 0x1c(r5) -/* 8024F11C 0024C05C 38 04 66 67 */ addi r0, r4, 0x66666667@l -/* 8024F120 0024C060 7C 00 40 96 */ mulhw r0, r0, r8 -/* 8024F124 0024C064 7C 04 16 70 */ srawi r4, r0, 2 -/* 8024F128 0024C068 54 85 0F FE */ srwi r5, r4, 0x1f -/* 8024F12C 0024C06C 7C 00 16 70 */ srawi r0, r0, 2 -/* 8024F130 0024C070 7C 84 2A 14 */ add r4, r4, r5 -/* 8024F134 0024C074 1C A4 00 0A */ mulli r5, r4, 0xa -/* 8024F138 0024C078 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8024F13C 0024C07C 7C 80 22 14 */ add r4, r0, r4 -/* 8024F140 0024C080 7C 05 40 51 */ subf. r0, r5, r8 -/* 8024F144 0024C084 41 82 00 20 */ beq lbl_8024F164 -/* 8024F148 0024C088 90 07 00 00 */ stw r0, 0(r7) -/* 8024F14C 0024C08C 3B DE 00 01 */ addi r30, r30, 1 -/* 8024F150 0024C090 80 07 00 00 */ lwz r0, 0(r7) -/* 8024F154 0024C094 38 E7 00 04 */ addi r7, r7, 4 -/* 8024F158 0024C098 91 26 00 00 */ stw r9, 0(r6) -/* 8024F15C 0024C09C 38 C6 00 04 */ addi r6, r6, 4 -/* 8024F160 0024C0A0 7F BD 02 14 */ add r29, r29, r0 -lbl_8024F164: -/* 8024F164 0024C0A4 2C 04 00 00 */ cmpwi r4, 0 -/* 8024F168 0024C0A8 41 82 00 1C */ beq lbl_8024F184 -/* 8024F16C 0024C0AC 80 03 00 00 */ lwz r0, 0(r3) -/* 8024F170 0024C0B0 7D 4A 22 14 */ add r10, r10, r4 -/* 8024F174 0024C0B4 7C 00 50 00 */ cmpw r0, r10 -/* 8024F178 0024C0B8 40 80 00 0C */ bge lbl_8024F184 -/* 8024F17C 0024C0BC 80 6B 00 18 */ lwz r3, 0x18(r11) -/* 8024F180 0024C0C0 48 00 00 A8 */ b lbl_8024F228 -lbl_8024F184: -/* 8024F184 0024C0C4 81 6B 00 04 */ lwz r11, 4(r11) -lbl_8024F188: -/* 8024F188 0024C0C8 28 0B 00 00 */ cmplwi r11, 0 -/* 8024F18C 0024C0CC 40 82 FF 78 */ bne lbl_8024F104 -/* 8024F190 0024C0D0 2C 1D 00 00 */ cmpwi r29, 0 -/* 8024F194 0024C0D4 41 82 00 90 */ beq lbl_8024F224 -/* 8024F198 0024C0D8 4B E7 A4 09 */ bl rand -/* 8024F19C 0024C0DC 3C 80 43 30 */ lis r4, 0x4330 -/* 8024F1A0 0024C0E0 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024F1A4 0024C0E4 90 01 10 0C */ stw r0, 0x100c(r1) -/* 8024F1A8 0024C0E8 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 8024F1AC 0024C0EC C8 42 C4 E8 */ lfd f2, lbl_8051A848@sda21(r2) -/* 8024F1B0 0024C0F0 38 A0 00 00 */ li r5, 0 -/* 8024F1B4 0024C0F4 90 81 10 08 */ stw r4, 0x1008(r1) -/* 8024F1B8 0024C0F8 38 C0 00 00 */ li r6, 0 -/* 8024F1BC 0024C0FC C0 02 C4 F8 */ lfs f0, lbl_8051A858@sda21(r2) -/* 8024F1C0 0024C100 C8 21 10 08 */ lfd f1, 0x1008(r1) -/* 8024F1C4 0024C104 90 01 10 14 */ stw r0, 0x1014(r1) -/* 8024F1C8 0024C108 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024F1CC 0024C10C 90 81 10 10 */ stw r4, 0x1010(r1) -/* 8024F1D0 0024C110 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024F1D4 0024C114 C8 01 10 10 */ lfd f0, 0x1010(r1) -/* 8024F1D8 0024C118 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024F1DC 0024C11C EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024F1E0 0024C120 FC 00 00 1E */ fctiwz f0, f0 -/* 8024F1E4 0024C124 D8 01 10 18 */ stfd f0, 0x1018(r1) -/* 8024F1E8 0024C128 80 61 10 1C */ lwz r3, 0x101c(r1) -/* 8024F1EC 0024C12C 7F C9 03 A6 */ mtctr r30 -/* 8024F1F0 0024C130 2C 1E 00 00 */ cmpwi r30, 0 -/* 8024F1F4 0024C134 40 81 00 30 */ ble lbl_8024F224 -lbl_8024F1F8: -/* 8024F1F8 0024C138 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F1FC 0024C13C 7C A5 02 14 */ add r5, r5, r0 -/* 8024F200 0024C140 7C 05 18 00 */ cmpw r5, r3 -/* 8024F204 0024C144 40 81 00 14 */ ble lbl_8024F218 -/* 8024F208 0024C148 54 C0 10 3A */ slwi r0, r6, 2 -/* 8024F20C 0024C14C 38 61 08 08 */ addi r3, r1, 0x808 -/* 8024F210 0024C150 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8024F214 0024C154 48 00 00 14 */ b lbl_8024F228 -lbl_8024F218: -/* 8024F218 0024C158 3B FF 00 04 */ addi r31, r31, 4 -/* 8024F21C 0024C15C 38 C6 00 01 */ addi r6, r6, 1 -/* 8024F220 0024C160 42 00 FF D8 */ bdnz lbl_8024F1F8 -lbl_8024F224: -/* 8024F224 0024C164 38 60 00 00 */ li r3, 0 -lbl_8024F228: -/* 8024F228 0024C168 80 01 10 34 */ lwz r0, 0x1034(r1) -/* 8024F22C 0024C16C 83 E1 10 2C */ lwz r31, 0x102c(r1) -/* 8024F230 0024C170 83 C1 10 28 */ lwz r30, 0x1028(r1) -/* 8024F234 0024C174 83 A1 10 24 */ lwz r29, 0x1024(r1) -/* 8024F238 0024C178 7C 08 03 A6 */ mtlr r0 -/* 8024F23C 0024C17C 38 21 10 30 */ addi r1, r1, 0x1030 -/* 8024F240 0024C180 4E 80 00 20 */ blr - -.global getItemSlotNum__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNode -getItemSlotNum__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNode: -/* 8024F244 0024C184 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024F248 0024C188 7C 08 02 A6 */ mflr r0 -/* 8024F24C 0024C18C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024F250 0024C190 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024F254 0024C194 3B E0 00 00 */ li r31, 0 -/* 8024F258 0024C198 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024F25C 0024C19C 4B FF 39 65 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024F260 0024C1A0 28 03 00 00 */ cmplwi r3, 0 -/* 8024F264 0024C1A4 41 82 00 28 */ beq lbl_8024F28C -/* 8024F268 0024C1A8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8024F26C 0024C1AC 48 00 00 18 */ b lbl_8024F284 -lbl_8024F270: -/* 8024F270 0024C1B0 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8024F274 0024C1B4 2C 00 00 02 */ cmpwi r0, 2 -/* 8024F278 0024C1B8 40 82 00 08 */ bne lbl_8024F280 -/* 8024F27C 0024C1BC 3B FF 00 01 */ addi r31, r31, 1 -lbl_8024F280: -/* 8024F280 0024C1C0 80 63 00 04 */ lwz r3, 4(r3) -lbl_8024F284: -/* 8024F284 0024C1C4 28 03 00 00 */ cmplwi r3, 0 -/* 8024F288 0024C1C8 40 82 FF E8 */ bne lbl_8024F270 -lbl_8024F28C: -/* 8024F28C 0024C1CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024F290 0024C1D0 7F E3 FB 78 */ mr r3, r31 -/* 8024F294 0024C1D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024F298 0024C1D8 7C 08 03 A6 */ mtlr r0 -/* 8024F29C 0024C1DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024F2A0 0024C1E0 4E 80 00 20 */ blr - -.global isItemSetHard__Q34Game4Cave12RandItemUnitFv -isItemSetHard__Q34Game4Cave12RandItemUnitFv: -/* 8024F2A4 0024C1E4 80 83 00 08 */ lwz r4, 8(r3) -/* 8024F2A8 0024C1E8 80 04 00 04 */ lwz r0, 4(r4) -/* 8024F2AC 0024C1EC 2C 00 00 04 */ cmpwi r0, 4 -/* 8024F2B0 0024C1F0 41 82 00 40 */ beq lbl_8024F2F0 -/* 8024F2B4 0024C1F4 40 80 00 44 */ bge lbl_8024F2F8 -/* 8024F2B8 0024C1F8 2C 00 00 02 */ cmpwi r0, 2 -/* 8024F2BC 0024C1FC 40 80 00 18 */ bge lbl_8024F2D4 -/* 8024F2C0 0024C200 2C 00 00 00 */ cmpwi r0, 0 -/* 8024F2C4 0024C204 40 80 00 08 */ bge lbl_8024F2CC -/* 8024F2C8 0024C208 48 00 00 30 */ b lbl_8024F2F8 -lbl_8024F2CC: -/* 8024F2CC 0024C20C 38 60 00 00 */ li r3, 0 -/* 8024F2D0 0024C210 4E 80 00 20 */ blr -lbl_8024F2D4: -/* 8024F2D4 0024C214 80 03 00 00 */ lwz r0, 0(r3) -/* 8024F2D8 0024C218 2C 00 00 00 */ cmpwi r0, 0 -/* 8024F2DC 0024C21C 41 82 00 0C */ beq lbl_8024F2E8 -/* 8024F2E0 0024C220 38 60 00 00 */ li r3, 0 -/* 8024F2E4 0024C224 4E 80 00 20 */ blr -lbl_8024F2E8: -/* 8024F2E8 0024C228 38 60 00 01 */ li r3, 1 -/* 8024F2EC 0024C22C 4E 80 00 20 */ blr -lbl_8024F2F0: -/* 8024F2F0 0024C230 38 60 00 01 */ li r3, 1 -/* 8024F2F4 0024C234 4E 80 00 20 */ blr -lbl_8024F2F8: -/* 8024F2F8 0024C238 38 60 00 00 */ li r3, 0 -/* 8024F2FC 0024C23C 4E 80 00 20 */ blr - -.global getItemDropMapNode__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePPQ34Game4Cave7MapNodeiRi -getItemDropMapNode__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePPQ34Game4Cave7MapNodeiRi: -/* 8024F300 0024C240 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024F304 0024C244 7C 08 02 A6 */ mflr r0 -/* 8024F308 0024C248 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024F30C 0024C24C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8024F310 0024C250 7C 9D 23 78 */ mr r29, r4 -/* 8024F314 0024C254 7C BE 2B 78 */ mr r30, r5 -/* 8024F318 0024C258 7C DA 33 78 */ mr r26, r6 -/* 8024F31C 0024C25C 7C FF 3B 78 */ mr r31, r7 -/* 8024F320 0024C260 3B 60 00 00 */ li r27, 0 -/* 8024F324 0024C264 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024F328 0024C268 4B FF 38 51 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024F32C 0024C26C 2C 03 00 01 */ cmpwi r3, 1 -/* 8024F330 0024C270 40 82 00 0C */ bne lbl_8024F33C -/* 8024F334 0024C274 3B 60 00 01 */ li r27, 1 -/* 8024F338 0024C278 48 00 00 88 */ b lbl_8024F3C0 -lbl_8024F33C: -/* 8024F33C 0024C27C 2C 03 00 00 */ cmpwi r3, 0 -/* 8024F340 0024C280 40 82 00 28 */ bne lbl_8024F368 -/* 8024F344 0024C284 7F A3 EB 78 */ mr r3, r29 -/* 8024F348 0024C288 4B FF 46 7D */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 8024F34C 0024C28C 38 82 C4 F0 */ addi r4, r2, lbl_8051A850@sda21 -/* 8024F350 0024C290 38 A0 00 04 */ li r5, 4 -/* 8024F354 0024C294 4B E7 B3 2D */ bl strncmp -/* 8024F358 0024C298 2C 03 00 00 */ cmpwi r3, 0 -/* 8024F35C 0024C29C 40 82 00 64 */ bne lbl_8024F3C0 -/* 8024F360 0024C2A0 3B 60 00 01 */ li r27, 1 -/* 8024F364 0024C2A4 48 00 00 5C */ b lbl_8024F3C0 -lbl_8024F368: -/* 8024F368 0024C2A8 2C 03 00 02 */ cmpwi r3, 2 -/* 8024F36C 0024C2AC 40 82 00 54 */ bne lbl_8024F3C0 -/* 8024F370 0024C2B0 7F A3 EB 78 */ mr r3, r29 -/* 8024F374 0024C2B4 4B FF 4C ED */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024F378 0024C2B8 2C 03 00 02 */ cmpwi r3, 2 -/* 8024F37C 0024C2BC 40 82 00 40 */ bne lbl_8024F3BC -/* 8024F380 0024C2C0 7F A3 EB 78 */ mr r3, r29 -/* 8024F384 0024C2C4 38 80 00 01 */ li r4, 1 -/* 8024F388 0024C2C8 4B FF 3C A1 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024F38C 0024C2CC 7C 7C 1B 78 */ mr r28, r3 -/* 8024F390 0024C2D0 7F A3 EB 78 */ mr r3, r29 -/* 8024F394 0024C2D4 38 80 00 00 */ li r4, 0 -/* 8024F398 0024C2D8 4B FF 3C 91 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024F39C 0024C2DC 7C 03 E2 14 */ add r0, r3, r28 -/* 8024F3A0 0024C2E0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8024F3A4 0024C2E4 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8024F3A8 0024C2E8 7C 00 1A 78 */ xor r0, r0, r3 -/* 8024F3AC 0024C2EC 7C 03 00 51 */ subf. r0, r3, r0 -/* 8024F3B0 0024C2F0 40 82 00 10 */ bne lbl_8024F3C0 -/* 8024F3B4 0024C2F4 3B 60 00 01 */ li r27, 1 -/* 8024F3B8 0024C2F8 48 00 00 08 */ b lbl_8024F3C0 -lbl_8024F3BC: -/* 8024F3BC 0024C2FC 3B 60 00 01 */ li r27, 1 -lbl_8024F3C0: -/* 8024F3C0 0024C300 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8024F3C4 0024C304 41 82 00 70 */ beq lbl_8024F434 -/* 8024F3C8 0024C308 7F A3 EB 78 */ mr r3, r29 -/* 8024F3CC 0024C30C 4B FF 45 F1 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024F3D0 0024C310 7C 1A 18 50 */ subf r0, r26, r3 -/* 8024F3D4 0024C314 80 9F 00 00 */ lwz r4, 0(r31) -/* 8024F3D8 0024C318 7C 03 FE 70 */ srawi r3, r0, 0x1f -/* 8024F3DC 0024C31C 7C 60 02 78 */ xor r0, r3, r0 -/* 8024F3E0 0024C320 7F 83 00 50 */ subf r28, r3, r0 -/* 8024F3E4 0024C324 7C 1C 20 00 */ cmpw r28, r4 -/* 8024F3E8 0024C328 41 80 00 44 */ blt lbl_8024F42C -/* 8024F3EC 0024C32C 40 82 00 48 */ bne lbl_8024F434 -/* 8024F3F0 0024C330 4B E7 A1 B1 */ bl rand -/* 8024F3F4 0024C334 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024F3F8 0024C338 3C 00 43 30 */ lis r0, 0x4330 -/* 8024F3FC 0024C33C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8024F400 0024C340 C8 62 C4 E8 */ lfd f3, lbl_8051A848@sda21(r2) -/* 8024F404 0024C344 90 01 00 08 */ stw r0, 8(r1) -/* 8024F408 0024C348 C0 42 C4 E0 */ lfs f2, lbl_8051A840@sda21(r2) -/* 8024F40C 0024C34C C8 01 00 08 */ lfd f0, 8(r1) -/* 8024F410 0024C350 C0 22 C4 F8 */ lfs f1, lbl_8051A858@sda21(r2) -/* 8024F414 0024C354 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8024F418 0024C358 C0 02 C4 FC */ lfs f0, lbl_8051A85C@sda21(r2) -/* 8024F41C 0024C35C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8024F420 0024C360 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8024F424 0024C364 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024F428 0024C368 40 80 00 0C */ bge lbl_8024F434 -lbl_8024F42C: -/* 8024F42C 0024C36C 93 BE 00 00 */ stw r29, 0(r30) -/* 8024F430 0024C370 93 9F 00 00 */ stw r28, 0(r31) -lbl_8024F434: -/* 8024F434 0024C374 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8024F438 0024C378 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024F43C 0024C37C 7C 08 03 A6 */ mtlr r0 -/* 8024F440 0024C380 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024F444 0024C384 4E 80 00 20 */ blr - -.global getItemBaseGenPosition__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodei -getItemBaseGenPosition__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodei: -/* 8024F448 0024C388 94 21 FC D0 */ stwu r1, -0x330(r1) -/* 8024F44C 0024C38C 7C 08 02 A6 */ mflr r0 -/* 8024F450 0024C390 90 01 03 34 */ stw r0, 0x334(r1) -/* 8024F454 0024C394 DB E1 03 20 */ stfd f31, 0x320(r1) -/* 8024F458 0024C398 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 -/* 8024F45C 0024C39C DB C1 03 10 */ stfd f30, 0x310(r1) -/* 8024F460 0024C3A0 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 -/* 8024F464 0024C3A4 DB A1 03 00 */ stfd f29, 0x300(r1) -/* 8024F468 0024C3A8 F3 A1 03 08 */ psq_st f29, 776(r1), 0, qr0 -/* 8024F46C 0024C3AC DB 81 02 F0 */ stfd f28, 0x2f0(r1) -/* 8024F470 0024C3B0 F3 81 02 F8 */ psq_st f28, 760(r1), 0, qr0 -/* 8024F474 0024C3B4 BF 21 02 D4 */ stmw r25, 0x2d4(r1) -/* 8024F478 0024C3B8 7C BF 2B 78 */ mr r31, r5 -/* 8024F47C 0024C3BC 7C 7E 1B 78 */ mr r30, r3 -/* 8024F480 0024C3C0 7C 9A 23 78 */ mr r26, r4 -/* 8024F484 0024C3C4 7C D9 33 78 */ mr r25, r6 -/* 8024F488 0024C3C8 7F E4 FB 78 */ mr r4, r31 -/* 8024F48C 0024C3CC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8024F490 0024C3D0 3B 60 00 00 */ li r27, 0 -/* 8024F494 0024C3D4 3B A0 00 00 */ li r29, 0 -/* 8024F498 0024C3D8 38 A0 00 00 */ li r5, 0 -/* 8024F49C 0024C3DC 4B FF 46 41 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024F4A0 0024C3E0 C3 E1 00 2C */ lfs f31, 0x2c(r1) -/* 8024F4A4 0024C3E4 C3 C1 00 30 */ lfs f30, 0x30(r1) -/* 8024F4A8 0024C3E8 C3 A1 00 34 */ lfs f29, 0x34(r1) -/* 8024F4AC 0024C3EC 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8024F4B0 0024C3F0 4B FF 37 11 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024F4B4 0024C3F4 28 03 00 00 */ cmplwi r3, 0 -/* 8024F4B8 0024C3F8 41 82 00 64 */ beq lbl_8024F51C -/* 8024F4BC 0024C3FC 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024F4C0 0024C400 38 61 00 38 */ addi r3, r1, 0x38 -/* 8024F4C4 0024C404 48 00 00 50 */ b lbl_8024F514 -lbl_8024F4C8: -/* 8024F4C8 0024C408 80 04 00 18 */ lwz r0, 0x18(r4) -/* 8024F4CC 0024C40C 2C 00 00 02 */ cmpwi r0, 2 -/* 8024F4D0 0024C410 40 82 00 14 */ bne lbl_8024F4E4 -/* 8024F4D4 0024C414 7C 83 E9 2E */ stwx r4, r3, r29 -/* 8024F4D8 0024C418 3B 7B 00 01 */ addi r27, r27, 1 -/* 8024F4DC 0024C41C 3B BD 00 04 */ addi r29, r29, 4 -/* 8024F4E0 0024C420 48 00 00 30 */ b lbl_8024F510 -lbl_8024F4E4: -/* 8024F4E4 0024C424 2C 00 00 00 */ cmpwi r0, 0 -/* 8024F4E8 0024C428 40 82 00 14 */ bne lbl_8024F4FC -/* 8024F4EC 0024C42C 7C 83 E9 2E */ stwx r4, r3, r29 -/* 8024F4F0 0024C430 3B 7B 00 01 */ addi r27, r27, 1 -/* 8024F4F4 0024C434 3B BD 00 04 */ addi r29, r29, 4 -/* 8024F4F8 0024C438 48 00 00 18 */ b lbl_8024F510 -lbl_8024F4FC: -/* 8024F4FC 0024C43C 2C 00 00 01 */ cmpwi r0, 1 -/* 8024F500 0024C440 40 82 00 10 */ bne lbl_8024F510 -/* 8024F504 0024C444 7C 83 E9 2E */ stwx r4, r3, r29 -/* 8024F508 0024C448 3B 7B 00 01 */ addi r27, r27, 1 -/* 8024F50C 0024C44C 3B BD 00 04 */ addi r29, r29, 4 -lbl_8024F510: -/* 8024F510 0024C450 80 84 00 04 */ lwz r4, 4(r4) -lbl_8024F514: -/* 8024F514 0024C454 28 04 00 00 */ cmplwi r4, 0 -/* 8024F518 0024C458 40 82 FF B0 */ bne lbl_8024F4C8 -lbl_8024F51C: -/* 8024F51C 0024C45C 2C 1B 00 00 */ cmpwi r27, 0 -/* 8024F520 0024C460 40 81 01 FC */ ble lbl_8024F71C -/* 8024F524 0024C464 3C 80 80 12 */ lis r4, __ct__10Vector3$$0f$$1Fv@ha -/* 8024F528 0024C468 38 61 01 38 */ addi r3, r1, 0x138 -/* 8024F52C 0024C46C 38 84 F3 48 */ addi r4, r4, __ct__10Vector3$$0f$$1Fv@l -/* 8024F530 0024C470 38 A0 00 00 */ li r5, 0 -/* 8024F534 0024C474 38 C0 00 0C */ li r6, 0xc -/* 8024F538 0024C478 38 E0 00 20 */ li r7, 0x20 -/* 8024F53C 0024C47C 4B E7 23 01 */ bl __construct_array -/* 8024F540 0024C480 7F E3 FB 78 */ mr r3, r31 -/* 8024F544 0024C484 4B FF 44 79 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024F548 0024C488 7C 19 18 51 */ subf. r0, r25, r3 -/* 8024F54C 0024C48C 40 81 00 3C */ ble lbl_8024F588 -/* 8024F550 0024C490 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 8024F554 0024C494 38 80 00 03 */ li r4, 3 -/* 8024F558 0024C498 4B FF D6 61 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024F55C 0024C49C 7C 7D 1B 78 */ mr r29, r3 -/* 8024F560 0024C4A0 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 8024F564 0024C4A4 38 80 00 03 */ li r4, 3 -/* 8024F568 0024C4A8 4B FF D6 41 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024F56C 0024C4AC 7C 64 1B 78 */ mr r4, r3 -/* 8024F570 0024C4B0 7F A5 EB 78 */ mr r5, r29 -/* 8024F574 0024C4B4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8024F578 0024C4B8 4B FF 45 65 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024F57C 0024C4BC C3 C1 00 20 */ lfs f30, 0x20(r1) -/* 8024F580 0024C4C0 C3 81 00 28 */ lfs f28, 0x28(r1) -/* 8024F584 0024C4C4 48 00 00 38 */ b lbl_8024F5BC -lbl_8024F588: -/* 8024F588 0024C4C8 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 8024F58C 0024C4CC 38 80 00 04 */ li r4, 4 -/* 8024F590 0024C4D0 4B FF D6 29 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024F594 0024C4D4 7C 7D 1B 78 */ mr r29, r3 -/* 8024F598 0024C4D8 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 8024F59C 0024C4DC 38 80 00 04 */ li r4, 4 -/* 8024F5A0 0024C4E0 4B FF D6 09 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024F5A4 0024C4E4 7C 64 1B 78 */ mr r4, r3 -/* 8024F5A8 0024C4E8 7F A5 EB 78 */ mr r5, r29 -/* 8024F5AC 0024C4EC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8024F5B0 0024C4F0 4B FF 45 2D */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024F5B4 0024C4F4 C3 C1 00 14 */ lfs f30, 0x14(r1) -/* 8024F5B8 0024C4F8 C3 81 00 1C */ lfs f28, 0x1c(r1) -lbl_8024F5BC: -/* 8024F5BC 0024C4FC EC 1C E8 28 */ fsubs f0, f28, f29 -/* 8024F5C0 0024C500 3B A1 00 38 */ addi r29, r1, 0x38 -/* 8024F5C4 0024C504 EC 3E F8 28 */ fsubs f1, f30, f31 -/* 8024F5C8 0024C508 3B 81 01 38 */ addi r28, r1, 0x138 -/* 8024F5CC 0024C50C 3B 40 00 00 */ li r26, 0 -/* 8024F5D0 0024C510 3B 20 00 00 */ li r25, 0 -/* 8024F5D4 0024C514 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8024F5D8 0024C518 EF E1 00 7A */ fmadds f31, f1, f1, f0 -/* 8024F5DC 0024C51C 48 00 00 54 */ b lbl_8024F630 -lbl_8024F5E0: -/* 8024F5E0 0024C520 80 BD 00 00 */ lwz r5, 0(r29) -/* 8024F5E4 0024C524 7F E4 FB 78 */ mr r4, r31 -/* 8024F5E8 0024C528 38 61 00 08 */ addi r3, r1, 8 -/* 8024F5EC 0024C52C 4B FF 44 F1 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024F5F0 0024C530 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8024F5F4 0024C534 C0 81 00 08 */ lfs f4, 8(r1) -/* 8024F5F8 0024C538 EC 1C 18 28 */ fsubs f0, f28, f3 -/* 8024F5FC 0024C53C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8024F600 0024C540 EC 3E 20 28 */ fsubs f1, f30, f4 -/* 8024F604 0024C544 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8024F608 0024C548 EC 01 00 7A */ fmadds f0, f1, f1, f0 -/* 8024F60C 0024C54C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8024F610 0024C550 40 80 00 18 */ bge lbl_8024F628 -/* 8024F614 0024C554 D0 9C 00 00 */ stfs f4, 0(r28) -/* 8024F618 0024C558 3B 5A 00 01 */ addi r26, r26, 1 -/* 8024F61C 0024C55C D0 5C 00 04 */ stfs f2, 4(r28) -/* 8024F620 0024C560 D0 7C 00 08 */ stfs f3, 8(r28) -/* 8024F624 0024C564 3B 9C 00 0C */ addi r28, r28, 0xc -lbl_8024F628: -/* 8024F628 0024C568 3B BD 00 04 */ addi r29, r29, 4 -/* 8024F62C 0024C56C 3B 39 00 01 */ addi r25, r25, 1 -lbl_8024F630: -/* 8024F630 0024C570 7C 19 D8 00 */ cmpw r25, r27 -/* 8024F634 0024C574 41 80 FF AC */ blt lbl_8024F5E0 -/* 8024F638 0024C578 2C 1A 00 00 */ cmpwi r26, 0 -/* 8024F63C 0024C57C 41 82 00 78 */ beq lbl_8024F6B4 -/* 8024F640 0024C580 4B E7 9F 61 */ bl rand -/* 8024F644 0024C584 3C 80 43 30 */ lis r4, 0x4330 -/* 8024F648 0024C588 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024F64C 0024C58C 90 01 02 BC */ stw r0, 0x2bc(r1) -/* 8024F650 0024C590 6F 40 80 00 */ xoris r0, r26, 0x8000 -/* 8024F654 0024C594 C8 42 C4 E8 */ lfd f2, lbl_8051A848@sda21(r2) -/* 8024F658 0024C598 38 61 01 38 */ addi r3, r1, 0x138 -/* 8024F65C 0024C59C 90 81 02 B8 */ stw r4, 0x2b8(r1) -/* 8024F660 0024C5A0 C0 02 C4 F8 */ lfs f0, lbl_8051A858@sda21(r2) -/* 8024F664 0024C5A4 C8 21 02 B8 */ lfd f1, 0x2b8(r1) -/* 8024F668 0024C5A8 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 8024F66C 0024C5AC EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024F670 0024C5B0 90 81 02 C0 */ stw r4, 0x2c0(r1) -/* 8024F674 0024C5B4 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024F678 0024C5B8 C8 01 02 C0 */ lfd f0, 0x2c0(r1) -/* 8024F67C 0024C5BC EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024F680 0024C5C0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024F684 0024C5C4 FC 00 00 1E */ fctiwz f0, f0 -/* 8024F688 0024C5C8 D8 01 02 C8 */ stfd f0, 0x2c8(r1) -/* 8024F68C 0024C5CC 80 01 02 CC */ lwz r0, 0x2cc(r1) -/* 8024F690 0024C5D0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8024F694 0024C5D4 7C 63 02 14 */ add r3, r3, r0 -/* 8024F698 0024C5D8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8024F69C 0024C5DC D0 1E 00 00 */ stfs f0, 0(r30) -/* 8024F6A0 0024C5E0 C0 03 00 04 */ lfs f0, 4(r3) -/* 8024F6A4 0024C5E4 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8024F6A8 0024C5E8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8024F6AC 0024C5EC D0 1E 00 08 */ stfs f0, 8(r30) -/* 8024F6B0 0024C5F0 48 00 00 78 */ b lbl_8024F728 -lbl_8024F6B4: -/* 8024F6B4 0024C5F4 4B E7 9E ED */ bl rand -/* 8024F6B8 0024C5F8 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024F6BC 0024C5FC 3C C0 43 30 */ lis r6, 0x4330 -/* 8024F6C0 0024C600 90 01 02 CC */ stw r0, 0x2cc(r1) -/* 8024F6C4 0024C604 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 8024F6C8 0024C608 C8 42 C4 E8 */ lfd f2, lbl_8051A848@sda21(r2) -/* 8024F6CC 0024C60C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8024F6D0 0024C610 90 C1 02 C8 */ stw r6, 0x2c8(r1) -/* 8024F6D4 0024C614 7F C3 F3 78 */ mr r3, r30 -/* 8024F6D8 0024C618 C0 02 C4 F8 */ lfs f0, lbl_8051A858@sda21(r2) -/* 8024F6DC 0024C61C 7F E4 FB 78 */ mr r4, r31 -/* 8024F6E0 0024C620 C8 21 02 C8 */ lfd f1, 0x2c8(r1) -/* 8024F6E4 0024C624 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 8024F6E8 0024C628 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8024F6EC 0024C62C 90 C1 02 C0 */ stw r6, 0x2c0(r1) -/* 8024F6F0 0024C630 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8024F6F4 0024C634 C8 01 02 C0 */ lfd f0, 0x2c0(r1) -/* 8024F6F8 0024C638 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8024F6FC 0024C63C EC 00 00 72 */ fmuls f0, f0, f1 -/* 8024F700 0024C640 FC 00 00 1E */ fctiwz f0, f0 -/* 8024F704 0024C644 D8 01 02 B8 */ stfd f0, 0x2b8(r1) -/* 8024F708 0024C648 80 01 02 BC */ lwz r0, 0x2bc(r1) -/* 8024F70C 0024C64C 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F710 0024C650 7C A5 00 2E */ lwzx r5, r5, r0 -/* 8024F714 0024C654 4B FF 43 C9 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024F718 0024C658 48 00 00 10 */ b lbl_8024F728 -lbl_8024F71C: -/* 8024F71C 0024C65C D3 FE 00 00 */ stfs f31, 0(r30) -/* 8024F720 0024C660 D3 DE 00 04 */ stfs f30, 4(r30) -/* 8024F724 0024C664 D3 BE 00 08 */ stfs f29, 8(r30) -lbl_8024F728: -/* 8024F728 0024C668 E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 -/* 8024F72C 0024C66C CB E1 03 20 */ lfd f31, 0x320(r1) -/* 8024F730 0024C670 E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 -/* 8024F734 0024C674 CB C1 03 10 */ lfd f30, 0x310(r1) -/* 8024F738 0024C678 E3 A1 03 08 */ psq_l f29, 776(r1), 0, qr0 -/* 8024F73C 0024C67C CB A1 03 00 */ lfd f29, 0x300(r1) -/* 8024F740 0024C680 E3 81 02 F8 */ psq_l f28, 760(r1), 0, qr0 -/* 8024F744 0024C684 CB 81 02 F0 */ lfd f28, 0x2f0(r1) -/* 8024F748 0024C688 BB 21 02 D4 */ lmw r25, 0x2d4(r1) -/* 8024F74C 0024C68C 80 01 03 34 */ lwz r0, 0x334(r1) -/* 8024F750 0024C690 7C 08 03 A6 */ mtlr r0 -/* 8024F754 0024C694 38 21 03 30 */ addi r1, r1, 0x330 -/* 8024F758 0024C698 4E 80 00 20 */ blr - -.global getItemDropList__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGenRi -getItemDropList__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGenRi: -/* 8024F75C 0024C69C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024F760 0024C6A0 7C 08 02 A6 */ mflr r0 -/* 8024F764 0024C6A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024F768 0024C6A8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8024F76C 0024C6AC 7C 9C 23 78 */ mr r28, r4 -/* 8024F770 0024C6B0 7C BD 2B 78 */ mr r29, r5 -/* 8024F774 0024C6B4 7C DE 33 78 */ mr r30, r6 -/* 8024F778 0024C6B8 7C FF 3B 78 */ mr r31, r7 -/* 8024F77C 0024C6BC 80 64 00 18 */ lwz r3, 0x18(r4) -/* 8024F780 0024C6C0 4B FF 33 F9 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 8024F784 0024C6C4 2C 03 00 01 */ cmpwi r3, 1 -/* 8024F788 0024C6C8 40 82 00 5C */ bne lbl_8024F7E4 -/* 8024F78C 0024C6CC 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 8024F790 0024C6D0 4B FF 34 31 */ bl getBaseGen__Q34Game4Cave8UnitInfoFv -/* 8024F794 0024C6D4 28 03 00 00 */ cmplwi r3, 0 -/* 8024F798 0024C6D8 41 82 01 3C */ beq lbl_8024F8D4 -/* 8024F79C 0024C6DC 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8024F7A0 0024C6E0 48 00 00 38 */ b lbl_8024F7D8 -lbl_8024F7A4: -/* 8024F7A4 0024C6E4 80 04 00 18 */ lwz r0, 0x18(r4) -/* 8024F7A8 0024C6E8 2C 00 00 02 */ cmpwi r0, 2 -/* 8024F7AC 0024C6EC 40 82 00 28 */ bne lbl_8024F7D4 -/* 8024F7B0 0024C6F0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F7B4 0024C6F4 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F7B8 0024C6F8 7F 9D 01 2E */ stwx r28, r29, r0 -/* 8024F7BC 0024C6FC 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F7C0 0024C700 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F7C4 0024C704 7C 9E 01 2E */ stwx r4, r30, r0 -/* 8024F7C8 0024C708 80 7F 00 00 */ lwz r3, 0(r31) -/* 8024F7CC 0024C70C 38 03 00 01 */ addi r0, r3, 1 -/* 8024F7D0 0024C710 90 1F 00 00 */ stw r0, 0(r31) -lbl_8024F7D4: -/* 8024F7D4 0024C714 80 84 00 04 */ lwz r4, 4(r4) -lbl_8024F7D8: -/* 8024F7D8 0024C718 28 04 00 00 */ cmplwi r4, 0 -/* 8024F7DC 0024C71C 40 82 FF C8 */ bne lbl_8024F7A4 -/* 8024F7E0 0024C720 48 00 00 F4 */ b lbl_8024F8D4 -lbl_8024F7E4: -/* 8024F7E4 0024C724 2C 03 00 00 */ cmpwi r3, 0 -/* 8024F7E8 0024C728 40 82 00 4C */ bne lbl_8024F834 -/* 8024F7EC 0024C72C 7F 83 E3 78 */ mr r3, r28 -/* 8024F7F0 0024C730 4B FF 41 D5 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 8024F7F4 0024C734 38 82 C4 F0 */ addi r4, r2, lbl_8051A850@sda21 -/* 8024F7F8 0024C738 38 A0 00 04 */ li r5, 4 -/* 8024F7FC 0024C73C 4B E7 AE 85 */ bl strncmp -/* 8024F800 0024C740 2C 03 00 00 */ cmpwi r3, 0 -/* 8024F804 0024C744 40 82 00 D0 */ bne lbl_8024F8D4 -/* 8024F808 0024C748 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F80C 0024C74C 38 60 00 00 */ li r3, 0 -/* 8024F810 0024C750 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F814 0024C754 7F 9D 01 2E */ stwx r28, r29, r0 -/* 8024F818 0024C758 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F81C 0024C75C 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F820 0024C760 7C 7E 01 2E */ stwx r3, r30, r0 -/* 8024F824 0024C764 80 7F 00 00 */ lwz r3, 0(r31) -/* 8024F828 0024C768 38 03 00 01 */ addi r0, r3, 1 -/* 8024F82C 0024C76C 90 1F 00 00 */ stw r0, 0(r31) -/* 8024F830 0024C770 48 00 00 A4 */ b lbl_8024F8D4 -lbl_8024F834: -/* 8024F834 0024C774 2C 03 00 02 */ cmpwi r3, 2 -/* 8024F838 0024C778 40 82 00 9C */ bne lbl_8024F8D4 -/* 8024F83C 0024C77C 7F 83 E3 78 */ mr r3, r28 -/* 8024F840 0024C780 4B FF 48 21 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8024F844 0024C784 2C 03 00 02 */ cmpwi r3, 2 -/* 8024F848 0024C788 40 82 00 64 */ bne lbl_8024F8AC -/* 8024F84C 0024C78C 7F 83 E3 78 */ mr r3, r28 -/* 8024F850 0024C790 38 80 00 01 */ li r4, 1 -/* 8024F854 0024C794 4B FF 37 D5 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024F858 0024C798 7C 7B 1B 78 */ mr r27, r3 -/* 8024F85C 0024C79C 7F 83 E3 78 */ mr r3, r28 -/* 8024F860 0024C7A0 38 80 00 00 */ li r4, 0 -/* 8024F864 0024C7A4 4B FF 37 C5 */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024F868 0024C7A8 7C 03 DA 14 */ add r0, r3, r27 -/* 8024F86C 0024C7AC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8024F870 0024C7B0 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8024F874 0024C7B4 7C 00 1A 78 */ xor r0, r0, r3 -/* 8024F878 0024C7B8 7C 03 00 51 */ subf. r0, r3, r0 -/* 8024F87C 0024C7BC 40 82 00 58 */ bne lbl_8024F8D4 -/* 8024F880 0024C7C0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F884 0024C7C4 38 60 00 00 */ li r3, 0 -/* 8024F888 0024C7C8 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F88C 0024C7CC 7F 9D 01 2E */ stwx r28, r29, r0 -/* 8024F890 0024C7D0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F894 0024C7D4 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F898 0024C7D8 7C 7E 01 2E */ stwx r3, r30, r0 -/* 8024F89C 0024C7DC 80 7F 00 00 */ lwz r3, 0(r31) -/* 8024F8A0 0024C7E0 38 03 00 01 */ addi r0, r3, 1 -/* 8024F8A4 0024C7E4 90 1F 00 00 */ stw r0, 0(r31) -/* 8024F8A8 0024C7E8 48 00 00 2C */ b lbl_8024F8D4 -lbl_8024F8AC: -/* 8024F8AC 0024C7EC 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F8B0 0024C7F0 38 60 00 00 */ li r3, 0 -/* 8024F8B4 0024C7F4 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F8B8 0024C7F8 7F 9D 01 2E */ stwx r28, r29, r0 -/* 8024F8BC 0024C7FC 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024F8C0 0024C800 54 00 10 3A */ slwi r0, r0, 2 -/* 8024F8C4 0024C804 7C 7E 01 2E */ stwx r3, r30, r0 -/* 8024F8C8 0024C808 80 7F 00 00 */ lwz r3, 0(r31) -/* 8024F8CC 0024C80C 38 03 00 01 */ addi r0, r3, 1 -/* 8024F8D0 0024C810 90 1F 00 00 */ stw r0, 0(r31) -lbl_8024F8D4: -/* 8024F8D4 0024C814 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8024F8D8 0024C818 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024F8DC 0024C81C 7C 08 03 A6 */ mtlr r0 -/* 8024F8E0 0024C820 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024F8E4 0024C824 4E 80 00 20 */ blr - -.global getItemBaseGenPosition__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGeniii -getItemBaseGenPosition__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGeniii: -/* 8024F8E8 0024C828 94 21 FD A0 */ stwu r1, -0x260(r1) -/* 8024F8EC 0024C82C 7C 08 02 A6 */ mflr r0 -/* 8024F8F0 0024C830 90 01 02 64 */ stw r0, 0x264(r1) -/* 8024F8F4 0024C834 DB E1 02 50 */ stfd f31, 0x250(r1) -/* 8024F8F8 0024C838 F3 E1 02 58 */ psq_st f31, 600(r1), 0, qr0 -/* 8024F8FC 0024C83C BE 21 02 14 */ stmw r17, 0x214(r1) -/* 8024F900 0024C840 7C 91 23 78 */ mr r17, r4 -/* 8024F904 0024C844 7C 7F 1B 78 */ mr r31, r3 -/* 8024F908 0024C848 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8024F90C 0024C84C 7C B2 2B 78 */ mr r18, r5 -/* 8024F910 0024C850 7C D3 33 78 */ mr r19, r6 -/* 8024F914 0024C854 7C F4 3B 78 */ mr r20, r7 -/* 8024F918 0024C858 7D 15 43 78 */ mr r21, r8 -/* 8024F91C 0024C85C 7D 36 4B 78 */ mr r22, r9 -/* 8024F920 0024C860 38 80 00 03 */ li r4, 3 -/* 8024F924 0024C864 4B FF D2 85 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024F928 0024C868 7C 7B 1B 78 */ mr r27, r3 -/* 8024F92C 0024C86C 80 71 00 0C */ lwz r3, 0xc(r17) -/* 8024F930 0024C870 38 80 00 04 */ li r4, 4 -/* 8024F934 0024C874 4B FF D2 75 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 8024F938 0024C878 7C 7C 1B 78 */ mr r28, r3 -/* 8024F93C 0024C87C 80 71 00 0C */ lwz r3, 0xc(r17) -/* 8024F940 0024C880 38 80 00 03 */ li r4, 3 -/* 8024F944 0024C884 4B FF D2 75 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024F948 0024C888 7C 7D 1B 78 */ mr r29, r3 -/* 8024F94C 0024C88C 80 71 00 0C */ lwz r3, 0xc(r17) -/* 8024F950 0024C890 38 80 00 04 */ li r4, 4 -/* 8024F954 0024C894 4B FF D2 65 */ bl getFixObjGen__Q34Game4Cave12RandMapScoreFi -/* 8024F958 0024C898 C3 E2 C5 00 */ lfs f31, lbl_8051A860@sda21(r2) -/* 8024F95C 0024C89C 7C 7E 1B 78 */ mr r30, r3 -/* 8024F960 0024C8A0 7E 5A 93 78 */ mr r26, r18 -/* 8024F964 0024C8A4 7E 79 9B 78 */ mr r25, r19 -/* 8024F968 0024C8A8 3B 01 00 08 */ addi r24, r1, 8 -/* 8024F96C 0024C8AC 3A E0 00 00 */ li r23, 0 -/* 8024F970 0024C8B0 48 00 01 20 */ b lbl_8024FA90 -lbl_8024F974: -/* 8024F974 0024C8B4 80 7A 00 00 */ lwz r3, 0(r26) -/* 8024F978 0024C8B8 C0 02 C5 00 */ lfs f0, lbl_8051A860@sda21(r2) -/* 8024F97C 0024C8BC 7C 1B 18 40 */ cmplw r27, r3 -/* 8024F980 0024C8C0 40 82 00 64 */ bne lbl_8024F9E4 -/* 8024F984 0024C8C4 80 99 00 00 */ lwz r4, 0(r25) -/* 8024F988 0024C8C8 C0 3D 00 20 */ lfs f1, 0x20(r29) -/* 8024F98C 0024C8CC C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8024F990 0024C8D0 C0 7D 00 1C */ lfs f3, 0x1c(r29) -/* 8024F994 0024C8D4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8024F998 0024C8D8 C0 44 00 1C */ lfs f2, 0x1c(r4) -/* 8024F99C 0024C8DC C0 3D 00 24 */ lfs f1, 0x24(r29) -/* 8024F9A0 0024C8E0 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8024F9A4 0024C8E4 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8024F9A8 0024C8E8 EC 84 01 32 */ fmuls f4, f4, f4 -/* 8024F9AC 0024C8EC EC 41 00 28 */ fsubs f2, f1, f0 -/* 8024F9B0 0024C8F0 C0 02 C5 04 */ lfs f0, lbl_8051A864@sda21(r2) -/* 8024F9B4 0024C8F4 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 8024F9B8 0024C8F8 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8024F9BC 0024C8FC EC 22 08 2A */ fadds f1, f2, f1 -/* 8024F9C0 0024C900 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024F9C4 0024C904 40 81 00 14 */ ble lbl_8024F9D8 -/* 8024F9C8 0024C908 40 81 00 14 */ ble lbl_8024F9DC -/* 8024F9CC 0024C90C FC 00 08 34 */ frsqrte f0, f1 -/* 8024F9D0 0024C910 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8024F9D4 0024C914 48 00 00 08 */ b lbl_8024F9DC -lbl_8024F9D8: -/* 8024F9D8 0024C918 FC 20 00 90 */ fmr f1, f0 -lbl_8024F9DC: -/* 8024F9DC 0024C91C FC 00 08 90 */ fmr f0, f1 -/* 8024F9E0 0024C920 48 00 00 68 */ b lbl_8024FA48 -lbl_8024F9E4: -/* 8024F9E4 0024C924 7C 1C 18 40 */ cmplw r28, r3 -/* 8024F9E8 0024C928 40 82 00 60 */ bne lbl_8024FA48 -/* 8024F9EC 0024C92C 80 99 00 00 */ lwz r4, 0(r25) -/* 8024F9F0 0024C930 C0 3E 00 20 */ lfs f1, 0x20(r30) -/* 8024F9F4 0024C934 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8024F9F8 0024C938 C0 7E 00 1C */ lfs f3, 0x1c(r30) -/* 8024F9FC 0024C93C EC 81 00 28 */ fsubs f4, f1, f0 -/* 8024FA00 0024C940 C0 44 00 1C */ lfs f2, 0x1c(r4) -/* 8024FA04 0024C944 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 8024FA08 0024C948 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8024FA0C 0024C94C EC 63 10 28 */ fsubs f3, f3, f2 -/* 8024FA10 0024C950 EC 84 01 32 */ fmuls f4, f4, f4 -/* 8024FA14 0024C954 EC 41 00 28 */ fsubs f2, f1, f0 -/* 8024FA18 0024C958 C0 02 C5 04 */ lfs f0, lbl_8051A864@sda21(r2) -/* 8024FA1C 0024C95C EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 8024FA20 0024C960 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8024FA24 0024C964 EC 22 08 2A */ fadds f1, f2, f1 -/* 8024FA28 0024C968 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024FA2C 0024C96C 40 81 00 14 */ ble lbl_8024FA40 -/* 8024FA30 0024C970 40 81 00 14 */ ble lbl_8024FA44 -/* 8024FA34 0024C974 FC 00 08 34 */ frsqrte f0, f1 -/* 8024FA38 0024C978 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8024FA3C 0024C97C 48 00 00 08 */ b lbl_8024FA44 -lbl_8024FA40: -/* 8024FA40 0024C980 FC 20 00 90 */ fmr f1, f0 -lbl_8024FA44: -/* 8024FA44 0024C984 FC 00 08 90 */ fmr f0, f1 -lbl_8024FA48: -/* 8024FA48 0024C988 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8024FA4C 0024C98C 40 80 00 1C */ bge lbl_8024FA68 -/* 8024FA50 0024C990 FC 00 00 1E */ fctiwz f0, f0 -/* 8024FA54 0024C994 D8 01 02 08 */ stfd f0, 0x208(r1) -/* 8024FA58 0024C998 80 01 02 0C */ lwz r0, 0x20c(r1) -/* 8024FA5C 0024C99C 20 00 32 00 */ subfic r0, r0, 0x3200 -/* 8024FA60 0024C9A0 90 18 00 00 */ stw r0, 0(r24) -/* 8024FA64 0024C9A4 48 00 00 1C */ b lbl_8024FA80 -lbl_8024FA68: -/* 8024FA68 0024C9A8 4B FF 3F 55 */ bl getVersusScore__Q34Game4Cave7MapNodeFv -/* 8024FA6C 0024C9AC 7C 15 18 50 */ subf r0, r21, r3 -/* 8024FA70 0024C9B0 7C 03 FE 70 */ srawi r3, r0, 0x1f -/* 8024FA74 0024C9B4 7C 60 02 78 */ xor r0, r3, r0 -/* 8024FA78 0024C9B8 7C 03 00 50 */ subf r0, r3, r0 -/* 8024FA7C 0024C9BC 90 18 00 00 */ stw r0, 0(r24) -lbl_8024FA80: -/* 8024FA80 0024C9C0 3B 5A 00 04 */ addi r26, r26, 4 -/* 8024FA84 0024C9C4 3B 39 00 04 */ addi r25, r25, 4 -/* 8024FA88 0024C9C8 3B 18 00 04 */ addi r24, r24, 4 -/* 8024FA8C 0024C9CC 3A F7 00 01 */ addi r23, r23, 1 -lbl_8024FA90: -/* 8024FA90 0024C9D0 7C 17 A0 00 */ cmpw r23, r20 -/* 8024FA94 0024C9D4 41 80 FE E0 */ blt lbl_8024F974 -/* 8024FA98 0024C9D8 7E 23 8B 78 */ mr r3, r17 -/* 8024FA9C 0024C9DC 7E 44 93 78 */ mr r4, r18 -/* 8024FAA0 0024C9E0 7E 65 9B 78 */ mr r5, r19 -/* 8024FAA4 0024C9E4 7E 87 A3 78 */ mr r7, r20 -/* 8024FAA8 0024C9E8 38 C1 00 08 */ addi r6, r1, 8 -/* 8024FAAC 0024C9EC 48 00 01 09 */ bl getItemDropSortingList__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGenPii -/* 8024FAB0 0024C9F0 7E 46 93 78 */ mr r6, r18 -/* 8024FAB4 0024C9F4 7E 67 9B 78 */ mr r7, r19 -/* 8024FAB8 0024C9F8 39 00 00 00 */ li r8, 0 -/* 8024FABC 0024C9FC 48 00 00 9C */ b lbl_8024FB58 -lbl_8024FAC0: -/* 8024FAC0 0024CA00 39 20 00 01 */ li r9, 1 -/* 8024FAC4 0024CA04 38 A0 00 00 */ li r5, 0 -/* 8024FAC8 0024CA08 7E C9 03 A6 */ mtctr r22 -/* 8024FACC 0024CA0C 2C 16 00 00 */ cmpwi r22, 0 -/* 8024FAD0 0024CA10 40 81 00 38 */ ble lbl_8024FB08 -lbl_8024FAD4: -/* 8024FAD4 0024CA14 80 71 00 10 */ lwz r3, 0x10(r17) -/* 8024FAD8 0024CA18 80 86 00 00 */ lwz r4, 0(r6) -/* 8024FADC 0024CA1C 7C 03 28 2E */ lwzx r0, r3, r5 -/* 8024FAE0 0024CA20 7C 04 00 40 */ cmplw r4, r0 -/* 8024FAE4 0024CA24 40 82 00 1C */ bne lbl_8024FB00 -/* 8024FAE8 0024CA28 80 71 00 14 */ lwz r3, 0x14(r17) -/* 8024FAEC 0024CA2C 80 87 00 00 */ lwz r4, 0(r7) -/* 8024FAF0 0024CA30 7C 03 28 2E */ lwzx r0, r3, r5 -/* 8024FAF4 0024CA34 7C 04 00 40 */ cmplw r4, r0 -/* 8024FAF8 0024CA38 40 82 00 08 */ bne lbl_8024FB00 -/* 8024FAFC 0024CA3C 39 20 00 00 */ li r9, 0 -lbl_8024FB00: -/* 8024FB00 0024CA40 38 A5 00 04 */ addi r5, r5, 4 -/* 8024FB04 0024CA44 42 00 FF D0 */ bdnz lbl_8024FAD4 -lbl_8024FB08: -/* 8024FB08 0024CA48 55 20 06 3F */ clrlwi. r0, r9, 0x18 -/* 8024FB0C 0024CA4C 41 82 00 40 */ beq lbl_8024FB4C -/* 8024FB10 0024CA50 55 05 10 3A */ slwi r5, r8, 2 -/* 8024FB14 0024CA54 80 91 00 10 */ lwz r4, 0x10(r17) -/* 8024FB18 0024CA58 7C 12 28 2E */ lwzx r0, r18, r5 -/* 8024FB1C 0024CA5C 56 C6 10 3A */ slwi r6, r22, 2 -/* 8024FB20 0024CA60 7F E3 FB 78 */ mr r3, r31 -/* 8024FB24 0024CA64 7C 04 31 2E */ stwx r0, r4, r6 -/* 8024FB28 0024CA68 7C 13 28 2E */ lwzx r0, r19, r5 -/* 8024FB2C 0024CA6C 80 91 00 14 */ lwz r4, 0x14(r17) -/* 8024FB30 0024CA70 7C 04 31 2E */ stwx r0, r4, r6 -/* 8024FB34 0024CA74 80 91 00 10 */ lwz r4, 0x10(r17) -/* 8024FB38 0024CA78 80 B1 00 14 */ lwz r5, 0x14(r17) -/* 8024FB3C 0024CA7C 7C 84 30 2E */ lwzx r4, r4, r6 -/* 8024FB40 0024CA80 7C A5 30 2E */ lwzx r5, r5, r6 -/* 8024FB44 0024CA84 4B FF 3F 99 */ bl getBaseGenGlobalPosition__Q34Game4Cave7MapNodeFPQ34Game4Cave7BaseGen -/* 8024FB48 0024CA88 48 00 00 50 */ b lbl_8024FB98 -lbl_8024FB4C: -/* 8024FB4C 0024CA8C 38 C6 00 04 */ addi r6, r6, 4 -/* 8024FB50 0024CA90 38 E7 00 04 */ addi r7, r7, 4 -/* 8024FB54 0024CA94 39 08 00 01 */ addi r8, r8, 1 -lbl_8024FB58: -/* 8024FB58 0024CA98 7C 08 A0 00 */ cmpw r8, r20 -/* 8024FB5C 0024CA9C 41 80 FF 64 */ blt lbl_8024FAC0 -/* 8024FB60 0024CAA0 3C 60 80 48 */ lis r3, lbl_8048413C@ha -/* 8024FB64 0024CAA4 3C A0 80 48 */ lis r5, lbl_80484178@ha -/* 8024FB68 0024CAA8 38 63 41 3C */ addi r3, r3, lbl_8048413C@l -/* 8024FB6C 0024CAAC 38 80 03 A0 */ li r4, 0x3a0 -/* 8024FB70 0024CAB0 38 A5 41 78 */ addi r5, r5, lbl_80484178@l -/* 8024FB74 0024CAB4 4C C6 31 82 */ crclr 6 -/* 8024FB78 0024CAB8 4B DD AA C9 */ bl panic_f__12JUTExceptionFPCciPCce -/* 8024FB7C 0024CABC 3C 60 80 51 */ lis r3, zero__10Vector3$$0f$$1@ha -/* 8024FB80 0024CAC0 C4 03 41 E4 */ lfsu f0, zero__10Vector3$$0f$$1@l(r3) -/* 8024FB84 0024CAC4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8024FB88 0024CAC8 C0 03 00 04 */ lfs f0, 4(r3) -/* 8024FB8C 0024CACC D0 1F 00 04 */ stfs f0, 4(r31) -/* 8024FB90 0024CAD0 C0 03 00 08 */ lfs f0, 8(r3) -/* 8024FB94 0024CAD4 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8024FB98: -/* 8024FB98 0024CAD8 E3 E1 02 58 */ psq_l f31, 600(r1), 0, qr0 -/* 8024FB9C 0024CADC CB E1 02 50 */ lfd f31, 0x250(r1) -/* 8024FBA0 0024CAE0 BA 21 02 14 */ lmw r17, 0x214(r1) -/* 8024FBA4 0024CAE4 80 01 02 64 */ lwz r0, 0x264(r1) -/* 8024FBA8 0024CAE8 7C 08 03 A6 */ mtlr r0 -/* 8024FBAC 0024CAEC 38 21 02 60 */ addi r1, r1, 0x260 -/* 8024FBB0 0024CAF0 4E 80 00 20 */ blr - -.global getItemDropSortingList__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGenPii -getItemDropSortingList__Q34Game4Cave12RandItemUnitFPPQ34Game4Cave7MapNodePPQ34Game4Cave7BaseGenPii: -/* 8024FBB4 0024CAF4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8024FBB8 0024CAF8 7C 08 02 A6 */ mflr r0 -/* 8024FBBC 0024CAFC 90 01 00 54 */ stw r0, 0x54(r1) -/* 8024FBC0 0024CB00 BE 61 00 1C */ stmw r19, 0x1c(r1) -/* 8024FBC4 0024CB04 7C 93 23 78 */ mr r19, r4 -/* 8024FBC8 0024CB08 7C B4 2B 78 */ mr r20, r5 -/* 8024FBCC 0024CB0C 7C D5 33 78 */ mr r21, r6 -/* 8024FBD0 0024CB10 7C F6 3B 78 */ mr r22, r7 -/* 8024FBD4 0024CB14 7E 7B 9B 78 */ mr r27, r19 -/* 8024FBD8 0024CB18 7E BC AB 78 */ mr r28, r21 -/* 8024FBDC 0024CB1C 7E 9A A3 78 */ mr r26, r20 -/* 8024FBE0 0024CB20 3B 36 FF FF */ addi r25, r22, -1 -/* 8024FBE4 0024CB24 3B 00 00 00 */ li r24, 0 -/* 8024FBE8 0024CB28 48 00 00 C4 */ b lbl_8024FCAC -lbl_8024FBEC: -/* 8024FBEC 0024CB2C 3A F8 00 01 */ addi r23, r24, 1 -/* 8024FBF0 0024CB30 56 E0 10 3A */ slwi r0, r23, 2 -/* 8024FBF4 0024CB34 7F F5 02 14 */ add r31, r21, r0 -/* 8024FBF8 0024CB38 7F D3 02 14 */ add r30, r19, r0 -/* 8024FBFC 0024CB3C 7F B4 02 14 */ add r29, r20, r0 -/* 8024FC00 0024CB40 48 00 00 94 */ b lbl_8024FC94 -lbl_8024FC04: -/* 8024FC04 0024CB44 80 7C 00 00 */ lwz r3, 0(r28) -/* 8024FC08 0024CB48 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024FC0C 0024CB4C 7C 03 00 00 */ cmpw r3, r0 -/* 8024FC10 0024CB50 41 81 00 44 */ bgt lbl_8024FC54 -/* 8024FC14 0024CB54 40 82 00 70 */ bne lbl_8024FC84 -/* 8024FC18 0024CB58 4B E7 99 89 */ bl rand -/* 8024FC1C 0024CB5C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8024FC20 0024CB60 3C 00 43 30 */ lis r0, 0x4330 -/* 8024FC24 0024CB64 90 61 00 0C */ stw r3, 0xc(r1) -/* 8024FC28 0024CB68 C8 62 C4 E8 */ lfd f3, lbl_8051A848@sda21(r2) -/* 8024FC2C 0024CB6C 90 01 00 08 */ stw r0, 8(r1) -/* 8024FC30 0024CB70 C0 42 C4 E0 */ lfs f2, lbl_8051A840@sda21(r2) -/* 8024FC34 0024CB74 C8 01 00 08 */ lfd f0, 8(r1) -/* 8024FC38 0024CB78 C0 22 C4 F8 */ lfs f1, lbl_8051A858@sda21(r2) -/* 8024FC3C 0024CB7C EC 60 18 28 */ fsubs f3, f0, f3 -/* 8024FC40 0024CB80 C0 02 C4 FC */ lfs f0, lbl_8051A85C@sda21(r2) -/* 8024FC44 0024CB84 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8024FC48 0024CB88 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8024FC4C 0024CB8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8024FC50 0024CB90 40 80 00 34 */ bge lbl_8024FC84 -lbl_8024FC54: -/* 8024FC54 0024CB94 80 7B 00 00 */ lwz r3, 0(r27) -/* 8024FC58 0024CB98 80 9A 00 00 */ lwz r4, 0(r26) -/* 8024FC5C 0024CB9C 80 BC 00 00 */ lwz r5, 0(r28) -/* 8024FC60 0024CBA0 80 1E 00 00 */ lwz r0, 0(r30) -/* 8024FC64 0024CBA4 90 1B 00 00 */ stw r0, 0(r27) -/* 8024FC68 0024CBA8 80 1D 00 00 */ lwz r0, 0(r29) -/* 8024FC6C 0024CBAC 90 1A 00 00 */ stw r0, 0(r26) -/* 8024FC70 0024CBB0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8024FC74 0024CBB4 90 1C 00 00 */ stw r0, 0(r28) -/* 8024FC78 0024CBB8 90 7E 00 00 */ stw r3, 0(r30) -/* 8024FC7C 0024CBBC 90 9D 00 00 */ stw r4, 0(r29) -/* 8024FC80 0024CBC0 90 BF 00 00 */ stw r5, 0(r31) -lbl_8024FC84: -/* 8024FC84 0024CBC4 3B FF 00 04 */ addi r31, r31, 4 -/* 8024FC88 0024CBC8 3B DE 00 04 */ addi r30, r30, 4 -/* 8024FC8C 0024CBCC 3B BD 00 04 */ addi r29, r29, 4 -/* 8024FC90 0024CBD0 3A F7 00 01 */ addi r23, r23, 1 -lbl_8024FC94: -/* 8024FC94 0024CBD4 7C 17 B0 00 */ cmpw r23, r22 -/* 8024FC98 0024CBD8 41 80 FF 6C */ blt lbl_8024FC04 -/* 8024FC9C 0024CBDC 3B 9C 00 04 */ addi r28, r28, 4 -/* 8024FCA0 0024CBE0 3B 7B 00 04 */ addi r27, r27, 4 -/* 8024FCA4 0024CBE4 3B 5A 00 04 */ addi r26, r26, 4 -/* 8024FCA8 0024CBE8 3B 18 00 01 */ addi r24, r24, 1 -lbl_8024FCAC: -/* 8024FCAC 0024CBEC 7C 18 C8 00 */ cmpw r24, r25 -/* 8024FCB0 0024CBF0 41 80 FF 3C */ blt lbl_8024FBEC -/* 8024FCB4 0024CBF4 BA 61 00 1C */ lmw r19, 0x1c(r1) -/* 8024FCB8 0024CBF8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8024FCBC 0024CBFC 7C 08 03 A6 */ mtlr r0 -/* 8024FCC0 0024CC00 38 21 00 50 */ addi r1, r1, 0x50 -/* 8024FCC4 0024CC04 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave8GateNodeFv -__ct__Q34Game4Cave8GateNodeFv: -/* 8024FCC8 0024CC08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024FCCC 0024CC0C 7C 08 02 A6 */ mflr r0 -/* 8024FCD0 0024CC10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024FCD4 0024CC14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024FCD8 0024CC18 7C 7F 1B 78 */ mr r31, r3 -/* 8024FCDC 0024CC1C 48 1C 16 B5 */ bl __ct__5CNodeFv -/* 8024FCE0 0024CC20 3C 80 80 4C */ lis r4, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024FCE4 0024CC24 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave8GateNode@ha -/* 8024FCE8 0024CC28 38 84 1A A8 */ addi r4, r4, __vt__Q24Game16ObjectLayoutNode@l -/* 8024FCEC 0024CC2C 38 00 00 00 */ li r0, 0 -/* 8024FCF0 0024CC30 90 9F 00 00 */ stw r4, 0(r31) -/* 8024FCF4 0024CC34 38 83 1B 78 */ addi r4, r3, __vt__Q34Game4Cave8GateNode@l -/* 8024FCF8 0024CC38 C0 02 C5 08 */ lfs f0, lbl_8051A868@sda21(r2) -/* 8024FCFC 0024CC3C 7F E3 FB 78 */ mr r3, r31 -/* 8024FD00 0024CC40 90 9F 00 00 */ stw r4, 0(r31) -/* 8024FD04 0024CC44 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8024FD08 0024CC48 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8024FD0C 0024CC4C D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8024FD10 0024CC50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024FD14 0024CC54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024FD18 0024CC58 7C 08 03 A6 */ mtlr r0 -/* 8024FD1C 0024CC5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024FD20 0024CC60 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave8GateNodeFPQ34Game4Cave8GateUnitii -__ct__Q34Game4Cave8GateNodeFPQ34Game4Cave8GateUnitii: -/* 8024FD24 0024CC64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8024FD28 0024CC68 7C 08 02 A6 */ mflr r0 -/* 8024FD2C 0024CC6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8024FD30 0024CC70 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8024FD34 0024CC74 7C DF 33 78 */ mr r31, r6 -/* 8024FD38 0024CC78 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8024FD3C 0024CC7C 7C BE 2B 78 */ mr r30, r5 -/* 8024FD40 0024CC80 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8024FD44 0024CC84 7C 9D 23 78 */ mr r29, r4 -/* 8024FD48 0024CC88 93 81 00 10 */ stw r28, 0x10(r1) -/* 8024FD4C 0024CC8C 7C 7C 1B 78 */ mr r28, r3 -/* 8024FD50 0024CC90 48 1C 16 41 */ bl __ct__5CNodeFv -/* 8024FD54 0024CC94 6F E3 80 00 */ xoris r3, r31, 0x8000 -/* 8024FD58 0024CC98 3C 00 43 30 */ lis r0, 0x4330 -/* 8024FD5C 0024CC9C 3C 80 80 4C */ lis r4, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024FD60 0024CCA0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8024FD64 0024CCA4 38 84 1A A8 */ addi r4, r4, __vt__Q24Game16ObjectLayoutNode@l -/* 8024FD68 0024CCA8 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave8GateNode@ha -/* 8024FD6C 0024CCAC 90 01 00 08 */ stw r0, 8(r1) -/* 8024FD70 0024CCB0 38 03 1B 78 */ addi r0, r3, __vt__Q34Game4Cave8GateNode@l -/* 8024FD74 0024CCB4 C8 22 C5 10 */ lfd f1, lbl_8051A870@sda21(r2) -/* 8024FD78 0024CCB8 7F 83 E3 78 */ mr r3, r28 -/* 8024FD7C 0024CCBC 90 9C 00 00 */ stw r4, 0(r28) -/* 8024FD80 0024CCC0 C8 01 00 08 */ lfd f0, 8(r1) -/* 8024FD84 0024CCC4 90 1C 00 00 */ stw r0, 0(r28) -/* 8024FD88 0024CCC8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8024FD8C 0024CCCC C0 22 C5 0C */ lfs f1, lbl_8051A86C@sda21(r2) -/* 8024FD90 0024CCD0 93 BC 00 18 */ stw r29, 0x18(r28) -/* 8024FD94 0024CCD4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8024FD98 0024CCD8 93 DC 00 20 */ stw r30, 0x20(r28) -/* 8024FD9C 0024CCDC D0 1C 00 1C */ stfs f0, 0x1c(r28) -/* 8024FDA0 0024CCE0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8024FDA4 0024CCE4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8024FDA8 0024CCE8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8024FDAC 0024CCEC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8024FDB0 0024CCF0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8024FDB4 0024CCF4 7C 08 03 A6 */ mtlr r0 -/* 8024FDB8 0024CCF8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8024FDBC 0024CCFC 4E 80 00 20 */ blr - -.global getObjectId__Q34Game4Cave8GateNodeFv -getObjectId__Q34Game4Cave8GateNodeFv: -/* 8024FDC0 0024CD00 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8024FDC4 0024CD04 80 63 00 00 */ lwz r3, 0(r3) -/* 8024FDC8 0024CD08 28 03 00 00 */ cmplwi r3, 0 -/* 8024FDCC 0024CD0C 41 82 00 0C */ beq lbl_8024FDD8 -/* 8024FDD0 0024CD10 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8024FDD4 0024CD14 4E 80 00 20 */ blr -lbl_8024FDD8: -/* 8024FDD8 0024CD18 38 60 FF FF */ li r3, -1 -/* 8024FDDC 0024CD1C 4E 80 00 20 */ blr - -.global getObjectType__Q34Game4Cave8GateNodeFv -getObjectType__Q34Game4Cave8GateNodeFv: -/* 8024FDE0 0024CD20 38 60 00 02 */ li r3, 2 -/* 8024FDE4 0024CD24 4E 80 00 20 */ blr - -.global getBirthCount__Q34Game4Cave8GateNodeFv -getBirthCount__Q34Game4Cave8GateNodeFv: -/* 8024FDE8 0024CD28 38 60 00 01 */ li r3, 1 -/* 8024FDEC 0024CD2C 4E 80 00 20 */ blr - -.global getDirection__Q34Game4Cave8GateNodeFv -getDirection__Q34Game4Cave8GateNodeFv: -/* 8024FDF0 0024CD30 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8024FDF4 0024CD34 4E 80 00 20 */ blr - -.global getBirthDoorIndex__Q34Game4Cave8GateNodeFv -getBirthDoorIndex__Q34Game4Cave8GateNodeFv: -/* 8024FDF8 0024CD38 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8024FDFC 0024CD3C 4E 80 00 20 */ blr - -.global __dt__Q34Game4Cave8GateNodeFv -__dt__Q34Game4Cave8GateNodeFv: -/* 8024FE00 0024CD40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024FE04 0024CD44 7C 08 02 A6 */ mflr r0 -/* 8024FE08 0024CD48 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024FE0C 0024CD4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024FE10 0024CD50 7C 9F 23 78 */ mr r31, r4 -/* 8024FE14 0024CD54 93 C1 00 08 */ stw r30, 8(r1) -/* 8024FE18 0024CD58 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8024FE1C 0024CD5C 41 82 00 38 */ beq lbl_8024FE54 -/* 8024FE20 0024CD60 3C 80 80 4C */ lis r4, __vt__Q34Game4Cave8GateNode@ha -/* 8024FE24 0024CD64 38 04 1B 78 */ addi r0, r4, __vt__Q34Game4Cave8GateNode@l -/* 8024FE28 0024CD68 90 1E 00 00 */ stw r0, 0(r30) -/* 8024FE2C 0024CD6C 41 82 00 18 */ beq lbl_8024FE44 -/* 8024FE30 0024CD70 3C A0 80 4C */ lis r5, __vt__Q24Game16ObjectLayoutNode@ha -/* 8024FE34 0024CD74 38 80 00 00 */ li r4, 0 -/* 8024FE38 0024CD78 38 05 1A A8 */ addi r0, r5, __vt__Q24Game16ObjectLayoutNode@l -/* 8024FE3C 0024CD7C 90 1E 00 00 */ stw r0, 0(r30) -/* 8024FE40 0024CD80 48 1C 17 49 */ bl __dt__5CNodeFv -lbl_8024FE44: -/* 8024FE44 0024CD84 7F E0 07 35 */ extsh. r0, r31 -/* 8024FE48 0024CD88 40 81 00 0C */ ble lbl_8024FE54 -/* 8024FE4C 0024CD8C 7F C3 F3 78 */ mr r3, r30 -/* 8024FE50 0024CD90 4B DD 42 65 */ bl __dl__FPv -lbl_8024FE54: -/* 8024FE54 0024CD94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024FE58 0024CD98 7F C3 F3 78 */ mr r3, r30 -/* 8024FE5C 0024CD9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024FE60 0024CDA0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024FE64 0024CDA4 7C 08 03 A6 */ mtlr r0 -/* 8024FE68 0024CDA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024FE6C 0024CDAC 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave12RandGateUnitFPQ34Game4Cave16MapUnitGenerator -__ct__Q34Game4Cave12RandGateUnitFPQ34Game4Cave16MapUnitGenerator: -/* 8024FE70 0024CDB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8024FE74 0024CDB4 7C 08 02 A6 */ mflr r0 -/* 8024FE78 0024CDB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8024FE7C 0024CDBC 38 00 00 00 */ li r0, 0 -/* 8024FE80 0024CDC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8024FE84 0024CDC4 93 C1 00 08 */ stw r30, 8(r1) -/* 8024FE88 0024CDC8 7C 7E 1B 78 */ mr r30, r3 -/* 8024FE8C 0024CDCC 90 83 00 00 */ stw r4, 0(r3) -/* 8024FE90 0024CDD0 90 03 00 0C */ stw r0, 0xc(r3) -/* 8024FE94 0024CDD4 80 63 00 00 */ lwz r3, 0(r3) -/* 8024FE98 0024CDD8 83 E3 00 08 */ lwz r31, 8(r3) -/* 8024FE9C 0024CDDC 28 1F 00 00 */ cmplwi r31, 0 -/* 8024FEA0 0024CDE0 41 82 00 20 */ beq lbl_8024FEC0 -/* 8024FEA4 0024CDE4 7F E3 FB 78 */ mr r3, r31 -/* 8024FEA8 0024CDE8 4B F8 70 15 */ bl getGateMax__Q34Game4Cave9FloorInfoFv -/* 8024FEAC 0024CDEC 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8024FEB0 0024CDF0 7F E3 FB 78 */ mr r3, r31 -/* 8024FEB4 0024CDF4 4B F8 70 D1 */ bl getGateWeightSum__Q34Game4Cave9FloorInfoFv -/* 8024FEB8 0024CDF8 90 7E 00 14 */ stw r3, 0x14(r30) -/* 8024FEBC 0024CDFC 48 00 00 0C */ b lbl_8024FEC8 -lbl_8024FEC0: -/* 8024FEC0 0024CE00 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8024FEC4 0024CE04 90 1E 00 14 */ stw r0, 0x14(r30) -lbl_8024FEC8: -/* 8024FEC8 0024CE08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8024FECC 0024CE0C 7F C3 F3 78 */ mr r3, r30 -/* 8024FED0 0024CE10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8024FED4 0024CE14 83 C1 00 08 */ lwz r30, 8(r1) -/* 8024FED8 0024CE18 7C 08 03 A6 */ mtlr r0 -/* 8024FEDC 0024CE1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8024FEE0 0024CE20 4E 80 00 20 */ blr - -.global setManageClassPtr__Q34Game4Cave12RandGateUnitFPQ34Game4Cave12RandMapScorePQ34Game4Cave12RandItemUnit -setManageClassPtr__Q34Game4Cave12RandGateUnitFPQ34Game4Cave12RandMapScorePQ34Game4Cave12RandItemUnit: -/* 8024FEE4 0024CE24 90 83 00 04 */ stw r4, 4(r3) -/* 8024FEE8 0024CE28 90 A3 00 08 */ stw r5, 8(r3) -/* 8024FEEC 0024CE2C 4E 80 00 20 */ blr - -.global setGateDoor__Q34Game4Cave12RandGateUnitFv -setGateDoor__Q34Game4Cave12RandGateUnitFv: -/* 8024FEF0 0024CE30 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024FEF4 0024CE34 7C 08 02 A6 */ mflr r0 -/* 8024FEF8 0024CE38 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024FEFC 0024CE3C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8024FF00 0024CE40 7C 7B 1B 78 */ mr r27, r3 -/* 8024FF04 0024CE44 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8024FF08 0024CE48 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 8024FF0C 0024CE4C 7C 03 00 00 */ cmpw r3, r0 -/* 8024FF10 0024CE50 40 80 00 A4 */ bge lbl_8024FFB4 -/* 8024FF14 0024CE54 3B C0 00 00 */ li r30, 0 -lbl_8024FF18: -/* 8024FF18 0024CE58 7F 63 DB 78 */ mr r3, r27 -/* 8024FF1C 0024CE5C 48 00 00 AD */ bl getGateUnit__Q34Game4Cave12RandGateUnitFv -/* 8024FF20 0024CE60 7C 60 1B 78 */ mr r0, r3 -/* 8024FF24 0024CE64 7F 63 DB 78 */ mr r3, r27 -/* 8024FF28 0024CE68 7C 1D 03 78 */ mr r29, r0 -/* 8024FF2C 0024CE6C 38 81 00 08 */ addi r4, r1, 8 -/* 8024FF30 0024CE70 48 00 01 6D */ bl getRoomNodePtr__Q34Game4Cave12RandGateUnitFRi -/* 8024FF34 0024CE74 28 1D 00 00 */ cmplwi r29, 0 -/* 8024FF38 0024CE78 7C 7F 1B 78 */ mr r31, r3 -/* 8024FF3C 0024CE7C 41 82 00 78 */ beq lbl_8024FFB4 -/* 8024FF40 0024CE80 28 1F 00 00 */ cmplwi r31, 0 -/* 8024FF44 0024CE84 41 82 00 70 */ beq lbl_8024FFB4 -/* 8024FF48 0024CE88 80 81 00 08 */ lwz r4, 8(r1) -/* 8024FF4C 0024CE8C 4B FF 30 DD */ bl getDoorDirect__Q34Game4Cave7MapNodeFi -/* 8024FF50 0024CE90 7C 60 1B 78 */ mr r0, r3 -/* 8024FF54 0024CE94 38 60 00 24 */ li r3, 0x24 -/* 8024FF58 0024CE98 7C 1C 03 78 */ mr r28, r0 -/* 8024FF5C 0024CE9C 4B DD 3F 49 */ bl __nw__FUl -/* 8024FF60 0024CEA0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8024FF64 0024CEA4 41 82 00 18 */ beq lbl_8024FF7C -/* 8024FF68 0024CEA8 80 A1 00 08 */ lwz r5, 8(r1) -/* 8024FF6C 0024CEAC 7F A4 EB 78 */ mr r4, r29 -/* 8024FF70 0024CEB0 7F 86 E3 78 */ mr r6, r28 -/* 8024FF74 0024CEB4 4B FF FD B1 */ bl __ct__Q34Game4Cave8GateNodeFPQ34Game4Cave8GateUnitii -/* 8024FF78 0024CEB8 7C 64 1B 78 */ mr r4, r3 -lbl_8024FF7C: -/* 8024FF7C 0024CEBC 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8024FF80 0024CEC0 48 1C 14 89 */ bl add__5CNodeFP5CNode -/* 8024FF84 0024CEC4 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 8024FF88 0024CEC8 38 03 00 01 */ addi r0, r3, 1 -/* 8024FF8C 0024CECC 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8024FF90 0024CED0 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 8024FF94 0024CED4 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 8024FF98 0024CED8 7C 03 00 00 */ cmpw r3, r0 -/* 8024FF9C 0024CEDC 41 80 00 0C */ blt lbl_8024FFA8 -/* 8024FFA0 0024CEE0 48 00 00 14 */ b lbl_8024FFB4 -/* 8024FFA4 0024CEE4 48 00 00 10 */ b lbl_8024FFB4 -lbl_8024FFA8: -/* 8024FFA8 0024CEE8 3B DE 00 01 */ addi r30, r30, 1 -/* 8024FFAC 0024CEEC 2C 1E 00 64 */ cmpwi r30, 0x64 -/* 8024FFB0 0024CEF0 41 80 FF 68 */ blt lbl_8024FF18 -lbl_8024FFB4: -/* 8024FFB4 0024CEF4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8024FFB8 0024CEF8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8024FFBC 0024CEFC 7C 08 03 A6 */ mtlr r0 -/* 8024FFC0 0024CF00 38 21 00 30 */ addi r1, r1, 0x30 -/* 8024FFC4 0024CF04 4E 80 00 20 */ blr - -.global getGateUnit__Q34Game4Cave12RandGateUnitFv -getGateUnit__Q34Game4Cave12RandGateUnitFv: -/* 8024FFC8 0024CF08 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8024FFCC 0024CF0C 7C 08 02 A6 */ mflr r0 -/* 8024FFD0 0024CF10 90 01 00 34 */ stw r0, 0x34(r1) -/* 8024FFD4 0024CF14 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8024FFD8 0024CF18 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8024FFDC 0024CF1C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8024FFE0 0024CF20 3B A0 00 00 */ li r29, 0 -/* 8024FFE4 0024CF24 80 83 00 00 */ lwz r4, 0(r3) -/* 8024FFE8 0024CF28 83 E3 00 14 */ lwz r31, 0x14(r3) -/* 8024FFEC 0024CF2C 83 C4 00 20 */ lwz r30, 0x20(r4) -/* 8024FFF0 0024CF30 4B E7 95 B1 */ bl rand -/* 8024FFF4 0024CF34 3C 80 43 30 */ lis r4, 0x4330 -/* 8024FFF8 0024CF38 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8024FFFC 0024CF3C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80250000 0024CF40 6F E0 80 00 */ xoris r0, r31, 0x8000 -/* 80250004 0024CF44 C8 42 C5 20 */ lfd f2, lbl_8051A880@sda21(r2) -/* 80250008 0024CF48 90 81 00 08 */ stw r4, 8(r1) -/* 8025000C 0024CF4C C0 02 C5 18 */ lfs f0, lbl_8051A878@sda21(r2) -/* 80250010 0024CF50 C8 21 00 08 */ lfd f1, 8(r1) -/* 80250014 0024CF54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250018 0024CF58 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8025001C 0024CF5C 80 DE 00 10 */ lwz r6, 0x10(r30) -/* 80250020 0024CF60 90 81 00 10 */ stw r4, 0x10(r1) -/* 80250024 0024CF64 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80250028 0024CF68 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8025002C 0024CF6C EC 00 10 28 */ fsubs f0, f0, f2 -/* 80250030 0024CF70 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80250034 0024CF74 FC 00 00 1E */ fctiwz f0, f0 -/* 80250038 0024CF78 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8025003C 0024CF7C 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 80250040 0024CF80 48 00 00 34 */ b lbl_80250074 -lbl_80250044: -/* 80250044 0024CF84 80 66 00 18 */ lwz r3, 0x18(r6) -/* 80250048 0024CF88 80 A3 00 00 */ lwz r5, 0(r3) -/* 8025004C 0024CF8C 28 05 00 00 */ cmplwi r5, 0 -/* 80250050 0024CF90 41 82 00 10 */ beq lbl_80250060 -/* 80250054 0024CF94 80 05 00 20 */ lwz r0, 0x20(r5) -/* 80250058 0024CF98 7F BD 02 14 */ add r29, r29, r0 -/* 8025005C 0024CF9C 48 00 00 08 */ b lbl_80250064 -lbl_80250060: -/* 80250060 0024CFA0 3B BD 00 01 */ addi r29, r29, 1 -lbl_80250064: -/* 80250064 0024CFA4 7C 1D 20 00 */ cmpw r29, r4 -/* 80250068 0024CFA8 40 81 00 08 */ ble lbl_80250070 -/* 8025006C 0024CFAC 48 00 00 14 */ b lbl_80250080 -lbl_80250070: -/* 80250070 0024CFB0 80 C6 00 04 */ lwz r6, 4(r6) -lbl_80250074: -/* 80250074 0024CFB4 28 06 00 00 */ cmplwi r6, 0 -/* 80250078 0024CFB8 40 82 FF CC */ bne lbl_80250044 -/* 8025007C 0024CFBC 38 60 00 00 */ li r3, 0 -lbl_80250080: -/* 80250080 0024CFC0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80250084 0024CFC4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80250088 0024CFC8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025008C 0024CFCC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80250090 0024CFD0 7C 08 03 A6 */ mtlr r0 -/* 80250094 0024CFD4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80250098 0024CFD8 4E 80 00 20 */ blr - -.global getRoomNodePtr__Q34Game4Cave12RandGateUnitFRi -getRoomNodePtr__Q34Game4Cave12RandGateUnitFRi: -/* 8025009C 0024CFDC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802500A0 0024CFE0 7C 08 02 A6 */ mflr r0 -/* 802500A4 0024CFE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802500A8 0024CFE8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802500AC 0024CFEC 7C 9F 23 78 */ mr r31, r4 -/* 802500B0 0024CFF0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802500B4 0024CFF4 7C 7E 1B 78 */ mr r30, r3 -/* 802500B8 0024CFF8 48 00 00 A1 */ bl getItemSetCapDoor__Q34Game4Cave12RandGateUnitFRi -/* 802500BC 0024CFFC 28 03 00 00 */ cmplwi r3, 0 -/* 802500C0 0024D000 41 82 00 08 */ beq lbl_802500C8 -/* 802500C4 0024D004 48 00 00 7C */ b lbl_80250140 -lbl_802500C8: -/* 802500C8 0024D008 7F C3 F3 78 */ mr r3, r30 -/* 802500CC 0024D00C 7F E4 FB 78 */ mr r4, r31 -/* 802500D0 0024D010 48 00 01 E9 */ bl getRoomMinScoreDoor__Q34Game4Cave12RandGateUnitFRi -/* 802500D4 0024D014 28 03 00 00 */ cmplwi r3, 0 -/* 802500D8 0024D018 41 82 00 08 */ beq lbl_802500E0 -/* 802500DC 0024D01C 48 00 00 64 */ b lbl_80250140 -lbl_802500E0: -/* 802500E0 0024D020 4B E7 94 C1 */ bl rand -/* 802500E4 0024D024 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802500E8 0024D028 3C 00 43 30 */ lis r0, 0x4330 -/* 802500EC 0024D02C 90 61 00 0C */ stw r3, 0xc(r1) -/* 802500F0 0024D030 C8 62 C5 20 */ lfd f3, lbl_8051A880@sda21(r2) -/* 802500F4 0024D034 90 01 00 08 */ stw r0, 8(r1) -/* 802500F8 0024D038 C0 42 C5 28 */ lfs f2, lbl_8051A888@sda21(r2) -/* 802500FC 0024D03C C8 01 00 08 */ lfd f0, 8(r1) -/* 80250100 0024D040 C0 22 C5 18 */ lfs f1, lbl_8051A878@sda21(r2) -/* 80250104 0024D044 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80250108 0024D048 C0 02 C5 2C */ lfs f0, lbl_8051A88C@sda21(r2) -/* 8025010C 0024D04C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80250110 0024D050 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80250114 0024D054 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80250118 0024D058 40 80 00 1C */ bge lbl_80250134 -/* 8025011C 0024D05C 7F C3 F3 78 */ mr r3, r30 -/* 80250120 0024D060 7F E4 FB 78 */ mr r4, r31 -/* 80250124 0024D064 48 00 02 79 */ bl getRoomLowScoreDoor__Q34Game4Cave12RandGateUnitFRi -/* 80250128 0024D068 28 03 00 00 */ cmplwi r3, 0 -/* 8025012C 0024D06C 41 82 00 08 */ beq lbl_80250134 -/* 80250130 0024D070 48 00 00 10 */ b lbl_80250140 -lbl_80250134: -/* 80250134 0024D074 7F C3 F3 78 */ mr r3, r30 -/* 80250138 0024D078 7F E4 FB 78 */ mr r4, r31 -/* 8025013C 0024D07C 48 00 04 79 */ bl getRandomScoreDoor__Q34Game4Cave12RandGateUnitFRi -lbl_80250140: -/* 80250140 0024D080 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80250144 0024D084 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80250148 0024D088 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025014C 0024D08C 7C 08 03 A6 */ mtlr r0 -/* 80250150 0024D090 38 21 00 20 */ addi r1, r1, 0x20 -/* 80250154 0024D094 4E 80 00 20 */ blr - -.global getItemSetCapDoor__Q34Game4Cave12RandGateUnitFRi -getItemSetCapDoor__Q34Game4Cave12RandGateUnitFRi: -/* 80250158 0024D098 94 21 EF B0 */ stwu r1, -0x1050(r1) -/* 8025015C 0024D09C 7C 08 02 A6 */ mflr r0 -/* 80250160 0024D0A0 90 01 10 54 */ stw r0, 0x1054(r1) -/* 80250164 0024D0A4 BE E1 10 2C */ stmw r23, 0x102c(r1) -/* 80250168 0024D0A8 7C 77 1B 78 */ mr r23, r3 -/* 8025016C 0024D0AC 7C 9F 23 78 */ mr r31, r4 -/* 80250170 0024D0B0 3B 81 08 08 */ addi r28, r1, 0x808 -/* 80250174 0024D0B4 3B 61 00 08 */ addi r27, r1, 8 -/* 80250178 0024D0B8 3B 40 00 00 */ li r26, 0 -/* 8025017C 0024D0BC 80 63 00 00 */ lwz r3, 0(r3) -/* 80250180 0024D0C0 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80250184 0024D0C4 83 23 00 10 */ lwz r25, 0x10(r3) -/* 80250188 0024D0C8 48 00 00 A0 */ b lbl_80250228 -lbl_8025018C: -/* 8025018C 0024D0CC 80 79 00 18 */ lwz r3, 0x18(r25) -/* 80250190 0024D0D0 4B FF 29 E9 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 80250194 0024D0D4 2C 03 00 00 */ cmpwi r3, 0 -/* 80250198 0024D0D8 40 82 00 8C */ bne lbl_80250224 -/* 8025019C 0024D0DC 7F 23 CB 78 */ mr r3, r25 -/* 802501A0 0024D0E0 4B FF 38 25 */ bl getUnitName__Q34Game4Cave7MapNodeFv -/* 802501A4 0024D0E4 38 82 C5 30 */ addi r4, r2, lbl_8051A890@sda21 -/* 802501A8 0024D0E8 38 A0 00 04 */ li r5, 4 -/* 802501AC 0024D0EC 4B E7 A4 D5 */ bl strncmp -/* 802501B0 0024D0F0 2C 03 00 00 */ cmpwi r3, 0 -/* 802501B4 0024D0F4 40 82 00 70 */ bne lbl_80250224 -/* 802501B8 0024D0F8 80 77 00 08 */ lwz r3, 8(r23) -/* 802501BC 0024D0FC 7F 24 CB 78 */ mr r4, r25 -/* 802501C0 0024D100 38 A0 00 00 */ li r5, 0 -/* 802501C4 0024D104 4B FF E3 39 */ bl isItemSetDone__Q34Game4Cave12RandItemUnitFPQ34Game4Cave7MapNodePQ34Game4Cave7BaseGen -/* 802501C8 0024D108 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802501CC 0024D10C 41 82 00 58 */ beq lbl_80250224 -/* 802501D0 0024D110 7F 9E E3 78 */ mr r30, r28 -/* 802501D4 0024D114 7F 7D DB 78 */ mr r29, r27 -/* 802501D8 0024D118 3B 00 00 00 */ li r24, 0 -/* 802501DC 0024D11C 48 00 00 38 */ b lbl_80250214 -lbl_802501E0: -/* 802501E0 0024D120 7F 23 CB 78 */ mr r3, r25 -/* 802501E4 0024D124 7F 04 C3 78 */ mr r4, r24 -/* 802501E8 0024D128 4B FF 32 D5 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 802501EC 0024D12C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802501F0 0024D130 40 82 00 20 */ bne lbl_80250210 -/* 802501F4 0024D134 93 3E 00 00 */ stw r25, 0(r30) -/* 802501F8 0024D138 3B 5A 00 01 */ addi r26, r26, 1 -/* 802501FC 0024D13C 3B DE 00 04 */ addi r30, r30, 4 -/* 80250200 0024D140 3B 9C 00 04 */ addi r28, r28, 4 -/* 80250204 0024D144 93 1D 00 00 */ stw r24, 0(r29) -/* 80250208 0024D148 3B BD 00 04 */ addi r29, r29, 4 -/* 8025020C 0024D14C 3B 7B 00 04 */ addi r27, r27, 4 -lbl_80250210: -/* 80250210 0024D150 3B 18 00 01 */ addi r24, r24, 1 -lbl_80250214: -/* 80250214 0024D154 7F 23 CB 78 */ mr r3, r25 -/* 80250218 0024D158 4B FF 3E 49 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8025021C 0024D15C 7C 18 18 00 */ cmpw r24, r3 -/* 80250220 0024D160 41 80 FF C0 */ blt lbl_802501E0 -lbl_80250224: -/* 80250224 0024D164 83 39 00 04 */ lwz r25, 4(r25) -lbl_80250228: -/* 80250228 0024D168 28 19 00 00 */ cmplwi r25, 0 -/* 8025022C 0024D16C 40 82 FF 60 */ bne lbl_8025018C -/* 80250230 0024D170 2C 1A 00 00 */ cmpwi r26, 0 -/* 80250234 0024D174 41 82 00 6C */ beq lbl_802502A0 -/* 80250238 0024D178 4B E7 93 69 */ bl rand -/* 8025023C 0024D17C 3C A0 43 30 */ lis r5, 0x4330 -/* 80250240 0024D180 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80250244 0024D184 90 01 10 0C */ stw r0, 0x100c(r1) -/* 80250248 0024D188 6F 40 80 00 */ xoris r0, r26, 0x8000 -/* 8025024C 0024D18C C8 42 C5 20 */ lfd f2, lbl_8051A880@sda21(r2) -/* 80250250 0024D190 38 81 00 08 */ addi r4, r1, 8 -/* 80250254 0024D194 90 A1 10 08 */ stw r5, 0x1008(r1) -/* 80250258 0024D198 38 61 08 08 */ addi r3, r1, 0x808 -/* 8025025C 0024D19C C0 02 C5 18 */ lfs f0, lbl_8051A878@sda21(r2) -/* 80250260 0024D1A0 C8 21 10 08 */ lfd f1, 0x1008(r1) -/* 80250264 0024D1A4 90 01 10 14 */ stw r0, 0x1014(r1) -/* 80250268 0024D1A8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8025026C 0024D1AC 90 A1 10 10 */ stw r5, 0x1010(r1) -/* 80250270 0024D1B0 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80250274 0024D1B4 C8 01 10 10 */ lfd f0, 0x1010(r1) -/* 80250278 0024D1B8 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8025027C 0024D1BC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80250280 0024D1C0 FC 00 00 1E */ fctiwz f0, f0 -/* 80250284 0024D1C4 D8 01 10 18 */ stfd f0, 0x1018(r1) -/* 80250288 0024D1C8 80 01 10 1C */ lwz r0, 0x101c(r1) -/* 8025028C 0024D1CC 54 05 10 3A */ slwi r5, r0, 2 -/* 80250290 0024D1D0 7C 04 28 2E */ lwzx r0, r4, r5 -/* 80250294 0024D1D4 7C 63 28 2E */ lwzx r3, r3, r5 -/* 80250298 0024D1D8 90 1F 00 00 */ stw r0, 0(r31) -/* 8025029C 0024D1DC 48 00 00 08 */ b lbl_802502A4 -lbl_802502A0: -/* 802502A0 0024D1E0 38 60 00 00 */ li r3, 0 -lbl_802502A4: -/* 802502A4 0024D1E4 BA E1 10 2C */ lmw r23, 0x102c(r1) -/* 802502A8 0024D1E8 80 01 10 54 */ lwz r0, 0x1054(r1) -/* 802502AC 0024D1EC 7C 08 03 A6 */ mtlr r0 -/* 802502B0 0024D1F0 38 21 10 50 */ addi r1, r1, 0x1050 -/* 802502B4 0024D1F4 4E 80 00 20 */ blr - -.global getRoomMinScoreDoor__Q34Game4Cave12RandGateUnitFRi -getRoomMinScoreDoor__Q34Game4Cave12RandGateUnitFRi: -/* 802502B8 0024D1F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802502BC 0024D1FC 7C 08 02 A6 */ mflr r0 -/* 802502C0 0024D200 90 01 00 24 */ stw r0, 0x24(r1) -/* 802502C4 0024D204 BF 41 00 08 */ stmw r26, 8(r1) -/* 802502C8 0024D208 7C 7A 1B 78 */ mr r26, r3 -/* 802502CC 0024D20C 7C 9B 23 78 */ mr r27, r4 -/* 802502D0 0024D210 80 63 00 00 */ lwz r3, 0(r3) -/* 802502D4 0024D214 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802502D8 0024D218 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 802502DC 0024D21C 48 00 00 A0 */ b lbl_8025037C -lbl_802502E0: -/* 802502E0 0024D220 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 802502E4 0024D224 4B FF 28 95 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802502E8 0024D228 2C 03 00 01 */ cmpwi r3, 1 -/* 802502EC 0024D22C 40 82 00 8C */ bne lbl_80250378 -/* 802502F0 0024D230 80 7A 00 04 */ lwz r3, 4(r26) -/* 802502F4 0024D234 38 80 00 00 */ li r4, 0 -/* 802502F8 0024D238 4B FF C8 B1 */ bl getFixObjNode__Q34Game4Cave12RandMapScoreFi -/* 802502FC 0024D23C 7C 1E 18 40 */ cmplw r30, r3 -/* 80250300 0024D240 41 82 00 78 */ beq lbl_80250378 -/* 80250304 0024D244 3C 60 00 02 */ lis r3, 0x0001F400@ha -/* 80250308 0024D248 3B 80 00 00 */ li r28, 0 -/* 8025030C 0024D24C 3B A3 F4 00 */ addi r29, r3, 0x0001F400@l -/* 80250310 0024D250 3B E0 00 00 */ li r31, 0 -/* 80250314 0024D254 48 00 00 28 */ b lbl_8025033C -lbl_80250318: -/* 80250318 0024D258 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8025031C 0024D25C 38 1F 00 08 */ addi r0, r31, 8 -/* 80250320 0024D260 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80250324 0024D264 7C 00 E8 00 */ cmpw r0, r29 -/* 80250328 0024D268 40 80 00 0C */ bge lbl_80250334 -/* 8025032C 0024D26C 7C 1D 03 78 */ mr r29, r0 -/* 80250330 0024D270 93 9B 00 00 */ stw r28, 0(r27) -lbl_80250334: -/* 80250334 0024D274 3B FF 00 0C */ addi r31, r31, 0xc -/* 80250338 0024D278 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8025033C: -/* 8025033C 0024D27C 7F C3 F3 78 */ mr r3, r30 -/* 80250340 0024D280 4B FF 3D 21 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 80250344 0024D284 7C 1C 18 00 */ cmpw r28, r3 -/* 80250348 0024D288 41 80 FF D0 */ blt lbl_80250318 -/* 8025034C 0024D28C 3C 60 00 02 */ lis r3, 0x0001F400@ha -/* 80250350 0024D290 38 03 F4 00 */ addi r0, r3, 0x0001F400@l -/* 80250354 0024D294 7C 1D 00 00 */ cmpw r29, r0 -/* 80250358 0024D298 40 80 00 20 */ bge lbl_80250378 -/* 8025035C 0024D29C 80 9B 00 00 */ lwz r4, 0(r27) -/* 80250360 0024D2A0 7F C3 F3 78 */ mr r3, r30 -/* 80250364 0024D2A4 4B FF 31 59 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 80250368 0024D2A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025036C 0024D2AC 40 82 00 0C */ bne lbl_80250378 -/* 80250370 0024D2B0 7F C3 F3 78 */ mr r3, r30 -/* 80250374 0024D2B4 48 00 00 14 */ b lbl_80250388 -lbl_80250378: -/* 80250378 0024D2B8 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8025037C: -/* 8025037C 0024D2BC 28 1E 00 00 */ cmplwi r30, 0 -/* 80250380 0024D2C0 40 82 FF 60 */ bne lbl_802502E0 -/* 80250384 0024D2C4 38 60 00 00 */ li r3, 0 -lbl_80250388: -/* 80250388 0024D2C8 BB 41 00 08 */ lmw r26, 8(r1) -/* 8025038C 0024D2CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80250390 0024D2D0 7C 08 03 A6 */ mtlr r0 -/* 80250394 0024D2D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80250398 0024D2D8 4E 80 00 20 */ blr - -.global getRoomLowScoreDoor__Q34Game4Cave12RandGateUnitFRi -getRoomLowScoreDoor__Q34Game4Cave12RandGateUnitFRi: -/* 8025039C 0024D2DC 94 21 E7 A0 */ stwu r1, -0x1860(r1) -/* 802503A0 0024D2E0 7C 08 02 A6 */ mflr r0 -/* 802503A4 0024D2E4 90 01 18 64 */ stw r0, 0x1864(r1) -/* 802503A8 0024D2E8 BE 41 18 28 */ stmw r18, 0x1828(r1) -/* 802503AC 0024D2EC 7C 92 23 78 */ mr r18, r4 -/* 802503B0 0024D2F0 3A E0 00 00 */ li r23, 0 -/* 802503B4 0024D2F4 3A C0 00 00 */ li r22, 0 -/* 802503B8 0024D2F8 3A A0 00 00 */ li r21, 0 -/* 802503BC 0024D2FC 80 63 00 00 */ lwz r3, 0(r3) -/* 802503C0 0024D300 82 63 00 28 */ lwz r19, 0x28(r3) -/* 802503C4 0024D304 83 13 00 10 */ lwz r24, 0x10(r19) -/* 802503C8 0024D308 48 00 00 70 */ b lbl_80250438 -lbl_802503CC: -/* 802503CC 0024D30C 80 78 00 18 */ lwz r3, 0x18(r24) -/* 802503D0 0024D310 4B FF 27 A9 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802503D4 0024D314 2C 03 00 01 */ cmpwi r3, 1 -/* 802503D8 0024D318 40 82 00 5C */ bne lbl_80250434 -/* 802503DC 0024D31C 3B 20 00 00 */ li r25, 0 -/* 802503E0 0024D320 3A 80 00 00 */ li r20, 0 -/* 802503E4 0024D324 48 00 00 40 */ b lbl_80250424 -lbl_802503E8: -/* 802503E8 0024D328 80 78 00 28 */ lwz r3, 0x28(r24) -/* 802503EC 0024D32C 38 14 00 08 */ addi r0, r20, 8 -/* 802503F0 0024D330 7C 03 00 2E */ lwzx r0, r3, r0 -/* 802503F4 0024D334 7C 00 A8 00 */ cmpw r0, r21 -/* 802503F8 0024D338 40 81 00 24 */ ble lbl_8025041C -/* 802503FC 0024D33C 7F 03 C3 78 */ mr r3, r24 -/* 80250400 0024D340 7F 24 CB 78 */ mr r4, r25 -/* 80250404 0024D344 4B FF 30 B9 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 80250408 0024D348 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025040C 0024D34C 40 82 00 10 */ bne lbl_8025041C -/* 80250410 0024D350 80 78 00 28 */ lwz r3, 0x28(r24) -/* 80250414 0024D354 38 14 00 08 */ addi r0, r20, 8 -/* 80250418 0024D358 7E A3 00 2E */ lwzx r21, r3, r0 -lbl_8025041C: -/* 8025041C 0024D35C 3A 94 00 0C */ addi r20, r20, 0xc -/* 80250420 0024D360 3B 39 00 01 */ addi r25, r25, 1 -lbl_80250424: -/* 80250424 0024D364 7F 03 C3 78 */ mr r3, r24 -/* 80250428 0024D368 4B FF 3C 39 */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 8025042C 0024D36C 7C 19 18 00 */ cmpw r25, r3 -/* 80250430 0024D370 41 80 FF B8 */ blt lbl_802503E8 -lbl_80250434: -/* 80250434 0024D374 83 18 00 04 */ lwz r24, 4(r24) -lbl_80250438: -/* 80250438 0024D378 28 18 00 00 */ cmplwi r24, 0 -/* 8025043C 0024D37C 40 82 FF 90 */ bne lbl_802503CC -/* 80250440 0024D380 3B 01 00 08 */ addi r24, r1, 8 -/* 80250444 0024D384 82 93 00 10 */ lwz r20, 0x10(r19) -/* 80250448 0024D388 7F 19 C3 78 */ mr r25, r24 -/* 8025044C 0024D38C 3B 61 10 08 */ addi r27, r1, 0x1008 -/* 80250450 0024D390 3B 41 08 08 */ addi r26, r1, 0x808 -/* 80250454 0024D394 48 00 00 A0 */ b lbl_802504F4 -lbl_80250458: -/* 80250458 0024D398 80 74 00 18 */ lwz r3, 0x18(r20) -/* 8025045C 0024D39C 4B FF 27 1D */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 80250460 0024D3A0 2C 03 00 01 */ cmpwi r3, 1 -/* 80250464 0024D3A4 40 82 00 8C */ bne lbl_802504F0 -/* 80250468 0024D3A8 7F 7F DB 78 */ mr r31, r27 -/* 8025046C 0024D3AC 7F 5E D3 78 */ mr r30, r26 -/* 80250470 0024D3B0 7F 3C CB 78 */ mr r28, r25 -/* 80250474 0024D3B4 3A 60 00 00 */ li r19, 0 -/* 80250478 0024D3B8 3B A0 00 00 */ li r29, 0 -/* 8025047C 0024D3BC 48 00 00 64 */ b lbl_802504E0 -lbl_80250480: -/* 80250480 0024D3C0 7E 83 A3 78 */ mr r3, r20 -/* 80250484 0024D3C4 7E 64 9B 78 */ mr r4, r19 -/* 80250488 0024D3C8 4B FF 30 35 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 8025048C 0024D3CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80250490 0024D3D0 40 82 00 48 */ bne lbl_802504D8 -/* 80250494 0024D3D4 80 94 00 28 */ lwz r4, 0x28(r20) -/* 80250498 0024D3D8 38 7D 00 08 */ addi r3, r29, 8 -/* 8025049C 0024D3DC 92 9F 00 00 */ stw r20, 0(r31) -/* 802504A0 0024D3E0 38 15 00 01 */ addi r0, r21, 1 -/* 802504A4 0024D3E4 7C 64 18 2E */ lwzx r3, r4, r3 -/* 802504A8 0024D3E8 3B FF 00 04 */ addi r31, r31, 4 -/* 802504AC 0024D3EC 92 7E 00 00 */ stw r19, 0(r30) -/* 802504B0 0024D3F0 3B DE 00 04 */ addi r30, r30, 4 -/* 802504B4 0024D3F4 7C 03 00 50 */ subf r0, r3, r0 -/* 802504B8 0024D3F8 3B 7B 00 04 */ addi r27, r27, 4 -/* 802504BC 0024D3FC 90 1C 00 00 */ stw r0, 0(r28) -/* 802504C0 0024D400 3B 5A 00 04 */ addi r26, r26, 4 -/* 802504C4 0024D404 3B 39 00 04 */ addi r25, r25, 4 -/* 802504C8 0024D408 3A F7 00 01 */ addi r23, r23, 1 -/* 802504CC 0024D40C 80 1C 00 00 */ lwz r0, 0(r28) -/* 802504D0 0024D410 3B 9C 00 04 */ addi r28, r28, 4 -/* 802504D4 0024D414 7E D6 02 14 */ add r22, r22, r0 -lbl_802504D8: -/* 802504D8 0024D418 3B BD 00 0C */ addi r29, r29, 0xc -/* 802504DC 0024D41C 3A 73 00 01 */ addi r19, r19, 1 -lbl_802504E0: -/* 802504E0 0024D420 7E 83 A3 78 */ mr r3, r20 -/* 802504E4 0024D424 4B FF 3B 7D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802504E8 0024D428 7C 13 18 00 */ cmpw r19, r3 -/* 802504EC 0024D42C 41 80 FF 94 */ blt lbl_80250480 -lbl_802504F0: -/* 802504F0 0024D430 82 94 00 04 */ lwz r20, 4(r20) -lbl_802504F4: -/* 802504F4 0024D434 28 14 00 00 */ cmplwi r20, 0 -/* 802504F8 0024D438 40 82 FF 60 */ bne lbl_80250458 -/* 802504FC 0024D43C 2C 16 00 00 */ cmpwi r22, 0 -/* 80250500 0024D440 41 82 00 9C */ beq lbl_8025059C -/* 80250504 0024D444 4B E7 90 9D */ bl rand -/* 80250508 0024D448 3C 80 43 30 */ lis r4, 0x4330 -/* 8025050C 0024D44C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80250510 0024D450 90 01 18 0C */ stw r0, 0x180c(r1) -/* 80250514 0024D454 6E C0 80 00 */ xoris r0, r22, 0x8000 -/* 80250518 0024D458 C8 42 C5 20 */ lfd f2, lbl_8051A880@sda21(r2) -/* 8025051C 0024D45C 38 A0 00 00 */ li r5, 0 -/* 80250520 0024D460 90 81 18 08 */ stw r4, 0x1808(r1) -/* 80250524 0024D464 38 C0 00 00 */ li r6, 0 -/* 80250528 0024D468 C0 02 C5 18 */ lfs f0, lbl_8051A878@sda21(r2) -/* 8025052C 0024D46C C8 21 18 08 */ lfd f1, 0x1808(r1) -/* 80250530 0024D470 90 01 18 14 */ stw r0, 0x1814(r1) -/* 80250534 0024D474 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80250538 0024D478 90 81 18 10 */ stw r4, 0x1810(r1) -/* 8025053C 0024D47C EC 21 00 24 */ fdivs f1, f1, f0 -/* 80250540 0024D480 C8 01 18 10 */ lfd f0, 0x1810(r1) -/* 80250544 0024D484 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80250548 0024D488 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8025054C 0024D48C FC 00 00 1E */ fctiwz f0, f0 -/* 80250550 0024D490 D8 01 18 18 */ stfd f0, 0x1818(r1) -/* 80250554 0024D494 80 61 18 1C */ lwz r3, 0x181c(r1) -/* 80250558 0024D498 7E E9 03 A6 */ mtctr r23 -/* 8025055C 0024D49C 2C 17 00 00 */ cmpwi r23, 0 -/* 80250560 0024D4A0 40 81 00 3C */ ble lbl_8025059C -lbl_80250564: -/* 80250564 0024D4A4 80 18 00 00 */ lwz r0, 0(r24) -/* 80250568 0024D4A8 7C A5 02 14 */ add r5, r5, r0 -/* 8025056C 0024D4AC 7C 05 18 00 */ cmpw r5, r3 -/* 80250570 0024D4B0 40 81 00 20 */ ble lbl_80250590 -/* 80250574 0024D4B4 54 C4 10 3A */ slwi r4, r6, 2 -/* 80250578 0024D4B8 38 61 08 08 */ addi r3, r1, 0x808 -/* 8025057C 0024D4BC 7C 03 20 2E */ lwzx r0, r3, r4 -/* 80250580 0024D4C0 38 61 10 08 */ addi r3, r1, 0x1008 -/* 80250584 0024D4C4 7C 63 20 2E */ lwzx r3, r3, r4 -/* 80250588 0024D4C8 90 12 00 00 */ stw r0, 0(r18) -/* 8025058C 0024D4CC 48 00 00 14 */ b lbl_802505A0 -lbl_80250590: -/* 80250590 0024D4D0 3B 18 00 04 */ addi r24, r24, 4 -/* 80250594 0024D4D4 38 C6 00 01 */ addi r6, r6, 1 -/* 80250598 0024D4D8 42 00 FF CC */ bdnz lbl_80250564 -lbl_8025059C: -/* 8025059C 0024D4DC 38 60 00 00 */ li r3, 0 -lbl_802505A0: -/* 802505A0 0024D4E0 BA 41 18 28 */ lmw r18, 0x1828(r1) -/* 802505A4 0024D4E4 80 01 18 64 */ lwz r0, 0x1864(r1) -/* 802505A8 0024D4E8 7C 08 03 A6 */ mtlr r0 -/* 802505AC 0024D4EC 38 21 18 60 */ addi r1, r1, 0x1860 -/* 802505B0 0024D4F0 4E 80 00 20 */ blr - -.global getRandomScoreDoor__Q34Game4Cave12RandGateUnitFRi -getRandomScoreDoor__Q34Game4Cave12RandGateUnitFRi: -/* 802505B4 0024D4F4 94 21 CF B0 */ stwu r1, -0x3050(r1) -/* 802505B8 0024D4F8 7C 08 02 A6 */ mflr r0 -/* 802505BC 0024D4FC 90 01 30 54 */ stw r0, 0x3054(r1) -/* 802505C0 0024D500 BE A1 30 24 */ stmw r21, 0x3024(r1) -/* 802505C4 0024D504 7C 9C 23 78 */ mr r28, r4 -/* 802505C8 0024D508 3B E0 00 00 */ li r31, 0 -/* 802505CC 0024D50C 3B 60 00 00 */ li r27, 0 -/* 802505D0 0024D510 3B C0 00 00 */ li r30, 0 -/* 802505D4 0024D514 80 63 00 00 */ lwz r3, 0(r3) -/* 802505D8 0024D518 80 63 00 28 */ lwz r3, 0x28(r3) -/* 802505DC 0024D51C 83 A3 00 10 */ lwz r29, 0x10(r3) -/* 802505E0 0024D520 48 00 01 80 */ b lbl_80250760 -lbl_802505E4: -/* 802505E4 0024D524 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 802505E8 0024D528 4B FF 25 91 */ bl getUnitKind__Q34Game4Cave8UnitInfoFv -/* 802505EC 0024D52C 7C 7A 1B 78 */ mr r26, r3 -/* 802505F0 0024D530 7F A3 EB 78 */ mr r3, r29 -/* 802505F4 0024D534 4B FF 3A 6D */ bl getNumDoors__Q34Game4Cave7MapNodeFv -/* 802505F8 0024D538 2C 1A 00 01 */ cmpwi r26, 1 -/* 802505FC 0024D53C 7C 79 1B 78 */ mr r25, r3 -/* 80250600 0024D540 40 82 00 70 */ bne lbl_80250670 -/* 80250604 0024D544 3B 41 20 08 */ addi r26, r1, 0x2008 -/* 80250608 0024D548 3B 01 10 08 */ addi r24, r1, 0x1008 -/* 8025060C 0024D54C 3A E1 00 08 */ addi r23, r1, 8 -/* 80250610 0024D550 3A C0 00 00 */ li r22, 0 -/* 80250614 0024D554 7F 5A DA 14 */ add r26, r26, r27 -/* 80250618 0024D558 7F 18 DA 14 */ add r24, r24, r27 -/* 8025061C 0024D55C 7E F7 DA 14 */ add r23, r23, r27 -/* 80250620 0024D560 48 00 00 44 */ b lbl_80250664 -lbl_80250624: -/* 80250624 0024D564 7F A3 EB 78 */ mr r3, r29 -/* 80250628 0024D568 7E C4 B3 78 */ mr r4, r22 -/* 8025062C 0024D56C 4B FF 2E 91 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 80250630 0024D570 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80250634 0024D574 40 82 00 2C */ bne lbl_80250660 -/* 80250638 0024D578 93 37 00 00 */ stw r25, 0(r23) -/* 8025063C 0024D57C 3B FF 00 01 */ addi r31, r31, 1 -/* 80250640 0024D580 3B 7B 00 04 */ addi r27, r27, 4 -/* 80250644 0024D584 80 17 00 00 */ lwz r0, 0(r23) -/* 80250648 0024D588 3A F7 00 04 */ addi r23, r23, 4 -/* 8025064C 0024D58C 93 BA 00 00 */ stw r29, 0(r26) -/* 80250650 0024D590 3B 5A 00 04 */ addi r26, r26, 4 -/* 80250654 0024D594 7F DE 02 14 */ add r30, r30, r0 -/* 80250658 0024D598 92 D8 00 00 */ stw r22, 0(r24) -/* 8025065C 0024D59C 3B 18 00 04 */ addi r24, r24, 4 -lbl_80250660: -/* 80250660 0024D5A0 3A D6 00 01 */ addi r22, r22, 1 -lbl_80250664: -/* 80250664 0024D5A4 7C 16 C8 00 */ cmpw r22, r25 -/* 80250668 0024D5A8 41 80 FF BC */ blt lbl_80250624 -/* 8025066C 0024D5AC 48 00 00 F0 */ b lbl_8025075C -lbl_80250670: -/* 80250670 0024D5B0 2C 1A 00 02 */ cmpwi r26, 2 -/* 80250674 0024D5B4 40 82 00 78 */ bne lbl_802506EC -/* 80250678 0024D5B8 38 00 00 0A */ li r0, 0xa -/* 8025067C 0024D5BC 3A E1 20 08 */ addi r23, r1, 0x2008 -/* 80250680 0024D5C0 7F 40 CB D6 */ divw r26, r0, r25 -/* 80250684 0024D5C4 3B 01 10 08 */ addi r24, r1, 0x1008 -/* 80250688 0024D5C8 3A C1 00 08 */ addi r22, r1, 8 -/* 8025068C 0024D5CC 7E F7 DA 14 */ add r23, r23, r27 -/* 80250690 0024D5D0 7F 18 DA 14 */ add r24, r24, r27 -/* 80250694 0024D5D4 7E D6 DA 14 */ add r22, r22, r27 -/* 80250698 0024D5D8 3A A0 00 00 */ li r21, 0 -/* 8025069C 0024D5DC 48 00 00 44 */ b lbl_802506E0 -lbl_802506A0: -/* 802506A0 0024D5E0 7F A3 EB 78 */ mr r3, r29 -/* 802506A4 0024D5E4 7E A4 AB 78 */ mr r4, r21 -/* 802506A8 0024D5E8 4B FF 2E 15 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 802506AC 0024D5EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802506B0 0024D5F0 40 82 00 2C */ bne lbl_802506DC -/* 802506B4 0024D5F4 93 56 00 00 */ stw r26, 0(r22) -/* 802506B8 0024D5F8 3B FF 00 01 */ addi r31, r31, 1 -/* 802506BC 0024D5FC 3B 7B 00 04 */ addi r27, r27, 4 -/* 802506C0 0024D600 80 16 00 00 */ lwz r0, 0(r22) -/* 802506C4 0024D604 3A D6 00 04 */ addi r22, r22, 4 -/* 802506C8 0024D608 93 B7 00 00 */ stw r29, 0(r23) -/* 802506CC 0024D60C 3A F7 00 04 */ addi r23, r23, 4 -/* 802506D0 0024D610 7F DE 02 14 */ add r30, r30, r0 -/* 802506D4 0024D614 92 B8 00 00 */ stw r21, 0(r24) -/* 802506D8 0024D618 3B 18 00 04 */ addi r24, r24, 4 -lbl_802506DC: -/* 802506DC 0024D61C 3A B5 00 01 */ addi r21, r21, 1 -lbl_802506E0: -/* 802506E0 0024D620 7C 15 C8 00 */ cmpw r21, r25 -/* 802506E4 0024D624 41 80 FF BC */ blt lbl_802506A0 -/* 802506E8 0024D628 48 00 00 74 */ b lbl_8025075C -lbl_802506EC: -/* 802506EC 0024D62C 2C 1A 00 00 */ cmpwi r26, 0 -/* 802506F0 0024D630 40 82 00 6C */ bne lbl_8025075C -/* 802506F4 0024D634 3A C1 20 08 */ addi r22, r1, 0x2008 -/* 802506F8 0024D638 3A E1 10 08 */ addi r23, r1, 0x1008 -/* 802506FC 0024D63C 3B 01 00 08 */ addi r24, r1, 8 -/* 80250700 0024D640 3A A0 00 00 */ li r21, 0 -/* 80250704 0024D644 7E D6 DA 14 */ add r22, r22, r27 -/* 80250708 0024D648 7E F7 DA 14 */ add r23, r23, r27 -/* 8025070C 0024D64C 7F 18 DA 14 */ add r24, r24, r27 -/* 80250710 0024D650 48 00 00 44 */ b lbl_80250754 -lbl_80250714: -/* 80250714 0024D654 7F A3 EB 78 */ mr r3, r29 -/* 80250718 0024D658 7E A4 AB 78 */ mr r4, r21 -/* 8025071C 0024D65C 4B FF 2D A1 */ bl isGateSetDoor__Q34Game4Cave7MapNodeFi -/* 80250720 0024D660 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80250724 0024D664 40 82 00 2C */ bne lbl_80250750 -/* 80250728 0024D668 93 38 00 00 */ stw r25, 0(r24) -/* 8025072C 0024D66C 3B FF 00 01 */ addi r31, r31, 1 -/* 80250730 0024D670 3B 7B 00 04 */ addi r27, r27, 4 -/* 80250734 0024D674 80 18 00 00 */ lwz r0, 0(r24) -/* 80250738 0024D678 3B 18 00 04 */ addi r24, r24, 4 -/* 8025073C 0024D67C 93 B6 00 00 */ stw r29, 0(r22) -/* 80250740 0024D680 3A D6 00 04 */ addi r22, r22, 4 -/* 80250744 0024D684 7F DE 02 14 */ add r30, r30, r0 -/* 80250748 0024D688 92 B7 00 00 */ stw r21, 0(r23) -/* 8025074C 0024D68C 3A F7 00 04 */ addi r23, r23, 4 -lbl_80250750: -/* 80250750 0024D690 3A B5 00 01 */ addi r21, r21, 1 -lbl_80250754: -/* 80250754 0024D694 7C 15 C8 00 */ cmpw r21, r25 -/* 80250758 0024D698 41 80 FF BC */ blt lbl_80250714 -lbl_8025075C: -/* 8025075C 0024D69C 83 BD 00 04 */ lwz r29, 4(r29) -lbl_80250760: -/* 80250760 0024D6A0 28 1D 00 00 */ cmplwi r29, 0 -/* 80250764 0024D6A4 40 82 FE 80 */ bne lbl_802505E4 -/* 80250768 0024D6A8 2C 1E 00 00 */ cmpwi r30, 0 -/* 8025076C 0024D6AC 41 82 00 A0 */ beq lbl_8025080C -/* 80250770 0024D6B0 4B E7 8E 31 */ bl rand -/* 80250774 0024D6B4 3C 80 43 30 */ lis r4, 0x4330 -/* 80250778 0024D6B8 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8025077C 0024D6BC 90 01 30 0C */ stw r0, 0x300c(r1) -/* 80250780 0024D6C0 6F C0 80 00 */ xoris r0, r30, 0x8000 -/* 80250784 0024D6C4 C8 42 C5 20 */ lfd f2, lbl_8051A880@sda21(r2) -/* 80250788 0024D6C8 38 A1 00 08 */ addi r5, r1, 8 -/* 8025078C 0024D6CC 90 81 30 08 */ stw r4, 0x3008(r1) -/* 80250790 0024D6D0 38 C0 00 00 */ li r6, 0 -/* 80250794 0024D6D4 C0 02 C5 18 */ lfs f0, lbl_8051A878@sda21(r2) -/* 80250798 0024D6D8 38 E0 00 00 */ li r7, 0 -/* 8025079C 0024D6DC C8 21 30 08 */ lfd f1, 0x3008(r1) -/* 802507A0 0024D6E0 90 01 30 14 */ stw r0, 0x3014(r1) -/* 802507A4 0024D6E4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 802507A8 0024D6E8 90 81 30 10 */ stw r4, 0x3010(r1) -/* 802507AC 0024D6EC EC 21 00 24 */ fdivs f1, f1, f0 -/* 802507B0 0024D6F0 C8 01 30 10 */ lfd f0, 0x3010(r1) -/* 802507B4 0024D6F4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 802507B8 0024D6F8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802507BC 0024D6FC FC 00 00 1E */ fctiwz f0, f0 -/* 802507C0 0024D700 D8 01 30 18 */ stfd f0, 0x3018(r1) -/* 802507C4 0024D704 80 61 30 1C */ lwz r3, 0x301c(r1) -/* 802507C8 0024D708 7F E9 03 A6 */ mtctr r31 -/* 802507CC 0024D70C 2C 1F 00 00 */ cmpwi r31, 0 -/* 802507D0 0024D710 40 81 00 3C */ ble lbl_8025080C -lbl_802507D4: -/* 802507D4 0024D714 80 05 00 00 */ lwz r0, 0(r5) -/* 802507D8 0024D718 7C C6 02 14 */ add r6, r6, r0 -/* 802507DC 0024D71C 7C 06 18 00 */ cmpw r6, r3 -/* 802507E0 0024D720 40 81 00 20 */ ble lbl_80250800 -/* 802507E4 0024D724 54 E4 10 3A */ slwi r4, r7, 2 -/* 802507E8 0024D728 38 61 10 08 */ addi r3, r1, 0x1008 -/* 802507EC 0024D72C 7C 03 20 2E */ lwzx r0, r3, r4 -/* 802507F0 0024D730 38 61 20 08 */ addi r3, r1, 0x2008 -/* 802507F4 0024D734 7C 63 20 2E */ lwzx r3, r3, r4 -/* 802507F8 0024D738 90 1C 00 00 */ stw r0, 0(r28) -/* 802507FC 0024D73C 48 00 00 14 */ b lbl_80250810 -lbl_80250800: -/* 80250800 0024D740 38 A5 00 04 */ addi r5, r5, 4 -/* 80250804 0024D744 38 E7 00 01 */ addi r7, r7, 1 -/* 80250808 0024D748 42 00 FF CC */ bdnz lbl_802507D4 -lbl_8025080C: -/* 8025080C 0024D74C 38 60 00 00 */ li r3, 0 -lbl_80250810: -/* 80250810 0024D750 BA A1 30 24 */ lmw r21, 0x3024(r1) -/* 80250814 0024D754 80 01 30 54 */ lwz r0, 0x3054(r1) -/* 80250818 0024D758 7C 08 03 A6 */ mtlr r0 -/* 8025081C 0024D75C 38 21 30 50 */ addi r1, r1, 0x3050 -/* 80250820 0024D760 4E 80 00 20 */ blr - -.global __ct__Q34Game4Cave12ObjectLayoutFPQ34Game4Cave7MapNode -__ct__Q34Game4Cave12ObjectLayoutFPQ34Game4Cave7MapNode: -/* 80250824 0024D764 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80250828 0024D768 7C 08 02 A6 */ mflr r0 -/* 8025082C 0024D76C 3C A0 80 4C */ lis r5, __vt__Q24Game16ObjectLayoutInfo@ha -/* 80250830 0024D770 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250834 0024D774 38 05 1B B8 */ addi r0, r5, __vt__Q24Game16ObjectLayoutInfo@l -/* 80250838 0024D778 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025083C 0024D77C 7C 7F 1B 78 */ mr r31, r3 -/* 80250840 0024D780 3C 60 80 4C */ lis r3, __vt__Q34Game4Cave12ObjectLayout@ha -/* 80250844 0024D784 93 C1 00 08 */ stw r30, 8(r1) -/* 80250848 0024D788 7C 9E 23 78 */ mr r30, r4 -/* 8025084C 0024D78C 90 1F 00 00 */ stw r0, 0(r31) -/* 80250850 0024D790 38 03 1B A8 */ addi r0, r3, __vt__Q34Game4Cave12ObjectLayout@l -/* 80250854 0024D794 38 60 00 20 */ li r3, 0x20 -/* 80250858 0024D798 90 1F 00 00 */ stw r0, 0(r31) -/* 8025085C 0024D79C 4B DD 37 51 */ bl __nwa__FUl -/* 80250860 0024D7A0 90 7F 00 04 */ stw r3, 4(r31) -/* 80250864 0024D7A4 38 00 00 00 */ li r0, 0 -/* 80250868 0024D7A8 28 1E 00 00 */ cmplwi r30, 0 -/* 8025086C 0024D7AC 80 7F 00 04 */ lwz r3, 4(r31) -/* 80250870 0024D7B0 90 03 00 00 */ stw r0, 0(r3) -/* 80250874 0024D7B4 80 7F 00 04 */ lwz r3, 4(r31) -/* 80250878 0024D7B8 90 03 00 04 */ stw r0, 4(r3) -/* 8025087C 0024D7BC 80 7F 00 04 */ lwz r3, 4(r31) -/* 80250880 0024D7C0 90 03 00 08 */ stw r0, 8(r3) -/* 80250884 0024D7C4 80 7F 00 04 */ lwz r3, 4(r31) -/* 80250888 0024D7C8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8025088C 0024D7CC 80 7F 00 04 */ lwz r3, 4(r31) -/* 80250890 0024D7D0 90 03 00 10 */ stw r0, 0x10(r3) -/* 80250894 0024D7D4 80 7F 00 04 */ lwz r3, 4(r31) -/* 80250898 0024D7D8 90 03 00 14 */ stw r0, 0x14(r3) -/* 8025089C 0024D7DC 80 7F 00 04 */ lwz r3, 4(r31) -/* 802508A0 0024D7E0 90 03 00 18 */ stw r0, 0x18(r3) -/* 802508A4 0024D7E4 80 7F 00 04 */ lwz r3, 4(r31) -/* 802508A8 0024D7E8 90 03 00 1C */ stw r0, 0x1c(r3) -/* 802508AC 0024D7EC 41 82 00 28 */ beq lbl_802508D4 -/* 802508B0 0024D7F0 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 802508B4 0024D7F4 80 7F 00 04 */ lwz r3, 4(r31) -/* 802508B8 0024D7F8 90 03 00 00 */ stw r0, 0(r3) -/* 802508BC 0024D7FC 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 802508C0 0024D800 80 7F 00 04 */ lwz r3, 4(r31) -/* 802508C4 0024D804 90 03 00 04 */ stw r0, 4(r3) -/* 802508C8 0024D808 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 802508CC 0024D80C 80 7F 00 04 */ lwz r3, 4(r31) -/* 802508D0 0024D810 90 03 00 08 */ stw r0, 8(r3) -lbl_802508D4: -/* 802508D4 0024D814 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802508D8 0024D818 7F E3 FB 78 */ mr r3, r31 -/* 802508DC 0024D81C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802508E0 0024D820 83 C1 00 08 */ lwz r30, 8(r1) -/* 802508E4 0024D824 7C 08 03 A6 */ mtlr r0 -/* 802508E8 0024D828 38 21 00 10 */ addi r1, r1, 0x10 -/* 802508EC 0024D82C 4E 80 00 20 */ blr - -.global setNode__Q34Game4Cave12ObjectLayoutFiPQ24Game16ObjectLayoutNode -setNode__Q34Game4Cave12ObjectLayoutFiPQ24Game16ObjectLayoutNode: -/* 802508F0 0024D830 80 63 00 04 */ lwz r3, 4(r3) -/* 802508F4 0024D834 54 80 10 3A */ slwi r0, r4, 2 -/* 802508F8 0024D838 7C A3 01 2E */ stwx r5, r3, r0 -/* 802508FC 0024D83C 4E 80 00 20 */ blr - -.global getCount__Q34Game4Cave12ObjectLayoutFi -getCount__Q34Game4Cave12ObjectLayoutFi: -/* 80250900 0024D840 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80250904 0024D844 7C 08 02 A6 */ mflr r0 -/* 80250908 0024D848 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025090C 0024D84C 54 80 10 3A */ slwi r0, r4, 2 -/* 80250910 0024D850 80 63 00 04 */ lwz r3, 4(r3) -/* 80250914 0024D854 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80250918 0024D858 28 03 00 00 */ cmplwi r3, 0 -/* 8025091C 0024D85C 41 82 00 18 */ beq lbl_80250934 -/* 80250920 0024D860 81 83 00 00 */ lwz r12, 0(r3) -/* 80250924 0024D864 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80250928 0024D868 7D 89 03 A6 */ mtctr r12 -/* 8025092C 0024D86C 4E 80 04 21 */ bctrl -/* 80250930 0024D870 48 00 00 08 */ b lbl_80250938 -lbl_80250934: -/* 80250934 0024D874 38 60 00 00 */ li r3, 0 -lbl_80250938: -/* 80250938 0024D878 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025093C 0024D87C 7C 08 03 A6 */ mtlr r0 -/* 80250940 0024D880 38 21 00 10 */ addi r1, r1, 0x10 -/* 80250944 0024D884 4E 80 00 20 */ blr - -.global getNode__Q34Game4Cave12ObjectLayoutFii -getNode__Q34Game4Cave12ObjectLayoutFii: -/* 80250948 0024D888 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025094C 0024D88C 7C 08 02 A6 */ mflr r0 -/* 80250950 0024D890 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250954 0024D894 54 80 10 3A */ slwi r0, r4, 2 -/* 80250958 0024D898 80 63 00 04 */ lwz r3, 4(r3) -/* 8025095C 0024D89C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80250960 0024D8A0 28 03 00 00 */ cmplwi r3, 0 -/* 80250964 0024D8A4 41 82 00 10 */ beq lbl_80250974 -/* 80250968 0024D8A8 7C A4 2B 78 */ mr r4, r5 -/* 8025096C 0024D8AC 48 1C 0D 31 */ bl getChildAt__5CNodeFi -/* 80250970 0024D8B0 48 00 00 08 */ b lbl_80250978 -lbl_80250974: -/* 80250974 0024D8B4 38 60 00 00 */ li r3, 0 -lbl_80250978: -/* 80250978 0024D8B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025097C 0024D8BC 7C 08 03 A6 */ mtlr r0 -/* 80250980 0024D8C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80250984 0024D8C4 4E 80 00 20 */ blr - -.global __ct__Q24Game9CameraMgrFv -__ct__Q24Game9CameraMgrFv: -/* 80250988 0024D8C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025098C 0024D8CC 7C 08 02 A6 */ mflr r0 -/* 80250990 0024D8D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250994 0024D8D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80250998 0024D8D8 7C 7F 1B 78 */ mr r31, r3 -/* 8025099C 0024D8DC 48 1C 09 F5 */ bl __ct__5CNodeFv -/* 802509A0 0024D8E0 3C 60 80 4C */ lis r3, __vt__Q24Game9CameraMgr@ha -/* 802509A4 0024D8E4 3C 80 80 48 */ lis r4, lbl_804841AC@ha -/* 802509A8 0024D8E8 38 03 1B D4 */ addi r0, r3, __vt__Q24Game9CameraMgr@l -/* 802509AC 0024D8EC 7F E3 FB 78 */ mr r3, r31 -/* 802509B0 0024D8F0 90 1F 00 00 */ stw r0, 0(r31) -/* 802509B4 0024D8F4 38 04 41 AC */ addi r0, r4, lbl_804841AC@l -/* 802509B8 0024D8F8 90 1F 00 14 */ stw r0, 0x14(r31) -/* 802509BC 0024D8FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802509C0 0024D900 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802509C4 0024D904 7C 08 03 A6 */ mtlr r0 -/* 802509C8 0024D908 38 21 00 10 */ addi r1, r1, 0x10 -/* 802509CC 0024D90C 4E 80 00 20 */ blr - -.global loadResource__Q24Game9CameraMgrFv -loadResource__Q24Game9CameraMgrFv: -/* 802509D0 0024D910 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802509D4 0024D914 7C 08 02 A6 */ mflr r0 -/* 802509D8 0024D918 90 01 00 14 */ stw r0, 0x14(r1) -/* 802509DC 0024D91C 38 00 FF FF */ li r0, -1 -/* 802509E0 0024D920 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802509E4 0024D924 7C 7F 1B 78 */ mr r31, r3 -/* 802509E8 0024D928 90 03 00 18 */ stw r0, 0x18(r3) -/* 802509EC 0024D92C 38 60 00 08 */ li r3, 8 -/* 802509F0 0024D930 4B DD 35 BD */ bl __nwa__FUl -/* 802509F4 0024D934 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 802509F8 0024D938 38 60 00 08 */ li r3, 8 -/* 802509FC 0024D93C 4B DD 35 B1 */ bl __nwa__FUl -/* 80250A00 0024D940 90 7F 00 20 */ stw r3, 0x20(r31) -/* 80250A04 0024D944 38 60 00 08 */ li r3, 8 -/* 80250A08 0024D948 4B DD 35 A5 */ bl __nwa__FUl -/* 80250A0C 0024D94C 90 7F 00 24 */ stw r3, 0x24(r31) -/* 80250A10 0024D950 38 60 09 98 */ li r3, 0x998 -/* 80250A14 0024D954 4B DD 34 91 */ bl __nw__FUl -/* 80250A18 0024D958 7C 60 1B 79 */ or. r0, r3, r3 -/* 80250A1C 0024D95C 41 82 00 10 */ beq lbl_80250A2C -/* 80250A20 0024D960 38 80 00 01 */ li r4, 1 -/* 80250A24 0024D964 48 00 05 A9 */ bl __ct__Q24Game11CameraParmsFv -/* 80250A28 0024D968 7C 60 1B 78 */ mr r0, r3 -lbl_80250A2C: -/* 80250A2C 0024D96C 90 1F 00 28 */ stw r0, 0x28(r31) -/* 80250A30 0024D970 38 60 09 98 */ li r3, 0x998 -/* 80250A34 0024D974 4B DD 34 71 */ bl __nw__FUl -/* 80250A38 0024D978 7C 60 1B 79 */ or. r0, r3, r3 -/* 80250A3C 0024D97C 41 82 00 10 */ beq lbl_80250A4C -/* 80250A40 0024D980 38 80 00 01 */ li r4, 1 -/* 80250A44 0024D984 48 00 05 89 */ bl __ct__Q24Game11CameraParmsFv -/* 80250A48 0024D988 7C 60 1B 78 */ mr r0, r3 -lbl_80250A4C: -/* 80250A4C 0024D98C 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80250A50 0024D990 38 60 03 08 */ li r3, 0x308 -/* 80250A54 0024D994 4B DD 34 51 */ bl __nw__FUl -/* 80250A58 0024D998 7C 60 1B 79 */ or. r0, r3, r3 -/* 80250A5C 0024D99C 41 82 00 10 */ beq lbl_80250A6C -/* 80250A60 0024D9A0 38 80 00 01 */ li r4, 1 -/* 80250A64 0024D9A4 48 00 00 99 */ bl __ct__Q24Game14VibrationParmsFv -/* 80250A68 0024D9A8 7C 60 1B 78 */ mr r0, r3 -lbl_80250A6C: -/* 80250A6C 0024D9AC 90 1F 00 30 */ stw r0, 0x30(r31) -/* 80250A70 0024D9B0 38 00 00 00 */ li r0, 0 -/* 80250A74 0024D9B4 90 1F 00 34 */ stw r0, 0x34(r31) -/* 80250A78 0024D9B8 90 1F 00 38 */ stw r0, 0x38(r31) -/* 80250A7C 0024D9BC 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80250A80 0024D9C0 90 03 00 00 */ stw r0, 0(r3) -/* 80250A84 0024D9C4 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80250A88 0024D9C8 90 03 00 00 */ stw r0, 0(r3) -/* 80250A8C 0024D9CC 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80250A90 0024D9D0 90 03 00 00 */ stw r0, 0(r3) -/* 80250A94 0024D9D4 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80250A98 0024D9D8 90 03 00 04 */ stw r0, 4(r3) -/* 80250A9C 0024D9DC 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80250AA0 0024D9E0 90 03 00 04 */ stw r0, 4(r3) -/* 80250AA4 0024D9E4 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80250AA8 0024D9E8 90 03 00 04 */ stw r0, 4(r3) -/* 80250AAC 0024D9EC 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 80250AB0 0024D9F0 28 03 00 00 */ cmplwi r3, 0 -/* 80250AB4 0024D9F4 41 82 00 24 */ beq lbl_80250AD8 -/* 80250AB8 0024D9F8 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80250ABC 0024D9FC 28 00 00 00 */ cmplwi r0, 0 -/* 80250AC0 0024DA00 41 82 00 18 */ beq lbl_80250AD8 -/* 80250AC4 0024DA04 3C 80 80 48 */ lis r4, lbl_804841B8@ha -/* 80250AC8 0024DA08 7F E3 FB 78 */ mr r3, r31 -/* 80250ACC 0024DA0C 38 84 41 B8 */ addi r4, r4, lbl_804841B8@l -/* 80250AD0 0024DA10 48 00 1E AD */ bl readCameraParms__Q24Game9CameraMgrFPc -/* 80250AD4 0024DA14 48 00 00 14 */ b lbl_80250AE8 -lbl_80250AD8: -/* 80250AD8 0024DA18 3C 80 80 48 */ lis r4, lbl_804841E4@ha -/* 80250ADC 0024DA1C 7F E3 FB 78 */ mr r3, r31 -/* 80250AE0 0024DA20 38 84 41 E4 */ addi r4, r4, lbl_804841E4@l -/* 80250AE4 0024DA24 48 00 1E 99 */ bl readCameraParms__Q24Game9CameraMgrFPc -lbl_80250AE8: -/* 80250AE8 0024DA28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80250AEC 0024DA2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80250AF0 0024DA30 7C 08 03 A6 */ mtlr r0 -/* 80250AF4 0024DA34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80250AF8 0024DA38 4E 80 00 20 */ blr - -.global __ct__Q24Game14VibrationParmsFv -__ct__Q24Game14VibrationParmsFv: -/* 80250AFC 0024DA3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80250B00 0024DA40 7C 08 02 A6 */ mflr r0 -/* 80250B04 0024DA44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250B08 0024DA48 7C 80 07 35 */ extsh. r0, r4 -/* 80250B0C 0024DA4C 3C 80 80 48 */ lis r4, lbl_80484190@ha -/* 80250B10 0024DA50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80250B14 0024DA54 3B E4 41 90 */ addi r31, r4, lbl_80484190@l -/* 80250B18 0024DA58 93 C1 00 08 */ stw r30, 8(r1) -/* 80250B1C 0024DA5C 7C 7E 1B 78 */ mr r30, r3 -/* 80250B20 0024DA60 41 82 00 0C */ beq lbl_80250B2C -/* 80250B24 0024DA64 38 1E 03 04 */ addi r0, r30, 0x304 -/* 80250B28 0024DA68 90 1E 00 00 */ stw r0, 0(r30) -lbl_80250B2C: -/* 80250B2C 0024DA6C 38 00 00 00 */ li r0, 0 -/* 80250B30 0024DA70 3C A0 63 65 */ lis r5, 0x63656C76@ha -/* 80250B34 0024DA74 90 1E 00 04 */ stw r0, 4(r30) -/* 80250B38 0024DA78 38 1F 00 84 */ addi r0, r31, 0x84 -/* 80250B3C 0024DA7C 7F C4 F3 78 */ mr r4, r30 -/* 80250B40 0024DA80 38 7E 00 0C */ addi r3, r30, 0xc -/* 80250B44 0024DA84 90 1E 00 08 */ stw r0, 8(r30) -/* 80250B48 0024DA88 38 A5 6C 76 */ addi r5, r5, 0x63656C76@l -/* 80250B4C 0024DA8C 38 DF 00 94 */ addi r6, r31, 0x94 -/* 80250B50 0024DA90 48 1C 2B 09 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250B54 0024DA94 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250B58 0024DA98 3C A0 63 65 */ lis r5, 0x63656D76@ha -/* 80250B5C 0024DA9C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250B60 0024DAA0 C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80250B64 0024DAA4 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80250B68 0024DAA8 7F C4 F3 78 */ mr r4, r30 -/* 80250B6C 0024DAAC C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250B70 0024DAB0 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80250B74 0024DAB4 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80250B78 0024DAB8 38 A5 6D 76 */ addi r5, r5, 0x63656D76@l -/* 80250B7C 0024DABC C0 02 C5 40 */ lfs f0, lbl_8051A8A0@sda21(r2) -/* 80250B80 0024DAC0 38 DF 00 AC */ addi r6, r31, 0xac -/* 80250B84 0024DAC4 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 80250B88 0024DAC8 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 80250B8C 0024DACC 48 1C 2A CD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250B90 0024DAD0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250B94 0024DAD4 3C A0 63 65 */ lis r5, 0x63656876@ha -/* 80250B98 0024DAD8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250B9C 0024DADC C0 02 C5 44 */ lfs f0, lbl_8051A8A4@sda21(r2) -/* 80250BA0 0024DAE0 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80250BA4 0024DAE4 7F C4 F3 78 */ mr r4, r30 -/* 80250BA8 0024DAE8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250BAC 0024DAEC 38 7E 00 5C */ addi r3, r30, 0x5c -/* 80250BB0 0024DAF0 D0 1E 00 4C */ stfs f0, 0x4c(r30) -/* 80250BB4 0024DAF4 38 A5 68 76 */ addi r5, r5, 0x63656876@l -/* 80250BB8 0024DAF8 C0 02 C5 40 */ lfs f0, lbl_8051A8A0@sda21(r2) -/* 80250BBC 0024DAFC 38 DF 00 C4 */ addi r6, r31, 0xc4 -/* 80250BC0 0024DB00 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 80250BC4 0024DB04 D0 1E 00 58 */ stfs f0, 0x58(r30) -/* 80250BC8 0024DB08 48 1C 2A 91 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250BCC 0024DB0C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250BD0 0024DB10 3C A0 63 65 */ lis r5, 0x63657373@ha -/* 80250BD4 0024DB14 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250BD8 0024DB18 C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80250BDC 0024DB1C 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 80250BE0 0024DB20 7F C4 F3 78 */ mr r4, r30 -/* 80250BE4 0024DB24 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250BE8 0024DB28 38 7E 00 84 */ addi r3, r30, 0x84 -/* 80250BEC 0024DB2C D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 80250BF0 0024DB30 38 A5 73 73 */ addi r5, r5, 0x63657373@l -/* 80250BF4 0024DB34 C0 02 C5 40 */ lfs f0, lbl_8051A8A0@sda21(r2) -/* 80250BF8 0024DB38 38 DF 00 D8 */ addi r6, r31, 0xd8 -/* 80250BFC 0024DB3C D0 3E 00 7C */ stfs f1, 0x7c(r30) -/* 80250C00 0024DB40 D0 1E 00 80 */ stfs f0, 0x80(r30) -/* 80250C04 0024DB44 48 1C 2A 55 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250C08 0024DB48 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250C0C 0024DB4C 3C A0 63 65 */ lis r5, 0x63656D73@ha -/* 80250C10 0024DB50 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250C14 0024DB54 C0 02 C5 4C */ lfs f0, lbl_8051A8AC@sda21(r2) -/* 80250C18 0024DB58 90 1E 00 84 */ stw r0, 0x84(r30) -/* 80250C1C 0024DB5C 7F C4 F3 78 */ mr r4, r30 -/* 80250C20 0024DB60 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250C24 0024DB64 38 7E 00 AC */ addi r3, r30, 0xac -/* 80250C28 0024DB68 D0 1E 00 9C */ stfs f0, 0x9c(r30) -/* 80250C2C 0024DB6C 38 A5 6D 73 */ addi r5, r5, 0x63656D73@l -/* 80250C30 0024DB70 C0 02 C5 50 */ lfs f0, lbl_8051A8B0@sda21(r2) -/* 80250C34 0024DB74 38 DF 00 F0 */ addi r6, r31, 0xf0 -/* 80250C38 0024DB78 D0 3E 00 A4 */ stfs f1, 0xa4(r30) -/* 80250C3C 0024DB7C D0 1E 00 A8 */ stfs f0, 0xa8(r30) -/* 80250C40 0024DB80 48 1C 2A 19 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250C44 0024DB84 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250C48 0024DB88 3C A0 63 65 */ lis r5, 0x63656673@ha -/* 80250C4C 0024DB8C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250C50 0024DB90 C0 02 C5 54 */ lfs f0, lbl_8051A8B4@sda21(r2) -/* 80250C54 0024DB94 90 1E 00 AC */ stw r0, 0xac(r30) -/* 80250C58 0024DB98 7F C4 F3 78 */ mr r4, r30 -/* 80250C5C 0024DB9C C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250C60 0024DBA0 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 80250C64 0024DBA4 D0 1E 00 C4 */ stfs f0, 0xc4(r30) -/* 80250C68 0024DBA8 38 A5 66 73 */ addi r5, r5, 0x63656673@l -/* 80250C6C 0024DBAC C0 02 C5 50 */ lfs f0, lbl_8051A8B0@sda21(r2) -/* 80250C70 0024DBB0 38 DF 01 08 */ addi r6, r31, 0x108 -/* 80250C74 0024DBB4 D0 3E 00 CC */ stfs f1, 0xcc(r30) -/* 80250C78 0024DBB8 D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 80250C7C 0024DBBC 48 1C 29 DD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250C80 0024DBC0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250C84 0024DBC4 3C A0 63 65 */ lis r5, 0x63657374@ha -/* 80250C88 0024DBC8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250C8C 0024DBCC C0 02 C5 58 */ lfs f0, lbl_8051A8B8@sda21(r2) -/* 80250C90 0024DBD0 90 1E 00 D4 */ stw r0, 0xd4(r30) -/* 80250C94 0024DBD4 7F C4 F3 78 */ mr r4, r30 -/* 80250C98 0024DBD8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250C9C 0024DBDC 38 7E 00 FC */ addi r3, r30, 0xfc -/* 80250CA0 0024DBE0 D0 1E 00 EC */ stfs f0, 0xec(r30) -/* 80250CA4 0024DBE4 38 A5 73 74 */ addi r5, r5, 0x63657374@l -/* 80250CA8 0024DBE8 C0 02 C5 50 */ lfs f0, lbl_8051A8B0@sda21(r2) -/* 80250CAC 0024DBEC 38 DF 01 20 */ addi r6, r31, 0x120 -/* 80250CB0 0024DBF0 D0 3E 00 F4 */ stfs f1, 0xf4(r30) -/* 80250CB4 0024DBF4 D0 1E 00 F8 */ stfs f0, 0xf8(r30) -/* 80250CB8 0024DBF8 48 1C 29 A1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250CBC 0024DBFC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250CC0 0024DC00 3C A0 63 65 */ lis r5, 0x63656D74@ha -/* 80250CC4 0024DC04 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250CC8 0024DC08 C0 02 C5 5C */ lfs f0, lbl_8051A8BC@sda21(r2) -/* 80250CCC 0024DC0C 90 1E 00 FC */ stw r0, 0xfc(r30) -/* 80250CD0 0024DC10 7F C4 F3 78 */ mr r4, r30 -/* 80250CD4 0024DC14 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250CD8 0024DC18 38 7E 01 24 */ addi r3, r30, 0x124 -/* 80250CDC 0024DC1C D0 1E 01 14 */ stfs f0, 0x114(r30) -/* 80250CE0 0024DC20 38 A5 6D 74 */ addi r5, r5, 0x63656D74@l -/* 80250CE4 0024DC24 C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80250CE8 0024DC28 38 DF 01 38 */ addi r6, r31, 0x138 -/* 80250CEC 0024DC2C D0 3E 01 1C */ stfs f1, 0x11c(r30) -/* 80250CF0 0024DC30 D0 1E 01 20 */ stfs f0, 0x120(r30) -/* 80250CF4 0024DC34 48 1C 29 65 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250CF8 0024DC38 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250CFC 0024DC3C 3C A0 63 65 */ lis r5, 0x63656C74@ha -/* 80250D00 0024DC40 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250D04 0024DC44 C0 02 C5 60 */ lfs f0, lbl_8051A8C0@sda21(r2) -/* 80250D08 0024DC48 90 1E 01 24 */ stw r0, 0x124(r30) -/* 80250D0C 0024DC4C 7F C4 F3 78 */ mr r4, r30 -/* 80250D10 0024DC50 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250D14 0024DC54 38 7E 01 4C */ addi r3, r30, 0x14c -/* 80250D18 0024DC58 D0 1E 01 3C */ stfs f0, 0x13c(r30) -/* 80250D1C 0024DC5C 38 A5 6C 74 */ addi r5, r5, 0x63656C74@l -/* 80250D20 0024DC60 C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80250D24 0024DC64 38 DF 01 50 */ addi r6, r31, 0x150 -/* 80250D28 0024DC68 D0 3E 01 44 */ stfs f1, 0x144(r30) -/* 80250D2C 0024DC6C D0 1E 01 48 */ stfs f0, 0x148(r30) -/* 80250D30 0024DC70 48 1C 29 29 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250D34 0024DC74 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250D38 0024DC78 3C A0 63 65 */ lis r5, 0x63657176@ha -/* 80250D3C 0024DC7C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250D40 0024DC80 C0 02 C5 64 */ lfs f0, lbl_8051A8C4@sda21(r2) -/* 80250D44 0024DC84 90 1E 01 4C */ stw r0, 0x14c(r30) -/* 80250D48 0024DC88 7F C4 F3 78 */ mr r4, r30 -/* 80250D4C 0024DC8C C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250D50 0024DC90 38 7E 01 74 */ addi r3, r30, 0x174 -/* 80250D54 0024DC94 D0 1E 01 64 */ stfs f0, 0x164(r30) -/* 80250D58 0024DC98 38 A5 71 76 */ addi r5, r5, 0x63657176@l -/* 80250D5C 0024DC9C C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80250D60 0024DCA0 38 DF 01 68 */ addi r6, r31, 0x168 -/* 80250D64 0024DCA4 D0 3E 01 6C */ stfs f1, 0x16c(r30) -/* 80250D68 0024DCA8 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 80250D6C 0024DCAC 48 1C 28 ED */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250D70 0024DCB0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250D74 0024DCB4 3C A0 63 65 */ lis r5, 0x63657173@ha -/* 80250D78 0024DCB8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250D7C 0024DCBC C0 02 C5 68 */ lfs f0, lbl_8051A8C8@sda21(r2) -/* 80250D80 0024DCC0 90 1E 01 74 */ stw r0, 0x174(r30) -/* 80250D84 0024DCC4 7F C4 F3 78 */ mr r4, r30 -/* 80250D88 0024DCC8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250D8C 0024DCCC 38 7E 01 9C */ addi r3, r30, 0x19c -/* 80250D90 0024DCD0 D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 80250D94 0024DCD4 38 A5 71 73 */ addi r5, r5, 0x63657173@l -/* 80250D98 0024DCD8 C0 02 C5 6C */ lfs f0, lbl_8051A8CC@sda21(r2) -/* 80250D9C 0024DCDC 38 DF 01 7C */ addi r6, r31, 0x17c -/* 80250DA0 0024DCE0 D0 3E 01 94 */ stfs f1, 0x194(r30) -/* 80250DA4 0024DCE4 D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 80250DA8 0024DCE8 48 1C 28 B1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250DAC 0024DCEC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250DB0 0024DCF0 3C A0 63 65 */ lis r5, 0x63657174@ha -/* 80250DB4 0024DCF4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250DB8 0024DCF8 C0 02 C5 58 */ lfs f0, lbl_8051A8B8@sda21(r2) -/* 80250DBC 0024DCFC 90 1E 01 9C */ stw r0, 0x19c(r30) -/* 80250DC0 0024DD00 7F C4 F3 78 */ mr r4, r30 -/* 80250DC4 0024DD04 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250DC8 0024DD08 38 7E 01 C4 */ addi r3, r30, 0x1c4 -/* 80250DCC 0024DD0C D0 1E 01 B4 */ stfs f0, 0x1b4(r30) -/* 80250DD0 0024DD10 38 A5 71 74 */ addi r5, r5, 0x63657174@l -/* 80250DD4 0024DD14 C0 02 C5 50 */ lfs f0, lbl_8051A8B0@sda21(r2) -/* 80250DD8 0024DD18 38 DF 01 94 */ addi r6, r31, 0x194 -/* 80250DDC 0024DD1C D0 3E 01 BC */ stfs f1, 0x1bc(r30) -/* 80250DE0 0024DD20 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) -/* 80250DE4 0024DD24 48 1C 28 75 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250DE8 0024DD28 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250DEC 0024DD2C 3C A0 63 7A */ lis r5, 0x637A7376@ha -/* 80250DF0 0024DD30 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250DF4 0024DD34 C0 02 C5 70 */ lfs f0, lbl_8051A8D0@sda21(r2) -/* 80250DF8 0024DD38 90 1E 01 C4 */ stw r0, 0x1c4(r30) -/* 80250DFC 0024DD3C 7F C4 F3 78 */ mr r4, r30 -/* 80250E00 0024DD40 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250E04 0024DD44 38 7E 01 EC */ addi r3, r30, 0x1ec -/* 80250E08 0024DD48 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 80250E0C 0024DD4C 38 A5 73 76 */ addi r5, r5, 0x637A7376@l -/* 80250E10 0024DD50 C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80250E14 0024DD54 38 DF 01 AC */ addi r6, r31, 0x1ac -/* 80250E18 0024DD58 D0 3E 01 E4 */ stfs f1, 0x1e4(r30) -/* 80250E1C 0024DD5C D0 1E 01 E8 */ stfs f0, 0x1e8(r30) -/* 80250E20 0024DD60 48 1C 28 39 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250E24 0024DD64 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250E28 0024DD68 3C A0 63 7A */ lis r5, 0x637A7373@ha -/* 80250E2C 0024DD6C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250E30 0024DD70 C0 02 C5 54 */ lfs f0, lbl_8051A8B4@sda21(r2) -/* 80250E34 0024DD74 90 1E 01 EC */ stw r0, 0x1ec(r30) -/* 80250E38 0024DD78 7F C4 F3 78 */ mr r4, r30 -/* 80250E3C 0024DD7C C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250E40 0024DD80 38 7E 02 14 */ addi r3, r30, 0x214 -/* 80250E44 0024DD84 D0 1E 02 04 */ stfs f0, 0x204(r30) -/* 80250E48 0024DD88 38 A5 73 73 */ addi r5, r5, 0x637A7373@l -/* 80250E4C 0024DD8C C0 02 C5 50 */ lfs f0, lbl_8051A8B0@sda21(r2) -/* 80250E50 0024DD90 38 DF 01 BC */ addi r6, r31, 0x1bc -/* 80250E54 0024DD94 D0 3E 02 0C */ stfs f1, 0x20c(r30) -/* 80250E58 0024DD98 D0 1E 02 10 */ stfs f0, 0x210(r30) -/* 80250E5C 0024DD9C 48 1C 27 FD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250E60 0024DDA0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250E64 0024DDA4 3C A0 63 7A */ lis r5, 0x637A7374@ha -/* 80250E68 0024DDA8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250E6C 0024DDAC C0 02 C5 58 */ lfs f0, lbl_8051A8B8@sda21(r2) -/* 80250E70 0024DDB0 90 1E 02 14 */ stw r0, 0x214(r30) -/* 80250E74 0024DDB4 7F C4 F3 78 */ mr r4, r30 -/* 80250E78 0024DDB8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250E7C 0024DDBC 38 7E 02 3C */ addi r3, r30, 0x23c -/* 80250E80 0024DDC0 D0 1E 02 2C */ stfs f0, 0x22c(r30) -/* 80250E84 0024DDC4 38 A5 73 74 */ addi r5, r5, 0x637A7374@l -/* 80250E88 0024DDC8 C0 02 C5 6C */ lfs f0, lbl_8051A8CC@sda21(r2) -/* 80250E8C 0024DDCC 38 DF 01 D0 */ addi r6, r31, 0x1d0 -/* 80250E90 0024DDD0 D0 3E 02 34 */ stfs f1, 0x234(r30) -/* 80250E94 0024DDD4 D0 1E 02 38 */ stfs f0, 0x238(r30) -/* 80250E98 0024DDD8 48 1C 27 C1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250E9C 0024DDDC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250EA0 0024DDE0 3C A0 63 61 */ lis r5, 0x63617376@ha -/* 80250EA4 0024DDE4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250EA8 0024DDE8 C0 02 C5 60 */ lfs f0, lbl_8051A8C0@sda21(r2) -/* 80250EAC 0024DDEC 90 1E 02 3C */ stw r0, 0x23c(r30) -/* 80250EB0 0024DDF0 7F C4 F3 78 */ mr r4, r30 -/* 80250EB4 0024DDF4 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250EB8 0024DDF8 38 7E 02 64 */ addi r3, r30, 0x264 -/* 80250EBC 0024DDFC D0 1E 02 54 */ stfs f0, 0x254(r30) -/* 80250EC0 0024DE00 38 A5 73 76 */ addi r5, r5, 0x63617376@l -/* 80250EC4 0024DE04 C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80250EC8 0024DE08 38 DF 01 E4 */ addi r6, r31, 0x1e4 -/* 80250ECC 0024DE0C D0 3E 02 5C */ stfs f1, 0x25c(r30) -/* 80250ED0 0024DE10 D0 1E 02 60 */ stfs f0, 0x260(r30) -/* 80250ED4 0024DE14 48 1C 27 85 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250ED8 0024DE18 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250EDC 0024DE1C 3C A0 63 61 */ lis r5, 0x63617373@ha -/* 80250EE0 0024DE20 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250EE4 0024DE24 C0 02 C5 74 */ lfs f0, lbl_8051A8D4@sda21(r2) -/* 80250EE8 0024DE28 90 1E 02 64 */ stw r0, 0x264(r30) -/* 80250EEC 0024DE2C 7F C4 F3 78 */ mr r4, r30 -/* 80250EF0 0024DE30 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250EF4 0024DE34 38 7E 02 8C */ addi r3, r30, 0x28c -/* 80250EF8 0024DE38 D0 1E 02 7C */ stfs f0, 0x27c(r30) -/* 80250EFC 0024DE3C 38 A5 73 73 */ addi r5, r5, 0x63617373@l -/* 80250F00 0024DE40 C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80250F04 0024DE44 38 DF 01 F8 */ addi r6, r31, 0x1f8 -/* 80250F08 0024DE48 D0 3E 02 84 */ stfs f1, 0x284(r30) -/* 80250F0C 0024DE4C D0 1E 02 88 */ stfs f0, 0x288(r30) -/* 80250F10 0024DE50 48 1C 27 49 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250F14 0024DE54 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250F18 0024DE58 3C A0 63 61 */ lis r5, 0x63617374@ha -/* 80250F1C 0024DE5C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250F20 0024DE60 C0 02 C5 78 */ lfs f0, lbl_8051A8D8@sda21(r2) -/* 80250F24 0024DE64 90 1E 02 8C */ stw r0, 0x28c(r30) -/* 80250F28 0024DE68 7F C4 F3 78 */ mr r4, r30 -/* 80250F2C 0024DE6C C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250F30 0024DE70 38 7E 02 B4 */ addi r3, r30, 0x2b4 -/* 80250F34 0024DE74 D0 1E 02 A4 */ stfs f0, 0x2a4(r30) -/* 80250F38 0024DE78 38 A5 73 74 */ addi r5, r5, 0x63617374@l -/* 80250F3C 0024DE7C C0 02 C5 6C */ lfs f0, lbl_8051A8CC@sda21(r2) -/* 80250F40 0024DE80 38 DF 02 10 */ addi r6, r31, 0x210 -/* 80250F44 0024DE84 D0 3E 02 AC */ stfs f1, 0x2ac(r30) -/* 80250F48 0024DE88 D0 1E 02 B0 */ stfs f0, 0x2b0(r30) -/* 80250F4C 0024DE8C 48 1C 27 0D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250F50 0024DE90 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250F54 0024DE94 3C A0 63 6D */ lis r5, 0x636D646D@ha -/* 80250F58 0024DE98 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250F5C 0024DE9C C0 02 C5 60 */ lfs f0, lbl_8051A8C0@sda21(r2) -/* 80250F60 0024DEA0 90 1E 02 B4 */ stw r0, 0x2b4(r30) -/* 80250F64 0024DEA4 7F C4 F3 78 */ mr r4, r30 -/* 80250F68 0024DEA8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250F6C 0024DEAC 38 7E 02 DC */ addi r3, r30, 0x2dc -/* 80250F70 0024DEB0 D0 1E 02 CC */ stfs f0, 0x2cc(r30) -/* 80250F74 0024DEB4 38 A5 64 6D */ addi r5, r5, 0x636D646D@l -/* 80250F78 0024DEB8 C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80250F7C 0024DEBC 38 DF 02 24 */ addi r6, r31, 0x224 -/* 80250F80 0024DEC0 D0 3E 02 D4 */ stfs f1, 0x2d4(r30) -/* 80250F84 0024DEC4 D0 1E 02 D8 */ stfs f0, 0x2d8(r30) -/* 80250F88 0024DEC8 48 1C 26 D1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80250F8C 0024DECC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80250F90 0024DED0 C0 42 C5 7C */ lfs f2, lbl_8051A8DC@sda21(r2) -/* 80250F94 0024DED4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80250F98 0024DED8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80250F9C 0024DEDC 90 1E 02 DC */ stw r0, 0x2dc(r30) -/* 80250FA0 0024DEE0 7F C3 F3 78 */ mr r3, r30 -/* 80250FA4 0024DEE4 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 80250FA8 0024DEE8 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) -/* 80250FAC 0024DEEC D0 3E 02 FC */ stfs f1, 0x2fc(r30) -/* 80250FB0 0024DEF0 D0 1E 03 00 */ stfs f0, 0x300(r30) -/* 80250FB4 0024DEF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80250FB8 0024DEF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80250FBC 0024DEFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80250FC0 0024DF00 7C 08 03 A6 */ mtlr r0 -/* 80250FC4 0024DF04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80250FC8 0024DF08 4E 80 00 20 */ blr - -.global __ct__Q24Game11CameraParmsFv -__ct__Q24Game11CameraParmsFv: -/* 80250FCC 0024DF0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80250FD0 0024DF10 7C 08 02 A6 */ mflr r0 -/* 80250FD4 0024DF14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80250FD8 0024DF18 7C 80 07 35 */ extsh. r0, r4 -/* 80250FDC 0024DF1C 3C 80 80 48 */ lis r4, lbl_80484190@ha -/* 80250FE0 0024DF20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80250FE4 0024DF24 3B E4 41 90 */ addi r31, r4, lbl_80484190@l -/* 80250FE8 0024DF28 93 C1 00 08 */ stw r30, 8(r1) -/* 80250FEC 0024DF2C 7C 7E 1B 78 */ mr r30, r3 -/* 80250FF0 0024DF30 41 82 00 0C */ beq lbl_80250FFC -/* 80250FF4 0024DF34 38 1E 09 94 */ addi r0, r30, 0x994 -/* 80250FF8 0024DF38 90 1E 00 00 */ stw r0, 0(r30) -lbl_80250FFC: -/* 80250FFC 0024DF3C 38 00 00 00 */ li r0, 0 -/* 80251000 0024DF40 3C A0 63 6E */ lis r5, 0x636E6C64@ha -/* 80251004 0024DF44 90 1E 00 04 */ stw r0, 4(r30) -/* 80251008 0024DF48 38 1F 02 38 */ addi r0, r31, 0x238 -/* 8025100C 0024DF4C 7F C4 F3 78 */ mr r4, r30 -/* 80251010 0024DF50 38 7E 00 0C */ addi r3, r30, 0xc -/* 80251014 0024DF54 90 1E 00 08 */ stw r0, 8(r30) -/* 80251018 0024DF58 38 A5 6C 64 */ addi r5, r5, 0x636E6C64@l -/* 8025101C 0024DF5C 38 DF 02 44 */ addi r6, r31, 0x244 -/* 80251020 0024DF60 48 1C 26 39 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251024 0024DF64 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251028 0024DF68 3C A0 63 6E */ lis r5, 0x636E6C61@ha -/* 8025102C 0024DF6C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251030 0024DF70 C0 02 C5 84 */ lfs f0, lbl_8051A8E4@sda21(r2) -/* 80251034 0024DF74 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80251038 0024DF78 7F C4 F3 78 */ mr r4, r30 -/* 8025103C 0024DF7C C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251040 0024DF80 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80251044 0024DF84 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80251048 0024DF88 38 A5 6C 61 */ addi r5, r5, 0x636E6C61@l -/* 8025104C 0024DF8C C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 80251050 0024DF90 38 DF 02 54 */ addi r6, r31, 0x254 -/* 80251054 0024DF94 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 80251058 0024DF98 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 8025105C 0024DF9C 48 1C 25 FD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251060 0024DFA0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251064 0024DFA4 3C A0 63 6E */ lis r5, 0x636E6C66@ha -/* 80251068 0024DFA8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025106C 0024DFAC C0 02 C5 68 */ lfs f0, lbl_8051A8C8@sda21(r2) -/* 80251070 0024DFB0 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80251074 0024DFB4 7F C4 F3 78 */ mr r4, r30 -/* 80251078 0024DFB8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 8025107C 0024DFBC 38 7E 00 5C */ addi r3, r30, 0x5c -/* 80251080 0024DFC0 D0 1E 00 4C */ stfs f0, 0x4c(r30) -/* 80251084 0024DFC4 38 A5 6C 66 */ addi r5, r5, 0x636E6C66@l -/* 80251088 0024DFC8 C0 02 C5 8C */ lfs f0, lbl_8051A8EC@sda21(r2) -/* 8025108C 0024DFCC 38 DF 02 68 */ addi r6, r31, 0x268 -/* 80251090 0024DFD0 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 80251094 0024DFD4 D0 1E 00 58 */ stfs f0, 0x58(r30) -/* 80251098 0024DFD8 48 1C 25 C1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025109C 0024DFDC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802510A0 0024DFE0 3C A0 63 6E */ lis r5, 0x636E6C6F@ha -/* 802510A4 0024DFE4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802510A8 0024DFE8 C0 02 C5 40 */ lfs f0, lbl_8051A8A0@sda21(r2) -/* 802510AC 0024DFEC 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 802510B0 0024DFF0 7F C4 F3 78 */ mr r4, r30 -/* 802510B4 0024DFF4 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 802510B8 0024DFF8 38 7E 00 84 */ addi r3, r30, 0x84 -/* 802510BC 0024DFFC D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 802510C0 0024E000 38 A5 6C 6F */ addi r5, r5, 0x636E6C6F@l -/* 802510C4 0024E004 C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 802510C8 0024E008 38 DF 02 78 */ addi r6, r31, 0x278 -/* 802510CC 0024E00C D0 3E 00 7C */ stfs f1, 0x7c(r30) -/* 802510D0 0024E010 D0 1E 00 80 */ stfs f0, 0x80(r30) -/* 802510D4 0024E014 48 1C 25 85 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802510D8 0024E018 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802510DC 0024E01C 3C A0 63 6E */ lis r5, 0x636E6C77@ha -/* 802510E0 0024E020 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802510E4 0024E024 C0 02 C5 54 */ lfs f0, lbl_8051A8B4@sda21(r2) -/* 802510E8 0024E028 90 1E 00 84 */ stw r0, 0x84(r30) -/* 802510EC 0024E02C 7F C4 F3 78 */ mr r4, r30 -/* 802510F0 0024E030 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 802510F4 0024E034 38 7E 00 AC */ addi r3, r30, 0xac -/* 802510F8 0024E038 D0 1E 00 9C */ stfs f0, 0x9c(r30) -/* 802510FC 0024E03C 38 A5 6C 77 */ addi r5, r5, 0x636E6C77@l -/* 80251100 0024E040 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 80251104 0024E044 38 DF 02 8C */ addi r6, r31, 0x28c -/* 80251108 0024E048 D0 3E 00 A4 */ stfs f1, 0xa4(r30) -/* 8025110C 0024E04C D0 1E 00 A8 */ stfs f0, 0xa8(r30) -/* 80251110 0024E050 48 1C 25 49 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251114 0024E054 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251118 0024E058 3C A0 6E 6C */ lis r5, 0x6E6C6474@ha -/* 8025111C 0024E05C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251120 0024E060 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 80251124 0024E064 90 1E 00 AC */ stw r0, 0xac(r30) -/* 80251128 0024E068 7F C4 F3 78 */ mr r4, r30 -/* 8025112C 0024E06C C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251130 0024E070 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 80251134 0024E074 D0 1E 00 C4 */ stfs f0, 0xc4(r30) -/* 80251138 0024E078 38 A5 64 74 */ addi r5, r5, 0x6E6C6474@l -/* 8025113C 0024E07C C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 80251140 0024E080 38 DF 02 A0 */ addi r6, r31, 0x2a0 -/* 80251144 0024E084 D0 3E 00 CC */ stfs f1, 0xcc(r30) -/* 80251148 0024E088 D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 8025114C 0024E08C 48 1C 25 0D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251150 0024E090 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251154 0024E094 3C A0 6E 6C */ lis r5, 0x6E6C6E63@ha -/* 80251158 0024E098 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025115C 0024E09C C0 02 C5 98 */ lfs f0, lbl_8051A8F8@sda21(r2) -/* 80251160 0024E0A0 90 1E 00 D4 */ stw r0, 0xd4(r30) -/* 80251164 0024E0A4 7F C4 F3 78 */ mr r4, r30 -/* 80251168 0024E0A8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 8025116C 0024E0AC 38 7E 00 FC */ addi r3, r30, 0xfc -/* 80251170 0024E0B0 D0 1E 00 EC */ stfs f0, 0xec(r30) -/* 80251174 0024E0B4 38 A5 6E 63 */ addi r5, r5, 0x6E6C6E63@l -/* 80251178 0024E0B8 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 8025117C 0024E0BC 38 DF 02 B4 */ addi r6, r31, 0x2b4 -/* 80251180 0024E0C0 D0 3E 00 F4 */ stfs f1, 0xf4(r30) -/* 80251184 0024E0C4 D0 1E 00 F8 */ stfs f0, 0xf8(r30) -/* 80251188 0024E0C8 48 1C 24 D1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025118C 0024E0CC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251190 0024E0D0 3C A0 6E 6C */ lis r5, 0x6E6C6663@ha -/* 80251194 0024E0D4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251198 0024E0D8 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 8025119C 0024E0DC 90 1E 00 FC */ stw r0, 0xfc(r30) -/* 802511A0 0024E0E0 7F C4 F3 78 */ mr r4, r30 -/* 802511A4 0024E0E4 C0 02 C5 9C */ lfs f0, lbl_8051A8FC@sda21(r2) -/* 802511A8 0024E0E8 38 7E 01 24 */ addi r3, r30, 0x124 -/* 802511AC 0024E0EC D0 3E 01 14 */ stfs f1, 0x114(r30) -/* 802511B0 0024E0F0 38 A5 66 63 */ addi r5, r5, 0x6E6C6663@l -/* 802511B4 0024E0F4 38 DF 02 C4 */ addi r6, r31, 0x2c4 -/* 802511B8 0024E0F8 D0 3E 01 1C */ stfs f1, 0x11c(r30) -/* 802511BC 0024E0FC D0 1E 01 20 */ stfs f0, 0x120(r30) -/* 802511C0 0024E100 48 1C 24 99 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802511C4 0024E104 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802511C8 0024E108 3C A0 63 6D */ lis r5, 0x636D6C64@ha -/* 802511CC 0024E10C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802511D0 0024E110 C0 22 C5 9C */ lfs f1, lbl_8051A8FC@sda21(r2) -/* 802511D4 0024E114 90 1E 01 24 */ stw r0, 0x124(r30) -/* 802511D8 0024E118 7F C4 F3 78 */ mr r4, r30 -/* 802511DC 0024E11C C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 802511E0 0024E120 38 7E 01 4C */ addi r3, r30, 0x14c -/* 802511E4 0024E124 D0 3E 01 3C */ stfs f1, 0x13c(r30) -/* 802511E8 0024E128 38 A5 6C 64 */ addi r5, r5, 0x636D6C64@l -/* 802511EC 0024E12C 38 DF 02 D4 */ addi r6, r31, 0x2d4 -/* 802511F0 0024E130 D0 1E 01 44 */ stfs f0, 0x144(r30) -/* 802511F4 0024E134 D0 3E 01 48 */ stfs f1, 0x148(r30) -/* 802511F8 0024E138 48 1C 24 61 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802511FC 0024E13C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251200 0024E140 3C A0 63 6D */ lis r5, 0x636D6C61@ha -/* 80251204 0024E144 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251208 0024E148 C0 02 C5 84 */ lfs f0, lbl_8051A8E4@sda21(r2) -/* 8025120C 0024E14C 90 1E 01 4C */ stw r0, 0x14c(r30) -/* 80251210 0024E150 7F C4 F3 78 */ mr r4, r30 -/* 80251214 0024E154 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251218 0024E158 38 7E 01 74 */ addi r3, r30, 0x174 -/* 8025121C 0024E15C D0 1E 01 64 */ stfs f0, 0x164(r30) -/* 80251220 0024E160 38 A5 6C 61 */ addi r5, r5, 0x636D6C61@l -/* 80251224 0024E164 C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 80251228 0024E168 38 DF 02 E4 */ addi r6, r31, 0x2e4 -/* 8025122C 0024E16C D0 3E 01 6C */ stfs f1, 0x16c(r30) -/* 80251230 0024E170 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 80251234 0024E174 48 1C 24 25 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251238 0024E178 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025123C 0024E17C 3C A0 63 6D */ lis r5, 0x636D6C66@ha -/* 80251240 0024E180 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251244 0024E184 C0 02 C5 A0 */ lfs f0, lbl_8051A900@sda21(r2) -/* 80251248 0024E188 90 1E 01 74 */ stw r0, 0x174(r30) -/* 8025124C 0024E18C 7F C4 F3 78 */ mr r4, r30 -/* 80251250 0024E190 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251254 0024E194 38 7E 01 9C */ addi r3, r30, 0x19c -/* 80251258 0024E198 D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 8025125C 0024E19C 38 A5 6C 66 */ addi r5, r5, 0x636D6C66@l -/* 80251260 0024E1A0 C0 02 C5 8C */ lfs f0, lbl_8051A8EC@sda21(r2) -/* 80251264 0024E1A4 38 DF 02 F8 */ addi r6, r31, 0x2f8 -/* 80251268 0024E1A8 D0 3E 01 94 */ stfs f1, 0x194(r30) -/* 8025126C 0024E1AC D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 80251270 0024E1B0 48 1C 23 E9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251274 0024E1B4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251278 0024E1B8 3C A0 63 6D */ lis r5, 0x636D6C6F@ha -/* 8025127C 0024E1BC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251280 0024E1C0 C0 02 C5 A4 */ lfs f0, lbl_8051A904@sda21(r2) -/* 80251284 0024E1C4 90 1E 01 9C */ stw r0, 0x19c(r30) -/* 80251288 0024E1C8 7F C4 F3 78 */ mr r4, r30 -/* 8025128C 0024E1CC C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80251290 0024E1D0 38 7E 01 C4 */ addi r3, r30, 0x1c4 -/* 80251294 0024E1D4 D0 1E 01 B4 */ stfs f0, 0x1b4(r30) -/* 80251298 0024E1D8 38 A5 6C 6F */ addi r5, r5, 0x636D6C6F@l -/* 8025129C 0024E1DC C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 802512A0 0024E1E0 38 DF 03 08 */ addi r6, r31, 0x308 -/* 802512A4 0024E1E4 D0 3E 01 BC */ stfs f1, 0x1bc(r30) -/* 802512A8 0024E1E8 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) -/* 802512AC 0024E1EC 48 1C 23 AD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802512B0 0024E1F0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802512B4 0024E1F4 3C A0 63 6D */ lis r5, 0x636D6C77@ha -/* 802512B8 0024E1F8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802512BC 0024E1FC C0 02 C5 A8 */ lfs f0, lbl_8051A908@sda21(r2) -/* 802512C0 0024E200 90 1E 01 C4 */ stw r0, 0x1c4(r30) -/* 802512C4 0024E204 7F C4 F3 78 */ mr r4, r30 -/* 802512C8 0024E208 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 802512CC 0024E20C 38 7E 01 EC */ addi r3, r30, 0x1ec -/* 802512D0 0024E210 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 802512D4 0024E214 38 A5 6C 77 */ addi r5, r5, 0x636D6C77@l -/* 802512D8 0024E218 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 802512DC 0024E21C 38 DF 03 1C */ addi r6, r31, 0x31c -/* 802512E0 0024E220 D0 3E 01 E4 */ stfs f1, 0x1e4(r30) -/* 802512E4 0024E224 D0 1E 01 E8 */ stfs f0, 0x1e8(r30) -/* 802512E8 0024E228 48 1C 23 71 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802512EC 0024E22C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802512F0 0024E230 3C A0 6D 6C */ lis r5, 0x6D6C6474@ha -/* 802512F4 0024E234 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802512F8 0024E238 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 802512FC 0024E23C 90 1E 01 EC */ stw r0, 0x1ec(r30) -/* 80251300 0024E240 7F C4 F3 78 */ mr r4, r30 -/* 80251304 0024E244 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251308 0024E248 38 7E 02 14 */ addi r3, r30, 0x214 -/* 8025130C 0024E24C D0 1E 02 04 */ stfs f0, 0x204(r30) -/* 80251310 0024E250 38 A5 64 74 */ addi r5, r5, 0x6D6C6474@l -/* 80251314 0024E254 C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 80251318 0024E258 38 DF 03 30 */ addi r6, r31, 0x330 -/* 8025131C 0024E25C D0 3E 02 0C */ stfs f1, 0x20c(r30) -/* 80251320 0024E260 D0 1E 02 10 */ stfs f0, 0x210(r30) -/* 80251324 0024E264 48 1C 23 35 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251328 0024E268 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025132C 0024E26C 3C A0 6D 6C */ lis r5, 0x6D6C6E63@ha -/* 80251330 0024E270 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251334 0024E274 C0 02 C5 AC */ lfs f0, lbl_8051A90C@sda21(r2) -/* 80251338 0024E278 90 1E 02 14 */ stw r0, 0x214(r30) -/* 8025133C 0024E27C 7F C4 F3 78 */ mr r4, r30 -/* 80251340 0024E280 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251344 0024E284 38 7E 02 3C */ addi r3, r30, 0x23c -/* 80251348 0024E288 D0 1E 02 2C */ stfs f0, 0x22c(r30) -/* 8025134C 0024E28C 38 A5 6E 63 */ addi r5, r5, 0x6D6C6E63@l -/* 80251350 0024E290 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 80251354 0024E294 38 DF 03 44 */ addi r6, r31, 0x344 -/* 80251358 0024E298 D0 3E 02 34 */ stfs f1, 0x234(r30) -/* 8025135C 0024E29C D0 1E 02 38 */ stfs f0, 0x238(r30) -/* 80251360 0024E2A0 48 1C 22 F9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251364 0024E2A4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251368 0024E2A8 3C A0 6D 6C */ lis r5, 0x6D6C6663@ha -/* 8025136C 0024E2AC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251370 0024E2B0 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80251374 0024E2B4 90 1E 02 3C */ stw r0, 0x23c(r30) -/* 80251378 0024E2B8 7F C4 F3 78 */ mr r4, r30 -/* 8025137C 0024E2BC C0 02 C5 9C */ lfs f0, lbl_8051A8FC@sda21(r2) -/* 80251380 0024E2C0 38 7E 02 64 */ addi r3, r30, 0x264 -/* 80251384 0024E2C4 D0 3E 02 54 */ stfs f1, 0x254(r30) -/* 80251388 0024E2C8 38 A5 66 63 */ addi r5, r5, 0x6D6C6663@l -/* 8025138C 0024E2CC 38 DF 03 54 */ addi r6, r31, 0x354 -/* 80251390 0024E2D0 D0 3E 02 5C */ stfs f1, 0x25c(r30) -/* 80251394 0024E2D4 D0 1E 02 60 */ stfs f0, 0x260(r30) -/* 80251398 0024E2D8 48 1C 22 C1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025139C 0024E2DC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802513A0 0024E2E0 3C A0 63 66 */ lis r5, 0x63666C64@ha -/* 802513A4 0024E2E4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802513A8 0024E2E8 C0 22 C5 9C */ lfs f1, lbl_8051A8FC@sda21(r2) -/* 802513AC 0024E2EC 90 1E 02 64 */ stw r0, 0x264(r30) -/* 802513B0 0024E2F0 7F C4 F3 78 */ mr r4, r30 -/* 802513B4 0024E2F4 C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 802513B8 0024E2F8 38 7E 02 8C */ addi r3, r30, 0x28c -/* 802513BC 0024E2FC D0 3E 02 7C */ stfs f1, 0x27c(r30) -/* 802513C0 0024E300 38 A5 6C 64 */ addi r5, r5, 0x63666C64@l -/* 802513C4 0024E304 38 DF 03 60 */ addi r6, r31, 0x360 -/* 802513C8 0024E308 D0 1E 02 84 */ stfs f0, 0x284(r30) -/* 802513CC 0024E30C D0 3E 02 88 */ stfs f1, 0x288(r30) -/* 802513D0 0024E310 48 1C 22 89 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802513D4 0024E314 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802513D8 0024E318 3C A0 63 66 */ lis r5, 0x63666C61@ha -/* 802513DC 0024E31C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802513E0 0024E320 C0 02 C5 B0 */ lfs f0, lbl_8051A910@sda21(r2) -/* 802513E4 0024E324 90 1E 02 8C */ stw r0, 0x28c(r30) -/* 802513E8 0024E328 7F C4 F3 78 */ mr r4, r30 -/* 802513EC 0024E32C C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 802513F0 0024E330 38 7E 02 B4 */ addi r3, r30, 0x2b4 -/* 802513F4 0024E334 D0 1E 02 A4 */ stfs f0, 0x2a4(r30) -/* 802513F8 0024E338 38 A5 6C 61 */ addi r5, r5, 0x63666C61@l -/* 802513FC 0024E33C C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 80251400 0024E340 38 DF 03 70 */ addi r6, r31, 0x370 -/* 80251404 0024E344 D0 3E 02 AC */ stfs f1, 0x2ac(r30) -/* 80251408 0024E348 D0 1E 02 B0 */ stfs f0, 0x2b0(r30) -/* 8025140C 0024E34C 48 1C 22 4D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251410 0024E350 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251414 0024E354 3C A0 63 66 */ lis r5, 0x63666C66@ha -/* 80251418 0024E358 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025141C 0024E35C C0 02 C5 54 */ lfs f0, lbl_8051A8B4@sda21(r2) -/* 80251420 0024E360 90 1E 02 B4 */ stw r0, 0x2b4(r30) -/* 80251424 0024E364 7F C4 F3 78 */ mr r4, r30 -/* 80251428 0024E368 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 8025142C 0024E36C 38 7E 02 DC */ addi r3, r30, 0x2dc -/* 80251430 0024E370 D0 1E 02 CC */ stfs f0, 0x2cc(r30) -/* 80251434 0024E374 38 A5 6C 66 */ addi r5, r5, 0x63666C66@l -/* 80251438 0024E378 C0 02 C5 8C */ lfs f0, lbl_8051A8EC@sda21(r2) -/* 8025143C 0024E37C 38 DF 03 84 */ addi r6, r31, 0x384 -/* 80251440 0024E380 D0 3E 02 D4 */ stfs f1, 0x2d4(r30) -/* 80251444 0024E384 D0 1E 02 D8 */ stfs f0, 0x2d8(r30) -/* 80251448 0024E388 48 1C 22 11 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025144C 0024E38C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251450 0024E390 3C A0 63 66 */ lis r5, 0x63666C6F@ha -/* 80251454 0024E394 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251458 0024E398 C0 02 C5 B4 */ lfs f0, lbl_8051A914@sda21(r2) -/* 8025145C 0024E39C 90 1E 02 DC */ stw r0, 0x2dc(r30) -/* 80251460 0024E3A0 7F C4 F3 78 */ mr r4, r30 -/* 80251464 0024E3A4 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80251468 0024E3A8 38 7E 03 04 */ addi r3, r30, 0x304 -/* 8025146C 0024E3AC D0 1E 02 F4 */ stfs f0, 0x2f4(r30) -/* 80251470 0024E3B0 38 A5 6C 6F */ addi r5, r5, 0x63666C6F@l -/* 80251474 0024E3B4 C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 80251478 0024E3B8 38 DF 03 94 */ addi r6, r31, 0x394 -/* 8025147C 0024E3BC D0 3E 02 FC */ stfs f1, 0x2fc(r30) -/* 80251480 0024E3C0 D0 1E 03 00 */ stfs f0, 0x300(r30) -/* 80251484 0024E3C4 48 1C 21 D5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251488 0024E3C8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025148C 0024E3CC 3C A0 63 66 */ lis r5, 0x63666C77@ha -/* 80251490 0024E3D0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251494 0024E3D4 C0 02 C5 B8 */ lfs f0, lbl_8051A918@sda21(r2) -/* 80251498 0024E3D8 90 1E 03 04 */ stw r0, 0x304(r30) -/* 8025149C 0024E3DC 7F C4 F3 78 */ mr r4, r30 -/* 802514A0 0024E3E0 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 802514A4 0024E3E4 38 7E 03 2C */ addi r3, r30, 0x32c -/* 802514A8 0024E3E8 D0 1E 03 1C */ stfs f0, 0x31c(r30) -/* 802514AC 0024E3EC 38 A5 6C 77 */ addi r5, r5, 0x63666C77@l -/* 802514B0 0024E3F0 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 802514B4 0024E3F4 38 DF 03 A8 */ addi r6, r31, 0x3a8 -/* 802514B8 0024E3F8 D0 3E 03 24 */ stfs f1, 0x324(r30) -/* 802514BC 0024E3FC D0 1E 03 28 */ stfs f0, 0x328(r30) -/* 802514C0 0024E400 48 1C 21 99 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802514C4 0024E404 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802514C8 0024E408 3C A0 66 6C */ lis r5, 0x666C6474@ha -/* 802514CC 0024E40C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802514D0 0024E410 C0 02 C5 BC */ lfs f0, lbl_8051A91C@sda21(r2) -/* 802514D4 0024E414 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 802514D8 0024E418 7F C4 F3 78 */ mr r4, r30 -/* 802514DC 0024E41C C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 802514E0 0024E420 38 7E 03 54 */ addi r3, r30, 0x354 -/* 802514E4 0024E424 D0 1E 03 44 */ stfs f0, 0x344(r30) -/* 802514E8 0024E428 38 A5 64 74 */ addi r5, r5, 0x666C6474@l -/* 802514EC 0024E42C C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 802514F0 0024E430 38 DF 03 BC */ addi r6, r31, 0x3bc -/* 802514F4 0024E434 D0 3E 03 4C */ stfs f1, 0x34c(r30) -/* 802514F8 0024E438 D0 1E 03 50 */ stfs f0, 0x350(r30) -/* 802514FC 0024E43C 48 1C 21 5D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251500 0024E440 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251504 0024E444 3C A0 66 6C */ lis r5, 0x666C6E63@ha -/* 80251508 0024E448 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025150C 0024E44C C0 02 C5 C0 */ lfs f0, lbl_8051A920@sda21(r2) -/* 80251510 0024E450 90 1E 03 54 */ stw r0, 0x354(r30) -/* 80251514 0024E454 7F C4 F3 78 */ mr r4, r30 -/* 80251518 0024E458 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 8025151C 0024E45C 38 7E 03 7C */ addi r3, r30, 0x37c -/* 80251520 0024E460 D0 1E 03 6C */ stfs f0, 0x36c(r30) -/* 80251524 0024E464 38 A5 6E 63 */ addi r5, r5, 0x666C6E63@l -/* 80251528 0024E468 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 8025152C 0024E46C 38 DF 03 D0 */ addi r6, r31, 0x3d0 -/* 80251530 0024E470 D0 3E 03 74 */ stfs f1, 0x374(r30) -/* 80251534 0024E474 D0 1E 03 78 */ stfs f0, 0x378(r30) -/* 80251538 0024E478 48 1C 21 21 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025153C 0024E47C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251540 0024E480 3C A0 66 6C */ lis r5, 0x666C6663@ha -/* 80251544 0024E484 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251548 0024E488 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 8025154C 0024E48C 90 1E 03 7C */ stw r0, 0x37c(r30) -/* 80251550 0024E490 7F C4 F3 78 */ mr r4, r30 -/* 80251554 0024E494 C0 02 C5 9C */ lfs f0, lbl_8051A8FC@sda21(r2) -/* 80251558 0024E498 38 7E 03 A4 */ addi r3, r30, 0x3a4 -/* 8025155C 0024E49C D0 3E 03 94 */ stfs f1, 0x394(r30) -/* 80251560 0024E4A0 38 A5 66 63 */ addi r5, r5, 0x666C6663@l -/* 80251564 0024E4A4 38 DF 03 E0 */ addi r6, r31, 0x3e0 -/* 80251568 0024E4A8 D0 3E 03 9C */ stfs f1, 0x39c(r30) -/* 8025156C 0024E4AC D0 1E 03 A0 */ stfs f0, 0x3a0(r30) -/* 80251570 0024E4B0 48 1C 20 E9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251574 0024E4B4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251578 0024E4B8 3C A0 63 6E */ lis r5, 0x636E6864@ha -/* 8025157C 0024E4BC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251580 0024E4C0 C0 22 C5 9C */ lfs f1, lbl_8051A8FC@sda21(r2) -/* 80251584 0024E4C4 90 1E 03 A4 */ stw r0, 0x3a4(r30) -/* 80251588 0024E4C8 7F C4 F3 78 */ mr r4, r30 -/* 8025158C 0024E4CC C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251590 0024E4D0 38 7E 03 CC */ addi r3, r30, 0x3cc -/* 80251594 0024E4D4 D0 3E 03 BC */ stfs f1, 0x3bc(r30) -/* 80251598 0024E4D8 38 A5 68 64 */ addi r5, r5, 0x636E6864@l -/* 8025159C 0024E4DC 38 DF 03 EC */ addi r6, r31, 0x3ec -/* 802515A0 0024E4E0 D0 1E 03 C4 */ stfs f0, 0x3c4(r30) -/* 802515A4 0024E4E4 D0 3E 03 C8 */ stfs f1, 0x3c8(r30) -/* 802515A8 0024E4E8 48 1C 20 B1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802515AC 0024E4EC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802515B0 0024E4F0 3C A0 63 6E */ lis r5, 0x636E6861@ha -/* 802515B4 0024E4F4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802515B8 0024E4F8 C0 02 C5 B0 */ lfs f0, lbl_8051A910@sda21(r2) -/* 802515BC 0024E4FC 90 1E 03 CC */ stw r0, 0x3cc(r30) -/* 802515C0 0024E500 7F C4 F3 78 */ mr r4, r30 -/* 802515C4 0024E504 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 802515C8 0024E508 38 7E 03 F4 */ addi r3, r30, 0x3f4 -/* 802515CC 0024E50C D0 1E 03 E4 */ stfs f0, 0x3e4(r30) -/* 802515D0 0024E510 38 A5 68 61 */ addi r5, r5, 0x636E6861@l -/* 802515D4 0024E514 C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 802515D8 0024E518 38 DF 03 FC */ addi r6, r31, 0x3fc -/* 802515DC 0024E51C D0 3E 03 EC */ stfs f1, 0x3ec(r30) -/* 802515E0 0024E520 D0 1E 03 F0 */ stfs f0, 0x3f0(r30) -/* 802515E4 0024E524 48 1C 20 75 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802515E8 0024E528 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802515EC 0024E52C 3C A0 63 6E */ lis r5, 0x636E6866@ha -/* 802515F0 0024E530 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802515F4 0024E534 C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 802515F8 0024E538 90 1E 03 F4 */ stw r0, 0x3f4(r30) -/* 802515FC 0024E53C 7F C4 F3 78 */ mr r4, r30 -/* 80251600 0024E540 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251604 0024E544 38 7E 04 1C */ addi r3, r30, 0x41c -/* 80251608 0024E548 D0 1E 04 0C */ stfs f0, 0x40c(r30) -/* 8025160C 0024E54C 38 A5 68 66 */ addi r5, r5, 0x636E6866@l -/* 80251610 0024E550 C0 02 C5 8C */ lfs f0, lbl_8051A8EC@sda21(r2) -/* 80251614 0024E554 38 DF 04 10 */ addi r6, r31, 0x410 -/* 80251618 0024E558 D0 3E 04 14 */ stfs f1, 0x414(r30) -/* 8025161C 0024E55C D0 1E 04 18 */ stfs f0, 0x418(r30) -/* 80251620 0024E560 48 1C 20 39 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251624 0024E564 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251628 0024E568 3C A0 63 6E */ lis r5, 0x636E686F@ha -/* 8025162C 0024E56C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251630 0024E570 C0 02 C5 40 */ lfs f0, lbl_8051A8A0@sda21(r2) -/* 80251634 0024E574 90 1E 04 1C */ stw r0, 0x41c(r30) -/* 80251638 0024E578 7F C4 F3 78 */ mr r4, r30 -/* 8025163C 0024E57C C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80251640 0024E580 38 7E 04 44 */ addi r3, r30, 0x444 -/* 80251644 0024E584 D0 1E 04 34 */ stfs f0, 0x434(r30) -/* 80251648 0024E588 38 A5 68 6F */ addi r5, r5, 0x636E686F@l -/* 8025164C 0024E58C C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 80251650 0024E590 38 DF 04 24 */ addi r6, r31, 0x424 -/* 80251654 0024E594 D0 3E 04 3C */ stfs f1, 0x43c(r30) -/* 80251658 0024E598 D0 1E 04 40 */ stfs f0, 0x440(r30) -/* 8025165C 0024E59C 48 1C 1F FD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251660 0024E5A0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251664 0024E5A4 3C A0 63 6E */ lis r5, 0x636E6877@ha -/* 80251668 0024E5A8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025166C 0024E5AC C0 02 C5 78 */ lfs f0, lbl_8051A8D8@sda21(r2) -/* 80251670 0024E5B0 90 1E 04 44 */ stw r0, 0x444(r30) -/* 80251674 0024E5B4 7F C4 F3 78 */ mr r4, r30 -/* 80251678 0024E5B8 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 8025167C 0024E5BC 38 7E 04 6C */ addi r3, r30, 0x46c -/* 80251680 0024E5C0 D0 1E 04 5C */ stfs f0, 0x45c(r30) -/* 80251684 0024E5C4 38 A5 68 77 */ addi r5, r5, 0x636E6877@l -/* 80251688 0024E5C8 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 8025168C 0024E5CC 38 DF 04 3C */ addi r6, r31, 0x43c -/* 80251690 0024E5D0 D0 3E 04 64 */ stfs f1, 0x464(r30) -/* 80251694 0024E5D4 D0 1E 04 68 */ stfs f0, 0x468(r30) -/* 80251698 0024E5D8 48 1C 1F C1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025169C 0024E5DC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802516A0 0024E5E0 3C A0 6E 68 */ lis r5, 0x6E686474@ha -/* 802516A4 0024E5E4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802516A8 0024E5E8 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 802516AC 0024E5EC 90 1E 04 6C */ stw r0, 0x46c(r30) -/* 802516B0 0024E5F0 7F C4 F3 78 */ mr r4, r30 -/* 802516B4 0024E5F4 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 802516B8 0024E5F8 38 7E 04 94 */ addi r3, r30, 0x494 -/* 802516BC 0024E5FC D0 1E 04 84 */ stfs f0, 0x484(r30) -/* 802516C0 0024E600 38 A5 64 74 */ addi r5, r5, 0x6E686474@l -/* 802516C4 0024E604 C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 802516C8 0024E608 38 DF 04 50 */ addi r6, r31, 0x450 -/* 802516CC 0024E60C D0 3E 04 8C */ stfs f1, 0x48c(r30) -/* 802516D0 0024E610 D0 1E 04 90 */ stfs f0, 0x490(r30) -/* 802516D4 0024E614 48 1C 1F 85 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802516D8 0024E618 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802516DC 0024E61C 3C A0 6E 68 */ lis r5, 0x6E686E63@ha -/* 802516E0 0024E620 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802516E4 0024E624 C0 02 C5 C4 */ lfs f0, lbl_8051A924@sda21(r2) -/* 802516E8 0024E628 90 1E 04 94 */ stw r0, 0x494(r30) -/* 802516EC 0024E62C 7F C4 F3 78 */ mr r4, r30 -/* 802516F0 0024E630 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 802516F4 0024E634 38 7E 04 BC */ addi r3, r30, 0x4bc -/* 802516F8 0024E638 D0 1E 04 AC */ stfs f0, 0x4ac(r30) -/* 802516FC 0024E63C 38 A5 6E 63 */ addi r5, r5, 0x6E686E63@l -/* 80251700 0024E640 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 80251704 0024E644 38 DF 04 64 */ addi r6, r31, 0x464 -/* 80251708 0024E648 D0 3E 04 B4 */ stfs f1, 0x4b4(r30) -/* 8025170C 0024E64C D0 1E 04 B8 */ stfs f0, 0x4b8(r30) -/* 80251710 0024E650 48 1C 1F 49 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251714 0024E654 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251718 0024E658 3C A0 6E 68 */ lis r5, 0x6E686663@ha -/* 8025171C 0024E65C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251720 0024E660 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80251724 0024E664 90 1E 04 BC */ stw r0, 0x4bc(r30) -/* 80251728 0024E668 7F C4 F3 78 */ mr r4, r30 -/* 8025172C 0024E66C C0 02 C5 9C */ lfs f0, lbl_8051A8FC@sda21(r2) -/* 80251730 0024E670 38 7E 04 E4 */ addi r3, r30, 0x4e4 -/* 80251734 0024E674 D0 3E 04 D4 */ stfs f1, 0x4d4(r30) -/* 80251738 0024E678 38 A5 66 63 */ addi r5, r5, 0x6E686663@l -/* 8025173C 0024E67C 38 DF 04 74 */ addi r6, r31, 0x474 -/* 80251740 0024E680 D0 3E 04 DC */ stfs f1, 0x4dc(r30) -/* 80251744 0024E684 D0 1E 04 E0 */ stfs f0, 0x4e0(r30) -/* 80251748 0024E688 48 1C 1F 11 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025174C 0024E68C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251750 0024E690 3C A0 63 6D */ lis r5, 0x636D6864@ha -/* 80251754 0024E694 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251758 0024E698 C0 22 C5 9C */ lfs f1, lbl_8051A8FC@sda21(r2) -/* 8025175C 0024E69C 90 1E 04 E4 */ stw r0, 0x4e4(r30) -/* 80251760 0024E6A0 7F C4 F3 78 */ mr r4, r30 -/* 80251764 0024E6A4 C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251768 0024E6A8 38 7E 05 0C */ addi r3, r30, 0x50c -/* 8025176C 0024E6AC D0 3E 04 FC */ stfs f1, 0x4fc(r30) -/* 80251770 0024E6B0 38 A5 68 64 */ addi r5, r5, 0x636D6864@l -/* 80251774 0024E6B4 38 DF 04 84 */ addi r6, r31, 0x484 -/* 80251778 0024E6B8 D0 1E 05 04 */ stfs f0, 0x504(r30) -/* 8025177C 0024E6BC D0 3E 05 08 */ stfs f1, 0x508(r30) -/* 80251780 0024E6C0 48 1C 1E D9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251784 0024E6C4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251788 0024E6C8 3C A0 63 6D */ lis r5, 0x636D6861@ha -/* 8025178C 0024E6CC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251790 0024E6D0 C0 02 C5 B0 */ lfs f0, lbl_8051A910@sda21(r2) -/* 80251794 0024E6D4 90 1E 05 0C */ stw r0, 0x50c(r30) -/* 80251798 0024E6D8 7F C4 F3 78 */ mr r4, r30 -/* 8025179C 0024E6DC C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 802517A0 0024E6E0 38 7E 05 34 */ addi r3, r30, 0x534 -/* 802517A4 0024E6E4 D0 1E 05 24 */ stfs f0, 0x524(r30) -/* 802517A8 0024E6E8 38 A5 68 61 */ addi r5, r5, 0x636D6861@l -/* 802517AC 0024E6EC C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 802517B0 0024E6F0 38 DF 04 94 */ addi r6, r31, 0x494 -/* 802517B4 0024E6F4 D0 3E 05 2C */ stfs f1, 0x52c(r30) -/* 802517B8 0024E6F8 D0 1E 05 30 */ stfs f0, 0x530(r30) -/* 802517BC 0024E6FC 48 1C 1E 9D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802517C0 0024E700 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802517C4 0024E704 3C A0 63 6D */ lis r5, 0x636D6866@ha -/* 802517C8 0024E708 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802517CC 0024E70C C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 802517D0 0024E710 90 1E 05 34 */ stw r0, 0x534(r30) -/* 802517D4 0024E714 7F C4 F3 78 */ mr r4, r30 -/* 802517D8 0024E718 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 802517DC 0024E71C 38 7E 05 5C */ addi r3, r30, 0x55c -/* 802517E0 0024E720 D0 1E 05 4C */ stfs f0, 0x54c(r30) -/* 802517E4 0024E724 38 A5 68 66 */ addi r5, r5, 0x636D6866@l -/* 802517E8 0024E728 C0 02 C5 8C */ lfs f0, lbl_8051A8EC@sda21(r2) -/* 802517EC 0024E72C 38 DF 04 A8 */ addi r6, r31, 0x4a8 -/* 802517F0 0024E730 D0 3E 05 54 */ stfs f1, 0x554(r30) -/* 802517F4 0024E734 D0 1E 05 58 */ stfs f0, 0x558(r30) -/* 802517F8 0024E738 48 1C 1E 61 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802517FC 0024E73C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251800 0024E740 3C A0 63 6D */ lis r5, 0x636D686F@ha -/* 80251804 0024E744 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251808 0024E748 C0 02 C5 68 */ lfs f0, lbl_8051A8C8@sda21(r2) -/* 8025180C 0024E74C 90 1E 05 5C */ stw r0, 0x55c(r30) -/* 80251810 0024E750 7F C4 F3 78 */ mr r4, r30 -/* 80251814 0024E754 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80251818 0024E758 38 7E 05 84 */ addi r3, r30, 0x584 -/* 8025181C 0024E75C D0 1E 05 74 */ stfs f0, 0x574(r30) -/* 80251820 0024E760 38 A5 68 6F */ addi r5, r5, 0x636D686F@l -/* 80251824 0024E764 C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 80251828 0024E768 38 DF 04 B8 */ addi r6, r31, 0x4b8 -/* 8025182C 0024E76C D0 3E 05 7C */ stfs f1, 0x57c(r30) -/* 80251830 0024E770 D0 1E 05 80 */ stfs f0, 0x580(r30) -/* 80251834 0024E774 48 1C 1E 25 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251838 0024E778 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025183C 0024E77C 3C A0 63 6D */ lis r5, 0x636D6877@ha -/* 80251840 0024E780 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251844 0024E784 C0 02 C5 C8 */ lfs f0, lbl_8051A928@sda21(r2) -/* 80251848 0024E788 90 1E 05 84 */ stw r0, 0x584(r30) -/* 8025184C 0024E78C 7F C4 F3 78 */ mr r4, r30 -/* 80251850 0024E790 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251854 0024E794 38 7E 05 AC */ addi r3, r30, 0x5ac -/* 80251858 0024E798 D0 1E 05 9C */ stfs f0, 0x59c(r30) -/* 8025185C 0024E79C 38 A5 68 77 */ addi r5, r5, 0x636D6877@l -/* 80251860 0024E7A0 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 80251864 0024E7A4 38 DF 04 CC */ addi r6, r31, 0x4cc -/* 80251868 0024E7A8 D0 3E 05 A4 */ stfs f1, 0x5a4(r30) -/* 8025186C 0024E7AC D0 1E 05 A8 */ stfs f0, 0x5a8(r30) -/* 80251870 0024E7B0 48 1C 1D E9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251874 0024E7B4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251878 0024E7B8 3C A0 6D 68 */ lis r5, 0x6D686474@ha -/* 8025187C 0024E7BC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251880 0024E7C0 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 80251884 0024E7C4 90 1E 05 AC */ stw r0, 0x5ac(r30) -/* 80251888 0024E7C8 7F C4 F3 78 */ mr r4, r30 -/* 8025188C 0024E7CC C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251890 0024E7D0 38 7E 05 D4 */ addi r3, r30, 0x5d4 -/* 80251894 0024E7D4 D0 1E 05 C4 */ stfs f0, 0x5c4(r30) -/* 80251898 0024E7D8 38 A5 64 74 */ addi r5, r5, 0x6D686474@l -/* 8025189C 0024E7DC C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 802518A0 0024E7E0 38 DF 04 E0 */ addi r6, r31, 0x4e0 -/* 802518A4 0024E7E4 D0 3E 05 CC */ stfs f1, 0x5cc(r30) -/* 802518A8 0024E7E8 D0 1E 05 D0 */ stfs f0, 0x5d0(r30) -/* 802518AC 0024E7EC 48 1C 1D AD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802518B0 0024E7F0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802518B4 0024E7F4 3C A0 6D 68 */ lis r5, 0x6D686E63@ha -/* 802518B8 0024E7F8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802518BC 0024E7FC C0 02 C5 CC */ lfs f0, lbl_8051A92C@sda21(r2) -/* 802518C0 0024E800 90 1E 05 D4 */ stw r0, 0x5d4(r30) -/* 802518C4 0024E804 7F C4 F3 78 */ mr r4, r30 -/* 802518C8 0024E808 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 802518CC 0024E80C 38 7E 05 FC */ addi r3, r30, 0x5fc -/* 802518D0 0024E810 D0 1E 05 EC */ stfs f0, 0x5ec(r30) -/* 802518D4 0024E814 38 A5 6E 63 */ addi r5, r5, 0x6D686E63@l -/* 802518D8 0024E818 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 802518DC 0024E81C 38 DF 04 F4 */ addi r6, r31, 0x4f4 -/* 802518E0 0024E820 D0 3E 05 F4 */ stfs f1, 0x5f4(r30) -/* 802518E4 0024E824 D0 1E 05 F8 */ stfs f0, 0x5f8(r30) -/* 802518E8 0024E828 48 1C 1D 71 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802518EC 0024E82C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802518F0 0024E830 3C A0 6D 68 */ lis r5, 0x6D686663@ha -/* 802518F4 0024E834 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802518F8 0024E838 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 802518FC 0024E83C 90 1E 05 FC */ stw r0, 0x5fc(r30) -/* 80251900 0024E840 7F C4 F3 78 */ mr r4, r30 -/* 80251904 0024E844 C0 02 C5 9C */ lfs f0, lbl_8051A8FC@sda21(r2) -/* 80251908 0024E848 38 7E 06 24 */ addi r3, r30, 0x624 -/* 8025190C 0024E84C D0 3E 06 14 */ stfs f1, 0x614(r30) -/* 80251910 0024E850 38 A5 66 63 */ addi r5, r5, 0x6D686663@l -/* 80251914 0024E854 38 DF 05 04 */ addi r6, r31, 0x504 -/* 80251918 0024E858 D0 3E 06 1C */ stfs f1, 0x61c(r30) -/* 8025191C 0024E85C D0 1E 06 20 */ stfs f0, 0x620(r30) -/* 80251920 0024E860 48 1C 1D 39 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251924 0024E864 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251928 0024E868 3C A0 63 66 */ lis r5, 0x63666864@ha -/* 8025192C 0024E86C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251930 0024E870 C0 22 C5 9C */ lfs f1, lbl_8051A8FC@sda21(r2) -/* 80251934 0024E874 90 1E 06 24 */ stw r0, 0x624(r30) -/* 80251938 0024E878 7F C4 F3 78 */ mr r4, r30 -/* 8025193C 0024E87C C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251940 0024E880 38 7E 06 4C */ addi r3, r30, 0x64c -/* 80251944 0024E884 D0 3E 06 3C */ stfs f1, 0x63c(r30) -/* 80251948 0024E888 38 A5 68 64 */ addi r5, r5, 0x63666864@l -/* 8025194C 0024E88C 38 DF 05 14 */ addi r6, r31, 0x514 -/* 80251950 0024E890 D0 1E 06 44 */ stfs f0, 0x644(r30) -/* 80251954 0024E894 D0 3E 06 48 */ stfs f1, 0x648(r30) -/* 80251958 0024E898 48 1C 1D 01 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025195C 0024E89C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251960 0024E8A0 3C A0 63 66 */ lis r5, 0x63666861@ha -/* 80251964 0024E8A4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251968 0024E8A8 C0 02 C5 D0 */ lfs f0, lbl_8051A930@sda21(r2) -/* 8025196C 0024E8AC 90 1E 06 4C */ stw r0, 0x64c(r30) -/* 80251970 0024E8B0 7F C4 F3 78 */ mr r4, r30 -/* 80251974 0024E8B4 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251978 0024E8B8 38 7E 06 74 */ addi r3, r30, 0x674 -/* 8025197C 0024E8BC D0 1E 06 64 */ stfs f0, 0x664(r30) -/* 80251980 0024E8C0 38 A5 68 61 */ addi r5, r5, 0x63666861@l -/* 80251984 0024E8C4 C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 80251988 0024E8C8 38 DF 05 24 */ addi r6, r31, 0x524 -/* 8025198C 0024E8CC D0 3E 06 6C */ stfs f1, 0x66c(r30) -/* 80251990 0024E8D0 D0 1E 06 70 */ stfs f0, 0x670(r30) -/* 80251994 0024E8D4 48 1C 1C C5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251998 0024E8D8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025199C 0024E8DC 3C A0 63 66 */ lis r5, 0x63666866@ha -/* 802519A0 0024E8E0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802519A4 0024E8E4 C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 802519A8 0024E8E8 90 1E 06 74 */ stw r0, 0x674(r30) -/* 802519AC 0024E8EC 7F C4 F3 78 */ mr r4, r30 -/* 802519B0 0024E8F0 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 802519B4 0024E8F4 38 7E 06 9C */ addi r3, r30, 0x69c -/* 802519B8 0024E8F8 D0 1E 06 8C */ stfs f0, 0x68c(r30) -/* 802519BC 0024E8FC 38 A5 68 66 */ addi r5, r5, 0x63666866@l -/* 802519C0 0024E900 C0 02 C5 8C */ lfs f0, lbl_8051A8EC@sda21(r2) -/* 802519C4 0024E904 38 DF 05 38 */ addi r6, r31, 0x538 -/* 802519C8 0024E908 D0 3E 06 94 */ stfs f1, 0x694(r30) -/* 802519CC 0024E90C D0 1E 06 98 */ stfs f0, 0x698(r30) -/* 802519D0 0024E910 48 1C 1C 89 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802519D4 0024E914 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802519D8 0024E918 3C A0 63 66 */ lis r5, 0x6366686F@ha -/* 802519DC 0024E91C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802519E0 0024E920 C0 02 C5 D4 */ lfs f0, lbl_8051A934@sda21(r2) -/* 802519E4 0024E924 90 1E 06 9C */ stw r0, 0x69c(r30) -/* 802519E8 0024E928 7F C4 F3 78 */ mr r4, r30 -/* 802519EC 0024E92C C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 802519F0 0024E930 38 7E 06 C4 */ addi r3, r30, 0x6c4 -/* 802519F4 0024E934 D0 1E 06 B4 */ stfs f0, 0x6b4(r30) -/* 802519F8 0024E938 38 A5 68 6F */ addi r5, r5, 0x6366686F@l -/* 802519FC 0024E93C C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 80251A00 0024E940 38 DF 05 48 */ addi r6, r31, 0x548 -/* 80251A04 0024E944 D0 3E 06 BC */ stfs f1, 0x6bc(r30) -/* 80251A08 0024E948 D0 1E 06 C0 */ stfs f0, 0x6c0(r30) -/* 80251A0C 0024E94C 48 1C 1C 4D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251A10 0024E950 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251A14 0024E954 3C A0 63 66 */ lis r5, 0x63666877@ha -/* 80251A18 0024E958 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251A1C 0024E95C C0 02 C5 50 */ lfs f0, lbl_8051A8B0@sda21(r2) -/* 80251A20 0024E960 90 1E 06 C4 */ stw r0, 0x6c4(r30) -/* 80251A24 0024E964 7F C4 F3 78 */ mr r4, r30 -/* 80251A28 0024E968 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251A2C 0024E96C 38 7E 06 EC */ addi r3, r30, 0x6ec -/* 80251A30 0024E970 D0 1E 06 DC */ stfs f0, 0x6dc(r30) -/* 80251A34 0024E974 38 A5 68 77 */ addi r5, r5, 0x63666877@l -/* 80251A38 0024E978 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 80251A3C 0024E97C 38 DF 05 5C */ addi r6, r31, 0x55c -/* 80251A40 0024E980 D0 3E 06 E4 */ stfs f1, 0x6e4(r30) -/* 80251A44 0024E984 D0 1E 06 E8 */ stfs f0, 0x6e8(r30) -/* 80251A48 0024E988 48 1C 1C 11 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251A4C 0024E98C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251A50 0024E990 3C A0 66 68 */ lis r5, 0x66686474@ha -/* 80251A54 0024E994 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251A58 0024E998 C0 02 C5 D8 */ lfs f0, lbl_8051A938@sda21(r2) -/* 80251A5C 0024E99C 90 1E 06 EC */ stw r0, 0x6ec(r30) -/* 80251A60 0024E9A0 7F C4 F3 78 */ mr r4, r30 -/* 80251A64 0024E9A4 C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251A68 0024E9A8 38 7E 07 14 */ addi r3, r30, 0x714 -/* 80251A6C 0024E9AC D0 1E 07 04 */ stfs f0, 0x704(r30) -/* 80251A70 0024E9B0 38 A5 64 74 */ addi r5, r5, 0x66686474@l -/* 80251A74 0024E9B4 C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 80251A78 0024E9B8 38 DF 05 70 */ addi r6, r31, 0x570 -/* 80251A7C 0024E9BC D0 3E 07 0C */ stfs f1, 0x70c(r30) -/* 80251A80 0024E9C0 D0 1E 07 10 */ stfs f0, 0x710(r30) -/* 80251A84 0024E9C4 48 1C 1B D5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251A88 0024E9C8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251A8C 0024E9CC 3C A0 66 68 */ lis r5, 0x66686E63@ha -/* 80251A90 0024E9D0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251A94 0024E9D4 C0 02 C5 DC */ lfs f0, lbl_8051A93C@sda21(r2) -/* 80251A98 0024E9D8 90 1E 07 14 */ stw r0, 0x714(r30) -/* 80251A9C 0024E9DC 7F C4 F3 78 */ mr r4, r30 -/* 80251AA0 0024E9E0 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251AA4 0024E9E4 38 7E 07 3C */ addi r3, r30, 0x73c -/* 80251AA8 0024E9E8 D0 1E 07 2C */ stfs f0, 0x72c(r30) -/* 80251AAC 0024E9EC 38 A5 6E 63 */ addi r5, r5, 0x66686E63@l -/* 80251AB0 0024E9F0 C0 02 C5 80 */ lfs f0, lbl_8051A8E0@sda21(r2) -/* 80251AB4 0024E9F4 38 DF 05 84 */ addi r6, r31, 0x584 -/* 80251AB8 0024E9F8 D0 3E 07 34 */ stfs f1, 0x734(r30) -/* 80251ABC 0024E9FC D0 1E 07 38 */ stfs f0, 0x738(r30) -/* 80251AC0 0024EA00 48 1C 1B 99 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251AC4 0024EA04 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251AC8 0024EA08 3C A0 66 68 */ lis r5, 0x66686663@ha -/* 80251ACC 0024EA0C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251AD0 0024EA10 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80251AD4 0024EA14 90 1E 07 3C */ stw r0, 0x73c(r30) -/* 80251AD8 0024EA18 7F C4 F3 78 */ mr r4, r30 -/* 80251ADC 0024EA1C C0 02 C5 9C */ lfs f0, lbl_8051A8FC@sda21(r2) -/* 80251AE0 0024EA20 38 7E 07 64 */ addi r3, r30, 0x764 -/* 80251AE4 0024EA24 D0 3E 07 54 */ stfs f1, 0x754(r30) -/* 80251AE8 0024EA28 38 A5 66 63 */ addi r5, r5, 0x66686663@l -/* 80251AEC 0024EA2C 38 DF 05 94 */ addi r6, r31, 0x594 -/* 80251AF0 0024EA30 D0 3E 07 5C */ stfs f1, 0x75c(r30) -/* 80251AF4 0024EA34 D0 1E 07 60 */ stfs f0, 0x760(r30) -/* 80251AF8 0024EA38 48 1C 1B 61 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251AFC 0024EA3C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251B00 0024EA40 3C A0 7A 6D */ lis r5, 0x7A6D6474@ha -/* 80251B04 0024EA44 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251B08 0024EA48 C0 22 C5 9C */ lfs f1, lbl_8051A8FC@sda21(r2) -/* 80251B0C 0024EA4C 90 1E 07 64 */ stw r0, 0x764(r30) -/* 80251B10 0024EA50 7F C4 F3 78 */ mr r4, r30 -/* 80251B14 0024EA54 C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251B18 0024EA58 38 7E 07 8C */ addi r3, r30, 0x78c -/* 80251B1C 0024EA5C D0 3E 07 7C */ stfs f1, 0x77c(r30) -/* 80251B20 0024EA60 38 A5 64 74 */ addi r5, r5, 0x7A6D6474@l -/* 80251B24 0024EA64 38 DF 05 A4 */ addi r6, r31, 0x5a4 -/* 80251B28 0024EA68 D0 1E 07 84 */ stfs f0, 0x784(r30) -/* 80251B2C 0024EA6C D0 3E 07 88 */ stfs f1, 0x788(r30) -/* 80251B30 0024EA70 48 1C 1B 29 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251B34 0024EA74 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251B38 0024EA78 3C A0 7A 6D */ lis r5, 0x7A6D616E@ha -/* 80251B3C 0024EA7C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251B40 0024EA80 C0 02 C5 E0 */ lfs f0, lbl_8051A940@sda21(r2) -/* 80251B44 0024EA84 90 1E 07 8C */ stw r0, 0x78c(r30) -/* 80251B48 0024EA88 7F C4 F3 78 */ mr r4, r30 -/* 80251B4C 0024EA8C C0 22 C5 40 */ lfs f1, lbl_8051A8A0@sda21(r2) -/* 80251B50 0024EA90 38 7E 07 B4 */ addi r3, r30, 0x7b4 -/* 80251B54 0024EA94 D0 1E 07 A4 */ stfs f0, 0x7a4(r30) -/* 80251B58 0024EA98 38 A5 61 6E */ addi r5, r5, 0x7A6D616E@l -/* 80251B5C 0024EA9C C0 02 C5 88 */ lfs f0, lbl_8051A8E8@sda21(r2) -/* 80251B60 0024EAA0 38 DF 05 B0 */ addi r6, r31, 0x5b0 -/* 80251B64 0024EAA4 D0 3E 07 AC */ stfs f1, 0x7ac(r30) -/* 80251B68 0024EAA8 D0 1E 07 B0 */ stfs f0, 0x7b0(r30) -/* 80251B6C 0024EAAC 48 1C 1A ED */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251B70 0024EAB0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251B74 0024EAB4 3C A0 7A 6D */ lis r5, 0x7A6D6676@ha -/* 80251B78 0024EAB8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251B7C 0024EABC C0 02 C5 E4 */ lfs f0, lbl_8051A944@sda21(r2) -/* 80251B80 0024EAC0 90 1E 07 B4 */ stw r0, 0x7b4(r30) -/* 80251B84 0024EAC4 7F C4 F3 78 */ mr r4, r30 -/* 80251B88 0024EAC8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251B8C 0024EACC 38 7E 07 DC */ addi r3, r30, 0x7dc -/* 80251B90 0024EAD0 D0 1E 07 CC */ stfs f0, 0x7cc(r30) -/* 80251B94 0024EAD4 38 A5 66 76 */ addi r5, r5, 0x7A6D6676@l -/* 80251B98 0024EAD8 C0 02 C5 8C */ lfs f0, lbl_8051A8EC@sda21(r2) -/* 80251B9C 0024EADC 38 DF 05 C0 */ addi r6, r31, 0x5c0 -/* 80251BA0 0024EAE0 D0 3E 07 D4 */ stfs f1, 0x7d4(r30) -/* 80251BA4 0024EAE4 D0 1E 07 D8 */ stfs f0, 0x7d8(r30) -/* 80251BA8 0024EAE8 48 1C 1A B1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251BAC 0024EAEC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251BB0 0024EAF0 3C A0 63 6C */ lis r5, 0x636C6372@ha -/* 80251BB4 0024EAF4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251BB8 0024EAF8 C0 02 C5 58 */ lfs f0, lbl_8051A8B8@sda21(r2) -/* 80251BBC 0024EAFC 90 1E 07 DC */ stw r0, 0x7dc(r30) -/* 80251BC0 0024EB00 7F C4 F3 78 */ mr r4, r30 -/* 80251BC4 0024EB04 C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80251BC8 0024EB08 38 7E 08 04 */ addi r3, r30, 0x804 -/* 80251BCC 0024EB0C D0 1E 07 F4 */ stfs f0, 0x7f4(r30) -/* 80251BD0 0024EB10 38 A5 63 72 */ addi r5, r5, 0x636C6372@l -/* 80251BD4 0024EB14 C0 02 C5 90 */ lfs f0, lbl_8051A8F0@sda21(r2) -/* 80251BD8 0024EB18 38 DF 05 CC */ addi r6, r31, 0x5cc -/* 80251BDC 0024EB1C D0 3E 07 FC */ stfs f1, 0x7fc(r30) -/* 80251BE0 0024EB20 D0 1E 08 00 */ stfs f0, 0x800(r30) -/* 80251BE4 0024EB24 48 1C 1A 75 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251BE8 0024EB28 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251BEC 0024EB2C 3C A0 63 6C */ lis r5, 0x636C6D73@ha -/* 80251BF0 0024EB30 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251BF4 0024EB34 C0 02 C5 E8 */ lfs f0, lbl_8051A948@sda21(r2) -/* 80251BF8 0024EB38 90 1E 08 04 */ stw r0, 0x804(r30) -/* 80251BFC 0024EB3C 7F C4 F3 78 */ mr r4, r30 -/* 80251C00 0024EB40 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251C04 0024EB44 38 7E 08 2C */ addi r3, r30, 0x82c -/* 80251C08 0024EB48 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 80251C0C 0024EB4C 38 A5 6D 73 */ addi r5, r5, 0x636C6D73@l -/* 80251C10 0024EB50 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 80251C14 0024EB54 38 DF 05 DC */ addi r6, r31, 0x5dc -/* 80251C18 0024EB58 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 80251C1C 0024EB5C D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 80251C20 0024EB60 48 1C 1A 39 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251C24 0024EB64 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251C28 0024EB68 3C A0 63 6C */ lis r5, 0x636C6D68@ha -/* 80251C2C 0024EB6C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251C30 0024EB70 C0 02 C5 EC */ lfs f0, lbl_8051A94C@sda21(r2) -/* 80251C34 0024EB74 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 80251C38 0024EB78 7F C4 F3 78 */ mr r4, r30 -/* 80251C3C 0024EB7C C0 22 C5 F0 */ lfs f1, lbl_8051A950@sda21(r2) -/* 80251C40 0024EB80 38 7E 08 54 */ addi r3, r30, 0x854 -/* 80251C44 0024EB84 D0 1E 08 44 */ stfs f0, 0x844(r30) -/* 80251C48 0024EB88 38 A5 6D 68 */ addi r5, r5, 0x636C6D68@l -/* 80251C4C 0024EB8C C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251C50 0024EB90 38 DF 05 F0 */ addi r6, r31, 0x5f0 -/* 80251C54 0024EB94 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 80251C58 0024EB98 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 80251C5C 0024EB9C 48 1C 19 FD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251C60 0024EBA0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251C64 0024EBA4 3C A0 63 6C */ lis r5, 0x636C6E68@ha -/* 80251C68 0024EBA8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251C6C 0024EBAC C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80251C70 0024EBB0 90 1E 08 54 */ stw r0, 0x854(r30) -/* 80251C74 0024EBB4 7F C4 F3 78 */ mr r4, r30 -/* 80251C78 0024EBB8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251C7C 0024EBBC 38 7E 08 7C */ addi r3, r30, 0x87c -/* 80251C80 0024EBC0 D0 1E 08 6C */ stfs f0, 0x86c(r30) -/* 80251C84 0024EBC4 38 A5 6E 68 */ addi r5, r5, 0x636C6E68@l -/* 80251C88 0024EBC8 C0 02 C5 50 */ lfs f0, lbl_8051A8B0@sda21(r2) -/* 80251C8C 0024EBCC 38 DF 06 04 */ addi r6, r31, 0x604 -/* 80251C90 0024EBD0 D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 80251C94 0024EBD4 D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 80251C98 0024EBD8 48 1C 19 C1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251C9C 0024EBDC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251CA0 0024EBE0 3C A0 63 70 */ lis r5, 0x63706D64@ha -/* 80251CA4 0024EBE4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251CA8 0024EBE8 C0 02 C5 54 */ lfs f0, lbl_8051A8B4@sda21(r2) -/* 80251CAC 0024EBEC 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 80251CB0 0024EBF0 7F C4 F3 78 */ mr r4, r30 -/* 80251CB4 0024EBF4 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251CB8 0024EBF8 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 80251CBC 0024EBFC D0 1E 08 94 */ stfs f0, 0x894(r30) -/* 80251CC0 0024EC00 38 A5 6D 64 */ addi r5, r5, 0x63706D64@l -/* 80251CC4 0024EC04 C0 02 C5 94 */ lfs f0, lbl_8051A8F4@sda21(r2) -/* 80251CC8 0024EC08 38 DF 06 18 */ addi r6, r31, 0x618 -/* 80251CCC 0024EC0C D0 3E 08 9C */ stfs f1, 0x89c(r30) -/* 80251CD0 0024EC10 D0 1E 08 A0 */ stfs f0, 0x8a0(r30) -/* 80251CD4 0024EC14 48 1C 19 85 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251CD8 0024EC18 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251CDC 0024EC1C 3C A0 63 6D */ lis r5, 0x636D6D74@ha -/* 80251CE0 0024EC20 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251CE4 0024EC24 C0 02 C5 F4 */ lfs f0, lbl_8051A954@sda21(r2) -/* 80251CE8 0024EC28 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 80251CEC 0024EC2C 7F C4 F3 78 */ mr r4, r30 -/* 80251CF0 0024EC30 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251CF4 0024EC34 38 7E 08 CC */ addi r3, r30, 0x8cc -/* 80251CF8 0024EC38 D0 1E 08 BC */ stfs f0, 0x8bc(r30) -/* 80251CFC 0024EC3C 38 A5 6D 74 */ addi r5, r5, 0x636D6D74@l -/* 80251D00 0024EC40 C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251D04 0024EC44 38 DF 06 28 */ addi r6, r31, 0x628 -/* 80251D08 0024EC48 D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 80251D0C 0024EC4C D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -/* 80251D10 0024EC50 48 1C 19 49 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251D14 0024EC54 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251D18 0024EC58 3C A0 63 6D */ lis r5, 0x636D6674@ha -/* 80251D1C 0024EC5C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251D20 0024EC60 C0 02 C5 F8 */ lfs f0, lbl_8051A958@sda21(r2) -/* 80251D24 0024EC64 90 1E 08 CC */ stw r0, 0x8cc(r30) -/* 80251D28 0024EC68 7F C4 F3 78 */ mr r4, r30 -/* 80251D2C 0024EC6C C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251D30 0024EC70 38 7E 08 F4 */ addi r3, r30, 0x8f4 -/* 80251D34 0024EC74 D0 1E 08 E4 */ stfs f0, 0x8e4(r30) -/* 80251D38 0024EC78 38 A5 66 74 */ addi r5, r5, 0x636D6674@l -/* 80251D3C 0024EC7C C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251D40 0024EC80 38 DF 06 34 */ addi r6, r31, 0x634 -/* 80251D44 0024EC84 D0 3E 08 EC */ stfs f1, 0x8ec(r30) -/* 80251D48 0024EC88 D0 1E 08 F0 */ stfs f0, 0x8f0(r30) -/* 80251D4C 0024EC8C 48 1C 19 0D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251D50 0024EC90 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251D54 0024EC94 3C A0 63 6D */ lis r5, 0x636D7461@ha -/* 80251D58 0024EC98 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251D5C 0024EC9C C0 02 C5 FC */ lfs f0, lbl_8051A95C@sda21(r2) -/* 80251D60 0024ECA0 90 1E 08 F4 */ stw r0, 0x8f4(r30) -/* 80251D64 0024ECA4 7F C4 F3 78 */ mr r4, r30 -/* 80251D68 0024ECA8 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251D6C 0024ECAC 38 7E 09 1C */ addi r3, r30, 0x91c -/* 80251D70 0024ECB0 D0 1E 09 0C */ stfs f0, 0x90c(r30) -/* 80251D74 0024ECB4 38 A5 74 61 */ addi r5, r5, 0x636D7461@l -/* 80251D78 0024ECB8 C0 02 C5 44 */ lfs f0, lbl_8051A8A4@sda21(r2) -/* 80251D7C 0024ECBC 38 DF 06 44 */ addi r6, r31, 0x644 -/* 80251D80 0024ECC0 D0 3E 09 14 */ stfs f1, 0x914(r30) -/* 80251D84 0024ECC4 D0 1E 09 18 */ stfs f0, 0x918(r30) -/* 80251D88 0024ECC8 48 1C 18 D1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251D8C 0024ECCC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251D90 0024ECD0 3C A0 63 6D */ lis r5, 0x636D746D@ha -/* 80251D94 0024ECD4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251D98 0024ECD8 C0 02 C5 EC */ lfs f0, lbl_8051A94C@sda21(r2) -/* 80251D9C 0024ECDC 90 1E 09 1C */ stw r0, 0x91c(r30) -/* 80251DA0 0024ECE0 7F C4 F3 78 */ mr r4, r30 -/* 80251DA4 0024ECE4 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251DA8 0024ECE8 38 7E 09 44 */ addi r3, r30, 0x944 -/* 80251DAC 0024ECEC D0 1E 09 34 */ stfs f0, 0x934(r30) -/* 80251DB0 0024ECF0 38 A5 74 6D */ addi r5, r5, 0x636D746D@l -/* 80251DB4 0024ECF4 C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251DB8 0024ECF8 38 DF 06 50 */ addi r6, r31, 0x650 -/* 80251DBC 0024ECFC D0 3E 09 3C */ stfs f1, 0x93c(r30) -/* 80251DC0 0024ED00 D0 1E 09 40 */ stfs f0, 0x940(r30) -/* 80251DC4 0024ED04 48 1C 18 95 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251DC8 0024ED08 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251DCC 0024ED0C 3C A0 63 6D */ lis r5, 0x636D7462@ha -/* 80251DD0 0024ED10 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251DD4 0024ED14 C0 02 C6 00 */ lfs f0, lbl_8051A960@sda21(r2) -/* 80251DD8 0024ED18 90 1E 09 44 */ stw r0, 0x944(r30) -/* 80251DDC 0024ED1C 7F C4 F3 78 */ mr r4, r30 -/* 80251DE0 0024ED20 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251DE4 0024ED24 38 7E 09 6C */ addi r3, r30, 0x96c -/* 80251DE8 0024ED28 D0 1E 09 5C */ stfs f0, 0x95c(r30) -/* 80251DEC 0024ED2C 38 A5 74 62 */ addi r5, r5, 0x636D7462@l -/* 80251DF0 0024ED30 C0 02 C5 48 */ lfs f0, lbl_8051A8A8@sda21(r2) -/* 80251DF4 0024ED34 38 DF 06 60 */ addi r6, r31, 0x660 -/* 80251DF8 0024ED38 D0 3E 09 64 */ stfs f1, 0x964(r30) -/* 80251DFC 0024ED3C D0 1E 09 68 */ stfs f0, 0x968(r30) -/* 80251E00 0024ED40 48 1C 18 59 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80251E04 0024ED44 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80251E08 0024ED48 C0 42 C6 04 */ lfs f2, lbl_8051A964@sda21(r2) -/* 80251E0C 0024ED4C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80251E10 0024ED50 C0 22 C5 3C */ lfs f1, lbl_8051A89C@sda21(r2) -/* 80251E14 0024ED54 90 1E 09 6C */ stw r0, 0x96c(r30) -/* 80251E18 0024ED58 7F C3 F3 78 */ mr r3, r30 -/* 80251E1C 0024ED5C C0 02 C5 38 */ lfs f0, lbl_8051A898@sda21(r2) -/* 80251E20 0024ED60 D0 5E 09 84 */ stfs f2, 0x984(r30) -/* 80251E24 0024ED64 D0 3E 09 8C */ stfs f1, 0x98c(r30) -/* 80251E28 0024ED68 D0 1E 09 90 */ stfs f0, 0x990(r30) -/* 80251E2C 0024ED6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80251E30 0024ED70 83 C1 00 08 */ lwz r30, 8(r1) -/* 80251E34 0024ED74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80251E38 0024ED78 7C 08 03 A6 */ mtlr r0 -/* 80251E3C 0024ED7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80251E40 0024ED80 4E 80 00 20 */ blr - -.global setViewport__Q24Game9CameraMgrFP8Viewporti -setViewport__Q24Game9CameraMgrFP8Viewporti: -/* 80251E44 0024ED84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80251E48 0024ED88 7C 08 02 A6 */ mflr r0 -/* 80251E4C 0024ED8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80251E50 0024ED90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80251E54 0024ED94 54 BF 10 3A */ slwi r31, r5, 2 -/* 80251E58 0024ED98 93 C1 00 08 */ stw r30, 8(r1) -/* 80251E5C 0024ED9C 7C 7E 1B 78 */ mr r30, r3 -/* 80251E60 0024EDA0 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80251E64 0024EDA4 7C 83 F9 2E */ stwx r4, r3, r31 -/* 80251E68 0024EDA8 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 80251E6C 0024EDAC 7C 03 F8 2E */ lwzx r0, r3, r31 -/* 80251E70 0024EDB0 28 00 00 00 */ cmplwi r0, 0 -/* 80251E74 0024EDB4 40 82 00 20 */ bne lbl_80251E94 -/* 80251E78 0024EDB8 3C 60 80 48 */ lis r3, lbl_804847FC@ha -/* 80251E7C 0024EDBC 3C A0 80 48 */ lis r5, lbl_8048480C@ha -/* 80251E80 0024EDC0 38 63 47 FC */ addi r3, r3, lbl_804847FC@l -/* 80251E84 0024EDC4 38 80 00 52 */ li r4, 0x52 -/* 80251E88 0024EDC8 38 A5 48 0C */ addi r5, r5, lbl_8048480C@l -/* 80251E8C 0024EDCC 4C C6 31 82 */ crclr 6 -/* 80251E90 0024EDD0 4B DD 87 B1 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80251E94: -/* 80251E94 0024EDD4 80 9E 00 20 */ lwz r4, 0x20(r30) -/* 80251E98 0024EDD8 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80251E9C 0024EDDC 7C 84 F8 2E */ lwzx r4, r4, r31 -/* 80251EA0 0024EDE0 80 04 00 44 */ lwz r0, 0x44(r4) -/* 80251EA4 0024EDE4 7C 03 F9 2E */ stwx r0, r3, r31 -/* 80251EA8 0024EDE8 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80251EAC 0024EDEC 7C 03 F8 2E */ lwzx r0, r3, r31 -/* 80251EB0 0024EDF0 28 00 00 00 */ cmplwi r0, 0 -/* 80251EB4 0024EDF4 40 82 00 20 */ bne lbl_80251ED4 -/* 80251EB8 0024EDF8 3C 60 80 48 */ lis r3, lbl_804847FC@ha -/* 80251EBC 0024EDFC 3C A0 80 48 */ lis r5, lbl_8048480C@ha -/* 80251EC0 0024EE00 38 63 47 FC */ addi r3, r3, lbl_804847FC@l -/* 80251EC4 0024EE04 38 80 00 55 */ li r4, 0x55 -/* 80251EC8 0024EE08 38 A5 48 0C */ addi r5, r5, lbl_8048480C@l -/* 80251ECC 0024EE0C 4C C6 31 82 */ crclr 6 -/* 80251ED0 0024EE10 4B DD 87 71 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80251ED4: -/* 80251ED4 0024EE14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80251ED8 0024EE18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80251EDC 0024EE1C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80251EE0 0024EE20 7C 08 03 A6 */ mtlr r0 -/* 80251EE4 0024EE24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80251EE8 0024EE28 4E 80 00 20 */ blr - -.global init__Q24Game9CameraMgrFi -init__Q24Game9CameraMgrFi: -/* 80251EEC 0024EE2C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80251EF0 0024EE30 7C 08 02 A6 */ mflr r0 -/* 80251EF4 0024EE34 90 01 00 24 */ stw r0, 0x24(r1) -/* 80251EF8 0024EE38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80251EFC 0024EE3C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80251F00 0024EE40 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80251F04 0024EE44 7C 9D 23 78 */ mr r29, r4 -/* 80251F08 0024EE48 93 81 00 10 */ stw r28, 0x10(r1) -/* 80251F0C 0024EE4C 7C 7C 1B 78 */ mr r28, r3 -/* 80251F10 0024EE50 3C 60 80 48 */ lis r3, lbl_80484190@ha -/* 80251F14 0024EE54 80 1C 00 28 */ lwz r0, 0x28(r28) -/* 80251F18 0024EE58 3B E3 41 90 */ addi r31, r3, lbl_80484190@l -/* 80251F1C 0024EE5C 28 00 00 00 */ cmplwi r0, 0 -/* 80251F20 0024EE60 40 82 00 18 */ bne lbl_80251F38 -/* 80251F24 0024EE64 38 7F 06 6C */ addi r3, r31, 0x66c -/* 80251F28 0024EE68 38 BF 06 7C */ addi r5, r31, 0x67c -/* 80251F2C 0024EE6C 38 80 00 5E */ li r4, 0x5e -/* 80251F30 0024EE70 4C C6 31 82 */ crclr 6 -/* 80251F34 0024EE74 4B DD 87 0D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80251F38: -/* 80251F38 0024EE78 80 1C 00 2C */ lwz r0, 0x2c(r28) -/* 80251F3C 0024EE7C 28 00 00 00 */ cmplwi r0, 0 -/* 80251F40 0024EE80 40 82 00 18 */ bne lbl_80251F58 -/* 80251F44 0024EE84 38 7F 06 6C */ addi r3, r31, 0x66c -/* 80251F48 0024EE88 38 BF 06 7C */ addi r5, r31, 0x67c -/* 80251F4C 0024EE8C 38 80 00 5F */ li r4, 0x5f -/* 80251F50 0024EE90 4C C6 31 82 */ crclr 6 -/* 80251F54 0024EE94 4B DD 86 ED */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80251F58: -/* 80251F58 0024EE98 80 1C 00 30 */ lwz r0, 0x30(r28) -/* 80251F5C 0024EE9C 28 00 00 00 */ cmplwi r0, 0 -/* 80251F60 0024EEA0 40 82 00 18 */ bne lbl_80251F78 -/* 80251F64 0024EEA4 38 7F 06 6C */ addi r3, r31, 0x66c -/* 80251F68 0024EEA8 38 BF 06 7C */ addi r5, r31, 0x67c -/* 80251F6C 0024EEAC 38 80 00 60 */ li r4, 0x60 -/* 80251F70 0024EEB0 4C C6 31 82 */ crclr 6 -/* 80251F74 0024EEB4 4B DD 86 CD */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80251F78: -/* 80251F78 0024EEB8 93 BC 00 18 */ stw r29, 0x18(r28) -/* 80251F7C 0024EEBC 3B C0 00 00 */ li r30, 0 -/* 80251F80 0024EEC0 3B A0 00 00 */ li r29, 0 -/* 80251F84 0024EEC4 93 DC 00 34 */ stw r30, 0x34(r28) -/* 80251F88 0024EEC8 93 DC 00 38 */ stw r30, 0x38(r28) -lbl_80251F8C: -/* 80251F8C 0024EECC 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80251F90 0024EED0 38 00 00 00 */ li r0, 0 -/* 80251F94 0024EED4 7C 03 F1 2E */ stwx r0, r3, r30 -/* 80251F98 0024EED8 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80251F9C 0024EEDC 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 80251FA0 0024EEE0 28 03 00 00 */ cmplwi r3, 0 -/* 80251FA4 0024EEE4 41 82 00 50 */ beq lbl_80251FF4 -/* 80251FA8 0024EEE8 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 80251FAC 0024EEEC 2C 00 00 00 */ cmpwi r0, 0 -/* 80251FB0 0024EEF0 40 82 00 10 */ bne lbl_80251FC0 -/* 80251FB4 0024EEF4 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 80251FB8 0024EEF8 4B FE D5 71 */ bl setCameraParms__Q24Game10PlayCameraFPQ24Game11CameraParms -/* 80251FBC 0024EEFC 48 00 00 0C */ b lbl_80251FC8 -lbl_80251FC0: -/* 80251FC0 0024EF00 80 9C 00 2C */ lwz r4, 0x2c(r28) -/* 80251FC4 0024EF04 4B FE D5 65 */ bl setCameraParms__Q24Game10PlayCameraFPQ24Game11CameraParms -lbl_80251FC8: -/* 80251FC8 0024EF08 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80251FCC 0024EF0C 80 9C 00 30 */ lwz r4, 0x30(r28) -/* 80251FD0 0024EF10 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 80251FD4 0024EF14 4B FE D5 5D */ bl setVibrationParms__Q24Game10PlayCameraFPQ24Game14VibrationParms -/* 80251FD8 0024EF18 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80251FDC 0024EF1C 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 80251FE0 0024EF20 81 83 00 00 */ lwz r12, 0(r3) -/* 80251FE4 0024EF24 81 8C 00 80 */ lwz r12, 0x80(r12) -/* 80251FE8 0024EF28 7D 89 03 A6 */ mtctr r12 -/* 80251FEC 0024EF2C 4E 80 04 21 */ bctrl -/* 80251FF0 0024EF30 48 00 00 18 */ b lbl_80252008 -lbl_80251FF4: -/* 80251FF4 0024EF34 38 7F 06 6C */ addi r3, r31, 0x66c -/* 80251FF8 0024EF38 38 BF 06 88 */ addi r5, r31, 0x688 -/* 80251FFC 0024EF3C 38 80 00 7C */ li r4, 0x7c -/* 80252000 0024EF40 4C C6 31 82 */ crclr 6 -/* 80252004 0024EF44 4B DD 86 3D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80252008: -/* 80252008 0024EF48 3B BD 00 01 */ addi r29, r29, 1 -/* 8025200C 0024EF4C 3B DE 00 04 */ addi r30, r30, 4 -/* 80252010 0024EF50 2C 1D 00 02 */ cmpwi r29, 2 -/* 80252014 0024EF54 41 80 FF 78 */ blt lbl_80251F8C -/* 80252018 0024EF58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025201C 0024EF5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80252020 0024EF60 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80252024 0024EF64 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80252028 0024EF68 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8025202C 0024EF6C 7C 08 03 A6 */ mtlr r0 -/* 80252030 0024EF70 38 21 00 20 */ addi r1, r1, 0x20 -/* 80252034 0024EF74 4E 80 00 20 */ blr - -.global setCameraAngle__Q24Game9CameraMgrFfi -setCameraAngle__Q24Game9CameraMgrFfi: -/* 80252038 0024EF78 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025203C 0024EF7C 7C 08 02 A6 */ mflr r0 -/* 80252040 0024EF80 7C 85 23 78 */ mr r5, r4 -/* 80252044 0024EF84 90 01 00 34 */ stw r0, 0x34(r1) -/* 80252048 0024EF88 38 81 00 08 */ addi r4, r1, 8 -/* 8025204C 0024EF8C DB E1 00 28 */ stfd f31, 0x28(r1) -/* 80252050 0024EF90 FF E0 08 90 */ fmr f31, f1 -/* 80252054 0024EF94 93 E1 00 24 */ stw r31, 0x24(r1) -/* 80252058 0024EF98 93 C1 00 20 */ stw r30, 0x20(r1) -/* 8025205C 0024EF9C 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 80252060 0024EFA0 7C 7D 1B 78 */ mr r29, r3 -/* 80252064 0024EFA4 48 00 08 2D */ bl isStartAndEnd__Q24Game9CameraMgrFPii -/* 80252068 0024EFA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025206C 0024EFAC 41 82 00 40 */ beq lbl_802520AC -/* 80252070 0024EFB0 80 01 00 08 */ lwz r0, 8(r1) -/* 80252074 0024EFB4 7C 1E 03 78 */ mr r30, r0 -/* 80252078 0024EFB8 54 1F 10 3A */ slwi r31, r0, 2 -/* 8025207C 0024EFBC 48 00 00 24 */ b lbl_802520A0 -lbl_80252080: -/* 80252080 0024EFC0 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80252084 0024EFC4 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80252088 0024EFC8 28 03 00 00 */ cmplwi r3, 0 -/* 8025208C 0024EFCC 41 82 00 0C */ beq lbl_80252098 -/* 80252090 0024EFD0 FC 20 F8 90 */ fmr f1, f31 -/* 80252094 0024EFD4 4B FE D6 11 */ bl setCameraAngle__Q24Game10PlayCameraFf -lbl_80252098: -/* 80252098 0024EFD8 3B FF 00 04 */ addi r31, r31, 4 -/* 8025209C 0024EFDC 3B DE 00 01 */ addi r30, r30, 1 -lbl_802520A0: -/* 802520A0 0024EFE0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802520A4 0024EFE4 7C 1E 00 00 */ cmpw r30, r0 -/* 802520A8 0024EFE8 41 80 FF D8 */ blt lbl_80252080 -lbl_802520AC: -/* 802520AC 0024EFEC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802520B0 0024EFF0 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 802520B4 0024EFF4 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 802520B8 0024EFF8 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 802520BC 0024EFFC 83 A1 00 1C */ lwz r29, 0x1c(r1) -/* 802520C0 0024F000 7C 08 03 A6 */ mtlr r0 -/* 802520C4 0024F004 38 21 00 30 */ addi r1, r1, 0x30 -/* 802520C8 0024F008 4E 80 00 20 */ blr - -.global update__Q24Game9CameraMgrFv -update__Q24Game9CameraMgrFv: -/* 802520CC 0024F00C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802520D0 0024F010 7C 08 02 A6 */ mflr r0 -/* 802520D4 0024F014 90 01 00 84 */ stw r0, 0x84(r1) -/* 802520D8 0024F018 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802520DC 0024F01C 7C 7F 1B 78 */ mr r31, r3 -/* 802520E0 0024F020 93 C1 00 78 */ stw r30, 0x78(r1) -/* 802520E4 0024F024 93 A1 00 74 */ stw r29, 0x74(r1) -/* 802520E8 0024F028 48 00 07 81 */ bl isCameraUpdateOn__Q24Game9CameraMgrFv -/* 802520EC 0024F02C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802520F0 0024F030 41 82 01 30 */ beq lbl_80252220 -/* 802520F4 0024F034 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 802520F8 0024F038 2C 00 00 02 */ cmpwi r0, 2 -/* 802520FC 0024F03C 40 82 00 2C */ bne lbl_80252128 -/* 80252100 0024F040 3B A0 00 00 */ li r29, 0 -/* 80252104 0024F044 3B C0 00 00 */ li r30, 0 -lbl_80252108: -/* 80252108 0024F048 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8025210C 0024F04C 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 80252110 0024F050 48 1C 8C A5 */ bl update__6CameraFv -/* 80252114 0024F054 3B BD 00 01 */ addi r29, r29, 1 -/* 80252118 0024F058 3B DE 00 04 */ addi r30, r30, 4 -/* 8025211C 0024F05C 2C 1D 00 02 */ cmpwi r29, 2 -/* 80252120 0024F060 41 80 FF E8 */ blt lbl_80252108 -/* 80252124 0024F064 48 00 00 AC */ b lbl_802521D0 -lbl_80252128: -/* 80252128 0024F068 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 8025212C 0024F06C 4B F0 8A F5 */ bl getActiveNavi__Q24Game7NaviMgrFv -/* 80252130 0024F070 28 03 00 00 */ cmplwi r3, 0 -/* 80252134 0024F074 41 82 00 78 */ beq lbl_802521AC -/* 80252138 0024F078 A3 A3 02 DC */ lhz r29, 0x2dc(r3) -/* 8025213C 0024F07C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80252140 0024F080 57 BE 10 3A */ slwi r30, r29, 2 -/* 80252144 0024F084 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 80252148 0024F088 48 1C 8C 6D */ bl update__6CameraFv -/* 8025214C 0024F08C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80252150 0024F090 38 81 00 38 */ addi r4, r1, 0x38 -/* 80252154 0024F094 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 80252158 0024F098 38 63 01 44 */ addi r3, r3, 0x144 -/* 8025215C 0024F09C 4B E9 81 71 */ bl PSMTXCopy -/* 80252160 0024F0A0 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80252164 0024F0A4 38 81 00 0C */ addi r4, r1, 0xc -/* 80252168 0024F0A8 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 8025216C 0024F0AC 4B FE D5 6D */ bl getCameraData__Q24Game10PlayCameraFRQ24Game10CameraData -/* 80252170 0024F0B0 6B A0 00 01 */ xori r0, r29, 1 -/* 80252174 0024F0B4 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 80252178 0024F0B8 54 1E 10 3A */ slwi r30, r0, 2 -/* 8025217C 0024F0BC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80252180 0024F0C0 7C 84 F0 2E */ lwzx r4, r4, r30 -/* 80252184 0024F0C4 38 84 01 44 */ addi r4, r4, 0x144 -/* 80252188 0024F0C8 4B E9 81 45 */ bl PSMTXCopy -/* 8025218C 0024F0CC 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80252190 0024F0D0 38 81 00 0C */ addi r4, r1, 0xc -/* 80252194 0024F0D4 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 80252198 0024F0D8 4B FE D5 9D */ bl setCameraData__Q24Game10PlayCameraFRQ24Game10CameraData -/* 8025219C 0024F0DC 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 802521A0 0024F0E0 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 802521A4 0024F0E4 4B FE D8 81 */ bl noUpdate__Q24Game10PlayCameraFv -/* 802521A8 0024F0E8 48 00 00 28 */ b lbl_802521D0 -lbl_802521AC: -/* 802521AC 0024F0EC 3B A0 00 00 */ li r29, 0 -/* 802521B0 0024F0F0 3B C0 00 00 */ li r30, 0 -lbl_802521B4: -/* 802521B4 0024F0F4 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 802521B8 0024F0F8 7C 63 F0 2E */ lwzx r3, r3, r30 -/* 802521BC 0024F0FC 48 1C 8B F9 */ bl update__6CameraFv -/* 802521C0 0024F100 3B BD 00 01 */ addi r29, r29, 1 -/* 802521C4 0024F104 3B DE 00 04 */ addi r30, r30, 4 -/* 802521C8 0024F108 2C 1D 00 02 */ cmpwi r29, 2 -/* 802521CC 0024F10C 41 80 FF E8 */ blt lbl_802521B4 -lbl_802521D0: -/* 802521D0 0024F110 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 802521D4 0024F114 28 00 00 00 */ cmplwi r0, 0 -/* 802521D8 0024F118 41 82 00 48 */ beq lbl_80252220 -/* 802521DC 0024F11C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 802521E0 0024F120 80 83 00 00 */ lwz r4, 0(r3) -/* 802521E4 0024F124 80 63 00 04 */ lwz r3, 4(r3) -/* 802521E8 0024F128 80 84 01 9C */ lwz r4, 0x19c(r4) -/* 802521EC 0024F12C 80 03 01 9C */ lwz r0, 0x19c(r3) -/* 802521F0 0024F130 7C 80 03 79 */ or. r0, r4, r0 -/* 802521F4 0024F134 40 82 00 2C */ bne lbl_80252220 -/* 802521F8 0024F138 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 802521FC 0024F13C 38 81 00 08 */ addi r4, r1, 8 -/* 80252200 0024F140 90 01 00 08 */ stw r0, 8(r1) -/* 80252204 0024F144 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80252208 0024F148 81 83 00 00 */ lwz r12, 0(r3) -/* 8025220C 0024F14C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80252210 0024F150 7D 89 03 A6 */ mtctr r12 -/* 80252214 0024F154 4E 80 04 21 */ bctrl -/* 80252218 0024F158 38 00 00 00 */ li r0, 0 -/* 8025221C 0024F15C 90 1F 00 34 */ stw r0, 0x34(r31) -lbl_80252220: -/* 80252220 0024F160 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80252224 0024F164 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80252228 0024F168 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8025222C 0024F16C 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 80252230 0024F170 7C 08 03 A6 */ mtlr r0 -/* 80252234 0024F174 38 21 00 80 */ addi r1, r1, 0x80 -/* 80252238 0024F178 4E 80 00 20 */ blr - -.global startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i: -/* 8025223C 0024F17C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80252240 0024F180 7C 08 02 A6 */ mflr r0 -/* 80252244 0024F184 90 01 00 44 */ stw r0, 0x44(r1) -/* 80252248 0024F188 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8025224C 0024F18C 7C 7B 1B 78 */ mr r27, r3 -/* 80252250 0024F190 7C 9C 23 78 */ mr r28, r4 -/* 80252254 0024F194 7C BD 2B 78 */ mr r29, r5 -/* 80252258 0024F198 80 03 00 38 */ lwz r0, 0x38(r3) -/* 8025225C 0024F19C 28 00 00 00 */ cmplwi r0, 0 -/* 80252260 0024F1A0 41 82 00 1C */ beq lbl_8025227C -/* 80252264 0024F1A4 7C 03 03 78 */ mr r3, r0 -/* 80252268 0024F1A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8025226C 0024F1AC 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 80252270 0024F1B0 7D 89 03 A6 */ mtctr r12 -/* 80252274 0024F1B4 4E 80 04 21 */ bctrl -/* 80252278 0024F1B8 48 00 01 04 */ b lbl_8025237C -lbl_8025227C: -/* 8025227C 0024F1BC 7C C5 33 78 */ mr r5, r6 -/* 80252280 0024F1C0 38 81 00 08 */ addi r4, r1, 8 -/* 80252284 0024F1C4 48 00 06 0D */ bl isStartAndEnd__Q24Game9CameraMgrFPii -/* 80252288 0024F1C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025228C 0024F1CC 41 82 00 F0 */ beq lbl_8025237C -/* 80252290 0024F1D0 80 01 00 08 */ lwz r0, 8(r1) -/* 80252294 0024F1D4 7C 1E 03 78 */ mr r30, r0 -/* 80252298 0024F1D8 54 1F 10 3A */ slwi r31, r0, 2 -/* 8025229C 0024F1DC 48 00 00 D4 */ b lbl_80252370 -lbl_802522A0: -/* 802522A0 0024F1E0 80 7B 00 20 */ lwz r3, 0x20(r27) -/* 802522A4 0024F1E4 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802522A8 0024F1E8 48 1D 2F 99 */ bl viewable__8ViewportFv -/* 802522AC 0024F1EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802522B0 0024F1F0 41 82 00 B8 */ beq lbl_80252368 -/* 802522B4 0024F1F4 7F 63 DB 78 */ mr r3, r27 -/* 802522B8 0024F1F8 7F 84 E3 78 */ mr r4, r28 -/* 802522BC 0024F1FC 7F C5 F3 78 */ mr r5, r30 -/* 802522C0 0024F200 48 00 06 39 */ bl isVibrationStart__Q24Game9CameraMgrFii -/* 802522C4 0024F204 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802522C8 0024F208 41 82 00 A0 */ beq lbl_80252368 -/* 802522CC 0024F20C 80 9B 00 24 */ lwz r4, 0x24(r27) -/* 802522D0 0024F210 38 61 00 10 */ addi r3, r1, 0x10 -/* 802522D4 0024F214 7C 84 F8 2E */ lwzx r4, r4, r31 -/* 802522D8 0024F218 80 84 01 98 */ lwz r4, 0x198(r4) -/* 802522DC 0024F21C 81 84 00 00 */ lwz r12, 0(r4) -/* 802522E0 0024F220 81 8C 00 08 */ lwz r12, 8(r12) -/* 802522E4 0024F224 7D 89 03 A6 */ mtctr r12 -/* 802522E8 0024F228 4E 80 04 21 */ bctrl -/* 802522EC 0024F22C C0 3D 00 04 */ lfs f1, 4(r29) -/* 802522F0 0024F230 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 802522F4 0024F234 C0 7D 00 00 */ lfs f3, 0(r29) -/* 802522F8 0024F238 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802522FC 0024F23C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80252300 0024F240 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80252304 0024F244 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80252308 0024F248 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8025230C 0024F24C EC 84 01 32 */ fmuls f4, f4, f4 -/* 80252310 0024F250 EC 41 00 28 */ fsubs f2, f1, f0 -/* 80252314 0024F254 C0 02 C5 3C */ lfs f0, lbl_8051A89C@sda21(r2) -/* 80252318 0024F258 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 8025231C 0024F25C EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80252320 0024F260 EC 22 08 2A */ fadds f1, f2, f1 -/* 80252324 0024F264 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252328 0024F268 40 81 00 14 */ ble lbl_8025233C -/* 8025232C 0024F26C 40 81 00 14 */ ble lbl_80252340 -/* 80252330 0024F270 FC 00 08 34 */ frsqrte f0, f1 -/* 80252334 0024F274 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80252338 0024F278 48 00 00 08 */ b lbl_80252340 -lbl_8025233C: -/* 8025233C 0024F27C FC 20 00 90 */ fmr f1, f0 -lbl_80252340: -/* 80252340 0024F280 80 7B 00 30 */ lwz r3, 0x30(r27) -/* 80252344 0024F284 C0 43 02 F4 */ lfs f2, 0x2f4(r3) -/* 80252348 0024F288 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8025234C 0024F28C 40 80 00 1C */ bge lbl_80252368 -/* 80252350 0024F290 EC 02 08 28 */ fsubs f0, f2, f1 -/* 80252354 0024F294 80 7B 00 24 */ lwz r3, 0x24(r27) -/* 80252358 0024F298 7F 84 E3 78 */ mr r4, r28 -/* 8025235C 0024F29C 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80252360 0024F2A0 EC 20 10 24 */ fdivs f1, f0, f2 -/* 80252364 0024F2A4 4B FE D7 81 */ bl startVibration__Q24Game10PlayCameraFif -lbl_80252368: -/* 80252368 0024F2A8 3B FF 00 04 */ addi r31, r31, 4 -/* 8025236C 0024F2AC 3B DE 00 01 */ addi r30, r30, 1 -lbl_80252370: -/* 80252370 0024F2B0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80252374 0024F2B4 7C 1E 00 00 */ cmpw r30, r0 -/* 80252378 0024F2B8 41 80 FF 28 */ blt lbl_802522A0 -lbl_8025237C: -/* 8025237C 0024F2BC BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 80252380 0024F2C0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80252384 0024F2C4 7C 08 03 A6 */ mtlr r0 -/* 80252388 0024F2C8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8025238C 0024F2CC 4E 80 00 20 */ blr - -.global startVibration__Q24Game9CameraMgrFii -startVibration__Q24Game9CameraMgrFii: -/* 80252390 0024F2D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80252394 0024F2D4 7C 08 02 A6 */ mflr r0 -/* 80252398 0024F2D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025239C 0024F2DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802523A0 0024F2E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802523A4 0024F2E4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802523A8 0024F2E8 7C 9D 23 78 */ mr r29, r4 -/* 802523AC 0024F2EC 93 81 00 10 */ stw r28, 0x10(r1) -/* 802523B0 0024F2F0 7C 7C 1B 78 */ mr r28, r3 -/* 802523B4 0024F2F4 80 03 00 38 */ lwz r0, 0x38(r3) -/* 802523B8 0024F2F8 28 00 00 00 */ cmplwi r0, 0 -/* 802523BC 0024F2FC 41 82 00 1C */ beq lbl_802523D8 -/* 802523C0 0024F300 7C 03 03 78 */ mr r3, r0 -/* 802523C4 0024F304 81 83 00 00 */ lwz r12, 0(r3) -/* 802523C8 0024F308 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 802523CC 0024F30C 7D 89 03 A6 */ mtctr r12 -/* 802523D0 0024F310 4E 80 04 21 */ bctrl -/* 802523D4 0024F314 48 00 00 78 */ b lbl_8025244C -lbl_802523D8: -/* 802523D8 0024F318 38 81 00 08 */ addi r4, r1, 8 -/* 802523DC 0024F31C 48 00 04 B5 */ bl isStartAndEnd__Q24Game9CameraMgrFPii -/* 802523E0 0024F320 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802523E4 0024F324 41 82 00 68 */ beq lbl_8025244C -/* 802523E8 0024F328 80 01 00 08 */ lwz r0, 8(r1) -/* 802523EC 0024F32C 7C 1E 03 78 */ mr r30, r0 -/* 802523F0 0024F330 54 1F 10 3A */ slwi r31, r0, 2 -/* 802523F4 0024F334 48 00 00 4C */ b lbl_80252440 -lbl_802523F8: -/* 802523F8 0024F338 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 802523FC 0024F33C 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80252400 0024F340 48 1D 2E 41 */ bl viewable__8ViewportFv -/* 80252404 0024F344 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80252408 0024F348 41 82 00 30 */ beq lbl_80252438 -/* 8025240C 0024F34C 7F 83 E3 78 */ mr r3, r28 -/* 80252410 0024F350 7F A4 EB 78 */ mr r4, r29 -/* 80252414 0024F354 7F C5 F3 78 */ mr r5, r30 -/* 80252418 0024F358 48 00 04 E1 */ bl isVibrationStart__Q24Game9CameraMgrFii -/* 8025241C 0024F35C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80252420 0024F360 41 82 00 18 */ beq lbl_80252438 -/* 80252424 0024F364 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80252428 0024F368 7F A4 EB 78 */ mr r4, r29 -/* 8025242C 0024F36C C0 22 C5 38 */ lfs f1, lbl_8051A898@sda21(r2) -/* 80252430 0024F370 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80252434 0024F374 4B FE D6 B1 */ bl startVibration__Q24Game10PlayCameraFif -lbl_80252438: -/* 80252438 0024F378 3B FF 00 04 */ addi r31, r31, 4 -/* 8025243C 0024F37C 3B DE 00 01 */ addi r30, r30, 1 -lbl_80252440: -/* 80252440 0024F380 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80252444 0024F384 7C 1E 00 00 */ cmpw r30, r0 -/* 80252448 0024F388 41 80 FF B0 */ blt lbl_802523F8 -lbl_8025244C: -/* 8025244C 0024F38C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80252450 0024F390 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80252454 0024F394 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80252458 0024F398 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025245C 0024F39C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80252460 0024F3A0 7C 08 03 A6 */ mtlr r0 -/* 80252464 0024F3A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80252468 0024F3A8 4E 80 00 20 */ blr - -.global controllerLock__Q24Game9CameraMgrFi -controllerLock__Q24Game9CameraMgrFi: -/* 8025246C 0024F3AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80252470 0024F3B0 7C 08 02 A6 */ mflr r0 -/* 80252474 0024F3B4 7C 85 23 78 */ mr r5, r4 -/* 80252478 0024F3B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025247C 0024F3BC 38 81 00 08 */ addi r4, r1, 8 -/* 80252480 0024F3C0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80252484 0024F3C4 7C 7F 1B 78 */ mr r31, r3 -/* 80252488 0024F3C8 48 00 04 09 */ bl isStartAndEnd__Q24Game9CameraMgrFPii -/* 8025248C 0024F3CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80252490 0024F3D0 41 82 00 38 */ beq lbl_802524C8 -/* 80252494 0024F3D4 80 01 00 08 */ lwz r0, 8(r1) -/* 80252498 0024F3D8 38 80 00 00 */ li r4, 0 -/* 8025249C 0024F3DC 7C 06 03 78 */ mr r6, r0 -/* 802524A0 0024F3E0 54 05 10 3A */ slwi r5, r0, 2 -/* 802524A4 0024F3E4 48 00 00 18 */ b lbl_802524BC -lbl_802524A8: -/* 802524A8 0024F3E8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 802524AC 0024F3EC 38 C6 00 01 */ addi r6, r6, 1 -/* 802524B0 0024F3F0 7C 63 28 2E */ lwzx r3, r3, r5 -/* 802524B4 0024F3F4 38 A5 00 04 */ addi r5, r5, 4 -/* 802524B8 0024F3F8 98 83 02 48 */ stb r4, 0x248(r3) -lbl_802524BC: -/* 802524BC 0024F3FC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802524C0 0024F400 7C 06 00 00 */ cmpw r6, r0 -/* 802524C4 0024F404 41 80 FF E4 */ blt lbl_802524A8 -lbl_802524C8: -/* 802524C8 0024F408 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802524CC 0024F40C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802524D0 0024F410 7C 08 03 A6 */ mtlr r0 -/* 802524D4 0024F414 38 21 00 20 */ addi r1, r1, 0x20 -/* 802524D8 0024F418 4E 80 00 20 */ blr - -.global controllerUnLock__Q24Game9CameraMgrFi -controllerUnLock__Q24Game9CameraMgrFi: -/* 802524DC 0024F41C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802524E0 0024F420 7C 08 02 A6 */ mflr r0 -/* 802524E4 0024F424 7C 85 23 78 */ mr r5, r4 -/* 802524E8 0024F428 90 01 00 24 */ stw r0, 0x24(r1) -/* 802524EC 0024F42C 38 81 00 08 */ addi r4, r1, 8 -/* 802524F0 0024F430 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802524F4 0024F434 7C 7F 1B 78 */ mr r31, r3 -/* 802524F8 0024F438 48 00 03 99 */ bl isStartAndEnd__Q24Game9CameraMgrFPii -/* 802524FC 0024F43C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80252500 0024F440 41 82 00 38 */ beq lbl_80252538 -/* 80252504 0024F444 80 01 00 08 */ lwz r0, 8(r1) -/* 80252508 0024F448 38 80 00 01 */ li r4, 1 -/* 8025250C 0024F44C 7C 06 03 78 */ mr r6, r0 -/* 80252510 0024F450 54 05 10 3A */ slwi r5, r0, 2 -/* 80252514 0024F454 48 00 00 18 */ b lbl_8025252C -lbl_80252518: -/* 80252518 0024F458 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8025251C 0024F45C 38 C6 00 01 */ addi r6, r6, 1 -/* 80252520 0024F460 7C 63 28 2E */ lwzx r3, r3, r5 -/* 80252524 0024F464 38 A5 00 04 */ addi r5, r5, 4 -/* 80252528 0024F468 98 83 02 48 */ stb r4, 0x248(r3) -lbl_8025252C: -/* 8025252C 0024F46C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80252530 0024F470 7C 06 00 00 */ cmpw r6, r0 -/* 80252534 0024F474 41 80 FF E4 */ blt lbl_80252518 -lbl_80252538: -/* 80252538 0024F478 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025253C 0024F47C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80252540 0024F480 7C 08 03 A6 */ mtlr r0 -/* 80252544 0024F484 38 21 00 20 */ addi r1, r1, 0x20 -/* 80252548 0024F488 4E 80 00 20 */ blr - -.global startDemoCamera__Q24Game9CameraMgrFii -startDemoCamera__Q24Game9CameraMgrFii: -/* 8025254C 0024F48C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80252550 0024F490 7C 08 02 A6 */ mflr r0 -/* 80252554 0024F494 90 01 00 24 */ stw r0, 0x24(r1) -/* 80252558 0024F498 7C 80 23 78 */ mr r0, r4 -/* 8025255C 0024F49C 38 81 00 08 */ addi r4, r1, 8 -/* 80252560 0024F4A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80252564 0024F4A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80252568 0024F4A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8025256C 0024F4AC 7C BD 2B 78 */ mr r29, r5 -/* 80252570 0024F4B0 7C 05 03 78 */ mr r5, r0 -/* 80252574 0024F4B4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80252578 0024F4B8 7C 7C 1B 78 */ mr r28, r3 -/* 8025257C 0024F4BC 48 00 03 15 */ bl isStartAndEnd__Q24Game9CameraMgrFPii -/* 80252580 0024F4C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80252584 0024F4C4 41 82 00 38 */ beq lbl_802525BC -/* 80252588 0024F4C8 80 01 00 08 */ lwz r0, 8(r1) -/* 8025258C 0024F4CC 7C 1E 03 78 */ mr r30, r0 -/* 80252590 0024F4D0 54 1F 10 3A */ slwi r31, r0, 2 -/* 80252594 0024F4D4 48 00 00 1C */ b lbl_802525B0 -lbl_80252598: -/* 80252598 0024F4D8 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8025259C 0024F4DC 7F A4 EB 78 */ mr r4, r29 -/* 802525A0 0024F4E0 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802525A4 0024F4E4 4B FE D7 49 */ bl startDemoCamera__Q24Game10PlayCameraFi -/* 802525A8 0024F4E8 3B FF 00 04 */ addi r31, r31, 4 -/* 802525AC 0024F4EC 3B DE 00 01 */ addi r30, r30, 1 -lbl_802525B0: -/* 802525B0 0024F4F0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802525B4 0024F4F4 7C 1E 00 00 */ cmpw r30, r0 -/* 802525B8 0024F4F8 41 80 FF E0 */ blt lbl_80252598 -lbl_802525BC: -/* 802525BC 0024F4FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802525C0 0024F500 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802525C4 0024F504 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802525C8 0024F508 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802525CC 0024F50C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802525D0 0024F510 7C 08 03 A6 */ mtlr r0 -/* 802525D4 0024F514 38 21 00 20 */ addi r1, r1, 0x20 -/* 802525D8 0024F518 4E 80 00 20 */ blr - -.global finishDemoCamera__Q24Game9CameraMgrFi -finishDemoCamera__Q24Game9CameraMgrFi: -/* 802525DC 0024F51C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802525E0 0024F520 7C 08 02 A6 */ mflr r0 -/* 802525E4 0024F524 7C 85 23 78 */ mr r5, r4 -/* 802525E8 0024F528 90 01 00 24 */ stw r0, 0x24(r1) -/* 802525EC 0024F52C 38 81 00 08 */ addi r4, r1, 8 -/* 802525F0 0024F530 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802525F4 0024F534 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802525F8 0024F538 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802525FC 0024F53C 7C 7D 1B 78 */ mr r29, r3 -/* 80252600 0024F540 48 00 02 91 */ bl isStartAndEnd__Q24Game9CameraMgrFPii -/* 80252604 0024F544 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80252608 0024F548 41 82 00 34 */ beq lbl_8025263C -/* 8025260C 0024F54C 80 01 00 08 */ lwz r0, 8(r1) -/* 80252610 0024F550 7C 1E 03 78 */ mr r30, r0 -/* 80252614 0024F554 54 1F 10 3A */ slwi r31, r0, 2 -/* 80252618 0024F558 48 00 00 18 */ b lbl_80252630 -lbl_8025261C: -/* 8025261C 0024F55C 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80252620 0024F560 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80252624 0024F564 4B FE D7 99 */ bl finishDemoCamera__Q24Game10PlayCameraFv -/* 80252628 0024F568 3B FF 00 04 */ addi r31, r31, 4 -/* 8025262C 0024F56C 3B DE 00 01 */ addi r30, r30, 1 -lbl_80252630: -/* 80252630 0024F570 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80252634 0024F574 7C 1E 00 00 */ cmpw r30, r0 -/* 80252638 0024F578 41 80 FF E4 */ blt lbl_8025261C -lbl_8025263C: -/* 8025263C 0024F57C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80252640 0024F580 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80252644 0024F584 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80252648 0024F588 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025264C 0024F58C 7C 08 03 A6 */ mtlr r0 -/* 80252650 0024F590 38 21 00 20 */ addi r1, r1, 0x20 -/* 80252654 0024F594 4E 80 00 20 */ blr - -.global changePlayerMode__Q24Game9CameraMgrFiP30IDelegate1$$0PQ24Game9CameraArg$$1 -changePlayerMode__Q24Game9CameraMgrFiP30IDelegate1$$0PQ24Game9CameraArg$$1: -/* 80252658 0024F598 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8025265C 0024F59C 7C 08 02 A6 */ mflr r0 -/* 80252660 0024F5A0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80252664 0024F5A4 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80252668 0024F5A8 7C BF 2B 78 */ mr r31, r5 -/* 8025266C 0024F5AC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80252670 0024F5B0 7C 9E 23 78 */ mr r30, r4 -/* 80252674 0024F5B4 2C 1E 00 01 */ cmpwi r30, 1 -/* 80252678 0024F5B8 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8025267C 0024F5BC 7C 7D 1B 78 */ mr r29, r3 -/* 80252680 0024F5C0 93 81 00 60 */ stw r28, 0x60(r1) -/* 80252684 0024F5C4 3B 80 00 00 */ li r28, 0 -/* 80252688 0024F5C8 41 82 00 74 */ beq lbl_802526FC -/* 8025268C 0024F5CC 40 80 00 10 */ bge lbl_8025269C -/* 80252690 0024F5D0 2C 1E 00 00 */ cmpwi r30, 0 -/* 80252694 0024F5D4 40 80 00 14 */ bge lbl_802526A8 -/* 80252698 0024F5D8 48 00 00 F8 */ b lbl_80252790 -lbl_8025269C: -/* 8025269C 0024F5DC 2C 1E 00 03 */ cmpwi r30, 3 -/* 802526A0 0024F5E0 40 80 00 F0 */ bge lbl_80252790 -/* 802526A4 0024F5E4 48 00 00 AC */ b lbl_80252750 -lbl_802526A8: -/* 802526A8 0024F5E8 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 802526AC 0024F5EC 2C 00 00 01 */ cmpwi r0, 1 -/* 802526B0 0024F5F0 40 82 00 28 */ bne lbl_802526D8 -/* 802526B4 0024F5F4 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 802526B8 0024F5F8 38 81 00 34 */ addi r4, r1, 0x34 -/* 802526BC 0024F5FC 80 63 00 04 */ lwz r3, 4(r3) -/* 802526C0 0024F600 4B FE D0 19 */ bl getCameraData__Q24Game10PlayCameraFRQ24Game10CameraData -/* 802526C4 0024F604 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 802526C8 0024F608 38 81 00 34 */ addi r4, r1, 0x34 -/* 802526CC 0024F60C 80 63 00 00 */ lwz r3, 0(r3) -/* 802526D0 0024F610 4B FE D0 65 */ bl setCameraData__Q24Game10PlayCameraFRQ24Game10CameraData -/* 802526D4 0024F614 3B 80 00 01 */ li r28, 1 -lbl_802526D8: -/* 802526D8 0024F618 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 802526DC 0024F61C 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 802526E0 0024F620 80 63 00 00 */ lwz r3, 0(r3) -/* 802526E4 0024F624 4B FE CE 45 */ bl setCameraParms__Q24Game10PlayCameraFPQ24Game11CameraParms -/* 802526E8 0024F628 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 802526EC 0024F62C 7F 84 E3 78 */ mr r4, r28 -/* 802526F0 0024F630 80 63 00 00 */ lwz r3, 0(r3) -/* 802526F4 0024F634 4B FE D0 9D */ bl changePlayerMode__Q24Game10PlayCameraFb -/* 802526F8 0024F638 48 00 00 98 */ b lbl_80252790 -lbl_802526FC: -/* 802526FC 0024F63C 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 80252700 0024F640 2C 00 00 00 */ cmpwi r0, 0 -/* 80252704 0024F644 40 82 00 28 */ bne lbl_8025272C -/* 80252708 0024F648 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8025270C 0024F64C 38 81 00 08 */ addi r4, r1, 8 -/* 80252710 0024F650 80 63 00 00 */ lwz r3, 0(r3) -/* 80252714 0024F654 4B FE CF C5 */ bl getCameraData__Q24Game10PlayCameraFRQ24Game10CameraData -/* 80252718 0024F658 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8025271C 0024F65C 38 81 00 08 */ addi r4, r1, 8 -/* 80252720 0024F660 80 63 00 04 */ lwz r3, 4(r3) -/* 80252724 0024F664 4B FE D0 11 */ bl setCameraData__Q24Game10PlayCameraFRQ24Game10CameraData -/* 80252728 0024F668 3B 80 00 01 */ li r28, 1 -lbl_8025272C: -/* 8025272C 0024F66C 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80252730 0024F670 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 80252734 0024F674 80 63 00 04 */ lwz r3, 4(r3) -/* 80252738 0024F678 4B FE CD F1 */ bl setCameraParms__Q24Game10PlayCameraFPQ24Game11CameraParms -/* 8025273C 0024F67C 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80252740 0024F680 7F 84 E3 78 */ mr r4, r28 -/* 80252744 0024F684 80 63 00 04 */ lwz r3, 4(r3) -/* 80252748 0024F688 4B FE D0 49 */ bl changePlayerMode__Q24Game10PlayCameraFb -/* 8025274C 0024F68C 48 00 00 44 */ b lbl_80252790 -lbl_80252750: -/* 80252750 0024F690 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80252754 0024F694 80 9D 00 2C */ lwz r4, 0x2c(r29) -/* 80252758 0024F698 80 63 00 00 */ lwz r3, 0(r3) -/* 8025275C 0024F69C 4B FE CD CD */ bl setCameraParms__Q24Game10PlayCameraFPQ24Game11CameraParms -/* 80252760 0024F6A0 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80252764 0024F6A4 38 80 00 00 */ li r4, 0 -/* 80252768 0024F6A8 80 63 00 00 */ lwz r3, 0(r3) -/* 8025276C 0024F6AC 4B FE D0 25 */ bl changePlayerMode__Q24Game10PlayCameraFb -/* 80252770 0024F6B0 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80252774 0024F6B4 80 9D 00 2C */ lwz r4, 0x2c(r29) -/* 80252778 0024F6B8 80 63 00 04 */ lwz r3, 4(r3) -/* 8025277C 0024F6BC 4B FE CD AD */ bl setCameraParms__Q24Game10PlayCameraFPQ24Game11CameraParms -/* 80252780 0024F6C0 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80252784 0024F6C4 38 80 00 00 */ li r4, 0 -/* 80252788 0024F6C8 80 63 00 04 */ lwz r3, 4(r3) -/* 8025278C 0024F6CC 4B FE D0 05 */ bl changePlayerMode__Q24Game10PlayCameraFb -lbl_80252790: -/* 80252790 0024F6D0 93 DD 00 18 */ stw r30, 0x18(r29) -/* 80252794 0024F6D4 93 FD 00 34 */ stw r31, 0x34(r29) -/* 80252798 0024F6D8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8025279C 0024F6DC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802527A0 0024F6E0 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802527A4 0024F6E4 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 802527A8 0024F6E8 83 81 00 60 */ lwz r28, 0x60(r1) -/* 802527AC 0024F6EC 7C 08 03 A6 */ mtlr r0 -/* 802527B0 0024F6F0 38 21 00 70 */ addi r1, r1, 0x70 -/* 802527B4 0024F6F4 4E 80 00 20 */ blr - -.global isChangePlayer__Q24Game9CameraMgrFv -isChangePlayer__Q24Game9CameraMgrFv: -/* 802527B8 0024F6F8 80 03 00 34 */ lwz r0, 0x34(r3) -/* 802527BC 0024F6FC 28 00 00 00 */ cmplwi r0, 0 -/* 802527C0 0024F700 41 82 00 0C */ beq lbl_802527CC -/* 802527C4 0024F704 38 60 00 01 */ li r3, 1 -/* 802527C8 0024F708 4E 80 00 20 */ blr -lbl_802527CC: -/* 802527CC 0024F70C 80 83 00 24 */ lwz r4, 0x24(r3) -/* 802527D0 0024F710 80 64 00 00 */ lwz r3, 0(r4) -/* 802527D4 0024F714 80 63 01 9C */ lwz r3, 0x19c(r3) -/* 802527D8 0024F718 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 802527DC 0024F71C 7C 65 1B 78 */ mr r5, r3 -/* 802527E0 0024F720 41 82 00 0C */ beq lbl_802527EC -/* 802527E4 0024F724 38 60 00 01 */ li r3, 1 -/* 802527E8 0024F728 4E 80 00 20 */ blr -lbl_802527EC: -/* 802527EC 0024F72C 80 64 00 04 */ lwz r3, 4(r4) -/* 802527F0 0024F730 80 63 01 9C */ lwz r3, 0x19c(r3) -/* 802527F4 0024F734 7C A5 1B 78 */ or r5, r5, r3 -/* 802527F8 0024F738 54 A0 07 FF */ clrlwi. r0, r5, 0x1f -/* 802527FC 0024F73C 41 82 00 0C */ beq lbl_80252808 -/* 80252800 0024F740 38 60 00 01 */ li r3, 1 -/* 80252804 0024F744 4E 80 00 20 */ blr -lbl_80252808: -/* 80252808 0024F748 38 60 00 00 */ li r3, 0 -/* 8025280C 0024F74C 4E 80 00 20 */ blr - -.global setZukanCamera__Q24Game9CameraMgrFP12LookAtCamera -setZukanCamera__Q24Game9CameraMgrFP12LookAtCamera: -/* 80252810 0024F750 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80252814 0024F754 7C 08 02 A6 */ mflr r0 -/* 80252818 0024F758 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025281C 0024F75C 80 AD 93 E8 */ lwz r5, gameSystem__4Game@sda21(r13) -/* 80252820 0024F760 28 05 00 00 */ cmplwi r5, 0 -/* 80252824 0024F764 41 82 00 18 */ beq lbl_8025283C -/* 80252828 0024F768 80 05 00 44 */ lwz r0, 0x44(r5) -/* 8025282C 0024F76C 2C 00 00 04 */ cmpwi r0, 4 -/* 80252830 0024F770 40 82 00 0C */ bne lbl_8025283C -/* 80252834 0024F774 90 83 00 38 */ stw r4, 0x38(r3) -/* 80252838 0024F778 48 00 00 20 */ b lbl_80252858 -lbl_8025283C: -/* 8025283C 0024F77C 3C 60 80 48 */ lis r3, lbl_804847FC@ha -/* 80252840 0024F780 3C A0 80 48 */ lis r5, lbl_80484828@ha -/* 80252844 0024F784 38 63 47 FC */ addi r3, r3, lbl_804847FC@l -/* 80252848 0024F788 38 80 01 CF */ li r4, 0x1cf -/* 8025284C 0024F78C 38 A5 48 28 */ addi r5, r5, lbl_80484828@l -/* 80252850 0024F790 4C C6 31 82 */ crclr 6 -/* 80252854 0024F794 4B DD 7D ED */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80252858: -/* 80252858 0024F798 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025285C 0024F79C 7C 08 03 A6 */ mtlr r0 -/* 80252860 0024F7A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80252864 0024F7A4 4E 80 00 20 */ blr - -.global isCameraUpdateOn__Q24Game9CameraMgrFv -isCameraUpdateOn__Q24Game9CameraMgrFv: -/* 80252868 0024F7A8 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 8025286C 0024F7AC 28 03 00 00 */ cmplwi r3, 0 -/* 80252870 0024F7B0 41 82 00 18 */ beq lbl_80252888 -/* 80252874 0024F7B4 88 03 00 4A */ lbz r0, 0x4a(r3) -/* 80252878 0024F7B8 28 00 00 00 */ cmplwi r0, 0 -/* 8025287C 0024F7BC 40 82 00 0C */ bne lbl_80252888 -/* 80252880 0024F7C0 38 60 00 01 */ li r3, 1 -/* 80252884 0024F7C4 4E 80 00 20 */ blr -lbl_80252888: -/* 80252888 0024F7C8 38 60 00 00 */ li r3, 0 -/* 8025288C 0024F7CC 4E 80 00 20 */ blr - -.global isStartAndEnd__Q24Game9CameraMgrFPii -isStartAndEnd__Q24Game9CameraMgrFPii: -/* 80252890 0024F7D0 2C 05 00 02 */ cmpwi r5, 2 -/* 80252894 0024F7D4 40 82 00 1C */ bne lbl_802528B0 -/* 80252898 0024F7D8 38 60 00 00 */ li r3, 0 -/* 8025289C 0024F7DC 38 00 00 02 */ li r0, 2 -/* 802528A0 0024F7E0 90 64 00 00 */ stw r3, 0(r4) -/* 802528A4 0024F7E4 38 60 00 01 */ li r3, 1 -/* 802528A8 0024F7E8 90 04 00 04 */ stw r0, 4(r4) -/* 802528AC 0024F7EC 4E 80 00 20 */ blr -lbl_802528B0: -/* 802528B0 0024F7F0 2C 05 00 00 */ cmpwi r5, 0 -/* 802528B4 0024F7F4 40 82 00 1C */ bne lbl_802528D0 -/* 802528B8 0024F7F8 38 60 00 00 */ li r3, 0 -/* 802528BC 0024F7FC 38 00 00 01 */ li r0, 1 -/* 802528C0 0024F800 90 64 00 00 */ stw r3, 0(r4) -/* 802528C4 0024F804 38 60 00 01 */ li r3, 1 -/* 802528C8 0024F808 90 04 00 04 */ stw r0, 4(r4) -/* 802528CC 0024F80C 4E 80 00 20 */ blr -lbl_802528D0: -/* 802528D0 0024F810 2C 05 00 01 */ cmpwi r5, 1 -/* 802528D4 0024F814 40 82 00 1C */ bne lbl_802528F0 -/* 802528D8 0024F818 38 60 00 01 */ li r3, 1 -/* 802528DC 0024F81C 38 00 00 02 */ li r0, 2 -/* 802528E0 0024F820 90 64 00 00 */ stw r3, 0(r4) -/* 802528E4 0024F824 38 60 00 01 */ li r3, 1 -/* 802528E8 0024F828 90 04 00 04 */ stw r0, 4(r4) -/* 802528EC 0024F82C 4E 80 00 20 */ blr -lbl_802528F0: -/* 802528F0 0024F830 38 60 00 00 */ li r3, 0 -/* 802528F4 0024F834 4E 80 00 20 */ blr - -.global isVibrationStart__Q24Game9CameraMgrFii -isVibrationStart__Q24Game9CameraMgrFii: -/* 802528F8 0024F838 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802528FC 0024F83C 7C 08 02 A6 */ mflr r0 -/* 80252900 0024F840 90 01 00 24 */ stw r0, 0x24(r1) -/* 80252904 0024F844 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80252908 0024F848 54 BF 10 3A */ slwi r31, r5, 2 -/* 8025290C 0024F84C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80252910 0024F850 7C 9E 23 78 */ mr r30, r4 -/* 80252914 0024F854 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80252918 0024F858 7C 7D 1B 78 */ mr r29, r3 -/* 8025291C 0024F85C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80252920 0024F860 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80252924 0024F864 4B FE D1 7D */ bl isVibration__Q24Game10PlayCameraFv -/* 80252928 0024F868 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025292C 0024F86C 41 82 00 20 */ beq lbl_8025294C -/* 80252930 0024F870 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 80252934 0024F874 7C 03 F8 2E */ lwzx r0, r3, r31 -/* 80252938 0024F878 7C 1E 00 00 */ cmpw r30, r0 -/* 8025293C 0024F87C 41 80 00 20 */ blt lbl_8025295C -/* 80252940 0024F880 7F C3 F9 2E */ stwx r30, r3, r31 -/* 80252944 0024F884 38 60 00 01 */ li r3, 1 -/* 80252948 0024F888 48 00 00 18 */ b lbl_80252960 -lbl_8025294C: -/* 8025294C 0024F88C 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 80252950 0024F890 38 60 00 01 */ li r3, 1 -/* 80252954 0024F894 7F C4 F9 2E */ stwx r30, r4, r31 -/* 80252958 0024F898 48 00 00 08 */ b lbl_80252960 -lbl_8025295C: -/* 8025295C 0024F89C 38 60 00 00 */ li r3, 0 -lbl_80252960: -/* 80252960 0024F8A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80252964 0024F8A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80252968 0024F8A8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025296C 0024F8AC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80252970 0024F8B0 7C 08 03 A6 */ mtlr r0 -/* 80252974 0024F8B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80252978 0024F8B8 4E 80 00 20 */ blr - -.global readCameraParms__Q24Game9CameraMgrFPc -readCameraParms__Q24Game9CameraMgrFPc: -/* 8025297C 0024F8BC 94 21 FB C0 */ stwu r1, -0x440(r1) -/* 80252980 0024F8C0 7C 08 02 A6 */ mflr r0 -/* 80252984 0024F8C4 38 A0 00 00 */ li r5, 0 -/* 80252988 0024F8C8 38 C0 00 00 */ li r6, 0 -/* 8025298C 0024F8CC 90 01 04 44 */ stw r0, 0x444(r1) -/* 80252990 0024F8D0 38 00 00 00 */ li r0, 0 -/* 80252994 0024F8D4 38 E0 00 00 */ li r7, 0 -/* 80252998 0024F8D8 39 00 00 02 */ li r8, 2 -/* 8025299C 0024F8DC 93 E1 04 3C */ stw r31, 0x43c(r1) -/* 802529A0 0024F8E0 39 20 00 00 */ li r9, 0 -/* 802529A4 0024F8E4 39 40 00 00 */ li r10, 0 -/* 802529A8 0024F8E8 93 C1 04 38 */ stw r30, 0x438(r1) -/* 802529AC 0024F8EC 7C 7E 1B 78 */ mr r30, r3 -/* 802529B0 0024F8F0 7C 83 23 78 */ mr r3, r4 -/* 802529B4 0024F8F4 38 80 00 00 */ li r4, 0 -/* 802529B8 0024F8F8 90 01 00 08 */ stw r0, 8(r1) -/* 802529BC 0024F8FC 4B DC C7 CD */ bl loadToMainRAM__12JKRDvdRipperFPCcPUc15JKRExpandSwitchUlP7JKRHeapQ212JKRDvdRipper15EAllocDirectionUlPiPUl -/* 802529C0 0024F900 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802529C4 0024F904 41 82 00 2C */ beq lbl_802529F0 -/* 802529C8 0024F908 7F E4 FB 78 */ mr r4, r31 -/* 802529CC 0024F90C 38 61 00 10 */ addi r3, r1, 0x10 -/* 802529D0 0024F910 38 A0 FF FF */ li r5, -1 -/* 802529D4 0024F914 48 1C 2F 25 */ bl __ct__9RamStreamFPvi -/* 802529D8 0024F918 7F C3 F3 78 */ mr r3, r30 -/* 802529DC 0024F91C 38 81 00 10 */ addi r4, r1, 0x10 -/* 802529E0 0024F920 48 00 00 45 */ bl readParameter__Q24Game9CameraMgrFR6Stream -/* 802529E4 0024F924 7F E3 FB 78 */ mr r3, r31 -/* 802529E8 0024F928 4B DD 16 F1 */ bl __dla__FPv -/* 802529EC 0024F92C 48 00 00 20 */ b lbl_80252A0C -lbl_802529F0: -/* 802529F0 0024F930 3C 60 80 48 */ lis r3, lbl_804847FC@ha -/* 802529F4 0024F934 3C A0 80 48 */ lis r5, lbl_80484838@ha -/* 802529F8 0024F938 38 63 47 FC */ addi r3, r3, lbl_804847FC@l -/* 802529FC 0024F93C 38 80 02 2F */ li r4, 0x22f -/* 80252A00 0024F940 38 A5 48 38 */ addi r5, r5, lbl_80484838@l -/* 80252A04 0024F944 4C C6 31 82 */ crclr 6 -/* 80252A08 0024F948 4B DD 7C 39 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80252A0C: -/* 80252A0C 0024F94C 80 01 04 44 */ lwz r0, 0x444(r1) -/* 80252A10 0024F950 83 E1 04 3C */ lwz r31, 0x43c(r1) -/* 80252A14 0024F954 83 C1 04 38 */ lwz r30, 0x438(r1) -/* 80252A18 0024F958 7C 08 03 A6 */ mtlr r0 -/* 80252A1C 0024F95C 38 21 04 40 */ addi r1, r1, 0x440 -/* 80252A20 0024F960 4E 80 00 20 */ blr - -.global readParameter__Q24Game9CameraMgrFR6Stream -readParameter__Q24Game9CameraMgrFR6Stream: -/* 80252A24 0024F964 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80252A28 0024F968 7C 08 02 A6 */ mflr r0 -/* 80252A2C 0024F96C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80252A30 0024F970 38 00 00 01 */ li r0, 1 -/* 80252A34 0024F974 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80252A38 0024F978 7C 9F 23 78 */ mr r31, r4 -/* 80252A3C 0024F97C 93 C1 00 08 */ stw r30, 8(r1) -/* 80252A40 0024F980 7C 7E 1B 78 */ mr r30, r3 -/* 80252A44 0024F984 90 04 00 0C */ stw r0, 0xc(r4) -/* 80252A48 0024F988 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80252A4C 0024F98C 2C 00 00 01 */ cmpwi r0, 1 -/* 80252A50 0024F990 40 82 00 0C */ bne lbl_80252A5C -/* 80252A54 0024F994 38 00 00 00 */ li r0, 0 -/* 80252A58 0024F998 90 1F 04 14 */ stw r0, 0x414(r31) -lbl_80252A5C: -/* 80252A5C 0024F99C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80252A60 0024F9A0 7F E4 FB 78 */ mr r4, r31 -/* 80252A64 0024F9A4 48 1C 0D 91 */ bl read__10ParametersFR6Stream -/* 80252A68 0024F9A8 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 80252A6C 0024F9AC 7F E4 FB 78 */ mr r4, r31 -/* 80252A70 0024F9B0 48 1C 0D 85 */ bl read__10ParametersFR6Stream -/* 80252A74 0024F9B4 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 80252A78 0024F9B8 7F E4 FB 78 */ mr r4, r31 -/* 80252A7C 0024F9BC 48 1C 0D 79 */ bl read__10ParametersFR6Stream -/* 80252A80 0024F9C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80252A84 0024F9C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80252A88 0024F9C8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80252A8C 0024F9CC 7C 08 03 A6 */ mtlr r0 -/* 80252A90 0024F9D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80252A94 0024F9D4 4E 80 00 20 */ blr - -.global __dt__Q24Game9CameraMgrFv -__dt__Q24Game9CameraMgrFv: -/* 80252A98 0024F9D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80252A9C 0024F9DC 7C 08 02 A6 */ mflr r0 -/* 80252AA0 0024F9E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80252AA4 0024F9E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80252AA8 0024F9E8 7C 9F 23 78 */ mr r31, r4 -/* 80252AAC 0024F9EC 93 C1 00 08 */ stw r30, 8(r1) -/* 80252AB0 0024F9F0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80252AB4 0024F9F4 41 82 00 28 */ beq lbl_80252ADC -/* 80252AB8 0024F9F8 3C A0 80 4C */ lis r5, __vt__Q24Game9CameraMgr@ha -/* 80252ABC 0024F9FC 38 80 00 00 */ li r4, 0 -/* 80252AC0 0024FA00 38 05 1B D4 */ addi r0, r5, __vt__Q24Game9CameraMgr@l -/* 80252AC4 0024FA04 90 1E 00 00 */ stw r0, 0(r30) -/* 80252AC8 0024FA08 48 1B EA C1 */ bl __dt__5CNodeFv -/* 80252ACC 0024FA0C 7F E0 07 35 */ extsh. r0, r31 -/* 80252AD0 0024FA10 40 81 00 0C */ ble lbl_80252ADC -/* 80252AD4 0024FA14 7F C3 F3 78 */ mr r3, r30 -/* 80252AD8 0024FA18 4B DD 15 DD */ bl __dl__FPv -lbl_80252ADC: -/* 80252ADC 0024FA1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80252AE0 0024FA20 7F C3 F3 78 */ mr r3, r30 -/* 80252AE4 0024FA24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80252AE8 0024FA28 83 C1 00 08 */ lwz r30, 8(r1) -/* 80252AEC 0024FA2C 7C 08 03 A6 */ mtlr r0 -/* 80252AF0 0024FA30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80252AF4 0024FA34 4E 80 00 20 */ blr - -.global __sinit_CameraMgr_cpp -__sinit_CameraMgr_cpp: -/* 80252AF8 0024FA38 3C 80 80 51 */ lis r4, __float_nan@ha -/* 80252AFC 0024FA3C 38 00 FF FF */ li r0, -1 -/* 80252B00 0024FA40 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 80252B04 0024FA44 3C 60 80 4C */ lis r3, lbl_804C1BC8@ha -/* 80252B08 0024FA48 90 0D 96 98 */ stw r0, lbl_80515D18@sda21(r13) -/* 80252B0C 0024FA4C D4 03 1B C8 */ stfsu f0, lbl_804C1BC8@l(r3) -/* 80252B10 0024FA50 D0 0D 96 9C */ stfs f0, lbl_80515D1C@sda21(r13) -/* 80252B14 0024FA54 D0 03 00 04 */ stfs f0, 4(r3) -/* 80252B18 0024FA58 D0 03 00 08 */ stfs f0, 8(r3) -/* 80252B1C 0024FA5C 4E 80 00 20 */ blr - -.global __ct__Q24Game10ContRumbleFii -__ct__Q24Game10ContRumbleFii: -/* 80252B20 0024FA60 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80252B24 0024FA64 7C 08 02 A6 */ mflr r0 -/* 80252B28 0024FA68 90 01 00 44 */ stw r0, 0x44(r1) -/* 80252B2C 0024FA6C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80252B30 0024FA70 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80252B34 0024FA74 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80252B38 0024FA78 7C 7E 1B 78 */ mr r30, r3 -/* 80252B3C 0024FA7C 38 00 00 01 */ li r0, 1 -/* 80252B40 0024FA80 98 03 00 00 */ stb r0, 0(r3) -/* 80252B44 0024FA84 7C BF 2B 78 */ mr r31, r5 -/* 80252B48 0024FA88 C0 02 C6 08 */ lfs f0, lbl_8051A968@sda21(r2) -/* 80252B4C 0024FA8C 38 60 00 30 */ li r3, 0x30 -/* 80252B50 0024FA90 90 9E 00 04 */ stw r4, 4(r30) -/* 80252B54 0024FA94 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80252B58 0024FA98 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 80252B5C 0024FA9C D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 80252B60 0024FAA0 4B DD 13 45 */ bl __nw__FUl -/* 80252B64 0024FAA4 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80252B68 0024FAA8 41 82 00 38 */ beq lbl_80252BA0 -/* 80252B6C 0024FAAC 48 1B E8 25 */ bl __ct__5CNodeFv -/* 80252B70 0024FAB0 3C 80 80 4C */ lis r4, __vt__Q24Game10RumbleNode@ha -/* 80252B74 0024FAB4 38 60 FF FF */ li r3, -1 -/* 80252B78 0024FAB8 38 04 1B E8 */ addi r0, r4, __vt__Q24Game10RumbleNode@l -/* 80252B7C 0024FABC C0 02 C6 08 */ lfs f0, lbl_8051A968@sda21(r2) -/* 80252B80 0024FAC0 90 1B 00 00 */ stw r0, 0(r27) -/* 80252B84 0024FAC4 38 00 00 00 */ li r0, 0 -/* 80252B88 0024FAC8 90 7B 00 18 */ stw r3, 0x18(r27) -/* 80252B8C 0024FACC D0 1B 00 1C */ stfs f0, 0x1c(r27) -/* 80252B90 0024FAD0 D0 1B 00 20 */ stfs f0, 0x20(r27) -/* 80252B94 0024FAD4 D0 1B 00 24 */ stfs f0, 0x24(r27) -/* 80252B98 0024FAD8 D0 1B 00 28 */ stfs f0, 0x28(r27) -/* 80252B9C 0024FADC 90 1B 00 2C */ stw r0, 0x2c(r27) -lbl_80252BA0: -/* 80252BA0 0024FAE0 93 7E 00 14 */ stw r27, 0x14(r30) -/* 80252BA4 0024FAE4 38 60 00 30 */ li r3, 0x30 -/* 80252BA8 0024FAE8 4B DD 12 FD */ bl __nw__FUl -/* 80252BAC 0024FAEC 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80252BB0 0024FAF0 41 82 00 38 */ beq lbl_80252BE8 -/* 80252BB4 0024FAF4 48 1B E7 DD */ bl __ct__5CNodeFv -/* 80252BB8 0024FAF8 3C 80 80 4C */ lis r4, __vt__Q24Game10RumbleNode@ha -/* 80252BBC 0024FAFC 38 60 FF FF */ li r3, -1 -/* 80252BC0 0024FB00 38 04 1B E8 */ addi r0, r4, __vt__Q24Game10RumbleNode@l -/* 80252BC4 0024FB04 C0 02 C6 08 */ lfs f0, lbl_8051A968@sda21(r2) -/* 80252BC8 0024FB08 90 1B 00 00 */ stw r0, 0(r27) -/* 80252BCC 0024FB0C 38 00 00 00 */ li r0, 0 -/* 80252BD0 0024FB10 90 7B 00 18 */ stw r3, 0x18(r27) -/* 80252BD4 0024FB14 D0 1B 00 1C */ stfs f0, 0x1c(r27) -/* 80252BD8 0024FB18 D0 1B 00 20 */ stfs f0, 0x20(r27) -/* 80252BDC 0024FB1C D0 1B 00 24 */ stfs f0, 0x24(r27) -/* 80252BE0 0024FB20 D0 1B 00 28 */ stfs f0, 0x28(r27) -/* 80252BE4 0024FB24 90 1B 00 2C */ stw r0, 0x2c(r27) -lbl_80252BE8: -/* 80252BE8 0024FB28 3C 60 80 4C */ lis r3, __vt__Q24Game10RumbleNode@ha -/* 80252BEC 0024FB2C 93 7E 00 18 */ stw r27, 0x18(r30) -/* 80252BF0 0024FB30 C3 E2 C6 08 */ lfs f31, lbl_8051A968@sda21(r2) -/* 80252BF4 0024FB34 3B 63 1B E8 */ addi r27, r3, __vt__Q24Game10RumbleNode@l -/* 80252BF8 0024FB38 3B 20 00 00 */ li r25, 0 -/* 80252BFC 0024FB3C 3B 80 FF FF */ li r28, -1 -/* 80252C00 0024FB40 3B A0 00 00 */ li r29, 0 -/* 80252C04 0024FB44 48 00 00 44 */ b lbl_80252C48 -lbl_80252C08: -/* 80252C08 0024FB48 38 60 00 30 */ li r3, 0x30 -/* 80252C0C 0024FB4C 4B DD 12 99 */ bl __nw__FUl -/* 80252C10 0024FB50 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80252C14 0024FB54 41 82 00 24 */ beq lbl_80252C38 -/* 80252C18 0024FB58 48 1B E7 79 */ bl __ct__5CNodeFv -/* 80252C1C 0024FB5C 93 7A 00 00 */ stw r27, 0(r26) -/* 80252C20 0024FB60 93 9A 00 18 */ stw r28, 0x18(r26) -/* 80252C24 0024FB64 D3 FA 00 1C */ stfs f31, 0x1c(r26) -/* 80252C28 0024FB68 D3 FA 00 20 */ stfs f31, 0x20(r26) -/* 80252C2C 0024FB6C D3 FA 00 24 */ stfs f31, 0x24(r26) -/* 80252C30 0024FB70 D3 FA 00 28 */ stfs f31, 0x28(r26) -/* 80252C34 0024FB74 93 BA 00 2C */ stw r29, 0x2c(r26) -lbl_80252C38: -/* 80252C38 0024FB78 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80252C3C 0024FB7C 7F 44 D3 78 */ mr r4, r26 -/* 80252C40 0024FB80 48 1B E7 C9 */ bl add__5CNodeFP5CNode -/* 80252C44 0024FB84 3B 39 00 01 */ addi r25, r25, 1 -lbl_80252C48: -/* 80252C48 0024FB88 7C 19 F8 00 */ cmpw r25, r31 -/* 80252C4C 0024FB8C 41 80 FF BC */ blt lbl_80252C08 -/* 80252C50 0024FB90 38 00 00 00 */ li r0, 0 -/* 80252C54 0024FB94 7F C3 F3 78 */ mr r3, r30 -/* 80252C58 0024FB98 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80252C5C 0024FB9C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80252C60 0024FBA0 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80252C64 0024FBA4 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80252C68 0024FBA8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80252C6C 0024FBAC 7C 08 03 A6 */ mtlr r0 -/* 80252C70 0024FBB0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80252C74 0024FBB4 4E 80 00 20 */ blr - -.global init__Q24Game10ContRumbleFv -init__Q24Game10ContRumbleFv: -/* 80252C78 0024FBB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80252C7C 0024FBBC 7C 08 02 A6 */ mflr r0 -/* 80252C80 0024FBC0 C0 02 C6 08 */ lfs f0, lbl_8051A968@sda21(r2) -/* 80252C84 0024FBC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80252C88 0024FBC8 38 00 00 01 */ li r0, 1 -/* 80252C8C 0024FBCC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80252C90 0024FBD0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80252C94 0024FBD4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80252C98 0024FBD8 7C 7D 1B 78 */ mr r29, r3 -/* 80252C9C 0024FBDC 98 03 00 00 */ stb r0, 0(r3) -/* 80252CA0 0024FBE0 D0 03 00 08 */ stfs f0, 8(r3) -/* 80252CA4 0024FBE4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80252CA8 0024FBE8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80252CAC 0024FBEC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80252CB0 0024FBF0 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 80252CB4 0024FBF4 48 00 00 20 */ b lbl_80252CD4 -lbl_80252CB8: -/* 80252CB8 0024FBF8 83 FE 00 04 */ lwz r31, 4(r30) -/* 80252CBC 0024FBFC 7F C3 F3 78 */ mr r3, r30 -/* 80252CC0 0024FC00 48 1B E9 11 */ bl del__5CNodeFv -/* 80252CC4 0024FC04 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80252CC8 0024FC08 7F C4 F3 78 */ mr r4, r30 -/* 80252CCC 0024FC0C 48 1B E7 3D */ bl add__5CNodeFP5CNode -/* 80252CD0 0024FC10 7F FE FB 78 */ mr r30, r31 -lbl_80252CD4: -/* 80252CD4 0024FC14 28 1E 00 00 */ cmplwi r30, 0 -/* 80252CD8 0024FC18 40 82 FF E0 */ bne lbl_80252CB8 -/* 80252CDC 0024FC1C 80 7D 00 04 */ lwz r3, 4(r29) -/* 80252CE0 0024FC20 38 80 00 02 */ li r4, 2 -/* 80252CE4 0024FC24 4B EA 17 49 */ bl PADControlMotor -/* 80252CE8 0024FC28 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80252CEC 0024FC2C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80252CF0 0024FC30 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80252CF4 0024FC34 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80252CF8 0024FC38 7C 08 03 A6 */ mtlr r0 -/* 80252CFC 0024FC3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80252D00 0024FC40 4E 80 00 20 */ blr - -.global update__Q24Game10ContRumbleFv -update__Q24Game10ContRumbleFv: -/* 80252D04 0024FC44 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80252D08 0024FC48 7C 08 02 A6 */ mflr r0 -/* 80252D0C 0024FC4C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80252D10 0024FC50 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80252D14 0024FC54 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80252D18 0024FC58 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80252D1C 0024FC5C F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80252D20 0024FC60 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80252D24 0024FC64 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80252D28 0024FC68 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80252D2C 0024FC6C 7C 7D 1B 78 */ mr r29, r3 -/* 80252D30 0024FC70 C3 C2 C6 08 */ lfs f30, lbl_8051A968@sda21(r2) -/* 80252D34 0024FC74 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80252D38 0024FC78 FF E0 F0 90 */ fmr f31, f30 -/* 80252D3C 0024FC7C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80252D40 0024FC80 48 00 01 5C */ b lbl_80252E9C -lbl_80252D44: -/* 80252D44 0024FC84 83 E3 00 04 */ lwz r31, 4(r3) -/* 80252D48 0024FC88 7C 7E 1B 78 */ mr r30, r3 -/* 80252D4C 0024FC8C D3 E3 00 1C */ stfs f31, 0x1c(r3) -/* 80252D50 0024FC90 80 C3 00 2C */ lwz r6, 0x2c(r3) -/* 80252D54 0024FC94 28 06 00 00 */ cmplwi r6, 0 -/* 80252D58 0024FC98 41 82 00 A0 */ beq lbl_80252DF8 -/* 80252D5C 0024FC9C 80 66 00 00 */ lwz r3, 0(r6) -/* 80252D60 0024FCA0 38 80 00 00 */ li r4, 0 -/* 80252D64 0024FCA4 7C 85 23 78 */ mr r5, r4 -/* 80252D68 0024FCA8 34 03 FF FF */ addic. r0, r3, -1 -/* 80252D6C 0024FCAC 7C 09 03 A6 */ mtctr r0 -/* 80252D70 0024FCB0 40 81 00 74 */ ble lbl_80252DE4 -lbl_80252D74: -/* 80252D74 0024FCB4 80 66 00 04 */ lwz r3, 4(r6) -/* 80252D78 0024FCB8 38 04 00 01 */ addi r0, r4, 1 -/* 80252D7C 0024FCBC C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 80252D80 0024FCC0 7C 03 2C 2E */ lfsx f0, r3, r5 -/* 80252D84 0024FCC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252D88 0024FCC8 4C 41 13 82 */ cror 2, 1, 2 -/* 80252D8C 0024FCCC 40 82 00 4C */ bne lbl_80252DD8 -/* 80252D90 0024FCD0 54 00 10 3A */ slwi r0, r0, 2 -/* 80252D94 0024FCD4 7C 63 04 2E */ lfsx f3, r3, r0 -/* 80252D98 0024FCD8 FC 01 18 40 */ fcmpo cr0, f1, f3 -/* 80252D9C 0024FCDC 40 80 00 3C */ bge lbl_80252DD8 -/* 80252DA0 0024FCE0 54 85 10 3A */ slwi r5, r4, 2 -/* 80252DA4 0024FCE4 80 86 00 08 */ lwz r4, 8(r6) -/* 80252DA8 0024FCE8 7C A3 2C 2E */ lfsx f5, r3, r5 -/* 80252DAC 0024FCEC C0 42 C6 0C */ lfs f2, lbl_8051A96C@sda21(r2) -/* 80252DB0 0024FCF0 EC 81 28 28 */ fsubs f4, f1, f5 -/* 80252DB4 0024FCF4 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80252DB8 0024FCF8 EC 63 28 28 */ fsubs f3, f3, f5 -/* 80252DBC 0024FCFC 7C 24 2C 2E */ lfsx f1, r4, r5 -/* 80252DC0 0024FD00 EC 64 18 24 */ fdivs f3, f4, f3 -/* 80252DC4 0024FD04 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80252DC8 0024FD08 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80252DCC 0024FD0C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80252DD0 0024FD10 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80252DD4 0024FD14 48 00 00 10 */ b lbl_80252DE4 -lbl_80252DD8: -/* 80252DD8 0024FD18 38 A5 00 04 */ addi r5, r5, 4 -/* 80252DDC 0024FD1C 38 84 00 01 */ addi r4, r4, 1 -/* 80252DE0 0024FD20 42 00 FF 94 */ bdnz lbl_80252D74 -lbl_80252DE4: -/* 80252DE4 0024FD24 C0 3E 00 1C */ lfs f1, 0x1c(r30) -/* 80252DE8 0024FD28 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 80252DEC 0024FD2C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80252DF0 0024FD30 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80252DF4 0024FD34 48 00 00 0C */ b lbl_80252E00 -lbl_80252DF8: -/* 80252DF8 0024FD38 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 80252DFC 0024FD3C D0 03 00 1C */ stfs f0, 0x1c(r3) -lbl_80252E00: -/* 80252E00 0024FD40 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80252E04 0024FD44 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 80252E08 0024FD48 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80252E0C 0024FD4C EC 01 00 2A */ fadds f0, f1, f0 -/* 80252E10 0024FD50 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80252E14 0024FD54 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80252E18 0024FD58 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80252E1C 0024FD5C 40 80 00 08 */ bge lbl_80252E24 -/* 80252E20 0024FD60 FF C0 00 90 */ fmr f30, f0 -lbl_80252E24: -/* 80252E24 0024FD64 80 9E 00 2C */ lwz r4, 0x2c(r30) -/* 80252E28 0024FD68 28 04 00 00 */ cmplwi r4, 0 -/* 80252E2C 0024FD6C 41 82 00 34 */ beq lbl_80252E60 -/* 80252E30 0024FD70 80 04 00 00 */ lwz r0, 0(r4) -/* 80252E34 0024FD74 2C 00 00 00 */ cmpwi r0, 0 -/* 80252E38 0024FD78 40 81 00 40 */ ble lbl_80252E78 -/* 80252E3C 0024FD7C 54 03 10 3A */ slwi r3, r0, 2 -/* 80252E40 0024FD80 80 84 00 04 */ lwz r4, 4(r4) -/* 80252E44 0024FD84 38 03 FF FC */ addi r0, r3, -4 -/* 80252E48 0024FD88 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 80252E4C 0024FD8C 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80252E50 0024FD90 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252E54 0024FD94 40 80 00 24 */ bge lbl_80252E78 -/* 80252E58 0024FD98 38 00 00 00 */ li r0, 0 -/* 80252E5C 0024FD9C 48 00 00 20 */ b lbl_80252E7C -lbl_80252E60: -/* 80252E60 0024FDA0 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 80252E64 0024FDA4 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 80252E68 0024FDA8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252E6C 0024FDAC 40 80 00 0C */ bge lbl_80252E78 -/* 80252E70 0024FDB0 38 00 00 00 */ li r0, 0 -/* 80252E74 0024FDB4 48 00 00 08 */ b lbl_80252E7C -lbl_80252E78: -/* 80252E78 0024FDB8 38 00 00 01 */ li r0, 1 -lbl_80252E7C: -/* 80252E7C 0024FDBC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80252E80 0024FDC0 41 82 00 18 */ beq lbl_80252E98 -/* 80252E84 0024FDC4 7F C3 F3 78 */ mr r3, r30 -/* 80252E88 0024FDC8 48 1B E7 49 */ bl del__5CNodeFv -/* 80252E8C 0024FDCC 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 80252E90 0024FDD0 7F C4 F3 78 */ mr r4, r30 -/* 80252E94 0024FDD4 48 1B E5 75 */ bl add__5CNodeFP5CNode -lbl_80252E98: -/* 80252E98 0024FDD8 7F E3 FB 78 */ mr r3, r31 -lbl_80252E9C: -/* 80252E9C 0024FDDC 28 03 00 00 */ cmplwi r3, 0 -/* 80252EA0 0024FDE0 40 82 FE A4 */ bne lbl_80252D44 -/* 80252EA4 0024FDE4 C0 62 C6 08 */ lfs f3, lbl_8051A968@sda21(r2) -/* 80252EA8 0024FDE8 FC 1E 18 40 */ fcmpo cr0, f30, f3 -/* 80252EAC 0024FDEC 40 81 00 78 */ ble lbl_80252F24 -/* 80252EB0 0024FDF0 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80252EB4 0024FDF4 C0 02 C6 0C */ lfs f0, lbl_8051A96C@sda21(r2) -/* 80252EB8 0024FDF8 EC 21 F0 2A */ fadds f1, f1, f30 -/* 80252EBC 0024FDFC D0 3D 00 08 */ stfs f1, 8(r29) -/* 80252EC0 0024FE00 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80252EC4 0024FE04 C0 5D 00 0C */ lfs f2, 0xc(r29) -/* 80252EC8 0024FE08 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 80252ECC 0024FE0C EC 22 08 2A */ fadds f1, f2, f1 -/* 80252ED0 0024FE10 D0 3D 00 0C */ stfs f1, 0xc(r29) -/* 80252ED4 0024FE14 D0 7D 00 10 */ stfs f3, 0x10(r29) -/* 80252ED8 0024FE18 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80252EDC 0024FE1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252EE0 0024FE20 40 80 00 20 */ bge lbl_80252F00 -/* 80252EE4 0024FE24 88 1D 00 00 */ lbz r0, 0(r29) -/* 80252EE8 0024FE28 28 00 00 00 */ cmplwi r0, 0 -/* 80252EEC 0024FE2C 41 82 00 7C */ beq lbl_80252F68 -/* 80252EF0 0024FE30 80 7D 00 04 */ lwz r3, 4(r29) -/* 80252EF4 0024FE34 38 80 00 00 */ li r4, 0 -/* 80252EF8 0024FE38 4B EA 15 35 */ bl PADControlMotor -/* 80252EFC 0024FE3C 48 00 00 6C */ b lbl_80252F68 -lbl_80252F00: -/* 80252F00 0024FE40 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80252F04 0024FE44 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80252F08 0024FE48 88 1D 00 00 */ lbz r0, 0(r29) -/* 80252F0C 0024FE4C 28 00 00 00 */ cmplwi r0, 0 -/* 80252F10 0024FE50 41 82 00 58 */ beq lbl_80252F68 -/* 80252F14 0024FE54 80 7D 00 04 */ lwz r3, 4(r29) -/* 80252F18 0024FE58 38 80 00 01 */ li r4, 1 -/* 80252F1C 0024FE5C 4B EA 15 11 */ bl PADControlMotor -/* 80252F20 0024FE60 48 00 00 48 */ b lbl_80252F68 -lbl_80252F24: -/* 80252F24 0024FE64 D0 7D 00 08 */ stfs f3, 8(r29) -/* 80252F28 0024FE68 C0 02 C6 10 */ lfs f0, lbl_8051A970@sda21(r2) -/* 80252F2C 0024FE6C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80252F30 0024FE70 C0 5D 00 10 */ lfs f2, 0x10(r29) -/* 80252F34 0024FE74 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 80252F38 0024FE78 EC 22 08 2A */ fadds f1, f2, f1 -/* 80252F3C 0024FE7C D0 3D 00 10 */ stfs f1, 0x10(r29) -/* 80252F40 0024FE80 C0 3D 00 10 */ lfs f1, 0x10(r29) -/* 80252F44 0024FE84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80252F48 0024FE88 40 81 00 08 */ ble lbl_80252F50 -/* 80252F4C 0024FE8C D0 7D 00 0C */ stfs f3, 0xc(r29) -lbl_80252F50: -/* 80252F50 0024FE90 88 1D 00 00 */ lbz r0, 0(r29) -/* 80252F54 0024FE94 28 00 00 00 */ cmplwi r0, 0 -/* 80252F58 0024FE98 41 82 00 10 */ beq lbl_80252F68 -/* 80252F5C 0024FE9C 80 7D 00 04 */ lwz r3, 4(r29) -/* 80252F60 0024FEA0 38 80 00 02 */ li r4, 2 -/* 80252F64 0024FEA4 4B EA 14 C9 */ bl PADControlMotor -lbl_80252F68: -/* 80252F68 0024FEA8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80252F6C 0024FEAC CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80252F70 0024FEB0 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80252F74 0024FEB4 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80252F78 0024FEB8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80252F7C 0024FEBC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80252F80 0024FEC0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80252F84 0024FEC4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80252F88 0024FEC8 7C 08 03 A6 */ mtlr r0 -/* 80252F8C 0024FECC 38 21 00 40 */ addi r1, r1, 0x40 -/* 80252F90 0024FED0 4E 80 00 20 */ blr - -.global setController__Q24Game10ContRumbleFb -setController__Q24Game10ContRumbleFb: -/* 80252F94 0024FED4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80252F98 0024FED8 7C 08 02 A6 */ mflr r0 -/* 80252F9C 0024FEDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80252FA0 0024FEE0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80252FA4 0024FEE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80252FA8 0024FEE8 7C 9F 23 78 */ mr r31, r4 -/* 80252FAC 0024FEEC 93 C1 00 08 */ stw r30, 8(r1) -/* 80252FB0 0024FEF0 7C 7E 1B 78 */ mr r30, r3 -/* 80252FB4 0024FEF4 40 82 00 1C */ bne lbl_80252FD0 -/* 80252FB8 0024FEF8 88 1E 00 00 */ lbz r0, 0(r30) -/* 80252FBC 0024FEFC 28 00 00 00 */ cmplwi r0, 0 -/* 80252FC0 0024FF00 41 82 00 10 */ beq lbl_80252FD0 -/* 80252FC4 0024FF04 80 7E 00 04 */ lwz r3, 4(r30) -/* 80252FC8 0024FF08 38 80 00 02 */ li r4, 2 -/* 80252FCC 0024FF0C 4B EA 14 61 */ bl PADControlMotor -lbl_80252FD0: -/* 80252FD0 0024FF10 9B FE 00 00 */ stb r31, 0(r30) -/* 80252FD4 0024FF14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80252FD8 0024FF18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80252FDC 0024FF1C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80252FE0 0024FF20 7C 08 03 A6 */ mtlr r0 -/* 80252FE4 0024FF24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80252FE8 0024FF28 4E 80 00 20 */ blr - -.global startRumble__Q24Game10ContRumbleFif -startRumble__Q24Game10ContRumbleFif: -/* 80252FEC 0024FF2C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80252FF0 0024FF30 7C 08 02 A6 */ mflr r0 -/* 80252FF4 0024FF34 90 01 00 24 */ stw r0, 0x24(r1) -/* 80252FF8 0024FF38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80252FFC 0024FF3C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80253000 0024FF40 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80253004 0024FF44 7C 9D 23 78 */ mr r29, r4 -/* 80253008 0024FF48 93 81 00 10 */ stw r28, 0x10(r1) -/* 8025300C 0024FF4C 7C 7C 1B 78 */ mr r28, r3 -/* 80253010 0024FF50 D0 21 00 08 */ stfs f1, 8(r1) -/* 80253014 0024FF54 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80253018 0024FF58 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8025301C 0024FF5C 28 00 00 00 */ cmplwi r0, 0 -/* 80253020 0024FF60 41 82 00 B0 */ beq lbl_802530D0 -/* 80253024 0024FF64 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80253028 0024FF68 28 03 00 00 */ cmplwi r3, 0 -/* 8025302C 0024FF6C 41 82 00 A4 */ beq lbl_802530D0 -/* 80253030 0024FF70 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 80253034 0024FF74 C0 02 C6 14 */ lfs f0, lbl_8051A974@sda21(r2) -/* 80253038 0024FF78 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025303C 0024FF7C 40 80 00 94 */ bge lbl_802530D0 -/* 80253040 0024FF80 48 00 E3 99 */ bl getRumbleData__Q24Game13RumbleDataMgrFi -/* 80253044 0024FF84 80 9C 00 18 */ lwz r4, 0x18(r28) -/* 80253048 0024FF88 7C 7F 1B 78 */ mr r31, r3 -/* 8025304C 0024FF8C 83 C4 00 10 */ lwz r30, 0x10(r4) -/* 80253050 0024FF90 7F C3 F3 78 */ mr r3, r30 -/* 80253054 0024FF94 48 1B E5 7D */ bl del__5CNodeFv -/* 80253058 0024FF98 28 1F 00 00 */ cmplwi r31, 0 -/* 8025305C 0024FF9C 41 82 00 28 */ beq lbl_80253084 -/* 80253060 0024FFA0 C0 21 00 08 */ lfs f1, 8(r1) -/* 80253064 0024FFA4 C0 02 C6 08 */ lfs f0, lbl_8051A968@sda21(r2) -/* 80253068 0024FFA8 93 BE 00 18 */ stw r29, 0x18(r30) -/* 8025306C 0024FFAC D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80253070 0024FFB0 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 80253074 0024FFB4 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80253078 0024FFB8 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 8025307C 0024FFBC 93 FE 00 2C */ stw r31, 0x2c(r30) -/* 80253080 0024FFC0 48 00 00 44 */ b lbl_802530C4 -lbl_80253084: -/* 80253084 0024FFC4 C0 02 C6 08 */ lfs f0, lbl_8051A968@sda21(r2) -/* 80253088 0024FFC8 7F 83 E3 78 */ mr r3, r28 -/* 8025308C 0024FFCC 7F A4 EB 78 */ mr r4, r29 -/* 80253090 0024FFD0 38 A1 00 08 */ addi r5, r1, 8 -/* 80253094 0024FFD4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80253098 0024FFD8 38 C1 00 0C */ addi r6, r1, 0xc -/* 8025309C 0024FFDC 48 00 01 6D */ bl getRumbleParameter__Q24Game10ContRumbleFiRfRf -/* 802530A0 0024FFE0 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802530A4 0024FFE4 C0 21 00 08 */ lfs f1, 8(r1) -/* 802530A8 0024FFE8 C0 02 C6 08 */ lfs f0, lbl_8051A968@sda21(r2) -/* 802530AC 0024FFEC 93 BE 00 18 */ stw r29, 0x18(r30) -/* 802530B0 0024FFF0 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 802530B4 0024FFF4 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 802530B8 0024FFF8 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 802530BC 0024FFFC D0 5E 00 28 */ stfs f2, 0x28(r30) -/* 802530C0 00250000 93 FE 00 2C */ stw r31, 0x2c(r30) -lbl_802530C4: -/* 802530C4 00250004 80 7C 00 14 */ lwz r3, 0x14(r28) -/* 802530C8 00250008 7F C4 F3 78 */ mr r4, r30 -/* 802530CC 0025000C 48 1B E3 3D */ bl add__5CNodeFP5CNode -lbl_802530D0: -/* 802530D0 00250010 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802530D4 00250014 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802530D8 00250018 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802530DC 0025001C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802530E0 00250020 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802530E4 00250024 7C 08 03 A6 */ mtlr r0 -/* 802530E8 00250028 38 21 00 20 */ addi r1, r1, 0x20 -/* 802530EC 0025002C 4E 80 00 20 */ blr - -.global rumbleStop__Q24Game10ContRumbleFv -rumbleStop__Q24Game10ContRumbleFv: -/* 802530F0 00250030 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802530F4 00250034 7C 08 02 A6 */ mflr r0 -/* 802530F8 00250038 90 01 00 24 */ stw r0, 0x24(r1) -/* 802530FC 0025003C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80253100 00250040 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80253104 00250044 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80253108 00250048 93 81 00 10 */ stw r28, 0x10(r1) -/* 8025310C 0025004C 7C 7C 1B 78 */ mr r28, r3 -/* 80253110 00250050 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80253114 00250054 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80253118 00250058 7F FD FB 78 */ mr r29, r31 -/* 8025311C 0025005C 48 00 00 20 */ b lbl_8025313C -lbl_80253120: -/* 80253120 00250060 83 DD 00 04 */ lwz r30, 4(r29) -/* 80253124 00250064 7F A3 EB 78 */ mr r3, r29 -/* 80253128 00250068 48 1B E4 A9 */ bl del__5CNodeFv -/* 8025312C 0025006C 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 80253130 00250070 7F A4 EB 78 */ mr r4, r29 -/* 80253134 00250074 48 1B E2 D5 */ bl add__5CNodeFP5CNode -/* 80253138 00250078 7F DD F3 78 */ mr r29, r30 -lbl_8025313C: -/* 8025313C 0025007C 28 1D 00 00 */ cmplwi r29, 0 -/* 80253140 00250080 40 82 FF E0 */ bne lbl_80253120 -/* 80253144 00250084 28 1F 00 00 */ cmplwi r31, 0 -/* 80253148 00250088 41 82 00 10 */ beq lbl_80253158 -/* 8025314C 0025008C 80 7C 00 04 */ lwz r3, 4(r28) -/* 80253150 00250090 38 80 00 02 */ li r4, 2 -/* 80253154 00250094 4B EA 12 D9 */ bl PADControlMotor -lbl_80253158: -/* 80253158 00250098 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025315C 0025009C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80253160 002500A0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80253164 002500A4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80253168 002500A8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8025316C 002500AC 7C 08 03 A6 */ mtlr r0 -/* 80253170 002500B0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80253174 002500B4 4E 80 00 20 */ blr - -.global rumbleStop__Q24Game10ContRumbleFi -rumbleStop__Q24Game10ContRumbleFi: -/* 80253178 002500B8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025317C 002500BC 7C 08 02 A6 */ mflr r0 -/* 80253180 002500C0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80253184 002500C4 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80253188 002500C8 7C 7B 1B 78 */ mr r27, r3 -/* 8025318C 002500CC 7C 9C 23 78 */ mr r28, r4 -/* 80253190 002500D0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80253194 002500D4 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80253198 002500D8 7F FD FB 78 */ mr r29, r31 -/* 8025319C 002500DC 48 00 00 2C */ b lbl_802531C8 -lbl_802531A0: -/* 802531A0 002500E0 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 802531A4 002500E4 83 DD 00 04 */ lwz r30, 4(r29) -/* 802531A8 002500E8 7C 00 E0 00 */ cmpw r0, r28 -/* 802531AC 002500EC 40 82 00 18 */ bne lbl_802531C4 -/* 802531B0 002500F0 7F A3 EB 78 */ mr r3, r29 -/* 802531B4 002500F4 48 1B E4 1D */ bl del__5CNodeFv -/* 802531B8 002500F8 80 7B 00 18 */ lwz r3, 0x18(r27) -/* 802531BC 002500FC 7F A4 EB 78 */ mr r4, r29 -/* 802531C0 00250100 48 1B E2 49 */ bl add__5CNodeFP5CNode -lbl_802531C4: -/* 802531C4 00250104 7F DD F3 78 */ mr r29, r30 -lbl_802531C8: -/* 802531C8 00250108 28 1D 00 00 */ cmplwi r29, 0 -/* 802531CC 0025010C 40 82 FF D4 */ bne lbl_802531A0 -/* 802531D0 00250110 28 1F 00 00 */ cmplwi r31, 0 -/* 802531D4 00250114 41 82 00 20 */ beq lbl_802531F4 -/* 802531D8 00250118 80 7B 00 14 */ lwz r3, 0x14(r27) -/* 802531DC 0025011C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 802531E0 00250120 28 00 00 00 */ cmplwi r0, 0 -/* 802531E4 00250124 41 82 00 10 */ beq lbl_802531F4 -/* 802531E8 00250128 80 7B 00 04 */ lwz r3, 4(r27) -/* 802531EC 0025012C 38 80 00 02 */ li r4, 2 -/* 802531F0 00250130 4B EA 12 3D */ bl PADControlMotor -lbl_802531F4: -/* 802531F4 00250134 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 802531F8 00250138 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802531FC 0025013C 7C 08 03 A6 */ mtlr r0 -/* 80253200 00250140 38 21 00 20 */ addi r1, r1, 0x20 -/* 80253204 00250144 4E 80 00 20 */ blr - -.global getRumbleParameter__Q24Game10ContRumbleFiRfRf -getRumbleParameter__Q24Game10ContRumbleFiRfRf: -/* 80253208 00250148 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025320C 0025014C 3C 60 55 55 */ lis r3, 0x55555556@ha -/* 80253210 00250150 3C E0 80 48 */ lis r7, lbl_80484850@ha -/* 80253214 00250154 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80253218 00250158 3B E4 FF F8 */ addi r31, r4, -8 -/* 8025321C 0025015C 39 47 48 50 */ addi r10, r7, lbl_80484850@l -/* 80253220 00250160 38 03 55 56 */ addi r0, r3, 0x55555556@l -/* 80253224 00250164 7C E0 F8 96 */ mulhw r7, r0, r31 -/* 80253228 00250168 81 2A 00 00 */ lwz r9, 0(r10) -/* 8025322C 0025016C 81 8A 00 04 */ lwz r12, 4(r10) -/* 80253230 00250170 3C 80 80 48 */ lis r4, lbl_8048485C@ha -/* 80253234 00250174 81 6A 00 08 */ lwz r11, 8(r10) -/* 80253238 00250178 38 61 00 08 */ addi r3, r1, 8 -/* 8025323C 0025017C 39 04 48 5C */ addi r8, r4, lbl_8048485C@l -/* 80253240 00250180 54 E0 0F FE */ srwi r0, r7, 0x1f -/* 80253244 00250184 7C E7 02 14 */ add r7, r7, r0 -/* 80253248 00250188 91 21 00 14 */ stw r9, 0x14(r1) -/* 8025324C 0025018C 1C 07 00 03 */ mulli r0, r7, 3 -/* 80253250 00250190 81 48 00 00 */ lwz r10, 0(r8) -/* 80253254 00250194 81 28 00 04 */ lwz r9, 4(r8) -/* 80253258 00250198 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025325C 0025019C 81 08 00 08 */ lwz r8, 8(r8) -/* 80253260 002501A0 54 E7 10 3A */ slwi r7, r7, 2 -/* 80253264 002501A4 7C 00 F8 50 */ subf r0, r0, r31 -/* 80253268 002501A8 91 81 00 18 */ stw r12, 0x18(r1) -/* 8025326C 002501AC C0 25 00 00 */ lfs f1, 0(r5) -/* 80253270 002501B0 54 00 10 3A */ slwi r0, r0, 2 -/* 80253274 002501B4 91 61 00 1C */ stw r11, 0x1c(r1) -/* 80253278 002501B8 7C 04 3C 2E */ lfsx f0, r4, r7 -/* 8025327C 002501BC 91 41 00 08 */ stw r10, 8(r1) -/* 80253280 002501C0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80253284 002501C4 91 21 00 0C */ stw r9, 0xc(r1) -/* 80253288 002501C8 91 01 00 10 */ stw r8, 0x10(r1) -/* 8025328C 002501CC D0 05 00 00 */ stfs f0, 0(r5) -/* 80253290 002501D0 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80253294 002501D4 D0 06 00 00 */ stfs f0, 0(r6) -/* 80253298 002501D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8025329C 002501DC 38 21 00 30 */ addi r1, r1, 0x30 -/* 802532A0 002501E0 4E 80 00 20 */ blr - -.global __dt__Q24Game10RumbleNodeFv -__dt__Q24Game10RumbleNodeFv: -/* 802532A4 002501E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802532A8 002501E8 7C 08 02 A6 */ mflr r0 -/* 802532AC 002501EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802532B0 002501F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802532B4 002501F4 7C 9F 23 78 */ mr r31, r4 -/* 802532B8 002501F8 93 C1 00 08 */ stw r30, 8(r1) -/* 802532BC 002501FC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802532C0 00250200 41 82 00 28 */ beq lbl_802532E8 -/* 802532C4 00250204 3C A0 80 4C */ lis r5, __vt__Q24Game10RumbleNode@ha -/* 802532C8 00250208 38 80 00 00 */ li r4, 0 -/* 802532CC 0025020C 38 05 1B E8 */ addi r0, r5, __vt__Q24Game10RumbleNode@l -/* 802532D0 00250210 90 1E 00 00 */ stw r0, 0(r30) -/* 802532D4 00250214 48 1B E2 B5 */ bl __dt__5CNodeFv -/* 802532D8 00250218 7F E0 07 35 */ extsh. r0, r31 -/* 802532DC 0025021C 40 81 00 0C */ ble lbl_802532E8 -/* 802532E0 00250220 7F C3 F3 78 */ mr r3, r30 -/* 802532E4 00250224 4B DD 0D D1 */ bl __dl__FPv -lbl_802532E8: -/* 802532E8 00250228 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802532EC 0025022C 7F C3 F3 78 */ mr r3, r30 -/* 802532F0 00250230 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802532F4 00250234 83 C1 00 08 */ lwz r30, 8(r1) -/* 802532F8 00250238 7C 08 03 A6 */ mtlr r0 -/* 802532FC 0025023C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80253300 00250240 4E 80 00 20 */ blr - -.global __ct__Q24Game9RumbleMgrFv -__ct__Q24Game9RumbleMgrFv: -/* 80253304 00250244 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80253308 00250248 7C 08 02 A6 */ mflr r0 -/* 8025330C 0025024C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80253310 00250250 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80253314 00250254 7C 7F 1B 78 */ mr r31, r3 -/* 80253318 00250258 48 1B E0 79 */ bl __ct__5CNodeFv -/* 8025331C 0025025C 3C 60 80 4C */ lis r3, __vt__Q24Game9RumbleMgr@ha -/* 80253320 00250260 3C 80 80 48 */ lis r4, lbl_80484878@ha -/* 80253324 00250264 38 03 1B F8 */ addi r0, r3, __vt__Q24Game9RumbleMgr@l -/* 80253328 00250268 7F E3 FB 78 */ mr r3, r31 -/* 8025332C 0025026C 90 1F 00 00 */ stw r0, 0(r31) -/* 80253330 00250270 38 04 48 78 */ addi r0, r4, lbl_80484878@l -/* 80253334 00250274 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80253338 00250278 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025333C 0025027C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80253340 00250280 7C 08 03 A6 */ mtlr r0 -/* 80253344 00250284 38 21 00 10 */ addi r1, r1, 0x10 -/* 80253348 00250288 4E 80 00 20 */ blr - -.global loadResource__Q24Game9RumbleMgrFv -loadResource__Q24Game9RumbleMgrFv: -/* 8025334C 0025028C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80253350 00250290 7C 08 02 A6 */ mflr r0 -/* 80253354 00250294 3C 80 80 48 */ lis r4, lbl_80484868@ha -/* 80253358 00250298 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025335C 0025029C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80253360 002502A0 7C 7F 1B 78 */ mr r31, r3 -/* 80253364 002502A4 38 60 00 38 */ li r3, 0x38 -/* 80253368 002502A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025336C 002502AC 3B C4 48 68 */ addi r30, r4, lbl_80484868@l -/* 80253370 002502B0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80253374 002502B4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80253378 002502B8 4B DD 0B 2D */ bl __nw__FUl -/* 8025337C 002502BC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80253380 002502C0 41 82 00 58 */ beq lbl_802533D8 -/* 80253384 002502C4 38 1D 00 34 */ addi r0, r29, 0x34 -/* 80253388 002502C8 3C A0 72 72 */ lis r5, 0x7272646D@ha -/* 8025338C 002502CC 90 1D 00 00 */ stw r0, 0(r29) -/* 80253390 002502D0 38 60 00 00 */ li r3, 0 -/* 80253394 002502D4 38 1E 00 1C */ addi r0, r30, 0x1c -/* 80253398 002502D8 7F A4 EB 78 */ mr r4, r29 -/* 8025339C 002502DC 90 7D 00 04 */ stw r3, 4(r29) -/* 802533A0 002502E0 38 7D 00 0C */ addi r3, r29, 0xc -/* 802533A4 002502E4 38 A5 64 6D */ addi r5, r5, 0x7272646D@l -/* 802533A8 002502E8 38 DE 00 28 */ addi r6, r30, 0x28 -/* 802533AC 002502EC 90 1D 00 08 */ stw r0, 8(r29) -/* 802533B0 002502F0 48 1C 02 A9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802533B4 002502F4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802533B8 002502F8 C0 42 C6 18 */ lfs f2, lbl_8051A978@sda21(r2) -/* 802533BC 002502FC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802533C0 00250300 C0 22 C6 1C */ lfs f1, lbl_8051A97C@sda21(r2) -/* 802533C4 00250304 90 1D 00 0C */ stw r0, 0xc(r29) -/* 802533C8 00250308 C0 02 C6 20 */ lfs f0, lbl_8051A980@sda21(r2) -/* 802533CC 0025030C D0 5D 00 24 */ stfs f2, 0x24(r29) -/* 802533D0 00250310 D0 3D 00 2C */ stfs f1, 0x2c(r29) -/* 802533D4 00250314 D0 1D 00 30 */ stfs f0, 0x30(r29) -lbl_802533D8: -/* 802533D8 00250318 93 BF 00 24 */ stw r29, 0x24(r31) -/* 802533DC 0025031C 7F E3 FB 78 */ mr r3, r31 -/* 802533E0 00250320 38 9E 00 38 */ addi r4, r30, 0x38 -/* 802533E4 00250324 48 00 08 55 */ bl readRumbleParms__Q24Game9RumbleMgrFPc -/* 802533E8 00250328 38 60 00 08 */ li r3, 8 -/* 802533EC 0025032C 4B DD 0A B9 */ bl __nw__FUl -/* 802533F0 00250330 7C 60 1B 79 */ or. r0, r3, r3 -/* 802533F4 00250334 41 82 00 0C */ beq lbl_80253400 -/* 802533F8 00250338 48 00 DF D5 */ bl __ct__Q24Game13RumbleDataMgrFv -/* 802533FC 0025033C 7C 60 1B 78 */ mr r0, r3 -lbl_80253400: -/* 80253400 00250340 90 1F 00 28 */ stw r0, 0x28(r31) -/* 80253404 00250344 7F E3 FB 78 */ mr r3, r31 -/* 80253408 00250348 38 9E 00 60 */ addi r4, r30, 0x60 -/* 8025340C 0025034C 48 00 08 ED */ bl readRumbleData__Q24Game9RumbleMgrFPc -/* 80253410 00250350 38 00 00 01 */ li r0, 1 -/* 80253414 00250354 38 60 00 08 */ li r3, 8 -/* 80253418 00250358 98 1F 00 18 */ stb r0, 0x18(r31) -/* 8025341C 0025035C 4B DD 0B 91 */ bl __nwa__FUl -/* 80253420 00250360 90 7F 00 20 */ stw r3, 0x20(r31) -/* 80253424 00250364 38 60 00 08 */ li r3, 8 -/* 80253428 00250368 4B DD 0B 85 */ bl __nwa__FUl -/* 8025342C 0025036C 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 80253430 00250370 3B C0 00 00 */ li r30, 0 -/* 80253434 00250374 7F DD F3 78 */ mr r29, r30 -/* 80253438 00250378 3B 80 00 00 */ li r28, 0 -/* 8025343C 0025037C 93 DF 00 2C */ stw r30, 0x2c(r31) -/* 80253440 00250380 93 DF 00 30 */ stw r30, 0x30(r31) -lbl_80253444: -/* 80253444 00250384 38 60 00 20 */ li r3, 0x20 -/* 80253448 00250388 4B DD 0A 5D */ bl __nw__FUl -/* 8025344C 0025038C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80253450 00250390 41 82 00 14 */ beq lbl_80253464 -/* 80253454 00250394 7F 84 E3 78 */ mr r4, r28 -/* 80253458 00250398 38 A0 00 08 */ li r5, 8 -/* 8025345C 0025039C 4B FF F6 C5 */ bl __ct__Q24Game10ContRumbleFii -/* 80253460 002503A0 7C 60 1B 78 */ mr r0, r3 -lbl_80253464: -/* 80253464 002503A4 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80253468 002503A8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8025346C 002503AC 2C 1C 00 02 */ cmpwi r28, 2 -/* 80253470 002503B0 7C 03 E9 2E */ stwx r0, r3, r29 -/* 80253474 002503B4 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80253478 002503B8 7F C3 E9 2E */ stwx r30, r3, r29 -/* 8025347C 002503BC 3B BD 00 04 */ addi r29, r29, 4 -/* 80253480 002503C0 41 80 FF C4 */ blt lbl_80253444 -/* 80253484 002503C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80253488 002503C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025348C 002503CC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80253490 002503D0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80253494 002503D4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80253498 002503D8 7C 08 03 A6 */ mtlr r0 -/* 8025349C 002503DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802534A0 002503E0 4E 80 00 20 */ blr - -.global init__Q24Game9RumbleMgrFv -init__Q24Game9RumbleMgrFv: -/* 802534A4 002503E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802534A8 002503E8 7C 08 02 A6 */ mflr r0 -/* 802534AC 002503EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 802534B0 002503F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802534B4 002503F4 7C 7F 1B 78 */ mr r31, r3 -/* 802534B8 002503F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802534BC 002503FC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802534C0 00250400 93 81 00 10 */ stw r28, 0x10(r1) -/* 802534C4 00250404 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 802534C8 00250408 80 64 00 60 */ lwz r3, 0x60(r4) -/* 802534CC 0025040C 28 03 00 00 */ cmplwi r3, 0 -/* 802534D0 00250410 41 82 00 1C */ beq lbl_802534EC -/* 802534D4 00250414 88 63 00 3B */ lbz r3, 0x3b(r3) -/* 802534D8 00250418 7C 03 00 D0 */ neg r0, r3 -/* 802534DC 0025041C 7C 00 1B 78 */ or r0, r0, r3 -/* 802534E0 00250420 54 00 0F FE */ srwi r0, r0, 0x1f -/* 802534E4 00250424 98 1F 00 18 */ stb r0, 0x18(r31) -/* 802534E8 00250428 48 00 00 0C */ b lbl_802534F4 -lbl_802534EC: -/* 802534EC 0025042C 38 00 00 01 */ li r0, 1 -/* 802534F0 00250430 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_802534F4: -/* 802534F4 00250434 3B C0 00 00 */ li r30, 0 -/* 802534F8 00250438 3B 80 00 00 */ li r28, 0 -/* 802534FC 0025043C 93 DF 00 2C */ stw r30, 0x2c(r31) -/* 80253500 00250440 7F DD F3 78 */ mr r29, r30 -/* 80253504 00250444 93 DF 00 30 */ stw r30, 0x30(r31) -lbl_80253508: -/* 80253508 00250448 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8025350C 0025044C 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80253510 00250450 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 80253514 00250454 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80253518 00250458 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8025351C 0025045C 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 80253520 00250460 4B FF F7 59 */ bl init__Q24Game10ContRumbleFv -/* 80253524 00250464 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80253528 00250468 3B 9C 00 01 */ addi r28, r28, 1 -/* 8025352C 0025046C 2C 1C 00 02 */ cmpwi r28, 2 -/* 80253530 00250470 7F C3 E9 2E */ stwx r30, r3, r29 -/* 80253534 00250474 3B BD 00 04 */ addi r29, r29, 4 -/* 80253538 00250478 41 80 FF D0 */ blt lbl_80253508 -/* 8025353C 0025047C 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 80253540 00250480 28 03 00 00 */ cmplwi r3, 0 -/* 80253544 00250484 41 82 00 48 */ beq lbl_8025358C -/* 80253548 00250488 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8025354C 0025048C 2C 00 00 04 */ cmpwi r0, 4 -/* 80253550 00250490 41 82 00 3C */ beq lbl_8025358C -/* 80253554 00250494 3B 80 00 00 */ li r28, 0 -/* 80253558 00250498 3B A0 00 00 */ li r29, 0 -lbl_8025355C: -/* 8025355C 0025049C 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 80253560 002504A0 7F 84 E3 78 */ mr r4, r28 -/* 80253564 002504A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80253568 002504A8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8025356C 002504AC 7D 89 03 A6 */ mtctr r12 -/* 80253570 002504B0 4E 80 04 21 */ bctrl -/* 80253574 002504B4 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80253578 002504B8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8025357C 002504BC 2C 1C 00 02 */ cmpwi r28, 2 -/* 80253580 002504C0 7C 64 E9 2E */ stwx r3, r4, r29 -/* 80253584 002504C4 3B BD 00 04 */ addi r29, r29, 4 -/* 80253588 002504C8 41 80 FF D4 */ blt lbl_8025355C -lbl_8025358C: -/* 8025358C 002504CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80253590 002504D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80253594 002504D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80253598 002504D8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025359C 002504DC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802535A0 002504E0 7C 08 03 A6 */ mtlr r0 -/* 802535A4 002504E4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802535A8 002504E8 4E 80 00 20 */ blr - -.global update__Q24Game9RumbleMgrFv -update__Q24Game9RumbleMgrFv: -/* 802535AC 002504EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802535B0 002504F0 7C 08 02 A6 */ mflr r0 -/* 802535B4 002504F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802535B8 002504F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802535BC 002504FC 7C 7F 1B 78 */ mr r31, r3 -/* 802535C0 00250500 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802535C4 00250504 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802535C8 00250508 93 81 00 10 */ stw r28, 0x10(r1) -/* 802535CC 0025050C 48 00 05 2D */ bl isRumbleUpdateOn__Q24Game9RumbleMgrFv -/* 802535D0 00250510 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802535D4 00250514 41 82 01 8C */ beq lbl_80253760 -/* 802535D8 00250518 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 802535DC 0025051C 28 03 00 00 */ cmplwi r3, 0 -/* 802535E0 00250520 41 82 01 00 */ beq lbl_802536E0 -/* 802535E4 00250524 80 63 00 44 */ lwz r3, 0x44(r3) -/* 802535E8 00250528 38 00 00 00 */ li r0, 0 -/* 802535EC 0025052C 2C 03 00 01 */ cmpwi r3, 1 -/* 802535F0 00250530 41 82 00 0C */ beq lbl_802535FC -/* 802535F4 00250534 2C 03 00 03 */ cmpwi r3, 3 -/* 802535F8 00250538 40 82 00 08 */ bne lbl_80253600 -lbl_802535FC: -/* 802535FC 0025053C 38 00 00 01 */ li r0, 1 -lbl_80253600: -/* 80253600 00250540 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80253604 00250544 40 82 00 DC */ bne lbl_802536E0 -/* 80253608 00250548 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8025360C 0025054C 28 00 00 00 */ cmplwi r0, 0 -/* 80253610 00250550 41 82 00 38 */ beq lbl_80253648 -/* 80253614 00250554 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80253618 00250558 38 80 00 01 */ li r4, 1 -/* 8025361C 0025055C 80 63 00 00 */ lwz r3, 0(r3) -/* 80253620 00250560 4B FF F9 75 */ bl setController__Q24Game10ContRumbleFb -/* 80253624 00250564 80 9F 00 2C */ lwz r4, 0x2c(r31) -/* 80253628 00250568 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8025362C 0025056C A8 04 00 7C */ lha r0, 0x7c(r4) -/* 80253630 00250570 80 63 00 00 */ lwz r3, 0(r3) -/* 80253634 00250574 90 03 00 04 */ stw r0, 4(r3) -/* 80253638 00250578 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8025363C 0025057C 80 63 00 00 */ lwz r3, 0(r3) -/* 80253640 00250580 4B FF F6 C5 */ bl update__Q24Game10ContRumbleFv -/* 80253644 00250584 48 00 01 1C */ b lbl_80253760 -lbl_80253648: -/* 80253648 00250588 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 8025364C 0025058C 4B F0 75 D5 */ bl getActiveNavi__Q24Game7NaviMgrFv -/* 80253650 00250590 7C 7E 1B 78 */ mr r30, r3 -/* 80253654 00250594 3B 80 00 00 */ li r28, 0 -/* 80253658 00250598 3B A0 00 00 */ li r29, 0 -lbl_8025365C: -/* 8025365C 0025059C 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80253660 002505A0 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 80253664 002505A4 28 03 00 00 */ cmplwi r3, 0 -/* 80253668 002505A8 41 82 00 48 */ beq lbl_802536B0 -/* 8025366C 002505AC 80 03 02 78 */ lwz r0, 0x278(r3) -/* 80253670 002505B0 28 00 00 00 */ cmplwi r0, 0 -/* 80253674 002505B4 41 82 00 3C */ beq lbl_802536B0 -/* 80253678 002505B8 7C 03 F0 40 */ cmplw r3, r30 -/* 8025367C 002505BC 40 82 00 34 */ bne lbl_802536B0 -/* 80253680 002505C0 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80253684 002505C4 38 80 00 01 */ li r4, 1 -/* 80253688 002505C8 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 8025368C 002505CC 4B FF F9 09 */ bl setController__Q24Game10ContRumbleFb -/* 80253690 002505D0 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80253694 002505D4 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80253698 002505D8 7C 84 E8 2E */ lwzx r4, r4, r29 -/* 8025369C 002505DC 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 802536A0 002505E0 80 84 02 78 */ lwz r4, 0x278(r4) -/* 802536A4 002505E4 A8 04 00 7C */ lha r0, 0x7c(r4) -/* 802536A8 002505E8 90 03 00 04 */ stw r0, 4(r3) -/* 802536AC 002505EC 48 00 00 14 */ b lbl_802536C0 -lbl_802536B0: -/* 802536B0 002505F0 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 802536B4 002505F4 38 80 00 00 */ li r4, 0 -/* 802536B8 002505F8 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 802536BC 002505FC 4B FF F8 D9 */ bl setController__Q24Game10ContRumbleFb -lbl_802536C0: -/* 802536C0 00250600 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 802536C4 00250604 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 802536C8 00250608 4B FF F6 3D */ bl update__Q24Game10ContRumbleFv -/* 802536CC 0025060C 3B 9C 00 01 */ addi r28, r28, 1 -/* 802536D0 00250610 3B BD 00 04 */ addi r29, r29, 4 -/* 802536D4 00250614 2C 1C 00 02 */ cmpwi r28, 2 -/* 802536D8 00250618 41 80 FF 84 */ blt lbl_8025365C -/* 802536DC 0025061C 48 00 00 84 */ b lbl_80253760 -lbl_802536E0: -/* 802536E0 00250620 3B 80 00 00 */ li r28, 0 -/* 802536E4 00250624 3B A0 00 00 */ li r29, 0 -lbl_802536E8: -/* 802536E8 00250628 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 802536EC 0025062C 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 802536F0 00250630 28 03 00 00 */ cmplwi r3, 0 -/* 802536F4 00250634 41 82 00 40 */ beq lbl_80253734 -/* 802536F8 00250638 80 03 02 78 */ lwz r0, 0x278(r3) -/* 802536FC 0025063C 28 00 00 00 */ cmplwi r0, 0 -/* 80253700 00250640 41 82 00 34 */ beq lbl_80253734 -/* 80253704 00250644 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80253708 00250648 38 80 00 01 */ li r4, 1 -/* 8025370C 0025064C 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 80253710 00250650 4B FF F8 85 */ bl setController__Q24Game10ContRumbleFb -/* 80253714 00250654 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80253718 00250658 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8025371C 0025065C 7C 84 E8 2E */ lwzx r4, r4, r29 -/* 80253720 00250660 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 80253724 00250664 80 84 02 78 */ lwz r4, 0x278(r4) -/* 80253728 00250668 A8 04 00 7C */ lha r0, 0x7c(r4) -/* 8025372C 0025066C 90 03 00 04 */ stw r0, 4(r3) -/* 80253730 00250670 48 00 00 14 */ b lbl_80253744 -lbl_80253734: -/* 80253734 00250674 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80253738 00250678 38 80 00 00 */ li r4, 0 -/* 8025373C 0025067C 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 80253740 00250680 4B FF F8 55 */ bl setController__Q24Game10ContRumbleFb -lbl_80253744: -/* 80253744 00250684 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80253748 00250688 7C 63 E8 2E */ lwzx r3, r3, r29 -/* 8025374C 0025068C 4B FF F5 B9 */ bl update__Q24Game10ContRumbleFv -/* 80253750 00250690 3B 9C 00 01 */ addi r28, r28, 1 -/* 80253754 00250694 3B BD 00 04 */ addi r29, r29, 4 -/* 80253758 00250698 2C 1C 00 02 */ cmpwi r28, 2 -/* 8025375C 0025069C 41 80 FF 8C */ blt lbl_802536E8 -lbl_80253760: -/* 80253760 002506A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80253764 002506A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80253768 002506A8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025376C 002506AC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80253770 002506B0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80253774 002506B4 7C 08 03 A6 */ mtlr r0 -/* 80253778 002506B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025377C 002506BC 4E 80 00 20 */ blr - -.global startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i: -/* 80253780 002506C0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80253784 002506C4 7C 08 02 A6 */ mflr r0 -/* 80253788 002506C8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025378C 002506CC BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80253790 002506D0 7C 7B 1B 78 */ mr r27, r3 -/* 80253794 002506D4 7C 9C 23 78 */ mr r28, r4 -/* 80253798 002506D8 7C BD 2B 78 */ mr r29, r5 -/* 8025379C 002506DC 88 03 00 18 */ lbz r0, 0x18(r3) -/* 802537A0 002506E0 28 00 00 00 */ cmplwi r0, 0 -/* 802537A4 002506E4 41 82 01 6C */ beq lbl_80253910 -/* 802537A8 002506E8 80 9B 00 30 */ lwz r4, 0x30(r27) -/* 802537AC 002506EC 28 04 00 00 */ cmplwi r4, 0 -/* 802537B0 002506F0 41 82 00 88 */ beq lbl_80253838 -/* 802537B4 002506F4 C0 24 00 04 */ lfs f1, 4(r4) -/* 802537B8 002506F8 C0 1D 00 04 */ lfs f0, 4(r29) -/* 802537BC 002506FC C0 64 00 00 */ lfs f3, 0(r4) -/* 802537C0 00250700 EC 81 00 28 */ fsubs f4, f1, f0 -/* 802537C4 00250704 C0 5D 00 00 */ lfs f2, 0(r29) -/* 802537C8 00250708 C0 24 00 08 */ lfs f1, 8(r4) -/* 802537CC 0025070C C0 1D 00 08 */ lfs f0, 8(r29) -/* 802537D0 00250710 EC 63 10 28 */ fsubs f3, f3, f2 -/* 802537D4 00250714 EC 84 01 32 */ fmuls f4, f4, f4 -/* 802537D8 00250718 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802537DC 0025071C C0 02 C6 1C */ lfs f0, lbl_8051A97C@sda21(r2) -/* 802537E0 00250720 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 802537E4 00250724 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 802537E8 00250728 EC 22 08 2A */ fadds f1, f2, f1 -/* 802537EC 0025072C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802537F0 00250730 40 81 00 14 */ ble lbl_80253804 -/* 802537F4 00250734 40 81 00 14 */ ble lbl_80253808 -/* 802537F8 00250738 FC 00 08 34 */ frsqrte f0, f1 -/* 802537FC 0025073C EC 20 00 72 */ fmuls f1, f0, f1 -/* 80253800 00250740 48 00 00 08 */ b lbl_80253808 -lbl_80253804: -/* 80253804 00250744 FC 20 00 90 */ fmr f1, f0 -lbl_80253808: -/* 80253808 00250748 C0 42 C6 20 */ lfs f2, lbl_8051A980@sda21(r2) -/* 8025380C 0025074C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80253810 00250750 40 80 01 00 */ bge lbl_80253910 -/* 80253814 00250754 EC 02 08 28 */ fsubs f0, f2, f1 -/* 80253818 00250758 80 7B 00 20 */ lwz r3, 0x20(r27) -/* 8025381C 0025075C C0 22 C6 24 */ lfs f1, lbl_8051A984@sda21(r2) -/* 80253820 00250760 7F 84 E3 78 */ mr r4, r28 -/* 80253824 00250764 80 63 00 00 */ lwz r3, 0(r3) -/* 80253828 00250768 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8025382C 0025076C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80253830 00250770 4B FF F7 BD */ bl startRumble__Q24Game10ContRumbleFif -/* 80253834 00250774 48 00 00 DC */ b lbl_80253910 -lbl_80253838: -/* 80253838 00250778 7C C5 33 78 */ mr r5, r6 -/* 8025383C 0025077C 38 81 00 08 */ addi r4, r1, 8 -/* 80253840 00250780 48 00 03 91 */ bl isStartAndEnd__Q24Game9RumbleMgrFPii -/* 80253844 00250784 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80253848 00250788 41 82 00 C8 */ beq lbl_80253910 -/* 8025384C 0025078C 80 01 00 08 */ lwz r0, 8(r1) -/* 80253850 00250790 7C 1E 03 78 */ mr r30, r0 -/* 80253854 00250794 54 1F 10 3A */ slwi r31, r0, 2 -/* 80253858 00250798 48 00 00 AC */ b lbl_80253904 -lbl_8025385C: -/* 8025385C 0025079C 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 80253860 002507A0 7C 83 F8 2E */ lwzx r4, r3, r31 -/* 80253864 002507A4 28 04 00 00 */ cmplwi r4, 0 -/* 80253868 002507A8 41 82 00 94 */ beq lbl_802538FC -/* 8025386C 002507AC 81 84 00 00 */ lwz r12, 0(r4) -/* 80253870 002507B0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80253874 002507B4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80253878 002507B8 7D 89 03 A6 */ mtctr r12 -/* 8025387C 002507BC 4E 80 04 21 */ bctrl -/* 80253880 002507C0 C0 3D 00 04 */ lfs f1, 4(r29) -/* 80253884 002507C4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80253888 002507C8 C0 7D 00 00 */ lfs f3, 0(r29) -/* 8025388C 002507CC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80253890 002507D0 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80253894 002507D4 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80253898 002507D8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8025389C 002507DC EC 63 10 28 */ fsubs f3, f3, f2 -/* 802538A0 002507E0 EC 84 01 32 */ fmuls f4, f4, f4 -/* 802538A4 002507E4 EC 41 00 28 */ fsubs f2, f1, f0 -/* 802538A8 002507E8 C0 02 C6 1C */ lfs f0, lbl_8051A97C@sda21(r2) -/* 802538AC 002507EC EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 802538B0 002507F0 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 802538B4 002507F4 EC 22 08 2A */ fadds f1, f2, f1 -/* 802538B8 002507F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802538BC 002507FC 40 81 00 14 */ ble lbl_802538D0 -/* 802538C0 00250800 40 81 00 14 */ ble lbl_802538D4 -/* 802538C4 00250804 FC 00 08 34 */ frsqrte f0, f1 -/* 802538C8 00250808 EC 20 00 72 */ fmuls f1, f0, f1 -/* 802538CC 0025080C 48 00 00 08 */ b lbl_802538D4 -lbl_802538D0: -/* 802538D0 00250810 FC 20 00 90 */ fmr f1, f0 -lbl_802538D4: -/* 802538D4 00250814 80 7B 00 24 */ lwz r3, 0x24(r27) -/* 802538D8 00250818 C0 43 00 24 */ lfs f2, 0x24(r3) -/* 802538DC 0025081C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802538E0 00250820 40 80 00 1C */ bge lbl_802538FC -/* 802538E4 00250824 EC 02 08 28 */ fsubs f0, f2, f1 -/* 802538E8 00250828 80 7B 00 20 */ lwz r3, 0x20(r27) -/* 802538EC 0025082C 7F 84 E3 78 */ mr r4, r28 -/* 802538F0 00250830 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802538F4 00250834 EC 20 10 24 */ fdivs f1, f0, f2 -/* 802538F8 00250838 4B FF F6 F5 */ bl startRumble__Q24Game10ContRumbleFif -lbl_802538FC: -/* 802538FC 0025083C 3B FF 00 04 */ addi r31, r31, 4 -/* 80253900 00250840 3B DE 00 01 */ addi r30, r30, 1 -lbl_80253904: -/* 80253904 00250844 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80253908 00250848 7C 1E 00 00 */ cmpw r30, r0 -/* 8025390C 0025084C 41 80 FF 50 */ blt lbl_8025385C -lbl_80253910: -/* 80253910 00250850 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 80253914 00250854 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80253918 00250858 7C 08 03 A6 */ mtlr r0 -/* 8025391C 0025085C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80253920 00250860 4E 80 00 20 */ blr - -.global startRumble__Q24Game9RumbleMgrFii -startRumble__Q24Game9RumbleMgrFii: -/* 80253924 00250864 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80253928 00250868 7C 08 02 A6 */ mflr r0 -/* 8025392C 0025086C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80253930 00250870 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80253934 00250874 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80253938 00250878 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8025393C 0025087C 7C 9D 23 78 */ mr r29, r4 -/* 80253940 00250880 93 81 00 10 */ stw r28, 0x10(r1) -/* 80253944 00250884 7C 7C 1B 78 */ mr r28, r3 -/* 80253948 00250888 88 03 00 18 */ lbz r0, 0x18(r3) -/* 8025394C 0025088C 28 00 00 00 */ cmplwi r0, 0 -/* 80253950 00250890 41 82 00 6C */ beq lbl_802539BC -/* 80253954 00250894 80 1C 00 30 */ lwz r0, 0x30(r28) -/* 80253958 00250898 28 00 00 00 */ cmplwi r0, 0 -/* 8025395C 0025089C 41 82 00 18 */ beq lbl_80253974 -/* 80253960 002508A0 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 80253964 002508A4 C0 22 C6 28 */ lfs f1, lbl_8051A988@sda21(r2) -/* 80253968 002508A8 80 63 00 00 */ lwz r3, 0(r3) -/* 8025396C 002508AC 4B FF F6 81 */ bl startRumble__Q24Game10ContRumbleFif -/* 80253970 002508B0 48 00 00 4C */ b lbl_802539BC -lbl_80253974: -/* 80253974 002508B4 38 81 00 08 */ addi r4, r1, 8 -/* 80253978 002508B8 48 00 02 59 */ bl isStartAndEnd__Q24Game9RumbleMgrFPii -/* 8025397C 002508BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80253980 002508C0 41 82 00 3C */ beq lbl_802539BC -/* 80253984 002508C4 80 01 00 08 */ lwz r0, 8(r1) -/* 80253988 002508C8 7C 1E 03 78 */ mr r30, r0 -/* 8025398C 002508CC 54 1F 10 3A */ slwi r31, r0, 2 -/* 80253990 002508D0 48 00 00 20 */ b lbl_802539B0 -lbl_80253994: -/* 80253994 002508D4 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 80253998 002508D8 7F A4 EB 78 */ mr r4, r29 -/* 8025399C 002508DC C0 22 C6 28 */ lfs f1, lbl_8051A988@sda21(r2) -/* 802539A0 002508E0 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 802539A4 002508E4 4B FF F6 49 */ bl startRumble__Q24Game10ContRumbleFif -/* 802539A8 002508E8 3B FF 00 04 */ addi r31, r31, 4 -/* 802539AC 002508EC 3B DE 00 01 */ addi r30, r30, 1 -lbl_802539B0: -/* 802539B0 002508F0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 802539B4 002508F4 7C 1E 00 00 */ cmpw r30, r0 -/* 802539B8 002508F8 41 80 FF DC */ blt lbl_80253994 -lbl_802539BC: -/* 802539BC 002508FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802539C0 00250900 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802539C4 00250904 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802539C8 00250908 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802539CC 0025090C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 802539D0 00250910 7C 08 03 A6 */ mtlr r0 -/* 802539D4 00250914 38 21 00 20 */ addi r1, r1, 0x20 -/* 802539D8 00250918 4E 80 00 20 */ blr - -.global stopRumble__Q24Game9RumbleMgrFii -stopRumble__Q24Game9RumbleMgrFii: -/* 802539DC 0025091C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802539E0 00250920 7C 08 02 A6 */ mflr r0 -/* 802539E4 00250924 90 01 00 24 */ stw r0, 0x24(r1) -/* 802539E8 00250928 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802539EC 0025092C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802539F0 00250930 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802539F4 00250934 7C 9D 23 78 */ mr r29, r4 -/* 802539F8 00250938 93 81 00 10 */ stw r28, 0x10(r1) -/* 802539FC 0025093C 7C 7C 1B 78 */ mr r28, r3 -/* 80253A00 00250940 88 03 00 18 */ lbz r0, 0x18(r3) -/* 80253A04 00250944 28 00 00 00 */ cmplwi r0, 0 -/* 80253A08 00250948 41 82 00 48 */ beq lbl_80253A50 -/* 80253A0C 0025094C 38 81 00 08 */ addi r4, r1, 8 -/* 80253A10 00250950 48 00 01 C1 */ bl isStartAndEnd__Q24Game9RumbleMgrFPii -/* 80253A14 00250954 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80253A18 00250958 41 82 00 38 */ beq lbl_80253A50 -/* 80253A1C 0025095C 80 01 00 08 */ lwz r0, 8(r1) -/* 80253A20 00250960 7C 1E 03 78 */ mr r30, r0 -/* 80253A24 00250964 54 1F 10 3A */ slwi r31, r0, 2 -/* 80253A28 00250968 48 00 00 1C */ b lbl_80253A44 -lbl_80253A2C: -/* 80253A2C 0025096C 80 7C 00 20 */ lwz r3, 0x20(r28) -/* 80253A30 00250970 7F A4 EB 78 */ mr r4, r29 -/* 80253A34 00250974 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80253A38 00250978 4B FF F7 41 */ bl rumbleStop__Q24Game10ContRumbleFi -/* 80253A3C 0025097C 3B FF 00 04 */ addi r31, r31, 4 -/* 80253A40 00250980 3B DE 00 01 */ addi r30, r30, 1 -lbl_80253A44: -/* 80253A44 00250984 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80253A48 00250988 7C 1E 00 00 */ cmpw r30, r0 -/* 80253A4C 0025098C 41 80 FF E0 */ blt lbl_80253A2C -lbl_80253A50: -/* 80253A50 00250990 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80253A54 00250994 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80253A58 00250998 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80253A5C 0025099C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80253A60 002509A0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80253A64 002509A4 7C 08 03 A6 */ mtlr r0 -/* 80253A68 002509A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80253A6C 002509AC 4E 80 00 20 */ blr - -.global stopRumble__Q24Game9RumbleMgrFi -stopRumble__Q24Game9RumbleMgrFi: -/* 80253A70 002509B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80253A74 002509B4 7C 08 02 A6 */ mflr r0 -/* 80253A78 002509B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80253A7C 002509BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80253A80 002509C0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80253A84 002509C4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80253A88 002509C8 7C 7D 1B 78 */ mr r29, r3 -/* 80253A8C 002509CC 88 03 00 18 */ lbz r0, 0x18(r3) -/* 80253A90 002509D0 28 00 00 00 */ cmplwi r0, 0 -/* 80253A94 002509D4 41 82 00 48 */ beq lbl_80253ADC -/* 80253A98 002509D8 7C 85 23 78 */ mr r5, r4 -/* 80253A9C 002509DC 38 81 00 08 */ addi r4, r1, 8 -/* 80253AA0 002509E0 48 00 01 31 */ bl isStartAndEnd__Q24Game9RumbleMgrFPii -/* 80253AA4 002509E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80253AA8 002509E8 41 82 00 34 */ beq lbl_80253ADC -/* 80253AAC 002509EC 80 01 00 08 */ lwz r0, 8(r1) -/* 80253AB0 002509F0 7C 1E 03 78 */ mr r30, r0 -/* 80253AB4 002509F4 54 1F 10 3A */ slwi r31, r0, 2 -/* 80253AB8 002509F8 48 00 00 18 */ b lbl_80253AD0 -lbl_80253ABC: -/* 80253ABC 002509FC 80 7D 00 20 */ lwz r3, 0x20(r29) -/* 80253AC0 00250A00 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 80253AC4 00250A04 4B FF F6 2D */ bl rumbleStop__Q24Game10ContRumbleFv -/* 80253AC8 00250A08 3B FF 00 04 */ addi r31, r31, 4 -/* 80253ACC 00250A0C 3B DE 00 01 */ addi r30, r30, 1 -lbl_80253AD0: -/* 80253AD0 00250A10 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80253AD4 00250A14 7C 1E 00 00 */ cmpw r30, r0 -/* 80253AD8 00250A18 41 80 FF E4 */ blt lbl_80253ABC -lbl_80253ADC: -/* 80253ADC 00250A1C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80253AE0 00250A20 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80253AE4 00250A24 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80253AE8 00250A28 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80253AEC 00250A2C 7C 08 03 A6 */ mtlr r0 -/* 80253AF0 00250A30 38 21 00 20 */ addi r1, r1, 0x20 -/* 80253AF4 00250A34 4E 80 00 20 */ blr - -.global isRumbleUpdateOn__Q24Game9RumbleMgrFv -isRumbleUpdateOn__Q24Game9RumbleMgrFv: -/* 80253AF8 00250A38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80253AFC 00250A3C 7C 08 02 A6 */ mflr r0 -/* 80253B00 00250A40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80253B04 00250A44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80253B08 00250A48 88 03 00 18 */ lbz r0, 0x18(r3) -/* 80253B0C 00250A4C 28 00 00 00 */ cmplwi r0, 0 -/* 80253B10 00250A50 41 82 00 30 */ beq lbl_80253B40 -/* 80253B14 00250A54 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 80253B18 00250A58 28 03 00 00 */ cmplwi r3, 0 -/* 80253B1C 00250A5C 41 82 00 24 */ beq lbl_80253B40 -/* 80253B20 00250A60 88 03 00 4A */ lbz r0, 0x4a(r3) -/* 80253B24 00250A64 28 00 00 00 */ cmplwi r0, 0 -/* 80253B28 00250A68 40 82 00 18 */ bne lbl_80253B40 -/* 80253B2C 00250A6C 4B F6 14 9D */ bl paused__Q24Game10GameSystemFv -/* 80253B30 00250A70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80253B34 00250A74 40 82 00 0C */ bne lbl_80253B40 -/* 80253B38 00250A78 38 60 00 01 */ li r3, 1 -/* 80253B3C 00250A7C 48 00 00 24 */ b lbl_80253B60 -lbl_80253B40: -/* 80253B40 00250A80 3B E0 00 00 */ li r31, 0 -lbl_80253B44: -/* 80253B44 00250A84 7F E3 FB 78 */ mr r3, r31 -/* 80253B48 00250A88 38 80 00 02 */ li r4, 2 -/* 80253B4C 00250A8C 4B EA 08 E1 */ bl PADControlMotor -/* 80253B50 00250A90 3B FF 00 01 */ addi r31, r31, 1 -/* 80253B54 00250A94 2C 1F 00 04 */ cmpwi r31, 4 -/* 80253B58 00250A98 41 80 FF EC */ blt lbl_80253B44 -/* 80253B5C 00250A9C 38 60 00 00 */ li r3, 0 -lbl_80253B60: -/* 80253B60 00250AA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80253B64 00250AA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80253B68 00250AA8 7C 08 03 A6 */ mtlr r0 -/* 80253B6C 00250AAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80253B70 00250AB0 4E 80 00 20 */ blr - -.global setZukanRumble__Q24Game9RumbleMgrFP10ControllerP10Vector3$$0f$$1 -setZukanRumble__Q24Game9RumbleMgrFP10ControllerP10Vector3$$0f$$1: -/* 80253B74 00250AB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80253B78 00250AB8 7C 08 02 A6 */ mflr r0 -/* 80253B7C 00250ABC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80253B80 00250AC0 80 CD 93 E8 */ lwz r6, gameSystem__4Game@sda21(r13) -/* 80253B84 00250AC4 28 06 00 00 */ cmplwi r6, 0 -/* 80253B88 00250AC8 41 82 00 1C */ beq lbl_80253BA4 -/* 80253B8C 00250ACC 80 06 00 44 */ lwz r0, 0x44(r6) -/* 80253B90 00250AD0 2C 00 00 04 */ cmpwi r0, 4 -/* 80253B94 00250AD4 40 82 00 10 */ bne lbl_80253BA4 -/* 80253B98 00250AD8 90 83 00 2C */ stw r4, 0x2c(r3) -/* 80253B9C 00250ADC 90 A3 00 30 */ stw r5, 0x30(r3) -/* 80253BA0 00250AE0 48 00 00 20 */ b lbl_80253BC0 -lbl_80253BA4: -/* 80253BA4 00250AE4 3C 60 80 48 */ lis r3, lbl_804848F0@ha -/* 80253BA8 00250AE8 3C A0 80 48 */ lis r5, lbl_80484900@ha -/* 80253BAC 00250AEC 38 63 48 F0 */ addi r3, r3, lbl_804848F0@l -/* 80253BB0 00250AF0 38 80 01 5E */ li r4, 0x15e -/* 80253BB4 00250AF4 38 A5 49 00 */ addi r5, r5, lbl_80484900@l -/* 80253BB8 00250AF8 4C C6 31 82 */ crclr 6 -/* 80253BBC 00250AFC 4B DD 6A 85 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80253BC0: -/* 80253BC0 00250B00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80253BC4 00250B04 7C 08 03 A6 */ mtlr r0 -/* 80253BC8 00250B08 38 21 00 10 */ addi r1, r1, 0x10 -/* 80253BCC 00250B0C 4E 80 00 20 */ blr - -.global isStartAndEnd__Q24Game9RumbleMgrFPii -isStartAndEnd__Q24Game9RumbleMgrFPii: -/* 80253BD0 00250B10 2C 05 00 02 */ cmpwi r5, 2 -/* 80253BD4 00250B14 40 82 00 1C */ bne lbl_80253BF0 -/* 80253BD8 00250B18 38 60 00 00 */ li r3, 0 -/* 80253BDC 00250B1C 38 00 00 02 */ li r0, 2 -/* 80253BE0 00250B20 90 64 00 00 */ stw r3, 0(r4) -/* 80253BE4 00250B24 38 60 00 01 */ li r3, 1 -/* 80253BE8 00250B28 90 04 00 04 */ stw r0, 4(r4) -/* 80253BEC 00250B2C 4E 80 00 20 */ blr -lbl_80253BF0: -/* 80253BF0 00250B30 2C 05 00 00 */ cmpwi r5, 0 -/* 80253BF4 00250B34 40 82 00 1C */ bne lbl_80253C10 -/* 80253BF8 00250B38 38 60 00 00 */ li r3, 0 -/* 80253BFC 00250B3C 38 00 00 01 */ li r0, 1 -/* 80253C00 00250B40 90 64 00 00 */ stw r3, 0(r4) -/* 80253C04 00250B44 38 60 00 01 */ li r3, 1 -/* 80253C08 00250B48 90 04 00 04 */ stw r0, 4(r4) -/* 80253C0C 00250B4C 4E 80 00 20 */ blr -lbl_80253C10: -/* 80253C10 00250B50 2C 05 00 01 */ cmpwi r5, 1 -/* 80253C14 00250B54 40 82 00 1C */ bne lbl_80253C30 -/* 80253C18 00250B58 38 60 00 01 */ li r3, 1 -/* 80253C1C 00250B5C 38 00 00 02 */ li r0, 2 -/* 80253C20 00250B60 90 64 00 00 */ stw r3, 0(r4) -/* 80253C24 00250B64 38 60 00 01 */ li r3, 1 -/* 80253C28 00250B68 90 04 00 04 */ stw r0, 4(r4) -/* 80253C2C 00250B6C 4E 80 00 20 */ blr -lbl_80253C30: -/* 80253C30 00250B70 38 60 00 00 */ li r3, 0 -/* 80253C34 00250B74 4E 80 00 20 */ blr - -.global readRumbleParms__Q24Game9RumbleMgrFPc -readRumbleParms__Q24Game9RumbleMgrFPc: -/* 80253C38 00250B78 94 21 FB C0 */ stwu r1, -0x440(r1) -/* 80253C3C 00250B7C 7C 08 02 A6 */ mflr r0 -/* 80253C40 00250B80 38 A0 00 00 */ li r5, 0 -/* 80253C44 00250B84 38 C0 00 00 */ li r6, 0 -/* 80253C48 00250B88 90 01 04 44 */ stw r0, 0x444(r1) -/* 80253C4C 00250B8C 38 00 00 00 */ li r0, 0 -/* 80253C50 00250B90 38 E0 00 00 */ li r7, 0 -/* 80253C54 00250B94 39 00 00 02 */ li r8, 2 -/* 80253C58 00250B98 93 E1 04 3C */ stw r31, 0x43c(r1) -/* 80253C5C 00250B9C 39 20 00 00 */ li r9, 0 -/* 80253C60 00250BA0 39 40 00 00 */ li r10, 0 -/* 80253C64 00250BA4 93 C1 04 38 */ stw r30, 0x438(r1) -/* 80253C68 00250BA8 7C 7E 1B 78 */ mr r30, r3 -/* 80253C6C 00250BAC 7C 83 23 78 */ mr r3, r4 -/* 80253C70 00250BB0 38 80 00 00 */ li r4, 0 -/* 80253C74 00250BB4 90 01 00 08 */ stw r0, 8(r1) -/* 80253C78 00250BB8 4B DC B5 11 */ bl loadToMainRAM__12JKRDvdRipperFPCcPUc15JKRExpandSwitchUlP7JKRHeapQ212JKRDvdRipper15EAllocDirectionUlPiPUl -/* 80253C7C 00250BBC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80253C80 00250BC0 41 82 00 44 */ beq lbl_80253CC4 -/* 80253C84 00250BC4 7F E4 FB 78 */ mr r4, r31 -/* 80253C88 00250BC8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80253C8C 00250BCC 38 A0 FF FF */ li r5, -1 -/* 80253C90 00250BD0 48 1C 1C 69 */ bl __ct__9RamStreamFPvi -/* 80253C94 00250BD4 38 00 00 01 */ li r0, 1 -/* 80253C98 00250BD8 2C 00 00 01 */ cmpwi r0, 1 -/* 80253C9C 00250BDC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80253CA0 00250BE0 40 82 00 0C */ bne lbl_80253CAC -/* 80253CA4 00250BE4 38 00 00 00 */ li r0, 0 -/* 80253CA8 00250BE8 90 01 04 24 */ stw r0, 0x424(r1) -lbl_80253CAC: -/* 80253CAC 00250BEC 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80253CB0 00250BF0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80253CB4 00250BF4 48 1B FB 41 */ bl read__10ParametersFR6Stream -/* 80253CB8 00250BF8 7F E3 FB 78 */ mr r3, r31 -/* 80253CBC 00250BFC 4B DD 04 1D */ bl __dla__FPv -/* 80253CC0 00250C00 48 00 00 20 */ b lbl_80253CE0 -lbl_80253CC4: -/* 80253CC4 00250C04 3C 60 80 48 */ lis r3, lbl_804848F0@ha -/* 80253CC8 00250C08 3C A0 80 48 */ lis r5, lbl_80484910@ha -/* 80253CCC 00250C0C 38 63 48 F0 */ addi r3, r3, lbl_804848F0@l -/* 80253CD0 00250C10 38 80 01 99 */ li r4, 0x199 -/* 80253CD4 00250C14 38 A5 49 10 */ addi r5, r5, lbl_80484910@l -/* 80253CD8 00250C18 4C C6 31 82 */ crclr 6 -/* 80253CDC 00250C1C 4B DD 69 65 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80253CE0: -/* 80253CE0 00250C20 80 01 04 44 */ lwz r0, 0x444(r1) -/* 80253CE4 00250C24 83 E1 04 3C */ lwz r31, 0x43c(r1) -/* 80253CE8 00250C28 83 C1 04 38 */ lwz r30, 0x438(r1) -/* 80253CEC 00250C2C 7C 08 03 A6 */ mtlr r0 -/* 80253CF0 00250C30 38 21 04 40 */ addi r1, r1, 0x440 -/* 80253CF4 00250C34 4E 80 00 20 */ blr - -.global readRumbleData__Q24Game9RumbleMgrFPc -readRumbleData__Q24Game9RumbleMgrFPc: -/* 80253CF8 00250C38 94 21 FB C0 */ stwu r1, -0x440(r1) -/* 80253CFC 00250C3C 7C 08 02 A6 */ mflr r0 -/* 80253D00 00250C40 38 A0 00 00 */ li r5, 0 -/* 80253D04 00250C44 38 C0 00 00 */ li r6, 0 -/* 80253D08 00250C48 90 01 04 44 */ stw r0, 0x444(r1) -/* 80253D0C 00250C4C 38 00 00 00 */ li r0, 0 -/* 80253D10 00250C50 38 E0 00 00 */ li r7, 0 -/* 80253D14 00250C54 39 00 00 02 */ li r8, 2 -/* 80253D18 00250C58 93 E1 04 3C */ stw r31, 0x43c(r1) -/* 80253D1C 00250C5C 39 20 00 00 */ li r9, 0 -/* 80253D20 00250C60 39 40 00 00 */ li r10, 0 -/* 80253D24 00250C64 93 C1 04 38 */ stw r30, 0x438(r1) -/* 80253D28 00250C68 7C 7E 1B 78 */ mr r30, r3 -/* 80253D2C 00250C6C 7C 83 23 78 */ mr r3, r4 -/* 80253D30 00250C70 38 80 00 00 */ li r4, 0 -/* 80253D34 00250C74 90 01 00 08 */ stw r0, 8(r1) -/* 80253D38 00250C78 4B DC B4 51 */ bl loadToMainRAM__12JKRDvdRipperFPCcPUc15JKRExpandSwitchUlP7JKRHeapQ212JKRDvdRipper15EAllocDirectionUlPiPUl -/* 80253D3C 00250C7C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80253D40 00250C80 41 82 00 44 */ beq lbl_80253D84 -/* 80253D44 00250C84 7F E4 FB 78 */ mr r4, r31 -/* 80253D48 00250C88 38 61 00 10 */ addi r3, r1, 0x10 -/* 80253D4C 00250C8C 38 A0 FF FF */ li r5, -1 -/* 80253D50 00250C90 48 1C 1B A9 */ bl __ct__9RamStreamFPvi -/* 80253D54 00250C94 38 00 00 01 */ li r0, 1 -/* 80253D58 00250C98 2C 00 00 01 */ cmpwi r0, 1 -/* 80253D5C 00250C9C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80253D60 00250CA0 40 82 00 0C */ bne lbl_80253D6C -/* 80253D64 00250CA4 38 00 00 00 */ li r0, 0 -/* 80253D68 00250CA8 90 01 04 24 */ stw r0, 0x424(r1) -lbl_80253D6C: -/* 80253D6C 00250CAC 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80253D70 00250CB0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80253D74 00250CB4 48 00 D6 91 */ bl read__Q24Game13RumbleDataMgrFR6Stream -/* 80253D78 00250CB8 7F E3 FB 78 */ mr r3, r31 -/* 80253D7C 00250CBC 4B DD 03 5D */ bl __dla__FPv -/* 80253D80 00250CC0 48 00 00 20 */ b lbl_80253DA0 -lbl_80253D84: -/* 80253D84 00250CC4 3C 60 80 48 */ lis r3, lbl_804848F0@ha -/* 80253D88 00250CC8 3C A0 80 48 */ lis r5, lbl_80484928@ha -/* 80253D8C 00250CCC 38 63 48 F0 */ addi r3, r3, lbl_804848F0@l -/* 80253D90 00250CD0 38 80 01 B8 */ li r4, 0x1b8 -/* 80253D94 00250CD4 38 A5 49 28 */ addi r5, r5, lbl_80484928@l -/* 80253D98 00250CD8 4C C6 31 82 */ crclr 6 -/* 80253D9C 00250CDC 4B DD 68 A5 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80253DA0: -/* 80253DA0 00250CE0 80 01 04 44 */ lwz r0, 0x444(r1) -/* 80253DA4 00250CE4 83 E1 04 3C */ lwz r31, 0x43c(r1) -/* 80253DA8 00250CE8 83 C1 04 38 */ lwz r30, 0x438(r1) -/* 80253DAC 00250CEC 7C 08 03 A6 */ mtlr r0 -/* 80253DB0 00250CF0 38 21 04 40 */ addi r1, r1, 0x440 -/* 80253DB4 00250CF4 4E 80 00 20 */ blr - -.global __dt__Q24Game9RumbleMgrFv -__dt__Q24Game9RumbleMgrFv: -/* 80253DB8 00250CF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80253DBC 00250CFC 7C 08 02 A6 */ mflr r0 -/* 80253DC0 00250D00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80253DC4 00250D04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80253DC8 00250D08 7C 9F 23 78 */ mr r31, r4 -/* 80253DCC 00250D0C 93 C1 00 08 */ stw r30, 8(r1) -/* 80253DD0 00250D10 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80253DD4 00250D14 41 82 00 28 */ beq lbl_80253DFC -/* 80253DD8 00250D18 3C A0 80 4C */ lis r5, __vt__Q24Game9RumbleMgr@ha -/* 80253DDC 00250D1C 38 80 00 00 */ li r4, 0 -/* 80253DE0 00250D20 38 05 1B F8 */ addi r0, r5, __vt__Q24Game9RumbleMgr@l -/* 80253DE4 00250D24 90 1E 00 00 */ stw r0, 0(r30) -/* 80253DE8 00250D28 48 1B D7 A1 */ bl __dt__5CNodeFv -/* 80253DEC 00250D2C 7F E0 07 35 */ extsh. r0, r31 -/* 80253DF0 00250D30 40 81 00 0C */ ble lbl_80253DFC -/* 80253DF4 00250D34 7F C3 F3 78 */ mr r3, r30 -/* 80253DF8 00250D38 4B DD 02 BD */ bl __dl__FPv -lbl_80253DFC: -/* 80253DFC 00250D3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80253E00 00250D40 7F C3 F3 78 */ mr r3, r30 -/* 80253E04 00250D44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80253E08 00250D48 83 C1 00 08 */ lwz r30, 8(r1) -/* 80253E0C 00250D4C 7C 08 03 A6 */ mtlr r0 -/* 80253E10 00250D50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80253E14 00250D54 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game3Pom14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game3Pom14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 80253E18 00250D58 90 83 00 20 */ stw r4, 0x20(r3) -/* 80253E1C 00250D5C 4E 80 00 20 */ blr - -.global getAnimator__Q34Game3Pom14ProperAnimatorFi -getAnimator__Q34Game3Pom14ProperAnimatorFi: -/* 80253E20 00250D60 38 63 00 10 */ addi r3, r3, 0x10 -/* 80253E24 00250D64 4E 80 00 20 */ blr - -.global __dt__Q34Game3Pom14ProperAnimatorFv -__dt__Q34Game3Pom14ProperAnimatorFv: -/* 80253E28 00250D68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80253E2C 00250D6C 7C 08 02 A6 */ mflr r0 -/* 80253E30 00250D70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80253E34 00250D74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80253E38 00250D78 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80253E3C 00250D7C 41 82 00 30 */ beq lbl_80253E6C -/* 80253E40 00250D80 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom14ProperAnimator@ha -/* 80253E44 00250D84 38 03 1C 08 */ addi r0, r3, __vt__Q34Game3Pom14ProperAnimator@l -/* 80253E48 00250D88 90 1F 00 00 */ stw r0, 0(r31) -/* 80253E4C 00250D8C 41 82 00 10 */ beq lbl_80253E5C -/* 80253E50 00250D90 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 80253E54 00250D94 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 80253E58 00250D98 90 1F 00 00 */ stw r0, 0(r31) -lbl_80253E5C: -/* 80253E5C 00250D9C 7C 80 07 35 */ extsh. r0, r4 -/* 80253E60 00250DA0 40 81 00 0C */ ble lbl_80253E6C -/* 80253E64 00250DA4 7F E3 FB 78 */ mr r3, r31 -/* 80253E68 00250DA8 4B DD 02 4D */ bl __dl__FPv -lbl_80253E6C: -/* 80253E6C 00250DAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80253E70 00250DB0 7F E3 FB 78 */ mr r3, r31 -/* 80253E74 00250DB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80253E78 00250DB8 7C 08 03 A6 */ mtlr r0 -/* 80253E7C 00250DBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80253E80 00250DC0 4E 80 00 20 */ blr - -.global getAnimator__Q34Game3Pom14ProperAnimatorFv -getAnimator__Q34Game3Pom14ProperAnimatorFv: -/* 80253E84 00250DC4 38 63 00 10 */ addi r3, r3, 0x10 -/* 80253E88 00250DC8 4E 80 00 20 */ blr - -.global __ct__Q34Game3Pom3MgrFiUc -__ct__Q34Game3Pom3MgrFiUc: -/* 80253E8C 00250DCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80253E90 00250DD0 7C 08 02 A6 */ mflr r0 -/* 80253E94 00250DD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80253E98 00250DD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80253E9C 00250DDC 7C 7F 1B 78 */ mr r31, r3 -/* 80253EA0 00250DE0 4B ED AD F5 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80253EA4 00250DE4 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom3Mgr@ha -/* 80253EA8 00250DE8 3C 80 80 48 */ lis r4, lbl_80484958@ha -/* 80253EAC 00250DEC 38 A3 1C 48 */ addi r5, r3, __vt__Q34Game3Pom3Mgr@l -/* 80253EB0 00250DF0 7F E3 FB 78 */ mr r3, r31 -/* 80253EB4 00250DF4 90 BF 00 00 */ stw r5, 0(r31) -/* 80253EB8 00250DF8 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80253EBC 00250DFC 38 04 49 58 */ addi r0, r4, lbl_80484958@l -/* 80253EC0 00250E00 90 BF 00 04 */ stw r5, 4(r31) -/* 80253EC4 00250E04 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80253EC8 00250E08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80253ECC 00250E0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80253ED0 00250E10 7C 08 03 A6 */ mtlr r0 -/* 80253ED4 00250E14 38 21 00 10 */ addi r1, r1, 0x10 -/* 80253ED8 00250E18 4E 80 00 20 */ blr - -.global birth__Q34Game3Pom3MgrFRQ24Game13EnemyBirthArg -birth__Q34Game3Pom3MgrFRQ24Game13EnemyBirthArg: -/* 80253EDC 00250E1C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80253EE0 00250E20 7C 08 02 A6 */ mflr r0 -/* 80253EE4 00250E24 90 01 00 24 */ stw r0, 0x24(r1) -/* 80253EE8 00250E28 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80253EEC 00250E2C 7C 9F 23 78 */ mr r31, r4 -/* 80253EF0 00250E30 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80253EF4 00250E34 7C 7E 1B 78 */ mr r30, r3 -/* 80253EF8 00250E38 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80253EFC 00250E3C 80 AD 93 E8 */ lwz r5, gameSystem__4Game@sda21(r13) -/* 80253F00 00250E40 28 05 00 00 */ cmplwi r5, 0 -/* 80253F04 00250E44 41 82 01 A4 */ beq lbl_802540A8 -/* 80253F08 00250E48 88 05 00 48 */ lbz r0, 0x48(r5) -/* 80253F0C 00250E4C 28 00 00 00 */ cmplwi r0, 0 -/* 80253F10 00250E50 41 82 01 98 */ beq lbl_802540A8 -/* 80253F14 00250E54 80 05 00 44 */ lwz r0, 0x44(r5) -/* 80253F18 00250E58 2C 00 00 00 */ cmpwi r0, 0 -/* 80253F1C 00250E5C 40 82 01 8C */ bne lbl_802540A8 -/* 80253F20 00250E60 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80253F24 00250E64 2C 00 00 06 */ cmpwi r0, 6 -/* 80253F28 00250E68 40 82 00 7C */ bne lbl_80253FA4 -/* 80253F2C 00250E6C 83 A5 00 58 */ lwz r29, 0x58(r5) -/* 80253F30 00250E70 28 1D 00 00 */ cmplwi r29, 0 -/* 80253F34 00250E74 41 82 01 74 */ beq lbl_802540A8 -/* 80253F38 00250E78 7F A3 EB 78 */ mr r3, r29 -/* 80253F3C 00250E7C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80253F40 00250E80 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 80253F44 00250E84 7D 89 03 A6 */ mtctr r12 -/* 80253F48 00250E88 4E 80 04 21 */ bctrl -/* 80253F4C 00250E8C 2C 03 00 02 */ cmpwi r3, 2 -/* 80253F50 00250E90 41 80 00 24 */ blt lbl_80253F74 -/* 80253F54 00250E94 7F A3 EB 78 */ mr r3, r29 -/* 80253F58 00250E98 81 9D 00 00 */ lwz r12, 0(r29) -/* 80253F5C 00250E9C 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 80253F60 00250EA0 7D 89 03 A6 */ mtctr r12 -/* 80253F64 00250EA4 4E 80 04 21 */ bctrl -/* 80253F68 00250EA8 3C 03 8B A1 */ addis r0, r3, 0x8ba1 -/* 80253F6C 00250EAC 28 00 30 31 */ cmplwi r0, 0x3031 -/* 80253F70 00250EB0 40 82 01 38 */ bne lbl_802540A8 -lbl_80253F74: -/* 80253F74 00250EB4 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 80253F78 00250EB8 38 80 00 03 */ li r4, 3 -/* 80253F7C 00250EBC 38 63 00 60 */ addi r3, r3, 0x60 -/* 80253F80 00250EC0 4B F9 D6 31 */ bl getColorSum__Q24Game13PikiContainerFi -/* 80253F84 00250EC4 7C 7D 1B 78 */ mr r29, r3 -/* 80253F88 00250EC8 38 60 00 03 */ li r3, 3 -/* 80253F8C 00250ECC 4B F7 CF B1 */ bl getAllPikmins__Q24Game8GameStatFi -/* 80253F90 00250ED0 7C 03 EA 14 */ add r0, r3, r29 -/* 80253F94 00250ED4 2C 00 00 14 */ cmpwi r0, 0x14 -/* 80253F98 00250ED8 41 80 01 10 */ blt lbl_802540A8 -/* 80253F9C 00250EDC 38 60 00 00 */ li r3, 0 -/* 80253FA0 00250EE0 48 00 01 14 */ b lbl_802540B4 -lbl_80253FA4: -/* 80253FA4 00250EE4 2C 00 00 07 */ cmpwi r0, 7 -/* 80253FA8 00250EE8 40 82 00 B8 */ bne lbl_80254060 -/* 80253FAC 00250EEC 83 A5 00 58 */ lwz r29, 0x58(r5) -/* 80253FB0 00250EF0 28 1D 00 00 */ cmplwi r29, 0 -/* 80253FB4 00250EF4 41 82 00 F4 */ beq lbl_802540A8 -/* 80253FB8 00250EF8 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 80253FBC 00250EFC 38 80 00 04 */ li r4, 4 -/* 80253FC0 00250F00 4B F9 30 E9 */ bl hasMetPikmin__Q24Game8PlayDataFi -/* 80253FC4 00250F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80253FC8 00250F08 41 82 00 70 */ beq lbl_80254038 -/* 80253FCC 00250F0C 7F A3 EB 78 */ mr r3, r29 -/* 80253FD0 00250F10 81 9D 00 00 */ lwz r12, 0(r29) -/* 80253FD4 00250F14 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 80253FD8 00250F18 7D 89 03 A6 */ mtctr r12 -/* 80253FDC 00250F1C 4E 80 04 21 */ bctrl -/* 80253FE0 00250F20 2C 03 00 02 */ cmpwi r3, 2 -/* 80253FE4 00250F24 41 80 00 24 */ blt lbl_80254008 -/* 80253FE8 00250F28 7F A3 EB 78 */ mr r3, r29 -/* 80253FEC 00250F2C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80253FF0 00250F30 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 80253FF4 00250F34 7D 89 03 A6 */ mtctr r12 -/* 80253FF8 00250F38 4E 80 04 21 */ bctrl -/* 80253FFC 00250F3C 3C 03 99 A1 */ addis r0, r3, 0x99a1 -/* 80254000 00250F40 28 00 30 32 */ cmplwi r0, 0x3032 -/* 80254004 00250F44 40 82 00 A4 */ bne lbl_802540A8 -lbl_80254008: -/* 80254008 00250F48 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 8025400C 00250F4C 38 80 00 04 */ li r4, 4 -/* 80254010 00250F50 38 63 00 60 */ addi r3, r3, 0x60 -/* 80254014 00250F54 4B F9 D5 9D */ bl getColorSum__Q24Game13PikiContainerFi -/* 80254018 00250F58 7C 7D 1B 78 */ mr r29, r3 -/* 8025401C 00250F5C 38 60 00 04 */ li r3, 4 -/* 80254020 00250F60 4B F7 CF 1D */ bl getAllPikmins__Q24Game8GameStatFi -/* 80254024 00250F64 7C 03 EA 14 */ add r0, r3, r29 -/* 80254028 00250F68 2C 00 00 14 */ cmpwi r0, 0x14 -/* 8025402C 00250F6C 41 80 00 7C */ blt lbl_802540A8 -/* 80254030 00250F70 38 60 00 00 */ li r3, 0 -/* 80254034 00250F74 48 00 00 80 */ b lbl_802540B4 -lbl_80254038: -/* 80254038 00250F78 7F A3 EB 78 */ mr r3, r29 -/* 8025403C 00250F7C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80254040 00250F80 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 80254044 00250F84 7D 89 03 A6 */ mtctr r12 -/* 80254048 00250F88 4E 80 04 21 */ bctrl -/* 8025404C 00250F8C 3C 03 99 A1 */ addis r0, r3, 0x99a1 -/* 80254050 00250F90 28 00 30 32 */ cmplwi r0, 0x3032 -/* 80254054 00250F94 41 82 00 54 */ beq lbl_802540A8 -/* 80254058 00250F98 38 60 00 00 */ li r3, 0 -/* 8025405C 00250F9C 48 00 00 58 */ b lbl_802540B4 -lbl_80254060: -/* 80254060 00250FA0 2C 00 00 03 */ cmpwi r0, 3 -/* 80254064 00250FA4 40 82 00 20 */ bne lbl_80254084 -/* 80254068 00250FA8 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 8025406C 00250FAC 38 80 00 00 */ li r4, 0 -/* 80254070 00250FB0 4B F9 30 39 */ bl hasMetPikmin__Q24Game8PlayDataFi -/* 80254074 00250FB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254078 00250FB8 40 82 00 30 */ bne lbl_802540A8 -/* 8025407C 00250FBC 38 60 00 00 */ li r3, 0 -/* 80254080 00250FC0 48 00 00 34 */ b lbl_802540B4 -lbl_80254084: -/* 80254084 00250FC4 2C 00 00 05 */ cmpwi r0, 5 -/* 80254088 00250FC8 40 82 00 20 */ bne lbl_802540A8 -/* 8025408C 00250FCC 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 80254090 00250FD0 38 80 00 02 */ li r4, 2 -/* 80254094 00250FD4 4B F9 30 15 */ bl hasMetPikmin__Q24Game8PlayDataFi -/* 80254098 00250FD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025409C 00250FDC 40 82 00 0C */ bne lbl_802540A8 -/* 802540A0 00250FE0 38 60 00 00 */ li r3, 0 -/* 802540A4 00250FE4 48 00 00 10 */ b lbl_802540B4 -lbl_802540A8: -/* 802540A8 00250FE8 7F C3 F3 78 */ mr r3, r30 -/* 802540AC 00250FEC 7F E4 FB 78 */ mr r4, r31 -/* 802540B0 00250FF0 4B ED B3 19 */ bl birth__Q24Game12EnemyMgrBaseFRQ24Game13EnemyBirthArg -lbl_802540B4: -/* 802540B4 00250FF4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802540B8 00250FF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802540BC 00250FFC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802540C0 00251000 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802540C4 00251004 7C 08 03 A6 */ mtlr r0 -/* 802540C8 00251008 38 21 00 20 */ addi r1, r1, 0x20 -/* 802540CC 0025100C 4E 80 00 20 */ blr - -.global doAlloc__Q34Game3Pom3MgrFv -doAlloc__Q34Game3Pom3MgrFv: -/* 802540D0 00251010 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802540D4 00251014 7C 08 02 A6 */ mflr r0 -/* 802540D8 00251018 90 01 00 14 */ stw r0, 0x14(r1) -/* 802540DC 0025101C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802540E0 00251020 7C 7F 1B 78 */ mr r31, r3 -/* 802540E4 00251024 38 60 08 F8 */ li r3, 0x8f8 -/* 802540E8 00251028 4B DC FD BD */ bl __nw__FUl -/* 802540EC 0025102C 7C 64 1B 79 */ or. r4, r3, r3 -/* 802540F0 00251030 41 82 00 0C */ beq lbl_802540FC -/* 802540F4 00251034 48 00 00 25 */ bl __ct__Q34Game3Pom5ParmsFv -/* 802540F8 00251038 7C 64 1B 78 */ mr r4, r3 -lbl_802540FC: -/* 802540FC 0025103C 7F E3 FB 78 */ mr r3, r31 -/* 80254100 00251040 4B ED B7 9D */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80254104 00251044 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80254108 00251048 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025410C 0025104C 7C 08 03 A6 */ mtlr r0 -/* 80254110 00251050 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254114 00251054 4E 80 00 20 */ blr - -.global __ct__Q34Game3Pom5ParmsFv -__ct__Q34Game3Pom5ParmsFv: -/* 80254118 00251058 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025411C 0025105C 7C 08 02 A6 */ mflr r0 -/* 80254120 00251060 3C 80 80 48 */ lis r4, lbl_80484940@ha -/* 80254124 00251064 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254128 00251068 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025412C 0025106C 3B E4 49 40 */ addi r31, r4, lbl_80484940@l -/* 80254130 00251070 93 C1 00 08 */ stw r30, 8(r1) -/* 80254134 00251074 7C 7E 1B 78 */ mr r30, r3 -/* 80254138 00251078 4B EB 56 65 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8025413C 0025107C 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom5Parms@ha -/* 80254140 00251080 3C A0 69 70 */ lis r5, 0x69703031@ha -/* 80254144 00251084 38 03 1C 3C */ addi r0, r3, __vt__Q34Game3Pom5Parms@l -/* 80254148 00251088 38 9E 08 F4 */ addi r4, r30, 0x8f4 -/* 8025414C 0025108C 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 80254150 00251090 38 E0 00 00 */ li r7, 0 -/* 80254154 00251094 38 1F 00 30 */ addi r0, r31, 0x30 -/* 80254158 00251098 38 7E 08 04 */ addi r3, r30, 0x804 -/* 8025415C 0025109C 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 80254160 002510A0 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80254164 002510A4 38 A5 30 31 */ addi r5, r5, 0x69703031@l -/* 80254168 002510A8 38 DF 00 40 */ addi r6, r31, 0x40 -/* 8025416C 002510AC 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 80254170 002510B0 90 1E 08 00 */ stw r0, 0x800(r30) -/* 80254174 002510B4 48 1B F4 E5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80254178 002510B8 3C 60 80 4B */ lis r3, __vt__7Parm$$0i$$1@ha -/* 8025417C 002510BC 3C A0 69 70 */ lis r5, 0x69703131@ha -/* 80254180 002510C0 38 03 AC 90 */ addi r0, r3, __vt__7Parm$$0i$$1@l -/* 80254184 002510C4 38 80 00 05 */ li r4, 5 -/* 80254188 002510C8 90 1E 08 04 */ stw r0, 0x804(r30) -/* 8025418C 002510CC 38 E0 00 01 */ li r7, 1 -/* 80254190 002510D0 38 00 00 32 */ li r0, 0x32 -/* 80254194 002510D4 38 7E 08 2C */ addi r3, r30, 0x82c -/* 80254198 002510D8 90 9E 08 1C */ stw r4, 0x81c(r30) -/* 8025419C 002510DC 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 802541A0 002510E0 38 A5 31 31 */ addi r5, r5, 0x69703131@l -/* 802541A4 002510E4 38 DF 00 54 */ addi r6, r31, 0x54 -/* 802541A8 002510E8 90 FE 08 24 */ stw r7, 0x824(r30) -/* 802541AC 002510EC 90 1E 08 28 */ stw r0, 0x828(r30) -/* 802541B0 002510F0 48 1B F4 A9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802541B4 002510F4 3C 60 80 4B */ lis r3, __vt__7Parm$$0i$$1@ha -/* 802541B8 002510F8 3C A0 69 70 */ lis r5, 0x69703133@ha -/* 802541BC 002510FC 38 03 AC 90 */ addi r0, r3, __vt__7Parm$$0i$$1@l -/* 802541C0 00251100 38 E0 00 01 */ li r7, 1 -/* 802541C4 00251104 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 802541C8 00251108 38 00 00 32 */ li r0, 0x32 -/* 802541CC 0025110C 38 7E 08 54 */ addi r3, r30, 0x854 -/* 802541D0 00251110 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 802541D4 00251114 90 FE 08 44 */ stw r7, 0x844(r30) -/* 802541D8 00251118 38 A5 31 33 */ addi r5, r5, 0x69703133@l -/* 802541DC 0025111C 38 DF 00 68 */ addi r6, r31, 0x68 -/* 802541E0 00251120 90 FE 08 4C */ stw r7, 0x84c(r30) -/* 802541E4 00251124 90 1E 08 50 */ stw r0, 0x850(r30) -/* 802541E8 00251128 48 1B F4 71 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802541EC 0025112C 3C 60 80 4B */ lis r3, __vt__7Parm$$0i$$1@ha -/* 802541F0 00251130 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 802541F4 00251134 38 03 AC 90 */ addi r0, r3, __vt__7Parm$$0i$$1@l -/* 802541F8 00251138 38 80 00 05 */ li r4, 5 -/* 802541FC 0025113C 90 1E 08 54 */ stw r0, 0x854(r30) -/* 80254200 00251140 38 E0 00 01 */ li r7, 1 -/* 80254204 00251144 38 00 00 32 */ li r0, 0x32 -/* 80254208 00251148 38 7E 08 7C */ addi r3, r30, 0x87c -/* 8025420C 0025114C 90 9E 08 6C */ stw r4, 0x86c(r30) -/* 80254210 00251150 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80254214 00251154 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80254218 00251158 38 DF 00 7C */ addi r6, r31, 0x7c -/* 8025421C 0025115C 90 FE 08 74 */ stw r7, 0x874(r30) -/* 80254220 00251160 90 1E 08 78 */ stw r0, 0x878(r30) -/* 80254224 00251164 48 1B F4 35 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80254228 00251168 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025422C 0025116C 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 80254230 00251170 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80254234 00251174 C0 02 C6 30 */ lfs f0, lbl_8051A990@sda21(r2) -/* 80254238 00251178 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 8025423C 0025117C 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 80254240 00251180 C0 22 C6 34 */ lfs f1, lbl_8051A994@sda21(r2) -/* 80254244 00251184 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80254248 00251188 D0 1E 08 94 */ stfs f0, 0x894(r30) -/* 8025424C 0025118C 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 80254250 00251190 C0 02 C6 38 */ lfs f0, lbl_8051A998@sda21(r2) -/* 80254254 00251194 38 DF 00 88 */ addi r6, r31, 0x88 -/* 80254258 00251198 D0 3E 08 9C */ stfs f1, 0x89c(r30) -/* 8025425C 0025119C D0 1E 08 A0 */ stfs f0, 0x8a0(r30) -/* 80254260 002511A0 48 1B F3 F9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80254264 002511A4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80254268 002511A8 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 8025426C 002511AC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80254270 002511B0 C0 02 C6 3C */ lfs f0, lbl_8051A99C@sda21(r2) -/* 80254274 002511B4 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 80254278 002511B8 38 7E 08 CC */ addi r3, r30, 0x8cc -/* 8025427C 002511BC C0 22 C6 34 */ lfs f1, lbl_8051A994@sda21(r2) -/* 80254280 002511C0 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80254284 002511C4 D0 1E 08 BC */ stfs f0, 0x8bc(r30) -/* 80254288 002511C8 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 8025428C 002511CC C0 02 C6 38 */ lfs f0, lbl_8051A998@sda21(r2) -/* 80254290 002511D0 38 DF 00 94 */ addi r6, r31, 0x94 -/* 80254294 002511D4 D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 80254298 002511D8 D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -/* 8025429C 002511DC 48 1B F3 BD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802542A0 002511E0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802542A4 002511E4 C0 42 C6 40 */ lfs f2, lbl_8051A9A0@sda21(r2) -/* 802542A8 002511E8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802542AC 002511EC C0 22 C6 34 */ lfs f1, lbl_8051A994@sda21(r2) -/* 802542B0 002511F0 90 1E 08 CC */ stw r0, 0x8cc(r30) -/* 802542B4 002511F4 7F C3 F3 78 */ mr r3, r30 -/* 802542B8 002511F8 C0 02 C6 44 */ lfs f0, lbl_8051A9A4@sda21(r2) -/* 802542BC 002511FC D0 5E 08 E4 */ stfs f2, 0x8e4(r30) -/* 802542C0 00251200 D0 3E 08 EC */ stfs f1, 0x8ec(r30) -/* 802542C4 00251204 D0 1E 08 F0 */ stfs f0, 0x8f0(r30) -/* 802542C8 00251208 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802542CC 0025120C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802542D0 00251210 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802542D4 00251214 7C 08 03 A6 */ mtlr r0 -/* 802542D8 00251218 38 21 00 10 */ addi r1, r1, 0x10 -/* 802542DC 0025121C 4E 80 00 20 */ blr - -.global createObj__Q34Game3Pom3MgrFi -createObj__Q34Game3Pom3MgrFi: -/* 802542E0 00251220 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802542E4 00251224 7C 08 02 A6 */ mflr r0 -/* 802542E8 00251228 90 01 00 34 */ stw r0, 0x34(r1) -/* 802542EC 0025122C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802542F0 00251230 7C 7F 1B 78 */ mr r31, r3 -/* 802542F4 00251234 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802542F8 00251238 7C 9E 23 78 */ mr r30, r4 -/* 802542FC 0025123C 1C 7E 03 00 */ mulli r3, r30, 0x300 -/* 80254300 00251240 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80254304 00251244 93 81 00 20 */ stw r28, 0x20(r1) -/* 80254308 00251248 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025430C 0025124C 4B DC FC A1 */ bl __nwa__FUl -/* 80254310 00251250 3C 80 80 25 */ lis r4, __ct__Q34Game3Pom3ObjFv@ha -/* 80254314 00251254 3C A0 80 25 */ lis r5, __dt__Q34Game3Pom3ObjFv@ha -/* 80254318 00251258 38 84 47 A4 */ addi r4, r4, __ct__Q34Game3Pom3ObjFv@l -/* 8025431C 0025125C 7F C7 F3 78 */ mr r7, r30 -/* 80254320 00251260 38 A5 44 68 */ addi r5, r5, __dt__Q34Game3Pom3ObjFv@l -/* 80254324 00251264 38 C0 03 00 */ li r6, 0x300 -/* 80254328 00251268 4B E6 D6 C9 */ bl __construct_new_array -/* 8025432C 0025126C 3C 80 80 48 */ lis r4, lbl_80484C98@ha -/* 80254330 00251270 90 7F 00 44 */ stw r3, 0x44(r31) -/* 80254334 00251274 39 04 4C 98 */ addi r8, r4, lbl_80484C98@l -/* 80254338 00251278 3B C1 00 08 */ addi r30, r1, 8 -/* 8025433C 0025127C 80 E8 00 00 */ lwz r7, 0(r8) -/* 80254340 00251280 3B 80 00 00 */ li r28, 0 -/* 80254344 00251284 80 C8 00 04 */ lwz r6, 4(r8) -/* 80254348 00251288 3B A0 00 00 */ li r29, 0 -/* 8025434C 0025128C 80 A8 00 08 */ lwz r5, 8(r8) -/* 80254350 00251290 80 88 00 0C */ lwz r4, 0xc(r8) -/* 80254354 00251294 80 68 00 10 */ lwz r3, 0x10(r8) -/* 80254358 00251298 80 08 00 14 */ lwz r0, 0x14(r8) -/* 8025435C 0025129C 90 E1 00 08 */ stw r7, 8(r1) -/* 80254360 002512A0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80254364 002512A4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80254368 002512A8 90 81 00 14 */ stw r4, 0x14(r1) -/* 8025436C 002512AC 90 61 00 18 */ stw r3, 0x18(r1) -/* 80254370 002512B0 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_80254374: -/* 80254374 002512B4 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 80254378 002512B8 38 A0 00 00 */ li r5, 0 -/* 8025437C 002512BC 80 9E 00 00 */ lwz r4, 0(r30) -/* 80254380 002512C0 4B EB 97 01 */ bl getEnemyNum__Q24Game15GeneralEnemyMgrFib -/* 80254384 002512C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254388 002512C8 7F A6 EB 78 */ mr r6, r29 -/* 8025438C 002512CC 7C 03 03 78 */ mr r3, r0 -/* 80254390 002512D0 40 81 00 A8 */ ble lbl_80254438 -/* 80254394 002512D4 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 80254398 002512D8 7C 09 03 A6 */ mtctr r0 -/* 8025439C 002512DC 41 82 00 7C */ beq lbl_80254418 -lbl_802543A0: -/* 802543A0 002512E0 80 BE 00 00 */ lwz r5, 0(r30) -/* 802543A4 002512E4 38 06 02 EC */ addi r0, r6, 0x2ec -/* 802543A8 002512E8 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802543AC 002512EC 3B BD 18 00 */ addi r29, r29, 0x1800 -/* 802543B0 002512F0 7C A4 01 2E */ stwx r5, r4, r0 -/* 802543B4 002512F4 38 06 05 EC */ addi r0, r6, 0x5ec -/* 802543B8 002512F8 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802543BC 002512FC 7C A4 01 2E */ stwx r5, r4, r0 -/* 802543C0 00251300 38 06 08 EC */ addi r0, r6, 0x8ec -/* 802543C4 00251304 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802543C8 00251308 7C A4 01 2E */ stwx r5, r4, r0 -/* 802543CC 0025130C 38 06 0B EC */ addi r0, r6, 0xbec -/* 802543D0 00251310 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802543D4 00251314 7C A4 01 2E */ stwx r5, r4, r0 -/* 802543D8 00251318 38 06 0E EC */ addi r0, r6, 0xeec -/* 802543DC 0025131C 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802543E0 00251320 7C A4 01 2E */ stwx r5, r4, r0 -/* 802543E4 00251324 38 06 11 EC */ addi r0, r6, 0x11ec -/* 802543E8 00251328 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802543EC 0025132C 7C A4 01 2E */ stwx r5, r4, r0 -/* 802543F0 00251330 38 06 14 EC */ addi r0, r6, 0x14ec -/* 802543F4 00251334 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 802543F8 00251338 7C A4 01 2E */ stwx r5, r4, r0 -/* 802543FC 0025133C 38 06 17 EC */ addi r0, r6, 0x17ec -/* 80254400 00251340 38 C6 18 00 */ addi r6, r6, 0x1800 -/* 80254404 00251344 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80254408 00251348 7C A4 01 2E */ stwx r5, r4, r0 -/* 8025440C 0025134C 42 00 FF 94 */ bdnz lbl_802543A0 -/* 80254410 00251350 70 63 00 07 */ andi. r3, r3, 7 -/* 80254414 00251354 41 82 00 24 */ beq lbl_80254438 -lbl_80254418: -/* 80254418 00251358 7C 69 03 A6 */ mtctr r3 -lbl_8025441C: -/* 8025441C 0025135C 80 BE 00 00 */ lwz r5, 0(r30) -/* 80254420 00251360 38 06 02 EC */ addi r0, r6, 0x2ec -/* 80254424 00251364 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80254428 00251368 38 C6 03 00 */ addi r6, r6, 0x300 -/* 8025442C 0025136C 3B BD 03 00 */ addi r29, r29, 0x300 -/* 80254430 00251370 7C A4 01 2E */ stwx r5, r4, r0 -/* 80254434 00251374 42 00 FF E8 */ bdnz lbl_8025441C -lbl_80254438: -/* 80254438 00251378 3B 9C 00 01 */ addi r28, r28, 1 -/* 8025443C 0025137C 3B DE 00 04 */ addi r30, r30, 4 -/* 80254440 00251380 2C 1C 00 06 */ cmpwi r28, 6 -/* 80254444 00251384 41 80 FF 30 */ blt lbl_80254374 -/* 80254448 00251388 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025444C 0025138C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80254450 00251390 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80254454 00251394 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80254458 00251398 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8025445C 0025139C 7C 08 03 A6 */ mtlr r0 -/* 80254460 002513A0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80254464 002513A4 4E 80 00 20 */ blr - -.global __dt__Q34Game3Pom3ObjFv -__dt__Q34Game3Pom3ObjFv: -/* 80254468 002513A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025446C 002513AC 7C 08 02 A6 */ mflr r0 -/* 80254470 002513B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254474 002513B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80254478 002513B8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8025447C 002513BC 93 C1 00 08 */ stw r30, 8(r1) -/* 80254480 002513C0 7C 9E 23 78 */ mr r30, r4 -/* 80254484 002513C4 41 82 00 84 */ beq lbl_80254508 -/* 80254488 002513C8 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom3Obj@ha -/* 8025448C 002513CC 38 1F 02 F0 */ addi r0, r31, 0x2f0 -/* 80254490 002513D0 38 83 1D 3C */ addi r4, r3, __vt__Q34Game3Pom3Obj@l -/* 80254494 002513D4 90 9F 00 00 */ stw r4, 0(r31) -/* 80254498 002513D8 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8025449C 002513DC 38 84 02 FC */ addi r4, r4, 0x2fc -/* 802544A0 002513E0 90 7F 01 78 */ stw r3, 0x178(r31) -/* 802544A4 002513E4 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 802544A8 002513E8 90 83 00 00 */ stw r4, 0(r3) -/* 802544AC 002513EC 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 802544B0 002513F0 7C 03 00 50 */ subf r0, r3, r0 -/* 802544B4 002513F4 90 03 00 0C */ stw r0, 0xc(r3) -/* 802544B8 002513F8 41 82 00 40 */ beq lbl_802544F8 -/* 802544BC 002513FC 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 802544C0 00251400 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 802544C4 00251404 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 802544C8 00251408 38 7F 02 90 */ addi r3, r31, 0x290 -/* 802544CC 0025140C 90 9F 00 00 */ stw r4, 0(r31) -/* 802544D0 00251410 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 802544D4 00251414 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 802544D8 00251418 38 80 FF FF */ li r4, -1 -/* 802544DC 0025141C 90 BF 01 78 */ stw r5, 0x178(r31) -/* 802544E0 00251420 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 802544E4 00251424 90 C5 00 00 */ stw r6, 0(r5) -/* 802544E8 00251428 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 802544EC 0025142C 7C 05 00 50 */ subf r0, r5, r0 -/* 802544F0 00251430 90 05 00 0C */ stw r0, 0xc(r5) -/* 802544F4 00251434 48 1B D0 95 */ bl __dt__5CNodeFv -lbl_802544F8: -/* 802544F8 00251438 7F C0 07 35 */ extsh. r0, r30 -/* 802544FC 0025143C 40 81 00 0C */ ble lbl_80254508 -/* 80254500 00251440 7F E3 FB 78 */ mr r3, r31 -/* 80254504 00251444 4B DC FB B1 */ bl __dl__FPv -lbl_80254508: -/* 80254508 00251448 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025450C 0025144C 7F E3 FB 78 */ mr r3, r31 -/* 80254510 00251450 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80254514 00251454 83 C1 00 08 */ lwz r30, 8(r1) -/* 80254518 00251458 7C 08 03 A6 */ mtlr r0 -/* 8025451C 0025145C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254520 00251460 4E 80 00 20 */ blr - -.global getEnemy__Q34Game3Pom3MgrFi -getEnemy__Q34Game3Pom3MgrFi: -/* 80254524 00251464 1C 04 03 00 */ mulli r0, r4, 0x300 -/* 80254528 00251468 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8025452C 0025146C 7C 63 02 14 */ add r3, r3, r0 -/* 80254530 00251470 4E 80 00 20 */ blr - -.global createModel__Q34Game3Pom3MgrFv -createModel__Q34Game3Pom3MgrFv: -/* 80254534 00251474 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80254538 00251478 7C 08 02 A6 */ mflr r0 -/* 8025453C 0025147C 3C 80 80 48 */ lis r4, lbl_80484940@ha -/* 80254540 00251480 90 01 00 54 */ stw r0, 0x54(r1) -/* 80254544 00251484 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80254548 00251488 3B E4 49 40 */ addi r31, r4, lbl_80484940@l -/* 8025454C 0025148C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80254550 00251490 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80254554 00251494 93 81 00 40 */ stw r28, 0x40(r1) -/* 80254558 00251498 7C 7C 1B 78 */ mr r28, r3 -/* 8025455C 0025149C 38 60 00 14 */ li r3, 0x14 -/* 80254560 002514A0 4B DC F9 45 */ bl __nw__FUl -/* 80254564 002514A4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80254568 002514A8 41 82 00 18 */ beq lbl_80254580 -/* 8025456C 002514AC 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 80254570 002514B0 3C A0 00 08 */ lis r5, 8 -/* 80254574 002514B4 88 DC 00 24 */ lbz r6, 0x24(r28) -/* 80254578 002514B8 48 1E 9C 61 */ bl __ct__Q28SysShape5ModelFP12J3DModelDataUlUl -/* 8025457C 002514BC 7C 7E 1B 78 */ mr r30, r3 -lbl_80254580: -/* 80254580 002514C0 28 1E 00 00 */ cmplwi r30, 0 -/* 80254584 002514C4 40 82 00 18 */ bne lbl_8025459C -/* 80254588 002514C8 38 7F 03 70 */ addi r3, r31, 0x370 -/* 8025458C 002514CC 38 BF 03 7C */ addi r5, r31, 0x37c -/* 80254590 002514D0 38 80 00 B6 */ li r4, 0xb6 -/* 80254594 002514D4 4C C6 31 82 */ crclr 6 -/* 80254598 002514D8 4B DD 60 A9 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8025459C: -/* 8025459C 002514DC 3B A0 00 00 */ li r29, 0 -/* 802545A0 002514E0 48 00 00 40 */ b lbl_802545E0 -lbl_802545A4: -/* 802545A4 002514E4 80 64 00 64 */ lwz r3, 0x64(r4) -/* 802545A8 002514E8 7F A4 EB 78 */ mr r4, r29 -/* 802545AC 002514EC 4B DD A8 71 */ bl getName__10JUTNameTabCFUs -/* 802545B0 002514F0 38 9F 03 88 */ addi r4, r31, 0x388 -/* 802545B4 002514F4 4B E7 61 0D */ bl strcmp -/* 802545B8 002514F8 2C 03 00 00 */ cmpwi r3, 0 -/* 802545BC 002514FC 40 82 00 20 */ bne lbl_802545DC -/* 802545C0 00251500 80 9E 00 08 */ lwz r4, 8(r30) -/* 802545C4 00251504 57 A3 32 B2 */ rlwinm r3, r29, 6, 0xa, 0x19 -/* 802545C8 00251508 38 03 00 2C */ addi r0, r3, 0x2c -/* 802545CC 0025150C 80 64 00 C0 */ lwz r3, 0xc0(r4) -/* 802545D0 00251510 3C 80 01 00 */ lis r4, 0x100 -/* 802545D4 00251514 7C 63 00 2E */ lwzx r3, r3, r0 -/* 802545D8 00251518 4B E0 BD 01 */ bl newDifferedDisplayList__14J3DShapePacketFUl -lbl_802545DC: -/* 802545DC 0025151C 3B BD 00 01 */ addi r29, r29, 1 -lbl_802545E0: -/* 802545E0 00251520 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 802545E4 00251524 57 A0 04 3E */ clrlwi r0, r29, 0x10 -/* 802545E8 00251528 A0 64 00 5C */ lhz r3, 0x5c(r4) -/* 802545EC 0025152C 7C 00 18 40 */ cmplw r0, r3 -/* 802545F0 00251530 41 80 FF B4 */ blt lbl_802545A4 -/* 802545F4 00251534 38 61 00 08 */ addi r3, r1, 8 -/* 802545F8 00251538 4B E9 5C A9 */ bl PSMTXIdentity -/* 802545FC 0025153C 3C 80 80 51 */ lis r4, j3dSys@ha -/* 80254600 00251540 38 61 00 08 */ addi r3, r1, 8 -/* 80254604 00251544 38 84 F2 30 */ addi r4, r4, j3dSys@l -/* 80254608 00251548 4B E9 5C C5 */ bl PSMTXCopy -/* 8025460C 0025154C 83 FE 00 08 */ lwz r31, 8(r30) -/* 80254610 00251550 7F E3 FB 78 */ mr r3, r31 -/* 80254614 00251554 81 9F 00 00 */ lwz r12, 0(r31) -/* 80254618 00251558 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8025461C 0025155C 7D 89 03 A6 */ mtctr r12 -/* 80254620 00251560 4E 80 04 21 */ bctrl -/* 80254624 00251564 7F E3 FB 78 */ mr r3, r31 -/* 80254628 00251568 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025462C 0025156C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80254630 00251570 7D 89 03 A6 */ mtctr r12 -/* 80254634 00251574 4E 80 04 21 */ bctrl -/* 80254638 00251578 7F E3 FB 78 */ mr r3, r31 -/* 8025463C 0025157C 4B E1 22 E9 */ bl makeDL__8J3DModelFv -/* 80254640 00251580 7F E3 FB 78 */ mr r3, r31 -/* 80254644 00251584 4B E1 21 B1 */ bl lock__8J3DModelFv -/* 80254648 00251588 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025464C 0025158C 7F C3 F3 78 */ mr r3, r30 -/* 80254650 00251590 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80254654 00251594 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80254658 00251598 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8025465C 0025159C 83 81 00 40 */ lwz r28, 0x40(r1) -/* 80254660 002515A0 7C 08 03 A6 */ mtlr r0 -/* 80254664 002515A4 38 21 00 50 */ addi r1, r1, 0x50 -/* 80254668 002515A8 4E 80 00 20 */ blr - -.global read__Q34Game3Pom5ParmsFR6Stream -read__Q34Game3Pom5ParmsFR6Stream: -/* 8025466C 002515AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80254670 002515B0 7C 08 02 A6 */ mflr r0 -/* 80254674 002515B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254678 002515B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025467C 002515BC 7C 9F 23 78 */ mr r31, r4 -/* 80254680 002515C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80254684 002515C4 7C 7E 1B 78 */ mr r30, r3 -/* 80254688 002515C8 48 1B F1 6D */ bl read__10ParametersFR6Stream -/* 8025468C 002515CC 7F E4 FB 78 */ mr r4, r31 -/* 80254690 002515D0 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 80254694 002515D4 48 1B F1 61 */ bl read__10ParametersFR6Stream -/* 80254698 002515D8 7F E4 FB 78 */ mr r4, r31 -/* 8025469C 002515DC 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 802546A0 002515E0 48 1B F1 55 */ bl read__10ParametersFR6Stream -/* 802546A4 002515E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802546A8 002515E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802546AC 002515EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802546B0 002515F0 7C 08 03 A6 */ mtlr r0 -/* 802546B4 002515F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802546B8 002515F8 4E 80 00 20 */ blr - -.global __dt__Q34Game3Pom3MgrFv -__dt__Q34Game3Pom3MgrFv: -/* 802546BC 002515FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802546C0 00251600 7C 08 02 A6 */ mflr r0 -/* 802546C4 00251604 90 01 00 14 */ stw r0, 0x14(r1) -/* 802546C8 00251608 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802546CC 0025160C 7C 9F 23 78 */ mr r31, r4 -/* 802546D0 00251610 93 C1 00 08 */ stw r30, 8(r1) -/* 802546D4 00251614 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802546D8 00251618 41 82 00 78 */ beq lbl_80254750 -/* 802546DC 0025161C 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom3Mgr@ha -/* 802546E0 00251620 38 63 1C 48 */ addi r3, r3, __vt__Q34Game3Pom3Mgr@l -/* 802546E4 00251624 90 7E 00 00 */ stw r3, 0(r30) -/* 802546E8 00251628 38 03 00 38 */ addi r0, r3, 0x38 -/* 802546EC 0025162C 90 1E 00 04 */ stw r0, 4(r30) -/* 802546F0 00251630 41 82 00 50 */ beq lbl_80254740 -/* 802546F4 00251634 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 802546F8 00251638 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 802546FC 0025163C 90 7E 00 00 */ stw r3, 0(r30) -/* 80254700 00251640 38 03 00 38 */ addi r0, r3, 0x38 -/* 80254704 00251644 90 1E 00 04 */ stw r0, 4(r30) -/* 80254708 00251648 41 82 00 38 */ beq lbl_80254740 -/* 8025470C 0025164C 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80254710 00251650 34 1E 00 04 */ addic. r0, r30, 4 -/* 80254714 00251654 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80254718 00251658 90 7E 00 00 */ stw r3, 0(r30) -/* 8025471C 0025165C 38 03 00 38 */ addi r0, r3, 0x38 -/* 80254720 00251660 90 1E 00 04 */ stw r0, 4(r30) -/* 80254724 00251664 41 82 00 1C */ beq lbl_80254740 -/* 80254728 00251668 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8025472C 0025166C 38 7E 00 04 */ addi r3, r30, 4 -/* 80254730 00251670 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80254734 00251674 38 80 00 00 */ li r4, 0 -/* 80254738 00251678 90 1E 00 04 */ stw r0, 4(r30) -/* 8025473C 0025167C 48 1B CE 4D */ bl __dt__5CNodeFv -lbl_80254740: -/* 80254740 00251680 7F E0 07 35 */ extsh. r0, r31 -/* 80254744 00251684 40 81 00 0C */ ble lbl_80254750 -/* 80254748 00251688 7F C3 F3 78 */ mr r3, r30 -/* 8025474C 0025168C 4B DC F9 69 */ bl __dl__FPv -lbl_80254750: -/* 80254750 00251690 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80254754 00251694 7F C3 F3 78 */ mr r3, r30 -/* 80254758 00251698 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025475C 0025169C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80254760 002516A0 7C 08 03 A6 */ mtlr r0 -/* 80254764 002516A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254768 002516A8 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game3Pom3MgrFv -getEnemyTypeID__Q34Game3Pom3MgrFv: -/* 8025476C 002516AC 38 60 00 52 */ li r3, 0x52 -/* 80254770 002516B0 4E 80 00 20 */ blr - -.global __sinit_PomMgr_cpp -__sinit_PomMgr_cpp: -/* 80254774 002516B4 3C 80 80 51 */ lis r4, __float_nan@ha -/* 80254778 002516B8 38 00 FF FF */ li r0, -1 -/* 8025477C 002516BC C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 80254780 002516C0 3C 60 80 4C */ lis r3, lbl_804C1C30@ha -/* 80254784 002516C4 90 0D 96 B0 */ stw r0, lbl_80515D30@sda21(r13) -/* 80254788 002516C8 D4 03 1C 30 */ stfsu f0, lbl_804C1C30@l(r3) -/* 8025478C 002516CC D0 0D 96 B4 */ stfs f0, lbl_80515D34@sda21(r13) -/* 80254790 002516D0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80254794 002516D4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80254798 002516D8 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game3Pom3MgrFv -$$24$$2__dt__Q34Game3Pom3MgrFv: -/* 8025479C 002516DC 38 63 FF FC */ addi r3, r3, -4 -/* 802547A0 002516E0 4B FF FF 1C */ b __dt__Q34Game3Pom3MgrFv - -.global __ct__Q34Game3Pom3ObjFv -__ct__Q34Game3Pom3ObjFv: -/* 802547A4 002516E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802547A8 002516E8 7C 08 02 A6 */ mflr r0 -/* 802547AC 002516EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802547B0 002516F0 7C 80 07 35 */ extsh. r0, r4 -/* 802547B4 002516F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802547B8 002516F8 7C 7F 1B 78 */ mr r31, r3 -/* 802547BC 002516FC 93 C1 00 08 */ stw r30, 8(r1) -/* 802547C0 00251700 41 82 00 24 */ beq lbl_802547E4 -/* 802547C4 00251704 38 1F 02 F0 */ addi r0, r31, 0x2f0 -/* 802547C8 00251708 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 802547CC 0025170C 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 802547D0 00251710 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 802547D4 00251714 38 00 00 00 */ li r0, 0 -/* 802547D8 00251718 90 7F 02 F0 */ stw r3, 0x2f0(r31) -/* 802547DC 0025171C 90 1F 02 F4 */ stw r0, 0x2f4(r31) -/* 802547E0 00251720 90 1F 02 F8 */ stw r0, 0x2f8(r31) -lbl_802547E4: -/* 802547E4 00251724 7F E3 FB 78 */ mr r3, r31 -/* 802547E8 00251728 38 80 00 00 */ li r4, 0 -/* 802547EC 0025172C 4B EA CB B5 */ bl __ct__Q24Game9EnemyBaseFv -/* 802547F0 00251730 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom3Obj@ha -/* 802547F4 00251734 38 1F 02 F0 */ addi r0, r31, 0x2f0 -/* 802547F8 00251738 38 A3 1D 3C */ addi r5, r3, __vt__Q34Game3Pom3Obj@l -/* 802547FC 0025173C 38 7F 02 D0 */ addi r3, r31, 0x2d0 -/* 80254800 00251740 90 BF 00 00 */ stw r5, 0(r31) -/* 80254804 00251744 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80254808 00251748 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 8025480C 0025174C 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80254810 00251750 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80254814 00251754 90 A4 00 00 */ stw r5, 0(r4) -/* 80254818 00251758 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8025481C 0025175C 7C 04 00 50 */ subf r0, r4, r0 -/* 80254820 00251760 90 04 00 0C */ stw r0, 0xc(r4) -/* 80254824 00251764 4B EE 3D 25 */ bl __ct__10MouthSlotsFv -/* 80254828 00251768 38 60 00 2C */ li r3, 0x2c -/* 8025482C 0025176C 4B DC F6 79 */ bl __nw__FUl -/* 80254830 00251770 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80254834 00251774 41 82 00 44 */ beq lbl_80254878 -/* 80254838 00251778 4B ED 31 3D */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8025483C 0025177C 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom14ProperAnimator@ha -/* 80254840 00251780 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 80254844 00251784 38 03 1C 08 */ addi r0, r3, __vt__Q34Game3Pom14ProperAnimator@l -/* 80254848 00251788 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8025484C 0025178C 90 1E 00 00 */ stw r0, 0(r30) -/* 80254850 00251790 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 80254854 00251794 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 80254858 00251798 38 00 00 00 */ li r0, 0 -/* 8025485C 0025179C 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80254860 002517A0 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80254864 002517A4 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80254868 002517A8 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8025486C 002517AC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80254870 002517B0 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80254874 002517B4 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80254878: -/* 80254878 002517B8 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8025487C 002517BC 38 60 00 1C */ li r3, 0x1c -/* 80254880 002517C0 4B DC F6 25 */ bl __nw__FUl -/* 80254884 002517C4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80254888 002517C8 41 82 00 24 */ beq lbl_802548AC -/* 8025488C 002517CC 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 80254890 002517D0 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom3FSM@ha -/* 80254894 002517D4 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 80254898 002517D8 38 A0 FF FF */ li r5, -1 -/* 8025489C 002517DC 90 04 00 00 */ stw r0, 0(r4) -/* 802548A0 002517E0 38 03 21 64 */ addi r0, r3, __vt__Q34Game3Pom3FSM@l -/* 802548A4 002517E4 90 A4 00 18 */ stw r5, 0x18(r4) -/* 802548A8 002517E8 90 04 00 00 */ stw r0, 0(r4) -lbl_802548AC: -/* 802548AC 002517EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802548B0 002517F0 7F E3 FB 78 */ mr r3, r31 -/* 802548B4 002517F4 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 802548B8 002517F8 7D 89 03 A6 */ mtctr r12 -/* 802548BC 002517FC 4E 80 04 21 */ bctrl -/* 802548C0 00251800 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802548C4 00251804 7F E3 FB 78 */ mr r3, r31 -/* 802548C8 00251808 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802548CC 0025180C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802548D0 00251810 7C 08 03 A6 */ mtlr r0 -/* 802548D4 00251814 38 21 00 10 */ addi r1, r1, 0x10 -/* 802548D8 00251818 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game3Pom3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game3Pom3ObjFPQ24Game21EnemyInitialParamBase: -/* 802548DC 0025181C 4E 80 00 20 */ blr - -.global onInit__Q34Game3Pom3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game3Pom3ObjFPQ24Game15CreatureInitArg: -/* 802548E0 00251820 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802548E4 00251824 7C 08 02 A6 */ mflr r0 -/* 802548E8 00251828 90 01 00 14 */ stw r0, 0x14(r1) -/* 802548EC 0025182C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802548F0 00251830 7C 7F 1B 78 */ mr r31, r3 -/* 802548F4 00251834 4B EA D1 65 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 802548F8 00251838 7F E3 FB 78 */ mr r3, r31 -/* 802548FC 0025183C 4B EB 31 31 */ bl isBirthTypeDropGroup__Q24Game9EnemyBaseFv -/* 80254900 00251840 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254904 00251844 41 82 00 28 */ beq lbl_8025492C -/* 80254908 00251848 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025490C 0025184C 7F E3 FB 78 */ mr r3, r31 -/* 80254910 00251850 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 80254914 00251854 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80254918 00251858 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025491C 0025185C 60 00 00 08 */ ori r0, r0, 8 -/* 80254920 00251860 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80254924 00251864 4B EB 2E 71 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80254928 00251868 48 00 00 24 */ b lbl_8025494C -lbl_8025492C: -/* 8025492C 0025186C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80254930 00251870 7F E3 FB 78 */ mr r3, r31 -/* 80254934 00251874 60 00 00 01 */ ori r0, r0, 1 -/* 80254938 00251878 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025493C 0025187C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80254940 00251880 54 00 07 76 */ rlwinm r0, r0, 0, 0x1d, 0x1b -/* 80254944 00251884 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80254948 00251888 4B EB 2E 35 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -lbl_8025494C: -/* 8025494C 0025188C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80254950 00251890 7F E3 FB 78 */ mr r3, r31 -/* 80254954 00251894 54 00 05 24 */ rlwinm r0, r0, 0, 0x14, 0x12 -/* 80254958 00251898 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025495C 0025189C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80254960 002518A0 54 00 06 6E */ rlwinm r0, r0, 0, 0x19, 0x17 -/* 80254964 002518A4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80254968 002518A8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025496C 002518AC 54 00 06 2C */ rlwinm r0, r0, 0, 0x18, 0x16 -/* 80254970 002518B0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80254974 002518B4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80254978 002518B8 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 8025497C 002518BC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80254980 002518C0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80254984 002518C4 64 00 00 40 */ oris r0, r0, 0x40 -/* 80254988 002518C8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025498C 002518CC 4B EA D0 7D */ bl setEmotionNone__Q24Game9EnemyBaseFv -/* 80254990 002518D0 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 80254994 002518D4 7F E4 FB 78 */ mr r4, r31 -/* 80254998 002518D8 4B FE D2 D1 */ bl killShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8025499C 002518DC 7F E3 FB 78 */ mr r3, r31 -/* 802549A0 002518E0 48 00 04 ED */ bl setPomParms__Q34Game3Pom3ObjFv -/* 802549A4 002518E4 38 00 00 00 */ li r0, 0 -/* 802549A8 002518E8 C0 02 C6 48 */ lfs f0, lbl_8051A9A8@sda21(r2) -/* 802549AC 002518EC 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 802549B0 002518F0 7F E4 FB 78 */ mr r4, r31 -/* 802549B4 002518F4 38 A0 00 00 */ li r5, 0 -/* 802549B8 002518F8 38 C0 00 00 */ li r6, 0 -/* 802549BC 002518FC 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 802549C0 00251900 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802549C4 00251904 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 802549C8 00251908 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -/* 802549CC 0025190C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 802549D0 00251910 81 83 00 00 */ lwz r12, 0(r3) -/* 802549D4 00251914 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802549D8 00251918 7D 89 03 A6 */ mtctr r12 -/* 802549DC 0025191C 4E 80 04 21 */ bctrl -/* 802549E0 00251920 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802549E4 00251924 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802549E8 00251928 7C 08 03 A6 */ mtlr r0 -/* 802549EC 0025192C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802549F0 00251930 4E 80 00 20 */ blr - -.global doUpdate__Q34Game3Pom3ObjFv -doUpdate__Q34Game3Pom3ObjFv: -/* 802549F4 00251934 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802549F8 00251938 7C 08 02 A6 */ mflr r0 -/* 802549FC 0025193C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254A00 00251940 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80254A04 00251944 7C 7F 1B 78 */ mr r31, r3 -/* 80254A08 00251948 7F E4 FB 78 */ mr r4, r31 -/* 80254A0C 0025194C 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80254A10 00251950 81 83 00 00 */ lwz r12, 0(r3) -/* 80254A14 00251954 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80254A18 00251958 7D 89 03 A6 */ mtctr r12 -/* 80254A1C 0025195C 4E 80 04 21 */ bctrl -/* 80254A20 00251960 38 7F 02 D0 */ addi r3, r31, 0x2d0 -/* 80254A24 00251964 4B EE 3C 09 */ bl update__10MouthSlotsFv -/* 80254A28 00251968 80 7F 01 E0 */ lwz r3, 0x1e0(r31) -/* 80254A2C 0025196C 54 60 07 39 */ rlwinm. r0, r3, 0, 0x1c, 0x1c -/* 80254A30 00251970 41 82 00 38 */ beq lbl_80254A68 -/* 80254A34 00251974 80 1F 00 C8 */ lwz r0, 0xc8(r31) -/* 80254A38 00251978 28 00 00 00 */ cmplwi r0, 0 -/* 80254A3C 0025197C 41 82 00 2C */ beq lbl_80254A68 -/* 80254A40 00251980 54 60 03 5B */ rlwinm. r0, r3, 0, 0xd, 0xd -/* 80254A44 00251984 41 82 00 1C */ beq lbl_80254A60 -/* 80254A48 00251988 60 60 00 01 */ ori r0, r3, 1 -/* 80254A4C 0025198C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80254A50 00251990 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80254A54 00251994 54 00 07 76 */ rlwinm r0, r0, 0, 0x1d, 0x1b -/* 80254A58 00251998 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80254A5C 0025199C 48 00 00 0C */ b lbl_80254A68 -lbl_80254A60: -/* 80254A60 002519A0 7F E3 FB 78 */ mr r3, r31 -/* 80254A64 002519A4 4B EB 2D 19 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -lbl_80254A68: -/* 80254A68 002519A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80254A6C 002519AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80254A70 002519B0 7C 08 03 A6 */ mtlr r0 -/* 80254A74 002519B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254A78 002519B8 4E 80 00 20 */ blr - -.global changeMaterial__Q34Game3Pom3ObjFv -changeMaterial__Q34Game3Pom3ObjFv: -/* 80254A7C 002519BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80254A80 002519C0 7C 08 02 A6 */ mflr r0 -/* 80254A84 002519C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80254A88 002519C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80254A8C 002519CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80254A90 002519D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80254A94 002519D4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80254A98 002519D8 7C 7C 1B 78 */ mr r28, r3 -/* 80254A9C 002519DC 3C 60 80 48 */ lis r3, lbl_80484CD8@ha -/* 80254AA0 002519E0 80 BC 01 74 */ lwz r5, 0x174(r28) -/* 80254AA4 002519E4 38 83 4C D8 */ addi r4, r3, lbl_80484CD8@l -/* 80254AA8 002519E8 83 E5 00 08 */ lwz r31, 8(r5) -/* 80254AAC 002519EC 83 BF 00 04 */ lwz r29, 4(r31) -/* 80254AB0 002519F0 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 80254AB4 002519F4 4B DD A2 D1 */ bl getIndex__10JUTNameTabCFPCc -/* 80254AB8 002519F8 80 9D 00 60 */ lwz r4, 0x60(r29) -/* 80254ABC 002519FC 54 63 13 BA */ rlwinm r3, r3, 2, 0xe, 0x1d -/* 80254AC0 00251A00 A8 1C 02 DC */ lha r0, 0x2dc(r28) -/* 80254AC4 00251A04 38 A1 00 08 */ addi r5, r1, 8 -/* 80254AC8 00251A08 7C 64 18 2E */ lwzx r3, r4, r3 -/* 80254ACC 00251A0C 38 80 00 00 */ li r4, 0 -/* 80254AD0 00251A10 B0 01 00 08 */ sth r0, 8(r1) -/* 80254AD4 00251A14 A8 1C 02 DE */ lha r0, 0x2de(r28) -/* 80254AD8 00251A18 B0 01 00 0A */ sth r0, 0xa(r1) -/* 80254ADC 00251A1C A8 1C 02 E0 */ lha r0, 0x2e0(r28) -/* 80254AE0 00251A20 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80254AE4 00251A24 A8 1C 02 E2 */ lha r0, 0x2e2(r28) -/* 80254AE8 00251A28 B0 01 00 0E */ sth r0, 0xe(r1) -/* 80254AEC 00251A2C 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 80254AF0 00251A30 81 83 00 00 */ lwz r12, 0(r3) -/* 80254AF4 00251A34 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80254AF8 00251A38 7D 89 03 A6 */ mtctr r12 -/* 80254AFC 00251A3C 4E 80 04 21 */ bctrl -/* 80254B00 00251A40 7F E3 FB 78 */ mr r3, r31 -/* 80254B04 00251A44 81 9F 00 00 */ lwz r12, 0(r31) -/* 80254B08 00251A48 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80254B0C 00251A4C 7D 89 03 A6 */ mtctr r12 -/* 80254B10 00251A50 4E 80 04 21 */ bctrl -/* 80254B14 00251A54 3C 60 80 51 */ lis r3, j3dSys@ha -/* 80254B18 00251A58 3B 80 00 00 */ li r28, 0 -/* 80254B1C 00251A5C 3B C3 F2 30 */ addi r30, r3, j3dSys@l -/* 80254B20 00251A60 48 00 00 3C */ b lbl_80254B5C -lbl_80254B24: -/* 80254B24 00251A64 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80254B28 00251A68 57 83 32 B2 */ rlwinm r3, r28, 6, 0xa, 0x19 -/* 80254B2C 00251A6C 57 80 13 BA */ rlwinm r0, r28, 2, 0xe, 0x1d -/* 80254B30 00251A70 7C 84 1A 14 */ add r4, r4, r3 -/* 80254B34 00251A74 90 9E 00 3C */ stw r4, 0x3c(r30) -/* 80254B38 00251A78 80 7D 00 60 */ lwz r3, 0x60(r29) -/* 80254B3C 00251A7C 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 80254B40 00251A80 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80254B44 00251A84 80 84 00 34 */ lwz r4, 0x34(r4) -/* 80254B48 00251A88 81 83 00 00 */ lwz r12, 0(r3) -/* 80254B4C 00251A8C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80254B50 00251A90 7D 89 03 A6 */ mtctr r12 -/* 80254B54 00251A94 4E 80 04 21 */ bctrl -/* 80254B58 00251A98 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80254B5C: -/* 80254B5C 00251A9C A0 1D 00 5C */ lhz r0, 0x5c(r29) -/* 80254B60 00251AA0 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 80254B64 00251AA4 7C 03 00 40 */ cmplw r3, r0 -/* 80254B68 00251AA8 41 80 FF BC */ blt lbl_80254B24 -/* 80254B6C 00251AAC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80254B70 00251AB0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80254B74 00251AB4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80254B78 00251AB8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80254B7C 00251ABC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80254B80 00251AC0 7C 08 03 A6 */ mtlr r0 -/* 80254B84 00251AC4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80254B88 00251AC8 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game3Pom3ObjFR8Graphics -doDirectDraw__Q34Game3Pom3ObjFR8Graphics: -/* 80254B8C 00251ACC 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game3Pom3ObjFR8Graphics -doDebugDraw__Q34Game3Pom3ObjFR8Graphics: -/* 80254B90 00251AD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80254B94 00251AD4 7C 08 02 A6 */ mflr r0 -/* 80254B98 00251AD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254B9C 00251ADC 4B EB 12 D1 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80254BA0 00251AE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80254BA4 00251AE4 7C 08 03 A6 */ mtlr r0 -/* 80254BA8 00251AE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254BAC 00251AEC 4E 80 00 20 */ blr - -.global setFSM__Q34Game3Pom3ObjFPQ34Game3Pom3FSM -setFSM__Q34Game3Pom3ObjFPQ34Game3Pom3FSM: -/* 80254BB0 00251AF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80254BB4 00251AF4 7C 08 02 A6 */ mflr r0 -/* 80254BB8 00251AF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254BBC 00251AFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80254BC0 00251B00 7C 7F 1B 78 */ mr r31, r3 -/* 80254BC4 00251B04 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80254BC8 00251B08 7F E4 FB 78 */ mr r4, r31 -/* 80254BCC 00251B0C 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80254BD0 00251B10 81 83 00 00 */ lwz r12, 0(r3) -/* 80254BD4 00251B14 81 8C 00 08 */ lwz r12, 8(r12) -/* 80254BD8 00251B18 7D 89 03 A6 */ mtctr r12 -/* 80254BDC 00251B1C 4E 80 04 21 */ bctrl -/* 80254BE0 00251B20 38 00 00 00 */ li r0, 0 -/* 80254BE4 00251B24 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80254BE8 00251B28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80254BEC 00251B2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80254BF0 00251B30 7C 08 03 A6 */ mtlr r0 -/* 80254BF4 00251B34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254BF8 00251B38 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game3Pom3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game3Pom3ObjFRQ24Game11ShadowParam: -/* 80254BFC 00251B3C C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 80254C00 00251B40 C0 62 C6 4C */ lfs f3, lbl_8051A9AC@sda21(r2) -/* 80254C04 00251B44 D0 04 00 00 */ stfs f0, 0(r4) -/* 80254C08 00251B48 C0 42 C6 48 */ lfs f2, lbl_8051A9A8@sda21(r2) -/* 80254C0C 00251B4C C0 03 01 90 */ lfs f0, 0x190(r3) -/* 80254C10 00251B50 C0 22 C6 50 */ lfs f1, lbl_8051A9B0@sda21(r2) -/* 80254C14 00251B54 EC 63 00 2A */ fadds f3, f3, f0 -/* 80254C18 00251B58 C0 02 C6 54 */ lfs f0, lbl_8051A9B4@sda21(r2) -/* 80254C1C 00251B5C D0 64 00 04 */ stfs f3, 4(r4) -/* 80254C20 00251B60 C0 63 01 94 */ lfs f3, 0x194(r3) -/* 80254C24 00251B64 D0 64 00 08 */ stfs f3, 8(r4) -/* 80254C28 00251B68 D0 44 00 0C */ stfs f2, 0xc(r4) -/* 80254C2C 00251B6C D0 24 00 10 */ stfs f1, 0x10(r4) -/* 80254C30 00251B70 D0 44 00 14 */ stfs f2, 0x14(r4) -/* 80254C34 00251B74 D0 04 00 18 */ stfs f0, 0x18(r4) -/* 80254C38 00251B78 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 80254C3C 00251B7C 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game3Pom3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game3Pom3ObjFPQ24Game8CreaturefP8CollPart: -/* 80254C40 00251B80 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80254C44 00251B84 7C 08 02 A6 */ mflr r0 -/* 80254C48 00251B88 90 01 00 34 */ stw r0, 0x34(r1) -/* 80254C4C 00251B8C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80254C50 00251B90 7C 7F 1B 78 */ mr r31, r3 -/* 80254C54 00251B94 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80254C58 00251B98 7C BE 2B 78 */ mr r30, r5 -/* 80254C5C 00251B9C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80254C60 00251BA0 7C 9D 23 79 */ or. r29, r4, r4 -/* 80254C64 00251BA4 41 82 00 E8 */ beq lbl_80254D4C -/* 80254C68 00251BA8 7F A3 EB 78 */ mr r3, r29 -/* 80254C6C 00251BAC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80254C70 00251BB0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80254C74 00251BB4 7D 89 03 A6 */ mtctr r12 -/* 80254C78 00251BB8 4E 80 04 21 */ bctrl -/* 80254C7C 00251BBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254C80 00251BC0 41 82 00 CC */ beq lbl_80254D4C -/* 80254C84 00251BC4 28 1E 00 00 */ cmplwi r30, 0 -/* 80254C88 00251BC8 41 82 00 C4 */ beq lbl_80254D4C -/* 80254C8C 00251BCC 3C 80 73 6C */ lis r4, 0x736C6F74@ha -/* 80254C90 00251BD0 38 7E 00 30 */ addi r3, r30, 0x30 -/* 80254C94 00251BD4 38 84 6F 74 */ addi r4, r4, 0x736C6F74@l -/* 80254C98 00251BD8 48 1B E7 9D */ bl __eq__4ID32FUl -/* 80254C9C 00251BDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254CA0 00251BE0 41 82 00 AC */ beq lbl_80254D4C -/* 80254CA4 00251BE4 88 1F 02 C1 */ lbz r0, 0x2c1(r31) -/* 80254CA8 00251BE8 28 00 00 00 */ cmplwi r0, 0 -/* 80254CAC 00251BEC 41 82 00 A0 */ beq lbl_80254D4C -/* 80254CB0 00251BF0 80 7F 02 C4 */ lwz r3, 0x2c4(r31) -/* 80254CB4 00251BF4 80 1F 02 C8 */ lwz r0, 0x2c8(r31) -/* 80254CB8 00251BF8 7C 03 00 00 */ cmpw r3, r0 -/* 80254CBC 00251BFC 40 80 00 90 */ bge lbl_80254D4C -/* 80254CC0 00251C00 38 7F 02 D0 */ addi r3, r31, 0x2d0 -/* 80254CC4 00251C04 38 80 00 00 */ li r4, 0 -/* 80254CC8 00251C08 4B EE 3A B1 */ bl getSlot__10MouthSlotsFi -/* 80254CCC 00251C0C 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 80254CD0 00251C10 3C 80 80 4B */ lis r4, __vt__Q24Game14InteractAttack@ha -/* 80254CD4 00251C14 38 05 A3 00 */ addi r0, r5, __vt__Q24Game11Interaction@l -/* 80254CD8 00251C18 C0 02 C6 50 */ lfs f0, lbl_8051A9B0@sda21(r2) -/* 80254CDC 00251C1C 90 01 00 08 */ stw r0, 8(r1) -/* 80254CE0 00251C20 38 A4 4D E0 */ addi r5, r4, __vt__Q24Game14InteractAttack@l -/* 80254CE4 00251C24 3C 80 80 4B */ lis r4, __vt__Q24Game15InteractSwallow@ha -/* 80254CE8 00251C28 38 00 00 00 */ li r0, 0 -/* 80254CEC 00251C2C 90 A1 00 08 */ stw r5, 8(r1) -/* 80254CF0 00251C30 38 A4 4D BC */ addi r5, r4, __vt__Q24Game15InteractSwallow@l -/* 80254CF4 00251C34 38 81 00 08 */ addi r4, r1, 8 -/* 80254CF8 00251C38 90 61 00 14 */ stw r3, 0x14(r1) -/* 80254CFC 00251C3C 7F A3 EB 78 */ mr r3, r29 -/* 80254D00 00251C40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80254D04 00251C44 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80254D08 00251C48 90 A1 00 08 */ stw r5, 8(r1) -/* 80254D0C 00251C4C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80254D10 00251C50 81 9D 00 00 */ lwz r12, 0(r29) -/* 80254D14 00251C54 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80254D18 00251C58 7D 89 03 A6 */ mtctr r12 -/* 80254D1C 00251C5C 4E 80 04 21 */ bctrl -/* 80254D20 00251C60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254D24 00251C64 41 82 00 10 */ beq lbl_80254D34 -/* 80254D28 00251C68 80 7F 02 C4 */ lwz r3, 0x2c4(r31) -/* 80254D2C 00251C6C 38 03 00 01 */ addi r0, r3, 1 -/* 80254D30 00251C70 90 1F 02 C4 */ stw r0, 0x2c4(r31) -lbl_80254D34: -/* 80254D34 00251C74 C0 02 C6 48 */ lfs f0, lbl_8051A9A8@sda21(r2) -/* 80254D38 00251C78 7F E3 FB 78 */ mr r3, r31 -/* 80254D3C 00251C7C D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 80254D40 00251C80 48 00 0C AD */ bl createSwingSmokeEffect__Q34Game3Pom3ObjFv -/* 80254D44 00251C84 38 60 00 01 */ li r3, 1 -/* 80254D48 00251C88 48 00 00 08 */ b lbl_80254D50 -lbl_80254D4C: -/* 80254D4C 00251C8C 38 60 00 00 */ li r3, 0 -lbl_80254D50: -/* 80254D50 00251C90 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80254D54 00251C94 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80254D58 00251C98 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80254D5C 00251C9C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80254D60 00251CA0 7C 08 03 A6 */ mtlr r0 -/* 80254D64 00251CA4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80254D68 00251CA8 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game3Pom3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game3Pom3ObjFPQ24Game8CreaturefP8CollPart: -/* 80254D6C 00251CAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80254D70 00251CB0 7C 08 02 A6 */ mflr r0 -/* 80254D74 00251CB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254D78 00251CB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80254D7C 00251CBC 81 8C 02 7C */ lwz r12, 0x27c(r12) -/* 80254D80 00251CC0 7D 89 03 A6 */ mtctr r12 -/* 80254D84 00251CC4 4E 80 04 21 */ bctrl -/* 80254D88 00251CC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80254D8C 00251CCC 7C 08 03 A6 */ mtlr r0 -/* 80254D90 00251CD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254D94 00251CD4 4E 80 00 20 */ blr - -.global collisionCallback__Q34Game3Pom3ObjFRQ24Game9CollEvent -collisionCallback__Q34Game3Pom3ObjFRQ24Game9CollEvent: -/* 80254D98 00251CD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80254D9C 00251CDC 7C 08 02 A6 */ mflr r0 -/* 80254DA0 00251CE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254DA4 00251CE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80254DA8 00251CE8 7C 9F 23 78 */ mr r31, r4 -/* 80254DAC 00251CEC 93 C1 00 08 */ stw r30, 8(r1) -/* 80254DB0 00251CF0 7C 7E 1B 78 */ mr r30, r3 -/* 80254DB4 00251CF4 80 64 00 00 */ lwz r3, 0(r4) -/* 80254DB8 00251CF8 28 03 00 00 */ cmplwi r3, 0 -/* 80254DBC 00251CFC 41 82 00 6C */ beq lbl_80254E28 -/* 80254DC0 00251D00 81 83 00 00 */ lwz r12, 0(r3) -/* 80254DC4 00251D04 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80254DC8 00251D08 7D 89 03 A6 */ mtctr r12 -/* 80254DCC 00251D0C 4E 80 04 21 */ bctrl -/* 80254DD0 00251D10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254DD4 00251D14 40 82 00 3C */ bne lbl_80254E10 -/* 80254DD8 00251D18 80 7F 00 00 */ lwz r3, 0(r31) -/* 80254DDC 00251D1C 81 83 00 00 */ lwz r12, 0(r3) -/* 80254DE0 00251D20 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80254DE4 00251D24 7D 89 03 A6 */ mtctr r12 -/* 80254DE8 00251D28 4E 80 04 21 */ bctrl -/* 80254DEC 00251D2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254DF0 00251D30 40 82 00 20 */ bne lbl_80254E10 -/* 80254DF4 00251D34 80 7F 00 00 */ lwz r3, 0(r31) -/* 80254DF8 00251D38 81 83 00 00 */ lwz r12, 0(r3) -/* 80254DFC 00251D3C 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 80254E00 00251D40 7D 89 03 A6 */ mtctr r12 -/* 80254E04 00251D44 4E 80 04 21 */ bctrl -/* 80254E08 00251D48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80254E0C 00251D4C 41 82 00 1C */ beq lbl_80254E28 -lbl_80254E10: -/* 80254E10 00251D50 7F C3 F3 78 */ mr r3, r30 -/* 80254E14 00251D54 7F E4 FB 78 */ mr r4, r31 -/* 80254E18 00251D58 81 9E 00 00 */ lwz r12, 0(r30) -/* 80254E1C 00251D5C 81 8C 02 40 */ lwz r12, 0x240(r12) -/* 80254E20 00251D60 7D 89 03 A6 */ mtctr r12 -/* 80254E24 00251D64 4E 80 04 21 */ bctrl -lbl_80254E28: -/* 80254E28 00251D68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80254E2C 00251D6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80254E30 00251D70 83 C1 00 08 */ lwz r30, 8(r1) -/* 80254E34 00251D74 7C 08 03 A6 */ mtlr r0 -/* 80254E38 00251D78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254E3C 00251D7C 4E 80 00 20 */ blr - -.global initMouthSlots__Q34Game3Pom3ObjFv -initMouthSlots__Q34Game3Pom3ObjFv: -/* 80254E40 00251D80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80254E44 00251D84 7C 08 02 A6 */ mflr r0 -/* 80254E48 00251D88 38 80 00 01 */ li r4, 1 -/* 80254E4C 00251D8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254E50 00251D90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80254E54 00251D94 7C 7F 1B 78 */ mr r31, r3 -/* 80254E58 00251D98 38 7F 02 D0 */ addi r3, r31, 0x2d0 -/* 80254E5C 00251D9C 4B EE 36 FD */ bl alloc__10MouthSlotsFi -/* 80254E60 00251DA0 3C 60 80 48 */ lis r3, lbl_80484CE4@ha -/* 80254E64 00251DA4 80 BF 01 74 */ lwz r5, 0x174(r31) -/* 80254E68 00251DA8 38 C3 4C E4 */ addi r6, r3, lbl_80484CE4@l -/* 80254E6C 00251DAC 38 80 00 00 */ li r4, 0 -/* 80254E70 00251DB0 38 7F 02 D0 */ addi r3, r31, 0x2d0 -/* 80254E74 00251DB4 4B EE 38 1D */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 80254E78 00251DB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80254E7C 00251DBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80254E80 00251DC0 7C 08 03 A6 */ mtlr r0 -/* 80254E84 00251DC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80254E88 00251DC8 4E 80 00 20 */ blr - -.global setPomParms__Q34Game3Pom3ObjFv -setPomParms__Q34Game3Pom3ObjFv: -/* 80254E8C 00251DCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80254E90 00251DD0 7C 08 02 A6 */ mflr r0 -/* 80254E94 00251DD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80254E98 00251DD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80254E9C 00251DDC 7C 7F 1B 78 */ mr r31, r3 -/* 80254EA0 00251DE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80254EA4 00251DE4 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 80254EA8 00251DE8 7D 89 03 A6 */ mtctr r12 -/* 80254EAC 00251DEC 4E 80 04 21 */ bctrl -/* 80254EB0 00251DF0 2C 03 00 06 */ cmpwi r3, 6 -/* 80254EB4 00251DF4 41 82 02 54 */ beq lbl_80255108 -/* 80254EB8 00251DF8 40 80 00 1C */ bge lbl_80254ED4 -/* 80254EBC 00251DFC 2C 03 00 04 */ cmpwi r3, 4 -/* 80254EC0 00251E00 41 82 00 D8 */ beq lbl_80254F98 -/* 80254EC4 00251E04 40 80 01 8C */ bge lbl_80255050 -/* 80254EC8 00251E08 2C 03 00 03 */ cmpwi r3, 3 -/* 80254ECC 00251E0C 40 80 00 18 */ bge lbl_80254EE4 -/* 80254ED0 00251E10 48 00 04 5C */ b lbl_8025532C -lbl_80254ED4: -/* 80254ED4 00251E14 2C 03 00 08 */ cmpwi r3, 8 -/* 80254ED8 00251E18 41 82 03 A0 */ beq lbl_80255278 -/* 80254EDC 00251E1C 40 80 04 50 */ bge lbl_8025532C -/* 80254EE0 00251E20 48 00 02 E0 */ b lbl_802551C0 -lbl_80254EE4: -/* 80254EE4 00251E24 38 80 00 00 */ li r4, 0 -/* 80254EE8 00251E28 90 9F 02 D8 */ stw r4, 0x2d8(r31) -/* 80254EEC 00251E2C 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 80254EF0 00251E30 2C 00 00 02 */ cmpwi r0, 2 -/* 80254EF4 00251E34 41 82 00 58 */ beq lbl_80254F4C -/* 80254EF8 00251E38 40 80 00 14 */ bge lbl_80254F0C -/* 80254EFC 00251E3C 2C 00 00 00 */ cmpwi r0, 0 -/* 80254F00 00251E40 41 82 00 1C */ beq lbl_80254F1C -/* 80254F04 00251E44 40 80 00 30 */ bge lbl_80254F34 -/* 80254F08 00251E48 48 00 04 24 */ b lbl_8025532C -lbl_80254F0C: -/* 80254F0C 00251E4C 2C 00 00 04 */ cmpwi r0, 4 -/* 80254F10 00251E50 41 82 00 6C */ beq lbl_80254F7C -/* 80254F14 00251E54 40 80 04 18 */ bge lbl_8025532C -/* 80254F18 00251E58 48 00 00 4C */ b lbl_80254F64 -lbl_80254F1C: -/* 80254F1C 00251E5C 38 60 00 32 */ li r3, 0x32 -/* 80254F20 00251E60 38 00 00 FF */ li r0, 0xff -/* 80254F24 00251E64 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80254F28 00251E68 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80254F2C 00251E6C B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80254F30 00251E70 48 00 03 FC */ b lbl_8025532C -lbl_80254F34: -/* 80254F34 00251E74 38 60 00 FF */ li r3, 0xff -/* 80254F38 00251E78 38 00 00 14 */ li r0, 0x14 -/* 80254F3C 00251E7C B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80254F40 00251E80 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80254F44 00251E84 B0 1F 02 DE */ sth r0, 0x2de(r31) -/* 80254F48 00251E88 48 00 03 E4 */ b lbl_8025532C -lbl_80254F4C: -/* 80254F4C 00251E8C 38 60 00 FF */ li r3, 0xff -/* 80254F50 00251E90 38 00 00 14 */ li r0, 0x14 -/* 80254F54 00251E94 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80254F58 00251E98 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80254F5C 00251E9C B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80254F60 00251EA0 48 00 03 CC */ b lbl_8025532C -lbl_80254F64: -/* 80254F64 00251EA4 38 60 00 1C */ li r3, 0x1c -/* 80254F68 00251EA8 38 00 00 34 */ li r0, 0x34 -/* 80254F6C 00251EAC B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80254F70 00251EB0 B0 9F 02 DE */ sth r4, 0x2de(r31) -/* 80254F74 00251EB4 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80254F78 00251EB8 48 00 03 B4 */ b lbl_8025532C -lbl_80254F7C: -/* 80254F7C 00251EBC 38 00 00 C8 */ li r0, 0xc8 -/* 80254F80 00251EC0 38 60 00 FF */ li r3, 0xff -/* 80254F84 00251EC4 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80254F88 00251EC8 38 00 00 DC */ li r0, 0xdc -/* 80254F8C 00251ECC B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80254F90 00251ED0 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80254F94 00251ED4 48 00 03 98 */ b lbl_8025532C -lbl_80254F98: -/* 80254F98 00251ED8 38 00 00 01 */ li r0, 1 -/* 80254F9C 00251EDC 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 80254FA0 00251EE0 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 80254FA4 00251EE4 2C 00 00 02 */ cmpwi r0, 2 -/* 80254FA8 00251EE8 41 82 00 58 */ beq lbl_80255000 -/* 80254FAC 00251EEC 40 80 00 14 */ bge lbl_80254FC0 -/* 80254FB0 00251EF0 2C 00 00 00 */ cmpwi r0, 0 -/* 80254FB4 00251EF4 41 82 00 1C */ beq lbl_80254FD0 -/* 80254FB8 00251EF8 40 80 00 30 */ bge lbl_80254FE8 -/* 80254FBC 00251EFC 48 00 03 70 */ b lbl_8025532C -lbl_80254FC0: -/* 80254FC0 00251F00 2C 00 00 04 */ cmpwi r0, 4 -/* 80254FC4 00251F04 41 82 00 70 */ beq lbl_80255034 -/* 80254FC8 00251F08 40 80 03 64 */ bge lbl_8025532C -/* 80254FCC 00251F0C 48 00 00 4C */ b lbl_80255018 -lbl_80254FD0: -/* 80254FD0 00251F10 38 60 00 32 */ li r3, 0x32 -/* 80254FD4 00251F14 38 00 00 FF */ li r0, 0xff -/* 80254FD8 00251F18 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80254FDC 00251F1C B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80254FE0 00251F20 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80254FE4 00251F24 48 00 03 48 */ b lbl_8025532C -lbl_80254FE8: -/* 80254FE8 00251F28 38 60 00 FF */ li r3, 0xff -/* 80254FEC 00251F2C 38 00 00 14 */ li r0, 0x14 -/* 80254FF0 00251F30 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80254FF4 00251F34 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80254FF8 00251F38 B0 1F 02 DE */ sth r0, 0x2de(r31) -/* 80254FFC 00251F3C 48 00 03 30 */ b lbl_8025532C -lbl_80255000: -/* 80255000 00251F40 38 60 00 FF */ li r3, 0xff -/* 80255004 00251F44 38 00 00 14 */ li r0, 0x14 -/* 80255008 00251F48 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025500C 00251F4C B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255010 00251F50 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255014 00251F54 48 00 03 18 */ b lbl_8025532C -lbl_80255018: -/* 80255018 00251F58 38 00 00 1C */ li r0, 0x1c -/* 8025501C 00251F5C 38 60 00 00 */ li r3, 0 -/* 80255020 00251F60 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80255024 00251F64 38 00 00 34 */ li r0, 0x34 -/* 80255028 00251F68 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025502C 00251F6C B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255030 00251F70 48 00 02 FC */ b lbl_8025532C -lbl_80255034: -/* 80255034 00251F74 38 00 00 C8 */ li r0, 0xc8 -/* 80255038 00251F78 38 60 00 FF */ li r3, 0xff -/* 8025503C 00251F7C B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80255040 00251F80 38 00 00 DC */ li r0, 0xdc -/* 80255044 00251F84 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80255048 00251F88 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 8025504C 00251F8C 48 00 02 E0 */ b lbl_8025532C -lbl_80255050: -/* 80255050 00251F90 38 00 00 02 */ li r0, 2 -/* 80255054 00251F94 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 80255058 00251F98 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 8025505C 00251F9C 2C 00 00 02 */ cmpwi r0, 2 -/* 80255060 00251FA0 41 82 00 58 */ beq lbl_802550B8 -/* 80255064 00251FA4 40 80 00 14 */ bge lbl_80255078 -/* 80255068 00251FA8 2C 00 00 00 */ cmpwi r0, 0 -/* 8025506C 00251FAC 41 82 00 1C */ beq lbl_80255088 -/* 80255070 00251FB0 40 80 00 30 */ bge lbl_802550A0 -/* 80255074 00251FB4 48 00 02 B8 */ b lbl_8025532C -lbl_80255078: -/* 80255078 00251FB8 2C 00 00 04 */ cmpwi r0, 4 -/* 8025507C 00251FBC 41 82 00 70 */ beq lbl_802550EC -/* 80255080 00251FC0 40 80 02 AC */ bge lbl_8025532C -/* 80255084 00251FC4 48 00 00 4C */ b lbl_802550D0 -lbl_80255088: -/* 80255088 00251FC8 38 60 00 32 */ li r3, 0x32 -/* 8025508C 00251FCC 38 00 00 FF */ li r0, 0xff -/* 80255090 00251FD0 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80255094 00251FD4 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255098 00251FD8 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 8025509C 00251FDC 48 00 02 90 */ b lbl_8025532C -lbl_802550A0: -/* 802550A0 00251FE0 38 60 00 FF */ li r3, 0xff -/* 802550A4 00251FE4 38 00 00 14 */ li r0, 0x14 -/* 802550A8 00251FE8 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 802550AC 00251FEC B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 802550B0 00251FF0 B0 1F 02 DE */ sth r0, 0x2de(r31) -/* 802550B4 00251FF4 48 00 02 78 */ b lbl_8025532C -lbl_802550B8: -/* 802550B8 00251FF8 38 60 00 FF */ li r3, 0xff -/* 802550BC 00251FFC 38 00 00 14 */ li r0, 0x14 -/* 802550C0 00252000 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 802550C4 00252004 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 802550C8 00252008 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 802550CC 0025200C 48 00 02 60 */ b lbl_8025532C -lbl_802550D0: -/* 802550D0 00252010 38 00 00 1C */ li r0, 0x1c -/* 802550D4 00252014 38 60 00 00 */ li r3, 0 -/* 802550D8 00252018 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 802550DC 0025201C 38 00 00 34 */ li r0, 0x34 -/* 802550E0 00252020 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 802550E4 00252024 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 802550E8 00252028 48 00 02 44 */ b lbl_8025532C -lbl_802550EC: -/* 802550EC 0025202C 38 00 00 C8 */ li r0, 0xc8 -/* 802550F0 00252030 38 60 00 FF */ li r3, 0xff -/* 802550F4 00252034 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 802550F8 00252038 38 00 00 DC */ li r0, 0xdc -/* 802550FC 0025203C B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80255100 00252040 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255104 00252044 48 00 02 28 */ b lbl_8025532C -lbl_80255108: -/* 80255108 00252048 38 00 00 03 */ li r0, 3 -/* 8025510C 0025204C 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 80255110 00252050 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 80255114 00252054 2C 00 00 02 */ cmpwi r0, 2 -/* 80255118 00252058 41 82 00 58 */ beq lbl_80255170 -/* 8025511C 0025205C 40 80 00 14 */ bge lbl_80255130 -/* 80255120 00252060 2C 00 00 00 */ cmpwi r0, 0 -/* 80255124 00252064 41 82 00 1C */ beq lbl_80255140 -/* 80255128 00252068 40 80 00 30 */ bge lbl_80255158 -/* 8025512C 0025206C 48 00 02 00 */ b lbl_8025532C -lbl_80255130: -/* 80255130 00252070 2C 00 00 04 */ cmpwi r0, 4 -/* 80255134 00252074 41 82 00 70 */ beq lbl_802551A4 -/* 80255138 00252078 40 80 01 F4 */ bge lbl_8025532C -/* 8025513C 0025207C 48 00 00 4C */ b lbl_80255188 -lbl_80255140: -/* 80255140 00252080 38 60 00 32 */ li r3, 0x32 -/* 80255144 00252084 38 00 00 FF */ li r0, 0xff -/* 80255148 00252088 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025514C 0025208C B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255150 00252090 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255154 00252094 48 00 01 D8 */ b lbl_8025532C -lbl_80255158: -/* 80255158 00252098 38 60 00 FF */ li r3, 0xff -/* 8025515C 0025209C 38 00 00 14 */ li r0, 0x14 -/* 80255160 002520A0 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255164 002520A4 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255168 002520A8 B0 1F 02 DE */ sth r0, 0x2de(r31) -/* 8025516C 002520AC 48 00 01 C0 */ b lbl_8025532C -lbl_80255170: -/* 80255170 002520B0 38 60 00 FF */ li r3, 0xff -/* 80255174 002520B4 38 00 00 14 */ li r0, 0x14 -/* 80255178 002520B8 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025517C 002520BC B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255180 002520C0 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255184 002520C4 48 00 01 A8 */ b lbl_8025532C -lbl_80255188: -/* 80255188 002520C8 38 00 00 1C */ li r0, 0x1c -/* 8025518C 002520CC 38 60 00 00 */ li r3, 0 -/* 80255190 002520D0 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80255194 002520D4 38 00 00 34 */ li r0, 0x34 -/* 80255198 002520D8 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025519C 002520DC B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 802551A0 002520E0 48 00 01 8C */ b lbl_8025532C -lbl_802551A4: -/* 802551A4 002520E4 38 00 00 C8 */ li r0, 0xc8 -/* 802551A8 002520E8 38 60 00 FF */ li r3, 0xff -/* 802551AC 002520EC B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 802551B0 002520F0 38 00 00 DC */ li r0, 0xdc -/* 802551B4 002520F4 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 802551B8 002520F8 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 802551BC 002520FC 48 00 01 70 */ b lbl_8025532C -lbl_802551C0: -/* 802551C0 00252100 38 00 00 04 */ li r0, 4 -/* 802551C4 00252104 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 802551C8 00252108 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 802551CC 0025210C 2C 00 00 02 */ cmpwi r0, 2 -/* 802551D0 00252110 41 82 00 58 */ beq lbl_80255228 -/* 802551D4 00252114 40 80 00 14 */ bge lbl_802551E8 -/* 802551D8 00252118 2C 00 00 00 */ cmpwi r0, 0 -/* 802551DC 0025211C 41 82 00 1C */ beq lbl_802551F8 -/* 802551E0 00252120 40 80 00 30 */ bge lbl_80255210 -/* 802551E4 00252124 48 00 01 48 */ b lbl_8025532C -lbl_802551E8: -/* 802551E8 00252128 2C 00 00 04 */ cmpwi r0, 4 -/* 802551EC 0025212C 41 82 00 70 */ beq lbl_8025525C -/* 802551F0 00252130 40 80 01 3C */ bge lbl_8025532C -/* 802551F4 00252134 48 00 00 4C */ b lbl_80255240 -lbl_802551F8: -/* 802551F8 00252138 38 60 00 32 */ li r3, 0x32 -/* 802551FC 0025213C 38 00 00 FF */ li r0, 0xff -/* 80255200 00252140 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80255204 00252144 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255208 00252148 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 8025520C 0025214C 48 00 01 20 */ b lbl_8025532C -lbl_80255210: -/* 80255210 00252150 38 60 00 FF */ li r3, 0xff -/* 80255214 00252154 38 00 00 14 */ li r0, 0x14 -/* 80255218 00252158 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 8025521C 0025215C B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255220 00252160 B0 1F 02 DE */ sth r0, 0x2de(r31) -/* 80255224 00252164 48 00 01 08 */ b lbl_8025532C -lbl_80255228: -/* 80255228 00252168 38 60 00 FF */ li r3, 0xff -/* 8025522C 0025216C 38 00 00 14 */ li r0, 0x14 -/* 80255230 00252170 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80255234 00252174 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255238 00252178 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 8025523C 0025217C 48 00 00 F0 */ b lbl_8025532C -lbl_80255240: -/* 80255240 00252180 38 00 00 1C */ li r0, 0x1c -/* 80255244 00252184 38 60 00 00 */ li r3, 0 -/* 80255248 00252188 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 8025524C 0025218C 38 00 00 34 */ li r0, 0x34 -/* 80255250 00252190 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80255254 00252194 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255258 00252198 48 00 00 D4 */ b lbl_8025532C -lbl_8025525C: -/* 8025525C 0025219C 38 00 00 C8 */ li r0, 0xc8 -/* 80255260 002521A0 38 60 00 FF */ li r3, 0xff -/* 80255264 002521A4 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80255268 002521A8 38 00 00 DC */ li r0, 0xdc -/* 8025526C 002521AC B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80255270 002521B0 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255274 002521B4 48 00 00 B8 */ b lbl_8025532C -lbl_80255278: -/* 80255278 002521B8 38 00 00 01 */ li r0, 1 -/* 8025527C 002521BC 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 80255280 002521C0 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 80255284 002521C4 2C 00 00 02 */ cmpwi r0, 2 -/* 80255288 002521C8 41 82 00 58 */ beq lbl_802552E0 -/* 8025528C 002521CC 40 80 00 14 */ bge lbl_802552A0 -/* 80255290 002521D0 2C 00 00 00 */ cmpwi r0, 0 -/* 80255294 002521D4 41 82 00 1C */ beq lbl_802552B0 -/* 80255298 002521D8 40 80 00 30 */ bge lbl_802552C8 -/* 8025529C 002521DC 48 00 00 90 */ b lbl_8025532C -lbl_802552A0: -/* 802552A0 002521E0 2C 00 00 04 */ cmpwi r0, 4 -/* 802552A4 002521E4 41 82 00 70 */ beq lbl_80255314 -/* 802552A8 002521E8 40 80 00 84 */ bge lbl_8025532C -/* 802552AC 002521EC 48 00 00 4C */ b lbl_802552F8 -lbl_802552B0: -/* 802552B0 002521F0 38 60 00 32 */ li r3, 0x32 -/* 802552B4 002521F4 38 00 00 FF */ li r0, 0xff -/* 802552B8 002521F8 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 802552BC 002521FC B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 802552C0 00252200 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 802552C4 00252204 48 00 00 68 */ b lbl_8025532C -lbl_802552C8: -/* 802552C8 00252208 38 60 00 FF */ li r3, 0xff -/* 802552CC 0025220C 38 00 00 14 */ li r0, 0x14 -/* 802552D0 00252210 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 802552D4 00252214 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 802552D8 00252218 B0 1F 02 DE */ sth r0, 0x2de(r31) -/* 802552DC 0025221C 48 00 00 50 */ b lbl_8025532C -lbl_802552E0: -/* 802552E0 00252220 38 60 00 FF */ li r3, 0xff -/* 802552E4 00252224 38 00 00 14 */ li r0, 0x14 -/* 802552E8 00252228 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 802552EC 0025222C B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 802552F0 00252230 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 802552F4 00252234 48 00 00 38 */ b lbl_8025532C -lbl_802552F8: -/* 802552F8 00252238 38 00 00 1C */ li r0, 0x1c -/* 802552FC 0025223C 38 60 00 00 */ li r3, 0 -/* 80255300 00252240 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80255304 00252244 38 00 00 34 */ li r0, 0x34 -/* 80255308 00252248 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025530C 0025224C B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255310 00252250 48 00 00 1C */ b lbl_8025532C -lbl_80255314: -/* 80255314 00252254 38 00 00 C8 */ li r0, 0xc8 -/* 80255318 00252258 38 60 00 FF */ li r3, 0xff -/* 8025531C 0025225C B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80255320 00252260 38 00 00 DC */ li r0, 0xdc -/* 80255324 00252264 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 80255328 00252268 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -lbl_8025532C: -/* 8025532C 0025226C 7F E3 FB 78 */ mr r3, r31 -/* 80255330 00252270 81 9F 00 00 */ lwz r12, 0(r31) -/* 80255334 00252274 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 80255338 00252278 7D 89 03 A6 */ mtctr r12 -/* 8025533C 0025227C 4E 80 04 21 */ bctrl -/* 80255340 00252280 2C 03 00 08 */ cmpwi r3, 8 -/* 80255344 00252284 41 82 00 24 */ beq lbl_80255368 -/* 80255348 00252288 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8025534C 0025228C 38 60 00 01 */ li r3, 1 -/* 80255350 00252290 38 00 00 00 */ li r0, 0 -/* 80255354 00252294 80 84 08 1C */ lwz r4, 0x81c(r4) -/* 80255358 00252298 90 9F 02 C8 */ stw r4, 0x2c8(r31) -/* 8025535C 0025229C 90 7F 02 CC */ stw r3, 0x2cc(r31) -/* 80255360 002522A0 B0 1F 02 E2 */ sth r0, 0x2e2(r31) -/* 80255364 002522A4 48 00 00 24 */ b lbl_80255388 -lbl_80255368: -/* 80255368 002522A8 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025536C 002522AC 38 00 00 FF */ li r0, 0xff -/* 80255370 002522B0 80 63 08 44 */ lwz r3, 0x844(r3) -/* 80255374 002522B4 90 7F 02 C8 */ stw r3, 0x2c8(r31) -/* 80255378 002522B8 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025537C 002522BC 80 63 08 6C */ lwz r3, 0x86c(r3) -/* 80255380 002522C0 90 7F 02 CC */ stw r3, 0x2cc(r31) -/* 80255384 002522C4 B0 1F 02 E2 */ sth r0, 0x2e2(r31) -lbl_80255388: -/* 80255388 002522C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025538C 002522CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80255390 002522D0 7C 08 03 A6 */ mtlr r0 -/* 80255394 002522D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80255398 002522D8 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game3Pom3ObjFv -getEnemyTypeID__Q34Game3Pom3ObjFv: -/* 8025539C 002522DC 80 63 02 EC */ lwz r3, 0x2ec(r3) -/* 802553A0 002522E0 4E 80 00 20 */ blr - -.global shotPikmin__Q34Game3Pom3ObjFv -shotPikmin__Q34Game3Pom3ObjFv: -/* 802553A4 002522E4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 802553A8 002522E8 7C 08 02 A6 */ mflr r0 -/* 802553AC 002522EC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 802553B0 002522F0 93 E1 00 AC */ stw r31, 0xac(r1) -/* 802553B4 002522F4 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 802553B8 002522F8 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 802553BC 002522FC 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 802553C0 00252300 7C 7C 1B 78 */ mr r28, r3 -/* 802553C4 00252304 38 61 00 10 */ addi r3, r1, 0x10 -/* 802553C8 00252308 81 9C 00 00 */ lwz r12, 0(r28) -/* 802553CC 0025230C 7F 84 E3 78 */ mr r4, r28 -/* 802553D0 00252310 81 8C 00 08 */ lwz r12, 8(r12) -/* 802553D4 00252314 7D 89 03 A6 */ mtctr r12 -/* 802553D8 00252318 4E 80 04 21 */ bctrl -/* 802553DC 0025231C C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802553E0 00252320 7F 84 E3 78 */ mr r4, r28 -/* 802553E4 00252324 C0 02 C6 58 */ lfs f0, lbl_8051A9B8@sda21(r2) -/* 802553E8 00252328 38 61 00 64 */ addi r3, r1, 0x64 -/* 802553EC 0025232C C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802553F0 00252330 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 802553F4 00252334 EC 02 00 2A */ fadds f0, f2, f0 -/* 802553F8 00252338 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802553FC 0025233C D0 61 00 38 */ stfs f3, 0x38(r1) -/* 80255400 00252340 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80255404 00252344 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80255408 00252348 80 BC 01 F4 */ lwz r5, 0x1f4(r28) -/* 8025540C 0025234C 80 1C 02 CC */ lwz r0, 0x2cc(r28) -/* 80255410 00252350 7F C5 01 D6 */ mullw r30, r5, r0 -/* 80255414 00252354 4B F4 A8 49 */ bl __ct__Q24Game8StickersFPQ24Game8Creature -/* 80255418 00252358 38 00 00 00 */ li r0, 0 -/* 8025541C 0025235C 3C 60 80 4B */ lis r3, __vt__26Iterator$$0Q24Game8Creature$$1@ha -/* 80255420 00252360 38 83 BC 84 */ addi r4, r3, __vt__26Iterator$$0Q24Game8Creature$$1@l -/* 80255424 00252364 38 61 00 64 */ addi r3, r1, 0x64 -/* 80255428 00252368 28 00 00 00 */ cmplwi r0, 0 -/* 8025542C 0025236C 90 81 00 28 */ stw r4, 0x28(r1) -/* 80255430 00252370 90 01 00 34 */ stw r0, 0x34(r1) -/* 80255434 00252374 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80255438 00252378 90 61 00 30 */ stw r3, 0x30(r1) -/* 8025543C 0025237C 40 82 00 1C */ bne lbl_80255458 -/* 80255440 00252380 81 83 00 00 */ lwz r12, 0(r3) -/* 80255444 00252384 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80255448 00252388 7D 89 03 A6 */ mtctr r12 -/* 8025544C 0025238C 4E 80 04 21 */ bctrl -/* 80255450 00252390 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80255454 00252394 48 00 02 24 */ b lbl_80255678 -lbl_80255458: -/* 80255458 00252398 81 83 00 00 */ lwz r12, 0(r3) -/* 8025545C 0025239C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80255460 002523A0 7D 89 03 A6 */ mtctr r12 -/* 80255464 002523A4 4E 80 04 21 */ bctrl -/* 80255468 002523A8 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8025546C 002523AC 48 00 00 58 */ b lbl_802554C4 -lbl_80255470: -/* 80255470 002523B0 80 61 00 30 */ lwz r3, 0x30(r1) -/* 80255474 002523B4 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80255478 002523B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8025547C 002523BC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80255480 002523C0 7D 89 03 A6 */ mtctr r12 -/* 80255484 002523C4 4E 80 04 21 */ bctrl -/* 80255488 002523C8 7C 64 1B 78 */ mr r4, r3 -/* 8025548C 002523CC 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80255490 002523D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80255494 002523D4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80255498 002523D8 7D 89 03 A6 */ mtctr r12 -/* 8025549C 002523DC 4E 80 04 21 */ bctrl -/* 802554A0 002523E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802554A4 002523E4 40 82 01 D4 */ bne lbl_80255678 -/* 802554A8 002523E8 80 61 00 30 */ lwz r3, 0x30(r1) -/* 802554AC 002523EC 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 802554B0 002523F0 81 83 00 00 */ lwz r12, 0(r3) -/* 802554B4 002523F4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802554B8 002523F8 7D 89 03 A6 */ mtctr r12 -/* 802554BC 002523FC 4E 80 04 21 */ bctrl -/* 802554C0 00252400 90 61 00 2C */ stw r3, 0x2c(r1) -lbl_802554C4: -/* 802554C4 00252404 81 81 00 28 */ lwz r12, 0x28(r1) -/* 802554C8 00252408 38 61 00 28 */ addi r3, r1, 0x28 -/* 802554CC 0025240C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802554D0 00252410 7D 89 03 A6 */ mtctr r12 -/* 802554D4 00252414 4E 80 04 21 */ bctrl -/* 802554D8 00252418 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802554DC 0025241C 41 82 FF 94 */ beq lbl_80255470 -/* 802554E0 00252420 48 00 01 98 */ b lbl_80255678 -lbl_802554E4: -/* 802554E4 00252424 80 61 00 30 */ lwz r3, 0x30(r1) -/* 802554E8 00252428 81 83 00 00 */ lwz r12, 0(r3) -/* 802554EC 0025242C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802554F0 00252430 7D 89 03 A6 */ mtctr r12 -/* 802554F4 00252434 4E 80 04 21 */ bctrl -/* 802554F8 00252438 81 83 00 00 */ lwz r12, 0(r3) -/* 802554FC 0025243C 7C 7F 1B 78 */ mr r31, r3 -/* 80255500 00252440 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80255504 00252444 7D 89 03 A6 */ mtctr r12 -/* 80255508 00252448 4E 80 04 21 */ bctrl -/* 8025550C 0025244C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80255510 00252450 41 82 00 AC */ beq lbl_802555BC -/* 80255514 00252454 7F E3 FB 78 */ mr r3, r31 -/* 80255518 00252458 4B F4 A0 71 */ bl isStickToMouth__Q24Game8CreatureFv -/* 8025551C 0025245C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80255520 00252460 41 82 00 9C */ beq lbl_802555BC -/* 80255524 00252464 88 7F 02 B8 */ lbz r3, 0x2b8(r31) -/* 80255528 00252468 2C 03 00 05 */ cmpwi r3, 5 -/* 8025552C 0025246C 40 80 00 40 */ bge lbl_8025556C -/* 80255530 00252470 4B FD A5 7D */ bl dec__Q24Game8BirthMgrFi -/* 80255534 00252474 7F 83 E3 78 */ mr r3, r28 -/* 80255538 00252478 81 9C 00 00 */ lwz r12, 0(r28) -/* 8025553C 0025247C 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 80255540 00252480 7D 89 03 A6 */ mtctr r12 -/* 80255544 00252484 4E 80 04 21 */ bctrl -/* 80255548 00252488 2C 03 00 08 */ cmpwi r3, 8 -/* 8025554C 0025248C 41 82 00 20 */ beq lbl_8025556C -/* 80255550 00252490 88 7F 02 B8 */ lbz r3, 0x2b8(r31) -/* 80255554 00252494 80 1C 02 D8 */ lwz r0, 0x2d8(r28) -/* 80255558 00252498 7C 03 00 00 */ cmpw r3, r0 -/* 8025555C 0025249C 40 82 00 10 */ bne lbl_8025556C -/* 80255560 002524A0 80 7C 02 C4 */ lwz r3, 0x2c4(r28) -/* 80255564 002524A4 38 03 FF FF */ addi r0, r3, -1 -/* 80255568 002524A8 90 1C 02 C4 */ stw r0, 0x2c4(r28) -lbl_8025556C: -/* 8025556C 002524AC 3C 60 80 4B */ lis r3, __vt__Q24Game11Interaction@ha -/* 80255570 002524B0 3C 80 80 4B */ lis r4, __vt__Q24Game15CreatureKillArg@ha -/* 80255574 002524B4 38 03 A3 00 */ addi r0, r3, __vt__Q24Game11Interaction@l -/* 80255578 002524B8 3C 60 80 4B */ lis r3, __vt__Q24Game12InteractKill@ha -/* 8025557C 002524BC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80255580 002524C0 38 84 A2 D0 */ addi r4, r4, __vt__Q24Game15CreatureKillArg@l -/* 80255584 002524C4 38 A3 4D 98 */ addi r5, r3, __vt__Q24Game12InteractKill@l -/* 80255588 002524C8 38 01 00 08 */ addi r0, r1, 8 -/* 8025558C 002524CC 38 C0 00 01 */ li r6, 1 -/* 80255590 002524D0 90 81 00 08 */ stw r4, 8(r1) -/* 80255594 002524D4 7F E3 FB 78 */ mr r3, r31 -/* 80255598 002524D8 38 81 00 1C */ addi r4, r1, 0x1c -/* 8025559C 002524DC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 802555A0 002524E0 93 81 00 20 */ stw r28, 0x20(r1) -/* 802555A4 002524E4 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 802555A8 002524E8 90 01 00 24 */ stw r0, 0x24(r1) -/* 802555AC 002524EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802555B0 002524F0 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 802555B4 002524F4 7D 89 03 A6 */ mtctr r12 -/* 802555B8 002524F8 4E 80 04 21 */ bctrl -lbl_802555BC: -/* 802555BC 002524FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802555C0 00252500 28 00 00 00 */ cmplwi r0, 0 -/* 802555C4 00252504 40 82 00 24 */ bne lbl_802555E8 -/* 802555C8 00252508 80 61 00 30 */ lwz r3, 0x30(r1) -/* 802555CC 0025250C 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 802555D0 00252510 81 83 00 00 */ lwz r12, 0(r3) -/* 802555D4 00252514 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802555D8 00252518 7D 89 03 A6 */ mtctr r12 -/* 802555DC 0025251C 4E 80 04 21 */ bctrl -/* 802555E0 00252520 90 61 00 2C */ stw r3, 0x2c(r1) -/* 802555E4 00252524 48 00 00 94 */ b lbl_80255678 -lbl_802555E8: -/* 802555E8 00252528 80 61 00 30 */ lwz r3, 0x30(r1) -/* 802555EC 0025252C 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 802555F0 00252530 81 83 00 00 */ lwz r12, 0(r3) -/* 802555F4 00252534 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802555F8 00252538 7D 89 03 A6 */ mtctr r12 -/* 802555FC 0025253C 4E 80 04 21 */ bctrl -/* 80255600 00252540 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80255604 00252544 48 00 00 58 */ b lbl_8025565C -lbl_80255608: -/* 80255608 00252548 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8025560C 0025254C 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80255610 00252550 81 83 00 00 */ lwz r12, 0(r3) -/* 80255614 00252554 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80255618 00252558 7D 89 03 A6 */ mtctr r12 -/* 8025561C 0025255C 4E 80 04 21 */ bctrl -/* 80255620 00252560 7C 64 1B 78 */ mr r4, r3 -/* 80255624 00252564 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80255628 00252568 81 83 00 00 */ lwz r12, 0(r3) -/* 8025562C 0025256C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80255630 00252570 7D 89 03 A6 */ mtctr r12 -/* 80255634 00252574 4E 80 04 21 */ bctrl -/* 80255638 00252578 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025563C 0025257C 40 82 00 3C */ bne lbl_80255678 -/* 80255640 00252580 80 61 00 30 */ lwz r3, 0x30(r1) -/* 80255644 00252584 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80255648 00252588 81 83 00 00 */ lwz r12, 0(r3) -/* 8025564C 0025258C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80255650 00252590 7D 89 03 A6 */ mtctr r12 -/* 80255654 00252594 4E 80 04 21 */ bctrl -/* 80255658 00252598 90 61 00 2C */ stw r3, 0x2c(r1) -lbl_8025565C: -/* 8025565C 0025259C 81 81 00 28 */ lwz r12, 0x28(r1) -/* 80255660 002525A0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80255664 002525A4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80255668 002525A8 7D 89 03 A6 */ mtctr r12 -/* 8025566C 002525AC 4E 80 04 21 */ bctrl -/* 80255670 002525B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80255674 002525B4 41 82 FF 94 */ beq lbl_80255608 -lbl_80255678: -/* 80255678 002525B8 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8025567C 002525BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80255680 002525C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80255684 002525C4 7D 89 03 A6 */ mtctr r12 -/* 80255688 002525C8 4E 80 04 21 */ bctrl -/* 8025568C 002525CC 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80255690 002525D0 7C 04 18 40 */ cmplw r4, r3 -/* 80255694 002525D4 40 82 FE 50 */ bne lbl_802554E4 -/* 80255698 002525D8 3B E0 00 00 */ li r31, 0 -/* 8025569C 002525DC 48 00 01 6C */ b lbl_80255808 -lbl_802556A0: -/* 802556A0 002525E0 80 6D 94 70 */ lwz r3, mgr__Q24Game12ItemPikihead@sda21(r13) -/* 802556A4 002525E4 81 83 00 00 */ lwz r12, 0(r3) -/* 802556A8 002525E8 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 802556AC 002525EC 7D 89 03 A6 */ mtctr r12 -/* 802556B0 002525F0 4E 80 04 21 */ bctrl -/* 802556B4 002525F4 7C 7D 1B 79 */ or. r29, r3, r3 -/* 802556B8 002525F8 41 82 01 4C */ beq lbl_80255804 -/* 802556BC 002525FC 4B E7 3E E5 */ bl rand -/* 802556C0 00252600 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802556C4 00252604 3C 00 43 30 */ lis r0, 0x4330 -/* 802556C8 00252608 90 61 00 84 */ stw r3, 0x84(r1) -/* 802556CC 0025260C C8 42 C6 78 */ lfd f2, lbl_8051A9D8@sda21(r2) -/* 802556D0 00252610 90 01 00 80 */ stw r0, 0x80(r1) -/* 802556D4 00252614 C0 62 C6 5C */ lfs f3, lbl_8051A9BC@sda21(r2) -/* 802556D8 00252618 C8 01 00 80 */ lfd f0, 0x80(r1) -/* 802556DC 0025261C C0 22 C6 60 */ lfs f1, lbl_8051A9C0@sda21(r2) -/* 802556E0 00252620 EC 80 10 28 */ fsubs f4, f0, f2 -/* 802556E4 00252624 C0 02 C6 48 */ lfs f0, lbl_8051A9A8@sda21(r2) -/* 802556E8 00252628 C0 42 C6 64 */ lfs f2, lbl_8051A9C4@sda21(r2) -/* 802556EC 0025262C EC 63 01 32 */ fmuls f3, f3, f4 -/* 802556F0 00252630 EC 63 08 24 */ fdivs f3, f3, f1 -/* 802556F4 00252634 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802556F8 00252638 40 80 00 30 */ bge lbl_80255728 -/* 802556FC 0025263C C0 02 C6 68 */ lfs f0, lbl_8051A9C8@sda21(r2) -/* 80255700 00252640 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80255704 00252644 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80255708 00252648 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8025570C 0025264C FC 00 00 1E */ fctiwz f0, f0 -/* 80255710 00252650 D8 01 00 88 */ stfd f0, 0x88(r1) -/* 80255714 00252654 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80255718 00252658 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025571C 0025265C 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80255720 00252660 FC 20 00 50 */ fneg f1, f0 -/* 80255724 00252664 48 00 00 28 */ b lbl_8025574C -lbl_80255728: -/* 80255728 00252668 C0 02 C6 6C */ lfs f0, lbl_8051A9CC@sda21(r2) -/* 8025572C 0025266C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80255730 00252670 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80255734 00252674 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80255738 00252678 FC 00 00 1E */ fctiwz f0, f0 -/* 8025573C 0025267C D8 01 00 90 */ stfd f0, 0x90(r1) -/* 80255740 00252680 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80255744 00252684 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80255748 00252688 7C 23 04 2E */ lfsx f1, r3, r0 -lbl_8025574C: -/* 8025574C 0025268C C0 02 C6 48 */ lfs f0, lbl_8051A9A8@sda21(r2) -/* 80255750 00252690 EC 82 00 72 */ fmuls f4, f2, f1 -/* 80255754 00252694 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80255758 00252698 40 80 00 08 */ bge lbl_80255760 -/* 8025575C 0025269C FC 60 18 50 */ fneg f3, f3 -lbl_80255760: -/* 80255760 002526A0 C0 02 C6 6C */ lfs f0, lbl_8051A9CC@sda21(r2) -/* 80255764 002526A4 3C 60 80 4B */ lis r3, __vt__Q24Game15CreatureInitArg@ha -/* 80255768 002526A8 81 3C 02 D8 */ lwz r9, 0x2d8(r28) -/* 8025576C 002526AC 38 A3 A2 F4 */ addi r5, r3, __vt__Q24Game15CreatureInitArg@l -/* 80255770 002526B0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80255774 002526B4 38 00 00 00 */ li r0, 0 -/* 80255778 002526B8 3C C0 80 50 */ lis r6, sincosTable___5JMath@ha -/* 8025577C 002526BC C0 22 C6 70 */ lfs f1, lbl_8051A9D0@sda21(r2) -/* 80255780 002526C0 3C 80 80 4B */ lis r4, __vt__Q24Game11ItemInitArg@ha -/* 80255784 002526C4 90 A1 00 44 */ stw r5, 0x44(r1) -/* 80255788 002526C8 FC 40 00 1E */ fctiwz f2, f0 -/* 8025578C 002526CC 38 E6 71 A0 */ addi r7, r6, sincosTable___5JMath@l -/* 80255790 002526D0 38 C4 2C 7C */ addi r6, r4, __vt__Q24Game11ItemInitArg@l -/* 80255794 002526D4 3C 60 80 4B */ lis r3, __vt__Q34Game12ItemPikihead7InitArg@ha -/* 80255798 002526D8 C0 02 C6 74 */ lfs f0, lbl_8051A9D4@sda21(r2) -/* 8025579C 002526DC 38 A3 2C 70 */ addi r5, r3, __vt__Q34Game12ItemPikihead7InitArg@l -/* 802557A0 002526E0 D8 41 00 98 */ stfd f2, 0x98(r1) -/* 802557A4 002526E4 7F A3 EB 78 */ mr r3, r29 -/* 802557A8 002526E8 C0 62 C6 64 */ lfs f3, lbl_8051A9C4@sda21(r2) -/* 802557AC 002526EC 38 81 00 44 */ addi r4, r1, 0x44 -/* 802557B0 002526F0 90 C1 00 44 */ stw r6, 0x44(r1) -/* 802557B4 002526F4 81 01 00 9C */ lwz r8, 0x9c(r1) -/* 802557B8 002526F8 90 A1 00 44 */ stw r5, 0x44(r1) -/* 802557BC 002526FC 55 06 1C B8 */ rlwinm r6, r8, 3, 0x12, 0x1c -/* 802557C0 00252700 7C C7 32 14 */ add r6, r7, r6 -/* 802557C4 00252704 91 21 00 48 */ stw r9, 0x48(r1) -/* 802557C8 00252708 C0 46 00 04 */ lfs f2, 4(r6) -/* 802557CC 0025270C D0 21 00 50 */ stfs f1, 0x50(r1) -/* 802557D0 00252710 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802557D4 00252714 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 802557D8 00252718 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 802557DC 0025271C 98 01 00 58 */ stb r0, 0x58(r1) -/* 802557E0 00252720 90 01 00 5C */ stw r0, 0x5c(r1) -/* 802557E4 00252724 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 802557E8 00252728 4B EE 57 E1 */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -/* 802557EC 0025272C 7F A3 EB 78 */ mr r3, r29 -/* 802557F0 00252730 38 81 00 38 */ addi r4, r1, 0x38 -/* 802557F4 00252734 38 A0 00 00 */ li r5, 0 -/* 802557F8 00252738 4B EE 59 B1 */ bl setPosition__Q24Game8CreatureFR10Vector3$$0f$$1b -/* 802557FC 0025273C 80 7C 02 D8 */ lwz r3, 0x2d8(r28) -/* 80255800 00252740 4B FD A2 65 */ bl inc__Q24Game8BirthMgrFi -lbl_80255804: -/* 80255804 00252744 3B FF 00 01 */ addi r31, r31, 1 -lbl_80255808: -/* 80255808 00252748 7C 1F F0 00 */ cmpw r31, r30 -/* 8025580C 0025274C 41 80 FE 94 */ blt lbl_802556A0 -/* 80255810 00252750 7F 83 E3 78 */ mr r3, r28 -/* 80255814 00252754 48 00 03 5D */ bl createShotEffect__Q34Game3Pom3ObjFv -/* 80255818 00252758 7F 83 E3 78 */ mr r3, r28 -/* 8025581C 0025275C 38 80 00 00 */ li r4, 0 -/* 80255820 00252760 4B EA D1 01 */ bl setZukanVisible__Q24Game9EnemyBaseFb -/* 80255824 00252764 38 61 00 64 */ addi r3, r1, 0x64 -/* 80255828 00252768 38 80 FF FF */ li r4, -1 -/* 8025582C 0025276C 4B F4 A5 39 */ bl __dt__Q24Game8StickersFv -/* 80255830 00252770 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80255834 00252774 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80255838 00252778 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8025583C 0025277C 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80255840 00252780 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 80255844 00252784 7C 08 03 A6 */ mtlr r0 -/* 80255848 00252788 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8025584C 0025278C 4E 80 00 20 */ blr - -.global changePomColor__Q34Game3Pom3ObjFv -changePomColor__Q34Game3Pom3ObjFv: -/* 80255850 00252790 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80255854 00252794 7C 08 02 A6 */ mflr r0 -/* 80255858 00252798 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025585C 0025279C BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80255860 002527A0 7C 7F 1B 78 */ mr r31, r3 -/* 80255864 002527A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80255868 002527A8 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 8025586C 002527AC 7D 89 03 A6 */ mtctr r12 -/* 80255870 002527B0 4E 80 04 21 */ bctrl -/* 80255874 002527B4 2C 03 00 08 */ cmpwi r3, 8 -/* 80255878 002527B8 40 82 01 60 */ bne lbl_802559D8 -/* 8025587C 002527BC 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80255880 002527C0 C0 3F 02 E8 */ lfs f1, 0x2e8(r31) -/* 80255884 002527C4 C0 03 08 BC */ lfs f0, 0x8bc(r3) -/* 80255888 002527C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025588C 002527CC 40 81 01 3C */ ble lbl_802559C8 -/* 80255890 002527D0 3C 60 80 48 */ lis r3, lbl_80484CF0@ha -/* 80255894 002527D4 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 80255898 002527D8 38 E3 4C F0 */ addi r7, r3, lbl_80484CF0@l -/* 8025589C 002527DC 3B C1 00 08 */ addi r30, r1, 8 -/* 802558A0 002527E0 80 C7 00 00 */ lwz r6, 0(r7) -/* 802558A4 002527E4 3B A4 00 03 */ addi r29, r4, 3 -/* 802558A8 002527E8 80 A7 00 04 */ lwz r5, 4(r7) -/* 802558AC 002527EC 3B 84 00 01 */ addi r28, r4, 1 -/* 802558B0 002527F0 80 87 00 08 */ lwz r4, 8(r7) -/* 802558B4 002527F4 80 67 00 0C */ lwz r3, 0xc(r7) -/* 802558B8 002527F8 80 07 00 10 */ lwz r0, 0x10(r7) -/* 802558BC 002527FC 90 C1 00 08 */ stw r6, 8(r1) -/* 802558C0 00252800 90 A1 00 0C */ stw r5, 0xc(r1) -/* 802558C4 00252804 90 81 00 10 */ stw r4, 0x10(r1) -/* 802558C8 00252808 90 61 00 14 */ stw r3, 0x14(r1) -/* 802558CC 0025280C 90 01 00 18 */ stw r0, 0x18(r1) -/* 802558D0 00252810 48 00 00 EC */ b lbl_802559BC -lbl_802558D4: -/* 802558D4 00252814 2C 1C 00 02 */ cmpwi r28, 2 -/* 802558D8 00252818 7F 9B E3 78 */ mr r27, r28 -/* 802558DC 0025281C 40 81 00 08 */ ble lbl_802558E4 -/* 802558E0 00252820 3B 7C FF FD */ addi r27, r28, -3 -lbl_802558E4: -/* 802558E4 00252824 57 60 10 3A */ slwi r0, r27, 2 -/* 802558E8 00252828 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 802558EC 0025282C 7C 9E 00 2E */ lwzx r4, r30, r0 -/* 802558F0 00252830 4B F9 17 B9 */ bl hasMetPikmin__Q24Game8PlayDataFi -/* 802558F4 00252834 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802558F8 00252838 41 82 00 C0 */ beq lbl_802559B8 -/* 802558FC 0025283C 93 7F 02 D8 */ stw r27, 0x2d8(r31) -/* 80255900 00252840 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 80255904 00252844 2C 00 00 02 */ cmpwi r0, 2 -/* 80255908 00252848 41 82 00 58 */ beq lbl_80255960 -/* 8025590C 0025284C 40 80 00 14 */ bge lbl_80255920 -/* 80255910 00252850 2C 00 00 00 */ cmpwi r0, 0 -/* 80255914 00252854 41 82 00 1C */ beq lbl_80255930 -/* 80255918 00252858 40 80 00 30 */ bge lbl_80255948 -/* 8025591C 0025285C 48 00 00 90 */ b lbl_802559AC -lbl_80255920: -/* 80255920 00252860 2C 00 00 04 */ cmpwi r0, 4 -/* 80255924 00252864 41 82 00 70 */ beq lbl_80255994 -/* 80255928 00252868 40 80 00 84 */ bge lbl_802559AC -/* 8025592C 0025286C 48 00 00 4C */ b lbl_80255978 -lbl_80255930: -/* 80255930 00252870 38 60 00 32 */ li r3, 0x32 -/* 80255934 00252874 38 00 00 FF */ li r0, 0xff -/* 80255938 00252878 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025593C 0025287C B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255940 00252880 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255944 00252884 48 00 00 68 */ b lbl_802559AC -lbl_80255948: -/* 80255948 00252888 38 60 00 FF */ li r3, 0xff -/* 8025594C 0025288C 38 00 00 14 */ li r0, 0x14 -/* 80255950 00252890 B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255954 00252894 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255958 00252898 B0 1F 02 DE */ sth r0, 0x2de(r31) -/* 8025595C 0025289C 48 00 00 50 */ b lbl_802559AC -lbl_80255960: -/* 80255960 002528A0 38 60 00 FF */ li r3, 0xff -/* 80255964 002528A4 38 00 00 14 */ li r0, 0x14 -/* 80255968 002528A8 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025596C 002528AC B0 7F 02 DC */ sth r3, 0x2dc(r31) -/* 80255970 002528B0 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255974 002528B4 48 00 00 38 */ b lbl_802559AC -lbl_80255978: -/* 80255978 002528B8 38 00 00 1C */ li r0, 0x1c -/* 8025597C 002528BC 38 60 00 00 */ li r3, 0 -/* 80255980 002528C0 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80255984 002528C4 38 00 00 34 */ li r0, 0x34 -/* 80255988 002528C8 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 8025598C 002528CC B0 1F 02 E0 */ sth r0, 0x2e0(r31) -/* 80255990 002528D0 48 00 00 1C */ b lbl_802559AC -lbl_80255994: -/* 80255994 002528D4 38 00 00 C8 */ li r0, 0xc8 -/* 80255998 002528D8 38 60 00 FF */ li r3, 0xff -/* 8025599C 002528DC B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 802559A0 002528E0 38 00 00 DC */ li r0, 0xdc -/* 802559A4 002528E4 B0 7F 02 DE */ sth r3, 0x2de(r31) -/* 802559A8 002528E8 B0 1F 02 E0 */ sth r0, 0x2e0(r31) -lbl_802559AC: -/* 802559AC 002528EC C0 02 C6 48 */ lfs f0, lbl_8051A9A8@sda21(r2) -/* 802559B0 002528F0 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -/* 802559B4 002528F4 48 00 00 24 */ b lbl_802559D8 -lbl_802559B8: -/* 802559B8 002528F8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_802559BC: -/* 802559BC 002528FC 7C 1C E8 00 */ cmpw r28, r29 -/* 802559C0 00252900 41 80 FF 14 */ blt lbl_802558D4 -/* 802559C4 00252904 48 00 00 14 */ b lbl_802559D8 -lbl_802559C8: -/* 802559C8 00252908 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802559CC 0025290C C0 03 00 54 */ lfs f0, 0x54(r3) -/* 802559D0 00252910 EC 01 00 2A */ fadds f0, f1, f0 -/* 802559D4 00252914 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -lbl_802559D8: -/* 802559D8 00252918 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 802559DC 0025291C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802559E0 00252920 7C 08 03 A6 */ mtlr r0 -/* 802559E4 00252924 38 21 00 40 */ addi r1, r1, 0x40 -/* 802559E8 00252928 4E 80 00 20 */ blr - -.global createSwingSmokeEffect__Q34Game3Pom3ObjFv -createSwingSmokeEffect__Q34Game3Pom3ObjFv: -/* 802559EC 0025292C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802559F0 00252930 7C 08 02 A6 */ mflr r0 -/* 802559F4 00252934 90 01 00 74 */ stw r0, 0x74(r1) -/* 802559F8 00252938 80 03 02 80 */ lwz r0, 0x280(r3) -/* 802559FC 0025293C 28 00 00 00 */ cmplwi r0, 0 -/* 80255A00 00252940 41 82 00 E4 */ beq lbl_80255AE4 -/* 80255A04 00252944 C0 43 01 8C */ lfs f2, 0x18c(r3) -/* 80255A08 00252948 C0 23 01 90 */ lfs f1, 0x190(r3) -/* 80255A0C 0025294C C0 03 01 94 */ lfs f0, 0x194(r3) -/* 80255A10 00252950 7C 03 03 78 */ mr r3, r0 -/* 80255A14 00252954 81 83 00 00 */ lwz r12, 0(r3) -/* 80255A18 00252958 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80255A1C 0025295C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80255A20 00252960 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80255A24 00252964 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80255A28 00252968 7D 89 03 A6 */ mtctr r12 -/* 80255A2C 0025296C 4E 80 04 21 */ bctrl -/* 80255A30 00252970 C0 03 00 00 */ lfs f0, 0(r3) -/* 80255A34 00252974 38 A0 00 00 */ li r5, 0 -/* 80255A38 00252978 81 01 00 34 */ lwz r8, 0x34(r1) -/* 80255A3C 0025297C 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 80255A40 00252980 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80255A44 00252984 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 80255A48 00252988 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 80255A4C 0025298C 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80255A50 00252990 80 E1 00 38 */ lwz r7, 0x38(r1) -/* 80255A54 00252994 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple3@ha -/* 80255A58 00252998 91 01 00 08 */ stw r8, 8(r1) -/* 80255A5C 0025299C 39 64 A7 EC */ addi r11, r4, __vt__Q23efx3Arg@l -/* 80255A60 002529A0 C0 02 C6 80 */ lfs f0, lbl_8051A9E0@sda21(r2) -/* 80255A64 002529A4 3C 80 80 4B */ lis r4, __vt__Q23efx8ArgScale@ha -/* 80255A68 002529A8 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80255A6C 002529AC 39 23 6A 50 */ addi r9, r3, __vt__Q23efx8TSimple3@l -/* 80255A70 002529B0 C0 61 00 08 */ lfs f3, 8(r1) -/* 80255A74 002529B4 3C 60 80 4F */ lis r3, __vt__Q23efx13TEnemyDownWat@ha -/* 80255A78 002529B8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80255A7C 002529BC 39 00 00 54 */ li r8, 0x54 -/* 80255A80 002529C0 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80255A84 002529C4 38 E0 00 55 */ li r7, 0x55 -/* 80255A88 002529C8 90 01 00 40 */ stw r0, 0x40(r1) -/* 80255A8C 002529CC 38 C0 00 56 */ li r6, 0x56 -/* 80255A90 002529D0 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80255A94 002529D4 39 44 A2 DC */ addi r10, r4, __vt__Q23efx8ArgScale@l -/* 80255A98 002529D8 91 61 00 58 */ stw r11, 0x58(r1) -/* 80255A9C 002529DC 38 03 85 FC */ addi r0, r3, __vt__Q23efx13TEnemyDownWat@l -/* 80255AA0 002529E0 38 61 00 40 */ addi r3, r1, 0x40 -/* 80255AA4 002529E4 38 81 00 58 */ addi r4, r1, 0x58 -/* 80255AA8 002529E8 91 21 00 40 */ stw r9, 0x40(r1) -/* 80255AAC 002529EC D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 80255AB0 002529F0 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80255AB4 002529F4 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80255AB8 002529F8 91 41 00 58 */ stw r10, 0x58(r1) -/* 80255ABC 002529FC D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80255AC0 00252A00 B1 01 00 44 */ sth r8, 0x44(r1) -/* 80255AC4 00252A04 B0 E1 00 46 */ sth r7, 0x46(r1) -/* 80255AC8 00252A08 B0 C1 00 48 */ sth r6, 0x48(r1) -/* 80255ACC 00252A0C 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 80255AD0 00252A10 90 A1 00 50 */ stw r5, 0x50(r1) -/* 80255AD4 00252A14 90 A1 00 54 */ stw r5, 0x54(r1) -/* 80255AD8 00252A18 90 01 00 40 */ stw r0, 0x40(r1) -/* 80255ADC 00252A1C 48 17 2C F1 */ bl create__Q23efx13TEnemyDownWatFPQ23efx3Arg -/* 80255AE0 00252A20 48 00 00 80 */ b lbl_80255B60 -lbl_80255AE4: -/* 80255AE4 00252A24 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80255AE8 00252A28 C0 83 01 94 */ lfs f4, 0x194(r3) -/* 80255AEC 00252A2C C0 43 01 90 */ lfs f2, 0x190(r3) -/* 80255AF0 00252A30 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 80255AF4 00252A34 C0 63 01 8C */ lfs f3, 0x18c(r3) -/* 80255AF8 00252A38 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 80255AFC 00252A3C C0 02 C6 84 */ lfs f0, lbl_8051A9E4@sda21(r2) -/* 80255B00 00252A40 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 80255B04 00252A44 90 81 00 14 */ stw r4, 0x14(r1) -/* 80255B08 00252A48 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80255B0C 00252A4C C0 22 C6 50 */ lfs f1, lbl_8051A9B0@sda21(r2) -/* 80255B10 00252A50 EC 42 00 28 */ fsubs f2, f2, f0 -/* 80255B14 00252A54 3C 60 80 4F */ lis r3, __vt__Q23efx15TEnemyDownSmoke@ha -/* 80255B18 00252A58 38 E4 A7 EC */ addi r7, r4, __vt__Q23efx3Arg@l -/* 80255B1C 00252A5C 38 C0 00 53 */ li r6, 0x53 -/* 80255B20 00252A60 38 A0 00 00 */ li r5, 0 -/* 80255B24 00252A64 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255B28 00252A68 38 03 86 10 */ addi r0, r3, __vt__Q23efx15TEnemyDownSmoke@l -/* 80255B2C 00252A6C C0 02 C6 80 */ lfs f0, lbl_8051A9E0@sda21(r2) -/* 80255B30 00252A70 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80255B34 00252A74 38 61 00 14 */ addi r3, r1, 0x14 -/* 80255B38 00252A78 38 81 00 24 */ addi r4, r1, 0x24 -/* 80255B3C 00252A7C 90 E1 00 24 */ stw r7, 0x24(r1) -/* 80255B40 00252A80 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 80255B44 00252A84 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80255B48 00252A88 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80255B4C 00252A8C B0 C1 00 18 */ sth r6, 0x18(r1) -/* 80255B50 00252A90 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80255B54 00252A94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255B58 00252A98 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80255B5C 00252A9C 48 17 2C 09 */ bl create__Q23efx15TEnemyDownSmokeFPQ23efx3Arg -lbl_80255B60: -/* 80255B60 00252AA0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80255B64 00252AA4 7C 08 03 A6 */ mtlr r0 -/* 80255B68 00252AA8 38 21 00 70 */ addi r1, r1, 0x70 -/* 80255B6C 00252AAC 4E 80 00 20 */ blr - -.global createShotEffect__Q34Game3Pom3ObjFv -createShotEffect__Q34Game3Pom3ObjFv: -/* 80255B70 00252AB0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80255B74 00252AB4 7C 08 02 A6 */ mflr r0 -/* 80255B78 00252AB8 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80255B7C 00252ABC C0 02 C6 88 */ lfs f0, lbl_8051A9E8@sda21(r2) -/* 80255B80 00252AC0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80255B84 00252AC4 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 80255B88 00252AC8 38 A0 00 00 */ li r5, 0 -/* 80255B8C 00252ACC 38 E0 01 01 */ li r7, 0x101 -/* 80255B90 00252AD0 C0 43 01 90 */ lfs f2, 0x190(r3) -/* 80255B94 00252AD4 38 C0 01 02 */ li r6, 0x102 -/* 80255B98 00252AD8 C0 23 01 8C */ lfs f1, 0x18c(r3) -/* 80255B9C 00252ADC C0 63 01 94 */ lfs f3, 0x194(r3) -/* 80255BA0 00252AE0 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple2@ha -/* 80255BA4 00252AE4 38 03 6A 64 */ addi r0, r3, __vt__Q23efx8TSimple2@l -/* 80255BA8 00252AE8 EC 42 00 28 */ fsubs f2, f2, f0 -/* 80255BAC 00252AEC 90 81 00 08 */ stw r4, 8(r1) -/* 80255BB0 00252AF0 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80255BB4 00252AF4 38 84 A7 EC */ addi r4, r4, __vt__Q23efx3Arg@l -/* 80255BB8 00252AF8 3C 60 80 4B */ lis r3, __vt__Q23efx9TOnyonLay@ha -/* 80255BBC 00252AFC 90 01 00 08 */ stw r0, 8(r1) -/* 80255BC0 00252B00 38 03 26 8C */ addi r0, r3, __vt__Q23efx9TOnyonLay@l -/* 80255BC4 00252B04 38 61 00 08 */ addi r3, r1, 8 -/* 80255BC8 00252B08 90 81 00 18 */ stw r4, 0x18(r1) -/* 80255BCC 00252B0C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80255BD0 00252B10 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80255BD4 00252B14 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80255BD8 00252B18 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80255BDC 00252B1C B0 E1 00 0C */ sth r7, 0xc(r1) -/* 80255BE0 00252B20 B0 C1 00 0E */ sth r6, 0xe(r1) -/* 80255BE4 00252B24 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80255BE8 00252B28 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80255BEC 00252B2C 90 01 00 08 */ stw r0, 8(r1) -/* 80255BF0 00252B30 48 15 94 25 */ bl create__Q23efx8TSimple2FPQ23efx3Arg -/* 80255BF4 00252B34 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80255BF8 00252B38 7C 08 03 A6 */ mtlr r0 -/* 80255BFC 00252B3C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80255C00 00252B40 4E 80 00 20 */ blr - -.global createPomDeadEffect__Q34Game3Pom3ObjFv -createPomDeadEffect__Q34Game3Pom3ObjFv: -/* 80255C04 00252B44 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80255C08 00252B48 7C 08 02 A6 */ mflr r0 -/* 80255C0C 00252B4C 3C C0 80 4B */ lis r6, __vt__Q23efx5TBase@ha -/* 80255C10 00252B50 3C A0 80 4E */ lis r5, __vt__Q23efx8TSimple1@ha -/* 80255C14 00252B54 90 01 00 34 */ stw r0, 0x34(r1) -/* 80255C18 00252B58 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80255C1C 00252B5C 38 04 A7 EC */ addi r0, r4, __vt__Q23efx3Arg@l -/* 80255C20 00252B60 39 06 A7 F8 */ addi r8, r6, __vt__Q23efx5TBase@l -/* 80255C24 00252B64 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255C28 00252B68 38 E5 6A 78 */ addi r7, r5, __vt__Q23efx8TSimple1@l -/* 80255C2C 00252B6C 3C 80 80 4C */ lis r4, __vt__Q23efx8TPonDead@ha -/* 80255C30 00252B70 38 C0 02 71 */ li r6, 0x271 -/* 80255C34 00252B74 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 80255C38 00252B78 38 04 1D 28 */ addi r0, r4, __vt__Q23efx8TPonDead@l -/* 80255C3C 00252B7C 38 A0 00 00 */ li r5, 0 -/* 80255C40 00252B80 38 81 00 14 */ addi r4, r1, 0x14 -/* 80255C44 00252B84 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80255C48 00252B88 C0 03 01 90 */ lfs f0, 0x190(r3) -/* 80255C4C 00252B8C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80255C50 00252B90 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 80255C54 00252B94 38 61 00 08 */ addi r3, r1, 8 -/* 80255C58 00252B98 91 01 00 08 */ stw r8, 8(r1) -/* 80255C5C 00252B9C 90 E1 00 08 */ stw r7, 8(r1) -/* 80255C60 00252BA0 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80255C64 00252BA4 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 80255C68 00252BA8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80255C6C 00252BAC 90 01 00 08 */ stw r0, 8(r1) -/* 80255C70 00252BB0 48 15 93 15 */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 80255C74 00252BB4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80255C78 00252BB8 7C 08 03 A6 */ mtlr r0 -/* 80255C7C 00252BBC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80255C80 00252BC0 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game3Pom3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game3Pom3ObjFPQ24Game8WaterBox: -/* 80255C84 00252BC4 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game3Pom3ObjFv -outWaterCallback__Q34Game3Pom3ObjFv: -/* 80255C88 00252BC8 4E 80 00 20 */ blr - -.global isLivingThing__Q34Game3Pom3ObjFv -isLivingThing__Q34Game3Pom3ObjFv: -/* 80255C8C 00252BCC 38 60 00 00 */ li r3, 0 -/* 80255C90 00252BD0 4E 80 00 20 */ blr - -.global getMouthSlots__Q34Game3Pom3ObjFv -getMouthSlots__Q34Game3Pom3ObjFv: -/* 80255C94 00252BD4 38 63 02 D0 */ addi r3, r3, 0x2d0 -/* 80255C98 00252BD8 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game3Pom3ObjFv -getDownSmokeScale__Q34Game3Pom3ObjFv: -/* 80255C9C 00252BDC C0 22 C6 8C */ lfs f1, lbl_8051A9EC@sda21(r2) -/* 80255CA0 00252BE0 4E 80 00 20 */ blr - -.global init__Q34Game3Pom3FSMFPQ24Game9EnemyBase -init__Q34Game3Pom3FSMFPQ24Game9EnemyBase: -/* 80255CA4 00252BE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80255CA8 00252BE8 7C 08 02 A6 */ mflr r0 -/* 80255CAC 00252BEC 38 80 00 06 */ li r4, 6 -/* 80255CB0 00252BF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255CB4 00252BF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80255CB8 00252BF8 7C 7F 1B 78 */ mr r31, r3 -/* 80255CBC 00252BFC 4B ED AB A9 */ bl create__Q24Game17EnemyStateMachineFi -/* 80255CC0 00252C00 38 60 00 10 */ li r3, 0x10 -/* 80255CC4 00252C04 4B DC E1 E1 */ bl __nw__FUl -/* 80255CC8 00252C08 7C 64 1B 79 */ or. r4, r3, r3 -/* 80255CCC 00252C0C 41 82 00 3C */ beq lbl_80255D08 -/* 80255CD0 00252C10 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80255CD4 00252C14 3C A0 80 4C */ lis r5, __vt__Q34Game3Pom5State@ha -/* 80255CD8 00252C18 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80255CDC 00252C1C 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom9StateWait@ha -/* 80255CE0 00252C20 90 04 00 00 */ stw r0, 0(r4) -/* 80255CE4 00252C24 38 E0 00 00 */ li r7, 0 -/* 80255CE8 00252C28 38 C5 21 40 */ addi r6, r5, __vt__Q34Game3Pom5State@l -/* 80255CEC 00252C2C 38 A2 C6 90 */ addi r5, r2, lbl_8051A9F0@sda21 -/* 80255CF0 00252C30 90 E4 00 04 */ stw r7, 4(r4) -/* 80255CF4 00252C34 38 03 21 1C */ addi r0, r3, __vt__Q34Game3Pom9StateWait@l -/* 80255CF8 00252C38 90 E4 00 08 */ stw r7, 8(r4) -/* 80255CFC 00252C3C 90 C4 00 00 */ stw r6, 0(r4) -/* 80255D00 00252C40 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80255D04 00252C44 90 04 00 00 */ stw r0, 0(r4) -lbl_80255D08: -/* 80255D08 00252C48 7F E3 FB 78 */ mr r3, r31 -/* 80255D0C 00252C4C 4B ED AB FD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80255D10 00252C50 38 60 00 10 */ li r3, 0x10 -/* 80255D14 00252C54 4B DC E1 91 */ bl __nw__FUl -/* 80255D18 00252C58 7C 64 1B 79 */ or. r4, r3, r3 -/* 80255D1C 00252C5C 41 82 00 40 */ beq lbl_80255D5C -/* 80255D20 00252C60 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80255D24 00252C64 3C A0 80 4C */ lis r5, __vt__Q34Game3Pom5State@ha -/* 80255D28 00252C68 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80255D2C 00252C6C 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom9StateDead@ha -/* 80255D30 00252C70 90 04 00 00 */ stw r0, 0(r4) -/* 80255D34 00252C74 38 00 00 01 */ li r0, 1 -/* 80255D38 00252C78 38 E0 00 00 */ li r7, 0 -/* 80255D3C 00252C7C 38 C5 21 40 */ addi r6, r5, __vt__Q34Game3Pom5State@l -/* 80255D40 00252C80 90 04 00 04 */ stw r0, 4(r4) -/* 80255D44 00252C84 38 A2 C6 98 */ addi r5, r2, lbl_8051A9F8@sda21 -/* 80255D48 00252C88 38 03 20 F8 */ addi r0, r3, __vt__Q34Game3Pom9StateDead@l -/* 80255D4C 00252C8C 90 E4 00 08 */ stw r7, 8(r4) -/* 80255D50 00252C90 90 C4 00 00 */ stw r6, 0(r4) -/* 80255D54 00252C94 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80255D58 00252C98 90 04 00 00 */ stw r0, 0(r4) -lbl_80255D5C: -/* 80255D5C 00252C9C 7F E3 FB 78 */ mr r3, r31 -/* 80255D60 00252CA0 4B ED AB A9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80255D64 00252CA4 38 60 00 10 */ li r3, 0x10 -/* 80255D68 00252CA8 4B DC E1 3D */ bl __nw__FUl -/* 80255D6C 00252CAC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80255D70 00252CB0 41 82 00 40 */ beq lbl_80255DB0 -/* 80255D74 00252CB4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80255D78 00252CB8 3C A0 80 4C */ lis r5, __vt__Q34Game3Pom5State@ha -/* 80255D7C 00252CBC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80255D80 00252CC0 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom9StateOpen@ha -/* 80255D84 00252CC4 90 04 00 00 */ stw r0, 0(r4) -/* 80255D88 00252CC8 38 00 00 02 */ li r0, 2 -/* 80255D8C 00252CCC 38 E0 00 00 */ li r7, 0 -/* 80255D90 00252CD0 38 C5 21 40 */ addi r6, r5, __vt__Q34Game3Pom5State@l -/* 80255D94 00252CD4 90 04 00 04 */ stw r0, 4(r4) -/* 80255D98 00252CD8 38 A2 C6 A0 */ addi r5, r2, lbl_8051AA00@sda21 -/* 80255D9C 00252CDC 38 03 20 D4 */ addi r0, r3, __vt__Q34Game3Pom9StateOpen@l -/* 80255DA0 00252CE0 90 E4 00 08 */ stw r7, 8(r4) -/* 80255DA4 00252CE4 90 C4 00 00 */ stw r6, 0(r4) -/* 80255DA8 00252CE8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80255DAC 00252CEC 90 04 00 00 */ stw r0, 0(r4) -lbl_80255DB0: -/* 80255DB0 00252CF0 7F E3 FB 78 */ mr r3, r31 -/* 80255DB4 00252CF4 4B ED AB 55 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80255DB8 00252CF8 38 60 00 10 */ li r3, 0x10 -/* 80255DBC 00252CFC 4B DC E0 E9 */ bl __nw__FUl -/* 80255DC0 00252D00 7C 64 1B 79 */ or. r4, r3, r3 -/* 80255DC4 00252D04 41 82 00 40 */ beq lbl_80255E04 -/* 80255DC8 00252D08 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80255DCC 00252D0C 3C A0 80 4C */ lis r5, __vt__Q34Game3Pom5State@ha -/* 80255DD0 00252D10 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80255DD4 00252D14 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom10StateClose@ha -/* 80255DD8 00252D18 90 04 00 00 */ stw r0, 0(r4) -/* 80255DDC 00252D1C 38 00 00 03 */ li r0, 3 -/* 80255DE0 00252D20 38 E0 00 00 */ li r7, 0 -/* 80255DE4 00252D24 38 C5 21 40 */ addi r6, r5, __vt__Q34Game3Pom5State@l -/* 80255DE8 00252D28 90 04 00 04 */ stw r0, 4(r4) -/* 80255DEC 00252D2C 38 A2 C6 A8 */ addi r5, r2, lbl_8051AA08@sda21 -/* 80255DF0 00252D30 38 03 20 B0 */ addi r0, r3, __vt__Q34Game3Pom10StateClose@l -/* 80255DF4 00252D34 90 E4 00 08 */ stw r7, 8(r4) -/* 80255DF8 00252D38 90 C4 00 00 */ stw r6, 0(r4) -/* 80255DFC 00252D3C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80255E00 00252D40 90 04 00 00 */ stw r0, 0(r4) -lbl_80255E04: -/* 80255E04 00252D44 7F E3 FB 78 */ mr r3, r31 -/* 80255E08 00252D48 4B ED AB 01 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80255E0C 00252D4C 38 60 00 10 */ li r3, 0x10 -/* 80255E10 00252D50 4B DC E0 95 */ bl __nw__FUl -/* 80255E14 00252D54 7C 64 1B 79 */ or. r4, r3, r3 -/* 80255E18 00252D58 41 82 00 40 */ beq lbl_80255E58 -/* 80255E1C 00252D5C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80255E20 00252D60 3C A0 80 4C */ lis r5, __vt__Q34Game3Pom5State@ha -/* 80255E24 00252D64 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80255E28 00252D68 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom9StateShot@ha -/* 80255E2C 00252D6C 90 04 00 00 */ stw r0, 0(r4) -/* 80255E30 00252D70 38 00 00 04 */ li r0, 4 -/* 80255E34 00252D74 38 E0 00 00 */ li r7, 0 -/* 80255E38 00252D78 38 C5 21 40 */ addi r6, r5, __vt__Q34Game3Pom5State@l -/* 80255E3C 00252D7C 90 04 00 04 */ stw r0, 4(r4) -/* 80255E40 00252D80 38 A2 C6 B0 */ addi r5, r2, lbl_8051AA10@sda21 -/* 80255E44 00252D84 38 03 20 8C */ addi r0, r3, __vt__Q34Game3Pom9StateShot@l -/* 80255E48 00252D88 90 E4 00 08 */ stw r7, 8(r4) -/* 80255E4C 00252D8C 90 C4 00 00 */ stw r6, 0(r4) -/* 80255E50 00252D90 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80255E54 00252D94 90 04 00 00 */ stw r0, 0(r4) -lbl_80255E58: -/* 80255E58 00252D98 7F E3 FB 78 */ mr r3, r31 -/* 80255E5C 00252D9C 4B ED AA AD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80255E60 00252DA0 38 60 00 10 */ li r3, 0x10 -/* 80255E64 00252DA4 4B DC E0 41 */ bl __nw__FUl -/* 80255E68 00252DA8 7C 64 1B 79 */ or. r4, r3, r3 -/* 80255E6C 00252DAC 41 82 00 40 */ beq lbl_80255EAC -/* 80255E70 00252DB0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80255E74 00252DB4 3C A0 80 4C */ lis r5, __vt__Q34Game3Pom5State@ha -/* 80255E78 00252DB8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80255E7C 00252DBC 3C 60 80 4C */ lis r3, __vt__Q34Game3Pom10StateSwing@ha -/* 80255E80 00252DC0 90 04 00 00 */ stw r0, 0(r4) -/* 80255E84 00252DC4 38 00 00 05 */ li r0, 5 -/* 80255E88 00252DC8 38 E0 00 00 */ li r7, 0 -/* 80255E8C 00252DCC 38 C5 21 40 */ addi r6, r5, __vt__Q34Game3Pom5State@l -/* 80255E90 00252DD0 90 04 00 04 */ stw r0, 4(r4) -/* 80255E94 00252DD4 38 A2 C6 B8 */ addi r5, r2, lbl_8051AA18@sda21 -/* 80255E98 00252DD8 38 03 20 68 */ addi r0, r3, __vt__Q34Game3Pom10StateSwing@l -/* 80255E9C 00252DDC 90 E4 00 08 */ stw r7, 8(r4) -/* 80255EA0 00252DE0 90 C4 00 00 */ stw r6, 0(r4) -/* 80255EA4 00252DE4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80255EA8 00252DE8 90 04 00 00 */ stw r0, 0(r4) -lbl_80255EAC: -/* 80255EAC 00252DEC 7F E3 FB 78 */ mr r3, r31 -/* 80255EB0 00252DF0 4B ED AA 59 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80255EB4 00252DF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80255EB8 00252DF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80255EBC 00252DFC 7C 08 03 A6 */ mtlr r0 -/* 80255EC0 00252E00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80255EC4 00252E04 4E 80 00 20 */ blr - -.global init__Q34Game3Pom9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Pom9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80255EC8 00252E08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80255ECC 00252E0C 7C 08 02 A6 */ mflr r0 -/* 80255ED0 00252E10 7C 83 23 78 */ mr r3, r4 -/* 80255ED4 00252E14 38 80 00 00 */ li r4, 0 -/* 80255ED8 00252E18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255EDC 00252E1C 38 A0 00 00 */ li r5, 0 -/* 80255EE0 00252E20 4B EA F1 25 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80255EE4 00252E24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80255EE8 00252E28 7C 08 03 A6 */ mtlr r0 -/* 80255EEC 00252E2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80255EF0 00252E30 4E 80 00 20 */ blr - -.global exec__Q34Game3Pom9StateWaitFPQ24Game9EnemyBase -exec__Q34Game3Pom9StateWaitFPQ24Game9EnemyBase: -/* 80255EF4 00252E34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80255EF8 00252E38 7C 08 02 A6 */ mflr r0 -/* 80255EFC 00252E3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255F00 00252E40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80255F04 00252E44 7C 9F 23 78 */ mr r31, r4 -/* 80255F08 00252E48 93 C1 00 08 */ stw r30, 8(r1) -/* 80255F0C 00252E4C 7C 7E 1B 78 */ mr r30, r3 -/* 80255F10 00252E50 7F E3 FB 78 */ mr r3, r31 -/* 80255F14 00252E54 4B FF F9 3D */ bl changePomColor__Q34Game3Pom3ObjFv -/* 80255F18 00252E58 7F C3 F3 78 */ mr r3, r30 -/* 80255F1C 00252E5C 7F E4 FB 78 */ mr r4, r31 -/* 80255F20 00252E60 81 9E 00 00 */ lwz r12, 0(r30) -/* 80255F24 00252E64 38 A0 00 02 */ li r5, 2 -/* 80255F28 00252E68 38 C0 00 00 */ li r6, 0 -/* 80255F2C 00252E6C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80255F30 00252E70 7D 89 03 A6 */ mtctr r12 -/* 80255F34 00252E74 4E 80 04 21 */ bctrl -/* 80255F38 00252E78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80255F3C 00252E7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80255F40 00252E80 83 C1 00 08 */ lwz r30, 8(r1) -/* 80255F44 00252E84 7C 08 03 A6 */ mtlr r0 -/* 80255F48 00252E88 38 21 00 10 */ addi r1, r1, 0x10 -/* 80255F4C 00252E8C 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Pom9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game3Pom9StateWaitFPQ24Game9EnemyBase: -/* 80255F50 00252E90 4E 80 00 20 */ blr - -.global init__Q34Game3Pom9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Pom9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80255F54 00252E94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80255F58 00252E98 7C 08 02 A6 */ mflr r0 -/* 80255F5C 00252E9C C0 02 C6 C0 */ lfs f0, lbl_8051AA20@sda21(r2) -/* 80255F60 00252EA0 38 A0 00 00 */ li r5, 0 -/* 80255F64 00252EA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255F68 00252EA8 38 00 00 00 */ li r0, 0 -/* 80255F6C 00252EAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80255F70 00252EB0 7C 9F 23 78 */ mr r31, r4 -/* 80255F74 00252EB4 7F E3 FB 78 */ mr r3, r31 -/* 80255F78 00252EB8 98 04 02 C0 */ stb r0, 0x2c0(r4) -/* 80255F7C 00252EBC 38 80 00 01 */ li r4, 1 -/* 80255F80 00252EC0 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 80255F84 00252EC4 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 80255F88 00252EC8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80255F8C 00252ECC 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80255F90 00252ED0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80255F94 00252ED4 4B EA F0 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80255F98 00252ED8 7F E3 FB 78 */ mr r3, r31 -/* 80255F9C 00252EDC 4B FF FC 69 */ bl createPomDeadEffect__Q34Game3Pom3ObjFv -/* 80255FA0 00252EE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80255FA4 00252EE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80255FA8 00252EE8 7C 08 03 A6 */ mtlr r0 -/* 80255FAC 00252EEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80255FB0 00252EF0 4E 80 00 20 */ blr - -.global exec__Q34Game3Pom9StateDeadFPQ24Game9EnemyBase -exec__Q34Game3Pom9StateDeadFPQ24Game9EnemyBase: -/* 80255FB4 00252EF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80255FB8 00252EF8 7C 08 02 A6 */ mflr r0 -/* 80255FBC 00252EFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80255FC0 00252F00 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80255FC4 00252F04 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80255FC8 00252F08 28 00 00 00 */ cmplwi r0, 0 -/* 80255FCC 00252F0C 41 82 00 1C */ beq lbl_80255FE8 -/* 80255FD0 00252F10 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80255FD4 00252F14 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80255FD8 00252F18 40 82 00 10 */ bne lbl_80255FE8 -/* 80255FDC 00252F1C 7C 83 23 78 */ mr r3, r4 -/* 80255FE0 00252F20 38 80 00 00 */ li r4, 0 -/* 80255FE4 00252F24 4B EE 51 0D */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80255FE8: -/* 80255FE8 00252F28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80255FEC 00252F2C 7C 08 03 A6 */ mtlr r0 -/* 80255FF0 00252F30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80255FF4 00252F34 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Pom9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game3Pom9StateDeadFPQ24Game9EnemyBase: -/* 80255FF8 00252F38 4E 80 00 20 */ blr - -.global init__Q34Game3Pom9StateOpenFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Pom9StateOpenFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80255FFC 00252F3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80256000 00252F40 7C 08 02 A6 */ mflr r0 -/* 80256004 00252F44 7C 83 23 78 */ mr r3, r4 -/* 80256008 00252F48 C0 02 C6 C0 */ lfs f0, lbl_8051AA20@sda21(r2) -/* 8025600C 00252F4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80256010 00252F50 38 00 00 00 */ li r0, 0 -/* 80256014 00252F54 38 A0 00 00 */ li r5, 0 -/* 80256018 00252F58 98 04 02 C0 */ stb r0, 0x2c0(r4) -/* 8025601C 00252F5C 38 80 00 02 */ li r4, 2 -/* 80256020 00252F60 98 03 02 C1 */ stb r0, 0x2c1(r3) -/* 80256024 00252F64 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 80256028 00252F68 4B EA EF DD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025602C 00252F6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80256030 00252F70 7C 08 03 A6 */ mtlr r0 -/* 80256034 00252F74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80256038 00252F78 4E 80 00 20 */ blr - -.global exec__Q34Game3Pom9StateOpenFPQ24Game9EnemyBase -exec__Q34Game3Pom9StateOpenFPQ24Game9EnemyBase: -/* 8025603C 00252F7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80256040 00252F80 7C 08 02 A6 */ mflr r0 -/* 80256044 00252F84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80256048 00252F88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025604C 00252F8C 7C 9F 23 78 */ mr r31, r4 -/* 80256050 00252F90 93 C1 00 08 */ stw r30, 8(r1) -/* 80256054 00252F94 7C 7E 1B 78 */ mr r30, r3 -/* 80256058 00252F98 7F E3 FB 78 */ mr r3, r31 -/* 8025605C 00252F9C 4B FF F7 F5 */ bl changePomColor__Q34Game3Pom3ObjFv -/* 80256060 00252FA0 88 1F 02 C0 */ lbz r0, 0x2c0(r31) -/* 80256064 00252FA4 28 00 00 00 */ cmplwi r0, 0 -/* 80256068 00252FA8 41 82 00 34 */ beq lbl_8025609C -/* 8025606C 00252FAC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80256070 00252FB0 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 80256074 00252FB4 41 82 00 50 */ beq lbl_802560C4 -/* 80256078 00252FB8 7F C3 F3 78 */ mr r3, r30 -/* 8025607C 00252FBC 7F E4 FB 78 */ mr r4, r31 -/* 80256080 00252FC0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256084 00252FC4 38 A0 00 05 */ li r5, 5 -/* 80256088 00252FC8 38 C0 00 00 */ li r6, 0 -/* 8025608C 00252FCC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256090 00252FD0 7D 89 03 A6 */ mtctr r12 -/* 80256094 00252FD4 4E 80 04 21 */ bctrl -/* 80256098 00252FD8 48 00 00 2C */ b lbl_802560C4 -lbl_8025609C: -/* 8025609C 00252FDC 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802560A0 00252FE0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802560A4 00252FE4 28 00 00 00 */ cmplwi r0, 0 -/* 802560A8 00252FE8 41 82 00 1C */ beq lbl_802560C4 -/* 802560AC 00252FEC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802560B0 00252FF0 28 00 00 02 */ cmplwi r0, 2 -/* 802560B4 00252FF4 40 82 00 10 */ bne lbl_802560C4 -/* 802560B8 00252FF8 38 00 00 01 */ li r0, 1 -/* 802560BC 00252FFC 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 802560C0 00253000 98 1F 02 C1 */ stb r0, 0x2c1(r31) -lbl_802560C4: -/* 802560C4 00253004 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802560C8 00253008 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802560CC 0025300C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802560D0 00253010 7C 08 03 A6 */ mtlr r0 -/* 802560D4 00253014 38 21 00 10 */ addi r1, r1, 0x10 -/* 802560D8 00253018 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Pom9StateOpenFPQ24Game9EnemyBase -cleanup__Q34Game3Pom9StateOpenFPQ24Game9EnemyBase: -/* 802560DC 0025301C 4E 80 00 20 */ blr - -.global init__Q34Game3Pom10StateCloseFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Pom10StateCloseFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802560E0 00253020 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802560E4 00253024 7C 08 02 A6 */ mflr r0 -/* 802560E8 00253028 7C 83 23 78 */ mr r3, r4 -/* 802560EC 0025302C C0 02 C6 C0 */ lfs f0, lbl_8051AA20@sda21(r2) -/* 802560F0 00253030 90 01 00 14 */ stw r0, 0x14(r1) -/* 802560F4 00253034 38 00 00 00 */ li r0, 0 -/* 802560F8 00253038 38 A0 00 00 */ li r5, 0 -/* 802560FC 0025303C 98 04 02 C0 */ stb r0, 0x2c0(r4) -/* 80256100 00253040 38 80 00 03 */ li r4, 3 -/* 80256104 00253044 98 03 02 C1 */ stb r0, 0x2c1(r3) -/* 80256108 00253048 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 8025610C 0025304C 4B EA EE F9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80256110 00253050 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80256114 00253054 7C 08 03 A6 */ mtlr r0 -/* 80256118 00253058 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025611C 0025305C 4E 80 00 20 */ blr - -.global exec__Q34Game3Pom10StateCloseFPQ24Game9EnemyBase -exec__Q34Game3Pom10StateCloseFPQ24Game9EnemyBase: -/* 80256120 00253060 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80256124 00253064 7C 08 02 A6 */ mflr r0 -/* 80256128 00253068 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025612C 0025306C 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80256130 00253070 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80256134 00253074 28 00 00 00 */ cmplwi r0, 0 -/* 80256138 00253078 41 82 00 50 */ beq lbl_80256188 -/* 8025613C 0025307C 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80256140 00253080 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80256144 00253084 40 82 00 44 */ bne lbl_80256188 -/* 80256148 00253088 80 04 01 F4 */ lwz r0, 0x1f4(r4) -/* 8025614C 0025308C 2C 00 00 00 */ cmpwi r0, 0 -/* 80256150 00253090 41 82 00 20 */ beq lbl_80256170 -/* 80256154 00253094 81 83 00 00 */ lwz r12, 0(r3) -/* 80256158 00253098 38 A0 00 04 */ li r5, 4 -/* 8025615C 0025309C 38 C0 00 00 */ li r6, 0 -/* 80256160 002530A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256164 002530A4 7D 89 03 A6 */ mtctr r12 -/* 80256168 002530A8 4E 80 04 21 */ bctrl -/* 8025616C 002530AC 48 00 00 1C */ b lbl_80256188 -lbl_80256170: -/* 80256170 002530B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80256174 002530B4 38 A0 00 00 */ li r5, 0 -/* 80256178 002530B8 38 C0 00 00 */ li r6, 0 -/* 8025617C 002530BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256180 002530C0 7D 89 03 A6 */ mtctr r12 -/* 80256184 002530C4 4E 80 04 21 */ bctrl -lbl_80256188: -/* 80256188 002530C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025618C 002530CC 7C 08 03 A6 */ mtlr r0 -/* 80256190 002530D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80256194 002530D4 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Pom10StateCloseFPQ24Game9EnemyBase -cleanup__Q34Game3Pom10StateCloseFPQ24Game9EnemyBase: -/* 80256198 002530D8 4E 80 00 20 */ blr - -.global init__Q34Game3Pom9StateShotFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Pom9StateShotFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025619C 002530DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802561A0 002530E0 7C 08 02 A6 */ mflr r0 -/* 802561A4 002530E4 7C 83 23 78 */ mr r3, r4 -/* 802561A8 002530E8 C0 02 C6 C0 */ lfs f0, lbl_8051AA20@sda21(r2) -/* 802561AC 002530EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802561B0 002530F0 38 00 00 00 */ li r0, 0 -/* 802561B4 002530F4 38 A0 00 00 */ li r5, 0 -/* 802561B8 002530F8 98 04 02 C0 */ stb r0, 0x2c0(r4) -/* 802561BC 002530FC 38 80 00 04 */ li r4, 4 -/* 802561C0 00253100 98 03 02 C1 */ stb r0, 0x2c1(r3) -/* 802561C4 00253104 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 802561C8 00253108 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 802561CC 0025310C 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 802561D0 00253110 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 802561D4 00253114 4B EA EE 31 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802561D8 00253118 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802561DC 0025311C 7C 08 03 A6 */ mtlr r0 -/* 802561E0 00253120 38 21 00 10 */ addi r1, r1, 0x10 -/* 802561E4 00253124 4E 80 00 20 */ blr - -.global exec__Q34Game3Pom9StateShotFPQ24Game9EnemyBase -exec__Q34Game3Pom9StateShotFPQ24Game9EnemyBase: -/* 802561E8 00253128 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802561EC 0025312C 7C 08 02 A6 */ mflr r0 -/* 802561F0 00253130 7C 86 23 78 */ mr r6, r4 -/* 802561F4 00253134 90 01 00 14 */ stw r0, 0x14(r1) -/* 802561F8 00253138 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 802561FC 0025313C 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80256200 00253140 28 00 00 00 */ cmplwi r0, 0 -/* 80256204 00253144 41 82 00 68 */ beq lbl_8025626C -/* 80256208 00253148 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8025620C 0025314C 28 00 00 02 */ cmplwi r0, 2 -/* 80256210 00253150 40 82 00 10 */ bne lbl_80256220 -/* 80256214 00253154 7C C3 33 78 */ mr r3, r6 -/* 80256218 00253158 4B FF F1 8D */ bl shotPikmin__Q34Game3Pom3ObjFv -/* 8025621C 0025315C 48 00 00 50 */ b lbl_8025626C -lbl_80256220: -/* 80256220 00253160 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80256224 00253164 40 82 00 48 */ bne lbl_8025626C -/* 80256228 00253168 80 A6 02 C4 */ lwz r5, 0x2c4(r6) -/* 8025622C 0025316C 80 06 02 C8 */ lwz r0, 0x2c8(r6) -/* 80256230 00253170 7C 05 00 00 */ cmpw r5, r0 -/* 80256234 00253174 40 80 00 20 */ bge lbl_80256254 -/* 80256238 00253178 81 83 00 00 */ lwz r12, 0(r3) -/* 8025623C 0025317C 38 A0 00 00 */ li r5, 0 -/* 80256240 00253180 38 C0 00 00 */ li r6, 0 -/* 80256244 00253184 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256248 00253188 7D 89 03 A6 */ mtctr r12 -/* 8025624C 0025318C 4E 80 04 21 */ bctrl -/* 80256250 00253190 48 00 00 1C */ b lbl_8025626C -lbl_80256254: -/* 80256254 00253194 81 83 00 00 */ lwz r12, 0(r3) -/* 80256258 00253198 38 A0 00 01 */ li r5, 1 -/* 8025625C 0025319C 38 C0 00 00 */ li r6, 0 -/* 80256260 002531A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256264 002531A4 7D 89 03 A6 */ mtctr r12 -/* 80256268 002531A8 4E 80 04 21 */ bctrl -lbl_8025626C: -/* 8025626C 002531AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80256270 002531B0 7C 08 03 A6 */ mtlr r0 -/* 80256274 002531B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80256278 002531B8 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Pom9StateShotFPQ24Game9EnemyBase -cleanup__Q34Game3Pom9StateShotFPQ24Game9EnemyBase: -/* 8025627C 002531BC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80256280 002531C0 60 00 00 40 */ ori r0, r0, 0x40 -/* 80256284 002531C4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80256288 002531C8 4E 80 00 20 */ blr - -.global init__Q34Game3Pom10StateSwingFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Pom10StateSwingFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025628C 002531CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80256290 002531D0 7C 08 02 A6 */ mflr r0 -/* 80256294 002531D4 C0 02 C6 C0 */ lfs f0, lbl_8051AA20@sda21(r2) -/* 80256298 002531D8 7C 83 23 78 */ mr r3, r4 -/* 8025629C 002531DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802562A0 002531E0 38 00 00 00 */ li r0, 0 -/* 802562A4 002531E4 38 A0 00 00 */ li r5, 0 -/* 802562A8 002531E8 98 04 02 C0 */ stb r0, 0x2c0(r4) -/* 802562AC 002531EC 38 80 00 05 */ li r4, 5 -/* 802562B0 002531F0 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 802562B4 002531F4 4B EA ED 51 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802562B8 002531F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802562BC 002531FC 7C 08 03 A6 */ mtlr r0 -/* 802562C0 00253200 38 21 00 10 */ addi r1, r1, 0x10 -/* 802562C4 00253204 4E 80 00 20 */ blr - -.global exec__Q34Game3Pom10StateSwingFPQ24Game9EnemyBase -exec__Q34Game3Pom10StateSwingFPQ24Game9EnemyBase: -/* 802562C8 00253208 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802562CC 0025320C 7C 08 02 A6 */ mflr r0 -/* 802562D0 00253210 90 01 00 14 */ stw r0, 0x14(r1) -/* 802562D4 00253214 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802562D8 00253218 7C 9F 23 78 */ mr r31, r4 -/* 802562DC 0025321C 93 C1 00 08 */ stw r30, 8(r1) -/* 802562E0 00253220 7C 7E 1B 78 */ mr r30, r3 -/* 802562E4 00253224 7F E3 FB 78 */ mr r3, r31 -/* 802562E8 00253228 4B FF F5 69 */ bl changePomColor__Q34Game3Pom3ObjFv -/* 802562EC 0025322C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802562F0 00253230 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 802562F4 00253234 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 802562F8 00253238 EC 01 00 2A */ fadds f0, f1, f0 -/* 802562FC 0025323C D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 80256300 00253240 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80256304 00253244 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 80256308 00253248 C0 03 08 94 */ lfs f0, 0x894(r3) -/* 8025630C 0025324C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80256310 00253250 41 81 00 14 */ bgt lbl_80256324 -/* 80256314 00253254 80 7F 02 C4 */ lwz r3, 0x2c4(r31) -/* 80256318 00253258 80 1F 02 C8 */ lwz r0, 0x2c8(r31) -/* 8025631C 0025325C 7C 03 00 00 */ cmpw r3, r0 -/* 80256320 00253260 41 80 00 28 */ blt lbl_80256348 -lbl_80256324: -/* 80256324 00253264 7F C3 F3 78 */ mr r3, r30 -/* 80256328 00253268 7F E4 FB 78 */ mr r4, r31 -/* 8025632C 0025326C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256330 00253270 38 A0 00 03 */ li r5, 3 -/* 80256334 00253274 38 C0 00 00 */ li r6, 0 -/* 80256338 00253278 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025633C 0025327C 7D 89 03 A6 */ mtctr r12 -/* 80256340 00253280 4E 80 04 21 */ bctrl -/* 80256344 00253284 48 00 00 64 */ b lbl_802563A8 -lbl_80256348: -/* 80256348 00253288 88 1F 02 C0 */ lbz r0, 0x2c0(r31) -/* 8025634C 0025328C 28 00 00 00 */ cmplwi r0, 0 -/* 80256350 00253290 41 82 00 34 */ beq lbl_80256384 -/* 80256354 00253294 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80256358 00253298 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 8025635C 0025329C 41 82 00 4C */ beq lbl_802563A8 -/* 80256360 002532A0 7F C3 F3 78 */ mr r3, r30 -/* 80256364 002532A4 7F E4 FB 78 */ mr r4, r31 -/* 80256368 002532A8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025636C 002532AC 38 A0 00 05 */ li r5, 5 -/* 80256370 002532B0 38 C0 00 00 */ li r6, 0 -/* 80256374 002532B4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256378 002532B8 7D 89 03 A6 */ mtctr r12 -/* 8025637C 002532BC 4E 80 04 21 */ bctrl -/* 80256380 002532C0 48 00 00 28 */ b lbl_802563A8 -lbl_80256384: -/* 80256384 002532C4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80256388 002532C8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025638C 002532CC 28 00 00 00 */ cmplwi r0, 0 -/* 80256390 002532D0 41 82 00 18 */ beq lbl_802563A8 -/* 80256394 002532D4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80256398 002532D8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025639C 002532DC 40 82 00 0C */ bne lbl_802563A8 -/* 802563A0 002532E0 38 00 00 01 */ li r0, 1 -/* 802563A4 002532E4 98 1F 02 C0 */ stb r0, 0x2c0(r31) -lbl_802563A8: -/* 802563A8 002532E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802563AC 002532EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802563B0 002532F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802563B4 002532F4 7C 08 03 A6 */ mtlr r0 -/* 802563B8 002532F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802563BC 002532FC 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Pom10StateSwingFPQ24Game9EnemyBase -cleanup__Q34Game3Pom10StateSwingFPQ24Game9EnemyBase: -/* 802563C0 00253300 4E 80 00 20 */ blr - -.global init__Q34Game4Frog3FSMFPQ24Game9EnemyBase -init__Q34Game4Frog3FSMFPQ24Game9EnemyBase: -/* 802563C4 00253304 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802563C8 00253308 7C 08 02 A6 */ mflr r0 -/* 802563CC 0025330C 38 80 00 0A */ li r4, 0xa -/* 802563D0 00253310 90 01 00 14 */ stw r0, 0x14(r1) -/* 802563D4 00253314 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802563D8 00253318 7C 7F 1B 78 */ mr r31, r3 -/* 802563DC 0025331C 4B ED A4 89 */ bl create__Q24Game17EnemyStateMachineFi -/* 802563E0 00253320 38 60 00 10 */ li r3, 0x10 -/* 802563E4 00253324 4B DC DA C1 */ bl __nw__FUl -/* 802563E8 00253328 7C 64 1B 79 */ or. r4, r3, r3 -/* 802563EC 0025332C 41 82 00 3C */ beq lbl_80256428 -/* 802563F0 00253330 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802563F4 00253334 3C A0 80 4C */ lis r5, __vt__Q34Game4Frog5State@ha -/* 802563F8 00253338 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802563FC 0025333C 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog9StateDead@ha -/* 80256400 00253340 90 04 00 00 */ stw r0, 0(r4) -/* 80256404 00253344 38 E0 00 00 */ li r7, 0 -/* 80256408 00253348 38 C5 22 F0 */ addi r6, r5, __vt__Q34Game4Frog5State@l -/* 8025640C 0025334C 38 A2 C6 C8 */ addi r5, r2, lbl_8051AA28@sda21 -/* 80256410 00253350 90 E4 00 04 */ stw r7, 4(r4) -/* 80256414 00253354 38 03 22 CC */ addi r0, r3, __vt__Q34Game4Frog9StateDead@l -/* 80256418 00253358 90 E4 00 08 */ stw r7, 8(r4) -/* 8025641C 0025335C 90 C4 00 00 */ stw r6, 0(r4) -/* 80256420 00253360 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80256424 00253364 90 04 00 00 */ stw r0, 0(r4) -lbl_80256428: -/* 80256428 00253368 7F E3 FB 78 */ mr r3, r31 -/* 8025642C 0025336C 4B ED A4 DD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80256430 00253370 38 60 00 10 */ li r3, 0x10 -/* 80256434 00253374 4B DC DA 71 */ bl __nw__FUl -/* 80256438 00253378 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025643C 0025337C 41 82 00 40 */ beq lbl_8025647C -/* 80256440 00253380 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80256444 00253384 3C A0 80 4C */ lis r5, __vt__Q34Game4Frog5State@ha -/* 80256448 00253388 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025644C 0025338C 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog9StateWait@ha -/* 80256450 00253390 90 04 00 00 */ stw r0, 0(r4) -/* 80256454 00253394 38 00 00 01 */ li r0, 1 -/* 80256458 00253398 38 E0 00 00 */ li r7, 0 -/* 8025645C 0025339C 38 C5 22 F0 */ addi r6, r5, __vt__Q34Game4Frog5State@l -/* 80256460 002533A0 90 04 00 04 */ stw r0, 4(r4) -/* 80256464 002533A4 38 A2 C6 D0 */ addi r5, r2, lbl_8051AA30@sda21 -/* 80256468 002533A8 38 03 22 A8 */ addi r0, r3, __vt__Q34Game4Frog9StateWait@l -/* 8025646C 002533AC 90 E4 00 08 */ stw r7, 8(r4) -/* 80256470 002533B0 90 C4 00 00 */ stw r6, 0(r4) -/* 80256474 002533B4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80256478 002533B8 90 04 00 00 */ stw r0, 0(r4) -lbl_8025647C: -/* 8025647C 002533BC 7F E3 FB 78 */ mr r3, r31 -/* 80256480 002533C0 4B ED A4 89 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80256484 002533C4 38 60 00 10 */ li r3, 0x10 -/* 80256488 002533C8 4B DC DA 1D */ bl __nw__FUl -/* 8025648C 002533CC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80256490 002533D0 41 82 00 40 */ beq lbl_802564D0 -/* 80256494 002533D4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80256498 002533D8 3C A0 80 4C */ lis r5, __vt__Q34Game4Frog5State@ha -/* 8025649C 002533DC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802564A0 002533E0 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog9StateTurn@ha -/* 802564A4 002533E4 90 04 00 00 */ stw r0, 0(r4) -/* 802564A8 002533E8 38 00 00 02 */ li r0, 2 -/* 802564AC 002533EC 38 E0 00 00 */ li r7, 0 -/* 802564B0 002533F0 38 C5 22 F0 */ addi r6, r5, __vt__Q34Game4Frog5State@l -/* 802564B4 002533F4 90 04 00 04 */ stw r0, 4(r4) -/* 802564B8 002533F8 38 A2 C6 D8 */ addi r5, r2, lbl_8051AA38@sda21 -/* 802564BC 002533FC 38 03 22 84 */ addi r0, r3, __vt__Q34Game4Frog9StateTurn@l -/* 802564C0 00253400 90 E4 00 08 */ stw r7, 8(r4) -/* 802564C4 00253404 90 C4 00 00 */ stw r6, 0(r4) -/* 802564C8 00253408 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802564CC 0025340C 90 04 00 00 */ stw r0, 0(r4) -lbl_802564D0: -/* 802564D0 00253410 7F E3 FB 78 */ mr r3, r31 -/* 802564D4 00253414 4B ED A4 35 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802564D8 00253418 38 60 00 10 */ li r3, 0x10 -/* 802564DC 0025341C 4B DC D9 C9 */ bl __nw__FUl -/* 802564E0 00253420 7C 64 1B 79 */ or. r4, r3, r3 -/* 802564E4 00253424 41 82 00 40 */ beq lbl_80256524 -/* 802564E8 00253428 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802564EC 0025342C 3C A0 80 4C */ lis r5, __vt__Q34Game4Frog5State@ha -/* 802564F0 00253430 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802564F4 00253434 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog9StateJump@ha -/* 802564F8 00253438 90 04 00 00 */ stw r0, 0(r4) -/* 802564FC 0025343C 38 00 00 03 */ li r0, 3 -/* 80256500 00253440 38 E0 00 00 */ li r7, 0 -/* 80256504 00253444 38 C5 22 F0 */ addi r6, r5, __vt__Q34Game4Frog5State@l -/* 80256508 00253448 90 04 00 04 */ stw r0, 4(r4) -/* 8025650C 0025344C 38 A2 C6 E0 */ addi r5, r2, lbl_8051AA40@sda21 -/* 80256510 00253450 38 03 22 60 */ addi r0, r3, __vt__Q34Game4Frog9StateJump@l -/* 80256514 00253454 90 E4 00 08 */ stw r7, 8(r4) -/* 80256518 00253458 90 C4 00 00 */ stw r6, 0(r4) -/* 8025651C 0025345C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80256520 00253460 90 04 00 00 */ stw r0, 0(r4) -lbl_80256524: -/* 80256524 00253464 7F E3 FB 78 */ mr r3, r31 -/* 80256528 00253468 4B ED A3 E1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025652C 0025346C 38 60 00 10 */ li r3, 0x10 -/* 80256530 00253470 4B DC D9 75 */ bl __nw__FUl -/* 80256534 00253474 7C 64 1B 79 */ or. r4, r3, r3 -/* 80256538 00253478 41 82 00 44 */ beq lbl_8025657C -/* 8025653C 0025347C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80256540 00253480 3C C0 80 4C */ lis r6, __vt__Q34Game4Frog5State@ha -/* 80256544 00253484 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80256548 00253488 3C A0 80 48 */ lis r5, lbl_80484D08@ha -/* 8025654C 0025348C 90 04 00 00 */ stw r0, 0(r4) -/* 80256550 00253490 38 00 00 04 */ li r0, 4 -/* 80256554 00253494 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog13StateJumpWait@ha -/* 80256558 00253498 38 E0 00 00 */ li r7, 0 -/* 8025655C 0025349C 90 04 00 04 */ stw r0, 4(r4) -/* 80256560 002534A0 38 C6 22 F0 */ addi r6, r6, __vt__Q34Game4Frog5State@l -/* 80256564 002534A4 38 A5 4D 08 */ addi r5, r5, lbl_80484D08@l -/* 80256568 002534A8 38 03 22 3C */ addi r0, r3, __vt__Q34Game4Frog13StateJumpWait@l -/* 8025656C 002534AC 90 E4 00 08 */ stw r7, 8(r4) -/* 80256570 002534B0 90 C4 00 00 */ stw r6, 0(r4) -/* 80256574 002534B4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80256578 002534B8 90 04 00 00 */ stw r0, 0(r4) -lbl_8025657C: -/* 8025657C 002534BC 7F E3 FB 78 */ mr r3, r31 -/* 80256580 002534C0 4B ED A3 89 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80256584 002534C4 38 60 00 10 */ li r3, 0x10 -/* 80256588 002534C8 4B DC D9 1D */ bl __nw__FUl -/* 8025658C 002534CC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80256590 002534D0 41 82 00 40 */ beq lbl_802565D0 -/* 80256594 002534D4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80256598 002534D8 3C A0 80 4C */ lis r5, __vt__Q34Game4Frog5State@ha -/* 8025659C 002534DC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802565A0 002534E0 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog9StateFall@ha -/* 802565A4 002534E4 90 04 00 00 */ stw r0, 0(r4) -/* 802565A8 002534E8 38 00 00 05 */ li r0, 5 -/* 802565AC 002534EC 38 E0 00 00 */ li r7, 0 -/* 802565B0 002534F0 38 C5 22 F0 */ addi r6, r5, __vt__Q34Game4Frog5State@l -/* 802565B4 002534F4 90 04 00 04 */ stw r0, 4(r4) -/* 802565B8 002534F8 38 A2 C6 E8 */ addi r5, r2, lbl_8051AA48@sda21 -/* 802565BC 002534FC 38 03 22 18 */ addi r0, r3, __vt__Q34Game4Frog9StateFall@l -/* 802565C0 00253500 90 E4 00 08 */ stw r7, 8(r4) -/* 802565C4 00253504 90 C4 00 00 */ stw r6, 0(r4) -/* 802565C8 00253508 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802565CC 0025350C 90 04 00 00 */ stw r0, 0(r4) -lbl_802565D0: -/* 802565D0 00253510 7F E3 FB 78 */ mr r3, r31 -/* 802565D4 00253514 4B ED A3 35 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802565D8 00253518 38 60 00 10 */ li r3, 0x10 -/* 802565DC 0025351C 4B DC D8 C9 */ bl __nw__FUl -/* 802565E0 00253520 7C 64 1B 79 */ or. r4, r3, r3 -/* 802565E4 00253524 41 82 00 40 */ beq lbl_80256624 -/* 802565E8 00253528 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802565EC 0025352C 3C A0 80 4C */ lis r5, __vt__Q34Game4Frog5State@ha -/* 802565F0 00253530 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802565F4 00253534 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog11StateAttack@ha -/* 802565F8 00253538 90 04 00 00 */ stw r0, 0(r4) -/* 802565FC 0025353C 38 00 00 06 */ li r0, 6 -/* 80256600 00253540 38 E0 00 00 */ li r7, 0 -/* 80256604 00253544 38 C5 22 F0 */ addi r6, r5, __vt__Q34Game4Frog5State@l -/* 80256608 00253548 90 04 00 04 */ stw r0, 4(r4) -/* 8025660C 0025354C 38 A2 C6 F0 */ addi r5, r2, lbl_8051AA50@sda21 -/* 80256610 00253550 38 03 21 F4 */ addi r0, r3, __vt__Q34Game4Frog11StateAttack@l -/* 80256614 00253554 90 E4 00 08 */ stw r7, 8(r4) -/* 80256618 00253558 90 C4 00 00 */ stw r6, 0(r4) -/* 8025661C 0025355C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80256620 00253560 90 04 00 00 */ stw r0, 0(r4) -lbl_80256624: -/* 80256624 00253564 7F E3 FB 78 */ mr r3, r31 -/* 80256628 00253568 4B ED A2 E1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025662C 0025356C 38 60 00 10 */ li r3, 0x10 -/* 80256630 00253570 4B DC D8 75 */ bl __nw__FUl -/* 80256634 00253574 7C 64 1B 79 */ or. r4, r3, r3 -/* 80256638 00253578 41 82 00 40 */ beq lbl_80256678 -/* 8025663C 0025357C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80256640 00253580 3C A0 80 4C */ lis r5, __vt__Q34Game4Frog5State@ha -/* 80256644 00253584 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80256648 00253588 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog9StateFail@ha -/* 8025664C 0025358C 90 04 00 00 */ stw r0, 0(r4) -/* 80256650 00253590 38 00 00 07 */ li r0, 7 -/* 80256654 00253594 38 E0 00 00 */ li r7, 0 -/* 80256658 00253598 38 C5 22 F0 */ addi r6, r5, __vt__Q34Game4Frog5State@l -/* 8025665C 0025359C 90 04 00 04 */ stw r0, 4(r4) -/* 80256660 002535A0 38 A2 C6 F8 */ addi r5, r2, lbl_8051AA58@sda21 -/* 80256664 002535A4 38 03 21 D0 */ addi r0, r3, __vt__Q34Game4Frog9StateFail@l -/* 80256668 002535A8 90 E4 00 08 */ stw r7, 8(r4) -/* 8025666C 002535AC 90 C4 00 00 */ stw r6, 0(r4) -/* 80256670 002535B0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80256674 002535B4 90 04 00 00 */ stw r0, 0(r4) -lbl_80256678: -/* 80256678 002535B8 7F E3 FB 78 */ mr r3, r31 -/* 8025667C 002535BC 4B ED A2 8D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80256680 002535C0 38 60 00 10 */ li r3, 0x10 -/* 80256684 002535C4 4B DC D8 21 */ bl __nw__FUl -/* 80256688 002535C8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025668C 002535CC 41 82 00 44 */ beq lbl_802566D0 -/* 80256690 002535D0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80256694 002535D4 3C C0 80 4C */ lis r6, __vt__Q34Game4Frog5State@ha -/* 80256698 002535D8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025669C 002535DC 3C A0 80 48 */ lis r5, lbl_80484D14@ha -/* 802566A0 002535E0 90 04 00 00 */ stw r0, 0(r4) -/* 802566A4 002535E4 38 00 00 08 */ li r0, 8 -/* 802566A8 002535E8 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog15StateTurnToHome@ha -/* 802566AC 002535EC 38 E0 00 00 */ li r7, 0 -/* 802566B0 002535F0 90 04 00 04 */ stw r0, 4(r4) -/* 802566B4 002535F4 38 C6 22 F0 */ addi r6, r6, __vt__Q34Game4Frog5State@l -/* 802566B8 002535F8 38 A5 4D 14 */ addi r5, r5, lbl_80484D14@l -/* 802566BC 002535FC 38 03 21 AC */ addi r0, r3, __vt__Q34Game4Frog15StateTurnToHome@l -/* 802566C0 00253600 90 E4 00 08 */ stw r7, 8(r4) -/* 802566C4 00253604 90 C4 00 00 */ stw r6, 0(r4) -/* 802566C8 00253608 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802566CC 0025360C 90 04 00 00 */ stw r0, 0(r4) -lbl_802566D0: -/* 802566D0 00253610 7F E3 FB 78 */ mr r3, r31 -/* 802566D4 00253614 4B ED A2 35 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802566D8 00253618 38 60 00 10 */ li r3, 0x10 -/* 802566DC 0025361C 4B DC D7 C9 */ bl __nw__FUl -/* 802566E0 00253620 7C 64 1B 79 */ or. r4, r3, r3 -/* 802566E4 00253624 41 82 00 40 */ beq lbl_80256724 -/* 802566E8 00253628 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802566EC 0025362C 3C A0 80 4C */ lis r5, __vt__Q34Game4Frog5State@ha -/* 802566F0 00253630 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802566F4 00253634 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog11StateGoHome@ha -/* 802566F8 00253638 90 04 00 00 */ stw r0, 0(r4) -/* 802566FC 0025363C 38 00 00 09 */ li r0, 9 -/* 80256700 00253640 38 E0 00 00 */ li r7, 0 -/* 80256704 00253644 38 C5 22 F0 */ addi r6, r5, __vt__Q34Game4Frog5State@l -/* 80256708 00253648 90 04 00 04 */ stw r0, 4(r4) -/* 8025670C 0025364C 38 A2 C7 00 */ addi r5, r2, lbl_8051AA60@sda21 -/* 80256710 00253650 38 03 21 88 */ addi r0, r3, __vt__Q34Game4Frog11StateGoHome@l -/* 80256714 00253654 90 E4 00 08 */ stw r7, 8(r4) -/* 80256718 00253658 90 C4 00 00 */ stw r6, 0(r4) -/* 8025671C 0025365C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80256720 00253660 90 04 00 00 */ stw r0, 0(r4) -lbl_80256724: -/* 80256724 00253664 7F E3 FB 78 */ mr r3, r31 -/* 80256728 00253668 4B ED A1 E1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025672C 0025366C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80256730 00253670 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80256734 00253674 7C 08 03 A6 */ mtlr r0 -/* 80256738 00253678 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025673C 0025367C 4E 80 00 20 */ blr - -.global init__Q34Game4Frog9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80256740 00253680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80256744 00253684 7C 08 02 A6 */ mflr r0 -/* 80256748 00253688 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 8025674C 0025368C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80256750 00253690 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80256754 00253694 7C 9F 23 78 */ mr r31, r4 -/* 80256758 00253698 7F E3 FB 78 */ mr r3, r31 -/* 8025675C 0025369C 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80256760 002536A0 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80256764 002536A4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80256768 002536A8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025676C 002536AC 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80256770 002536B0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80256774 002536B4 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80256778 002536B8 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 8025677C 002536BC D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80256780 002536C0 4B EA EF A1 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80256784 002536C4 7F E3 FB 78 */ mr r3, r31 -/* 80256788 002536C8 38 80 00 00 */ li r4, 0 -/* 8025678C 002536CC 38 A0 00 00 */ li r5, 0 -/* 80256790 002536D0 4B EA E8 75 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80256794 002536D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80256798 002536D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025679C 002536DC 7C 08 03 A6 */ mtlr r0 -/* 802567A0 002536E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802567A4 002536E4 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog9StateDeadFPQ24Game9EnemyBase -exec__Q34Game4Frog9StateDeadFPQ24Game9EnemyBase: -/* 802567A8 002536E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802567AC 002536EC 7C 08 02 A6 */ mflr r0 -/* 802567B0 002536F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802567B4 002536F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802567B8 002536F8 7C 9F 23 78 */ mr r31, r4 -/* 802567BC 002536FC 80 64 01 88 */ lwz r3, 0x188(r4) -/* 802567C0 00253700 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802567C4 00253704 28 00 00 00 */ cmplwi r0, 0 -/* 802567C8 00253708 41 82 00 44 */ beq lbl_8025680C -/* 802567CC 0025370C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802567D0 00253710 28 00 00 02 */ cmplwi r0, 2 -/* 802567D4 00253714 40 82 00 24 */ bne lbl_802567F8 -/* 802567D8 00253718 7F E3 FB 78 */ mr r3, r31 -/* 802567DC 0025371C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802567E0 00253720 81 8C 02 EC */ lwz r12, 0x2ec(r12) -/* 802567E4 00253724 7D 89 03 A6 */ mtctr r12 -/* 802567E8 00253728 4E 80 04 21 */ bctrl -/* 802567EC 0025372C 7F E3 FB 78 */ mr r3, r31 -/* 802567F0 00253730 48 00 2D 1D */ bl createDownEffect__Q34Game4Frog3ObjFf -/* 802567F4 00253734 48 00 00 18 */ b lbl_8025680C -lbl_802567F8: -/* 802567F8 00253738 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802567FC 0025373C 40 82 00 10 */ bne lbl_8025680C -/* 80256800 00253740 7F E3 FB 78 */ mr r3, r31 -/* 80256804 00253744 38 80 00 00 */ li r4, 0 -/* 80256808 00253748 4B EE 48 E9 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_8025680C: -/* 8025680C 0025374C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80256810 00253750 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80256814 00253754 7C 08 03 A6 */ mtlr r0 -/* 80256818 00253758 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025681C 0025375C 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game4Frog3ObjFv -getDownSmokeScale__Q34Game4Frog3ObjFv: -/* 80256820 00253760 C0 22 C7 0C */ lfs f1, lbl_8051AA6C@sda21(r2) -/* 80256824 00253764 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game4Frog9StateDeadFPQ24Game9EnemyBase: -/* 80256828 00253768 4E 80 00 20 */ blr - -.global init__Q34Game4Frog9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025682C 0025376C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80256830 00253770 7C 08 02 A6 */ mflr r0 -/* 80256834 00253774 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80256838 00253778 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025683C 0025377C 38 00 00 00 */ li r0, 0 -/* 80256840 00253780 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80256844 00253784 7C 9F 23 78 */ mr r31, r4 -/* 80256848 00253788 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 8025684C 0025378C D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80256850 00253790 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80256854 00253794 90 04 02 30 */ stw r0, 0x230(r4) -/* 80256858 00253798 4B E7 2D 49 */ bl rand -/* 8025685C 0025379C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80256860 002537A0 3C 00 43 30 */ lis r0, 0x4330 -/* 80256864 002537A4 90 61 00 0C */ stw r3, 0xc(r1) -/* 80256868 002537A8 C8 62 C7 20 */ lfd f3, lbl_8051AA80@sda21(r2) -/* 8025686C 002537AC 90 01 00 08 */ stw r0, 8(r1) -/* 80256870 002537B0 C0 42 C7 10 */ lfs f2, lbl_8051AA70@sda21(r2) -/* 80256874 002537B4 C8 01 00 08 */ lfd f0, 8(r1) -/* 80256878 002537B8 C0 22 C7 14 */ lfs f1, lbl_8051AA74@sda21(r2) -/* 8025687C 002537BC EC 60 18 28 */ fsubs f3, f0, f3 -/* 80256880 002537C0 C0 02 C7 18 */ lfs f0, lbl_8051AA78@sda21(r2) -/* 80256884 002537C4 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80256888 002537C8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8025688C 002537CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80256890 002537D0 40 80 00 18 */ bge lbl_802568A8 -/* 80256894 002537D4 7F E3 FB 78 */ mr r3, r31 -/* 80256898 002537D8 38 80 00 02 */ li r4, 2 -/* 8025689C 002537DC 38 A0 00 00 */ li r5, 0 -/* 802568A0 002537E0 4B EA E7 65 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802568A4 002537E4 48 00 00 14 */ b lbl_802568B8 -lbl_802568A8: -/* 802568A8 002537E8 7F E3 FB 78 */ mr r3, r31 -/* 802568AC 002537EC 38 80 00 01 */ li r4, 1 -/* 802568B0 002537F0 38 A0 00 00 */ li r5, 0 -/* 802568B4 002537F4 4B EA E7 51 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -lbl_802568B8: -/* 802568B8 002537F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802568BC 002537FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802568C0 00253800 7C 08 03 A6 */ mtlr r0 -/* 802568C4 00253804 38 21 00 20 */ addi r1, r1, 0x20 -/* 802568C8 00253808 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog9StateWaitFPQ24Game9EnemyBase -exec__Q34Game4Frog9StateWaitFPQ24Game9EnemyBase: -/* 802568CC 0025380C 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 802568D0 00253810 7C 08 02 A6 */ mflr r0 -/* 802568D4 00253814 90 01 01 14 */ stw r0, 0x114(r1) -/* 802568D8 00253818 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 802568DC 0025381C F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 802568E0 00253820 DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 802568E4 00253824 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 802568E8 00253828 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 802568EC 0025382C F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 802568F0 00253830 DB 81 00 D0 */ stfd f28, 0xd0(r1) -/* 802568F4 00253834 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 -/* 802568F8 00253838 DB 61 00 C0 */ stfd f27, 0xc0(r1) -/* 802568FC 0025383C F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 -/* 80256900 00253840 DB 41 00 B0 */ stfd f26, 0xb0(r1) -/* 80256904 00253844 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 -/* 80256908 00253848 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8025690C 0025384C 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 80256910 00253850 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 80256914 00253854 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 80256918 00253858 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 8025691C 0025385C 7C 9E 23 78 */ mr r30, r4 -/* 80256920 00253860 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80256924 00253864 7C 7C 1B 78 */ mr r28, r3 -/* 80256928 00253868 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025692C 0025386C 4C 40 13 82 */ cror 2, 0, 2 -/* 80256930 00253870 40 82 00 20 */ bne lbl_80256950 -/* 80256934 00253874 81 83 00 00 */ lwz r12, 0(r3) -/* 80256938 00253878 38 A0 00 00 */ li r5, 0 -/* 8025693C 0025387C 38 C0 00 00 */ li r6, 0 -/* 80256940 00253880 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256944 00253884 7D 89 03 A6 */ mtctr r12 -/* 80256948 00253888 4E 80 04 21 */ bctrl -/* 8025694C 0025388C 48 00 03 70 */ b lbl_80256CBC -lbl_80256950: -/* 80256950 00253890 7F C3 F3 78 */ mr r3, r30 -/* 80256954 00253894 38 80 00 00 */ li r4, 0 -/* 80256958 00253898 4B EB DD 01 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 8025695C 0025389C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80256960 002538A0 41 82 00 6C */ beq lbl_802569CC -/* 80256964 002538A4 7F C4 F3 78 */ mr r4, r30 -/* 80256968 002538A8 38 61 00 8C */ addi r3, r1, 0x8c -/* 8025696C 002538AC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256970 002538B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256974 002538B4 7D 89 03 A6 */ mtctr r12 -/* 80256978 002538B8 4E 80 04 21 */ bctrl -/* 8025697C 002538BC C0 21 00 90 */ lfs f1, 0x90(r1) -/* 80256980 002538C0 7F C3 F3 78 */ mr r3, r30 -/* 80256984 002538C4 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 80256988 002538C8 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 8025698C 002538CC D0 1E 02 C8 */ stfs f0, 0x2c8(r30) -/* 80256990 002538D0 D0 3E 02 CC */ stfs f1, 0x2cc(r30) -/* 80256994 002538D4 D0 5E 02 D0 */ stfs f2, 0x2d0(r30) -/* 80256998 002538D8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025699C 002538DC 81 8C 03 00 */ lwz r12, 0x300(r12) -/* 802569A0 002538E0 7D 89 03 A6 */ mtctr r12 -/* 802569A4 002538E4 4E 80 04 21 */ bctrl -/* 802569A8 002538E8 7F 83 E3 78 */ mr r3, r28 -/* 802569AC 002538EC 7F C4 F3 78 */ mr r4, r30 -/* 802569B0 002538F0 81 9C 00 00 */ lwz r12, 0(r28) -/* 802569B4 002538F4 38 A0 00 03 */ li r5, 3 -/* 802569B8 002538F8 38 C0 00 00 */ li r6, 0 -/* 802569BC 002538FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802569C0 00253900 7D 89 03 A6 */ mtctr r12 -/* 802569C4 00253904 4E 80 04 21 */ bctrl -/* 802569C8 00253908 48 00 02 F4 */ b lbl_80256CBC -lbl_802569CC: -/* 802569CC 0025390C 80 7E 01 88 */ lwz r3, 0x188(r30) -/* 802569D0 00253910 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802569D4 00253914 28 00 00 00 */ cmplwi r0, 0 -/* 802569D8 00253918 41 82 02 E4 */ beq lbl_80256CBC -/* 802569DC 0025391C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802569E0 00253920 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802569E4 00253924 40 82 02 D8 */ bne lbl_80256CBC -/* 802569E8 00253928 7F C3 F3 78 */ mr r3, r30 -/* 802569EC 0025392C 48 00 25 DD */ bl getViewAngle__Q34Game4Frog3ObjFv -/* 802569F0 00253930 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 802569F4 00253934 7F C3 F3 78 */ mr r3, r30 -/* 802569F8 00253938 38 80 00 00 */ li r4, 0 -/* 802569FC 0025393C 38 A0 00 00 */ li r5, 0 -/* 80256A00 00253940 C0 46 03 D4 */ lfs f2, 0x3d4(r6) -/* 80256A04 00253944 38 C0 00 00 */ li r6, 0 -/* 80256A08 00253948 4B EB C6 49 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80256A0C 0025394C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80256A10 00253950 41 82 02 8C */ beq lbl_80256C9C -/* 80256A14 00253954 93 BE 02 30 */ stw r29, 0x230(r30) -/* 80256A18 00253958 7F A4 EB 78 */ mr r4, r29 -/* 80256A1C 0025395C C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80256A20 00253960 38 61 00 68 */ addi r3, r1, 0x68 -/* 80256A24 00253964 D0 1E 02 C4 */ stfs f0, 0x2c4(r30) -/* 80256A28 00253968 81 9D 00 00 */ lwz r12, 0(r29) -/* 80256A2C 0025396C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256A30 00253970 7D 89 03 A6 */ mtctr r12 -/* 80256A34 00253974 4E 80 04 21 */ bctrl -/* 80256A38 00253978 7F C4 F3 78 */ mr r4, r30 -/* 80256A3C 0025397C C0 41 00 68 */ lfs f2, 0x68(r1) -/* 80256A40 00253980 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256A44 00253984 38 61 00 74 */ addi r3, r1, 0x74 -/* 80256A48 00253988 C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 80256A4C 0025398C C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80256A50 00253990 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256A54 00253994 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80256A58 00253998 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80256A5C 0025399C D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80256A60 002539A0 7D 89 03 A6 */ mtctr r12 -/* 80256A64 002539A4 4E 80 04 21 */ bctrl -/* 80256A68 002539A8 C0 A1 00 74 */ lfs f5, 0x74(r1) -/* 80256A6C 002539AC 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80256A70 002539B0 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 80256A74 002539B4 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80256A78 002539B8 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80256A7C 002539BC C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80256A80 002539C0 C0 81 00 78 */ lfs f4, 0x78(r1) -/* 80256A84 002539C4 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80256A88 002539C8 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80256A8C 002539CC D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 80256A90 002539D0 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 80256A94 002539D4 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 80256A98 002539D8 4B DD E6 71 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80256A9C 002539DC 48 1B B1 35 */ bl roundAng__Ff -/* 80256AA0 002539E0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256AA4 002539E4 FF 40 08 90 */ fmr f26, f1 -/* 80256AA8 002539E8 7F C3 F3 78 */ mr r3, r30 -/* 80256AAC 002539EC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80256AB0 002539F0 7D 89 03 A6 */ mtctr r12 -/* 80256AB4 002539F4 4E 80 04 21 */ bctrl -/* 80256AB8 002539F8 FC 40 08 90 */ fmr f2, f1 -/* 80256ABC 002539FC FC 20 D0 90 */ fmr f1, f26 -/* 80256AC0 00253A00 48 1B B1 3D */ bl angDist__Fff -/* 80256AC4 00253A04 7F C4 F3 78 */ mr r4, r30 -/* 80256AC8 00253A08 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 80256ACC 00253A0C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256AD0 00253A10 FF C0 08 90 */ fmr f30, f1 -/* 80256AD4 00253A14 38 61 00 14 */ addi r3, r1, 0x14 -/* 80256AD8 00253A18 C3 85 05 8C */ lfs f28, 0x58c(r5) -/* 80256ADC 00253A1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256AE0 00253A20 3B E0 00 00 */ li r31, 0 -/* 80256AE4 00253A24 C3 A5 05 64 */ lfs f29, 0x564(r5) -/* 80256AE8 00253A28 7D 89 03 A6 */ mtctr r12 -/* 80256AEC 00253A2C 4E 80 04 21 */ bctrl -/* 80256AF0 00253A30 7F A4 EB 78 */ mr r4, r29 -/* 80256AF4 00253A34 38 61 00 08 */ addi r3, r1, 8 -/* 80256AF8 00253A38 81 9D 00 00 */ lwz r12, 0(r29) -/* 80256AFC 00253A3C C3 E1 00 14 */ lfs f31, 0x14(r1) -/* 80256B00 00253A40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256B04 00253A44 7D 89 03 A6 */ mtctr r12 -/* 80256B08 00253A48 4E 80 04 21 */ bctrl -/* 80256B0C 00253A4C 7F C4 F3 78 */ mr r4, r30 -/* 80256B10 00253A50 C0 01 00 08 */ lfs f0, 8(r1) -/* 80256B14 00253A54 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256B18 00253A58 38 61 00 2C */ addi r3, r1, 0x2c -/* 80256B1C 00253A5C EF 40 F8 28 */ fsubs f26, f0, f31 -/* 80256B20 00253A60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256B24 00253A64 7D 89 03 A6 */ mtctr r12 -/* 80256B28 00253A68 4E 80 04 21 */ bctrl -/* 80256B2C 00253A6C 7F A4 EB 78 */ mr r4, r29 -/* 80256B30 00253A70 38 61 00 20 */ addi r3, r1, 0x20 -/* 80256B34 00253A74 81 9D 00 00 */ lwz r12, 0(r29) -/* 80256B38 00253A78 C3 E1 00 30 */ lfs f31, 0x30(r1) -/* 80256B3C 00253A7C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256B40 00253A80 7D 89 03 A6 */ mtctr r12 -/* 80256B44 00253A84 4E 80 04 21 */ bctrl -/* 80256B48 00253A88 7F C4 F3 78 */ mr r4, r30 -/* 80256B4C 00253A8C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80256B50 00253A90 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256B54 00253A94 38 61 00 44 */ addi r3, r1, 0x44 -/* 80256B58 00253A98 EF 60 F8 28 */ fsubs f27, f0, f31 -/* 80256B5C 00253A9C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256B60 00253AA0 7D 89 03 A6 */ mtctr r12 -/* 80256B64 00253AA4 4E 80 04 21 */ bctrl -/* 80256B68 00253AA8 7F A4 EB 78 */ mr r4, r29 -/* 80256B6C 00253AAC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80256B70 00253AB0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80256B74 00253AB4 C3 E1 00 4C */ lfs f31, 0x4c(r1) -/* 80256B78 00253AB8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256B7C 00253ABC 7D 89 03 A6 */ mtctr r12 -/* 80256B80 00253AC0 4E 80 04 21 */ bctrl -/* 80256B84 00253AC4 EC 3B 06 F2 */ fmuls f1, f27, f27 -/* 80256B88 00253AC8 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80256B8C 00253ACC EC 1D 07 72 */ fmuls f0, f29, f29 -/* 80256B90 00253AD0 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 80256B94 00253AD4 EC 3A 0E BA */ fmadds f1, f26, f26, f1 -/* 80256B98 00253AD8 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80256B9C 00253ADC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80256BA0 00253AE0 40 80 00 2C */ bge lbl_80256BCC -/* 80256BA4 00253AE4 C0 02 C7 2C */ lfs f0, lbl_8051AA8C@sda21(r2) -/* 80256BA8 00253AE8 FC 40 F2 10 */ fabs f2, f30 -/* 80256BAC 00253AEC C0 22 C7 28 */ lfs f1, lbl_8051AA88@sda21(r2) -/* 80256BB0 00253AF0 EC 00 07 32 */ fmuls f0, f0, f28 -/* 80256BB4 00253AF4 FC 40 10 18 */ frsp f2, f2 -/* 80256BB8 00253AF8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80256BBC 00253AFC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80256BC0 00253B00 4C 40 13 82 */ cror 2, 0, 2 -/* 80256BC4 00253B04 40 82 00 08 */ bne lbl_80256BCC -/* 80256BC8 00253B08 3B E0 00 01 */ li r31, 1 -lbl_80256BCC: -/* 80256BCC 00253B0C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80256BD0 00253B10 41 82 00 6C */ beq lbl_80256C3C -/* 80256BD4 00253B14 7F A4 EB 78 */ mr r4, r29 -/* 80256BD8 00253B18 38 61 00 80 */ addi r3, r1, 0x80 -/* 80256BDC 00253B1C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80256BE0 00253B20 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256BE4 00253B24 7D 89 03 A6 */ mtctr r12 -/* 80256BE8 00253B28 4E 80 04 21 */ bctrl -/* 80256BEC 00253B2C C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80256BF0 00253B30 7F C3 F3 78 */ mr r3, r30 -/* 80256BF4 00253B34 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 80256BF8 00253B38 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80256BFC 00253B3C D0 1E 02 C8 */ stfs f0, 0x2c8(r30) -/* 80256C00 00253B40 D0 3E 02 CC */ stfs f1, 0x2cc(r30) -/* 80256C04 00253B44 D0 5E 02 D0 */ stfs f2, 0x2d0(r30) -/* 80256C08 00253B48 81 9E 00 00 */ lwz r12, 0(r30) -/* 80256C0C 00253B4C 81 8C 03 00 */ lwz r12, 0x300(r12) -/* 80256C10 00253B50 7D 89 03 A6 */ mtctr r12 -/* 80256C14 00253B54 4E 80 04 21 */ bctrl -/* 80256C18 00253B58 7F 83 E3 78 */ mr r3, r28 -/* 80256C1C 00253B5C 7F C4 F3 78 */ mr r4, r30 -/* 80256C20 00253B60 81 9C 00 00 */ lwz r12, 0(r28) -/* 80256C24 00253B64 38 A0 00 03 */ li r5, 3 -/* 80256C28 00253B68 38 C0 00 00 */ li r6, 0 -/* 80256C2C 00253B6C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256C30 00253B70 7D 89 03 A6 */ mtctr r12 -/* 80256C34 00253B74 4E 80 04 21 */ bctrl -/* 80256C38 00253B78 48 00 00 84 */ b lbl_80256CBC -lbl_80256C3C: -/* 80256C3C 00253B7C FC 20 F2 10 */ fabs f1, f30 -/* 80256C40 00253B80 C0 02 C7 30 */ lfs f0, lbl_8051AA90@sda21(r2) -/* 80256C44 00253B84 FC 20 08 18 */ frsp f1, f1 -/* 80256C48 00253B88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80256C4C 00253B8C 4C 40 13 82 */ cror 2, 0, 2 -/* 80256C50 00253B90 40 82 00 28 */ bne lbl_80256C78 -/* 80256C54 00253B94 7F 83 E3 78 */ mr r3, r28 -/* 80256C58 00253B98 7F C4 F3 78 */ mr r4, r30 -/* 80256C5C 00253B9C 81 9C 00 00 */ lwz r12, 0(r28) -/* 80256C60 00253BA0 38 A0 00 01 */ li r5, 1 -/* 80256C64 00253BA4 38 C0 00 00 */ li r6, 0 -/* 80256C68 00253BA8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256C6C 00253BAC 7D 89 03 A6 */ mtctr r12 -/* 80256C70 00253BB0 4E 80 04 21 */ bctrl -/* 80256C74 00253BB4 48 00 00 48 */ b lbl_80256CBC -lbl_80256C78: -/* 80256C78 00253BB8 7F 83 E3 78 */ mr r3, r28 -/* 80256C7C 00253BBC 7F C4 F3 78 */ mr r4, r30 -/* 80256C80 00253BC0 81 9C 00 00 */ lwz r12, 0(r28) -/* 80256C84 00253BC4 38 A0 00 02 */ li r5, 2 -/* 80256C88 00253BC8 38 C0 00 00 */ li r6, 0 -/* 80256C8C 00253BCC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256C90 00253BD0 7D 89 03 A6 */ mtctr r12 -/* 80256C94 00253BD4 4E 80 04 21 */ bctrl -/* 80256C98 00253BD8 48 00 00 24 */ b lbl_80256CBC -lbl_80256C9C: -/* 80256C9C 00253BDC 7F 83 E3 78 */ mr r3, r28 -/* 80256CA0 00253BE0 7F C4 F3 78 */ mr r4, r30 -/* 80256CA4 00253BE4 81 9C 00 00 */ lwz r12, 0(r28) -/* 80256CA8 00253BE8 38 A0 00 01 */ li r5, 1 -/* 80256CAC 00253BEC 38 C0 00 00 */ li r6, 0 -/* 80256CB0 00253BF0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80256CB4 00253BF4 7D 89 03 A6 */ mtctr r12 -/* 80256CB8 00253BF8 4E 80 04 21 */ bctrl -lbl_80256CBC: -/* 80256CBC 00253BFC E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 80256CC0 00253C00 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 80256CC4 00253C04 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 80256CC8 00253C08 CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 80256CCC 00253C0C E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 80256CD0 00253C10 CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 80256CD4 00253C14 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 -/* 80256CD8 00253C18 CB 81 00 D0 */ lfd f28, 0xd0(r1) -/* 80256CDC 00253C1C E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 -/* 80256CE0 00253C20 CB 61 00 C0 */ lfd f27, 0xc0(r1) -/* 80256CE4 00253C24 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 -/* 80256CE8 00253C28 CB 41 00 B0 */ lfd f26, 0xb0(r1) -/* 80256CEC 00253C2C 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80256CF0 00253C30 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80256CF4 00253C34 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80256CF8 00253C38 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80256CFC 00253C3C 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 80256D00 00253C40 7C 08 03 A6 */ mtlr r0 -/* 80256D04 00253C44 38 21 01 10 */ addi r1, r1, 0x110 -/* 80256D08 00253C48 4E 80 00 20 */ blr - -.global attackNaviPosition__Q34Game4Frog3ObjFv -attackNaviPosition__Q34Game4Frog3ObjFv: -/* 80256D0C 00253C4C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game4Frog9StateWaitFPQ24Game9EnemyBase: -/* 80256D10 00253C50 4E 80 00 20 */ blr - -.global init__Q34Game4Frog9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80256D14 00253C54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80256D18 00253C58 7C 08 02 A6 */ mflr r0 -/* 80256D1C 00253C5C 38 60 FF FF */ li r3, -1 -/* 80256D20 00253C60 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80256D24 00253C64 90 01 00 14 */ stw r0, 0x14(r1) -/* 80256D28 00253C68 38 00 00 00 */ li r0, 0 -/* 80256D2C 00253C6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80256D30 00253C70 7C 9F 23 78 */ mr r31, r4 -/* 80256D34 00253C74 90 64 02 D4 */ stw r3, 0x2d4(r4) -/* 80256D38 00253C78 7F E3 FB 78 */ mr r3, r31 -/* 80256D3C 00253C7C 90 04 02 30 */ stw r0, 0x230(r4) -/* 80256D40 00253C80 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80256D44 00253C84 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80256D48 00253C88 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80256D4C 00253C8C 4B EA AC 81 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80256D50 00253C90 7F E3 FB 78 */ mr r3, r31 -/* 80256D54 00253C94 38 80 00 04 */ li r4, 4 -/* 80256D58 00253C98 38 A0 00 00 */ li r5, 0 -/* 80256D5C 00253C9C 4B EA E2 A9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80256D60 00253CA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80256D64 00253CA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80256D68 00253CA8 7C 08 03 A6 */ mtlr r0 -/* 80256D6C 00253CAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80256D70 00253CB0 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog9StateTurnFPQ24Game9EnemyBase -exec__Q34Game4Frog9StateTurnFPQ24Game9EnemyBase: -/* 80256D74 00253CB4 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80256D78 00253CB8 7C 08 02 A6 */ mflr r0 -/* 80256D7C 00253CBC 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80256D80 00253CC0 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 80256D84 00253CC4 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80256D88 00253CC8 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80256D8C 00253CCC F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 80256D90 00253CD0 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 80256D94 00253CD4 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 80256D98 00253CD8 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 80256D9C 00253CDC F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 80256DA0 00253CE0 DB 61 00 90 */ stfd f27, 0x90(r1) -/* 80256DA4 00253CE4 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 80256DA8 00253CE8 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 80256DAC 00253CEC F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 80256DB0 00253CF0 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80256DB4 00253CF4 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80256DB8 00253CF8 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80256DBC 00253CFC 93 81 00 70 */ stw r28, 0x70(r1) -/* 80256DC0 00253D00 7C 9F 23 78 */ mr r31, r4 -/* 80256DC4 00253D04 7C 7E 1B 78 */ mr r30, r3 -/* 80256DC8 00253D08 7F E3 FB 78 */ mr r3, r31 -/* 80256DCC 00253D0C 48 00 21 FD */ bl getViewAngle__Q34Game4Frog3ObjFv -/* 80256DD0 00253D10 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 80256DD4 00253D14 7F E3 FB 78 */ mr r3, r31 -/* 80256DD8 00253D18 38 80 00 00 */ li r4, 0 -/* 80256DDC 00253D1C 38 A0 00 00 */ li r5, 0 -/* 80256DE0 00253D20 C0 46 03 D4 */ lfs f2, 0x3d4(r6) -/* 80256DE4 00253D24 38 C0 00 00 */ li r6, 0 -/* 80256DE8 00253D28 4B EB C2 69 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80256DEC 00253D2C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80256DF0 00253D30 41 82 02 4C */ beq lbl_8025703C -/* 80256DF4 00253D34 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80256DF8 00253D38 7F 84 E3 78 */ mr r4, r28 -/* 80256DFC 00253D3C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80256E00 00253D40 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 80256E04 00253D44 81 9C 00 00 */ lwz r12, 0(r28) -/* 80256E08 00253D48 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80256E0C 00253D4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256E10 00253D50 C3 A5 03 34 */ lfs f29, 0x334(r5) -/* 80256E14 00253D54 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80256E18 00253D58 7D 89 03 A6 */ mtctr r12 -/* 80256E1C 00253D5C 4E 80 04 21 */ bctrl -/* 80256E20 00253D60 7F E4 FB 78 */ mr r4, r31 -/* 80256E24 00253D64 38 61 00 5C */ addi r3, r1, 0x5c -/* 80256E28 00253D68 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256E2C 00253D6C C3 41 00 50 */ lfs f26, 0x50(r1) -/* 80256E30 00253D70 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256E34 00253D74 C3 61 00 58 */ lfs f27, 0x58(r1) -/* 80256E38 00253D78 7D 89 03 A6 */ mtctr r12 -/* 80256E3C 00253D7C 4E 80 04 21 */ bctrl -/* 80256E40 00253D80 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 80256E44 00253D84 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80256E48 00253D88 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80256E4C 00253D8C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80256E50 00253D90 EC 3A 08 28 */ fsubs f1, f26, f1 -/* 80256E54 00253D94 EC 5B 00 28 */ fsubs f2, f27, f0 -/* 80256E58 00253D98 4B DD E2 B1 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80256E5C 00253D9C 48 1B AD 75 */ bl roundAng__Ff -/* 80256E60 00253DA0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256E64 00253DA4 FF 40 08 90 */ fmr f26, f1 -/* 80256E68 00253DA8 7F E3 FB 78 */ mr r3, r31 -/* 80256E6C 00253DAC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80256E70 00253DB0 7D 89 03 A6 */ mtctr r12 -/* 80256E74 00253DB4 4E 80 04 21 */ bctrl -/* 80256E78 00253DB8 FC 40 08 90 */ fmr f2, f1 -/* 80256E7C 00253DBC FC 20 D0 90 */ fmr f1, f26 -/* 80256E80 00253DC0 48 1B AD 7D */ bl angDist__Fff -/* 80256E84 00253DC4 FF E0 08 90 */ fmr f31, f1 -/* 80256E88 00253DC8 C0 02 C7 2C */ lfs f0, lbl_8051AA8C@sda21(r2) -/* 80256E8C 00253DCC C0 22 C7 28 */ lfs f1, lbl_8051AA88@sda21(r2) -/* 80256E90 00253DD0 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80256E94 00253DD4 EF 9F 07 B2 */ fmuls f28, f31, f30 -/* 80256E98 00253DD8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80256E9C 00253DDC FC 00 E2 10 */ fabs f0, f28 -/* 80256EA0 00253DE0 FC 00 00 18 */ frsp f0, f0 -/* 80256EA4 00253DE4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80256EA8 00253DE8 40 81 00 1C */ ble lbl_80256EC4 -/* 80256EAC 00253DEC C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80256EB0 00253DF0 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80256EB4 00253DF4 40 81 00 0C */ ble lbl_80256EC0 -/* 80256EB8 00253DF8 FF 80 08 90 */ fmr f28, f1 -/* 80256EBC 00253DFC 48 00 00 08 */ b lbl_80256EC4 -lbl_80256EC0: -/* 80256EC0 00253E00 FF 80 08 50 */ fneg f28, f1 -lbl_80256EC4: -/* 80256EC4 00253E04 7F E3 FB 78 */ mr r3, r31 -/* 80256EC8 00253E08 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256ECC 00253E0C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80256ED0 00253E10 7D 89 03 A6 */ mtctr r12 -/* 80256ED4 00253E14 4E 80 04 21 */ bctrl -/* 80256ED8 00253E18 EC 3C 08 2A */ fadds f1, f28, f1 -/* 80256EDC 00253E1C 48 1B AC F5 */ bl roundAng__Ff -/* 80256EE0 00253E20 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80256EE4 00253E24 7F E4 FB 78 */ mr r4, r31 -/* 80256EE8 00253E28 38 61 00 14 */ addi r3, r1, 0x14 -/* 80256EEC 00253E2C 3B A0 00 00 */ li r29, 0 -/* 80256EF0 00253E30 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80256EF4 00253E34 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80256EF8 00253E38 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256EFC 00253E3C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80256F00 00253E40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256F04 00253E44 C3 85 05 8C */ lfs f28, 0x58c(r5) -/* 80256F08 00253E48 C3 A5 05 64 */ lfs f29, 0x564(r5) -/* 80256F0C 00253E4C 7D 89 03 A6 */ mtctr r12 -/* 80256F10 00253E50 4E 80 04 21 */ bctrl -/* 80256F14 00253E54 7F 84 E3 78 */ mr r4, r28 -/* 80256F18 00253E58 38 61 00 08 */ addi r3, r1, 8 -/* 80256F1C 00253E5C 81 9C 00 00 */ lwz r12, 0(r28) -/* 80256F20 00253E60 C3 C1 00 14 */ lfs f30, 0x14(r1) -/* 80256F24 00253E64 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256F28 00253E68 7D 89 03 A6 */ mtctr r12 -/* 80256F2C 00253E6C 4E 80 04 21 */ bctrl -/* 80256F30 00253E70 7F E4 FB 78 */ mr r4, r31 -/* 80256F34 00253E74 C0 01 00 08 */ lfs f0, 8(r1) -/* 80256F38 00253E78 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256F3C 00253E7C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80256F40 00253E80 EF 40 F0 28 */ fsubs f26, f0, f30 -/* 80256F44 00253E84 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256F48 00253E88 7D 89 03 A6 */ mtctr r12 -/* 80256F4C 00253E8C 4E 80 04 21 */ bctrl -/* 80256F50 00253E90 7F 84 E3 78 */ mr r4, r28 -/* 80256F54 00253E94 38 61 00 20 */ addi r3, r1, 0x20 -/* 80256F58 00253E98 81 9C 00 00 */ lwz r12, 0(r28) -/* 80256F5C 00253E9C C3 C1 00 30 */ lfs f30, 0x30(r1) -/* 80256F60 00253EA0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256F64 00253EA4 7D 89 03 A6 */ mtctr r12 -/* 80256F68 00253EA8 4E 80 04 21 */ bctrl -/* 80256F6C 00253EAC 7F E4 FB 78 */ mr r4, r31 -/* 80256F70 00253EB0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80256F74 00253EB4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80256F78 00253EB8 38 61 00 44 */ addi r3, r1, 0x44 -/* 80256F7C 00253EBC EF 60 F0 28 */ fsubs f27, f0, f30 -/* 80256F80 00253EC0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256F84 00253EC4 7D 89 03 A6 */ mtctr r12 -/* 80256F88 00253EC8 4E 80 04 21 */ bctrl -/* 80256F8C 00253ECC 7F 84 E3 78 */ mr r4, r28 -/* 80256F90 00253ED0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80256F94 00253ED4 81 9C 00 00 */ lwz r12, 0(r28) -/* 80256F98 00253ED8 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 80256F9C 00253EDC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80256FA0 00253EE0 7D 89 03 A6 */ mtctr r12 -/* 80256FA4 00253EE4 4E 80 04 21 */ bctrl -/* 80256FA8 00253EE8 EC 3B 06 F2 */ fmuls f1, f27, f27 -/* 80256FAC 00253EEC C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80256FB0 00253EF0 EC 1D 07 72 */ fmuls f0, f29, f29 -/* 80256FB4 00253EF4 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 80256FB8 00253EF8 EC 3A 0E BA */ fmadds f1, f26, f26, f1 -/* 80256FBC 00253EFC EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80256FC0 00253F00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80256FC4 00253F04 40 80 00 2C */ bge lbl_80256FF0 -/* 80256FC8 00253F08 C0 02 C7 2C */ lfs f0, lbl_8051AA8C@sda21(r2) -/* 80256FCC 00253F0C FC 40 FA 10 */ fabs f2, f31 -/* 80256FD0 00253F10 C0 22 C7 28 */ lfs f1, lbl_8051AA88@sda21(r2) -/* 80256FD4 00253F14 EC 00 07 32 */ fmuls f0, f0, f28 -/* 80256FD8 00253F18 FC 40 10 18 */ frsp f2, f2 -/* 80256FDC 00253F1C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80256FE0 00253F20 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80256FE4 00253F24 4C 40 13 82 */ cror 2, 0, 2 -/* 80256FE8 00253F28 40 82 00 08 */ bne lbl_80256FF0 -/* 80256FEC 00253F2C 3B A0 00 01 */ li r29, 1 -lbl_80256FF0: -/* 80256FF0 00253F30 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80256FF4 00253F34 41 82 00 1C */ beq lbl_80257010 -/* 80256FF8 00253F38 93 9F 02 30 */ stw r28, 0x230(r31) -/* 80256FFC 00253F3C 38 00 00 03 */ li r0, 3 -/* 80257000 00253F40 7F E3 FB 78 */ mr r3, r31 -/* 80257004 00253F44 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257008 00253F48 4B EA E2 99 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025700C 00253F4C 48 00 00 40 */ b lbl_8025704C -lbl_80257010: -/* 80257010 00253F50 FC 20 FA 10 */ fabs f1, f31 -/* 80257014 00253F54 C0 02 C7 30 */ lfs f0, lbl_8051AA90@sda21(r2) -/* 80257018 00253F58 FC 20 08 18 */ frsp f1, f1 -/* 8025701C 00253F5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257020 00253F60 4C 40 13 82 */ cror 2, 0, 2 -/* 80257024 00253F64 40 82 00 28 */ bne lbl_8025704C -/* 80257028 00253F68 38 00 00 01 */ li r0, 1 -/* 8025702C 00253F6C 7F E3 FB 78 */ mr r3, r31 -/* 80257030 00253F70 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257034 00253F74 4B EA E2 6D */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80257038 00253F78 48 00 00 14 */ b lbl_8025704C -lbl_8025703C: -/* 8025703C 00253F7C 38 00 00 01 */ li r0, 1 -/* 80257040 00253F80 7F E3 FB 78 */ mr r3, r31 -/* 80257044 00253F84 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257048 00253F88 4B EA E2 59 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8025704C: -/* 8025704C 00253F8C 7F E3 FB 78 */ mr r3, r31 -/* 80257050 00253F90 38 80 00 00 */ li r4, 0 -/* 80257054 00253F94 4B EB D6 05 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80257058 00253F98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025705C 00253F9C 41 82 00 14 */ beq lbl_80257070 -/* 80257060 00253FA0 38 00 00 03 */ li r0, 3 -/* 80257064 00253FA4 7F E3 FB 78 */ mr r3, r31 -/* 80257068 00253FA8 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 8025706C 00253FAC 4B EA E2 35 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80257070: -/* 80257070 00253FB0 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80257074 00253FB4 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257078 00253FB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025707C 00253FBC 4C 40 13 82 */ cror 2, 0, 2 -/* 80257080 00253FC0 40 82 00 14 */ bne lbl_80257094 -/* 80257084 00253FC4 38 00 00 00 */ li r0, 0 -/* 80257088 00253FC8 7F E3 FB 78 */ mr r3, r31 -/* 8025708C 00253FCC 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257090 00253FD0 4B EA E2 11 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80257094: -/* 80257094 00253FD4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80257098 00253FD8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025709C 00253FDC 28 00 00 00 */ cmplwi r0, 0 -/* 802570A0 00253FE0 41 82 00 30 */ beq lbl_802570D0 -/* 802570A4 00253FE4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802570A8 00253FE8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802570AC 00253FEC 40 82 00 24 */ bne lbl_802570D0 -/* 802570B0 00253FF0 7F C3 F3 78 */ mr r3, r30 -/* 802570B4 00253FF4 7F E4 FB 78 */ mr r4, r31 -/* 802570B8 00253FF8 81 9E 00 00 */ lwz r12, 0(r30) -/* 802570BC 00253FFC 38 C0 00 00 */ li r6, 0 -/* 802570C0 00254000 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 802570C4 00254004 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802570C8 00254008 7D 89 03 A6 */ mtctr r12 -/* 802570CC 0025400C 4E 80 04 21 */ bctrl -lbl_802570D0: -/* 802570D0 00254010 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 802570D4 00254014 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 802570D8 00254018 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 802570DC 0025401C CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 802570E0 00254020 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 802570E4 00254024 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 802570E8 00254028 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 802570EC 0025402C CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 802570F0 00254030 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 802570F4 00254034 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 802570F8 00254038 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 802570FC 0025403C CB 41 00 80 */ lfd f26, 0x80(r1) -/* 80257100 00254040 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80257104 00254044 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80257108 00254048 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8025710C 0025404C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80257110 00254050 83 81 00 70 */ lwz r28, 0x70(r1) -/* 80257114 00254054 7C 08 03 A6 */ mtlr r0 -/* 80257118 00254058 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8025711C 0025405C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog9StateTurnFPQ24Game9EnemyBase -cleanup__Q34Game4Frog9StateTurnFPQ24Game9EnemyBase: -/* 80257120 00254060 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80257124 00254064 7C 08 02 A6 */ mflr r0 -/* 80257128 00254068 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025712C 0025406C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80257130 00254070 7C 9F 23 78 */ mr r31, r4 -/* 80257134 00254074 7F E3 FB 78 */ mr r3, r31 -/* 80257138 00254078 4B EA A8 45 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 8025713C 0025407C 80 1F 02 D4 */ lwz r0, 0x2d4(r31) -/* 80257140 00254080 2C 00 00 03 */ cmpwi r0, 3 -/* 80257144 00254084 40 82 00 74 */ bne lbl_802571B8 -/* 80257148 00254088 7F E4 FB 78 */ mr r4, r31 -/* 8025714C 0025408C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80257150 00254090 81 9F 00 00 */ lwz r12, 0(r31) -/* 80257154 00254094 81 8C 00 08 */ lwz r12, 8(r12) -/* 80257158 00254098 7D 89 03 A6 */ mtctr r12 -/* 8025715C 0025409C 4E 80 04 21 */ bctrl -/* 80257160 002540A0 80 9F 02 30 */ lwz r4, 0x230(r31) -/* 80257164 002540A4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80257168 002540A8 28 04 00 00 */ cmplwi r4, 0 -/* 8025716C 002540AC C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80257170 002540B0 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80257174 002540B4 41 82 00 24 */ beq lbl_80257198 -/* 80257178 002540B8 81 84 00 00 */ lwz r12, 0(r4) -/* 8025717C 002540BC 38 61 00 08 */ addi r3, r1, 8 -/* 80257180 002540C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80257184 002540C4 7D 89 03 A6 */ mtctr r12 -/* 80257188 002540C8 4E 80 04 21 */ bctrl -/* 8025718C 002540CC C0 01 00 08 */ lfs f0, 8(r1) -/* 80257190 002540D0 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80257194 002540D4 C0 41 00 10 */ lfs f2, 0x10(r1) -lbl_80257198: -/* 80257198 002540D8 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 8025719C 002540DC 7F E3 FB 78 */ mr r3, r31 -/* 802571A0 002540E0 D0 3F 02 CC */ stfs f1, 0x2cc(r31) -/* 802571A4 002540E4 D0 5F 02 D0 */ stfs f2, 0x2d0(r31) -/* 802571A8 002540E8 81 9F 00 00 */ lwz r12, 0(r31) -/* 802571AC 002540EC 81 8C 03 00 */ lwz r12, 0x300(r12) -/* 802571B0 002540F0 7D 89 03 A6 */ mtctr r12 -/* 802571B4 002540F4 4E 80 04 21 */ bctrl -lbl_802571B8: -/* 802571B8 002540F8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802571BC 002540FC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802571C0 00254100 7C 08 03 A6 */ mtlr r0 -/* 802571C4 00254104 38 21 00 30 */ addi r1, r1, 0x30 -/* 802571C8 00254108 4E 80 00 20 */ blr - -.global init__Q34Game4Frog9StateJumpFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog9StateJumpFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802571CC 0025410C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802571D0 00254110 7C 08 02 A6 */ mflr r0 -/* 802571D4 00254114 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 802571D8 00254118 90 01 00 24 */ stw r0, 0x24(r1) -/* 802571DC 0025411C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802571E0 00254120 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802571E4 00254124 7C 9E 23 78 */ mr r30, r4 -/* 802571E8 00254128 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802571EC 0025412C 7C 7D 1B 78 */ mr r29, r3 -/* 802571F0 00254130 7F C3 F3 78 */ mr r3, r30 -/* 802571F4 00254134 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802571F8 00254138 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 802571FC 0025413C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80257200 00254140 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80257204 00254144 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80257208 00254148 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 8025720C 0025414C 4B EA A7 C1 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80257210 00254150 80 1E 01 F4 */ lwz r0, 0x1f4(r30) -/* 80257214 00254154 2C 00 00 00 */ cmpwi r0, 0 -/* 80257218 00254158 41 82 00 68 */ beq lbl_80257280 -/* 8025721C 0025415C 83 FE 00 C0 */ lwz r31, 0xc0(r30) -/* 80257220 00254160 4B E7 23 81 */ bl rand -/* 80257224 00254164 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80257228 00254168 3C 00 43 30 */ lis r0, 0x4330 -/* 8025722C 0025416C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80257230 00254170 C8 62 C7 20 */ lfd f3, lbl_8051AA80@sda21(r2) -/* 80257234 00254174 90 01 00 08 */ stw r0, 8(r1) -/* 80257238 00254178 C0 42 C7 10 */ lfs f2, lbl_8051AA70@sda21(r2) -/* 8025723C 0025417C C8 01 00 08 */ lfd f0, 8(r1) -/* 80257240 00254180 C0 22 C7 14 */ lfs f1, lbl_8051AA74@sda21(r2) -/* 80257244 00254184 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80257248 00254188 C0 1F 08 6C */ lfs f0, 0x86c(r31) -/* 8025724C 0025418C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80257250 00254190 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80257254 00254194 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257258 00254198 40 80 00 28 */ bge lbl_80257280 -/* 8025725C 0025419C 7F A3 EB 78 */ mr r3, r29 -/* 80257260 002541A0 7F C4 F3 78 */ mr r4, r30 -/* 80257264 002541A4 81 9D 00 00 */ lwz r12, 0(r29) -/* 80257268 002541A8 38 A0 00 07 */ li r5, 7 -/* 8025726C 002541AC 38 C0 00 00 */ li r6, 0 -/* 80257270 002541B0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80257274 002541B4 7D 89 03 A6 */ mtctr r12 -/* 80257278 002541B8 4E 80 04 21 */ bctrl -/* 8025727C 002541BC 48 00 00 1C */ b lbl_80257298 -lbl_80257280: -/* 80257280 002541C0 7F C3 F3 78 */ mr r3, r30 -/* 80257284 002541C4 48 00 22 25 */ bl startJumpEffect__Q34Game4Frog3ObjFv -/* 80257288 002541C8 7F C3 F3 78 */ mr r3, r30 -/* 8025728C 002541CC 38 80 00 05 */ li r4, 5 -/* 80257290 002541D0 38 A0 00 00 */ li r5, 0 -/* 80257294 002541D4 4B EA DD 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -lbl_80257298: -/* 80257298 002541D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025729C 002541DC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802572A0 002541E0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802572A4 002541E4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802572A8 002541E8 7C 08 03 A6 */ mtlr r0 -/* 802572AC 002541EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802572B0 002541F0 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog9StateJumpFPQ24Game9EnemyBase -exec__Q34Game4Frog9StateJumpFPQ24Game9EnemyBase: -/* 802572B4 002541F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802572B8 002541F8 7C 08 02 A6 */ mflr r0 -/* 802572BC 002541FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802572C0 00254200 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802572C4 00254204 7C 9F 23 78 */ mr r31, r4 -/* 802572C8 00254208 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 802572CC 0025420C 88 05 00 24 */ lbz r0, 0x24(r5) -/* 802572D0 00254210 28 00 00 00 */ cmplwi r0, 0 -/* 802572D4 00254214 41 82 00 E4 */ beq lbl_802573B8 -/* 802572D8 00254218 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 802572DC 0025421C 28 00 00 02 */ cmplwi r0, 2 -/* 802572E0 00254220 40 82 00 B8 */ bne lbl_80257398 -/* 802572E4 00254224 7F E3 FB 78 */ mr r3, r31 -/* 802572E8 00254228 48 00 1D 05 */ bl startJumpAttack__Q34Game4Frog3ObjFv -/* 802572EC 0025422C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802572F0 00254230 7F E3 FB 78 */ mr r3, r31 -/* 802572F4 00254234 C0 42 C7 08 */ lfs f2, lbl_8051AA68@sda21(r2) -/* 802572F8 00254238 38 80 00 00 */ li r4, 0 -/* 802572FC 0025423C C0 25 05 14 */ lfs f1, 0x514(r5) -/* 80257300 00254240 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80257304 00254244 C0 82 C7 34 */ lfs f4, lbl_8051AA94@sda21(r2) -/* 80257308 00254248 4B EB C4 89 */ bl flickNearbyNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Navi$$1 -/* 8025730C 0025424C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80257310 00254250 7F E3 FB 78 */ mr r3, r31 -/* 80257314 00254254 C0 42 C7 08 */ lfs f2, lbl_8051AA68@sda21(r2) -/* 80257318 00254258 38 80 00 00 */ li r4, 0 -/* 8025731C 0025425C C0 25 05 14 */ lfs f1, 0x514(r5) -/* 80257320 00254260 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80257324 00254264 C0 82 C7 34 */ lfs f4, lbl_8051AA94@sda21(r2) -/* 80257328 00254268 4B EB C1 AD */ bl flickNearbyPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 8025732C 0025426C 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 80257330 00254270 28 00 00 00 */ cmplwi r0, 0 -/* 80257334 00254274 41 82 00 34 */ beq lbl_80257368 -/* 80257338 00254278 7F E3 FB 78 */ mr r3, r31 -/* 8025733C 0025427C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80257340 00254280 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80257344 00254284 7D 89 03 A6 */ mtctr r12 -/* 80257348 00254288 4E 80 04 21 */ bctrl -/* 8025734C 0025428C 81 83 00 00 */ lwz r12, 0(r3) -/* 80257350 00254290 38 80 58 2C */ li r4, 0x582c -/* 80257354 00254294 38 A0 00 00 */ li r5, 0 -/* 80257358 00254298 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025735C 0025429C 7D 89 03 A6 */ mtctr r12 -/* 80257360 002542A0 4E 80 04 21 */ bctrl -/* 80257364 002542A4 48 00 00 54 */ b lbl_802573B8 -lbl_80257368: -/* 80257368 002542A8 7F E3 FB 78 */ mr r3, r31 -/* 8025736C 002542AC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80257370 002542B0 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80257374 002542B4 7D 89 03 A6 */ mtctr r12 -/* 80257378 002542B8 4E 80 04 21 */ bctrl -/* 8025737C 002542BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80257380 002542C0 38 80 58 25 */ li r4, 0x5825 -/* 80257384 002542C4 38 A0 00 00 */ li r5, 0 -/* 80257388 002542C8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025738C 002542CC 7D 89 03 A6 */ mtctr r12 -/* 80257390 002542D0 4E 80 04 21 */ bctrl -/* 80257394 002542D4 48 00 00 24 */ b lbl_802573B8 -lbl_80257398: -/* 80257398 002542D8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025739C 002542DC 40 82 00 1C */ bne lbl_802573B8 -/* 802573A0 002542E0 81 83 00 00 */ lwz r12, 0(r3) -/* 802573A4 002542E4 38 A0 00 04 */ li r5, 4 -/* 802573A8 002542E8 38 C0 00 00 */ li r6, 0 -/* 802573AC 002542EC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802573B0 002542F0 7D 89 03 A6 */ mtctr r12 -/* 802573B4 002542F4 4E 80 04 21 */ bctrl -lbl_802573B8: -/* 802573B8 002542F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802573BC 002542FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802573C0 00254300 7C 08 03 A6 */ mtlr r0 -/* 802573C4 00254304 38 21 00 10 */ addi r1, r1, 0x10 -/* 802573C8 00254308 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog9StateJumpFPQ24Game9EnemyBase -cleanup__Q34Game4Frog9StateJumpFPQ24Game9EnemyBase: -/* 802573CC 0025430C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802573D0 00254310 7C 08 02 A6 */ mflr r0 -/* 802573D4 00254314 90 01 00 14 */ stw r0, 0x14(r1) -/* 802573D8 00254318 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802573DC 0025431C 7C 9F 23 78 */ mr r31, r4 -/* 802573E0 00254320 7F E3 FB 78 */ mr r3, r31 -/* 802573E4 00254324 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802573E8 00254328 60 00 00 40 */ ori r0, r0, 0x40 -/* 802573EC 0025432C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802573F0 00254330 4B EA A5 8D */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 802573F4 00254334 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802573F8 00254338 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 802573FC 0025433C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80257400 00254340 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80257404 00254344 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80257408 00254348 7C 08 03 A6 */ mtlr r0 -/* 8025740C 0025434C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80257410 00254350 4E 80 00 20 */ blr - -.global init__Q34Game4Frog13StateJumpWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog13StateJumpWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80257414 00254354 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80257418 00254358 7C 08 02 A6 */ mflr r0 -/* 8025741C 0025435C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257420 00254360 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80257424 00254364 7C 9F 23 78 */ mr r31, r4 -/* 80257428 00254368 7F E3 FB 78 */ mr r3, r31 -/* 8025742C 0025436C 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80257430 00254370 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80257434 00254374 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80257438 00254378 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025743C 0025437C 60 00 00 04 */ ori r0, r0, 4 -/* 80257440 00254380 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80257444 00254384 4B EA A5 89 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80257448 00254388 7F E3 FB 78 */ mr r3, r31 -/* 8025744C 0025438C 38 80 00 06 */ li r4, 6 -/* 80257450 00254390 38 A0 00 00 */ li r5, 0 -/* 80257454 00254394 4B EA DB B1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80257458 00254398 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025745C 0025439C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80257460 002543A0 7C 08 03 A6 */ mtlr r0 -/* 80257464 002543A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80257468 002543A8 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog13StateJumpWaitFPQ24Game9EnemyBase -exec__Q34Game4Frog13StateJumpWaitFPQ24Game9EnemyBase: -/* 8025746C 002543AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80257470 002543B0 7C 08 02 A6 */ mflr r0 -/* 80257474 002543B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257478 002543B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025747C 002543BC 7C 9F 23 78 */ mr r31, r4 -/* 80257480 002543C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80257484 002543C4 7C 7E 1B 78 */ mr r30, r3 -/* 80257488 002543C8 80 64 00 C0 */ lwz r3, 0xc0(r4) -/* 8025748C 002543CC C0 24 02 C0 */ lfs f1, 0x2c0(r4) -/* 80257490 002543D0 C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 80257494 002543D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257498 002543D8 40 81 00 0C */ ble lbl_802574A4 -/* 8025749C 002543DC 7F E3 FB 78 */ mr r3, r31 -/* 802574A0 002543E0 4B EA DE 01 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802574A4: -/* 802574A4 002543E4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802574A8 002543E8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802574AC 002543EC 28 00 00 00 */ cmplwi r0, 0 -/* 802574B0 002543F0 41 82 00 30 */ beq lbl_802574E0 -/* 802574B4 002543F4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802574B8 002543F8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802574BC 002543FC 40 82 00 24 */ bne lbl_802574E0 -/* 802574C0 00254400 7F C3 F3 78 */ mr r3, r30 -/* 802574C4 00254404 7F E4 FB 78 */ mr r4, r31 -/* 802574C8 00254408 81 9E 00 00 */ lwz r12, 0(r30) -/* 802574CC 0025440C 38 A0 00 05 */ li r5, 5 -/* 802574D0 00254410 38 C0 00 00 */ li r6, 0 -/* 802574D4 00254414 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802574D8 00254418 7D 89 03 A6 */ mtctr r12 -/* 802574DC 0025441C 4E 80 04 21 */ bctrl -lbl_802574E0: -/* 802574E0 00254420 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802574E4 00254424 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802574E8 00254428 83 C1 00 08 */ lwz r30, 8(r1) -/* 802574EC 0025442C 7C 08 03 A6 */ mtlr r0 -/* 802574F0 00254430 38 21 00 10 */ addi r1, r1, 0x10 -/* 802574F4 00254434 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog13StateJumpWaitFPQ24Game9EnemyBase -cleanup__Q34Game4Frog13StateJumpWaitFPQ24Game9EnemyBase: -/* 802574F8 00254438 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802574FC 0025443C 7C 08 02 A6 */ mflr r0 -/* 80257500 00254440 7C 83 23 78 */ mr r3, r4 -/* 80257504 00254444 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257508 00254448 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025750C 0025444C 60 00 00 40 */ ori r0, r0, 0x40 -/* 80257510 00254450 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80257514 00254454 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80257518 00254458 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 8025751C 0025445C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80257520 00254460 4B EA A4 5D */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80257524 00254464 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80257528 00254468 7C 08 03 A6 */ mtlr r0 -/* 8025752C 0025446C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80257530 00254470 4E 80 00 20 */ blr - -.global init__Q34Game4Frog9StateFallFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog9StateFallFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80257534 00254474 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80257538 00254478 7C 08 02 A6 */ mflr r0 -/* 8025753C 0025447C C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257540 00254480 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257544 00254484 38 00 00 01 */ li r0, 1 -/* 80257548 00254488 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025754C 0025448C 7C 9F 23 78 */ mr r31, r4 -/* 80257550 00254490 7F E3 FB 78 */ mr r3, r31 -/* 80257554 00254494 98 04 02 D9 */ stb r0, 0x2d9(r4) -/* 80257558 00254498 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025755C 0025449C 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80257560 002544A0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80257564 002544A4 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80257568 002544A8 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 8025756C 002544AC D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80257570 002544B0 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80257574 002544B4 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80257578 002544B8 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8025757C 002544BC 4B EA A4 51 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80257580 002544C0 7F E3 FB 78 */ mr r3, r31 -/* 80257584 002544C4 38 80 00 07 */ li r4, 7 -/* 80257588 002544C8 38 A0 00 00 */ li r5, 0 -/* 8025758C 002544CC 4B EA DA 79 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80257590 002544D0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80257594 002544D4 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257598 002544D8 C0 23 08 94 */ lfs f1, 0x894(r3) -/* 8025759C 002544DC FC 20 08 50 */ fneg f1, f1 -/* 802575A0 002544E0 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) -/* 802575A4 002544E4 D0 3F 01 CC */ stfs f1, 0x1cc(r31) -/* 802575A8 002544E8 D0 1F 01 D0 */ stfs f0, 0x1d0(r31) -/* 802575AC 002544EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802575B0 002544F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802575B4 002544F4 7C 08 03 A6 */ mtlr r0 -/* 802575B8 002544F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802575BC 002544FC 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog9StateFallFPQ24Game9EnemyBase -exec__Q34Game4Frog9StateFallFPQ24Game9EnemyBase: -/* 802575C0 00254500 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802575C4 00254504 7C 08 02 A6 */ mflr r0 -/* 802575C8 00254508 90 01 00 14 */ stw r0, 0x14(r1) -/* 802575CC 0025450C 80 04 00 C8 */ lwz r0, 0xc8(r4) -/* 802575D0 00254510 28 00 00 00 */ cmplwi r0, 0 -/* 802575D4 00254514 41 82 00 1C */ beq lbl_802575F0 -/* 802575D8 00254518 81 83 00 00 */ lwz r12, 0(r3) -/* 802575DC 0025451C 38 A0 00 06 */ li r5, 6 -/* 802575E0 00254520 38 C0 00 00 */ li r6, 0 -/* 802575E4 00254524 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802575E8 00254528 7D 89 03 A6 */ mtctr r12 -/* 802575EC 0025452C 4E 80 04 21 */ bctrl -lbl_802575F0: -/* 802575F0 00254530 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802575F4 00254534 7C 08 03 A6 */ mtlr r0 -/* 802575F8 00254538 38 21 00 10 */ addi r1, r1, 0x10 -/* 802575FC 0025453C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog9StateFallFPQ24Game9EnemyBase -cleanup__Q34Game4Frog9StateFallFPQ24Game9EnemyBase: -/* 80257600 00254540 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80257604 00254544 7C 08 02 A6 */ mflr r0 -/* 80257608 00254548 7C 83 23 78 */ mr r3, r4 -/* 8025760C 0025454C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257610 00254550 38 00 00 00 */ li r0, 0 -/* 80257614 00254554 98 04 02 D9 */ stb r0, 0x2d9(r4) -/* 80257618 00254558 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025761C 0025455C 60 00 00 40 */ ori r0, r0, 0x40 -/* 80257620 00254560 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80257624 00254564 4B EA A3 59 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80257628 00254568 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025762C 0025456C 7C 08 03 A6 */ mtlr r0 -/* 80257630 00254570 38 21 00 10 */ addi r1, r1, 0x10 -/* 80257634 00254574 4E 80 00 20 */ blr - -.global init__Q34Game4Frog11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80257638 00254578 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025763C 0025457C 7C 08 02 A6 */ mflr r0 -/* 80257640 00254580 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257644 00254584 38 00 00 00 */ li r0, 0 -/* 80257648 00254588 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025764C 0025458C 7C 9F 23 78 */ mr r31, r4 -/* 80257650 00254590 7F E3 FB 78 */ mr r3, r31 -/* 80257654 00254594 98 04 02 D9 */ stb r0, 0x2d9(r4) -/* 80257658 00254598 48 00 1B 45 */ bl pressOnGround__Q34Game4Frog3ObjFv -/* 8025765C 0025459C C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257660 002545A0 7F E3 FB 78 */ mr r3, r31 -/* 80257664 002545A4 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 80257668 002545A8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025766C 002545AC 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80257670 002545B0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80257674 002545B4 4B EA A3 59 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80257678 002545B8 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 8025767C 002545BC 7F E3 FB 78 */ mr r3, r31 -/* 80257680 002545C0 38 80 00 08 */ li r4, 8 -/* 80257684 002545C4 38 A0 00 00 */ li r5, 0 -/* 80257688 002545C8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025768C 002545CC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80257690 002545D0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80257694 002545D4 4B EA D9 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80257698 002545D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025769C 002545DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802576A0 002545E0 7C 08 03 A6 */ mtlr r0 -/* 802576A4 002545E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802576A8 002545E8 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog11StateAttackFPQ24Game9EnemyBase -exec__Q34Game4Frog11StateAttackFPQ24Game9EnemyBase: -/* 802576AC 002545EC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802576B0 002545F0 7C 08 02 A6 */ mflr r0 -/* 802576B4 002545F4 90 01 00 54 */ stw r0, 0x54(r1) -/* 802576B8 002545F8 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 802576BC 002545FC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 802576C0 00254600 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 802576C4 00254604 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 802576C8 00254608 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 802576CC 0025460C F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 802576D0 00254610 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802576D4 00254614 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802576D8 00254618 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 802576DC 0025461C 7C 7E 1B 78 */ mr r30, r3 -/* 802576E0 00254620 7C 9F 23 78 */ mr r31, r4 -/* 802576E4 00254624 88 05 00 24 */ lbz r0, 0x24(r5) -/* 802576E8 00254628 28 00 00 00 */ cmplwi r0, 0 -/* 802576EC 0025462C 41 82 00 FC */ beq lbl_802577E8 -/* 802576F0 00254630 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 802576F4 00254634 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802576F8 00254638 40 82 00 F0 */ bne lbl_802577E8 -/* 802576FC 0025463C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80257700 00254640 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257704 00254644 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257708 00254648 4C 40 13 82 */ cror 2, 0, 2 -/* 8025770C 0025464C 40 82 00 20 */ bne lbl_8025772C -/* 80257710 00254650 81 83 00 00 */ lwz r12, 0(r3) -/* 80257714 00254654 38 A0 00 00 */ li r5, 0 -/* 80257718 00254658 38 C0 00 00 */ li r6, 0 -/* 8025771C 0025465C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80257720 00254660 7D 89 03 A6 */ mtctr r12 -/* 80257724 00254664 4E 80 04 21 */ bctrl -/* 80257728 00254668 48 00 00 C0 */ b lbl_802577E8 -lbl_8025772C: -/* 8025772C 0025466C 81 84 00 00 */ lwz r12, 0(r4) -/* 80257730 00254670 38 61 00 08 */ addi r3, r1, 8 -/* 80257734 00254674 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 80257738 00254678 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025773C 0025467C C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 80257740 00254680 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 80257744 00254684 7D 89 03 A6 */ mtctr r12 -/* 80257748 00254688 4E 80 04 21 */ bctrl -/* 8025774C 0025468C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80257750 00254690 C0 41 00 08 */ lfs f2, 8(r1) -/* 80257754 00254694 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 80257758 00254698 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8025775C 0025469C EC 42 F8 28 */ fsubs f2, f2, f31 -/* 80257760 002546A0 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257764 002546A4 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80257768 002546A8 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 8025776C 002546AC EC 81 00 72 */ fmuls f4, f1, f1 -/* 80257770 002546B0 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 80257774 002546B4 EC 24 08 2A */ fadds f1, f4, f1 -/* 80257778 002546B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025777C 002546BC 40 81 00 14 */ ble lbl_80257790 -/* 80257780 002546C0 40 81 00 14 */ ble lbl_80257794 -/* 80257784 002546C4 FC 00 08 34 */ frsqrte f0, f1 -/* 80257788 002546C8 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8025778C 002546CC 48 00 00 08 */ b lbl_80257794 -lbl_80257790: -/* 80257790 002546D0 FC 20 00 90 */ fmr f1, f0 -lbl_80257794: -/* 80257794 002546D4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80257798 002546D8 C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 8025779C 002546DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802577A0 002546E0 40 81 00 28 */ ble lbl_802577C8 -/* 802577A4 002546E4 7F C3 F3 78 */ mr r3, r30 -/* 802577A8 002546E8 7F E4 FB 78 */ mr r4, r31 -/* 802577AC 002546EC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802577B0 002546F0 38 A0 00 08 */ li r5, 8 -/* 802577B4 002546F4 38 C0 00 00 */ li r6, 0 -/* 802577B8 002546F8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802577BC 002546FC 7D 89 03 A6 */ mtctr r12 -/* 802577C0 00254700 4E 80 04 21 */ bctrl -/* 802577C4 00254704 48 00 00 24 */ b lbl_802577E8 -lbl_802577C8: -/* 802577C8 00254708 7F C3 F3 78 */ mr r3, r30 -/* 802577CC 0025470C 7F E4 FB 78 */ mr r4, r31 -/* 802577D0 00254710 81 9E 00 00 */ lwz r12, 0(r30) -/* 802577D4 00254714 38 A0 00 01 */ li r5, 1 -/* 802577D8 00254718 38 C0 00 00 */ li r6, 0 -/* 802577DC 0025471C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802577E0 00254720 7D 89 03 A6 */ mtctr r12 -/* 802577E4 00254724 4E 80 04 21 */ bctrl -lbl_802577E8: -/* 802577E8 00254728 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802577EC 0025472C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802577F0 00254730 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 802577F4 00254734 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 802577F8 00254738 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 802577FC 0025473C CB A1 00 20 */ lfd f29, 0x20(r1) -/* 80257800 00254740 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80257804 00254744 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80257808 00254748 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025780C 0025474C 7C 08 03 A6 */ mtlr r0 -/* 80257810 00254750 38 21 00 50 */ addi r1, r1, 0x50 -/* 80257814 00254754 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game4Frog11StateAttackFPQ24Game9EnemyBase: -/* 80257818 00254758 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025781C 0025475C 7C 08 02 A6 */ mflr r0 -/* 80257820 00254760 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257824 00254764 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80257828 00254768 7C 9F 23 78 */ mr r31, r4 -/* 8025782C 0025476C 7F E3 FB 78 */ mr r3, r31 -/* 80257830 00254770 48 00 1C AD */ bl finishJumpEffect__Q34Game4Frog3ObjFv -/* 80257834 00254774 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80257838 00254778 7F E3 FB 78 */ mr r3, r31 -/* 8025783C 0025477C 60 00 00 40 */ ori r0, r0, 0x40 -/* 80257840 00254780 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80257844 00254784 4B EA A1 39 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80257848 00254788 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025784C 0025478C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80257850 00254790 7C 08 03 A6 */ mtlr r0 -/* 80257854 00254794 38 21 00 10 */ addi r1, r1, 0x10 -/* 80257858 00254798 4E 80 00 20 */ blr - -.global init__Q34Game4Frog9StateFailFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog9StateFailFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025785C 0025479C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80257860 002547A0 7C 08 02 A6 */ mflr r0 -/* 80257864 002547A4 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257868 002547A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025786C 002547AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80257870 002547B0 7C 9F 23 78 */ mr r31, r4 -/* 80257874 002547B4 7F E3 FB 78 */ mr r3, r31 -/* 80257878 002547B8 D0 04 02 0C */ stfs f0, 0x20c(r4) -/* 8025787C 002547BC D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80257880 002547C0 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80257884 002547C4 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80257888 002547C8 4B EA A1 45 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 8025788C 002547CC 7F E3 FB 78 */ mr r3, r31 -/* 80257890 002547D0 38 80 00 09 */ li r4, 9 -/* 80257894 002547D4 38 A0 00 00 */ li r5, 0 -/* 80257898 002547D8 4B EA D7 6D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025789C 002547DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802578A0 002547E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802578A4 002547E4 7C 08 03 A6 */ mtlr r0 -/* 802578A8 002547E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802578AC 002547EC 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog9StateFailFPQ24Game9EnemyBase -exec__Q34Game4Frog9StateFailFPQ24Game9EnemyBase: -/* 802578B0 002547F0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802578B4 002547F4 7C 08 02 A6 */ mflr r0 -/* 802578B8 002547F8 90 01 00 54 */ stw r0, 0x54(r1) -/* 802578BC 002547FC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 802578C0 00254800 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 802578C4 00254804 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 802578C8 00254808 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 802578CC 0025480C DB A1 00 20 */ stfd f29, 0x20(r1) -/* 802578D0 00254810 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 802578D4 00254814 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802578D8 00254818 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802578DC 0025481C 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 802578E0 00254820 7C 7E 1B 78 */ mr r30, r3 -/* 802578E4 00254824 7C 9F 23 78 */ mr r31, r4 -/* 802578E8 00254828 88 05 00 24 */ lbz r0, 0x24(r5) -/* 802578EC 0025482C 28 00 00 00 */ cmplwi r0, 0 -/* 802578F0 00254830 41 82 01 38 */ beq lbl_80257A28 -/* 802578F4 00254834 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 802578F8 00254838 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802578FC 0025483C 40 82 01 2C */ bne lbl_80257A28 -/* 80257900 00254840 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80257904 00254844 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257908 00254848 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025790C 0025484C 4C 40 13 82 */ cror 2, 0, 2 -/* 80257910 00254850 40 82 00 20 */ bne lbl_80257930 -/* 80257914 00254854 81 83 00 00 */ lwz r12, 0(r3) -/* 80257918 00254858 38 A0 00 00 */ li r5, 0 -/* 8025791C 0025485C 38 C0 00 00 */ li r6, 0 -/* 80257920 00254860 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80257924 00254864 7D 89 03 A6 */ mtctr r12 -/* 80257928 00254868 4E 80 04 21 */ bctrl -/* 8025792C 0025486C 48 00 00 FC */ b lbl_80257A28 -lbl_80257930: -/* 80257930 00254870 7F E3 FB 78 */ mr r3, r31 -/* 80257934 00254874 38 80 00 00 */ li r4, 0 -/* 80257938 00254878 4B EB CD 21 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 8025793C 0025487C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80257940 00254880 41 82 00 28 */ beq lbl_80257968 -/* 80257944 00254884 7F C3 F3 78 */ mr r3, r30 -/* 80257948 00254888 7F E4 FB 78 */ mr r4, r31 -/* 8025794C 0025488C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80257950 00254890 38 A0 00 03 */ li r5, 3 -/* 80257954 00254894 38 C0 00 00 */ li r6, 0 -/* 80257958 00254898 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025795C 0025489C 7D 89 03 A6 */ mtctr r12 -/* 80257960 002548A0 4E 80 04 21 */ bctrl -/* 80257964 002548A4 48 00 00 C4 */ b lbl_80257A28 -lbl_80257968: -/* 80257968 002548A8 7F E4 FB 78 */ mr r4, r31 -/* 8025796C 002548AC 38 61 00 08 */ addi r3, r1, 8 -/* 80257970 002548B0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80257974 002548B4 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 80257978 002548B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025797C 002548BC C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 80257980 002548C0 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 80257984 002548C4 7D 89 03 A6 */ mtctr r12 -/* 80257988 002548C8 4E 80 04 21 */ bctrl -/* 8025798C 002548CC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80257990 002548D0 C0 41 00 08 */ lfs f2, 8(r1) -/* 80257994 002548D4 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 80257998 002548D8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8025799C 002548DC EC 42 F8 28 */ fsubs f2, f2, f31 -/* 802579A0 002548E0 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 802579A4 002548E4 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 802579A8 002548E8 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 802579AC 002548EC EC 81 00 72 */ fmuls f4, f1, f1 -/* 802579B0 002548F0 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 802579B4 002548F4 EC 24 08 2A */ fadds f1, f4, f1 -/* 802579B8 002548F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802579BC 002548FC 40 81 00 14 */ ble lbl_802579D0 -/* 802579C0 00254900 40 81 00 14 */ ble lbl_802579D4 -/* 802579C4 00254904 FC 00 08 34 */ frsqrte f0, f1 -/* 802579C8 00254908 EC 20 00 72 */ fmuls f1, f0, f1 -/* 802579CC 0025490C 48 00 00 08 */ b lbl_802579D4 -lbl_802579D0: -/* 802579D0 00254910 FC 20 00 90 */ fmr f1, f0 -lbl_802579D4: -/* 802579D4 00254914 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802579D8 00254918 C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 802579DC 0025491C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802579E0 00254920 40 81 00 28 */ ble lbl_80257A08 -/* 802579E4 00254924 7F C3 F3 78 */ mr r3, r30 -/* 802579E8 00254928 7F E4 FB 78 */ mr r4, r31 -/* 802579EC 0025492C 81 9E 00 00 */ lwz r12, 0(r30) -/* 802579F0 00254930 38 A0 00 08 */ li r5, 8 -/* 802579F4 00254934 38 C0 00 00 */ li r6, 0 -/* 802579F8 00254938 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802579FC 0025493C 7D 89 03 A6 */ mtctr r12 -/* 80257A00 00254940 4E 80 04 21 */ bctrl -/* 80257A04 00254944 48 00 00 24 */ b lbl_80257A28 -lbl_80257A08: -/* 80257A08 00254948 7F C3 F3 78 */ mr r3, r30 -/* 80257A0C 0025494C 7F E4 FB 78 */ mr r4, r31 -/* 80257A10 00254950 81 9E 00 00 */ lwz r12, 0(r30) -/* 80257A14 00254954 38 A0 00 01 */ li r5, 1 -/* 80257A18 00254958 38 C0 00 00 */ li r6, 0 -/* 80257A1C 0025495C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80257A20 00254960 7D 89 03 A6 */ mtctr r12 -/* 80257A24 00254964 4E 80 04 21 */ bctrl -lbl_80257A28: -/* 80257A28 00254968 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80257A2C 0025496C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80257A30 00254970 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80257A34 00254974 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80257A38 00254978 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 80257A3C 0025497C CB A1 00 20 */ lfd f29, 0x20(r1) -/* 80257A40 00254980 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80257A44 00254984 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80257A48 00254988 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80257A4C 0025498C 7C 08 03 A6 */ mtlr r0 -/* 80257A50 00254990 38 21 00 50 */ addi r1, r1, 0x50 -/* 80257A54 00254994 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog9StateFailFPQ24Game9EnemyBase -cleanup__Q34Game4Frog9StateFailFPQ24Game9EnemyBase: -/* 80257A58 00254998 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80257A5C 0025499C 7C 08 02 A6 */ mflr r0 -/* 80257A60 002549A0 7C 83 23 78 */ mr r3, r4 -/* 80257A64 002549A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257A68 002549A8 4B EA 9F 15 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80257A6C 002549AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80257A70 002549B0 7C 08 03 A6 */ mtlr r0 -/* 80257A74 002549B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80257A78 002549B8 4E 80 00 20 */ blr - -.global init__Q34Game4Frog15StateTurnToHomeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog15StateTurnToHomeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80257A7C 002549BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80257A80 002549C0 7C 08 02 A6 */ mflr r0 -/* 80257A84 002549C4 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257A88 002549C8 7C 83 23 78 */ mr r3, r4 -/* 80257A8C 002549CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257A90 002549D0 38 00 FF FF */ li r0, -1 -/* 80257A94 002549D4 38 A0 00 00 */ li r5, 0 -/* 80257A98 002549D8 90 04 02 D4 */ stw r0, 0x2d4(r4) -/* 80257A9C 002549DC 38 80 00 04 */ li r4, 4 -/* 80257AA0 002549E0 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80257AA4 002549E4 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80257AA8 002549E8 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80257AAC 002549EC 4B EA D5 59 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80257AB0 002549F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80257AB4 002549F4 7C 08 03 A6 */ mtlr r0 -/* 80257AB8 002549F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80257ABC 002549FC 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog15StateTurnToHomeFPQ24Game9EnemyBase -exec__Q34Game4Frog15StateTurnToHomeFPQ24Game9EnemyBase: -/* 80257AC0 00254A00 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80257AC4 00254A04 7C 08 02 A6 */ mflr r0 -/* 80257AC8 00254A08 90 01 00 84 */ stw r0, 0x84(r1) -/* 80257ACC 00254A0C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80257AD0 00254A10 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80257AD4 00254A14 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80257AD8 00254A18 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80257ADC 00254A1C DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80257AE0 00254A20 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80257AE4 00254A24 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 80257AE8 00254A28 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 80257AEC 00254A2C DB 61 00 30 */ stfd f27, 0x30(r1) -/* 80257AF0 00254A30 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 -/* 80257AF4 00254A34 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80257AF8 00254A38 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80257AFC 00254A3C 81 84 00 00 */ lwz r12, 0(r4) -/* 80257B00 00254A40 7C 7E 1B 78 */ mr r30, r3 -/* 80257B04 00254A44 80 A4 00 C0 */ lwz r5, 0xc0(r4) -/* 80257B08 00254A48 7C 9F 23 78 */ mr r31, r4 -/* 80257B0C 00254A4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80257B10 00254A50 38 61 00 14 */ addi r3, r1, 0x14 -/* 80257B14 00254A54 C3 E4 01 98 */ lfs f31, 0x198(r4) -/* 80257B18 00254A58 C3 64 01 A0 */ lfs f27, 0x1a0(r4) -/* 80257B1C 00254A5C C3 85 05 8C */ lfs f28, 0x58c(r5) -/* 80257B20 00254A60 C3 A5 03 34 */ lfs f29, 0x334(r5) -/* 80257B24 00254A64 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80257B28 00254A68 7D 89 03 A6 */ mtctr r12 -/* 80257B2C 00254A6C 4E 80 04 21 */ bctrl -/* 80257B30 00254A70 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 80257B34 00254A74 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80257B38 00254A78 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80257B3C 00254A7C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80257B40 00254A80 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 80257B44 00254A84 EC 3F 20 28 */ fsubs f1, f31, f4 -/* 80257B48 00254A88 EC 5B 00 28 */ fsubs f2, f27, f0 -/* 80257B4C 00254A8C D0 81 00 08 */ stfs f4, 8(r1) -/* 80257B50 00254A90 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80257B54 00254A94 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80257B58 00254A98 4B DD D5 B1 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80257B5C 00254A9C 48 1B A0 75 */ bl roundAng__Ff -/* 80257B60 00254AA0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80257B64 00254AA4 FF E0 08 90 */ fmr f31, f1 -/* 80257B68 00254AA8 7F E3 FB 78 */ mr r3, r31 -/* 80257B6C 00254AAC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80257B70 00254AB0 7D 89 03 A6 */ mtctr r12 -/* 80257B74 00254AB4 4E 80 04 21 */ bctrl -/* 80257B78 00254AB8 FC 40 08 90 */ fmr f2, f1 -/* 80257B7C 00254ABC FC 20 F8 90 */ fmr f1, f31 -/* 80257B80 00254AC0 48 1B A0 7D */ bl angDist__Fff -/* 80257B84 00254AC4 FF E0 08 90 */ fmr f31, f1 -/* 80257B88 00254AC8 C0 02 C7 2C */ lfs f0, lbl_8051AA8C@sda21(r2) -/* 80257B8C 00254ACC C0 22 C7 28 */ lfs f1, lbl_8051AA88@sda21(r2) -/* 80257B90 00254AD0 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80257B94 00254AD4 EF BF 07 B2 */ fmuls f29, f31, f30 -/* 80257B98 00254AD8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80257B9C 00254ADC FC 00 EA 10 */ fabs f0, f29 -/* 80257BA0 00254AE0 FC 00 00 18 */ frsp f0, f0 -/* 80257BA4 00254AE4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80257BA8 00254AE8 40 81 00 1C */ ble lbl_80257BC4 -/* 80257BAC 00254AEC C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257BB0 00254AF0 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80257BB4 00254AF4 40 81 00 0C */ ble lbl_80257BC0 -/* 80257BB8 00254AF8 FF A0 08 90 */ fmr f29, f1 -/* 80257BBC 00254AFC 48 00 00 08 */ b lbl_80257BC4 -lbl_80257BC0: -/* 80257BC0 00254B00 FF A0 08 50 */ fneg f29, f1 -lbl_80257BC4: -/* 80257BC4 00254B04 7F E3 FB 78 */ mr r3, r31 -/* 80257BC8 00254B08 81 9F 00 00 */ lwz r12, 0(r31) -/* 80257BCC 00254B0C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80257BD0 00254B10 7D 89 03 A6 */ mtctr r12 -/* 80257BD4 00254B14 4E 80 04 21 */ bctrl -/* 80257BD8 00254B18 EC 3D 08 2A */ fadds f1, f29, f1 -/* 80257BDC 00254B1C 48 1B 9F F5 */ bl roundAng__Ff -/* 80257BE0 00254B20 C0 02 C7 2C */ lfs f0, lbl_8051AA8C@sda21(r2) -/* 80257BE4 00254B24 FC 40 FA 10 */ fabs f2, f31 -/* 80257BE8 00254B28 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80257BEC 00254B2C EC 00 07 32 */ fmuls f0, f0, f28 -/* 80257BF0 00254B30 C0 22 C7 28 */ lfs f1, lbl_8051AA88@sda21(r2) -/* 80257BF4 00254B34 C0 7F 01 FC */ lfs f3, 0x1fc(r31) -/* 80257BF8 00254B38 FC 40 10 18 */ frsp f2, f2 -/* 80257BFC 00254B3C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80257C00 00254B40 D0 7F 01 A8 */ stfs f3, 0x1a8(r31) -/* 80257C04 00254B44 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80257C08 00254B48 4C 40 13 82 */ cror 2, 0, 2 -/* 80257C0C 00254B4C 40 82 00 14 */ bne lbl_80257C20 -/* 80257C10 00254B50 38 00 00 09 */ li r0, 9 -/* 80257C14 00254B54 7F E3 FB 78 */ mr r3, r31 -/* 80257C18 00254B58 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257C1C 00254B5C 4B EA D6 85 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80257C20: -/* 80257C20 00254B60 7F E3 FB 78 */ mr r3, r31 -/* 80257C24 00254B64 38 80 00 00 */ li r4, 0 -/* 80257C28 00254B68 4B EB CA 31 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80257C2C 00254B6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80257C30 00254B70 41 82 00 14 */ beq lbl_80257C44 -/* 80257C34 00254B74 38 00 00 03 */ li r0, 3 -/* 80257C38 00254B78 7F E3 FB 78 */ mr r3, r31 -/* 80257C3C 00254B7C 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257C40 00254B80 4B EA D6 61 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80257C44: -/* 80257C44 00254B84 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80257C48 00254B88 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257C4C 00254B8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257C50 00254B90 4C 40 13 82 */ cror 2, 0, 2 -/* 80257C54 00254B94 40 82 00 14 */ bne lbl_80257C68 -/* 80257C58 00254B98 38 00 00 00 */ li r0, 0 -/* 80257C5C 00254B9C 7F E3 FB 78 */ mr r3, r31 -/* 80257C60 00254BA0 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257C64 00254BA4 4B EA D6 3D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80257C68: -/* 80257C68 00254BA8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80257C6C 00254BAC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80257C70 00254BB0 28 00 00 00 */ cmplwi r0, 0 -/* 80257C74 00254BB4 41 82 00 30 */ beq lbl_80257CA4 -/* 80257C78 00254BB8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80257C7C 00254BBC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80257C80 00254BC0 40 82 00 24 */ bne lbl_80257CA4 -/* 80257C84 00254BC4 7F C3 F3 78 */ mr r3, r30 -/* 80257C88 00254BC8 7F E4 FB 78 */ mr r4, r31 -/* 80257C8C 00254BCC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80257C90 00254BD0 38 C0 00 00 */ li r6, 0 -/* 80257C94 00254BD4 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 80257C98 00254BD8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80257C9C 00254BDC 7D 89 03 A6 */ mtctr r12 -/* 80257CA0 00254BE0 4E 80 04 21 */ bctrl -lbl_80257CA4: -/* 80257CA4 00254BE4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80257CA8 00254BE8 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80257CAC 00254BEC E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80257CB0 00254BF0 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80257CB4 00254BF4 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80257CB8 00254BF8 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80257CBC 00254BFC E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 80257CC0 00254C00 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 80257CC4 00254C04 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 -/* 80257CC8 00254C08 CB 61 00 30 */ lfd f27, 0x30(r1) -/* 80257CCC 00254C0C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80257CD0 00254C10 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80257CD4 00254C14 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80257CD8 00254C18 7C 08 03 A6 */ mtlr r0 -/* 80257CDC 00254C1C 38 21 00 80 */ addi r1, r1, 0x80 -/* 80257CE0 00254C20 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog15StateTurnToHomeFPQ24Game9EnemyBase -cleanup__Q34Game4Frog15StateTurnToHomeFPQ24Game9EnemyBase: -/* 80257CE4 00254C24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80257CE8 00254C28 7C 08 02 A6 */ mflr r0 -/* 80257CEC 00254C2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80257CF0 00254C30 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80257CF4 00254C34 7C 9F 23 78 */ mr r31, r4 -/* 80257CF8 00254C38 80 04 02 D4 */ lwz r0, 0x2d4(r4) -/* 80257CFC 00254C3C 2C 00 00 03 */ cmpwi r0, 3 -/* 80257D00 00254C40 40 82 00 30 */ bne lbl_80257D30 -/* 80257D04 00254C44 81 84 00 00 */ lwz r12, 0(r4) -/* 80257D08 00254C48 38 61 00 08 */ addi r3, r1, 8 -/* 80257D0C 00254C4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80257D10 00254C50 7D 89 03 A6 */ mtctr r12 -/* 80257D14 00254C54 4E 80 04 21 */ bctrl -/* 80257D18 00254C58 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80257D1C 00254C5C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80257D20 00254C60 C0 01 00 08 */ lfs f0, 8(r1) -/* 80257D24 00254C64 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 80257D28 00254C68 D0 3F 02 CC */ stfs f1, 0x2cc(r31) -/* 80257D2C 00254C6C D0 5F 02 D0 */ stfs f2, 0x2d0(r31) -lbl_80257D30: -/* 80257D30 00254C70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80257D34 00254C74 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80257D38 00254C78 7C 08 03 A6 */ mtlr r0 -/* 80257D3C 00254C7C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80257D40 00254C80 4E 80 00 20 */ blr - -.global init__Q34Game4Frog11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Frog11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80257D44 00254C84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80257D48 00254C88 7C 08 02 A6 */ mflr r0 -/* 80257D4C 00254C8C 38 A0 FF FF */ li r5, -1 -/* 80257D50 00254C90 7C 83 23 78 */ mr r3, r4 -/* 80257D54 00254C94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80257D58 00254C98 38 00 00 00 */ li r0, 0 -/* 80257D5C 00254C9C C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257D60 00254CA0 90 A4 02 D4 */ stw r5, 0x2d4(r4) -/* 80257D64 00254CA4 38 80 00 03 */ li r4, 3 -/* 80257D68 00254CA8 38 A0 00 00 */ li r5, 0 -/* 80257D6C 00254CAC 98 03 02 D8 */ stb r0, 0x2d8(r3) -/* 80257D70 00254CB0 D0 03 02 C0 */ stfs f0, 0x2c0(r3) -/* 80257D74 00254CB4 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80257D78 00254CB8 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80257D7C 00254CBC 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80257D80 00254CC0 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80257D84 00254CC4 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80257D88 00254CC8 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80257D8C 00254CCC 4B EA D2 79 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80257D90 00254CD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80257D94 00254CD4 7C 08 03 A6 */ mtlr r0 -/* 80257D98 00254CD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80257D9C 00254CDC 4E 80 00 20 */ blr - -.global exec__Q34Game4Frog11StateGoHomeFPQ24Game9EnemyBase -exec__Q34Game4Frog11StateGoHomeFPQ24Game9EnemyBase: -/* 80257DA0 00254CE0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80257DA4 00254CE4 7C 08 02 A6 */ mflr r0 -/* 80257DA8 00254CE8 90 01 00 54 */ stw r0, 0x54(r1) -/* 80257DAC 00254CEC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80257DB0 00254CF0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80257DB4 00254CF4 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80257DB8 00254CF8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80257DBC 00254CFC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80257DC0 00254D00 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80257DC4 00254D04 88 04 02 D8 */ lbz r0, 0x2d8(r4) -/* 80257DC8 00254D08 7C 7E 1B 78 */ mr r30, r3 -/* 80257DCC 00254D0C 7C 9F 23 78 */ mr r31, r4 -/* 80257DD0 00254D10 28 00 00 00 */ cmplwi r0, 0 -/* 80257DD4 00254D14 41 82 00 B0 */ beq lbl_80257E84 -/* 80257DD8 00254D18 81 84 00 00 */ lwz r12, 0(r4) -/* 80257DDC 00254D1C 38 61 00 08 */ addi r3, r1, 8 -/* 80257DE0 00254D20 81 8C 00 08 */ lwz r12, 8(r12) -/* 80257DE4 00254D24 7D 89 03 A6 */ mtctr r12 -/* 80257DE8 00254D28 4E 80 04 21 */ bctrl -/* 80257DEC 00254D2C C0 3F 01 9C */ lfs f1, 0x19c(r31) -/* 80257DF0 00254D30 7F E3 FB 78 */ mr r3, r31 -/* 80257DF4 00254D34 C0 5F 01 A0 */ lfs f2, 0x1a0(r31) -/* 80257DF8 00254D38 38 81 00 14 */ addi r4, r1, 0x14 -/* 80257DFC 00254D3C C0 1F 01 98 */ lfs f0, 0x198(r31) -/* 80257E00 00254D40 C3 E1 00 08 */ lfs f31, 8(r1) -/* 80257E04 00254D44 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80257E08 00254D48 C3 C1 00 10 */ lfs f30, 0x10(r1) -/* 80257E0C 00254D4C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80257E10 00254D50 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80257E14 00254D54 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80257E18 00254D58 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 80257E1C 00254D5C C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 80257E20 00254D60 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 80257E24 00254D64 4B EB D7 B9 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 80257E28 00254D68 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80257E2C 00254D6C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80257E30 00254D70 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 80257E34 00254D74 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80257E38 00254D78 EC 7F 08 28 */ fsubs f3, f31, f1 -/* 80257E3C 00254D7C C0 03 03 84 */ lfs f0, 0x384(r3) -/* 80257E40 00254D80 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 80257E44 00254D84 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80257E48 00254D88 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 80257E4C 00254D8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257E50 00254D90 40 80 00 18 */ bge lbl_80257E68 -/* 80257E54 00254D94 38 00 00 01 */ li r0, 1 -/* 80257E58 00254D98 7F E3 FB 78 */ mr r3, r31 -/* 80257E5C 00254D9C 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257E60 00254DA0 4B EA D4 41 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80257E64 00254DA4 48 00 00 30 */ b lbl_80257E94 -lbl_80257E68: -/* 80257E68 00254DA8 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80257E6C 00254DAC C0 02 C7 38 */ lfs f0, lbl_8051AA98@sda21(r2) -/* 80257E70 00254DB0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257E74 00254DB4 40 81 00 20 */ ble lbl_80257E94 -/* 80257E78 00254DB8 7F E3 FB 78 */ mr r3, r31 -/* 80257E7C 00254DBC 48 00 12 49 */ bl resetHomePosition__Q34Game4Frog3ObjFv -/* 80257E80 00254DC0 48 00 00 14 */ b lbl_80257E94 -lbl_80257E84: -/* 80257E84 00254DC4 C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257E88 00254DC8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80257E8C 00254DCC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80257E90 00254DD0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_80257E94: -/* 80257E94 00254DD4 7F E3 FB 78 */ mr r3, r31 -/* 80257E98 00254DD8 38 80 00 00 */ li r4, 0 -/* 80257E9C 00254DDC 4B EB C7 BD */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80257EA0 00254DE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80257EA4 00254DE4 41 82 00 14 */ beq lbl_80257EB8 -/* 80257EA8 00254DE8 38 00 00 03 */ li r0, 3 -/* 80257EAC 00254DEC 7F E3 FB 78 */ mr r3, r31 -/* 80257EB0 00254DF0 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257EB4 00254DF4 4B EA D3 ED */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80257EB8: -/* 80257EB8 00254DF8 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80257EBC 00254DFC C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80257EC0 00254E00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80257EC4 00254E04 4C 40 13 82 */ cror 2, 0, 2 -/* 80257EC8 00254E08 40 82 00 14 */ bne lbl_80257EDC -/* 80257ECC 00254E0C 38 00 00 00 */ li r0, 0 -/* 80257ED0 00254E10 7F E3 FB 78 */ mr r3, r31 -/* 80257ED4 00254E14 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80257ED8 00254E18 4B EA D3 C9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80257EDC: -/* 80257EDC 00254E1C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80257EE0 00254E20 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80257EE4 00254E24 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80257EE8 00254E28 EC 01 00 2A */ fadds f0, f1, f0 -/* 80257EEC 00254E2C D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80257EF0 00254E30 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80257EF4 00254E34 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80257EF8 00254E38 28 00 00 00 */ cmplwi r0, 0 -/* 80257EFC 00254E3C 41 82 00 7C */ beq lbl_80257F78 -/* 80257F00 00254E40 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80257F04 00254E44 28 00 00 02 */ cmplwi r0, 2 -/* 80257F08 00254E48 40 82 00 1C */ bne lbl_80257F24 -/* 80257F0C 00254E4C 38 00 00 01 */ li r0, 1 -/* 80257F10 00254E50 98 1F 02 D8 */ stb r0, 0x2d8(r31) -/* 80257F14 00254E54 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80257F18 00254E58 64 00 00 20 */ oris r0, r0, 0x20 -/* 80257F1C 00254E5C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80257F20 00254E60 48 00 00 58 */ b lbl_80257F78 -lbl_80257F24: -/* 80257F24 00254E64 28 00 00 03 */ cmplwi r0, 3 -/* 80257F28 00254E68 40 82 00 28 */ bne lbl_80257F50 -/* 80257F2C 00254E6C 38 00 00 00 */ li r0, 0 -/* 80257F30 00254E70 C0 22 C7 3C */ lfs f1, lbl_8051AA9C@sda21(r2) -/* 80257F34 00254E74 98 1F 02 D8 */ stb r0, 0x2d8(r31) -/* 80257F38 00254E78 7F E3 FB 78 */ mr r3, r31 -/* 80257F3C 00254E7C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80257F40 00254E80 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80257F44 00254E84 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80257F48 00254E88 48 00 15 C5 */ bl createDownEffect__Q34Game4Frog3ObjFf -/* 80257F4C 00254E8C 48 00 00 2C */ b lbl_80257F78 -lbl_80257F50: -/* 80257F50 00254E90 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80257F54 00254E94 40 82 00 24 */ bne lbl_80257F78 -/* 80257F58 00254E98 7F C3 F3 78 */ mr r3, r30 -/* 80257F5C 00254E9C 7F E4 FB 78 */ mr r4, r31 -/* 80257F60 00254EA0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80257F64 00254EA4 38 C0 00 00 */ li r6, 0 -/* 80257F68 00254EA8 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 80257F6C 00254EAC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80257F70 00254EB0 7D 89 03 A6 */ mtctr r12 -/* 80257F74 00254EB4 4E 80 04 21 */ bctrl -lbl_80257F78: -/* 80257F78 00254EB8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80257F7C 00254EBC CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80257F80 00254EC0 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80257F84 00254EC4 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80257F88 00254EC8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80257F8C 00254ECC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80257F90 00254ED0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80257F94 00254ED4 7C 08 03 A6 */ mtlr r0 -/* 80257F98 00254ED8 38 21 00 50 */ addi r1, r1, 0x50 -/* 80257F9C 00254EDC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Frog11StateGoHomeFPQ24Game9EnemyBase -cleanup__Q34Game4Frog11StateGoHomeFPQ24Game9EnemyBase: -/* 80257FA0 00254EE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80257FA4 00254EE4 7C 08 02 A6 */ mflr r0 -/* 80257FA8 00254EE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80257FAC 00254EEC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80257FB0 00254EF0 7C 9F 23 78 */ mr r31, r4 -/* 80257FB4 00254EF4 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80257FB8 00254EF8 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80257FBC 00254EFC 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80257FC0 00254F00 80 04 02 D4 */ lwz r0, 0x2d4(r4) -/* 80257FC4 00254F04 2C 00 00 03 */ cmpwi r0, 3 -/* 80257FC8 00254F08 40 82 00 D0 */ bne lbl_80258098 -/* 80257FCC 00254F0C 81 84 00 00 */ lwz r12, 0(r4) -/* 80257FD0 00254F10 38 61 00 08 */ addi r3, r1, 8 -/* 80257FD4 00254F14 81 8C 00 08 */ lwz r12, 8(r12) -/* 80257FD8 00254F18 7D 89 03 A6 */ mtctr r12 -/* 80257FDC 00254F1C 4E 80 04 21 */ bctrl -/* 80257FE0 00254F20 C1 41 00 08 */ lfs f10, 8(r1) -/* 80257FE4 00254F24 C0 9F 01 98 */ lfs f4, 0x198(r31) -/* 80257FE8 00254F28 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 80257FEC 00254F2C C0 DF 01 A0 */ lfs f6, 0x1a0(r31) -/* 80257FF0 00254F30 EC E4 50 28 */ fsubs f7, f4, f10 -/* 80257FF4 00254F34 C1 02 C7 08 */ lfs f8, lbl_8051AA68@sda21(r2) -/* 80257FF8 00254F38 ED 26 18 28 */ fsubs f9, f6, f3 -/* 80257FFC 00254F3C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80258000 00254F40 EC 07 41 FA */ fmadds f0, f7, f7, f8 -/* 80258004 00254F44 C0 BF 01 9C */ lfs f5, 0x19c(r31) -/* 80258008 00254F48 EC 29 02 72 */ fmuls f1, f9, f9 -/* 8025800C 00254F4C EC 21 00 2A */ fadds f1, f1, f0 -/* 80258010 00254F50 FC 01 40 40 */ fcmpo cr0, f1, f8 -/* 80258014 00254F54 40 81 00 14 */ ble lbl_80258028 -/* 80258018 00254F58 40 81 00 14 */ ble lbl_8025802C -/* 8025801C 00254F5C FC 00 08 34 */ frsqrte f0, f1 -/* 80258020 00254F60 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80258024 00254F64 48 00 00 08 */ b lbl_8025802C -lbl_80258028: -/* 80258028 00254F68 FC 20 40 90 */ fmr f1, f8 -lbl_8025802C: -/* 8025802C 00254F6C C0 02 C7 08 */ lfs f0, lbl_8051AA68@sda21(r2) -/* 80258030 00254F70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80258034 00254F74 40 81 00 1C */ ble lbl_80258050 -/* 80258038 00254F78 C0 02 C7 10 */ lfs f0, lbl_8051AA70@sda21(r2) -/* 8025803C 00254F7C EC 00 08 24 */ fdivs f0, f0, f1 -/* 80258040 00254F80 EC E7 00 32 */ fmuls f7, f7, f0 -/* 80258044 00254F84 ED 08 00 32 */ fmuls f8, f8, f0 -/* 80258048 00254F88 ED 29 00 32 */ fmuls f9, f9, f0 -/* 8025804C 00254F8C 48 00 00 08 */ b lbl_80258054 -lbl_80258050: -/* 80258050 00254F90 FC 20 00 90 */ fmr f1, f0 -lbl_80258054: -/* 80258054 00254F94 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80258058 00254F98 C0 03 05 64 */ lfs f0, 0x564(r3) -/* 8025805C 00254F9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80258060 00254FA0 40 80 00 14 */ bge lbl_80258074 -/* 80258064 00254FA4 D0 9F 02 C8 */ stfs f4, 0x2c8(r31) -/* 80258068 00254FA8 D0 BF 02 CC */ stfs f5, 0x2cc(r31) -/* 8025806C 00254FAC D0 DF 02 D0 */ stfs f6, 0x2d0(r31) -/* 80258070 00254FB0 48 00 00 28 */ b lbl_80258098 -lbl_80258074: -/* 80258074 00254FB4 EC E7 00 32 */ fmuls f7, f7, f0 -/* 80258078 00254FB8 ED 08 00 32 */ fmuls f8, f8, f0 -/* 8025807C 00254FBC ED 29 00 32 */ fmuls f9, f9, f0 -/* 80258080 00254FC0 EC E7 50 2A */ fadds f7, f7, f10 -/* 80258084 00254FC4 ED 08 10 2A */ fadds f8, f8, f2 -/* 80258088 00254FC8 ED 29 18 2A */ fadds f9, f9, f3 -/* 8025808C 00254FCC D0 FF 02 C8 */ stfs f7, 0x2c8(r31) -/* 80258090 00254FD0 D1 1F 02 CC */ stfs f8, 0x2cc(r31) -/* 80258094 00254FD4 D1 3F 02 D0 */ stfs f9, 0x2d0(r31) -lbl_80258098: -/* 80258098 00254FD8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025809C 00254FDC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802580A0 00254FE0 7C 08 03 A6 */ mtlr r0 -/* 802580A4 00254FE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802580A8 00254FE8 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game4Frog14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game4Frog14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 802580AC 00254FEC 90 83 00 20 */ stw r4, 0x20(r3) -/* 802580B0 00254FF0 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Frog14ProperAnimatorFi -getAnimator__Q34Game4Frog14ProperAnimatorFi: -/* 802580B4 00254FF4 38 63 00 10 */ addi r3, r3, 0x10 -/* 802580B8 00254FF8 4E 80 00 20 */ blr - -.global __dt__Q34Game4Frog14ProperAnimatorFv -__dt__Q34Game4Frog14ProperAnimatorFv: -/* 802580BC 00254FFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802580C0 00255000 7C 08 02 A6 */ mflr r0 -/* 802580C4 00255004 90 01 00 14 */ stw r0, 0x14(r1) -/* 802580C8 00255008 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802580CC 0025500C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802580D0 00255010 41 82 00 30 */ beq lbl_80258100 -/* 802580D4 00255014 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog14ProperAnimator@ha -/* 802580D8 00255018 38 03 23 38 */ addi r0, r3, __vt__Q34Game4Frog14ProperAnimator@l -/* 802580DC 0025501C 90 1F 00 00 */ stw r0, 0(r31) -/* 802580E0 00255020 41 82 00 10 */ beq lbl_802580F0 -/* 802580E4 00255024 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 802580E8 00255028 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 802580EC 0025502C 90 1F 00 00 */ stw r0, 0(r31) -lbl_802580F0: -/* 802580F0 00255030 7C 80 07 35 */ extsh. r0, r4 -/* 802580F4 00255034 40 81 00 0C */ ble lbl_80258100 -/* 802580F8 00255038 7F E3 FB 78 */ mr r3, r31 -/* 802580FC 0025503C 4B DC BF B9 */ bl __dl__FPv -lbl_80258100: -/* 80258100 00255040 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258104 00255044 7F E3 FB 78 */ mr r3, r31 -/* 80258108 00255048 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025810C 0025504C 7C 08 03 A6 */ mtlr r0 -/* 80258110 00255050 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258114 00255054 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Frog14ProperAnimatorFv -getAnimator__Q34Game4Frog14ProperAnimatorFv: -/* 80258118 00255058 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025811C 0025505C 4E 80 00 20 */ blr - -.global __ct__Q34Game4Frog3MgrFiUc -__ct__Q34Game4Frog3MgrFiUc: -/* 80258120 00255060 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258124 00255064 7C 08 02 A6 */ mflr r0 -/* 80258128 00255068 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025812C 0025506C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258130 00255070 7C 7F 1B 78 */ mr r31, r3 -/* 80258134 00255074 4B ED 6B 61 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80258138 00255078 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog3Mgr@ha -/* 8025813C 0025507C 3C 80 80 48 */ lis r4, lbl_80484D2C@ha -/* 80258140 00255080 38 A3 23 6C */ addi r5, r3, __vt__Q34Game4Frog3Mgr@l -/* 80258144 00255084 7F E3 FB 78 */ mr r3, r31 -/* 80258148 00255088 90 BF 00 00 */ stw r5, 0(r31) -/* 8025814C 0025508C 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80258150 00255090 38 04 4D 2C */ addi r0, r4, lbl_80484D2C@l -/* 80258154 00255094 90 BF 00 04 */ stw r5, 4(r31) -/* 80258158 00255098 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8025815C 0025509C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258160 002550A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258164 002550A4 7C 08 03 A6 */ mtlr r0 -/* 80258168 002550A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025816C 002550AC 4E 80 00 20 */ blr - -.global doAlloc__Q34Game4Frog3MgrFv -doAlloc__Q34Game4Frog3MgrFv: -/* 80258170 002550B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258174 002550B4 7C 08 02 A6 */ mflr r0 -/* 80258178 002550B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025817C 002550BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258180 002550C0 7C 7F 1B 78 */ mr r31, r3 -/* 80258184 002550C4 38 60 08 A8 */ li r3, 0x8a8 -/* 80258188 002550C8 4B DC BD 1D */ bl __nw__FUl -/* 8025818C 002550CC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80258190 002550D0 41 82 00 0C */ beq lbl_8025819C -/* 80258194 002550D4 48 00 00 25 */ bl __ct__Q34Game4Frog5ParmsFv -/* 80258198 002550D8 7C 64 1B 78 */ mr r4, r3 -lbl_8025819C: -/* 8025819C 002550DC 7F E3 FB 78 */ mr r3, r31 -/* 802581A0 002550E0 4B ED 76 FD */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 802581A4 002550E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802581A8 002550E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802581AC 002550EC 7C 08 03 A6 */ mtlr r0 -/* 802581B0 002550F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802581B4 002550F4 4E 80 00 20 */ blr - -.global __ct__Q34Game4Frog5ParmsFv -__ct__Q34Game4Frog5ParmsFv: -/* 802581B8 002550F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802581BC 002550FC 7C 08 02 A6 */ mflr r0 -/* 802581C0 00255100 3C 80 80 48 */ lis r4, lbl_80484D20@ha -/* 802581C4 00255104 90 01 00 14 */ stw r0, 0x14(r1) -/* 802581C8 00255108 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802581CC 0025510C 7C 7F 1B 78 */ mr r31, r3 -/* 802581D0 00255110 93 C1 00 08 */ stw r30, 8(r1) -/* 802581D4 00255114 3B C4 4D 20 */ addi r30, r4, lbl_80484D20@l -/* 802581D8 00255118 4B EB 15 C5 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 802581DC 0025511C 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog5Parms@ha -/* 802581E0 00255120 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 802581E4 00255124 38 03 23 60 */ addi r0, r3, __vt__Q34Game4Frog5Parms@l -/* 802581E8 00255128 38 9F 08 A4 */ addi r4, r31, 0x8a4 -/* 802581EC 0025512C 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 802581F0 00255130 38 E0 00 00 */ li r7, 0 -/* 802581F4 00255134 38 1E 00 24 */ addi r0, r30, 0x24 -/* 802581F8 00255138 38 7F 08 04 */ addi r3, r31, 0x804 -/* 802581FC 0025513C 90 9F 07 F8 */ stw r4, 0x7f8(r31) -/* 80258200 00255140 38 9F 07 F8 */ addi r4, r31, 0x7f8 -/* 80258204 00255144 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80258208 00255148 38 DE 00 30 */ addi r6, r30, 0x30 -/* 8025820C 0025514C 90 FF 07 FC */ stw r7, 0x7fc(r31) -/* 80258210 00255150 90 1F 08 00 */ stw r0, 0x800(r31) -/* 80258214 00255154 48 1B B4 45 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80258218 00255158 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025821C 0025515C 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 80258220 00255160 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80258224 00255164 C0 02 C7 40 */ lfs f0, lbl_8051AAA0@sda21(r2) -/* 80258228 00255168 90 1F 08 04 */ stw r0, 0x804(r31) -/* 8025822C 0025516C 38 7F 08 2C */ addi r3, r31, 0x82c -/* 80258230 00255170 C0 22 C7 44 */ lfs f1, lbl_8051AAA4@sda21(r2) -/* 80258234 00255174 38 9F 07 F8 */ addi r4, r31, 0x7f8 -/* 80258238 00255178 D0 1F 08 1C */ stfs f0, 0x81c(r31) -/* 8025823C 0025517C 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 80258240 00255180 C0 02 C7 48 */ lfs f0, lbl_8051AAA8@sda21(r2) -/* 80258244 00255184 38 DE 00 3C */ addi r6, r30, 0x3c -/* 80258248 00255188 D0 3F 08 24 */ stfs f1, 0x824(r31) -/* 8025824C 0025518C D0 1F 08 28 */ stfs f0, 0x828(r31) -/* 80258250 00255190 48 1B B4 09 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80258254 00255194 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80258258 00255198 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 8025825C 0025519C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80258260 002551A0 C0 02 C7 4C */ lfs f0, lbl_8051AAAC@sda21(r2) -/* 80258264 002551A4 90 1F 08 2C */ stw r0, 0x82c(r31) -/* 80258268 002551A8 38 7F 08 54 */ addi r3, r31, 0x854 -/* 8025826C 002551AC C0 22 C7 44 */ lfs f1, lbl_8051AAA4@sda21(r2) -/* 80258270 002551B0 38 9F 07 F8 */ addi r4, r31, 0x7f8 -/* 80258274 002551B4 D0 1F 08 44 */ stfs f0, 0x844(r31) -/* 80258278 002551B8 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 8025827C 002551BC C0 02 C7 50 */ lfs f0, lbl_8051AAB0@sda21(r2) -/* 80258280 002551C0 38 DE 00 4C */ addi r6, r30, 0x4c -/* 80258284 002551C4 D0 3F 08 4C */ stfs f1, 0x84c(r31) -/* 80258288 002551C8 D0 1F 08 50 */ stfs f0, 0x850(r31) -/* 8025828C 002551CC 48 1B B3 CD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80258290 002551D0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80258294 002551D4 3C A0 66 70 */ lis r5, 0x66703034@ha -/* 80258298 002551D8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025829C 002551DC C0 02 C7 54 */ lfs f0, lbl_8051AAB4@sda21(r2) -/* 802582A0 002551E0 90 1F 08 54 */ stw r0, 0x854(r31) -/* 802582A4 002551E4 38 7F 08 7C */ addi r3, r31, 0x87c -/* 802582A8 002551E8 C0 22 C7 44 */ lfs f1, lbl_8051AAA4@sda21(r2) -/* 802582AC 002551EC 38 9F 07 F8 */ addi r4, r31, 0x7f8 -/* 802582B0 002551F0 D0 1F 08 6C */ stfs f0, 0x86c(r31) -/* 802582B4 002551F4 38 A5 30 34 */ addi r5, r5, 0x66703034@l -/* 802582B8 002551F8 C0 02 C7 58 */ lfs f0, lbl_8051AAB8@sda21(r2) -/* 802582BC 002551FC 38 DE 00 58 */ addi r6, r30, 0x58 -/* 802582C0 00255200 D0 3F 08 74 */ stfs f1, 0x874(r31) -/* 802582C4 00255204 D0 1F 08 78 */ stfs f0, 0x878(r31) -/* 802582C8 00255208 48 1B B3 91 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802582CC 0025520C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802582D0 00255210 C0 42 C7 5C */ lfs f2, lbl_8051AABC@sda21(r2) -/* 802582D4 00255214 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802582D8 00255218 C0 22 C7 44 */ lfs f1, lbl_8051AAA4@sda21(r2) -/* 802582DC 0025521C 90 1F 08 7C */ stw r0, 0x87c(r31) -/* 802582E0 00255220 7F E3 FB 78 */ mr r3, r31 -/* 802582E4 00255224 C0 02 C7 60 */ lfs f0, lbl_8051AAC0@sda21(r2) -/* 802582E8 00255228 D0 5F 08 94 */ stfs f2, 0x894(r31) -/* 802582EC 0025522C D0 3F 08 9C */ stfs f1, 0x89c(r31) -/* 802582F0 00255230 D0 1F 08 A0 */ stfs f0, 0x8a0(r31) -/* 802582F4 00255234 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802582F8 00255238 83 C1 00 08 */ lwz r30, 8(r1) -/* 802582FC 0025523C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258300 00255240 7C 08 03 A6 */ mtlr r0 -/* 80258304 00255244 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258308 00255248 4E 80 00 20 */ blr - -.global createObj__Q34Game4Frog3MgrFi -createObj__Q34Game4Frog3MgrFi: -/* 8025830C 0025524C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258310 00255250 7C 08 02 A6 */ mflr r0 -/* 80258314 00255254 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258318 00255258 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025831C 0025525C 7C 9F 23 78 */ mr r31, r4 -/* 80258320 00255260 93 C1 00 08 */ stw r30, 8(r1) -/* 80258324 00255264 7C 7E 1B 78 */ mr r30, r3 -/* 80258328 00255268 1C 7F 02 F0 */ mulli r3, r31, 0x2f0 -/* 8025832C 0025526C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80258330 00255270 4B DC BC 7D */ bl __nwa__FUl -/* 80258334 00255274 3C 80 80 26 */ lis r4, __ct__Q34Game4Frog3ObjFv@ha -/* 80258338 00255278 3C A0 80 26 */ lis r5, __dt__Q34Game4Frog3ObjFv@ha -/* 8025833C 0025527C 38 84 85 48 */ addi r4, r4, __ct__Q34Game4Frog3ObjFv@l -/* 80258340 00255280 7F E7 FB 78 */ mr r7, r31 -/* 80258344 00255284 38 A5 83 6C */ addi r5, r5, __dt__Q34Game4Frog3ObjFv@l -/* 80258348 00255288 38 C0 02 F0 */ li r6, 0x2f0 -/* 8025834C 0025528C 4B E6 96 A5 */ bl __construct_new_array -/* 80258350 00255290 90 7E 00 44 */ stw r3, 0x44(r30) -/* 80258354 00255294 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258358 00255298 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025835C 0025529C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80258360 002552A0 7C 08 03 A6 */ mtlr r0 -/* 80258364 002552A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258368 002552A8 4E 80 00 20 */ blr - -.global __dt__Q34Game4Frog3ObjFv -__dt__Q34Game4Frog3ObjFv: -/* 8025836C 002552AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258370 002552B0 7C 08 02 A6 */ mflr r0 -/* 80258374 002552B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258378 002552B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025837C 002552BC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80258380 002552C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80258384 002552C4 7C 9E 23 78 */ mr r30, r4 -/* 80258388 002552C8 41 82 00 84 */ beq lbl_8025840C -/* 8025838C 002552CC 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog3Obj@ha -/* 80258390 002552D0 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 80258394 002552D4 38 83 24 D0 */ addi r4, r3, __vt__Q34Game4Frog3Obj@l -/* 80258398 002552D8 90 9F 00 00 */ stw r4, 0(r31) -/* 8025839C 002552DC 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 802583A0 002552E0 38 84 03 04 */ addi r4, r4, 0x304 -/* 802583A4 002552E4 90 7F 01 78 */ stw r3, 0x178(r31) -/* 802583A8 002552E8 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 802583AC 002552EC 90 83 00 00 */ stw r4, 0(r3) -/* 802583B0 002552F0 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 802583B4 002552F4 7C 03 00 50 */ subf r0, r3, r0 -/* 802583B8 002552F8 90 03 00 0C */ stw r0, 0xc(r3) -/* 802583BC 002552FC 41 82 00 40 */ beq lbl_802583FC -/* 802583C0 00255300 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 802583C4 00255304 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 802583C8 00255308 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 802583CC 0025530C 38 7F 02 90 */ addi r3, r31, 0x290 -/* 802583D0 00255310 90 9F 00 00 */ stw r4, 0(r31) -/* 802583D4 00255314 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 802583D8 00255318 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 802583DC 0025531C 38 80 FF FF */ li r4, -1 -/* 802583E0 00255320 90 BF 01 78 */ stw r5, 0x178(r31) -/* 802583E4 00255324 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 802583E8 00255328 90 C5 00 00 */ stw r6, 0(r5) -/* 802583EC 0025532C 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 802583F0 00255330 7C 05 00 50 */ subf r0, r5, r0 -/* 802583F4 00255334 90 05 00 0C */ stw r0, 0xc(r5) -/* 802583F8 00255338 48 1B 91 91 */ bl __dt__5CNodeFv -lbl_802583FC: -/* 802583FC 0025533C 7F C0 07 35 */ extsh. r0, r30 -/* 80258400 00255340 40 81 00 0C */ ble lbl_8025840C -/* 80258404 00255344 7F E3 FB 78 */ mr r3, r31 -/* 80258408 00255348 4B DC BC AD */ bl __dl__FPv -lbl_8025840C: -/* 8025840C 0025534C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258410 00255350 7F E3 FB 78 */ mr r3, r31 -/* 80258414 00255354 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258418 00255358 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025841C 0025535C 7C 08 03 A6 */ mtlr r0 -/* 80258420 00255360 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258424 00255364 4E 80 00 20 */ blr - -.global getEnemy__Q34Game4Frog3MgrFi -getEnemy__Q34Game4Frog3MgrFi: -/* 80258428 00255368 1C 04 02 F0 */ mulli r0, r4, 0x2f0 -/* 8025842C 0025536C 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80258430 00255370 7C 63 02 14 */ add r3, r3, r0 -/* 80258434 00255374 4E 80 00 20 */ blr - -.global read__Q34Game4Frog5ParmsFR6Stream -read__Q34Game4Frog5ParmsFR6Stream: -/* 80258438 00255378 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025843C 0025537C 7C 08 02 A6 */ mflr r0 -/* 80258440 00255380 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258444 00255384 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258448 00255388 7C 9F 23 78 */ mr r31, r4 -/* 8025844C 0025538C 93 C1 00 08 */ stw r30, 8(r1) -/* 80258450 00255390 7C 7E 1B 78 */ mr r30, r3 -/* 80258454 00255394 48 1B B3 A1 */ bl read__10ParametersFR6Stream -/* 80258458 00255398 7F E4 FB 78 */ mr r4, r31 -/* 8025845C 0025539C 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 80258460 002553A0 48 1B B3 95 */ bl read__10ParametersFR6Stream -/* 80258464 002553A4 7F E4 FB 78 */ mr r4, r31 -/* 80258468 002553A8 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8025846C 002553AC 48 1B B3 89 */ bl read__10ParametersFR6Stream -/* 80258470 002553B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258474 002553B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258478 002553B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025847C 002553BC 7C 08 03 A6 */ mtlr r0 -/* 80258480 002553C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258484 002553C4 4E 80 00 20 */ blr - -.global __dt__Q34Game4Frog3MgrFv -__dt__Q34Game4Frog3MgrFv: -/* 80258488 002553C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025848C 002553CC 7C 08 02 A6 */ mflr r0 -/* 80258490 002553D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258494 002553D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258498 002553D8 7C 9F 23 78 */ mr r31, r4 -/* 8025849C 002553DC 93 C1 00 08 */ stw r30, 8(r1) -/* 802584A0 002553E0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802584A4 002553E4 41 82 00 78 */ beq lbl_8025851C -/* 802584A8 002553E8 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog3Mgr@ha -/* 802584AC 002553EC 38 63 23 6C */ addi r3, r3, __vt__Q34Game4Frog3Mgr@l -/* 802584B0 002553F0 90 7E 00 00 */ stw r3, 0(r30) -/* 802584B4 002553F4 38 03 00 38 */ addi r0, r3, 0x38 -/* 802584B8 002553F8 90 1E 00 04 */ stw r0, 4(r30) -/* 802584BC 002553FC 41 82 00 50 */ beq lbl_8025850C -/* 802584C0 00255400 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 802584C4 00255404 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 802584C8 00255408 90 7E 00 00 */ stw r3, 0(r30) -/* 802584CC 0025540C 38 03 00 38 */ addi r0, r3, 0x38 -/* 802584D0 00255410 90 1E 00 04 */ stw r0, 4(r30) -/* 802584D4 00255414 41 82 00 38 */ beq lbl_8025850C -/* 802584D8 00255418 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 802584DC 0025541C 34 1E 00 04 */ addic. r0, r30, 4 -/* 802584E0 00255420 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 802584E4 00255424 90 7E 00 00 */ stw r3, 0(r30) -/* 802584E8 00255428 38 03 00 38 */ addi r0, r3, 0x38 -/* 802584EC 0025542C 90 1E 00 04 */ stw r0, 4(r30) -/* 802584F0 00255430 41 82 00 1C */ beq lbl_8025850C -/* 802584F4 00255434 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 802584F8 00255438 38 7E 00 04 */ addi r3, r30, 4 -/* 802584FC 0025543C 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80258500 00255440 38 80 00 00 */ li r4, 0 -/* 80258504 00255444 90 1E 00 04 */ stw r0, 4(r30) -/* 80258508 00255448 48 1B 90 81 */ bl __dt__5CNodeFv -lbl_8025850C: -/* 8025850C 0025544C 7F E0 07 35 */ extsh. r0, r31 -/* 80258510 00255450 40 81 00 0C */ ble lbl_8025851C -/* 80258514 00255454 7F C3 F3 78 */ mr r3, r30 -/* 80258518 00255458 4B DC BB 9D */ bl __dl__FPv -lbl_8025851C: -/* 8025851C 0025545C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258520 00255460 7F C3 F3 78 */ mr r3, r30 -/* 80258524 00255464 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258528 00255468 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025852C 0025546C 7C 08 03 A6 */ mtlr r0 -/* 80258530 00255470 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258534 00255474 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Frog3MgrFv -getEnemyTypeID__Q34Game4Frog3MgrFv: -/* 80258538 00255478 38 60 00 11 */ li r3, 0x11 -/* 8025853C 0025547C 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game4Frog3MgrFv -$$24$$2__dt__Q34Game4Frog3MgrFv: -/* 80258540 00255480 38 63 FF FC */ addi r3, r3, -4 -/* 80258544 00255484 4B FF FF 44 */ b __dt__Q34Game4Frog3MgrFv - -.global __ct__Q34Game4Frog3ObjFv -__ct__Q34Game4Frog3ObjFv: -/* 80258548 00255488 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025854C 0025548C 7C 08 02 A6 */ mflr r0 -/* 80258550 00255490 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258554 00255494 7C 80 07 35 */ extsh. r0, r4 -/* 80258558 00255498 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025855C 0025549C 7C 7F 1B 78 */ mr r31, r3 -/* 80258560 002554A0 93 C1 00 08 */ stw r30, 8(r1) -/* 80258564 002554A4 41 82 00 24 */ beq lbl_80258588 -/* 80258568 002554A8 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 8025856C 002554AC 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 80258570 002554B0 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80258574 002554B4 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80258578 002554B8 38 00 00 00 */ li r0, 0 -/* 8025857C 002554BC 90 7F 02 E0 */ stw r3, 0x2e0(r31) -/* 80258580 002554C0 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 80258584 002554C4 90 1F 02 E8 */ stw r0, 0x2e8(r31) -lbl_80258588: -/* 80258588 002554C8 7F E3 FB 78 */ mr r3, r31 -/* 8025858C 002554CC 38 80 00 00 */ li r4, 0 -/* 80258590 002554D0 4B EA 8E 11 */ bl __ct__Q24Game9EnemyBaseFv -/* 80258594 002554D4 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog3Obj@ha -/* 80258598 002554D8 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 8025859C 002554DC 38 A3 24 D0 */ addi r5, r3, __vt__Q34Game4Frog3Obj@l -/* 802585A0 002554E0 38 60 00 2C */ li r3, 0x2c -/* 802585A4 002554E4 90 BF 00 00 */ stw r5, 0(r31) -/* 802585A8 002554E8 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 802585AC 002554EC 38 A5 03 04 */ addi r5, r5, 0x304 -/* 802585B0 002554F0 90 9F 01 78 */ stw r4, 0x178(r31) -/* 802585B4 002554F4 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 802585B8 002554F8 90 A4 00 00 */ stw r5, 0(r4) -/* 802585BC 002554FC 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 802585C0 00255500 7C 04 00 50 */ subf r0, r4, r0 -/* 802585C4 00255504 90 04 00 0C */ stw r0, 0xc(r4) -/* 802585C8 00255508 4B DC B8 DD */ bl __nw__FUl -/* 802585CC 0025550C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802585D0 00255510 41 82 00 44 */ beq lbl_80258614 -/* 802585D4 00255514 4B EC F3 A1 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 802585D8 00255518 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog14ProperAnimator@ha -/* 802585DC 0025551C 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 802585E0 00255520 38 03 23 38 */ addi r0, r3, __vt__Q34Game4Frog14ProperAnimator@l -/* 802585E4 00255524 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 802585E8 00255528 90 1E 00 00 */ stw r0, 0(r30) -/* 802585EC 0025552C 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 802585F0 00255530 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 802585F4 00255534 38 00 00 00 */ li r0, 0 -/* 802585F8 00255538 90 9E 00 10 */ stw r4, 0x10(r30) -/* 802585FC 0025553C 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80258600 00255540 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80258604 00255544 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80258608 00255548 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8025860C 0025554C 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80258610 00255550 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80258614: -/* 80258614 00255554 93 DF 01 84 */ stw r30, 0x184(r31) -/* 80258618 00255558 38 60 00 1C */ li r3, 0x1c -/* 8025861C 0025555C 4B DC B8 89 */ bl __nw__FUl -/* 80258620 00255560 7C 64 1B 79 */ or. r4, r3, r3 -/* 80258624 00255564 41 82 00 24 */ beq lbl_80258648 -/* 80258628 00255568 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8025862C 0025556C 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog3FSM@ha -/* 80258630 00255570 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 80258634 00255574 38 A0 FF FF */ li r5, -1 -/* 80258638 00255578 90 04 00 00 */ stw r0, 0(r4) -/* 8025863C 0025557C 38 03 23 14 */ addi r0, r3, __vt__Q34Game4Frog3FSM@l -/* 80258640 00255580 90 A4 00 18 */ stw r5, 0x18(r4) -/* 80258644 00255584 90 04 00 00 */ stw r0, 0(r4) -lbl_80258648: -/* 80258648 00255588 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025864C 0025558C 7F E3 FB 78 */ mr r3, r31 -/* 80258650 00255590 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 80258654 00255594 7D 89 03 A6 */ mtctr r12 -/* 80258658 00255598 4E 80 04 21 */ bctrl -/* 8025865C 0025559C 7F E3 FB 78 */ mr r3, r31 -/* 80258660 002555A0 48 00 0D 89 */ bl createEffect__Q34Game4Frog3ObjFv -/* 80258664 002555A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258668 002555A8 7F E3 FB 78 */ mr r3, r31 -/* 8025866C 002555AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258670 002555B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80258674 002555B4 7C 08 03 A6 */ mtlr r0 -/* 80258678 002555B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025867C 002555BC 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game4Frog3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game4Frog3ObjFPQ24Game21EnemyInitialParamBase: -/* 80258680 002555C0 4E 80 00 20 */ blr - -.global onInit__Q34Game4Frog3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game4Frog3ObjFPQ24Game15CreatureInitArg: -/* 80258684 002555C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258688 002555C8 7C 08 02 A6 */ mflr r0 -/* 8025868C 002555CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258690 002555D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258694 002555D4 7C 7F 1B 78 */ mr r31, r3 -/* 80258698 002555D8 4B EA 93 C1 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8025869C 002555DC C0 22 C7 68 */ lfs f1, lbl_8051AAC8@sda21(r2) -/* 802586A0 002555E0 38 80 FF FF */ li r4, -1 -/* 802586A4 002555E4 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 802586A8 002555E8 38 00 00 00 */ li r0, 0 -/* 802586AC 002555EC D0 3F 02 C4 */ stfs f1, 0x2c4(r31) -/* 802586B0 002555F0 7F E3 FB 78 */ mr r3, r31 -/* 802586B4 002555F4 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 802586B8 002555F8 90 9F 02 D4 */ stw r4, 0x2d4(r31) -/* 802586BC 002555FC 98 1F 02 D8 */ stb r0, 0x2d8(r31) -/* 802586C0 00255600 98 1F 02 D9 */ stb r0, 0x2d9(r31) -/* 802586C4 00255604 48 00 0D D5 */ bl setupEffect__Q34Game4Frog3ObjFv -/* 802586C8 00255608 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 802586CC 0025560C 7F E4 FB 78 */ mr r4, r31 -/* 802586D0 00255610 38 A0 00 01 */ li r5, 1 -/* 802586D4 00255614 38 C0 00 00 */ li r6, 0 -/* 802586D8 00255618 81 83 00 00 */ lwz r12, 0(r3) -/* 802586DC 0025561C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802586E0 00255620 7D 89 03 A6 */ mtctr r12 -/* 802586E4 00255624 4E 80 04 21 */ bctrl -/* 802586E8 00255628 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802586EC 0025562C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802586F0 00255630 7C 08 03 A6 */ mtlr r0 -/* 802586F4 00255634 38 21 00 10 */ addi r1, r1, 0x10 -/* 802586F8 00255638 4E 80 00 20 */ blr - -.global onKill__Q34Game4Frog3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game4Frog3ObjFPQ24Game15CreatureKillArg: -/* 802586FC 0025563C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258700 00255640 7C 08 02 A6 */ mflr r0 -/* 80258704 00255644 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258708 00255648 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025870C 0025564C 7C 9F 23 78 */ mr r31, r4 -/* 80258710 00255650 93 C1 00 08 */ stw r30, 8(r1) -/* 80258714 00255654 7C 7E 1B 78 */ mr r30, r3 -/* 80258718 00255658 48 00 0D C5 */ bl finishJumpEffect__Q34Game4Frog3ObjFv -/* 8025871C 0025565C 7F C3 F3 78 */ mr r3, r30 -/* 80258720 00255660 7F E4 FB 78 */ mr r4, r31 -/* 80258724 00255664 4B EA 97 C5 */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 80258728 00255668 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025872C 0025566C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258730 00255670 83 C1 00 08 */ lwz r30, 8(r1) -/* 80258734 00255674 7C 08 03 A6 */ mtlr r0 -/* 80258738 00255678 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025873C 0025567C 4E 80 00 20 */ blr - -.global doUpdate__Q34Game4Frog3ObjFv -doUpdate__Q34Game4Frog3ObjFv: -/* 80258740 00255680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258744 00255684 7C 08 02 A6 */ mflr r0 -/* 80258748 00255688 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025874C 0025568C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258750 00255690 7C 7F 1B 78 */ mr r31, r3 -/* 80258754 00255694 48 00 08 25 */ bl updateCaution__Q34Game4Frog3ObjFv -/* 80258758 00255698 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8025875C 0025569C 7F E4 FB 78 */ mr r4, r31 -/* 80258760 002556A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80258764 002556A4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80258768 002556A8 7D 89 03 A6 */ mtctr r12 -/* 8025876C 002556AC 4E 80 04 21 */ bctrl -/* 80258770 002556B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258774 002556B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258778 002556B8 7C 08 03 A6 */ mtlr r0 -/* 8025877C 002556BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258780 002556C0 4E 80 00 20 */ blr - -.global doSimulationFlying__Q34Game4Frog3ObjFf -doSimulationFlying__Q34Game4Frog3ObjFf: -/* 80258784 002556C4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80258788 002556C8 7C 08 02 A6 */ mflr r0 -/* 8025878C 002556CC 90 01 00 64 */ stw r0, 0x64(r1) -/* 80258790 002556D0 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80258794 002556D4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80258798 002556D8 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8025879C 002556DC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802587A0 002556E0 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802587A4 002556E4 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802587A8 002556E8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802587AC 002556EC 7C 7F 1B 78 */ mr r31, r3 -/* 802587B0 002556F0 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 802587B4 002556F4 80 63 00 C0 */ lwz r3, 0xc0(r3) -/* 802587B8 002556F8 C0 5F 02 C0 */ lfs f2, 0x2c0(r31) -/* 802587BC 002556FC C0 63 08 1C */ lfs f3, 0x81c(r3) -/* 802587C0 00255700 ED 03 10 28 */ fsubs f8, f3, f2 -/* 802587C4 00255704 FC 08 00 40 */ fcmpo cr0, f8, f0 -/* 802587C8 00255708 40 81 00 E4 */ ble lbl_802588AC -/* 802587CC 0025570C C0 DF 01 D0 */ lfs f6, 0x1d0(r31) -/* 802587D0 00255710 C0 BF 01 C8 */ lfs f5, 0x1c8(r31) -/* 802587D4 00255714 EC 46 01 B2 */ fmuls f2, f6, f6 -/* 802587D8 00255718 EC 85 11 7A */ fmadds f4, f5, f5, f2 -/* 802587DC 0025571C FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802587E0 00255720 40 81 00 14 */ ble lbl_802587F4 -/* 802587E4 00255724 40 81 00 14 */ ble lbl_802587F8 -/* 802587E8 00255728 FC 00 20 34 */ frsqrte f0, f4 -/* 802587EC 0025572C EC 80 01 32 */ fmuls f4, f0, f4 -/* 802587F0 00255730 48 00 00 08 */ b lbl_802587F8 -lbl_802587F4: -/* 802587F4 00255734 FC 80 00 90 */ fmr f4, f0 -lbl_802587F8: -/* 802587F8 00255738 C0 7F 02 C8 */ lfs f3, 0x2c8(r31) -/* 802587FC 0025573C C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 80258800 00255740 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 80258804 00255744 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80258808 00255748 D0 5F 01 C8 */ stfs f2, 0x1c8(r31) -/* 8025880C 0025574C C0 7F 02 D0 */ lfs f3, 0x2d0(r31) -/* 80258810 00255750 C0 5F 01 94 */ lfs f2, 0x194(r31) -/* 80258814 00255754 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80258818 00255758 D0 5F 01 D0 */ stfs f2, 0x1d0(r31) -/* 8025881C 0025575C C0 FF 01 C8 */ lfs f7, 0x1c8(r31) -/* 80258820 00255760 C0 7F 01 D0 */ lfs f3, 0x1d0(r31) -/* 80258824 00255764 EC 47 01 F2 */ fmuls f2, f7, f7 -/* 80258828 00255768 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 8025882C 0025576C EC 42 18 2A */ fadds f2, f2, f3 -/* 80258830 00255770 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80258834 00255774 40 81 00 1C */ ble lbl_80258850 -/* 80258838 00255778 EC 47 19 FA */ fmadds f2, f7, f7, f3 -/* 8025883C 0025577C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80258840 00255780 40 81 00 14 */ ble lbl_80258854 -/* 80258844 00255784 FC 00 10 34 */ frsqrte f0, f2 -/* 80258848 00255788 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8025884C 0025578C 48 00 00 08 */ b lbl_80258854 -lbl_80258850: -/* 80258850 00255790 FC 40 00 90 */ fmr f2, f0 -lbl_80258854: -/* 80258854 00255794 C0 02 C7 70 */ lfs f0, lbl_8051AAD0@sda21(r2) -/* 80258858 00255798 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8025885C 0025579C EC 60 40 24 */ fdivs f3, f0, f8 -/* 80258860 002557A0 FC 03 20 40 */ fcmpo cr0, f3, f4 -/* 80258864 002557A4 40 81 00 10 */ ble lbl_80258874 -/* 80258868 002557A8 D0 BF 01 C8 */ stfs f5, 0x1c8(r31) -/* 8025886C 002557AC D0 DF 01 D0 */ stfs f6, 0x1d0(r31) -/* 80258870 002557B0 48 00 00 44 */ b lbl_802588B4 -lbl_80258874: -/* 80258874 002557B4 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 80258878 002557B8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8025887C 002557BC 40 81 00 24 */ ble lbl_802588A0 -/* 80258880 002557C0 EC 07 10 24 */ fdivs f0, f7, f2 -/* 80258884 002557C4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80258888 002557C8 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) -/* 8025888C 002557CC C0 1F 01 D0 */ lfs f0, 0x1d0(r31) -/* 80258890 002557D0 EC 00 10 24 */ fdivs f0, f0, f2 -/* 80258894 002557D4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80258898 002557D8 D0 1F 01 D0 */ stfs f0, 0x1d0(r31) -/* 8025889C 002557DC 48 00 00 18 */ b lbl_802588B4 -lbl_802588A0: -/* 802588A0 002557E0 D0 1F 01 D0 */ stfs f0, 0x1d0(r31) -/* 802588A4 002557E4 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) -/* 802588A8 002557E8 48 00 00 0C */ b lbl_802588B4 -lbl_802588AC: -/* 802588AC 002557EC D0 1F 01 D0 */ stfs f0, 0x1d0(r31) -/* 802588B0 002557F0 D0 1F 01 C8 */ stfs f0, 0x1c8(r31) -lbl_802588B4: -/* 802588B4 002557F4 80 6D 93 F0 */ lwz r3, _aiConstants__4Game@sda21(r13) -/* 802588B8 002557F8 C0 5F 01 CC */ lfs f2, 0x1cc(r31) -/* 802588BC 002557FC C0 63 00 28 */ lfs f3, 0x28(r3) -/* 802588C0 00255800 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 802588C4 00255804 EC 21 10 FC */ fnmsubs f1, f1, f3, f2 -/* 802588C8 00255808 D0 3F 01 CC */ stfs f1, 0x1cc(r31) -/* 802588CC 0025580C C0 3F 01 CC */ lfs f1, 0x1cc(r31) -/* 802588D0 00255810 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802588D4 00255814 40 81 00 EC */ ble lbl_802589C0 -/* 802588D8 00255818 7F E4 FB 78 */ mr r4, r31 -/* 802588DC 0025581C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802588E0 00255820 81 9F 00 00 */ lwz r12, 0(r31) -/* 802588E4 00255824 38 61 00 14 */ addi r3, r1, 0x14 -/* 802588E8 00255828 C3 C5 03 34 */ lfs f30, 0x334(r5) -/* 802588EC 0025582C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802588F0 00255830 C3 E5 03 0C */ lfs f31, 0x30c(r5) -/* 802588F4 00255834 7D 89 03 A6 */ mtctr r12 -/* 802588F8 00255838 4E 80 04 21 */ bctrl -/* 802588FC 0025583C C0 A1 00 14 */ lfs f5, 0x14(r1) -/* 80258900 00255840 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80258904 00255844 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80258908 00255848 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8025890C 0025584C C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 80258910 00255850 C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 80258914 00255854 C0 81 00 18 */ lfs f4, 0x18(r1) -/* 80258918 00255858 EC 21 28 28 */ fsubs f1, f1, f5 -/* 8025891C 0025585C EC 40 18 28 */ fsubs f2, f0, f3 -/* 80258920 00255860 D0 A1 00 08 */ stfs f5, 8(r1) -/* 80258924 00255864 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80258928 00255868 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8025892C 0025586C 4B DD C7 DD */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80258930 00255870 48 1B 92 A1 */ bl roundAng__Ff -/* 80258934 00255874 81 9F 00 00 */ lwz r12, 0(r31) -/* 80258938 00255878 FF A0 08 90 */ fmr f29, f1 -/* 8025893C 0025587C 7F E3 FB 78 */ mr r3, r31 -/* 80258940 00255880 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80258944 00255884 7D 89 03 A6 */ mtctr r12 -/* 80258948 00255888 4E 80 04 21 */ bctrl -/* 8025894C 0025588C FC 40 08 90 */ fmr f2, f1 -/* 80258950 00255890 FC 20 E8 90 */ fmr f1, f29 -/* 80258954 00255894 48 1B 92 A9 */ bl angDist__Fff -/* 80258958 00255898 EF E1 07 F2 */ fmuls f31, f1, f31 -/* 8025895C 0025589C C0 02 C7 78 */ lfs f0, lbl_8051AAD8@sda21(r2) -/* 80258960 002558A0 C0 22 C7 74 */ lfs f1, lbl_8051AAD4@sda21(r2) -/* 80258964 002558A4 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80258968 002558A8 FC 40 FA 10 */ fabs f2, f31 -/* 8025896C 002558AC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80258970 002558B0 FC 00 10 18 */ frsp f0, f2 -/* 80258974 002558B4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80258978 002558B8 40 81 00 1C */ ble lbl_80258994 -/* 8025897C 002558BC C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 80258980 002558C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80258984 002558C4 40 81 00 0C */ ble lbl_80258990 -/* 80258988 002558C8 FF E0 08 90 */ fmr f31, f1 -/* 8025898C 002558CC 48 00 00 08 */ b lbl_80258994 -lbl_80258990: -/* 80258990 002558D0 FF E0 08 50 */ fneg f31, f1 -lbl_80258994: -/* 80258994 002558D4 7F E3 FB 78 */ mr r3, r31 -/* 80258998 002558D8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025899C 002558DC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802589A0 002558E0 7D 89 03 A6 */ mtctr r12 -/* 802589A4 002558E4 4E 80 04 21 */ bctrl -/* 802589A8 002558E8 EC 3F 08 2A */ fadds f1, f31, f1 -/* 802589AC 002558EC 48 1B 92 25 */ bl roundAng__Ff -/* 802589B0 002558F0 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 802589B4 002558F4 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 802589B8 002558F8 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 802589BC 002558FC 48 00 00 08 */ b lbl_802589C4 -lbl_802589C0: -/* 802589C0 00255900 D0 1F 01 CC */ stfs f0, 0x1cc(r31) -lbl_802589C4: -/* 802589C4 00255904 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802589C8 00255908 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 802589CC 0025590C C0 03 00 54 */ lfs f0, 0x54(r3) -/* 802589D0 00255910 EC 01 00 2A */ fadds f0, f1, f0 -/* 802589D4 00255914 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 802589D8 00255918 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802589DC 0025591C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802589E0 00255920 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 802589E4 00255924 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 802589E8 00255928 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 802589EC 0025592C CB A1 00 30 */ lfd f29, 0x30(r1) -/* 802589F0 00255930 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802589F4 00255934 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802589F8 00255938 7C 08 03 A6 */ mtlr r0 -/* 802589FC 0025593C 38 21 00 60 */ addi r1, r1, 0x60 -/* 80258A00 00255940 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game4Frog3ObjFR8Graphics -doDirectDraw__Q34Game4Frog3ObjFR8Graphics: -/* 80258A04 00255944 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Frog3ObjFR8Graphics -doDebugDraw__Q34Game4Frog3ObjFR8Graphics: -/* 80258A08 00255948 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258A0C 0025594C 7C 08 02 A6 */ mflr r0 -/* 80258A10 00255950 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258A14 00255954 4B EA D4 59 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80258A18 00255958 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258A1C 0025595C 7C 08 03 A6 */ mtlr r0 -/* 80258A20 00255960 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258A24 00255964 4E 80 00 20 */ blr - -.global setFSM__Q34Game4Frog3ObjFPQ34Game4Frog3FSM -setFSM__Q34Game4Frog3ObjFPQ34Game4Frog3FSM: -/* 80258A28 00255968 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258A2C 0025596C 7C 08 02 A6 */ mflr r0 -/* 80258A30 00255970 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258A34 00255974 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258A38 00255978 7C 7F 1B 78 */ mr r31, r3 -/* 80258A3C 0025597C 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80258A40 00255980 7F E4 FB 78 */ mr r4, r31 -/* 80258A44 00255984 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80258A48 00255988 81 83 00 00 */ lwz r12, 0(r3) -/* 80258A4C 0025598C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80258A50 00255990 7D 89 03 A6 */ mtctr r12 -/* 80258A54 00255994 4E 80 04 21 */ bctrl -/* 80258A58 00255998 38 00 00 00 */ li r0, 0 -/* 80258A5C 0025599C 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80258A60 002559A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258A64 002559A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258A68 002559A8 7C 08 03 A6 */ mtlr r0 -/* 80258A6C 002559AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258A70 002559B0 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game4Frog3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game4Frog3ObjFRQ24Game11ShadowParam: -/* 80258A74 002559B4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80258A78 002559B8 7C 08 02 A6 */ mflr r0 -/* 80258A7C 002559BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80258A80 002559C0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80258A84 002559C4 7C 9F 23 78 */ mr r31, r4 -/* 80258A88 002559C8 38 81 00 08 */ addi r4, r1, 8 -/* 80258A8C 002559CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80258A90 002559D0 7C 7E 1B 78 */ mr r30, r3 -/* 80258A94 002559D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80258A98 002559D8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80258A9C 002559DC 7D 89 03 A6 */ mtctr r12 -/* 80258AA0 002559E0 4E 80 04 21 */ bctrl -/* 80258AA4 002559E4 C0 01 00 08 */ lfs f0, 8(r1) -/* 80258AA8 002559E8 7F C3 F3 78 */ mr r3, r30 -/* 80258AAC 002559EC C0 22 C7 7C */ lfs f1, lbl_8051AADC@sda21(r2) -/* 80258AB0 002559F0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80258AB4 002559F4 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 80258AB8 002559F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80258ABC 002559FC D0 1F 00 04 */ stfs f0, 4(r31) -/* 80258AC0 00255A00 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80258AC4 00255A04 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80258AC8 00255A08 81 9E 00 00 */ lwz r12, 0(r30) -/* 80258ACC 00255A0C 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80258AD0 00255A10 7D 89 03 A6 */ mtctr r12 -/* 80258AD4 00255A14 4E 80 04 21 */ bctrl -/* 80258AD8 00255A18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80258ADC 00255A1C 41 82 00 6C */ beq lbl_80258B48 -/* 80258AE0 00255A20 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 80258AE4 00255A24 28 00 00 00 */ cmplwi r0, 0 -/* 80258AE8 00255A28 41 82 00 28 */ beq lbl_80258B10 -/* 80258AEC 00255A2C 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 80258AF0 00255A30 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80258AF4 00255A34 41 82 00 10 */ beq lbl_80258B04 -/* 80258AF8 00255A38 C0 02 C7 80 */ lfs f0, lbl_8051AAE0@sda21(r2) -/* 80258AFC 00255A3C D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80258B00 00255A40 48 00 00 50 */ b lbl_80258B50 -lbl_80258B04: -/* 80258B04 00255A44 C0 02 C7 84 */ lfs f0, lbl_8051AAE4@sda21(r2) -/* 80258B08 00255A48 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80258B0C 00255A4C 48 00 00 44 */ b lbl_80258B50 -lbl_80258B10: -/* 80258B10 00255A50 7F C3 F3 78 */ mr r3, r30 -/* 80258B14 00255A54 4B EA E8 E1 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80258B18 00255A58 2C 03 00 04 */ cmpwi r3, 4 -/* 80258B1C 00255A5C 40 82 00 14 */ bne lbl_80258B30 -/* 80258B20 00255A60 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80258B24 00255A64 C0 02 C7 88 */ lfs f0, lbl_8051AAE8@sda21(r2) -/* 80258B28 00255A68 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80258B2C 00255A6C D0 1F 00 04 */ stfs f0, 4(r31) -lbl_80258B30: -/* 80258B30 00255A70 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80258B34 00255A74 C0 22 C7 8C */ lfs f1, lbl_8051AAEC@sda21(r2) -/* 80258B38 00255A78 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 80258B3C 00255A7C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80258B40 00255A80 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80258B44 00255A84 48 00 00 0C */ b lbl_80258B50 -lbl_80258B48: -/* 80258B48 00255A88 C0 02 C7 90 */ lfs f0, lbl_8051AAF0@sda21(r2) -/* 80258B4C 00255A8C D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_80258B50: -/* 80258B50 00255A90 C0 42 C7 6C */ lfs f2, lbl_8051AACC@sda21(r2) -/* 80258B54 00255A94 C0 22 C7 94 */ lfs f1, lbl_8051AAF4@sda21(r2) -/* 80258B58 00255A98 D0 5F 00 0C */ stfs f2, 0xc(r31) -/* 80258B5C 00255A9C C0 02 C7 88 */ lfs f0, lbl_8051AAE8@sda21(r2) -/* 80258B60 00255AA0 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 80258B64 00255AA4 D0 5F 00 14 */ stfs f2, 0x14(r31) -/* 80258B68 00255AA8 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80258B6C 00255AAC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80258B70 00255AB0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80258B74 00255AB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80258B78 00255AB8 7C 08 03 A6 */ mtlr r0 -/* 80258B7C 00255ABC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80258B80 00255AC0 4E 80 00 20 */ blr - -.global collisionCallback__Q34Game4Frog3ObjFRQ24Game9CollEvent -collisionCallback__Q34Game4Frog3ObjFRQ24Game9CollEvent: -/* 80258B84 00255AC4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80258B88 00255AC8 7C 08 02 A6 */ mflr r0 -/* 80258B8C 00255ACC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80258B90 00255AD0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80258B94 00255AD4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80258B98 00255AD8 7C 9E 23 78 */ mr r30, r4 -/* 80258B9C 00255ADC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80258BA0 00255AE0 7C 7D 1B 78 */ mr r29, r3 -/* 80258BA4 00255AE4 83 E4 00 00 */ lwz r31, 0(r4) -/* 80258BA8 00255AE8 28 1F 00 00 */ cmplwi r31, 0 -/* 80258BAC 00255AEC 41 82 00 A8 */ beq lbl_80258C54 -/* 80258BB0 00255AF0 80 1D 01 E0 */ lwz r0, 0x1e0(r29) -/* 80258BB4 00255AF4 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 80258BB8 00255AF8 40 82 00 9C */ bne lbl_80258C54 -/* 80258BBC 00255AFC 88 1D 02 D9 */ lbz r0, 0x2d9(r29) -/* 80258BC0 00255B00 28 00 00 00 */ cmplwi r0, 0 -/* 80258BC4 00255B04 41 82 00 90 */ beq lbl_80258C54 -/* 80258BC8 00255B08 80 1F 00 C8 */ lwz r0, 0xc8(r31) -/* 80258BCC 00255B0C 28 00 00 00 */ cmplwi r0, 0 -/* 80258BD0 00255B10 41 82 00 84 */ beq lbl_80258C54 -/* 80258BD4 00255B14 7F E3 FB 78 */ mr r3, r31 -/* 80258BD8 00255B18 81 9F 00 00 */ lwz r12, 0(r31) -/* 80258BDC 00255B1C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80258BE0 00255B20 7D 89 03 A6 */ mtctr r12 -/* 80258BE4 00255B24 4E 80 04 21 */ bctrl -/* 80258BE8 00255B28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80258BEC 00255B2C 40 82 00 20 */ bne lbl_80258C0C -/* 80258BF0 00255B30 7F E3 FB 78 */ mr r3, r31 -/* 80258BF4 00255B34 81 9F 00 00 */ lwz r12, 0(r31) -/* 80258BF8 00255B38 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80258BFC 00255B3C 7D 89 03 A6 */ mtctr r12 -/* 80258C00 00255B40 4E 80 04 21 */ bctrl -/* 80258C04 00255B44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80258C08 00255B48 41 82 00 4C */ beq lbl_80258C54 -lbl_80258C0C: -/* 80258C0C 00255B4C 80 BD 00 C0 */ lwz r5, 0xc0(r29) -/* 80258C10 00255B50 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 80258C14 00255B54 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractPress@ha -/* 80258C18 00255B58 38 00 00 00 */ li r0, 0 -/* 80258C1C 00255B5C C0 05 06 04 */ lfs f0, 0x604(r5) -/* 80258C20 00255B60 38 A4 A3 00 */ addi r5, r4, __vt__Q24Game11Interaction@l -/* 80258C24 00255B64 38 63 B3 20 */ addi r3, r3, __vt__Q24Game13InteractPress@l -/* 80258C28 00255B68 38 81 00 08 */ addi r4, r1, 8 -/* 80258C2C 00255B6C 90 A1 00 08 */ stw r5, 8(r1) -/* 80258C30 00255B70 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80258C34 00255B74 90 61 00 08 */ stw r3, 8(r1) -/* 80258C38 00255B78 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80258C3C 00255B7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258C40 00255B80 80 7E 00 00 */ lwz r3, 0(r30) -/* 80258C44 00255B84 81 83 00 00 */ lwz r12, 0(r3) -/* 80258C48 00255B88 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80258C4C 00255B8C 7D 89 03 A6 */ mtctr r12 -/* 80258C50 00255B90 4E 80 04 21 */ bctrl -lbl_80258C54: -/* 80258C54 00255B94 7F A3 EB 78 */ mr r3, r29 -/* 80258C58 00255B98 7F C4 F3 78 */ mr r4, r30 -/* 80258C5C 00255B9C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80258C60 00255BA0 81 8C 02 40 */ lwz r12, 0x240(r12) -/* 80258C64 00255BA4 7D 89 03 A6 */ mtctr r12 -/* 80258C68 00255BA8 4E 80 04 21 */ bctrl -/* 80258C6C 00255BAC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80258C70 00255BB0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80258C74 00255BB4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80258C78 00255BB8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80258C7C 00255BBC 7C 08 03 A6 */ mtlr r0 -/* 80258C80 00255BC0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80258C84 00255BC4 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game4Frog3ObjFv -doStartStoneState__Q34Game4Frog3ObjFv: -/* 80258C88 00255BC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258C8C 00255BCC 7C 08 02 A6 */ mflr r0 -/* 80258C90 00255BD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258C94 00255BD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258C98 00255BD8 7C 7F 1B 78 */ mr r31, r3 -/* 80258C9C 00255BDC 4B EA A2 59 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 80258CA0 00255BE0 7F E3 FB 78 */ mr r3, r31 -/* 80258CA4 00255BE4 48 00 08 39 */ bl finishJumpEffect__Q34Game4Frog3ObjFv -/* 80258CA8 00255BE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258CAC 00255BEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258CB0 00255BF0 7C 08 03 A6 */ mtlr r0 -/* 80258CB4 00255BF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258CB8 00255BF8 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game4Frog3ObjFv -doFinishStoneState__Q34Game4Frog3ObjFv: -/* 80258CBC 00255BFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258CC0 00255C00 7C 08 02 A6 */ mflr r0 -/* 80258CC4 00255C04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258CC8 00255C08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258CCC 00255C0C 7C 7F 1B 78 */ mr r31, r3 -/* 80258CD0 00255C10 4B EA A2 39 */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 80258CD4 00255C14 7F E3 FB 78 */ mr r3, r31 -/* 80258CD8 00255C18 4B EA E7 1D */ bl getStateID__Q24Game9EnemyBaseFv -/* 80258CDC 00255C1C 2C 03 00 03 */ cmpwi r3, 3 -/* 80258CE0 00255C20 41 80 00 2C */ blt lbl_80258D0C -/* 80258CE4 00255C24 2C 03 00 06 */ cmpwi r3, 6 -/* 80258CE8 00255C28 41 81 00 24 */ bgt lbl_80258D0C -/* 80258CEC 00255C2C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80258CF0 00255C30 7F E4 FB 78 */ mr r4, r31 -/* 80258CF4 00255C34 38 A0 00 02 */ li r5, 2 -/* 80258CF8 00255C38 38 C0 00 00 */ li r6, 0 -/* 80258CFC 00255C3C 81 83 00 00 */ lwz r12, 0(r3) -/* 80258D00 00255C40 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80258D04 00255C44 7D 89 03 A6 */ mtctr r12 -/* 80258D08 00255C48 4E 80 04 21 */ bctrl -lbl_80258D0C: -/* 80258D0C 00255C4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258D10 00255C50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258D14 00255C54 7C 08 03 A6 */ mtlr r0 -/* 80258D18 00255C58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258D1C 00255C5C 4E 80 00 20 */ blr - -.global doStartEarthquakeFitState__Q34Game4Frog3ObjFv -doStartEarthquakeFitState__Q34Game4Frog3ObjFv: -/* 80258D20 00255C60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258D24 00255C64 7C 08 02 A6 */ mflr r0 -/* 80258D28 00255C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258D2C 00255C6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258D30 00255C70 7C 7F 1B 78 */ mr r31, r3 -/* 80258D34 00255C74 4B EA EC 31 */ bl doStartEarthquakeFitState__Q24Game9EnemyBaseFv -/* 80258D38 00255C78 7F E3 FB 78 */ mr r3, r31 -/* 80258D3C 00255C7C 48 00 07 A1 */ bl finishJumpEffect__Q34Game4Frog3ObjFv -/* 80258D40 00255C80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258D44 00255C84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258D48 00255C88 7C 08 03 A6 */ mtlr r0 -/* 80258D4C 00255C8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258D50 00255C90 4E 80 00 20 */ blr - -.global doFinishEarthquakeFitState__Q34Game4Frog3ObjFv -doFinishEarthquakeFitState__Q34Game4Frog3ObjFv: -/* 80258D54 00255C94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258D58 00255C98 7C 08 02 A6 */ mflr r0 -/* 80258D5C 00255C9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258D60 00255CA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258D64 00255CA4 7C 7F 1B 78 */ mr r31, r3 -/* 80258D68 00255CA8 4B EA EC 01 */ bl doFinishEarthquakeFitState__Q24Game9EnemyBaseFv -/* 80258D6C 00255CAC 7F E3 FB 78 */ mr r3, r31 -/* 80258D70 00255CB0 4B EA E6 85 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80258D74 00255CB4 2C 03 00 03 */ cmpwi r3, 3 -/* 80258D78 00255CB8 40 82 00 24 */ bne lbl_80258D9C -/* 80258D7C 00255CBC 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80258D80 00255CC0 7F E4 FB 78 */ mr r4, r31 -/* 80258D84 00255CC4 38 A0 00 02 */ li r5, 2 -/* 80258D88 00255CC8 38 C0 00 00 */ li r6, 0 -/* 80258D8C 00255CCC 81 83 00 00 */ lwz r12, 0(r3) -/* 80258D90 00255CD0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80258D94 00255CD4 7D 89 03 A6 */ mtctr r12 -/* 80258D98 00255CD8 4E 80 04 21 */ bctrl -lbl_80258D9C: -/* 80258D9C 00255CDC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258DA0 00255CE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258DA4 00255CE4 7C 08 03 A6 */ mtlr r0 -/* 80258DA8 00255CE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258DAC 00255CEC 4E 80 00 20 */ blr - -.global doStartWaitingBirthTypeDrop__Q34Game4Frog3ObjFv -doStartWaitingBirthTypeDrop__Q34Game4Frog3ObjFv: -/* 80258DB0 00255CF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258DB4 00255CF4 7C 08 02 A6 */ mflr r0 -/* 80258DB8 00255CF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258DBC 00255CFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258DC0 00255D00 7C 7F 1B 78 */ mr r31, r3 -/* 80258DC4 00255D04 4B EA EB D5 */ bl doStartWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 80258DC8 00255D08 7F E3 FB 78 */ mr r3, r31 -/* 80258DCC 00255D0C 48 00 08 31 */ bl effectDrawOff__Q34Game4Frog3ObjFv -/* 80258DD0 00255D10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258DD4 00255D14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258DD8 00255D18 7C 08 03 A6 */ mtlr r0 -/* 80258DDC 00255D1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258DE0 00255D20 4E 80 00 20 */ blr - -.global doFinishWaitingBirthTypeDrop__Q34Game4Frog3ObjFv -doFinishWaitingBirthTypeDrop__Q34Game4Frog3ObjFv: -/* 80258DE4 00255D24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258DE8 00255D28 7C 08 02 A6 */ mflr r0 -/* 80258DEC 00255D2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258DF0 00255D30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80258DF4 00255D34 7C 7F 1B 78 */ mr r31, r3 -/* 80258DF8 00255D38 4B EA EB D1 */ bl doFinishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 80258DFC 00255D3C 7F E3 FB 78 */ mr r3, r31 -/* 80258E00 00255D40 48 00 07 CD */ bl effectDrawOn__Q34Game4Frog3ObjFv -/* 80258E04 00255D44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258E08 00255D48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80258E0C 00255D4C 7C 08 03 A6 */ mtlr r0 -/* 80258E10 00255D50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258E14 00255D54 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game4Frog3ObjFv -startCarcassMotion__Q34Game4Frog3ObjFv: -/* 80258E18 00255D58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258E1C 00255D5C 7C 08 02 A6 */ mflr r0 -/* 80258E20 00255D60 38 80 00 0A */ li r4, 0xa -/* 80258E24 00255D64 38 A0 00 00 */ li r5, 0 -/* 80258E28 00255D68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258E2C 00255D6C 4B EA C1 D9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80258E30 00255D70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258E34 00255D74 7C 08 03 A6 */ mtlr r0 -/* 80258E38 00255D78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258E3C 00255D7C 4E 80 00 20 */ blr - -.global viewGetCollTreeOffset__Q34Game4Frog3ObjFv -viewGetCollTreeOffset__Q34Game4Frog3ObjFv: -/* 80258E40 00255D80 C0 02 C7 98 */ lfs f0, lbl_8051AAF8@sda21(r2) -/* 80258E44 00255D84 C0 22 C7 9C */ lfs f1, lbl_8051AAFC@sda21(r2) -/* 80258E48 00255D88 D0 03 00 00 */ stfs f0, 0(r3) -/* 80258E4C 00255D8C C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 80258E50 00255D90 D0 23 00 04 */ stfs f1, 4(r3) -/* 80258E54 00255D94 D0 03 00 08 */ stfs f0, 8(r3) -/* 80258E58 00255D98 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game4Frog3ObjFv -doStartMovie__Q34Game4Frog3ObjFv: -/* 80258E5C 00255D9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258E60 00255DA0 7C 08 02 A6 */ mflr r0 -/* 80258E64 00255DA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258E68 00255DA8 48 00 07 95 */ bl effectDrawOff__Q34Game4Frog3ObjFv -/* 80258E6C 00255DAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258E70 00255DB0 7C 08 03 A6 */ mtlr r0 -/* 80258E74 00255DB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258E78 00255DB8 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game4Frog3ObjFv -doEndMovie__Q34Game4Frog3ObjFv: -/* 80258E7C 00255DBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80258E80 00255DC0 7C 08 02 A6 */ mflr r0 -/* 80258E84 00255DC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80258E88 00255DC8 48 00 07 45 */ bl effectDrawOn__Q34Game4Frog3ObjFv -/* 80258E8C 00255DCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80258E90 00255DD0 7C 08 03 A6 */ mtlr r0 -/* 80258E94 00255DD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80258E98 00255DD8 4E 80 00 20 */ blr - -.global getOffsetForMapCollision__Q34Game4Frog3ObjFv -getOffsetForMapCollision__Q34Game4Frog3ObjFv: -/* 80258E9C 00255DDC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80258EA0 00255DE0 7C 08 02 A6 */ mflr r0 -/* 80258EA4 00255DE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80258EA8 00255DE8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80258EAC 00255DEC 7C 9F 23 78 */ mr r31, r4 -/* 80258EB0 00255DF0 38 81 00 08 */ addi r4, r1, 8 -/* 80258EB4 00255DF4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80258EB8 00255DF8 7C 7E 1B 78 */ mr r30, r3 -/* 80258EBC 00255DFC 7F E3 FB 78 */ mr r3, r31 -/* 80258EC0 00255E00 81 9F 00 00 */ lwz r12, 0(r31) -/* 80258EC4 00255E04 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80258EC8 00255E08 7D 89 03 A6 */ mtctr r12 -/* 80258ECC 00255E0C 4E 80 04 21 */ bctrl -/* 80258ED0 00255E10 C0 41 00 08 */ lfs f2, 8(r1) -/* 80258ED4 00255E14 C0 3F 01 8C */ lfs f1, 0x18c(r31) -/* 80258ED8 00255E18 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 80258EDC 00255E1C EC 42 08 28 */ fsubs f2, f2, f1 -/* 80258EE0 00255E20 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80258EE4 00255E24 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80258EE8 00255E28 D0 41 00 08 */ stfs f2, 8(r1) -/* 80258EEC 00255E2C C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 80258EF0 00255E30 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80258EF4 00255E34 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80258EF8 00255E38 D0 5E 00 00 */ stfs f2, 0(r30) -/* 80258EFC 00255E3C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80258F00 00255E40 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80258F04 00255E44 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80258F08 00255E48 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80258F0C 00255E4C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80258F10 00255E50 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80258F14 00255E54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80258F18 00255E58 7C 08 03 A6 */ mtlr r0 -/* 80258F1C 00255E5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80258F20 00255E60 4E 80 00 20 */ blr - -.global getCommonEffectPos__Q34Game4Frog3ObjFR10Vector3$$0f$$1 -getCommonEffectPos__Q34Game4Frog3ObjFR10Vector3$$0f$$1: -/* 80258F24 00255E64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80258F28 00255E68 7C 08 02 A6 */ mflr r0 -/* 80258F2C 00255E6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80258F30 00255E70 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80258F34 00255E74 7C 9F 23 78 */ mr r31, r4 -/* 80258F38 00255E78 38 81 00 08 */ addi r4, r1, 8 -/* 80258F3C 00255E7C 81 83 00 00 */ lwz r12, 0(r3) -/* 80258F40 00255E80 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80258F44 00255E84 7D 89 03 A6 */ mtctr r12 -/* 80258F48 00255E88 4E 80 04 21 */ bctrl -/* 80258F4C 00255E8C C0 01 00 08 */ lfs f0, 8(r1) -/* 80258F50 00255E90 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80258F54 00255E94 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80258F58 00255E98 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80258F5C 00255E9C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80258F60 00255EA0 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80258F64 00255EA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80258F68 00255EA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80258F6C 00255EAC 7C 08 03 A6 */ mtlr r0 -/* 80258F70 00255EB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80258F74 00255EB4 4E 80 00 20 */ blr - -.global updateCaution__Q34Game4Frog3ObjFv -updateCaution__Q34Game4Frog3ObjFv: -/* 80258F78 00255EB8 80 83 01 E0 */ lwz r4, 0x1e0(r3) -/* 80258F7C 00255EBC 54 80 06 F7 */ rlwinm. r0, r4, 0, 0x1b, 0x1b -/* 80258F80 00255EC0 40 82 00 18 */ bne lbl_80258F98 -/* 80258F84 00255EC4 54 80 07 BD */ rlwinm. r0, r4, 0, 0x1e, 0x1e -/* 80258F88 00255EC8 40 82 00 10 */ bne lbl_80258F98 -/* 80258F8C 00255ECC 80 03 01 F4 */ lwz r0, 0x1f4(r3) -/* 80258F90 00255ED0 2C 00 00 00 */ cmpwi r0, 0 -/* 80258F94 00255ED4 41 82 00 0C */ beq lbl_80258FA0 -lbl_80258F98: -/* 80258F98 00255ED8 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 80258F9C 00255EDC D0 03 02 C4 */ stfs f0, 0x2c4(r3) -lbl_80258FA0: -/* 80258FA0 00255EE0 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80258FA4 00255EE4 C0 23 02 C4 */ lfs f1, 0x2c4(r3) -/* 80258FA8 00255EE8 C0 04 06 2C */ lfs f0, 0x62c(r4) -/* 80258FAC 00255EEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80258FB0 00255EF0 4C 80 00 20 */ bgelr -/* 80258FB4 00255EF4 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 80258FB8 00255EF8 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 80258FBC 00255EFC EC 01 00 2A */ fadds f0, f1, f0 -/* 80258FC0 00255F00 D0 03 02 C4 */ stfs f0, 0x2c4(r3) -/* 80258FC4 00255F04 4E 80 00 20 */ blr - -.global getViewAngle__Q34Game4Frog3ObjFv -getViewAngle__Q34Game4Frog3ObjFv: -/* 80258FC8 00255F08 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80258FCC 00255F0C C0 23 02 C4 */ lfs f1, 0x2c4(r3) -/* 80258FD0 00255F10 C0 04 06 2C */ lfs f0, 0x62c(r4) -/* 80258FD4 00255F14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80258FD8 00255F18 40 80 00 0C */ bge lbl_80258FE4 -/* 80258FDC 00255F1C C0 22 C7 A0 */ lfs f1, lbl_8051AB00@sda21(r2) -/* 80258FE0 00255F20 4E 80 00 20 */ blr -lbl_80258FE4: -/* 80258FE4 00255F24 C0 24 04 24 */ lfs f1, 0x424(r4) -/* 80258FE8 00255F28 4E 80 00 20 */ blr - -.global startJumpAttack__Q34Game4Frog3ObjFv -startJumpAttack__Q34Game4Frog3ObjFv: -/* 80258FEC 00255F2C 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80258FF0 00255F30 C0 42 C7 6C */ lfs f2, lbl_8051AACC@sda21(r2) -/* 80258FF4 00255F34 60 00 00 04 */ ori r0, r0, 4 -/* 80258FF8 00255F38 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80258FFC 00255F3C D0 43 02 C0 */ stfs f2, 0x2c0(r3) -/* 80259000 00255F40 C0 23 02 C8 */ lfs f1, 0x2c8(r3) -/* 80259004 00255F44 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 80259008 00255F48 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8025900C 00255F4C D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 80259010 00255F50 C0 23 02 D0 */ lfs f1, 0x2d0(r3) -/* 80259014 00255F54 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 80259018 00255F58 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8025901C 00255F5C D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 80259020 00255F60 C0 63 01 C8 */ lfs f3, 0x1c8(r3) -/* 80259024 00255F64 C0 23 01 D0 */ lfs f1, 0x1d0(r3) -/* 80259028 00255F68 EC 03 00 F2 */ fmuls f0, f3, f3 -/* 8025902C 00255F6C EC 21 00 72 */ fmuls f1, f1, f1 -/* 80259030 00255F70 EC 00 08 2A */ fadds f0, f0, f1 -/* 80259034 00255F74 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80259038 00255F78 40 81 00 1C */ ble lbl_80259054 -/* 8025903C 00255F7C EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 80259040 00255F80 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80259044 00255F84 40 81 00 14 */ ble lbl_80259058 -/* 80259048 00255F88 FC 00 08 34 */ frsqrte f0, f1 -/* 8025904C 00255F8C EC 20 00 72 */ fmuls f1, f0, f1 -/* 80259050 00255F90 48 00 00 08 */ b lbl_80259058 -lbl_80259054: -/* 80259054 00255F94 FC 20 10 90 */ fmr f1, f2 -lbl_80259058: -/* 80259058 00255F98 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 8025905C 00255F9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80259060 00255FA0 40 81 00 20 */ ble lbl_80259080 -/* 80259064 00255FA4 C0 03 01 C8 */ lfs f0, 0x1c8(r3) -/* 80259068 00255FA8 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8025906C 00255FAC D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 80259070 00255FB0 C0 03 01 D0 */ lfs f0, 0x1d0(r3) -/* 80259074 00255FB4 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80259078 00255FB8 D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 8025907C 00255FBC 48 00 00 0C */ b lbl_80259088 -lbl_80259080: -/* 80259080 00255FC0 D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 80259084 00255FC4 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -lbl_80259088: -/* 80259088 00255FC8 C0 02 C7 70 */ lfs f0, lbl_8051AAD0@sda21(r2) -/* 8025908C 00255FCC 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80259090 00255FD0 EC 40 00 72 */ fmuls f2, f0, f1 -/* 80259094 00255FD4 C0 03 01 C8 */ lfs f0, 0x1c8(r3) -/* 80259098 00255FD8 C0 24 08 1C */ lfs f1, 0x81c(r4) -/* 8025909C 00255FDC EC 22 08 24 */ fdivs f1, f2, f1 -/* 802590A0 00255FE0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802590A4 00255FE4 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 802590A8 00255FE8 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 802590AC 00255FEC C0 04 08 44 */ lfs f0, 0x844(r4) -/* 802590B0 00255FF0 D0 03 01 CC */ stfs f0, 0x1cc(r3) -/* 802590B4 00255FF4 C0 03 01 D0 */ lfs f0, 0x1d0(r3) -/* 802590B8 00255FF8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 802590BC 00255FFC D0 03 01 D0 */ stfs f0, 0x1d0(r3) -/* 802590C0 00256000 4E 80 00 20 */ blr - -.global resetHomePosition__Q34Game4Frog3ObjFv -resetHomePosition__Q34Game4Frog3ObjFv: -/* 802590C4 00256004 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802590C8 00256008 C0 42 C7 A4 */ lfs f2, lbl_8051AB04@sda21(r2) -/* 802590CC 0025600C 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 802590D0 00256010 C0 63 01 FC */ lfs f3, 0x1fc(r3) -/* 802590D4 00256014 C0 24 03 84 */ lfs f1, 0x384(r4) -/* 802590D8 00256018 C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 802590DC 0025601C EC 82 00 72 */ fmuls f4, f2, f1 -/* 802590E0 00256020 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802590E4 00256024 40 80 00 30 */ bge lbl_80259114 -/* 802590E8 00256028 C0 02 C7 A8 */ lfs f0, lbl_8051AB08@sda21(r2) -/* 802590EC 0025602C 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 802590F0 00256030 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 802590F4 00256034 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802590F8 00256038 FC 00 00 1E */ fctiwz f0, f0 -/* 802590FC 0025603C D8 01 00 08 */ stfd f0, 8(r1) -/* 80259100 00256040 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80259104 00256044 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80259108 00256048 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8025910C 0025604C FC 40 00 50 */ fneg f2, f0 -/* 80259110 00256050 48 00 00 28 */ b lbl_80259138 -lbl_80259114: -/* 80259114 00256054 C0 02 C7 AC */ lfs f0, lbl_8051AB0C@sda21(r2) -/* 80259118 00256058 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 8025911C 0025605C 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 80259120 00256060 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80259124 00256064 FC 00 00 1E */ fctiwz f0, f0 -/* 80259128 00256068 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8025912C 0025606C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259130 00256070 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80259134 00256074 7C 44 04 2E */ lfsx f2, r4, r0 -lbl_80259138: -/* 80259138 00256078 C0 23 01 8C */ lfs f1, 0x18c(r3) -/* 8025913C 0025607C C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 80259140 00256080 EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 80259144 00256084 D0 23 01 98 */ stfs f1, 0x198(r3) -/* 80259148 00256088 C0 23 01 90 */ lfs f1, 0x190(r3) -/* 8025914C 0025608C D0 23 01 9C */ stfs f1, 0x19c(r3) -/* 80259150 00256090 C0 43 01 FC */ lfs f2, 0x1fc(r3) -/* 80259154 00256094 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80259158 00256098 40 80 00 08 */ bge lbl_80259160 -/* 8025915C 0025609C FC 40 10 50 */ fneg f2, f2 -lbl_80259160: -/* 80259160 002560A0 C0 22 C7 AC */ lfs f1, lbl_8051AB0C@sda21(r2) -/* 80259164 002560A4 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 80259168 002560A8 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 8025916C 002560AC C0 03 01 94 */ lfs f0, 0x194(r3) -/* 80259170 002560B0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80259174 002560B4 FC 20 08 1E */ fctiwz f1, f1 -/* 80259178 002560B8 D8 21 00 18 */ stfd f1, 0x18(r1) -/* 8025917C 002560BC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80259180 002560C0 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80259184 002560C4 7C 84 02 14 */ add r4, r4, r0 -/* 80259188 002560C8 C0 24 00 04 */ lfs f1, 4(r4) -/* 8025918C 002560CC EC 04 00 7A */ fmadds f0, f4, f1, f0 -/* 80259190 002560D0 D0 03 01 A0 */ stfs f0, 0x1a0(r3) -/* 80259194 002560D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80259198 002560D8 4E 80 00 20 */ blr - -.global pressOnGround__Q34Game4Frog3ObjFv -pressOnGround__Q34Game4Frog3ObjFv: -/* 8025919C 002560DC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802591A0 002560E0 7C 08 02 A6 */ mflr r0 -/* 802591A4 002560E4 C0 82 C7 B0 */ lfs f4, lbl_8051AB10@sda21(r2) -/* 802591A8 002560E8 38 80 00 00 */ li r4, 0 -/* 802591AC 002560EC 90 01 00 84 */ stw r0, 0x84(r1) -/* 802591B0 002560F0 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 802591B4 002560F4 7C 7F 1B 78 */ mr r31, r3 -/* 802591B8 002560F8 80 A3 00 C0 */ lwz r5, 0xc0(r3) -/* 802591BC 002560FC C0 25 05 3C */ lfs f1, 0x53c(r5) -/* 802591C0 00256100 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 802591C4 00256104 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 802591C8 00256108 4B EB 9F 55 */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 802591CC 0025610C C0 02 C7 6C */ lfs f0, lbl_8051AACC@sda21(r2) -/* 802591D0 00256110 7F E3 FB 78 */ mr r3, r31 -/* 802591D4 00256114 38 81 00 44 */ addi r4, r1, 0x44 -/* 802591D8 00256118 D0 1F 02 0C */ stfs f0, 0x20c(r31) -/* 802591DC 0025611C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802591E0 00256120 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802591E4 00256124 7D 89 03 A6 */ mtctr r12 -/* 802591E8 00256128 4E 80 04 21 */ bctrl -/* 802591EC 0025612C C0 5F 01 90 */ lfs f2, 0x190(r31) -/* 802591F0 00256130 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 802591F4 00256134 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802591F8 00256138 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 802591FC 0025613C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80259200 00256140 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80259204 00256144 80 7F 02 80 */ lwz r3, 0x280(r31) -/* 80259208 00256148 28 03 00 00 */ cmplwi r3, 0 -/* 8025920C 0025614C 41 82 00 B0 */ beq lbl_802592BC -/* 80259210 00256150 81 83 00 00 */ lwz r12, 0(r3) -/* 80259214 00256154 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80259218 00256158 7D 89 03 A6 */ mtctr r12 -/* 8025921C 0025615C 4E 80 04 21 */ bctrl -/* 80259220 00256160 C0 43 00 00 */ lfs f2, 0(r3) -/* 80259224 00256164 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 80259228 00256168 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 8025922C 0025616C 38 A0 00 00 */ li r5, 0 -/* 80259230 00256170 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple4@ha -/* 80259234 00256174 90 01 00 54 */ stw r0, 0x54(r1) -/* 80259238 00256178 38 03 6A 3C */ addi r0, r3, __vt__Q23efx8TSimple4@l -/* 8025923C 0025617C C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80259240 00256180 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80259244 00256184 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80259248 00256188 3C 60 80 4C */ lis r3, __vt__Q23efx9TFrogDive@ha -/* 8025924C 0025618C 39 20 00 5C */ li r9, 0x5c -/* 80259250 00256190 39 44 A7 EC */ addi r10, r4, __vt__Q23efx3Arg@l -/* 80259254 00256194 39 00 00 5D */ li r8, 0x5d -/* 80259258 00256198 38 E0 00 5E */ li r7, 0x5e -/* 8025925C 0025619C 38 C0 00 5F */ li r6, 0x5f -/* 80259260 002561A0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80259264 002561A4 38 03 24 BC */ addi r0, r3, __vt__Q23efx9TFrogDive@l -/* 80259268 002561A8 38 61 00 54 */ addi r3, r1, 0x54 -/* 8025926C 002561AC 38 81 00 28 */ addi r4, r1, 0x28 -/* 80259270 002561B0 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80259274 002561B4 91 41 00 28 */ stw r10, 0x28(r1) -/* 80259278 002561B8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8025927C 002561BC D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80259280 002561C0 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80259284 002561C4 B1 21 00 58 */ sth r9, 0x58(r1) -/* 80259288 002561C8 B1 01 00 5A */ sth r8, 0x5a(r1) -/* 8025928C 002561CC B0 E1 00 5C */ sth r7, 0x5c(r1) -/* 80259290 002561D0 B0 C1 00 5E */ sth r6, 0x5e(r1) -/* 80259294 002561D4 90 A1 00 60 */ stw r5, 0x60(r1) -/* 80259298 002561D8 90 A1 00 64 */ stw r5, 0x64(r1) -/* 8025929C 002561DC 90 A1 00 68 */ stw r5, 0x68(r1) -/* 802592A0 002561E0 90 A1 00 6C */ stw r5, 0x6c(r1) -/* 802592A4 002561E4 90 01 00 54 */ stw r0, 0x54(r1) -/* 802592A8 002561E8 48 15 5E BD */ bl create__Q23efx8TSimple4FPQ23efx3Arg -/* 802592AC 002561EC C0 22 C7 94 */ lfs f1, lbl_8051AAF4@sda21(r2) -/* 802592B0 002561F0 7F E3 FB 78 */ mr r3, r31 -/* 802592B4 002561F4 48 21 55 8D */ bl PSStartEnemyDownWatSE__FPQ24Game9EnemyBasef -/* 802592B8 002561F8 48 00 00 8C */ b lbl_80259344 -lbl_802592BC: -/* 802592BC 002561FC 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 802592C0 00256200 38 A0 00 00 */ li r5, 0 -/* 802592C4 00256204 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 802592C8 00256208 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple2@ha -/* 802592CC 0025620C 90 01 00 08 */ stw r0, 8(r1) -/* 802592D0 00256210 38 03 6A 64 */ addi r0, r3, __vt__Q23efx8TSimple2@l -/* 802592D4 00256214 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 802592D8 00256218 3C 60 80 4C */ lis r3, __vt__Q23efx13TFrogLanddrop@ha -/* 802592DC 0025621C 90 01 00 08 */ stw r0, 8(r1) -/* 802592E0 00256220 39 04 A7 EC */ addi r8, r4, __vt__Q23efx3Arg@l -/* 802592E4 00256224 38 03 24 A8 */ addi r0, r3, __vt__Q23efx13TFrogLanddrop@l -/* 802592E8 00256228 38 E0 00 60 */ li r7, 0x60 -/* 802592EC 0025622C 38 C0 00 61 */ li r6, 0x61 -/* 802592F0 00256230 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802592F4 00256234 38 61 00 08 */ addi r3, r1, 8 -/* 802592F8 00256238 38 81 00 18 */ addi r4, r1, 0x18 -/* 802592FC 0025623C 91 01 00 18 */ stw r8, 0x18(r1) -/* 80259300 00256240 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80259304 00256244 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80259308 00256248 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8025930C 0025624C B0 E1 00 0C */ sth r7, 0xc(r1) -/* 80259310 00256250 B0 C1 00 0E */ sth r6, 0xe(r1) -/* 80259314 00256254 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80259318 00256258 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8025931C 0025625C 90 01 00 08 */ stw r0, 8(r1) -/* 80259320 00256260 48 15 5C F5 */ bl create__Q23efx8TSimple2FPQ23efx3Arg -/* 80259324 00256264 7F E3 FB 78 */ mr r3, r31 -/* 80259328 00256268 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025932C 0025626C 81 8C 02 EC */ lwz r12, 0x2ec(r12) -/* 80259330 00256270 7D 89 03 A6 */ mtctr r12 -/* 80259334 00256274 4E 80 04 21 */ bctrl -/* 80259338 00256278 7F E3 FB 78 */ mr r3, r31 -/* 8025933C 0025627C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80259340 00256280 4B EA A6 01 */ bl createDropEffect__Q24Game9EnemyBaseFRC10Vector3$$0f$$1f -lbl_80259344: -/* 80259344 00256284 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80259348 00256288 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8025934C 0025628C 38 80 00 06 */ li r4, 6 -/* 80259350 00256290 38 C0 00 02 */ li r6, 2 -/* 80259354 00256294 4B FF 8E E9 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80259358 00256298 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 8025935C 0025629C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80259360 002562A0 38 80 00 0E */ li r4, 0xe -/* 80259364 002562A4 38 C0 00 02 */ li r6, 2 -/* 80259368 002562A8 4B FF A4 19 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 8025936C 002562AC 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 80259370 002562B0 28 00 00 00 */ cmplwi r0, 0 -/* 80259374 002562B4 41 82 00 34 */ beq lbl_802593A8 -/* 80259378 002562B8 7F E3 FB 78 */ mr r3, r31 -/* 8025937C 002562BC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80259380 002562C0 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80259384 002562C4 7D 89 03 A6 */ mtctr r12 -/* 80259388 002562C8 4E 80 04 21 */ bctrl -/* 8025938C 002562CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80259390 002562D0 38 80 58 2D */ li r4, 0x582d -/* 80259394 002562D4 38 A0 00 00 */ li r5, 0 -/* 80259398 002562D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025939C 002562DC 7D 89 03 A6 */ mtctr r12 -/* 802593A0 002562E0 4E 80 04 21 */ bctrl -/* 802593A4 002562E4 48 00 00 30 */ b lbl_802593D4 -lbl_802593A8: -/* 802593A8 002562E8 7F E3 FB 78 */ mr r3, r31 -/* 802593AC 002562EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802593B0 002562F0 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 802593B4 002562F4 7D 89 03 A6 */ mtctr r12 -/* 802593B8 002562F8 4E 80 04 21 */ bctrl -/* 802593BC 002562FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802593C0 00256300 38 80 58 27 */ li r4, 0x5827 -/* 802593C4 00256304 38 A0 00 00 */ li r5, 0 -/* 802593C8 00256308 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802593CC 0025630C 7D 89 03 A6 */ mtctr r12 -/* 802593D0 00256310 4E 80 04 21 */ bctrl -lbl_802593D4: -/* 802593D4 00256314 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802593D8 00256318 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 802593DC 0025631C 7C 08 03 A6 */ mtlr r0 -/* 802593E0 00256320 38 21 00 80 */ addi r1, r1, 0x80 -/* 802593E4 00256324 4E 80 00 20 */ blr - -.global createEffect__Q34Game4Frog3ObjFv -createEffect__Q34Game4Frog3ObjFv: -/* 802593E8 00256328 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802593EC 0025632C 7C 08 02 A6 */ mflr r0 -/* 802593F0 00256330 90 01 00 14 */ stw r0, 0x14(r1) -/* 802593F4 00256334 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802593F8 00256338 7C 7F 1B 78 */ mr r31, r3 -/* 802593FC 0025633C 38 60 00 14 */ li r3, 0x14 -/* 80259400 00256340 4B DC AA A5 */ bl __nw__FUl -/* 80259404 00256344 28 03 00 00 */ cmplwi r3, 0 -/* 80259408 00256348 41 82 00 78 */ beq lbl_80259480 -/* 8025940C 0025634C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80259410 00256350 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80259414 00256354 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80259418 00256358 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8025941C 0025635C 90 03 00 00 */ stw r0, 0(r3) -/* 80259420 00256360 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80259424 00256364 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80259428 00256368 3C 80 80 4E */ lis r4, __vt__Q23efx9TChasePos@ha -/* 8025942C 0025636C 90 03 00 04 */ stw r0, 4(r3) -/* 80259430 00256370 38 E4 69 40 */ addi r7, r4, __vt__Q23efx9TChasePos@l -/* 80259434 00256374 3C 80 80 4C */ lis r4, __vt__Q23efx9TFrogPota@ha -/* 80259438 00256378 38 05 00 14 */ addi r0, r5, 0x14 -/* 8025943C 0025637C 90 A3 00 00 */ stw r5, 0(r3) -/* 80259440 00256380 38 84 24 5C */ addi r4, r4, __vt__Q23efx9TFrogPota@l -/* 80259444 00256384 39 20 00 00 */ li r9, 0 -/* 80259448 00256388 39 00 02 B2 */ li r8, 0x2b2 -/* 8025944C 0025638C 90 03 00 04 */ stw r0, 4(r3) -/* 80259450 00256390 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80259454 00256394 38 A0 00 62 */ li r5, 0x62 -/* 80259458 00256398 38 04 00 14 */ addi r0, r4, 0x14 -/* 8025945C 0025639C 91 23 00 08 */ stw r9, 8(r3) -/* 80259460 002563A0 B1 03 00 0C */ sth r8, 0xc(r3) -/* 80259464 002563A4 99 23 00 0E */ stb r9, 0xe(r3) -/* 80259468 002563A8 90 E3 00 00 */ stw r7, 0(r3) -/* 8025946C 002563AC 90 C3 00 04 */ stw r6, 4(r3) -/* 80259470 002563B0 91 23 00 10 */ stw r9, 0x10(r3) -/* 80259474 002563B4 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 80259478 002563B8 90 83 00 00 */ stw r4, 0(r3) -/* 8025947C 002563BC 90 03 00 04 */ stw r0, 4(r3) -lbl_80259480: -/* 80259480 002563C0 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 80259484 002563C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259488 002563C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025948C 002563CC 7C 08 03 A6 */ mtlr r0 -/* 80259490 002563D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259494 002563D4 4E 80 00 20 */ blr - -.global setupEffect__Q34Game4Frog3ObjFv -setupEffect__Q34Game4Frog3ObjFv: -/* 80259498 002563D8 80 83 02 DC */ lwz r4, 0x2dc(r3) -/* 8025949C 002563DC 38 03 01 8C */ addi r0, r3, 0x18c -/* 802594A0 002563E0 90 04 00 10 */ stw r0, 0x10(r4) -/* 802594A4 002563E4 4E 80 00 20 */ blr - -.global startJumpEffect__Q34Game4Frog3ObjFv -startJumpEffect__Q34Game4Frog3ObjFv: -/* 802594A8 002563E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802594AC 002563EC 7C 08 02 A6 */ mflr r0 -/* 802594B0 002563F0 38 80 00 00 */ li r4, 0 -/* 802594B4 002563F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802594B8 002563F8 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 802594BC 002563FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802594C0 00256400 81 8C 00 08 */ lwz r12, 8(r12) -/* 802594C4 00256404 7D 89 03 A6 */ mtctr r12 -/* 802594C8 00256408 4E 80 04 21 */ bctrl -/* 802594CC 0025640C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802594D0 00256410 7C 08 03 A6 */ mtlr r0 -/* 802594D4 00256414 38 21 00 10 */ addi r1, r1, 0x10 -/* 802594D8 00256418 4E 80 00 20 */ blr - -.global finishJumpEffect__Q34Game4Frog3ObjFv -finishJumpEffect__Q34Game4Frog3ObjFv: -/* 802594DC 0025641C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802594E0 00256420 7C 08 02 A6 */ mflr r0 -/* 802594E4 00256424 90 01 00 14 */ stw r0, 0x14(r1) -/* 802594E8 00256428 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 802594EC 0025642C 81 83 00 00 */ lwz r12, 0(r3) -/* 802594F0 00256430 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802594F4 00256434 7D 89 03 A6 */ mtctr r12 -/* 802594F8 00256438 4E 80 04 21 */ bctrl -/* 802594FC 0025643C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259500 00256440 7C 08 03 A6 */ mtlr r0 -/* 80259504 00256444 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259508 00256448 4E 80 00 20 */ blr - -.global createDownEffect__Q34Game4Frog3ObjFf -createDownEffect__Q34Game4Frog3ObjFf: -/* 8025950C 0025644C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80259510 00256450 7C 08 02 A6 */ mflr r0 -/* 80259514 00256454 90 01 00 44 */ stw r0, 0x44(r1) -/* 80259518 00256458 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8025951C 0025645C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80259520 00256460 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80259524 00256464 81 83 00 00 */ lwz r12, 0(r3) -/* 80259528 00256468 FF E0 08 90 */ fmr f31, f1 -/* 8025952C 0025646C 7C 7F 1B 78 */ mr r31, r3 -/* 80259530 00256470 38 81 00 14 */ addi r4, r1, 0x14 -/* 80259534 00256474 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80259538 00256478 7D 89 03 A6 */ mtctr r12 -/* 8025953C 0025647C 4E 80 04 21 */ bctrl -/* 80259540 00256480 C0 5F 01 90 */ lfs f2, 0x190(r31) -/* 80259544 00256484 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80259548 00256488 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8025954C 0025648C D0 21 00 08 */ stfs f1, 8(r1) -/* 80259550 00256490 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80259554 00256494 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80259558 00256498 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 8025955C 0025649C 28 00 00 00 */ cmplwi r0, 0 -/* 80259560 002564A0 41 82 00 18 */ beq lbl_80259578 -/* 80259564 002564A4 FC 20 F8 90 */ fmr f1, f31 -/* 80259568 002564A8 7F E3 FB 78 */ mr r3, r31 -/* 8025956C 002564AC 38 81 00 08 */ addi r4, r1, 8 -/* 80259570 002564B0 4B EA A4 89 */ bl createSplashDownEffect__Q24Game9EnemyBaseFRC10Vector3$$0f$$1f -/* 80259574 002564B4 48 00 00 14 */ b lbl_80259588 -lbl_80259578: -/* 80259578 002564B8 FC 20 F8 90 */ fmr f1, f31 -/* 8025957C 002564BC 7F E3 FB 78 */ mr r3, r31 -/* 80259580 002564C0 38 81 00 08 */ addi r4, r1, 8 -/* 80259584 002564C4 4B EA A3 BD */ bl createDropEffect__Q24Game9EnemyBaseFRC10Vector3$$0f$$1f -lbl_80259588: -/* 80259588 002564C8 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 8025958C 002564CC 38 BF 01 8C */ addi r5, r31, 0x18c -/* 80259590 002564D0 38 80 00 00 */ li r4, 0 -/* 80259594 002564D4 38 C0 00 02 */ li r6, 2 -/* 80259598 002564D8 4B FF 8C A5 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 8025959C 002564DC 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 802595A0 002564E0 38 BF 01 8C */ addi r5, r31, 0x18c -/* 802595A4 002564E4 38 80 00 0B */ li r4, 0xb -/* 802595A8 002564E8 38 C0 00 02 */ li r6, 2 -/* 802595AC 002564EC 4B FF A1 D5 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 802595B0 002564F0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 802595B4 002564F4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802595B8 002564F8 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 802595BC 002564FC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802595C0 00256500 7C 08 03 A6 */ mtlr r0 -/* 802595C4 00256504 38 21 00 40 */ addi r1, r1, 0x40 -/* 802595C8 00256508 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game4Frog3ObjFv -effectDrawOn__Q34Game4Frog3ObjFv: -/* 802595CC 0025650C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802595D0 00256510 7C 08 02 A6 */ mflr r0 -/* 802595D4 00256514 90 01 00 14 */ stw r0, 0x14(r1) -/* 802595D8 00256518 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 802595DC 0025651C 81 83 00 00 */ lwz r12, 0(r3) -/* 802595E0 00256520 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 802595E4 00256524 7D 89 03 A6 */ mtctr r12 -/* 802595E8 00256528 4E 80 04 21 */ bctrl -/* 802595EC 0025652C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802595F0 00256530 7C 08 03 A6 */ mtlr r0 -/* 802595F4 00256534 38 21 00 10 */ addi r1, r1, 0x10 -/* 802595F8 00256538 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game4Frog3ObjFv -effectDrawOff__Q34Game4Frog3ObjFv: -/* 802595FC 0025653C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259600 00256540 7C 08 02 A6 */ mflr r0 -/* 80259604 00256544 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259608 00256548 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 8025960C 0025654C 81 83 00 00 */ lwz r12, 0(r3) -/* 80259610 00256550 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80259614 00256554 7D 89 03 A6 */ mtctr r12 -/* 80259618 00256558 4E 80 04 21 */ bctrl -/* 8025961C 0025655C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259620 00256560 7C 08 03 A6 */ mtlr r0 -/* 80259624 00256564 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259628 00256568 4E 80 00 20 */ blr - -.global __dt__Q23efx9TFrogPotaFv -__dt__Q23efx9TFrogPotaFv: -/* 8025962C 0025656C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259630 00256570 7C 08 02 A6 */ mflr r0 -/* 80259634 00256574 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259638 00256578 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025963C 0025657C 7C 9F 23 78 */ mr r31, r4 -/* 80259640 00256580 93 C1 00 08 */ stw r30, 8(r1) -/* 80259644 00256584 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80259648 00256588 41 82 00 64 */ beq lbl_802596AC -/* 8025964C 0025658C 3C 60 80 4C */ lis r3, __vt__Q23efx9TFrogPota@ha -/* 80259650 00256590 38 63 24 5C */ addi r3, r3, __vt__Q23efx9TFrogPota@l -/* 80259654 00256594 90 7E 00 00 */ stw r3, 0(r30) -/* 80259658 00256598 38 03 00 14 */ addi r0, r3, 0x14 -/* 8025965C 0025659C 90 1E 00 04 */ stw r0, 4(r30) -/* 80259660 002565A0 41 82 00 3C */ beq lbl_8025969C -/* 80259664 002565A4 3C 60 80 4E */ lis r3, __vt__Q23efx9TChasePos@ha -/* 80259668 002565A8 38 63 69 40 */ addi r3, r3, __vt__Q23efx9TChasePos@l -/* 8025966C 002565AC 90 7E 00 00 */ stw r3, 0(r30) -/* 80259670 002565B0 38 03 00 14 */ addi r0, r3, 0x14 -/* 80259674 002565B4 90 1E 00 04 */ stw r0, 4(r30) -/* 80259678 002565B8 41 82 00 24 */ beq lbl_8025969C -/* 8025967C 002565BC 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80259680 002565C0 38 7E 00 04 */ addi r3, r30, 4 -/* 80259684 002565C4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80259688 002565C8 38 80 00 00 */ li r4, 0 -/* 8025968C 002565CC 90 BE 00 00 */ stw r5, 0(r30) -/* 80259690 002565D0 38 05 00 14 */ addi r0, r5, 0x14 -/* 80259694 002565D4 90 1E 00 04 */ stw r0, 4(r30) -/* 80259698 002565D8 4B E3 66 05 */ bl __dt__18JPAEmitterCallBackFv -lbl_8025969C: -/* 8025969C 002565DC 7F E0 07 35 */ extsh. r0, r31 -/* 802596A0 002565E0 40 81 00 0C */ ble lbl_802596AC -/* 802596A4 002565E4 7F C3 F3 78 */ mr r3, r30 -/* 802596A8 002565E8 4B DC AA 0D */ bl __dl__FPv -lbl_802596AC: -/* 802596AC 002565EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802596B0 002565F0 7F C3 F3 78 */ mr r3, r30 -/* 802596B4 002565F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802596B8 002565F8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802596BC 002565FC 7C 08 03 A6 */ mtlr r0 -/* 802596C0 00256600 38 21 00 10 */ addi r1, r1, 0x10 -/* 802596C4 00256604 4E 80 00 20 */ blr - -.global forceKill__Q23efx8TSimple4Fv -forceKill__Q23efx8TSimple4Fv: -/* 802596C8 00256608 4E 80 00 20 */ blr - -.global fade__Q23efx8TSimple4Fv -fade__Q23efx8TSimple4Fv: -/* 802596CC 0025660C 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game4Frog3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game4Frog3ObjFPQ24Game8WaterBox: -/* 802596D0 00256610 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game4Frog3ObjFv -outWaterCallback__Q34Game4Frog3ObjFv: -/* 802596D4 00256614 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Frog3ObjFv -getEnemyTypeID__Q34Game4Frog3ObjFv: -/* 802596D8 00256618 38 60 00 11 */ li r3, 0x11 -/* 802596DC 0025661C 4E 80 00 20 */ blr - -.global __sinit_Frog_cpp -__sinit_Frog_cpp: -/* 802596E0 00256620 3C 80 80 51 */ lis r4, __float_nan@ha -/* 802596E4 00256624 38 00 FF FF */ li r0, -1 -/* 802596E8 00256628 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 802596EC 0025662C 3C 60 80 4C */ lis r3, lbl_804C2450@ha -/* 802596F0 00256630 90 0D 96 B8 */ stw r0, lbl_80515D38@sda21(r13) -/* 802596F4 00256634 D4 03 24 50 */ stfsu f0, lbl_804C2450@l(r3) -/* 802596F8 00256638 D0 0D 96 BC */ stfs f0, lbl_80515D3C@sda21(r13) -/* 802596FC 0025663C D0 03 00 04 */ stfs f0, 4(r3) -/* 80259700 00256640 D0 03 00 08 */ stfs f0, 8(r3) -/* 80259704 00256644 4E 80 00 20 */ blr - -.global $$2736$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2736$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 80259708 00256648 39 60 00 0C */ li r11, 0xc -/* 8025970C 0025664C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80259710 00256650 7C 63 5A 14 */ add r3, r3, r11 -/* 80259714 00256654 38 63 FD 20 */ addi r3, r3, -736 -/* 80259718 00256658 4B EA D2 04 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2736$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2736$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 8025971C 0025665C 39 60 00 0C */ li r11, 0xc -/* 80259720 00256660 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80259724 00256664 7C 63 5A 14 */ add r3, r3, r11 -/* 80259728 00256668 38 63 FD 20 */ addi r3, r3, -736 -/* 8025972C 0025666C 4B EA CF 7C */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2736$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2736$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 80259730 00256670 39 60 00 0C */ li r11, 0xc -/* 80259734 00256674 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80259738 00256678 7C 63 5A 14 */ add r3, r3, r11 -/* 8025973C 0025667C 38 63 FD 20 */ addi r3, r3, -736 -/* 80259740 00256680 4B EA CF 88 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2736$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2736$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 80259744 00256684 39 60 00 0C */ li r11, 0xc -/* 80259748 00256688 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8025974C 0025668C 7C 63 5A 14 */ add r3, r3, r11 -/* 80259750 00256690 38 63 FD 20 */ addi r3, r3, -736 -/* 80259754 00256694 4B EA D3 24 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2736$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2736$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 80259758 00256698 39 60 00 0C */ li r11, 0xc -/* 8025975C 0025669C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80259760 002566A0 7C 63 5A 14 */ add r3, r3, r11 -/* 80259764 002566A4 38 63 FD 20 */ addi r3, r3, -736 -/* 80259768 002566A8 4B EA D2 E4 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2736$$212$$2viewGetCollTreeOffset__Q34Game4Frog3ObjFv -$$2736$$212$$2viewGetCollTreeOffset__Q34Game4Frog3ObjFv: -/* 8025976C 002566AC 39 60 00 0C */ li r11, 0xc -/* 80259770 002566B0 7D 64 58 2E */ lwzx r11, r4, r11 -/* 80259774 002566B4 7C 84 5A 14 */ add r4, r4, r11 -/* 80259778 002566B8 38 84 FD 20 */ addi r4, r4, -736 -/* 8025977C 002566BC 4B FF F6 C4 */ b viewGetCollTreeOffset__Q34Game4Frog3ObjFv - -.global $$2736$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2736$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 80259780 002566C0 39 60 00 0C */ li r11, 0xc -/* 80259784 002566C4 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80259788 002566C8 7C 63 5A 14 */ add r3, r3, r11 -/* 8025978C 002566CC 38 63 FD 20 */ addi r3, r3, -736 -/* 80259790 002566D0 4B EA CF 10 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2__dt__Q23efx9TFrogPotaFv -$$24$$2__dt__Q23efx9TFrogPotaFv: -/* 80259794 002566D4 38 63 FF FC */ addi r3, r3, -4 -/* 80259798 002566D8 4B FF FE 94 */ b __dt__Q23efx9TFrogPotaFv - -.global __ct__Q34Game4Ujib3MgrFiUc -__ct__Q34Game4Ujib3MgrFiUc: -/* 8025979C 002566DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802597A0 002566E0 7C 08 02 A6 */ mflr r0 -/* 802597A4 002566E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802597A8 002566E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802597AC 002566EC 7C 7F 1B 78 */ mr r31, r3 -/* 802597B0 002566F0 4B ED 54 E5 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 802597B4 002566F4 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib3Mgr@ha -/* 802597B8 002566F8 3C 80 80 48 */ lis r4, lbl_8048505C@ha -/* 802597BC 002566FC 38 A3 28 14 */ addi r5, r3, __vt__Q34Game4Ujib3Mgr@l -/* 802597C0 00256700 7F E3 FB 78 */ mr r3, r31 -/* 802597C4 00256704 90 BF 00 00 */ stw r5, 0(r31) -/* 802597C8 00256708 38 A5 00 38 */ addi r5, r5, 0x38 -/* 802597CC 0025670C 38 04 50 5C */ addi r0, r4, lbl_8048505C@l -/* 802597D0 00256710 90 BF 00 04 */ stw r5, 4(r31) -/* 802597D4 00256714 90 1F 00 18 */ stw r0, 0x18(r31) -/* 802597D8 00256718 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802597DC 0025671C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802597E0 00256720 7C 08 03 A6 */ mtlr r0 -/* 802597E4 00256724 38 21 00 10 */ addi r1, r1, 0x10 -/* 802597E8 00256728 4E 80 00 20 */ blr - -.global doAlloc__Q34Game4Ujib3MgrFv -doAlloc__Q34Game4Ujib3MgrFv: -/* 802597EC 0025672C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802597F0 00256730 7C 08 02 A6 */ mflr r0 -/* 802597F4 00256734 90 01 00 14 */ stw r0, 0x14(r1) -/* 802597F8 00256738 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802597FC 0025673C 7C 7F 1B 78 */ mr r31, r3 -/* 80259800 00256740 38 60 08 58 */ li r3, 0x858 -/* 80259804 00256744 4B DC A6 A1 */ bl __nw__FUl -/* 80259808 00256748 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025980C 0025674C 41 82 00 0C */ beq lbl_80259818 -/* 80259810 00256750 48 00 00 25 */ bl __ct__Q34Game4Ujib5ParmsFv -/* 80259814 00256754 7C 64 1B 78 */ mr r4, r3 -lbl_80259818: -/* 80259818 00256758 7F E3 FB 78 */ mr r3, r31 -/* 8025981C 0025675C 4B ED 60 81 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80259820 00256760 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259824 00256764 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259828 00256768 7C 08 03 A6 */ mtlr r0 -/* 8025982C 0025676C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259830 00256770 4E 80 00 20 */ blr - -.global __ct__Q34Game4Ujib5ParmsFv -__ct__Q34Game4Ujib5ParmsFv: -/* 80259834 00256774 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259838 00256778 7C 08 02 A6 */ mflr r0 -/* 8025983C 0025677C 3C 80 80 48 */ lis r4, lbl_80485050@ha -/* 80259840 00256780 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259844 00256784 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259848 00256788 3B E4 50 50 */ addi r31, r4, lbl_80485050@l -/* 8025984C 0025678C 93 C1 00 08 */ stw r30, 8(r1) -/* 80259850 00256790 7C 7E 1B 78 */ mr r30, r3 -/* 80259854 00256794 4B EA FF 49 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80259858 00256798 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib5Parms@ha -/* 8025985C 0025679C 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 80259860 002567A0 38 03 28 08 */ addi r0, r3, __vt__Q34Game4Ujib5Parms@l -/* 80259864 002567A4 38 9E 08 54 */ addi r4, r30, 0x854 -/* 80259868 002567A8 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 8025986C 002567AC 38 E0 00 00 */ li r7, 0 -/* 80259870 002567B0 38 1F 00 24 */ addi r0, r31, 0x24 -/* 80259874 002567B4 38 7E 08 04 */ addi r3, r30, 0x804 -/* 80259878 002567B8 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 8025987C 002567BC 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80259880 002567C0 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80259884 002567C4 38 DF 00 34 */ addi r6, r31, 0x34 -/* 80259888 002567C8 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 8025988C 002567CC 90 1E 08 00 */ stw r0, 0x800(r30) -/* 80259890 002567D0 48 1B 9D C9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80259894 002567D4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80259898 002567D8 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 8025989C 002567DC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802598A0 002567E0 C0 02 C7 B8 */ lfs f0, lbl_8051AB18@sda21(r2) -/* 802598A4 002567E4 90 1E 08 04 */ stw r0, 0x804(r30) -/* 802598A8 002567E8 38 7E 08 2C */ addi r3, r30, 0x82c -/* 802598AC 002567EC C0 22 C7 BC */ lfs f1, lbl_8051AB1C@sda21(r2) -/* 802598B0 002567F0 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 802598B4 002567F4 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 802598B8 002567F8 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 802598BC 002567FC C0 02 C7 C0 */ lfs f0, lbl_8051AB20@sda21(r2) -/* 802598C0 00256800 38 DF 00 40 */ addi r6, r31, 0x40 -/* 802598C4 00256804 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 802598C8 00256808 D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 802598CC 0025680C 48 1B 9D 8D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802598D0 00256810 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802598D4 00256814 C0 42 C7 C4 */ lfs f2, lbl_8051AB24@sda21(r2) -/* 802598D8 00256818 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802598DC 0025681C C0 22 C7 BC */ lfs f1, lbl_8051AB1C@sda21(r2) -/* 802598E0 00256820 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 802598E4 00256824 7F C3 F3 78 */ mr r3, r30 -/* 802598E8 00256828 C0 02 C7 C8 */ lfs f0, lbl_8051AB28@sda21(r2) -/* 802598EC 0025682C D0 5E 08 44 */ stfs f2, 0x844(r30) -/* 802598F0 00256830 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 802598F4 00256834 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 802598F8 00256838 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802598FC 0025683C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80259900 00256840 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259904 00256844 7C 08 03 A6 */ mtlr r0 -/* 80259908 00256848 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025990C 0025684C 4E 80 00 20 */ blr - -.global createObj__Q34Game4Ujib3MgrFi -createObj__Q34Game4Ujib3MgrFi: -/* 80259910 00256850 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259914 00256854 7C 08 02 A6 */ mflr r0 -/* 80259918 00256858 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025991C 0025685C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259920 00256860 7C 9F 23 78 */ mr r31, r4 -/* 80259924 00256864 93 C1 00 08 */ stw r30, 8(r1) -/* 80259928 00256868 7C 7E 1B 78 */ mr r30, r3 -/* 8025992C 0025686C 1C 7F 02 EC */ mulli r3, r31, 0x2ec -/* 80259930 00256870 38 63 00 10 */ addi r3, r3, 0x10 -/* 80259934 00256874 4B DC A6 79 */ bl __nwa__FUl -/* 80259938 00256878 3C 80 80 26 */ lis r4, __ct__Q34Game4Ujib3ObjFv@ha -/* 8025993C 0025687C 3C A0 80 26 */ lis r5, __dt__Q34Game4Ujib3ObjFv@ha -/* 80259940 00256880 38 84 9B 4C */ addi r4, r4, __ct__Q34Game4Ujib3ObjFv@l -/* 80259944 00256884 7F E7 FB 78 */ mr r7, r31 -/* 80259948 00256888 38 A5 99 70 */ addi r5, r5, __dt__Q34Game4Ujib3ObjFv@l -/* 8025994C 0025688C 38 C0 02 EC */ li r6, 0x2ec -/* 80259950 00256890 4B E6 80 A1 */ bl __construct_new_array -/* 80259954 00256894 90 7E 00 44 */ stw r3, 0x44(r30) -/* 80259958 00256898 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025995C 0025689C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259960 002568A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80259964 002568A4 7C 08 03 A6 */ mtlr r0 -/* 80259968 002568A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025996C 002568AC 4E 80 00 20 */ blr - -.global __dt__Q34Game4Ujib3ObjFv -__dt__Q34Game4Ujib3ObjFv: -/* 80259970 002568B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259974 002568B4 7C 08 02 A6 */ mflr r0 -/* 80259978 002568B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025997C 002568BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259980 002568C0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80259984 002568C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80259988 002568C8 7C 9E 23 78 */ mr r30, r4 -/* 8025998C 002568CC 41 82 00 84 */ beq lbl_80259A10 -/* 80259990 002568D0 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib3Obj@ha -/* 80259994 002568D4 38 1F 02 DC */ addi r0, r31, 0x2dc -/* 80259998 002568D8 38 83 29 48 */ addi r4, r3, __vt__Q34Game4Ujib3Obj@l -/* 8025999C 002568DC 90 9F 00 00 */ stw r4, 0(r31) -/* 802599A0 002568E0 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 802599A4 002568E4 38 84 02 FC */ addi r4, r4, 0x2fc -/* 802599A8 002568E8 90 7F 01 78 */ stw r3, 0x178(r31) -/* 802599AC 002568EC 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 802599B0 002568F0 90 83 00 00 */ stw r4, 0(r3) -/* 802599B4 002568F4 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 802599B8 002568F8 7C 03 00 50 */ subf r0, r3, r0 -/* 802599BC 002568FC 90 03 00 0C */ stw r0, 0xc(r3) -/* 802599C0 00256900 41 82 00 40 */ beq lbl_80259A00 -/* 802599C4 00256904 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 802599C8 00256908 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 802599CC 0025690C 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 802599D0 00256910 38 7F 02 90 */ addi r3, r31, 0x290 -/* 802599D4 00256914 90 9F 00 00 */ stw r4, 0(r31) -/* 802599D8 00256918 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 802599DC 0025691C 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 802599E0 00256920 38 80 FF FF */ li r4, -1 -/* 802599E4 00256924 90 BF 01 78 */ stw r5, 0x178(r31) -/* 802599E8 00256928 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 802599EC 0025692C 90 C5 00 00 */ stw r6, 0(r5) -/* 802599F0 00256930 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 802599F4 00256934 7C 05 00 50 */ subf r0, r5, r0 -/* 802599F8 00256938 90 05 00 0C */ stw r0, 0xc(r5) -/* 802599FC 0025693C 48 1B 7B 8D */ bl __dt__5CNodeFv -lbl_80259A00: -/* 80259A00 00256940 7F C0 07 35 */ extsh. r0, r30 -/* 80259A04 00256944 40 81 00 0C */ ble lbl_80259A10 -/* 80259A08 00256948 7F E3 FB 78 */ mr r3, r31 -/* 80259A0C 0025694C 4B DC A6 A9 */ bl __dl__FPv -lbl_80259A10: -/* 80259A10 00256950 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259A14 00256954 7F E3 FB 78 */ mr r3, r31 -/* 80259A18 00256958 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259A1C 0025695C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80259A20 00256960 7C 08 03 A6 */ mtlr r0 -/* 80259A24 00256964 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259A28 00256968 4E 80 00 20 */ blr - -.global getEnemy__Q34Game4Ujib3MgrFi -getEnemy__Q34Game4Ujib3MgrFi: -/* 80259A2C 0025696C 1C 04 02 EC */ mulli r0, r4, 0x2ec -/* 80259A30 00256970 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80259A34 00256974 7C 63 02 14 */ add r3, r3, r0 -/* 80259A38 00256978 4E 80 00 20 */ blr - -.global read__Q34Game4Ujib5ParmsFR6Stream -read__Q34Game4Ujib5ParmsFR6Stream: -/* 80259A3C 0025697C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259A40 00256980 7C 08 02 A6 */ mflr r0 -/* 80259A44 00256984 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259A48 00256988 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259A4C 0025698C 7C 9F 23 78 */ mr r31, r4 -/* 80259A50 00256990 93 C1 00 08 */ stw r30, 8(r1) -/* 80259A54 00256994 7C 7E 1B 78 */ mr r30, r3 -/* 80259A58 00256998 48 1B 9D 9D */ bl read__10ParametersFR6Stream -/* 80259A5C 0025699C 7F E4 FB 78 */ mr r4, r31 -/* 80259A60 002569A0 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 80259A64 002569A4 48 1B 9D 91 */ bl read__10ParametersFR6Stream -/* 80259A68 002569A8 7F E4 FB 78 */ mr r4, r31 -/* 80259A6C 002569AC 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 80259A70 002569B0 48 1B 9D 85 */ bl read__10ParametersFR6Stream -/* 80259A74 002569B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259A78 002569B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259A7C 002569BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80259A80 002569C0 7C 08 03 A6 */ mtlr r0 -/* 80259A84 002569C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259A88 002569C8 4E 80 00 20 */ blr - -.global __dt__Q34Game4Ujib3MgrFv -__dt__Q34Game4Ujib3MgrFv: -/* 80259A8C 002569CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259A90 002569D0 7C 08 02 A6 */ mflr r0 -/* 80259A94 002569D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259A98 002569D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259A9C 002569DC 7C 9F 23 78 */ mr r31, r4 -/* 80259AA0 002569E0 93 C1 00 08 */ stw r30, 8(r1) -/* 80259AA4 002569E4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80259AA8 002569E8 41 82 00 78 */ beq lbl_80259B20 -/* 80259AAC 002569EC 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib3Mgr@ha -/* 80259AB0 002569F0 38 63 28 14 */ addi r3, r3, __vt__Q34Game4Ujib3Mgr@l -/* 80259AB4 002569F4 90 7E 00 00 */ stw r3, 0(r30) -/* 80259AB8 002569F8 38 03 00 38 */ addi r0, r3, 0x38 -/* 80259ABC 002569FC 90 1E 00 04 */ stw r0, 4(r30) -/* 80259AC0 00256A00 41 82 00 50 */ beq lbl_80259B10 -/* 80259AC4 00256A04 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80259AC8 00256A08 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80259ACC 00256A0C 90 7E 00 00 */ stw r3, 0(r30) -/* 80259AD0 00256A10 38 03 00 38 */ addi r0, r3, 0x38 -/* 80259AD4 00256A14 90 1E 00 04 */ stw r0, 4(r30) -/* 80259AD8 00256A18 41 82 00 38 */ beq lbl_80259B10 -/* 80259ADC 00256A1C 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80259AE0 00256A20 34 1E 00 04 */ addic. r0, r30, 4 -/* 80259AE4 00256A24 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80259AE8 00256A28 90 7E 00 00 */ stw r3, 0(r30) -/* 80259AEC 00256A2C 38 03 00 38 */ addi r0, r3, 0x38 -/* 80259AF0 00256A30 90 1E 00 04 */ stw r0, 4(r30) -/* 80259AF4 00256A34 41 82 00 1C */ beq lbl_80259B10 -/* 80259AF8 00256A38 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80259AFC 00256A3C 38 7E 00 04 */ addi r3, r30, 4 -/* 80259B00 00256A40 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80259B04 00256A44 38 80 00 00 */ li r4, 0 -/* 80259B08 00256A48 90 1E 00 04 */ stw r0, 4(r30) -/* 80259B0C 00256A4C 48 1B 7A 7D */ bl __dt__5CNodeFv -lbl_80259B10: -/* 80259B10 00256A50 7F E0 07 35 */ extsh. r0, r31 -/* 80259B14 00256A54 40 81 00 0C */ ble lbl_80259B20 -/* 80259B18 00256A58 7F C3 F3 78 */ mr r3, r30 -/* 80259B1C 00256A5C 4B DC A5 99 */ bl __dl__FPv -lbl_80259B20: -/* 80259B20 00256A60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259B24 00256A64 7F C3 F3 78 */ mr r3, r30 -/* 80259B28 00256A68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259B2C 00256A6C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80259B30 00256A70 7C 08 03 A6 */ mtlr r0 -/* 80259B34 00256A74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259B38 00256A78 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Ujib3MgrFv -getEnemyTypeID__Q34Game4Ujib3MgrFv: -/* 80259B3C 00256A7C 38 60 00 0D */ li r3, 0xd -/* 80259B40 00256A80 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game4Ujib3MgrFv -$$24$$2__dt__Q34Game4Ujib3MgrFv: -/* 80259B44 00256A84 38 63 FF FC */ addi r3, r3, -4 -/* 80259B48 00256A88 4B FF FF 44 */ b __dt__Q34Game4Ujib3MgrFv - -.global __ct__Q34Game4Ujib3ObjFv -__ct__Q34Game4Ujib3ObjFv: -/* 80259B4C 00256A8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259B50 00256A90 7C 08 02 A6 */ mflr r0 -/* 80259B54 00256A94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259B58 00256A98 7C 80 07 35 */ extsh. r0, r4 -/* 80259B5C 00256A9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259B60 00256AA0 7C 7F 1B 78 */ mr r31, r3 -/* 80259B64 00256AA4 93 C1 00 08 */ stw r30, 8(r1) -/* 80259B68 00256AA8 41 82 00 24 */ beq lbl_80259B8C -/* 80259B6C 00256AAC 38 1F 02 DC */ addi r0, r31, 0x2dc -/* 80259B70 00256AB0 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 80259B74 00256AB4 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80259B78 00256AB8 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80259B7C 00256ABC 38 00 00 00 */ li r0, 0 -/* 80259B80 00256AC0 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 80259B84 00256AC4 90 1F 02 E0 */ stw r0, 0x2e0(r31) -/* 80259B88 00256AC8 90 1F 02 E4 */ stw r0, 0x2e4(r31) -lbl_80259B8C: -/* 80259B8C 00256ACC 7F E3 FB 78 */ mr r3, r31 -/* 80259B90 00256AD0 38 80 00 00 */ li r4, 0 -/* 80259B94 00256AD4 4B EA 78 0D */ bl __ct__Q24Game9EnemyBaseFv -/* 80259B98 00256AD8 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib3Obj@ha -/* 80259B9C 00256ADC 38 1F 02 DC */ addi r0, r31, 0x2dc -/* 80259BA0 00256AE0 38 A3 29 48 */ addi r5, r3, __vt__Q34Game4Ujib3Obj@l -/* 80259BA4 00256AE4 38 7F 02 C8 */ addi r3, r31, 0x2c8 -/* 80259BA8 00256AE8 90 BF 00 00 */ stw r5, 0(r31) -/* 80259BAC 00256AEC 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80259BB0 00256AF0 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 80259BB4 00256AF4 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80259BB8 00256AF8 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80259BBC 00256AFC 90 A4 00 00 */ stw r5, 0(r4) -/* 80259BC0 00256B00 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80259BC4 00256B04 7C 04 00 50 */ subf r0, r4, r0 -/* 80259BC8 00256B08 90 04 00 0C */ stw r0, 0xc(r4) -/* 80259BCC 00256B0C 4B ED E9 7D */ bl __ct__10MouthSlotsFv -/* 80259BD0 00256B10 38 60 00 2C */ li r3, 0x2c -/* 80259BD4 00256B14 4B DC A2 D1 */ bl __nw__FUl -/* 80259BD8 00256B18 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80259BDC 00256B1C 41 82 00 44 */ beq lbl_80259C20 -/* 80259BE0 00256B20 4B EC DD 95 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80259BE4 00256B24 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib14ProperAnimator@ha -/* 80259BE8 00256B28 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 80259BEC 00256B2C 38 03 2E 98 */ addi r0, r3, __vt__Q34Game4Ujib14ProperAnimator@l -/* 80259BF0 00256B30 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80259BF4 00256B34 90 1E 00 00 */ stw r0, 0(r30) -/* 80259BF8 00256B38 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 80259BFC 00256B3C 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 80259C00 00256B40 38 00 00 00 */ li r0, 0 -/* 80259C04 00256B44 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80259C08 00256B48 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80259C0C 00256B4C 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80259C10 00256B50 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80259C14 00256B54 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80259C18 00256B58 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80259C1C 00256B5C 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80259C20: -/* 80259C20 00256B60 93 DF 01 84 */ stw r30, 0x184(r31) -/* 80259C24 00256B64 38 60 00 1C */ li r3, 0x1c -/* 80259C28 00256B68 4B DC A2 7D */ bl __nw__FUl -/* 80259C2C 00256B6C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80259C30 00256B70 41 82 00 24 */ beq lbl_80259C54 -/* 80259C34 00256B74 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 80259C38 00256B78 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib3FSM@ha -/* 80259C3C 00256B7C 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 80259C40 00256B80 38 A0 FF FF */ li r5, -1 -/* 80259C44 00256B84 90 04 00 00 */ stw r0, 0(r4) -/* 80259C48 00256B88 38 03 2E 70 */ addi r0, r3, __vt__Q34Game4Ujib3FSM@l -/* 80259C4C 00256B8C 90 A4 00 18 */ stw r5, 0x18(r4) -/* 80259C50 00256B90 90 04 00 00 */ stw r0, 0(r4) -lbl_80259C54: -/* 80259C54 00256B94 81 9F 00 00 */ lwz r12, 0(r31) -/* 80259C58 00256B98 7F E3 FB 78 */ mr r3, r31 -/* 80259C5C 00256B9C 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 80259C60 00256BA0 7D 89 03 A6 */ mtctr r12 -/* 80259C64 00256BA4 4E 80 04 21 */ bctrl -/* 80259C68 00256BA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259C6C 00256BAC 7F E3 FB 78 */ mr r3, r31 -/* 80259C70 00256BB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259C74 00256BB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80259C78 00256BB8 7C 08 03 A6 */ mtlr r0 -/* 80259C7C 00256BBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259C80 00256BC0 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game4Ujib3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game4Ujib3ObjFPQ24Game21EnemyInitialParamBase: -/* 80259C84 00256BC4 4E 80 00 20 */ blr - -.global onInit__Q34Game4Ujib3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game4Ujib3ObjFPQ24Game15CreatureInitArg: -/* 80259C88 00256BC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259C8C 00256BCC 7C 08 02 A6 */ mflr r0 -/* 80259C90 00256BD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259C94 00256BD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259C98 00256BD8 7C 7F 1B 78 */ mr r31, r3 -/* 80259C9C 00256BDC 4B EA 7D BD */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 80259CA0 00256BE0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80259CA4 00256BE4 7F E3 FB 78 */ mr r3, r31 -/* 80259CA8 00256BE8 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 80259CAC 00256BEC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80259CB0 00256BF0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80259CB4 00256BF4 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80259CB8 00256BF8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80259CBC 00256BFC 48 00 03 9D */ bl resetAppearCheck__Q34Game4Ujib3ObjFv -/* 80259CC0 00256C00 38 60 00 00 */ li r3, 0 -/* 80259CC4 00256C04 38 00 FF FF */ li r0, -1 -/* 80259CC8 00256C08 98 7F 02 C1 */ stb r3, 0x2c1(r31) -/* 80259CCC 00256C0C 7F E3 FB 78 */ mr r3, r31 -/* 80259CD0 00256C10 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80259CD4 00256C14 48 00 04 81 */ bl resetBridgeSearch__Q34Game4Ujib3ObjFv -/* 80259CD8 00256C18 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80259CDC 00256C1C 7F E4 FB 78 */ mr r4, r31 -/* 80259CE0 00256C20 38 A0 00 02 */ li r5, 2 -/* 80259CE4 00256C24 38 C0 00 00 */ li r6, 0 -/* 80259CE8 00256C28 81 83 00 00 */ lwz r12, 0(r3) -/* 80259CEC 00256C2C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80259CF0 00256C30 7D 89 03 A6 */ mtctr r12 -/* 80259CF4 00256C34 4E 80 04 21 */ bctrl -/* 80259CF8 00256C38 7F E3 FB 78 */ mr r3, r31 -/* 80259CFC 00256C3C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80259D00 00256C40 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 80259D04 00256C44 7D 89 03 A6 */ mtctr r12 -/* 80259D08 00256C48 4E 80 04 21 */ bctrl -/* 80259D0C 00256C4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259D10 00256C50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259D14 00256C54 7C 08 03 A6 */ mtlr r0 -/* 80259D18 00256C58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259D1C 00256C5C 4E 80 00 20 */ blr - -.global doUpdate__Q34Game4Ujib3ObjFv -doUpdate__Q34Game4Ujib3ObjFv: -/* 80259D20 00256C60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259D24 00256C64 7C 08 02 A6 */ mflr r0 -/* 80259D28 00256C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259D2C 00256C6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259D30 00256C70 7C 7F 1B 78 */ mr r31, r3 -/* 80259D34 00256C74 7F E4 FB 78 */ mr r4, r31 -/* 80259D38 00256C78 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80259D3C 00256C7C 81 83 00 00 */ lwz r12, 0(r3) -/* 80259D40 00256C80 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80259D44 00256C84 7D 89 03 A6 */ mtctr r12 -/* 80259D48 00256C88 4E 80 04 21 */ bctrl -/* 80259D4C 00256C8C 38 7F 02 C8 */ addi r3, r31, 0x2c8 -/* 80259D50 00256C90 4B ED E8 DD */ bl update__10MouthSlotsFv -/* 80259D54 00256C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259D58 00256C98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259D5C 00256C9C 7C 08 03 A6 */ mtlr r0 -/* 80259D60 00256CA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259D64 00256CA4 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game4Ujib3ObjFR8Graphics -doDirectDraw__Q34Game4Ujib3ObjFR8Graphics: -/* 80259D68 00256CA8 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Ujib3ObjFR8Graphics -doDebugDraw__Q34Game4Ujib3ObjFR8Graphics: -/* 80259D6C 00256CAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259D70 00256CB0 7C 08 02 A6 */ mflr r0 -/* 80259D74 00256CB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259D78 00256CB8 4B EA C0 F5 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80259D7C 00256CBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259D80 00256CC0 7C 08 03 A6 */ mtlr r0 -/* 80259D84 00256CC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259D88 00256CC8 4E 80 00 20 */ blr - -.global setFSM__Q34Game4Ujib3ObjFPQ34Game4Ujib3FSM -setFSM__Q34Game4Ujib3ObjFPQ34Game4Ujib3FSM: -/* 80259D8C 00256CCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259D90 00256CD0 7C 08 02 A6 */ mflr r0 -/* 80259D94 00256CD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259D98 00256CD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259D9C 00256CDC 7C 7F 1B 78 */ mr r31, r3 -/* 80259DA0 00256CE0 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80259DA4 00256CE4 7F E4 FB 78 */ mr r4, r31 -/* 80259DA8 00256CE8 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80259DAC 00256CEC 81 83 00 00 */ lwz r12, 0(r3) -/* 80259DB0 00256CF0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80259DB4 00256CF4 7D 89 03 A6 */ mtctr r12 -/* 80259DB8 00256CF8 4E 80 04 21 */ bctrl -/* 80259DBC 00256CFC 38 00 00 00 */ li r0, 0 -/* 80259DC0 00256D00 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80259DC4 00256D04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259DC8 00256D08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259DCC 00256D0C 7C 08 03 A6 */ mtlr r0 -/* 80259DD0 00256D10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259DD4 00256D14 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game4Ujib3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game4Ujib3ObjFRQ24Game11ShadowParam: -/* 80259DD8 00256D18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259DDC 00256D1C 7C 08 02 A6 */ mflr r0 -/* 80259DE0 00256D20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259DE4 00256D24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259DE8 00256D28 7C 9F 23 78 */ mr r31, r4 -/* 80259DEC 00256D2C 38 82 C7 D0 */ addi r4, r2, lbl_8051AB30@sda21 -/* 80259DF0 00256D30 93 C1 00 08 */ stw r30, 8(r1) -/* 80259DF4 00256D34 7C 7E 1B 78 */ mr r30, r3 -/* 80259DF8 00256D38 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80259DFC 00256D3C 48 1E 51 E9 */ bl getJoint__Q28SysShape5ModelFPc -/* 80259E00 00256D40 48 1C FA A1 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80259E04 00256D44 C0 83 00 2C */ lfs f4, 0x2c(r3) -/* 80259E08 00256D48 C0 63 00 1C */ lfs f3, 0x1c(r3) -/* 80259E0C 00256D4C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80259E10 00256D50 C0 42 C7 D8 */ lfs f2, lbl_8051AB38@sda21(r2) -/* 80259E14 00256D54 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80259E18 00256D58 C0 22 C7 DC */ lfs f1, lbl_8051AB3C@sda21(r2) -/* 80259E1C 00256D5C D0 7F 00 04 */ stfs f3, 4(r31) -/* 80259E20 00256D60 C0 02 C7 E0 */ lfs f0, lbl_8051AB40@sda21(r2) -/* 80259E24 00256D64 D0 9F 00 08 */ stfs f4, 8(r31) -/* 80259E28 00256D68 C0 7F 00 04 */ lfs f3, 4(r31) -/* 80259E2C 00256D6C EC 43 10 28 */ fsubs f2, f3, f2 -/* 80259E30 00256D70 D0 5F 00 04 */ stfs f2, 4(r31) -/* 80259E34 00256D74 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80259E38 00256D78 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80259E3C 00256D7C D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80259E40 00256D80 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 80259E44 00256D84 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80259E48 00256D88 41 82 00 10 */ beq lbl_80259E58 -/* 80259E4C 00256D8C C0 02 C7 E4 */ lfs f0, lbl_8051AB44@sda21(r2) -/* 80259E50 00256D90 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80259E54 00256D94 48 00 00 0C */ b lbl_80259E60 -lbl_80259E58: -/* 80259E58 00256D98 C0 02 C7 E8 */ lfs f0, lbl_8051AB48@sda21(r2) -/* 80259E5C 00256D9C D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_80259E60: -/* 80259E60 00256DA0 C0 02 C7 EC */ lfs f0, lbl_8051AB4C@sda21(r2) -/* 80259E64 00256DA4 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80259E68 00256DA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259E6C 00256DAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259E70 00256DB0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80259E74 00256DB4 7C 08 03 A6 */ mtlr r0 -/* 80259E78 00256DB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259E7C 00256DBC 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game4Ujib3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game4Ujib3ObjFPQ24Game8CreaturefP8CollPart: -/* 80259E80 00256DC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259E84 00256DC4 7C 08 02 A6 */ mflr r0 -/* 80259E88 00256DC8 28 04 00 00 */ cmplwi r4, 0 -/* 80259E8C 00256DCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259E90 00256DD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259E94 00256DD4 7C 7F 1B 78 */ mr r31, r3 -/* 80259E98 00256DD8 41 82 00 64 */ beq lbl_80259EFC -/* 80259E9C 00256DDC 7C 83 23 78 */ mr r3, r4 -/* 80259EA0 00256DE0 81 84 00 00 */ lwz r12, 0(r4) -/* 80259EA4 00256DE4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80259EA8 00256DE8 7D 89 03 A6 */ mtctr r12 -/* 80259EAC 00256DEC 4E 80 04 21 */ bctrl -/* 80259EB0 00256DF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80259EB4 00256DF4 41 82 00 48 */ beq lbl_80259EFC -/* 80259EB8 00256DF8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80259EBC 00256DFC 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 80259EC0 00256E00 40 82 00 3C */ bne lbl_80259EFC -/* 80259EC4 00256E04 7F E3 FB 78 */ mr r3, r31 -/* 80259EC8 00256E08 4B EA D5 2D */ bl getStateID__Q24Game9EnemyBaseFv -/* 80259ECC 00256E0C 2C 03 00 04 */ cmpwi r3, 4 -/* 80259ED0 00256E10 40 81 00 2C */ ble lbl_80259EFC -/* 80259ED4 00256E14 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80259ED8 00256E18 7F E4 FB 78 */ mr r4, r31 -/* 80259EDC 00256E1C 38 A0 00 01 */ li r5, 1 -/* 80259EE0 00256E20 38 C0 00 00 */ li r6, 0 -/* 80259EE4 00256E24 81 83 00 00 */ lwz r12, 0(r3) -/* 80259EE8 00256E28 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80259EEC 00256E2C 7D 89 03 A6 */ mtctr r12 -/* 80259EF0 00256E30 4E 80 04 21 */ bctrl -/* 80259EF4 00256E34 38 60 00 01 */ li r3, 1 -/* 80259EF8 00256E38 48 00 00 08 */ b lbl_80259F00 -lbl_80259EFC: -/* 80259EFC 00256E3C 38 60 00 00 */ li r3, 0 -lbl_80259F00: -/* 80259F00 00256E40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259F04 00256E44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259F08 00256E48 7C 08 03 A6 */ mtlr r0 -/* 80259F0C 00256E4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259F10 00256E50 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game4Ujib3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game4Ujib3ObjFPQ24Game8CreaturefP8CollPart: -/* 80259F14 00256E54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259F18 00256E58 7C 08 02 A6 */ mflr r0 -/* 80259F1C 00256E5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259F20 00256E60 81 83 00 00 */ lwz r12, 0(r3) -/* 80259F24 00256E64 81 8C 02 7C */ lwz r12, 0x27c(r12) -/* 80259F28 00256E68 7D 89 03 A6 */ mtctr r12 -/* 80259F2C 00256E6C 4E 80 04 21 */ bctrl -/* 80259F30 00256E70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259F34 00256E74 7C 08 03 A6 */ mtlr r0 -/* 80259F38 00256E78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259F3C 00256E7C 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game4Ujib3ObjFv -startCarcassMotion__Q34Game4Ujib3ObjFv: -/* 80259F40 00256E80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80259F44 00256E84 7C 08 02 A6 */ mflr r0 -/* 80259F48 00256E88 38 80 00 08 */ li r4, 8 -/* 80259F4C 00256E8C 38 A0 00 00 */ li r5, 0 -/* 80259F50 00256E90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80259F54 00256E94 4B EA B0 B1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80259F58 00256E98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80259F5C 00256E9C 7C 08 03 A6 */ mtlr r0 -/* 80259F60 00256EA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80259F64 00256EA4 4E 80 00 20 */ blr - -.global initMouthSlots__Q34Game4Ujib3ObjFv -initMouthSlots__Q34Game4Ujib3ObjFv: -/* 80259F68 00256EA8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80259F6C 00256EAC 7C 08 02 A6 */ mflr r0 -/* 80259F70 00256EB0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80259F74 00256EB4 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80259F78 00256EB8 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80259F7C 00256EBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80259F80 00256EC0 93 C1 00 08 */ stw r30, 8(r1) -/* 80259F84 00256EC4 7C 7E 1B 78 */ mr r30, r3 -/* 80259F88 00256EC8 38 80 00 01 */ li r4, 1 -/* 80259F8C 00256ECC 38 7E 02 C8 */ addi r3, r30, 0x2c8 -/* 80259F90 00256ED0 4B ED E5 C9 */ bl alloc__10MouthSlotsFi -/* 80259F94 00256ED4 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 80259F98 00256ED8 38 7E 02 C8 */ addi r3, r30, 0x2c8 -/* 80259F9C 00256EDC 38 80 00 00 */ li r4, 0 -/* 80259FA0 00256EE0 38 C2 C7 F0 */ addi r6, r2, lbl_8051AB50@sda21 -/* 80259FA4 00256EE4 4B ED E6 ED */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 80259FA8 00256EE8 C3 E2 C7 E8 */ lfs f31, lbl_8051AB48@sda21(r2) -/* 80259FAC 00256EEC 3B E0 00 00 */ li r31, 0 -/* 80259FB0 00256EF0 48 00 00 18 */ b lbl_80259FC8 -lbl_80259FB4: -/* 80259FB4 00256EF4 7F E4 FB 78 */ mr r4, r31 -/* 80259FB8 00256EF8 38 7E 02 C8 */ addi r3, r30, 0x2c8 -/* 80259FBC 00256EFC 4B ED E7 BD */ bl getSlot__10MouthSlotsFi -/* 80259FC0 00256F00 D3 E3 00 1C */ stfs f31, 0x1c(r3) -/* 80259FC4 00256F04 3B FF 00 01 */ addi r31, r31, 1 -lbl_80259FC8: -/* 80259FC8 00256F08 80 1E 02 C8 */ lwz r0, 0x2c8(r30) -/* 80259FCC 00256F0C 7C 1F 00 00 */ cmpw r31, r0 -/* 80259FD0 00256F10 41 80 FF E4 */ blt lbl_80259FB4 -/* 80259FD4 00256F14 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80259FD8 00256F18 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80259FDC 00256F1C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80259FE0 00256F20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80259FE4 00256F24 83 C1 00 08 */ lwz r30, 8(r1) -/* 80259FE8 00256F28 7C 08 03 A6 */ mtlr r0 -/* 80259FEC 00256F2C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80259FF0 00256F30 4E 80 00 20 */ blr - -.global lifeIncrement__Q34Game4Ujib3ObjFv -lifeIncrement__Q34Game4Ujib3ObjFv: -/* 80259FF4 00256F34 C0 22 C7 DC */ lfs f1, lbl_8051AB3C@sda21(r2) -/* 80259FF8 00256F38 D0 23 02 08 */ stfs f1, 0x208(r3) -/* 80259FFC 00256F3C 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8025A000 00256F40 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d -/* 8025A004 00256F44 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 8025A008 00256F48 C0 03 02 00 */ lfs f0, 0x200(r3) -/* 8025A00C 00256F4C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8025A010 00256F50 4C 40 13 82 */ cror 2, 0, 2 -/* 8025A014 00256F54 4C 82 00 20 */ bnelr -/* 8025A018 00256F58 C0 02 C7 E0 */ lfs f0, lbl_8051AB40@sda21(r2) -/* 8025A01C 00256F5C D0 03 02 00 */ stfs f0, 0x200(r3) -/* 8025A020 00256F60 4E 80 00 20 */ blr - -.global setInWaterDamage__Q34Game4Ujib3ObjFv -setInWaterDamage__Q34Game4Ujib3ObjFv: -/* 8025A024 00256F64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025A028 00256F68 7C 08 02 A6 */ mflr r0 -/* 8025A02C 00256F6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025A030 00256F70 80 03 02 80 */ lwz r0, 0x280(r3) -/* 8025A034 00256F74 28 00 00 00 */ cmplwi r0, 0 -/* 8025A038 00256F78 41 82 00 10 */ beq lbl_8025A048 -/* 8025A03C 00256F7C C0 22 C7 F8 */ lfs f1, lbl_8051AB58@sda21(r2) -/* 8025A040 00256F80 C0 42 C7 E0 */ lfs f2, lbl_8051AB40@sda21(r2) -/* 8025A044 00256F84 4B EA BF E9 */ bl addDamage__Q24Game9EnemyBaseFff -lbl_8025A048: -/* 8025A048 00256F88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025A04C 00256F8C 7C 08 03 A6 */ mtlr r0 -/* 8025A050 00256F90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025A054 00256F94 4E 80 00 20 */ blr - -.global resetAppearCheck__Q34Game4Ujib3ObjFv -resetAppearCheck__Q34Game4Ujib3ObjFv: -/* 8025A058 00256F98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025A05C 00256F9C 7C 08 02 A6 */ mflr r0 -/* 8025A060 00256FA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025A064 00256FA4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025A068 00256FA8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025A06C 00256FAC 7C 7E 1B 78 */ mr r30, r3 -/* 8025A070 00256FB0 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8025A074 00256FB4 28 04 00 00 */ cmplwi r4, 0 -/* 8025A078 00256FB8 41 82 00 74 */ beq lbl_8025A0EC -/* 8025A07C 00256FBC 80 04 00 44 */ lwz r0, 0x44(r4) -/* 8025A080 00256FC0 2C 00 00 04 */ cmpwi r0, 4 -/* 8025A084 00256FC4 40 82 00 68 */ bne lbl_8025A0EC -/* 8025A088 00256FC8 4B E6 F5 19 */ bl rand -/* 8025A08C 00256FCC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8025A090 00256FD0 3C 00 43 30 */ lis r0, 0x4330 -/* 8025A094 00256FD4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8025A098 00256FD8 7F C3 F3 78 */ mr r3, r30 -/* 8025A09C 00256FDC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025A0A0 00256FE0 90 01 00 08 */ stw r0, 8(r1) -/* 8025A0A4 00256FE4 C8 42 C8 08 */ lfd f2, lbl_8051AB68@sda21(r2) -/* 8025A0A8 00256FE8 C8 01 00 08 */ lfd f0, 8(r1) -/* 8025A0AC 00256FEC C0 22 C8 00 */ lfs f1, lbl_8051AB60@sda21(r2) -/* 8025A0B0 00256FF0 EC 40 10 28 */ fsubs f2, f0, f2 -/* 8025A0B4 00256FF4 C0 02 C7 FC */ lfs f0, lbl_8051AB5C@sda21(r2) -/* 8025A0B8 00256FF8 81 8C 01 AC */ lwz r12, 0x1ac(r12) -/* 8025A0BC 00256FFC EC 22 08 24 */ fdivs f1, f2, f1 -/* 8025A0C0 00257000 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8025A0C4 00257004 FC 00 00 1E */ fctiwz f0, f0 -/* 8025A0C8 00257008 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8025A0CC 0025700C 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8025A0D0 00257010 7D 89 03 A6 */ mtctr r12 -/* 8025A0D4 00257014 4E 80 04 21 */ bctrl -/* 8025A0D8 00257018 1C 03 00 05 */ mulli r0, r3, 5 -/* 8025A0DC 0025701C 7C 1F 02 14 */ add r0, r31, r0 -/* 8025A0E0 00257020 54 00 44 2E */ rlwinm r0, r0, 8, 0x10, 0x17 -/* 8025A0E4 00257024 B0 1E 02 C2 */ sth r0, 0x2c2(r30) -/* 8025A0E8 00257028 48 00 00 0C */ b lbl_8025A0F4 -lbl_8025A0EC: -/* 8025A0EC 0025702C 38 00 00 00 */ li r0, 0 -/* 8025A0F0 00257030 B0 1E 02 C2 */ sth r0, 0x2c2(r30) -lbl_8025A0F4: -/* 8025A0F4 00257034 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025A0F8 00257038 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025A0FC 0025703C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025A100 00257040 7C 08 03 A6 */ mtlr r0 -/* 8025A104 00257044 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025A108 00257048 4E 80 00 20 */ blr - -.global isAppearCheck__Q34Game4Ujib3ObjFv -isAppearCheck__Q34Game4Ujib3ObjFv: -/* 8025A10C 0025704C A0 83 02 C2 */ lhz r4, 0x2c2(r3) -/* 8025A110 00257050 28 04 00 00 */ cmplwi r4, 0 -/* 8025A114 00257054 41 82 00 38 */ beq lbl_8025A14C -/* 8025A118 00257058 38 04 00 01 */ addi r0, r4, 1 -/* 8025A11C 0025705C B0 03 02 C2 */ sth r0, 0x2c2(r3) -/* 8025A120 00257060 A0 03 02 C2 */ lhz r0, 0x2c2(r3) -/* 8025A124 00257064 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 8025A128 00257068 54 00 C6 3E */ rlwinm r0, r0, 0x18, 0x18, 0x1f -/* 8025A12C 0025706C 7C 04 00 00 */ cmpw r4, r0 -/* 8025A130 00257070 40 81 00 14 */ ble lbl_8025A144 -/* 8025A134 00257074 38 00 00 00 */ li r0, 0 -/* 8025A138 00257078 B0 03 02 C2 */ sth r0, 0x2c2(r3) -/* 8025A13C 0025707C 38 60 00 01 */ li r3, 1 -/* 8025A140 00257080 4E 80 00 20 */ blr -lbl_8025A144: -/* 8025A144 00257084 38 60 00 00 */ li r3, 0 -/* 8025A148 00257088 4E 80 00 20 */ blr -lbl_8025A14C: -/* 8025A14C 0025708C 38 60 00 01 */ li r3, 1 -/* 8025A150 00257090 4E 80 00 20 */ blr - -.global resetBridgeSearch__Q34Game4Ujib3ObjFv -resetBridgeSearch__Q34Game4Ujib3ObjFv: -/* 8025A154 00257094 38 80 00 01 */ li r4, 1 -/* 8025A158 00257098 38 00 00 00 */ li r0, 0 -/* 8025A15C 0025709C 98 83 02 C0 */ stb r4, 0x2c0(r3) -/* 8025A160 002570A0 C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025A164 002570A4 90 03 02 D0 */ stw r0, 0x2d0(r3) -/* 8025A168 002570A8 D0 03 02 D4 */ stfs f0, 0x2d4(r3) -/* 8025A16C 002570AC D0 03 02 D8 */ stfs f0, 0x2d8(r3) -/* 8025A170 002570B0 4E 80 00 20 */ blr - -.global setBridgeSearch__Q34Game4Ujib3ObjFv -setBridgeSearch__Q34Game4Ujib3ObjFv: -/* 8025A174 002570B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025A178 002570B8 7C 08 02 A6 */ mflr r0 -/* 8025A17C 002570BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025A180 002570C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025A184 002570C4 7C 7F 1B 78 */ mr r31, r3 -/* 8025A188 002570C8 88 03 02 C0 */ lbz r0, 0x2c0(r3) -/* 8025A18C 002570CC 28 00 00 00 */ cmplwi r0, 0 -/* 8025A190 002570D0 41 82 00 18 */ beq lbl_8025A1A8 -/* 8025A194 002570D4 38 00 00 00 */ li r0, 0 -/* 8025A198 002570D8 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 8025A19C 002570DC 48 00 00 21 */ bl setNearestBridge__Q34Game4Ujib3ObjFv -/* 8025A1A0 002570E0 7F E3 FB 78 */ mr r3, r31 -/* 8025A1A4 002570E4 48 00 02 D9 */ bl setCullingCheck__Q34Game4Ujib3ObjFv -lbl_8025A1A8: -/* 8025A1A8 002570E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025A1AC 002570EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025A1B0 002570F0 7C 08 03 A6 */ mtlr r0 -/* 8025A1B4 002570F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025A1B8 002570F8 4E 80 00 20 */ blr - -.global setNearestBridge__Q34Game4Ujib3ObjFv -setNearestBridge__Q34Game4Ujib3ObjFv: -/* 8025A1BC 002570FC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8025A1C0 00257100 7C 08 02 A6 */ mflr r0 -/* 8025A1C4 00257104 90 01 00 54 */ stw r0, 0x54(r1) -/* 8025A1C8 00257108 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8025A1CC 0025710C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8025A1D0 00257110 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8025A1D4 00257114 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8025A1D8 00257118 7C 7F 1B 78 */ mr r31, r3 -/* 8025A1DC 0025711C 38 00 00 00 */ li r0, 0 -/* 8025A1E0 00257120 90 03 02 D0 */ stw r0, 0x2d0(r3) -/* 8025A1E4 00257124 C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025A1E8 00257128 D0 03 02 D4 */ stfs f0, 0x2d4(r3) -/* 8025A1EC 0025712C D0 03 02 D8 */ stfs f0, 0x2d8(r3) -/* 8025A1F0 00257130 80 6D 94 B8 */ lwz r3, mgr__Q24Game10ItemBridge@sda21(r13) -/* 8025A1F4 00257134 28 03 00 00 */ cmplwi r3, 0 -/* 8025A1F8 00257138 41 82 02 14 */ beq lbl_8025A40C -/* 8025A1FC 0025713C 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8025A200 00257140 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 8025A204 00257144 EF E0 00 32 */ fmuls f31, f0, f0 -/* 8025A208 00257148 41 82 00 08 */ beq lbl_8025A210 -/* 8025A20C 0025714C 38 63 00 30 */ addi r3, r3, 0x30 -lbl_8025A210: -/* 8025A210 00257150 38 00 00 00 */ li r0, 0 -/* 8025A214 00257154 3C 80 80 4B */ lis r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@ha -/* 8025A218 00257158 38 84 05 60 */ addi r4, r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@l -/* 8025A21C 0025715C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025A220 00257160 28 00 00 00 */ cmplwi r0, 0 -/* 8025A224 00257164 90 81 00 14 */ stw r4, 0x14(r1) -/* 8025A228 00257168 90 01 00 18 */ stw r0, 0x18(r1) -/* 8025A22C 0025716C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8025A230 00257170 40 82 00 1C */ bne lbl_8025A24C -/* 8025A234 00257174 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A238 00257178 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8025A23C 0025717C 7D 89 03 A6 */ mtctr r12 -/* 8025A240 00257180 4E 80 04 21 */ bctrl -/* 8025A244 00257184 90 61 00 18 */ stw r3, 0x18(r1) -/* 8025A248 00257188 48 00 01 A4 */ b lbl_8025A3EC -lbl_8025A24C: -/* 8025A24C 0025718C 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A250 00257190 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8025A254 00257194 7D 89 03 A6 */ mtctr r12 -/* 8025A258 00257198 4E 80 04 21 */ bctrl -/* 8025A25C 0025719C 90 61 00 18 */ stw r3, 0x18(r1) -/* 8025A260 002571A0 48 00 00 58 */ b lbl_8025A2B8 -lbl_8025A264: -/* 8025A264 002571A4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8025A268 002571A8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8025A26C 002571AC 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A270 002571B0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8025A274 002571B4 7D 89 03 A6 */ mtctr r12 -/* 8025A278 002571B8 4E 80 04 21 */ bctrl -/* 8025A27C 002571BC 7C 64 1B 78 */ mr r4, r3 -/* 8025A280 002571C0 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8025A284 002571C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A288 002571C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025A28C 002571CC 7D 89 03 A6 */ mtctr r12 -/* 8025A290 002571D0 4E 80 04 21 */ bctrl -/* 8025A294 002571D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025A298 002571D8 40 82 01 54 */ bne lbl_8025A3EC -/* 8025A29C 002571DC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8025A2A0 002571E0 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8025A2A4 002571E4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A2A8 002571E8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8025A2AC 002571EC 7D 89 03 A6 */ mtctr r12 -/* 8025A2B0 002571F0 4E 80 04 21 */ bctrl -/* 8025A2B4 002571F4 90 61 00 18 */ stw r3, 0x18(r1) -lbl_8025A2B8: -/* 8025A2B8 002571F8 81 81 00 14 */ lwz r12, 0x14(r1) -/* 8025A2BC 002571FC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025A2C0 00257200 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8025A2C4 00257204 7D 89 03 A6 */ mtctr r12 -/* 8025A2C8 00257208 4E 80 04 21 */ bctrl -/* 8025A2CC 0025720C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025A2D0 00257210 41 82 FF 94 */ beq lbl_8025A264 -/* 8025A2D4 00257214 48 00 01 18 */ b lbl_8025A3EC -lbl_8025A2D8: -/* 8025A2D8 00257218 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8025A2DC 0025721C 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A2E0 00257220 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8025A2E4 00257224 7D 89 03 A6 */ mtctr r12 -/* 8025A2E8 00257228 4E 80 04 21 */ bctrl -/* 8025A2EC 0025722C 7C 60 1B 78 */ mr r0, r3 -/* 8025A2F0 00257230 38 61 00 08 */ addi r3, r1, 8 -/* 8025A2F4 00257234 7C 1E 03 78 */ mr r30, r0 -/* 8025A2F8 00257238 7F C4 F3 78 */ mr r4, r30 -/* 8025A2FC 0025723C 4B F9 4C 39 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8025A300 00257240 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8025A304 00257244 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8025A308 00257248 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8025A30C 0025724C EC 21 00 28 */ fsubs f1, f1, f0 -/* 8025A310 00257250 C0 01 00 08 */ lfs f0, 8(r1) -/* 8025A314 00257254 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8025A318 00257258 EC 01 00 72 */ fmuls f0, f1, f1 -/* 8025A31C 0025725C EC 02 00 BA */ fmadds f0, f2, f2, f0 -/* 8025A320 00257260 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8025A324 00257264 40 80 00 0C */ bge lbl_8025A330 -/* 8025A328 00257268 93 DF 02 D0 */ stw r30, 0x2d0(r31) -/* 8025A32C 0025726C FF E0 00 90 */ fmr f31, f0 -lbl_8025A330: -/* 8025A330 00257270 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8025A334 00257274 28 00 00 00 */ cmplwi r0, 0 -/* 8025A338 00257278 40 82 00 24 */ bne lbl_8025A35C -/* 8025A33C 0025727C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8025A340 00257280 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8025A344 00257284 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A348 00257288 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8025A34C 0025728C 7D 89 03 A6 */ mtctr r12 -/* 8025A350 00257290 4E 80 04 21 */ bctrl -/* 8025A354 00257294 90 61 00 18 */ stw r3, 0x18(r1) -/* 8025A358 00257298 48 00 00 94 */ b lbl_8025A3EC -lbl_8025A35C: -/* 8025A35C 0025729C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8025A360 002572A0 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8025A364 002572A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A368 002572A8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8025A36C 002572AC 7D 89 03 A6 */ mtctr r12 -/* 8025A370 002572B0 4E 80 04 21 */ bctrl -/* 8025A374 002572B4 90 61 00 18 */ stw r3, 0x18(r1) -/* 8025A378 002572B8 48 00 00 58 */ b lbl_8025A3D0 -lbl_8025A37C: -/* 8025A37C 002572BC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8025A380 002572C0 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8025A384 002572C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A388 002572C8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8025A38C 002572CC 7D 89 03 A6 */ mtctr r12 -/* 8025A390 002572D0 4E 80 04 21 */ bctrl -/* 8025A394 002572D4 7C 64 1B 78 */ mr r4, r3 -/* 8025A398 002572D8 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8025A39C 002572DC 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A3A0 002572E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025A3A4 002572E4 7D 89 03 A6 */ mtctr r12 -/* 8025A3A8 002572E8 4E 80 04 21 */ bctrl -/* 8025A3AC 002572EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025A3B0 002572F0 40 82 00 3C */ bne lbl_8025A3EC -/* 8025A3B4 002572F4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8025A3B8 002572F8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8025A3BC 002572FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A3C0 00257300 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8025A3C4 00257304 7D 89 03 A6 */ mtctr r12 -/* 8025A3C8 00257308 4E 80 04 21 */ bctrl -/* 8025A3CC 0025730C 90 61 00 18 */ stw r3, 0x18(r1) -lbl_8025A3D0: -/* 8025A3D0 00257310 81 81 00 14 */ lwz r12, 0x14(r1) -/* 8025A3D4 00257314 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025A3D8 00257318 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8025A3DC 0025731C 7D 89 03 A6 */ mtctr r12 -/* 8025A3E0 00257320 4E 80 04 21 */ bctrl -/* 8025A3E4 00257324 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025A3E8 00257328 41 82 FF 94 */ beq lbl_8025A37C -lbl_8025A3EC: -/* 8025A3EC 0025732C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8025A3F0 00257330 81 83 00 00 */ lwz r12, 0(r3) -/* 8025A3F4 00257334 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025A3F8 00257338 7D 89 03 A6 */ mtctr r12 -/* 8025A3FC 0025733C 4E 80 04 21 */ bctrl -/* 8025A400 00257340 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8025A404 00257344 7C 04 18 40 */ cmplw r4, r3 -/* 8025A408 00257348 40 82 FE D0 */ bne lbl_8025A2D8 -lbl_8025A40C: -/* 8025A40C 0025734C 80 7F 02 D0 */ lwz r3, 0x2d0(r31) -/* 8025A410 00257350 28 03 00 00 */ cmplwi r3, 0 -/* 8025A414 00257354 41 82 00 48 */ beq lbl_8025A45C -/* 8025A418 00257358 4B F9 4C 19 */ bl getStageWidth__Q34Game10ItemBridge4ItemFv -/* 8025A41C 0025735C C0 02 C8 10 */ lfs f0, lbl_8051AB70@sda21(r2) -/* 8025A420 00257360 EF E1 00 28 */ fsubs f31, f1, f0 -/* 8025A424 00257364 4B E6 F1 7D */ bl rand -/* 8025A428 00257368 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8025A42C 0025736C 3C 00 43 30 */ lis r0, 0x4330 -/* 8025A430 00257370 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8025A434 00257374 C8 62 C8 08 */ lfd f3, lbl_8051AB68@sda21(r2) -/* 8025A438 00257378 90 01 00 28 */ stw r0, 0x28(r1) -/* 8025A43C 0025737C C0 22 C8 00 */ lfs f1, lbl_8051AB60@sda21(r2) -/* 8025A440 00257380 C8 41 00 28 */ lfd f2, 0x28(r1) -/* 8025A444 00257384 C0 02 C8 14 */ lfs f0, lbl_8051AB74@sda21(r2) -/* 8025A448 00257388 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8025A44C 0025738C EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8025A450 00257390 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8025A454 00257394 EC 00 0F FC */ fnmsubs f0, f0, f31, f1 -/* 8025A458 00257398 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) -lbl_8025A45C: -/* 8025A45C 0025739C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8025A460 002573A0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025A464 002573A4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8025A468 002573A8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8025A46C 002573AC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8025A470 002573B0 7C 08 03 A6 */ mtlr r0 -/* 8025A474 002573B4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8025A478 002573B8 4E 80 00 20 */ blr - -.global setCullingCheck__Q34Game4Ujib3ObjFv -setCullingCheck__Q34Game4Ujib3ObjFv: -/* 8025A47C 002573BC 4E 80 00 20 */ blr - -.global checkBreakOrMove__Q34Game4Ujib3ObjFv -checkBreakOrMove__Q34Game4Ujib3ObjFv: -/* 8025A480 002573C0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8025A484 002573C4 7C 08 02 A6 */ mflr r0 -/* 8025A488 002573C8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8025A48C 002573CC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8025A490 002573D0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8025A494 002573D4 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8025A498 002573D8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8025A49C 002573DC DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8025A4A0 002573E0 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8025A4A4 002573E4 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8025A4A8 002573E8 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8025A4AC 002573EC DB 61 00 50 */ stfd f27, 0x50(r1) -/* 8025A4B0 002573F0 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 8025A4B4 002573F4 DB 41 00 40 */ stfd f26, 0x40(r1) -/* 8025A4B8 002573F8 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 -/* 8025A4BC 002573FC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8025A4C0 00257400 7C 7F 1B 78 */ mr r31, r3 -/* 8025A4C4 00257404 80 83 02 D0 */ lwz r4, 0x2d0(r3) -/* 8025A4C8 00257408 28 04 00 00 */ cmplwi r4, 0 -/* 8025A4CC 0025740C 41 82 01 20 */ beq lbl_8025A5EC -/* 8025A4D0 00257410 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025A4D4 00257414 4B F9 4B 65 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8025A4D8 00257418 C3 81 00 20 */ lfs f28, 0x20(r1) -/* 8025A4DC 0025741C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025A4E0 00257420 C3 A1 00 24 */ lfs f29, 0x24(r1) -/* 8025A4E4 00257424 C3 61 00 28 */ lfs f27, 0x28(r1) -/* 8025A4E8 00257428 80 9F 02 D0 */ lwz r4, 0x2d0(r31) -/* 8025A4EC 0025742C 4B F9 4A 49 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8025A4F0 00257430 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8025A4F4 00257434 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8025A4F8 00257438 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8025A4FC 0025743C EF C2 00 28 */ fsubs f30, f2, f0 -/* 8025A500 00257440 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 8025A504 00257444 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8025A508 00257448 EF E1 00 28 */ fsubs f31, f1, f0 -/* 8025A50C 0025744C C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8025A510 00257450 EC 3D 07 B2 */ fmuls f1, f29, f30 -/* 8025A514 00257454 EF A2 00 28 */ fsubs f29, f2, f0 -/* 8025A518 00257458 C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025A51C 0025745C EC 3C 0F FA */ fmadds f1, f28, f31, f1 -/* 8025A520 00257460 EC 3B 0F 7A */ fmadds f1, f27, f29, f1 -/* 8025A524 00257464 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025A528 00257468 40 81 00 0C */ ble lbl_8025A534 -/* 8025A52C 0025746C 38 60 00 07 */ li r3, 7 -/* 8025A530 00257470 48 00 00 C0 */ b lbl_8025A5F0 -lbl_8025A534: -/* 8025A534 00257474 80 9F 02 D0 */ lwz r4, 0x2d0(r31) -/* 8025A538 00257478 38 61 00 08 */ addi r3, r1, 8 -/* 8025A53C 0025747C 4B F9 4B A1 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8025A540 00257480 C3 61 00 08 */ lfs f27, 8(r1) -/* 8025A544 00257484 C3 81 00 0C */ lfs f28, 0xc(r1) -/* 8025A548 00257488 C3 41 00 10 */ lfs f26, 0x10(r1) -/* 8025A54C 0025748C 80 7F 02 D0 */ lwz r3, 0x2d0(r31) -/* 8025A550 00257490 4B F9 4A E1 */ bl getStageWidth__Q34Game10ItemBridge4ItemFv -/* 8025A554 00257494 EC 7C 07 B2 */ fmuls f3, f28, f30 -/* 8025A558 00257498 C0 02 C8 14 */ lfs f0, lbl_8051AB74@sda21(r2) -/* 8025A55C 0025749C C0 42 C8 10 */ lfs f2, lbl_8051AB70@sda21(r2) -/* 8025A560 002574A0 EC 80 00 72 */ fmuls f4, f0, f1 -/* 8025A564 002574A4 C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025A568 002574A8 EC 3B 1F FA */ fmadds f1, f27, f31, f3 -/* 8025A56C 002574AC EC 42 20 2A */ fadds f2, f2, f4 -/* 8025A570 002574B0 EC 3A 0F 7A */ fmadds f1, f26, f29, f1 -/* 8025A574 002574B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025A578 002574B8 40 80 00 0C */ bge lbl_8025A584 -/* 8025A57C 002574BC D0 5F 02 D8 */ stfs f2, 0x2d8(r31) -/* 8025A580 002574C0 48 00 00 0C */ b lbl_8025A58C -lbl_8025A584: -/* 8025A584 002574C4 FC 00 10 50 */ fneg f0, f2 -/* 8025A588 002574C8 D0 1F 02 D8 */ stfs f0, 0x2d8(r31) -lbl_8025A58C: -/* 8025A58C 002574CC C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025A590 002574D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025A594 002574D4 40 81 00 08 */ ble lbl_8025A59C -/* 8025A598 002574D8 48 00 00 08 */ b lbl_8025A5A0 -lbl_8025A59C: -/* 8025A59C 002574DC FC 20 08 50 */ fneg f1, f1 -lbl_8025A5A0: -/* 8025A5A0 002574E0 FC 01 20 40 */ fcmpo cr0, f1, f4 -/* 8025A5A4 002574E4 40 81 00 0C */ ble lbl_8025A5B0 -/* 8025A5A8 002574E8 38 60 00 06 */ li r3, 6 -/* 8025A5AC 002574EC 48 00 00 44 */ b lbl_8025A5F0 -lbl_8025A5B0: -/* 8025A5B0 002574F0 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 8025A5B4 002574F4 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8025A5B8 002574F8 81 83 00 04 */ lwz r12, 4(r3) -/* 8025A5BC 002574FC 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8025A5C0 00257500 7D 89 03 A6 */ mtctr r12 -/* 8025A5C4 00257504 4E 80 04 21 */ bctrl -/* 8025A5C8 00257508 C0 02 C8 18 */ lfs f0, lbl_8051AB78@sda21(r2) -/* 8025A5CC 0025750C C0 5F 01 90 */ lfs f2, 0x190(r31) -/* 8025A5D0 00257510 EC 00 08 2A */ fadds f0, f0, f1 -/* 8025A5D4 00257514 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8025A5D8 00257518 40 81 00 0C */ ble lbl_8025A5E4 -/* 8025A5DC 0025751C 38 60 00 08 */ li r3, 8 -/* 8025A5E0 00257520 48 00 00 10 */ b lbl_8025A5F0 -lbl_8025A5E4: -/* 8025A5E4 00257524 38 60 00 06 */ li r3, 6 -/* 8025A5E8 00257528 48 00 00 08 */ b lbl_8025A5F0 -lbl_8025A5EC: -/* 8025A5EC 0025752C 38 60 00 07 */ li r3, 7 -lbl_8025A5F0: -/* 8025A5F0 00257530 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8025A5F4 00257534 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8025A5F8 00257538 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8025A5FC 0025753C CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8025A600 00257540 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8025A604 00257544 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8025A608 00257548 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8025A60C 0025754C CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8025A610 00257550 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 8025A614 00257554 CB 61 00 50 */ lfd f27, 0x50(r1) -/* 8025A618 00257558 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 -/* 8025A61C 0025755C CB 41 00 40 */ lfd f26, 0x40(r1) -/* 8025A620 00257560 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8025A624 00257564 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8025A628 00257568 7C 08 03 A6 */ mtlr r0 -/* 8025A62C 0025756C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8025A630 00257570 4E 80 00 20 */ blr - -.global isBreakBridge__Q34Game4Ujib3ObjFv -isBreakBridge__Q34Game4Ujib3ObjFv: -/* 8025A634 00257574 80 63 02 D0 */ lwz r3, 0x2d0(r3) -/* 8025A638 00257578 28 03 00 00 */ cmplwi r3, 0 -/* 8025A63C 0025757C 41 82 00 18 */ beq lbl_8025A654 -/* 8025A640 00257580 80 03 02 18 */ lwz r0, 0x218(r3) -/* 8025A644 00257584 2C 00 00 00 */ cmpwi r0, 0 -/* 8025A648 00257588 41 82 00 0C */ beq lbl_8025A654 -/* 8025A64C 0025758C 38 60 00 01 */ li r3, 1 -/* 8025A650 00257590 4E 80 00 20 */ blr -lbl_8025A654: -/* 8025A654 00257594 38 60 00 00 */ li r3, 0 -/* 8025A658 00257598 4E 80 00 20 */ blr - -.global moveBridgeSide__Q34Game4Ujib3ObjFv -moveBridgeSide__Q34Game4Ujib3ObjFv: -/* 8025A65C 0025759C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8025A660 002575A0 7C 08 02 A6 */ mflr r0 -/* 8025A664 002575A4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8025A668 002575A8 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8025A66C 002575AC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8025A670 002575B0 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8025A674 002575B4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8025A678 002575B8 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8025A67C 002575BC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8025A680 002575C0 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8025A684 002575C4 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8025A688 002575C8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8025A68C 002575CC 7C 7F 1B 78 */ mr r31, r3 -/* 8025A690 002575D0 38 61 00 44 */ addi r3, r1, 0x44 -/* 8025A694 002575D4 80 9F 02 D0 */ lwz r4, 0x2d0(r31) -/* 8025A698 002575D8 4B F9 48 9D */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8025A69C 002575DC C3 A1 00 44 */ lfs f29, 0x44(r1) -/* 8025A6A0 002575E0 38 61 00 38 */ addi r3, r1, 0x38 -/* 8025A6A4 002575E4 C3 81 00 4C */ lfs f28, 0x4c(r1) -/* 8025A6A8 002575E8 80 9F 02 D0 */ lwz r4, 0x2d0(r31) -/* 8025A6AC 002575EC 4B F9 4A 31 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8025A6B0 002575F0 C3 C1 00 38 */ lfs f30, 0x38(r1) -/* 8025A6B4 002575F4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025A6B8 002575F8 C3 E1 00 40 */ lfs f31, 0x40(r1) -/* 8025A6BC 002575FC 80 9F 02 D0 */ lwz r4, 0x2d0(r31) -/* 8025A6C0 00257600 4B F9 49 79 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8025A6C4 00257604 C0 3F 02 D8 */ lfs f1, 0x2d8(r31) -/* 8025A6C8 00257608 C0 81 00 34 */ lfs f4, 0x34(r1) -/* 8025A6CC 0025760C EF FF 00 72 */ fmuls f31, f31, f1 -/* 8025A6D0 00257610 C0 02 C8 1C */ lfs f0, lbl_8051AB7C@sda21(r2) -/* 8025A6D4 00257614 EF DE 00 72 */ fmuls f30, f30, f1 -/* 8025A6D8 00257618 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 8025A6DC 0025761C EC 84 00 32 */ fmuls f4, f4, f0 -/* 8025A6E0 00257620 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8025A6E4 00257624 EF 9C F8 2A */ fadds f28, f28, f31 -/* 8025A6E8 00257628 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8025A6EC 0025762C EC 63 00 32 */ fmuls f3, f3, f0 -/* 8025A6F0 00257630 C0 02 C8 20 */ lfs f0, lbl_8051AB80@sda21(r2) -/* 8025A6F4 00257634 EF BD F0 2A */ fadds f29, f29, f30 -/* 8025A6F8 00257638 EF 9C 20 2A */ fadds f28, f28, f4 -/* 8025A6FC 0025763C EF BD 18 2A */ fadds f29, f29, f3 -/* 8025A700 00257640 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8025A704 00257644 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 8025A708 00257648 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8025A70C 0025764C EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8025A710 00257650 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025A714 00257654 40 80 00 80 */ bge lbl_8025A794 -/* 8025A718 00257658 7F E3 FB 78 */ mr r3, r31 -/* 8025A71C 0025765C 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8025A720 00257660 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A724 00257664 C0 22 C8 24 */ lfs f1, lbl_8051AB84@sda21(r2) -/* 8025A728 00257668 C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 8025A72C 0025766C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025A730 00257670 EF C1 00 32 */ fmuls f30, f1, f0 -/* 8025A734 00257674 7D 89 03 A6 */ mtctr r12 -/* 8025A738 00257678 4E 80 04 21 */ bctrl -/* 8025A73C 0025767C 4B E7 50 E1 */ bl sin -/* 8025A740 00257680 7F E3 FB 78 */ mr r3, r31 -/* 8025A744 00257684 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8025A748 00257688 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A74C 0025768C FF A0 08 18 */ frsp f29, f1 -/* 8025A750 00257690 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8025A754 00257694 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8025A758 00257698 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025A75C 0025769C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8025A760 002576A0 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 8025A764 002576A4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8025A768 002576A8 7D 89 03 A6 */ mtctr r12 -/* 8025A76C 002576AC 4E 80 04 21 */ bctrl -/* 8025A770 002576B0 4B E7 4B 45 */ bl cos -/* 8025A774 002576B4 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8025A778 002576B8 38 60 00 01 */ li r3, 1 -/* 8025A77C 002576BC FC 20 08 18 */ frsp f1, f1 -/* 8025A780 002576C0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025A784 002576C4 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8025A788 002576C8 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8025A78C 002576CC D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025A790 002576D0 48 00 01 40 */ b lbl_8025A8D0 -lbl_8025A794: -/* 8025A794 002576D4 7F E4 FB 78 */ mr r4, r31 -/* 8025A798 002576D8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025A79C 002576DC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A7A0 002576E0 38 61 00 08 */ addi r3, r1, 8 -/* 8025A7A4 002576E4 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 8025A7A8 002576E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025A7AC 002576EC C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 8025A7B0 002576F0 7D 89 03 A6 */ mtctr r12 -/* 8025A7B4 002576F4 4E 80 04 21 */ bctrl -/* 8025A7B8 002576F8 C0 21 00 08 */ lfs f1, 8(r1) -/* 8025A7BC 002576FC 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8025A7C0 00257700 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8025A7C4 00257704 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8025A7C8 00257708 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8025A7CC 0025770C EC 5C 00 28 */ fsubs f2, f28, f0 -/* 8025A7D0 00257710 4B DD A9 39 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8025A7D4 00257714 48 1B 73 FD */ bl roundAng__Ff -/* 8025A7D8 00257718 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A7DC 0025771C FF A0 08 90 */ fmr f29, f1 -/* 8025A7E0 00257720 7F E3 FB 78 */ mr r3, r31 -/* 8025A7E4 00257724 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025A7E8 00257728 7D 89 03 A6 */ mtctr r12 -/* 8025A7EC 0025772C 4E 80 04 21 */ bctrl -/* 8025A7F0 00257730 FC 40 08 90 */ fmr f2, f1 -/* 8025A7F4 00257734 FC 20 E8 90 */ fmr f1, f29 -/* 8025A7F8 00257738 48 1B 74 05 */ bl angDist__Fff -/* 8025A7FC 0025773C EF C1 07 B2 */ fmuls f30, f1, f30 -/* 8025A800 00257740 C0 02 C8 2C */ lfs f0, lbl_8051AB8C@sda21(r2) -/* 8025A804 00257744 C0 22 C8 28 */ lfs f1, lbl_8051AB88@sda21(r2) -/* 8025A808 00257748 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8025A80C 0025774C FC 40 F2 10 */ fabs f2, f30 -/* 8025A810 00257750 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8025A814 00257754 FC 00 10 18 */ frsp f0, f2 -/* 8025A818 00257758 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8025A81C 0025775C 40 81 00 1C */ ble lbl_8025A838 -/* 8025A820 00257760 C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025A824 00257764 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8025A828 00257768 40 81 00 0C */ ble lbl_8025A834 -/* 8025A82C 0025776C FF C0 08 90 */ fmr f30, f1 -/* 8025A830 00257770 48 00 00 08 */ b lbl_8025A838 -lbl_8025A834: -/* 8025A834 00257774 FF C0 08 50 */ fneg f30, f1 -lbl_8025A838: -/* 8025A838 00257778 7F E3 FB 78 */ mr r3, r31 -/* 8025A83C 0025777C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A840 00257780 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025A844 00257784 7D 89 03 A6 */ mtctr r12 -/* 8025A848 00257788 4E 80 04 21 */ bctrl -/* 8025A84C 0025778C EC 3E 08 2A */ fadds f1, f30, f1 -/* 8025A850 00257790 48 1B 73 81 */ bl roundAng__Ff -/* 8025A854 00257794 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8025A858 00257798 7F E3 FB 78 */ mr r3, r31 -/* 8025A85C 0025779C C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8025A860 002577A0 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8025A864 002577A4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A868 002577A8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8025A86C 002577AC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025A870 002577B0 C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 8025A874 002577B4 7D 89 03 A6 */ mtctr r12 -/* 8025A878 002577B8 4E 80 04 21 */ bctrl -/* 8025A87C 002577BC 4B E7 4F A1 */ bl sin -/* 8025A880 002577C0 7F E3 FB 78 */ mr r3, r31 -/* 8025A884 002577C4 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8025A888 002577C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A88C 002577CC FF A0 08 18 */ frsp f29, f1 -/* 8025A890 002577D0 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8025A894 002577D4 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8025A898 002577D8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025A89C 002577DC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8025A8A0 002577E0 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 8025A8A4 002577E4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8025A8A8 002577E8 7D 89 03 A6 */ mtctr r12 -/* 8025A8AC 002577EC 4E 80 04 21 */ bctrl -/* 8025A8B0 002577F0 4B E7 4A 05 */ bl cos -/* 8025A8B4 002577F4 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8025A8B8 002577F8 38 60 00 00 */ li r3, 0 -/* 8025A8BC 002577FC FC 20 08 18 */ frsp f1, f1 -/* 8025A8C0 00257800 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025A8C4 00257804 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8025A8C8 00257808 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8025A8CC 0025780C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8025A8D0: -/* 8025A8D0 00257810 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8025A8D4 00257814 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8025A8D8 00257818 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8025A8DC 0025781C CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8025A8E0 00257820 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8025A8E4 00257824 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8025A8E8 00257828 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8025A8EC 0025782C CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8025A8F0 00257830 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8025A8F4 00257834 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8025A8F8 00257838 7C 08 03 A6 */ mtlr r0 -/* 8025A8FC 0025783C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8025A900 00257840 4E 80 00 20 */ blr - -.global moveBridgeCentre__Q34Game4Ujib3ObjFv -moveBridgeCentre__Q34Game4Ujib3ObjFv: -/* 8025A904 00257844 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8025A908 00257848 7C 08 02 A6 */ mflr r0 -/* 8025A90C 0025784C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8025A910 00257850 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8025A914 00257854 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8025A918 00257858 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8025A91C 0025785C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8025A920 00257860 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8025A924 00257864 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8025A928 00257868 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 8025A92C 0025786C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 8025A930 00257870 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025A934 00257874 7C 7F 1B 78 */ mr r31, r3 -/* 8025A938 00257878 38 61 00 38 */ addi r3, r1, 0x38 -/* 8025A93C 0025787C 80 9F 02 D0 */ lwz r4, 0x2d0(r31) -/* 8025A940 00257880 4B F9 45 F5 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8025A944 00257884 C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 8025A948 00257888 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025A94C 0025788C C3 81 00 40 */ lfs f28, 0x40(r1) -/* 8025A950 00257890 80 9F 02 D0 */ lwz r4, 0x2d0(r31) -/* 8025A954 00257894 4B F9 47 89 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8025A958 00257898 C0 22 C8 30 */ lfs f1, lbl_8051AB90@sda21(r2) -/* 8025A95C 0025789C C0 1F 02 D4 */ lfs f0, 0x2d4(r31) -/* 8025A960 002578A0 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 8025A964 002578A4 EC 61 00 32 */ fmuls f3, f1, f0 -/* 8025A968 002578A8 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 8025A96C 002578AC C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8025A970 002578B0 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8025A974 002578B4 EC A5 00 F2 */ fmuls f5, f5, f3 -/* 8025A978 002578B8 C0 02 C8 20 */ lfs f0, lbl_8051AB80@sda21(r2) -/* 8025A97C 002578BC EC 84 00 F2 */ fmuls f4, f4, f3 -/* 8025A980 002578C0 EF 9C 28 2A */ fadds f28, f28, f5 -/* 8025A984 002578C4 EF BD 20 2A */ fadds f29, f29, f4 -/* 8025A988 002578C8 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8025A98C 002578CC EC 42 E8 28 */ fsubs f2, f2, f29 -/* 8025A990 002578D0 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8025A994 002578D4 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8025A998 002578D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025A99C 002578DC 40 80 00 80 */ bge lbl_8025AA1C -/* 8025A9A0 002578E0 7F E3 FB 78 */ mr r3, r31 -/* 8025A9A4 002578E4 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8025A9A8 002578E8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A9AC 002578EC C0 22 C8 24 */ lfs f1, lbl_8051AB84@sda21(r2) -/* 8025A9B0 002578F0 C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 8025A9B4 002578F4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025A9B8 002578F8 EF C1 00 32 */ fmuls f30, f1, f0 -/* 8025A9BC 002578FC 7D 89 03 A6 */ mtctr r12 -/* 8025A9C0 00257900 4E 80 04 21 */ bctrl -/* 8025A9C4 00257904 4B E7 4E 59 */ bl sin -/* 8025A9C8 00257908 7F E3 FB 78 */ mr r3, r31 -/* 8025A9CC 0025790C C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8025A9D0 00257910 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025A9D4 00257914 FF A0 08 18 */ frsp f29, f1 -/* 8025A9D8 00257918 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8025A9DC 0025791C C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8025A9E0 00257920 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025A9E4 00257924 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8025A9E8 00257928 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 8025A9EC 0025792C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8025A9F0 00257930 7D 89 03 A6 */ mtctr r12 -/* 8025A9F4 00257934 4E 80 04 21 */ bctrl -/* 8025A9F8 00257938 4B E7 48 BD */ bl cos -/* 8025A9FC 0025793C EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8025AA00 00257940 38 60 00 01 */ li r3, 1 -/* 8025AA04 00257944 FC 20 08 18 */ frsp f1, f1 -/* 8025AA08 00257948 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025AA0C 0025794C EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8025AA10 00257950 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8025AA14 00257954 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025AA18 00257958 48 00 01 40 */ b lbl_8025AB58 -lbl_8025AA1C: -/* 8025AA1C 0025795C 7F E4 FB 78 */ mr r4, r31 -/* 8025AA20 00257960 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025AA24 00257964 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025AA28 00257968 38 61 00 08 */ addi r3, r1, 8 -/* 8025AA2C 0025796C C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 8025AA30 00257970 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025AA34 00257974 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 8025AA38 00257978 7D 89 03 A6 */ mtctr r12 -/* 8025AA3C 0025797C 4E 80 04 21 */ bctrl -/* 8025AA40 00257980 C0 21 00 08 */ lfs f1, 8(r1) -/* 8025AA44 00257984 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8025AA48 00257988 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8025AA4C 0025798C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8025AA50 00257990 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8025AA54 00257994 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 8025AA58 00257998 4B DD A6 B1 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8025AA5C 0025799C 48 1B 71 75 */ bl roundAng__Ff -/* 8025AA60 002579A0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025AA64 002579A4 FF A0 08 90 */ fmr f29, f1 -/* 8025AA68 002579A8 7F E3 FB 78 */ mr r3, r31 -/* 8025AA6C 002579AC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025AA70 002579B0 7D 89 03 A6 */ mtctr r12 -/* 8025AA74 002579B4 4E 80 04 21 */ bctrl -/* 8025AA78 002579B8 FC 40 08 90 */ fmr f2, f1 -/* 8025AA7C 002579BC FC 20 E8 90 */ fmr f1, f29 -/* 8025AA80 002579C0 48 1B 71 7D */ bl angDist__Fff -/* 8025AA84 002579C4 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 8025AA88 002579C8 C0 02 C8 2C */ lfs f0, lbl_8051AB8C@sda21(r2) -/* 8025AA8C 002579CC C0 22 C8 28 */ lfs f1, lbl_8051AB88@sda21(r2) -/* 8025AA90 002579D0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8025AA94 002579D4 FC 40 F2 10 */ fabs f2, f30 -/* 8025AA98 002579D8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8025AA9C 002579DC FC 00 10 18 */ frsp f0, f2 -/* 8025AAA0 002579E0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8025AAA4 002579E4 40 81 00 1C */ ble lbl_8025AAC0 -/* 8025AAA8 002579E8 C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025AAAC 002579EC FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8025AAB0 002579F0 40 81 00 0C */ ble lbl_8025AABC -/* 8025AAB4 002579F4 FF C0 08 90 */ fmr f30, f1 -/* 8025AAB8 002579F8 48 00 00 08 */ b lbl_8025AAC0 -lbl_8025AABC: -/* 8025AABC 002579FC FF C0 08 50 */ fneg f30, f1 -lbl_8025AAC0: -/* 8025AAC0 00257A00 7F E3 FB 78 */ mr r3, r31 -/* 8025AAC4 00257A04 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025AAC8 00257A08 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025AACC 00257A0C 7D 89 03 A6 */ mtctr r12 -/* 8025AAD0 00257A10 4E 80 04 21 */ bctrl -/* 8025AAD4 00257A14 EC 3E 08 2A */ fadds f1, f30, f1 -/* 8025AAD8 00257A18 48 1B 70 F9 */ bl roundAng__Ff -/* 8025AADC 00257A1C D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8025AAE0 00257A20 7F E3 FB 78 */ mr r3, r31 -/* 8025AAE4 00257A24 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8025AAE8 00257A28 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8025AAEC 00257A2C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025AAF0 00257A30 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8025AAF4 00257A34 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025AAF8 00257A38 C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 8025AAFC 00257A3C 7D 89 03 A6 */ mtctr r12 -/* 8025AB00 00257A40 4E 80 04 21 */ bctrl -/* 8025AB04 00257A44 4B E7 4D 19 */ bl sin -/* 8025AB08 00257A48 7F E3 FB 78 */ mr r3, r31 -/* 8025AB0C 00257A4C C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8025AB10 00257A50 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025AB14 00257A54 FF A0 08 18 */ frsp f29, f1 -/* 8025AB18 00257A58 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8025AB1C 00257A5C C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8025AB20 00257A60 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025AB24 00257A64 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8025AB28 00257A68 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 8025AB2C 00257A6C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8025AB30 00257A70 7D 89 03 A6 */ mtctr r12 -/* 8025AB34 00257A74 4E 80 04 21 */ bctrl -/* 8025AB38 00257A78 4B E7 47 7D */ bl cos -/* 8025AB3C 00257A7C EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8025AB40 00257A80 38 60 00 00 */ li r3, 0 -/* 8025AB44 00257A84 FC 20 08 18 */ frsp f1, f1 -/* 8025AB48 00257A88 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025AB4C 00257A8C EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8025AB50 00257A90 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8025AB54 00257A94 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8025AB58: -/* 8025AB58 00257A98 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8025AB5C 00257A9C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8025AB60 00257AA0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8025AB64 00257AA4 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8025AB68 00257AA8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8025AB6C 00257AAC CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8025AB70 00257AB0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8025AB74 00257AB4 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8025AB78 00257AB8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8025AB7C 00257ABC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8025AB80 00257AC0 7C 08 03 A6 */ mtlr r0 -/* 8025AB84 00257AC4 38 21 00 90 */ addi r1, r1, 0x90 -/* 8025AB88 00257AC8 4E 80 00 20 */ blr - -.global moveBridgeTop__Q34Game4Ujib3ObjFv -moveBridgeTop__Q34Game4Ujib3ObjFv: -/* 8025AB8C 00257ACC 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8025AB90 00257AD0 7C 08 02 A6 */ mflr r0 -/* 8025AB94 00257AD4 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8025AB98 00257AD8 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8025AB9C 00257ADC F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8025ABA0 00257AE0 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8025ABA4 00257AE4 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8025ABA8 00257AE8 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8025ABAC 00257AEC F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8025ABB0 00257AF0 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8025ABB4 00257AF4 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8025ABB8 00257AF8 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 8025ABBC 00257AFC F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8025ABC0 00257B00 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8025ABC4 00257B04 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8025ABC8 00257B08 7C 7E 1B 78 */ mr r30, r3 -/* 8025ABCC 00257B0C 38 61 00 44 */ addi r3, r1, 0x44 -/* 8025ABD0 00257B10 80 9E 02 D0 */ lwz r4, 0x2d0(r30) -/* 8025ABD4 00257B14 80 A4 02 18 */ lwz r5, 0x218(r4) -/* 8025ABD8 00257B18 3B E5 FF FF */ addi r31, r5, -1 -/* 8025ABDC 00257B1C 7F E5 FB 78 */ mr r5, r31 -/* 8025ABE0 00257B20 4B F9 42 6D */ bl getStagePos__Q34Game10ItemBridge4ItemFi -/* 8025ABE4 00257B24 C3 E1 00 44 */ lfs f31, 0x44(r1) -/* 8025ABE8 00257B28 38 61 00 38 */ addi r3, r1, 0x38 -/* 8025ABEC 00257B2C C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 8025ABF0 00257B30 80 9E 02 D0 */ lwz r4, 0x2d0(r30) -/* 8025ABF4 00257B34 4B F9 44 E9 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8025ABF8 00257B38 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8025ABFC 00257B3C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8025AC00 00257B40 C0 1E 02 D4 */ lfs f0, 0x2d4(r30) -/* 8025AC04 00257B44 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 8025AC08 00257B48 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8025AC0C 00257B4C EC 42 00 32 */ fmuls f2, f2, f0 -/* 8025AC10 00257B50 EF FF 08 2A */ fadds f31, f31, f1 -/* 8025AC14 00257B54 EF DE 10 2A */ fadds f30, f30, f2 -/* 8025AC18 00257B58 40 81 00 2C */ ble lbl_8025AC44 -/* 8025AC1C 00257B5C 80 9E 02 D0 */ lwz r4, 0x2d0(r30) -/* 8025AC20 00257B60 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025AC24 00257B64 4B F9 44 15 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8025AC28 00257B68 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8025AC2C 00257B6C C0 02 C8 1C */ lfs f0, lbl_8051AB7C@sda21(r2) -/* 8025AC30 00257B70 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 8025AC34 00257B74 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8025AC38 00257B78 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8025AC3C 00257B7C EF FF 08 2A */ fadds f31, f31, f1 -/* 8025AC40 00257B80 EF DE 10 2A */ fadds f30, f30, f2 -lbl_8025AC44: -/* 8025AC44 00257B84 7F C4 F3 78 */ mr r4, r30 -/* 8025AC48 00257B88 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8025AC4C 00257B8C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025AC50 00257B90 38 61 00 08 */ addi r3, r1, 8 -/* 8025AC54 00257B94 C3 85 03 34 */ lfs f28, 0x334(r5) -/* 8025AC58 00257B98 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025AC5C 00257B9C C3 A5 03 0C */ lfs f29, 0x30c(r5) -/* 8025AC60 00257BA0 7D 89 03 A6 */ mtctr r12 -/* 8025AC64 00257BA4 4E 80 04 21 */ bctrl -/* 8025AC68 00257BA8 C0 21 00 08 */ lfs f1, 8(r1) -/* 8025AC6C 00257BAC 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8025AC70 00257BB0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8025AC74 00257BB4 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8025AC78 00257BB8 EC 3F 08 28 */ fsubs f1, f31, f1 -/* 8025AC7C 00257BBC EC 5E 00 28 */ fsubs f2, f30, f0 -/* 8025AC80 00257BC0 4B DD A4 89 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8025AC84 00257BC4 48 1B 6F 4D */ bl roundAng__Ff -/* 8025AC88 00257BC8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025AC8C 00257BCC FF 60 08 90 */ fmr f27, f1 -/* 8025AC90 00257BD0 7F C3 F3 78 */ mr r3, r30 -/* 8025AC94 00257BD4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025AC98 00257BD8 7D 89 03 A6 */ mtctr r12 -/* 8025AC9C 00257BDC 4E 80 04 21 */ bctrl -/* 8025ACA0 00257BE0 FC 40 08 90 */ fmr f2, f1 -/* 8025ACA4 00257BE4 FC 20 D8 90 */ fmr f1, f27 -/* 8025ACA8 00257BE8 48 1B 6F 55 */ bl angDist__Fff -/* 8025ACAC 00257BEC EF A1 07 72 */ fmuls f29, f1, f29 -/* 8025ACB0 00257BF0 C0 02 C8 2C */ lfs f0, lbl_8051AB8C@sda21(r2) -/* 8025ACB4 00257BF4 C0 22 C8 28 */ lfs f1, lbl_8051AB88@sda21(r2) -/* 8025ACB8 00257BF8 EC 00 07 32 */ fmuls f0, f0, f28 -/* 8025ACBC 00257BFC FC 40 EA 10 */ fabs f2, f29 -/* 8025ACC0 00257C00 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8025ACC4 00257C04 FC 00 10 18 */ frsp f0, f2 -/* 8025ACC8 00257C08 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8025ACCC 00257C0C 40 81 00 1C */ ble lbl_8025ACE8 -/* 8025ACD0 00257C10 C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025ACD4 00257C14 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8025ACD8 00257C18 40 81 00 0C */ ble lbl_8025ACE4 -/* 8025ACDC 00257C1C FF A0 08 90 */ fmr f29, f1 -/* 8025ACE0 00257C20 48 00 00 08 */ b lbl_8025ACE8 -lbl_8025ACE4: -/* 8025ACE4 00257C24 FF A0 08 50 */ fneg f29, f1 -lbl_8025ACE8: -/* 8025ACE8 00257C28 7F C3 F3 78 */ mr r3, r30 -/* 8025ACEC 00257C2C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025ACF0 00257C30 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025ACF4 00257C34 7D 89 03 A6 */ mtctr r12 -/* 8025ACF8 00257C38 4E 80 04 21 */ bctrl -/* 8025ACFC 00257C3C EC 3D 08 2A */ fadds f1, f29, f1 -/* 8025AD00 00257C40 48 1B 6E D1 */ bl roundAng__Ff -/* 8025AD04 00257C44 D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 8025AD08 00257C48 C0 02 C7 E4 */ lfs f0, lbl_8051AB44@sda21(r2) -/* 8025AD0C 00257C4C C0 3E 01 FC */ lfs f1, 0x1fc(r30) -/* 8025AD10 00257C50 D0 3E 01 A8 */ stfs f1, 0x1a8(r30) -/* 8025AD14 00257C54 C0 3E 01 94 */ lfs f1, 0x194(r30) -/* 8025AD18 00257C58 C0 5E 01 8C */ lfs f2, 0x18c(r30) -/* 8025AD1C 00257C5C EC 21 F0 28 */ fsubs f1, f1, f30 -/* 8025AD20 00257C60 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8025AD24 00257C64 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8025AD28 00257C68 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8025AD2C 00257C6C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025AD30 00257C70 40 80 00 1C */ bge lbl_8025AD4C -/* 8025AD34 00257C74 C0 02 C7 DC */ lfs f0, lbl_8051AB3C@sda21(r2) -/* 8025AD38 00257C78 38 60 00 01 */ li r3, 1 -/* 8025AD3C 00257C7C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8025AD40 00257C80 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 8025AD44 00257C84 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 8025AD48 00257C88 48 00 00 F4 */ b lbl_8025AE3C -lbl_8025AD4C: -/* 8025AD4C 00257C8C C0 02 C8 20 */ lfs f0, lbl_8051AB80@sda21(r2) -/* 8025AD50 00257C90 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025AD54 00257C94 40 80 00 78 */ bge lbl_8025ADCC -/* 8025AD58 00257C98 7F C3 F3 78 */ mr r3, r30 -/* 8025AD5C 00257C9C 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 8025AD60 00257CA0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025AD64 00257CA4 C3 84 02 E4 */ lfs f28, 0x2e4(r4) -/* 8025AD68 00257CA8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025AD6C 00257CAC 7D 89 03 A6 */ mtctr r12 -/* 8025AD70 00257CB0 4E 80 04 21 */ bctrl -/* 8025AD74 00257CB4 4B E7 4A A9 */ bl sin -/* 8025AD78 00257CB8 7F C3 F3 78 */ mr r3, r30 -/* 8025AD7C 00257CBC C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8025AD80 00257CC0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025AD84 00257CC4 FF 60 08 18 */ frsp f27, f1 -/* 8025AD88 00257CC8 C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8025AD8C 00257CCC C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8025AD90 00257CD0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025AD94 00257CD4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8025AD98 00257CD8 D3 C1 00 24 */ stfs f30, 0x24(r1) -/* 8025AD9C 00257CDC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8025ADA0 00257CE0 7D 89 03 A6 */ mtctr r12 -/* 8025ADA4 00257CE4 4E 80 04 21 */ bctrl -/* 8025ADA8 00257CE8 4B E7 45 0D */ bl cos -/* 8025ADAC 00257CEC EC 1C 06 F2 */ fmuls f0, f28, f27 -/* 8025ADB0 00257CF0 38 60 00 01 */ li r3, 1 -/* 8025ADB4 00257CF4 FC 20 08 18 */ frsp f1, f1 -/* 8025ADB8 00257CF8 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8025ADBC 00257CFC EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8025ADC0 00257D00 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 8025ADC4 00257D04 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 8025ADC8 00257D08 48 00 00 74 */ b lbl_8025AE3C -lbl_8025ADCC: -/* 8025ADCC 00257D0C 7F C3 F3 78 */ mr r3, r30 -/* 8025ADD0 00257D10 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 8025ADD4 00257D14 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025ADD8 00257D18 C3 84 02 E4 */ lfs f28, 0x2e4(r4) -/* 8025ADDC 00257D1C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025ADE0 00257D20 7D 89 03 A6 */ mtctr r12 -/* 8025ADE4 00257D24 4E 80 04 21 */ bctrl -/* 8025ADE8 00257D28 4B E7 4A 35 */ bl sin -/* 8025ADEC 00257D2C 7F C3 F3 78 */ mr r3, r30 -/* 8025ADF0 00257D30 C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8025ADF4 00257D34 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025ADF8 00257D38 FF 60 08 18 */ frsp f27, f1 -/* 8025ADFC 00257D3C C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8025AE00 00257D40 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8025AE04 00257D44 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025AE08 00257D48 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8025AE0C 00257D4C D3 C1 00 18 */ stfs f30, 0x18(r1) -/* 8025AE10 00257D50 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8025AE14 00257D54 7D 89 03 A6 */ mtctr r12 -/* 8025AE18 00257D58 4E 80 04 21 */ bctrl -/* 8025AE1C 00257D5C 4B E7 44 99 */ bl cos -/* 8025AE20 00257D60 EC 1C 06 F2 */ fmuls f0, f28, f27 -/* 8025AE24 00257D64 38 60 00 00 */ li r3, 0 -/* 8025AE28 00257D68 FC 20 08 18 */ frsp f1, f1 -/* 8025AE2C 00257D6C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8025AE30 00257D70 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8025AE34 00257D74 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 8025AE38 00257D78 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -lbl_8025AE3C: -/* 8025AE3C 00257D7C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8025AE40 00257D80 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8025AE44 00257D84 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8025AE48 00257D88 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8025AE4C 00257D8C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8025AE50 00257D90 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8025AE54 00257D94 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8025AE58 00257D98 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8025AE5C 00257D9C E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 8025AE60 00257DA0 CB 61 00 60 */ lfd f27, 0x60(r1) -/* 8025AE64 00257DA4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8025AE68 00257DA8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8025AE6C 00257DAC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8025AE70 00257DB0 7C 08 03 A6 */ mtlr r0 -/* 8025AE74 00257DB4 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8025AE78 00257DB8 4E 80 00 20 */ blr - -.global breakTargetBridge__Q34Game4Ujib3ObjFv -breakTargetBridge__Q34Game4Ujib3ObjFv: -/* 8025AE7C 00257DBC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025AE80 00257DC0 7C 08 02 A6 */ mflr r0 -/* 8025AE84 00257DC4 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 8025AE88 00257DC8 3C A0 80 4B */ lis r5, __vt__Q24Game19InteractBreakBridge@ha -/* 8025AE8C 00257DCC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025AE90 00257DD0 38 C4 A3 00 */ addi r6, r4, __vt__Q24Game11Interaction@l -/* 8025AE94 00257DD4 38 05 74 9C */ addi r0, r5, __vt__Q24Game19InteractBreakBridge@l -/* 8025AE98 00257DD8 38 81 00 08 */ addi r4, r1, 8 -/* 8025AE9C 00257DDC 80 E3 00 C0 */ lwz r7, 0xc0(r3) -/* 8025AEA0 00257DE0 C0 07 08 44 */ lfs f0, 0x844(r7) -/* 8025AEA4 00257DE4 90 C1 00 08 */ stw r6, 8(r1) -/* 8025AEA8 00257DE8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8025AEAC 00257DEC 90 01 00 08 */ stw r0, 8(r1) -/* 8025AEB0 00257DF0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8025AEB4 00257DF4 80 63 02 D0 */ lwz r3, 0x2d0(r3) -/* 8025AEB8 00257DF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8025AEBC 00257DFC 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8025AEC0 00257E00 7D 89 03 A6 */ mtctr r12 -/* 8025AEC4 00257E04 4E 80 04 21 */ bctrl -/* 8025AEC8 00257E08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025AECC 00257E0C 7C 08 03 A6 */ mtlr r0 -/* 8025AED0 00257E10 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025AED4 00257E14 4E 80 00 20 */ blr - -.global createAppearEffect__Q34Game4Ujib3ObjFv -createAppearEffect__Q34Game4Ujib3ObjFv: -/* 8025AED8 00257E18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025AEDC 00257E1C 7C 08 02 A6 */ mflr r0 -/* 8025AEE0 00257E20 3C 80 80 48 */ lis r4, lbl_80485358@ha -/* 8025AEE4 00257E24 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025AEE8 00257E28 38 84 53 58 */ addi r4, r4, lbl_80485358@l -/* 8025AEEC 00257E2C 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8025AEF0 00257E30 48 1E 40 F5 */ bl getJoint__Q28SysShape5ModelFPc -/* 8025AEF4 00257E34 48 1C E9 AD */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8025AEF8 00257E38 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8025AEFC 00257E3C 38 C0 00 00 */ li r6, 0 -/* 8025AF00 00257E40 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8025AF04 00257E44 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 8025AF08 00257E48 90 01 00 08 */ stw r0, 8(r1) -/* 8025AF0C 00257E4C 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 8025AF10 00257E50 3C A0 80 4E */ lis r5, __vt__Q23efx11TSimpleMtx2@ha -/* 8025AF14 00257E54 3C 80 80 4C */ lis r4, __vt__Q23efx9TUjinkoAp@ha -/* 8025AF18 00257E58 90 01 00 08 */ stw r0, 8(r1) -/* 8025AF1C 00257E5C 38 05 6A 00 */ addi r0, r5, __vt__Q23efx11TSimpleMtx2@l -/* 8025AF20 00257E60 38 E0 01 CE */ li r7, 0x1ce -/* 8025AF24 00257E64 38 A0 01 CF */ li r5, 0x1cf -/* 8025AF28 00257E68 90 01 00 08 */ stw r0, 8(r1) -/* 8025AF2C 00257E6C 38 04 29 34 */ addi r0, r4, __vt__Q23efx9TUjinkoAp@l -/* 8025AF30 00257E70 38 80 00 00 */ li r4, 0 -/* 8025AF34 00257E74 90 61 00 18 */ stw r3, 0x18(r1) -/* 8025AF38 00257E78 38 61 00 08 */ addi r3, r1, 8 -/* 8025AF3C 00257E7C B0 E1 00 0C */ sth r7, 0xc(r1) -/* 8025AF40 00257E80 B0 A1 00 0E */ sth r5, 0xe(r1) -/* 8025AF44 00257E84 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8025AF48 00257E88 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8025AF4C 00257E8C 90 01 00 08 */ stw r0, 8(r1) -/* 8025AF50 00257E90 48 15 44 49 */ bl create__Q23efx11TSimpleMtx2FPQ23efx3Arg -/* 8025AF54 00257E94 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025AF58 00257E98 7C 08 03 A6 */ mtlr r0 -/* 8025AF5C 00257E9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025AF60 00257EA0 4E 80 00 20 */ blr - -.global createDisAppearEffect__Q34Game4Ujib3ObjFv -createDisAppearEffect__Q34Game4Ujib3ObjFv: -/* 8025AF64 00257EA4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025AF68 00257EA8 7C 08 02 A6 */ mflr r0 -/* 8025AF6C 00257EAC 3C 80 80 48 */ lis r4, lbl_80485358@ha -/* 8025AF70 00257EB0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025AF74 00257EB4 38 84 53 58 */ addi r4, r4, lbl_80485358@l -/* 8025AF78 00257EB8 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8025AF7C 00257EBC 48 1E 40 69 */ bl getJoint__Q28SysShape5ModelFPc -/* 8025AF80 00257EC0 48 1C E9 21 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8025AF84 00257EC4 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8025AF88 00257EC8 38 C0 00 00 */ li r6, 0 -/* 8025AF8C 00257ECC 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8025AF90 00257ED0 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 8025AF94 00257ED4 90 01 00 08 */ stw r0, 8(r1) -/* 8025AF98 00257ED8 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 8025AF9C 00257EDC 3C A0 80 4E */ lis r5, __vt__Q23efx11TSimpleMtx2@ha -/* 8025AFA0 00257EE0 3C 80 80 4C */ lis r4, __vt__Q23efx9TUjinkoHd@ha -/* 8025AFA4 00257EE4 90 01 00 08 */ stw r0, 8(r1) -/* 8025AFA8 00257EE8 38 05 6A 00 */ addi r0, r5, __vt__Q23efx11TSimpleMtx2@l -/* 8025AFAC 00257EEC 38 E0 01 D1 */ li r7, 0x1d1 -/* 8025AFB0 00257EF0 38 A0 01 D2 */ li r5, 0x1d2 -/* 8025AFB4 00257EF4 90 01 00 08 */ stw r0, 8(r1) -/* 8025AFB8 00257EF8 38 04 29 20 */ addi r0, r4, __vt__Q23efx9TUjinkoHd@l -/* 8025AFBC 00257EFC 38 80 00 00 */ li r4, 0 -/* 8025AFC0 00257F00 90 61 00 18 */ stw r3, 0x18(r1) -/* 8025AFC4 00257F04 38 61 00 08 */ addi r3, r1, 8 -/* 8025AFC8 00257F08 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 8025AFCC 00257F0C B0 A1 00 0E */ sth r5, 0xe(r1) -/* 8025AFD0 00257F10 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8025AFD4 00257F14 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8025AFD8 00257F18 90 01 00 08 */ stw r0, 8(r1) -/* 8025AFDC 00257F1C 48 15 43 BD */ bl create__Q23efx11TSimpleMtx2FPQ23efx3Arg -/* 8025AFE0 00257F20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025AFE4 00257F24 7C 08 03 A6 */ mtlr r0 -/* 8025AFE8 00257F28 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025AFEC 00257F2C 4E 80 00 20 */ blr - -.global createBridgeEffect__Q34Game4Ujib3ObjFv -createBridgeEffect__Q34Game4Ujib3ObjFv: -/* 8025AFF0 00257F30 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025AFF4 00257F34 7C 08 02 A6 */ mflr r0 -/* 8025AFF8 00257F38 38 82 C7 F0 */ addi r4, r2, lbl_8051AB50@sda21 -/* 8025AFFC 00257F3C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025B000 00257F40 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8025B004 00257F44 48 1E 3F E1 */ bl getJoint__Q28SysShape5ModelFPc -/* 8025B008 00257F48 48 1C E8 99 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8025B00C 00257F4C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8025B010 00257F50 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8025B014 00257F54 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8025B018 00257F58 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 8025B01C 00257F5C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8025B020 00257F60 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 8025B024 00257F64 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 8025B028 00257F68 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8025B02C 00257F6C 90 81 00 08 */ stw r4, 8(r1) -/* 8025B030 00257F70 3C 60 80 4C */ lis r3, __vt__Q23efx10TUjinkoEat@ha -/* 8025B034 00257F74 38 85 A7 EC */ addi r4, r5, __vt__Q23efx3Arg@l -/* 8025B038 00257F78 38 C0 01 D0 */ li r6, 0x1d0 -/* 8025B03C 00257F7C 38 A0 00 00 */ li r5, 0 -/* 8025B040 00257F80 90 01 00 08 */ stw r0, 8(r1) -/* 8025B044 00257F84 38 03 29 0C */ addi r0, r3, __vt__Q23efx10TUjinkoEat@l -/* 8025B048 00257F88 38 61 00 08 */ addi r3, r1, 8 -/* 8025B04C 00257F8C 90 81 00 14 */ stw r4, 0x14(r1) -/* 8025B050 00257F90 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025B054 00257F94 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8025B058 00257F98 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8025B05C 00257F9C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8025B060 00257FA0 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8025B064 00257FA4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8025B068 00257FA8 90 01 00 08 */ stw r0, 8(r1) -/* 8025B06C 00257FAC 48 15 3F 19 */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 8025B070 00257FB0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025B074 00257FB4 7C 08 03 A6 */ mtlr r0 -/* 8025B078 00257FB8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025B07C 00257FBC 4E 80 00 20 */ blr - -.global createEatEffect__Q34Game4Ujib3ObjFv -createEatEffect__Q34Game4Ujib3ObjFv: -/* 8025B080 00257FC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025B084 00257FC4 7C 08 02 A6 */ mflr r0 -/* 8025B088 00257FC8 38 82 C7 F0 */ addi r4, r2, lbl_8051AB50@sda21 -/* 8025B08C 00257FCC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025B090 00257FD0 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8025B094 00257FD4 48 1E 3F 51 */ bl getJoint__Q28SysShape5ModelFPc -/* 8025B098 00257FD8 48 1C E8 09 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8025B09C 00257FDC 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8025B0A0 00257FE0 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8025B0A4 00257FE4 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8025B0A8 00257FE8 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 8025B0AC 00257FEC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8025B0B0 00257FF0 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 8025B0B4 00257FF4 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 8025B0B8 00257FF8 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8025B0BC 00257FFC 90 81 00 08 */ stw r4, 8(r1) -/* 8025B0C0 00258000 3C 60 80 4C */ lis r3, __vt__Q23efx12TUjinkoPkate@ha -/* 8025B0C4 00258004 38 85 A7 EC */ addi r4, r5, __vt__Q23efx3Arg@l -/* 8025B0C8 00258008 38 C0 02 5E */ li r6, 0x25e -/* 8025B0CC 0025800C 38 A0 00 00 */ li r5, 0 -/* 8025B0D0 00258010 90 01 00 08 */ stw r0, 8(r1) -/* 8025B0D4 00258014 38 03 28 F8 */ addi r0, r3, __vt__Q23efx12TUjinkoPkate@l -/* 8025B0D8 00258018 38 61 00 08 */ addi r3, r1, 8 -/* 8025B0DC 0025801C 90 81 00 14 */ stw r4, 0x14(r1) -/* 8025B0E0 00258020 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025B0E4 00258024 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8025B0E8 00258028 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8025B0EC 0025802C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8025B0F0 00258030 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8025B0F4 00258034 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8025B0F8 00258038 90 01 00 08 */ stw r0, 8(r1) -/* 8025B0FC 0025803C 48 15 3E 89 */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 8025B100 00258040 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025B104 00258044 7C 08 03 A6 */ mtlr r0 -/* 8025B108 00258048 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025B10C 0025804C 4E 80 00 20 */ blr - -.global isUnderground__Q34Game4Ujib3ObjFv -isUnderground__Q34Game4Ujib3ObjFv: -/* 8025B110 00258050 88 63 02 C1 */ lbz r3, 0x2c1(r3) -/* 8025B114 00258054 4E 80 00 20 */ blr - -.global getMouthSlots__Q34Game4Ujib3ObjFv -getMouthSlots__Q34Game4Ujib3ObjFv: -/* 8025B118 00258058 38 63 02 C8 */ addi r3, r3, 0x2c8 -/* 8025B11C 0025805C 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game4Ujib3ObjFv -getDownSmokeScale__Q34Game4Ujib3ObjFv: -/* 8025B120 00258060 C0 22 C8 34 */ lfs f1, lbl_8051AB94@sda21(r2) -/* 8025B124 00258064 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Ujib3ObjFv -getEnemyTypeID__Q34Game4Ujib3ObjFv: -/* 8025B128 00258068 38 60 00 0D */ li r3, 0xd -/* 8025B12C 0025806C 4E 80 00 20 */ blr - -.global $$2732$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2732$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 8025B130 00258070 39 60 00 0C */ li r11, 0xc -/* 8025B134 00258074 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8025B138 00258078 7C 63 5A 14 */ add r3, r3, r11 -/* 8025B13C 0025807C 38 63 FD 24 */ addi r3, r3, -732 -/* 8025B140 00258080 4B EA B7 DC */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2732$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2732$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 8025B144 00258084 39 60 00 0C */ li r11, 0xc -/* 8025B148 00258088 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8025B14C 0025808C 7C 63 5A 14 */ add r3, r3, r11 -/* 8025B150 00258090 38 63 FD 24 */ addi r3, r3, -732 -/* 8025B154 00258094 4B EA B5 54 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2732$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2732$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 8025B158 00258098 39 60 00 0C */ li r11, 0xc -/* 8025B15C 0025809C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8025B160 002580A0 7C 63 5A 14 */ add r3, r3, r11 -/* 8025B164 002580A4 38 63 FD 24 */ addi r3, r3, -732 -/* 8025B168 002580A8 4B EA B5 60 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2732$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2732$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 8025B16C 002580AC 39 60 00 0C */ li r11, 0xc -/* 8025B170 002580B0 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8025B174 002580B4 7C 63 5A 14 */ add r3, r3, r11 -/* 8025B178 002580B8 38 63 FD 24 */ addi r3, r3, -732 -/* 8025B17C 002580BC 4B EA B8 FC */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2732$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2732$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 8025B180 002580C0 39 60 00 0C */ li r11, 0xc -/* 8025B184 002580C4 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8025B188 002580C8 7C 63 5A 14 */ add r3, r3, r11 -/* 8025B18C 002580CC 38 63 FD 24 */ addi r3, r3, -732 -/* 8025B190 002580D0 4B EA B8 BC */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2732$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2732$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 8025B194 002580D4 39 60 00 0C */ li r11, 0xc -/* 8025B198 002580D8 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8025B19C 002580DC 7C 63 5A 14 */ add r3, r3, r11 -/* 8025B1A0 002580E0 38 63 FD 24 */ addi r3, r3, -732 -/* 8025B1A4 002580E4 4B EA B4 FC */ b viewGetShape__Q24Game9EnemyBaseFv - -.global init__Q34Game4Ujib3FSMFPQ24Game9EnemyBase -init__Q34Game4Ujib3FSMFPQ24Game9EnemyBase: -/* 8025B1A8 002580E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B1AC 002580EC 7C 08 02 A6 */ mflr r0 -/* 8025B1B0 002580F0 38 80 00 0D */ li r4, 0xd -/* 8025B1B4 002580F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B1B8 002580F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025B1BC 002580FC 7C 7F 1B 78 */ mr r31, r3 -/* 8025B1C0 00258100 4B ED 56 A5 */ bl create__Q24Game17EnemyStateMachineFi -/* 8025B1C4 00258104 38 60 00 10 */ li r3, 0x10 -/* 8025B1C8 00258108 4B DC 8C DD */ bl __nw__FUl -/* 8025B1CC 0025810C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B1D0 00258110 41 82 00 3C */ beq lbl_8025B20C -/* 8025B1D4 00258114 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B1D8 00258118 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B1DC 0025811C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B1E0 00258120 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib9StateDead@ha -/* 8025B1E4 00258124 90 04 00 00 */ stw r0, 0(r4) -/* 8025B1E8 00258128 38 E0 00 00 */ li r7, 0 -/* 8025B1EC 0025812C 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B1F0 00258130 38 A2 C8 38 */ addi r5, r2, lbl_8051AB98@sda21 -/* 8025B1F4 00258134 90 E4 00 04 */ stw r7, 4(r4) -/* 8025B1F8 00258138 38 03 2E 28 */ addi r0, r3, __vt__Q34Game4Ujib9StateDead@l -/* 8025B1FC 0025813C 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B200 00258140 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B204 00258144 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B208 00258148 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B20C: -/* 8025B20C 0025814C 7F E3 FB 78 */ mr r3, r31 -/* 8025B210 00258150 4B ED 56 F9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B214 00258154 38 60 00 10 */ li r3, 0x10 -/* 8025B218 00258158 4B DC 8C 8D */ bl __nw__FUl -/* 8025B21C 0025815C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B220 00258160 41 82 00 40 */ beq lbl_8025B260 -/* 8025B224 00258164 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B228 00258168 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B22C 0025816C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B230 00258170 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib10StatePress@ha -/* 8025B234 00258174 90 04 00 00 */ stw r0, 0(r4) -/* 8025B238 00258178 38 00 00 01 */ li r0, 1 -/* 8025B23C 0025817C 38 E0 00 00 */ li r7, 0 -/* 8025B240 00258180 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B244 00258184 90 04 00 04 */ stw r0, 4(r4) -/* 8025B248 00258188 38 A2 C8 40 */ addi r5, r2, lbl_8051ABA0@sda21 -/* 8025B24C 0025818C 38 03 2E 04 */ addi r0, r3, __vt__Q34Game4Ujib10StatePress@l -/* 8025B250 00258190 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B254 00258194 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B258 00258198 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B25C 0025819C 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B260: -/* 8025B260 002581A0 7F E3 FB 78 */ mr r3, r31 -/* 8025B264 002581A4 4B ED 56 A5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B268 002581A8 38 60 00 10 */ li r3, 0x10 -/* 8025B26C 002581AC 4B DC 8C 39 */ bl __nw__FUl -/* 8025B270 002581B0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B274 002581B4 41 82 00 40 */ beq lbl_8025B2B4 -/* 8025B278 002581B8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B27C 002581BC 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B280 002581C0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B284 002581C4 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib9StateStay@ha -/* 8025B288 002581C8 90 04 00 00 */ stw r0, 0(r4) -/* 8025B28C 002581CC 38 00 00 02 */ li r0, 2 -/* 8025B290 002581D0 38 E0 00 00 */ li r7, 0 -/* 8025B294 002581D4 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B298 002581D8 90 04 00 04 */ stw r0, 4(r4) -/* 8025B29C 002581DC 38 A2 C8 48 */ addi r5, r2, lbl_8051ABA8@sda21 -/* 8025B2A0 002581E0 38 03 2D E0 */ addi r0, r3, __vt__Q34Game4Ujib9StateStay@l -/* 8025B2A4 002581E4 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B2A8 002581E8 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B2AC 002581EC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B2B0 002581F0 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B2B4: -/* 8025B2B4 002581F4 7F E3 FB 78 */ mr r3, r31 -/* 8025B2B8 002581F8 4B ED 56 51 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B2BC 002581FC 38 60 00 10 */ li r3, 0x10 -/* 8025B2C0 00258200 4B DC 8B E5 */ bl __nw__FUl -/* 8025B2C4 00258204 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B2C8 00258208 41 82 00 40 */ beq lbl_8025B308 -/* 8025B2CC 0025820C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B2D0 00258210 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B2D4 00258214 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B2D8 00258218 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib11StateAppear@ha -/* 8025B2DC 0025821C 90 04 00 00 */ stw r0, 0(r4) -/* 8025B2E0 00258220 38 00 00 03 */ li r0, 3 -/* 8025B2E4 00258224 38 E0 00 00 */ li r7, 0 -/* 8025B2E8 00258228 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B2EC 0025822C 90 04 00 04 */ stw r0, 4(r4) -/* 8025B2F0 00258230 38 A2 C8 50 */ addi r5, r2, lbl_8051ABB0@sda21 -/* 8025B2F4 00258234 38 03 2D BC */ addi r0, r3, __vt__Q34Game4Ujib11StateAppear@l -/* 8025B2F8 00258238 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B2FC 0025823C 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B300 00258240 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B304 00258244 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B308: -/* 8025B308 00258248 7F E3 FB 78 */ mr r3, r31 -/* 8025B30C 0025824C 4B ED 55 FD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B310 00258250 38 60 00 10 */ li r3, 0x10 -/* 8025B314 00258254 4B DC 8B 91 */ bl __nw__FUl -/* 8025B318 00258258 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B31C 0025825C 41 82 00 40 */ beq lbl_8025B35C -/* 8025B320 00258260 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B324 00258264 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B328 00258268 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B32C 0025826C 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib9StateDive@ha -/* 8025B330 00258270 90 04 00 00 */ stw r0, 0(r4) -/* 8025B334 00258274 38 00 00 04 */ li r0, 4 -/* 8025B338 00258278 38 E0 00 00 */ li r7, 0 -/* 8025B33C 0025827C 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B340 00258280 90 04 00 04 */ stw r0, 4(r4) -/* 8025B344 00258284 38 A2 C8 58 */ addi r5, r2, lbl_8051ABB8@sda21 -/* 8025B348 00258288 38 03 2D 98 */ addi r0, r3, __vt__Q34Game4Ujib9StateDive@l -/* 8025B34C 0025828C 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B350 00258290 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B354 00258294 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B358 00258298 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B35C: -/* 8025B35C 0025829C 7F E3 FB 78 */ mr r3, r31 -/* 8025B360 002582A0 4B ED 55 A9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B364 002582A4 38 60 00 10 */ li r3, 0x10 -/* 8025B368 002582A8 4B DC 8B 3D */ bl __nw__FUl -/* 8025B36C 002582AC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B370 002582B0 41 82 00 40 */ beq lbl_8025B3B0 -/* 8025B374 002582B4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B378 002582B8 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B37C 002582BC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B380 002582C0 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib9StateMove@ha -/* 8025B384 002582C4 90 04 00 00 */ stw r0, 0(r4) -/* 8025B388 002582C8 38 00 00 05 */ li r0, 5 -/* 8025B38C 002582CC 38 E0 00 00 */ li r7, 0 -/* 8025B390 002582D0 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B394 002582D4 90 04 00 04 */ stw r0, 4(r4) -/* 8025B398 002582D8 38 A2 C8 60 */ addi r5, r2, lbl_8051ABC0@sda21 -/* 8025B39C 002582DC 38 03 2D 74 */ addi r0, r3, __vt__Q34Game4Ujib9StateMove@l -/* 8025B3A0 002582E0 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B3A4 002582E4 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B3A8 002582E8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B3AC 002582EC 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B3B0: -/* 8025B3B0 002582F0 7F E3 FB 78 */ mr r3, r31 -/* 8025B3B4 002582F4 4B ED 55 55 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B3B8 002582F8 38 60 00 10 */ li r3, 0x10 -/* 8025B3BC 002582FC 4B DC 8A E9 */ bl __nw__FUl -/* 8025B3C0 00258300 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B3C4 00258304 41 82 00 44 */ beq lbl_8025B408 -/* 8025B3C8 00258308 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B3CC 0025830C 3C C0 80 4C */ lis r6, __vt__Q34Game4Ujib5State@ha -/* 8025B3D0 00258310 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B3D4 00258314 3C A0 80 48 */ lis r5, lbl_80485368@ha -/* 8025B3D8 00258318 90 04 00 00 */ stw r0, 0(r4) -/* 8025B3DC 0025831C 38 00 00 06 */ li r0, 6 -/* 8025B3E0 00258320 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib13StateMoveSide@ha -/* 8025B3E4 00258324 38 E0 00 00 */ li r7, 0 -/* 8025B3E8 00258328 90 04 00 04 */ stw r0, 4(r4) -/* 8025B3EC 0025832C 38 C6 2E 4C */ addi r6, r6, __vt__Q34Game4Ujib5State@l -/* 8025B3F0 00258330 38 A5 53 68 */ addi r5, r5, lbl_80485368@l -/* 8025B3F4 00258334 38 03 2D 50 */ addi r0, r3, __vt__Q34Game4Ujib13StateMoveSide@l -/* 8025B3F8 00258338 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B3FC 0025833C 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B400 00258340 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B404 00258344 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B408: -/* 8025B408 00258348 7F E3 FB 78 */ mr r3, r31 -/* 8025B40C 0025834C 4B ED 54 FD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B410 00258350 38 60 00 10 */ li r3, 0x10 -/* 8025B414 00258354 4B DC 8A 91 */ bl __nw__FUl -/* 8025B418 00258358 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B41C 0025835C 41 82 00 44 */ beq lbl_8025B460 -/* 8025B420 00258360 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B424 00258364 3C C0 80 4C */ lis r6, __vt__Q34Game4Ujib5State@ha -/* 8025B428 00258368 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B42C 0025836C 3C A0 80 48 */ lis r5, lbl_80485374@ha -/* 8025B430 00258370 90 04 00 00 */ stw r0, 0(r4) -/* 8025B434 00258374 38 00 00 07 */ li r0, 7 -/* 8025B438 00258378 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib15StateMoveCentre@ha -/* 8025B43C 0025837C 38 E0 00 00 */ li r7, 0 -/* 8025B440 00258380 90 04 00 04 */ stw r0, 4(r4) -/* 8025B444 00258384 38 C6 2E 4C */ addi r6, r6, __vt__Q34Game4Ujib5State@l -/* 8025B448 00258388 38 A5 53 74 */ addi r5, r5, lbl_80485374@l -/* 8025B44C 0025838C 38 03 2D 2C */ addi r0, r3, __vt__Q34Game4Ujib15StateMoveCentre@l -/* 8025B450 00258390 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B454 00258394 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B458 00258398 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B45C 0025839C 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B460: -/* 8025B460 002583A0 7F E3 FB 78 */ mr r3, r31 -/* 8025B464 002583A4 4B ED 54 A5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B468 002583A8 38 60 00 10 */ li r3, 0x10 -/* 8025B46C 002583AC 4B DC 8A 39 */ bl __nw__FUl -/* 8025B470 002583B0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B474 002583B4 41 82 00 40 */ beq lbl_8025B4B4 -/* 8025B478 002583B8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B47C 002583BC 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B480 002583C0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B484 002583C4 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib12StateMoveTop@ha -/* 8025B488 002583C8 90 04 00 00 */ stw r0, 0(r4) -/* 8025B48C 002583CC 38 00 00 08 */ li r0, 8 -/* 8025B490 002583D0 38 E0 00 00 */ li r7, 0 -/* 8025B494 002583D4 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B498 002583D8 90 04 00 04 */ stw r0, 4(r4) -/* 8025B49C 002583DC 38 A2 C8 68 */ addi r5, r2, lbl_8051ABC8@sda21 -/* 8025B4A0 002583E0 38 03 2D 08 */ addi r0, r3, __vt__Q34Game4Ujib12StateMoveTop@l -/* 8025B4A4 002583E4 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B4A8 002583E8 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B4AC 002583EC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B4B0 002583F0 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B4B4: -/* 8025B4B4 002583F4 7F E3 FB 78 */ mr r3, r31 -/* 8025B4B8 002583F8 4B ED 54 51 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B4BC 002583FC 38 60 00 10 */ li r3, 0x10 -/* 8025B4C0 00258400 4B DC 89 E5 */ bl __nw__FUl -/* 8025B4C4 00258404 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B4C8 00258408 41 82 00 40 */ beq lbl_8025B508 -/* 8025B4CC 0025840C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B4D0 00258410 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B4D4 00258414 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B4D8 00258418 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib11StateGoHome@ha -/* 8025B4DC 0025841C 90 04 00 00 */ stw r0, 0(r4) -/* 8025B4E0 00258420 38 00 00 09 */ li r0, 9 -/* 8025B4E4 00258424 38 E0 00 00 */ li r7, 0 -/* 8025B4E8 00258428 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B4EC 0025842C 90 04 00 04 */ stw r0, 4(r4) -/* 8025B4F0 00258430 38 A2 C8 70 */ addi r5, r2, lbl_8051ABD0@sda21 -/* 8025B4F4 00258434 38 03 2C E4 */ addi r0, r3, __vt__Q34Game4Ujib11StateGoHome@l -/* 8025B4F8 00258438 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B4FC 0025843C 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B500 00258440 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B504 00258444 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B508: -/* 8025B508 00258448 7F E3 FB 78 */ mr r3, r31 -/* 8025B50C 0025844C 4B ED 53 FD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B510 00258450 38 60 00 10 */ li r3, 0x10 -/* 8025B514 00258454 4B DC 89 91 */ bl __nw__FUl -/* 8025B518 00258458 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B51C 0025845C 41 82 00 40 */ beq lbl_8025B55C -/* 8025B520 00258460 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B524 00258464 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B528 00258468 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B52C 0025846C 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib12StateAttack1@ha -/* 8025B530 00258470 90 04 00 00 */ stw r0, 0(r4) -/* 8025B534 00258474 38 00 00 0A */ li r0, 0xa -/* 8025B538 00258478 38 E0 00 00 */ li r7, 0 -/* 8025B53C 0025847C 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B540 00258480 90 04 00 04 */ stw r0, 4(r4) -/* 8025B544 00258484 38 A2 C8 78 */ addi r5, r2, lbl_8051ABD8@sda21 -/* 8025B548 00258488 38 03 2C C0 */ addi r0, r3, __vt__Q34Game4Ujib12StateAttack1@l -/* 8025B54C 0025848C 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B550 00258490 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B554 00258494 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B558 00258498 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B55C: -/* 8025B55C 0025849C 7F E3 FB 78 */ mr r3, r31 -/* 8025B560 002584A0 4B ED 53 A9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B564 002584A4 38 60 00 10 */ li r3, 0x10 -/* 8025B568 002584A8 4B DC 89 3D */ bl __nw__FUl -/* 8025B56C 002584AC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B570 002584B0 41 82 00 40 */ beq lbl_8025B5B0 -/* 8025B574 002584B4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B578 002584B8 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B57C 002584BC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B580 002584C0 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib12StateAttack2@ha -/* 8025B584 002584C4 90 04 00 00 */ stw r0, 0(r4) -/* 8025B588 002584C8 38 00 00 0B */ li r0, 0xb -/* 8025B58C 002584CC 38 E0 00 00 */ li r7, 0 -/* 8025B590 002584D0 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B594 002584D4 90 04 00 04 */ stw r0, 4(r4) -/* 8025B598 002584D8 38 A2 C8 80 */ addi r5, r2, lbl_8051ABE0@sda21 -/* 8025B59C 002584DC 38 03 2C 9C */ addi r0, r3, __vt__Q34Game4Ujib12StateAttack2@l -/* 8025B5A0 002584E0 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B5A4 002584E4 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B5A8 002584E8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B5AC 002584EC 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B5B0: -/* 8025B5B0 002584F0 7F E3 FB 78 */ mr r3, r31 -/* 8025B5B4 002584F4 4B ED 53 55 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B5B8 002584F8 38 60 00 10 */ li r3, 0x10 -/* 8025B5BC 002584FC 4B DC 88 E9 */ bl __nw__FUl -/* 8025B5C0 00258500 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025B5C4 00258504 41 82 00 40 */ beq lbl_8025B604 -/* 8025B5C8 00258508 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025B5CC 0025850C 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujib5State@ha -/* 8025B5D0 00258510 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025B5D4 00258514 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib8StateEat@ha -/* 8025B5D8 00258518 90 04 00 00 */ stw r0, 0(r4) -/* 8025B5DC 0025851C 38 00 00 0C */ li r0, 0xc -/* 8025B5E0 00258520 38 E0 00 00 */ li r7, 0 -/* 8025B5E4 00258524 38 C5 2E 4C */ addi r6, r5, __vt__Q34Game4Ujib5State@l -/* 8025B5E8 00258528 90 04 00 04 */ stw r0, 4(r4) -/* 8025B5EC 0025852C 38 A2 C8 88 */ addi r5, r2, lbl_8051ABE8@sda21 -/* 8025B5F0 00258530 38 03 2C 78 */ addi r0, r3, __vt__Q34Game4Ujib8StateEat@l -/* 8025B5F4 00258534 90 E4 00 08 */ stw r7, 8(r4) -/* 8025B5F8 00258538 90 C4 00 00 */ stw r6, 0(r4) -/* 8025B5FC 0025853C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025B600 00258540 90 04 00 00 */ stw r0, 0(r4) -lbl_8025B604: -/* 8025B604 00258544 7F E3 FB 78 */ mr r3, r31 -/* 8025B608 00258548 4B ED 53 01 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025B60C 0025854C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025B610 00258550 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025B614 00258554 7C 08 03 A6 */ mtlr r0 -/* 8025B618 00258558 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025B61C 0025855C 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025B620 00258560 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B624 00258564 7C 08 02 A6 */ mflr r0 -/* 8025B628 00258568 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B62C 0025856C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025B630 00258570 7C 9F 23 78 */ mr r31, r4 -/* 8025B634 00258574 7F E3 FB 78 */ mr r3, r31 -/* 8025B638 00258578 4B EA A0 E9 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 8025B63C 0025857C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B640 00258580 7F E3 FB 78 */ mr r3, r31 -/* 8025B644 00258584 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025B648 00258588 38 80 00 00 */ li r4, 0 -/* 8025B64C 0025858C 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8025B650 00258590 38 A0 00 00 */ li r5, 0 -/* 8025B654 00258594 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B658 00258598 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025B65C 0025859C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025B660 002585A0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025B664 002585A4 4B EA 99 A1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025B668 002585A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025B66C 002585AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025B670 002585B0 7C 08 03 A6 */ mtlr r0 -/* 8025B674 002585B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025B678 002585B8 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib9StateDeadFPQ24Game9EnemyBase -exec__Q34Game4Ujib9StateDeadFPQ24Game9EnemyBase: -/* 8025B67C 002585BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B680 002585C0 7C 08 02 A6 */ mflr r0 -/* 8025B684 002585C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B688 002585C8 80 64 01 88 */ lwz r3, 0x188(r4) -/* 8025B68C 002585CC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025B690 002585D0 28 00 00 00 */ cmplwi r0, 0 -/* 8025B694 002585D4 41 82 00 1C */ beq lbl_8025B6B0 -/* 8025B698 002585D8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025B69C 002585DC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025B6A0 002585E0 40 82 00 10 */ bne lbl_8025B6B0 -/* 8025B6A4 002585E4 7C 83 23 78 */ mr r3, r4 -/* 8025B6A8 002585E8 38 80 00 00 */ li r4, 0 -/* 8025B6AC 002585EC 4B ED FA 45 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_8025B6B0: -/* 8025B6B0 002585F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025B6B4 002585F4 7C 08 03 A6 */ mtlr r0 -/* 8025B6B8 002585F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025B6BC 002585FC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib9StateDeadFPQ24Game9EnemyBase: -/* 8025B6C0 00258600 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025B6C4 00258604 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B6C8 00258608 7C 08 02 A6 */ mflr r0 -/* 8025B6CC 0025860C C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025B6D0 00258610 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B6D4 00258614 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025B6D8 00258618 7C 9F 23 78 */ mr r31, r4 -/* 8025B6DC 0025861C 7F E3 FB 78 */ mr r3, r31 -/* 8025B6E0 00258620 D0 04 02 00 */ stfs f0, 0x200(r4) -/* 8025B6E4 00258624 4B EA A0 3D */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 8025B6E8 00258628 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B6EC 0025862C 7F E3 FB 78 */ mr r3, r31 -/* 8025B6F0 00258630 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025B6F4 00258634 38 80 00 01 */ li r4, 1 -/* 8025B6F8 00258638 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8025B6FC 0025863C 38 A0 00 00 */ li r5, 0 -/* 8025B700 00258640 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B704 00258644 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025B708 00258648 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025B70C 0025864C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025B710 00258650 4B EA 98 F5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025B714 00258654 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025B718 00258658 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025B71C 0025865C 7C 08 03 A6 */ mtlr r0 -/* 8025B720 00258660 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025B724 00258664 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib10StatePressFPQ24Game9EnemyBase -exec__Q34Game4Ujib10StatePressFPQ24Game9EnemyBase: -/* 8025B728 00258668 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B72C 0025866C 7C 08 02 A6 */ mflr r0 -/* 8025B730 00258670 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B734 00258674 80 64 01 88 */ lwz r3, 0x188(r4) -/* 8025B738 00258678 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025B73C 0025867C 28 00 00 00 */ cmplwi r0, 0 -/* 8025B740 00258680 41 82 00 1C */ beq lbl_8025B75C -/* 8025B744 00258684 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025B748 00258688 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025B74C 0025868C 40 82 00 10 */ bne lbl_8025B75C -/* 8025B750 00258690 7C 83 23 78 */ mr r3, r4 -/* 8025B754 00258694 38 80 00 00 */ li r4, 0 -/* 8025B758 00258698 4B ED F9 99 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_8025B75C: -/* 8025B75C 0025869C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025B760 002586A0 7C 08 03 A6 */ mtlr r0 -/* 8025B764 002586A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025B768 002586A8 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib10StatePressFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib10StatePressFPQ24Game9EnemyBase: -/* 8025B76C 002586AC 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025B770 002586B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B774 002586B4 7C 08 02 A6 */ mflr r0 -/* 8025B778 002586B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B77C 002586BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025B780 002586C0 7C 9F 23 78 */ mr r31, r4 -/* 8025B784 002586C4 7F E3 FB 78 */ mr r3, r31 -/* 8025B788 002586C8 4B FF E8 D1 */ bl resetAppearCheck__Q34Game4Ujib3ObjFv -/* 8025B78C 002586CC 7F E3 FB 78 */ mr r3, r31 -/* 8025B790 002586D0 38 80 00 00 */ li r4, 0 -/* 8025B794 002586D4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025B798 002586D8 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025B79C 002586DC 7D 89 03 A6 */ mtctr r12 -/* 8025B7A0 002586E0 4E 80 04 21 */ bctrl -/* 8025B7A4 002586E4 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8025B7A8 002586E8 38 00 00 01 */ li r0, 1 -/* 8025B7AC 002586EC 7F E3 FB 78 */ mr r3, r31 -/* 8025B7B0 002586F0 60 84 00 01 */ ori r4, r4, 1 -/* 8025B7B4 002586F4 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8025B7B8 002586F8 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 8025B7BC 002586FC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B7C0 00258700 64 00 00 40 */ oris r0, r0, 0x40 -/* 8025B7C4 00258704 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B7C8 00258708 4B EA BF B5 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8025B7CC 0025870C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B7D0 00258710 7F E3 FB 78 */ mr r3, r31 -/* 8025B7D4 00258714 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025B7D8 00258718 38 80 00 02 */ li r4, 2 -/* 8025B7DC 0025871C 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 8025B7E0 00258720 38 A0 00 00 */ li r5, 0 -/* 8025B7E4 00258724 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B7E8 00258728 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B7EC 0025872C 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf -/* 8025B7F0 00258730 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B7F4 00258734 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B7F8 00258738 64 00 40 00 */ oris r0, r0, 0x4000 -/* 8025B7FC 0025873C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B800 00258740 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025B804 00258744 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025B808 00258748 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025B80C 0025874C 4B EA 97 F9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025B810 00258750 7F E3 FB 78 */ mr r3, r31 -/* 8025B814 00258754 4B EA BA CD */ bl stopMotion__Q24Game9EnemyBaseFv -/* 8025B818 00258758 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025B81C 0025875C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025B820 00258760 7C 08 03 A6 */ mtlr r0 -/* 8025B824 00258764 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025B828 00258768 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib9StateStayFPQ24Game9EnemyBase -exec__Q34Game4Ujib9StateStayFPQ24Game9EnemyBase: -/* 8025B82C 0025876C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025B830 00258770 7C 08 02 A6 */ mflr r0 -/* 8025B834 00258774 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025B838 00258778 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025B83C 0025877C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025B840 00258780 7C 9E 23 78 */ mr r30, r4 -/* 8025B844 00258784 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8025B848 00258788 7C 7D 1B 78 */ mr r29, r3 -/* 8025B84C 0025878C 7F C3 F3 78 */ mr r3, r30 -/* 8025B850 00258790 4B FF E9 25 */ bl setBridgeSearch__Q34Game4Ujib3ObjFv -/* 8025B854 00258794 80 FE 00 C0 */ lwz r7, 0xc0(r30) -/* 8025B858 00258798 7F C3 F3 78 */ mr r3, r30 -/* 8025B85C 0025879C 38 80 00 00 */ li r4, 0 -/* 8025B860 002587A0 38 A0 00 00 */ li r5, 0 -/* 8025B864 002587A4 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8025B868 002587A8 38 C0 00 00 */ li r6, 0 -/* 8025B86C 002587AC C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 8025B870 002587B0 4B EB 77 E1 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8025B874 002587B4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8025B878 002587B8 40 82 00 14 */ bne lbl_8025B88C -/* 8025B87C 002587BC 7F C3 F3 78 */ mr r3, r30 -/* 8025B880 002587C0 4B FF ED B5 */ bl isBreakBridge__Q34Game4Ujib3ObjFv -/* 8025B884 002587C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025B888 002587C8 41 82 00 38 */ beq lbl_8025B8C0 -lbl_8025B88C: -/* 8025B88C 002587CC 7F C3 F3 78 */ mr r3, r30 -/* 8025B890 002587D0 4B FF E8 7D */ bl isAppearCheck__Q34Game4Ujib3ObjFv -/* 8025B894 002587D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025B898 002587D8 41 82 00 28 */ beq lbl_8025B8C0 -/* 8025B89C 002587DC 93 FE 02 30 */ stw r31, 0x230(r30) -/* 8025B8A0 002587E0 7F A3 EB 78 */ mr r3, r29 -/* 8025B8A4 002587E4 7F C4 F3 78 */ mr r4, r30 -/* 8025B8A8 002587E8 38 A0 00 03 */ li r5, 3 -/* 8025B8AC 002587EC 81 9D 00 00 */ lwz r12, 0(r29) -/* 8025B8B0 002587F0 38 C0 00 00 */ li r6, 0 -/* 8025B8B4 002587F4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025B8B8 002587F8 7D 89 03 A6 */ mtctr r12 -/* 8025B8BC 002587FC 4E 80 04 21 */ bctrl -lbl_8025B8C0: -/* 8025B8C0 00258800 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025B8C4 00258804 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025B8C8 00258808 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025B8CC 0025880C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8025B8D0 00258810 7C 08 03 A6 */ mtlr r0 -/* 8025B8D4 00258814 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025B8D8 00258818 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib9StateStayFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib9StateStayFPQ24Game9EnemyBase: -/* 8025B8DC 0025881C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B8E0 00258820 7C 08 02 A6 */ mflr r0 -/* 8025B8E4 00258824 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B8E8 00258828 7C 80 23 78 */ mr r0, r4 -/* 8025B8EC 0025882C 38 80 00 01 */ li r4, 1 -/* 8025B8F0 00258830 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025B8F4 00258834 7C 1F 03 78 */ mr r31, r0 -/* 8025B8F8 00258838 7F E3 FB 78 */ mr r3, r31 -/* 8025B8FC 0025883C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025B900 00258840 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025B904 00258844 7D 89 03 A6 */ mtctr r12 -/* 8025B908 00258848 4E 80 04 21 */ bctrl -/* 8025B90C 0025884C 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8025B910 00258850 38 00 00 00 */ li r0, 0 -/* 8025B914 00258854 7F E3 FB 78 */ mr r3, r31 -/* 8025B918 00258858 54 84 00 3C */ rlwinm r4, r4, 0, 0, 0x1e -/* 8025B91C 0025885C 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8025B920 00258860 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 8025B924 00258864 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B928 00258868 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 8025B92C 0025886C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B930 00258870 4B EA BE 65 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 8025B934 00258874 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B938 00258878 60 00 80 00 */ ori r0, r0, 0x8000 -/* 8025B93C 0025887C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B940 00258880 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B944 00258884 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 -/* 8025B948 00258888 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B94C 0025888C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025B950 00258890 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025B954 00258894 7C 08 03 A6 */ mtlr r0 -/* 8025B958 00258898 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025B95C 0025889C 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025B960 002588A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B964 002588A4 7C 08 02 A6 */ mflr r0 -/* 8025B968 002588A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B96C 002588AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025B970 002588B0 7C 9F 23 78 */ mr r31, r4 -/* 8025B974 002588B4 7F E3 FB 78 */ mr r3, r31 -/* 8025B978 002588B8 4B FF E6 7D */ bl lifeIncrement__Q34Game4Ujib3ObjFv -/* 8025B97C 002588BC 7F E3 FB 78 */ mr r3, r31 -/* 8025B980 002588C0 4B EA BD FD */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8025B984 002588C4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B988 002588C8 7F E3 FB 78 */ mr r3, r31 -/* 8025B98C 002588CC C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025B990 002588D0 64 00 00 20 */ oris r0, r0, 0x20 -/* 8025B994 002588D4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B998 002588D8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025B99C 002588DC 60 00 08 00 */ ori r0, r0, 0x800 -/* 8025B9A0 002588E0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025B9A4 002588E4 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025B9A8 002588E8 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025B9AC 002588EC D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025B9B0 002588F0 4B EA 60 1D */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 8025B9B4 002588F4 7F E3 FB 78 */ mr r3, r31 -/* 8025B9B8 002588F8 38 80 00 02 */ li r4, 2 -/* 8025B9BC 002588FC 38 A0 00 00 */ li r5, 0 -/* 8025B9C0 00258900 4B EA 96 45 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025B9C4 00258904 7F E3 FB 78 */ mr r3, r31 -/* 8025B9C8 00258908 4B FF F5 11 */ bl createAppearEffect__Q34Game4Ujib3ObjFv -/* 8025B9CC 0025890C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025B9D0 00258910 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025B9D4 00258914 7C 08 03 A6 */ mtlr r0 -/* 8025B9D8 00258918 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025B9DC 0025891C 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib11StateAppearFPQ24Game9EnemyBase -exec__Q34Game4Ujib11StateAppearFPQ24Game9EnemyBase: -/* 8025B9E0 00258920 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025B9E4 00258924 7C 08 02 A6 */ mflr r0 -/* 8025B9E8 00258928 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025B9EC 0025892C 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 8025B9F0 00258930 88 05 00 24 */ lbz r0, 0x24(r5) -/* 8025B9F4 00258934 28 00 00 00 */ cmplwi r0, 0 -/* 8025B9F8 00258938 41 82 00 58 */ beq lbl_8025BA50 -/* 8025B9FC 0025893C 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8025BA00 00258940 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025BA04 00258944 40 82 00 4C */ bne lbl_8025BA50 -/* 8025BA08 00258948 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 8025BA0C 0025894C C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025BA10 00258950 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025BA14 00258954 4C 40 13 82 */ cror 2, 0, 2 -/* 8025BA18 00258958 40 82 00 20 */ bne lbl_8025BA38 -/* 8025BA1C 0025895C 81 83 00 00 */ lwz r12, 0(r3) -/* 8025BA20 00258960 38 A0 00 00 */ li r5, 0 -/* 8025BA24 00258964 38 C0 00 00 */ li r6, 0 -/* 8025BA28 00258968 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025BA2C 0025896C 7D 89 03 A6 */ mtctr r12 -/* 8025BA30 00258970 4E 80 04 21 */ bctrl -/* 8025BA34 00258974 48 00 00 1C */ b lbl_8025BA50 -lbl_8025BA38: -/* 8025BA38 00258978 81 83 00 00 */ lwz r12, 0(r3) -/* 8025BA3C 0025897C 38 A0 00 05 */ li r5, 5 -/* 8025BA40 00258980 38 C0 00 00 */ li r6, 0 -/* 8025BA44 00258984 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025BA48 00258988 7D 89 03 A6 */ mtctr r12 -/* 8025BA4C 0025898C 4E 80 04 21 */ bctrl -lbl_8025BA50: -/* 8025BA50 00258990 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025BA54 00258994 7C 08 03 A6 */ mtlr r0 -/* 8025BA58 00258998 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025BA5C 0025899C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib11StateAppearFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib11StateAppearFPQ24Game9EnemyBase: -/* 8025BA60 002589A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025BA64 002589A4 7C 08 02 A6 */ mflr r0 -/* 8025BA68 002589A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025BA6C 002589AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025BA70 002589B0 7C 9F 23 78 */ mr r31, r4 -/* 8025BA74 002589B4 7F E3 FB 78 */ mr r3, r31 -/* 8025BA78 002589B8 4B EA BD 1D */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 8025BA7C 002589BC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025BA80 002589C0 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8025BA84 002589C4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025BA88 002589C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025BA8C 002589CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025BA90 002589D0 7C 08 03 A6 */ mtlr r0 -/* 8025BA94 002589D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025BA98 002589D8 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib9StateDiveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib9StateDiveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025BA9C 002589DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025BAA0 002589E0 7C 08 02 A6 */ mflr r0 -/* 8025BAA4 002589E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025BAA8 002589E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025BAAC 002589EC 7C 9F 23 78 */ mr r31, r4 -/* 8025BAB0 002589F0 7F E3 FB 78 */ mr r3, r31 -/* 8025BAB4 002589F4 4B EA BC C9 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8025BAB8 002589F8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025BABC 002589FC 7F E3 FB 78 */ mr r3, r31 -/* 8025BAC0 00258A00 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025BAC4 00258A04 64 00 00 40 */ oris r0, r0, 0x40 -/* 8025BAC8 00258A08 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025BACC 00258A0C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025BAD0 00258A10 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025BAD4 00258A14 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025BAD8 00258A18 4B EA 5E A5 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 8025BADC 00258A1C 7F E3 FB 78 */ mr r3, r31 -/* 8025BAE0 00258A20 38 80 00 03 */ li r4, 3 -/* 8025BAE4 00258A24 38 A0 00 00 */ li r5, 0 -/* 8025BAE8 00258A28 4B EA 95 1D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025BAEC 00258A2C 7F E3 FB 78 */ mr r3, r31 -/* 8025BAF0 00258A30 4B FF F4 75 */ bl createDisAppearEffect__Q34Game4Ujib3ObjFv -/* 8025BAF4 00258A34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025BAF8 00258A38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025BAFC 00258A3C 7C 08 03 A6 */ mtlr r0 -/* 8025BB00 00258A40 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025BB04 00258A44 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib9StateDiveFPQ24Game9EnemyBase -exec__Q34Game4Ujib9StateDiveFPQ24Game9EnemyBase: -/* 8025BB08 00258A48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025BB0C 00258A4C 7C 08 02 A6 */ mflr r0 -/* 8025BB10 00258A50 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025BB14 00258A54 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 8025BB18 00258A58 88 05 00 24 */ lbz r0, 0x24(r5) -/* 8025BB1C 00258A5C 28 00 00 00 */ cmplwi r0, 0 -/* 8025BB20 00258A60 41 82 00 28 */ beq lbl_8025BB48 -/* 8025BB24 00258A64 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8025BB28 00258A68 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025BB2C 00258A6C 40 82 00 1C */ bne lbl_8025BB48 -/* 8025BB30 00258A70 81 83 00 00 */ lwz r12, 0(r3) -/* 8025BB34 00258A74 38 A0 00 02 */ li r5, 2 -/* 8025BB38 00258A78 38 C0 00 00 */ li r6, 0 -/* 8025BB3C 00258A7C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025BB40 00258A80 7D 89 03 A6 */ mtctr r12 -/* 8025BB44 00258A84 4E 80 04 21 */ bctrl -lbl_8025BB48: -/* 8025BB48 00258A88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025BB4C 00258A8C 7C 08 03 A6 */ mtlr r0 -/* 8025BB50 00258A90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025BB54 00258A94 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib9StateDiveFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib9StateDiveFPQ24Game9EnemyBase: -/* 8025BB58 00258A98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025BB5C 00258A9C 7C 08 02 A6 */ mflr r0 -/* 8025BB60 00258AA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025BB64 00258AA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025BB68 00258AA8 7C 9F 23 78 */ mr r31, r4 -/* 8025BB6C 00258AAC 7F E3 FB 78 */ mr r3, r31 -/* 8025BB70 00258AB0 4B EA BC 25 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 8025BB74 00258AB4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025BB78 00258AB8 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 8025BB7C 00258ABC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025BB80 00258AC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025BB84 00258AC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025BB88 00258AC8 7C 08 03 A6 */ mtlr r0 -/* 8025BB8C 00258ACC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025BB90 00258AD0 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025BB94 00258AD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025BB98 00258AD8 7C 08 02 A6 */ mflr r0 -/* 8025BB9C 00258ADC 7C 83 23 78 */ mr r3, r4 -/* 8025BBA0 00258AE0 38 80 00 04 */ li r4, 4 -/* 8025BBA4 00258AE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025BBA8 00258AE8 38 00 FF FF */ li r0, -1 -/* 8025BBAC 00258AEC 38 A0 00 00 */ li r5, 0 -/* 8025BBB0 00258AF0 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8025BBB4 00258AF4 4B EA 94 51 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025BBB8 00258AF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025BBBC 00258AFC 7C 08 03 A6 */ mtlr r0 -/* 8025BBC0 00258B00 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025BBC4 00258B04 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib9StateMoveFPQ24Game9EnemyBase -exec__Q34Game4Ujib9StateMoveFPQ24Game9EnemyBase: -/* 8025BBC8 00258B08 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8025BBCC 00258B0C 7C 08 02 A6 */ mflr r0 -/* 8025BBD0 00258B10 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8025BBD4 00258B14 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8025BBD8 00258B18 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8025BBDC 00258B1C DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 8025BBE0 00258B20 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8025BBE4 00258B24 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 8025BBE8 00258B28 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 8025BBEC 00258B2C DB 81 00 B0 */ stfd f28, 0xb0(r1) -/* 8025BBF0 00258B30 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 -/* 8025BBF4 00258B34 DB 61 00 A0 */ stfd f27, 0xa0(r1) -/* 8025BBF8 00258B38 F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 -/* 8025BBFC 00258B3C DB 41 00 90 */ stfd f26, 0x90(r1) -/* 8025BC00 00258B40 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 -/* 8025BC04 00258B44 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8025BC08 00258B48 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8025BC0C 00258B4C 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8025BC10 00258B50 93 81 00 80 */ stw r28, 0x80(r1) -/* 8025BC14 00258B54 7C 9F 23 78 */ mr r31, r4 -/* 8025BC18 00258B58 7C 7E 1B 78 */ mr r30, r3 -/* 8025BC1C 00258B5C 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 8025BC20 00258B60 38 80 00 00 */ li r4, 0 -/* 8025BC24 00258B64 7F E3 FB 78 */ mr r3, r31 -/* 8025BC28 00258B68 38 A0 00 00 */ li r5, 0 -/* 8025BC2C 00258B6C C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8025BC30 00258B70 38 C0 00 00 */ li r6, 0 -/* 8025BC34 00258B74 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 8025BC38 00258B78 4B EB 74 19 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8025BC3C 00258B7C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8025BC40 00258B80 41 82 03 4C */ beq lbl_8025BF8C -/* 8025BC44 00258B84 93 9F 02 30 */ stw r28, 0x230(r31) -/* 8025BC48 00258B88 7F 84 E3 78 */ mr r4, r28 -/* 8025BC4C 00258B8C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8025BC50 00258B90 81 9C 00 00 */ lwz r12, 0(r28) -/* 8025BC54 00258B94 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025BC58 00258B98 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BC5C 00258B9C C3 A5 03 34 */ lfs f29, 0x334(r5) -/* 8025BC60 00258BA0 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 8025BC64 00258BA4 7D 89 03 A6 */ mtctr r12 -/* 8025BC68 00258BA8 4E 80 04 21 */ bctrl -/* 8025BC6C 00258BAC 7F E4 FB 78 */ mr r4, r31 -/* 8025BC70 00258BB0 38 61 00 5C */ addi r3, r1, 0x5c -/* 8025BC74 00258BB4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BC78 00258BB8 C3 41 00 50 */ lfs f26, 0x50(r1) -/* 8025BC7C 00258BBC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BC80 00258BC0 C3 61 00 58 */ lfs f27, 0x58(r1) -/* 8025BC84 00258BC4 7D 89 03 A6 */ mtctr r12 -/* 8025BC88 00258BC8 4E 80 04 21 */ bctrl -/* 8025BC8C 00258BCC C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8025BC90 00258BD0 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8025BC94 00258BD4 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8025BC98 00258BD8 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8025BC9C 00258BDC EC 3A 08 28 */ fsubs f1, f26, f1 -/* 8025BCA0 00258BE0 EC 5B 00 28 */ fsubs f2, f27, f0 -/* 8025BCA4 00258BE4 4B DD 94 65 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8025BCA8 00258BE8 48 1B 5F 29 */ bl roundAng__Ff -/* 8025BCAC 00258BEC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BCB0 00258BF0 FF 40 08 90 */ fmr f26, f1 -/* 8025BCB4 00258BF4 7F E3 FB 78 */ mr r3, r31 -/* 8025BCB8 00258BF8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025BCBC 00258BFC 7D 89 03 A6 */ mtctr r12 -/* 8025BCC0 00258C00 4E 80 04 21 */ bctrl -/* 8025BCC4 00258C04 FC 40 08 90 */ fmr f2, f1 -/* 8025BCC8 00258C08 FC 20 D0 90 */ fmr f1, f26 -/* 8025BCCC 00258C0C 48 1B 5F 31 */ bl angDist__Fff -/* 8025BCD0 00258C10 FF E0 08 90 */ fmr f31, f1 -/* 8025BCD4 00258C14 C0 02 C8 94 */ lfs f0, lbl_8051ABF4@sda21(r2) -/* 8025BCD8 00258C18 C0 22 C8 90 */ lfs f1, lbl_8051ABF0@sda21(r2) -/* 8025BCDC 00258C1C EC 00 07 72 */ fmuls f0, f0, f29 -/* 8025BCE0 00258C20 EF 9F 07 B2 */ fmuls f28, f31, f30 -/* 8025BCE4 00258C24 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8025BCE8 00258C28 FC 00 E2 10 */ fabs f0, f28 -/* 8025BCEC 00258C2C FC 00 00 18 */ frsp f0, f0 -/* 8025BCF0 00258C30 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8025BCF4 00258C34 40 81 00 1C */ ble lbl_8025BD10 -/* 8025BCF8 00258C38 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025BCFC 00258C3C FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8025BD00 00258C40 40 81 00 0C */ ble lbl_8025BD0C -/* 8025BD04 00258C44 FF 80 08 90 */ fmr f28, f1 -/* 8025BD08 00258C48 48 00 00 08 */ b lbl_8025BD10 -lbl_8025BD0C: -/* 8025BD0C 00258C4C FF 80 08 50 */ fneg f28, f1 -lbl_8025BD10: -/* 8025BD10 00258C50 7F E3 FB 78 */ mr r3, r31 -/* 8025BD14 00258C54 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BD18 00258C58 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025BD1C 00258C5C 7D 89 03 A6 */ mtctr r12 -/* 8025BD20 00258C60 4E 80 04 21 */ bctrl -/* 8025BD24 00258C64 EC 3C 08 2A */ fadds f1, f28, f1 -/* 8025BD28 00258C68 48 1B 5E A9 */ bl roundAng__Ff -/* 8025BD2C 00258C6C D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8025BD30 00258C70 7F E3 FB 78 */ mr r3, r31 -/* 8025BD34 00258C74 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8025BD38 00258C78 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8025BD3C 00258C7C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BD40 00258C80 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8025BD44 00258C84 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025BD48 00258C88 C3 A4 02 E4 */ lfs f29, 0x2e4(r4) -/* 8025BD4C 00258C8C 7D 89 03 A6 */ mtctr r12 -/* 8025BD50 00258C90 4E 80 04 21 */ bctrl -/* 8025BD54 00258C94 4B E7 3A C9 */ bl sin -/* 8025BD58 00258C98 7F E3 FB 78 */ mr r3, r31 -/* 8025BD5C 00258C9C C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8025BD60 00258CA0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BD64 00258CA4 FF 40 08 18 */ frsp f26, f1 -/* 8025BD68 00258CA8 C3 DF 01 D8 */ lfs f30, 0x1d8(r31) -/* 8025BD6C 00258CAC C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8025BD70 00258CB0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025BD74 00258CB4 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8025BD78 00258CB8 D3 C1 00 78 */ stfs f30, 0x78(r1) -/* 8025BD7C 00258CBC D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8025BD80 00258CC0 7D 89 03 A6 */ mtctr r12 -/* 8025BD84 00258CC4 4E 80 04 21 */ bctrl -/* 8025BD88 00258CC8 4B E7 35 2D */ bl cos -/* 8025BD8C 00258CCC EC 1D 06 B2 */ fmuls f0, f29, f26 -/* 8025BD90 00258CD0 7F E4 FB 78 */ mr r4, r31 -/* 8025BD94 00258CD4 FC 20 08 18 */ frsp f1, f1 -/* 8025BD98 00258CD8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8025BD9C 00258CDC 3B A0 00 00 */ li r29, 0 -/* 8025BDA0 00258CE0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025BDA4 00258CE4 EC 1D 00 72 */ fmuls f0, f29, f1 -/* 8025BDA8 00258CE8 D3 DF 01 D8 */ stfs f30, 0x1d8(r31) -/* 8025BDAC 00258CEC D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025BDB0 00258CF0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BDB4 00258CF4 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025BDB8 00258CF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BDBC 00258CFC C3 85 05 8C */ lfs f28, 0x58c(r5) -/* 8025BDC0 00258D00 C3 A5 05 64 */ lfs f29, 0x564(r5) -/* 8025BDC4 00258D04 7D 89 03 A6 */ mtctr r12 -/* 8025BDC8 00258D08 4E 80 04 21 */ bctrl -/* 8025BDCC 00258D0C 7F 84 E3 78 */ mr r4, r28 -/* 8025BDD0 00258D10 38 61 00 08 */ addi r3, r1, 8 -/* 8025BDD4 00258D14 81 9C 00 00 */ lwz r12, 0(r28) -/* 8025BDD8 00258D18 C3 C1 00 14 */ lfs f30, 0x14(r1) -/* 8025BDDC 00258D1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BDE0 00258D20 7D 89 03 A6 */ mtctr r12 -/* 8025BDE4 00258D24 4E 80 04 21 */ bctrl -/* 8025BDE8 00258D28 7F E4 FB 78 */ mr r4, r31 -/* 8025BDEC 00258D2C C0 01 00 08 */ lfs f0, 8(r1) -/* 8025BDF0 00258D30 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BDF4 00258D34 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025BDF8 00258D38 EF 40 F0 28 */ fsubs f26, f0, f30 -/* 8025BDFC 00258D3C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BE00 00258D40 7D 89 03 A6 */ mtctr r12 -/* 8025BE04 00258D44 4E 80 04 21 */ bctrl -/* 8025BE08 00258D48 7F 84 E3 78 */ mr r4, r28 -/* 8025BE0C 00258D4C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025BE10 00258D50 81 9C 00 00 */ lwz r12, 0(r28) -/* 8025BE14 00258D54 C3 C1 00 30 */ lfs f30, 0x30(r1) -/* 8025BE18 00258D58 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BE1C 00258D5C 7D 89 03 A6 */ mtctr r12 -/* 8025BE20 00258D60 4E 80 04 21 */ bctrl -/* 8025BE24 00258D64 7F E4 FB 78 */ mr r4, r31 -/* 8025BE28 00258D68 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8025BE2C 00258D6C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BE30 00258D70 38 61 00 44 */ addi r3, r1, 0x44 -/* 8025BE34 00258D74 EF 60 F0 28 */ fsubs f27, f0, f30 -/* 8025BE38 00258D78 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BE3C 00258D7C 7D 89 03 A6 */ mtctr r12 -/* 8025BE40 00258D80 4E 80 04 21 */ bctrl -/* 8025BE44 00258D84 7F 84 E3 78 */ mr r4, r28 -/* 8025BE48 00258D88 38 61 00 38 */ addi r3, r1, 0x38 -/* 8025BE4C 00258D8C 81 9C 00 00 */ lwz r12, 0(r28) -/* 8025BE50 00258D90 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 8025BE54 00258D94 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BE58 00258D98 7D 89 03 A6 */ mtctr r12 -/* 8025BE5C 00258D9C 4E 80 04 21 */ bctrl -/* 8025BE60 00258DA0 EC 3B 06 F2 */ fmuls f1, f27, f27 -/* 8025BE64 00258DA4 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 8025BE68 00258DA8 EC 1D 07 72 */ fmuls f0, f29, f29 -/* 8025BE6C 00258DAC EC 42 F0 28 */ fsubs f2, f2, f30 -/* 8025BE70 00258DB0 EC 3A 0E BA */ fmadds f1, f26, f26, f1 -/* 8025BE74 00258DB4 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8025BE78 00258DB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025BE7C 00258DBC 40 80 00 2C */ bge lbl_8025BEA8 -/* 8025BE80 00258DC0 C0 02 C8 94 */ lfs f0, lbl_8051ABF4@sda21(r2) -/* 8025BE84 00258DC4 FC 40 FA 10 */ fabs f2, f31 -/* 8025BE88 00258DC8 C0 22 C8 90 */ lfs f1, lbl_8051ABF0@sda21(r2) -/* 8025BE8C 00258DCC EC 00 07 32 */ fmuls f0, f0, f28 -/* 8025BE90 00258DD0 FC 40 10 18 */ frsp f2, f2 -/* 8025BE94 00258DD4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8025BE98 00258DD8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8025BE9C 00258DDC 4C 40 13 82 */ cror 2, 0, 2 -/* 8025BEA0 00258DE0 40 82 00 08 */ bne lbl_8025BEA8 -/* 8025BEA4 00258DE4 3B A0 00 01 */ li r29, 1 -lbl_8025BEA8: -/* 8025BEA8 00258DE8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8025BEAC 00258DEC 41 82 00 18 */ beq lbl_8025BEC4 -/* 8025BEB0 00258DF0 38 00 00 0B */ li r0, 0xb -/* 8025BEB4 00258DF4 7F E3 FB 78 */ mr r3, r31 -/* 8025BEB8 00258DF8 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025BEBC 00258DFC 4B EA 93 E5 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025BEC0 00258E00 48 00 01 04 */ b lbl_8025BFC4 -lbl_8025BEC4: -/* 8025BEC4 00258E04 7F E4 FB 78 */ mr r4, r31 -/* 8025BEC8 00258E08 38 61 00 68 */ addi r3, r1, 0x68 -/* 8025BECC 00258E0C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025BED0 00258E10 C3 5F 01 98 */ lfs f26, 0x198(r31) -/* 8025BED4 00258E14 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025BED8 00258E18 C3 7F 01 9C */ lfs f27, 0x19c(r31) -/* 8025BEDC 00258E1C C3 9F 01 A0 */ lfs f28, 0x1a0(r31) -/* 8025BEE0 00258E20 7D 89 03 A6 */ mtctr r12 -/* 8025BEE4 00258E24 4E 80 04 21 */ bctrl -/* 8025BEE8 00258E28 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8025BEEC 00258E2C C0 41 00 68 */ lfs f2, 0x68(r1) -/* 8025BEF0 00258E30 EC 60 D8 28 */ fsubs f3, f0, f27 -/* 8025BEF4 00258E34 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 8025BEF8 00258E38 EC 42 D0 28 */ fsubs f2, f2, f26 -/* 8025BEFC 00258E3C C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025BF00 00258E40 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8025BF04 00258E44 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 8025BF08 00258E48 EC 81 00 72 */ fmuls f4, f1, f1 -/* 8025BF0C 00258E4C EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 8025BF10 00258E50 EC 24 08 2A */ fadds f1, f4, f1 -/* 8025BF14 00258E54 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025BF18 00258E58 40 81 00 14 */ ble lbl_8025BF2C -/* 8025BF1C 00258E5C 40 81 00 14 */ ble lbl_8025BF30 -/* 8025BF20 00258E60 FC 00 08 34 */ frsqrte f0, f1 -/* 8025BF24 00258E64 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8025BF28 00258E68 48 00 00 08 */ b lbl_8025BF30 -lbl_8025BF2C: -/* 8025BF2C 00258E6C FC 20 00 90 */ fmr f1, f0 -lbl_8025BF30: -/* 8025BF30 00258E70 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8025BF34 00258E74 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 8025BF38 00258E78 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025BF3C 00258E7C 40 81 00 18 */ ble lbl_8025BF54 -/* 8025BF40 00258E80 38 00 00 09 */ li r0, 9 -/* 8025BF44 00258E84 7F E3 FB 78 */ mr r3, r31 -/* 8025BF48 00258E88 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025BF4C 00258E8C 4B EA 93 55 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025BF50 00258E90 48 00 00 74 */ b lbl_8025BFC4 -lbl_8025BF54: -/* 8025BF54 00258E94 C0 24 05 8C */ lfs f1, 0x58c(r4) -/* 8025BF58 00258E98 7F E3 FB 78 */ mr r3, r31 -/* 8025BF5C 00258E9C C0 44 05 64 */ lfs f2, 0x564(r4) -/* 8025BF60 00258EA0 38 80 00 00 */ li r4, 0 -/* 8025BF64 00258EA4 38 A0 00 00 */ li r5, 0 -/* 8025BF68 00258EA8 38 C0 00 00 */ li r6, 0 -/* 8025BF6C 00258EAC 4B EB 70 E5 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8025BF70 00258EB0 28 03 00 00 */ cmplwi r3, 0 -/* 8025BF74 00258EB4 41 82 00 50 */ beq lbl_8025BFC4 -/* 8025BF78 00258EB8 38 00 00 0B */ li r0, 0xb -/* 8025BF7C 00258EBC 7F E3 FB 78 */ mr r3, r31 -/* 8025BF80 00258EC0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025BF84 00258EC4 4B EA 93 1D */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025BF88 00258EC8 48 00 00 3C */ b lbl_8025BFC4 -lbl_8025BF8C: -/* 8025BF8C 00258ECC 7F E3 FB 78 */ mr r3, r31 -/* 8025BF90 00258ED0 4B FF E6 A5 */ bl isBreakBridge__Q34Game4Ujib3ObjFv -/* 8025BF94 00258ED4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025BF98 00258ED8 41 82 00 1C */ beq lbl_8025BFB4 -/* 8025BF9C 00258EDC 7F E3 FB 78 */ mr r3, r31 -/* 8025BFA0 00258EE0 4B FF E4 E1 */ bl checkBreakOrMove__Q34Game4Ujib3ObjFv -/* 8025BFA4 00258EE4 90 7F 02 C4 */ stw r3, 0x2c4(r31) -/* 8025BFA8 00258EE8 7F E3 FB 78 */ mr r3, r31 -/* 8025BFAC 00258EEC 4B EA 92 F5 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025BFB0 00258EF0 48 00 00 14 */ b lbl_8025BFC4 -lbl_8025BFB4: -/* 8025BFB4 00258EF4 38 00 00 09 */ li r0, 9 -/* 8025BFB8 00258EF8 7F E3 FB 78 */ mr r3, r31 -/* 8025BFBC 00258EFC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025BFC0 00258F00 4B EA 92 E1 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8025BFC4: -/* 8025BFC4 00258F04 7F E3 FB 78 */ mr r3, r31 -/* 8025BFC8 00258F08 4B FF E0 5D */ bl setInWaterDamage__Q34Game4Ujib3ObjFv -/* 8025BFCC 00258F0C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8025BFD0 00258F10 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025BFD4 00258F14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025BFD8 00258F18 4C 40 13 82 */ cror 2, 0, 2 -/* 8025BFDC 00258F1C 40 82 00 28 */ bne lbl_8025C004 -/* 8025BFE0 00258F20 7F C3 F3 78 */ mr r3, r30 -/* 8025BFE4 00258F24 7F E4 FB 78 */ mr r4, r31 -/* 8025BFE8 00258F28 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025BFEC 00258F2C 38 A0 00 00 */ li r5, 0 -/* 8025BFF0 00258F30 38 C0 00 00 */ li r6, 0 -/* 8025BFF4 00258F34 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025BFF8 00258F38 7D 89 03 A6 */ mtctr r12 -/* 8025BFFC 00258F3C 4E 80 04 21 */ bctrl -/* 8025C000 00258F40 48 00 00 40 */ b lbl_8025C040 -lbl_8025C004: -/* 8025C004 00258F44 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025C008 00258F48 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025C00C 00258F4C 28 00 00 00 */ cmplwi r0, 0 -/* 8025C010 00258F50 41 82 00 30 */ beq lbl_8025C040 -/* 8025C014 00258F54 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025C018 00258F58 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025C01C 00258F5C 40 82 00 24 */ bne lbl_8025C040 -/* 8025C020 00258F60 7F C3 F3 78 */ mr r3, r30 -/* 8025C024 00258F64 7F E4 FB 78 */ mr r4, r31 -/* 8025C028 00258F68 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C02C 00258F6C 38 C0 00 00 */ li r6, 0 -/* 8025C030 00258F70 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 8025C034 00258F74 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C038 00258F78 7D 89 03 A6 */ mtctr r12 -/* 8025C03C 00258F7C 4E 80 04 21 */ bctrl -lbl_8025C040: -/* 8025C040 00258F80 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8025C044 00258F84 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8025C048 00258F88 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 8025C04C 00258F8C CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 8025C050 00258F90 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 8025C054 00258F94 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 8025C058 00258F98 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 -/* 8025C05C 00258F9C CB 81 00 B0 */ lfd f28, 0xb0(r1) -/* 8025C060 00258FA0 E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 -/* 8025C064 00258FA4 CB 61 00 A0 */ lfd f27, 0xa0(r1) -/* 8025C068 00258FA8 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 -/* 8025C06C 00258FAC CB 41 00 90 */ lfd f26, 0x90(r1) -/* 8025C070 00258FB0 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8025C074 00258FB4 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8025C078 00258FB8 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8025C07C 00258FBC 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8025C080 00258FC0 83 81 00 80 */ lwz r28, 0x80(r1) -/* 8025C084 00258FC4 7C 08 03 A6 */ mtlr r0 -/* 8025C088 00258FC8 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8025C08C 00258FCC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib9StateMoveFPQ24Game9EnemyBase: -/* 8025C090 00258FD0 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib13StateMoveSideFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib13StateMoveSideFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025C094 00258FD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C098 00258FD8 7C 08 02 A6 */ mflr r0 -/* 8025C09C 00258FDC 7C 83 23 78 */ mr r3, r4 -/* 8025C0A0 00258FE0 38 80 00 04 */ li r4, 4 -/* 8025C0A4 00258FE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C0A8 00258FE8 38 00 FF FF */ li r0, -1 -/* 8025C0AC 00258FEC 38 A0 00 00 */ li r5, 0 -/* 8025C0B0 00258FF0 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8025C0B4 00258FF4 4B EA 8F 51 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025C0B8 00258FF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C0BC 00258FFC 7C 08 03 A6 */ mtlr r0 -/* 8025C0C0 00259000 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C0C4 00259004 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib13StateMoveSideFPQ24Game9EnemyBase -exec__Q34Game4Ujib13StateMoveSideFPQ24Game9EnemyBase: -/* 8025C0C8 00259008 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C0CC 0025900C 7C 08 02 A6 */ mflr r0 -/* 8025C0D0 00259010 38 A0 00 00 */ li r5, 0 -/* 8025C0D4 00259014 38 C0 00 00 */ li r6, 0 -/* 8025C0D8 00259018 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C0DC 0025901C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025C0E0 00259020 7C 9F 23 78 */ mr r31, r4 -/* 8025C0E4 00259024 38 80 00 00 */ li r4, 0 -/* 8025C0E8 00259028 93 C1 00 08 */ stw r30, 8(r1) -/* 8025C0EC 0025902C 7C 7E 1B 78 */ mr r30, r3 -/* 8025C0F0 00259030 7F E3 FB 78 */ mr r3, r31 -/* 8025C0F4 00259034 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 8025C0F8 00259038 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8025C0FC 0025903C C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 8025C100 00259040 4B EB 6F 51 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8025C104 00259044 28 03 00 00 */ cmplwi r3, 0 -/* 8025C108 00259048 41 82 00 18 */ beq lbl_8025C120 -/* 8025C10C 0025904C 38 00 00 05 */ li r0, 5 -/* 8025C110 00259050 7F E3 FB 78 */ mr r3, r31 -/* 8025C114 00259054 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C118 00259058 4B EA 91 89 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025C11C 0025905C 48 00 00 48 */ b lbl_8025C164 -lbl_8025C120: -/* 8025C120 00259060 7F E3 FB 78 */ mr r3, r31 -/* 8025C124 00259064 4B FF E5 11 */ bl isBreakBridge__Q34Game4Ujib3ObjFv -/* 8025C128 00259068 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C12C 0025906C 41 82 00 28 */ beq lbl_8025C154 -/* 8025C130 00259070 7F E3 FB 78 */ mr r3, r31 -/* 8025C134 00259074 4B FF E5 29 */ bl moveBridgeSide__Q34Game4Ujib3ObjFv -/* 8025C138 00259078 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C13C 0025907C 41 82 00 28 */ beq lbl_8025C164 -/* 8025C140 00259080 38 00 00 07 */ li r0, 7 -/* 8025C144 00259084 7F E3 FB 78 */ mr r3, r31 -/* 8025C148 00259088 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C14C 0025908C 4B EA 91 55 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025C150 00259090 48 00 00 14 */ b lbl_8025C164 -lbl_8025C154: -/* 8025C154 00259094 38 00 00 09 */ li r0, 9 -/* 8025C158 00259098 7F E3 FB 78 */ mr r3, r31 -/* 8025C15C 0025909C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C160 002590A0 4B EA 91 41 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8025C164: -/* 8025C164 002590A4 7F E3 FB 78 */ mr r3, r31 -/* 8025C168 002590A8 4B FF DE BD */ bl setInWaterDamage__Q34Game4Ujib3ObjFv -/* 8025C16C 002590AC C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8025C170 002590B0 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C174 002590B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025C178 002590B8 4C 40 13 82 */ cror 2, 0, 2 -/* 8025C17C 002590BC 40 82 00 28 */ bne lbl_8025C1A4 -/* 8025C180 002590C0 7F C3 F3 78 */ mr r3, r30 -/* 8025C184 002590C4 7F E4 FB 78 */ mr r4, r31 -/* 8025C188 002590C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C18C 002590CC 38 A0 00 00 */ li r5, 0 -/* 8025C190 002590D0 38 C0 00 00 */ li r6, 0 -/* 8025C194 002590D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C198 002590D8 7D 89 03 A6 */ mtctr r12 -/* 8025C19C 002590DC 4E 80 04 21 */ bctrl -/* 8025C1A0 002590E0 48 00 00 40 */ b lbl_8025C1E0 -lbl_8025C1A4: -/* 8025C1A4 002590E4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025C1A8 002590E8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025C1AC 002590EC 28 00 00 00 */ cmplwi r0, 0 -/* 8025C1B0 002590F0 41 82 00 30 */ beq lbl_8025C1E0 -/* 8025C1B4 002590F4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025C1B8 002590F8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025C1BC 002590FC 40 82 00 24 */ bne lbl_8025C1E0 -/* 8025C1C0 00259100 7F C3 F3 78 */ mr r3, r30 -/* 8025C1C4 00259104 7F E4 FB 78 */ mr r4, r31 -/* 8025C1C8 00259108 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C1CC 0025910C 38 C0 00 00 */ li r6, 0 -/* 8025C1D0 00259110 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 8025C1D4 00259114 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C1D8 00259118 7D 89 03 A6 */ mtctr r12 -/* 8025C1DC 0025911C 4E 80 04 21 */ bctrl -lbl_8025C1E0: -/* 8025C1E0 00259120 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C1E4 00259124 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025C1E8 00259128 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025C1EC 0025912C 7C 08 03 A6 */ mtlr r0 -/* 8025C1F0 00259130 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C1F4 00259134 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib13StateMoveSideFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib13StateMoveSideFPQ24Game9EnemyBase: -/* 8025C1F8 00259138 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib15StateMoveCentreFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib15StateMoveCentreFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025C1FC 0025913C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C200 00259140 7C 08 02 A6 */ mflr r0 -/* 8025C204 00259144 7C 83 23 78 */ mr r3, r4 -/* 8025C208 00259148 38 80 00 04 */ li r4, 4 -/* 8025C20C 0025914C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C210 00259150 38 00 FF FF */ li r0, -1 -/* 8025C214 00259154 38 A0 00 00 */ li r5, 0 -/* 8025C218 00259158 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8025C21C 0025915C 4B EA 8D E9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025C220 00259160 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C224 00259164 7C 08 03 A6 */ mtlr r0 -/* 8025C228 00259168 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C22C 0025916C 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib15StateMoveCentreFPQ24Game9EnemyBase -exec__Q34Game4Ujib15StateMoveCentreFPQ24Game9EnemyBase: -/* 8025C230 00259170 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C234 00259174 7C 08 02 A6 */ mflr r0 -/* 8025C238 00259178 38 A0 00 00 */ li r5, 0 -/* 8025C23C 0025917C 38 C0 00 00 */ li r6, 0 -/* 8025C240 00259180 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C244 00259184 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025C248 00259188 7C 9F 23 78 */ mr r31, r4 -/* 8025C24C 0025918C 38 80 00 00 */ li r4, 0 -/* 8025C250 00259190 93 C1 00 08 */ stw r30, 8(r1) -/* 8025C254 00259194 7C 7E 1B 78 */ mr r30, r3 -/* 8025C258 00259198 7F E3 FB 78 */ mr r3, r31 -/* 8025C25C 0025919C 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 8025C260 002591A0 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8025C264 002591A4 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 8025C268 002591A8 4B EB 6D E9 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8025C26C 002591AC 28 03 00 00 */ cmplwi r3, 0 -/* 8025C270 002591B0 41 82 00 18 */ beq lbl_8025C288 -/* 8025C274 002591B4 38 00 00 05 */ li r0, 5 -/* 8025C278 002591B8 7F E3 FB 78 */ mr r3, r31 -/* 8025C27C 002591BC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C280 002591C0 4B EA 90 21 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025C284 002591C4 48 00 00 48 */ b lbl_8025C2CC -lbl_8025C288: -/* 8025C288 002591C8 7F E3 FB 78 */ mr r3, r31 -/* 8025C28C 002591CC 4B FF E3 A9 */ bl isBreakBridge__Q34Game4Ujib3ObjFv -/* 8025C290 002591D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C294 002591D4 41 82 00 28 */ beq lbl_8025C2BC -/* 8025C298 002591D8 7F E3 FB 78 */ mr r3, r31 -/* 8025C29C 002591DC 4B FF E6 69 */ bl moveBridgeCentre__Q34Game4Ujib3ObjFv -/* 8025C2A0 002591E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C2A4 002591E4 41 82 00 28 */ beq lbl_8025C2CC -/* 8025C2A8 002591E8 38 00 00 08 */ li r0, 8 -/* 8025C2AC 002591EC 7F E3 FB 78 */ mr r3, r31 -/* 8025C2B0 002591F0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C2B4 002591F4 4B EA 8F ED */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025C2B8 002591F8 48 00 00 14 */ b lbl_8025C2CC -lbl_8025C2BC: -/* 8025C2BC 002591FC 38 00 00 09 */ li r0, 9 -/* 8025C2C0 00259200 7F E3 FB 78 */ mr r3, r31 -/* 8025C2C4 00259204 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C2C8 00259208 4B EA 8F D9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8025C2CC: -/* 8025C2CC 0025920C 7F E3 FB 78 */ mr r3, r31 -/* 8025C2D0 00259210 4B FF DD 55 */ bl setInWaterDamage__Q34Game4Ujib3ObjFv -/* 8025C2D4 00259214 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8025C2D8 00259218 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C2DC 0025921C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025C2E0 00259220 4C 40 13 82 */ cror 2, 0, 2 -/* 8025C2E4 00259224 40 82 00 28 */ bne lbl_8025C30C -/* 8025C2E8 00259228 7F C3 F3 78 */ mr r3, r30 -/* 8025C2EC 0025922C 7F E4 FB 78 */ mr r4, r31 -/* 8025C2F0 00259230 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C2F4 00259234 38 A0 00 00 */ li r5, 0 -/* 8025C2F8 00259238 38 C0 00 00 */ li r6, 0 -/* 8025C2FC 0025923C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C300 00259240 7D 89 03 A6 */ mtctr r12 -/* 8025C304 00259244 4E 80 04 21 */ bctrl -/* 8025C308 00259248 48 00 00 40 */ b lbl_8025C348 -lbl_8025C30C: -/* 8025C30C 0025924C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025C310 00259250 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025C314 00259254 28 00 00 00 */ cmplwi r0, 0 -/* 8025C318 00259258 41 82 00 30 */ beq lbl_8025C348 -/* 8025C31C 0025925C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025C320 00259260 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025C324 00259264 40 82 00 24 */ bne lbl_8025C348 -/* 8025C328 00259268 7F C3 F3 78 */ mr r3, r30 -/* 8025C32C 0025926C 7F E4 FB 78 */ mr r4, r31 -/* 8025C330 00259270 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C334 00259274 38 C0 00 00 */ li r6, 0 -/* 8025C338 00259278 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 8025C33C 0025927C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C340 00259280 7D 89 03 A6 */ mtctr r12 -/* 8025C344 00259284 4E 80 04 21 */ bctrl -lbl_8025C348: -/* 8025C348 00259288 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C34C 0025928C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025C350 00259290 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025C354 00259294 7C 08 03 A6 */ mtlr r0 -/* 8025C358 00259298 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C35C 0025929C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib15StateMoveCentreFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib15StateMoveCentreFPQ24Game9EnemyBase: -/* 8025C360 002592A0 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib12StateMoveTopFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib12StateMoveTopFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025C364 002592A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C368 002592A8 7C 08 02 A6 */ mflr r0 -/* 8025C36C 002592AC 7C 83 23 78 */ mr r3, r4 -/* 8025C370 002592B0 38 80 00 04 */ li r4, 4 -/* 8025C374 002592B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C378 002592B8 38 00 FF FF */ li r0, -1 -/* 8025C37C 002592BC 38 A0 00 00 */ li r5, 0 -/* 8025C380 002592C0 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8025C384 002592C4 4B EA 8C 81 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025C388 002592C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C38C 002592CC 7C 08 03 A6 */ mtlr r0 -/* 8025C390 002592D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C394 002592D4 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib12StateMoveTopFPQ24Game9EnemyBase -exec__Q34Game4Ujib12StateMoveTopFPQ24Game9EnemyBase: -/* 8025C398 002592D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C39C 002592DC 7C 08 02 A6 */ mflr r0 -/* 8025C3A0 002592E0 38 A0 00 00 */ li r5, 0 -/* 8025C3A4 002592E4 38 C0 00 00 */ li r6, 0 -/* 8025C3A8 002592E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C3AC 002592EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025C3B0 002592F0 7C 9F 23 78 */ mr r31, r4 -/* 8025C3B4 002592F4 38 80 00 00 */ li r4, 0 -/* 8025C3B8 002592F8 93 C1 00 08 */ stw r30, 8(r1) -/* 8025C3BC 002592FC 7C 7E 1B 78 */ mr r30, r3 -/* 8025C3C0 00259300 7F E3 FB 78 */ mr r3, r31 -/* 8025C3C4 00259304 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 8025C3C8 00259308 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8025C3CC 0025930C C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 8025C3D0 00259310 4B EB 6C 81 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8025C3D4 00259314 28 03 00 00 */ cmplwi r3, 0 -/* 8025C3D8 00259318 41 82 00 18 */ beq lbl_8025C3F0 -/* 8025C3DC 0025931C 38 00 00 05 */ li r0, 5 -/* 8025C3E0 00259320 7F E3 FB 78 */ mr r3, r31 -/* 8025C3E4 00259324 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C3E8 00259328 4B EA 8E B9 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025C3EC 0025932C 48 00 00 48 */ b lbl_8025C434 -lbl_8025C3F0: -/* 8025C3F0 00259330 7F E3 FB 78 */ mr r3, r31 -/* 8025C3F4 00259334 4B FF E2 41 */ bl isBreakBridge__Q34Game4Ujib3ObjFv -/* 8025C3F8 00259338 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C3FC 0025933C 41 82 00 28 */ beq lbl_8025C424 -/* 8025C400 00259340 7F E3 FB 78 */ mr r3, r31 -/* 8025C404 00259344 4B FF E7 89 */ bl moveBridgeTop__Q34Game4Ujib3ObjFv -/* 8025C408 00259348 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C40C 0025934C 41 82 00 28 */ beq lbl_8025C434 -/* 8025C410 00259350 38 00 00 0A */ li r0, 0xa -/* 8025C414 00259354 7F E3 FB 78 */ mr r3, r31 -/* 8025C418 00259358 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C41C 0025935C 4B EA 8E 85 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025C420 00259360 48 00 00 14 */ b lbl_8025C434 -lbl_8025C424: -/* 8025C424 00259364 38 00 00 09 */ li r0, 9 -/* 8025C428 00259368 7F E3 FB 78 */ mr r3, r31 -/* 8025C42C 0025936C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C430 00259370 4B EA 8E 71 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8025C434: -/* 8025C434 00259374 7F E3 FB 78 */ mr r3, r31 -/* 8025C438 00259378 4B FF DB ED */ bl setInWaterDamage__Q34Game4Ujib3ObjFv -/* 8025C43C 0025937C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8025C440 00259380 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C444 00259384 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025C448 00259388 4C 40 13 82 */ cror 2, 0, 2 -/* 8025C44C 0025938C 40 82 00 28 */ bne lbl_8025C474 -/* 8025C450 00259390 7F C3 F3 78 */ mr r3, r30 -/* 8025C454 00259394 7F E4 FB 78 */ mr r4, r31 -/* 8025C458 00259398 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C45C 0025939C 38 A0 00 00 */ li r5, 0 -/* 8025C460 002593A0 38 C0 00 00 */ li r6, 0 -/* 8025C464 002593A4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C468 002593A8 7D 89 03 A6 */ mtctr r12 -/* 8025C46C 002593AC 4E 80 04 21 */ bctrl -/* 8025C470 002593B0 48 00 00 40 */ b lbl_8025C4B0 -lbl_8025C474: -/* 8025C474 002593B4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025C478 002593B8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025C47C 002593BC 28 00 00 00 */ cmplwi r0, 0 -/* 8025C480 002593C0 41 82 00 30 */ beq lbl_8025C4B0 -/* 8025C484 002593C4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025C488 002593C8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025C48C 002593CC 40 82 00 24 */ bne lbl_8025C4B0 -/* 8025C490 002593D0 7F C3 F3 78 */ mr r3, r30 -/* 8025C494 002593D4 7F E4 FB 78 */ mr r4, r31 -/* 8025C498 002593D8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C49C 002593DC 38 C0 00 00 */ li r6, 0 -/* 8025C4A0 002593E0 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 8025C4A4 002593E4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C4A8 002593E8 7D 89 03 A6 */ mtctr r12 -/* 8025C4AC 002593EC 4E 80 04 21 */ bctrl -lbl_8025C4B0: -/* 8025C4B0 002593F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C4B4 002593F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025C4B8 002593F8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025C4BC 002593FC 7C 08 03 A6 */ mtlr r0 -/* 8025C4C0 00259400 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C4C4 00259404 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib12StateMoveTopFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib12StateMoveTopFPQ24Game9EnemyBase: -/* 8025C4C8 00259408 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025C4CC 0025940C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C4D0 00259410 7C 08 02 A6 */ mflr r0 -/* 8025C4D4 00259414 7C 83 23 78 */ mr r3, r4 -/* 8025C4D8 00259418 38 80 00 04 */ li r4, 4 -/* 8025C4DC 0025941C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C4E0 00259420 38 00 FF FF */ li r0, -1 -/* 8025C4E4 00259424 38 A0 00 00 */ li r5, 0 -/* 8025C4E8 00259428 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8025C4EC 0025942C 4B EA 8B 19 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025C4F0 00259430 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C4F4 00259434 7C 08 03 A6 */ mtlr r0 -/* 8025C4F8 00259438 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C4FC 0025943C 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib11StateGoHomeFPQ24Game9EnemyBase -exec__Q34Game4Ujib11StateGoHomeFPQ24Game9EnemyBase: -/* 8025C500 00259440 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8025C504 00259444 7C 08 02 A6 */ mflr r0 -/* 8025C508 00259448 90 01 00 64 */ stw r0, 0x64(r1) -/* 8025C50C 0025944C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8025C510 00259450 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8025C514 00259454 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8025C518 00259458 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8025C51C 0025945C DB A1 00 30 */ stfd f29, 0x30(r1) -/* 8025C520 00259460 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 8025C524 00259464 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025C528 00259468 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8025C52C 0025946C 7C 9F 23 78 */ mr r31, r4 -/* 8025C530 00259470 7C 7E 1B 78 */ mr r30, r3 -/* 8025C534 00259474 C0 3F 01 9C */ lfs f1, 0x19c(r31) -/* 8025C538 00259478 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025C53C 0025947C C0 5F 01 A0 */ lfs f2, 0x1a0(r31) -/* 8025C540 00259480 7F E3 FB 78 */ mr r3, r31 -/* 8025C544 00259484 C0 1F 01 98 */ lfs f0, 0x198(r31) -/* 8025C548 00259488 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8025C54C 0025948C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8025C550 00259490 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8025C554 00259494 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025C558 00259498 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 8025C55C 0025949C C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 8025C560 002594A0 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 8025C564 002594A4 4B EB 90 79 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 8025C568 002594A8 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 8025C56C 002594AC 7F E3 FB 78 */ mr r3, r31 -/* 8025C570 002594B0 38 80 00 00 */ li r4, 0 -/* 8025C574 002594B4 38 A0 00 00 */ li r5, 0 -/* 8025C578 002594B8 C0 27 05 64 */ lfs f1, 0x564(r7) -/* 8025C57C 002594BC 38 C0 00 00 */ li r6, 0 -/* 8025C580 002594C0 C0 47 05 8C */ lfs f2, 0x58c(r7) -/* 8025C584 002594C4 4B EB 6A CD */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8025C588 002594C8 28 03 00 00 */ cmplwi r3, 0 -/* 8025C58C 002594CC 41 82 00 18 */ beq lbl_8025C5A4 -/* 8025C590 002594D0 38 00 00 0B */ li r0, 0xb -/* 8025C594 002594D4 7F E3 FB 78 */ mr r3, r31 -/* 8025C598 002594D8 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C59C 002594DC 4B EA 8D 05 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8025C5A0 002594E0 48 00 00 90 */ b lbl_8025C630 -lbl_8025C5A4: -/* 8025C5A4 002594E4 7F E4 FB 78 */ mr r4, r31 -/* 8025C5A8 002594E8 38 61 00 08 */ addi r3, r1, 8 -/* 8025C5AC 002594EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025C5B0 002594F0 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 8025C5B4 002594F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025C5B8 002594F8 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 8025C5BC 002594FC C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 8025C5C0 00259500 7D 89 03 A6 */ mtctr r12 -/* 8025C5C4 00259504 4E 80 04 21 */ bctrl -/* 8025C5C8 00259508 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8025C5CC 0025950C C0 41 00 08 */ lfs f2, 8(r1) -/* 8025C5D0 00259510 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 8025C5D4 00259514 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8025C5D8 00259518 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8025C5DC 0025951C C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C5E0 00259520 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 8025C5E4 00259524 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 8025C5E8 00259528 EC 81 00 72 */ fmuls f4, f1, f1 -/* 8025C5EC 0025952C EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 8025C5F0 00259530 EC 24 08 2A */ fadds f1, f4, f1 -/* 8025C5F4 00259534 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025C5F8 00259538 40 81 00 14 */ ble lbl_8025C60C -/* 8025C5FC 0025953C 40 81 00 14 */ ble lbl_8025C610 -/* 8025C600 00259540 FC 00 08 34 */ frsqrte f0, f1 -/* 8025C604 00259544 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8025C608 00259548 48 00 00 08 */ b lbl_8025C610 -lbl_8025C60C: -/* 8025C60C 0025954C FC 20 00 90 */ fmr f1, f0 -lbl_8025C610: -/* 8025C610 00259550 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025C614 00259554 C0 03 03 84 */ lfs f0, 0x384(r3) -/* 8025C618 00259558 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025C61C 0025955C 40 80 00 14 */ bge lbl_8025C630 -/* 8025C620 00259560 38 00 00 04 */ li r0, 4 -/* 8025C624 00259564 7F E3 FB 78 */ mr r3, r31 -/* 8025C628 00259568 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C62C 0025956C 4B EA 8C 75 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8025C630: -/* 8025C630 00259570 7F E3 FB 78 */ mr r3, r31 -/* 8025C634 00259574 4B FF D9 F1 */ bl setInWaterDamage__Q34Game4Ujib3ObjFv -/* 8025C638 00259578 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8025C63C 0025957C C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C640 00259580 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025C644 00259584 4C 40 13 82 */ cror 2, 0, 2 -/* 8025C648 00259588 40 82 00 28 */ bne lbl_8025C670 -/* 8025C64C 0025958C 7F C3 F3 78 */ mr r3, r30 -/* 8025C650 00259590 7F E4 FB 78 */ mr r4, r31 -/* 8025C654 00259594 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C658 00259598 38 A0 00 00 */ li r5, 0 -/* 8025C65C 0025959C 38 C0 00 00 */ li r6, 0 -/* 8025C660 002595A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C664 002595A4 7D 89 03 A6 */ mtctr r12 -/* 8025C668 002595A8 4E 80 04 21 */ bctrl -/* 8025C66C 002595AC 48 00 00 40 */ b lbl_8025C6AC -lbl_8025C670: -/* 8025C670 002595B0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025C674 002595B4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025C678 002595B8 28 00 00 00 */ cmplwi r0, 0 -/* 8025C67C 002595BC 41 82 00 30 */ beq lbl_8025C6AC -/* 8025C680 002595C0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025C684 002595C4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025C688 002595C8 40 82 00 24 */ bne lbl_8025C6AC -/* 8025C68C 002595CC 7F C3 F3 78 */ mr r3, r30 -/* 8025C690 002595D0 7F E4 FB 78 */ mr r4, r31 -/* 8025C694 002595D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C698 002595D8 38 C0 00 00 */ li r6, 0 -/* 8025C69C 002595DC 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 8025C6A0 002595E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C6A4 002595E4 7D 89 03 A6 */ mtctr r12 -/* 8025C6A8 002595E8 4E 80 04 21 */ bctrl -lbl_8025C6AC: -/* 8025C6AC 002595EC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8025C6B0 002595F0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8025C6B4 002595F4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8025C6B8 002595F8 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8025C6BC 002595FC E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 8025C6C0 00259600 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 8025C6C4 00259604 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8025C6C8 00259608 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8025C6CC 0025960C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025C6D0 00259610 7C 08 03 A6 */ mtlr r0 -/* 8025C6D4 00259614 38 21 00 60 */ addi r1, r1, 0x60 -/* 8025C6D8 00259618 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib11StateGoHomeFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib11StateGoHomeFPQ24Game9EnemyBase: -/* 8025C6DC 0025961C 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib12StateAttack1FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib12StateAttack1FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025C6E0 00259620 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C6E4 00259624 7C 08 02 A6 */ mflr r0 -/* 8025C6E8 00259628 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C6EC 0025962C 38 A0 00 00 */ li r5, 0 -/* 8025C6F0 00259630 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C6F4 00259634 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025C6F8 00259638 7C 9F 23 78 */ mr r31, r4 -/* 8025C6FC 0025963C 38 80 00 05 */ li r4, 5 -/* 8025C700 00259640 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025C704 00259644 7F E3 FB 78 */ mr r3, r31 -/* 8025C708 00259648 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025C70C 0025964C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025C710 00259650 4B EA 88 F5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025C714 00259654 38 00 FF FF */ li r0, -1 -/* 8025C718 00259658 7F E3 FB 78 */ mr r3, r31 -/* 8025C71C 0025965C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C720 00259660 4B FF E8 D1 */ bl createBridgeEffect__Q34Game4Ujib3ObjFv -/* 8025C724 00259664 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C728 00259668 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025C72C 0025966C 7C 08 03 A6 */ mtlr r0 -/* 8025C730 00259670 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C734 00259674 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib12StateAttack1FPQ24Game9EnemyBase -exec__Q34Game4Ujib12StateAttack1FPQ24Game9EnemyBase: -/* 8025C738 00259678 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C73C 0025967C 7C 08 02 A6 */ mflr r0 -/* 8025C740 00259680 38 A0 00 00 */ li r5, 0 -/* 8025C744 00259684 38 C0 00 00 */ li r6, 0 -/* 8025C748 00259688 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C74C 0025968C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025C750 00259690 7C 9F 23 78 */ mr r31, r4 -/* 8025C754 00259694 38 80 00 00 */ li r4, 0 -/* 8025C758 00259698 93 C1 00 08 */ stw r30, 8(r1) -/* 8025C75C 0025969C 7C 7E 1B 78 */ mr r30, r3 -/* 8025C760 002596A0 7F E3 FB 78 */ mr r3, r31 -/* 8025C764 002596A4 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 8025C768 002596A8 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8025C76C 002596AC C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 8025C770 002596B0 4B EB 68 E1 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8025C774 002596B4 28 03 00 00 */ cmplwi r3, 0 -/* 8025C778 002596B8 41 82 00 10 */ beq lbl_8025C788 -/* 8025C77C 002596BC 38 00 00 05 */ li r0, 5 -/* 8025C780 002596C0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C784 002596C4 48 00 00 44 */ b lbl_8025C7C8 -lbl_8025C788: -/* 8025C788 002596C8 7F E3 FB 78 */ mr r3, r31 -/* 8025C78C 002596CC 4B FF DE A9 */ bl isBreakBridge__Q34Game4Ujib3ObjFv -/* 8025C790 002596D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C794 002596D4 41 82 00 2C */ beq lbl_8025C7C0 -/* 8025C798 002596D8 7F E3 FB 78 */ mr r3, r31 -/* 8025C79C 002596DC 4B FF E3 F1 */ bl moveBridgeTop__Q34Game4Ujib3ObjFv -/* 8025C7A0 002596E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C7A4 002596E4 41 82 00 10 */ beq lbl_8025C7B4 -/* 8025C7A8 002596E8 38 00 00 0A */ li r0, 0xa -/* 8025C7AC 002596EC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C7B0 002596F0 48 00 00 18 */ b lbl_8025C7C8 -lbl_8025C7B4: -/* 8025C7B4 002596F4 38 00 00 08 */ li r0, 8 -/* 8025C7B8 002596F8 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8025C7BC 002596FC 48 00 00 0C */ b lbl_8025C7C8 -lbl_8025C7C0: -/* 8025C7C0 00259700 38 00 00 09 */ li r0, 9 -/* 8025C7C4 00259704 90 1F 02 C4 */ stw r0, 0x2c4(r31) -lbl_8025C7C8: -/* 8025C7C8 00259708 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8025C7CC 0025970C C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C7D0 00259710 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025C7D4 00259714 4C 40 13 82 */ cror 2, 0, 2 -/* 8025C7D8 00259718 40 82 00 28 */ bne lbl_8025C800 -/* 8025C7DC 0025971C 7F C3 F3 78 */ mr r3, r30 -/* 8025C7E0 00259720 7F E4 FB 78 */ mr r4, r31 -/* 8025C7E4 00259724 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C7E8 00259728 38 A0 00 00 */ li r5, 0 -/* 8025C7EC 0025972C 38 C0 00 00 */ li r6, 0 -/* 8025C7F0 00259730 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C7F4 00259734 7D 89 03 A6 */ mtctr r12 -/* 8025C7F8 00259738 4E 80 04 21 */ bctrl -/* 8025C7FC 0025973C 48 00 00 64 */ b lbl_8025C860 -lbl_8025C800: -/* 8025C800 00259740 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025C804 00259744 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025C808 00259748 28 00 00 00 */ cmplwi r0, 0 -/* 8025C80C 0025974C 41 82 00 54 */ beq lbl_8025C860 -/* 8025C810 00259750 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025C814 00259754 28 00 00 02 */ cmplwi r0, 2 -/* 8025C818 00259758 40 82 00 20 */ bne lbl_8025C838 -/* 8025C81C 0025975C 7F E3 FB 78 */ mr r3, r31 -/* 8025C820 00259760 4B FF DE 15 */ bl isBreakBridge__Q34Game4Ujib3ObjFv -/* 8025C824 00259764 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025C828 00259768 41 82 00 38 */ beq lbl_8025C860 -/* 8025C82C 0025976C 7F E3 FB 78 */ mr r3, r31 -/* 8025C830 00259770 4B FF E6 4D */ bl breakTargetBridge__Q34Game4Ujib3ObjFv -/* 8025C834 00259774 48 00 00 2C */ b lbl_8025C860 -lbl_8025C838: -/* 8025C838 00259778 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025C83C 0025977C 40 82 00 24 */ bne lbl_8025C860 -/* 8025C840 00259780 7F C3 F3 78 */ mr r3, r30 -/* 8025C844 00259784 7F E4 FB 78 */ mr r4, r31 -/* 8025C848 00259788 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C84C 0025978C 38 C0 00 00 */ li r6, 0 -/* 8025C850 00259790 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 8025C854 00259794 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C858 00259798 7D 89 03 A6 */ mtctr r12 -/* 8025C85C 0025979C 4E 80 04 21 */ bctrl -lbl_8025C860: -/* 8025C860 002597A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C864 002597A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025C868 002597A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025C86C 002597AC 7C 08 03 A6 */ mtlr r0 -/* 8025C870 002597B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C874 002597B4 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib12StateAttack1FPQ24Game9EnemyBase -cleanup__Q34Game4Ujib12StateAttack1FPQ24Game9EnemyBase: -/* 8025C878 002597B8 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib12StateAttack2FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib12StateAttack2FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025C87C 002597BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025C880 002597C0 7C 08 02 A6 */ mflr r0 -/* 8025C884 002597C4 7C 83 23 78 */ mr r3, r4 -/* 8025C888 002597C8 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C88C 002597CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025C890 002597D0 38 80 00 06 */ li r4, 6 -/* 8025C894 002597D4 38 A0 00 00 */ li r5, 0 -/* 8025C898 002597D8 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8025C89C 002597DC 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8025C8A0 002597E0 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 8025C8A4 002597E4 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8025C8A8 002597E8 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 8025C8AC 002597EC D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 8025C8B0 002597F0 4B EA 87 55 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025C8B4 002597F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025C8B8 002597F8 7C 08 03 A6 */ mtlr r0 -/* 8025C8BC 002597FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025C8C0 00259800 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib12StateAttack2FPQ24Game9EnemyBase -exec__Q34Game4Ujib12StateAttack2FPQ24Game9EnemyBase: -/* 8025C8C4 00259804 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8025C8C8 00259808 7C 08 02 A6 */ mflr r0 -/* 8025C8CC 0025980C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8025C8D0 00259810 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8025C8D4 00259814 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8025C8D8 00259818 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 8025C8DC 0025981C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 8025C8E0 00259820 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 8025C8E4 00259824 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 8025C8E8 00259828 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025C8EC 0025982C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025C8F0 00259830 7C 9F 23 78 */ mr r31, r4 -/* 8025C8F4 00259834 7C 7E 1B 78 */ mr r30, r3 -/* 8025C8F8 00259838 7F E3 FB 78 */ mr r3, r31 -/* 8025C8FC 0025983C 4B FF D7 29 */ bl setInWaterDamage__Q34Game4Ujib3ObjFv -/* 8025C900 00259840 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025C904 00259844 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025C908 00259848 28 00 00 00 */ cmplwi r0, 0 -/* 8025C90C 0025984C 41 82 01 A0 */ beq lbl_8025CAAC -/* 8025C910 00259850 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025C914 00259854 28 00 00 02 */ cmplwi r0, 2 -/* 8025C918 00259858 40 82 00 14 */ bne lbl_8025C92C -/* 8025C91C 0025985C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025C920 00259860 64 00 00 20 */ oris r0, r0, 0x20 -/* 8025C924 00259864 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025C928 00259868 48 00 01 84 */ b lbl_8025CAAC -lbl_8025C92C: -/* 8025C92C 0025986C 28 00 00 03 */ cmplwi r0, 3 -/* 8025C930 00259870 40 82 00 14 */ bne lbl_8025C944 -/* 8025C934 00259874 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025C938 00259878 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8025C93C 0025987C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025C940 00259880 48 00 01 6C */ b lbl_8025CAAC -lbl_8025C944: -/* 8025C944 00259884 28 00 00 04 */ cmplwi r0, 4 -/* 8025C948 00259888 40 82 00 34 */ bne lbl_8025C97C -/* 8025C94C 0025988C 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 8025C950 00259890 7F E3 FB 78 */ mr r3, r31 -/* 8025C954 00259894 38 80 00 00 */ li r4, 0 -/* 8025C958 00259898 38 A0 00 00 */ li r5, 0 -/* 8025C95C 0025989C C0 26 05 B4 */ lfs f1, 0x5b4(r6) -/* 8025C960 002598A0 C0 46 05 DC */ lfs f2, 0x5dc(r6) -/* 8025C964 002598A4 C0 66 06 04 */ lfs f3, 0x604(r6) -/* 8025C968 002598A8 4B EB 78 F9 */ bl attackNavi__Q24Game9EnemyFuncFPQ24Game8CreaturefffP8CollPartP23Condition$$0Q24Game4Navi$$1 -/* 8025C96C 002598AC 7F E3 FB 78 */ mr r3, r31 -/* 8025C970 002598B0 38 80 00 00 */ li r4, 0 -/* 8025C974 002598B4 4B EB 71 C1 */ bl eatPikmin__Q24Game9EnemyFuncFPQ24Game9EnemyBaseP23Condition$$0Q24Game4Piki$$1 -/* 8025C978 002598B8 48 00 01 34 */ b lbl_8025CAAC -lbl_8025C97C: -/* 8025C97C 002598BC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025C980 002598C0 40 82 01 2C */ bne lbl_8025CAAC -/* 8025C984 002598C4 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8025C988 002598C8 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025C98C 002598CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025C990 002598D0 4C 40 13 82 */ cror 2, 0, 2 -/* 8025C994 002598D4 40 82 00 28 */ bne lbl_8025C9BC -/* 8025C998 002598D8 7F C3 F3 78 */ mr r3, r30 -/* 8025C99C 002598DC 7F E4 FB 78 */ mr r4, r31 -/* 8025C9A0 002598E0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C9A4 002598E4 38 A0 00 00 */ li r5, 0 -/* 8025C9A8 002598E8 38 C0 00 00 */ li r6, 0 -/* 8025C9AC 002598EC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C9B0 002598F0 7D 89 03 A6 */ mtctr r12 -/* 8025C9B4 002598F4 4E 80 04 21 */ bctrl -/* 8025C9B8 002598F8 48 00 00 F4 */ b lbl_8025CAAC -lbl_8025C9BC: -/* 8025C9BC 002598FC 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 8025C9C0 00259900 2C 00 00 00 */ cmpwi r0, 0 -/* 8025C9C4 00259904 41 82 00 28 */ beq lbl_8025C9EC -/* 8025C9C8 00259908 7F C3 F3 78 */ mr r3, r30 -/* 8025C9CC 0025990C 7F E4 FB 78 */ mr r4, r31 -/* 8025C9D0 00259910 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025C9D4 00259914 38 A0 00 0C */ li r5, 0xc -/* 8025C9D8 00259918 38 C0 00 00 */ li r6, 0 -/* 8025C9DC 0025991C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025C9E0 00259920 7D 89 03 A6 */ mtctr r12 -/* 8025C9E4 00259924 4E 80 04 21 */ bctrl -/* 8025C9E8 00259928 48 00 00 C4 */ b lbl_8025CAAC -lbl_8025C9EC: -/* 8025C9EC 0025992C 7F E4 FB 78 */ mr r4, r31 -/* 8025C9F0 00259930 38 61 00 08 */ addi r3, r1, 8 -/* 8025C9F4 00259934 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025C9F8 00259938 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 8025C9FC 0025993C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025CA00 00259940 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 8025CA04 00259944 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 8025CA08 00259948 7D 89 03 A6 */ mtctr r12 -/* 8025CA0C 0025994C 4E 80 04 21 */ bctrl -/* 8025CA10 00259950 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8025CA14 00259954 C0 41 00 08 */ lfs f2, 8(r1) -/* 8025CA18 00259958 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 8025CA1C 0025995C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8025CA20 00259960 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8025CA24 00259964 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025CA28 00259968 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 8025CA2C 0025996C EC 63 00 F2 */ fmuls f3, f3, f3 -/* 8025CA30 00259970 EC 81 00 72 */ fmuls f4, f1, f1 -/* 8025CA34 00259974 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 8025CA38 00259978 EC 24 08 2A */ fadds f1, f4, f1 -/* 8025CA3C 0025997C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025CA40 00259980 40 81 00 14 */ ble lbl_8025CA54 -/* 8025CA44 00259984 40 81 00 14 */ ble lbl_8025CA58 -/* 8025CA48 00259988 FC 00 08 34 */ frsqrte f0, f1 -/* 8025CA4C 0025998C EC 20 00 72 */ fmuls f1, f0, f1 -/* 8025CA50 00259990 48 00 00 08 */ b lbl_8025CA58 -lbl_8025CA54: -/* 8025CA54 00259994 FC 20 00 90 */ fmr f1, f0 -lbl_8025CA58: -/* 8025CA58 00259998 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025CA5C 0025999C C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 8025CA60 002599A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025CA64 002599A4 40 81 00 28 */ ble lbl_8025CA8C -/* 8025CA68 002599A8 7F C3 F3 78 */ mr r3, r30 -/* 8025CA6C 002599AC 7F E4 FB 78 */ mr r4, r31 -/* 8025CA70 002599B0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025CA74 002599B4 38 A0 00 09 */ li r5, 9 -/* 8025CA78 002599B8 38 C0 00 00 */ li r6, 0 -/* 8025CA7C 002599BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025CA80 002599C0 7D 89 03 A6 */ mtctr r12 -/* 8025CA84 002599C4 4E 80 04 21 */ bctrl -/* 8025CA88 002599C8 48 00 00 24 */ b lbl_8025CAAC -lbl_8025CA8C: -/* 8025CA8C 002599CC 7F C3 F3 78 */ mr r3, r30 -/* 8025CA90 002599D0 7F E4 FB 78 */ mr r4, r31 -/* 8025CA94 002599D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025CA98 002599D8 38 A0 00 05 */ li r5, 5 -/* 8025CA9C 002599DC 38 C0 00 00 */ li r6, 0 -/* 8025CAA0 002599E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025CAA4 002599E4 7D 89 03 A6 */ mtctr r12 -/* 8025CAA8 002599E8 4E 80 04 21 */ bctrl -lbl_8025CAAC: -/* 8025CAAC 002599EC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8025CAB0 002599F0 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8025CAB4 002599F4 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 8025CAB8 002599F8 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 8025CABC 002599FC E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 8025CAC0 00259A00 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 8025CAC4 00259A04 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025CAC8 00259A08 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025CACC 00259A0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025CAD0 00259A10 7C 08 03 A6 */ mtlr r0 -/* 8025CAD4 00259A14 38 21 00 50 */ addi r1, r1, 0x50 -/* 8025CAD8 00259A18 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib12StateAttack2FPQ24Game9EnemyBase -cleanup__Q34Game4Ujib12StateAttack2FPQ24Game9EnemyBase: -/* 8025CADC 00259A1C 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025CAE0 00259A20 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8025CAE4 00259A24 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8025CAE8 00259A28 4E 80 00 20 */ blr - -.global init__Q34Game4Ujib8StateEatFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujib8StateEatFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025CAEC 00259A2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025CAF0 00259A30 7C 08 02 A6 */ mflr r0 -/* 8025CAF4 00259A34 7C 83 23 78 */ mr r3, r4 -/* 8025CAF8 00259A38 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025CAFC 00259A3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025CB00 00259A40 38 80 00 07 */ li r4, 7 -/* 8025CB04 00259A44 38 A0 00 00 */ li r5, 0 -/* 8025CB08 00259A48 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8025CB0C 00259A4C D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 8025CB10 00259A50 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 8025CB14 00259A54 4B EA 84 F1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025CB18 00259A58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025CB1C 00259A5C 7C 08 03 A6 */ mtlr r0 -/* 8025CB20 00259A60 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025CB24 00259A64 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujib8StateEatFPQ24Game9EnemyBase -exec__Q34Game4Ujib8StateEatFPQ24Game9EnemyBase: -/* 8025CB28 00259A68 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8025CB2C 00259A6C 7C 08 02 A6 */ mflr r0 -/* 8025CB30 00259A70 90 01 00 54 */ stw r0, 0x54(r1) -/* 8025CB34 00259A74 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8025CB38 00259A78 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8025CB3C 00259A7C DB C1 00 30 */ stfd f30, 0x30(r1) -/* 8025CB40 00259A80 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 8025CB44 00259A84 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 8025CB48 00259A88 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 8025CB4C 00259A8C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025CB50 00259A90 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025CB54 00259A94 7C 9F 23 78 */ mr r31, r4 -/* 8025CB58 00259A98 7C 7E 1B 78 */ mr r30, r3 -/* 8025CB5C 00259A9C 7F E3 FB 78 */ mr r3, r31 -/* 8025CB60 00259AA0 4B FF D4 C5 */ bl setInWaterDamage__Q34Game4Ujib3ObjFv -/* 8025CB64 00259AA4 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8025CB68 00259AA8 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025CB6C 00259AAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025CB70 00259AB0 4C 40 13 82 */ cror 2, 0, 2 -/* 8025CB74 00259AB4 40 82 00 28 */ bne lbl_8025CB9C -/* 8025CB78 00259AB8 7F C3 F3 78 */ mr r3, r30 -/* 8025CB7C 00259ABC 7F E4 FB 78 */ mr r4, r31 -/* 8025CB80 00259AC0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025CB84 00259AC4 38 A0 00 00 */ li r5, 0 -/* 8025CB88 00259AC8 38 C0 00 00 */ li r6, 0 -/* 8025CB8C 00259ACC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025CB90 00259AD0 7D 89 03 A6 */ mtctr r12 -/* 8025CB94 00259AD4 4E 80 04 21 */ bctrl -/* 8025CB98 00259AD8 48 00 01 08 */ b lbl_8025CCA0 -lbl_8025CB9C: -/* 8025CB9C 00259ADC 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025CBA0 00259AE0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025CBA4 00259AE4 28 00 00 00 */ cmplwi r0, 0 -/* 8025CBA8 00259AE8 41 82 00 F8 */ beq lbl_8025CCA0 -/* 8025CBAC 00259AEC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025CBB0 00259AF0 28 00 00 02 */ cmplwi r0, 2 -/* 8025CBB4 00259AF4 40 82 00 24 */ bne lbl_8025CBD8 -/* 8025CBB8 00259AF8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025CBBC 00259AFC 7F E3 FB 78 */ mr r3, r31 -/* 8025CBC0 00259B00 38 80 00 00 */ li r4, 0 -/* 8025CBC4 00259B04 C0 25 08 1C */ lfs f1, 0x81c(r5) -/* 8025CBC8 00259B08 4B EB 72 BD */ bl swallowPikmin__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Piki$$1 -/* 8025CBCC 00259B0C 7F E3 FB 78 */ mr r3, r31 -/* 8025CBD0 00259B10 4B FF E4 B1 */ bl createEatEffect__Q34Game4Ujib3ObjFv -/* 8025CBD4 00259B14 48 00 00 CC */ b lbl_8025CCA0 -lbl_8025CBD8: -/* 8025CBD8 00259B18 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025CBDC 00259B1C 40 82 00 C4 */ bne lbl_8025CCA0 -/* 8025CBE0 00259B20 7F E4 FB 78 */ mr r4, r31 -/* 8025CBE4 00259B24 38 61 00 08 */ addi r3, r1, 8 -/* 8025CBE8 00259B28 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025CBEC 00259B2C C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 8025CBF0 00259B30 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025CBF4 00259B34 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 8025CBF8 00259B38 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 8025CBFC 00259B3C 7D 89 03 A6 */ mtctr r12 -/* 8025CC00 00259B40 4E 80 04 21 */ bctrl -/* 8025CC04 00259B44 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8025CC08 00259B48 C0 41 00 08 */ lfs f2, 8(r1) -/* 8025CC0C 00259B4C EC 60 F0 28 */ fsubs f3, f0, f30 -/* 8025CC10 00259B50 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8025CC14 00259B54 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8025CC18 00259B58 C0 02 C8 8C */ lfs f0, lbl_8051ABEC@sda21(r2) -/* 8025CC1C 00259B5C EC 21 E8 28 */ fsubs f1, f1, f29 -/* 8025CC20 00259B60 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 8025CC24 00259B64 EC 81 00 72 */ fmuls f4, f1, f1 -/* 8025CC28 00259B68 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 8025CC2C 00259B6C EC 24 08 2A */ fadds f1, f4, f1 -/* 8025CC30 00259B70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025CC34 00259B74 40 81 00 14 */ ble lbl_8025CC48 -/* 8025CC38 00259B78 40 81 00 14 */ ble lbl_8025CC4C -/* 8025CC3C 00259B7C FC 00 08 34 */ frsqrte f0, f1 -/* 8025CC40 00259B80 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8025CC44 00259B84 48 00 00 08 */ b lbl_8025CC4C -lbl_8025CC48: -/* 8025CC48 00259B88 FC 20 00 90 */ fmr f1, f0 -lbl_8025CC4C: -/* 8025CC4C 00259B8C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025CC50 00259B90 C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 8025CC54 00259B94 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025CC58 00259B98 40 81 00 28 */ ble lbl_8025CC80 -/* 8025CC5C 00259B9C 7F C3 F3 78 */ mr r3, r30 -/* 8025CC60 00259BA0 7F E4 FB 78 */ mr r4, r31 -/* 8025CC64 00259BA4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025CC68 00259BA8 38 A0 00 09 */ li r5, 9 -/* 8025CC6C 00259BAC 38 C0 00 00 */ li r6, 0 -/* 8025CC70 00259BB0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025CC74 00259BB4 7D 89 03 A6 */ mtctr r12 -/* 8025CC78 00259BB8 4E 80 04 21 */ bctrl -/* 8025CC7C 00259BBC 48 00 00 24 */ b lbl_8025CCA0 -lbl_8025CC80: -/* 8025CC80 00259BC0 7F C3 F3 78 */ mr r3, r30 -/* 8025CC84 00259BC4 7F E4 FB 78 */ mr r4, r31 -/* 8025CC88 00259BC8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025CC8C 00259BCC 38 A0 00 05 */ li r5, 5 -/* 8025CC90 00259BD0 38 C0 00 00 */ li r6, 0 -/* 8025CC94 00259BD4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025CC98 00259BD8 7D 89 03 A6 */ mtctr r12 -/* 8025CC9C 00259BDC 4E 80 04 21 */ bctrl -lbl_8025CCA0: -/* 8025CCA0 00259BE0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8025CCA4 00259BE4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8025CCA8 00259BE8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 8025CCAC 00259BEC CB C1 00 30 */ lfd f30, 0x30(r1) -/* 8025CCB0 00259BF0 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 8025CCB4 00259BF4 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 8025CCB8 00259BF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025CCBC 00259BFC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025CCC0 00259C00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025CCC4 00259C04 7C 08 03 A6 */ mtlr r0 -/* 8025CCC8 00259C08 38 21 00 50 */ addi r1, r1, 0x50 -/* 8025CCCC 00259C0C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujib8StateEatFPQ24Game9EnemyBase -cleanup__Q34Game4Ujib8StateEatFPQ24Game9EnemyBase: -/* 8025CCD0 00259C10 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game4Ujib14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game4Ujib14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8025CCD4 00259C14 90 83 00 20 */ stw r4, 0x20(r3) -/* 8025CCD8 00259C18 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Ujib14ProperAnimatorFi -getAnimator__Q34Game4Ujib14ProperAnimatorFi: -/* 8025CCDC 00259C1C 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025CCE0 00259C20 4E 80 00 20 */ blr - -.global __dt__Q34Game4Ujib14ProperAnimatorFv -__dt__Q34Game4Ujib14ProperAnimatorFv: -/* 8025CCE4 00259C24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025CCE8 00259C28 7C 08 02 A6 */ mflr r0 -/* 8025CCEC 00259C2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025CCF0 00259C30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025CCF4 00259C34 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8025CCF8 00259C38 41 82 00 30 */ beq lbl_8025CD28 -/* 8025CCFC 00259C3C 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujib14ProperAnimator@ha -/* 8025CD00 00259C40 38 03 2E 98 */ addi r0, r3, __vt__Q34Game4Ujib14ProperAnimator@l -/* 8025CD04 00259C44 90 1F 00 00 */ stw r0, 0(r31) -/* 8025CD08 00259C48 41 82 00 10 */ beq lbl_8025CD18 -/* 8025CD0C 00259C4C 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 8025CD10 00259C50 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 8025CD14 00259C54 90 1F 00 00 */ stw r0, 0(r31) -lbl_8025CD18: -/* 8025CD18 00259C58 7C 80 07 35 */ extsh. r0, r4 -/* 8025CD1C 00259C5C 40 81 00 0C */ ble lbl_8025CD28 -/* 8025CD20 00259C60 7F E3 FB 78 */ mr r3, r31 -/* 8025CD24 00259C64 4B DC 73 91 */ bl __dl__FPv -lbl_8025CD28: -/* 8025CD28 00259C68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025CD2C 00259C6C 7F E3 FB 78 */ mr r3, r31 -/* 8025CD30 00259C70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025CD34 00259C74 7C 08 03 A6 */ mtlr r0 -/* 8025CD38 00259C78 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025CD3C 00259C7C 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Ujib14ProperAnimatorFv -getAnimator__Q34Game4Ujib14ProperAnimatorFv: -/* 8025CD40 00259C80 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025CD44 00259C84 4E 80 00 20 */ blr - -.global init__Q34Game6Kogane3FSMFPQ24Game9EnemyBase -init__Q34Game6Kogane3FSMFPQ24Game9EnemyBase: -/* 8025CD48 00259C88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025CD4C 00259C8C 7C 08 02 A6 */ mflr r0 -/* 8025CD50 00259C90 38 80 00 05 */ li r4, 5 -/* 8025CD54 00259C94 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025CD58 00259C98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025CD5C 00259C9C 7C 7F 1B 78 */ mr r31, r3 -/* 8025CD60 00259CA0 4B ED 3B 05 */ bl create__Q24Game17EnemyStateMachineFi -/* 8025CD64 00259CA4 38 60 00 10 */ li r3, 0x10 -/* 8025CD68 00259CA8 4B DC 71 3D */ bl __nw__FUl -/* 8025CD6C 00259CAC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025CD70 00259CB0 41 82 00 3C */ beq lbl_8025CDAC -/* 8025CD74 00259CB4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025CD78 00259CB8 3C A0 80 4C */ lis r5, __vt__Q34Game6Kogane5State@ha -/* 8025CD7C 00259CBC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025CD80 00259CC0 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane11StateAppear@ha -/* 8025CD84 00259CC4 90 04 00 00 */ stw r0, 0(r4) -/* 8025CD88 00259CC8 38 E0 00 00 */ li r7, 0 -/* 8025CD8C 00259CCC 38 C5 2F 74 */ addi r6, r5, __vt__Q34Game6Kogane5State@l -/* 8025CD90 00259CD0 38 A2 C8 98 */ addi r5, r2, lbl_8051ABF8@sda21 -/* 8025CD94 00259CD4 90 E4 00 04 */ stw r7, 4(r4) -/* 8025CD98 00259CD8 38 03 2F 50 */ addi r0, r3, __vt__Q34Game6Kogane11StateAppear@l -/* 8025CD9C 00259CDC 90 E4 00 08 */ stw r7, 8(r4) -/* 8025CDA0 00259CE0 90 C4 00 00 */ stw r6, 0(r4) -/* 8025CDA4 00259CE4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025CDA8 00259CE8 90 04 00 00 */ stw r0, 0(r4) -lbl_8025CDAC: -/* 8025CDAC 00259CEC 7F E3 FB 78 */ mr r3, r31 -/* 8025CDB0 00259CF0 4B ED 3B 59 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025CDB4 00259CF4 38 60 00 10 */ li r3, 0x10 -/* 8025CDB8 00259CF8 4B DC 70 ED */ bl __nw__FUl -/* 8025CDBC 00259CFC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025CDC0 00259D00 41 82 00 44 */ beq lbl_8025CE04 -/* 8025CDC4 00259D04 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025CDC8 00259D08 3C C0 80 4C */ lis r6, __vt__Q34Game6Kogane5State@ha -/* 8025CDCC 00259D0C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025CDD0 00259D10 3C A0 80 48 */ lis r5, lbl_80485380@ha -/* 8025CDD4 00259D14 90 04 00 00 */ stw r0, 0(r4) -/* 8025CDD8 00259D18 38 00 00 01 */ li r0, 1 -/* 8025CDDC 00259D1C 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane14StateDisappear@ha -/* 8025CDE0 00259D20 38 E0 00 00 */ li r7, 0 -/* 8025CDE4 00259D24 90 04 00 04 */ stw r0, 4(r4) -/* 8025CDE8 00259D28 38 C6 2F 74 */ addi r6, r6, __vt__Q34Game6Kogane5State@l -/* 8025CDEC 00259D2C 38 A5 53 80 */ addi r5, r5, lbl_80485380@l -/* 8025CDF0 00259D30 38 03 2F 2C */ addi r0, r3, __vt__Q34Game6Kogane14StateDisappear@l -/* 8025CDF4 00259D34 90 E4 00 08 */ stw r7, 8(r4) -/* 8025CDF8 00259D38 90 C4 00 00 */ stw r6, 0(r4) -/* 8025CDFC 00259D3C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025CE00 00259D40 90 04 00 00 */ stw r0, 0(r4) -lbl_8025CE04: -/* 8025CE04 00259D44 7F E3 FB 78 */ mr r3, r31 -/* 8025CE08 00259D48 4B ED 3B 01 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025CE0C 00259D4C 38 60 00 10 */ li r3, 0x10 -/* 8025CE10 00259D50 4B DC 70 95 */ bl __nw__FUl -/* 8025CE14 00259D54 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025CE18 00259D58 41 82 00 40 */ beq lbl_8025CE58 -/* 8025CE1C 00259D5C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025CE20 00259D60 3C A0 80 4C */ lis r5, __vt__Q34Game6Kogane5State@ha -/* 8025CE24 00259D64 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025CE28 00259D68 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane9StateMove@ha -/* 8025CE2C 00259D6C 90 04 00 00 */ stw r0, 0(r4) -/* 8025CE30 00259D70 38 00 00 02 */ li r0, 2 -/* 8025CE34 00259D74 38 E0 00 00 */ li r7, 0 -/* 8025CE38 00259D78 38 C5 2F 74 */ addi r6, r5, __vt__Q34Game6Kogane5State@l -/* 8025CE3C 00259D7C 90 04 00 04 */ stw r0, 4(r4) -/* 8025CE40 00259D80 38 A2 C8 A0 */ addi r5, r2, lbl_8051AC00@sda21 -/* 8025CE44 00259D84 38 03 2F 08 */ addi r0, r3, __vt__Q34Game6Kogane9StateMove@l -/* 8025CE48 00259D88 90 E4 00 08 */ stw r7, 8(r4) -/* 8025CE4C 00259D8C 90 C4 00 00 */ stw r6, 0(r4) -/* 8025CE50 00259D90 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025CE54 00259D94 90 04 00 00 */ stw r0, 0(r4) -lbl_8025CE58: -/* 8025CE58 00259D98 7F E3 FB 78 */ mr r3, r31 -/* 8025CE5C 00259D9C 4B ED 3A AD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025CE60 00259DA0 38 60 00 10 */ li r3, 0x10 -/* 8025CE64 00259DA4 4B DC 70 41 */ bl __nw__FUl -/* 8025CE68 00259DA8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025CE6C 00259DAC 41 82 00 40 */ beq lbl_8025CEAC -/* 8025CE70 00259DB0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025CE74 00259DB4 3C A0 80 4C */ lis r5, __vt__Q34Game6Kogane5State@ha -/* 8025CE78 00259DB8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025CE7C 00259DBC 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane9StateWait@ha -/* 8025CE80 00259DC0 90 04 00 00 */ stw r0, 0(r4) -/* 8025CE84 00259DC4 38 00 00 03 */ li r0, 3 -/* 8025CE88 00259DC8 38 E0 00 00 */ li r7, 0 -/* 8025CE8C 00259DCC 38 C5 2F 74 */ addi r6, r5, __vt__Q34Game6Kogane5State@l -/* 8025CE90 00259DD0 90 04 00 04 */ stw r0, 4(r4) -/* 8025CE94 00259DD4 38 A2 C8 A8 */ addi r5, r2, lbl_8051AC08@sda21 -/* 8025CE98 00259DD8 38 03 2E E4 */ addi r0, r3, __vt__Q34Game6Kogane9StateWait@l -/* 8025CE9C 00259DDC 90 E4 00 08 */ stw r7, 8(r4) -/* 8025CEA0 00259DE0 90 C4 00 00 */ stw r6, 0(r4) -/* 8025CEA4 00259DE4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025CEA8 00259DE8 90 04 00 00 */ stw r0, 0(r4) -lbl_8025CEAC: -/* 8025CEAC 00259DEC 7F E3 FB 78 */ mr r3, r31 -/* 8025CEB0 00259DF0 4B ED 3A 59 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025CEB4 00259DF4 38 60 00 10 */ li r3, 0x10 -/* 8025CEB8 00259DF8 4B DC 6F ED */ bl __nw__FUl -/* 8025CEBC 00259DFC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025CEC0 00259E00 41 82 00 40 */ beq lbl_8025CF00 -/* 8025CEC4 00259E04 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025CEC8 00259E08 3C A0 80 4C */ lis r5, __vt__Q34Game6Kogane5State@ha -/* 8025CECC 00259E0C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025CED0 00259E10 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane10StatePress@ha -/* 8025CED4 00259E14 90 04 00 00 */ stw r0, 0(r4) -/* 8025CED8 00259E18 38 00 00 04 */ li r0, 4 -/* 8025CEDC 00259E1C 38 E0 00 00 */ li r7, 0 -/* 8025CEE0 00259E20 38 C5 2F 74 */ addi r6, r5, __vt__Q34Game6Kogane5State@l -/* 8025CEE4 00259E24 90 04 00 04 */ stw r0, 4(r4) -/* 8025CEE8 00259E28 38 A2 C8 B0 */ addi r5, r2, lbl_8051AC10@sda21 -/* 8025CEEC 00259E2C 38 03 2E C0 */ addi r0, r3, __vt__Q34Game6Kogane10StatePress@l -/* 8025CEF0 00259E30 90 E4 00 08 */ stw r7, 8(r4) -/* 8025CEF4 00259E34 90 C4 00 00 */ stw r6, 0(r4) -/* 8025CEF8 00259E38 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025CEFC 00259E3C 90 04 00 00 */ stw r0, 0(r4) -lbl_8025CF00: -/* 8025CF00 00259E40 7F E3 FB 78 */ mr r3, r31 -/* 8025CF04 00259E44 4B ED 3A 05 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025CF08 00259E48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025CF0C 00259E4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025CF10 00259E50 7C 08 03 A6 */ mtlr r0 -/* 8025CF14 00259E54 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025CF18 00259E58 4E 80 00 20 */ blr - -.global init__Q34Game6Kogane11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game6Kogane11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025CF1C 00259E5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025CF20 00259E60 7C 08 02 A6 */ mflr r0 -/* 8025CF24 00259E64 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025CF28 00259E68 7C 80 23 78 */ mr r0, r4 -/* 8025CF2C 00259E6C 38 80 00 00 */ li r4, 0 -/* 8025CF30 00259E70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025CF34 00259E74 7C 1F 03 78 */ mr r31, r0 -/* 8025CF38 00259E78 7F E3 FB 78 */ mr r3, r31 -/* 8025CF3C 00259E7C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025CF40 00259E80 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025CF44 00259E84 7D 89 03 A6 */ mtctr r12 -/* 8025CF48 00259E88 4E 80 04 21 */ bctrl -/* 8025CF4C 00259E8C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025CF50 00259E90 7F E3 FB 78 */ mr r3, r31 -/* 8025CF54 00259E94 64 00 00 40 */ oris r0, r0, 0x40 -/* 8025CF58 00259E98 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025CF5C 00259E9C 4B EA A8 21 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8025CF60 00259EA0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025CF64 00259EA4 7F E3 FB 78 */ mr r3, r31 -/* 8025CF68 00259EA8 C0 02 C8 B8 */ lfs f0, lbl_8051AC18@sda21(r2) -/* 8025CF6C 00259EAC 38 80 00 00 */ li r4, 0 -/* 8025CF70 00259EB0 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf -/* 8025CF74 00259EB4 38 A0 00 00 */ li r5, 0 -/* 8025CF78 00259EB8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025CF7C 00259EBC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025CF80 00259EC0 64 00 40 00 */ oris r0, r0, 0x4000 -/* 8025CF84 00259EC4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025CF88 00259EC8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025CF8C 00259ECC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025CF90 00259ED0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025CF94 00259ED4 4B EA 80 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025CF98 00259ED8 7F E3 FB 78 */ mr r3, r31 -/* 8025CF9C 00259EDC 4B EA A3 45 */ bl stopMotion__Q24Game9EnemyBaseFv -/* 8025CFA0 00259EE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025CFA4 00259EE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025CFA8 00259EE8 7C 08 03 A6 */ mtlr r0 -/* 8025CFAC 00259EEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025CFB0 00259EF0 4E 80 00 20 */ blr - -.global exec__Q34Game6Kogane11StateAppearFPQ24Game9EnemyBase -exec__Q34Game6Kogane11StateAppearFPQ24Game9EnemyBase: -/* 8025CFB4 00259EF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025CFB8 00259EF8 7C 08 02 A6 */ mflr r0 -/* 8025CFBC 00259EFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025CFC0 00259F00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025CFC4 00259F04 7C 9F 23 78 */ mr r31, r4 -/* 8025CFC8 00259F08 93 C1 00 08 */ stw r30, 8(r1) -/* 8025CFCC 00259F0C 7C 7E 1B 78 */ mr r30, r3 -/* 8025CFD0 00259F10 7F E3 FB 78 */ mr r3, r31 -/* 8025CFD4 00259F14 48 00 18 79 */ bl isAppear__Q34Game6Kogane3ObjFv -/* 8025CFD8 00259F18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025CFDC 00259F1C 41 82 00 24 */ beq lbl_8025D000 -/* 8025CFE0 00259F20 7F C3 F3 78 */ mr r3, r30 -/* 8025CFE4 00259F24 7F E4 FB 78 */ mr r4, r31 -/* 8025CFE8 00259F28 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025CFEC 00259F2C 38 A0 00 02 */ li r5, 2 -/* 8025CFF0 00259F30 38 C0 00 00 */ li r6, 0 -/* 8025CFF4 00259F34 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025CFF8 00259F38 7D 89 03 A6 */ mtctr r12 -/* 8025CFFC 00259F3C 4E 80 04 21 */ bctrl -lbl_8025D000: -/* 8025D000 00259F40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025D004 00259F44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025D008 00259F48 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025D00C 00259F4C 7C 08 03 A6 */ mtlr r0 -/* 8025D010 00259F50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025D014 00259F54 4E 80 00 20 */ blr - -.global cleanup__Q34Game6Kogane11StateAppearFPQ24Game9EnemyBase -cleanup__Q34Game6Kogane11StateAppearFPQ24Game9EnemyBase: -/* 8025D018 00259F58 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8025D01C 00259F5C 7C 08 02 A6 */ mflr r0 -/* 8025D020 00259F60 90 01 00 64 */ stw r0, 0x64(r1) -/* 8025D024 00259F64 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8025D028 00259F68 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8025D02C 00259F6C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025D030 00259F70 7C 80 23 78 */ mr r0, r4 -/* 8025D034 00259F74 38 80 00 01 */ li r4, 1 -/* 8025D038 00259F78 7C 1F 03 78 */ mr r31, r0 -/* 8025D03C 00259F7C 7F E3 FB 78 */ mr r3, r31 -/* 8025D040 00259F80 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D044 00259F84 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025D048 00259F88 7D 89 03 A6 */ mtctr r12 -/* 8025D04C 00259F8C 4E 80 04 21 */ bctrl -/* 8025D050 00259F90 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025D054 00259F94 7F E3 FB 78 */ mr r3, r31 -/* 8025D058 00259F98 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 8025D05C 00259F9C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025D060 00259FA0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025D064 00259FA4 64 00 00 20 */ oris r0, r0, 0x20 -/* 8025D068 00259FA8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025D06C 00259FAC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025D070 00259FB0 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8025D074 00259FB4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025D078 00259FB8 4B EA A7 1D */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 8025D07C 00259FBC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025D080 00259FC0 7F E3 FB 78 */ mr r3, r31 -/* 8025D084 00259FC4 60 00 80 00 */ ori r0, r0, 0x8000 -/* 8025D088 00259FC8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025D08C 00259FCC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025D090 00259FD0 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 -/* 8025D094 00259FD4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025D098 00259FD8 4B EA 49 35 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 8025D09C 00259FDC 7F E3 FB 78 */ mr r3, r31 -/* 8025D0A0 00259FE0 4B EA A1 65 */ bl startMotion__Q24Game9EnemyBaseFv -/* 8025D0A4 00259FE4 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 8025D0A8 00259FE8 38 A0 00 00 */ li r5, 0 -/* 8025D0AC 00259FEC 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 8025D0B0 00259FF0 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple2@ha -/* 8025D0B4 00259FF4 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025D0B8 00259FF8 38 03 6A 64 */ addi r0, r3, __vt__Q23efx8TSimple2@l -/* 8025D0BC 00259FFC 3C 60 80 4E */ lis r3, __vt__Q23efx11TKoganeDive@ha -/* 8025D0C0 0025A000 38 E0 00 C3 */ li r7, 0xc3 -/* 8025D0C4 0025A004 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025D0C8 0025A008 38 03 6C FC */ addi r0, r3, __vt__Q23efx11TKoganeDive@l -/* 8025D0CC 0025A00C 38 C0 00 C4 */ li r6, 0xc4 -/* 8025D0D0 0025A010 7F E4 FB 78 */ mr r4, r31 -/* 8025D0D4 0025A014 B0 E1 00 24 */ sth r7, 0x24(r1) -/* 8025D0D8 0025A018 38 61 00 08 */ addi r3, r1, 8 -/* 8025D0DC 0025A01C B0 C1 00 26 */ sth r6, 0x26(r1) -/* 8025D0E0 0025A020 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8025D0E4 0025A024 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8025D0E8 0025A028 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025D0EC 0025A02C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D0F0 0025A030 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025D0F4 0025A034 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025D0F8 0025A038 C3 E5 09 34 */ lfs f31, 0x934(r5) -/* 8025D0FC 0025A03C 7D 89 03 A6 */ mtctr r12 -/* 8025D100 0025A040 4E 80 04 21 */ bctrl -/* 8025D104 0025A044 80 01 00 08 */ lwz r0, 8(r1) -/* 8025D108 0025A048 3C 60 80 4B */ lis r3, __vt__Q23efx3Arg@ha -/* 8025D10C 0025A04C 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 8025D110 0025A050 38 A3 A7 EC */ addi r5, r3, __vt__Q23efx3Arg@l -/* 8025D114 0025A054 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 8025D118 0025A058 3C 60 80 4B */ lis r3, __vt__Q23efx8ArgScale@ha -/* 8025D11C 0025A05C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D120 0025A060 38 03 A2 DC */ addi r0, r3, __vt__Q23efx8ArgScale@l -/* 8025D124 0025A064 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025D128 0025A068 38 81 00 30 */ addi r4, r1, 0x30 -/* 8025D12C 0025A06C 90 E1 00 18 */ stw r7, 0x18(r1) -/* 8025D130 0025A070 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8025D134 0025A074 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8025D138 0025A078 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8025D13C 0025A07C 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8025D140 0025A080 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8025D144 0025A084 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8025D148 0025A088 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8025D14C 0025A08C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8025D150 0025A090 90 01 00 30 */ stw r0, 0x30(r1) -/* 8025D154 0025A094 D3 E1 00 40 */ stfs f31, 0x40(r1) -/* 8025D158 0025A098 48 15 71 69 */ bl create__Q23efx11TKoganeDiveFPQ23efx3Arg -/* 8025D15C 0025A09C 7F E3 FB 78 */ mr r3, r31 -/* 8025D160 0025A0A0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D164 0025A0A4 81 8C 03 04 */ lwz r12, 0x304(r12) -/* 8025D168 0025A0A8 7D 89 03 A6 */ mtctr r12 -/* 8025D16C 0025A0AC 4E 80 04 21 */ bctrl -/* 8025D170 0025A0B0 7F E3 FB 78 */ mr r3, r31 -/* 8025D174 0025A0B4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D178 0025A0B8 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8025D17C 0025A0BC 7D 89 03 A6 */ mtctr r12 -/* 8025D180 0025A0C0 4E 80 04 21 */ bctrl -/* 8025D184 0025A0C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025D188 0025A0C8 38 80 59 15 */ li r4, 0x5915 -/* 8025D18C 0025A0CC 38 A0 00 00 */ li r5, 0 -/* 8025D190 0025A0D0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025D194 0025A0D4 7D 89 03 A6 */ mtctr r12 -/* 8025D198 0025A0D8 4E 80 04 21 */ bctrl -/* 8025D19C 0025A0DC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8025D1A0 0025A0E0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8025D1A4 0025A0E4 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8025D1A8 0025A0E8 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8025D1AC 0025A0EC 7C 08 03 A6 */ mtlr r0 -/* 8025D1B0 0025A0F0 38 21 00 60 */ addi r1, r1, 0x60 -/* 8025D1B4 0025A0F4 4E 80 00 20 */ blr - -.global startBodyEffect__Q34Game6Kogane3ObjFv -startBodyEffect__Q34Game6Kogane3ObjFv: -/* 8025D1B8 0025A0F8 4E 80 00 20 */ blr - -.global init__Q34Game6Kogane14StateDisappearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game6Kogane14StateDisappearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025D1BC 0025A0FC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8025D1C0 0025A100 7C 08 02 A6 */ mflr r0 -/* 8025D1C4 0025A104 90 01 00 64 */ stw r0, 0x64(r1) -/* 8025D1C8 0025A108 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8025D1CC 0025A10C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8025D1D0 0025A110 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025D1D4 0025A114 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025D1D8 0025A118 3C A0 80 4E */ lis r5, __vt__Q23efx8TSimple2@ha -/* 8025D1DC 0025A11C 39 05 6A 64 */ addi r8, r5, __vt__Q23efx8TSimple2@l -/* 8025D1E0 0025A120 3C C0 80 4B */ lis r6, __vt__Q23efx5TBase@ha -/* 8025D1E4 0025A124 64 05 00 40 */ oris r5, r0, 0x40 -/* 8025D1E8 0025A128 3C 60 80 4E */ lis r3, __vt__Q23efx11TKoganeDive@ha -/* 8025D1EC 0025A12C 90 A4 01 E0 */ stw r5, 0x1e0(r4) -/* 8025D1F0 0025A130 39 26 A7 F8 */ addi r9, r6, __vt__Q23efx5TBase@l -/* 8025D1F4 0025A134 38 A0 00 00 */ li r5, 0 -/* 8025D1F8 0025A138 38 03 6C FC */ addi r0, r3, __vt__Q23efx11TKoganeDive@l -/* 8025D1FC 0025A13C 91 21 00 20 */ stw r9, 0x20(r1) -/* 8025D200 0025A140 38 E0 00 C3 */ li r7, 0xc3 -/* 8025D204 0025A144 38 C0 00 C4 */ li r6, 0xc4 -/* 8025D208 0025A148 7C 9F 23 78 */ mr r31, r4 -/* 8025D20C 0025A14C 91 01 00 20 */ stw r8, 0x20(r1) -/* 8025D210 0025A150 38 61 00 08 */ addi r3, r1, 8 -/* 8025D214 0025A154 B0 E1 00 24 */ sth r7, 0x24(r1) -/* 8025D218 0025A158 B0 C1 00 26 */ sth r6, 0x26(r1) -/* 8025D21C 0025A15C 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8025D220 0025A160 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8025D224 0025A164 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025D228 0025A168 81 84 00 00 */ lwz r12, 0(r4) -/* 8025D22C 0025A16C 80 A4 00 C0 */ lwz r5, 0xc0(r4) -/* 8025D230 0025A170 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025D234 0025A174 C3 E5 09 34 */ lfs f31, 0x934(r5) -/* 8025D238 0025A178 7D 89 03 A6 */ mtctr r12 -/* 8025D23C 0025A17C 4E 80 04 21 */ bctrl -/* 8025D240 0025A180 80 01 00 08 */ lwz r0, 8(r1) -/* 8025D244 0025A184 3C 60 80 4B */ lis r3, __vt__Q23efx3Arg@ha -/* 8025D248 0025A188 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 8025D24C 0025A18C 38 A3 A7 EC */ addi r5, r3, __vt__Q23efx3Arg@l -/* 8025D250 0025A190 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 8025D254 0025A194 3C 60 80 4B */ lis r3, __vt__Q23efx8ArgScale@ha -/* 8025D258 0025A198 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D25C 0025A19C 38 03 A2 DC */ addi r0, r3, __vt__Q23efx8ArgScale@l -/* 8025D260 0025A1A0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025D264 0025A1A4 38 81 00 30 */ addi r4, r1, 0x30 -/* 8025D268 0025A1A8 90 E1 00 18 */ stw r7, 0x18(r1) -/* 8025D26C 0025A1AC C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8025D270 0025A1B0 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8025D274 0025A1B4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8025D278 0025A1B8 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8025D27C 0025A1BC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8025D280 0025A1C0 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8025D284 0025A1C4 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8025D288 0025A1C8 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8025D28C 0025A1CC 90 01 00 30 */ stw r0, 0x30(r1) -/* 8025D290 0025A1D0 D3 E1 00 40 */ stfs f31, 0x40(r1) -/* 8025D294 0025A1D4 48 15 70 2D */ bl create__Q23efx11TKoganeDiveFPQ23efx3Arg -/* 8025D298 0025A1D8 7F E3 FB 78 */ mr r3, r31 -/* 8025D29C 0025A1DC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D2A0 0025A1E0 81 8C 03 08 */ lwz r12, 0x308(r12) -/* 8025D2A4 0025A1E4 7D 89 03 A6 */ mtctr r12 -/* 8025D2A8 0025A1E8 4E 80 04 21 */ bctrl -/* 8025D2AC 0025A1EC 7F E3 FB 78 */ mr r3, r31 -/* 8025D2B0 0025A1F0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D2B4 0025A1F4 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8025D2B8 0025A1F8 7D 89 03 A6 */ mtctr r12 -/* 8025D2BC 0025A1FC 4E 80 04 21 */ bctrl -/* 8025D2C0 0025A200 81 83 00 00 */ lwz r12, 0(r3) -/* 8025D2C4 0025A204 38 80 58 A9 */ li r4, 0x58a9 -/* 8025D2C8 0025A208 38 A0 00 00 */ li r5, 0 -/* 8025D2CC 0025A20C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025D2D0 0025A210 7D 89 03 A6 */ mtctr r12 -/* 8025D2D4 0025A214 4E 80 04 21 */ bctrl -/* 8025D2D8 0025A218 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8025D2DC 0025A21C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8025D2E0 0025A220 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8025D2E4 0025A224 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8025D2E8 0025A228 7C 08 03 A6 */ mtlr r0 -/* 8025D2EC 0025A22C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8025D2F0 0025A230 4E 80 00 20 */ blr - -.global finishBodyEffect__Q34Game6Kogane3ObjFv -finishBodyEffect__Q34Game6Kogane3ObjFv: -/* 8025D2F4 0025A234 4E 80 00 20 */ blr - -.global exec__Q34Game6Kogane14StateDisappearFPQ24Game9EnemyBase -exec__Q34Game6Kogane14StateDisappearFPQ24Game9EnemyBase: -/* 8025D2F8 0025A238 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025D2FC 0025A23C 7C 08 02 A6 */ mflr r0 -/* 8025D300 0025A240 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D304 0025A244 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025D308 0025A248 7C 9F 23 78 */ mr r31, r4 -/* 8025D30C 0025A24C 7F E3 FB 78 */ mr r3, r31 -/* 8025D310 0025A250 48 00 12 8D */ bl koganeScaleDown__Q34Game6Kogane3ObjFv -/* 8025D314 0025A254 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025D318 0025A258 41 82 00 38 */ beq lbl_8025D350 -/* 8025D31C 0025A25C 7F E3 FB 78 */ mr r3, r31 -/* 8025D320 0025A260 48 00 10 81 */ bl transitDisappear__Q34Game6Kogane3ObjFv -/* 8025D324 0025A264 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025D328 0025A268 41 82 00 1C */ beq lbl_8025D344 -/* 8025D32C 0025A26C 38 00 00 00 */ li r0, 0 -/* 8025D330 0025A270 7F E3 FB 78 */ mr r3, r31 -/* 8025D334 0025A274 98 1F 01 F3 */ stb r0, 0x1f3(r31) -/* 8025D338 0025A278 38 80 00 00 */ li r4, 0 -/* 8025D33C 0025A27C 4B ED DD B5 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -/* 8025D340 0025A280 48 00 00 10 */ b lbl_8025D350 -lbl_8025D344: -/* 8025D344 0025A284 7F E3 FB 78 */ mr r3, r31 -/* 8025D348 0025A288 38 80 00 00 */ li r4, 0 -/* 8025D34C 0025A28C 4B ED DC 7D */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -lbl_8025D350: -/* 8025D350 0025A290 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025D354 0025A294 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025D358 0025A298 7C 08 03 A6 */ mtlr r0 -/* 8025D35C 0025A29C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025D360 0025A2A0 4E 80 00 20 */ blr - -.global cleanup__Q34Game6Kogane14StateDisappearFPQ24Game9EnemyBase -cleanup__Q34Game6Kogane14StateDisappearFPQ24Game9EnemyBase: -/* 8025D364 0025A2A4 4E 80 00 20 */ blr - -.global init__Q34Game6Kogane9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game6Kogane9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025D368 0025A2A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025D36C 0025A2AC 7C 08 02 A6 */ mflr r0 -/* 8025D370 0025A2B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D374 0025A2B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025D378 0025A2B8 7C 9F 23 78 */ mr r31, r4 -/* 8025D37C 0025A2BC 7F E3 FB 78 */ mr r3, r31 -/* 8025D380 0025A2C0 80 84 00 C0 */ lwz r4, 0xc0(r4) -/* 8025D384 0025A2C4 C0 24 08 6C */ lfs f1, 0x86c(r4) -/* 8025D388 0025A2C8 C0 44 08 94 */ lfs f2, 0x894(r4) -/* 8025D38C 0025A2CC 48 00 15 41 */ bl resetMoveTimer__Q34Game6Kogane3ObjFff -/* 8025D390 0025A2D0 7F E3 FB 78 */ mr r3, r31 -/* 8025D394 0025A2D4 38 80 00 00 */ li r4, 0 -/* 8025D398 0025A2D8 48 00 12 91 */ bl setTargetPosition__Q34Game6Kogane3ObjFP10Vector3$$0f$$1 -/* 8025D39C 0025A2DC 7F E3 FB 78 */ mr r3, r31 -/* 8025D3A0 0025A2E0 38 80 00 00 */ li r4, 0 -/* 8025D3A4 0025A2E4 38 A0 00 00 */ li r5, 0 -/* 8025D3A8 0025A2E8 4B EA 7C 5D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025D3AC 0025A2EC 7F E3 FB 78 */ mr r3, r31 -/* 8025D3B0 0025A2F0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D3B4 0025A2F4 81 8C 03 0C */ lwz r12, 0x30c(r12) -/* 8025D3B8 0025A2F8 7D 89 03 A6 */ mtctr r12 -/* 8025D3BC 0025A2FC 4E 80 04 21 */ bctrl -/* 8025D3C0 0025A300 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025D3C4 0025A304 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025D3C8 0025A308 7C 08 03 A6 */ mtlr r0 -/* 8025D3CC 0025A30C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025D3D0 0025A310 4E 80 00 20 */ blr - -.global createFartEffect__Q34Game6Kogane3ObjFv -createFartEffect__Q34Game6Kogane3ObjFv: -/* 8025D3D4 0025A314 4E 80 00 20 */ blr - -.global exec__Q34Game6Kogane9StateMoveFPQ24Game9EnemyBase -exec__Q34Game6Kogane9StateMoveFPQ24Game9EnemyBase: -/* 8025D3D8 0025A318 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025D3DC 0025A31C 7C 08 02 A6 */ mflr r0 -/* 8025D3E0 0025A320 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025D3E4 0025A324 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025D3E8 0025A328 7C 9F 23 78 */ mr r31, r4 -/* 8025D3EC 0025A32C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025D3F0 0025A330 7C 7E 1B 78 */ mr r30, r3 -/* 8025D3F4 0025A334 7F E3 FB 78 */ mr r3, r31 -/* 8025D3F8 0025A338 48 00 11 01 */ bl koganeScaleUp__Q34Game6Kogane3ObjFv -/* 8025D3FC 0025A33C C0 3F 02 D4 */ lfs f1, 0x2d4(r31) -/* 8025D400 0025A340 7F E3 FB 78 */ mr r3, r31 -/* 8025D404 0025A344 C0 5F 02 D8 */ lfs f2, 0x2d8(r31) -/* 8025D408 0025A348 38 81 00 08 */ addi r4, r1, 8 -/* 8025D40C 0025A34C C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 8025D410 0025A350 D0 01 00 08 */ stfs f0, 8(r1) -/* 8025D414 0025A354 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025D418 0025A358 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8025D41C 0025A35C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025D420 0025A360 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 8025D424 0025A364 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 8025D428 0025A368 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 8025D42C 0025A36C 4B EB 81 B1 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 8025D430 0025A370 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025D434 0025A374 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8025D438 0025A378 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 8025D43C 0025A37C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025D440 0025A380 41 81 00 14 */ bgt lbl_8025D454 -/* 8025D444 0025A384 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8025D448 0025A388 C0 03 08 94 */ lfs f0, 0x894(r3) -/* 8025D44C 0025A38C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025D450 0025A390 40 81 00 0C */ ble lbl_8025D45C -lbl_8025D454: -/* 8025D454 0025A394 7F E3 FB 78 */ mr r3, r31 -/* 8025D458 0025A398 4B EA 7E 49 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8025D45C: -/* 8025D45C 0025A39C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8025D460 0025A3A0 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8025D464 0025A3A4 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8025D468 0025A3A8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8025D46C 0025A3AC D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8025D470 0025A3B0 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8025D474 0025A3B4 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8025D478 0025A3B8 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8025D47C 0025A3BC EC 01 00 2A */ fadds f0, f1, f0 -/* 8025D480 0025A3C0 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 8025D484 0025A3C4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025D488 0025A3C8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025D48C 0025A3CC 28 00 00 00 */ cmplwi r0, 0 -/* 8025D490 0025A3D0 41 82 00 68 */ beq lbl_8025D4F8 -/* 8025D494 0025A3D4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025D498 0025A3D8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025D49C 0025A3DC 40 82 00 5C */ bne lbl_8025D4F8 -/* 8025D4A0 0025A3E0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025D4A4 0025A3E4 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8025D4A8 0025A3E8 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 8025D4AC 0025A3EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025D4B0 0025A3F0 40 81 00 28 */ ble lbl_8025D4D8 -/* 8025D4B4 0025A3F4 7F C3 F3 78 */ mr r3, r30 -/* 8025D4B8 0025A3F8 7F E4 FB 78 */ mr r4, r31 -/* 8025D4BC 0025A3FC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025D4C0 0025A400 38 A0 00 01 */ li r5, 1 -/* 8025D4C4 0025A404 38 C0 00 00 */ li r6, 0 -/* 8025D4C8 0025A408 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025D4CC 0025A40C 7D 89 03 A6 */ mtctr r12 -/* 8025D4D0 0025A410 4E 80 04 21 */ bctrl -/* 8025D4D4 0025A414 48 00 00 24 */ b lbl_8025D4F8 -lbl_8025D4D8: -/* 8025D4D8 0025A418 7F C3 F3 78 */ mr r3, r30 -/* 8025D4DC 0025A41C 7F E4 FB 78 */ mr r4, r31 -/* 8025D4E0 0025A420 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025D4E4 0025A424 38 A0 00 03 */ li r5, 3 -/* 8025D4E8 0025A428 38 C0 00 00 */ li r6, 0 -/* 8025D4EC 0025A42C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025D4F0 0025A430 7D 89 03 A6 */ mtctr r12 -/* 8025D4F4 0025A434 4E 80 04 21 */ bctrl -lbl_8025D4F8: -/* 8025D4F8 0025A438 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025D4FC 0025A43C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025D500 0025A440 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025D504 0025A444 7C 08 03 A6 */ mtlr r0 -/* 8025D508 0025A448 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025D50C 0025A44C 4E 80 00 20 */ blr - -.global cleanup__Q34Game6Kogane9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game6Kogane9StateMoveFPQ24Game9EnemyBase: -/* 8025D510 0025A450 4E 80 00 20 */ blr - -.global init__Q34Game6Kogane9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game6Kogane9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025D514 0025A454 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025D518 0025A458 7C 08 02 A6 */ mflr r0 -/* 8025D51C 0025A45C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D520 0025A460 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025D524 0025A464 7C 9F 23 78 */ mr r31, r4 -/* 8025D528 0025A468 7F E3 FB 78 */ mr r3, r31 -/* 8025D52C 0025A46C 80 84 00 C0 */ lwz r4, 0xc0(r4) -/* 8025D530 0025A470 C0 24 08 BC */ lfs f1, 0x8bc(r4) -/* 8025D534 0025A474 C0 44 08 E4 */ lfs f2, 0x8e4(r4) -/* 8025D538 0025A478 48 00 13 95 */ bl resetMoveTimer__Q34Game6Kogane3ObjFff -/* 8025D53C 0025A47C C0 02 C8 B8 */ lfs f0, lbl_8051AC18@sda21(r2) -/* 8025D540 0025A480 7F E3 FB 78 */ mr r3, r31 -/* 8025D544 0025A484 38 80 00 01 */ li r4, 1 -/* 8025D548 0025A488 38 A0 00 00 */ li r5, 0 -/* 8025D54C 0025A48C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025D550 0025A490 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025D554 0025A494 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025D558 0025A498 4B EA 7A AD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025D55C 0025A49C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025D560 0025A4A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025D564 0025A4A4 7C 08 03 A6 */ mtlr r0 -/* 8025D568 0025A4A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025D56C 0025A4AC 4E 80 00 20 */ blr - -.global exec__Q34Game6Kogane9StateWaitFPQ24Game9EnemyBase -exec__Q34Game6Kogane9StateWaitFPQ24Game9EnemyBase: -/* 8025D570 0025A4B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025D574 0025A4B4 7C 08 02 A6 */ mflr r0 -/* 8025D578 0025A4B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D57C 0025A4BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025D580 0025A4C0 7C 9F 23 78 */ mr r31, r4 -/* 8025D584 0025A4C4 93 C1 00 08 */ stw r30, 8(r1) -/* 8025D588 0025A4C8 7C 7E 1B 78 */ mr r30, r3 -/* 8025D58C 0025A4CC 7F E3 FB 78 */ mr r3, r31 -/* 8025D590 0025A4D0 48 00 0F 69 */ bl koganeScaleUp__Q34Game6Kogane3ObjFv -/* 8025D594 0025A4D4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025D598 0025A4D8 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8025D59C 0025A4DC C0 03 08 E4 */ lfs f0, 0x8e4(r3) -/* 8025D5A0 0025A4E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025D5A4 0025A4E4 40 81 00 0C */ ble lbl_8025D5B0 -/* 8025D5A8 0025A4E8 7F E3 FB 78 */ mr r3, r31 -/* 8025D5AC 0025A4EC 4B EA 7C F5 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8025D5B0: -/* 8025D5B0 0025A4F0 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8025D5B4 0025A4F4 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8025D5B8 0025A4F8 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8025D5BC 0025A4FC EC 01 00 2A */ fadds f0, f1, f0 -/* 8025D5C0 0025A500 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8025D5C4 0025A504 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8025D5C8 0025A508 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8025D5CC 0025A50C C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8025D5D0 0025A510 EC 01 00 2A */ fadds f0, f1, f0 -/* 8025D5D4 0025A514 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 8025D5D8 0025A518 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025D5DC 0025A51C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025D5E0 0025A520 28 00 00 00 */ cmplwi r0, 0 -/* 8025D5E4 0025A524 41 82 00 30 */ beq lbl_8025D614 -/* 8025D5E8 0025A528 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025D5EC 0025A52C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025D5F0 0025A530 40 82 00 24 */ bne lbl_8025D614 -/* 8025D5F4 0025A534 7F C3 F3 78 */ mr r3, r30 -/* 8025D5F8 0025A538 7F E4 FB 78 */ mr r4, r31 -/* 8025D5FC 0025A53C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025D600 0025A540 38 A0 00 02 */ li r5, 2 -/* 8025D604 0025A544 38 C0 00 00 */ li r6, 0 -/* 8025D608 0025A548 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025D60C 0025A54C 7D 89 03 A6 */ mtctr r12 -/* 8025D610 0025A550 4E 80 04 21 */ bctrl -lbl_8025D614: -/* 8025D614 0025A554 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025D618 0025A558 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025D61C 0025A55C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025D620 0025A560 7C 08 03 A6 */ mtlr r0 -/* 8025D624 0025A564 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025D628 0025A568 4E 80 00 20 */ blr - -.global cleanup__Q34Game6Kogane9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game6Kogane9StateWaitFPQ24Game9EnemyBase: -/* 8025D62C 0025A56C 4E 80 00 20 */ blr - -.global init__Q34Game6Kogane10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game6Kogane10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025D630 0025A570 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8025D634 0025A574 7C 08 02 A6 */ mflr r0 -/* 8025D638 0025A578 90 01 00 64 */ stw r0, 0x64(r1) -/* 8025D63C 0025A57C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8025D640 0025A580 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8025D644 0025A584 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025D648 0025A588 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025D64C 0025A58C 3C A0 80 4E */ lis r5, __vt__Q23efx8TSimple2@ha -/* 8025D650 0025A590 39 05 6A 64 */ addi r8, r5, __vt__Q23efx8TSimple2@l -/* 8025D654 0025A594 3C C0 80 4B */ lis r6, __vt__Q23efx5TBase@ha -/* 8025D658 0025A598 54 05 02 D2 */ rlwinm r5, r0, 0, 0xb, 9 -/* 8025D65C 0025A59C 3C 60 80 4E */ lis r3, __vt__Q23efx10TKoganeHit@ha -/* 8025D660 0025A5A0 90 A4 01 E0 */ stw r5, 0x1e0(r4) -/* 8025D664 0025A5A4 39 26 A7 F8 */ addi r9, r6, __vt__Q23efx5TBase@l -/* 8025D668 0025A5A8 38 A0 00 00 */ li r5, 0 -/* 8025D66C 0025A5AC 38 03 6D 10 */ addi r0, r3, __vt__Q23efx10TKoganeHit@l -/* 8025D670 0025A5B0 91 21 00 20 */ stw r9, 0x20(r1) -/* 8025D674 0025A5B4 38 E0 00 C5 */ li r7, 0xc5 -/* 8025D678 0025A5B8 38 C0 00 C6 */ li r6, 0xc6 -/* 8025D67C 0025A5BC 7C 9F 23 78 */ mr r31, r4 -/* 8025D680 0025A5C0 91 01 00 20 */ stw r8, 0x20(r1) -/* 8025D684 0025A5C4 38 61 00 08 */ addi r3, r1, 8 -/* 8025D688 0025A5C8 B0 E1 00 24 */ sth r7, 0x24(r1) -/* 8025D68C 0025A5CC B0 C1 00 26 */ sth r6, 0x26(r1) -/* 8025D690 0025A5D0 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8025D694 0025A5D4 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8025D698 0025A5D8 90 01 00 20 */ stw r0, 0x20(r1) -/* 8025D69C 0025A5DC 81 84 00 00 */ lwz r12, 0(r4) -/* 8025D6A0 0025A5E0 80 A4 00 C0 */ lwz r5, 0xc0(r4) -/* 8025D6A4 0025A5E4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025D6A8 0025A5E8 C3 E5 09 34 */ lfs f31, 0x934(r5) -/* 8025D6AC 0025A5EC 7D 89 03 A6 */ mtctr r12 -/* 8025D6B0 0025A5F0 4E 80 04 21 */ bctrl -/* 8025D6B4 0025A5F4 80 01 00 08 */ lwz r0, 8(r1) -/* 8025D6B8 0025A5F8 3C 60 80 4B */ lis r3, __vt__Q23efx3Arg@ha -/* 8025D6BC 0025A5FC 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 8025D6C0 0025A600 38 A3 A7 EC */ addi r5, r3, __vt__Q23efx3Arg@l -/* 8025D6C4 0025A604 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 8025D6C8 0025A608 3C 60 80 4B */ lis r3, __vt__Q23efx8ArgScale@ha -/* 8025D6CC 0025A60C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D6D0 0025A610 38 03 A2 DC */ addi r0, r3, __vt__Q23efx8ArgScale@l -/* 8025D6D4 0025A614 38 61 00 20 */ addi r3, r1, 0x20 -/* 8025D6D8 0025A618 38 81 00 30 */ addi r4, r1, 0x30 -/* 8025D6DC 0025A61C 90 E1 00 18 */ stw r7, 0x18(r1) -/* 8025D6E0 0025A620 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8025D6E4 0025A624 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8025D6E8 0025A628 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8025D6EC 0025A62C 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8025D6F0 0025A630 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8025D6F4 0025A634 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8025D6F8 0025A638 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8025D6FC 0025A63C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8025D700 0025A640 90 01 00 30 */ stw r0, 0x30(r1) -/* 8025D704 0025A644 D3 E1 00 40 */ stfs f31, 0x40(r1) -/* 8025D708 0025A648 48 15 6A D1 */ bl create__Q23efx10TKoganeHitFPQ23efx3Arg -/* 8025D70C 0025A64C 7F E3 FB 78 */ mr r3, r31 -/* 8025D710 0025A650 38 80 00 02 */ li r4, 2 -/* 8025D714 0025A654 38 A0 00 00 */ li r5, 0 -/* 8025D718 0025A658 4B EA 78 ED */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025D71C 0025A65C 7F E3 FB 78 */ mr r3, r31 -/* 8025D720 0025A660 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D724 0025A664 81 8C 03 18 */ lwz r12, 0x318(r12) -/* 8025D728 0025A668 7D 89 03 A6 */ mtctr r12 -/* 8025D72C 0025A66C 4E 80 04 21 */ bctrl -/* 8025D730 0025A670 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8025D734 0025A674 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8025D738 0025A678 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8025D73C 0025A67C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8025D740 0025A680 7C 08 03 A6 */ mtlr r0 -/* 8025D744 0025A684 38 21 00 60 */ addi r1, r1, 0x60 -/* 8025D748 0025A688 4E 80 00 20 */ blr - -.global createPressSENormal__Q34Game6Kogane3ObjFv -createPressSENormal__Q34Game6Kogane3ObjFv: -/* 8025D74C 0025A68C 4E 80 00 20 */ blr - -.global exec__Q34Game6Kogane10StatePressFPQ24Game9EnemyBase -exec__Q34Game6Kogane10StatePressFPQ24Game9EnemyBase: -/* 8025D750 0025A690 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025D754 0025A694 7C 08 02 A6 */ mflr r0 -/* 8025D758 0025A698 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D75C 0025A69C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025D760 0025A6A0 7C 9F 23 78 */ mr r31, r4 -/* 8025D764 0025A6A4 93 C1 00 08 */ stw r30, 8(r1) -/* 8025D768 0025A6A8 7C 7E 1B 78 */ mr r30, r3 -/* 8025D76C 0025A6AC 7F E3 FB 78 */ mr r3, r31 -/* 8025D770 0025A6B0 48 00 0D 89 */ bl koganeScaleUp__Q34Game6Kogane3ObjFv -/* 8025D774 0025A6B4 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8025D778 0025A6B8 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8025D77C 0025A6BC C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8025D780 0025A6C0 EC 01 00 2A */ fadds f0, f1, f0 -/* 8025D784 0025A6C4 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8025D788 0025A6C8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025D78C 0025A6CC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025D790 0025A6D0 28 00 00 00 */ cmplwi r0, 0 -/* 8025D794 0025A6D4 41 82 00 D4 */ beq lbl_8025D868 -/* 8025D798 0025A6D8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025D79C 0025A6DC 28 00 00 02 */ cmplwi r0, 2 -/* 8025D7A0 0025A6E0 40 82 00 28 */ bne lbl_8025D7C8 -/* 8025D7A4 0025A6E4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025D7A8 0025A6E8 7F E3 FB 78 */ mr r3, r31 -/* 8025D7AC 0025A6EC 64 00 00 20 */ oris r0, r0, 0x20 -/* 8025D7B0 0025A6F0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025D7B4 0025A6F4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D7B8 0025A6F8 81 8C 03 1C */ lwz r12, 0x31c(r12) -/* 8025D7BC 0025A6FC 7D 89 03 A6 */ mtctr r12 -/* 8025D7C0 0025A700 4E 80 04 21 */ bctrl -/* 8025D7C4 0025A704 48 00 00 A4 */ b lbl_8025D868 -lbl_8025D7C8: -/* 8025D7C8 0025A708 28 00 00 03 */ cmplwi r0, 3 -/* 8025D7CC 0025A70C 40 82 00 28 */ bne lbl_8025D7F4 -/* 8025D7D0 0025A710 7F E3 FB 78 */ mr r3, r31 -/* 8025D7D4 0025A714 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025D7D8 0025A718 81 8C 02 FC */ lwz r12, 0x2fc(r12) -/* 8025D7DC 0025A71C 7D 89 03 A6 */ mtctr r12 -/* 8025D7E0 0025A720 4E 80 04 21 */ bctrl -/* 8025D7E4 0025A724 7F E3 FB 78 */ mr r3, r31 -/* 8025D7E8 0025A728 38 80 00 00 */ li r4, 0 -/* 8025D7EC 0025A72C 4B EA 51 35 */ bl setZukanVisible__Q24Game9EnemyBaseFb -/* 8025D7F0 0025A730 48 00 00 78 */ b lbl_8025D868 -lbl_8025D7F4: -/* 8025D7F4 0025A734 28 00 00 04 */ cmplwi r0, 4 -/* 8025D7F8 0025A738 40 82 00 14 */ bne lbl_8025D80C -/* 8025D7FC 0025A73C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025D800 0025A740 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8025D804 0025A744 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025D808 0025A748 48 00 00 60 */ b lbl_8025D868 -lbl_8025D80C: -/* 8025D80C 0025A74C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025D810 0025A750 40 82 00 58 */ bne lbl_8025D868 -/* 8025D814 0025A754 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8025D818 0025A758 C0 02 C8 BC */ lfs f0, lbl_8051AC1C@sda21(r2) -/* 8025D81C 0025A75C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025D820 0025A760 40 81 00 28 */ ble lbl_8025D848 -/* 8025D824 0025A764 7F C3 F3 78 */ mr r3, r30 -/* 8025D828 0025A768 7F E4 FB 78 */ mr r4, r31 -/* 8025D82C 0025A76C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025D830 0025A770 38 A0 00 01 */ li r5, 1 -/* 8025D834 0025A774 38 C0 00 00 */ li r6, 0 -/* 8025D838 0025A778 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025D83C 0025A77C 7D 89 03 A6 */ mtctr r12 -/* 8025D840 0025A780 4E 80 04 21 */ bctrl -/* 8025D844 0025A784 48 00 00 24 */ b lbl_8025D868 -lbl_8025D848: -/* 8025D848 0025A788 7F C3 F3 78 */ mr r3, r30 -/* 8025D84C 0025A78C 7F E4 FB 78 */ mr r4, r31 -/* 8025D850 0025A790 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025D854 0025A794 38 A0 00 02 */ li r5, 2 -/* 8025D858 0025A798 38 C0 00 00 */ li r6, 0 -/* 8025D85C 0025A79C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025D860 0025A7A0 7D 89 03 A6 */ mtctr r12 -/* 8025D864 0025A7A4 4E 80 04 21 */ bctrl -lbl_8025D868: -/* 8025D868 0025A7A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025D86C 0025A7AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025D870 0025A7B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025D874 0025A7B4 7C 08 03 A6 */ mtlr r0 -/* 8025D878 0025A7B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025D87C 0025A7BC 4E 80 00 20 */ blr - -.global createItem__Q34Game6Kogane3ObjFv -createItem__Q34Game6Kogane3ObjFv: -/* 8025D880 0025A7C0 4E 80 00 20 */ blr - -.global createPressSESpecial__Q34Game6Kogane3ObjFv -createPressSESpecial__Q34Game6Kogane3ObjFv: -/* 8025D884 0025A7C4 4E 80 00 20 */ blr - -.global cleanup__Q34Game6Kogane10StatePressFPQ24Game9EnemyBase -cleanup__Q34Game6Kogane10StatePressFPQ24Game9EnemyBase: -/* 8025D888 0025A7C8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025D88C 0025A7CC 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8025D890 0025A7D0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8025D894 0025A7D4 4E 80 00 20 */ blr - -.global __ct__Q34Game6Kogane3MgrFiUc -__ct__Q34Game6Kogane3MgrFiUc: -/* 8025D898 0025A7D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025D89C 0025A7DC 7C 08 02 A6 */ mflr r0 -/* 8025D8A0 0025A7E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025D8A4 0025A7E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025D8A8 0025A7E8 7C 7F 1B 78 */ mr r31, r3 -/* 8025D8AC 0025A7EC 4B ED 13 E9 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8025D8B0 0025A7F0 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3Mgr@ha -/* 8025D8B4 0025A7F4 3C 80 80 48 */ lis r4, lbl_80485390@ha -/* 8025D8B8 0025A7F8 38 A3 2F C0 */ addi r5, r3, __vt__Q34Game6Kogane3Mgr@l -/* 8025D8BC 0025A7FC 7F E3 FB 78 */ mr r3, r31 -/* 8025D8C0 0025A800 90 BF 00 00 */ stw r5, 0(r31) -/* 8025D8C4 0025A804 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8025D8C8 0025A808 38 04 53 90 */ addi r0, r4, lbl_80485390@l -/* 8025D8CC 0025A80C 90 BF 00 04 */ stw r5, 4(r31) -/* 8025D8D0 0025A810 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8025D8D4 0025A814 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025D8D8 0025A818 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025D8DC 0025A81C 7C 08 03 A6 */ mtlr r0 -/* 8025D8E0 0025A820 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025D8E4 0025A824 4E 80 00 20 */ blr - -.global loadModelData__Q34Game6Kogane3MgrFv -loadModelData__Q34Game6Kogane3MgrFv: -/* 8025D8E8 0025A828 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025D8EC 0025A82C 7C 08 02 A6 */ mflr r0 -/* 8025D8F0 0025A830 3C 80 80 48 */ lis r4, lbl_804853A4@ha -/* 8025D8F4 0025A834 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025D8F8 0025A838 38 A4 53 A4 */ addi r5, r4, lbl_804853A4@l -/* 8025D8FC 0025A83C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025D900 0025A840 7C 7F 1B 78 */ mr r31, r3 -/* 8025D904 0025A844 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8025D908 0025A848 3B C1 00 08 */ addi r30, r1, 8 -/* 8025D90C 0025A84C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8025D910 0025A850 3B A0 00 00 */ li r29, 0 -/* 8025D914 0025A854 80 85 00 00 */ lwz r4, 0(r5) -/* 8025D918 0025A858 80 65 00 04 */ lwz r3, 4(r5) -/* 8025D91C 0025A85C 80 05 00 08 */ lwz r0, 8(r5) -/* 8025D920 0025A860 90 81 00 08 */ stw r4, 8(r1) -/* 8025D924 0025A864 90 61 00 0C */ stw r3, 0xc(r1) -/* 8025D928 0025A868 90 01 00 10 */ stw r0, 0x10(r1) -lbl_8025D92C: -/* 8025D92C 0025A86C 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 8025D930 0025A870 80 9E 00 00 */ lwz r4, 0(r30) -/* 8025D934 0025A874 4B EB 03 71 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi -/* 8025D938 0025A878 28 03 00 00 */ cmplwi r3, 0 -/* 8025D93C 0025A87C 41 82 00 24 */ beq lbl_8025D960 -/* 8025D940 0025A880 81 83 00 00 */ lwz r12, 0(r3) -/* 8025D944 0025A884 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8025D948 0025A888 7D 89 03 A6 */ mtctr r12 -/* 8025D94C 0025A88C 4E 80 04 21 */ bctrl -/* 8025D950 0025A890 28 03 00 00 */ cmplwi r3, 0 -/* 8025D954 0025A894 41 82 00 0C */ beq lbl_8025D960 -/* 8025D958 0025A898 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 8025D95C 0025A89C 48 00 00 58 */ b lbl_8025D9B4 -lbl_8025D960: -/* 8025D960 0025A8A0 3B BD 00 01 */ addi r29, r29, 1 -/* 8025D964 0025A8A4 3B DE 00 04 */ addi r30, r30, 4 -/* 8025D968 0025A8A8 2C 1D 00 03 */ cmpwi r29, 3 -/* 8025D96C 0025A8AC 41 80 FF C0 */ blt lbl_8025D92C -/* 8025D970 0025A8B0 7F E3 FB 78 */ mr r3, r31 -/* 8025D974 0025A8B4 4B ED 27 99 */ bl loadModelData__Q24Game12EnemyMgrBaseFv -/* 8025D978 0025A8B8 38 A0 00 00 */ li r5, 0 -/* 8025D97C 0025A8BC 48 00 00 24 */ b lbl_8025D9A0 -lbl_8025D980: -/* 8025D980 0025A8C0 80 64 00 80 */ lwz r3, 0x80(r4) -/* 8025D984 0025A8C4 54 A0 13 BA */ rlwinm r0, r5, 2, 0xe, 0x1d -/* 8025D988 0025A8C8 38 A5 00 01 */ addi r5, r5, 1 -/* 8025D98C 0025A8CC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8025D990 0025A8D0 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8025D994 0025A8D4 54 00 05 1E */ rlwinm r0, r0, 0, 0x14, 0xf -/* 8025D998 0025A8D8 60 00 20 00 */ ori r0, r0, 0x2000 -/* 8025D99C 0025A8DC 90 03 00 0C */ stw r0, 0xc(r3) -lbl_8025D9A0: -/* 8025D9A0 0025A8E0 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 8025D9A4 0025A8E4 54 A0 04 3E */ clrlwi r0, r5, 0x10 -/* 8025D9A8 0025A8E8 A0 64 00 7C */ lhz r3, 0x7c(r4) -/* 8025D9AC 0025A8EC 7C 00 18 40 */ cmplw r0, r3 -/* 8025D9B0 0025A8F0 41 80 FF D0 */ blt lbl_8025D980 -lbl_8025D9B4: -/* 8025D9B4 0025A8F4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025D9B8 0025A8F8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8025D9BC 0025A8FC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025D9C0 0025A900 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8025D9C4 0025A904 7C 08 03 A6 */ mtlr r0 -/* 8025D9C8 0025A908 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025D9CC 0025A90C 4E 80 00 20 */ blr - -.global loadAnimData__Q34Game6Kogane3MgrFv -loadAnimData__Q34Game6Kogane3MgrFv: -/* 8025D9D0 0025A910 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025D9D4 0025A914 7C 08 02 A6 */ mflr r0 -/* 8025D9D8 0025A918 3C 80 80 48 */ lis r4, lbl_804853B0@ha -/* 8025D9DC 0025A91C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025D9E0 0025A920 38 A4 53 B0 */ addi r5, r4, lbl_804853B0@l -/* 8025D9E4 0025A924 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025D9E8 0025A928 3B E1 00 08 */ addi r31, r1, 8 -/* 8025D9EC 0025A92C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8025D9F0 0025A930 3B C0 00 00 */ li r30, 0 -/* 8025D9F4 0025A934 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8025D9F8 0025A938 7C 7D 1B 78 */ mr r29, r3 -/* 8025D9FC 0025A93C 80 85 00 00 */ lwz r4, 0(r5) -/* 8025DA00 0025A940 80 65 00 04 */ lwz r3, 4(r5) -/* 8025DA04 0025A944 80 05 00 08 */ lwz r0, 8(r5) -/* 8025DA08 0025A948 90 81 00 08 */ stw r4, 8(r1) -/* 8025DA0C 0025A94C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8025DA10 0025A950 90 01 00 10 */ stw r0, 0x10(r1) -lbl_8025DA14: -/* 8025DA14 0025A954 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 8025DA18 0025A958 80 9F 00 00 */ lwz r4, 0(r31) -/* 8025DA1C 0025A95C 4B EB 02 89 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi -/* 8025DA20 0025A960 28 03 00 00 */ cmplwi r3, 0 -/* 8025DA24 0025A964 41 82 00 18 */ beq lbl_8025DA3C -/* 8025DA28 0025A968 80 03 00 20 */ lwz r0, 0x20(r3) -/* 8025DA2C 0025A96C 28 00 00 00 */ cmplwi r0, 0 -/* 8025DA30 0025A970 41 82 00 0C */ beq lbl_8025DA3C -/* 8025DA34 0025A974 90 1D 00 20 */ stw r0, 0x20(r29) -/* 8025DA38 0025A978 48 00 00 1C */ b lbl_8025DA54 -lbl_8025DA3C: -/* 8025DA3C 0025A97C 3B DE 00 01 */ addi r30, r30, 1 -/* 8025DA40 0025A980 3B FF 00 04 */ addi r31, r31, 4 -/* 8025DA44 0025A984 2C 1E 00 03 */ cmpwi r30, 3 -/* 8025DA48 0025A988 41 80 FF CC */ blt lbl_8025DA14 -/* 8025DA4C 0025A98C 7F A3 EB 78 */ mr r3, r29 -/* 8025DA50 0025A990 4B ED 27 7D */ bl loadAnimData__Q24Game12EnemyMgrBaseFv -lbl_8025DA54: -/* 8025DA54 0025A994 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025DA58 0025A998 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8025DA5C 0025A99C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8025DA60 0025A9A0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8025DA64 0025A9A4 7C 08 03 A6 */ mtlr r0 -/* 8025DA68 0025A9A8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025DA6C 0025A9AC 4E 80 00 20 */ blr - -.global createModel__Q34Game6Kogane3MgrFv -createModel__Q34Game6Kogane3MgrFv: -/* 8025DA70 0025A9B0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8025DA74 0025A9B4 7C 08 02 A6 */ mflr r0 -/* 8025DA78 0025A9B8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8025DA7C 0025A9BC 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025DA80 0025A9C0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8025DA84 0025A9C4 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8025DA88 0025A9C8 7C 7D 1B 78 */ mr r29, r3 -/* 8025DA8C 0025A9CC 38 60 00 14 */ li r3, 0x14 -/* 8025DA90 0025A9D0 4B DC 64 15 */ bl __nw__FUl -/* 8025DA94 0025A9D4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8025DA98 0025A9D8 41 82 00 18 */ beq lbl_8025DAB0 -/* 8025DA9C 0025A9DC 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 8025DAA0 0025A9E0 3C A0 00 08 */ lis r5, 8 -/* 8025DAA4 0025A9E4 88 DD 00 24 */ lbz r6, 0x24(r29) -/* 8025DAA8 0025A9E8 48 1E 07 31 */ bl __ct__Q28SysShape5ModelFP12J3DModelDataUlUl -/* 8025DAAC 0025A9EC 7C 7F 1B 78 */ mr r31, r3 -lbl_8025DAB0: -/* 8025DAB0 0025A9F0 28 1F 00 00 */ cmplwi r31, 0 -/* 8025DAB4 0025A9F4 40 82 00 20 */ bne lbl_8025DAD4 -/* 8025DAB8 0025A9F8 3C 60 80 48 */ lis r3, lbl_804853BC@ha -/* 8025DABC 0025A9FC 3C A0 80 48 */ lis r5, lbl_804853CC@ha -/* 8025DAC0 0025AA00 38 63 53 BC */ addi r3, r3, lbl_804853BC@l -/* 8025DAC4 0025AA04 38 80 00 94 */ li r4, 0x94 -/* 8025DAC8 0025AA08 38 A5 53 CC */ addi r5, r5, lbl_804853CC@l -/* 8025DACC 0025AA0C 4C C6 31 82 */ crclr 6 -/* 8025DAD0 0025AA10 4B DC CB 71 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8025DAD4: -/* 8025DAD4 0025AA14 3B C0 00 00 */ li r30, 0 -/* 8025DAD8 0025AA18 48 00 00 40 */ b lbl_8025DB18 -lbl_8025DADC: -/* 8025DADC 0025AA1C 80 64 00 64 */ lwz r3, 0x64(r4) -/* 8025DAE0 0025AA20 7F C4 F3 78 */ mr r4, r30 -/* 8025DAE4 0025AA24 4B DD 13 39 */ bl getName__10JUTNameTabCFUs -/* 8025DAE8 0025AA28 38 82 C8 C0 */ addi r4, r2, lbl_8051AC20@sda21 -/* 8025DAEC 0025AA2C 4B E6 CB D5 */ bl strcmp -/* 8025DAF0 0025AA30 2C 03 00 00 */ cmpwi r3, 0 -/* 8025DAF4 0025AA34 40 82 00 20 */ bne lbl_8025DB14 -/* 8025DAF8 0025AA38 80 9F 00 08 */ lwz r4, 8(r31) -/* 8025DAFC 0025AA3C 57 C3 32 B2 */ rlwinm r3, r30, 6, 0xa, 0x19 -/* 8025DB00 0025AA40 38 03 00 2C */ addi r0, r3, 0x2c -/* 8025DB04 0025AA44 80 64 00 C0 */ lwz r3, 0xc0(r4) -/* 8025DB08 0025AA48 3C 80 05 02 */ lis r4, 0x502 -/* 8025DB0C 0025AA4C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8025DB10 0025AA50 4B E0 27 C9 */ bl newDifferedDisplayList__14J3DShapePacketFUl -lbl_8025DB14: -/* 8025DB14 0025AA54 3B DE 00 01 */ addi r30, r30, 1 -lbl_8025DB18: -/* 8025DB18 0025AA58 80 9D 00 1C */ lwz r4, 0x1c(r29) -/* 8025DB1C 0025AA5C 57 C0 04 3E */ clrlwi r0, r30, 0x10 -/* 8025DB20 0025AA60 A0 64 00 5C */ lhz r3, 0x5c(r4) -/* 8025DB24 0025AA64 7C 00 18 40 */ cmplw r0, r3 -/* 8025DB28 0025AA68 41 80 FF B4 */ blt lbl_8025DADC -/* 8025DB2C 0025AA6C 38 61 00 08 */ addi r3, r1, 8 -/* 8025DB30 0025AA70 4B E8 C7 71 */ bl PSMTXIdentity -/* 8025DB34 0025AA74 3C 80 80 51 */ lis r4, j3dSys@ha -/* 8025DB38 0025AA78 38 61 00 08 */ addi r3, r1, 8 -/* 8025DB3C 0025AA7C 38 84 F2 30 */ addi r4, r4, j3dSys@l -/* 8025DB40 0025AA80 4B E8 C7 8D */ bl PSMTXCopy -/* 8025DB44 0025AA84 83 DF 00 08 */ lwz r30, 8(r31) -/* 8025DB48 0025AA88 7F C3 F3 78 */ mr r3, r30 -/* 8025DB4C 0025AA8C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025DB50 0025AA90 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8025DB54 0025AA94 7D 89 03 A6 */ mtctr r12 -/* 8025DB58 0025AA98 4E 80 04 21 */ bctrl -/* 8025DB5C 0025AA9C 7F C3 F3 78 */ mr r3, r30 -/* 8025DB60 0025AAA0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025DB64 0025AAA4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8025DB68 0025AAA8 7D 89 03 A6 */ mtctr r12 -/* 8025DB6C 0025AAAC 4E 80 04 21 */ bctrl -/* 8025DB70 0025AAB0 7F C3 F3 78 */ mr r3, r30 -/* 8025DB74 0025AAB4 4B E0 8D B1 */ bl makeDL__8J3DModelFv -/* 8025DB78 0025AAB8 7F C3 F3 78 */ mr r3, r30 -/* 8025DB7C 0025AABC 4B E0 8C 79 */ bl lock__8J3DModelFv -/* 8025DB80 0025AAC0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025DB84 0025AAC4 7F E3 FB 78 */ mr r3, r31 -/* 8025DB88 0025AAC8 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8025DB8C 0025AACC 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8025DB90 0025AAD0 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8025DB94 0025AAD4 7C 08 03 A6 */ mtlr r0 -/* 8025DB98 0025AAD8 38 21 00 50 */ addi r1, r1, 0x50 -/* 8025DB9C 0025AADC 4E 80 00 20 */ blr - -.global __dt__Q34Game6Kogane3MgrFv -__dt__Q34Game6Kogane3MgrFv: -/* 8025DBA0 0025AAE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DBA4 0025AAE4 7C 08 02 A6 */ mflr r0 -/* 8025DBA8 0025AAE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DBAC 0025AAEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025DBB0 0025AAF0 7C 9F 23 78 */ mr r31, r4 -/* 8025DBB4 0025AAF4 93 C1 00 08 */ stw r30, 8(r1) -/* 8025DBB8 0025AAF8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8025DBBC 0025AAFC 41 82 00 78 */ beq lbl_8025DC34 -/* 8025DBC0 0025AB00 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3Mgr@ha -/* 8025DBC4 0025AB04 38 63 2F C0 */ addi r3, r3, __vt__Q34Game6Kogane3Mgr@l -/* 8025DBC8 0025AB08 90 7E 00 00 */ stw r3, 0(r30) -/* 8025DBCC 0025AB0C 38 03 00 38 */ addi r0, r3, 0x38 -/* 8025DBD0 0025AB10 90 1E 00 04 */ stw r0, 4(r30) -/* 8025DBD4 0025AB14 41 82 00 50 */ beq lbl_8025DC24 -/* 8025DBD8 0025AB18 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8025DBDC 0025AB1C 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8025DBE0 0025AB20 90 7E 00 00 */ stw r3, 0(r30) -/* 8025DBE4 0025AB24 38 03 00 38 */ addi r0, r3, 0x38 -/* 8025DBE8 0025AB28 90 1E 00 04 */ stw r0, 4(r30) -/* 8025DBEC 0025AB2C 41 82 00 38 */ beq lbl_8025DC24 -/* 8025DBF0 0025AB30 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8025DBF4 0025AB34 34 1E 00 04 */ addic. r0, r30, 4 -/* 8025DBF8 0025AB38 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8025DBFC 0025AB3C 90 7E 00 00 */ stw r3, 0(r30) -/* 8025DC00 0025AB40 38 03 00 38 */ addi r0, r3, 0x38 -/* 8025DC04 0025AB44 90 1E 00 04 */ stw r0, 4(r30) -/* 8025DC08 0025AB48 41 82 00 1C */ beq lbl_8025DC24 -/* 8025DC0C 0025AB4C 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8025DC10 0025AB50 38 7E 00 04 */ addi r3, r30, 4 -/* 8025DC14 0025AB54 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8025DC18 0025AB58 38 80 00 00 */ li r4, 0 -/* 8025DC1C 0025AB5C 90 1E 00 04 */ stw r0, 4(r30) -/* 8025DC20 0025AB60 48 1B 39 69 */ bl __dt__5CNodeFv -lbl_8025DC24: -/* 8025DC24 0025AB64 7F E0 07 35 */ extsh. r0, r31 -/* 8025DC28 0025AB68 40 81 00 0C */ ble lbl_8025DC34 -/* 8025DC2C 0025AB6C 7F C3 F3 78 */ mr r3, r30 -/* 8025DC30 0025AB70 4B DC 64 85 */ bl __dl__FPv -lbl_8025DC34: -/* 8025DC34 0025AB74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DC38 0025AB78 7F C3 F3 78 */ mr r3, r30 -/* 8025DC3C 0025AB7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025DC40 0025AB80 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025DC44 0025AB84 7C 08 03 A6 */ mtlr r0 -/* 8025DC48 0025AB88 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DC4C 0025AB8C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game6Kogane3MgrFv -getEnemyTypeID__Q34Game6Kogane3MgrFv: -/* 8025DC50 0025AB90 38 60 00 09 */ li r3, 9 -/* 8025DC54 0025AB94 4E 80 00 20 */ blr - -.global doLoadBmd__Q34Game6Kogane3MgrFPv -doLoadBmd__Q34Game6Kogane3MgrFPv: -/* 8025DC58 0025AB98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DC5C 0025AB9C 7C 08 02 A6 */ mflr r0 -/* 8025DC60 0025ABA0 3C A0 00 24 */ lis r5, 0x00240030@ha -/* 8025DC64 0025ABA4 7C 83 23 78 */ mr r3, r4 -/* 8025DC68 0025ABA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DC6C 0025ABAC 38 85 00 30 */ addi r4, r5, 0x00240030@l -/* 8025DC70 0025ABB0 4B E1 1C 25 */ bl load__22J3DModelLoaderDataBaseFPCvUl -/* 8025DC74 0025ABB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DC78 0025ABB8 7C 08 03 A6 */ mtlr r0 -/* 8025DC7C 0025ABBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DC80 0025ABC0 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game6Kogane3MgrFv -$$24$$2__dt__Q34Game6Kogane3MgrFv: -/* 8025DC84 0025ABC4 38 63 FF FC */ addi r3, r3, -4 -/* 8025DC88 0025ABC8 4B FF FF 18 */ b __dt__Q34Game6Kogane3MgrFv - -.global __ct__Q34Game6Kogane3ObjFv -__ct__Q34Game6Kogane3ObjFv: -/* 8025DC8C 0025ABCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DC90 0025ABD0 7C 08 02 A6 */ mflr r0 -/* 8025DC94 0025ABD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DC98 0025ABD8 7C 80 07 35 */ extsh. r0, r4 -/* 8025DC9C 0025ABDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025DCA0 0025ABE0 7C 7F 1B 78 */ mr r31, r3 -/* 8025DCA4 0025ABE4 93 C1 00 08 */ stw r30, 8(r1) -/* 8025DCA8 0025ABE8 41 82 00 24 */ beq lbl_8025DCCC -/* 8025DCAC 0025ABEC 38 1F 02 DC */ addi r0, r31, 0x2dc -/* 8025DCB0 0025ABF0 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8025DCB4 0025ABF4 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8025DCB8 0025ABF8 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8025DCBC 0025ABFC 38 00 00 00 */ li r0, 0 -/* 8025DCC0 0025AC00 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 8025DCC4 0025AC04 90 1F 02 E0 */ stw r0, 0x2e0(r31) -/* 8025DCC8 0025AC08 90 1F 02 E4 */ stw r0, 0x2e4(r31) -lbl_8025DCCC: -/* 8025DCCC 0025AC0C 7F E3 FB 78 */ mr r3, r31 -/* 8025DCD0 0025AC10 38 80 00 00 */ li r4, 0 -/* 8025DCD4 0025AC14 4B EA 36 CD */ bl __ct__Q24Game9EnemyBaseFv -/* 8025DCD8 0025AC18 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3Obj@ha -/* 8025DCDC 0025AC1C 38 1F 02 DC */ addi r0, r31, 0x2dc -/* 8025DCE0 0025AC20 38 A3 30 A8 */ addi r5, r3, __vt__Q34Game6Kogane3Obj@l -/* 8025DCE4 0025AC24 38 60 00 2C */ li r3, 0x2c -/* 8025DCE8 0025AC28 90 BF 00 00 */ stw r5, 0(r31) -/* 8025DCEC 0025AC2C 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8025DCF0 0025AC30 38 A5 03 20 */ addi r5, r5, 0x320 -/* 8025DCF4 0025AC34 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8025DCF8 0025AC38 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8025DCFC 0025AC3C 90 A4 00 00 */ stw r5, 0(r4) -/* 8025DD00 0025AC40 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8025DD04 0025AC44 7C 04 00 50 */ subf r0, r4, r0 -/* 8025DD08 0025AC48 90 04 00 0C */ stw r0, 0xc(r4) -/* 8025DD0C 0025AC4C 4B DC 61 99 */ bl __nw__FUl -/* 8025DD10 0025AC50 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8025DD14 0025AC54 41 82 00 44 */ beq lbl_8025DD58 -/* 8025DD18 0025AC58 4B EC 9C 5D */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8025DD1C 0025AC5C 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane14ProperAnimator@ha -/* 8025DD20 0025AC60 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8025DD24 0025AC64 38 03 33 F8 */ addi r0, r3, __vt__Q34Game6Kogane14ProperAnimator@l -/* 8025DD28 0025AC68 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8025DD2C 0025AC6C 90 1E 00 00 */ stw r0, 0(r30) -/* 8025DD30 0025AC70 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8025DD34 0025AC74 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8025DD38 0025AC78 38 00 00 00 */ li r0, 0 -/* 8025DD3C 0025AC7C 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8025DD40 0025AC80 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8025DD44 0025AC84 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8025DD48 0025AC88 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8025DD4C 0025AC8C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8025DD50 0025AC90 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8025DD54 0025AC94 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8025DD58: -/* 8025DD58 0025AC98 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8025DD5C 0025AC9C 38 60 00 1C */ li r3, 0x1c -/* 8025DD60 0025ACA0 4B DC 61 45 */ bl __nw__FUl -/* 8025DD64 0025ACA4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025DD68 0025ACA8 41 82 00 24 */ beq lbl_8025DD8C -/* 8025DD6C 0025ACAC 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8025DD70 0025ACB0 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3FSM@ha -/* 8025DD74 0025ACB4 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8025DD78 0025ACB8 38 A0 FF FF */ li r5, -1 -/* 8025DD7C 0025ACBC 90 04 00 00 */ stw r0, 0(r4) -/* 8025DD80 0025ACC0 38 03 2F 98 */ addi r0, r3, __vt__Q34Game6Kogane3FSM@l -/* 8025DD84 0025ACC4 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8025DD88 0025ACC8 90 04 00 00 */ stw r0, 0(r4) -lbl_8025DD8C: -/* 8025DD8C 0025ACCC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025DD90 0025ACD0 7F E3 FB 78 */ mr r3, r31 -/* 8025DD94 0025ACD4 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8025DD98 0025ACD8 7D 89 03 A6 */ mtctr r12 -/* 8025DD9C 0025ACDC 4E 80 04 21 */ bctrl -/* 8025DDA0 0025ACE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DDA4 0025ACE4 7F E3 FB 78 */ mr r3, r31 -/* 8025DDA8 0025ACE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025DDAC 0025ACEC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025DDB0 0025ACF0 7C 08 03 A6 */ mtlr r0 -/* 8025DDB4 0025ACF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DDB8 0025ACF8 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game6Kogane3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game6Kogane3ObjFPQ24Game21EnemyInitialParamBase: -/* 8025DDBC 0025ACFC 4E 80 00 20 */ blr - -.global onInit__Q34Game6Kogane3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game6Kogane3ObjFPQ24Game15CreatureInitArg: -/* 8025DDC0 0025AD00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DDC4 0025AD04 7C 08 02 A6 */ mflr r0 -/* 8025DDC8 0025AD08 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DDCC 0025AD0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025DDD0 0025AD10 7C 7F 1B 78 */ mr r31, r3 -/* 8025DDD4 0025AD14 4B EA 3C 85 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8025DDD8 0025AD18 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025DDDC 0025AD1C 7F E3 FB 78 */ mr r3, r31 -/* 8025DDE0 0025AD20 60 00 00 01 */ ori r0, r0, 1 -/* 8025DDE4 0025AD24 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025DDE8 0025AD28 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025DDEC 0025AD2C 54 00 06 6E */ rlwinm r0, r0, 0, 0x19, 0x17 -/* 8025DDF0 0025AD30 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025DDF4 0025AD34 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025DDF8 0025AD38 54 00 06 2C */ rlwinm r0, r0, 0, 0x18, 0x16 -/* 8025DDFC 0025AD3C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025DE00 0025AD40 4B EA 3C 09 */ bl setEmotionNone__Q24Game9EnemyBaseFv -/* 8025DE04 0025AD44 C0 02 C8 C8 */ lfs f0, lbl_8051AC28@sda21(r2) -/* 8025DE08 0025AD48 D0 1F 01 F8 */ stfs f0, 0x1f8(r31) -/* 8025DE0C 0025AD4C D0 1F 01 68 */ stfs f0, 0x168(r31) -/* 8025DE10 0025AD50 D0 1F 01 6C */ stfs f0, 0x16c(r31) -/* 8025DE14 0025AD54 D0 1F 01 70 */ stfs f0, 0x170(r31) -/* 8025DE18 0025AD58 80 7F 01 14 */ lwz r3, 0x114(r31) -/* 8025DE1C 0025AD5C C0 3F 01 F8 */ lfs f1, 0x1f8(r31) -/* 8025DE20 0025AD60 80 63 00 00 */ lwz r3, 0(r3) -/* 8025DE24 0025AD64 4B ED 9F E9 */ bl setScale__8CollPartFf -/* 8025DE28 0025AD68 38 00 00 00 */ li r0, 0 -/* 8025DE2C 0025AD6C 7F E3 FB 78 */ mr r3, r31 -/* 8025DE30 0025AD70 90 1F 02 C0 */ stw r0, 0x2c0(r31) -/* 8025DE34 0025AD74 48 00 09 A1 */ bl resetAppearTimer__Q34Game6Kogane3ObjFv -/* 8025DE38 0025AD78 C0 22 C8 CC */ lfs f1, lbl_8051AC2C@sda21(r2) -/* 8025DE3C 0025AD7C 7F E3 FB 78 */ mr r3, r31 -/* 8025DE40 0025AD80 FC 40 08 90 */ fmr f2, f1 -/* 8025DE44 0025AD84 48 00 0A 89 */ bl resetMoveTimer__Q34Game6Kogane3ObjFff -/* 8025DE48 0025AD88 C0 02 C8 C8 */ lfs f0, lbl_8051AC28@sda21(r2) -/* 8025DE4C 0025AD8C 7F E3 FB 78 */ mr r3, r31 -/* 8025DE50 0025AD90 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 8025DE54 0025AD94 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025DE58 0025AD98 81 8C 03 00 */ lwz r12, 0x300(r12) -/* 8025DE5C 0025AD9C 7D 89 03 A6 */ mtctr r12 -/* 8025DE60 0025ADA0 4E 80 04 21 */ bctrl -/* 8025DE64 0025ADA4 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8025DE68 0025ADA8 7F E4 FB 78 */ mr r4, r31 -/* 8025DE6C 0025ADAC 38 A0 00 00 */ li r5, 0 -/* 8025DE70 0025ADB0 38 C0 00 00 */ li r6, 0 -/* 8025DE74 0025ADB4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025DE78 0025ADB8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025DE7C 0025ADBC 7D 89 03 A6 */ mtctr r12 -/* 8025DE80 0025ADC0 4E 80 04 21 */ bctrl -/* 8025DE84 0025ADC4 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 8025DE88 0025ADC8 28 03 00 00 */ cmplwi r3, 0 -/* 8025DE8C 0025ADCC 41 82 00 3C */ beq lbl_8025DEC8 -/* 8025DE90 0025ADD0 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8025DE94 0025ADD4 2C 00 00 04 */ cmpwi r0, 4 -/* 8025DE98 0025ADD8 40 82 00 30 */ bne lbl_8025DEC8 -/* 8025DE9C 0025ADDC C0 02 C8 D0 */ lfs f0, lbl_8051AC30@sda21(r2) -/* 8025DEA0 0025ADE0 7F E4 FB 78 */ mr r4, r31 -/* 8025DEA4 0025ADE4 38 A0 00 02 */ li r5, 2 -/* 8025DEA8 0025ADE8 38 C0 00 00 */ li r6, 0 -/* 8025DEAC 0025ADEC D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8025DEB0 0025ADF0 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8025DEB4 0025ADF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025DEB8 0025ADF8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8025DEBC 0025ADFC 7D 89 03 A6 */ mtctr r12 -/* 8025DEC0 0025AE00 4E 80 04 21 */ bctrl -/* 8025DEC4 0025AE04 48 00 00 18 */ b lbl_8025DEDC -lbl_8025DEC8: -/* 8025DEC8 0025AE08 7F E3 FB 78 */ mr r3, r31 -/* 8025DECC 0025AE0C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025DED0 0025AE10 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 8025DED4 0025AE14 7D 89 03 A6 */ mtctr r12 -/* 8025DED8 0025AE18 4E 80 04 21 */ bctrl -lbl_8025DEDC: -/* 8025DEDC 0025AE1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DEE0 0025AE20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025DEE4 0025AE24 7C 08 03 A6 */ mtlr r0 -/* 8025DEE8 0025AE28 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DEEC 0025AE2C 4E 80 00 20 */ blr - -.global resetFartTimer__Q34Game6Kogane3ObjFv -resetFartTimer__Q34Game6Kogane3ObjFv: -/* 8025DEF0 0025AE30 4E 80 00 20 */ blr - -.global onKill__Q34Game6Kogane3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game6Kogane3ObjFPQ24Game15CreatureKillArg: -/* 8025DEF4 0025AE34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DEF8 0025AE38 7C 08 02 A6 */ mflr r0 -/* 8025DEFC 0025AE3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DF00 0025AE40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025DF04 0025AE44 7C 9F 23 78 */ mr r31, r4 -/* 8025DF08 0025AE48 93 C1 00 08 */ stw r30, 8(r1) -/* 8025DF0C 0025AE4C 7C 7E 1B 78 */ mr r30, r3 -/* 8025DF10 0025AE50 81 83 00 00 */ lwz r12, 0(r3) -/* 8025DF14 0025AE54 81 8C 03 08 */ lwz r12, 0x308(r12) -/* 8025DF18 0025AE58 7D 89 03 A6 */ mtctr r12 -/* 8025DF1C 0025AE5C 4E 80 04 21 */ bctrl -/* 8025DF20 0025AE60 7F C3 F3 78 */ mr r3, r30 -/* 8025DF24 0025AE64 7F E4 FB 78 */ mr r4, r31 -/* 8025DF28 0025AE68 4B EA 3F C1 */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 8025DF2C 0025AE6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DF30 0025AE70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025DF34 0025AE74 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025DF38 0025AE78 7C 08 03 A6 */ mtlr r0 -/* 8025DF3C 0025AE7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DF40 0025AE80 4E 80 00 20 */ blr - -.global doUpdate__Q34Game6Kogane3ObjFv -doUpdate__Q34Game6Kogane3ObjFv: -/* 8025DF44 0025AE84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DF48 0025AE88 7C 08 02 A6 */ mflr r0 -/* 8025DF4C 0025AE8C 7C 64 1B 78 */ mr r4, r3 -/* 8025DF50 0025AE90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DF54 0025AE94 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8025DF58 0025AE98 81 83 00 00 */ lwz r12, 0(r3) -/* 8025DF5C 0025AE9C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8025DF60 0025AEA0 7D 89 03 A6 */ mtctr r12 -/* 8025DF64 0025AEA4 4E 80 04 21 */ bctrl -/* 8025DF68 0025AEA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DF6C 0025AEAC 7C 08 03 A6 */ mtlr r0 -/* 8025DF70 0025AEB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DF74 0025AEB4 4E 80 00 20 */ blr - -.global doUpdateCommon__Q34Game6Kogane3ObjFv -doUpdateCommon__Q34Game6Kogane3ObjFv: -/* 8025DF78 0025AEB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DF7C 0025AEBC 7C 08 02 A6 */ mflr r0 -/* 8025DF80 0025AEC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DF84 0025AEC4 4B EA 4F 91 */ bl doUpdateCommon__Q24Game9EnemyBaseFv -/* 8025DF88 0025AEC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DF8C 0025AECC 7C 08 03 A6 */ mtlr r0 -/* 8025DF90 0025AED0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DF94 0025AED4 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game6Kogane3ObjFR8Graphics -doDirectDraw__Q34Game6Kogane3ObjFR8Graphics: -/* 8025DF98 0025AED8 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game6Kogane3ObjFR8Graphics -doDebugDraw__Q34Game6Kogane3ObjFR8Graphics: -/* 8025DF9C 0025AEDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DFA0 0025AEE0 7C 08 02 A6 */ mflr r0 -/* 8025DFA4 0025AEE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DFA8 0025AEE8 4B EA 7E C5 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8025DFAC 0025AEEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DFB0 0025AEF0 7C 08 03 A6 */ mtlr r0 -/* 8025DFB4 0025AEF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025DFB8 0025AEF8 4E 80 00 20 */ blr - -.global setFSM__Q34Game6Kogane3ObjFPQ34Game6Kogane3FSM -setFSM__Q34Game6Kogane3ObjFPQ34Game6Kogane3FSM: -/* 8025DFBC 0025AEFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025DFC0 0025AF00 7C 08 02 A6 */ mflr r0 -/* 8025DFC4 0025AF04 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025DFC8 0025AF08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025DFCC 0025AF0C 7C 7F 1B 78 */ mr r31, r3 -/* 8025DFD0 0025AF10 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 8025DFD4 0025AF14 7F E4 FB 78 */ mr r4, r31 -/* 8025DFD8 0025AF18 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8025DFDC 0025AF1C 81 83 00 00 */ lwz r12, 0(r3) -/* 8025DFE0 0025AF20 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025DFE4 0025AF24 7D 89 03 A6 */ mtctr r12 -/* 8025DFE8 0025AF28 4E 80 04 21 */ bctrl -/* 8025DFEC 0025AF2C 38 00 00 00 */ li r0, 0 -/* 8025DFF0 0025AF30 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8025DFF4 0025AF34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025DFF8 0025AF38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025DFFC 0025AF3C 7C 08 03 A6 */ mtlr r0 -/* 8025E000 0025AF40 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E004 0025AF44 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game6Kogane3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game6Kogane3ObjFRQ24Game11ShadowParam: -/* 8025E008 0025AF48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025E00C 0025AF4C 7C 08 02 A6 */ mflr r0 -/* 8025E010 0025AF50 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025E014 0025AF54 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025E018 0025AF58 7C 9F 23 78 */ mr r31, r4 -/* 8025E01C 0025AF5C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025E020 0025AF60 7C 7E 1B 78 */ mr r30, r3 -/* 8025E024 0025AF64 7F C4 F3 78 */ mr r4, r30 -/* 8025E028 0025AF68 38 61 00 08 */ addi r3, r1, 8 -/* 8025E02C 0025AF6C 48 00 04 7D */ bl getBodyJointPos__Q34Game6Kogane3ObjFv -/* 8025E030 0025AF70 C0 01 00 08 */ lfs f0, 8(r1) -/* 8025E034 0025AF74 C0 62 C8 D4 */ lfs f3, lbl_8051AC34@sda21(r2) -/* 8025E038 0025AF78 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8025E03C 0025AF7C C0 22 C8 CC */ lfs f1, lbl_8051AC2C@sda21(r2) -/* 8025E040 0025AF80 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8025E044 0025AF84 C0 02 C8 D8 */ lfs f0, lbl_8051AC38@sda21(r2) -/* 8025E048 0025AF88 D0 5F 00 04 */ stfs f2, 4(r31) -/* 8025E04C 0025AF8C C0 42 C8 DC */ lfs f2, lbl_8051AC3C@sda21(r2) -/* 8025E050 0025AF90 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 8025E054 0025AF94 D0 9F 00 08 */ stfs f4, 8(r31) -/* 8025E058 0025AF98 C0 9F 00 04 */ lfs f4, 4(r31) -/* 8025E05C 0025AF9C EC 64 18 28 */ fsubs f3, f4, f3 -/* 8025E060 0025AFA0 D0 7F 00 04 */ stfs f3, 4(r31) -/* 8025E064 0025AFA4 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 8025E068 0025AFA8 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8025E06C 0025AFAC D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 8025E070 0025AFB0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8025E074 0025AFB4 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 8025E078 0025AFB8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8025E07C 0025AFBC EC 02 00 2A */ fadds f0, f2, f0 -/* 8025E080 0025AFC0 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8025E084 0025AFC4 C0 1E 02 CC */ lfs f0, 0x2cc(r30) -/* 8025E088 0025AFC8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8025E08C 0025AFCC D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8025E090 0025AFD0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025E094 0025AFD4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025E098 0025AFD8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025E09C 0025AFDC 7C 08 03 A6 */ mtlr r0 -/* 8025E0A0 0025AFE0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025E0A4 0025AFE4 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game6Kogane3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game6Kogane3ObjFPQ24Game8CreaturefP8CollPart: -/* 8025E0A8 0025AFE8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025E0AC 0025AFEC 7C 08 02 A6 */ mflr r0 -/* 8025E0B0 0025AFF0 28 04 00 00 */ cmplwi r4, 0 -/* 8025E0B4 0025AFF4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025E0B8 0025AFF8 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 8025E0BC 0025AFFC FF E0 08 90 */ fmr f31, f1 -/* 8025E0C0 0025B000 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8025E0C4 0025B004 7C 7F 1B 78 */ mr r31, r3 -/* 8025E0C8 0025B008 41 82 00 30 */ beq lbl_8025E0F8 -/* 8025E0CC 0025B00C 7C 83 23 78 */ mr r3, r4 -/* 8025E0D0 0025B010 81 84 00 00 */ lwz r12, 0(r4) -/* 8025E0D4 0025B014 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8025E0D8 0025B018 7D 89 03 A6 */ mtctr r12 -/* 8025E0DC 0025B01C 4E 80 04 21 */ bctrl -/* 8025E0E0 0025B020 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025E0E4 0025B024 41 82 00 14 */ beq lbl_8025E0F8 -/* 8025E0E8 0025B028 FC 20 F8 90 */ fmr f1, f31 -/* 8025E0EC 0025B02C 7F E3 FB 78 */ mr r3, r31 -/* 8025E0F0 0025B030 48 00 02 2D */ bl transitDamageState__Q34Game6Kogane3ObjFf -/* 8025E0F4 0025B034 48 00 00 08 */ b lbl_8025E0FC -lbl_8025E0F8: -/* 8025E0F8 0025B038 38 60 00 00 */ li r3, 0 -lbl_8025E0FC: -/* 8025E0FC 0025B03C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025E100 0025B040 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8025E104 0025B044 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8025E108 0025B048 7C 08 03 A6 */ mtlr r0 -/* 8025E10C 0025B04C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025E110 0025B050 4E 80 00 20 */ blr - -.global wallCallback__Q34Game6Kogane3ObjFRCQ24Game8MoveInfo -wallCallback__Q34Game6Kogane3ObjFRCQ24Game8MoveInfo: -/* 8025E114 0025B054 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025E118 0025B058 7C 08 02 A6 */ mflr r0 -/* 8025E11C 0025B05C C0 44 00 5C */ lfs f2, 0x5c(r4) -/* 8025E120 0025B060 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025E124 0025B064 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 8025E128 0025B068 C0 04 00 64 */ lfs f0, 0x64(r4) -/* 8025E12C 0025B06C 38 81 00 08 */ addi r4, r1, 8 -/* 8025E130 0025B070 D0 41 00 08 */ stfs f2, 8(r1) -/* 8025E134 0025B074 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025E138 0025B078 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8025E13C 0025B07C 48 00 04 ED */ bl setTargetPosition__Q34Game6Kogane3ObjFP10Vector3$$0f$$1 -/* 8025E140 0025B080 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025E144 0025B084 7C 08 03 A6 */ mtlr r0 -/* 8025E148 0025B088 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025E14C 0025B08C 4E 80 00 20 */ blr - -.global earthquakeCallBack__Q34Game6Kogane3ObjFPQ24Game8Creaturef -earthquakeCallBack__Q34Game6Kogane3ObjFPQ24Game8Creaturef: -/* 8025E150 0025B090 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E154 0025B094 7C 08 02 A6 */ mflr r0 -/* 8025E158 0025B098 28 04 00 00 */ cmplwi r4, 0 -/* 8025E15C 0025B09C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E160 0025B0A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E164 0025B0A4 7C 7F 1B 78 */ mr r31, r3 -/* 8025E168 0025B0A8 41 82 00 30 */ beq lbl_8025E198 -/* 8025E16C 0025B0AC 7C 83 23 78 */ mr r3, r4 -/* 8025E170 0025B0B0 81 84 00 00 */ lwz r12, 0(r4) -/* 8025E174 0025B0B4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8025E178 0025B0B8 7D 89 03 A6 */ mtctr r12 -/* 8025E17C 0025B0BC 4E 80 04 21 */ bctrl -/* 8025E180 0025B0C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025E184 0025B0C4 41 82 00 14 */ beq lbl_8025E198 -/* 8025E188 0025B0C8 C0 22 C8 CC */ lfs f1, lbl_8051AC2C@sda21(r2) -/* 8025E18C 0025B0CC 7F E3 FB 78 */ mr r3, r31 -/* 8025E190 0025B0D0 48 00 01 8D */ bl transitDamageState__Q34Game6Kogane3ObjFf -/* 8025E194 0025B0D4 48 00 00 08 */ b lbl_8025E19C -lbl_8025E198: -/* 8025E198 0025B0D8 38 60 00 00 */ li r3, 0 -lbl_8025E19C: -/* 8025E19C 0025B0DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E1A0 0025B0E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E1A4 0025B0E4 7C 08 03 A6 */ mtlr r0 -/* 8025E1A8 0025B0E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E1AC 0025B0EC 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game6Kogane3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game6Kogane3ObjFPQ24Game8CreaturefP8CollPart: -/* 8025E1B0 0025B0F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025E1B4 0025B0F4 7C 08 02 A6 */ mflr r0 -/* 8025E1B8 0025B0F8 28 04 00 00 */ cmplwi r4, 0 -/* 8025E1BC 0025B0FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025E1C0 0025B100 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 8025E1C4 0025B104 FF E0 08 90 */ fmr f31, f1 -/* 8025E1C8 0025B108 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8025E1CC 0025B10C 7C 7F 1B 78 */ mr r31, r3 -/* 8025E1D0 0025B110 41 82 00 30 */ beq lbl_8025E200 -/* 8025E1D4 0025B114 7C 83 23 78 */ mr r3, r4 -/* 8025E1D8 0025B118 81 84 00 00 */ lwz r12, 0(r4) -/* 8025E1DC 0025B11C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8025E1E0 0025B120 7D 89 03 A6 */ mtctr r12 -/* 8025E1E4 0025B124 4E 80 04 21 */ bctrl -/* 8025E1E8 0025B128 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025E1EC 0025B12C 41 82 00 14 */ beq lbl_8025E200 -/* 8025E1F0 0025B130 FC 20 F8 90 */ fmr f1, f31 -/* 8025E1F4 0025B134 7F E3 FB 78 */ mr r3, r31 -/* 8025E1F8 0025B138 48 00 01 25 */ bl transitDamageState__Q34Game6Kogane3ObjFf -/* 8025E1FC 0025B13C 48 00 00 08 */ b lbl_8025E204 -lbl_8025E200: -/* 8025E200 0025B140 38 60 00 00 */ li r3, 0 -lbl_8025E204: -/* 8025E204 0025B144 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025E208 0025B148 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8025E20C 0025B14C 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8025E210 0025B150 7C 08 03 A6 */ mtlr r0 -/* 8025E214 0025B154 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025E218 0025B158 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game6Kogane3ObjFv -doStartStoneState__Q34Game6Kogane3ObjFv: -/* 8025E21C 0025B15C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E220 0025B160 7C 08 02 A6 */ mflr r0 -/* 8025E224 0025B164 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E228 0025B168 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E22C 0025B16C 7C 7F 1B 78 */ mr r31, r3 -/* 8025E230 0025B170 4B EA 4C C5 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 8025E234 0025B174 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025E238 0025B178 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 8025E23C 0025B17C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025E240 0025B180 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025E244 0025B184 60 00 01 00 */ ori r0, r0, 0x100 -/* 8025E248 0025B188 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025E24C 0025B18C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025E250 0025B190 60 00 08 00 */ ori r0, r0, 0x800 -/* 8025E254 0025B194 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025E258 0025B198 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E25C 0025B19C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E260 0025B1A0 7C 08 03 A6 */ mtlr r0 -/* 8025E264 0025B1A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E268 0025B1A8 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game6Kogane3ObjFv -doFinishStoneState__Q34Game6Kogane3ObjFv: -/* 8025E26C 0025B1AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E270 0025B1B0 7C 08 02 A6 */ mflr r0 -/* 8025E274 0025B1B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E278 0025B1B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E27C 0025B1BC 7C 7F 1B 78 */ mr r31, r3 -/* 8025E280 0025B1C0 4B EA 4C 89 */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 8025E284 0025B1C4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025E288 0025B1C8 60 00 00 01 */ ori r0, r0, 1 -/* 8025E28C 0025B1CC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025E290 0025B1D0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025E294 0025B1D4 54 00 06 2C */ rlwinm r0, r0, 0, 0x18, 0x16 -/* 8025E298 0025B1D8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025E29C 0025B1DC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025E2A0 0025B1E0 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 8025E2A4 0025B1E4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025E2A8 0025B1E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E2AC 0025B1EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E2B0 0025B1F0 7C 08 03 A6 */ mtlr r0 -/* 8025E2B4 0025B1F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E2B8 0025B1F8 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game6Kogane3ObjFv -doStartMovie__Q34Game6Kogane3ObjFv: -/* 8025E2BC 0025B1FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E2C0 0025B200 7C 08 02 A6 */ mflr r0 -/* 8025E2C4 0025B204 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E2C8 0025B208 81 83 00 00 */ lwz r12, 0(r3) -/* 8025E2CC 0025B20C 81 8C 03 14 */ lwz r12, 0x314(r12) -/* 8025E2D0 0025B210 7D 89 03 A6 */ mtctr r12 -/* 8025E2D4 0025B214 4E 80 04 21 */ bctrl -/* 8025E2D8 0025B218 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E2DC 0025B21C 7C 08 03 A6 */ mtlr r0 -/* 8025E2E0 0025B220 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E2E4 0025B224 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game6Kogane3ObjFv -effectDrawOff__Q34Game6Kogane3ObjFv: -/* 8025E2E8 0025B228 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game6Kogane3ObjFv -doEndMovie__Q34Game6Kogane3ObjFv: -/* 8025E2EC 0025B22C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E2F0 0025B230 7C 08 02 A6 */ mflr r0 -/* 8025E2F4 0025B234 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E2F8 0025B238 81 83 00 00 */ lwz r12, 0(r3) -/* 8025E2FC 0025B23C 81 8C 03 10 */ lwz r12, 0x310(r12) -/* 8025E300 0025B240 7D 89 03 A6 */ mtctr r12 -/* 8025E304 0025B244 4E 80 04 21 */ bctrl -/* 8025E308 0025B248 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E30C 0025B24C 7C 08 03 A6 */ mtlr r0 -/* 8025E310 0025B250 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E314 0025B254 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game6Kogane3ObjFv -effectDrawOn__Q34Game6Kogane3ObjFv: -/* 8025E318 0025B258 4E 80 00 20 */ blr - -.global transitDamageState__Q34Game6Kogane3ObjFf -transitDamageState__Q34Game6Kogane3ObjFf: -/* 8025E31C 0025B25C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E320 0025B260 7C 08 02 A6 */ mflr r0 -/* 8025E324 0025B264 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E328 0025B268 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E32C 0025B26C 7C 7F 1B 78 */ mr r31, r3 -/* 8025E330 0025B270 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8025E334 0025B274 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8025E338 0025B278 41 82 00 14 */ beq lbl_8025E34C -/* 8025E33C 0025B27C C0 42 C8 D8 */ lfs f2, lbl_8051AC38@sda21(r2) -/* 8025E340 0025B280 4B EA 7C ED */ bl addDamage__Q24Game9EnemyBaseFff -/* 8025E344 0025B284 38 60 00 01 */ li r3, 1 -/* 8025E348 0025B288 48 00 00 44 */ b lbl_8025E38C -lbl_8025E34C: -/* 8025E34C 0025B28C 4B EA 90 A9 */ bl getStateID__Q24Game9EnemyBaseFv -/* 8025E350 0025B290 2C 03 00 02 */ cmpwi r3, 2 -/* 8025E354 0025B294 41 82 00 0C */ beq lbl_8025E360 -/* 8025E358 0025B298 2C 03 00 03 */ cmpwi r3, 3 -/* 8025E35C 0025B29C 40 82 00 2C */ bne lbl_8025E388 -lbl_8025E360: -/* 8025E360 0025B2A0 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8025E364 0025B2A4 7F E4 FB 78 */ mr r4, r31 -/* 8025E368 0025B2A8 38 A0 00 04 */ li r5, 4 -/* 8025E36C 0025B2AC 38 C0 00 00 */ li r6, 0 -/* 8025E370 0025B2B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8025E374 0025B2B4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8025E378 0025B2B8 7D 89 03 A6 */ mtctr r12 -/* 8025E37C 0025B2BC 4E 80 04 21 */ bctrl -/* 8025E380 0025B2C0 38 60 00 01 */ li r3, 1 -/* 8025E384 0025B2C4 48 00 00 08 */ b lbl_8025E38C -lbl_8025E388: -/* 8025E388 0025B2C8 38 60 00 00 */ li r3, 0 -lbl_8025E38C: -/* 8025E38C 0025B2CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E390 0025B2D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E394 0025B2D4 7C 08 03 A6 */ mtlr r0 -/* 8025E398 0025B2D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E39C 0025B2DC 4E 80 00 20 */ blr - -.global transitDisappear__Q34Game6Kogane3ObjFv -transitDisappear__Q34Game6Kogane3ObjFv: -/* 8025E3A0 0025B2E0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8025E3A4 0025B2E4 7C 08 02 A6 */ mflr r0 -/* 8025E3A8 0025B2E8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025E3AC 0025B2EC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8025E3B0 0025B2F0 7C 7F 1B 78 */ mr r31, r3 -/* 8025E3B4 0025B2F4 81 83 00 00 */ lwz r12, 0(r3) -/* 8025E3B8 0025B2F8 81 8C 03 08 */ lwz r12, 0x308(r12) -/* 8025E3BC 0025B2FC 7D 89 03 A6 */ mtctr r12 -/* 8025E3C0 0025B300 4E 80 04 21 */ bctrl -/* 8025E3C4 0025B304 80 1F 02 C0 */ lwz r0, 0x2c0(r31) -/* 8025E3C8 0025B308 2C 00 00 00 */ cmpwi r0, 0 -/* 8025E3CC 0025B30C 40 82 00 C4 */ bne lbl_8025E490 -/* 8025E3D0 0025B310 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 8025E3D4 0025B314 28 03 00 00 */ cmplwi r3, 0 -/* 8025E3D8 0025B318 41 82 00 B8 */ beq lbl_8025E490 -/* 8025E3DC 0025B31C 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8025E3E0 0025B320 28 00 00 00 */ cmplwi r0, 0 -/* 8025E3E4 0025B324 41 82 00 AC */ beq lbl_8025E490 -/* 8025E3E8 0025B328 80 0D 96 88 */ lwz r0, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8025E3EC 0025B32C 28 00 00 00 */ cmplwi r0, 0 -/* 8025E3F0 0025B330 41 82 00 A0 */ beq lbl_8025E490 -/* 8025E3F4 0025B334 3C 60 80 4B */ lis r3, __vt__Q24Game15CreatureInitArg@ha -/* 8025E3F8 0025B338 39 00 00 00 */ li r8, 0 -/* 8025E3FC 0025B33C 38 83 A2 F4 */ addi r4, r3, __vt__Q24Game15CreatureInitArg@l -/* 8025E400 0025B340 38 00 FF FF */ li r0, -1 -/* 8025E404 0025B344 3C 60 80 4B */ lis r3, __vt__Q24Game13PelletInitArg@ha -/* 8025E408 0025B348 90 81 00 08 */ stw r4, 8(r1) -/* 8025E40C 0025B34C 38 63 A2 B8 */ addi r3, r3, __vt__Q24Game13PelletInitArg@l -/* 8025E410 0025B350 38 E0 00 FF */ li r7, 0xff -/* 8025E414 0025B354 38 C0 00 01 */ li r6, 1 -/* 8025E418 0025B358 90 61 00 08 */ stw r3, 8(r1) -/* 8025E41C 0025B35C 80 6D 93 20 */ lwz r3, pelletMgr__4Game@sda21(r13) -/* 8025E420 0025B360 38 81 00 08 */ addi r4, r1, 8 -/* 8025E424 0025B364 99 01 00 24 */ stb r8, 0x24(r1) -/* 8025E428 0025B368 38 BF 02 50 */ addi r5, r31, 0x250 -/* 8025E42C 0025B36C B1 01 00 1C */ sth r8, 0x1c(r1) -/* 8025E430 0025B370 98 E1 00 1E */ stb r7, 0x1e(r1) -/* 8025E434 0025B374 91 01 00 20 */ stw r8, 0x20(r1) -/* 8025E438 0025B378 99 01 00 1F */ stb r8, 0x1f(r1) -/* 8025E43C 0025B37C 98 C1 00 0C */ stb r6, 0xc(r1) -/* 8025E440 0025B380 99 01 00 25 */ stb r8, 0x25(r1) -/* 8025E444 0025B384 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8025E448 0025B388 90 01 00 28 */ stw r0, 0x28(r1) -/* 8025E44C 0025B38C 99 01 00 26 */ stb r8, 0x26(r1) -/* 8025E450 0025B390 99 01 00 27 */ stb r8, 0x27(r1) -/* 8025E454 0025B394 4B F0 F7 3D */ bl makePelletInitArg__Q24Game9PelletMgrFRQ24Game13PelletInitArgRQ34Game9PelletMgr15OtakaraItemCode -/* 8025E458 0025B398 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025E45C 0025B39C 41 82 00 34 */ beq lbl_8025E490 -/* 8025E460 0025B3A0 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8025E464 0025B3A4 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8025E468 0025B3A8 38 BF 01 FC */ addi r5, r31, 0x1fc -/* 8025E46C 0025B3AC 4B FE 6A 99 */ bl getBaseGenData__Q34Game4Cave10RandMapMgrFP10Vector3$$0f$$1Pf -/* 8025E470 0025B3B0 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 8025E474 0025B3B4 38 60 00 00 */ li r3, 0 -/* 8025E478 0025B3B8 D0 1F 01 98 */ stfs f0, 0x198(r31) -/* 8025E47C 0025B3BC C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8025E480 0025B3C0 D0 1F 01 9C */ stfs f0, 0x19c(r31) -/* 8025E484 0025B3C4 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8025E488 0025B3C8 D0 1F 01 A0 */ stfs f0, 0x1a0(r31) -/* 8025E48C 0025B3CC 48 00 00 08 */ b lbl_8025E494 -lbl_8025E490: -/* 8025E490 0025B3D0 38 60 00 01 */ li r3, 1 -lbl_8025E494: -/* 8025E494 0025B3D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8025E498 0025B3D8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8025E49C 0025B3DC 7C 08 03 A6 */ mtlr r0 -/* 8025E4A0 0025B3E0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8025E4A4 0025B3E4 4E 80 00 20 */ blr - -.global getBodyJointPos__Q34Game6Kogane3ObjFv -getBodyJointPos__Q34Game6Kogane3ObjFv: -/* 8025E4A8 0025B3E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E4AC 0025B3EC 7C 08 02 A6 */ mflr r0 -/* 8025E4B0 0025B3F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E4B4 0025B3F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E4B8 0025B3F8 7C 7F 1B 78 */ mr r31, r3 -/* 8025E4BC 0025B3FC 80 64 01 74 */ lwz r3, 0x174(r4) -/* 8025E4C0 0025B400 38 82 C8 E0 */ addi r4, r2, lbl_8051AC40@sda21 -/* 8025E4C4 0025B404 48 1E 0B 21 */ bl getJoint__Q28SysShape5ModelFPc -/* 8025E4C8 0025B408 48 1C B3 D9 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8025E4CC 0025B40C C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8025E4D0 0025B410 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8025E4D4 0025B414 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8025E4D8 0025B418 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8025E4DC 0025B41C D0 3F 00 04 */ stfs f1, 4(r31) -/* 8025E4E0 0025B420 D0 5F 00 08 */ stfs f2, 8(r31) -/* 8025E4E4 0025B424 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E4E8 0025B428 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E4EC 0025B42C 7C 08 03 A6 */ mtlr r0 -/* 8025E4F0 0025B430 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E4F4 0025B434 4E 80 00 20 */ blr - -.global koganeScaleUp__Q34Game6Kogane3ObjFv -koganeScaleUp__Q34Game6Kogane3ObjFv: -/* 8025E4F8 0025B438 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E4FC 0025B43C 7C 08 02 A6 */ mflr r0 -/* 8025E500 0025B440 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E504 0025B444 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E508 0025B448 3B E0 00 00 */ li r31, 0 -/* 8025E50C 0025B44C 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 8025E510 0025B450 C0 43 02 CC */ lfs f2, 0x2cc(r3) -/* 8025E514 0025B454 C0 04 09 34 */ lfs f0, 0x934(r4) -/* 8025E518 0025B458 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8025E51C 0025B45C 40 80 00 68 */ bge lbl_8025E584 -/* 8025E520 0025B460 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 8025E524 0025B464 C0 22 C8 E8 */ lfs f1, lbl_8051AC48@sda21(r2) -/* 8025E528 0025B468 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 8025E52C 0025B46C EC 01 10 3A */ fmadds f0, f1, f0, f2 -/* 8025E530 0025B470 D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 8025E534 0025B474 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 8025E538 0025B478 C0 23 02 CC */ lfs f1, 0x2cc(r3) -/* 8025E53C 0025B47C C0 04 09 34 */ lfs f0, 0x934(r4) -/* 8025E540 0025B480 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025E544 0025B484 4C 41 13 82 */ cror 2, 1, 2 -/* 8025E548 0025B488 40 82 00 18 */ bne lbl_8025E560 -/* 8025E54C 0025B48C D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 8025E550 0025B490 3B E0 00 01 */ li r31, 1 -/* 8025E554 0025B494 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8025E558 0025B498 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8025E55C 0025B49C 90 03 01 E0 */ stw r0, 0x1e0(r3) -lbl_8025E560: -/* 8025E560 0025B4A0 C0 03 02 CC */ lfs f0, 0x2cc(r3) -/* 8025E564 0025B4A4 D0 03 01 F8 */ stfs f0, 0x1f8(r3) -/* 8025E568 0025B4A8 D0 03 01 68 */ stfs f0, 0x168(r3) -/* 8025E56C 0025B4AC D0 03 01 6C */ stfs f0, 0x16c(r3) -/* 8025E570 0025B4B0 D0 03 01 70 */ stfs f0, 0x170(r3) -/* 8025E574 0025B4B4 80 83 01 14 */ lwz r4, 0x114(r3) -/* 8025E578 0025B4B8 C0 23 02 CC */ lfs f1, 0x2cc(r3) -/* 8025E57C 0025B4BC 80 64 00 00 */ lwz r3, 0(r4) -/* 8025E580 0025B4C0 4B ED 98 8D */ bl setScale__8CollPartFf -lbl_8025E584: -/* 8025E584 0025B4C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E588 0025B4C8 7F E3 FB 78 */ mr r3, r31 -/* 8025E58C 0025B4CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E590 0025B4D0 7C 08 03 A6 */ mtlr r0 -/* 8025E594 0025B4D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E598 0025B4D8 4E 80 00 20 */ blr - -.global koganeScaleDown__Q34Game6Kogane3ObjFv -koganeScaleDown__Q34Game6Kogane3ObjFv: -/* 8025E59C 0025B4DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025E5A0 0025B4E0 7C 08 02 A6 */ mflr r0 -/* 8025E5A4 0025B4E4 C0 42 C8 C8 */ lfs f2, lbl_8051AC28@sda21(r2) -/* 8025E5A8 0025B4E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025E5AC 0025B4EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E5B0 0025B4F0 3B E0 00 00 */ li r31, 0 -/* 8025E5B4 0025B4F4 C0 63 02 CC */ lfs f3, 0x2cc(r3) -/* 8025E5B8 0025B4F8 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 8025E5BC 0025B4FC 40 81 00 54 */ ble lbl_8025E610 -/* 8025E5C0 0025B500 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 8025E5C4 0025B504 C0 22 C8 E8 */ lfs f1, lbl_8051AC48@sda21(r2) -/* 8025E5C8 0025B508 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 8025E5CC 0025B50C EC 01 18 3C */ fnmsubs f0, f1, f0, f3 -/* 8025E5D0 0025B510 D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 8025E5D4 0025B514 C0 03 02 CC */ lfs f0, 0x2cc(r3) -/* 8025E5D8 0025B518 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8025E5DC 0025B51C 4C 40 13 82 */ cror 2, 0, 2 -/* 8025E5E0 0025B520 40 82 00 0C */ bne lbl_8025E5EC -/* 8025E5E4 0025B524 D0 43 02 CC */ stfs f2, 0x2cc(r3) -/* 8025E5E8 0025B528 3B E0 00 01 */ li r31, 1 -lbl_8025E5EC: -/* 8025E5EC 0025B52C C0 03 02 CC */ lfs f0, 0x2cc(r3) -/* 8025E5F0 0025B530 D0 03 01 F8 */ stfs f0, 0x1f8(r3) -/* 8025E5F4 0025B534 D0 03 01 68 */ stfs f0, 0x168(r3) -/* 8025E5F8 0025B538 D0 03 01 6C */ stfs f0, 0x16c(r3) -/* 8025E5FC 0025B53C D0 03 01 70 */ stfs f0, 0x170(r3) -/* 8025E600 0025B540 80 83 01 14 */ lwz r4, 0x114(r3) -/* 8025E604 0025B544 C0 23 02 CC */ lfs f1, 0x2cc(r3) -/* 8025E608 0025B548 80 64 00 00 */ lwz r3, 0(r4) -/* 8025E60C 0025B54C 4B ED 98 01 */ bl setScale__8CollPartFf -lbl_8025E610: -/* 8025E610 0025B550 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E614 0025B554 7F E3 FB 78 */ mr r3, r31 -/* 8025E618 0025B558 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E61C 0025B55C 7C 08 03 A6 */ mtlr r0 -/* 8025E620 0025B560 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025E624 0025B564 4E 80 00 20 */ blr - -.global setTargetPosition__Q34Game6Kogane3ObjFP10Vector3$$0f$$1 -setTargetPosition__Q34Game6Kogane3ObjFP10Vector3$$0f$$1: -/* 8025E628 0025B568 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8025E62C 0025B56C 7C 08 02 A6 */ mflr r0 -/* 8025E630 0025B570 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025E634 0025B574 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8025E638 0025B578 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8025E63C 0025B57C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8025E640 0025B580 28 04 00 00 */ cmplwi r4, 0 -/* 8025E644 0025B584 7C 7F 1B 78 */ mr r31, r3 -/* 8025E648 0025B588 41 82 00 34 */ beq lbl_8025E67C -/* 8025E64C 0025B58C C0 42 C8 EC */ lfs f2, lbl_8051AC4C@sda21(r2) -/* 8025E650 0025B590 C0 24 00 00 */ lfs f1, 0(r4) -/* 8025E654 0025B594 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 8025E658 0025B598 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8025E65C 0025B59C D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 8025E660 0025B5A0 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8025E664 0025B5A4 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) -/* 8025E668 0025B5A8 C0 24 00 08 */ lfs f1, 8(r4) -/* 8025E66C 0025B5AC C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8025E670 0025B5B0 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8025E674 0025B5B4 D0 1F 02 D8 */ stfs f0, 0x2d8(r31) -/* 8025E678 0025B5B8 48 00 01 40 */ b lbl_8025E7B8 -lbl_8025E67C: -/* 8025E67C 0025B5BC C0 3F 02 CC */ lfs f1, 0x2cc(r31) -/* 8025E680 0025B5C0 C0 02 C8 F0 */ lfs f0, lbl_8051AC50@sda21(r2) -/* 8025E684 0025B5C4 C3 E2 C8 CC */ lfs f31, lbl_8051AC2C@sda21(r2) -/* 8025E688 0025B5C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025E68C 0025B5CC 40 81 00 4C */ ble lbl_8025E6D8 -/* 8025E690 0025B5D0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025E694 0025B5D4 C0 22 C8 F4 */ lfs f1, lbl_8051AC54@sda21(r2) -/* 8025E698 0025B5D8 C0 03 09 0C */ lfs f0, 0x90c(r3) -/* 8025E69C 0025B5DC EF E1 00 32 */ fmuls f31, f1, f0 -/* 8025E6A0 0025B5E0 4B E6 AF 01 */ bl rand -/* 8025E6A4 0025B5E4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8025E6A8 0025B5E8 3C 00 43 30 */ lis r0, 0x4330 -/* 8025E6AC 0025B5EC 90 61 00 0C */ stw r3, 0xc(r1) -/* 8025E6B0 0025B5F0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8025E6B4 0025B5F4 90 01 00 08 */ stw r0, 8(r1) -/* 8025E6B8 0025B5F8 C8 42 C9 10 */ lfd f2, lbl_8051AC70@sda21(r2) -/* 8025E6BC 0025B5FC C8 01 00 08 */ lfd f0, 8(r1) -/* 8025E6C0 0025B600 C0 22 C8 F8 */ lfs f1, lbl_8051AC58@sda21(r2) -/* 8025E6C4 0025B604 EC 40 10 28 */ fsubs f2, f0, f2 -/* 8025E6C8 0025B608 C0 03 09 0C */ lfs f0, 0x90c(r3) -/* 8025E6CC 0025B60C EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8025E6D0 0025B610 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8025E6D4 0025B614 EF E1 00 28 */ fsubs f31, f1, f0 -lbl_8025E6D8: -/* 8025E6D8 0025B618 7F E3 FB 78 */ mr r3, r31 -/* 8025E6DC 0025B61C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025E6E0 0025B620 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025E6E4 0025B624 7D 89 03 A6 */ mtctr r12 -/* 8025E6E8 0025B628 4E 80 04 21 */ bctrl -/* 8025E6EC 0025B62C C0 02 C9 00 */ lfs f0, lbl_8051AC60@sda21(r2) -/* 8025E6F0 0025B630 C0 82 C8 FC */ lfs f4, lbl_8051AC5C@sda21(r2) -/* 8025E6F4 0025B634 EC 40 07 F2 */ fmuls f2, f0, f31 -/* 8025E6F8 0025B638 C0 02 C8 CC */ lfs f0, lbl_8051AC2C@sda21(r2) -/* 8025E6FC 0025B63C C0 62 C8 EC */ lfs f3, lbl_8051AC4C@sda21(r2) -/* 8025E700 0025B640 EC 84 08 BA */ fmadds f4, f4, f2, f1 -/* 8025E704 0025B644 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8025E708 0025B648 40 80 00 30 */ bge lbl_8025E738 -/* 8025E70C 0025B64C C0 02 C9 04 */ lfs f0, lbl_8051AC64@sda21(r2) -/* 8025E710 0025B650 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8025E714 0025B654 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8025E718 0025B658 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8025E71C 0025B65C FC 00 00 1E */ fctiwz f0, f0 -/* 8025E720 0025B660 D8 01 00 08 */ stfd f0, 8(r1) -/* 8025E724 0025B664 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8025E728 0025B668 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025E72C 0025B66C 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8025E730 0025B670 FC 40 00 50 */ fneg f2, f0 -/* 8025E734 0025B674 48 00 00 28 */ b lbl_8025E75C -lbl_8025E738: -/* 8025E738 0025B678 C0 02 C9 08 */ lfs f0, lbl_8051AC68@sda21(r2) -/* 8025E73C 0025B67C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8025E740 0025B680 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8025E744 0025B684 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8025E748 0025B688 FC 00 00 1E */ fctiwz f0, f0 -/* 8025E74C 0025B68C D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8025E750 0025B690 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025E754 0025B694 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025E758 0025B698 7C 43 04 2E */ lfsx f2, r3, r0 -lbl_8025E75C: -/* 8025E75C 0025B69C C0 3F 01 8C */ lfs f1, 0x18c(r31) -/* 8025E760 0025B6A0 C0 02 C8 CC */ lfs f0, lbl_8051AC2C@sda21(r2) -/* 8025E764 0025B6A4 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 8025E768 0025B6A8 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8025E76C 0025B6AC D0 3F 02 D0 */ stfs f1, 0x2d0(r31) -/* 8025E770 0025B6B0 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8025E774 0025B6B4 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) -/* 8025E778 0025B6B8 40 80 00 08 */ bge lbl_8025E780 -/* 8025E77C 0025B6BC FC 80 20 50 */ fneg f4, f4 -lbl_8025E780: -/* 8025E780 0025B6C0 C0 02 C9 08 */ lfs f0, lbl_8051AC68@sda21(r2) -/* 8025E784 0025B6C4 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8025E788 0025B6C8 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8025E78C 0025B6CC C0 42 C8 EC */ lfs f2, lbl_8051AC4C@sda21(r2) -/* 8025E790 0025B6D0 EC 24 00 32 */ fmuls f1, f4, f0 -/* 8025E794 0025B6D4 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8025E798 0025B6D8 FC 20 08 1E */ fctiwz f1, f1 -/* 8025E79C 0025B6DC D8 21 00 18 */ stfd f1, 0x18(r1) -/* 8025E7A0 0025B6E0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8025E7A4 0025B6E4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025E7A8 0025B6E8 7C 63 02 14 */ add r3, r3, r0 -/* 8025E7AC 0025B6EC C0 23 00 04 */ lfs f1, 4(r3) -/* 8025E7B0 0025B6F0 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8025E7B4 0025B6F4 D0 1F 02 D8 */ stfs f0, 0x2d8(r31) -lbl_8025E7B8: -/* 8025E7B8 0025B6F8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8025E7BC 0025B6FC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8025E7C0 0025B700 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8025E7C4 0025B704 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8025E7C8 0025B708 7C 08 03 A6 */ mtlr r0 -/* 8025E7CC 0025B70C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8025E7D0 0025B710 4E 80 00 20 */ blr - -.global resetAppearTimer__Q34Game6Kogane3ObjFv -resetAppearTimer__Q34Game6Kogane3ObjFv: -/* 8025E7D4 0025B714 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8025E7D8 0025B718 7C 08 02 A6 */ mflr r0 -/* 8025E7DC 0025B71C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8025E7E0 0025B720 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8025E7E4 0025B724 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8025E7E8 0025B728 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025E7EC 0025B72C 7C 7F 1B 78 */ mr r31, r3 -/* 8025E7F0 0025B730 80 63 00 C0 */ lwz r3, 0xc0(r3) -/* 8025E7F4 0025B734 C0 23 08 44 */ lfs f1, 0x844(r3) -/* 8025E7F8 0025B738 C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 8025E7FC 0025B73C EF E1 00 28 */ fsubs f31, f1, f0 -/* 8025E800 0025B740 4B E6 AD A1 */ bl rand -/* 8025E804 0025B744 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8025E808 0025B748 3C 00 43 30 */ lis r0, 0x4330 -/* 8025E80C 0025B74C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8025E810 0025B750 C8 42 C9 10 */ lfd f2, lbl_8051AC70@sda21(r2) -/* 8025E814 0025B754 90 01 00 08 */ stw r0, 8(r1) -/* 8025E818 0025B758 C0 02 C8 F8 */ lfs f0, lbl_8051AC58@sda21(r2) -/* 8025E81C 0025B75C C8 21 00 08 */ lfd f1, 8(r1) -/* 8025E820 0025B760 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8025E824 0025B764 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8025E828 0025B768 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8025E82C 0025B76C D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8025E830 0025B770 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8025E834 0025B774 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025E838 0025B778 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8025E83C 0025B77C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025E840 0025B780 7C 08 03 A6 */ mtlr r0 -/* 8025E844 0025B784 38 21 00 30 */ addi r1, r1, 0x30 -/* 8025E848 0025B788 4E 80 00 20 */ blr - -.global isAppear__Q34Game6Kogane3ObjFv -isAppear__Q34Game6Kogane3ObjFv: -/* 8025E84C 0025B78C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025E850 0025B790 7C 08 02 A6 */ mflr r0 -/* 8025E854 0025B794 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025E858 0025B798 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8025E85C 0025B79C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8025E860 0025B7A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025E864 0025B7A4 7C 7F 1B 78 */ mr r31, r3 -/* 8025E868 0025B7A8 38 80 00 00 */ li r4, 0 -/* 8025E86C 0025B7AC 80 A3 00 C0 */ lwz r5, 0xc0(r3) -/* 8025E870 0025B7B0 C3 E5 03 D4 */ lfs f31, 0x3d4(r5) -/* 8025E874 0025B7B4 FC 20 F8 90 */ fmr f1, f31 -/* 8025E878 0025B7B8 4B EB 62 49 */ bl isThereOlimar__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Navi$$1 -/* 8025E87C 0025B7BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025E880 0025B7C0 41 82 00 0C */ beq lbl_8025E88C -/* 8025E884 0025B7C4 38 60 00 01 */ li r3, 1 -/* 8025E888 0025B7C8 48 00 00 28 */ b lbl_8025E8B0 -lbl_8025E88C: -/* 8025E88C 0025B7CC FC 20 F8 90 */ fmr f1, f31 -/* 8025E890 0025B7D0 7F E3 FB 78 */ mr r3, r31 -/* 8025E894 0025B7D4 38 80 00 00 */ li r4, 0 -/* 8025E898 0025B7D8 4B EB 5E 9D */ bl isTherePikmin__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Piki$$1 -/* 8025E89C 0025B7DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025E8A0 0025B7E0 41 82 00 0C */ beq lbl_8025E8AC -/* 8025E8A4 0025B7E4 38 60 00 01 */ li r3, 1 -/* 8025E8A8 0025B7E8 48 00 00 08 */ b lbl_8025E8B0 -lbl_8025E8AC: -/* 8025E8AC 0025B7EC 38 60 00 00 */ li r3, 0 -lbl_8025E8B0: -/* 8025E8B0 0025B7F0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8025E8B4 0025B7F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025E8B8 0025B7F8 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8025E8BC 0025B7FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025E8C0 0025B800 7C 08 03 A6 */ mtlr r0 -/* 8025E8C4 0025B804 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025E8C8 0025B808 4E 80 00 20 */ blr - -.global resetMoveTimer__Q34Game6Kogane3ObjFff -resetMoveTimer__Q34Game6Kogane3ObjFff: -/* 8025E8CC 0025B80C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8025E8D0 0025B810 7C 08 02 A6 */ mflr r0 -/* 8025E8D4 0025B814 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025E8D8 0025B818 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8025E8DC 0025B81C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8025E8E0 0025B820 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8025E8E4 0025B824 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8025E8E8 0025B828 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025E8EC 0025B82C FF C0 08 90 */ fmr f30, f1 -/* 8025E8F0 0025B830 7C 7F 1B 78 */ mr r31, r3 -/* 8025E8F4 0025B834 FF E0 10 90 */ fmr f31, f2 -/* 8025E8F8 0025B838 4B E6 AC A9 */ bl rand -/* 8025E8FC 0025B83C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8025E900 0025B840 3C 00 43 30 */ lis r0, 0x4330 -/* 8025E904 0025B844 90 61 00 0C */ stw r3, 0xc(r1) -/* 8025E908 0025B848 EC 3F F0 28 */ fsubs f1, f31, f30 -/* 8025E90C 0025B84C C8 62 C9 10 */ lfd f3, lbl_8051AC70@sda21(r2) -/* 8025E910 0025B850 90 01 00 08 */ stw r0, 8(r1) -/* 8025E914 0025B854 C0 02 C8 F8 */ lfs f0, lbl_8051AC58@sda21(r2) -/* 8025E918 0025B858 C8 41 00 08 */ lfd f2, 8(r1) -/* 8025E91C 0025B85C EC 42 18 28 */ fsubs f2, f2, f3 -/* 8025E920 0025B860 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8025E924 0025B864 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8025E928 0025B868 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 8025E92C 0025B86C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8025E930 0025B870 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8025E934 0025B874 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8025E938 0025B878 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8025E93C 0025B87C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8025E940 0025B880 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025E944 0025B884 7C 08 03 A6 */ mtlr r0 -/* 8025E948 0025B888 38 21 00 40 */ addi r1, r1, 0x40 -/* 8025E94C 0025B88C 4E 80 00 20 */ blr - -.global createTreasureItem__Q34Game6Kogane3ObjFv -createTreasureItem__Q34Game6Kogane3ObjFv: -/* 8025E950 0025B890 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8025E954 0025B894 7C 08 02 A6 */ mflr r0 -/* 8025E958 0025B898 90 01 00 54 */ stw r0, 0x54(r1) -/* 8025E95C 0025B89C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8025E960 0025B8A0 7C 7F 1B 78 */ mr r31, r3 -/* 8025E964 0025B8A4 80 03 02 C0 */ lwz r0, 0x2c0(r3) -/* 8025E968 0025B8A8 2C 00 00 00 */ cmpwi r0, 0 -/* 8025E96C 0025B8AC 40 82 01 60 */ bne lbl_8025EACC -/* 8025E970 0025B8B0 3C 60 80 4B */ lis r3, __vt__Q24Game15CreatureInitArg@ha -/* 8025E974 0025B8B4 39 00 00 00 */ li r8, 0 -/* 8025E978 0025B8B8 38 83 A2 F4 */ addi r4, r3, __vt__Q24Game15CreatureInitArg@l -/* 8025E97C 0025B8BC 38 00 FF FF */ li r0, -1 -/* 8025E980 0025B8C0 3C 60 80 4B */ lis r3, __vt__Q24Game13PelletInitArg@ha -/* 8025E984 0025B8C4 90 81 00 20 */ stw r4, 0x20(r1) -/* 8025E988 0025B8C8 38 63 A2 B8 */ addi r3, r3, __vt__Q24Game13PelletInitArg@l -/* 8025E98C 0025B8CC 38 E0 00 FF */ li r7, 0xff -/* 8025E990 0025B8D0 38 C0 00 01 */ li r6, 1 -/* 8025E994 0025B8D4 90 61 00 20 */ stw r3, 0x20(r1) -/* 8025E998 0025B8D8 80 6D 93 20 */ lwz r3, pelletMgr__4Game@sda21(r13) -/* 8025E99C 0025B8DC 38 81 00 20 */ addi r4, r1, 0x20 -/* 8025E9A0 0025B8E0 99 01 00 3C */ stb r8, 0x3c(r1) -/* 8025E9A4 0025B8E4 38 BF 02 50 */ addi r5, r31, 0x250 -/* 8025E9A8 0025B8E8 B1 01 00 34 */ sth r8, 0x34(r1) -/* 8025E9AC 0025B8EC 98 E1 00 36 */ stb r7, 0x36(r1) -/* 8025E9B0 0025B8F0 91 01 00 38 */ stw r8, 0x38(r1) -/* 8025E9B4 0025B8F4 99 01 00 37 */ stb r8, 0x37(r1) -/* 8025E9B8 0025B8F8 98 C1 00 24 */ stb r6, 0x24(r1) -/* 8025E9BC 0025B8FC 99 01 00 3D */ stb r8, 0x3d(r1) -/* 8025E9C0 0025B900 90 01 00 44 */ stw r0, 0x44(r1) -/* 8025E9C4 0025B904 90 01 00 40 */ stw r0, 0x40(r1) -/* 8025E9C8 0025B908 99 01 00 3E */ stb r8, 0x3e(r1) -/* 8025E9CC 0025B90C 99 01 00 3F */ stb r8, 0x3f(r1) -/* 8025E9D0 0025B910 4B F0 F1 C1 */ bl makePelletInitArg__Q24Game9PelletMgrFRQ24Game13PelletInitArgRQ34Game9PelletMgr15OtakaraItemCode -/* 8025E9D4 0025B914 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025E9D8 0025B918 41 82 00 F4 */ beq lbl_8025EACC -/* 8025E9DC 0025B91C 88 0D 84 20 */ lbz r0, sFromTekiEnable__Q24Game6Pellet@sda21(r13) -/* 8025E9E0 0025B920 38 60 00 02 */ li r3, 2 -/* 8025E9E4 0025B924 B0 61 00 34 */ sth r3, 0x34(r1) -/* 8025E9E8 0025B928 28 00 00 00 */ cmplwi r0, 0 -/* 8025E9EC 0025B92C 41 82 00 0C */ beq lbl_8025E9F8 -/* 8025E9F0 0025B930 38 00 00 01 */ li r0, 1 -/* 8025E9F4 0025B934 98 01 00 3F */ stb r0, 0x3f(r1) -lbl_8025E9F8: -/* 8025E9F8 0025B938 80 6D 93 20 */ lwz r3, pelletMgr__4Game@sda21(r13) -/* 8025E9FC 0025B93C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8025EA00 0025B940 4B F0 EA C1 */ bl birth__Q24Game9PelletMgrFPQ24Game13PelletInitArg -/* 8025EA04 0025B944 90 7F 02 54 */ stw r3, 0x254(r31) -/* 8025EA08 0025B948 80 1F 02 54 */ lwz r0, 0x254(r31) -/* 8025EA0C 0025B94C 28 00 00 00 */ cmplwi r0, 0 -/* 8025EA10 0025B950 41 82 00 BC */ beq lbl_8025EACC -/* 8025EA14 0025B954 C0 22 C8 CC */ lfs f1, lbl_8051AC2C@sda21(r2) -/* 8025EA18 0025B958 38 82 C8 E0 */ addi r4, r2, lbl_8051AC40@sda21 -/* 8025EA1C 0025B95C C0 02 C9 18 */ lfs f0, lbl_8051AC78@sda21(r2) -/* 8025EA20 0025B960 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8025EA24 0025B964 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8025EA28 0025B968 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8025EA2C 0025B96C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 8025EA30 0025B970 48 1E 05 B5 */ bl getJoint__Q28SysShape5ModelFPc -/* 8025EA34 0025B974 48 1C AE 6D */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8025EA38 0025B978 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8025EA3C 0025B97C 38 81 00 08 */ addi r4, r1, 8 -/* 8025EA40 0025B980 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8025EA44 0025B984 38 A0 00 00 */ li r5, 0 -/* 8025EA48 0025B988 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8025EA4C 0025B98C D0 01 00 08 */ stfs f0, 8(r1) -/* 8025EA50 0025B990 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025EA54 0025B994 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8025EA58 0025B998 80 7F 02 54 */ lwz r3, 0x254(r31) -/* 8025EA5C 0025B99C 4B ED C7 4D */ bl setPosition__Q24Game8CreatureFR10Vector3$$0f$$1b -/* 8025EA60 0025B9A0 80 7F 02 54 */ lwz r3, 0x254(r31) -/* 8025EA64 0025B9A4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025EA68 0025B9A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8025EA6C 0025B9AC 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8025EA70 0025B9B0 7D 89 03 A6 */ mtctr r12 -/* 8025EA74 0025B9B4 4E 80 04 21 */ bctrl -/* 8025EA78 0025B9B8 80 7F 02 54 */ lwz r3, 0x254(r31) -/* 8025EA7C 0025B9BC 38 81 00 08 */ addi r4, r1, 8 -/* 8025EA80 0025B9C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8025EA84 0025B9C4 81 8C 01 FC */ lwz r12, 0x1fc(r12) -/* 8025EA88 0025B9C8 7D 89 03 A6 */ mtctr r12 -/* 8025EA8C 0025B9CC 4E 80 04 21 */ bctrl -/* 8025EA90 0025B9D0 7F E3 FB 78 */ mr r3, r31 -/* 8025EA94 0025B9D4 4B FB FB 61 */ bl exit__Q25Radar3MgrFPQ24Game15TPositionObject -/* 8025EA98 0025B9D8 80 7F 02 8C */ lwz r3, 0x28c(r31) -/* 8025EA9C 0025B9DC 38 80 58 10 */ li r4, 0x5810 -/* 8025EAA0 0025B9E0 38 A0 00 00 */ li r5, 0 -/* 8025EAA4 0025B9E4 81 83 00 28 */ lwz r12, 0x28(r3) -/* 8025EAA8 0025B9E8 81 8C 00 88 */ lwz r12, 0x88(r12) -/* 8025EAAC 0025B9EC 7D 89 03 A6 */ mtctr r12 -/* 8025EAB0 0025B9F0 4E 80 04 21 */ bctrl -/* 8025EAB4 0025B9F4 C0 02 C9 1C */ lfs f0, lbl_8051AC7C@sda21(r2) -/* 8025EAB8 0025B9F8 38 00 32 00 */ li r0, 0x3200 -/* 8025EABC 0025B9FC 38 60 00 01 */ li r3, 1 -/* 8025EAC0 0025BA00 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8025EAC4 0025BA04 90 1F 02 C0 */ stw r0, 0x2c0(r31) -/* 8025EAC8 0025BA08 48 00 00 08 */ b lbl_8025EAD0 -lbl_8025EACC: -/* 8025EACC 0025BA0C 38 60 00 00 */ li r3, 0 -lbl_8025EAD0: -/* 8025EAD0 0025BA10 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8025EAD4 0025BA14 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8025EAD8 0025BA18 7C 08 03 A6 */ mtlr r0 -/* 8025EADC 0025BA1C 38 21 00 50 */ addi r1, r1, 0x50 -/* 8025EAE0 0025BA20 4E 80 00 20 */ blr - -.global createPellet__Q34Game6Kogane3ObjFii -createPellet__Q34Game6Kogane3ObjFii: -/* 8025EAE4 0025BA24 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8025EAE8 0025BA28 7C 08 02 A6 */ mflr r0 -/* 8025EAEC 0025BA2C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8025EAF0 0025BA30 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8025EAF4 0025BA34 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8025EAF8 0025BA38 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8025EAFC 0025BA3C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8025EB00 0025BA40 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 8025EB04 0025BA44 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 8025EB08 0025BA48 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 8025EB0C 0025BA4C F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 8025EB10 0025BA50 BF 21 00 74 */ stmw r25, 0x74(r1) -/* 8025EB14 0025BA54 3C C0 80 48 */ lis r6, lbl_80480004@ha -/* 8025EB18 0025BA58 7C 9D 23 78 */ mr r29, r4 -/* 8025EB1C 0025BA5C 84 86 53 D8 */ lwzu r4, 0x53d8(r6) -/* 8025EB20 0025BA60 7C 79 1B 78 */ mr r25, r3 -/* 8025EB24 0025BA64 7C BE 2B 78 */ mr r30, r5 -/* 8025EB28 0025BA68 3B 41 00 20 */ addi r26, r1, 0x20 -/* 8025EB2C 0025BA6C 80 66 00 04 */ lwz r3, lbl_80480004@l(r6) -/* 8025EB30 0025BA70 3B 60 00 00 */ li r27, 0 -/* 8025EB34 0025BA74 80 06 00 08 */ lwz r0, 8(r6) -/* 8025EB38 0025BA78 3B 80 00 00 */ li r28, 0 -/* 8025EB3C 0025BA7C 90 81 00 20 */ stw r4, 0x20(r1) -/* 8025EB40 0025BA80 90 61 00 24 */ stw r3, 0x24(r1) -/* 8025EB44 0025BA84 90 01 00 28 */ stw r0, 0x28(r1) -lbl_8025EB48: -/* 8025EB48 0025BA88 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 8025EB4C 0025BA8C 7F 84 E3 78 */ mr r4, r28 -/* 8025EB50 0025BA90 4B F8 85 59 */ bl hasMetPikmin__Q24Game8PlayDataFi -/* 8025EB54 0025BA94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025EB58 0025BA98 41 82 00 10 */ beq lbl_8025EB68 -/* 8025EB5C 0025BA9C 93 9A 00 00 */ stw r28, 0(r26) -/* 8025EB60 0025BAA0 3B 5A 00 04 */ addi r26, r26, 4 -/* 8025EB64 0025BAA4 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8025EB68: -/* 8025EB68 0025BAA8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8025EB6C 0025BAAC 2C 1C 00 03 */ cmpwi r28, 3 -/* 8025EB70 0025BAB0 41 80 FF D8 */ blt lbl_8025EB48 -/* 8025EB74 0025BAB4 7F 23 CB 78 */ mr r3, r25 -/* 8025EB78 0025BAB8 81 99 00 00 */ lwz r12, 0(r25) -/* 8025EB7C 0025BABC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025EB80 0025BAC0 7D 89 03 A6 */ mtctr r12 -/* 8025EB84 0025BAC4 4E 80 04 21 */ bctrl -/* 8025EB88 0025BAC8 38 7E 00 01 */ addi r3, r30, 1 -/* 8025EB8C 0025BACC 3C 00 43 30 */ lis r0, 0x4330 -/* 8025EB90 0025BAD0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8025EB94 0025BAD4 C0 62 C9 20 */ lfs f3, lbl_8051AC80@sda21(r2) -/* 8025EB98 0025BAD8 90 61 00 5C */ stw r3, 0x5c(r1) -/* 8025EB9C 0025BADC 38 82 C8 E0 */ addi r4, r2, lbl_8051AC40@sda21 -/* 8025EBA0 0025BAE0 C8 42 C9 10 */ lfd f2, lbl_8051AC70@sda21(r2) -/* 8025EBA4 0025BAE4 EF A3 08 2A */ fadds f29, f3, f1 -/* 8025EBA8 0025BAE8 90 01 00 58 */ stw r0, 0x58(r1) -/* 8025EBAC 0025BAEC 80 79 01 74 */ lwz r3, 0x174(r25) -/* 8025EBB0 0025BAF0 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 8025EBB4 0025BAF4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8025EBB8 0025BAF8 EF 83 00 24 */ fdivs f28, f3, f0 -/* 8025EBBC 0025BAFC 48 1E 04 29 */ bl getJoint__Q28SysShape5ModelFPc -/* 8025EBC0 0025BB00 48 1C AC E1 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8025EBC4 0025BB04 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8025EBC8 0025BB08 6F 7B 80 00 */ xoris r27, r27, 0x8000 -/* 8025EBCC 0025BB0C C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8025EBD0 0025BB10 3B 81 00 20 */ addi r28, r1, 0x20 -/* 8025EBD4 0025BB14 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8025EBD8 0025BB18 3B E0 00 00 */ li r31, 0 -/* 8025EBDC 0025BB1C CB C2 C9 10 */ lfd f30, lbl_8051AC70@sda21(r2) -/* 8025EBE0 0025BB20 3F 40 43 30 */ lis r26, 0x4330 -/* 8025EBE4 0025BB24 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8025EBE8 0025BB28 C3 E2 C8 F8 */ lfs f31, lbl_8051AC58@sda21(r2) -/* 8025EBEC 0025BB2C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8025EBF0 0025BB30 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8025EBF4 0025BB34 48 00 01 48 */ b lbl_8025ED3C -lbl_8025EBF8: -/* 8025EBF8 0025BB38 4B E6 A9 A9 */ bl rand -/* 8025EBFC 0025BB3C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8025EC00 0025BB40 93 41 00 58 */ stw r26, 0x58(r1) -/* 8025EC04 0025BB44 7F A4 EB 78 */ mr r4, r29 -/* 8025EC08 0025BB48 38 61 00 2C */ addi r3, r1, 0x2c -/* 8025EC0C 0025BB4C 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8025EC10 0025BB50 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 8025EC14 0025BB54 93 61 00 64 */ stw r27, 0x64(r1) -/* 8025EC18 0025BB58 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8025EC1C 0025BB5C 93 41 00 60 */ stw r26, 0x60(r1) -/* 8025EC20 0025BB60 EC 20 F8 24 */ fdivs f1, f0, f31 -/* 8025EC24 0025BB64 C8 01 00 60 */ lfd f0, 0x60(r1) -/* 8025EC28 0025BB68 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8025EC2C 0025BB6C EC 00 00 72 */ fmuls f0, f0, f1 -/* 8025EC30 0025BB70 FC 00 00 1E */ fctiwz f0, f0 -/* 8025EC34 0025BB74 D8 01 00 68 */ stfd f0, 0x68(r1) -/* 8025EC38 0025BB78 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 8025EC3C 0025BB7C 54 00 10 3A */ slwi r0, r0, 2 -/* 8025EC40 0025BB80 7C BC 00 2E */ lwzx r5, r28, r0 -/* 8025EC44 0025BB84 4B F0 7F 31 */ bl __ct__Q24Game19PelletNumberInitArgFii -/* 8025EC48 0025BB88 80 6D 93 20 */ lwz r3, pelletMgr__4Game@sda21(r13) -/* 8025EC4C 0025BB8C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8025EC50 0025BB90 4B F0 E8 71 */ bl birth__Q24Game9PelletMgrFPQ24Game13PelletInitArg -/* 8025EC54 0025BB94 7C 79 1B 79 */ or. r25, r3, r3 -/* 8025EC58 0025BB98 41 82 00 E0 */ beq lbl_8025ED38 -/* 8025EC5C 0025BB9C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8025EC60 0025BBA0 4B ED C3 69 */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -/* 8025EC64 0025BBA4 7F 23 CB 78 */ mr r3, r25 -/* 8025EC68 0025BBA8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8025EC6C 0025BBAC 81 99 00 00 */ lwz r12, 0(r25) -/* 8025EC70 0025BBB0 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8025EC74 0025BBB4 7D 89 03 A6 */ mtctr r12 -/* 8025EC78 0025BBB8 4E 80 04 21 */ bctrl -/* 8025EC7C 0025BBBC EF BD E0 2A */ fadds f29, f29, f28 -/* 8025EC80 0025BBC0 C0 02 C8 CC */ lfs f0, lbl_8051AC2C@sda21(r2) -/* 8025EC84 0025BBC4 FC 20 E8 90 */ fmr f1, f29 -/* 8025EC88 0025BBC8 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8025EC8C 0025BBCC 40 80 00 08 */ bge lbl_8025EC94 -/* 8025EC90 0025BBD0 FC 20 E8 50 */ fneg f1, f29 -lbl_8025EC94: -/* 8025EC94 0025BBD4 C0 42 C9 08 */ lfs f2, lbl_8051AC68@sda21(r2) -/* 8025EC98 0025BBD8 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8025EC9C 0025BBDC C0 02 C8 CC */ lfs f0, lbl_8051AC2C@sda21(r2) -/* 8025ECA0 0025BBE0 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8025ECA4 0025BBE4 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8025ECA8 0025BBE8 C0 62 C9 24 */ lfs f3, lbl_8051AC84@sda21(r2) -/* 8025ECAC 0025BBEC FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8025ECB0 0025BBF0 FC 00 08 1E */ fctiwz f0, f1 -/* 8025ECB4 0025BBF4 D8 01 00 68 */ stfd f0, 0x68(r1) -/* 8025ECB8 0025BBF8 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 8025ECBC 0025BBFC 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025ECC0 0025BC00 7C 64 02 14 */ add r3, r4, r0 -/* 8025ECC4 0025BC04 C0 03 00 04 */ lfs f0, 4(r3) -/* 8025ECC8 0025BC08 EC 83 00 32 */ fmuls f4, f3, f0 -/* 8025ECCC 0025BC0C 40 80 00 28 */ bge lbl_8025ECF4 -/* 8025ECD0 0025BC10 C0 02 C9 04 */ lfs f0, lbl_8051AC64@sda21(r2) -/* 8025ECD4 0025BC14 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 8025ECD8 0025BC18 FC 00 00 1E */ fctiwz f0, f0 -/* 8025ECDC 0025BC1C D8 01 00 60 */ stfd f0, 0x60(r1) -/* 8025ECE0 0025BC20 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8025ECE4 0025BC24 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025ECE8 0025BC28 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8025ECEC 0025BC2C FC 00 00 50 */ fneg f0, f0 -/* 8025ECF0 0025BC30 48 00 00 1C */ b lbl_8025ED0C -lbl_8025ECF4: -/* 8025ECF4 0025BC34 EC 1D 00 B2 */ fmuls f0, f29, f2 -/* 8025ECF8 0025BC38 FC 00 00 1E */ fctiwz f0, f0 -/* 8025ECFC 0025BC3C D8 01 00 58 */ stfd f0, 0x58(r1) -/* 8025ED00 0025BC40 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8025ED04 0025BC44 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025ED08 0025BC48 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_8025ED0C: -/* 8025ED0C 0025BC4C EC 23 00 32 */ fmuls f1, f3, f0 -/* 8025ED10 0025BC50 C0 02 C9 18 */ lfs f0, lbl_8051AC78@sda21(r2) -/* 8025ED14 0025BC54 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8025ED18 0025BC58 7F 23 CB 78 */ mr r3, r25 -/* 8025ED1C 0025BC5C 38 81 00 08 */ addi r4, r1, 8 -/* 8025ED20 0025BC60 D0 21 00 08 */ stfs f1, 8(r1) -/* 8025ED24 0025BC64 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8025ED28 0025BC68 81 99 00 00 */ lwz r12, 0(r25) -/* 8025ED2C 0025BC6C 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8025ED30 0025BC70 7D 89 03 A6 */ mtctr r12 -/* 8025ED34 0025BC74 4E 80 04 21 */ bctrl -lbl_8025ED38: -/* 8025ED38 0025BC78 3B FF 00 01 */ addi r31, r31, 1 -lbl_8025ED3C: -/* 8025ED3C 0025BC7C 7C 1F F0 00 */ cmpw r31, r30 -/* 8025ED40 0025BC80 41 80 FE B8 */ blt lbl_8025EBF8 -/* 8025ED44 0025BC84 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8025ED48 0025BC88 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8025ED4C 0025BC8C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8025ED50 0025BC90 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8025ED54 0025BC94 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8025ED58 0025BC98 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8025ED5C 0025BC9C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 8025ED60 0025BCA0 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 8025ED64 0025BCA4 BB 21 00 74 */ lmw r25, 0x74(r1) -/* 8025ED68 0025BCA8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8025ED6C 0025BCAC 7C 08 03 A6 */ mtlr r0 -/* 8025ED70 0025BCB0 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8025ED74 0025BCB4 4E 80 00 20 */ blr - -.global createDoping__Q34Game6Kogane3ObjFUci -createDoping__Q34Game6Kogane3ObjFUci: -/* 8025ED78 0025BCB8 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8025ED7C 0025BCBC 7C 08 02 A6 */ mflr r0 -/* 8025ED80 0025BCC0 90 01 00 84 */ stw r0, 0x84(r1) -/* 8025ED84 0025BCC4 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8025ED88 0025BCC8 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8025ED8C 0025BCCC DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8025ED90 0025BCD0 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8025ED94 0025BCD4 BF 41 00 48 */ stmw r26, 0x48(r1) -/* 8025ED98 0025BCD8 81 83 00 00 */ lwz r12, 0(r3) -/* 8025ED9C 0025BCDC 7C 7A 1B 78 */ mr r26, r3 -/* 8025EDA0 0025BCE0 7C 9E 23 78 */ mr r30, r4 -/* 8025EDA4 0025BCE4 7C BF 2B 78 */ mr r31, r5 -/* 8025EDA8 0025BCE8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025EDAC 0025BCEC 7D 89 03 A6 */ mtctr r12 -/* 8025EDB0 0025BCF0 4E 80 04 21 */ bctrl -/* 8025EDB4 0025BCF4 38 7F 00 01 */ addi r3, r31, 1 -/* 8025EDB8 0025BCF8 3C 00 43 30 */ lis r0, 0x4330 -/* 8025EDBC 0025BCFC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8025EDC0 0025BD00 C0 62 C9 20 */ lfs f3, lbl_8051AC80@sda21(r2) -/* 8025EDC4 0025BD04 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8025EDC8 0025BD08 38 82 C8 E0 */ addi r4, r2, lbl_8051AC40@sda21 -/* 8025EDCC 0025BD0C C8 42 C9 10 */ lfd f2, lbl_8051AC70@sda21(r2) -/* 8025EDD0 0025BD10 EF E3 08 2A */ fadds f31, f3, f1 -/* 8025EDD4 0025BD14 90 01 00 28 */ stw r0, 0x28(r1) -/* 8025EDD8 0025BD18 80 7A 01 74 */ lwz r3, 0x174(r26) -/* 8025EDDC 0025BD1C C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8025EDE0 0025BD20 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8025EDE4 0025BD24 EF C3 00 24 */ fdivs f30, f3, f0 -/* 8025EDE8 0025BD28 48 1E 01 FD */ bl getJoint__Q28SysShape5ModelFPc -/* 8025EDEC 0025BD2C 48 1C AA B5 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8025EDF0 0025BD30 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8025EDF4 0025BD34 3C A0 80 4B */ lis r5, __vt__Q24Game15CreatureInitArg@ha -/* 8025EDF8 0025BD38 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8025EDFC 0025BD3C 3C 80 80 4B */ lis r4, __vt__Q34Game9ItemHoney7InitArg@ha -/* 8025EE00 0025BD40 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8025EE04 0025BD44 3B 85 A2 F4 */ addi r28, r5, __vt__Q24Game15CreatureInitArg@l -/* 8025EE08 0025BD48 3B A4 A2 E8 */ addi r29, r4, __vt__Q34Game9ItemHoney7InitArg@l -/* 8025EE0C 0025BD4C 3B 60 00 00 */ li r27, 0 -/* 8025EE10 0025BD50 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8025EE14 0025BD54 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8025EE18 0025BD58 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8025EE1C 0025BD5C 48 00 01 0C */ b lbl_8025EF28 -lbl_8025EE20: -/* 8025EE20 0025BD60 93 81 00 08 */ stw r28, 8(r1) -/* 8025EE24 0025BD64 38 00 00 00 */ li r0, 0 -/* 8025EE28 0025BD68 80 6D 94 50 */ lwz r3, mgr__Q24Game9ItemHoney@sda21(r13) -/* 8025EE2C 0025BD6C 93 A1 00 08 */ stw r29, 8(r1) -/* 8025EE30 0025BD70 9B C1 00 0C */ stb r30, 0xc(r1) -/* 8025EE34 0025BD74 98 01 00 0D */ stb r0, 0xd(r1) -/* 8025EE38 0025BD78 81 83 00 00 */ lwz r12, 0(r3) -/* 8025EE3C 0025BD7C 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025EE40 0025BD80 7D 89 03 A6 */ mtctr r12 -/* 8025EE44 0025BD84 4E 80 04 21 */ bctrl -/* 8025EE48 0025BD88 7C 7A 1B 79 */ or. r26, r3, r3 -/* 8025EE4C 0025BD8C 41 82 00 D8 */ beq lbl_8025EF24 -/* 8025EE50 0025BD90 38 81 00 08 */ addi r4, r1, 8 -/* 8025EE54 0025BD94 4B ED C1 75 */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -/* 8025EE58 0025BD98 7F 43 D3 78 */ mr r3, r26 -/* 8025EE5C 0025BD9C 38 81 00 1C */ addi r4, r1, 0x1c -/* 8025EE60 0025BDA0 38 A0 00 00 */ li r5, 0 -/* 8025EE64 0025BDA4 4B ED C3 45 */ bl setPosition__Q24Game8CreatureFR10Vector3$$0f$$1b -/* 8025EE68 0025BDA8 EF FF F0 2A */ fadds f31, f31, f30 -/* 8025EE6C 0025BDAC C0 02 C8 CC */ lfs f0, lbl_8051AC2C@sda21(r2) -/* 8025EE70 0025BDB0 FC 20 F8 90 */ fmr f1, f31 -/* 8025EE74 0025BDB4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8025EE78 0025BDB8 40 80 00 08 */ bge lbl_8025EE80 -/* 8025EE7C 0025BDBC FC 20 F8 50 */ fneg f1, f31 -lbl_8025EE80: -/* 8025EE80 0025BDC0 C0 42 C9 08 */ lfs f2, lbl_8051AC68@sda21(r2) -/* 8025EE84 0025BDC4 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8025EE88 0025BDC8 C0 02 C8 CC */ lfs f0, lbl_8051AC2C@sda21(r2) -/* 8025EE8C 0025BDCC 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8025EE90 0025BDD0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8025EE94 0025BDD4 C0 62 C9 24 */ lfs f3, lbl_8051AC84@sda21(r2) -/* 8025EE98 0025BDD8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8025EE9C 0025BDDC FC 00 08 1E */ fctiwz f0, f1 -/* 8025EEA0 0025BDE0 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 8025EEA4 0025BDE4 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8025EEA8 0025BDE8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025EEAC 0025BDEC 7C 64 02 14 */ add r3, r4, r0 -/* 8025EEB0 0025BDF0 C0 03 00 04 */ lfs f0, 4(r3) -/* 8025EEB4 0025BDF4 EC 83 00 32 */ fmuls f4, f3, f0 -/* 8025EEB8 0025BDF8 40 80 00 28 */ bge lbl_8025EEE0 -/* 8025EEBC 0025BDFC C0 02 C9 04 */ lfs f0, lbl_8051AC64@sda21(r2) -/* 8025EEC0 0025BE00 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8025EEC4 0025BE04 FC 00 00 1E */ fctiwz f0, f0 -/* 8025EEC8 0025BE08 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 8025EECC 0025BE0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8025EED0 0025BE10 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025EED4 0025BE14 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8025EED8 0025BE18 FC 00 00 50 */ fneg f0, f0 -/* 8025EEDC 0025BE1C 48 00 00 1C */ b lbl_8025EEF8 -lbl_8025EEE0: -/* 8025EEE0 0025BE20 EC 1F 00 B2 */ fmuls f0, f31, f2 -/* 8025EEE4 0025BE24 FC 00 00 1E */ fctiwz f0, f0 -/* 8025EEE8 0025BE28 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 8025EEEC 0025BE2C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8025EEF0 0025BE30 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8025EEF4 0025BE34 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_8025EEF8: -/* 8025EEF8 0025BE38 EC 23 00 32 */ fmuls f1, f3, f0 -/* 8025EEFC 0025BE3C C0 02 C9 18 */ lfs f0, lbl_8051AC78@sda21(r2) -/* 8025EF00 0025BE40 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8025EF04 0025BE44 7F 43 D3 78 */ mr r3, r26 -/* 8025EF08 0025BE48 38 81 00 10 */ addi r4, r1, 0x10 -/* 8025EF0C 0025BE4C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8025EF10 0025BE50 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8025EF14 0025BE54 81 9A 00 00 */ lwz r12, 0(r26) -/* 8025EF18 0025BE58 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8025EF1C 0025BE5C 7D 89 03 A6 */ mtctr r12 -/* 8025EF20 0025BE60 4E 80 04 21 */ bctrl -lbl_8025EF24: -/* 8025EF24 0025BE64 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8025EF28: -/* 8025EF28 0025BE68 7C 1B F8 00 */ cmpw r27, r31 -/* 8025EF2C 0025BE6C 41 80 FE F4 */ blt lbl_8025EE20 -/* 8025EF30 0025BE70 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8025EF34 0025BE74 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8025EF38 0025BE78 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8025EF3C 0025BE7C CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8025EF40 0025BE80 BB 41 00 48 */ lmw r26, 0x48(r1) -/* 8025EF44 0025BE84 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8025EF48 0025BE88 7C 08 03 A6 */ mtlr r0 -/* 8025EF4C 0025BE8C 38 21 00 80 */ addi r1, r1, 0x80 -/* 8025EF50 0025BE90 4E 80 00 20 */ blr - -.global __dt__Q34Game6Kogane3ObjFv -__dt__Q34Game6Kogane3ObjFv: -/* 8025EF54 0025BE94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025EF58 0025BE98 7C 08 02 A6 */ mflr r0 -/* 8025EF5C 0025BE9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025EF60 0025BEA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025EF64 0025BEA4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8025EF68 0025BEA8 93 C1 00 08 */ stw r30, 8(r1) -/* 8025EF6C 0025BEAC 7C 9E 23 78 */ mr r30, r4 -/* 8025EF70 0025BEB0 41 82 00 84 */ beq lbl_8025EFF4 -/* 8025EF74 0025BEB4 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3Obj@ha -/* 8025EF78 0025BEB8 38 1F 02 DC */ addi r0, r31, 0x2dc -/* 8025EF7C 0025BEBC 38 83 30 A8 */ addi r4, r3, __vt__Q34Game6Kogane3Obj@l -/* 8025EF80 0025BEC0 90 9F 00 00 */ stw r4, 0(r31) -/* 8025EF84 0025BEC4 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8025EF88 0025BEC8 38 84 03 20 */ addi r4, r4, 0x320 -/* 8025EF8C 0025BECC 90 7F 01 78 */ stw r3, 0x178(r31) -/* 8025EF90 0025BED0 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8025EF94 0025BED4 90 83 00 00 */ stw r4, 0(r3) -/* 8025EF98 0025BED8 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8025EF9C 0025BEDC 7C 03 00 50 */ subf r0, r3, r0 -/* 8025EFA0 0025BEE0 90 03 00 0C */ stw r0, 0xc(r3) -/* 8025EFA4 0025BEE4 41 82 00 40 */ beq lbl_8025EFE4 -/* 8025EFA8 0025BEE8 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8025EFAC 0025BEEC 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 8025EFB0 0025BEF0 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8025EFB4 0025BEF4 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8025EFB8 0025BEF8 90 9F 00 00 */ stw r4, 0(r31) -/* 8025EFBC 0025BEFC 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8025EFC0 0025BF00 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8025EFC4 0025BF04 38 80 FF FF */ li r4, -1 -/* 8025EFC8 0025BF08 90 BF 01 78 */ stw r5, 0x178(r31) -/* 8025EFCC 0025BF0C 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8025EFD0 0025BF10 90 C5 00 00 */ stw r6, 0(r5) -/* 8025EFD4 0025BF14 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8025EFD8 0025BF18 7C 05 00 50 */ subf r0, r5, r0 -/* 8025EFDC 0025BF1C 90 05 00 0C */ stw r0, 0xc(r5) -/* 8025EFE0 0025BF20 48 1B 25 A9 */ bl __dt__5CNodeFv -lbl_8025EFE4: -/* 8025EFE4 0025BF24 7F C0 07 35 */ extsh. r0, r30 -/* 8025EFE8 0025BF28 40 81 00 0C */ ble lbl_8025EFF4 -/* 8025EFEC 0025BF2C 7F E3 FB 78 */ mr r3, r31 -/* 8025EFF0 0025BF30 4B DC 50 C5 */ bl __dl__FPv -lbl_8025EFF4: -/* 8025EFF4 0025BF34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025EFF8 0025BF38 7F E3 FB 78 */ mr r3, r31 -/* 8025EFFC 0025BF3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F000 0025BF40 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025F004 0025BF44 7C 08 03 A6 */ mtlr r0 -/* 8025F008 0025BF48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F00C 0025BF4C 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game6Kogane3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game6Kogane3ObjFPQ24Game8WaterBox: -/* 8025F010 0025BF50 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game6Kogane3ObjFv -outWaterCallback__Q34Game6Kogane3ObjFv: -/* 8025F014 0025BF54 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game6Kogane3ObjFv -getEnemyTypeID__Q34Game6Kogane3ObjFv: -/* 8025F018 0025BF58 38 60 00 09 */ li r3, 9 -/* 8025F01C 0025BF5C 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game6Kogane14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game6Kogane14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8025F020 0025BF60 90 83 00 20 */ stw r4, 0x20(r3) -/* 8025F024 0025BF64 4E 80 00 20 */ blr - -.global getAnimator__Q34Game6Kogane14ProperAnimatorFi -getAnimator__Q34Game6Kogane14ProperAnimatorFi: -/* 8025F028 0025BF68 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025F02C 0025BF6C 4E 80 00 20 */ blr - -.global __dt__Q34Game6Kogane14ProperAnimatorFv -__dt__Q34Game6Kogane14ProperAnimatorFv: -/* 8025F030 0025BF70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F034 0025BF74 7C 08 02 A6 */ mflr r0 -/* 8025F038 0025BF78 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F03C 0025BF7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F040 0025BF80 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8025F044 0025BF84 41 82 00 30 */ beq lbl_8025F074 -/* 8025F048 0025BF88 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane14ProperAnimator@ha -/* 8025F04C 0025BF8C 38 03 33 F8 */ addi r0, r3, __vt__Q34Game6Kogane14ProperAnimator@l -/* 8025F050 0025BF90 90 1F 00 00 */ stw r0, 0(r31) -/* 8025F054 0025BF94 41 82 00 10 */ beq lbl_8025F064 -/* 8025F058 0025BF98 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 8025F05C 0025BF9C 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 8025F060 0025BFA0 90 1F 00 00 */ stw r0, 0(r31) -lbl_8025F064: -/* 8025F064 0025BFA4 7C 80 07 35 */ extsh. r0, r4 -/* 8025F068 0025BFA8 40 81 00 0C */ ble lbl_8025F074 -/* 8025F06C 0025BFAC 7F E3 FB 78 */ mr r3, r31 -/* 8025F070 0025BFB0 4B DC 50 45 */ bl __dl__FPv -lbl_8025F074: -/* 8025F074 0025BFB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F078 0025BFB8 7F E3 FB 78 */ mr r3, r31 -/* 8025F07C 0025BFBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F080 0025BFC0 7C 08 03 A6 */ mtlr r0 -/* 8025F084 0025BFC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F088 0025BFC8 4E 80 00 20 */ blr - -.global getAnimator__Q34Game6Kogane14ProperAnimatorFv -getAnimator__Q34Game6Kogane14ProperAnimatorFv: -/* 8025F08C 0025BFCC 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025F090 0025BFD0 4E 80 00 20 */ blr - -.global init__Q34Game7Qurione3FSMFPQ24Game9EnemyBase -init__Q34Game7Qurione3FSMFPQ24Game9EnemyBase: -/* 8025F094 0025BFD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F098 0025BFD8 7C 08 02 A6 */ mflr r0 -/* 8025F09C 0025BFDC 38 80 00 06 */ li r4, 6 -/* 8025F0A0 0025BFE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F0A4 0025BFE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F0A8 0025BFE8 7C 7F 1B 78 */ mr r31, r3 -/* 8025F0AC 0025BFEC 4B ED 17 B9 */ bl create__Q24Game17EnemyStateMachineFi -/* 8025F0B0 0025BFF0 38 60 00 10 */ li r3, 0x10 -/* 8025F0B4 0025BFF4 4B DC 4D F1 */ bl __nw__FUl -/* 8025F0B8 0025BFF8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025F0BC 0025BFFC 41 82 00 3C */ beq lbl_8025F0F8 -/* 8025F0C0 0025C000 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025F0C4 0025C004 3C A0 80 4C */ lis r5, __vt__Q34Game7Qurione5State@ha -/* 8025F0C8 0025C008 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025F0CC 0025C00C 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione9StateStay@ha -/* 8025F0D0 0025C010 90 04 00 00 */ stw r0, 0(r4) -/* 8025F0D4 0025C014 38 E0 00 00 */ li r7, 0 -/* 8025F0D8 0025C018 38 C5 34 F8 */ addi r6, r5, __vt__Q34Game7Qurione5State@l -/* 8025F0DC 0025C01C 38 A2 C9 28 */ addi r5, r2, lbl_8051AC88@sda21 -/* 8025F0E0 0025C020 90 E4 00 04 */ stw r7, 4(r4) -/* 8025F0E4 0025C024 38 03 34 D4 */ addi r0, r3, __vt__Q34Game7Qurione9StateStay@l -/* 8025F0E8 0025C028 90 E4 00 08 */ stw r7, 8(r4) -/* 8025F0EC 0025C02C 90 C4 00 00 */ stw r6, 0(r4) -/* 8025F0F0 0025C030 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025F0F4 0025C034 90 04 00 00 */ stw r0, 0(r4) -lbl_8025F0F8: -/* 8025F0F8 0025C038 7F E3 FB 78 */ mr r3, r31 -/* 8025F0FC 0025C03C 4B ED 18 0D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025F100 0025C040 38 60 00 10 */ li r3, 0x10 -/* 8025F104 0025C044 4B DC 4D A1 */ bl __nw__FUl -/* 8025F108 0025C048 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025F10C 0025C04C 41 82 00 40 */ beq lbl_8025F14C -/* 8025F110 0025C050 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025F114 0025C054 3C A0 80 4C */ lis r5, __vt__Q34Game7Qurione5State@ha -/* 8025F118 0025C058 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025F11C 0025C05C 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione11StateAppear@ha -/* 8025F120 0025C060 90 04 00 00 */ stw r0, 0(r4) -/* 8025F124 0025C064 38 00 00 01 */ li r0, 1 -/* 8025F128 0025C068 38 E0 00 00 */ li r7, 0 -/* 8025F12C 0025C06C 38 C5 34 F8 */ addi r6, r5, __vt__Q34Game7Qurione5State@l -/* 8025F130 0025C070 90 04 00 04 */ stw r0, 4(r4) -/* 8025F134 0025C074 38 A2 C9 30 */ addi r5, r2, lbl_8051AC90@sda21 -/* 8025F138 0025C078 38 03 34 B0 */ addi r0, r3, __vt__Q34Game7Qurione11StateAppear@l -/* 8025F13C 0025C07C 90 E4 00 08 */ stw r7, 8(r4) -/* 8025F140 0025C080 90 C4 00 00 */ stw r6, 0(r4) -/* 8025F144 0025C084 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025F148 0025C088 90 04 00 00 */ stw r0, 0(r4) -lbl_8025F14C: -/* 8025F14C 0025C08C 7F E3 FB 78 */ mr r3, r31 -/* 8025F150 0025C090 4B ED 17 B9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025F154 0025C094 38 60 00 10 */ li r3, 0x10 -/* 8025F158 0025C098 4B DC 4D 4D */ bl __nw__FUl -/* 8025F15C 0025C09C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025F160 0025C0A0 41 82 00 44 */ beq lbl_8025F1A4 -/* 8025F164 0025C0A4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025F168 0025C0A8 3C C0 80 4C */ lis r6, __vt__Q34Game7Qurione5State@ha -/* 8025F16C 0025C0AC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025F170 0025C0B0 3C A0 80 48 */ lis r5, lbl_804853E8@ha -/* 8025F174 0025C0B4 90 04 00 00 */ stw r0, 0(r4) -/* 8025F178 0025C0B8 38 00 00 02 */ li r0, 2 -/* 8025F17C 0025C0BC 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione14StateDisappear@ha -/* 8025F180 0025C0C0 38 E0 00 00 */ li r7, 0 -/* 8025F184 0025C0C4 90 04 00 04 */ stw r0, 4(r4) -/* 8025F188 0025C0C8 38 C6 34 F8 */ addi r6, r6, __vt__Q34Game7Qurione5State@l -/* 8025F18C 0025C0CC 38 A5 53 E8 */ addi r5, r5, lbl_804853E8@l -/* 8025F190 0025C0D0 38 03 34 8C */ addi r0, r3, __vt__Q34Game7Qurione14StateDisappear@l -/* 8025F194 0025C0D4 90 E4 00 08 */ stw r7, 8(r4) -/* 8025F198 0025C0D8 90 C4 00 00 */ stw r6, 0(r4) -/* 8025F19C 0025C0DC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025F1A0 0025C0E0 90 04 00 00 */ stw r0, 0(r4) -lbl_8025F1A4: -/* 8025F1A4 0025C0E4 7F E3 FB 78 */ mr r3, r31 -/* 8025F1A8 0025C0E8 4B ED 17 61 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025F1AC 0025C0EC 38 60 00 10 */ li r3, 0x10 -/* 8025F1B0 0025C0F0 4B DC 4C F5 */ bl __nw__FUl -/* 8025F1B4 0025C0F4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025F1B8 0025C0F8 41 82 00 40 */ beq lbl_8025F1F8 -/* 8025F1BC 0025C0FC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025F1C0 0025C100 3C A0 80 4C */ lis r5, __vt__Q34Game7Qurione5State@ha -/* 8025F1C4 0025C104 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025F1C8 0025C108 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione9StateMove@ha -/* 8025F1CC 0025C10C 90 04 00 00 */ stw r0, 0(r4) -/* 8025F1D0 0025C110 38 00 00 03 */ li r0, 3 -/* 8025F1D4 0025C114 38 E0 00 00 */ li r7, 0 -/* 8025F1D8 0025C118 38 C5 34 F8 */ addi r6, r5, __vt__Q34Game7Qurione5State@l -/* 8025F1DC 0025C11C 90 04 00 04 */ stw r0, 4(r4) -/* 8025F1E0 0025C120 38 A2 C9 38 */ addi r5, r2, lbl_8051AC98@sda21 -/* 8025F1E4 0025C124 38 03 34 68 */ addi r0, r3, __vt__Q34Game7Qurione9StateMove@l -/* 8025F1E8 0025C128 90 E4 00 08 */ stw r7, 8(r4) -/* 8025F1EC 0025C12C 90 C4 00 00 */ stw r6, 0(r4) -/* 8025F1F0 0025C130 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025F1F4 0025C134 90 04 00 00 */ stw r0, 0(r4) -lbl_8025F1F8: -/* 8025F1F8 0025C138 7F E3 FB 78 */ mr r3, r31 -/* 8025F1FC 0025C13C 4B ED 17 0D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025F200 0025C140 38 60 00 10 */ li r3, 0x10 -/* 8025F204 0025C144 4B DC 4C A1 */ bl __nw__FUl -/* 8025F208 0025C148 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025F20C 0025C14C 41 82 00 40 */ beq lbl_8025F24C -/* 8025F210 0025C150 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025F214 0025C154 3C A0 80 4C */ lis r5, __vt__Q34Game7Qurione5State@ha -/* 8025F218 0025C158 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025F21C 0025C15C 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione9StateDrop@ha -/* 8025F220 0025C160 90 04 00 00 */ stw r0, 0(r4) -/* 8025F224 0025C164 38 00 00 04 */ li r0, 4 -/* 8025F228 0025C168 38 E0 00 00 */ li r7, 0 -/* 8025F22C 0025C16C 38 C5 34 F8 */ addi r6, r5, __vt__Q34Game7Qurione5State@l -/* 8025F230 0025C170 90 04 00 04 */ stw r0, 4(r4) -/* 8025F234 0025C174 38 A2 C9 40 */ addi r5, r2, lbl_8051ACA0@sda21 -/* 8025F238 0025C178 38 03 34 44 */ addi r0, r3, __vt__Q34Game7Qurione9StateDrop@l -/* 8025F23C 0025C17C 90 E4 00 08 */ stw r7, 8(r4) -/* 8025F240 0025C180 90 C4 00 00 */ stw r6, 0(r4) -/* 8025F244 0025C184 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025F248 0025C188 90 04 00 00 */ stw r0, 0(r4) -lbl_8025F24C: -/* 8025F24C 0025C18C 7F E3 FB 78 */ mr r3, r31 -/* 8025F250 0025C190 4B ED 16 B9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025F254 0025C194 38 60 00 10 */ li r3, 0x10 -/* 8025F258 0025C198 4B DC 4C 4D */ bl __nw__FUl -/* 8025F25C 0025C19C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025F260 0025C1A0 41 82 00 40 */ beq lbl_8025F2A0 -/* 8025F264 0025C1A4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8025F268 0025C1A8 3C A0 80 4C */ lis r5, __vt__Q34Game7Qurione5State@ha -/* 8025F26C 0025C1AC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8025F270 0025C1B0 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione9StateDead@ha -/* 8025F274 0025C1B4 90 04 00 00 */ stw r0, 0(r4) -/* 8025F278 0025C1B8 38 00 00 05 */ li r0, 5 -/* 8025F27C 0025C1BC 38 E0 00 00 */ li r7, 0 -/* 8025F280 0025C1C0 38 C5 34 F8 */ addi r6, r5, __vt__Q34Game7Qurione5State@l -/* 8025F284 0025C1C4 90 04 00 04 */ stw r0, 4(r4) -/* 8025F288 0025C1C8 38 A2 C9 48 */ addi r5, r2, lbl_8051ACA8@sda21 -/* 8025F28C 0025C1CC 38 03 34 20 */ addi r0, r3, __vt__Q34Game7Qurione9StateDead@l -/* 8025F290 0025C1D0 90 E4 00 08 */ stw r7, 8(r4) -/* 8025F294 0025C1D4 90 C4 00 00 */ stw r6, 0(r4) -/* 8025F298 0025C1D8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8025F29C 0025C1DC 90 04 00 00 */ stw r0, 0(r4) -lbl_8025F2A0: -/* 8025F2A0 0025C1E0 7F E3 FB 78 */ mr r3, r31 -/* 8025F2A4 0025C1E4 4B ED 16 65 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8025F2A8 0025C1E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F2AC 0025C1EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F2B0 0025C1F0 7C 08 03 A6 */ mtlr r0 -/* 8025F2B4 0025C1F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F2B8 0025C1F8 4E 80 00 20 */ blr - -.global init__Q34Game7Qurione9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Qurione9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025F2BC 0025C1FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025F2C0 0025C200 7C 08 02 A6 */ mflr r0 -/* 8025F2C4 0025C204 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025F2C8 0025C208 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025F2CC 0025C20C 7C 9F 23 78 */ mr r31, r4 -/* 8025F2D0 0025C210 7F E3 FB 78 */ mr r3, r31 -/* 8025F2D4 0025C214 48 00 17 0D */ bl resetUtilityTimer__Q34Game7Qurione3ObjFv -/* 8025F2D8 0025C218 C0 02 C9 50 */ lfs f0, lbl_8051ACB0@sda21(r2) -/* 8025F2DC 0025C21C 7F E3 FB 78 */ mr r3, r31 -/* 8025F2E0 0025C220 38 81 00 08 */ addi r4, r1, 8 -/* 8025F2E4 0025C224 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 8025F2E8 0025C228 80 1F 02 D0 */ lwz r0, 0x2d0(r31) -/* 8025F2EC 0025C22C 1C A0 00 0C */ mulli r5, r0, 0xc -/* 8025F2F0 0025C230 38 A5 02 D4 */ addi r5, r5, 0x2d4 -/* 8025F2F4 0025C234 7C BF 2A 14 */ add r5, r31, r5 -/* 8025F2F8 0025C238 C0 25 00 04 */ lfs f1, 4(r5) -/* 8025F2FC 0025C23C C0 45 00 08 */ lfs f2, 8(r5) -/* 8025F300 0025C240 C0 05 00 00 */ lfs f0, 0(r5) -/* 8025F304 0025C244 D0 01 00 08 */ stfs f0, 8(r1) -/* 8025F308 0025C248 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025F30C 0025C24C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8025F310 0025C250 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F314 0025C254 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8025F318 0025C258 7D 89 03 A6 */ mtctr r12 -/* 8025F31C 0025C25C 4E 80 04 21 */ bctrl -/* 8025F320 0025C260 7F E3 FB 78 */ mr r3, r31 -/* 8025F324 0025C264 38 80 00 00 */ li r4, 0 -/* 8025F328 0025C268 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F32C 0025C26C 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025F330 0025C270 7D 89 03 A6 */ mtctr r12 -/* 8025F334 0025C274 4E 80 04 21 */ bctrl -/* 8025F338 0025C278 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025F33C 0025C27C 7F E3 FB 78 */ mr r3, r31 -/* 8025F340 0025C280 C0 02 C9 50 */ lfs f0, lbl_8051ACB0@sda21(r2) -/* 8025F344 0025C284 38 80 00 03 */ li r4, 3 -/* 8025F348 0025C288 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf -/* 8025F34C 0025C28C 38 A0 00 00 */ li r5, 0 -/* 8025F350 0025C290 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025F354 0025C294 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025F358 0025C298 64 00 40 00 */ oris r0, r0, 0x4000 -/* 8025F35C 0025C29C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025F360 0025C2A0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025F364 0025C2A4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025F368 0025C2A8 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025F36C 0025C2AC 4B EA 5C 99 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025F370 0025C2B0 7F E3 FB 78 */ mr r3, r31 -/* 8025F374 0025C2B4 4B EA 7F 6D */ bl stopMotion__Q24Game9EnemyBaseFv -/* 8025F378 0025C2B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025F37C 0025C2BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025F380 0025C2C0 7C 08 03 A6 */ mtlr r0 -/* 8025F384 0025C2C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025F388 0025C2C8 4E 80 00 20 */ blr - -.global exec__Q34Game7Qurione9StateStayFPQ24Game9EnemyBase -exec__Q34Game7Qurione9StateStayFPQ24Game9EnemyBase: -/* 8025F38C 0025C2CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F390 0025C2D0 7C 08 02 A6 */ mflr r0 -/* 8025F394 0025C2D4 C0 02 C9 54 */ lfs f0, lbl_8051ACB4@sda21(r2) -/* 8025F398 0025C2D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F39C 0025C2DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F3A0 0025C2E0 7C 9F 23 78 */ mr r31, r4 -/* 8025F3A4 0025C2E4 93 C1 00 08 */ stw r30, 8(r1) -/* 8025F3A8 0025C2E8 7C 7E 1B 78 */ mr r30, r3 -/* 8025F3AC 0025C2EC 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 8025F3B0 0025C2F0 C0 44 02 CC */ lfs f2, 0x2cc(r4) -/* 8025F3B4 0025C2F4 C0 25 00 54 */ lfs f1, 0x54(r5) -/* 8025F3B8 0025C2F8 EC 22 08 2A */ fadds f1, f2, f1 -/* 8025F3BC 0025C2FC D0 24 02 CC */ stfs f1, 0x2cc(r4) -/* 8025F3C0 0025C300 C0 24 02 CC */ lfs f1, 0x2cc(r4) -/* 8025F3C4 0025C304 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025F3C8 0025C308 40 81 00 34 */ ble lbl_8025F3FC -/* 8025F3CC 0025C30C 7F E3 FB 78 */ mr r3, r31 -/* 8025F3D0 0025C310 48 00 16 99 */ bl isAppear__Q34Game7Qurione3ObjFv -/* 8025F3D4 0025C314 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025F3D8 0025C318 41 82 00 24 */ beq lbl_8025F3FC -/* 8025F3DC 0025C31C 7F C3 F3 78 */ mr r3, r30 -/* 8025F3E0 0025C320 7F E4 FB 78 */ mr r4, r31 -/* 8025F3E4 0025C324 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025F3E8 0025C328 38 A0 00 01 */ li r5, 1 -/* 8025F3EC 0025C32C 38 C0 00 00 */ li r6, 0 -/* 8025F3F0 0025C330 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025F3F4 0025C334 7D 89 03 A6 */ mtctr r12 -/* 8025F3F8 0025C338 4E 80 04 21 */ bctrl -lbl_8025F3FC: -/* 8025F3FC 0025C33C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F400 0025C340 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F404 0025C344 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025F408 0025C348 7C 08 03 A6 */ mtlr r0 -/* 8025F40C 0025C34C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F410 0025C350 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Qurione9StateStayFPQ24Game9EnemyBase -cleanup__Q34Game7Qurione9StateStayFPQ24Game9EnemyBase: -/* 8025F414 0025C354 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F418 0025C358 7C 08 02 A6 */ mflr r0 -/* 8025F41C 0025C35C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F420 0025C360 7C 80 23 78 */ mr r0, r4 -/* 8025F424 0025C364 38 80 00 01 */ li r4, 1 -/* 8025F428 0025C368 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F42C 0025C36C 7C 1F 03 78 */ mr r31, r0 -/* 8025F430 0025C370 7F E3 FB 78 */ mr r3, r31 -/* 8025F434 0025C374 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F438 0025C378 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025F43C 0025C37C 7D 89 03 A6 */ mtctr r12 -/* 8025F440 0025C380 4E 80 04 21 */ bctrl -/* 8025F444 0025C384 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025F448 0025C388 60 00 80 00 */ ori r0, r0, 0x8000 -/* 8025F44C 0025C38C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025F450 0025C390 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025F454 0025C394 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 -/* 8025F458 0025C398 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025F45C 0025C39C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F460 0025C3A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F464 0025C3A4 7C 08 03 A6 */ mtlr r0 -/* 8025F468 0025C3A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F46C 0025C3AC 4E 80 00 20 */ blr - -.global init__Q34Game7Qurione11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Qurione11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025F470 0025C3B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F474 0025C3B4 7C 08 02 A6 */ mflr r0 -/* 8025F478 0025C3B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F47C 0025C3BC 7C 80 23 78 */ mr r0, r4 -/* 8025F480 0025C3C0 38 80 00 00 */ li r4, 0 -/* 8025F484 0025C3C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F488 0025C3C8 7C 1F 03 78 */ mr r31, r0 -/* 8025F48C 0025C3CC 7F E3 FB 78 */ mr r3, r31 -/* 8025F490 0025C3D0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F494 0025C3D4 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025F498 0025C3D8 7D 89 03 A6 */ mtctr r12 -/* 8025F49C 0025C3DC 4E 80 04 21 */ bctrl -/* 8025F4A0 0025C3E0 C0 02 C9 50 */ lfs f0, lbl_8051ACB0@sda21(r2) -/* 8025F4A4 0025C3E4 7F E3 FB 78 */ mr r3, r31 -/* 8025F4A8 0025C3E8 38 80 00 03 */ li r4, 3 -/* 8025F4AC 0025C3EC 38 A0 00 00 */ li r5, 0 -/* 8025F4B0 0025C3F0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025F4B4 0025C3F4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025F4B8 0025C3F8 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025F4BC 0025C3FC 4B EA 5B 49 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025F4C0 0025C400 7F E3 FB 78 */ mr r3, r31 -/* 8025F4C4 0025C404 48 00 1A E5 */ bl createAppearEffect__Q34Game7Qurione3ObjFv -/* 8025F4C8 0025C408 7F E3 FB 78 */ mr r3, r31 -/* 8025F4CC 0025C40C 48 00 1A 35 */ bl startGlowEffect__Q34Game7Qurione3ObjFv -/* 8025F4D0 0025C410 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F4D4 0025C414 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F4D8 0025C418 7C 08 03 A6 */ mtlr r0 -/* 8025F4DC 0025C41C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F4E0 0025C420 4E 80 00 20 */ blr - -.global exec__Q34Game7Qurione11StateAppearFPQ24Game9EnemyBase -exec__Q34Game7Qurione11StateAppearFPQ24Game9EnemyBase: -/* 8025F4E4 0025C424 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F4E8 0025C428 7C 08 02 A6 */ mflr r0 -/* 8025F4EC 0025C42C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F4F0 0025C430 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F4F4 0025C434 7C 9F 23 78 */ mr r31, r4 -/* 8025F4F8 0025C438 93 C1 00 08 */ stw r30, 8(r1) -/* 8025F4FC 0025C43C 7C 7E 1B 78 */ mr r30, r3 -/* 8025F500 0025C440 7F E3 FB 78 */ mr r3, r31 -/* 8025F504 0025C444 48 00 16 F1 */ bl addQurioneScale__Q34Game7Qurione3ObjFv -/* 8025F508 0025C448 7F E3 FB 78 */ mr r3, r31 -/* 8025F50C 0025C44C 48 00 1A 41 */ bl setGlowEffectScale__Q34Game7Qurione3ObjFv -/* 8025F510 0025C450 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025F514 0025C454 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025F518 0025C458 28 00 00 00 */ cmplwi r0, 0 -/* 8025F51C 0025C45C 41 82 00 30 */ beq lbl_8025F54C -/* 8025F520 0025C460 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025F524 0025C464 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025F528 0025C468 40 82 00 24 */ bne lbl_8025F54C -/* 8025F52C 0025C46C 7F C3 F3 78 */ mr r3, r30 -/* 8025F530 0025C470 7F E4 FB 78 */ mr r4, r31 -/* 8025F534 0025C474 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025F538 0025C478 38 A0 00 03 */ li r5, 3 -/* 8025F53C 0025C47C 38 C0 00 00 */ li r6, 0 -/* 8025F540 0025C480 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025F544 0025C484 7D 89 03 A6 */ mtctr r12 -/* 8025F548 0025C488 4E 80 04 21 */ bctrl -lbl_8025F54C: -/* 8025F54C 0025C48C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F550 0025C490 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F554 0025C494 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025F558 0025C498 7C 08 03 A6 */ mtlr r0 -/* 8025F55C 0025C49C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F560 0025C4A0 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Qurione11StateAppearFPQ24Game9EnemyBase -cleanup__Q34Game7Qurione11StateAppearFPQ24Game9EnemyBase: -/* 8025F564 0025C4A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F568 0025C4A8 7C 08 02 A6 */ mflr r0 -/* 8025F56C 0025C4AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F570 0025C4B0 7C 80 23 78 */ mr r0, r4 -/* 8025F574 0025C4B4 38 80 00 01 */ li r4, 1 -/* 8025F578 0025C4B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F57C 0025C4BC 7C 1F 03 78 */ mr r31, r0 -/* 8025F580 0025C4C0 7F E3 FB 78 */ mr r3, r31 -/* 8025F584 0025C4C4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F588 0025C4C8 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025F58C 0025C4CC 7D 89 03 A6 */ mtctr r12 -/* 8025F590 0025C4D0 4E 80 04 21 */ bctrl -/* 8025F594 0025C4D4 C0 02 C9 54 */ lfs f0, lbl_8051ACB4@sda21(r2) -/* 8025F598 0025C4D8 7F E3 FB 78 */ mr r3, r31 -/* 8025F59C 0025C4DC D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 8025F5A0 0025C4E0 48 00 19 AD */ bl setGlowEffectScale__Q34Game7Qurione3ObjFv -/* 8025F5A4 0025C4E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F5A8 0025C4E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F5AC 0025C4EC 7C 08 03 A6 */ mtlr r0 -/* 8025F5B0 0025C4F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F5B4 0025C4F4 4E 80 00 20 */ blr - -.global init__Q34Game7Qurione14StateDisappearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Qurione14StateDisappearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025F5B8 0025C4F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F5BC 0025C4FC 7C 08 02 A6 */ mflr r0 -/* 8025F5C0 0025C500 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F5C4 0025C504 7C 80 23 78 */ mr r0, r4 -/* 8025F5C8 0025C508 38 80 00 00 */ li r4, 0 -/* 8025F5CC 0025C50C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F5D0 0025C510 7C 1F 03 78 */ mr r31, r0 -/* 8025F5D4 0025C514 7F E3 FB 78 */ mr r3, r31 -/* 8025F5D8 0025C518 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F5DC 0025C51C 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025F5E0 0025C520 7D 89 03 A6 */ mtctr r12 -/* 8025F5E4 0025C524 4E 80 04 21 */ bctrl -/* 8025F5E8 0025C528 C0 02 C9 50 */ lfs f0, lbl_8051ACB0@sda21(r2) -/* 8025F5EC 0025C52C 7F E3 FB 78 */ mr r3, r31 -/* 8025F5F0 0025C530 38 80 00 04 */ li r4, 4 -/* 8025F5F4 0025C534 38 A0 00 00 */ li r5, 0 -/* 8025F5F8 0025C538 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025F5FC 0025C53C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025F600 0025C540 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025F604 0025C544 4B EA 5A 01 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025F608 0025C548 7F E3 FB 78 */ mr r3, r31 -/* 8025F60C 0025C54C 48 00 19 D1 */ bl createDisppearEffect__Q34Game7Qurione3ObjFv -/* 8025F610 0025C550 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F614 0025C554 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F618 0025C558 7C 08 03 A6 */ mtlr r0 -/* 8025F61C 0025C55C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F620 0025C560 4E 80 00 20 */ blr - -.global exec__Q34Game7Qurione14StateDisappearFPQ24Game9EnemyBase -exec__Q34Game7Qurione14StateDisappearFPQ24Game9EnemyBase: -/* 8025F624 0025C564 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F628 0025C568 7C 08 02 A6 */ mflr r0 -/* 8025F62C 0025C56C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F630 0025C570 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F634 0025C574 7C 9F 23 78 */ mr r31, r4 -/* 8025F638 0025C578 93 C1 00 08 */ stw r30, 8(r1) -/* 8025F63C 0025C57C 7C 7E 1B 78 */ mr r30, r3 -/* 8025F640 0025C580 7F E3 FB 78 */ mr r3, r31 -/* 8025F644 0025C584 48 00 15 DD */ bl subQurioneScale__Q34Game7Qurione3ObjFv -/* 8025F648 0025C588 7F E3 FB 78 */ mr r3, r31 -/* 8025F64C 0025C58C 48 00 19 01 */ bl setGlowEffectScale__Q34Game7Qurione3ObjFv -/* 8025F650 0025C590 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8025F654 0025C594 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8025F658 0025C598 28 00 00 00 */ cmplwi r0, 0 -/* 8025F65C 0025C59C 41 82 00 30 */ beq lbl_8025F68C -/* 8025F660 0025C5A0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8025F664 0025C5A4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025F668 0025C5A8 40 82 00 24 */ bne lbl_8025F68C -/* 8025F66C 0025C5AC 7F C3 F3 78 */ mr r3, r30 -/* 8025F670 0025C5B0 7F E4 FB 78 */ mr r4, r31 -/* 8025F674 0025C5B4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025F678 0025C5B8 38 A0 00 00 */ li r5, 0 -/* 8025F67C 0025C5BC 38 C0 00 00 */ li r6, 0 -/* 8025F680 0025C5C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025F684 0025C5C4 7D 89 03 A6 */ mtctr r12 -/* 8025F688 0025C5C8 4E 80 04 21 */ bctrl -lbl_8025F68C: -/* 8025F68C 0025C5CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F690 0025C5D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F694 0025C5D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025F698 0025C5D8 7C 08 03 A6 */ mtlr r0 -/* 8025F69C 0025C5DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F6A0 0025C5E0 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Qurione14StateDisappearFPQ24Game9EnemyBase -cleanup__Q34Game7Qurione14StateDisappearFPQ24Game9EnemyBase: -/* 8025F6A4 0025C5E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F6A8 0025C5E8 7C 08 02 A6 */ mflr r0 -/* 8025F6AC 0025C5EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F6B0 0025C5F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F6B4 0025C5F4 7C 9F 23 78 */ mr r31, r4 -/* 8025F6B8 0025C5F8 7F E3 FB 78 */ mr r3, r31 -/* 8025F6BC 0025C5FC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F6C0 0025C600 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8025F6C4 0025C604 7D 89 03 A6 */ mtctr r12 -/* 8025F6C8 0025C608 4E 80 04 21 */ bctrl -/* 8025F6CC 0025C60C C0 42 C9 58 */ lfs f2, lbl_8051ACB8@sda21(r2) -/* 8025F6D0 0025C610 C0 02 C9 5C */ lfs f0, lbl_8051ACBC@sda21(r2) -/* 8025F6D4 0025C614 EC 22 08 2A */ fadds f1, f2, f1 -/* 8025F6D8 0025C618 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025F6DC 0025C61C 4C 41 13 82 */ cror 2, 1, 2 -/* 8025F6E0 0025C620 40 82 00 08 */ bne lbl_8025F6E8 -/* 8025F6E4 0025C624 EC 21 00 28 */ fsubs f1, f1, f0 -lbl_8025F6E8: -/* 8025F6E8 0025C628 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8025F6EC 0025C62C 7F E3 FB 78 */ mr r3, r31 -/* 8025F6F0 0025C630 38 80 00 01 */ li r4, 1 -/* 8025F6F4 0025C634 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8025F6F8 0025C638 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8025F6FC 0025C63C 80 1F 02 D0 */ lwz r0, 0x2d0(r31) -/* 8025F700 0025C640 68 00 00 01 */ xori r0, r0, 1 -/* 8025F704 0025C644 90 1F 02 D0 */ stw r0, 0x2d0(r31) -/* 8025F708 0025C648 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F70C 0025C64C 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8025F710 0025C650 7D 89 03 A6 */ mtctr r12 -/* 8025F714 0025C654 4E 80 04 21 */ bctrl -/* 8025F718 0025C658 7F E3 FB 78 */ mr r3, r31 -/* 8025F71C 0025C65C 48 00 18 5D */ bl finishGlowEffect__Q34Game7Qurione3ObjFv -/* 8025F720 0025C660 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F724 0025C664 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F728 0025C668 7C 08 03 A6 */ mtlr r0 -/* 8025F72C 0025C66C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F730 0025C670 4E 80 00 20 */ blr - -.global init__Q34Game7Qurione9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Qurione9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025F734 0025C674 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F738 0025C678 7C 08 02 A6 */ mflr r0 -/* 8025F73C 0025C67C 7C 83 23 78 */ mr r3, r4 -/* 8025F740 0025C680 C0 02 C9 50 */ lfs f0, lbl_8051ACB0@sda21(r2) -/* 8025F744 0025C684 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F748 0025C688 38 80 00 00 */ li r4, 0 -/* 8025F74C 0025C68C 38 A0 00 00 */ li r5, 0 -/* 8025F750 0025C690 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8025F754 0025C694 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 8025F758 0025C698 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 8025F75C 0025C69C 4B EA 58 A9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025F760 0025C6A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F764 0025C6A4 7C 08 03 A6 */ mtlr r0 -/* 8025F768 0025C6A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F76C 0025C6AC 4E 80 00 20 */ blr - -.global exec__Q34Game7Qurione9StateMoveFPQ24Game9EnemyBase -exec__Q34Game7Qurione9StateMoveFPQ24Game9EnemyBase: -/* 8025F770 0025C6B0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8025F774 0025C6B4 7C 08 02 A6 */ mflr r0 -/* 8025F778 0025C6B8 90 01 00 74 */ stw r0, 0x74(r1) -/* 8025F77C 0025C6BC DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8025F780 0025C6C0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8025F784 0025C6C4 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8025F788 0025C6C8 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8025F78C 0025C6CC DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8025F790 0025C6D0 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 8025F794 0025C6D4 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 8025F798 0025C6D8 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 8025F79C 0025C6DC DB 61 00 20 */ stfd f27, 0x20(r1) -/* 8025F7A0 0025C6E0 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 -/* 8025F7A4 0025C6E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025F7A8 0025C6E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8025F7AC 0025C6EC 7C 9F 23 78 */ mr r31, r4 -/* 8025F7B0 0025C6F0 7C 7E 1B 78 */ mr r30, r3 -/* 8025F7B4 0025C6F4 7F E3 FB 78 */ mr r3, r31 -/* 8025F7B8 0025C6F8 48 00 10 85 */ bl moveFaceDir__Q34Game7Qurione3ObjFv -/* 8025F7BC 0025C6FC 7F E4 FB 78 */ mr r4, r31 -/* 8025F7C0 0025C700 38 61 00 08 */ addi r3, r1, 8 -/* 8025F7C4 0025C704 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F7C8 0025C708 81 8C 00 08 */ lwz r12, 8(r12) -/* 8025F7CC 0025C70C 7D 89 03 A6 */ mtctr r12 -/* 8025F7D0 0025C710 4E 80 04 21 */ bctrl -/* 8025F7D4 0025C714 80 1F 02 D0 */ lwz r0, 0x2d0(r31) -/* 8025F7D8 0025C718 7F E3 FB 78 */ mr r3, r31 -/* 8025F7DC 0025C71C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F7E0 0025C720 1C 80 00 0C */ mulli r4, r0, 0xc -/* 8025F7E4 0025C724 C3 C1 00 08 */ lfs f30, 8(r1) -/* 8025F7E8 0025C728 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8025F7EC 0025C72C C3 A1 00 10 */ lfs f29, 0x10(r1) -/* 8025F7F0 0025C730 38 84 02 D4 */ addi r4, r4, 0x2d4 -/* 8025F7F4 0025C734 C3 FF 02 C4 */ lfs f31, 0x2c4(r31) -/* 8025F7F8 0025C738 7C 9F 22 14 */ add r4, r31, r4 -/* 8025F7FC 0025C73C C3 84 00 00 */ lfs f28, 0(r4) -/* 8025F800 0025C740 C3 64 00 08 */ lfs f27, 8(r4) -/* 8025F804 0025C744 7D 89 03 A6 */ mtctr r12 -/* 8025F808 0025C748 4E 80 04 21 */ bctrl -/* 8025F80C 0025C74C 81 83 00 00 */ lwz r12, 0(r3) -/* 8025F810 0025C750 38 80 50 8C */ li r4, 0x508c -/* 8025F814 0025C754 38 A0 00 00 */ li r5, 0 -/* 8025F818 0025C758 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8025F81C 0025C75C 7D 89 03 A6 */ mtctr r12 -/* 8025F820 0025C760 4E 80 04 21 */ bctrl -/* 8025F824 0025C764 EC 3B E8 28 */ fsubs f1, f27, f29 -/* 8025F828 0025C768 EC 5C F0 28 */ fsubs f2, f28, f30 -/* 8025F82C 0025C76C EC 1F 07 F2 */ fmuls f0, f31, f31 -/* 8025F830 0025C770 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8025F834 0025C774 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8025F838 0025C778 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8025F83C 0025C77C 40 81 00 24 */ ble lbl_8025F860 -/* 8025F840 0025C780 7F C3 F3 78 */ mr r3, r30 -/* 8025F844 0025C784 7F E4 FB 78 */ mr r4, r31 -/* 8025F848 0025C788 81 9E 00 00 */ lwz r12, 0(r30) -/* 8025F84C 0025C78C 38 A0 00 02 */ li r5, 2 -/* 8025F850 0025C790 38 C0 00 00 */ li r6, 0 -/* 8025F854 0025C794 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025F858 0025C798 7D 89 03 A6 */ mtctr r12 -/* 8025F85C 0025C79C 4E 80 04 21 */ bctrl -lbl_8025F860: -/* 8025F860 0025C7A0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8025F864 0025C7A4 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8025F868 0025C7A8 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8025F86C 0025C7AC CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8025F870 0025C7B0 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8025F874 0025C7B4 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8025F878 0025C7B8 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 8025F87C 0025C7BC CB 81 00 30 */ lfd f28, 0x30(r1) -/* 8025F880 0025C7C0 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 -/* 8025F884 0025C7C4 CB 61 00 20 */ lfd f27, 0x20(r1) -/* 8025F888 0025C7C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025F88C 0025C7CC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8025F890 0025C7D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8025F894 0025C7D4 7C 08 03 A6 */ mtlr r0 -/* 8025F898 0025C7D8 38 21 00 70 */ addi r1, r1, 0x70 -/* 8025F89C 0025C7DC 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Qurione9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game7Qurione9StateMoveFPQ24Game9EnemyBase: -/* 8025F8A0 0025C7E0 4E 80 00 20 */ blr - -.global init__Q34Game7Qurione9StateDropFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Qurione9StateDropFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025F8A4 0025C7E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F8A8 0025C7E8 7C 08 02 A6 */ mflr r0 -/* 8025F8AC 0025C7EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F8B0 0025C7F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025F8B4 0025C7F4 7C 9F 23 78 */ mr r31, r4 -/* 8025F8B8 0025C7F8 7F E3 FB 78 */ mr r3, r31 -/* 8025F8BC 0025C7FC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025F8C0 0025C800 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8025F8C4 0025C804 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8025F8C8 0025C808 48 00 15 99 */ bl createHitEffect__Q34Game7Qurione3ObjFv -/* 8025F8CC 0025C80C C0 02 C9 50 */ lfs f0, lbl_8051ACB0@sda21(r2) -/* 8025F8D0 0025C810 7F E3 FB 78 */ mr r3, r31 -/* 8025F8D4 0025C814 38 80 00 01 */ li r4, 1 -/* 8025F8D8 0025C818 38 A0 00 00 */ li r5, 0 -/* 8025F8DC 0025C81C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025F8E0 0025C820 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025F8E4 0025C824 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025F8E8 0025C828 4B EA 57 1D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025F8EC 0025C82C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F8F0 0025C830 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025F8F4 0025C834 7C 08 03 A6 */ mtlr r0 -/* 8025F8F8 0025C838 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F8FC 0025C83C 4E 80 00 20 */ blr - -.global exec__Q34Game7Qurione9StateDropFPQ24Game9EnemyBase -exec__Q34Game7Qurione9StateDropFPQ24Game9EnemyBase: -/* 8025F900 0025C840 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025F904 0025C844 7C 08 02 A6 */ mflr r0 -/* 8025F908 0025C848 7C 86 23 78 */ mr r6, r4 -/* 8025F90C 0025C84C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025F910 0025C850 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 8025F914 0025C854 88 05 00 24 */ lbz r0, 0x24(r5) -/* 8025F918 0025C858 28 00 00 00 */ cmplwi r0, 0 -/* 8025F91C 0025C85C 41 82 00 3C */ beq lbl_8025F958 -/* 8025F920 0025C860 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8025F924 0025C864 28 00 00 02 */ cmplwi r0, 2 -/* 8025F928 0025C868 40 82 00 10 */ bne lbl_8025F938 -/* 8025F92C 0025C86C 7C C3 33 78 */ mr r3, r6 -/* 8025F930 0025C870 48 00 12 79 */ bl dropItem__Q34Game7Qurione3ObjFv -/* 8025F934 0025C874 48 00 00 24 */ b lbl_8025F958 -lbl_8025F938: -/* 8025F938 0025C878 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8025F93C 0025C87C 40 82 00 1C */ bne lbl_8025F958 -/* 8025F940 0025C880 81 83 00 00 */ lwz r12, 0(r3) -/* 8025F944 0025C884 38 A0 00 05 */ li r5, 5 -/* 8025F948 0025C888 38 C0 00 00 */ li r6, 0 -/* 8025F94C 0025C88C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8025F950 0025C890 7D 89 03 A6 */ mtctr r12 -/* 8025F954 0025C894 4E 80 04 21 */ bctrl -lbl_8025F958: -/* 8025F958 0025C898 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025F95C 0025C89C 7C 08 03 A6 */ mtlr r0 -/* 8025F960 0025C8A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025F964 0025C8A4 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Qurione9StateDropFPQ24Game9EnemyBase -cleanup__Q34Game7Qurione9StateDropFPQ24Game9EnemyBase: -/* 8025F968 0025C8A8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8025F96C 0025C8AC 60 00 00 40 */ ori r0, r0, 0x40 -/* 8025F970 0025C8B0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8025F974 0025C8B4 4E 80 00 20 */ blr - -.global init__Q34Game7Qurione9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Qurione9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8025F978 0025C8B8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8025F97C 0025C8BC 7C 08 02 A6 */ mflr r0 -/* 8025F980 0025C8C0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8025F984 0025C8C4 7C 80 23 78 */ mr r0, r4 -/* 8025F988 0025C8C8 38 80 00 00 */ li r4, 0 -/* 8025F98C 0025C8CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8025F990 0025C8D0 7C 1F 03 78 */ mr r31, r0 -/* 8025F994 0025C8D4 7F E3 FB 78 */ mr r3, r31 -/* 8025F998 0025C8D8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F99C 0025C8DC 81 8C 00 AC */ lwz r12, 0xac(r12) -/* 8025F9A0 0025C8E0 7D 89 03 A6 */ mtctr r12 -/* 8025F9A4 0025C8E4 4E 80 04 21 */ bctrl -/* 8025F9A8 0025C8E8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8025F9AC 0025C8EC 7F E3 FB 78 */ mr r3, r31 -/* 8025F9B0 0025C8F0 C0 02 C9 50 */ lfs f0, lbl_8051ACB0@sda21(r2) -/* 8025F9B4 0025C8F4 38 81 00 08 */ addi r4, r1, 8 -/* 8025F9B8 0025C8F8 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8025F9BC 0025C8FC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8025F9C0 0025C900 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8025F9C4 0025C904 C0 25 08 94 */ lfs f1, 0x894(r5) -/* 8025F9C8 0025C908 D0 01 00 08 */ stfs f0, 8(r1) -/* 8025F9CC 0025C90C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8025F9D0 0025C910 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8025F9D4 0025C914 81 9F 00 00 */ lwz r12, 0(r31) -/* 8025F9D8 0025C918 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8025F9DC 0025C91C 7D 89 03 A6 */ mtctr r12 -/* 8025F9E0 0025C920 4E 80 04 21 */ bctrl -/* 8025F9E4 0025C924 C0 01 00 08 */ lfs f0, 8(r1) -/* 8025F9E8 0025C928 7F E3 FB 78 */ mr r3, r31 -/* 8025F9EC 0025C92C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8025F9F0 0025C930 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8025F9F4 0025C934 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8025F9F8 0025C938 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8025F9FC 0025C93C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8025FA00 0025C940 48 00 0F E1 */ bl resetUtilityTimer__Q34Game7Qurione3ObjFv -/* 8025FA04 0025C944 7F E3 FB 78 */ mr r3, r31 -/* 8025FA08 0025C948 38 80 00 02 */ li r4, 2 -/* 8025FA0C 0025C94C 38 A0 00 00 */ li r5, 0 -/* 8025FA10 0025C950 4B EA 55 F5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8025FA14 0025C954 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8025FA18 0025C958 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8025FA1C 0025C95C 7C 08 03 A6 */ mtlr r0 -/* 8025FA20 0025C960 38 21 00 20 */ addi r1, r1, 0x20 -/* 8025FA24 0025C964 4E 80 00 20 */ blr - -.global exec__Q34Game7Qurione9StateDeadFPQ24Game9EnemyBase -exec__Q34Game7Qurione9StateDeadFPQ24Game9EnemyBase: -/* 8025FA28 0025C968 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FA2C 0025C96C 7C 08 02 A6 */ mflr r0 -/* 8025FA30 0025C970 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FA34 0025C974 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FA38 0025C978 7C 9F 23 78 */ mr r31, r4 -/* 8025FA3C 0025C97C 7F E3 FB 78 */ mr r3, r31 -/* 8025FA40 0025C980 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 8025FA44 0025C984 C0 24 02 CC */ lfs f1, 0x2cc(r4) -/* 8025FA48 0025C988 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 8025FA4C 0025C98C EC 01 00 2A */ fadds f0, f1, f0 -/* 8025FA50 0025C990 D0 04 02 CC */ stfs f0, 0x2cc(r4) -/* 8025FA54 0025C994 48 00 10 81 */ bl isFlyKill__Q34Game7Qurione3ObjFv -/* 8025FA58 0025C998 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025FA5C 0025C99C 41 82 00 18 */ beq lbl_8025FA74 -/* 8025FA60 0025C9A0 7F E3 FB 78 */ mr r3, r31 -/* 8025FA64 0025C9A4 48 00 15 15 */ bl finishGlowEffect__Q34Game7Qurione3ObjFv -/* 8025FA68 0025C9A8 7F E3 FB 78 */ mr r3, r31 -/* 8025FA6C 0025C9AC 38 80 00 00 */ li r4, 0 -/* 8025FA70 0025C9B0 4B ED B6 81 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_8025FA74: -/* 8025FA74 0025C9B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FA78 0025C9B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FA7C 0025C9BC 7C 08 03 A6 */ mtlr r0 -/* 8025FA80 0025C9C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FA84 0025C9C4 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Qurione9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game7Qurione9StateDeadFPQ24Game9EnemyBase: -/* 8025FA88 0025C9C8 4E 80 00 20 */ blr - -.global __ct__Q34Game7Qurione9GeneratorFv -__ct__Q34Game7Qurione9GeneratorFv: -/* 8025FA8C 0025C9CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FA90 0025C9D0 7C 08 02 A6 */ mflr r0 -/* 8025FA94 0025C9D4 3C A0 80 48 */ lis r5, lbl_80485408@ha -/* 8025FA98 0025C9D8 3C 80 80 4F */ lis r4, __vt__5CNode@ha -/* 8025FA9C 0025C9DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FAA0 0025C9E0 38 04 B5 28 */ addi r0, r4, __vt__5CNode@l -/* 8025FAA4 0025C9E4 3C 80 3F 3F */ lis r4, 0x3F3F3F3F@ha -/* 8025FAA8 0025C9E8 38 C0 00 00 */ li r6, 0 -/* 8025FAAC 0025C9EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FAB0 0025C9F0 7C 7F 1B 78 */ mr r31, r3 -/* 8025FAB4 0025C9F4 38 A5 54 08 */ addi r5, r5, lbl_80485408@l -/* 8025FAB8 0025C9F8 38 84 3F 3F */ addi r4, r4, 0x3F3F3F3F@l -/* 8025FABC 0025C9FC 90 03 00 00 */ stw r0, 0(r3) -/* 8025FAC0 0025CA00 3C 60 80 4B */ lis r3, __vt__Q24Game18EnemyGeneratorBase@ha -/* 8025FAC4 0025CA04 38 03 DB B0 */ addi r0, r3, __vt__Q24Game18EnemyGeneratorBase@l -/* 8025FAC8 0025CA08 7F E7 FB 78 */ mr r7, r31 -/* 8025FACC 0025CA0C 90 DF 00 10 */ stw r6, 0x10(r31) -/* 8025FAD0 0025CA10 38 67 00 18 */ addi r3, r7, 0x18 -/* 8025FAD4 0025CA14 90 DF 00 0C */ stw r6, 0xc(r31) -/* 8025FAD8 0025CA18 90 DF 00 08 */ stw r6, 8(r31) -/* 8025FADC 0025CA1C 90 DF 00 04 */ stw r6, 4(r31) -/* 8025FAE0 0025CA20 90 BF 00 14 */ stw r5, 0x14(r31) -/* 8025FAE4 0025CA24 90 1F 00 00 */ stw r0, 0(r31) -/* 8025FAE8 0025CA28 48 1B 37 C1 */ bl __ct__4ID32FUl -/* 8025FAEC 0025CA2C 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione9Generator@ha -/* 8025FAF0 0025CA30 C0 22 C9 60 */ lfs f1, lbl_8051ACC0@sda21(r2) -/* 8025FAF4 0025CA34 38 03 36 2C */ addi r0, r3, __vt__Q34Game7Qurione9Generator@l -/* 8025FAF8 0025CA38 C0 02 C9 64 */ lfs f0, lbl_8051ACC4@sda21(r2) -/* 8025FAFC 0025CA3C 90 1F 00 00 */ stw r0, 0(r31) -/* 8025FB00 0025CA40 7F E3 FB 78 */ mr r3, r31 -/* 8025FB04 0025CA44 D0 3F 00 24 */ stfs f1, 0x24(r31) -/* 8025FB08 0025CA48 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 8025FB0C 0025CA4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FB10 0025CA50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FB14 0025CA54 7C 08 03 A6 */ mtlr r0 -/* 8025FB18 0025CA58 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FB1C 0025CA5C 4E 80 00 20 */ blr - -.global getLatestVersion__Q34Game7Qurione9GeneratorFv -getLatestVersion__Q34Game7Qurione9GeneratorFv: -/* 8025FB20 0025CA60 3C 60 30 30 */ lis r3, 0x30303030@ha -/* 8025FB24 0025CA64 38 63 30 30 */ addi r3, r3, 0x30303030@l -/* 8025FB28 0025CA68 4E 80 00 20 */ blr - -.global doRead__Q34Game7Qurione9GeneratorFR6Stream -doRead__Q34Game7Qurione9GeneratorFR6Stream: -/* 8025FB2C 0025CA6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FB30 0025CA70 7C 08 02 A6 */ mflr r0 -/* 8025FB34 0025CA74 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FB38 0025CA78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FB3C 0025CA7C 7C 9F 23 78 */ mr r31, r4 -/* 8025FB40 0025CA80 93 C1 00 08 */ stw r30, 8(r1) -/* 8025FB44 0025CA84 7C 7E 1B 78 */ mr r30, r3 -/* 8025FB48 0025CA88 81 83 00 00 */ lwz r12, 0(r3) -/* 8025FB4C 0025CA8C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8025FB50 0025CA90 7D 89 03 A6 */ mtctr r12 -/* 8025FB54 0025CA94 4E 80 04 21 */ bctrl -/* 8025FB58 0025CA98 7C 64 1B 78 */ mr r4, r3 -/* 8025FB5C 0025CA9C 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8025FB60 0025CAA0 48 1B 38 D5 */ bl __eq__4ID32FUl -/* 8025FB64 0025CAA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8025FB68 0025CAA8 41 82 00 14 */ beq lbl_8025FB7C -/* 8025FB6C 0025CAAC 7F C3 F3 78 */ mr r3, r30 -/* 8025FB70 0025CAB0 7F E4 FB 78 */ mr r4, r31 -/* 8025FB74 0025CAB4 48 00 00 AD */ bl doReadLatestVersion__Q34Game7Qurione9GeneratorFR6Stream -/* 8025FB78 0025CAB8 48 00 00 10 */ b lbl_8025FB88 -lbl_8025FB7C: -/* 8025FB7C 0025CABC 7F C3 F3 78 */ mr r3, r30 -/* 8025FB80 0025CAC0 7F E4 FB 78 */ mr r4, r31 -/* 8025FB84 0025CAC4 48 00 00 E9 */ bl doReadOldVersion__Q34Game7Qurione9GeneratorFR6Stream -lbl_8025FB88: -/* 8025FB88 0025CAC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FB8C 0025CACC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FB90 0025CAD0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025FB94 0025CAD4 7C 08 03 A6 */ mtlr r0 -/* 8025FB98 0025CAD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FB9C 0025CADC 4E 80 00 20 */ blr - -.global doWrite__Q34Game7Qurione9GeneratorFR6Stream -doWrite__Q34Game7Qurione9GeneratorFR6Stream: -/* 8025FBA0 0025CAE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FBA4 0025CAE4 7C 08 02 A6 */ mflr r0 -/* 8025FBA8 0025CAE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FBAC 0025CAEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FBB0 0025CAF0 7C 9F 23 78 */ mr r31, r4 -/* 8025FBB4 0025CAF4 93 C1 00 08 */ stw r30, 8(r1) -/* 8025FBB8 0025CAF8 7C 7E 1B 78 */ mr r30, r3 -/* 8025FBBC 0025CAFC 7F E3 FB 78 */ mr r3, r31 -/* 8025FBC0 0025CB00 80 84 04 14 */ lwz r4, 0x414(r4) -/* 8025FBC4 0025CB04 48 1B 48 71 */ bl textWriteTab__6StreamFi -/* 8025FBC8 0025CB08 C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 8025FBCC 0025CB0C 7F E3 FB 78 */ mr r3, r31 -/* 8025FBD0 0025CB10 48 1B 5C 79 */ bl writeFloat__6StreamFf -/* 8025FBD4 0025CB14 3C 80 80 48 */ lis r4, lbl_80485420@ha -/* 8025FBD8 0025CB18 7F E3 FB 78 */ mr r3, r31 -/* 8025FBDC 0025CB1C 38 84 54 20 */ addi r4, r4, lbl_80485420@l -/* 8025FBE0 0025CB20 4C C6 31 82 */ crclr 6 -/* 8025FBE4 0025CB24 48 1B 45 F9 */ bl textWriteText__6StreamFPce -/* 8025FBE8 0025CB28 C0 3E 00 28 */ lfs f1, 0x28(r30) -/* 8025FBEC 0025CB2C 7F E3 FB 78 */ mr r3, r31 -/* 8025FBF0 0025CB30 48 1B 5C 59 */ bl writeFloat__6StreamFf -/* 8025FBF4 0025CB34 3C 80 80 48 */ lis r4, lbl_8048542C@ha -/* 8025FBF8 0025CB38 7F E3 FB 78 */ mr r3, r31 -/* 8025FBFC 0025CB3C 38 84 54 2C */ addi r4, r4, lbl_8048542C@l -/* 8025FC00 0025CB40 4C C6 31 82 */ crclr 6 -/* 8025FC04 0025CB44 48 1B 45 D9 */ bl textWriteText__6StreamFPce -/* 8025FC08 0025CB48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FC0C 0025CB4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FC10 0025CB50 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025FC14 0025CB54 7C 08 03 A6 */ mtlr r0 -/* 8025FC18 0025CB58 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FC1C 0025CB5C 4E 80 00 20 */ blr - -.global doReadLatestVersion__Q34Game7Qurione9GeneratorFR6Stream -doReadLatestVersion__Q34Game7Qurione9GeneratorFR6Stream: -/* 8025FC20 0025CB60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FC24 0025CB64 7C 08 02 A6 */ mflr r0 -/* 8025FC28 0025CB68 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FC2C 0025CB6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FC30 0025CB70 7C 9F 23 78 */ mr r31, r4 -/* 8025FC34 0025CB74 93 C1 00 08 */ stw r30, 8(r1) -/* 8025FC38 0025CB78 7C 7E 1B 78 */ mr r30, r3 -/* 8025FC3C 0025CB7C 7F E3 FB 78 */ mr r3, r31 -/* 8025FC40 0025CB80 48 1B 51 6D */ bl readFloat__6StreamFv -/* 8025FC44 0025CB84 D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 8025FC48 0025CB88 7F E3 FB 78 */ mr r3, r31 -/* 8025FC4C 0025CB8C 48 1B 51 61 */ bl readFloat__6StreamFv -/* 8025FC50 0025CB90 D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 8025FC54 0025CB94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FC58 0025CB98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FC5C 0025CB9C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025FC60 0025CBA0 7C 08 03 A6 */ mtlr r0 -/* 8025FC64 0025CBA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FC68 0025CBA8 4E 80 00 20 */ blr - -.global doReadOldVersion__Q34Game7Qurione9GeneratorFR6Stream -doReadOldVersion__Q34Game7Qurione9GeneratorFR6Stream: -/* 8025FC6C 0025CBAC 4E 80 00 20 */ blr - -.global __ct__Q34Game7Qurione3MgrFiUc -__ct__Q34Game7Qurione3MgrFiUc: -/* 8025FC70 0025CBB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FC74 0025CBB4 7C 08 02 A6 */ mflr r0 -/* 8025FC78 0025CBB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FC7C 0025CBBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FC80 0025CBC0 7C 7F 1B 78 */ mr r31, r3 -/* 8025FC84 0025CBC4 4B EC F0 11 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8025FC88 0025CBC8 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione3Mgr@ha -/* 8025FC8C 0025CBCC 3C 80 80 48 */ lis r4, lbl_8048543C@ha -/* 8025FC90 0025CBD0 38 A3 35 4C */ addi r5, r3, __vt__Q34Game7Qurione3Mgr@l -/* 8025FC94 0025CBD4 7F E3 FB 78 */ mr r3, r31 -/* 8025FC98 0025CBD8 90 BF 00 00 */ stw r5, 0(r31) -/* 8025FC9C 0025CBDC 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8025FCA0 0025CBE0 38 04 54 3C */ addi r0, r4, lbl_8048543C@l -/* 8025FCA4 0025CBE4 90 BF 00 04 */ stw r5, 4(r31) -/* 8025FCA8 0025CBE8 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8025FCAC 0025CBEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FCB0 0025CBF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FCB4 0025CBF4 7C 08 03 A6 */ mtlr r0 -/* 8025FCB8 0025CBF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FCBC 0025CBFC 4E 80 00 20 */ blr - -.global doAlloc__Q34Game7Qurione3MgrFv -doAlloc__Q34Game7Qurione3MgrFv: -/* 8025FCC0 0025CC00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FCC4 0025CC04 7C 08 02 A6 */ mflr r0 -/* 8025FCC8 0025CC08 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FCCC 0025CC0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FCD0 0025CC10 7C 7F 1B 78 */ mr r31, r3 -/* 8025FCD4 0025CC14 38 60 08 D0 */ li r3, 0x8d0 -/* 8025FCD8 0025CC18 4B DC 41 CD */ bl __nw__FUl -/* 8025FCDC 0025CC1C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8025FCE0 0025CC20 41 82 00 0C */ beq lbl_8025FCEC -/* 8025FCE4 0025CC24 48 00 00 25 */ bl __ct__Q34Game7Qurione5ParmsFv -/* 8025FCE8 0025CC28 7C 64 1B 78 */ mr r4, r3 -lbl_8025FCEC: -/* 8025FCEC 0025CC2C 7F E3 FB 78 */ mr r3, r31 -/* 8025FCF0 0025CC30 4B EC FB AD */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8025FCF4 0025CC34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FCF8 0025CC38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FCFC 0025CC3C 7C 08 03 A6 */ mtlr r0 -/* 8025FD00 0025CC40 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FD04 0025CC44 4E 80 00 20 */ blr - -.global __ct__Q34Game7Qurione5ParmsFv -__ct__Q34Game7Qurione5ParmsFv: -/* 8025FD08 0025CC48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FD0C 0025CC4C 7C 08 02 A6 */ mflr r0 -/* 8025FD10 0025CC50 3C 80 80 48 */ lis r4, lbl_804853F8@ha -/* 8025FD14 0025CC54 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FD18 0025CC58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FD1C 0025CC5C 3B E4 53 F8 */ addi r31, r4, lbl_804853F8@l -/* 8025FD20 0025CC60 93 C1 00 08 */ stw r30, 8(r1) -/* 8025FD24 0025CC64 7C 7E 1B 78 */ mr r30, r3 -/* 8025FD28 0025CC68 4B EA 9A 75 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8025FD2C 0025CC6C 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione5Parms@ha -/* 8025FD30 0025CC70 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8025FD34 0025CC74 38 03 35 40 */ addi r0, r3, __vt__Q34Game7Qurione5Parms@l -/* 8025FD38 0025CC78 38 9E 08 CC */ addi r4, r30, 0x8cc -/* 8025FD3C 0025CC7C 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 8025FD40 0025CC80 38 E0 00 00 */ li r7, 0 -/* 8025FD44 0025CC84 38 1F 00 58 */ addi r0, r31, 0x58 -/* 8025FD48 0025CC88 38 7E 08 04 */ addi r3, r30, 0x804 -/* 8025FD4C 0025CC8C 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 8025FD50 0025CC90 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8025FD54 0025CC94 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 8025FD58 0025CC98 38 DF 00 68 */ addi r6, r31, 0x68 -/* 8025FD5C 0025CC9C 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 8025FD60 0025CCA0 90 1E 08 00 */ stw r0, 0x800(r30) -/* 8025FD64 0025CCA4 48 1B 38 F5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025FD68 0025CCA8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025FD6C 0025CCAC 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 8025FD70 0025CCB0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025FD74 0025CCB4 C0 02 C9 68 */ lfs f0, lbl_8051ACC8@sda21(r2) -/* 8025FD78 0025CCB8 90 1E 08 04 */ stw r0, 0x804(r30) -/* 8025FD7C 0025CCBC 38 7E 08 2C */ addi r3, r30, 0x82c -/* 8025FD80 0025CCC0 C0 22 C9 6C */ lfs f1, lbl_8051ACCC@sda21(r2) -/* 8025FD84 0025CCC4 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8025FD88 0025CCC8 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 8025FD8C 0025CCCC 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 8025FD90 0025CCD0 C0 02 C9 70 */ lfs f0, lbl_8051ACD0@sda21(r2) -/* 8025FD94 0025CCD4 38 DF 00 74 */ addi r6, r31, 0x74 -/* 8025FD98 0025CCD8 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 8025FD9C 0025CCDC D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 8025FDA0 0025CCE0 48 1B 38 B9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025FDA4 0025CCE4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025FDA8 0025CCE8 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 8025FDAC 0025CCEC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025FDB0 0025CCF0 C0 02 C9 74 */ lfs f0, lbl_8051ACD4@sda21(r2) -/* 8025FDB4 0025CCF4 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 8025FDB8 0025CCF8 38 7E 08 54 */ addi r3, r30, 0x854 -/* 8025FDBC 0025CCFC C0 22 C9 6C */ lfs f1, lbl_8051ACCC@sda21(r2) -/* 8025FDC0 0025CD00 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8025FDC4 0025CD04 D0 1E 08 44 */ stfs f0, 0x844(r30) -/* 8025FDC8 0025CD08 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 8025FDCC 0025CD0C C0 02 C9 78 */ lfs f0, lbl_8051ACD8@sda21(r2) -/* 8025FDD0 0025CD10 38 DF 00 84 */ addi r6, r31, 0x84 -/* 8025FDD4 0025CD14 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 8025FDD8 0025CD18 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 8025FDDC 0025CD1C 48 1B 38 7D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025FDE0 0025CD20 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025FDE4 0025CD24 3C A0 66 70 */ lis r5, 0x66703034@ha -/* 8025FDE8 0025CD28 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025FDEC 0025CD2C C0 02 C9 7C */ lfs f0, lbl_8051ACDC@sda21(r2) -/* 8025FDF0 0025CD30 90 1E 08 54 */ stw r0, 0x854(r30) -/* 8025FDF4 0025CD34 38 7E 08 7C */ addi r3, r30, 0x87c -/* 8025FDF8 0025CD38 C0 22 C9 6C */ lfs f1, lbl_8051ACCC@sda21(r2) -/* 8025FDFC 0025CD3C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8025FE00 0025CD40 D0 1E 08 6C */ stfs f0, 0x86c(r30) -/* 8025FE04 0025CD44 38 A5 30 34 */ addi r5, r5, 0x66703034@l -/* 8025FE08 0025CD48 C0 02 C9 80 */ lfs f0, lbl_8051ACE0@sda21(r2) -/* 8025FE0C 0025CD4C 38 DF 00 94 */ addi r6, r31, 0x94 -/* 8025FE10 0025CD50 D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 8025FE14 0025CD54 D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 8025FE18 0025CD58 48 1B 38 41 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025FE1C 0025CD5C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025FE20 0025CD60 3C A0 66 70 */ lis r5, 0x66703035@ha -/* 8025FE24 0025CD64 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025FE28 0025CD68 C0 02 C9 84 */ lfs f0, lbl_8051ACE4@sda21(r2) -/* 8025FE2C 0025CD6C 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 8025FE30 0025CD70 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 8025FE34 0025CD74 C0 22 C9 6C */ lfs f1, lbl_8051ACCC@sda21(r2) -/* 8025FE38 0025CD78 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8025FE3C 0025CD7C D0 1E 08 94 */ stfs f0, 0x894(r30) -/* 8025FE40 0025CD80 38 A5 30 35 */ addi r5, r5, 0x66703035@l -/* 8025FE44 0025CD84 C0 02 C9 88 */ lfs f0, lbl_8051ACE8@sda21(r2) -/* 8025FE48 0025CD88 38 DF 00 A0 */ addi r6, r31, 0xa0 -/* 8025FE4C 0025CD8C D0 3E 08 9C */ stfs f1, 0x89c(r30) -/* 8025FE50 0025CD90 D0 1E 08 A0 */ stfs f0, 0x8a0(r30) -/* 8025FE54 0025CD94 48 1B 38 05 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8025FE58 0025CD98 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8025FE5C 0025CD9C C0 42 C9 8C */ lfs f2, lbl_8051ACEC@sda21(r2) -/* 8025FE60 0025CDA0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8025FE64 0025CDA4 C0 22 C9 6C */ lfs f1, lbl_8051ACCC@sda21(r2) -/* 8025FE68 0025CDA8 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 8025FE6C 0025CDAC 7F C3 F3 78 */ mr r3, r30 -/* 8025FE70 0025CDB0 C0 02 C9 78 */ lfs f0, lbl_8051ACD8@sda21(r2) -/* 8025FE74 0025CDB4 D0 5E 08 BC */ stfs f2, 0x8bc(r30) -/* 8025FE78 0025CDB8 D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 8025FE7C 0025CDBC D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -/* 8025FE80 0025CDC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FE84 0025CDC4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025FE88 0025CDC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FE8C 0025CDCC 7C 08 03 A6 */ mtlr r0 -/* 8025FE90 0025CDD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FE94 0025CDD4 4E 80 00 20 */ blr - -.global createObj__Q34Game7Qurione3MgrFi -createObj__Q34Game7Qurione3MgrFi: -/* 8025FE98 0025CDD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FE9C 0025CDDC 7C 08 02 A6 */ mflr r0 -/* 8025FEA0 0025CDE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FEA4 0025CDE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FEA8 0025CDE8 7C 9F 23 78 */ mr r31, r4 -/* 8025FEAC 0025CDEC 93 C1 00 08 */ stw r30, 8(r1) -/* 8025FEB0 0025CDF0 7C 7E 1B 78 */ mr r30, r3 -/* 8025FEB4 0025CDF4 1C 7F 03 0C */ mulli r3, r31, 0x30c -/* 8025FEB8 0025CDF8 38 63 00 10 */ addi r3, r3, 0x10 -/* 8025FEBC 0025CDFC 4B DC 40 F1 */ bl __nwa__FUl -/* 8025FEC0 0025CE00 3C 80 80 26 */ lis r4, __ct__Q34Game7Qurione3ObjFv@ha -/* 8025FEC4 0025CE04 3C A0 80 26 */ lis r5, __dt__Q34Game7Qurione3ObjFv@ha -/* 8025FEC8 0025CE08 38 84 01 78 */ addi r4, r4, __ct__Q34Game7Qurione3ObjFv@l -/* 8025FECC 0025CE0C 7F E7 FB 78 */ mr r7, r31 -/* 8025FED0 0025CE10 38 A5 FE F8 */ addi r5, r5, __dt__Q34Game7Qurione3ObjFv@l -/* 8025FED4 0025CE14 38 C0 03 0C */ li r6, 0x30c -/* 8025FED8 0025CE18 4B E6 1B 19 */ bl __construct_new_array -/* 8025FEDC 0025CE1C 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8025FEE0 0025CE20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FEE4 0025CE24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FEE8 0025CE28 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025FEEC 0025CE2C 7C 08 03 A6 */ mtlr r0 -/* 8025FEF0 0025CE30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FEF4 0025CE34 4E 80 00 20 */ blr - -.global __dt__Q34Game7Qurione3ObjFv -__dt__Q34Game7Qurione3ObjFv: -/* 8025FEF8 0025CE38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FEFC 0025CE3C 7C 08 02 A6 */ mflr r0 -/* 8025FF00 0025CE40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FF04 0025CE44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FF08 0025CE48 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8025FF0C 0025CE4C 93 C1 00 08 */ stw r30, 8(r1) -/* 8025FF10 0025CE50 7C 9E 23 78 */ mr r30, r4 -/* 8025FF14 0025CE54 41 82 00 84 */ beq lbl_8025FF98 -/* 8025FF18 0025CE58 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione3Obj@ha -/* 8025FF1C 0025CE5C 38 1F 02 FC */ addi r0, r31, 0x2fc -/* 8025FF20 0025CE60 38 83 37 48 */ addi r4, r3, __vt__Q34Game7Qurione3Obj@l -/* 8025FF24 0025CE64 90 9F 00 00 */ stw r4, 0(r31) -/* 8025FF28 0025CE68 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8025FF2C 0025CE6C 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8025FF30 0025CE70 90 7F 01 78 */ stw r3, 0x178(r31) -/* 8025FF34 0025CE74 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8025FF38 0025CE78 90 83 00 00 */ stw r4, 0(r3) -/* 8025FF3C 0025CE7C 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8025FF40 0025CE80 7C 03 00 50 */ subf r0, r3, r0 -/* 8025FF44 0025CE84 90 03 00 0C */ stw r0, 0xc(r3) -/* 8025FF48 0025CE88 41 82 00 40 */ beq lbl_8025FF88 -/* 8025FF4C 0025CE8C 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8025FF50 0025CE90 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 8025FF54 0025CE94 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8025FF58 0025CE98 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8025FF5C 0025CE9C 90 9F 00 00 */ stw r4, 0(r31) -/* 8025FF60 0025CEA0 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8025FF64 0025CEA4 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8025FF68 0025CEA8 38 80 FF FF */ li r4, -1 -/* 8025FF6C 0025CEAC 90 BF 01 78 */ stw r5, 0x178(r31) -/* 8025FF70 0025CEB0 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8025FF74 0025CEB4 90 C5 00 00 */ stw r6, 0(r5) -/* 8025FF78 0025CEB8 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8025FF7C 0025CEBC 7C 05 00 50 */ subf r0, r5, r0 -/* 8025FF80 0025CEC0 90 05 00 0C */ stw r0, 0xc(r5) -/* 8025FF84 0025CEC4 48 1B 16 05 */ bl __dt__5CNodeFv -lbl_8025FF88: -/* 8025FF88 0025CEC8 7F C0 07 35 */ extsh. r0, r30 -/* 8025FF8C 0025CECC 40 81 00 0C */ ble lbl_8025FF98 -/* 8025FF90 0025CED0 7F E3 FB 78 */ mr r3, r31 -/* 8025FF94 0025CED4 4B DC 41 21 */ bl __dl__FPv -lbl_8025FF98: -/* 8025FF98 0025CED8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8025FF9C 0025CEDC 7F E3 FB 78 */ mr r3, r31 -/* 8025FFA0 0025CEE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8025FFA4 0025CEE4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8025FFA8 0025CEE8 7C 08 03 A6 */ mtlr r0 -/* 8025FFAC 0025CEEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8025FFB0 0025CEF0 4E 80 00 20 */ blr - -.global getEnemy__Q34Game7Qurione3MgrFi -getEnemy__Q34Game7Qurione3MgrFi: -/* 8025FFB4 0025CEF4 1C 04 03 0C */ mulli r0, r4, 0x30c -/* 8025FFB8 0025CEF8 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8025FFBC 0025CEFC 7C 63 02 14 */ add r3, r3, r0 -/* 8025FFC0 0025CF00 4E 80 00 20 */ blr - -.global read__Q34Game7Qurione5ParmsFR6Stream -read__Q34Game7Qurione5ParmsFR6Stream: -/* 8025FFC4 0025CF04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8025FFC8 0025CF08 7C 08 02 A6 */ mflr r0 -/* 8025FFCC 0025CF0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8025FFD0 0025CF10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8025FFD4 0025CF14 7C 9F 23 78 */ mr r31, r4 -/* 8025FFD8 0025CF18 93 C1 00 08 */ stw r30, 8(r1) -/* 8025FFDC 0025CF1C 7C 7E 1B 78 */ mr r30, r3 -/* 8025FFE0 0025CF20 48 1B 38 15 */ bl read__10ParametersFR6Stream -/* 8025FFE4 0025CF24 7F E4 FB 78 */ mr r4, r31 -/* 8025FFE8 0025CF28 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8025FFEC 0025CF2C 48 1B 38 09 */ bl read__10ParametersFR6Stream -/* 8025FFF0 0025CF30 7F E4 FB 78 */ mr r4, r31 -/* 8025FFF4 0025CF34 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8025FFF8 0025CF38 48 1B 37 FD */ bl read__10ParametersFR6Stream -/* 8025FFFC 0025CF3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260000 0025CF40 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260004 0025CF44 83 C1 00 08 */ lwz r30, 8(r1) -/* 80260008 0025CF48 7C 08 03 A6 */ mtlr r0 -/* 8026000C 0025CF4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260010 0025CF50 4E 80 00 20 */ blr - -.global __dt__Q34Game7Qurione3MgrFv -__dt__Q34Game7Qurione3MgrFv: -/* 80260014 0025CF54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260018 0025CF58 7C 08 02 A6 */ mflr r0 -/* 8026001C 0025CF5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260020 0025CF60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260024 0025CF64 7C 9F 23 78 */ mr r31, r4 -/* 80260028 0025CF68 93 C1 00 08 */ stw r30, 8(r1) -/* 8026002C 0025CF6C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80260030 0025CF70 41 82 00 78 */ beq lbl_802600A8 -/* 80260034 0025CF74 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione3Mgr@ha -/* 80260038 0025CF78 38 63 35 4C */ addi r3, r3, __vt__Q34Game7Qurione3Mgr@l -/* 8026003C 0025CF7C 90 7E 00 00 */ stw r3, 0(r30) -/* 80260040 0025CF80 38 03 00 38 */ addi r0, r3, 0x38 -/* 80260044 0025CF84 90 1E 00 04 */ stw r0, 4(r30) -/* 80260048 0025CF88 41 82 00 50 */ beq lbl_80260098 -/* 8026004C 0025CF8C 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80260050 0025CF90 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80260054 0025CF94 90 7E 00 00 */ stw r3, 0(r30) -/* 80260058 0025CF98 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026005C 0025CF9C 90 1E 00 04 */ stw r0, 4(r30) -/* 80260060 0025CFA0 41 82 00 38 */ beq lbl_80260098 -/* 80260064 0025CFA4 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80260068 0025CFA8 34 1E 00 04 */ addic. r0, r30, 4 -/* 8026006C 0025CFAC 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80260070 0025CFB0 90 7E 00 00 */ stw r3, 0(r30) -/* 80260074 0025CFB4 38 03 00 38 */ addi r0, r3, 0x38 -/* 80260078 0025CFB8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026007C 0025CFBC 41 82 00 1C */ beq lbl_80260098 -/* 80260080 0025CFC0 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80260084 0025CFC4 38 7E 00 04 */ addi r3, r30, 4 -/* 80260088 0025CFC8 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8026008C 0025CFCC 38 80 00 00 */ li r4, 0 -/* 80260090 0025CFD0 90 1E 00 04 */ stw r0, 4(r30) -/* 80260094 0025CFD4 48 1B 14 F5 */ bl __dt__5CNodeFv -lbl_80260098: -/* 80260098 0025CFD8 7F E0 07 35 */ extsh. r0, r31 -/* 8026009C 0025CFDC 40 81 00 0C */ ble lbl_802600A8 -/* 802600A0 0025CFE0 7F C3 F3 78 */ mr r3, r30 -/* 802600A4 0025CFE4 4B DC 40 11 */ bl __dl__FPv -lbl_802600A8: -/* 802600A8 0025CFE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802600AC 0025CFEC 7F C3 F3 78 */ mr r3, r30 -/* 802600B0 0025CFF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802600B4 0025CFF4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802600B8 0025CFF8 7C 08 03 A6 */ mtlr r0 -/* 802600BC 0025CFFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802600C0 0025D000 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7Qurione3MgrFv -getEnemyTypeID__Q34Game7Qurione3MgrFv: -/* 802600C4 0025D004 38 60 00 10 */ li r3, 0x10 -/* 802600C8 0025D008 4E 80 00 20 */ blr - -.global doLoadBmd__Q34Game7Qurione3MgrFPv -doLoadBmd__Q34Game7Qurione3MgrFPv: -/* 802600CC 0025D00C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802600D0 0025D010 7C 08 02 A6 */ mflr r0 -/* 802600D4 0025D014 3C A0 20 24 */ lis r5, 0x20240010@ha -/* 802600D8 0025D018 7C 83 23 78 */ mr r3, r4 -/* 802600DC 0025D01C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802600E0 0025D020 38 85 00 10 */ addi r4, r5, 0x20240010@l -/* 802600E4 0025D024 4B E0 F7 B1 */ bl load__22J3DModelLoaderDataBaseFPCvUl -/* 802600E8 0025D028 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802600EC 0025D02C 7C 08 03 A6 */ mtlr r0 -/* 802600F0 0025D030 38 21 00 10 */ addi r1, r1, 0x10 -/* 802600F4 0025D034 4E 80 00 20 */ blr - -.global __dt__Q34Game7Qurione9GeneratorFv -__dt__Q34Game7Qurione9GeneratorFv: -/* 802600F8 0025D038 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802600FC 0025D03C 7C 08 02 A6 */ mflr r0 -/* 80260100 0025D040 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260104 0025D044 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260108 0025D048 7C 9F 23 78 */ mr r31, r4 -/* 8026010C 0025D04C 93 C1 00 08 */ stw r30, 8(r1) -/* 80260110 0025D050 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80260114 0025D054 41 82 00 38 */ beq lbl_8026014C -/* 80260118 0025D058 3C 80 80 4C */ lis r4, __vt__Q34Game7Qurione9Generator@ha -/* 8026011C 0025D05C 38 04 36 2C */ addi r0, r4, __vt__Q34Game7Qurione9Generator@l -/* 80260120 0025D060 90 1E 00 00 */ stw r0, 0(r30) -/* 80260124 0025D064 41 82 00 18 */ beq lbl_8026013C -/* 80260128 0025D068 3C A0 80 4B */ lis r5, __vt__Q24Game18EnemyGeneratorBase@ha -/* 8026012C 0025D06C 38 80 00 00 */ li r4, 0 -/* 80260130 0025D070 38 05 DB B0 */ addi r0, r5, __vt__Q24Game18EnemyGeneratorBase@l -/* 80260134 0025D074 90 1E 00 00 */ stw r0, 0(r30) -/* 80260138 0025D078 48 1B 14 51 */ bl __dt__5CNodeFv -lbl_8026013C: -/* 8026013C 0025D07C 7F E0 07 35 */ extsh. r0, r31 -/* 80260140 0025D080 40 81 00 0C */ ble lbl_8026014C -/* 80260144 0025D084 7F C3 F3 78 */ mr r3, r30 -/* 80260148 0025D088 4B DC 3F 6D */ bl __dl__FPv -lbl_8026014C: -/* 8026014C 0025D08C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260150 0025D090 7F C3 F3 78 */ mr r3, r30 -/* 80260154 0025D094 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260158 0025D098 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026015C 0025D09C 7C 08 03 A6 */ mtlr r0 -/* 80260160 0025D0A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260164 0025D0A4 4E 80 00 20 */ blr - -.global getInitialParam__Q34Game7Qurione9GeneratorFv -getInitialParam__Q34Game7Qurione9GeneratorFv: -/* 80260168 0025D0A8 38 63 00 24 */ addi r3, r3, 0x24 -/* 8026016C 0025D0AC 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game7Qurione3MgrFv -$$24$$2__dt__Q34Game7Qurione3MgrFv: -/* 80260170 0025D0B0 38 63 FF FC */ addi r3, r3, -4 -/* 80260174 0025D0B4 4B FF FE A0 */ b __dt__Q34Game7Qurione3MgrFv - -.global __ct__Q34Game7Qurione3ObjFv -__ct__Q34Game7Qurione3ObjFv: -/* 80260178 0025D0B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026017C 0025D0BC 7C 08 02 A6 */ mflr r0 -/* 80260180 0025D0C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260184 0025D0C4 7C 80 07 35 */ extsh. r0, r4 -/* 80260188 0025D0C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026018C 0025D0CC 7C 7F 1B 78 */ mr r31, r3 -/* 80260190 0025D0D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80260194 0025D0D4 41 82 00 24 */ beq lbl_802601B8 -/* 80260198 0025D0D8 38 1F 02 FC */ addi r0, r31, 0x2fc -/* 8026019C 0025D0DC 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 802601A0 0025D0E0 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 802601A4 0025D0E4 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 802601A8 0025D0E8 38 00 00 00 */ li r0, 0 -/* 802601AC 0025D0EC 90 7F 02 FC */ stw r3, 0x2fc(r31) -/* 802601B0 0025D0F0 90 1F 03 00 */ stw r0, 0x300(r31) -/* 802601B4 0025D0F4 90 1F 03 04 */ stw r0, 0x304(r31) -lbl_802601B8: -/* 802601B8 0025D0F8 7F E3 FB 78 */ mr r3, r31 -/* 802601BC 0025D0FC 38 80 00 00 */ li r4, 0 -/* 802601C0 0025D100 4B EA 11 E1 */ bl __ct__Q24Game9EnemyBaseFv -/* 802601C4 0025D104 3C 80 80 4C */ lis r4, __vt__Q34Game7Qurione3Obj@ha -/* 802601C8 0025D108 38 1F 02 FC */ addi r0, r31, 0x2fc -/* 802601CC 0025D10C 38 C4 37 48 */ addi r6, r4, __vt__Q34Game7Qurione3Obj@l -/* 802601D0 0025D110 3C 60 80 12 */ lis r3, __ct__10Vector3$$0f$$1Fv@ha -/* 802601D4 0025D114 90 DF 00 00 */ stw r6, 0(r31) -/* 802601D8 0025D118 38 A6 01 B0 */ addi r5, r6, 0x1b0 -/* 802601DC 0025D11C 39 26 02 FC */ addi r9, r6, 0x2fc -/* 802601E0 0025D120 38 83 F3 48 */ addi r4, r3, __ct__10Vector3$$0f$$1Fv@l -/* 802601E4 0025D124 90 BF 01 78 */ stw r5, 0x178(r31) -/* 802601E8 0025D128 38 7F 02 D4 */ addi r3, r31, 0x2d4 -/* 802601EC 0025D12C 38 A0 00 00 */ li r5, 0 -/* 802601F0 0025D130 38 C0 00 0C */ li r6, 0xc -/* 802601F4 0025D134 81 1F 01 7C */ lwz r8, 0x17c(r31) -/* 802601F8 0025D138 38 E0 00 02 */ li r7, 2 -/* 802601FC 0025D13C 91 28 00 00 */ stw r9, 0(r8) -/* 80260200 0025D140 81 1F 01 7C */ lwz r8, 0x17c(r31) -/* 80260204 0025D144 7C 08 00 50 */ subf r0, r8, r0 -/* 80260208 0025D148 90 08 00 0C */ stw r0, 0xc(r8) -/* 8026020C 0025D14C 4B E6 16 31 */ bl __construct_array -/* 80260210 0025D150 38 60 00 2C */ li r3, 0x2c -/* 80260214 0025D154 4B DC 3C 91 */ bl __nw__FUl -/* 80260218 0025D158 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026021C 0025D15C 41 82 00 44 */ beq lbl_80260260 -/* 80260220 0025D160 4B EC 77 55 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80260224 0025D164 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione14ProperAnimator@ha -/* 80260228 0025D168 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8026022C 0025D16C 38 03 3A 78 */ addi r0, r3, __vt__Q34Game7Qurione14ProperAnimator@l -/* 80260230 0025D170 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80260234 0025D174 90 1E 00 00 */ stw r0, 0(r30) -/* 80260238 0025D178 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8026023C 0025D17C 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 80260240 0025D180 38 00 00 00 */ li r0, 0 -/* 80260244 0025D184 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80260248 0025D188 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8026024C 0025D18C 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80260250 0025D190 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80260254 0025D194 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80260258 0025D198 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026025C 0025D19C 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80260260: -/* 80260260 0025D1A0 93 DF 01 84 */ stw r30, 0x184(r31) -/* 80260264 0025D1A4 38 60 00 1C */ li r3, 0x1c -/* 80260268 0025D1A8 4B DC 3C 3D */ bl __nw__FUl -/* 8026026C 0025D1AC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80260270 0025D1B0 41 82 00 24 */ beq lbl_80260294 -/* 80260274 0025D1B4 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 80260278 0025D1B8 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione3FSM@ha -/* 8026027C 0025D1BC 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 80260280 0025D1C0 38 A0 FF FF */ li r5, -1 -/* 80260284 0025D1C4 90 04 00 00 */ stw r0, 0(r4) -/* 80260288 0025D1C8 38 03 35 1C */ addi r0, r3, __vt__Q34Game7Qurione3FSM@l -/* 8026028C 0025D1CC 90 A4 00 18 */ stw r5, 0x18(r4) -/* 80260290 0025D1D0 90 04 00 00 */ stw r0, 0(r4) -lbl_80260294: -/* 80260294 0025D1D4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80260298 0025D1D8 7F E3 FB 78 */ mr r3, r31 -/* 8026029C 0025D1DC 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 802602A0 0025D1E0 7D 89 03 A6 */ mtctr r12 -/* 802602A4 0025D1E4 4E 80 04 21 */ bctrl -/* 802602A8 0025D1E8 7F E3 FB 78 */ mr r3, r31 -/* 802602AC 0025D1EC 48 00 09 A1 */ bl createEffect__Q34Game7Qurione3ObjFv -/* 802602B0 0025D1F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802602B4 0025D1F4 7F E3 FB 78 */ mr r3, r31 -/* 802602B8 0025D1F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802602BC 0025D1FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802602C0 0025D200 7C 08 03 A6 */ mtlr r0 -/* 802602C4 0025D204 38 21 00 10 */ addi r1, r1, 0x10 -/* 802602C8 0025D208 4E 80 00 20 */ blr - -.global birth__Q34Game7Qurione3ObjFR10Vector3$$0f$$1f -birth__Q34Game7Qurione3ObjFR10Vector3$$0f$$1f: -/* 802602CC 0025D20C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802602D0 0025D210 7C 08 02 A6 */ mflr r0 -/* 802602D4 0025D214 90 01 00 24 */ stw r0, 0x24(r1) -/* 802602D8 0025D218 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802602DC 0025D21C 7C 7F 1B 78 */ mr r31, r3 -/* 802602E0 0025D220 4B EA 27 21 */ bl birth__Q24Game9EnemyBaseFR10Vector3$$0f$$1f -/* 802602E4 0025D224 7F E3 FB 78 */ mr r3, r31 -/* 802602E8 0025D228 48 00 08 1D */ bl attachItem__Q34Game7Qurione3ObjFv -/* 802602EC 0025D22C C0 22 C9 90 */ lfs f1, lbl_8051ACF0@sda21(r2) -/* 802602F0 0025D230 7F E3 FB 78 */ mr r3, r31 -/* 802602F4 0025D234 C0 02 C9 94 */ lfs f0, lbl_8051ACF4@sda21(r2) -/* 802602F8 0025D238 38 81 00 08 */ addi r4, r1, 8 -/* 802602FC 0025D23C D0 21 00 08 */ stfs f1, 8(r1) -/* 80260300 0025D240 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80260304 0025D244 81 9F 00 00 */ lwz r12, 0(r31) -/* 80260308 0025D248 81 8C 01 C4 */ lwz r12, 0x1c4(r12) -/* 8026030C 0025D24C 7D 89 03 A6 */ mtctr r12 -/* 80260310 0025D250 4E 80 04 21 */ bctrl -/* 80260314 0025D254 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80260318 0025D258 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026031C 0025D25C 7C 08 03 A6 */ mtlr r0 -/* 80260320 0025D260 38 21 00 20 */ addi r1, r1, 0x20 -/* 80260324 0025D264 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game7Qurione3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game7Qurione3ObjFPQ24Game21EnemyInitialParamBase: -/* 80260328 0025D268 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026032C 0025D26C 7C 08 02 A6 */ mflr r0 -/* 80260330 0025D270 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260334 0025D274 C0 04 00 00 */ lfs f0, 0(r4) -/* 80260338 0025D278 D0 03 02 C4 */ stfs f0, 0x2c4(r3) -/* 8026033C 0025D27C C0 24 00 04 */ lfs f1, 4(r4) -/* 80260340 0025D280 48 00 03 75 */ bl setQurioneStartPos__Q34Game7Qurione3ObjFf -/* 80260344 0025D284 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260348 0025D288 7C 08 03 A6 */ mtlr r0 -/* 8026034C 0025D28C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260350 0025D290 4E 80 00 20 */ blr - -.global onInit__Q34Game7Qurione3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game7Qurione3ObjFPQ24Game15CreatureInitArg: -/* 80260354 0025D294 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260358 0025D298 7C 08 02 A6 */ mflr r0 -/* 8026035C 0025D29C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260360 0025D2A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260364 0025D2A4 7C 7F 1B 78 */ mr r31, r3 -/* 80260368 0025D2A8 4B EA 16 F1 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8026036C 0025D2AC 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 80260370 0025D2B0 38 00 00 00 */ li r0, 0 -/* 80260374 0025D2B4 C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 80260378 0025D2B8 7F E3 FB 78 */ mr r3, r31 -/* 8026037C 0025D2BC 60 84 00 04 */ ori r4, r4, 4 -/* 80260380 0025D2C0 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80260384 0025D2C4 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 80260388 0025D2C8 60 84 00 01 */ ori r4, r4, 1 -/* 8026038C 0025D2CC 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80260390 0025D2D0 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 80260394 0025D2D4 54 84 05 24 */ rlwinm r4, r4, 0, 0x14, 0x12 -/* 80260398 0025D2D8 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026039C 0025D2DC 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 802603A0 0025D2E0 54 84 07 76 */ rlwinm r4, r4, 0, 0x1d, 0x1b -/* 802603A4 0025D2E4 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 802603A8 0025D2E8 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 802603AC 0025D2EC 54 84 06 6E */ rlwinm r4, r4, 0, 0x19, 0x17 -/* 802603B0 0025D2F0 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 802603B4 0025D2F4 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 802603B8 0025D2F8 54 84 06 2C */ rlwinm r4, r4, 0, 0x18, 0x16 -/* 802603BC 0025D2FC 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 802603C0 0025D300 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 802603C4 0025D304 54 84 05 66 */ rlwinm r4, r4, 0, 0x15, 0x13 -/* 802603C8 0025D308 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 802603CC 0025D30C 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 802603D0 0025D310 64 84 00 40 */ oris r4, r4, 0x40 -/* 802603D4 0025D314 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 802603D8 0025D318 98 1F 02 B0 */ stb r0, 0x2b0(r31) -/* 802603DC 0025D31C D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 802603E0 0025D320 90 1F 02 D0 */ stw r0, 0x2d0(r31) -/* 802603E4 0025D324 48 00 05 FD */ bl resetUtilityTimer__Q34Game7Qurione3ObjFv -/* 802603E8 0025D328 C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 802603EC 0025D32C 7F E3 FB 78 */ mr r3, r31 -/* 802603F0 0025D330 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 802603F4 0025D334 48 00 0A 19 */ bl setupEffect__Q34Game7Qurione3ObjFv -/* 802603F8 0025D338 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 802603FC 0025D33C 7F E4 FB 78 */ mr r4, r31 -/* 80260400 0025D340 38 A0 00 00 */ li r5, 0 -/* 80260404 0025D344 38 C0 00 00 */ li r6, 0 -/* 80260408 0025D348 81 83 00 00 */ lwz r12, 0(r3) -/* 8026040C 0025D34C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80260410 0025D350 7D 89 03 A6 */ mtctr r12 -/* 80260414 0025D354 4E 80 04 21 */ bctrl -/* 80260418 0025D358 7F E3 FB 78 */ mr r3, r31 -/* 8026041C 0025D35C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80260420 0025D360 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 80260424 0025D364 7D 89 03 A6 */ mtctr r12 -/* 80260428 0025D368 4E 80 04 21 */ bctrl -/* 8026042C 0025D36C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260430 0025D370 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260434 0025D374 7C 08 03 A6 */ mtlr r0 -/* 80260438 0025D378 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026043C 0025D37C 4E 80 00 20 */ blr - -.global onKill__Q34Game7Qurione3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game7Qurione3ObjFPQ24Game15CreatureKillArg: -/* 80260440 0025D380 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260444 0025D384 7C 08 02 A6 */ mflr r0 -/* 80260448 0025D388 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026044C 0025D38C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260450 0025D390 7C 9F 23 78 */ mr r31, r4 -/* 80260454 0025D394 93 C1 00 08 */ stw r30, 8(r1) -/* 80260458 0025D398 7C 7E 1B 78 */ mr r30, r3 -/* 8026045C 0025D39C 48 00 0B 1D */ bl finishGlowEffect__Q34Game7Qurione3ObjFv -/* 80260460 0025D3A0 7F C3 F3 78 */ mr r3, r30 -/* 80260464 0025D3A4 7F E4 FB 78 */ mr r4, r31 -/* 80260468 0025D3A8 4B EA 1A 81 */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 8026046C 0025D3AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260470 0025D3B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260474 0025D3B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80260478 0025D3B8 7C 08 03 A6 */ mtlr r0 -/* 8026047C 0025D3BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260480 0025D3C0 4E 80 00 20 */ blr - -.global doUpdate__Q34Game7Qurione3ObjFv -doUpdate__Q34Game7Qurione3ObjFv: -/* 80260484 0025D3C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260488 0025D3C8 7C 08 02 A6 */ mflr r0 -/* 8026048C 0025D3CC 7C 64 1B 78 */ mr r4, r3 -/* 80260490 0025D3D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260494 0025D3D4 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80260498 0025D3D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026049C 0025D3DC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802604A0 0025D3E0 7D 89 03 A6 */ mtctr r12 -/* 802604A4 0025D3E4 4E 80 04 21 */ bctrl -/* 802604A8 0025D3E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802604AC 0025D3EC 7C 08 03 A6 */ mtlr r0 -/* 802604B0 0025D3F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802604B4 0025D3F4 4E 80 00 20 */ blr - -.global setFSM__Q34Game7Qurione3ObjFPQ34Game7Qurione3FSM -setFSM__Q34Game7Qurione3ObjFPQ34Game7Qurione3FSM: -/* 802604B8 0025D3F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802604BC 0025D3FC 7C 08 02 A6 */ mflr r0 -/* 802604C0 0025D400 90 01 00 14 */ stw r0, 0x14(r1) -/* 802604C4 0025D404 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802604C8 0025D408 7C 7F 1B 78 */ mr r31, r3 -/* 802604CC 0025D40C 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 802604D0 0025D410 7F E4 FB 78 */ mr r4, r31 -/* 802604D4 0025D414 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 802604D8 0025D418 81 83 00 00 */ lwz r12, 0(r3) -/* 802604DC 0025D41C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802604E0 0025D420 7D 89 03 A6 */ mtctr r12 -/* 802604E4 0025D424 4E 80 04 21 */ bctrl -/* 802604E8 0025D428 38 00 00 00 */ li r0, 0 -/* 802604EC 0025D42C 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 802604F0 0025D430 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802604F4 0025D434 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802604F8 0025D438 7C 08 03 A6 */ mtlr r0 -/* 802604FC 0025D43C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260500 0025D440 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game7Qurione3ObjFR8Graphics -doDirectDraw__Q34Game7Qurione3ObjFR8Graphics: -/* 80260504 0025D444 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game7Qurione3ObjFR8Graphics -doDebugDraw__Q34Game7Qurione3ObjFR8Graphics: -/* 80260508 0025D448 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026050C 0025D44C 7C 08 02 A6 */ mflr r0 -/* 80260510 0025D450 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260514 0025D454 4B EA 59 59 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80260518 0025D458 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026051C 0025D45C 7C 08 03 A6 */ mtlr r0 -/* 80260520 0025D460 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260524 0025D464 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game7Qurione3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game7Qurione3ObjFRQ24Game11ShadowParam: -/* 80260528 0025D468 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8026052C 0025D46C C0 22 C9 9C */ lfs f1, lbl_8051ACFC@sda21(r2) -/* 80260530 0025D470 D0 04 00 00 */ stfs f0, 0(r4) -/* 80260534 0025D474 C0 42 C9 98 */ lfs f2, lbl_8051ACF8@sda21(r2) -/* 80260538 0025D478 C0 63 01 90 */ lfs f3, 0x190(r3) -/* 8026053C 0025D47C C0 02 C9 A0 */ lfs f0, lbl_8051AD00@sda21(r2) -/* 80260540 0025D480 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80260544 0025D484 C0 22 C9 A4 */ lfs f1, lbl_8051AD04@sda21(r2) -/* 80260548 0025D488 D0 64 00 04 */ stfs f3, 4(r4) -/* 8026054C 0025D48C C0 63 01 94 */ lfs f3, 0x194(r3) -/* 80260550 0025D490 D0 64 00 08 */ stfs f3, 8(r4) -/* 80260554 0025D494 D0 44 00 0C */ stfs f2, 0xc(r4) -/* 80260558 0025D498 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8026055C 0025D49C D0 44 00 14 */ stfs f2, 0x14(r4) -/* 80260560 0025D4A0 C0 03 02 C0 */ lfs f0, 0x2c0(r3) -/* 80260564 0025D4A4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80260568 0025D4A8 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8026056C 0025D4AC 80 63 00 C0 */ lwz r3, 0xc0(r3) -/* 80260570 0025D4B0 C0 23 08 1C */ lfs f1, 0x81c(r3) -/* 80260574 0025D4B4 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 80260578 0025D4B8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8026057C 0025D4BC D0 04 00 18 */ stfs f0, 0x18(r4) -/* 80260580 0025D4C0 4E 80 00 20 */ blr - -.global flyCollisionCallBack__Q34Game7Qurione3ObjFPQ24Game8CreaturefP8CollPart -flyCollisionCallBack__Q34Game7Qurione3ObjFPQ24Game8CreaturefP8CollPart: -/* 80260584 0025D4C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260588 0025D4C8 7C 08 02 A6 */ mflr r0 -/* 8026058C 0025D4CC 28 04 00 00 */ cmplwi r4, 0 -/* 80260590 0025D4D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260594 0025D4D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260598 0025D4D8 7C 7F 1B 78 */ mr r31, r3 -/* 8026059C 0025D4DC 41 82 00 58 */ beq lbl_802605F4 -/* 802605A0 0025D4E0 7C 83 23 78 */ mr r3, r4 -/* 802605A4 0025D4E4 81 84 00 00 */ lwz r12, 0(r4) -/* 802605A8 0025D4E8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802605AC 0025D4EC 7D 89 03 A6 */ mtctr r12 -/* 802605B0 0025D4F0 4E 80 04 21 */ bctrl -/* 802605B4 0025D4F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802605B8 0025D4F8 41 82 00 3C */ beq lbl_802605F4 -/* 802605BC 0025D4FC 7F E3 FB 78 */ mr r3, r31 -/* 802605C0 0025D500 4B EA 6E 35 */ bl getStateID__Q24Game9EnemyBaseFv -/* 802605C4 0025D504 2C 03 00 03 */ cmpwi r3, 3 -/* 802605C8 0025D508 40 82 00 2C */ bne lbl_802605F4 -/* 802605CC 0025D50C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 802605D0 0025D510 7F E4 FB 78 */ mr r4, r31 -/* 802605D4 0025D514 38 A0 00 04 */ li r5, 4 -/* 802605D8 0025D518 38 C0 00 00 */ li r6, 0 -/* 802605DC 0025D51C 81 83 00 00 */ lwz r12, 0(r3) -/* 802605E0 0025D520 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802605E4 0025D524 7D 89 03 A6 */ mtctr r12 -/* 802605E8 0025D528 4E 80 04 21 */ bctrl -/* 802605EC 0025D52C 38 60 00 01 */ li r3, 1 -/* 802605F0 0025D530 48 00 00 08 */ b lbl_802605F8 -lbl_802605F4: -/* 802605F4 0025D534 38 60 00 00 */ li r3, 0 -lbl_802605F8: -/* 802605F8 0025D538 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802605FC 0025D53C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260600 0025D540 7C 08 03 A6 */ mtlr r0 -/* 80260604 0025D544 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260608 0025D548 4E 80 00 20 */ blr - -.global doStartWaitingBirthTypeDrop__Q34Game7Qurione3ObjFv -doStartWaitingBirthTypeDrop__Q34Game7Qurione3ObjFv: -/* 8026060C 0025D54C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260610 0025D550 7C 08 02 A6 */ mflr r0 -/* 80260614 0025D554 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260618 0025D558 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026061C 0025D55C 7C 7F 1B 78 */ mr r31, r3 -/* 80260620 0025D560 4B EA 73 79 */ bl doStartWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 80260624 0025D564 7F E3 FB 78 */ mr r3, r31 -/* 80260628 0025D568 48 00 0A 4D */ bl effectDrawOff__Q34Game7Qurione3ObjFv -/* 8026062C 0025D56C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260630 0025D570 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260634 0025D574 7C 08 03 A6 */ mtlr r0 -/* 80260638 0025D578 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026063C 0025D57C 4E 80 00 20 */ blr - -.global doFinishWaitingBirthTypeDrop__Q34Game7Qurione3ObjFv -doFinishWaitingBirthTypeDrop__Q34Game7Qurione3ObjFv: -/* 80260640 0025D580 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260644 0025D584 7C 08 02 A6 */ mflr r0 -/* 80260648 0025D588 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026064C 0025D58C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260650 0025D590 7C 7F 1B 78 */ mr r31, r3 -/* 80260654 0025D594 4B EA 73 75 */ bl doFinishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 80260658 0025D598 7F E3 FB 78 */ mr r3, r31 -/* 8026065C 0025D59C 48 00 09 B5 */ bl effectDrawOn__Q34Game7Qurione3ObjFv -/* 80260660 0025D5A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260664 0025D5A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260668 0025D5A8 7C 08 03 A6 */ mtlr r0 -/* 8026066C 0025D5AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260670 0025D5B0 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game7Qurione3ObjFv -doStartMovie__Q34Game7Qurione3ObjFv: -/* 80260674 0025D5B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260678 0025D5B8 7C 08 02 A6 */ mflr r0 -/* 8026067C 0025D5BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260680 0025D5C0 48 00 09 F5 */ bl effectDrawOff__Q34Game7Qurione3ObjFv -/* 80260684 0025D5C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260688 0025D5C8 7C 08 03 A6 */ mtlr r0 -/* 8026068C 0025D5CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260690 0025D5D0 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game7Qurione3ObjFv -doEndMovie__Q34Game7Qurione3ObjFv: -/* 80260694 0025D5D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260698 0025D5D8 7C 08 02 A6 */ mflr r0 -/* 8026069C 0025D5DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802606A0 0025D5E0 48 00 09 71 */ bl effectDrawOn__Q34Game7Qurione3ObjFv -/* 802606A4 0025D5E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802606A8 0025D5E8 7C 08 03 A6 */ mtlr r0 -/* 802606AC 0025D5EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802606B0 0025D5F0 4E 80 00 20 */ blr - -.global setQurioneStartPos__Q34Game7Qurione3ObjFf -setQurioneStartPos__Q34Game7Qurione3ObjFf: -/* 802606B4 0025D5F4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802606B8 0025D5F8 C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 802606BC 0025D5FC C0 43 01 8C */ lfs f2, 0x18c(r3) -/* 802606C0 0025D600 D0 43 02 D4 */ stfs f2, 0x2d4(r3) -/* 802606C4 0025D604 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 802606C8 0025D608 C0 63 01 90 */ lfs f3, 0x190(r3) -/* 802606CC 0025D60C C0 44 08 1C */ lfs f2, 0x81c(r4) -/* 802606D0 0025D610 EC 43 10 2A */ fadds f2, f3, f2 -/* 802606D4 0025D614 D0 43 02 D8 */ stfs f2, 0x2d8(r3) -/* 802606D8 0025D618 C0 43 01 94 */ lfs f2, 0x194(r3) -/* 802606DC 0025D61C D0 43 02 DC */ stfs f2, 0x2dc(r3) -/* 802606E0 0025D620 C0 A3 01 FC */ lfs f5, 0x1fc(r3) -/* 802606E4 0025D624 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802606E8 0025D628 40 80 00 30 */ bge lbl_80260718 -/* 802606EC 0025D62C C0 02 C9 A8 */ lfs f0, lbl_8051AD08@sda21(r2) -/* 802606F0 0025D630 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 802606F4 0025D634 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 802606F8 0025D638 EC 05 00 32 */ fmuls f0, f5, f0 -/* 802606FC 0025D63C FC 00 00 1E */ fctiwz f0, f0 -/* 80260700 0025D640 D8 01 00 08 */ stfd f0, 8(r1) -/* 80260704 0025D644 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80260708 0025D648 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026070C 0025D64C 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80260710 0025D650 FC 40 00 50 */ fneg f2, f0 -/* 80260714 0025D654 48 00 00 28 */ b lbl_8026073C -lbl_80260718: -/* 80260718 0025D658 C0 02 C9 AC */ lfs f0, lbl_8051AD0C@sda21(r2) -/* 8026071C 0025D65C 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 80260720 0025D660 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 80260724 0025D664 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80260728 0025D668 FC 00 00 1E */ fctiwz f0, f0 -/* 8026072C 0025D66C D8 01 00 10 */ stfd f0, 0x10(r1) -/* 80260730 0025D670 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260734 0025D674 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80260738 0025D678 7C 44 04 2E */ lfsx f2, r4, r0 -lbl_8026073C: -/* 8026073C 0025D67C C0 C3 02 C4 */ lfs f6, 0x2c4(r3) -/* 80260740 0025D680 FC 80 28 90 */ fmr f4, f5 -/* 80260744 0025D684 C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 80260748 0025D688 EC E6 00 B2 */ fmuls f7, f6, f2 -/* 8026074C 0025D68C FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80260750 0025D690 40 80 00 08 */ bge lbl_80260758 -/* 80260754 0025D694 FC 80 28 50 */ fneg f4, f5 -lbl_80260758: -/* 80260758 0025D698 C0 62 C9 AC */ lfs f3, lbl_8051AD0C@sda21(r2) -/* 8026075C 0025D69C 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 80260760 0025D6A0 C0 02 C9 B0 */ lfs f0, lbl_8051AD10@sda21(r2) -/* 80260764 0025D6A4 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 80260768 0025D6A8 EC 44 00 F2 */ fmuls f2, f4, f3 -/* 8026076C 0025D6AC 38 A4 00 04 */ addi r5, r4, 4 -/* 80260770 0025D6B0 EC A5 00 28 */ fsubs f5, f5, f0 -/* 80260774 0025D6B4 C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 80260778 0025D6B8 FC 40 10 1E */ fctiwz f2, f2 -/* 8026077C 0025D6BC FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80260780 0025D6C0 D8 41 00 18 */ stfd f2, 0x18(r1) -/* 80260784 0025D6C4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80260788 0025D6C8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026078C 0025D6CC 7C 05 04 2E */ lfsx f0, r5, r0 -/* 80260790 0025D6D0 EC 86 00 32 */ fmuls f4, f6, f0 -/* 80260794 0025D6D4 40 80 00 28 */ bge lbl_802607BC -/* 80260798 0025D6D8 C0 02 C9 A8 */ lfs f0, lbl_8051AD08@sda21(r2) -/* 8026079C 0025D6DC EC 05 00 32 */ fmuls f0, f5, f0 -/* 802607A0 0025D6E0 FC 00 00 1E */ fctiwz f0, f0 -/* 802607A4 0025D6E4 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 802607A8 0025D6E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802607AC 0025D6EC 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802607B0 0025D6F0 7C 04 04 2E */ lfsx f0, r4, r0 -/* 802607B4 0025D6F4 FC 40 00 50 */ fneg f2, f0 -/* 802607B8 0025D6F8 48 00 00 1C */ b lbl_802607D4 -lbl_802607BC: -/* 802607BC 0025D6FC EC 05 00 F2 */ fmuls f0, f5, f3 -/* 802607C0 0025D700 FC 00 00 1E */ fctiwz f0, f0 -/* 802607C4 0025D704 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 802607C8 0025D708 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802607CC 0025D70C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802607D0 0025D710 7C 44 04 2E */ lfsx f2, r4, r0 -lbl_802607D4: -/* 802607D4 0025D714 C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 802607D8 0025D718 FC 60 28 90 */ fmr f3, f5 -/* 802607DC 0025D71C EC C1 00 B2 */ fmuls f6, f1, f2 -/* 802607E0 0025D720 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 802607E4 0025D724 40 80 00 08 */ bge lbl_802607EC -/* 802607E8 0025D728 FC 60 28 50 */ fneg f3, f5 -lbl_802607EC: -/* 802607EC 0025D72C C0 42 C9 AC */ lfs f2, lbl_8051AD0C@sda21(r2) -/* 802607F0 0025D730 C0 03 02 D4 */ lfs f0, 0x2d4(r3) -/* 802607F4 0025D734 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 802607F8 0025D738 EC 00 38 2A */ fadds f0, f0, f7 -/* 802607FC 0025D73C FC 40 10 1E */ fctiwz f2, f2 -/* 80260800 0025D740 EC 06 00 2A */ fadds f0, f6, f0 -/* 80260804 0025D744 D8 41 00 30 */ stfd f2, 0x30(r1) -/* 80260808 0025D748 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026080C 0025D74C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80260810 0025D750 7C 45 04 2E */ lfsx f2, r5, r0 -/* 80260814 0025D754 D0 03 02 E0 */ stfs f0, 0x2e0(r3) -/* 80260818 0025D758 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8026081C 0025D75C C0 03 02 D8 */ lfs f0, 0x2d8(r3) -/* 80260820 0025D760 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 80260824 0025D764 C0 03 02 DC */ lfs f0, 0x2dc(r3) -/* 80260828 0025D768 EC 00 20 2A */ fadds f0, f0, f4 -/* 8026082C 0025D76C EC 01 00 2A */ fadds f0, f1, f0 -/* 80260830 0025D770 D0 03 02 E8 */ stfs f0, 0x2e8(r3) -/* 80260834 0025D774 38 21 00 40 */ addi r1, r1, 0x40 -/* 80260838 0025D778 4E 80 00 20 */ blr - -.global moveFaceDir__Q34Game7Qurione3ObjFv -moveFaceDir__Q34Game7Qurione3ObjFv: -/* 8026083C 0025D77C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80260840 0025D780 7C 08 02 A6 */ mflr r0 -/* 80260844 0025D784 90 01 00 64 */ stw r0, 0x64(r1) -/* 80260848 0025D788 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8026084C 0025D78C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80260850 0025D790 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80260854 0025D794 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80260858 0025D798 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 8026085C 0025D79C F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80260860 0025D7A0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80260864 0025D7A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80260868 0025D7A8 7C 7F 1B 78 */ mr r31, r3 -/* 8026086C 0025D7AC 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80260870 0025D7B0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80260874 0025D7B4 C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 80260878 0025D7B8 7D 89 03 A6 */ mtctr r12 -/* 8026087C 0025D7BC 4E 80 04 21 */ bctrl -/* 80260880 0025D7C0 4B E6 EF 9D */ bl sin -/* 80260884 0025D7C4 7F E3 FB 78 */ mr r3, r31 -/* 80260888 0025D7C8 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8026088C 0025D7CC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80260890 0025D7D0 FF A0 08 18 */ frsp f29, f1 -/* 80260894 0025D7D4 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 80260898 0025D7D8 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8026089C 0025D7DC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802608A0 0025D7E0 D0 41 00 08 */ stfs f2, 8(r1) -/* 802608A4 0025D7E4 D3 E1 00 0C */ stfs f31, 0xc(r1) -/* 802608A8 0025D7E8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802608AC 0025D7EC 7D 89 03 A6 */ mtctr r12 -/* 802608B0 0025D7F0 4E 80 04 21 */ bctrl -/* 802608B4 0025D7F4 4B E6 EA 01 */ bl cos -/* 802608B8 0025D7F8 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 802608BC 0025D7FC 38 9F 01 8C */ addi r4, r31, 0x18c -/* 802608C0 0025D800 FC 20 08 18 */ frsp f1, f1 -/* 802608C4 0025D804 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802608C8 0025D808 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 802608CC 0025D80C D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 802608D0 0025D810 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802608D4 0025D814 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 802608D8 0025D818 81 83 00 04 */ lwz r12, 4(r3) -/* 802608DC 0025D81C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 802608E0 0025D820 7D 89 03 A6 */ mtctr r12 -/* 802608E4 0025D824 4E 80 04 21 */ bctrl -/* 802608E8 0025D828 FF E0 08 90 */ fmr f31, f1 -/* 802608EC 0025D82C 7F E3 FB 78 */ mr r3, r31 -/* 802608F0 0025D830 48 00 00 B9 */ bl addPitchRatio__Q34Game7Qurione3ObjFv -/* 802608F4 0025D834 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 802608F8 0025D838 C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 802608FC 0025D83C 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80260900 0025D840 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80260904 0025D844 C0 82 C9 B4 */ lfs f4, lbl_8051AD14@sda21(r2) -/* 80260908 0025D848 C0 64 08 6C */ lfs f3, 0x86c(r4) -/* 8026090C 0025D84C 40 80 00 30 */ bge lbl_8026093C -/* 80260910 0025D850 C0 02 C9 A8 */ lfs f0, lbl_8051AD08@sda21(r2) -/* 80260914 0025D854 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80260918 0025D858 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8026091C 0025D85C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80260920 0025D860 FC 00 00 1E */ fctiwz f0, f0 -/* 80260924 0025D864 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 80260928 0025D868 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8026092C 0025D86C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80260930 0025D870 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80260934 0025D874 FC 40 00 50 */ fneg f2, f0 -/* 80260938 0025D878 48 00 00 28 */ b lbl_80260960 -lbl_8026093C: -/* 8026093C 0025D87C C0 02 C9 AC */ lfs f0, lbl_8051AD0C@sda21(r2) -/* 80260940 0025D880 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80260944 0025D884 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80260948 0025D888 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8026094C 0025D88C FC 00 00 1E */ fctiwz f0, f0 -/* 80260950 0025D890 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 80260954 0025D894 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80260958 0025D898 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026095C 0025D89C 7C 43 04 2E */ lfsx f2, r3, r0 -lbl_80260960: -/* 80260960 0025D8A0 C0 24 08 1C */ lfs f1, 0x81c(r4) -/* 80260964 0025D8A4 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 80260968 0025D8A8 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 8026096C 0025D8AC EC 3F 08 2A */ fadds f1, f31, f1 -/* 80260970 0025D8B0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80260974 0025D8B4 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80260978 0025D8B8 D0 1F 01 CC */ stfs f0, 0x1cc(r31) -/* 8026097C 0025D8BC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80260980 0025D8C0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80260984 0025D8C4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80260988 0025D8C8 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8026098C 0025D8CC E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80260990 0025D8D0 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80260994 0025D8D4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80260998 0025D8D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8026099C 0025D8DC 7C 08 03 A6 */ mtlr r0 -/* 802609A0 0025D8E0 38 21 00 60 */ addi r1, r1, 0x60 -/* 802609A4 0025D8E4 4E 80 00 20 */ blr - -.global addPitchRatio__Q34Game7Qurione3ObjFv -addPitchRatio__Q34Game7Qurione3ObjFv: -/* 802609A8 0025D8E8 80 A3 00 C0 */ lwz r5, 0xc0(r3) -/* 802609AC 0025D8EC 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 802609B0 0025D8F0 C0 65 08 44 */ lfs f3, 0x844(r5) -/* 802609B4 0025D8F4 C0 44 00 54 */ lfs f2, 0x54(r4) -/* 802609B8 0025D8F8 C0 23 02 C8 */ lfs f1, 0x2c8(r3) -/* 802609BC 0025D8FC C0 02 C9 B8 */ lfs f0, lbl_8051AD18@sda21(r2) -/* 802609C0 0025D900 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 802609C4 0025D904 D0 23 02 C8 */ stfs f1, 0x2c8(r3) -/* 802609C8 0025D908 C0 23 02 C8 */ lfs f1, 0x2c8(r3) -/* 802609CC 0025D90C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802609D0 0025D910 4C 81 00 20 */ blelr -/* 802609D4 0025D914 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802609D8 0025D918 D0 03 02 C8 */ stfs f0, 0x2c8(r3) -/* 802609DC 0025D91C 4E 80 00 20 */ blr - -.global resetUtilityTimer__Q34Game7Qurione3ObjFv -resetUtilityTimer__Q34Game7Qurione3ObjFv: -/* 802609E0 0025D920 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802609E4 0025D924 7C 08 02 A6 */ mflr r0 -/* 802609E8 0025D928 90 01 00 24 */ stw r0, 0x24(r1) -/* 802609EC 0025D92C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802609F0 0025D930 7C 7F 1B 78 */ mr r31, r3 -/* 802609F4 0025D934 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 802609F8 0025D938 28 04 00 00 */ cmplwi r4, 0 -/* 802609FC 0025D93C 41 82 00 50 */ beq lbl_80260A4C -/* 80260A00 0025D940 80 04 00 44 */ lwz r0, 0x44(r4) -/* 80260A04 0025D944 2C 00 00 04 */ cmpwi r0, 4 -/* 80260A08 0025D948 40 82 00 44 */ bne lbl_80260A4C -/* 80260A0C 0025D94C 4B E6 8B 95 */ bl rand -/* 80260A10 0025D950 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80260A14 0025D954 3C 00 43 30 */ lis r0, 0x4330 -/* 80260A18 0025D958 90 61 00 0C */ stw r3, 0xc(r1) -/* 80260A1C 0025D95C C8 62 C9 C8 */ lfd f3, lbl_8051AD28@sda21(r2) -/* 80260A20 0025D960 90 01 00 08 */ stw r0, 8(r1) -/* 80260A24 0025D964 C0 42 C9 BC */ lfs f2, lbl_8051AD1C@sda21(r2) -/* 80260A28 0025D968 C8 01 00 08 */ lfd f0, 8(r1) -/* 80260A2C 0025D96C C0 22 C9 C0 */ lfs f1, lbl_8051AD20@sda21(r2) -/* 80260A30 0025D970 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80260A34 0025D974 C0 02 C9 A0 */ lfs f0, lbl_8051AD00@sda21(r2) -/* 80260A38 0025D978 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80260A3C 0025D97C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80260A40 0025D980 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80260A44 0025D984 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 80260A48 0025D988 48 00 00 0C */ b lbl_80260A54 -lbl_80260A4C: -/* 80260A4C 0025D98C C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 80260A50 0025D990 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -lbl_80260A54: -/* 80260A54 0025D994 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80260A58 0025D998 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80260A5C 0025D99C 7C 08 03 A6 */ mtlr r0 -/* 80260A60 0025D9A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80260A64 0025D9A4 4E 80 00 20 */ blr - -.global isAppear__Q34Game7Qurione3ObjFv -isAppear__Q34Game7Qurione3ObjFv: -/* 80260A68 0025D9A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260A6C 0025D9AC 7C 08 02 A6 */ mflr r0 -/* 80260A70 0025D9B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260A74 0025D9B4 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 80260A78 0025D9B8 28 04 00 00 */ cmplwi r4, 0 -/* 80260A7C 0025D9BC 41 82 00 18 */ beq lbl_80260A94 -/* 80260A80 0025D9C0 80 04 00 44 */ lwz r0, 0x44(r4) -/* 80260A84 0025D9C4 2C 00 00 04 */ cmpwi r0, 4 -/* 80260A88 0025D9C8 40 82 00 0C */ bne lbl_80260A94 -/* 80260A8C 0025D9CC 38 60 00 01 */ li r3, 1 -/* 80260A90 0025D9D0 48 00 00 34 */ b lbl_80260AC4 -lbl_80260A94: -/* 80260A94 0025D9D4 80 E3 00 C0 */ lwz r7, 0xc0(r3) -/* 80260A98 0025D9D8 38 80 00 00 */ li r4, 0 -/* 80260A9C 0025D9DC 38 A0 00 00 */ li r5, 0 -/* 80260AA0 0025D9E0 38 C0 00 00 */ li r6, 0 -/* 80260AA4 0025D9E4 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80260AA8 0025D9E8 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80260AAC 0025D9EC 4B EB 25 A5 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80260AB0 0025D9F0 28 03 00 00 */ cmplwi r3, 0 -/* 80260AB4 0025D9F4 41 82 00 0C */ beq lbl_80260AC0 -/* 80260AB8 0025D9F8 38 60 00 01 */ li r3, 1 -/* 80260ABC 0025D9FC 48 00 00 08 */ b lbl_80260AC4 -lbl_80260AC0: -/* 80260AC0 0025DA00 38 60 00 00 */ li r3, 0 -lbl_80260AC4: -/* 80260AC4 0025DA04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260AC8 0025DA08 7C 08 03 A6 */ mtlr r0 -/* 80260ACC 0025DA0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260AD0 0025DA10 4E 80 00 20 */ blr - -.global isFlyKill__Q34Game7Qurione3ObjFv -isFlyKill__Q34Game7Qurione3ObjFv: -/* 80260AD4 0025DA14 88 03 00 D8 */ lbz r0, 0xd8(r3) -/* 80260AD8 0025DA18 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 80260ADC 0025DA1C 41 82 00 18 */ beq lbl_80260AF4 -/* 80260AE0 0025DA20 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80260AE4 0025DA24 C0 23 02 CC */ lfs f1, 0x2cc(r3) -/* 80260AE8 0025DA28 C0 04 08 BC */ lfs f0, 0x8bc(r4) -/* 80260AEC 0025DA2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80260AF0 0025DA30 40 81 00 0C */ ble lbl_80260AFC -lbl_80260AF4: -/* 80260AF4 0025DA34 38 60 00 01 */ li r3, 1 -/* 80260AF8 0025DA38 4E 80 00 20 */ blr -lbl_80260AFC: -/* 80260AFC 0025DA3C 38 60 00 00 */ li r3, 0 -/* 80260B00 0025DA40 4E 80 00 20 */ blr - -.global attachItem__Q34Game7Qurione3ObjFv -attachItem__Q34Game7Qurione3ObjFv: -/* 80260B04 0025DA44 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80260B08 0025DA48 7C 08 02 A6 */ mflr r0 -/* 80260B0C 0025DA4C 38 82 C9 D0 */ addi r4, r2, lbl_8051AD30@sda21 -/* 80260B10 0025DA50 90 01 00 54 */ stw r0, 0x54(r1) -/* 80260B14 0025DA54 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80260B18 0025DA58 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80260B1C 0025DA5C 7C 7E 1B 78 */ mr r30, r3 -/* 80260B20 0025DA60 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80260B24 0025DA64 48 1D E4 C1 */ bl getJoint__Q28SysShape5ModelFPc -/* 80260B28 0025DA68 48 1C 8D 79 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80260B2C 0025DA6C 7C 60 1B 78 */ mr r0, r3 -/* 80260B30 0025DA70 38 61 00 08 */ addi r3, r1, 8 -/* 80260B34 0025DA74 7C 1F 03 78 */ mr r31, r0 -/* 80260B38 0025DA78 4B EC E0 ED */ bl __ct__Q24Game13EnemyBirthArgFv -/* 80260B3C 0025DA7C C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 80260B40 0025DA80 38 A1 00 08 */ addi r5, r1, 8 -/* 80260B44 0025DA84 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 80260B48 0025DA88 38 80 00 25 */ li r4, 0x25 -/* 80260B4C 0025DA8C D0 01 00 08 */ stfs f0, 8(r1) -/* 80260B50 0025DA90 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 80260B54 0025DA94 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80260B58 0025DA98 C0 1E 01 94 */ lfs f0, 0x194(r30) -/* 80260B5C 0025DA9C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80260B60 0025DAA0 C0 1E 01 FC */ lfs f0, 0x1fc(r30) -/* 80260B64 0025DAA4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80260B68 0025DAA8 4B EA C9 59 */ bl birth__Q24Game15GeneralEnemyMgrFiRQ24Game13EnemyBirthArg -/* 80260B6C 0025DAAC 90 7E 02 EC */ stw r3, 0x2ec(r30) -/* 80260B70 0025DAB0 80 7E 02 EC */ lwz r3, 0x2ec(r30) -/* 80260B74 0025DAB4 28 03 00 00 */ cmplwi r3, 0 -/* 80260B78 0025DAB8 41 82 00 18 */ beq lbl_80260B90 -/* 80260B7C 0025DABC 38 80 00 00 */ li r4, 0 -/* 80260B80 0025DAC0 4B ED A4 49 */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -/* 80260B84 0025DAC4 80 7E 02 EC */ lwz r3, 0x2ec(r30) -/* 80260B88 0025DAC8 7F E4 FB 78 */ mr r4, r31 -/* 80260B8C 0025DACC 4B F3 EF 1D */ bl startCapture__Q24Game8CreatureFP7Matrixf -lbl_80260B90: -/* 80260B90 0025DAD0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80260B94 0025DAD4 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80260B98 0025DAD8 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80260B9C 0025DADC 7C 08 03 A6 */ mtlr r0 -/* 80260BA0 0025DAE0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80260BA4 0025DAE4 4E 80 00 20 */ blr - -.global dropItem__Q34Game7Qurione3ObjFv -dropItem__Q34Game7Qurione3ObjFv: -/* 80260BA8 0025DAE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260BAC 0025DAEC 7C 08 02 A6 */ mflr r0 -/* 80260BB0 0025DAF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260BB4 0025DAF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260BB8 0025DAF8 7C 7F 1B 78 */ mr r31, r3 -/* 80260BBC 0025DAFC 80 63 02 EC */ lwz r3, 0x2ec(r3) -/* 80260BC0 0025DB00 28 03 00 00 */ cmplwi r3, 0 -/* 80260BC4 0025DB04 41 82 00 10 */ beq lbl_80260BD4 -/* 80260BC8 0025DB08 4B F3 EF D5 */ bl endCapture__Q24Game8CreatureFv -/* 80260BCC 0025DB0C 38 00 00 00 */ li r0, 0 -/* 80260BD0 0025DB10 90 1F 02 EC */ stw r0, 0x2ec(r31) -lbl_80260BD4: -/* 80260BD4 0025DB14 7F E3 FB 78 */ mr r3, r31 -/* 80260BD8 0025DB18 38 80 00 00 */ li r4, 0 -/* 80260BDC 0025DB1C 4B EA 1D 45 */ bl setZukanVisible__Q24Game9EnemyBaseFb -/* 80260BE0 0025DB20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260BE4 0025DB24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260BE8 0025DB28 7C 08 03 A6 */ mtlr r0 -/* 80260BEC 0025DB2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260BF0 0025DB30 4E 80 00 20 */ blr - -.global addQurioneScale__Q34Game7Qurione3ObjFv -addQurioneScale__Q34Game7Qurione3ObjFv: -/* 80260BF4 0025DB34 C0 43 02 C0 */ lfs f2, 0x2c0(r3) -/* 80260BF8 0025DB38 C8 22 C9 D8 */ lfd f1, lbl_8051AD38@sda21(r2) -/* 80260BFC 0025DB3C C0 02 C9 A0 */ lfs f0, lbl_8051AD00@sda21(r2) -/* 80260C00 0025DB40 FC 22 08 2A */ fadd f1, f2, f1 -/* 80260C04 0025DB44 FC 20 08 18 */ frsp f1, f1 -/* 80260C08 0025DB48 D0 23 02 C0 */ stfs f1, 0x2c0(r3) -/* 80260C0C 0025DB4C C0 23 02 C0 */ lfs f1, 0x2c0(r3) -/* 80260C10 0025DB50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80260C14 0025DB54 4C 81 00 20 */ blelr -/* 80260C18 0025DB58 D0 03 02 C0 */ stfs f0, 0x2c0(r3) -/* 80260C1C 0025DB5C 4E 80 00 20 */ blr - -.global subQurioneScale__Q34Game7Qurione3ObjFv -subQurioneScale__Q34Game7Qurione3ObjFv: -/* 80260C20 0025DB60 C0 43 02 C0 */ lfs f2, 0x2c0(r3) -/* 80260C24 0025DB64 C8 22 C9 D8 */ lfd f1, lbl_8051AD38@sda21(r2) -/* 80260C28 0025DB68 C0 02 C9 98 */ lfs f0, lbl_8051ACF8@sda21(r2) -/* 80260C2C 0025DB6C FC 22 08 28 */ fsub f1, f2, f1 -/* 80260C30 0025DB70 FC 20 08 18 */ frsp f1, f1 -/* 80260C34 0025DB74 D0 23 02 C0 */ stfs f1, 0x2c0(r3) -/* 80260C38 0025DB78 C0 23 02 C0 */ lfs f1, 0x2c0(r3) -/* 80260C3C 0025DB7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80260C40 0025DB80 4C 80 00 20 */ bgelr -/* 80260C44 0025DB84 D0 03 02 C0 */ stfs f0, 0x2c0(r3) -/* 80260C48 0025DB88 4E 80 00 20 */ blr - -.global createEffect__Q34Game7Qurione3ObjFv -createEffect__Q34Game7Qurione3ObjFv: -/* 80260C4C 0025DB8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260C50 0025DB90 7C 08 02 A6 */ mflr r0 -/* 80260C54 0025DB94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260C58 0025DB98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260C5C 0025DB9C 7C 7F 1B 78 */ mr r31, r3 -/* 80260C60 0025DBA0 38 60 00 14 */ li r3, 0x14 -/* 80260C64 0025DBA4 4B DC 32 41 */ bl __nw__FUl -/* 80260C68 0025DBA8 28 03 00 00 */ cmplwi r3, 0 -/* 80260C6C 0025DBAC 41 82 00 78 */ beq lbl_80260CE4 -/* 80260C70 0025DBB0 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80260C74 0025DBB4 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80260C78 0025DBB8 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80260C7C 0025DBBC 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80260C80 0025DBC0 90 03 00 00 */ stw r0, 0(r3) -/* 80260C84 0025DBC4 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80260C88 0025DBC8 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80260C8C 0025DBCC 3C 80 80 4E */ lis r4, __vt__Q23efx10TChaseMtxT@ha -/* 80260C90 0025DBD0 90 03 00 04 */ stw r0, 4(r3) -/* 80260C94 0025DBD4 38 E4 68 5C */ addi r7, r4, __vt__Q23efx10TChaseMtxT@l -/* 80260C98 0025DBD8 3C 80 80 4C */ lis r4, __vt__Q23efx9TQuriGlow@ha -/* 80260C9C 0025DBDC 38 05 00 14 */ addi r0, r5, 0x14 -/* 80260CA0 0025DBE0 90 A3 00 00 */ stw r5, 0(r3) -/* 80260CA4 0025DBE4 38 84 36 FC */ addi r4, r4, __vt__Q23efx9TQuriGlow@l -/* 80260CA8 0025DBE8 39 20 00 00 */ li r9, 0 -/* 80260CAC 0025DBEC 39 00 02 B2 */ li r8, 0x2b2 -/* 80260CB0 0025DBF0 90 03 00 04 */ stw r0, 4(r3) -/* 80260CB4 0025DBF4 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80260CB8 0025DBF8 38 A0 01 A3 */ li r5, 0x1a3 -/* 80260CBC 0025DBFC 38 04 00 14 */ addi r0, r4, 0x14 -/* 80260CC0 0025DC00 91 23 00 08 */ stw r9, 8(r3) -/* 80260CC4 0025DC04 B1 03 00 0C */ sth r8, 0xc(r3) -/* 80260CC8 0025DC08 99 23 00 0E */ stb r9, 0xe(r3) -/* 80260CCC 0025DC0C 90 E3 00 00 */ stw r7, 0(r3) -/* 80260CD0 0025DC10 90 C3 00 04 */ stw r6, 4(r3) -/* 80260CD4 0025DC14 91 23 00 10 */ stw r9, 0x10(r3) -/* 80260CD8 0025DC18 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 80260CDC 0025DC1C 90 83 00 00 */ stw r4, 0(r3) -/* 80260CE0 0025DC20 90 03 00 04 */ stw r0, 4(r3) -lbl_80260CE4: -/* 80260CE4 0025DC24 90 7F 02 F0 */ stw r3, 0x2f0(r31) -/* 80260CE8 0025DC28 38 60 00 14 */ li r3, 0x14 -/* 80260CEC 0025DC2C 4B DC 31 B9 */ bl __nw__FUl -/* 80260CF0 0025DC30 28 03 00 00 */ cmplwi r3, 0 -/* 80260CF4 0025DC34 41 82 00 78 */ beq lbl_80260D6C -/* 80260CF8 0025DC38 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80260CFC 0025DC3C 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80260D00 0025DC40 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80260D04 0025DC44 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80260D08 0025DC48 90 03 00 00 */ stw r0, 0(r3) -/* 80260D0C 0025DC4C 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80260D10 0025DC50 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80260D14 0025DC54 3C 80 80 4E */ lis r4, __vt__Q23efx10TChaseMtxT@ha -/* 80260D18 0025DC58 90 03 00 04 */ stw r0, 4(r3) -/* 80260D1C 0025DC5C 38 E4 68 5C */ addi r7, r4, __vt__Q23efx10TChaseMtxT@l -/* 80260D20 0025DC60 3C 80 80 4C */ lis r4, __vt__Q23efx8TQuriApp@ha -/* 80260D24 0025DC64 38 05 00 14 */ addi r0, r5, 0x14 -/* 80260D28 0025DC68 90 A3 00 00 */ stw r5, 0(r3) -/* 80260D2C 0025DC6C 38 84 36 B0 */ addi r4, r4, __vt__Q23efx8TQuriApp@l -/* 80260D30 0025DC70 39 20 00 00 */ li r9, 0 -/* 80260D34 0025DC74 39 00 02 B2 */ li r8, 0x2b2 -/* 80260D38 0025DC78 90 03 00 04 */ stw r0, 4(r3) -/* 80260D3C 0025DC7C 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80260D40 0025DC80 38 A0 01 A1 */ li r5, 0x1a1 -/* 80260D44 0025DC84 38 04 00 14 */ addi r0, r4, 0x14 -/* 80260D48 0025DC88 91 23 00 08 */ stw r9, 8(r3) -/* 80260D4C 0025DC8C B1 03 00 0C */ sth r8, 0xc(r3) -/* 80260D50 0025DC90 99 23 00 0E */ stb r9, 0xe(r3) -/* 80260D54 0025DC94 90 E3 00 00 */ stw r7, 0(r3) -/* 80260D58 0025DC98 90 C3 00 04 */ stw r6, 4(r3) -/* 80260D5C 0025DC9C 91 23 00 10 */ stw r9, 0x10(r3) -/* 80260D60 0025DCA0 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 80260D64 0025DCA4 90 83 00 00 */ stw r4, 0(r3) -/* 80260D68 0025DCA8 90 03 00 04 */ stw r0, 4(r3) -lbl_80260D6C: -/* 80260D6C 0025DCAC 90 7F 02 F4 */ stw r3, 0x2f4(r31) -/* 80260D70 0025DCB0 38 60 00 14 */ li r3, 0x14 -/* 80260D74 0025DCB4 4B DC 31 31 */ bl __nw__FUl -/* 80260D78 0025DCB8 28 03 00 00 */ cmplwi r3, 0 -/* 80260D7C 0025DCBC 41 82 00 78 */ beq lbl_80260DF4 -/* 80260D80 0025DCC0 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80260D84 0025DCC4 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80260D88 0025DCC8 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80260D8C 0025DCCC 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80260D90 0025DCD0 90 03 00 00 */ stw r0, 0(r3) -/* 80260D94 0025DCD4 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80260D98 0025DCD8 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80260D9C 0025DCDC 3C 80 80 4E */ lis r4, __vt__Q23efx10TChaseMtxT@ha -/* 80260DA0 0025DCE0 90 03 00 04 */ stw r0, 4(r3) -/* 80260DA4 0025DCE4 38 E4 68 5C */ addi r7, r4, __vt__Q23efx10TChaseMtxT@l -/* 80260DA8 0025DCE8 3C 80 80 4C */ lis r4, __vt__Q23efx10TQuriDisap@ha -/* 80260DAC 0025DCEC 38 05 00 14 */ addi r0, r5, 0x14 -/* 80260DB0 0025DCF0 90 A3 00 00 */ stw r5, 0(r3) -/* 80260DB4 0025DCF4 38 84 36 64 */ addi r4, r4, __vt__Q23efx10TQuriDisap@l -/* 80260DB8 0025DCF8 39 20 00 00 */ li r9, 0 -/* 80260DBC 0025DCFC 39 00 02 B2 */ li r8, 0x2b2 -/* 80260DC0 0025DD00 90 03 00 04 */ stw r0, 4(r3) -/* 80260DC4 0025DD04 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80260DC8 0025DD08 38 A0 01 A2 */ li r5, 0x1a2 -/* 80260DCC 0025DD0C 38 04 00 14 */ addi r0, r4, 0x14 -/* 80260DD0 0025DD10 91 23 00 08 */ stw r9, 8(r3) -/* 80260DD4 0025DD14 B1 03 00 0C */ sth r8, 0xc(r3) -/* 80260DD8 0025DD18 99 23 00 0E */ stb r9, 0xe(r3) -/* 80260DDC 0025DD1C 90 E3 00 00 */ stw r7, 0(r3) -/* 80260DE0 0025DD20 90 C3 00 04 */ stw r6, 4(r3) -/* 80260DE4 0025DD24 91 23 00 10 */ stw r9, 0x10(r3) -/* 80260DE8 0025DD28 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 80260DEC 0025DD2C 90 83 00 00 */ stw r4, 0(r3) -/* 80260DF0 0025DD30 90 03 00 04 */ stw r0, 4(r3) -lbl_80260DF4: -/* 80260DF4 0025DD34 90 7F 02 F8 */ stw r3, 0x2f8(r31) -/* 80260DF8 0025DD38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260DFC 0025DD3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260E00 0025DD40 7C 08 03 A6 */ mtlr r0 -/* 80260E04 0025DD44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260E08 0025DD48 4E 80 00 20 */ blr - -.global setupEffect__Q34Game7Qurione3ObjFv -setupEffect__Q34Game7Qurione3ObjFv: -/* 80260E0C 0025DD4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260E10 0025DD50 7C 08 02 A6 */ mflr r0 -/* 80260E14 0025DD54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260E18 0025DD58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260E1C 0025DD5C 7C 7F 1B 78 */ mr r31, r3 -/* 80260E20 0025DD60 3C 60 80 48 */ lis r3, lbl_80485760@ha -/* 80260E24 0025DD64 38 83 57 60 */ addi r4, r3, lbl_80485760@l -/* 80260E28 0025DD68 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80260E2C 0025DD6C 48 1D E1 B9 */ bl getJoint__Q28SysShape5ModelFPc -/* 80260E30 0025DD70 48 1C 8A 71 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80260E34 0025DD74 80 9F 02 F0 */ lwz r4, 0x2f0(r31) -/* 80260E38 0025DD78 90 64 00 10 */ stw r3, 0x10(r4) -/* 80260E3C 0025DD7C 80 9F 02 F4 */ lwz r4, 0x2f4(r31) -/* 80260E40 0025DD80 90 64 00 10 */ stw r3, 0x10(r4) -/* 80260E44 0025DD84 80 9F 02 F8 */ lwz r4, 0x2f8(r31) -/* 80260E48 0025DD88 90 64 00 10 */ stw r3, 0x10(r4) -/* 80260E4C 0025DD8C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260E50 0025DD90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260E54 0025DD94 7C 08 03 A6 */ mtlr r0 -/* 80260E58 0025DD98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260E5C 0025DD9C 4E 80 00 20 */ blr - -.global createHitEffect__Q34Game7Qurione3ObjFv -createHitEffect__Q34Game7Qurione3ObjFv: -/* 80260E60 0025DDA0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80260E64 0025DDA4 7C 08 02 A6 */ mflr r0 -/* 80260E68 0025DDA8 3C 80 80 48 */ lis r4, lbl_80485760@ha -/* 80260E6C 0025DDAC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80260E70 0025DDB0 38 84 57 60 */ addi r4, r4, lbl_80485760@l -/* 80260E74 0025DDB4 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80260E78 0025DDB8 48 1D E1 6D */ bl getJoint__Q28SysShape5ModelFPc -/* 80260E7C 0025DDBC 48 1C 8A 25 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80260E80 0025DDC0 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80260E84 0025DDC4 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 80260E88 0025DDC8 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 80260E8C 0025DDCC 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 80260E90 0025DDD0 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80260E94 0025DDD4 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple2@ha -/* 80260E98 0025DDD8 38 03 6A 64 */ addi r0, r3, __vt__Q23efx8TSimple2@l -/* 80260E9C 0025DDDC 38 A0 00 00 */ li r5, 0 -/* 80260EA0 0025DDE0 90 81 00 08 */ stw r4, 8(r1) -/* 80260EA4 0025DDE4 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80260EA8 0025DDE8 3C 60 80 4C */ lis r3, __vt__Q23efx8TQuriHit@ha -/* 80260EAC 0025DDEC 38 E0 01 A4 */ li r7, 0x1a4 -/* 80260EB0 0025DDF0 39 04 A7 EC */ addi r8, r4, __vt__Q23efx3Arg@l -/* 80260EB4 0025DDF4 38 C0 01 A5 */ li r6, 0x1a5 -/* 80260EB8 0025DDF8 90 01 00 08 */ stw r0, 8(r1) -/* 80260EBC 0025DDFC 38 03 36 50 */ addi r0, r3, __vt__Q23efx8TQuriHit@l -/* 80260EC0 0025DE00 38 61 00 08 */ addi r3, r1, 8 -/* 80260EC4 0025DE04 38 81 00 18 */ addi r4, r1, 0x18 -/* 80260EC8 0025DE08 91 01 00 18 */ stw r8, 0x18(r1) -/* 80260ECC 0025DE0C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80260ED0 0025DE10 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80260ED4 0025DE14 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80260ED8 0025DE18 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 80260EDC 0025DE1C B0 C1 00 0E */ sth r6, 0xe(r1) -/* 80260EE0 0025DE20 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80260EE4 0025DE24 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80260EE8 0025DE28 90 01 00 08 */ stw r0, 8(r1) -/* 80260EEC 0025DE2C 48 14 E1 29 */ bl create__Q23efx8TSimple2FPQ23efx3Arg -/* 80260EF0 0025DE30 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80260EF4 0025DE34 7C 08 03 A6 */ mtlr r0 -/* 80260EF8 0025DE38 38 21 00 30 */ addi r1, r1, 0x30 -/* 80260EFC 0025DE3C 4E 80 00 20 */ blr - -.global startGlowEffect__Q34Game7Qurione3ObjFv -startGlowEffect__Q34Game7Qurione3ObjFv: -/* 80260F00 0025DE40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260F04 0025DE44 7C 08 02 A6 */ mflr r0 -/* 80260F08 0025DE48 38 80 00 00 */ li r4, 0 -/* 80260F0C 0025DE4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260F10 0025DE50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80260F14 0025DE54 7C 7F 1B 78 */ mr r31, r3 -/* 80260F18 0025DE58 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 80260F1C 0025DE5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80260F20 0025DE60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80260F24 0025DE64 7D 89 03 A6 */ mtctr r12 -/* 80260F28 0025DE68 4E 80 04 21 */ bctrl -/* 80260F2C 0025DE6C 80 7F 02 F0 */ lwz r3, 0x2f0(r31) -/* 80260F30 0025DE70 C0 22 C9 98 */ lfs f1, lbl_8051ACF8@sda21(r2) -/* 80260F34 0025DE74 48 15 2B 51 */ bl setGlobalScale__Q23efx9TQuriGlowFf -/* 80260F38 0025DE78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260F3C 0025DE7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80260F40 0025DE80 7C 08 03 A6 */ mtlr r0 -/* 80260F44 0025DE84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260F48 0025DE88 4E 80 00 20 */ blr - -.global setGlowEffectScale__Q34Game7Qurione3ObjFv -setGlowEffectScale__Q34Game7Qurione3ObjFv: -/* 80260F4C 0025DE8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260F50 0025DE90 7C 08 02 A6 */ mflr r0 -/* 80260F54 0025DE94 7C 64 1B 78 */ mr r4, r3 -/* 80260F58 0025DE98 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260F5C 0025DE9C 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 80260F60 0025DEA0 C0 24 02 C0 */ lfs f1, 0x2c0(r4) -/* 80260F64 0025DEA4 48 15 2B 21 */ bl setGlobalScale__Q23efx9TQuriGlowFf -/* 80260F68 0025DEA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260F6C 0025DEAC 7C 08 03 A6 */ mtlr r0 -/* 80260F70 0025DEB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260F74 0025DEB4 4E 80 00 20 */ blr - -.global finishGlowEffect__Q34Game7Qurione3ObjFv -finishGlowEffect__Q34Game7Qurione3ObjFv: -/* 80260F78 0025DEB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260F7C 0025DEBC 7C 08 02 A6 */ mflr r0 -/* 80260F80 0025DEC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260F84 0025DEC4 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 80260F88 0025DEC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80260F8C 0025DECC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80260F90 0025DED0 7D 89 03 A6 */ mtctr r12 -/* 80260F94 0025DED4 4E 80 04 21 */ bctrl -/* 80260F98 0025DED8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260F9C 0025DEDC 7C 08 03 A6 */ mtlr r0 -/* 80260FA0 0025DEE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260FA4 0025DEE4 4E 80 00 20 */ blr - -.global createAppearEffect__Q34Game7Qurione3ObjFv -createAppearEffect__Q34Game7Qurione3ObjFv: -/* 80260FA8 0025DEE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260FAC 0025DEEC 7C 08 02 A6 */ mflr r0 -/* 80260FB0 0025DEF0 38 80 00 00 */ li r4, 0 -/* 80260FB4 0025DEF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260FB8 0025DEF8 80 63 02 F4 */ lwz r3, 0x2f4(r3) -/* 80260FBC 0025DEFC 81 83 00 00 */ lwz r12, 0(r3) -/* 80260FC0 0025DF00 81 8C 00 08 */ lwz r12, 8(r12) -/* 80260FC4 0025DF04 7D 89 03 A6 */ mtctr r12 -/* 80260FC8 0025DF08 4E 80 04 21 */ bctrl -/* 80260FCC 0025DF0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80260FD0 0025DF10 7C 08 03 A6 */ mtlr r0 -/* 80260FD4 0025DF14 38 21 00 10 */ addi r1, r1, 0x10 -/* 80260FD8 0025DF18 4E 80 00 20 */ blr - -.global createDisppearEffect__Q34Game7Qurione3ObjFv -createDisppearEffect__Q34Game7Qurione3ObjFv: -/* 80260FDC 0025DF1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80260FE0 0025DF20 7C 08 02 A6 */ mflr r0 -/* 80260FE4 0025DF24 38 80 00 00 */ li r4, 0 -/* 80260FE8 0025DF28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80260FEC 0025DF2C 80 63 02 F8 */ lwz r3, 0x2f8(r3) -/* 80260FF0 0025DF30 81 83 00 00 */ lwz r12, 0(r3) -/* 80260FF4 0025DF34 81 8C 00 08 */ lwz r12, 8(r12) -/* 80260FF8 0025DF38 7D 89 03 A6 */ mtctr r12 -/* 80260FFC 0025DF3C 4E 80 04 21 */ bctrl -/* 80261000 0025DF40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261004 0025DF44 7C 08 03 A6 */ mtlr r0 -/* 80261008 0025DF48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026100C 0025DF4C 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game7Qurione3ObjFv -effectDrawOn__Q34Game7Qurione3ObjFv: -/* 80261010 0025DF50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261014 0025DF54 7C 08 02 A6 */ mflr r0 -/* 80261018 0025DF58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026101C 0025DF5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261020 0025DF60 7C 7F 1B 78 */ mr r31, r3 -/* 80261024 0025DF64 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 80261028 0025DF68 81 83 00 00 */ lwz r12, 0(r3) -/* 8026102C 0025DF6C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80261030 0025DF70 7D 89 03 A6 */ mtctr r12 -/* 80261034 0025DF74 4E 80 04 21 */ bctrl -/* 80261038 0025DF78 80 7F 02 F4 */ lwz r3, 0x2f4(r31) -/* 8026103C 0025DF7C 81 83 00 00 */ lwz r12, 0(r3) -/* 80261040 0025DF80 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80261044 0025DF84 7D 89 03 A6 */ mtctr r12 -/* 80261048 0025DF88 4E 80 04 21 */ bctrl -/* 8026104C 0025DF8C 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 80261050 0025DF90 81 83 00 00 */ lwz r12, 0(r3) -/* 80261054 0025DF94 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80261058 0025DF98 7D 89 03 A6 */ mtctr r12 -/* 8026105C 0025DF9C 4E 80 04 21 */ bctrl -/* 80261060 0025DFA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261064 0025DFA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261068 0025DFA8 7C 08 03 A6 */ mtlr r0 -/* 8026106C 0025DFAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261070 0025DFB0 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game7Qurione3ObjFv -effectDrawOff__Q34Game7Qurione3ObjFv: -/* 80261074 0025DFB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261078 0025DFB8 7C 08 02 A6 */ mflr r0 -/* 8026107C 0025DFBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261080 0025DFC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261084 0025DFC4 7C 7F 1B 78 */ mr r31, r3 -/* 80261088 0025DFC8 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 8026108C 0025DFCC 81 83 00 00 */ lwz r12, 0(r3) -/* 80261090 0025DFD0 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80261094 0025DFD4 7D 89 03 A6 */ mtctr r12 -/* 80261098 0025DFD8 4E 80 04 21 */ bctrl -/* 8026109C 0025DFDC 80 7F 02 F4 */ lwz r3, 0x2f4(r31) -/* 802610A0 0025DFE0 81 83 00 00 */ lwz r12, 0(r3) -/* 802610A4 0025DFE4 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802610A8 0025DFE8 7D 89 03 A6 */ mtctr r12 -/* 802610AC 0025DFEC 4E 80 04 21 */ bctrl -/* 802610B0 0025DFF0 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 802610B4 0025DFF4 81 83 00 00 */ lwz r12, 0(r3) -/* 802610B8 0025DFF8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802610BC 0025DFFC 7D 89 03 A6 */ mtctr r12 -/* 802610C0 0025E000 4E 80 04 21 */ bctrl -/* 802610C4 0025E004 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802610C8 0025E008 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802610CC 0025E00C 7C 08 03 A6 */ mtlr r0 -/* 802610D0 0025E010 38 21 00 10 */ addi r1, r1, 0x10 -/* 802610D4 0025E014 4E 80 00 20 */ blr - -.global __dt__Q23efx10TQuriDisapFv -__dt__Q23efx10TQuriDisapFv: -/* 802610D8 0025E018 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802610DC 0025E01C 7C 08 02 A6 */ mflr r0 -/* 802610E0 0025E020 90 01 00 14 */ stw r0, 0x14(r1) -/* 802610E4 0025E024 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802610E8 0025E028 7C 9F 23 78 */ mr r31, r4 -/* 802610EC 0025E02C 93 C1 00 08 */ stw r30, 8(r1) -/* 802610F0 0025E030 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802610F4 0025E034 41 82 00 64 */ beq lbl_80261158 -/* 802610F8 0025E038 3C 60 80 4C */ lis r3, __vt__Q23efx10TQuriDisap@ha -/* 802610FC 0025E03C 38 63 36 64 */ addi r3, r3, __vt__Q23efx10TQuriDisap@l -/* 80261100 0025E040 90 7E 00 00 */ stw r3, 0(r30) -/* 80261104 0025E044 38 03 00 14 */ addi r0, r3, 0x14 -/* 80261108 0025E048 90 1E 00 04 */ stw r0, 4(r30) -/* 8026110C 0025E04C 41 82 00 3C */ beq lbl_80261148 -/* 80261110 0025E050 3C 60 80 4E */ lis r3, __vt__Q23efx10TChaseMtxT@ha -/* 80261114 0025E054 38 63 68 5C */ addi r3, r3, __vt__Q23efx10TChaseMtxT@l -/* 80261118 0025E058 90 7E 00 00 */ stw r3, 0(r30) -/* 8026111C 0025E05C 38 03 00 14 */ addi r0, r3, 0x14 -/* 80261120 0025E060 90 1E 00 04 */ stw r0, 4(r30) -/* 80261124 0025E064 41 82 00 24 */ beq lbl_80261148 -/* 80261128 0025E068 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8026112C 0025E06C 38 7E 00 04 */ addi r3, r30, 4 -/* 80261130 0025E070 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80261134 0025E074 38 80 00 00 */ li r4, 0 -/* 80261138 0025E078 90 BE 00 00 */ stw r5, 0(r30) -/* 8026113C 0025E07C 38 05 00 14 */ addi r0, r5, 0x14 -/* 80261140 0025E080 90 1E 00 04 */ stw r0, 4(r30) -/* 80261144 0025E084 4B E2 EB 59 */ bl __dt__18JPAEmitterCallBackFv -lbl_80261148: -/* 80261148 0025E088 7F E0 07 35 */ extsh. r0, r31 -/* 8026114C 0025E08C 40 81 00 0C */ ble lbl_80261158 -/* 80261150 0025E090 7F C3 F3 78 */ mr r3, r30 -/* 80261154 0025E094 4B DC 2F 61 */ bl __dl__FPv -lbl_80261158: -/* 80261158 0025E098 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026115C 0025E09C 7F C3 F3 78 */ mr r3, r30 -/* 80261160 0025E0A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261164 0025E0A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80261168 0025E0A8 7C 08 03 A6 */ mtlr r0 -/* 8026116C 0025E0AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261170 0025E0B0 4E 80 00 20 */ blr - -.global __dt__Q23efx8TQuriAppFv -__dt__Q23efx8TQuriAppFv: -/* 80261174 0025E0B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261178 0025E0B8 7C 08 02 A6 */ mflr r0 -/* 8026117C 0025E0BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261180 0025E0C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261184 0025E0C4 7C 9F 23 78 */ mr r31, r4 -/* 80261188 0025E0C8 93 C1 00 08 */ stw r30, 8(r1) -/* 8026118C 0025E0CC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80261190 0025E0D0 41 82 00 64 */ beq lbl_802611F4 -/* 80261194 0025E0D4 3C 60 80 4C */ lis r3, __vt__Q23efx8TQuriApp@ha -/* 80261198 0025E0D8 38 63 36 B0 */ addi r3, r3, __vt__Q23efx8TQuriApp@l -/* 8026119C 0025E0DC 90 7E 00 00 */ stw r3, 0(r30) -/* 802611A0 0025E0E0 38 03 00 14 */ addi r0, r3, 0x14 -/* 802611A4 0025E0E4 90 1E 00 04 */ stw r0, 4(r30) -/* 802611A8 0025E0E8 41 82 00 3C */ beq lbl_802611E4 -/* 802611AC 0025E0EC 3C 60 80 4E */ lis r3, __vt__Q23efx10TChaseMtxT@ha -/* 802611B0 0025E0F0 38 63 68 5C */ addi r3, r3, __vt__Q23efx10TChaseMtxT@l -/* 802611B4 0025E0F4 90 7E 00 00 */ stw r3, 0(r30) -/* 802611B8 0025E0F8 38 03 00 14 */ addi r0, r3, 0x14 -/* 802611BC 0025E0FC 90 1E 00 04 */ stw r0, 4(r30) -/* 802611C0 0025E100 41 82 00 24 */ beq lbl_802611E4 -/* 802611C4 0025E104 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 802611C8 0025E108 38 7E 00 04 */ addi r3, r30, 4 -/* 802611CC 0025E10C 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 802611D0 0025E110 38 80 00 00 */ li r4, 0 -/* 802611D4 0025E114 90 BE 00 00 */ stw r5, 0(r30) -/* 802611D8 0025E118 38 05 00 14 */ addi r0, r5, 0x14 -/* 802611DC 0025E11C 90 1E 00 04 */ stw r0, 4(r30) -/* 802611E0 0025E120 4B E2 EA BD */ bl __dt__18JPAEmitterCallBackFv -lbl_802611E4: -/* 802611E4 0025E124 7F E0 07 35 */ extsh. r0, r31 -/* 802611E8 0025E128 40 81 00 0C */ ble lbl_802611F4 -/* 802611EC 0025E12C 7F C3 F3 78 */ mr r3, r30 -/* 802611F0 0025E130 4B DC 2E C5 */ bl __dl__FPv -lbl_802611F4: -/* 802611F4 0025E134 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802611F8 0025E138 7F C3 F3 78 */ mr r3, r30 -/* 802611FC 0025E13C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261200 0025E140 83 C1 00 08 */ lwz r30, 8(r1) -/* 80261204 0025E144 7C 08 03 A6 */ mtlr r0 -/* 80261208 0025E148 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026120C 0025E14C 4E 80 00 20 */ blr - -.global __dt__Q23efx9TQuriGlowFv -__dt__Q23efx9TQuriGlowFv: -/* 80261210 0025E150 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261214 0025E154 7C 08 02 A6 */ mflr r0 -/* 80261218 0025E158 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026121C 0025E15C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261220 0025E160 7C 9F 23 78 */ mr r31, r4 -/* 80261224 0025E164 93 C1 00 08 */ stw r30, 8(r1) -/* 80261228 0025E168 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026122C 0025E16C 41 82 00 64 */ beq lbl_80261290 -/* 80261230 0025E170 3C 60 80 4C */ lis r3, __vt__Q23efx9TQuriGlow@ha -/* 80261234 0025E174 38 63 36 FC */ addi r3, r3, __vt__Q23efx9TQuriGlow@l -/* 80261238 0025E178 90 7E 00 00 */ stw r3, 0(r30) -/* 8026123C 0025E17C 38 03 00 14 */ addi r0, r3, 0x14 -/* 80261240 0025E180 90 1E 00 04 */ stw r0, 4(r30) -/* 80261244 0025E184 41 82 00 3C */ beq lbl_80261280 -/* 80261248 0025E188 3C 60 80 4E */ lis r3, __vt__Q23efx10TChaseMtxT@ha -/* 8026124C 0025E18C 38 63 68 5C */ addi r3, r3, __vt__Q23efx10TChaseMtxT@l -/* 80261250 0025E190 90 7E 00 00 */ stw r3, 0(r30) -/* 80261254 0025E194 38 03 00 14 */ addi r0, r3, 0x14 -/* 80261258 0025E198 90 1E 00 04 */ stw r0, 4(r30) -/* 8026125C 0025E19C 41 82 00 24 */ beq lbl_80261280 -/* 80261260 0025E1A0 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80261264 0025E1A4 38 7E 00 04 */ addi r3, r30, 4 -/* 80261268 0025E1A8 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8026126C 0025E1AC 38 80 00 00 */ li r4, 0 -/* 80261270 0025E1B0 90 BE 00 00 */ stw r5, 0(r30) -/* 80261274 0025E1B4 38 05 00 14 */ addi r0, r5, 0x14 -/* 80261278 0025E1B8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026127C 0025E1BC 4B E2 EA 21 */ bl __dt__18JPAEmitterCallBackFv -lbl_80261280: -/* 80261280 0025E1C0 7F E0 07 35 */ extsh. r0, r31 -/* 80261284 0025E1C4 40 81 00 0C */ ble lbl_80261290 -/* 80261288 0025E1C8 7F C3 F3 78 */ mr r3, r30 -/* 8026128C 0025E1CC 4B DC 2E 29 */ bl __dl__FPv -lbl_80261290: -/* 80261290 0025E1D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261294 0025E1D4 7F C3 F3 78 */ mr r3, r30 -/* 80261298 0025E1D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026129C 0025E1DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802612A0 0025E1E0 7C 08 03 A6 */ mtlr r0 -/* 802612A4 0025E1E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802612A8 0025E1E8 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game7Qurione3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game7Qurione3ObjFPQ24Game8WaterBox: -/* 802612AC 0025E1EC 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game7Qurione3ObjFv -outWaterCallback__Q34Game7Qurione3ObjFv: -/* 802612B0 0025E1F0 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7Qurione3ObjFv -getEnemyTypeID__Q34Game7Qurione3ObjFv: -/* 802612B4 0025E1F4 38 60 00 10 */ li r3, 0x10 -/* 802612B8 0025E1F8 4E 80 00 20 */ blr - -.global $$2764$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2764$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 802612BC 0025E1FC 39 60 00 0C */ li r11, 0xc -/* 802612C0 0025E200 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802612C4 0025E204 7C 63 5A 14 */ add r3, r3, r11 -/* 802612C8 0025E208 38 63 FD 04 */ addi r3, r3, -764 -/* 802612CC 0025E20C 4B EA 56 50 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2764$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2764$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 802612D0 0025E210 39 60 00 0C */ li r11, 0xc -/* 802612D4 0025E214 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802612D8 0025E218 7C 63 5A 14 */ add r3, r3, r11 -/* 802612DC 0025E21C 38 63 FD 04 */ addi r3, r3, -764 -/* 802612E0 0025E220 4B EA 53 C8 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2764$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2764$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 802612E4 0025E224 39 60 00 0C */ li r11, 0xc -/* 802612E8 0025E228 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802612EC 0025E22C 7C 63 5A 14 */ add r3, r3, r11 -/* 802612F0 0025E230 38 63 FD 04 */ addi r3, r3, -764 -/* 802612F4 0025E234 4B EA 53 D4 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2764$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2764$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 802612F8 0025E238 39 60 00 0C */ li r11, 0xc -/* 802612FC 0025E23C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80261300 0025E240 7C 63 5A 14 */ add r3, r3, r11 -/* 80261304 0025E244 38 63 FD 04 */ addi r3, r3, -764 -/* 80261308 0025E248 4B EA 57 70 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2764$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2764$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 8026130C 0025E24C 39 60 00 0C */ li r11, 0xc -/* 80261310 0025E250 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80261314 0025E254 7C 63 5A 14 */ add r3, r3, r11 -/* 80261318 0025E258 38 63 FD 04 */ addi r3, r3, -764 -/* 8026131C 0025E25C 4B EA 57 30 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2764$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2764$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 80261320 0025E260 39 60 00 0C */ li r11, 0xc -/* 80261324 0025E264 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80261328 0025E268 7C 63 5A 14 */ add r3, r3, r11 -/* 8026132C 0025E26C 38 63 FD 04 */ addi r3, r3, -764 -/* 80261330 0025E270 4B EA 53 70 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2__dt__Q23efx9TQuriGlowFv -$$24$$2__dt__Q23efx9TQuriGlowFv: -/* 80261334 0025E274 38 63 FF FC */ addi r3, r3, -4 -/* 80261338 0025E278 4B FF FE D8 */ b __dt__Q23efx9TQuriGlowFv - -.global $$24$$2__dt__Q23efx8TQuriAppFv -$$24$$2__dt__Q23efx8TQuriAppFv: -/* 8026133C 0025E27C 38 63 FF FC */ addi r3, r3, -4 -/* 80261340 0025E280 4B FF FE 34 */ b __dt__Q23efx8TQuriAppFv - -.global $$24$$2__dt__Q23efx10TQuriDisapFv -$$24$$2__dt__Q23efx10TQuriDisapFv: -/* 80261344 0025E284 38 63 FF FC */ addi r3, r3, -4 -/* 80261348 0025E288 4B FF FD 90 */ b __dt__Q23efx10TQuriDisapFv - -.global setAnimMgr__Q34Game7Qurione14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game7Qurione14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8026134C 0025E28C 90 83 00 20 */ stw r4, 0x20(r3) -/* 80261350 0025E290 4E 80 00 20 */ blr - -.global getAnimator__Q34Game7Qurione14ProperAnimatorFi -getAnimator__Q34Game7Qurione14ProperAnimatorFi: -/* 80261354 0025E294 38 63 00 10 */ addi r3, r3, 0x10 -/* 80261358 0025E298 4E 80 00 20 */ blr - -.global __dt__Q34Game7Qurione14ProperAnimatorFv -__dt__Q34Game7Qurione14ProperAnimatorFv: -/* 8026135C 0025E29C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261360 0025E2A0 7C 08 02 A6 */ mflr r0 -/* 80261364 0025E2A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261368 0025E2A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026136C 0025E2AC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80261370 0025E2B0 41 82 00 30 */ beq lbl_802613A0 -/* 80261374 0025E2B4 3C 60 80 4C */ lis r3, __vt__Q34Game7Qurione14ProperAnimator@ha -/* 80261378 0025E2B8 38 03 3A 78 */ addi r0, r3, __vt__Q34Game7Qurione14ProperAnimator@l -/* 8026137C 0025E2BC 90 1F 00 00 */ stw r0, 0(r31) -/* 80261380 0025E2C0 41 82 00 10 */ beq lbl_80261390 -/* 80261384 0025E2C4 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 80261388 0025E2C8 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 8026138C 0025E2CC 90 1F 00 00 */ stw r0, 0(r31) -lbl_80261390: -/* 80261390 0025E2D0 7C 80 07 35 */ extsh. r0, r4 -/* 80261394 0025E2D4 40 81 00 0C */ ble lbl_802613A0 -/* 80261398 0025E2D8 7F E3 FB 78 */ mr r3, r31 -/* 8026139C 0025E2DC 4B DC 2D 19 */ bl __dl__FPv -lbl_802613A0: -/* 802613A0 0025E2E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802613A4 0025E2E4 7F E3 FB 78 */ mr r3, r31 -/* 802613A8 0025E2E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802613AC 0025E2EC 7C 08 03 A6 */ mtlr r0 -/* 802613B0 0025E2F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802613B4 0025E2F4 4E 80 00 20 */ blr - -.global getAnimator__Q34Game7Qurione14ProperAnimatorFv -getAnimator__Q34Game7Qurione14ProperAnimatorFv: -/* 802613B8 0025E2F8 38 63 00 10 */ addi r3, r3, 0x10 -/* 802613BC 0025E2FC 4E 80 00 20 */ blr - -.global __ct__Q24Game10RumbleDataFv -__ct__Q24Game10RumbleDataFv: -/* 802613C0 0025E300 38 00 00 00 */ li r0, 0 -/* 802613C4 0025E304 90 03 00 00 */ stw r0, 0(r3) -/* 802613C8 0025E308 4E 80 00 20 */ blr - -.global __ct__Q24Game13RumbleDataMgrFv -__ct__Q24Game13RumbleDataMgrFv: -/* 802613CC 0025E30C 38 00 00 00 */ li r0, 0 -/* 802613D0 0025E310 90 03 00 00 */ stw r0, 0(r3) -/* 802613D4 0025E314 4E 80 00 20 */ blr - -.global getRumbleData__Q24Game13RumbleDataMgrFi -getRumbleData__Q24Game13RumbleDataMgrFi: -/* 802613D8 0025E318 2C 04 00 00 */ cmpwi r4, 0 -/* 802613DC 0025E31C 41 80 00 20 */ blt lbl_802613FC -/* 802613E0 0025E320 80 03 00 00 */ lwz r0, 0(r3) -/* 802613E4 0025E324 7C 04 00 00 */ cmpw r4, r0 -/* 802613E8 0025E328 40 80 00 14 */ bge lbl_802613FC -/* 802613EC 0025E32C 1C 04 00 0C */ mulli r0, r4, 0xc -/* 802613F0 0025E330 80 63 00 04 */ lwz r3, 4(r3) -/* 802613F4 0025E334 7C 63 02 14 */ add r3, r3, r0 -/* 802613F8 0025E338 4E 80 00 20 */ blr -lbl_802613FC: -/* 802613FC 0025E33C 38 60 00 00 */ li r3, 0 -/* 80261400 0025E340 4E 80 00 20 */ blr - -.global read__Q24Game13RumbleDataMgrFR6Stream -read__Q24Game13RumbleDataMgrFR6Stream: -/* 80261404 0025E344 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80261408 0025E348 7C 08 02 A6 */ mflr r0 -/* 8026140C 0025E34C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80261410 0025E350 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80261414 0025E354 7C 9F 23 78 */ mr r31, r4 -/* 80261418 0025E358 7C 7E 1B 78 */ mr r30, r3 -/* 8026141C 0025E35C 7F E3 FB 78 */ mr r3, r31 -/* 80261420 0025E360 48 1B 36 71 */ bl readInt__6StreamFv -/* 80261424 0025E364 90 7E 00 00 */ stw r3, 0(r30) -/* 80261428 0025E368 83 5E 00 00 */ lwz r26, 0(r30) -/* 8026142C 0025E36C 2C 1A 00 00 */ cmpwi r26, 0 -/* 80261430 0025E370 41 82 00 E8 */ beq lbl_80261518 -/* 80261434 0025E374 1C 7A 00 0C */ mulli r3, r26, 0xc -/* 80261438 0025E378 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026143C 0025E37C 4B DC 2B 71 */ bl __nwa__FUl -/* 80261440 0025E380 3C 80 80 26 */ lis r4, __ct__Q24Game10RumbleDataFv@ha -/* 80261444 0025E384 7F 47 D3 78 */ mr r7, r26 -/* 80261448 0025E388 38 84 13 C0 */ addi r4, r4, __ct__Q24Game10RumbleDataFv@l -/* 8026144C 0025E38C 38 A0 00 00 */ li r5, 0 -/* 80261450 0025E390 38 C0 00 0C */ li r6, 0xc -/* 80261454 0025E394 4B E6 05 9D */ bl __construct_new_array -/* 80261458 0025E398 90 7E 00 04 */ stw r3, 4(r30) -/* 8026145C 0025E39C 3B 20 00 00 */ li r25, 0 -/* 80261460 0025E3A0 3B 40 00 00 */ li r26, 0 -/* 80261464 0025E3A4 48 00 00 A8 */ b lbl_8026150C -lbl_80261468: -/* 80261468 0025E3A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8026146C 0025E3AC 7F E3 FB 78 */ mr r3, r31 -/* 80261470 0025E3B0 7F 80 D2 14 */ add r28, r0, r26 -/* 80261474 0025E3B4 48 1B 36 1D */ bl readInt__6StreamFv -/* 80261478 0025E3B8 90 7C 00 00 */ stw r3, 0(r28) -/* 8026147C 0025E3BC 80 1C 00 00 */ lwz r0, 0(r28) -/* 80261480 0025E3C0 2C 00 00 00 */ cmpwi r0, 0 -/* 80261484 0025E3C4 40 81 00 80 */ ble lbl_80261504 -/* 80261488 0025E3C8 54 03 10 3A */ slwi r3, r0, 2 -/* 8026148C 0025E3CC 4B DC 2B 21 */ bl __nwa__FUl -/* 80261490 0025E3D0 90 7C 00 04 */ stw r3, 4(r28) -/* 80261494 0025E3D4 80 1C 00 00 */ lwz r0, 0(r28) -/* 80261498 0025E3D8 54 03 10 3A */ slwi r3, r0, 2 -/* 8026149C 0025E3DC 4B DC 2B 11 */ bl __nwa__FUl -/* 802614A0 0025E3E0 3B A0 00 00 */ li r29, 0 -/* 802614A4 0025E3E4 90 7C 00 08 */ stw r3, 8(r28) -/* 802614A8 0025E3E8 7F BB EB 78 */ mr r27, r29 -/* 802614AC 0025E3EC 48 00 00 1C */ b lbl_802614C8 -lbl_802614B0: -/* 802614B0 0025E3F0 7F E3 FB 78 */ mr r3, r31 -/* 802614B4 0025E3F4 48 1B 38 F9 */ bl readFloat__6StreamFv -/* 802614B8 0025E3F8 80 7C 00 04 */ lwz r3, 4(r28) -/* 802614BC 0025E3FC 3B BD 00 01 */ addi r29, r29, 1 -/* 802614C0 0025E400 7C 23 DD 2E */ stfsx f1, r3, r27 -/* 802614C4 0025E404 3B 7B 00 04 */ addi r27, r27, 4 -lbl_802614C8: -/* 802614C8 0025E408 80 1C 00 00 */ lwz r0, 0(r28) -/* 802614CC 0025E40C 7C 1D 00 00 */ cmpw r29, r0 -/* 802614D0 0025E410 41 80 FF E0 */ blt lbl_802614B0 -/* 802614D4 0025E414 3B A0 00 00 */ li r29, 0 -/* 802614D8 0025E418 7F BB EB 78 */ mr r27, r29 -/* 802614DC 0025E41C 48 00 00 1C */ b lbl_802614F8 -lbl_802614E0: -/* 802614E0 0025E420 7F E3 FB 78 */ mr r3, r31 -/* 802614E4 0025E424 48 1B 38 C9 */ bl readFloat__6StreamFv -/* 802614E8 0025E428 80 7C 00 08 */ lwz r3, 8(r28) -/* 802614EC 0025E42C 3B BD 00 01 */ addi r29, r29, 1 -/* 802614F0 0025E430 7C 23 DD 2E */ stfsx f1, r3, r27 -/* 802614F4 0025E434 3B 7B 00 04 */ addi r27, r27, 4 -lbl_802614F8: -/* 802614F8 0025E438 80 1C 00 00 */ lwz r0, 0(r28) -/* 802614FC 0025E43C 7C 1D 00 00 */ cmpw r29, r0 -/* 80261500 0025E440 41 80 FF E0 */ blt lbl_802614E0 -lbl_80261504: -/* 80261504 0025E444 3B 5A 00 0C */ addi r26, r26, 0xc -/* 80261508 0025E448 3B 39 00 01 */ addi r25, r25, 1 -lbl_8026150C: -/* 8026150C 0025E44C 80 1E 00 00 */ lwz r0, 0(r30) -/* 80261510 0025E450 7C 19 00 00 */ cmpw r25, r0 -/* 80261514 0025E454 41 80 FF 54 */ blt lbl_80261468 -lbl_80261518: -/* 80261518 0025E458 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8026151C 0025E45C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80261520 0025E460 7C 08 03 A6 */ mtlr r0 -/* 80261524 0025E464 38 21 00 30 */ addi r1, r1, 0x30 -/* 80261528 0025E468 4E 80 00 20 */ blr - -.global __ct__Q34Game8MaroFrog3MgrFiUc -__ct__Q34Game8MaroFrog3MgrFiUc: -/* 8026152C 0025E46C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261530 0025E470 7C 08 02 A6 */ mflr r0 -/* 80261534 0025E474 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261538 0025E478 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026153C 0025E47C 7C 7F 1B 78 */ mr r31, r3 -/* 80261540 0025E480 4B EC D7 55 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80261544 0025E484 3C 60 80 4C */ lis r3, __vt__Q34Game8MaroFrog3Mgr@ha -/* 80261548 0025E488 3C 80 80 48 */ lis r4, lbl_80485770@ha -/* 8026154C 0025E48C 38 A3 3A A0 */ addi r5, r3, __vt__Q34Game8MaroFrog3Mgr@l -/* 80261550 0025E490 7F E3 FB 78 */ mr r3, r31 -/* 80261554 0025E494 90 BF 00 00 */ stw r5, 0(r31) -/* 80261558 0025E498 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8026155C 0025E49C 38 04 57 70 */ addi r0, r4, lbl_80485770@l -/* 80261560 0025E4A0 90 BF 00 04 */ stw r5, 4(r31) -/* 80261564 0025E4A4 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80261568 0025E4A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026156C 0025E4AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261570 0025E4B0 7C 08 03 A6 */ mtlr r0 -/* 80261574 0025E4B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261578 0025E4B8 4E 80 00 20 */ blr - -.global doAlloc__Q34Game8MaroFrog3MgrFv -doAlloc__Q34Game8MaroFrog3MgrFv: -/* 8026157C 0025E4BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261580 0025E4C0 7C 08 02 A6 */ mflr r0 -/* 80261584 0025E4C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261588 0025E4C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026158C 0025E4CC 7C 7F 1B 78 */ mr r31, r3 -/* 80261590 0025E4D0 38 60 08 A8 */ li r3, 0x8a8 -/* 80261594 0025E4D4 4B DC 29 11 */ bl __nw__FUl -/* 80261598 0025E4D8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026159C 0025E4DC 41 82 00 0C */ beq lbl_802615A8 -/* 802615A0 0025E4E0 4B FF 6C 19 */ bl __ct__Q34Game4Frog5ParmsFv -/* 802615A4 0025E4E4 7C 64 1B 78 */ mr r4, r3 -lbl_802615A8: -/* 802615A8 0025E4E8 7F E3 FB 78 */ mr r3, r31 -/* 802615AC 0025E4EC 4B EC E2 F1 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 802615B0 0025E4F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802615B4 0025E4F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802615B8 0025E4F8 7C 08 03 A6 */ mtlr r0 -/* 802615BC 0025E4FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802615C0 0025E500 4E 80 00 20 */ blr - -.global createObj__Q34Game8MaroFrog3MgrFi -createObj__Q34Game8MaroFrog3MgrFi: -/* 802615C4 0025E504 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802615C8 0025E508 7C 08 02 A6 */ mflr r0 -/* 802615CC 0025E50C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802615D0 0025E510 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802615D4 0025E514 7C 9F 23 78 */ mr r31, r4 -/* 802615D8 0025E518 93 C1 00 08 */ stw r30, 8(r1) -/* 802615DC 0025E51C 7C 7E 1B 78 */ mr r30, r3 -/* 802615E0 0025E520 1C 7F 02 F0 */ mulli r3, r31, 0x2f0 -/* 802615E4 0025E524 38 63 00 10 */ addi r3, r3, 0x10 -/* 802615E8 0025E528 4B DC 29 C5 */ bl __nwa__FUl -/* 802615EC 0025E52C 3C 80 80 26 */ lis r4, __ct__Q34Game8MaroFrog3ObjFv@ha -/* 802615F0 0025E530 3C A0 80 26 */ lis r5, __dt__Q34Game8MaroFrog3ObjFv@ha -/* 802615F4 0025E534 38 84 17 E0 */ addi r4, r4, __ct__Q34Game8MaroFrog3ObjFv@l -/* 802615F8 0025E538 7F E7 FB 78 */ mr r7, r31 -/* 802615FC 0025E53C 38 A5 16 24 */ addi r5, r5, __dt__Q34Game8MaroFrog3ObjFv@l -/* 80261600 0025E540 38 C0 02 F0 */ li r6, 0x2f0 -/* 80261604 0025E544 4B E6 03 ED */ bl __construct_new_array -/* 80261608 0025E548 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8026160C 0025E54C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261610 0025E550 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261614 0025E554 83 C1 00 08 */ lwz r30, 8(r1) -/* 80261618 0025E558 7C 08 03 A6 */ mtlr r0 -/* 8026161C 0025E55C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261620 0025E560 4E 80 00 20 */ blr - -.global __dt__Q34Game8MaroFrog3ObjFv -__dt__Q34Game8MaroFrog3ObjFv: -/* 80261624 0025E564 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261628 0025E568 7C 08 02 A6 */ mflr r0 -/* 8026162C 0025E56C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261630 0025E570 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261634 0025E574 7C 9F 23 78 */ mr r31, r4 -/* 80261638 0025E578 93 C1 00 08 */ stw r30, 8(r1) -/* 8026163C 0025E57C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80261640 0025E580 41 82 00 B4 */ beq lbl_802616F4 -/* 80261644 0025E584 3C 60 80 4C */ lis r3, __vt__Q34Game8MaroFrog3Obj@ha -/* 80261648 0025E588 38 BE 02 E0 */ addi r5, r30, 0x2e0 -/* 8026164C 0025E58C 38 83 3B 80 */ addi r4, r3, __vt__Q34Game8MaroFrog3Obj@l -/* 80261650 0025E590 90 9E 00 00 */ stw r4, 0(r30) -/* 80261654 0025E594 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80261658 0025E598 38 04 03 04 */ addi r0, r4, 0x304 -/* 8026165C 0025E59C 90 7E 01 78 */ stw r3, 0x178(r30) -/* 80261660 0025E5A0 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80261664 0025E5A4 90 03 00 00 */ stw r0, 0(r3) -/* 80261668 0025E5A8 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8026166C 0025E5AC 7C 03 28 50 */ subf r0, r3, r5 -/* 80261670 0025E5B0 90 03 00 0C */ stw r0, 0xc(r3) -/* 80261674 0025E5B4 41 82 00 70 */ beq lbl_802616E4 -/* 80261678 0025E5B8 3C 60 80 4C */ lis r3, __vt__Q34Game4Frog3Obj@ha -/* 8026167C 0025E5BC 38 83 24 D0 */ addi r4, r3, __vt__Q34Game4Frog3Obj@l -/* 80261680 0025E5C0 90 9E 00 00 */ stw r4, 0(r30) -/* 80261684 0025E5C4 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80261688 0025E5C8 38 04 03 04 */ addi r0, r4, 0x304 -/* 8026168C 0025E5CC 90 7E 01 78 */ stw r3, 0x178(r30) -/* 80261690 0025E5D0 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80261694 0025E5D4 90 03 00 00 */ stw r0, 0(r3) -/* 80261698 0025E5D8 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8026169C 0025E5DC 7C 03 28 50 */ subf r0, r3, r5 -/* 802616A0 0025E5E0 90 03 00 0C */ stw r0, 0xc(r3) -/* 802616A4 0025E5E4 41 82 00 40 */ beq lbl_802616E4 -/* 802616A8 0025E5E8 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 802616AC 0025E5EC 38 1E 02 BC */ addi r0, r30, 0x2bc -/* 802616B0 0025E5F0 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 802616B4 0025E5F4 38 7E 02 90 */ addi r3, r30, 0x290 -/* 802616B8 0025E5F8 90 9E 00 00 */ stw r4, 0(r30) -/* 802616BC 0025E5FC 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 802616C0 0025E600 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 802616C4 0025E604 38 80 FF FF */ li r4, -1 -/* 802616C8 0025E608 90 BE 01 78 */ stw r5, 0x178(r30) -/* 802616CC 0025E60C 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 802616D0 0025E610 90 C5 00 00 */ stw r6, 0(r5) -/* 802616D4 0025E614 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 802616D8 0025E618 7C 05 00 50 */ subf r0, r5, r0 -/* 802616DC 0025E61C 90 05 00 0C */ stw r0, 0xc(r5) -/* 802616E0 0025E620 48 1A FE A9 */ bl __dt__5CNodeFv -lbl_802616E4: -/* 802616E4 0025E624 7F E0 07 35 */ extsh. r0, r31 -/* 802616E8 0025E628 40 81 00 0C */ ble lbl_802616F4 -/* 802616EC 0025E62C 7F C3 F3 78 */ mr r3, r30 -/* 802616F0 0025E630 4B DC 29 C5 */ bl __dl__FPv -lbl_802616F4: -/* 802616F4 0025E634 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802616F8 0025E638 7F C3 F3 78 */ mr r3, r30 -/* 802616FC 0025E63C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261700 0025E640 83 C1 00 08 */ lwz r30, 8(r1) -/* 80261704 0025E644 7C 08 03 A6 */ mtlr r0 -/* 80261708 0025E648 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026170C 0025E64C 4E 80 00 20 */ blr - -.global getEnemy__Q34Game8MaroFrog3MgrFi -getEnemy__Q34Game8MaroFrog3MgrFi: -/* 80261710 0025E650 1C 04 02 F0 */ mulli r0, r4, 0x2f0 -/* 80261714 0025E654 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80261718 0025E658 7C 63 02 14 */ add r3, r3, r0 -/* 8026171C 0025E65C 4E 80 00 20 */ blr - -.global __dt__Q34Game8MaroFrog3MgrFv -__dt__Q34Game8MaroFrog3MgrFv: -/* 80261720 0025E660 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261724 0025E664 7C 08 02 A6 */ mflr r0 -/* 80261728 0025E668 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026172C 0025E66C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261730 0025E670 7C 9F 23 78 */ mr r31, r4 -/* 80261734 0025E674 93 C1 00 08 */ stw r30, 8(r1) -/* 80261738 0025E678 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026173C 0025E67C 41 82 00 78 */ beq lbl_802617B4 -/* 80261740 0025E680 3C 60 80 4C */ lis r3, __vt__Q34Game8MaroFrog3Mgr@ha -/* 80261744 0025E684 38 63 3A A0 */ addi r3, r3, __vt__Q34Game8MaroFrog3Mgr@l -/* 80261748 0025E688 90 7E 00 00 */ stw r3, 0(r30) -/* 8026174C 0025E68C 38 03 00 38 */ addi r0, r3, 0x38 -/* 80261750 0025E690 90 1E 00 04 */ stw r0, 4(r30) -/* 80261754 0025E694 41 82 00 50 */ beq lbl_802617A4 -/* 80261758 0025E698 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8026175C 0025E69C 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80261760 0025E6A0 90 7E 00 00 */ stw r3, 0(r30) -/* 80261764 0025E6A4 38 03 00 38 */ addi r0, r3, 0x38 -/* 80261768 0025E6A8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026176C 0025E6AC 41 82 00 38 */ beq lbl_802617A4 -/* 80261770 0025E6B0 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80261774 0025E6B4 34 1E 00 04 */ addic. r0, r30, 4 -/* 80261778 0025E6B8 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8026177C 0025E6BC 90 7E 00 00 */ stw r3, 0(r30) -/* 80261780 0025E6C0 38 03 00 38 */ addi r0, r3, 0x38 -/* 80261784 0025E6C4 90 1E 00 04 */ stw r0, 4(r30) -/* 80261788 0025E6C8 41 82 00 1C */ beq lbl_802617A4 -/* 8026178C 0025E6CC 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80261790 0025E6D0 38 7E 00 04 */ addi r3, r30, 4 -/* 80261794 0025E6D4 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80261798 0025E6D8 38 80 00 00 */ li r4, 0 -/* 8026179C 0025E6DC 90 1E 00 04 */ stw r0, 4(r30) -/* 802617A0 0025E6E0 48 1A FD E9 */ bl __dt__5CNodeFv -lbl_802617A4: -/* 802617A4 0025E6E4 7F E0 07 35 */ extsh. r0, r31 -/* 802617A8 0025E6E8 40 81 00 0C */ ble lbl_802617B4 -/* 802617AC 0025E6EC 7F C3 F3 78 */ mr r3, r30 -/* 802617B0 0025E6F0 4B DC 29 05 */ bl __dl__FPv -lbl_802617B4: -/* 802617B4 0025E6F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802617B8 0025E6F8 7F C3 F3 78 */ mr r3, r30 -/* 802617BC 0025E6FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802617C0 0025E700 83 C1 00 08 */ lwz r30, 8(r1) -/* 802617C4 0025E704 7C 08 03 A6 */ mtlr r0 -/* 802617C8 0025E708 38 21 00 10 */ addi r1, r1, 0x10 -/* 802617CC 0025E70C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game8MaroFrog3MgrFv -getEnemyTypeID__Q34Game8MaroFrog3MgrFv: -/* 802617D0 0025E710 38 60 00 12 */ li r3, 0x12 -/* 802617D4 0025E714 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game8MaroFrog3MgrFv -$$24$$2__dt__Q34Game8MaroFrog3MgrFv: -/* 802617D8 0025E718 38 63 FF FC */ addi r3, r3, -4 -/* 802617DC 0025E71C 4B FF FF 44 */ b __dt__Q34Game8MaroFrog3MgrFv - -.global __ct__Q34Game8MaroFrog3ObjFv -__ct__Q34Game8MaroFrog3ObjFv: -/* 802617E0 0025E720 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802617E4 0025E724 7C 08 02 A6 */ mflr r0 -/* 802617E8 0025E728 90 01 00 14 */ stw r0, 0x14(r1) -/* 802617EC 0025E72C 7C 80 07 35 */ extsh. r0, r4 -/* 802617F0 0025E730 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802617F4 0025E734 7C 7F 1B 78 */ mr r31, r3 -/* 802617F8 0025E738 41 82 00 24 */ beq lbl_8026181C -/* 802617FC 0025E73C 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 80261800 0025E740 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 80261804 0025E744 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80261808 0025E748 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8026180C 0025E74C 38 00 00 00 */ li r0, 0 -/* 80261810 0025E750 90 7F 02 E0 */ stw r3, 0x2e0(r31) -/* 80261814 0025E754 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 80261818 0025E758 90 1F 02 E8 */ stw r0, 0x2e8(r31) -lbl_8026181C: -/* 8026181C 0025E75C 7F E3 FB 78 */ mr r3, r31 -/* 80261820 0025E760 38 80 00 00 */ li r4, 0 -/* 80261824 0025E764 4B FF 6D 25 */ bl __ct__Q34Game4Frog3ObjFv -/* 80261828 0025E768 3C 60 80 4C */ lis r3, __vt__Q34Game8MaroFrog3Obj@ha -/* 8026182C 0025E76C 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 80261830 0025E770 38 A3 3B 80 */ addi r5, r3, __vt__Q34Game8MaroFrog3Obj@l -/* 80261834 0025E774 7F E3 FB 78 */ mr r3, r31 -/* 80261838 0025E778 90 BF 00 00 */ stw r5, 0(r31) -/* 8026183C 0025E77C 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80261840 0025E780 38 A5 03 04 */ addi r5, r5, 0x304 -/* 80261844 0025E784 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80261848 0025E788 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8026184C 0025E78C 90 A4 00 00 */ stw r5, 0(r4) -/* 80261850 0025E790 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80261854 0025E794 7C 04 00 50 */ subf r0, r4, r0 -/* 80261858 0025E798 90 04 00 0C */ stw r0, 0xc(r4) -/* 8026185C 0025E79C 48 00 04 79 */ bl createEffect__Q34Game8MaroFrog3ObjFv -/* 80261860 0025E7A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261864 0025E7A4 7F E3 FB 78 */ mr r3, r31 -/* 80261868 0025E7A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026186C 0025E7AC 7C 08 03 A6 */ mtlr r0 -/* 80261870 0025E7B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261874 0025E7B4 4E 80 00 20 */ blr - -.global attackNaviPosition__Q34Game8MaroFrog3ObjFv -attackNaviPosition__Q34Game8MaroFrog3ObjFv: -/* 80261878 0025E7B8 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8026187C 0025E7BC 7C 08 02 A6 */ mflr r0 -/* 80261880 0025E7C0 90 01 01 14 */ stw r0, 0x114(r1) -/* 80261884 0025E7C4 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 80261888 0025E7C8 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 8026188C 0025E7CC DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 80261890 0025E7D0 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 80261894 0025E7D4 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 80261898 0025E7D8 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 8026189C 0025E7DC DB 81 00 D0 */ stfd f28, 0xd0(r1) -/* 802618A0 0025E7E0 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 -/* 802618A4 0025E7E4 DB 61 00 C0 */ stfd f27, 0xc0(r1) -/* 802618A8 0025E7E8 F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 -/* 802618AC 0025E7EC DB 41 00 B0 */ stfd f26, 0xb0(r1) -/* 802618B0 0025E7F0 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 -/* 802618B4 0025E7F4 93 E1 00 AC */ stw r31, 0xac(r1) -/* 802618B8 0025E7F8 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 802618BC 0025E7FC 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 802618C0 0025E800 38 80 00 00 */ li r4, 0 -/* 802618C4 0025E804 80 0D 92 E0 */ lwz r0, naviMgr__4Game@sda21(r13) -/* 802618C8 0025E808 3C A0 80 4B */ lis r5, __vt__22Iterator$$0Q24Game4Navi$$1@ha -/* 802618CC 0025E80C 90 81 00 98 */ stw r4, 0x98(r1) -/* 802618D0 0025E810 38 A5 BC B4 */ addi r5, r5, __vt__22Iterator$$0Q24Game4Navi$$1@l -/* 802618D4 0025E814 28 04 00 00 */ cmplwi r4, 0 -/* 802618D8 0025E818 90 A1 00 8C */ stw r5, 0x8c(r1) -/* 802618DC 0025E81C 7C 7F 1B 78 */ mr r31, r3 -/* 802618E0 0025E820 90 81 00 90 */ stw r4, 0x90(r1) -/* 802618E4 0025E824 90 01 00 94 */ stw r0, 0x94(r1) -/* 802618E8 0025E828 40 82 00 20 */ bne lbl_80261908 -/* 802618EC 0025E82C 7C 03 03 78 */ mr r3, r0 -/* 802618F0 0025E830 81 83 00 00 */ lwz r12, 0(r3) -/* 802618F4 0025E834 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802618F8 0025E838 7D 89 03 A6 */ mtctr r12 -/* 802618FC 0025E83C 4E 80 04 21 */ bctrl -/* 80261900 0025E840 90 61 00 90 */ stw r3, 0x90(r1) -/* 80261904 0025E844 48 00 03 64 */ b lbl_80261C68 -lbl_80261908: -/* 80261908 0025E848 7C 03 03 78 */ mr r3, r0 -/* 8026190C 0025E84C 81 83 00 00 */ lwz r12, 0(r3) -/* 80261910 0025E850 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80261914 0025E854 7D 89 03 A6 */ mtctr r12 -/* 80261918 0025E858 4E 80 04 21 */ bctrl -/* 8026191C 0025E85C 90 61 00 90 */ stw r3, 0x90(r1) -/* 80261920 0025E860 48 00 00 58 */ b lbl_80261978 -lbl_80261924: -/* 80261924 0025E864 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80261928 0025E868 80 81 00 90 */ lwz r4, 0x90(r1) -/* 8026192C 0025E86C 81 83 00 00 */ lwz r12, 0(r3) -/* 80261930 0025E870 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80261934 0025E874 7D 89 03 A6 */ mtctr r12 -/* 80261938 0025E878 4E 80 04 21 */ bctrl -/* 8026193C 0025E87C 7C 64 1B 78 */ mr r4, r3 -/* 80261940 0025E880 80 61 00 98 */ lwz r3, 0x98(r1) -/* 80261944 0025E884 81 83 00 00 */ lwz r12, 0(r3) -/* 80261948 0025E888 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026194C 0025E88C 7D 89 03 A6 */ mtctr r12 -/* 80261950 0025E890 4E 80 04 21 */ bctrl -/* 80261954 0025E894 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80261958 0025E898 40 82 03 10 */ bne lbl_80261C68 -/* 8026195C 0025E89C 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80261960 0025E8A0 80 81 00 90 */ lwz r4, 0x90(r1) -/* 80261964 0025E8A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80261968 0025E8A8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026196C 0025E8AC 7D 89 03 A6 */ mtctr r12 -/* 80261970 0025E8B0 4E 80 04 21 */ bctrl -/* 80261974 0025E8B4 90 61 00 90 */ stw r3, 0x90(r1) -lbl_80261978: -/* 80261978 0025E8B8 81 81 00 8C */ lwz r12, 0x8c(r1) -/* 8026197C 0025E8BC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80261980 0025E8C0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80261984 0025E8C4 7D 89 03 A6 */ mtctr r12 -/* 80261988 0025E8C8 4E 80 04 21 */ bctrl -/* 8026198C 0025E8CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80261990 0025E8D0 41 82 FF 94 */ beq lbl_80261924 -/* 80261994 0025E8D4 48 00 02 D4 */ b lbl_80261C68 -lbl_80261998: -/* 80261998 0025E8D8 80 61 00 94 */ lwz r3, 0x94(r1) -/* 8026199C 0025E8DC 81 83 00 00 */ lwz r12, 0(r3) -/* 802619A0 0025E8E0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802619A4 0025E8E4 7D 89 03 A6 */ mtctr r12 -/* 802619A8 0025E8E8 4E 80 04 21 */ bctrl -/* 802619AC 0025E8EC 81 83 00 00 */ lwz r12, 0(r3) -/* 802619B0 0025E8F0 7C 7E 1B 78 */ mr r30, r3 -/* 802619B4 0025E8F4 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802619B8 0025E8F8 7D 89 03 A6 */ mtctr r12 -/* 802619BC 0025E8FC 4E 80 04 21 */ bctrl -/* 802619C0 0025E900 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802619C4 0025E904 41 82 01 E8 */ beq lbl_80261BAC -/* 802619C8 0025E908 7F C4 F3 78 */ mr r4, r30 -/* 802619CC 0025E90C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802619D0 0025E910 81 9E 00 00 */ lwz r12, 0(r30) -/* 802619D4 0025E914 38 61 00 68 */ addi r3, r1, 0x68 -/* 802619D8 0025E918 C3 C5 05 8C */ lfs f30, 0x58c(r5) -/* 802619DC 0025E91C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802619E0 0025E920 C3 E5 05 64 */ lfs f31, 0x564(r5) -/* 802619E4 0025E924 7D 89 03 A6 */ mtctr r12 -/* 802619E8 0025E928 4E 80 04 21 */ bctrl -/* 802619EC 0025E92C 7F E4 FB 78 */ mr r4, r31 -/* 802619F0 0025E930 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 802619F4 0025E934 81 9F 00 00 */ lwz r12, 0(r31) -/* 802619F8 0025E938 38 61 00 74 */ addi r3, r1, 0x74 -/* 802619FC 0025E93C C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 80261A00 0025E940 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80261A04 0025E944 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261A08 0025E948 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80261A0C 0025E94C D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80261A10 0025E950 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80261A14 0025E954 7D 89 03 A6 */ mtctr r12 -/* 80261A18 0025E958 4E 80 04 21 */ bctrl -/* 80261A1C 0025E95C C0 A1 00 74 */ lfs f5, 0x74(r1) -/* 80261A20 0025E960 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80261A24 0025E964 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 80261A28 0025E968 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80261A2C 0025E96C C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80261A30 0025E970 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80261A34 0025E974 C0 81 00 78 */ lfs f4, 0x78(r1) -/* 80261A38 0025E978 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80261A3C 0025E97C EC 40 18 28 */ fsubs f2, f0, f3 -/* 80261A40 0025E980 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 80261A44 0025E984 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 80261A48 0025E988 D0 61 00 64 */ stfs f3, 0x64(r1) -/* 80261A4C 0025E98C 4B DD 36 BD */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80261A50 0025E990 48 1B 01 81 */ bl roundAng__Ff -/* 80261A54 0025E994 81 9F 00 00 */ lwz r12, 0(r31) -/* 80261A58 0025E998 FF 40 08 90 */ fmr f26, f1 -/* 80261A5C 0025E99C 7F E3 FB 78 */ mr r3, r31 -/* 80261A60 0025E9A0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80261A64 0025E9A4 7D 89 03 A6 */ mtctr r12 -/* 80261A68 0025E9A8 4E 80 04 21 */ bctrl -/* 80261A6C 0025E9AC FC 40 08 90 */ fmr f2, f1 -/* 80261A70 0025E9B0 FC 20 D0 90 */ fmr f1, f26 -/* 80261A74 0025E9B4 48 1B 01 89 */ bl angDist__Fff -/* 80261A78 0025E9B8 7F E4 FB 78 */ mr r4, r31 -/* 80261A7C 0025E9BC FF 80 08 90 */ fmr f28, f1 -/* 80261A80 0025E9C0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80261A84 0025E9C4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80261A88 0025E9C8 3B A0 00 00 */ li r29, 0 -/* 80261A8C 0025E9CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261A90 0025E9D0 7D 89 03 A6 */ mtctr r12 -/* 80261A94 0025E9D4 4E 80 04 21 */ bctrl -/* 80261A98 0025E9D8 7F C4 F3 78 */ mr r4, r30 -/* 80261A9C 0025E9DC 38 61 00 08 */ addi r3, r1, 8 -/* 80261AA0 0025E9E0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80261AA4 0025E9E4 C3 A1 00 14 */ lfs f29, 0x14(r1) -/* 80261AA8 0025E9E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261AAC 0025E9EC 7D 89 03 A6 */ mtctr r12 -/* 80261AB0 0025E9F0 4E 80 04 21 */ bctrl -/* 80261AB4 0025E9F4 7F E4 FB 78 */ mr r4, r31 -/* 80261AB8 0025E9F8 C0 01 00 08 */ lfs f0, 8(r1) -/* 80261ABC 0025E9FC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80261AC0 0025EA00 38 61 00 2C */ addi r3, r1, 0x2c -/* 80261AC4 0025EA04 EF 40 E8 28 */ fsubs f26, f0, f29 -/* 80261AC8 0025EA08 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261ACC 0025EA0C 7D 89 03 A6 */ mtctr r12 -/* 80261AD0 0025EA10 4E 80 04 21 */ bctrl -/* 80261AD4 0025EA14 7F C4 F3 78 */ mr r4, r30 -/* 80261AD8 0025EA18 38 61 00 20 */ addi r3, r1, 0x20 -/* 80261ADC 0025EA1C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80261AE0 0025EA20 C3 A1 00 30 */ lfs f29, 0x30(r1) -/* 80261AE4 0025EA24 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261AE8 0025EA28 7D 89 03 A6 */ mtctr r12 -/* 80261AEC 0025EA2C 4E 80 04 21 */ bctrl -/* 80261AF0 0025EA30 7F E4 FB 78 */ mr r4, r31 -/* 80261AF4 0025EA34 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80261AF8 0025EA38 81 9F 00 00 */ lwz r12, 0(r31) -/* 80261AFC 0025EA3C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80261B00 0025EA40 EF 60 E8 28 */ fsubs f27, f0, f29 -/* 80261B04 0025EA44 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261B08 0025EA48 7D 89 03 A6 */ mtctr r12 -/* 80261B0C 0025EA4C 4E 80 04 21 */ bctrl -/* 80261B10 0025EA50 7F C4 F3 78 */ mr r4, r30 -/* 80261B14 0025EA54 38 61 00 38 */ addi r3, r1, 0x38 -/* 80261B18 0025EA58 81 9E 00 00 */ lwz r12, 0(r30) -/* 80261B1C 0025EA5C C3 A1 00 4C */ lfs f29, 0x4c(r1) -/* 80261B20 0025EA60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261B24 0025EA64 7D 89 03 A6 */ mtctr r12 -/* 80261B28 0025EA68 4E 80 04 21 */ bctrl -/* 80261B2C 0025EA6C EC 3B 06 F2 */ fmuls f1, f27, f27 -/* 80261B30 0025EA70 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80261B34 0025EA74 EC 1F 07 F2 */ fmuls f0, f31, f31 -/* 80261B38 0025EA78 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 80261B3C 0025EA7C EC 3A 0E BA */ fmadds f1, f26, f26, f1 -/* 80261B40 0025EA80 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80261B44 0025EA84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80261B48 0025EA88 40 80 00 2C */ bge lbl_80261B74 -/* 80261B4C 0025EA8C C0 02 C9 E4 */ lfs f0, lbl_8051AD44@sda21(r2) -/* 80261B50 0025EA90 FC 40 E2 10 */ fabs f2, f28 -/* 80261B54 0025EA94 C0 22 C9 E0 */ lfs f1, lbl_8051AD40@sda21(r2) -/* 80261B58 0025EA98 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80261B5C 0025EA9C FC 40 10 18 */ frsp f2, f2 -/* 80261B60 0025EAA0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80261B64 0025EAA4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80261B68 0025EAA8 4C 40 13 82 */ cror 2, 0, 2 -/* 80261B6C 0025EAAC 40 82 00 08 */ bne lbl_80261B74 -/* 80261B70 0025EAB0 3B A0 00 01 */ li r29, 1 -lbl_80261B74: -/* 80261B74 0025EAB4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80261B78 0025EAB8 41 82 00 34 */ beq lbl_80261BAC -/* 80261B7C 0025EABC 7F C4 F3 78 */ mr r4, r30 -/* 80261B80 0025EAC0 38 61 00 80 */ addi r3, r1, 0x80 -/* 80261B84 0025EAC4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80261B88 0025EAC8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261B8C 0025EACC 7D 89 03 A6 */ mtctr r12 -/* 80261B90 0025EAD0 4E 80 04 21 */ bctrl -/* 80261B94 0025EAD4 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80261B98 0025EAD8 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 80261B9C 0025EADC C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80261BA0 0025EAE0 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 80261BA4 0025EAE4 D0 3F 02 CC */ stfs f1, 0x2cc(r31) -/* 80261BA8 0025EAE8 D0 5F 02 D0 */ stfs f2, 0x2d0(r31) -lbl_80261BAC: -/* 80261BAC 0025EAEC 80 01 00 98 */ lwz r0, 0x98(r1) -/* 80261BB0 0025EAF0 28 00 00 00 */ cmplwi r0, 0 -/* 80261BB4 0025EAF4 40 82 00 24 */ bne lbl_80261BD8 -/* 80261BB8 0025EAF8 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80261BBC 0025EAFC 80 81 00 90 */ lwz r4, 0x90(r1) -/* 80261BC0 0025EB00 81 83 00 00 */ lwz r12, 0(r3) -/* 80261BC4 0025EB04 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80261BC8 0025EB08 7D 89 03 A6 */ mtctr r12 -/* 80261BCC 0025EB0C 4E 80 04 21 */ bctrl -/* 80261BD0 0025EB10 90 61 00 90 */ stw r3, 0x90(r1) -/* 80261BD4 0025EB14 48 00 00 94 */ b lbl_80261C68 -lbl_80261BD8: -/* 80261BD8 0025EB18 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80261BDC 0025EB1C 80 81 00 90 */ lwz r4, 0x90(r1) -/* 80261BE0 0025EB20 81 83 00 00 */ lwz r12, 0(r3) -/* 80261BE4 0025EB24 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80261BE8 0025EB28 7D 89 03 A6 */ mtctr r12 -/* 80261BEC 0025EB2C 4E 80 04 21 */ bctrl -/* 80261BF0 0025EB30 90 61 00 90 */ stw r3, 0x90(r1) -/* 80261BF4 0025EB34 48 00 00 58 */ b lbl_80261C4C -lbl_80261BF8: -/* 80261BF8 0025EB38 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80261BFC 0025EB3C 80 81 00 90 */ lwz r4, 0x90(r1) -/* 80261C00 0025EB40 81 83 00 00 */ lwz r12, 0(r3) -/* 80261C04 0025EB44 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80261C08 0025EB48 7D 89 03 A6 */ mtctr r12 -/* 80261C0C 0025EB4C 4E 80 04 21 */ bctrl -/* 80261C10 0025EB50 7C 64 1B 78 */ mr r4, r3 -/* 80261C14 0025EB54 80 61 00 98 */ lwz r3, 0x98(r1) -/* 80261C18 0025EB58 81 83 00 00 */ lwz r12, 0(r3) -/* 80261C1C 0025EB5C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80261C20 0025EB60 7D 89 03 A6 */ mtctr r12 -/* 80261C24 0025EB64 4E 80 04 21 */ bctrl -/* 80261C28 0025EB68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80261C2C 0025EB6C 40 82 00 3C */ bne lbl_80261C68 -/* 80261C30 0025EB70 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80261C34 0025EB74 80 81 00 90 */ lwz r4, 0x90(r1) -/* 80261C38 0025EB78 81 83 00 00 */ lwz r12, 0(r3) -/* 80261C3C 0025EB7C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80261C40 0025EB80 7D 89 03 A6 */ mtctr r12 -/* 80261C44 0025EB84 4E 80 04 21 */ bctrl -/* 80261C48 0025EB88 90 61 00 90 */ stw r3, 0x90(r1) -lbl_80261C4C: -/* 80261C4C 0025EB8C 81 81 00 8C */ lwz r12, 0x8c(r1) -/* 80261C50 0025EB90 38 61 00 8C */ addi r3, r1, 0x8c -/* 80261C54 0025EB94 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80261C58 0025EB98 7D 89 03 A6 */ mtctr r12 -/* 80261C5C 0025EB9C 4E 80 04 21 */ bctrl -/* 80261C60 0025EBA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80261C64 0025EBA4 41 82 FF 94 */ beq lbl_80261BF8 -lbl_80261C68: -/* 80261C68 0025EBA8 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80261C6C 0025EBAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80261C70 0025EBB0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80261C74 0025EBB4 7D 89 03 A6 */ mtctr r12 -/* 80261C78 0025EBB8 4E 80 04 21 */ bctrl -/* 80261C7C 0025EBBC 80 81 00 90 */ lwz r4, 0x90(r1) -/* 80261C80 0025EBC0 7C 04 18 40 */ cmplw r4, r3 -/* 80261C84 0025EBC4 40 82 FD 14 */ bne lbl_80261998 -/* 80261C88 0025EBC8 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 80261C8C 0025EBCC CB E1 01 00 */ lfd f31, 0x100(r1) -/* 80261C90 0025EBD0 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 80261C94 0025EBD4 CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 80261C98 0025EBD8 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 80261C9C 0025EBDC CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 80261CA0 0025EBE0 E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 -/* 80261CA4 0025EBE4 CB 81 00 D0 */ lfd f28, 0xd0(r1) -/* 80261CA8 0025EBE8 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 -/* 80261CAC 0025EBEC CB 61 00 C0 */ lfd f27, 0xc0(r1) -/* 80261CB0 0025EBF0 E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 -/* 80261CB4 0025EBF4 CB 41 00 B0 */ lfd f26, 0xb0(r1) -/* 80261CB8 0025EBF8 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80261CBC 0025EBFC 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80261CC0 0025EC00 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80261CC4 0025EC04 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80261CC8 0025EC08 7C 08 03 A6 */ mtlr r0 -/* 80261CCC 0025EC0C 38 21 01 10 */ addi r1, r1, 0x110 -/* 80261CD0 0025EC10 4E 80 00 20 */ blr - -.global createEffect__Q34Game8MaroFrog3ObjFv -createEffect__Q34Game8MaroFrog3ObjFv: -/* 80261CD4 0025EC14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261CD8 0025EC18 7C 08 02 A6 */ mflr r0 -/* 80261CDC 0025EC1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261CE0 0025EC20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261CE4 0025EC24 7C 7F 1B 78 */ mr r31, r3 -/* 80261CE8 0025EC28 38 60 00 14 */ li r3, 0x14 -/* 80261CEC 0025EC2C 4B DC 21 B9 */ bl __nw__FUl -/* 80261CF0 0025EC30 28 03 00 00 */ cmplwi r3, 0 -/* 80261CF4 0025EC34 41 82 00 78 */ beq lbl_80261D6C -/* 80261CF8 0025EC38 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80261CFC 0025EC3C 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80261D00 0025EC40 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80261D04 0025EC44 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80261D08 0025EC48 90 03 00 00 */ stw r0, 0(r3) -/* 80261D0C 0025EC4C 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80261D10 0025EC50 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80261D14 0025EC54 3C 80 80 4E */ lis r4, __vt__Q23efx9TChasePos@ha -/* 80261D18 0025EC58 90 03 00 04 */ stw r0, 4(r3) -/* 80261D1C 0025EC5C 38 E4 69 40 */ addi r7, r4, __vt__Q23efx9TChasePos@l -/* 80261D20 0025EC60 3C 80 80 4C */ lis r4, __vt__Q23efx9TFrogPota@ha -/* 80261D24 0025EC64 38 05 00 14 */ addi r0, r5, 0x14 -/* 80261D28 0025EC68 90 A3 00 00 */ stw r5, 0(r3) -/* 80261D2C 0025EC6C 38 84 24 5C */ addi r4, r4, __vt__Q23efx9TFrogPota@l -/* 80261D30 0025EC70 39 20 00 00 */ li r9, 0 -/* 80261D34 0025EC74 39 00 02 B2 */ li r8, 0x2b2 -/* 80261D38 0025EC78 90 03 00 04 */ stw r0, 4(r3) -/* 80261D3C 0025EC7C 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80261D40 0025EC80 38 A0 00 62 */ li r5, 0x62 -/* 80261D44 0025EC84 38 04 00 14 */ addi r0, r4, 0x14 -/* 80261D48 0025EC88 91 23 00 08 */ stw r9, 8(r3) -/* 80261D4C 0025EC8C B1 03 00 0C */ sth r8, 0xc(r3) -/* 80261D50 0025EC90 99 23 00 0E */ stb r9, 0xe(r3) -/* 80261D54 0025EC94 90 E3 00 00 */ stw r7, 0(r3) -/* 80261D58 0025EC98 90 C3 00 04 */ stw r6, 4(r3) -/* 80261D5C 0025EC9C 91 23 00 10 */ stw r9, 0x10(r3) -/* 80261D60 0025ECA0 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 80261D64 0025ECA4 90 83 00 00 */ stw r4, 0(r3) -/* 80261D68 0025ECA8 90 03 00 04 */ stw r0, 4(r3) -lbl_80261D6C: -/* 80261D6C 0025ECAC 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 80261D70 0025ECB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261D74 0025ECB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261D78 0025ECB8 7C 08 03 A6 */ mtlr r0 -/* 80261D7C 0025ECBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261D80 0025ECC0 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game8MaroFrog3ObjFv -getEnemyTypeID__Q34Game8MaroFrog3ObjFv: -/* 80261D84 0025ECC4 38 60 00 12 */ li r3, 0x12 -/* 80261D88 0025ECC8 4E 80 00 20 */ blr - -.global init__Q34Game4Rock3FSMFPQ24Game9EnemyBase -init__Q34Game4Rock3FSMFPQ24Game9EnemyBase: -/* 80261D8C 0025ECCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261D90 0025ECD0 7C 08 02 A6 */ mflr r0 -/* 80261D94 0025ECD4 38 80 00 06 */ li r4, 6 -/* 80261D98 0025ECD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261D9C 0025ECDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261DA0 0025ECE0 7C 7F 1B 78 */ mr r31, r3 -/* 80261DA4 0025ECE4 4B EC EA C1 */ bl create__Q24Game17EnemyStateMachineFi -/* 80261DA8 0025ECE8 38 60 00 10 */ li r3, 0x10 -/* 80261DAC 0025ECEC 4B DC 20 F9 */ bl __nw__FUl -/* 80261DB0 0025ECF0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80261DB4 0025ECF4 41 82 00 3C */ beq lbl_80261DF0 -/* 80261DB8 0025ECF8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80261DBC 0025ECFC 3C A0 80 4C */ lis r5, __vt__Q34Game4Rock5State@ha -/* 80261DC0 0025ED00 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80261DC4 0025ED04 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock9StateWait@ha -/* 80261DC8 0025ED08 90 04 00 00 */ stw r0, 0(r4) -/* 80261DCC 0025ED0C 38 E0 00 00 */ li r7, 0 -/* 80261DD0 0025ED10 38 C5 3F 9C */ addi r6, r5, __vt__Q34Game4Rock5State@l -/* 80261DD4 0025ED14 38 A2 C9 E8 */ addi r5, r2, lbl_8051AD48@sda21 -/* 80261DD8 0025ED18 90 E4 00 04 */ stw r7, 4(r4) -/* 80261DDC 0025ED1C 38 03 3F 78 */ addi r0, r3, __vt__Q34Game4Rock9StateWait@l -/* 80261DE0 0025ED20 90 E4 00 08 */ stw r7, 8(r4) -/* 80261DE4 0025ED24 90 C4 00 00 */ stw r6, 0(r4) -/* 80261DE8 0025ED28 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80261DEC 0025ED2C 90 04 00 00 */ stw r0, 0(r4) -lbl_80261DF0: -/* 80261DF0 0025ED30 7F E3 FB 78 */ mr r3, r31 -/* 80261DF4 0025ED34 4B EC EB 15 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80261DF8 0025ED38 38 60 00 10 */ li r3, 0x10 -/* 80261DFC 0025ED3C 4B DC 20 A9 */ bl __nw__FUl -/* 80261E00 0025ED40 7C 64 1B 79 */ or. r4, r3, r3 -/* 80261E04 0025ED44 41 82 00 40 */ beq lbl_80261E44 -/* 80261E08 0025ED48 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80261E0C 0025ED4C 3C A0 80 4C */ lis r5, __vt__Q34Game4Rock5State@ha -/* 80261E10 0025ED50 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80261E14 0025ED54 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock11StateAppear@ha -/* 80261E18 0025ED58 90 04 00 00 */ stw r0, 0(r4) -/* 80261E1C 0025ED5C 38 00 00 01 */ li r0, 1 -/* 80261E20 0025ED60 38 E0 00 00 */ li r7, 0 -/* 80261E24 0025ED64 38 C5 3F 9C */ addi r6, r5, __vt__Q34Game4Rock5State@l -/* 80261E28 0025ED68 90 04 00 04 */ stw r0, 4(r4) -/* 80261E2C 0025ED6C 38 A2 C9 F0 */ addi r5, r2, lbl_8051AD50@sda21 -/* 80261E30 0025ED70 38 03 3F 54 */ addi r0, r3, __vt__Q34Game4Rock11StateAppear@l -/* 80261E34 0025ED74 90 E4 00 08 */ stw r7, 8(r4) -/* 80261E38 0025ED78 90 C4 00 00 */ stw r6, 0(r4) -/* 80261E3C 0025ED7C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80261E40 0025ED80 90 04 00 00 */ stw r0, 0(r4) -lbl_80261E44: -/* 80261E44 0025ED84 7F E3 FB 78 */ mr r3, r31 -/* 80261E48 0025ED88 4B EC EA C1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80261E4C 0025ED8C 38 60 00 10 */ li r3, 0x10 -/* 80261E50 0025ED90 4B DC 20 55 */ bl __nw__FUl -/* 80261E54 0025ED94 7C 64 1B 79 */ or. r4, r3, r3 -/* 80261E58 0025ED98 41 82 00 44 */ beq lbl_80261E9C -/* 80261E5C 0025ED9C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80261E60 0025EDA0 3C C0 80 4C */ lis r6, __vt__Q34Game4Rock5State@ha -/* 80261E64 0025EDA4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80261E68 0025EDA8 3C A0 80 48 */ lis r5, lbl_80485788@ha -/* 80261E6C 0025EDAC 90 04 00 00 */ stw r0, 0(r4) -/* 80261E70 0025EDB0 38 00 00 02 */ li r0, 2 -/* 80261E74 0025EDB4 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock13StateDropWait@ha -/* 80261E78 0025EDB8 38 E0 00 00 */ li r7, 0 -/* 80261E7C 0025EDBC 90 04 00 04 */ stw r0, 4(r4) -/* 80261E80 0025EDC0 38 C6 3F 9C */ addi r6, r6, __vt__Q34Game4Rock5State@l -/* 80261E84 0025EDC4 38 A5 57 88 */ addi r5, r5, lbl_80485788@l -/* 80261E88 0025EDC8 38 03 3F 30 */ addi r0, r3, __vt__Q34Game4Rock13StateDropWait@l -/* 80261E8C 0025EDCC 90 E4 00 08 */ stw r7, 8(r4) -/* 80261E90 0025EDD0 90 C4 00 00 */ stw r6, 0(r4) -/* 80261E94 0025EDD4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80261E98 0025EDD8 90 04 00 00 */ stw r0, 0(r4) -lbl_80261E9C: -/* 80261E9C 0025EDDC 7F E3 FB 78 */ mr r3, r31 -/* 80261EA0 0025EDE0 4B EC EA 69 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80261EA4 0025EDE4 38 60 00 10 */ li r3, 0x10 -/* 80261EA8 0025EDE8 4B DC 1F FD */ bl __nw__FUl -/* 80261EAC 0025EDEC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80261EB0 0025EDF0 41 82 00 40 */ beq lbl_80261EF0 -/* 80261EB4 0025EDF4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80261EB8 0025EDF8 3C A0 80 4C */ lis r5, __vt__Q34Game4Rock5State@ha -/* 80261EBC 0025EDFC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80261EC0 0025EE00 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock9StateFall@ha -/* 80261EC4 0025EE04 90 04 00 00 */ stw r0, 0(r4) -/* 80261EC8 0025EE08 38 00 00 03 */ li r0, 3 -/* 80261ECC 0025EE0C 38 E0 00 00 */ li r7, 0 -/* 80261ED0 0025EE10 38 C5 3F 9C */ addi r6, r5, __vt__Q34Game4Rock5State@l -/* 80261ED4 0025EE14 90 04 00 04 */ stw r0, 4(r4) -/* 80261ED8 0025EE18 38 A2 C9 F8 */ addi r5, r2, lbl_8051AD58@sda21 -/* 80261EDC 0025EE1C 38 03 3F 0C */ addi r0, r3, __vt__Q34Game4Rock9StateFall@l -/* 80261EE0 0025EE20 90 E4 00 08 */ stw r7, 8(r4) -/* 80261EE4 0025EE24 90 C4 00 00 */ stw r6, 0(r4) -/* 80261EE8 0025EE28 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80261EEC 0025EE2C 90 04 00 00 */ stw r0, 0(r4) -lbl_80261EF0: -/* 80261EF0 0025EE30 7F E3 FB 78 */ mr r3, r31 -/* 80261EF4 0025EE34 4B EC EA 15 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80261EF8 0025EE38 38 60 00 10 */ li r3, 0x10 -/* 80261EFC 0025EE3C 4B DC 1F A9 */ bl __nw__FUl -/* 80261F00 0025EE40 7C 64 1B 79 */ or. r4, r3, r3 -/* 80261F04 0025EE44 41 82 00 40 */ beq lbl_80261F44 -/* 80261F08 0025EE48 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80261F0C 0025EE4C 3C A0 80 4C */ lis r5, __vt__Q34Game4Rock5State@ha -/* 80261F10 0025EE50 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80261F14 0025EE54 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock9StateMove@ha -/* 80261F18 0025EE58 90 04 00 00 */ stw r0, 0(r4) -/* 80261F1C 0025EE5C 38 00 00 04 */ li r0, 4 -/* 80261F20 0025EE60 38 E0 00 00 */ li r7, 0 -/* 80261F24 0025EE64 38 C5 3F 9C */ addi r6, r5, __vt__Q34Game4Rock5State@l -/* 80261F28 0025EE68 90 04 00 04 */ stw r0, 4(r4) -/* 80261F2C 0025EE6C 38 A2 CA 00 */ addi r5, r2, lbl_8051AD60@sda21 -/* 80261F30 0025EE70 38 03 3E E8 */ addi r0, r3, __vt__Q34Game4Rock9StateMove@l -/* 80261F34 0025EE74 90 E4 00 08 */ stw r7, 8(r4) -/* 80261F38 0025EE78 90 C4 00 00 */ stw r6, 0(r4) -/* 80261F3C 0025EE7C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80261F40 0025EE80 90 04 00 00 */ stw r0, 0(r4) -lbl_80261F44: -/* 80261F44 0025EE84 7F E3 FB 78 */ mr r3, r31 -/* 80261F48 0025EE88 4B EC E9 C1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80261F4C 0025EE8C 38 60 00 10 */ li r3, 0x10 -/* 80261F50 0025EE90 4B DC 1F 55 */ bl __nw__FUl -/* 80261F54 0025EE94 7C 64 1B 79 */ or. r4, r3, r3 -/* 80261F58 0025EE98 41 82 00 40 */ beq lbl_80261F98 -/* 80261F5C 0025EE9C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80261F60 0025EEA0 3C A0 80 4C */ lis r5, __vt__Q34Game4Rock5State@ha -/* 80261F64 0025EEA4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80261F68 0025EEA8 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock9StateDead@ha -/* 80261F6C 0025EEAC 90 04 00 00 */ stw r0, 0(r4) -/* 80261F70 0025EEB0 38 00 00 05 */ li r0, 5 -/* 80261F74 0025EEB4 38 E0 00 00 */ li r7, 0 -/* 80261F78 0025EEB8 38 C5 3F 9C */ addi r6, r5, __vt__Q34Game4Rock5State@l -/* 80261F7C 0025EEBC 90 04 00 04 */ stw r0, 4(r4) -/* 80261F80 0025EEC0 38 A2 CA 08 */ addi r5, r2, lbl_8051AD68@sda21 -/* 80261F84 0025EEC4 38 03 3E C4 */ addi r0, r3, __vt__Q34Game4Rock9StateDead@l -/* 80261F88 0025EEC8 90 E4 00 08 */ stw r7, 8(r4) -/* 80261F8C 0025EECC 90 C4 00 00 */ stw r6, 0(r4) -/* 80261F90 0025EED0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80261F94 0025EED4 90 04 00 00 */ stw r0, 0(r4) -lbl_80261F98: -/* 80261F98 0025EED8 7F E3 FB 78 */ mr r3, r31 -/* 80261F9C 0025EEDC 4B EC E9 6D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80261FA0 0025EEE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80261FA4 0025EEE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80261FA8 0025EEE8 7C 08 03 A6 */ mtlr r0 -/* 80261FAC 0025EEEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80261FB0 0025EEF0 4E 80 00 20 */ blr - -.global init__Q34Game4Rock9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Rock9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80261FB4 0025EEF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80261FB8 0025EEF8 7C 08 02 A6 */ mflr r0 -/* 80261FBC 0025EEFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80261FC0 0025EF00 7C 80 23 78 */ mr r0, r4 -/* 80261FC4 0025EF04 38 80 00 00 */ li r4, 0 -/* 80261FC8 0025EF08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80261FCC 0025EF0C 7C 1F 03 78 */ mr r31, r0 -/* 80261FD0 0025EF10 7F E3 FB 78 */ mr r3, r31 -/* 80261FD4 0025EF14 81 9F 00 00 */ lwz r12, 0(r31) -/* 80261FD8 0025EF18 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 80261FDC 0025EF1C 7D 89 03 A6 */ mtctr r12 -/* 80261FE0 0025EF20 4E 80 04 21 */ bctrl -/* 80261FE4 0025EF24 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80261FE8 0025EF28 7F E3 FB 78 */ mr r3, r31 -/* 80261FEC 0025EF2C 60 00 00 04 */ ori r0, r0, 4 -/* 80261FF0 0025EF30 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80261FF4 0025EF34 4B EA 57 89 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80261FF8 0025EF38 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80261FFC 0025EF3C 7F E3 FB 78 */ mr r3, r31 -/* 80262000 0025EF40 C0 02 CA 10 */ lfs f0, lbl_8051AD70@sda21(r2) -/* 80262004 0025EF44 38 80 00 01 */ li r4, 1 -/* 80262008 0025EF48 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf -/* 8026200C 0025EF4C 38 A0 00 00 */ li r5, 0 -/* 80262010 0025EF50 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80262014 0025EF54 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80262018 0025EF58 64 00 40 00 */ oris r0, r0, 0x4000 -/* 8026201C 0025EF5C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80262020 0025EF60 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80262024 0025EF64 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80262028 0025EF68 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8026202C 0025EF6C 4B EA 2F D9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80262030 0025EF70 7F E3 FB 78 */ mr r3, r31 -/* 80262034 0025EF74 4B EA 52 AD */ bl stopMotion__Q24Game9EnemyBaseFv -/* 80262038 0025EF78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026203C 0025EF7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262040 0025EF80 7C 08 03 A6 */ mtlr r0 -/* 80262044 0025EF84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262048 0025EF88 4E 80 00 20 */ blr - -.global exec__Q34Game4Rock9StateWaitFPQ24Game9EnemyBase -exec__Q34Game4Rock9StateWaitFPQ24Game9EnemyBase: -/* 8026204C 0025EF8C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80262050 0025EF90 7C 08 02 A6 */ mflr r0 -/* 80262054 0025EF94 90 01 00 24 */ stw r0, 0x24(r1) -/* 80262058 0025EF98 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8026205C 0025EF9C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80262060 0025EFA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262064 0025EFA4 93 C1 00 08 */ stw r30, 8(r1) -/* 80262068 0025EFA8 C0 22 CA 10 */ lfs f1, lbl_8051AD70@sda21(r2) -/* 8026206C 0025EFAC 7C 9F 23 78 */ mr r31, r4 -/* 80262070 0025EFB0 C0 04 02 AC */ lfs f0, 0x2ac(r4) -/* 80262074 0025EFB4 7C 7E 1B 78 */ mr r30, r3 -/* 80262078 0025EFB8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8026207C 0025EFBC 41 82 00 44 */ beq lbl_802620C0 -/* 80262080 0025EFC0 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 80262084 0025EFC4 C0 5F 02 C8 */ lfs f2, 0x2c8(r31) -/* 80262088 0025EFC8 C0 25 00 54 */ lfs f1, 0x54(r5) -/* 8026208C 0025EFCC C0 02 CA 14 */ lfs f0, lbl_8051AD74@sda21(r2) -/* 80262090 0025EFD0 EC 22 08 2A */ fadds f1, f2, f1 -/* 80262094 0025EFD4 D0 3F 02 C8 */ stfs f1, 0x2c8(r31) -/* 80262098 0025EFD8 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8026209C 0025EFDC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802620A0 0025EFE0 40 81 00 94 */ ble lbl_80262134 -/* 802620A4 0025EFE4 81 83 00 00 */ lwz r12, 0(r3) -/* 802620A8 0025EFE8 38 A0 00 01 */ li r5, 1 -/* 802620AC 0025EFEC 38 C0 00 00 */ li r6, 0 -/* 802620B0 0025EFF0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802620B4 0025EFF4 7D 89 03 A6 */ mtctr r12 -/* 802620B8 0025EFF8 4E 80 04 21 */ bctrl -/* 802620BC 0025EFFC 48 00 00 78 */ b lbl_80262134 -lbl_802620C0: -/* 802620C0 0025F000 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802620C4 0025F004 7F E3 FB 78 */ mr r3, r31 -/* 802620C8 0025F008 38 80 00 00 */ li r4, 0 -/* 802620CC 0025F00C C3 E5 03 D4 */ lfs f31, 0x3d4(r5) -/* 802620D0 0025F010 FC 20 F8 90 */ fmr f1, f31 -/* 802620D4 0025F014 4B EB 29 ED */ bl isThereOlimar__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Navi$$1 -/* 802620D8 0025F018 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802620DC 0025F01C 41 82 00 0C */ beq lbl_802620E8 -/* 802620E0 0025F020 38 00 00 01 */ li r0, 1 -/* 802620E4 0025F024 48 00 00 28 */ b lbl_8026210C -lbl_802620E8: -/* 802620E8 0025F028 FC 20 F8 90 */ fmr f1, f31 -/* 802620EC 0025F02C 7F E3 FB 78 */ mr r3, r31 -/* 802620F0 0025F030 38 80 00 00 */ li r4, 0 -/* 802620F4 0025F034 4B EB 26 41 */ bl isTherePikmin__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Piki$$1 -/* 802620F8 0025F038 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802620FC 0025F03C 41 82 00 0C */ beq lbl_80262108 -/* 80262100 0025F040 38 00 00 01 */ li r0, 1 -/* 80262104 0025F044 48 00 00 08 */ b lbl_8026210C -lbl_80262108: -/* 80262108 0025F048 38 00 00 00 */ li r0, 0 -lbl_8026210C: -/* 8026210C 0025F04C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80262110 0025F050 41 82 00 24 */ beq lbl_80262134 -/* 80262114 0025F054 7F C3 F3 78 */ mr r3, r30 -/* 80262118 0025F058 7F E4 FB 78 */ mr r4, r31 -/* 8026211C 0025F05C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80262120 0025F060 38 A0 00 01 */ li r5, 1 -/* 80262124 0025F064 38 C0 00 00 */ li r6, 0 -/* 80262128 0025F068 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026212C 0025F06C 7D 89 03 A6 */ mtctr r12 -/* 80262130 0025F070 4E 80 04 21 */ bctrl -lbl_80262134: -/* 80262134 0025F074 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80262138 0025F078 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026213C 0025F07C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80262140 0025F080 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262144 0025F084 83 C1 00 08 */ lwz r30, 8(r1) -/* 80262148 0025F088 7C 08 03 A6 */ mtlr r0 -/* 8026214C 0025F08C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80262150 0025F090 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Rock9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game4Rock9StateWaitFPQ24Game9EnemyBase: -/* 80262154 0025F094 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262158 0025F098 7C 08 02 A6 */ mflr r0 -/* 8026215C 0025F09C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262160 0025F0A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262164 0025F0A4 7C 9F 23 78 */ mr r31, r4 -/* 80262168 0025F0A8 7F E3 FB 78 */ mr r3, r31 -/* 8026216C 0025F0AC 4B EA 56 29 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80262170 0025F0B0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80262174 0025F0B4 60 00 80 00 */ ori r0, r0, 0x8000 -/* 80262178 0025F0B8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026217C 0025F0BC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80262180 0025F0C0 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 -/* 80262184 0025F0C4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80262188 0025F0C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026218C 0025F0CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262190 0025F0D0 7C 08 03 A6 */ mtlr r0 -/* 80262194 0025F0D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262198 0025F0D8 4E 80 00 20 */ blr - -.global init__Q34Game4Rock11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Rock11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026219C 0025F0DC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802621A0 0025F0E0 7C 08 02 A6 */ mflr r0 -/* 802621A4 0025F0E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 802621A8 0025F0E8 38 61 00 08 */ addi r3, r1, 8 -/* 802621AC 0025F0EC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802621B0 0025F0F0 7C 9F 23 78 */ mr r31, r4 -/* 802621B4 0025F0F4 81 84 00 00 */ lwz r12, 0(r4) -/* 802621B8 0025F0F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802621BC 0025F0FC 7D 89 03 A6 */ mtctr r12 -/* 802621C0 0025F100 4E 80 04 21 */ bctrl -/* 802621C4 0025F104 C0 41 00 08 */ lfs f2, 8(r1) -/* 802621C8 0025F108 7F E3 FB 78 */ mr r3, r31 -/* 802621CC 0025F10C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802621D0 0025F110 38 81 00 14 */ addi r4, r1, 0x14 -/* 802621D4 0025F114 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802621D8 0025F118 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802621DC 0025F11C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802621E0 0025F120 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802621E4 0025F124 C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 802621E8 0025F128 EC 01 00 2A */ fadds f0, f1, f0 -/* 802621EC 0025F12C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802621F0 0025F130 81 9F 00 00 */ lwz r12, 0(r31) -/* 802621F4 0025F134 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 802621F8 0025F138 7D 89 03 A6 */ mtctr r12 -/* 802621FC 0025F13C 4E 80 04 21 */ bctrl -/* 80262200 0025F140 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80262204 0025F144 7F E3 FB 78 */ mr r3, r31 -/* 80262208 0025F148 C0 02 CA 10 */ lfs f0, lbl_8051AD70@sda21(r2) -/* 8026220C 0025F14C 38 80 00 01 */ li r4, 1 -/* 80262210 0025F150 64 00 40 00 */ oris r0, r0, 0x4000 -/* 80262214 0025F154 38 A0 00 00 */ li r5, 0 -/* 80262218 0025F158 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026221C 0025F15C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80262220 0025F160 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80262224 0025F164 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80262228 0025F168 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026222C 0025F16C 54 00 04 E2 */ rlwinm r0, r0, 0, 0x13, 0x11 -/* 80262230 0025F170 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80262234 0025F174 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80262238 0025F178 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8026223C 0025F17C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80262240 0025F180 4B EA 2D C5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80262244 0025F184 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 80262248 0025F188 7F E4 FB 78 */ mr r4, r31 -/* 8026224C 0025F18C 4B FD FA 61 */ bl addShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 80262250 0025F190 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 80262254 0025F194 7F E4 FB 78 */ mr r4, r31 -/* 80262258 0025F198 38 A0 00 01 */ li r5, 1 -/* 8026225C 0025F19C 4B FD FE A5 */ bl setForceVisible__Q24Game9ShadowMgrFPQ24Game8Creatureb -/* 80262260 0025F1A0 7F E3 FB 78 */ mr r3, r31 -/* 80262264 0025F1A4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80262268 0025F1A8 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8026226C 0025F1AC 7D 89 03 A6 */ mtctr r12 -/* 80262270 0025F1B0 4E 80 04 21 */ bctrl -/* 80262274 0025F1B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80262278 0025F1B8 38 80 59 6C */ li r4, 0x596c -/* 8026227C 0025F1BC 38 A0 00 00 */ li r5, 0 -/* 80262280 0025F1C0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80262284 0025F1C4 7D 89 03 A6 */ mtctr r12 -/* 80262288 0025F1C8 4E 80 04 21 */ bctrl -/* 8026228C 0025F1CC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80262290 0025F1D0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80262294 0025F1D4 7C 08 03 A6 */ mtlr r0 -/* 80262298 0025F1D8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026229C 0025F1DC 4E 80 00 20 */ blr - -.global exec__Q34Game4Rock11StateAppearFPQ24Game9EnemyBase -exec__Q34Game4Rock11StateAppearFPQ24Game9EnemyBase: -/* 802622A0 0025F1E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802622A4 0025F1E4 7C 08 02 A6 */ mflr r0 -/* 802622A8 0025F1E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802622AC 0025F1EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802622B0 0025F1F0 7C 9F 23 78 */ mr r31, r4 -/* 802622B4 0025F1F4 93 C1 00 08 */ stw r30, 8(r1) -/* 802622B8 0025F1F8 7C 7E 1B 78 */ mr r30, r3 -/* 802622BC 0025F1FC 7F E3 FB 78 */ mr r3, r31 -/* 802622C0 0025F200 48 00 16 C9 */ bl fallRockScaleUp__Q34Game4Rock3ObjFv -/* 802622C4 0025F204 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802622C8 0025F208 41 82 00 24 */ beq lbl_802622EC -/* 802622CC 0025F20C 7F C3 F3 78 */ mr r3, r30 -/* 802622D0 0025F210 7F E4 FB 78 */ mr r4, r31 -/* 802622D4 0025F214 81 9E 00 00 */ lwz r12, 0(r30) -/* 802622D8 0025F218 38 A0 00 03 */ li r5, 3 -/* 802622DC 0025F21C 38 C0 00 00 */ li r6, 0 -/* 802622E0 0025F220 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802622E4 0025F224 7D 89 03 A6 */ mtctr r12 -/* 802622E8 0025F228 4E 80 04 21 */ bctrl -lbl_802622EC: -/* 802622EC 0025F22C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802622F0 0025F230 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802622F4 0025F234 83 C1 00 08 */ lwz r30, 8(r1) -/* 802622F8 0025F238 7C 08 03 A6 */ mtlr r0 -/* 802622FC 0025F23C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262300 0025F240 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Rock11StateAppearFPQ24Game9EnemyBase -cleanup__Q34Game4Rock11StateAppearFPQ24Game9EnemyBase: -/* 80262304 0025F244 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262308 0025F248 7C 08 02 A6 */ mflr r0 -/* 8026230C 0025F24C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262310 0025F250 7C 80 23 78 */ mr r0, r4 -/* 80262314 0025F254 38 80 00 01 */ li r4, 1 -/* 80262318 0025F258 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026231C 0025F25C 7C 1F 03 78 */ mr r31, r0 -/* 80262320 0025F260 7F E3 FB 78 */ mr r3, r31 -/* 80262324 0025F264 81 9F 00 00 */ lwz r12, 0(r31) -/* 80262328 0025F268 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8026232C 0025F26C 7D 89 03 A6 */ mtctr r12 -/* 80262330 0025F270 4E 80 04 21 */ bctrl -/* 80262334 0025F274 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80262338 0025F278 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 8026233C 0025F27C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80262340 0025F280 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80262344 0025F284 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 -/* 80262348 0025F288 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026234C 0025F28C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262350 0025F290 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262354 0025F294 7C 08 03 A6 */ mtlr r0 -/* 80262358 0025F298 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026235C 0025F29C 4E 80 00 20 */ blr - -.global init__Q34Game4Rock13StateDropWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Rock13StateDropWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80262360 0025F2A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262364 0025F2A4 7C 08 02 A6 */ mflr r0 -/* 80262368 0025F2A8 7C 83 23 78 */ mr r3, r4 -/* 8026236C 0025F2AC 38 80 00 01 */ li r4, 1 -/* 80262370 0025F2B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262374 0025F2B4 38 A0 00 00 */ li r5, 0 -/* 80262378 0025F2B8 4B EA 2C 8D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026237C 0025F2BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262380 0025F2C0 7C 08 03 A6 */ mtlr r0 -/* 80262384 0025F2C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262388 0025F2C8 4E 80 00 20 */ blr - -.global exec__Q34Game4Rock13StateDropWaitFPQ24Game9EnemyBase -exec__Q34Game4Rock13StateDropWaitFPQ24Game9EnemyBase: -/* 8026238C 0025F2CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262390 0025F2D0 7C 08 02 A6 */ mflr r0 -/* 80262394 0025F2D4 38 A0 00 03 */ li r5, 3 -/* 80262398 0025F2D8 38 C0 00 00 */ li r6, 0 -/* 8026239C 0025F2DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802623A0 0025F2E0 81 83 00 00 */ lwz r12, 0(r3) -/* 802623A4 0025F2E4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802623A8 0025F2E8 7D 89 03 A6 */ mtctr r12 -/* 802623AC 0025F2EC 4E 80 04 21 */ bctrl -/* 802623B0 0025F2F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802623B4 0025F2F4 7C 08 03 A6 */ mtlr r0 -/* 802623B8 0025F2F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802623BC 0025F2FC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Rock13StateDropWaitFPQ24Game9EnemyBase -cleanup__Q34Game4Rock13StateDropWaitFPQ24Game9EnemyBase: -/* 802623C0 0025F300 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802623C4 0025F304 7C 08 02 A6 */ mflr r0 -/* 802623C8 0025F308 90 01 00 14 */ stw r0, 0x14(r1) -/* 802623CC 0025F30C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802623D0 0025F310 7C 9F 23 78 */ mr r31, r4 -/* 802623D4 0025F314 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802623D8 0025F318 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 802623DC 0025F31C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802623E0 0025F320 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802623E4 0025F324 54 00 04 E2 */ rlwinm r0, r0, 0, 0x13, 0x11 -/* 802623E8 0025F328 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802623EC 0025F32C 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 802623F0 0025F330 4B FD F8 BD */ bl addShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 802623F4 0025F334 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 802623F8 0025F338 7F E4 FB 78 */ mr r4, r31 -/* 802623FC 0025F33C 38 A0 00 01 */ li r5, 1 -/* 80262400 0025F340 4B FD FD 01 */ bl setForceVisible__Q24Game9ShadowMgrFPQ24Game8Creatureb -/* 80262404 0025F344 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262408 0025F348 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026240C 0025F34C 7C 08 03 A6 */ mtlr r0 -/* 80262410 0025F350 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262414 0025F354 4E 80 00 20 */ blr - -.global init__Q34Game4Rock9StateFallFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Rock9StateFallFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80262418 0025F358 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026241C 0025F35C 7C 08 02 A6 */ mflr r0 -/* 80262420 0025F360 C0 02 CA 10 */ lfs f0, lbl_8051AD70@sda21(r2) -/* 80262424 0025F364 90 01 00 24 */ stw r0, 0x24(r1) -/* 80262428 0025F368 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026242C 0025F36C 7C 9F 23 78 */ mr r31, r4 -/* 80262430 0025F370 38 81 00 08 */ addi r4, r1, 8 -/* 80262434 0025F374 C0 3F 02 CC */ lfs f1, 0x2cc(r31) -/* 80262438 0025F378 7F E3 FB 78 */ mr r3, r31 -/* 8026243C 0025F37C FC 20 08 50 */ fneg f1, f1 -/* 80262440 0025F380 D0 01 00 08 */ stfs f0, 8(r1) -/* 80262444 0025F384 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80262448 0025F388 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8026244C 0025F38C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80262450 0025F390 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80262454 0025F394 7D 89 03 A6 */ mtctr r12 -/* 80262458 0025F398 4E 80 04 21 */ bctrl -/* 8026245C 0025F39C 7F E3 FB 78 */ mr r3, r31 -/* 80262460 0025F3A0 48 00 1C 7D */ bl startFallEffect__Q34Game4Rock3ObjFv -/* 80262464 0025F3A4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80262468 0025F3A8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026246C 0025F3AC 7C 08 03 A6 */ mtlr r0 -/* 80262470 0025F3B0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80262474 0025F3B4 4E 80 00 20 */ blr - -.global exec__Q34Game4Rock9StateFallFPQ24Game9EnemyBase -exec__Q34Game4Rock9StateFallFPQ24Game9EnemyBase: -/* 80262478 0025F3B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026247C 0025F3BC 7C 08 02 A6 */ mflr r0 -/* 80262480 0025F3C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262484 0025F3C4 80 04 00 C8 */ lwz r0, 0xc8(r4) -/* 80262488 0025F3C8 28 00 00 00 */ cmplwi r0, 0 -/* 8026248C 0025F3CC 41 82 00 20 */ beq lbl_802624AC -/* 80262490 0025F3D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80262494 0025F3D4 38 A0 00 05 */ li r5, 5 -/* 80262498 0025F3D8 38 C0 00 00 */ li r6, 0 -/* 8026249C 0025F3DC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802624A0 0025F3E0 7D 89 03 A6 */ mtctr r12 -/* 802624A4 0025F3E4 4E 80 04 21 */ bctrl -/* 802624A8 0025F3E8 48 00 00 28 */ b lbl_802624D0 -lbl_802624AC: -/* 802624AC 0025F3EC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802624B0 0025F3F0 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 802624B4 0025F3F4 41 82 00 1C */ beq lbl_802624D0 -/* 802624B8 0025F3F8 81 83 00 00 */ lwz r12, 0(r3) -/* 802624BC 0025F3FC 38 A0 00 05 */ li r5, 5 -/* 802624C0 0025F400 38 C0 00 00 */ li r6, 0 -/* 802624C4 0025F404 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802624C8 0025F408 7D 89 03 A6 */ mtctr r12 -/* 802624CC 0025F40C 4E 80 04 21 */ bctrl -lbl_802624D0: -/* 802624D0 0025F410 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802624D4 0025F414 7C 08 03 A6 */ mtlr r0 -/* 802624D8 0025F418 38 21 00 10 */ addi r1, r1, 0x10 -/* 802624DC 0025F41C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Rock9StateFallFPQ24Game9EnemyBase -cleanup__Q34Game4Rock9StateFallFPQ24Game9EnemyBase: -/* 802624E0 0025F420 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802624E4 0025F424 7C 08 02 A6 */ mflr r0 -/* 802624E8 0025F428 38 A0 00 00 */ li r5, 0 -/* 802624EC 0025F42C 90 01 00 34 */ stw r0, 0x34(r1) -/* 802624F0 0025F430 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802624F4 0025F434 7C 9F 23 78 */ mr r31, r4 -/* 802624F8 0025F438 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 802624FC 0025F43C 4B FD FC 05 */ bl setForceVisible__Q24Game9ShadowMgrFPQ24Game8Creatureb -/* 80262500 0025F440 7F E3 FB 78 */ mr r3, r31 -/* 80262504 0025F444 48 00 1C 0D */ bl finishFallEffect__Q34Game4Rock3ObjFv -/* 80262508 0025F448 7F E4 FB 78 */ mr r4, r31 -/* 8026250C 0025F44C 38 61 00 08 */ addi r3, r1, 8 -/* 80262510 0025F450 81 9F 00 00 */ lwz r12, 0(r31) -/* 80262514 0025F454 81 8C 00 08 */ lwz r12, 8(r12) -/* 80262518 0025F458 7D 89 03 A6 */ mtctr r12 -/* 8026251C 0025F45C 4E 80 04 21 */ bctrl -/* 80262520 0025F460 C0 41 00 08 */ lfs f2, 8(r1) -/* 80262524 0025F464 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80262528 0025F468 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8026252C 0025F46C 38 80 00 1B */ li r4, 0x1b -/* 80262530 0025F470 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80262534 0025F474 38 C0 00 02 */ li r6, 2 -/* 80262538 0025F478 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8026253C 0025F47C 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80262540 0025F480 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80262544 0025F484 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80262548 0025F488 4B FE FC F5 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 8026254C 0025F48C 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80262550 0025F490 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80262554 0025F494 38 80 00 0E */ li r4, 0xe -/* 80262558 0025F498 38 C0 00 02 */ li r6, 2 -/* 8026255C 0025F49C 4B FF 12 25 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80262560 0025F4A0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80262564 0025F4A4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80262568 0025F4A8 7C 08 03 A6 */ mtlr r0 -/* 8026256C 0025F4AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80262570 0025F4B0 4E 80 00 20 */ blr - -.global init__Q34Game4Rock9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Rock9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80262574 0025F4B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262578 0025F4B8 7C 08 02 A6 */ mflr r0 -/* 8026257C 0025F4BC 38 A0 00 00 */ li r5, 0 -/* 80262580 0025F4C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262584 0025F4C4 7C 80 23 78 */ mr r0, r4 -/* 80262588 0025F4C8 38 80 00 01 */ li r4, 1 -/* 8026258C 0025F4CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262590 0025F4D0 7C 1F 03 78 */ mr r31, r0 -/* 80262594 0025F4D4 7F E3 FB 78 */ mr r3, r31 -/* 80262598 0025F4D8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026259C 0025F4DC 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 802625A0 0025F4E0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802625A4 0025F4E4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802625A8 0025F4E8 54 00 04 E2 */ rlwinm r0, r0, 0, 0x13, 0x11 -/* 802625AC 0025F4EC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802625B0 0025F4F0 4B EA 2A 55 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802625B4 0025F4F4 C0 02 CA 10 */ lfs f0, lbl_8051AD70@sda21(r2) -/* 802625B8 0025F4F8 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 802625BC 0025F4FC 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 802625C0 0025F500 28 00 00 00 */ cmplwi r0, 0 -/* 802625C4 0025F504 41 82 00 10 */ beq lbl_802625D4 -/* 802625C8 0025F508 7F E3 FB 78 */ mr r3, r31 -/* 802625CC 0025F50C 48 00 1B D9 */ bl startRollingWaterEffect__Q34Game4Rock3ObjFv -/* 802625D0 0025F510 48 00 00 0C */ b lbl_802625DC -lbl_802625D4: -/* 802625D4 0025F514 7F E3 FB 78 */ mr r3, r31 -/* 802625D8 0025F518 48 00 1B 69 */ bl startRollingGroundEffect__Q34Game4Rock3ObjFv -lbl_802625DC: -/* 802625DC 0025F51C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802625E0 0025F520 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802625E4 0025F524 7C 08 03 A6 */ mtlr r0 -/* 802625E8 0025F528 38 21 00 10 */ addi r1, r1, 0x10 -/* 802625EC 0025F52C 4E 80 00 20 */ blr - -.global exec__Q34Game4Rock9StateMoveFPQ24Game9EnemyBase -exec__Q34Game4Rock9StateMoveFPQ24Game9EnemyBase: -/* 802625F0 0025F530 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802625F4 0025F534 7C 08 02 A6 */ mflr r0 -/* 802625F8 0025F538 90 01 00 14 */ stw r0, 0x14(r1) -/* 802625FC 0025F53C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262600 0025F540 7C 9F 23 78 */ mr r31, r4 -/* 80262604 0025F544 93 C1 00 08 */ stw r30, 8(r1) -/* 80262608 0025F548 7C 7E 1B 78 */ mr r30, r3 -/* 8026260C 0025F54C 7F E3 FB 78 */ mr r3, r31 -/* 80262610 0025F550 48 00 15 71 */ bl updateMoveVelocity__Q34Game4Rock3ObjFv -/* 80262614 0025F554 7F E3 FB 78 */ mr r3, r31 -/* 80262618 0025F558 48 00 13 ED */ bl moveRockScaleUp__Q34Game4Rock3ObjFv -/* 8026261C 0025F55C 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 80262620 0025F560 7F E3 FB 78 */ mr r3, r31 -/* 80262624 0025F564 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 80262628 0025F568 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 8026262C 0025F56C EC 01 00 2A */ fadds f0, f1, f0 -/* 80262630 0025F570 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 80262634 0025F574 48 00 1C DD */ bl updateWaterEffectPosition__Q34Game4Rock3ObjFv -/* 80262638 0025F578 7F E3 FB 78 */ mr r3, r31 -/* 8026263C 0025F57C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80262640 0025F580 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80262644 0025F584 7D 89 03 A6 */ mtctr r12 -/* 80262648 0025F588 4E 80 04 21 */ bctrl -/* 8026264C 0025F58C 81 83 00 00 */ lwz r12, 0(r3) -/* 80262650 0025F590 38 80 50 6A */ li r4, 0x506a -/* 80262654 0025F594 38 A0 00 00 */ li r5, 0 -/* 80262658 0025F598 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026265C 0025F59C 7D 89 03 A6 */ mtctr r12 -/* 80262660 0025F5A0 4E 80 04 21 */ bctrl -/* 80262664 0025F5A4 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80262668 0025F5A8 C0 02 CA 10 */ lfs f0, lbl_8051AD70@sda21(r2) -/* 8026266C 0025F5AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80262670 0025F5B0 4C 40 13 82 */ cror 2, 0, 2 -/* 80262674 0025F5B4 41 82 00 14 */ beq lbl_80262688 -/* 80262678 0025F5B8 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8026267C 0025F5BC C0 02 CA 18 */ lfs f0, lbl_8051AD78@sda21(r2) -/* 80262680 0025F5C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80262684 0025F5C4 40 81 00 24 */ ble lbl_802626A8 -lbl_80262688: -/* 80262688 0025F5C8 7F C3 F3 78 */ mr r3, r30 -/* 8026268C 0025F5CC 7F E4 FB 78 */ mr r4, r31 -/* 80262690 0025F5D0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80262694 0025F5D4 38 A0 00 05 */ li r5, 5 -/* 80262698 0025F5D8 38 C0 00 00 */ li r6, 0 -/* 8026269C 0025F5DC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802626A0 0025F5E0 7D 89 03 A6 */ mtctr r12 -/* 802626A4 0025F5E4 4E 80 04 21 */ bctrl -lbl_802626A8: -/* 802626A8 0025F5E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802626AC 0025F5EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802626B0 0025F5F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802626B4 0025F5F4 7C 08 03 A6 */ mtlr r0 -/* 802626B8 0025F5F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802626BC 0025F5FC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Rock9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game4Rock9StateMoveFPQ24Game9EnemyBase: -/* 802626C0 0025F600 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802626C4 0025F604 7C 08 02 A6 */ mflr r0 -/* 802626C8 0025F608 90 01 00 34 */ stw r0, 0x34(r1) -/* 802626CC 0025F60C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802626D0 0025F610 7C 9F 23 78 */ mr r31, r4 -/* 802626D4 0025F614 7F E3 FB 78 */ mr r3, r31 -/* 802626D8 0025F618 48 00 1A 9D */ bl finishRollingGroundEffect__Q34Game4Rock3ObjFv -/* 802626DC 0025F61C 7F E3 FB 78 */ mr r3, r31 -/* 802626E0 0025F620 48 00 1B BD */ bl finishRollingWaterEffect__Q34Game4Rock3ObjFv -/* 802626E4 0025F624 7F E4 FB 78 */ mr r4, r31 -/* 802626E8 0025F628 38 61 00 08 */ addi r3, r1, 8 -/* 802626EC 0025F62C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802626F0 0025F630 81 8C 00 08 */ lwz r12, 8(r12) -/* 802626F4 0025F634 7D 89 03 A6 */ mtctr r12 -/* 802626F8 0025F638 4E 80 04 21 */ bctrl -/* 802626FC 0025F63C C0 41 00 08 */ lfs f2, 8(r1) -/* 80262700 0025F640 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80262704 0025F644 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80262708 0025F648 38 80 00 0E */ li r4, 0xe -/* 8026270C 0025F64C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80262710 0025F650 38 C0 00 02 */ li r6, 2 -/* 80262714 0025F654 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80262718 0025F658 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 8026271C 0025F65C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80262720 0025F660 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80262724 0025F664 4B FF 10 5D */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80262728 0025F668 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026272C 0025F66C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80262730 0025F670 7C 08 03 A6 */ mtlr r0 -/* 80262734 0025F674 38 21 00 30 */ addi r1, r1, 0x30 -/* 80262738 0025F678 4E 80 00 20 */ blr - -.global init__Q34Game4Rock9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Rock9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026273C 0025F67C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262740 0025F680 7C 08 02 A6 */ mflr r0 -/* 80262744 0025F684 C0 02 CA 10 */ lfs f0, lbl_8051AD70@sda21(r2) -/* 80262748 0025F688 38 A0 00 00 */ li r5, 0 -/* 8026274C 0025F68C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262750 0025F690 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262754 0025F694 7C 9F 23 78 */ mr r31, r4 -/* 80262758 0025F698 38 80 00 00 */ li r4, 0 -/* 8026275C 0025F69C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80262760 0025F6A0 7F E3 FB 78 */ mr r3, r31 -/* 80262764 0025F6A4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80262768 0025F6A8 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8026276C 0025F6AC 4B EA 28 99 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80262770 0025F6B0 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 80262774 0025F6B4 7F E4 FB 78 */ mr r4, r31 -/* 80262778 0025F6B8 4B FD F5 79 */ bl delShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8026277C 0025F6BC 7F E3 FB 78 */ mr r3, r31 -/* 80262780 0025F6C0 48 00 1C 35 */ bl createRockDeadEffect__Q34Game4Rock3ObjFv -/* 80262784 0025F6C4 7F E3 FB 78 */ mr r3, r31 -/* 80262788 0025F6C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026278C 0025F6CC 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80262790 0025F6D0 7D 89 03 A6 */ mtctr r12 -/* 80262794 0025F6D4 4E 80 04 21 */ bctrl -/* 80262798 0025F6D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026279C 0025F6DC 38 80 58 6B */ li r4, 0x586b -/* 802627A0 0025F6E0 38 A0 00 00 */ li r5, 0 -/* 802627A4 0025F6E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802627A8 0025F6E8 7D 89 03 A6 */ mtctr r12 -/* 802627AC 0025F6EC 4E 80 04 21 */ bctrl -/* 802627B0 0025F6F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802627B4 0025F6F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802627B8 0025F6F8 7C 08 03 A6 */ mtlr r0 -/* 802627BC 0025F6FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802627C0 0025F700 4E 80 00 20 */ blr - -.global exec__Q34Game4Rock9StateDeadFPQ24Game9EnemyBase -exec__Q34Game4Rock9StateDeadFPQ24Game9EnemyBase: -/* 802627C4 0025F704 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802627C8 0025F708 7C 08 02 A6 */ mflr r0 -/* 802627CC 0025F70C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802627D0 0025F710 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802627D4 0025F714 7C 9F 23 78 */ mr r31, r4 -/* 802627D8 0025F718 7F E3 FB 78 */ mr r3, r31 -/* 802627DC 0025F71C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802627E0 0025F720 81 8C 00 A0 */ lwz r12, 0xa0(r12) -/* 802627E4 0025F724 7D 89 03 A6 */ mtctr r12 -/* 802627E8 0025F728 4E 80 04 21 */ bctrl -/* 802627EC 0025F72C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802627F0 0025F730 41 82 00 24 */ beq lbl_80262814 -/* 802627F4 0025F734 7F E3 FB 78 */ mr r3, r31 -/* 802627F8 0025F738 38 80 00 00 */ li r4, 0 -/* 802627FC 0025F73C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80262800 0025F740 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 80262804 0025F744 7D 89 03 A6 */ mtctr r12 -/* 80262808 0025F748 4E 80 04 21 */ bctrl -/* 8026280C 0025F74C 7F E3 FB 78 */ mr r3, r31 -/* 80262810 0025F750 4B EA 4F 6D */ bl hardConstraintOn__Q24Game9EnemyBaseFv -lbl_80262814: -/* 80262814 0025F754 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80262818 0025F758 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8026281C 0025F75C 28 00 00 00 */ cmplwi r0, 0 -/* 80262820 0025F760 41 82 00 1C */ beq lbl_8026283C -/* 80262824 0025F764 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80262828 0025F768 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8026282C 0025F76C 40 82 00 10 */ bne lbl_8026283C -/* 80262830 0025F770 7F E3 FB 78 */ mr r3, r31 -/* 80262834 0025F774 38 80 00 00 */ li r4, 0 -/* 80262838 0025F778 4B ED 88 B9 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_8026283C: -/* 8026283C 0025F77C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262840 0025F780 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262844 0025F784 7C 08 03 A6 */ mtlr r0 -/* 80262848 0025F788 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026284C 0025F78C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Rock9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game4Rock9StateDeadFPQ24Game9EnemyBase: -/* 80262850 0025F790 4E 80 00 20 */ blr - -.global __sinit_RockState_cpp -__sinit_RockState_cpp: -/* 80262854 0025F794 3C 80 80 51 */ lis r4, __float_nan@ha -/* 80262858 0025F798 38 00 FF FF */ li r0, -1 -/* 8026285C 0025F79C C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 80262860 0025F7A0 3C 60 80 4C */ lis r3, lbl_804C3EB8@ha -/* 80262864 0025F7A4 90 0D 96 C0 */ stw r0, lbl_80515D40@sda21(r13) -/* 80262868 0025F7A8 D4 03 3E B8 */ stfsu f0, lbl_804C3EB8@l(r3) -/* 8026286C 0025F7AC D0 0D 96 C4 */ stfs f0, lbl_80515D44@sda21(r13) -/* 80262870 0025F7B0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80262874 0025F7B4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80262878 0025F7B8 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game4Rock14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game4Rock14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8026287C 0025F7BC 90 83 00 20 */ stw r4, 0x20(r3) -/* 80262880 0025F7C0 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Rock14ProperAnimatorFi -getAnimator__Q34Game4Rock14ProperAnimatorFi: -/* 80262884 0025F7C4 38 63 00 10 */ addi r3, r3, 0x10 -/* 80262888 0025F7C8 4E 80 00 20 */ blr - -.global __dt__Q34Game4Rock14ProperAnimatorFv -__dt__Q34Game4Rock14ProperAnimatorFv: -/* 8026288C 0025F7CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262890 0025F7D0 7C 08 02 A6 */ mflr r0 -/* 80262894 0025F7D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262898 0025F7D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026289C 0025F7DC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802628A0 0025F7E0 41 82 00 30 */ beq lbl_802628D0 -/* 802628A4 0025F7E4 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock14ProperAnimator@ha -/* 802628A8 0025F7E8 38 03 3F E8 */ addi r0, r3, __vt__Q34Game4Rock14ProperAnimator@l -/* 802628AC 0025F7EC 90 1F 00 00 */ stw r0, 0(r31) -/* 802628B0 0025F7F0 41 82 00 10 */ beq lbl_802628C0 -/* 802628B4 0025F7F4 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 802628B8 0025F7F8 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 802628BC 0025F7FC 90 1F 00 00 */ stw r0, 0(r31) -lbl_802628C0: -/* 802628C0 0025F800 7C 80 07 35 */ extsh. r0, r4 -/* 802628C4 0025F804 40 81 00 0C */ ble lbl_802628D0 -/* 802628C8 0025F808 7F E3 FB 78 */ mr r3, r31 -/* 802628CC 0025F80C 4B DC 17 E9 */ bl __dl__FPv -lbl_802628D0: -/* 802628D0 0025F810 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802628D4 0025F814 7F E3 FB 78 */ mr r3, r31 -/* 802628D8 0025F818 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802628DC 0025F81C 7C 08 03 A6 */ mtlr r0 -/* 802628E0 0025F820 38 21 00 10 */ addi r1, r1, 0x10 -/* 802628E4 0025F824 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Rock14ProperAnimatorFv -getAnimator__Q34Game4Rock14ProperAnimatorFv: -/* 802628E8 0025F828 38 63 00 10 */ addi r3, r3, 0x10 -/* 802628EC 0025F82C 4E 80 00 20 */ blr - -.global __ct__Q34Game4Rock9GeneratorFv -__ct__Q34Game4Rock9GeneratorFv: -/* 802628F0 0025F830 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802628F4 0025F834 7C 08 02 A6 */ mflr r0 -/* 802628F8 0025F838 3C A0 80 48 */ lis r5, lbl_804857A4@ha -/* 802628FC 0025F83C 3C 80 80 4F */ lis r4, __vt__5CNode@ha -/* 80262900 0025F840 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262904 0025F844 38 04 B5 28 */ addi r0, r4, __vt__5CNode@l -/* 80262908 0025F848 3C 80 3F 3F */ lis r4, 0x3F3F3F3F@ha -/* 8026290C 0025F84C 38 C0 00 00 */ li r6, 0 -/* 80262910 0025F850 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262914 0025F854 7C 7F 1B 78 */ mr r31, r3 -/* 80262918 0025F858 38 A5 57 A4 */ addi r5, r5, lbl_804857A4@l -/* 8026291C 0025F85C 38 84 3F 3F */ addi r4, r4, 0x3F3F3F3F@l -/* 80262920 0025F860 90 03 00 00 */ stw r0, 0(r3) -/* 80262924 0025F864 3C 60 80 4B */ lis r3, __vt__Q24Game18EnemyGeneratorBase@ha -/* 80262928 0025F868 38 03 DB B0 */ addi r0, r3, __vt__Q24Game18EnemyGeneratorBase@l -/* 8026292C 0025F86C 7F E7 FB 78 */ mr r7, r31 -/* 80262930 0025F870 90 DF 00 10 */ stw r6, 0x10(r31) -/* 80262934 0025F874 38 67 00 18 */ addi r3, r7, 0x18 -/* 80262938 0025F878 90 DF 00 0C */ stw r6, 0xc(r31) -/* 8026293C 0025F87C 90 DF 00 08 */ stw r6, 8(r31) -/* 80262940 0025F880 90 DF 00 04 */ stw r6, 4(r31) -/* 80262944 0025F884 90 BF 00 14 */ stw r5, 0x14(r31) -/* 80262948 0025F888 90 1F 00 00 */ stw r0, 0(r31) -/* 8026294C 0025F88C 48 1B 09 5D */ bl __ct__4ID32FUl -/* 80262950 0025F890 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock9Generator@ha -/* 80262954 0025F894 C0 42 CA 20 */ lfs f2, lbl_8051AD80@sda21(r2) -/* 80262958 0025F898 38 03 40 FC */ addi r0, r3, __vt__Q34Game4Rock9Generator@l -/* 8026295C 0025F89C C0 22 CA 24 */ lfs f1, lbl_8051AD84@sda21(r2) -/* 80262960 0025F8A0 90 1F 00 00 */ stw r0, 0(r31) -/* 80262964 0025F8A4 7F E3 FB 78 */ mr r3, r31 -/* 80262968 0025F8A8 C0 02 CA 28 */ lfs f0, lbl_8051AD88@sda21(r2) -/* 8026296C 0025F8AC D0 5F 00 24 */ stfs f2, 0x24(r31) -/* 80262970 0025F8B0 D0 3F 00 28 */ stfs f1, 0x28(r31) -/* 80262974 0025F8B4 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80262978 0025F8B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026297C 0025F8BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262980 0025F8C0 7C 08 03 A6 */ mtlr r0 -/* 80262984 0025F8C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262988 0025F8C8 4E 80 00 20 */ blr - -.global getLatestVersion__Q34Game4Rock9GeneratorFv -getLatestVersion__Q34Game4Rock9GeneratorFv: -/* 8026298C 0025F8CC 3C 60 30 30 */ lis r3, 0x30303030@ha -/* 80262990 0025F8D0 38 63 30 30 */ addi r3, r3, 0x30303030@l -/* 80262994 0025F8D4 4E 80 00 20 */ blr - -.global doRead__Q34Game4Rock9GeneratorFR6Stream -doRead__Q34Game4Rock9GeneratorFR6Stream: -/* 80262998 0025F8D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026299C 0025F8DC 7C 08 02 A6 */ mflr r0 -/* 802629A0 0025F8E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802629A4 0025F8E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802629A8 0025F8E8 7C 9F 23 78 */ mr r31, r4 -/* 802629AC 0025F8EC 93 C1 00 08 */ stw r30, 8(r1) -/* 802629B0 0025F8F0 7C 7E 1B 78 */ mr r30, r3 -/* 802629B4 0025F8F4 81 83 00 00 */ lwz r12, 0(r3) -/* 802629B8 0025F8F8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802629BC 0025F8FC 7D 89 03 A6 */ mtctr r12 -/* 802629C0 0025F900 4E 80 04 21 */ bctrl -/* 802629C4 0025F904 7C 64 1B 78 */ mr r4, r3 -/* 802629C8 0025F908 38 7E 00 18 */ addi r3, r30, 0x18 -/* 802629CC 0025F90C 48 1B 0A 69 */ bl __eq__4ID32FUl -/* 802629D0 0025F910 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802629D4 0025F914 41 82 00 14 */ beq lbl_802629E8 -/* 802629D8 0025F918 7F C3 F3 78 */ mr r3, r30 -/* 802629DC 0025F91C 7F E4 FB 78 */ mr r4, r31 -/* 802629E0 0025F920 48 00 00 D1 */ bl doReadLatestVersion__Q34Game4Rock9GeneratorFR6Stream -/* 802629E4 0025F924 48 00 00 10 */ b lbl_802629F4 -lbl_802629E8: -/* 802629E8 0025F928 7F C3 F3 78 */ mr r3, r30 -/* 802629EC 0025F92C 7F E4 FB 78 */ mr r4, r31 -/* 802629F0 0025F930 48 00 01 19 */ bl doReadOldVersion__Q34Game4Rock9GeneratorFR6Stream -lbl_802629F4: -/* 802629F4 0025F934 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802629F8 0025F938 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802629FC 0025F93C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80262A00 0025F940 7C 08 03 A6 */ mtlr r0 -/* 80262A04 0025F944 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262A08 0025F948 4E 80 00 20 */ blr - -.global doWrite__Q34Game4Rock9GeneratorFR6Stream -doWrite__Q34Game4Rock9GeneratorFR6Stream: -/* 80262A0C 0025F94C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80262A10 0025F950 7C 08 02 A6 */ mflr r0 -/* 80262A14 0025F954 3C A0 80 48 */ lis r5, lbl_80485798@ha -/* 80262A18 0025F958 90 01 00 24 */ stw r0, 0x24(r1) -/* 80262A1C 0025F95C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80262A20 0025F960 3B E5 57 98 */ addi r31, r5, lbl_80485798@l -/* 80262A24 0025F964 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80262A28 0025F968 7C 9E 23 78 */ mr r30, r4 -/* 80262A2C 0025F96C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80262A30 0025F970 7C 7D 1B 78 */ mr r29, r3 -/* 80262A34 0025F974 7F C3 F3 78 */ mr r3, r30 -/* 80262A38 0025F978 80 84 04 14 */ lwz r4, 0x414(r4) -/* 80262A3C 0025F97C 48 1B 19 F9 */ bl textWriteTab__6StreamFi -/* 80262A40 0025F980 C0 3D 00 24 */ lfs f1, 0x24(r29) -/* 80262A44 0025F984 7F C3 F3 78 */ mr r3, r30 -/* 80262A48 0025F988 48 1B 2E 01 */ bl writeFloat__6StreamFf -/* 80262A4C 0025F98C 7F C3 F3 78 */ mr r3, r30 -/* 80262A50 0025F990 38 9F 00 20 */ addi r4, r31, 0x20 -/* 80262A54 0025F994 4C C6 31 82 */ crclr 6 -/* 80262A58 0025F998 48 1B 17 85 */ bl textWriteText__6StreamFPce -/* 80262A5C 0025F99C C0 3D 00 28 */ lfs f1, 0x28(r29) -/* 80262A60 0025F9A0 7F C3 F3 78 */ mr r3, r30 -/* 80262A64 0025F9A4 48 1B 2D E5 */ bl writeFloat__6StreamFf -/* 80262A68 0025F9A8 7F C3 F3 78 */ mr r3, r30 -/* 80262A6C 0025F9AC 38 9F 00 30 */ addi r4, r31, 0x30 -/* 80262A70 0025F9B0 4C C6 31 82 */ crclr 6 -/* 80262A74 0025F9B4 48 1B 17 69 */ bl textWriteText__6StreamFPce -/* 80262A78 0025F9B8 C0 3D 00 2C */ lfs f1, 0x2c(r29) -/* 80262A7C 0025F9BC 7F C3 F3 78 */ mr r3, r30 -/* 80262A80 0025F9C0 48 1B 2D C9 */ bl writeFloat__6StreamFf -/* 80262A84 0025F9C4 7F C3 F3 78 */ mr r3, r30 -/* 80262A88 0025F9C8 38 9F 00 40 */ addi r4, r31, 0x40 -/* 80262A8C 0025F9CC 4C C6 31 82 */ crclr 6 -/* 80262A90 0025F9D0 48 1B 17 4D */ bl textWriteText__6StreamFPce -/* 80262A94 0025F9D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80262A98 0025F9D8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80262A9C 0025F9DC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80262AA0 0025F9E0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80262AA4 0025F9E4 7C 08 03 A6 */ mtlr r0 -/* 80262AA8 0025F9E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80262AAC 0025F9EC 4E 80 00 20 */ blr - -.global doReadLatestVersion__Q34Game4Rock9GeneratorFR6Stream -doReadLatestVersion__Q34Game4Rock9GeneratorFR6Stream: -/* 80262AB0 0025F9F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262AB4 0025F9F4 7C 08 02 A6 */ mflr r0 -/* 80262AB8 0025F9F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262ABC 0025F9FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262AC0 0025FA00 7C 9F 23 78 */ mr r31, r4 -/* 80262AC4 0025FA04 93 C1 00 08 */ stw r30, 8(r1) -/* 80262AC8 0025FA08 7C 7E 1B 78 */ mr r30, r3 -/* 80262ACC 0025FA0C 7F E3 FB 78 */ mr r3, r31 -/* 80262AD0 0025FA10 48 1B 22 DD */ bl readFloat__6StreamFv -/* 80262AD4 0025FA14 D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 80262AD8 0025FA18 7F E3 FB 78 */ mr r3, r31 -/* 80262ADC 0025FA1C 48 1B 22 D1 */ bl readFloat__6StreamFv -/* 80262AE0 0025FA20 D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 80262AE4 0025FA24 7F E3 FB 78 */ mr r3, r31 -/* 80262AE8 0025FA28 48 1B 22 C5 */ bl readFloat__6StreamFv -/* 80262AEC 0025FA2C D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 80262AF0 0025FA30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262AF4 0025FA34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262AF8 0025FA38 83 C1 00 08 */ lwz r30, 8(r1) -/* 80262AFC 0025FA3C 7C 08 03 A6 */ mtlr r0 -/* 80262B00 0025FA40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262B04 0025FA44 4E 80 00 20 */ blr - -.global doReadOldVersion__Q34Game4Rock9GeneratorFR6Stream -doReadOldVersion__Q34Game4Rock9GeneratorFR6Stream: -/* 80262B08 0025FA48 4E 80 00 20 */ blr - -.global __ct__Q34Game4Rock3MgrFiUc -__ct__Q34Game4Rock3MgrFiUc: -/* 80262B0C 0025FA4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262B10 0025FA50 7C 08 02 A6 */ mflr r0 -/* 80262B14 0025FA54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262B18 0025FA58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262B1C 0025FA5C 7C 7F 1B 78 */ mr r31, r3 -/* 80262B20 0025FA60 4B EC C1 75 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80262B24 0025FA64 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock3Mgr@ha -/* 80262B28 0025FA68 3C 80 80 48 */ lis r4, lbl_804857E8@ha -/* 80262B2C 0025FA6C 38 A3 40 1C */ addi r5, r3, __vt__Q34Game4Rock3Mgr@l -/* 80262B30 0025FA70 7F E3 FB 78 */ mr r3, r31 -/* 80262B34 0025FA74 90 BF 00 00 */ stw r5, 0(r31) -/* 80262B38 0025FA78 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80262B3C 0025FA7C 38 04 57 E8 */ addi r0, r4, lbl_804857E8@l -/* 80262B40 0025FA80 90 BF 00 04 */ stw r5, 4(r31) -/* 80262B44 0025FA84 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80262B48 0025FA88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262B4C 0025FA8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262B50 0025FA90 7C 08 03 A6 */ mtlr r0 -/* 80262B54 0025FA94 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262B58 0025FA98 4E 80 00 20 */ blr - -.global doAlloc__Q34Game4Rock3MgrFv -doAlloc__Q34Game4Rock3MgrFv: -/* 80262B5C 0025FA9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262B60 0025FAA0 7C 08 02 A6 */ mflr r0 -/* 80262B64 0025FAA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262B68 0025FAA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262B6C 0025FAAC 7C 7F 1B 78 */ mr r31, r3 -/* 80262B70 0025FAB0 38 60 08 30 */ li r3, 0x830 -/* 80262B74 0025FAB4 4B DC 13 31 */ bl __nw__FUl -/* 80262B78 0025FAB8 7C 64 1B 79 */ or. r4, r3, r3 -/* 80262B7C 0025FABC 41 82 00 0C */ beq lbl_80262B88 -/* 80262B80 0025FAC0 48 00 00 25 */ bl __ct__Q34Game4Rock5ParmsFv -/* 80262B84 0025FAC4 7C 64 1B 78 */ mr r4, r3 -lbl_80262B88: -/* 80262B88 0025FAC8 7F E3 FB 78 */ mr r3, r31 -/* 80262B8C 0025FACC 4B EC CD 11 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80262B90 0025FAD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262B94 0025FAD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262B98 0025FAD8 7C 08 03 A6 */ mtlr r0 -/* 80262B9C 0025FADC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262BA0 0025FAE0 4E 80 00 20 */ blr - -.global __ct__Q34Game4Rock5ParmsFv -__ct__Q34Game4Rock5ParmsFv: -/* 80262BA4 0025FAE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262BA8 0025FAE8 7C 08 02 A6 */ mflr r0 -/* 80262BAC 0025FAEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262BB0 0025FAF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262BB4 0025FAF4 7C 7F 1B 78 */ mr r31, r3 -/* 80262BB8 0025FAF8 4B EA 6B E5 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80262BBC 0025FAFC 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock5Parms@ha -/* 80262BC0 0025FB00 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 80262BC4 0025FB04 38 03 40 10 */ addi r0, r3, __vt__Q34Game4Rock5Parms@l -/* 80262BC8 0025FB08 3C 80 80 48 */ lis r4, lbl_804857F8@ha -/* 80262BCC 0025FB0C 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 80262BD0 0025FB10 38 1F 08 2C */ addi r0, r31, 0x82c -/* 80262BD4 0025FB14 3C 60 80 48 */ lis r3, lbl_80485808@ha -/* 80262BD8 0025FB18 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80262BDC 0025FB1C 90 1F 07 F8 */ stw r0, 0x7f8(r31) -/* 80262BE0 0025FB20 38 C3 58 08 */ addi r6, r3, lbl_80485808@l -/* 80262BE4 0025FB24 38 60 00 00 */ li r3, 0 -/* 80262BE8 0025FB28 38 04 57 F8 */ addi r0, r4, lbl_804857F8@l -/* 80262BEC 0025FB2C 90 7F 07 FC */ stw r3, 0x7fc(r31) -/* 80262BF0 0025FB30 38 7F 08 04 */ addi r3, r31, 0x804 -/* 80262BF4 0025FB34 38 9F 07 F8 */ addi r4, r31, 0x7f8 -/* 80262BF8 0025FB38 90 1F 08 00 */ stw r0, 0x800(r31) -/* 80262BFC 0025FB3C 48 1B 0A 5D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80262C00 0025FB40 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80262C04 0025FB44 C0 42 CA 2C */ lfs f2, lbl_8051AD8C@sda21(r2) -/* 80262C08 0025FB48 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80262C0C 0025FB4C C0 22 CA 30 */ lfs f1, lbl_8051AD90@sda21(r2) -/* 80262C10 0025FB50 90 1F 08 04 */ stw r0, 0x804(r31) -/* 80262C14 0025FB54 7F E3 FB 78 */ mr r3, r31 -/* 80262C18 0025FB58 C0 02 CA 34 */ lfs f0, lbl_8051AD94@sda21(r2) -/* 80262C1C 0025FB5C D0 5F 08 1C */ stfs f2, 0x81c(r31) -/* 80262C20 0025FB60 D0 3F 08 24 */ stfs f1, 0x824(r31) -/* 80262C24 0025FB64 D0 1F 08 28 */ stfs f0, 0x828(r31) -/* 80262C28 0025FB68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262C2C 0025FB6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262C30 0025FB70 7C 08 03 A6 */ mtlr r0 -/* 80262C34 0025FB74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262C38 0025FB78 4E 80 00 20 */ blr - -.global createObj__Q34Game4Rock3MgrFi -createObj__Q34Game4Rock3MgrFi: -/* 80262C3C 0025FB7C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80262C40 0025FB80 7C 08 02 A6 */ mflr r0 -/* 80262C44 0025FB84 90 01 00 24 */ stw r0, 0x24(r1) -/* 80262C48 0025FB88 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80262C4C 0025FB8C 7C 7F 1B 78 */ mr r31, r3 -/* 80262C50 0025FB90 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80262C54 0025FB94 7C 9E 23 78 */ mr r30, r4 -/* 80262C58 0025FB98 1C 7E 02 F8 */ mulli r3, r30, 0x2f8 -/* 80262C5C 0025FB9C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80262C60 0025FBA0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80262C64 0025FBA4 38 63 00 10 */ addi r3, r3, 0x10 -/* 80262C68 0025FBA8 4B DC 13 45 */ bl __nwa__FUl -/* 80262C6C 0025FBAC 3C 80 80 26 */ lis r4, __ct__Q34Game4Rock3ObjFv@ha -/* 80262C70 0025FBB0 3C A0 80 26 */ lis r5, __dt__Q34Game4Rock3ObjFv@ha -/* 80262C74 0025FBB4 38 84 2F F0 */ addi r4, r4, __ct__Q34Game4Rock3ObjFv@l -/* 80262C78 0025FBB8 7F C7 F3 78 */ mr r7, r30 -/* 80262C7C 0025FBBC 38 A5 2D 9C */ addi r5, r5, __dt__Q34Game4Rock3ObjFv@l -/* 80262C80 0025FBC0 38 C0 02 F8 */ li r6, 0x2f8 -/* 80262C84 0025FBC4 4B E5 ED 6D */ bl __construct_new_array -/* 80262C88 0025FBC8 90 7F 00 44 */ stw r3, 0x44(r31) -/* 80262C8C 0025FBCC 3B C1 00 08 */ addi r30, r1, 8 -/* 80262C90 0025FBD0 3B 80 00 00 */ li r28, 0 -/* 80262C94 0025FBD4 3B A0 00 00 */ li r29, 0 -/* 80262C98 0025FBD8 80 62 CA 38 */ lwz r3, lbl_8051AD98@sda21(r2) -/* 80262C9C 0025FBDC 80 02 CA 3C */ lwz r0, lbl_8051AD9C@sda21(r2) -/* 80262CA0 0025FBE0 90 61 00 08 */ stw r3, 8(r1) -/* 80262CA4 0025FBE4 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80262CA8: -/* 80262CA8 0025FBE8 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 80262CAC 0025FBEC 38 A0 00 00 */ li r5, 0 -/* 80262CB0 0025FBF0 80 9E 00 00 */ lwz r4, 0(r30) -/* 80262CB4 0025FBF4 4B EA AD CD */ bl getEnemyNum__Q24Game15GeneralEnemyMgrFib -/* 80262CB8 0025FBF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80262CBC 0025FBFC 7F A6 EB 78 */ mr r6, r29 -/* 80262CC0 0025FC00 7C 03 03 78 */ mr r3, r0 -/* 80262CC4 0025FC04 40 81 00 A8 */ ble lbl_80262D6C -/* 80262CC8 0025FC08 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 80262CCC 0025FC0C 7C 09 03 A6 */ mtctr r0 -/* 80262CD0 0025FC10 41 82 00 7C */ beq lbl_80262D4C -lbl_80262CD4: -/* 80262CD4 0025FC14 80 BE 00 00 */ lwz r5, 0(r30) -/* 80262CD8 0025FC18 38 06 02 E4 */ addi r0, r6, 0x2e4 -/* 80262CDC 0025FC1C 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262CE0 0025FC20 3B BD 17 C0 */ addi r29, r29, 0x17c0 -/* 80262CE4 0025FC24 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262CE8 0025FC28 38 06 05 DC */ addi r0, r6, 0x5dc -/* 80262CEC 0025FC2C 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262CF0 0025FC30 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262CF4 0025FC34 38 06 08 D4 */ addi r0, r6, 0x8d4 -/* 80262CF8 0025FC38 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262CFC 0025FC3C 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262D00 0025FC40 38 06 0B CC */ addi r0, r6, 0xbcc -/* 80262D04 0025FC44 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262D08 0025FC48 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262D0C 0025FC4C 38 06 0E C4 */ addi r0, r6, 0xec4 -/* 80262D10 0025FC50 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262D14 0025FC54 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262D18 0025FC58 38 06 11 BC */ addi r0, r6, 0x11bc -/* 80262D1C 0025FC5C 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262D20 0025FC60 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262D24 0025FC64 38 06 14 B4 */ addi r0, r6, 0x14b4 -/* 80262D28 0025FC68 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262D2C 0025FC6C 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262D30 0025FC70 38 06 17 AC */ addi r0, r6, 0x17ac -/* 80262D34 0025FC74 38 C6 17 C0 */ addi r6, r6, 0x17c0 -/* 80262D38 0025FC78 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262D3C 0025FC7C 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262D40 0025FC80 42 00 FF 94 */ bdnz lbl_80262CD4 -/* 80262D44 0025FC84 70 63 00 07 */ andi. r3, r3, 7 -/* 80262D48 0025FC88 41 82 00 24 */ beq lbl_80262D6C -lbl_80262D4C: -/* 80262D4C 0025FC8C 7C 69 03 A6 */ mtctr r3 -lbl_80262D50: -/* 80262D50 0025FC90 80 BE 00 00 */ lwz r5, 0(r30) -/* 80262D54 0025FC94 38 06 02 E4 */ addi r0, r6, 0x2e4 -/* 80262D58 0025FC98 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80262D5C 0025FC9C 38 C6 02 F8 */ addi r6, r6, 0x2f8 -/* 80262D60 0025FCA0 3B BD 02 F8 */ addi r29, r29, 0x2f8 -/* 80262D64 0025FCA4 7C A4 01 2E */ stwx r5, r4, r0 -/* 80262D68 0025FCA8 42 00 FF E8 */ bdnz lbl_80262D50 -lbl_80262D6C: -/* 80262D6C 0025FCAC 3B 9C 00 01 */ addi r28, r28, 1 -/* 80262D70 0025FCB0 3B DE 00 04 */ addi r30, r30, 4 -/* 80262D74 0025FCB4 2C 1C 00 02 */ cmpwi r28, 2 -/* 80262D78 0025FCB8 41 80 FF 30 */ blt lbl_80262CA8 -/* 80262D7C 0025FCBC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80262D80 0025FCC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80262D84 0025FCC4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80262D88 0025FCC8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80262D8C 0025FCCC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80262D90 0025FCD0 7C 08 03 A6 */ mtlr r0 -/* 80262D94 0025FCD4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80262D98 0025FCD8 4E 80 00 20 */ blr - -.global __dt__Q34Game4Rock3ObjFv -__dt__Q34Game4Rock3ObjFv: -/* 80262D9C 0025FCDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262DA0 0025FCE0 7C 08 02 A6 */ mflr r0 -/* 80262DA4 0025FCE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262DA8 0025FCE8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262DAC 0025FCEC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80262DB0 0025FCF0 93 C1 00 08 */ stw r30, 8(r1) -/* 80262DB4 0025FCF4 7C 9E 23 78 */ mr r30, r4 -/* 80262DB8 0025FCF8 41 82 00 84 */ beq lbl_80262E3C -/* 80262DBC 0025FCFC 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock3Obj@ha -/* 80262DC0 0025FD00 38 1F 02 E8 */ addi r0, r31, 0x2e8 -/* 80262DC4 0025FD04 38 83 42 34 */ addi r4, r3, __vt__Q34Game4Rock3Obj@l -/* 80262DC8 0025FD08 90 9F 00 00 */ stw r4, 0(r31) -/* 80262DCC 0025FD0C 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80262DD0 0025FD10 38 84 02 FC */ addi r4, r4, 0x2fc -/* 80262DD4 0025FD14 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80262DD8 0025FD18 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80262DDC 0025FD1C 90 83 00 00 */ stw r4, 0(r3) -/* 80262DE0 0025FD20 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80262DE4 0025FD24 7C 03 00 50 */ subf r0, r3, r0 -/* 80262DE8 0025FD28 90 03 00 0C */ stw r0, 0xc(r3) -/* 80262DEC 0025FD2C 41 82 00 40 */ beq lbl_80262E2C -/* 80262DF0 0025FD30 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80262DF4 0025FD34 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 80262DF8 0025FD38 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80262DFC 0025FD3C 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80262E00 0025FD40 90 9F 00 00 */ stw r4, 0(r31) -/* 80262E04 0025FD44 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80262E08 0025FD48 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80262E0C 0025FD4C 38 80 FF FF */ li r4, -1 -/* 80262E10 0025FD50 90 BF 01 78 */ stw r5, 0x178(r31) -/* 80262E14 0025FD54 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80262E18 0025FD58 90 C5 00 00 */ stw r6, 0(r5) -/* 80262E1C 0025FD5C 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80262E20 0025FD60 7C 05 00 50 */ subf r0, r5, r0 -/* 80262E24 0025FD64 90 05 00 0C */ stw r0, 0xc(r5) -/* 80262E28 0025FD68 48 1A E7 61 */ bl __dt__5CNodeFv -lbl_80262E2C: -/* 80262E2C 0025FD6C 7F C0 07 35 */ extsh. r0, r30 -/* 80262E30 0025FD70 40 81 00 0C */ ble lbl_80262E3C -/* 80262E34 0025FD74 7F E3 FB 78 */ mr r3, r31 -/* 80262E38 0025FD78 4B DC 12 7D */ bl __dl__FPv -lbl_80262E3C: -/* 80262E3C 0025FD7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262E40 0025FD80 7F E3 FB 78 */ mr r3, r31 -/* 80262E44 0025FD84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262E48 0025FD88 83 C1 00 08 */ lwz r30, 8(r1) -/* 80262E4C 0025FD8C 7C 08 03 A6 */ mtlr r0 -/* 80262E50 0025FD90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262E54 0025FD94 4E 80 00 20 */ blr - -.global getEnemy__Q34Game4Rock3MgrFi -getEnemy__Q34Game4Rock3MgrFi: -/* 80262E58 0025FD98 1C 04 02 F8 */ mulli r0, r4, 0x2f8 -/* 80262E5C 0025FD9C 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80262E60 0025FDA0 7C 63 02 14 */ add r3, r3, r0 -/* 80262E64 0025FDA4 4E 80 00 20 */ blr - -.global read__Q34Game4Rock5ParmsFR6Stream -read__Q34Game4Rock5ParmsFR6Stream: -/* 80262E68 0025FDA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262E6C 0025FDAC 7C 08 02 A6 */ mflr r0 -/* 80262E70 0025FDB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262E74 0025FDB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262E78 0025FDB8 7C 9F 23 78 */ mr r31, r4 -/* 80262E7C 0025FDBC 93 C1 00 08 */ stw r30, 8(r1) -/* 80262E80 0025FDC0 7C 7E 1B 78 */ mr r30, r3 -/* 80262E84 0025FDC4 48 1B 09 71 */ bl read__10ParametersFR6Stream -/* 80262E88 0025FDC8 7F E4 FB 78 */ mr r4, r31 -/* 80262E8C 0025FDCC 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 80262E90 0025FDD0 48 1B 09 65 */ bl read__10ParametersFR6Stream -/* 80262E94 0025FDD4 7F E4 FB 78 */ mr r4, r31 -/* 80262E98 0025FDD8 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 80262E9C 0025FDDC 48 1B 09 59 */ bl read__10ParametersFR6Stream -/* 80262EA0 0025FDE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262EA4 0025FDE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262EA8 0025FDE8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80262EAC 0025FDEC 7C 08 03 A6 */ mtlr r0 -/* 80262EB0 0025FDF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262EB4 0025FDF4 4E 80 00 20 */ blr - -.global __dt__Q34Game4Rock3MgrFv -__dt__Q34Game4Rock3MgrFv: -/* 80262EB8 0025FDF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262EBC 0025FDFC 7C 08 02 A6 */ mflr r0 -/* 80262EC0 0025FE00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262EC4 0025FE04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262EC8 0025FE08 7C 9F 23 78 */ mr r31, r4 -/* 80262ECC 0025FE0C 93 C1 00 08 */ stw r30, 8(r1) -/* 80262ED0 0025FE10 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80262ED4 0025FE14 41 82 00 78 */ beq lbl_80262F4C -/* 80262ED8 0025FE18 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock3Mgr@ha -/* 80262EDC 0025FE1C 38 63 40 1C */ addi r3, r3, __vt__Q34Game4Rock3Mgr@l -/* 80262EE0 0025FE20 90 7E 00 00 */ stw r3, 0(r30) -/* 80262EE4 0025FE24 38 03 00 38 */ addi r0, r3, 0x38 -/* 80262EE8 0025FE28 90 1E 00 04 */ stw r0, 4(r30) -/* 80262EEC 0025FE2C 41 82 00 50 */ beq lbl_80262F3C -/* 80262EF0 0025FE30 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80262EF4 0025FE34 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80262EF8 0025FE38 90 7E 00 00 */ stw r3, 0(r30) -/* 80262EFC 0025FE3C 38 03 00 38 */ addi r0, r3, 0x38 -/* 80262F00 0025FE40 90 1E 00 04 */ stw r0, 4(r30) -/* 80262F04 0025FE44 41 82 00 38 */ beq lbl_80262F3C -/* 80262F08 0025FE48 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80262F0C 0025FE4C 34 1E 00 04 */ addic. r0, r30, 4 -/* 80262F10 0025FE50 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80262F14 0025FE54 90 7E 00 00 */ stw r3, 0(r30) -/* 80262F18 0025FE58 38 03 00 38 */ addi r0, r3, 0x38 -/* 80262F1C 0025FE5C 90 1E 00 04 */ stw r0, 4(r30) -/* 80262F20 0025FE60 41 82 00 1C */ beq lbl_80262F3C -/* 80262F24 0025FE64 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80262F28 0025FE68 38 7E 00 04 */ addi r3, r30, 4 -/* 80262F2C 0025FE6C 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80262F30 0025FE70 38 80 00 00 */ li r4, 0 -/* 80262F34 0025FE74 90 1E 00 04 */ stw r0, 4(r30) -/* 80262F38 0025FE78 48 1A E6 51 */ bl __dt__5CNodeFv -lbl_80262F3C: -/* 80262F3C 0025FE7C 7F E0 07 35 */ extsh. r0, r31 -/* 80262F40 0025FE80 40 81 00 0C */ ble lbl_80262F4C -/* 80262F44 0025FE84 7F C3 F3 78 */ mr r3, r30 -/* 80262F48 0025FE88 4B DC 11 6D */ bl __dl__FPv -lbl_80262F4C: -/* 80262F4C 0025FE8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262F50 0025FE90 7F C3 F3 78 */ mr r3, r30 -/* 80262F54 0025FE94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262F58 0025FE98 83 C1 00 08 */ lwz r30, 8(r1) -/* 80262F5C 0025FE9C 7C 08 03 A6 */ mtlr r0 -/* 80262F60 0025FEA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262F64 0025FEA4 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Rock3MgrFv -getEnemyTypeID__Q34Game4Rock3MgrFv: -/* 80262F68 0025FEA8 38 60 00 13 */ li r3, 0x13 -/* 80262F6C 0025FEAC 4E 80 00 20 */ blr - -.global __dt__Q34Game4Rock9GeneratorFv -__dt__Q34Game4Rock9GeneratorFv: -/* 80262F70 0025FEB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262F74 0025FEB4 7C 08 02 A6 */ mflr r0 -/* 80262F78 0025FEB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262F7C 0025FEBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80262F80 0025FEC0 7C 9F 23 78 */ mr r31, r4 -/* 80262F84 0025FEC4 93 C1 00 08 */ stw r30, 8(r1) -/* 80262F88 0025FEC8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80262F8C 0025FECC 41 82 00 38 */ beq lbl_80262FC4 -/* 80262F90 0025FED0 3C 80 80 4C */ lis r4, __vt__Q34Game4Rock9Generator@ha -/* 80262F94 0025FED4 38 04 40 FC */ addi r0, r4, __vt__Q34Game4Rock9Generator@l -/* 80262F98 0025FED8 90 1E 00 00 */ stw r0, 0(r30) -/* 80262F9C 0025FEDC 41 82 00 18 */ beq lbl_80262FB4 -/* 80262FA0 0025FEE0 3C A0 80 4B */ lis r5, __vt__Q24Game18EnemyGeneratorBase@ha -/* 80262FA4 0025FEE4 38 80 00 00 */ li r4, 0 -/* 80262FA8 0025FEE8 38 05 DB B0 */ addi r0, r5, __vt__Q24Game18EnemyGeneratorBase@l -/* 80262FAC 0025FEEC 90 1E 00 00 */ stw r0, 0(r30) -/* 80262FB0 0025FEF0 48 1A E5 D9 */ bl __dt__5CNodeFv -lbl_80262FB4: -/* 80262FB4 0025FEF4 7F E0 07 35 */ extsh. r0, r31 -/* 80262FB8 0025FEF8 40 81 00 0C */ ble lbl_80262FC4 -/* 80262FBC 0025FEFC 7F C3 F3 78 */ mr r3, r30 -/* 80262FC0 0025FF00 4B DC 10 F5 */ bl __dl__FPv -lbl_80262FC4: -/* 80262FC4 0025FF04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80262FC8 0025FF08 7F C3 F3 78 */ mr r3, r30 -/* 80262FCC 0025FF0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80262FD0 0025FF10 83 C1 00 08 */ lwz r30, 8(r1) -/* 80262FD4 0025FF14 7C 08 03 A6 */ mtlr r0 -/* 80262FD8 0025FF18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80262FDC 0025FF1C 4E 80 00 20 */ blr - -.global getInitialParam__Q34Game4Rock9GeneratorFv -getInitialParam__Q34Game4Rock9GeneratorFv: -/* 80262FE0 0025FF20 38 63 00 24 */ addi r3, r3, 0x24 -/* 80262FE4 0025FF24 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game4Rock3MgrFv -$$24$$2__dt__Q34Game4Rock3MgrFv: -/* 80262FE8 0025FF28 38 63 FF FC */ addi r3, r3, -4 -/* 80262FEC 0025FF2C 4B FF FE CC */ b __dt__Q34Game4Rock3MgrFv - -.global __ct__Q34Game4Rock3ObjFv -__ct__Q34Game4Rock3ObjFv: -/* 80262FF0 0025FF30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80262FF4 0025FF34 7C 08 02 A6 */ mflr r0 -/* 80262FF8 0025FF38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80262FFC 0025FF3C 7C 80 07 35 */ extsh. r0, r4 -/* 80263000 0025FF40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80263004 0025FF44 7C 7F 1B 78 */ mr r31, r3 -/* 80263008 0025FF48 93 C1 00 08 */ stw r30, 8(r1) -/* 8026300C 0025FF4C 41 82 00 24 */ beq lbl_80263030 -/* 80263010 0025FF50 38 1F 02 E8 */ addi r0, r31, 0x2e8 -/* 80263014 0025FF54 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 80263018 0025FF58 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8026301C 0025FF5C 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80263020 0025FF60 38 00 00 00 */ li r0, 0 -/* 80263024 0025FF64 90 7F 02 E8 */ stw r3, 0x2e8(r31) -/* 80263028 0025FF68 90 1F 02 EC */ stw r0, 0x2ec(r31) -/* 8026302C 0025FF6C 90 1F 02 F0 */ stw r0, 0x2f0(r31) -lbl_80263030: -/* 80263030 0025FF70 7F E3 FB 78 */ mr r3, r31 -/* 80263034 0025FF74 38 80 00 00 */ li r4, 0 -/* 80263038 0025FF78 4B E9 E3 69 */ bl __ct__Q24Game9EnemyBaseFv -/* 8026303C 0025FF7C 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock3Obj@ha -/* 80263040 0025FF80 38 1F 02 E8 */ addi r0, r31, 0x2e8 -/* 80263044 0025FF84 38 A3 42 34 */ addi r5, r3, __vt__Q34Game4Rock3Obj@l -/* 80263048 0025FF88 38 60 00 2C */ li r3, 0x2c -/* 8026304C 0025FF8C 90 BF 00 00 */ stw r5, 0(r31) -/* 80263050 0025FF90 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80263054 0025FF94 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 80263058 0025FF98 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8026305C 0025FF9C 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80263060 0025FFA0 90 A4 00 00 */ stw r5, 0(r4) -/* 80263064 0025FFA4 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80263068 0025FFA8 7C 04 00 50 */ subf r0, r4, r0 -/* 8026306C 0025FFAC 90 04 00 0C */ stw r0, 0xc(r4) -/* 80263070 0025FFB0 4B DC 0E 35 */ bl __nw__FUl -/* 80263074 0025FFB4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80263078 0025FFB8 41 82 00 44 */ beq lbl_802630BC -/* 8026307C 0025FFBC 4B EC 48 F9 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80263080 0025FFC0 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock14ProperAnimator@ha -/* 80263084 0025FFC4 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 80263088 0025FFC8 38 03 3F E8 */ addi r0, r3, __vt__Q34Game4Rock14ProperAnimator@l -/* 8026308C 0025FFCC 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80263090 0025FFD0 90 1E 00 00 */ stw r0, 0(r30) -/* 80263094 0025FFD4 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 80263098 0025FFD8 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8026309C 0025FFDC 38 00 00 00 */ li r0, 0 -/* 802630A0 0025FFE0 90 9E 00 10 */ stw r4, 0x10(r30) -/* 802630A4 0025FFE4 90 7E 00 10 */ stw r3, 0x10(r30) -/* 802630A8 0025FFE8 98 1E 00 28 */ stb r0, 0x28(r30) -/* 802630AC 0025FFEC 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 802630B0 0025FFF0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 802630B4 0025FFF4 98 1E 00 28 */ stb r0, 0x28(r30) -/* 802630B8 0025FFF8 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_802630BC: -/* 802630BC 0025FFFC 93 DF 01 84 */ stw r30, 0x184(r31) -/* 802630C0 00260000 38 60 00 1C */ li r3, 0x1c -/* 802630C4 00260004 4B DC 0D E1 */ bl __nw__FUl -/* 802630C8 00260008 7C 64 1B 79 */ or. r4, r3, r3 -/* 802630CC 0026000C 41 82 00 24 */ beq lbl_802630F0 -/* 802630D0 00260010 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 802630D4 00260014 3C 60 80 4C */ lis r3, __vt__Q34Game4Rock3FSM@ha -/* 802630D8 00260018 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 802630DC 0026001C 38 A0 FF FF */ li r5, -1 -/* 802630E0 00260020 90 04 00 00 */ stw r0, 0(r4) -/* 802630E4 00260024 38 03 3F C0 */ addi r0, r3, __vt__Q34Game4Rock3FSM@l -/* 802630E8 00260028 90 A4 00 18 */ stw r5, 0x18(r4) -/* 802630EC 0026002C 90 04 00 00 */ stw r0, 0(r4) -lbl_802630F0: -/* 802630F0 00260030 81 9F 00 00 */ lwz r12, 0(r31) -/* 802630F4 00260034 7F E3 FB 78 */ mr r3, r31 -/* 802630F8 00260038 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 802630FC 0026003C 7D 89 03 A6 */ mtctr r12 -/* 80263100 00260040 4E 80 04 21 */ bctrl -/* 80263104 00260044 7F E3 FB 78 */ mr r3, r31 -/* 80263108 00260048 48 00 0E 19 */ bl createEffect__Q34Game4Rock3ObjFv -/* 8026310C 0026004C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263110 00260050 7F E3 FB 78 */ mr r3, r31 -/* 80263114 00260054 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80263118 00260058 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026311C 0026005C 7C 08 03 A6 */ mtlr r0 -/* 80263120 00260060 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263124 00260064 4E 80 00 20 */ blr - -.global birth__Q34Game4Rock3ObjFR10Vector3$$0f$$1f -birth__Q34Game4Rock3ObjFR10Vector3$$0f$$1f: -/* 80263128 00260068 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026312C 0026006C 7C 08 02 A6 */ mflr r0 -/* 80263130 00260070 90 01 00 24 */ stw r0, 0x24(r1) -/* 80263134 00260074 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80263138 00260078 7C 7F 1B 78 */ mr r31, r3 -/* 8026313C 0026007C 4B E9 F8 C5 */ bl birth__Q24Game9EnemyBaseFR10Vector3$$0f$$1f -/* 80263140 00260080 C0 42 CA 40 */ lfs f2, lbl_8051ADA0@sda21(r2) -/* 80263144 00260084 7F E3 FB 78 */ mr r3, r31 -/* 80263148 00260088 C0 22 CA 44 */ lfs f1, lbl_8051ADA4@sda21(r2) -/* 8026314C 0026008C 38 81 00 08 */ addi r4, r1, 8 -/* 80263150 00260090 C0 02 CA 48 */ lfs f0, lbl_8051ADA8@sda21(r2) -/* 80263154 00260094 D0 41 00 08 */ stfs f2, 8(r1) -/* 80263158 00260098 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8026315C 0026009C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80263160 002600A0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263164 002600A4 81 8C 01 C4 */ lwz r12, 0x1c4(r12) -/* 80263168 002600A8 7D 89 03 A6 */ mtctr r12 -/* 8026316C 002600AC 4E 80 04 21 */ bctrl -/* 80263170 002600B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80263174 002600B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80263178 002600B8 7C 08 03 A6 */ mtlr r0 -/* 8026317C 002600BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80263180 002600C0 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game4Rock3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game4Rock3ObjFPQ24Game21EnemyInitialParamBase: -/* 80263184 002600C4 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80263188 002600C8 C0 04 04 4C */ lfs f0, 0x44c(r4) -/* 8026318C 002600CC D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 80263190 002600D0 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80263194 002600D4 C0 04 04 74 */ lfs f0, 0x474(r4) -/* 80263198 002600D8 D0 03 02 D0 */ stfs f0, 0x2d0(r3) -/* 8026319C 002600DC 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 802631A0 002600E0 C0 04 04 9C */ lfs f0, 0x49c(r4) -/* 802631A4 002600E4 D0 03 02 D4 */ stfs f0, 0x2d4(r3) -/* 802631A8 002600E8 4E 80 00 20 */ blr - -.global onInit__Q34Game4Rock3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game4Rock3ObjFPQ24Game15CreatureInitArg: -/* 802631AC 002600EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802631B0 002600F0 7C 08 02 A6 */ mflr r0 -/* 802631B4 002600F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802631B8 002600F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802631BC 002600FC 7C 7F 1B 78 */ mr r31, r3 -/* 802631C0 00260100 4B E9 E8 99 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 802631C4 00260104 88 1F 02 B0 */ lbz r0, 0x2b0(r31) -/* 802631C8 00260108 7C 00 07 75 */ extsb. r0, r0 -/* 802631CC 0026010C 40 82 00 24 */ bne lbl_802631F0 -/* 802631D0 00260110 C0 22 CA 4C */ lfs f1, lbl_8051ADAC@sda21(r2) -/* 802631D4 00260114 D0 3F 01 F8 */ stfs f1, 0x1f8(r31) -/* 802631D8 00260118 D0 3F 01 68 */ stfs f1, 0x168(r31) -/* 802631DC 0026011C D0 3F 01 6C */ stfs f1, 0x16c(r31) -/* 802631E0 00260120 D0 3F 01 70 */ stfs f1, 0x170(r31) -/* 802631E4 00260124 80 7F 01 14 */ lwz r3, 0x114(r31) -/* 802631E8 00260128 80 63 00 00 */ lwz r3, 0(r3) -/* 802631EC 0026012C 4B ED 4C 21 */ bl setScale__8CollPartFf -lbl_802631F0: -/* 802631F0 00260130 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802631F4 00260134 7F E3 FB 78 */ mr r3, r31 -/* 802631F8 00260138 60 00 00 01 */ ori r0, r0, 1 -/* 802631FC 0026013C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80263200 00260140 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80263204 00260144 54 00 07 76 */ rlwinm r0, r0, 0, 0x1d, 0x1b -/* 80263208 00260148 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026320C 0026014C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80263210 00260150 54 00 06 6E */ rlwinm r0, r0, 0, 0x19, 0x17 -/* 80263214 00260154 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80263218 00260158 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026321C 0026015C 54 00 06 2C */ rlwinm r0, r0, 0, 0x18, 0x16 -/* 80263220 00260160 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80263224 00260164 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80263228 00260168 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 8026322C 0026016C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80263230 00260170 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80263234 00260174 64 00 00 40 */ oris r0, r0, 0x40 -/* 80263238 00260178 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026323C 0026017C 4B E9 E7 CD */ bl setEmotionNone__Q24Game9EnemyBaseFv -/* 80263240 00260180 7F E3 FB 78 */ mr r3, r31 -/* 80263244 00260184 48 00 0E 81 */ bl setupEffect__Q34Game4Rock3ObjFv -/* 80263248 00260188 C0 02 CA 50 */ lfs f0, lbl_8051ADB0@sda21(r2) -/* 8026324C 0026018C 38 00 00 00 */ li r0, 0 -/* 80263250 00260190 7F E3 FB 78 */ mr r3, r31 -/* 80263254 00260194 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 80263258 00260198 98 1F 02 C4 */ stb r0, 0x2c4(r31) -/* 8026325C 0026019C 90 1F 02 C0 */ stw r0, 0x2c0(r31) -/* 80263260 002601A0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263264 002601A4 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 80263268 002601A8 7D 89 03 A6 */ mtctr r12 -/* 8026326C 002601AC 4E 80 04 21 */ bctrl -/* 80263270 002601B0 2C 03 00 13 */ cmpwi r3, 0x13 -/* 80263274 002601B4 40 82 00 C8 */ bne lbl_8026333C -/* 80263278 002601B8 C0 22 CA 50 */ lfs f1, lbl_8051ADB0@sda21(r2) -/* 8026327C 002601BC C0 1F 02 AC */ lfs f0, 0x2ac(r31) -/* 80263280 002601C0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80263284 002601C4 41 82 00 44 */ beq lbl_802632C8 -/* 80263288 002601C8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026328C 002601CC 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80263290 002601D0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80263294 002601D4 4B E6 63 0D */ bl rand -/* 80263298 002601D8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026329C 002601DC 3C 00 43 30 */ lis r0, 0x4330 -/* 802632A0 002601E0 90 61 00 0C */ stw r3, 0xc(r1) -/* 802632A4 002601E4 C8 62 CA 60 */ lfd f3, lbl_8051ADC0@sda21(r2) -/* 802632A8 002601E8 90 01 00 08 */ stw r0, 8(r1) -/* 802632AC 002601EC C0 22 CA 54 */ lfs f1, lbl_8051ADB4@sda21(r2) -/* 802632B0 002601F0 C8 41 00 08 */ lfd f2, 8(r1) -/* 802632B4 002601F4 C0 02 CA 58 */ lfs f0, lbl_8051ADB8@sda21(r2) -/* 802632B8 002601F8 EC 42 18 28 */ fsubs f2, f2, f3 -/* 802632BC 002601FC EC 21 00 B2 */ fmuls f1, f1, f2 -/* 802632C0 00260200 EC 01 00 24 */ fdivs f0, f1, f0 -/* 802632C4 00260204 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -lbl_802632C8: -/* 802632C8 00260208 88 1F 02 B0 */ lbz r0, 0x2b0(r31) -/* 802632CC 0026020C 7C 00 07 75 */ extsb. r0, r0 -/* 802632D0 00260210 40 82 00 3C */ bne lbl_8026330C -/* 802632D4 00260214 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 802632D8 00260218 7F E4 FB 78 */ mr r4, r31 -/* 802632DC 0026021C 38 A0 00 00 */ li r5, 0 -/* 802632E0 00260220 38 C0 00 00 */ li r6, 0 -/* 802632E4 00260224 81 83 00 00 */ lwz r12, 0(r3) -/* 802632E8 00260228 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802632EC 0026022C 7D 89 03 A6 */ mtctr r12 -/* 802632F0 00260230 4E 80 04 21 */ bctrl -/* 802632F4 00260234 7F E3 FB 78 */ mr r3, r31 -/* 802632F8 00260238 81 9F 00 00 */ lwz r12, 0(r31) -/* 802632FC 0026023C 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 80263300 00260240 7D 89 03 A6 */ mtctr r12 -/* 80263304 00260244 4E 80 04 21 */ bctrl -/* 80263308 00260248 48 00 00 24 */ b lbl_8026332C -lbl_8026330C: -/* 8026330C 0026024C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80263310 00260250 7F E4 FB 78 */ mr r4, r31 -/* 80263314 00260254 38 A0 00 02 */ li r5, 2 -/* 80263318 00260258 38 C0 00 00 */ li r6, 0 -/* 8026331C 0026025C 81 83 00 00 */ lwz r12, 0(r3) -/* 80263320 00260260 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80263324 00260264 7D 89 03 A6 */ mtctr r12 -/* 80263328 00260268 4E 80 04 21 */ bctrl -lbl_8026332C: -/* 8026332C 0026026C 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 80263330 00260270 7F E4 FB 78 */ mr r4, r31 -/* 80263334 00260274 4B FD E9 BD */ bl delShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 80263338 00260278 48 00 00 40 */ b lbl_80263378 -lbl_8026333C: -/* 8026333C 0026027C 7F E3 FB 78 */ mr r3, r31 -/* 80263340 00260280 48 00 07 41 */ bl initMoveVelocity__Q34Game4Rock3ObjFv -/* 80263344 00260284 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80263348 00260288 7F E4 FB 78 */ mr r4, r31 -/* 8026334C 0026028C 38 A0 00 04 */ li r5, 4 -/* 80263350 00260290 38 C0 00 00 */ li r6, 0 -/* 80263354 00260294 81 83 00 00 */ lwz r12, 0(r3) -/* 80263358 00260298 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026335C 0026029C 7D 89 03 A6 */ mtctr r12 -/* 80263360 002602A0 4E 80 04 21 */ bctrl -/* 80263364 002602A4 7F E3 FB 78 */ mr r3, r31 -/* 80263368 002602A8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026336C 002602AC 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 80263370 002602B0 7D 89 03 A6 */ mtctr r12 -/* 80263374 002602B4 4E 80 04 21 */ bctrl -lbl_80263378: -/* 80263378 002602B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026337C 002602BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80263380 002602C0 7C 08 03 A6 */ mtlr r0 -/* 80263384 002602C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80263388 002602C8 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Rock3ObjFv -getEnemyTypeID__Q34Game4Rock3ObjFv: -/* 8026338C 002602CC 80 63 02 E4 */ lwz r3, 0x2e4(r3) -/* 80263390 002602D0 4E 80 00 20 */ blr - -.global onKill__Q34Game4Rock3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game4Rock3ObjFPQ24Game15CreatureKillArg: -/* 80263394 002602D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263398 002602D8 7C 08 02 A6 */ mflr r0 -/* 8026339C 002602DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802633A0 002602E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802633A4 002602E4 7C 9F 23 78 */ mr r31, r4 -/* 802633A8 002602E8 93 C1 00 08 */ stw r30, 8(r1) -/* 802633AC 002602EC 7C 7E 1B 78 */ mr r30, r3 -/* 802633B0 002602F0 48 00 0D 61 */ bl finishFallEffect__Q34Game4Rock3ObjFv -/* 802633B4 002602F4 7F C3 F3 78 */ mr r3, r30 -/* 802633B8 002602F8 48 00 0D BD */ bl finishRollingGroundEffect__Q34Game4Rock3ObjFv -/* 802633BC 002602FC 7F C3 F3 78 */ mr r3, r30 -/* 802633C0 00260300 48 00 0E DD */ bl finishRollingWaterEffect__Q34Game4Rock3ObjFv -/* 802633C4 00260304 7F C3 F3 78 */ mr r3, r30 -/* 802633C8 00260308 7F E4 FB 78 */ mr r4, r31 -/* 802633CC 0026030C 4B E9 EB 1D */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 802633D0 00260310 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802633D4 00260314 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802633D8 00260318 83 C1 00 08 */ lwz r30, 8(r1) -/* 802633DC 0026031C 7C 08 03 A6 */ mtlr r0 -/* 802633E0 00260320 38 21 00 10 */ addi r1, r1, 0x10 -/* 802633E4 00260324 4E 80 00 20 */ blr - -.global doUpdate__Q34Game4Rock3ObjFv -doUpdate__Q34Game4Rock3ObjFv: -/* 802633E8 00260328 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802633EC 0026032C 7C 08 02 A6 */ mflr r0 -/* 802633F0 00260330 7C 64 1B 78 */ mr r4, r3 -/* 802633F4 00260334 90 01 00 14 */ stw r0, 0x14(r1) -/* 802633F8 00260338 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 802633FC 0026033C 81 83 00 00 */ lwz r12, 0(r3) -/* 80263400 00260340 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80263404 00260344 7D 89 03 A6 */ mtctr r12 -/* 80263408 00260348 4E 80 04 21 */ bctrl -/* 8026340C 0026034C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263410 00260350 7C 08 03 A6 */ mtlr r0 -/* 80263414 00260354 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263418 00260358 4E 80 00 20 */ blr - -.global setFSM__Q34Game4Rock3ObjFPQ34Game4Rock3FSM -setFSM__Q34Game4Rock3ObjFPQ34Game4Rock3FSM: -/* 8026341C 0026035C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263420 00260360 7C 08 02 A6 */ mflr r0 -/* 80263424 00260364 90 01 00 14 */ stw r0, 0x14(r1) -/* 80263428 00260368 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026342C 0026036C 7C 7F 1B 78 */ mr r31, r3 -/* 80263430 00260370 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80263434 00260374 7F E4 FB 78 */ mr r4, r31 -/* 80263438 00260378 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8026343C 0026037C 81 83 00 00 */ lwz r12, 0(r3) -/* 80263440 00260380 81 8C 00 08 */ lwz r12, 8(r12) -/* 80263444 00260384 7D 89 03 A6 */ mtctr r12 -/* 80263448 00260388 4E 80 04 21 */ bctrl -/* 8026344C 0026038C 38 00 00 00 */ li r0, 0 -/* 80263450 00260390 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80263454 00260394 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263458 00260398 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026345C 0026039C 7C 08 03 A6 */ mtlr r0 -/* 80263460 002603A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263464 002603A4 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game4Rock3ObjFR8Graphics -doDirectDraw__Q34Game4Rock3ObjFR8Graphics: -/* 80263468 002603A8 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Rock3ObjFR8Graphics -doDebugDraw__Q34Game4Rock3ObjFR8Graphics: -/* 8026346C 002603AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263470 002603B0 7C 08 02 A6 */ mflr r0 -/* 80263474 002603B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80263478 002603B8 4B EA 29 F5 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8026347C 002603BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263480 002603C0 7C 08 03 A6 */ mtlr r0 -/* 80263484 002603C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263488 002603C8 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game4Rock3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game4Rock3ObjFRQ24Game11ShadowParam: -/* 8026348C 002603CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263490 002603D0 7C 08 02 A6 */ mflr r0 -/* 80263494 002603D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80263498 002603D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026349C 002603DC 7C 9F 23 78 */ mr r31, r4 -/* 802634A0 002603E0 93 C1 00 08 */ stw r30, 8(r1) -/* 802634A4 002603E4 7C 7E 1B 78 */ mr r30, r3 -/* 802634A8 002603E8 81 83 00 00 */ lwz r12, 0(r3) -/* 802634AC 002603EC 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 802634B0 002603F0 7D 89 03 A6 */ mtctr r12 -/* 802634B4 002603F4 4E 80 04 21 */ bctrl -/* 802634B8 002603F8 2C 03 00 13 */ cmpwi r3, 0x13 -/* 802634BC 002603FC 40 82 00 38 */ bne lbl_802634F4 -/* 802634C0 00260400 C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 802634C4 00260404 C0 42 CA 68 */ lfs f2, lbl_8051ADC8@sda21(r2) -/* 802634C8 00260408 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802634CC 0026040C C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 802634D0 00260410 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802634D4 00260414 C0 1E 01 94 */ lfs f0, 0x194(r30) -/* 802634D8 00260418 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802634DC 0026041C C0 3E 01 90 */ lfs f1, 0x190(r30) -/* 802634E0 00260420 C0 1E 01 9C */ lfs f0, 0x19c(r30) -/* 802634E4 00260424 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802634E8 00260428 EC 02 00 2A */ fadds f0, f2, f0 -/* 802634EC 0026042C D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 802634F0 00260430 48 00 00 44 */ b lbl_80263534 -lbl_802634F4: -/* 802634F4 00260434 C0 42 CA 6C */ lfs f2, lbl_8051ADCC@sda21(r2) -/* 802634F8 00260438 C0 3E 01 90 */ lfs f1, 0x190(r30) -/* 802634FC 0026043C C0 7E 01 94 */ lfs f3, 0x194(r30) -/* 80263500 00260440 C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 80263504 00260444 EC 22 08 2A */ fadds f1, f2, f1 -/* 80263508 00260448 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8026350C 0026044C D0 3F 00 04 */ stfs f1, 4(r31) -/* 80263510 00260450 D0 7F 00 08 */ stfs f3, 8(r31) -/* 80263514 00260454 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 80263518 00260458 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8026351C 0026045C 41 82 00 10 */ beq lbl_8026352C -/* 80263520 00260460 C0 02 CA 68 */ lfs f0, lbl_8051ADC8@sda21(r2) -/* 80263524 00260464 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80263528 00260468 48 00 00 0C */ b lbl_80263534 -lbl_8026352C: -/* 8026352C 0026046C C0 02 CA 70 */ lfs f0, lbl_8051ADD0@sda21(r2) -/* 80263530 00260470 D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_80263534: -/* 80263534 00260474 C0 42 CA 50 */ lfs f2, lbl_8051ADB0@sda21(r2) -/* 80263538 00260478 C0 02 CA 74 */ lfs f0, lbl_8051ADD4@sda21(r2) -/* 8026353C 0026047C D0 5F 00 0C */ stfs f2, 0xc(r31) -/* 80263540 00260480 C0 22 CA 78 */ lfs f1, lbl_8051ADD8@sda21(r2) -/* 80263544 00260484 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80263548 00260488 D0 5F 00 14 */ stfs f2, 0x14(r31) -/* 8026354C 0026048C C0 1E 01 F8 */ lfs f0, 0x1f8(r30) -/* 80263550 00260490 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80263554 00260494 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80263558 00260498 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026355C 0026049C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80263560 002604A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263564 002604A4 7C 08 03 A6 */ mtlr r0 -/* 80263568 002604A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026356C 002604AC 4E 80 00 20 */ blr - -.global needShadow__Q34Game4Rock3ObjFv -needShadow__Q34Game4Rock3ObjFv: -/* 80263570 002604B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263574 002604B4 7C 08 02 A6 */ mflr r0 -/* 80263578 002604B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026357C 002604BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80263580 002604C0 7C 7F 1B 78 */ mr r31, r3 -/* 80263584 002604C4 4B EA 3E 8D */ bl needShadow__Q24Game9EnemyBaseFv -/* 80263588 002604C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026358C 002604CC 41 82 00 0C */ beq lbl_80263598 -/* 80263590 002604D0 38 60 00 01 */ li r3, 1 -/* 80263594 002604D4 48 00 00 28 */ b lbl_802635BC -lbl_80263598: -/* 80263598 002604D8 7F E3 FB 78 */ mr r3, r31 -/* 8026359C 002604DC 4B EA 3E 59 */ bl getStateID__Q24Game9EnemyBaseFv -/* 802635A0 002604E0 2C 03 00 01 */ cmpwi r3, 1 -/* 802635A4 002604E4 41 82 00 0C */ beq lbl_802635B0 -/* 802635A8 002604E8 2C 03 00 03 */ cmpwi r3, 3 -/* 802635AC 002604EC 40 82 00 0C */ bne lbl_802635B8 -lbl_802635B0: -/* 802635B0 002604F0 38 60 00 01 */ li r3, 1 -/* 802635B4 002604F4 48 00 00 08 */ b lbl_802635BC -lbl_802635B8: -/* 802635B8 002604F8 38 60 00 00 */ li r3, 0 -lbl_802635BC: -/* 802635BC 002604FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802635C0 00260500 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802635C4 00260504 7C 08 03 A6 */ mtlr r0 -/* 802635C8 00260508 38 21 00 10 */ addi r1, r1, 0x10 -/* 802635CC 0026050C 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game4Rock3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game4Rock3ObjFPQ24Game8CreaturefP8CollPart: -/* 802635D0 00260510 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802635D4 00260514 7C 08 02 A6 */ mflr r0 -/* 802635D8 00260518 90 01 00 14 */ stw r0, 0x14(r1) -/* 802635DC 0026051C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802635E0 00260520 7C 7F 1B 78 */ mr r31, r3 -/* 802635E4 00260524 81 83 00 00 */ lwz r12, 0(r3) -/* 802635E8 00260528 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802635EC 0026052C 7D 89 03 A6 */ mtctr r12 -/* 802635F0 00260530 4E 80 04 21 */ bctrl -/* 802635F4 00260534 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802635F8 00260538 41 82 00 48 */ beq lbl_80263640 -/* 802635FC 0026053C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80263600 00260540 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 80263604 00260544 40 82 00 3C */ bne lbl_80263640 -/* 80263608 00260548 7F E3 FB 78 */ mr r3, r31 -/* 8026360C 0026054C 4B EA 3D E9 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80263610 00260550 2C 03 00 04 */ cmpwi r3, 4 -/* 80263614 00260554 40 82 00 2C */ bne lbl_80263640 -/* 80263618 00260558 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8026361C 0026055C 7F E4 FB 78 */ mr r4, r31 -/* 80263620 00260560 38 A0 00 05 */ li r5, 5 -/* 80263624 00260564 38 C0 00 00 */ li r6, 0 -/* 80263628 00260568 81 83 00 00 */ lwz r12, 0(r3) -/* 8026362C 0026056C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80263630 00260570 7D 89 03 A6 */ mtctr r12 -/* 80263634 00260574 4E 80 04 21 */ bctrl -/* 80263638 00260578 38 60 00 01 */ li r3, 1 -/* 8026363C 0026057C 48 00 00 08 */ b lbl_80263644 -lbl_80263640: -/* 80263640 00260580 38 60 00 00 */ li r3, 0 -lbl_80263644: -/* 80263644 00260584 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263648 00260588 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026364C 0026058C 7C 08 03 A6 */ mtlr r0 -/* 80263650 00260590 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263654 00260594 4E 80 00 20 */ blr - -.global collisionCallback__Q34Game4Rock3ObjFRQ24Game9CollEvent -collisionCallback__Q34Game4Rock3ObjFRQ24Game9CollEvent: -/* 80263658 00260598 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8026365C 0026059C 7C 08 02 A6 */ mflr r0 -/* 80263660 002605A0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80263664 002605A4 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80263668 002605A8 7C 9D 23 78 */ mr r29, r4 -/* 8026366C 002605AC 7C 7C 1B 78 */ mr r28, r3 -/* 80263670 002605B0 83 64 00 00 */ lwz r27, 0(r4) -/* 80263674 002605B4 28 1B 00 00 */ cmplwi r27, 0 -/* 80263678 002605B8 41 82 01 70 */ beq lbl_802637E8 -/* 8026367C 002605BC 7F 63 DB 78 */ mr r3, r27 -/* 80263680 002605C0 3B E0 00 01 */ li r31, 1 -/* 80263684 002605C4 81 9B 00 00 */ lwz r12, 0(r27) -/* 80263688 002605C8 3B C0 00 01 */ li r30, 1 -/* 8026368C 002605CC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80263690 002605D0 7D 89 03 A6 */ mtctr r12 -/* 80263694 002605D4 4E 80 04 21 */ bctrl -/* 80263698 002605D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026369C 002605DC 40 82 00 20 */ bne lbl_802636BC -/* 802636A0 002605E0 7F 63 DB 78 */ mr r3, r27 -/* 802636A4 002605E4 81 9B 00 00 */ lwz r12, 0(r27) -/* 802636A8 002605E8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802636AC 002605EC 7D 89 03 A6 */ mtctr r12 -/* 802636B0 002605F0 4E 80 04 21 */ bctrl -/* 802636B4 002605F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802636B8 002605F8 41 82 00 74 */ beq lbl_8026372C -lbl_802636BC: -/* 802636BC 002605FC 80 1B 00 C8 */ lwz r0, 0xc8(r27) -/* 802636C0 00260600 3B E0 00 00 */ li r31, 0 -/* 802636C4 00260604 28 00 00 00 */ cmplwi r0, 0 -/* 802636C8 00260608 41 82 00 F0 */ beq lbl_802637B8 -/* 802636CC 0026060C 80 1C 02 C0 */ lwz r0, 0x2c0(r28) -/* 802636D0 00260610 7F 86 E3 78 */ mr r6, r28 -/* 802636D4 00260614 28 00 00 00 */ cmplwi r0, 0 -/* 802636D8 00260618 41 82 00 08 */ beq lbl_802636E0 -/* 802636DC 0026061C 7C 06 03 78 */ mr r6, r0 -lbl_802636E0: -/* 802636E0 00260620 80 BC 00 C0 */ lwz r5, 0xc0(r28) -/* 802636E4 00260624 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 802636E8 00260628 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractPress@ha -/* 802636EC 0026062C 38 00 00 00 */ li r0, 0 -/* 802636F0 00260630 C0 05 06 04 */ lfs f0, 0x604(r5) -/* 802636F4 00260634 38 A4 A3 00 */ addi r5, r4, __vt__Q24Game11Interaction@l -/* 802636F8 00260638 38 63 B3 20 */ addi r3, r3, __vt__Q24Game13InteractPress@l -/* 802636FC 0026063C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80263700 00260640 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80263704 00260644 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 80263708 00260648 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026370C 0026064C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80263710 00260650 90 01 00 24 */ stw r0, 0x24(r1) -/* 80263714 00260654 80 7D 00 00 */ lwz r3, 0(r29) -/* 80263718 00260658 81 83 00 00 */ lwz r12, 0(r3) -/* 8026371C 0026065C 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80263720 00260660 7D 89 03 A6 */ mtctr r12 -/* 80263724 00260664 4E 80 04 21 */ bctrl -/* 80263728 00260668 48 00 00 90 */ b lbl_802637B8 -lbl_8026372C: -/* 8026372C 0026066C 7F 63 DB 78 */ mr r3, r27 -/* 80263730 00260670 81 9B 00 00 */ lwz r12, 0(r27) -/* 80263734 00260674 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 80263738 00260678 7D 89 03 A6 */ mtctr r12 -/* 8026373C 0026067C 4E 80 04 21 */ bctrl -/* 80263740 00260680 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80263744 00260684 41 82 00 74 */ beq lbl_802637B8 -/* 80263748 00260688 80 BD 00 04 */ lwz r5, 4(r29) -/* 8026374C 0026068C 3C 60 80 4B */ lis r3, __vt__Q24Game11Interaction@ha -/* 80263750 00260690 38 03 A3 00 */ addi r0, r3, __vt__Q24Game11Interaction@l -/* 80263754 00260694 C0 02 CA 7C */ lfs f0, lbl_8051ADDC@sda21(r2) -/* 80263758 00260698 3C 60 80 4B */ lis r3, __vt__Q24Game14InteractAttack@ha -/* 8026375C 0026069C 90 01 00 08 */ stw r0, 8(r1) -/* 80263760 002606A0 38 03 4D E0 */ addi r0, r3, __vt__Q24Game14InteractAttack@l -/* 80263764 002606A4 7F 63 DB 78 */ mr r3, r27 -/* 80263768 002606A8 93 81 00 0C */ stw r28, 0xc(r1) -/* 8026376C 002606AC 38 81 00 08 */ addi r4, r1, 8 -/* 80263770 002606B0 90 01 00 08 */ stw r0, 8(r1) -/* 80263774 002606B4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80263778 002606B8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8026377C 002606BC 81 9B 00 00 */ lwz r12, 0(r27) -/* 80263780 002606C0 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80263784 002606C4 7D 89 03 A6 */ mtctr r12 -/* 80263788 002606C8 4E 80 04 21 */ bctrl -/* 8026378C 002606CC 80 1C 02 E4 */ lwz r0, 0x2e4(r28) -/* 80263790 002606D0 2C 00 00 13 */ cmpwi r0, 0x13 -/* 80263794 002606D4 40 82 00 24 */ bne lbl_802637B8 -/* 80263798 002606D8 7F 63 DB 78 */ mr r3, r27 -/* 8026379C 002606DC 81 9B 00 00 */ lwz r12, 0(r27) -/* 802637A0 002606E0 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 802637A4 002606E4 7D 89 03 A6 */ mtctr r12 -/* 802637A8 002606E8 4E 80 04 21 */ bctrl -/* 802637AC 002606EC 2C 03 00 13 */ cmpwi r3, 0x13 -/* 802637B0 002606F0 40 82 00 08 */ bne lbl_802637B8 -/* 802637B4 002606F4 3B C0 00 00 */ li r30, 0 -lbl_802637B8: -/* 802637B8 002606F8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802637BC 002606FC 41 82 00 0C */ beq lbl_802637C8 -/* 802637C0 00260700 C0 02 CA 50 */ lfs f0, lbl_8051ADB0@sda21(r2) -/* 802637C4 00260704 D0 1C 02 00 */ stfs f0, 0x200(r28) -lbl_802637C8: -/* 802637C8 00260708 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802637CC 0026070C 41 82 00 1C */ beq lbl_802637E8 -/* 802637D0 00260710 7F 83 E3 78 */ mr r3, r28 -/* 802637D4 00260714 7F A4 EB 78 */ mr r4, r29 -/* 802637D8 00260718 81 9C 00 00 */ lwz r12, 0(r28) -/* 802637DC 0026071C 81 8C 02 40 */ lwz r12, 0x240(r12) -/* 802637E0 00260720 7D 89 03 A6 */ mtctr r12 -/* 802637E4 00260724 4E 80 04 21 */ bctrl -lbl_802637E8: -/* 802637E8 00260728 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 802637EC 0026072C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802637F0 00260730 7C 08 03 A6 */ mtlr r0 -/* 802637F4 00260734 38 21 00 40 */ addi r1, r1, 0x40 -/* 802637F8 00260738 4E 80 00 20 */ blr - -.global wallCallback__Q34Game4Rock3ObjFRCQ24Game8MoveInfo -wallCallback__Q34Game4Rock3ObjFRCQ24Game8MoveInfo: -/* 802637FC 0026073C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263800 00260740 7C 08 02 A6 */ mflr r0 -/* 80263804 00260744 90 01 00 14 */ stw r0, 0x14(r1) -/* 80263808 00260748 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026380C 0026074C 7C 7F 1B 78 */ mr r31, r3 -/* 80263810 00260750 4B EA 3B E5 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80263814 00260754 2C 03 00 04 */ cmpwi r3, 4 -/* 80263818 00260758 40 82 00 24 */ bne lbl_8026383C -/* 8026381C 0026075C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80263820 00260760 7F E4 FB 78 */ mr r4, r31 -/* 80263824 00260764 38 A0 00 05 */ li r5, 5 -/* 80263828 00260768 38 C0 00 00 */ li r6, 0 -/* 8026382C 0026076C 81 83 00 00 */ lwz r12, 0(r3) -/* 80263830 00260770 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80263834 00260774 7D 89 03 A6 */ mtctr r12 -/* 80263838 00260778 4E 80 04 21 */ bctrl -lbl_8026383C: -/* 8026383C 0026077C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263840 00260780 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80263844 00260784 7C 08 03 A6 */ mtlr r0 -/* 80263848 00260788 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026384C 0026078C 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game4Rock3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game4Rock3ObjFPQ24Game8WaterBox: -/* 80263850 00260790 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263854 00260794 7C 08 02 A6 */ mflr r0 -/* 80263858 00260798 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026385C 0026079C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80263860 002607A0 7C 7F 1B 78 */ mr r31, r3 -/* 80263864 002607A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80263868 002607A8 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 8026386C 002607AC 7D 89 03 A6 */ mtctr r12 -/* 80263870 002607B0 4E 80 04 21 */ bctrl -/* 80263874 002607B4 2C 03 00 4A */ cmpwi r3, 0x4a -/* 80263878 002607B8 40 82 00 30 */ bne lbl_802638A8 -/* 8026387C 002607BC 7F E3 FB 78 */ mr r3, r31 -/* 80263880 002607C0 4B EA 3B 75 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80263884 002607C4 2C 03 00 04 */ cmpwi r3, 4 -/* 80263888 002607C8 40 82 00 20 */ bne lbl_802638A8 -/* 8026388C 002607CC 7F E3 FB 78 */ mr r3, r31 -/* 80263890 002607D0 48 00 08 E5 */ bl finishRollingGroundEffect__Q34Game4Rock3ObjFv -/* 80263894 002607D4 7F E3 FB 78 */ mr r3, r31 -/* 80263898 002607D8 48 00 09 0D */ bl startRollingWaterEffect__Q34Game4Rock3ObjFv -/* 8026389C 002607DC C0 3F 01 F8 */ lfs f1, 0x1f8(r31) -/* 802638A0 002607E0 7F E3 FB 78 */ mr r3, r31 -/* 802638A4 002607E4 48 20 AF 9D */ bl PSStartEnemyDownWatSE__FPQ24Game9EnemyBasef -lbl_802638A8: -/* 802638A8 002607E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802638AC 002607EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802638B0 002607F0 7C 08 03 A6 */ mtlr r0 -/* 802638B4 002607F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802638B8 002607F8 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game4Rock3ObjFv -outWaterCallback__Q34Game4Rock3ObjFv: -/* 802638BC 002607FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802638C0 00260800 7C 08 02 A6 */ mflr r0 -/* 802638C4 00260804 90 01 00 14 */ stw r0, 0x14(r1) -/* 802638C8 00260808 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802638CC 0026080C 7C 7F 1B 78 */ mr r31, r3 -/* 802638D0 00260810 81 83 00 00 */ lwz r12, 0(r3) -/* 802638D4 00260814 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 802638D8 00260818 7D 89 03 A6 */ mtctr r12 -/* 802638DC 0026081C 4E 80 04 21 */ bctrl -/* 802638E0 00260820 2C 03 00 4A */ cmpwi r3, 0x4a -/* 802638E4 00260824 40 82 00 24 */ bne lbl_80263908 -/* 802638E8 00260828 7F E3 FB 78 */ mr r3, r31 -/* 802638EC 0026082C 4B EA 3B 09 */ bl getStateID__Q24Game9EnemyBaseFv -/* 802638F0 00260830 2C 03 00 04 */ cmpwi r3, 4 -/* 802638F4 00260834 40 82 00 14 */ bne lbl_80263908 -/* 802638F8 00260838 7F E3 FB 78 */ mr r3, r31 -/* 802638FC 0026083C 48 00 09 A1 */ bl finishRollingWaterEffect__Q34Game4Rock3ObjFv -/* 80263900 00260840 7F E3 FB 78 */ mr r3, r31 -/* 80263904 00260844 48 00 08 3D */ bl startRollingGroundEffect__Q34Game4Rock3ObjFv -lbl_80263908: -/* 80263908 00260848 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026390C 0026084C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80263910 00260850 7C 08 03 A6 */ mtlr r0 -/* 80263914 00260854 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263918 00260858 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game4Rock3ObjFv -doStartMovie__Q34Game4Rock3ObjFv: -/* 8026391C 0026085C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263920 00260860 7C 08 02 A6 */ mflr r0 -/* 80263924 00260864 90 01 00 14 */ stw r0, 0x14(r1) -/* 80263928 00260868 48 00 0B 89 */ bl effectDrawOff__Q34Game4Rock3ObjFv -/* 8026392C 0026086C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263930 00260870 7C 08 03 A6 */ mtlr r0 -/* 80263934 00260874 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263938 00260878 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game4Rock3ObjFv -doEndMovie__Q34Game4Rock3ObjFv: -/* 8026393C 0026087C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263940 00260880 7C 08 02 A6 */ mflr r0 -/* 80263944 00260884 90 01 00 14 */ stw r0, 0x14(r1) -/* 80263948 00260888 48 00 0B 05 */ bl effectDrawOn__Q34Game4Rock3ObjFv -/* 8026394C 0026088C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263950 00260890 7C 08 03 A6 */ mtlr r0 -/* 80263954 00260894 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263958 00260898 4E 80 00 20 */ blr - -.global ignoreAtari__Q34Game4Rock3ObjFPQ24Game8Creature -ignoreAtari__Q34Game4Rock3ObjFPQ24Game8Creature: -/* 8026395C 0026089C 80 03 02 C0 */ lwz r0, 0x2c0(r3) -/* 80263960 002608A0 7C 04 00 40 */ cmplw r4, r0 -/* 80263964 002608A4 40 82 00 1C */ bne lbl_80263980 -/* 80263968 002608A8 C0 23 02 C8 */ lfs f1, 0x2c8(r3) -/* 8026396C 002608AC C0 02 CA 74 */ lfs f0, lbl_8051ADD4@sda21(r2) -/* 80263970 002608B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80263974 002608B4 40 80 00 0C */ bge lbl_80263980 -/* 80263978 002608B8 38 60 00 01 */ li r3, 1 -/* 8026397C 002608BC 4E 80 00 20 */ blr -lbl_80263980: -/* 80263980 002608C0 38 60 00 00 */ li r3, 0 -/* 80263984 002608C4 4E 80 00 20 */ blr - -.global fallRockScaleUp__Q34Game4Rock3ObjFv -fallRockScaleUp__Q34Game4Rock3ObjFv: -/* 80263988 002608C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026398C 002608CC 7C 08 02 A6 */ mflr r0 -/* 80263990 002608D0 C0 42 CA 74 */ lfs f2, lbl_8051ADD4@sda21(r2) -/* 80263994 002608D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80263998 002608D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026399C 002608DC 3B E0 00 00 */ li r31, 0 -/* 802639A0 002608E0 C0 63 01 F8 */ lfs f3, 0x1f8(r3) -/* 802639A4 002608E4 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 802639A8 002608E8 40 80 00 44 */ bge lbl_802639EC -/* 802639AC 002608EC 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 802639B0 002608F0 C0 23 02 D4 */ lfs f1, 0x2d4(r3) -/* 802639B4 002608F4 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 802639B8 002608F8 EC 21 18 3A */ fmadds f1, f1, f0, f3 -/* 802639BC 002608FC FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 802639C0 00260900 4C 41 13 82 */ cror 2, 1, 2 -/* 802639C4 00260904 40 82 00 0C */ bne lbl_802639D0 -/* 802639C8 00260908 3B E0 00 01 */ li r31, 1 -/* 802639CC 0026090C FC 20 10 90 */ fmr f1, f2 -lbl_802639D0: -/* 802639D0 00260910 D0 23 01 F8 */ stfs f1, 0x1f8(r3) -/* 802639D4 00260914 D0 23 01 68 */ stfs f1, 0x168(r3) -/* 802639D8 00260918 D0 23 01 6C */ stfs f1, 0x16c(r3) -/* 802639DC 0026091C D0 23 01 70 */ stfs f1, 0x170(r3) -/* 802639E0 00260920 80 63 01 14 */ lwz r3, 0x114(r3) -/* 802639E4 00260924 80 63 00 00 */ lwz r3, 0(r3) -/* 802639E8 00260928 4B ED 44 25 */ bl setScale__8CollPartFf -lbl_802639EC: -/* 802639EC 0026092C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802639F0 00260930 7F E3 FB 78 */ mr r3, r31 -/* 802639F4 00260934 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802639F8 00260938 7C 08 03 A6 */ mtlr r0 -/* 802639FC 0026093C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263A00 00260940 4E 80 00 20 */ blr - -.global moveRockScaleUp__Q34Game4Rock3ObjFv -moveRockScaleUp__Q34Game4Rock3ObjFv: -/* 80263A04 00260944 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80263A08 00260948 7C 08 02 A6 */ mflr r0 -/* 80263A0C 0026094C C0 42 CA 74 */ lfs f2, lbl_8051ADD4@sda21(r2) -/* 80263A10 00260950 90 01 00 14 */ stw r0, 0x14(r1) -/* 80263A14 00260954 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80263A18 00260958 3B E0 00 00 */ li r31, 0 -/* 80263A1C 0026095C C0 63 01 F8 */ lfs f3, 0x1f8(r3) -/* 80263A20 00260960 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80263A24 00260964 40 80 00 44 */ bge lbl_80263A68 -/* 80263A28 00260968 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 80263A2C 0026096C C0 22 CA 6C */ lfs f1, lbl_8051ADCC@sda21(r2) -/* 80263A30 00260970 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 80263A34 00260974 EC 21 18 3A */ fmadds f1, f1, f0, f3 -/* 80263A38 00260978 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80263A3C 0026097C 4C 41 13 82 */ cror 2, 1, 2 -/* 80263A40 00260980 40 82 00 0C */ bne lbl_80263A4C -/* 80263A44 00260984 3B E0 00 01 */ li r31, 1 -/* 80263A48 00260988 FC 20 10 90 */ fmr f1, f2 -lbl_80263A4C: -/* 80263A4C 0026098C D0 23 01 F8 */ stfs f1, 0x1f8(r3) -/* 80263A50 00260990 D0 23 01 68 */ stfs f1, 0x168(r3) -/* 80263A54 00260994 D0 23 01 6C */ stfs f1, 0x16c(r3) -/* 80263A58 00260998 D0 23 01 70 */ stfs f1, 0x170(r3) -/* 80263A5C 0026099C 80 63 01 14 */ lwz r3, 0x114(r3) -/* 80263A60 002609A0 80 63 00 00 */ lwz r3, 0(r3) -/* 80263A64 002609A4 4B ED 43 A9 */ bl setScale__8CollPartFf -lbl_80263A68: -/* 80263A68 002609A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80263A6C 002609AC 7F E3 FB 78 */ mr r3, r31 -/* 80263A70 002609B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80263A74 002609B4 7C 08 03 A6 */ mtlr r0 -/* 80263A78 002609B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80263A7C 002609BC 4E 80 00 20 */ blr - -.global initMoveVelocity__Q34Game4Rock3ObjFv -initMoveVelocity__Q34Game4Rock3ObjFv: -/* 80263A80 002609C0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80263A84 002609C4 7C 08 02 A6 */ mflr r0 -/* 80263A88 002609C8 C0 02 CA 50 */ lfs f0, lbl_8051ADB0@sda21(r2) -/* 80263A8C 002609CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80263A90 002609D0 C0 63 01 FC */ lfs f3, 0x1fc(r3) -/* 80263A94 002609D4 FC 20 18 90 */ fmr f1, f3 -/* 80263A98 002609D8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80263A9C 002609DC 40 80 00 08 */ bge lbl_80263AA4 -/* 80263AA0 002609E0 FC 20 18 50 */ fneg f1, f3 -lbl_80263AA4: -/* 80263AA4 002609E4 C0 42 CA 80 */ lfs f2, lbl_8051ADE0@sda21(r2) -/* 80263AA8 002609E8 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 80263AAC 002609EC C0 02 CA 50 */ lfs f0, lbl_8051ADB0@sda21(r2) -/* 80263AB0 002609F0 38 A4 71 A0 */ addi r5, r4, sincosTable___5JMath@l -/* 80263AB4 002609F4 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80263AB8 002609F8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80263ABC 002609FC FC 00 08 1E */ fctiwz f0, f1 -/* 80263AC0 00260A00 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 80263AC4 00260A04 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80263AC8 00260A08 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80263ACC 00260A0C 7C 85 02 14 */ add r4, r5, r0 -/* 80263AD0 00260A10 C0 84 00 04 */ lfs f4, 4(r4) -/* 80263AD4 00260A14 40 80 00 28 */ bge lbl_80263AFC -/* 80263AD8 00260A18 C0 02 CA 84 */ lfs f0, lbl_8051ADE4@sda21(r2) -/* 80263ADC 00260A1C EC 03 00 32 */ fmuls f0, f3, f0 -/* 80263AE0 00260A20 FC 00 00 1E */ fctiwz f0, f0 -/* 80263AE4 00260A24 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 80263AE8 00260A28 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80263AEC 00260A2C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80263AF0 00260A30 7C 05 04 2E */ lfsx f0, r5, r0 -/* 80263AF4 00260A34 FC 40 00 50 */ fneg f2, f0 -/* 80263AF8 00260A38 48 00 00 1C */ b lbl_80263B14 -lbl_80263AFC: -/* 80263AFC 00260A3C EC 03 00 B2 */ fmuls f0, f3, f2 -/* 80263B00 00260A40 FC 00 00 1E */ fctiwz f0, f0 -/* 80263B04 00260A44 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 80263B08 00260A48 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80263B0C 00260A4C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80263B10 00260A50 7C 45 04 2E */ lfsx f2, r5, r0 -lbl_80263B14: -/* 80263B14 00260A54 C0 22 CA 50 */ lfs f1, lbl_8051ADB0@sda21(r2) -/* 80263B18 00260A58 FC 00 10 18 */ frsp f0, f2 -/* 80263B1C 00260A5C D0 41 00 08 */ stfs f2, 8(r1) -/* 80263B20 00260A60 38 81 00 08 */ addi r4, r1, 8 -/* 80263B24 00260A64 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80263B28 00260A68 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80263B2C 00260A6C 80 A3 00 C0 */ lwz r5, 0xc0(r3) -/* 80263B30 00260A70 C0 65 02 E4 */ lfs f3, 0x2e4(r5) -/* 80263B34 00260A74 EC 40 00 F2 */ fmuls f2, f0, f3 -/* 80263B38 00260A78 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80263B3C 00260A7C EC 04 00 F2 */ fmuls f0, f4, f3 -/* 80263B40 00260A80 D0 41 00 08 */ stfs f2, 8(r1) -/* 80263B44 00260A84 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80263B48 00260A88 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80263B4C 00260A8C D0 43 01 D4 */ stfs f2, 0x1d4(r3) -/* 80263B50 00260A90 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80263B54 00260A94 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80263B58 00260A98 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80263B5C 00260A9C D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80263B60 00260AA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80263B64 00260AA4 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80263B68 00260AA8 7D 89 03 A6 */ mtctr r12 -/* 80263B6C 00260AAC 4E 80 04 21 */ bctrl -/* 80263B70 00260AB0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80263B74 00260AB4 7C 08 03 A6 */ mtlr r0 -/* 80263B78 00260AB8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80263B7C 00260ABC 4E 80 00 20 */ blr - -.global updateMoveVelocity__Q34Game4Rock3ObjFv -updateMoveVelocity__Q34Game4Rock3ObjFv: -/* 80263B80 00260AC0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80263B84 00260AC4 7C 08 02 A6 */ mflr r0 -/* 80263B88 00260AC8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80263B8C 00260ACC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80263B90 00260AD0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80263B94 00260AD4 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80263B98 00260AD8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80263B9C 00260ADC DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80263BA0 00260AE0 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80263BA4 00260AE4 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80263BA8 00260AE8 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80263BAC 00260AEC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80263BB0 00260AF0 7C 7F 1B 78 */ mr r31, r3 -/* 80263BB4 00260AF4 88 03 02 C4 */ lbz r0, 0x2c4(r3) -/* 80263BB8 00260AF8 28 00 00 00 */ cmplwi r0, 0 -/* 80263BBC 00260AFC 41 82 01 F8 */ beq lbl_80263DB4 -/* 80263BC0 00260B00 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 80263BC4 00260B04 38 60 00 00 */ li r3, 0 -/* 80263BC8 00260B08 28 04 00 00 */ cmplwi r4, 0 -/* 80263BCC 00260B0C 41 82 00 30 */ beq lbl_80263BFC -/* 80263BD0 00260B10 80 84 00 44 */ lwz r4, 0x44(r4) -/* 80263BD4 00260B14 38 00 00 00 */ li r0, 0 -/* 80263BD8 00260B18 2C 04 00 01 */ cmpwi r4, 1 -/* 80263BDC 00260B1C 41 82 00 0C */ beq lbl_80263BE8 -/* 80263BE0 00260B20 2C 04 00 03 */ cmpwi r4, 3 -/* 80263BE4 00260B24 40 82 00 08 */ bne lbl_80263BEC -lbl_80263BE8: -/* 80263BE8 00260B28 38 00 00 01 */ li r0, 1 -lbl_80263BEC: -/* 80263BEC 00260B2C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80263BF0 00260B30 40 82 00 0C */ bne lbl_80263BFC -/* 80263BF4 00260B34 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 80263BF8 00260B38 4B EF 70 29 */ bl getActiveNavi__Q24Game7NaviMgrFv -lbl_80263BFC: -/* 80263BFC 00260B3C 28 03 00 00 */ cmplwi r3, 0 -/* 80263C00 00260B40 40 82 00 24 */ bne lbl_80263C24 -/* 80263C04 00260B44 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80263C08 00260B48 7F E3 FB 78 */ mr r3, r31 -/* 80263C0C 00260B4C C0 22 CA 88 */ lfs f1, lbl_8051ADE8@sda21(r2) -/* 80263C10 00260B50 38 80 00 00 */ li r4, 0 -/* 80263C14 00260B54 C0 45 03 D4 */ lfs f2, 0x3d4(r5) -/* 80263C18 00260B58 38 A0 00 00 */ li r5, 0 -/* 80263C1C 00260B5C 38 C0 00 00 */ li r6, 0 -/* 80263C20 00260B60 4B EA F4 31 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -lbl_80263C24: -/* 80263C24 00260B64 28 03 00 00 */ cmplwi r3, 0 -/* 80263C28 00260B68 41 82 00 28 */ beq lbl_80263C50 -/* 80263C2C 00260B6C 7C 64 1B 78 */ mr r4, r3 -/* 80263C30 00260B70 38 61 00 44 */ addi r3, r1, 0x44 -/* 80263C34 00260B74 81 84 00 00 */ lwz r12, 0(r4) -/* 80263C38 00260B78 81 8C 00 08 */ lwz r12, 8(r12) -/* 80263C3C 00260B7C 7D 89 03 A6 */ mtctr r12 -/* 80263C40 00260B80 4E 80 04 21 */ bctrl -/* 80263C44 00260B84 C3 81 00 44 */ lfs f28, 0x44(r1) -/* 80263C48 00260B88 C3 A1 00 4C */ lfs f29, 0x4c(r1) -/* 80263C4C 00260B8C 48 00 00 1C */ b lbl_80263C68 -lbl_80263C50: -/* 80263C50 00260B90 C0 7F 01 8C */ lfs f3, 0x18c(r31) -/* 80263C54 00260B94 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 80263C58 00260B98 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 80263C5C 00260B9C C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80263C60 00260BA0 EF 83 10 2A */ fadds f28, f3, f2 -/* 80263C64 00260BA4 EF A1 00 2A */ fadds f29, f1, f0 -lbl_80263C68: -/* 80263C68 00260BA8 7F E4 FB 78 */ mr r4, r31 -/* 80263C6C 00260BAC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80263C70 00260BB0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263C74 00260BB4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80263C78 00260BB8 C3 C5 03 34 */ lfs f30, 0x334(r5) -/* 80263C7C 00260BBC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80263C80 00260BC0 C3 E5 03 0C */ lfs f31, 0x30c(r5) -/* 80263C84 00260BC4 7D 89 03 A6 */ mtctr r12 -/* 80263C88 00260BC8 4E 80 04 21 */ bctrl -/* 80263C8C 00260BCC C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 80263C90 00260BD0 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80263C94 00260BD4 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80263C98 00260BD8 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80263C9C 00260BDC C0 61 00 30 */ lfs f3, 0x30(r1) -/* 80263CA0 00260BE0 EC 3C 20 28 */ fsubs f1, f28, f4 -/* 80263CA4 00260BE4 EC 5D 00 28 */ fsubs f2, f29, f0 -/* 80263CA8 00260BE8 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80263CAC 00260BEC D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80263CB0 00260BF0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80263CB4 00260BF4 4B DD 14 55 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80263CB8 00260BF8 48 1A DF 19 */ bl roundAng__Ff -/* 80263CBC 00260BFC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263CC0 00260C00 FF 80 08 90 */ fmr f28, f1 -/* 80263CC4 00260C04 7F E3 FB 78 */ mr r3, r31 -/* 80263CC8 00260C08 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80263CCC 00260C0C 7D 89 03 A6 */ mtctr r12 -/* 80263CD0 00260C10 4E 80 04 21 */ bctrl -/* 80263CD4 00260C14 FC 40 08 90 */ fmr f2, f1 -/* 80263CD8 00260C18 FC 20 E0 90 */ fmr f1, f28 -/* 80263CDC 00260C1C 48 1A DF 21 */ bl angDist__Fff -/* 80263CE0 00260C20 EF E1 07 F2 */ fmuls f31, f1, f31 -/* 80263CE4 00260C24 C0 02 CA 90 */ lfs f0, lbl_8051ADF0@sda21(r2) -/* 80263CE8 00260C28 C0 22 CA 8C */ lfs f1, lbl_8051ADEC@sda21(r2) -/* 80263CEC 00260C2C EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80263CF0 00260C30 FC 40 FA 10 */ fabs f2, f31 -/* 80263CF4 00260C34 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80263CF8 00260C38 FC 00 10 18 */ frsp f0, f2 -/* 80263CFC 00260C3C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80263D00 00260C40 40 81 00 1C */ ble lbl_80263D1C -/* 80263D04 00260C44 C0 02 CA 50 */ lfs f0, lbl_8051ADB0@sda21(r2) -/* 80263D08 00260C48 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80263D0C 00260C4C 40 81 00 0C */ ble lbl_80263D18 -/* 80263D10 00260C50 FF E0 08 90 */ fmr f31, f1 -/* 80263D14 00260C54 48 00 00 08 */ b lbl_80263D1C -lbl_80263D18: -/* 80263D18 00260C58 FF E0 08 50 */ fneg f31, f1 -lbl_80263D1C: -/* 80263D1C 00260C5C 7F E3 FB 78 */ mr r3, r31 -/* 80263D20 00260C60 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263D24 00260C64 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80263D28 00260C68 7D 89 03 A6 */ mtctr r12 -/* 80263D2C 00260C6C 4E 80 04 21 */ bctrl -/* 80263D30 00260C70 EC 3F 08 2A */ fadds f1, f31, f1 -/* 80263D34 00260C74 48 1A DE 9D */ bl roundAng__Ff -/* 80263D38 00260C78 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80263D3C 00260C7C 7F E3 FB 78 */ mr r3, r31 -/* 80263D40 00260C80 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80263D44 00260C84 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80263D48 00260C88 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263D4C 00260C8C 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80263D50 00260C90 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80263D54 00260C94 C3 C4 08 1C */ lfs f30, 0x81c(r4) -/* 80263D58 00260C98 7D 89 03 A6 */ mtctr r12 -/* 80263D5C 00260C9C 4E 80 04 21 */ bctrl -/* 80263D60 00260CA0 4B E6 BA BD */ bl sin -/* 80263D64 00260CA4 7F E3 FB 78 */ mr r3, r31 -/* 80263D68 00260CA8 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 80263D6C 00260CAC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263D70 00260CB0 FF 80 08 18 */ frsp f28, f1 -/* 80263D74 00260CB4 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 80263D78 00260CB8 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80263D7C 00260CBC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80263D80 00260CC0 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80263D84 00260CC4 D3 E1 00 3C */ stfs f31, 0x3c(r1) -/* 80263D88 00260CC8 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80263D8C 00260CCC 7D 89 03 A6 */ mtctr r12 -/* 80263D90 00260CD0 4E 80 04 21 */ bctrl -/* 80263D94 00260CD4 4B E6 B5 21 */ bl cos -/* 80263D98 00260CD8 EC 1E 07 32 */ fmuls f0, f30, f28 -/* 80263D9C 00260CDC FC 20 08 18 */ frsp f1, f1 -/* 80263DA0 00260CE0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80263DA4 00260CE4 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 80263DA8 00260CE8 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 80263DAC 00260CEC D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80263DB0 00260CF0 48 00 01 3C */ b lbl_80263EEC -lbl_80263DB4: -/* 80263DB4 00260CF4 C0 42 CA 98 */ lfs f2, lbl_8051ADF8@sda21(r2) -/* 80263DB8 00260CF8 7F E4 FB 78 */ mr r4, r31 -/* 80263DBC 00260CFC C0 1F 01 D4 */ lfs f0, 0x1d4(r31) -/* 80263DC0 00260D00 38 61 00 14 */ addi r3, r1, 0x14 -/* 80263DC4 00260D04 C0 62 CA 94 */ lfs f3, lbl_8051ADF4@sda21(r2) -/* 80263DC8 00260D08 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80263DCC 00260D0C C0 3F 01 C8 */ lfs f1, 0x1c8(r31) -/* 80263DD0 00260D10 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80263DD4 00260D14 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80263DD8 00260D18 C0 1F 01 D8 */ lfs f0, 0x1d8(r31) -/* 80263DDC 00260D1C C0 3F 01 CC */ lfs f1, 0x1cc(r31) -/* 80263DE0 00260D20 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80263DE4 00260D24 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80263DE8 00260D28 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80263DEC 00260D2C C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80263DF0 00260D30 C0 3F 01 D0 */ lfs f1, 0x1d0(r31) -/* 80263DF4 00260D34 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80263DF8 00260D38 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80263DFC 00260D3C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80263E00 00260D40 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263E04 00260D44 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80263E08 00260D48 C0 7F 01 94 */ lfs f3, 0x194(r31) -/* 80263E0C 00260D4C C0 5F 01 DC */ lfs f2, 0x1dc(r31) -/* 80263E10 00260D50 C0 3F 01 8C */ lfs f1, 0x18c(r31) -/* 80263E14 00260D54 C0 1F 01 D4 */ lfs f0, 0x1d4(r31) -/* 80263E18 00260D58 EF 83 10 2A */ fadds f28, f3, f2 -/* 80263E1C 00260D5C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80263E20 00260D60 EF A1 00 2A */ fadds f29, f1, f0 -/* 80263E24 00260D64 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 80263E28 00260D68 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80263E2C 00260D6C 7D 89 03 A6 */ mtctr r12 -/* 80263E30 00260D70 4E 80 04 21 */ bctrl -/* 80263E34 00260D74 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 80263E38 00260D78 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80263E3C 00260D7C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80263E40 00260D80 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80263E44 00260D84 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 80263E48 00260D88 EC 3D 20 28 */ fsubs f1, f29, f4 -/* 80263E4C 00260D8C EC 5C 00 28 */ fsubs f2, f28, f0 -/* 80263E50 00260D90 D0 81 00 08 */ stfs f4, 8(r1) -/* 80263E54 00260D94 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80263E58 00260D98 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80263E5C 00260D9C 4B DD 12 AD */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80263E60 00260DA0 48 1A DD 71 */ bl roundAng__Ff -/* 80263E64 00260DA4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263E68 00260DA8 FF 80 08 90 */ fmr f28, f1 -/* 80263E6C 00260DAC 7F E3 FB 78 */ mr r3, r31 -/* 80263E70 00260DB0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80263E74 00260DB4 7D 89 03 A6 */ mtctr r12 -/* 80263E78 00260DB8 4E 80 04 21 */ bctrl -/* 80263E7C 00260DBC FC 40 08 90 */ fmr f2, f1 -/* 80263E80 00260DC0 FC 20 E0 90 */ fmr f1, f28 -/* 80263E84 00260DC4 48 1A DD 79 */ bl angDist__Fff -/* 80263E88 00260DC8 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 80263E8C 00260DCC C0 02 CA 90 */ lfs f0, lbl_8051ADF0@sda21(r2) -/* 80263E90 00260DD0 C0 22 CA 8C */ lfs f1, lbl_8051ADEC@sda21(r2) -/* 80263E94 00260DD4 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80263E98 00260DD8 FC 40 F2 10 */ fabs f2, f30 -/* 80263E9C 00260DDC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80263EA0 00260DE0 FC 00 10 18 */ frsp f0, f2 -/* 80263EA4 00260DE4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80263EA8 00260DE8 40 81 00 1C */ ble lbl_80263EC4 -/* 80263EAC 00260DEC C0 02 CA 50 */ lfs f0, lbl_8051ADB0@sda21(r2) -/* 80263EB0 00260DF0 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80263EB4 00260DF4 40 81 00 0C */ ble lbl_80263EC0 -/* 80263EB8 00260DF8 FF C0 08 90 */ fmr f30, f1 -/* 80263EBC 00260DFC 48 00 00 08 */ b lbl_80263EC4 -lbl_80263EC0: -/* 80263EC0 00260E00 FF C0 08 50 */ fneg f30, f1 -lbl_80263EC4: -/* 80263EC4 00260E04 7F E3 FB 78 */ mr r3, r31 -/* 80263EC8 00260E08 81 9F 00 00 */ lwz r12, 0(r31) -/* 80263ECC 00260E0C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80263ED0 00260E10 7D 89 03 A6 */ mtctr r12 -/* 80263ED4 00260E14 4E 80 04 21 */ bctrl -/* 80263ED8 00260E18 EC 3E 08 2A */ fadds f1, f30, f1 -/* 80263EDC 00260E1C 48 1A DC F5 */ bl roundAng__Ff -/* 80263EE0 00260E20 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80263EE4 00260E24 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80263EE8 00260E28 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -lbl_80263EEC: -/* 80263EEC 00260E2C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80263EF0 00260E30 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80263EF4 00260E34 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80263EF8 00260E38 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80263EFC 00260E3C E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80263F00 00260E40 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80263F04 00260E44 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 80263F08 00260E48 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 80263F0C 00260E4C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80263F10 00260E50 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80263F14 00260E54 7C 08 03 A6 */ mtlr r0 -/* 80263F18 00260E58 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80263F1C 00260E5C 4E 80 00 20 */ blr - -.global createEffect__Q34Game4Rock3ObjFv -createEffect__Q34Game4Rock3ObjFv: -/* 80263F20 00260E60 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80263F24 00260E64 7C 08 02 A6 */ mflr r0 -/* 80263F28 00260E68 90 01 00 24 */ stw r0, 0x24(r1) -/* 80263F2C 00260E6C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80263F30 00260E70 7C 7F 1B 78 */ mr r31, r3 -/* 80263F34 00260E74 38 60 00 14 */ li r3, 0x14 -/* 80263F38 00260E78 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80263F3C 00260E7C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80263F40 00260E80 4B DB FF 65 */ bl __nw__FUl -/* 80263F44 00260E84 28 03 00 00 */ cmplwi r3, 0 -/* 80263F48 00260E88 41 82 00 78 */ beq lbl_80263FC0 -/* 80263F4C 00260E8C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80263F50 00260E90 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80263F54 00260E94 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80263F58 00260E98 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80263F5C 00260E9C 90 03 00 00 */ stw r0, 0(r3) -/* 80263F60 00260EA0 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80263F64 00260EA4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80263F68 00260EA8 3C 80 80 4E */ lis r4, __vt__Q23efx9TChasePos@ha -/* 80263F6C 00260EAC 90 03 00 04 */ stw r0, 4(r3) -/* 80263F70 00260EB0 38 E4 69 40 */ addi r7, r4, __vt__Q23efx9TChasePos@l -/* 80263F74 00260EB4 3C 80 80 4C */ lis r4, __vt__Q23efx8TRockRun@ha -/* 80263F78 00260EB8 38 05 00 14 */ addi r0, r5, 0x14 -/* 80263F7C 00260EBC 90 A3 00 00 */ stw r5, 0(r3) -/* 80263F80 00260EC0 38 84 41 E8 */ addi r4, r4, __vt__Q23efx8TRockRun@l -/* 80263F84 00260EC4 39 20 00 00 */ li r9, 0 -/* 80263F88 00260EC8 39 00 02 B2 */ li r8, 0x2b2 -/* 80263F8C 00260ECC 90 03 00 04 */ stw r0, 4(r3) -/* 80263F90 00260ED0 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80263F94 00260ED4 38 A0 01 AA */ li r5, 0x1aa -/* 80263F98 00260ED8 38 04 00 14 */ addi r0, r4, 0x14 -/* 80263F9C 00260EDC 91 23 00 08 */ stw r9, 8(r3) -/* 80263FA0 00260EE0 B1 03 00 0C */ sth r8, 0xc(r3) -/* 80263FA4 00260EE4 99 23 00 0E */ stb r9, 0xe(r3) -/* 80263FA8 00260EE8 90 E3 00 00 */ stw r7, 0(r3) -/* 80263FAC 00260EEC 90 C3 00 04 */ stw r6, 4(r3) -/* 80263FB0 00260EF0 91 23 00 10 */ stw r9, 0x10(r3) -/* 80263FB4 00260EF4 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 80263FB8 00260EF8 90 83 00 00 */ stw r4, 0(r3) -/* 80263FBC 00260EFC 90 03 00 04 */ stw r0, 4(r3) -lbl_80263FC0: -/* 80263FC0 00260F00 90 7F 02 D8 */ stw r3, 0x2d8(r31) -/* 80263FC4 00260F04 38 60 00 14 */ li r3, 0x14 -/* 80263FC8 00260F08 4B DB FE DD */ bl __nw__FUl -/* 80263FCC 00260F0C 28 03 00 00 */ cmplwi r3, 0 -/* 80263FD0 00260F10 41 82 00 78 */ beq lbl_80264048 -/* 80263FD4 00260F14 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80263FD8 00260F18 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80263FDC 00260F1C 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80263FE0 00260F20 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80263FE4 00260F24 90 03 00 00 */ stw r0, 0(r3) -/* 80263FE8 00260F28 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80263FEC 00260F2C 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80263FF0 00260F30 3C 80 80 4E */ lis r4, __vt__Q23efx9TChasePos@ha -/* 80263FF4 00260F34 90 03 00 04 */ stw r0, 4(r3) -/* 80263FF8 00260F38 38 E4 69 40 */ addi r7, r4, __vt__Q23efx9TChasePos@l -/* 80263FFC 00260F3C 3C 80 80 4C */ lis r4, __vt__Q23efx10TRockGrRun@ha -/* 80264000 00260F40 38 05 00 14 */ addi r0, r5, 0x14 -/* 80264004 00260F44 90 A3 00 00 */ stw r5, 0(r3) -/* 80264008 00260F48 38 84 41 9C */ addi r4, r4, __vt__Q23efx10TRockGrRun@l -/* 8026400C 00260F4C 39 20 00 00 */ li r9, 0 -/* 80264010 00260F50 39 00 02 B2 */ li r8, 0x2b2 -/* 80264014 00260F54 90 03 00 04 */ stw r0, 4(r3) -/* 80264018 00260F58 38 C7 00 14 */ addi r6, r7, 0x14 -/* 8026401C 00260F5C 38 A0 01 A9 */ li r5, 0x1a9 -/* 80264020 00260F60 38 04 00 14 */ addi r0, r4, 0x14 -/* 80264024 00260F64 91 23 00 08 */ stw r9, 8(r3) -/* 80264028 00260F68 B1 03 00 0C */ sth r8, 0xc(r3) -/* 8026402C 00260F6C 99 23 00 0E */ stb r9, 0xe(r3) -/* 80264030 00260F70 90 E3 00 00 */ stw r7, 0(r3) -/* 80264034 00260F74 90 C3 00 04 */ stw r6, 4(r3) -/* 80264038 00260F78 91 23 00 10 */ stw r9, 0x10(r3) -/* 8026403C 00260F7C B0 A3 00 0C */ sth r5, 0xc(r3) -/* 80264040 00260F80 90 83 00 00 */ stw r4, 0(r3) -/* 80264044 00260F84 90 03 00 04 */ stw r0, 4(r3) -lbl_80264048: -/* 80264048 00260F88 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 8026404C 00260F8C 38 60 00 58 */ li r3, 0x58 -/* 80264050 00260F90 4B DB FE 55 */ bl __nw__FUl -/* 80264054 00260F94 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80264058 00260F98 41 82 00 4C */ beq lbl_802640A4 -/* 8026405C 00260F9C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80264060 00260FA0 3C 60 80 4C */ lis r3, __vt__Q23efx9TRockWRun@ha -/* 80264064 00260FA4 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80264068 00260FA8 3B BE 00 04 */ addi r29, r30, 4 -/* 8026406C 00260FAC 90 1E 00 00 */ stw r0, 0(r30) -/* 80264070 00260FB0 38 03 41 88 */ addi r0, r3, __vt__Q23efx9TRockWRun@l -/* 80264074 00260FB4 7F A3 EB 78 */ mr r3, r29 -/* 80264078 00260FB8 38 9E 00 48 */ addi r4, r30, 0x48 -/* 8026407C 00260FBC 90 1E 00 00 */ stw r0, 0(r30) -/* 80264080 00260FC0 38 A0 02 8E */ li r5, 0x28e -/* 80264084 00260FC4 38 C0 02 8F */ li r6, 0x28f -/* 80264088 00260FC8 38 E0 02 90 */ li r7, 0x290 -/* 8026408C 00260FCC 48 14 C2 C5 */ bl __ct__Q23efx10TChasePos3FP10Vector3$$0f$$1UsUsUs -/* 80264090 00260FD0 3C 60 80 4C */ lis r3, __vt__Q23efx17TRockWRunChasePos@ha -/* 80264094 00260FD4 38 00 00 00 */ li r0, 0 -/* 80264098 00260FD8 38 63 41 6C */ addi r3, r3, __vt__Q23efx17TRockWRunChasePos@l -/* 8026409C 00260FDC 90 7D 00 00 */ stw r3, 0(r29) -/* 802640A0 00260FE0 98 1E 00 54 */ stb r0, 0x54(r30) -lbl_802640A4: -/* 802640A4 00260FE4 93 DF 02 E0 */ stw r30, 0x2e0(r31) -/* 802640A8 00260FE8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802640AC 00260FEC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802640B0 00260FF0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802640B4 00260FF4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 802640B8 00260FF8 7C 08 03 A6 */ mtlr r0 -/* 802640BC 00260FFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802640C0 00261000 4E 80 00 20 */ blr - -.global setupEffect__Q34Game4Rock3ObjFv -setupEffect__Q34Game4Rock3ObjFv: -/* 802640C4 00261004 80 83 02 D8 */ lwz r4, 0x2d8(r3) -/* 802640C8 00261008 38 03 01 8C */ addi r0, r3, 0x18c -/* 802640CC 0026100C 90 04 00 10 */ stw r0, 0x10(r4) -/* 802640D0 00261010 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 802640D4 00261014 90 03 00 10 */ stw r0, 0x10(r3) -/* 802640D8 00261018 4E 80 00 20 */ blr - -.global startFallEffect__Q34Game4Rock3ObjFv -startFallEffect__Q34Game4Rock3ObjFv: -/* 802640DC 0026101C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802640E0 00261020 7C 08 02 A6 */ mflr r0 -/* 802640E4 00261024 38 80 00 00 */ li r4, 0 -/* 802640E8 00261028 90 01 00 14 */ stw r0, 0x14(r1) -/* 802640EC 0026102C 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 802640F0 00261030 81 83 00 00 */ lwz r12, 0(r3) -/* 802640F4 00261034 81 8C 00 08 */ lwz r12, 8(r12) -/* 802640F8 00261038 7D 89 03 A6 */ mtctr r12 -/* 802640FC 0026103C 4E 80 04 21 */ bctrl -/* 80264100 00261040 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264104 00261044 7C 08 03 A6 */ mtlr r0 -/* 80264108 00261048 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026410C 0026104C 4E 80 00 20 */ blr - -.global finishFallEffect__Q34Game4Rock3ObjFv -finishFallEffect__Q34Game4Rock3ObjFv: -/* 80264110 00261050 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264114 00261054 7C 08 02 A6 */ mflr r0 -/* 80264118 00261058 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026411C 0026105C 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 80264120 00261060 81 83 00 00 */ lwz r12, 0(r3) -/* 80264124 00261064 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80264128 00261068 7D 89 03 A6 */ mtctr r12 -/* 8026412C 0026106C 4E 80 04 21 */ bctrl -/* 80264130 00261070 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264134 00261074 7C 08 03 A6 */ mtlr r0 -/* 80264138 00261078 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026413C 0026107C 4E 80 00 20 */ blr - -.global startRollingGroundEffect__Q34Game4Rock3ObjFv -startRollingGroundEffect__Q34Game4Rock3ObjFv: -/* 80264140 00261080 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264144 00261084 7C 08 02 A6 */ mflr r0 -/* 80264148 00261088 38 80 00 00 */ li r4, 0 -/* 8026414C 0026108C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264150 00261090 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 80264154 00261094 81 83 00 00 */ lwz r12, 0(r3) -/* 80264158 00261098 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026415C 0026109C 7D 89 03 A6 */ mtctr r12 -/* 80264160 002610A0 4E 80 04 21 */ bctrl -/* 80264164 002610A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264168 002610A8 7C 08 03 A6 */ mtlr r0 -/* 8026416C 002610AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264170 002610B0 4E 80 00 20 */ blr - -.global finishRollingGroundEffect__Q34Game4Rock3ObjFv -finishRollingGroundEffect__Q34Game4Rock3ObjFv: -/* 80264174 002610B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264178 002610B8 7C 08 02 A6 */ mflr r0 -/* 8026417C 002610BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264180 002610C0 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 80264184 002610C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80264188 002610C8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026418C 002610CC 7D 89 03 A6 */ mtctr r12 -/* 80264190 002610D0 4E 80 04 21 */ bctrl -/* 80264194 002610D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264198 002610D8 7C 08 03 A6 */ mtlr r0 -/* 8026419C 002610DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802641A0 002610E0 4E 80 00 20 */ blr - -.global startRollingWaterEffect__Q34Game4Rock3ObjFv -startRollingWaterEffect__Q34Game4Rock3ObjFv: -/* 802641A4 002610E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802641A8 002610E8 7C 08 02 A6 */ mflr r0 -/* 802641AC 002610EC C0 02 CA 50 */ lfs f0, lbl_8051ADB0@sda21(r2) -/* 802641B0 002610F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802641B4 002610F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802641B8 002610F8 7C 7F 1B 78 */ mr r31, r3 -/* 802641BC 002610FC 80 63 02 80 */ lwz r3, 0x280(r3) -/* 802641C0 00261100 28 03 00 00 */ cmplwi r3, 0 -/* 802641C4 00261104 41 82 00 18 */ beq lbl_802641DC -/* 802641C8 00261108 81 83 00 00 */ lwz r12, 0(r3) -/* 802641CC 0026110C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802641D0 00261110 7D 89 03 A6 */ mtctr r12 -/* 802641D4 00261114 4E 80 04 21 */ bctrl -/* 802641D8 00261118 C0 03 00 00 */ lfs f0, 0(r3) -lbl_802641DC: -/* 802641DC 0026111C 80 7F 02 E0 */ lwz r3, 0x2e0(r31) -/* 802641E0 00261120 38 80 00 00 */ li r4, 0 -/* 802641E4 00261124 D0 03 00 44 */ stfs f0, 0x44(r3) -/* 802641E8 00261128 80 7F 02 E0 */ lwz r3, 0x2e0(r31) -/* 802641EC 0026112C 81 83 00 00 */ lwz r12, 0(r3) -/* 802641F0 00261130 81 8C 00 08 */ lwz r12, 8(r12) -/* 802641F4 00261134 7D 89 03 A6 */ mtctr r12 -/* 802641F8 00261138 4E 80 04 21 */ bctrl -/* 802641FC 0026113C 80 BF 02 E0 */ lwz r5, 0x2e0(r31) -/* 80264200 00261140 88 05 00 54 */ lbz r0, 0x54(r5) -/* 80264204 00261144 28 00 00 00 */ cmplwi r0, 0 -/* 80264208 00261148 41 82 00 70 */ beq lbl_80264278 -/* 8026420C 0026114C C0 45 00 44 */ lfs f2, 0x44(r5) -/* 80264210 00261150 C0 3F 01 90 */ lfs f1, 0x190(r31) -/* 80264214 00261154 C0 02 CA 9C */ lfs f0, lbl_8051ADFC@sda21(r2) -/* 80264218 00261158 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8026421C 0026115C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80264220 00261160 4C 40 13 82 */ cror 2, 0, 2 -/* 80264224 00261164 40 82 00 40 */ bne lbl_80264264 -/* 80264228 00261168 C0 02 CA A0 */ lfs f0, lbl_8051AE00@sda21(r2) -/* 8026422C 0026116C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80264230 00261170 40 80 00 34 */ bge lbl_80264264 -/* 80264234 00261174 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 80264238 00261178 38 65 00 04 */ addi r3, r5, 4 -/* 8026423C 0026117C C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 80264240 00261180 38 80 00 00 */ li r4, 0 -/* 80264244 00261184 D0 05 00 48 */ stfs f0, 0x48(r5) -/* 80264248 00261188 D0 45 00 4C */ stfs f2, 0x4c(r5) -/* 8026424C 0026118C D0 25 00 50 */ stfs f1, 0x50(r5) -/* 80264250 00261190 81 85 00 04 */ lwz r12, 4(r5) -/* 80264254 00261194 81 8C 00 08 */ lwz r12, 8(r12) -/* 80264258 00261198 7D 89 03 A6 */ mtctr r12 -/* 8026425C 0026119C 4E 80 04 21 */ bctrl -/* 80264260 002611A0 48 00 00 18 */ b lbl_80264278 -lbl_80264264: -/* 80264264 002611A4 38 65 00 04 */ addi r3, r5, 4 -/* 80264268 002611A8 81 85 00 04 */ lwz r12, 4(r5) -/* 8026426C 002611AC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80264270 002611B0 7D 89 03 A6 */ mtctr r12 -/* 80264274 002611B4 4E 80 04 21 */ bctrl -lbl_80264278: -/* 80264278 002611B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026427C 002611BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264280 002611C0 7C 08 03 A6 */ mtlr r0 -/* 80264284 002611C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264288 002611C8 4E 80 00 20 */ blr - -.global create__Q23efx9TRockWRunFPQ23efx3Arg -create__Q23efx9TRockWRunFPQ23efx3Arg: -/* 8026428C 002611CC 38 00 00 01 */ li r0, 1 -/* 80264290 002611D0 98 03 00 54 */ stb r0, 0x54(r3) -/* 80264294 002611D4 38 60 00 01 */ li r3, 1 -/* 80264298 002611D8 4E 80 00 20 */ blr - -.global finishRollingWaterEffect__Q34Game4Rock3ObjFv -finishRollingWaterEffect__Q34Game4Rock3ObjFv: -/* 8026429C 002611DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802642A0 002611E0 7C 08 02 A6 */ mflr r0 -/* 802642A4 002611E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802642A8 002611E8 80 63 02 E0 */ lwz r3, 0x2e0(r3) -/* 802642AC 002611EC 81 83 00 00 */ lwz r12, 0(r3) -/* 802642B0 002611F0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802642B4 002611F4 7D 89 03 A6 */ mtctr r12 -/* 802642B8 002611F8 4E 80 04 21 */ bctrl -/* 802642BC 002611FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802642C0 00261200 7C 08 03 A6 */ mtlr r0 -/* 802642C4 00261204 38 21 00 10 */ addi r1, r1, 0x10 -/* 802642C8 00261208 4E 80 00 20 */ blr - -.global fade__Q23efx9TRockWRunFv -fade__Q23efx9TRockWRunFv: -/* 802642CC 0026120C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802642D0 00261210 7C 08 02 A6 */ mflr r0 -/* 802642D4 00261214 90 01 00 14 */ stw r0, 0x14(r1) -/* 802642D8 00261218 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802642DC 0026121C 7C 7F 1B 78 */ mr r31, r3 -/* 802642E0 00261220 38 7F 00 04 */ addi r3, r31, 4 -/* 802642E4 00261224 81 9F 00 04 */ lwz r12, 4(r31) -/* 802642E8 00261228 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802642EC 0026122C 7D 89 03 A6 */ mtctr r12 -/* 802642F0 00261230 4E 80 04 21 */ bctrl -/* 802642F4 00261234 38 00 00 00 */ li r0, 0 -/* 802642F8 00261238 98 1F 00 54 */ stb r0, 0x54(r31) -/* 802642FC 0026123C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264300 00261240 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264304 00261244 7C 08 03 A6 */ mtlr r0 -/* 80264308 00261248 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026430C 0026124C 4E 80 00 20 */ blr - -.global updateWaterEffectPosition__Q34Game4Rock3ObjFv -updateWaterEffectPosition__Q34Game4Rock3ObjFv: -/* 80264310 00261250 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264314 00261254 7C 08 02 A6 */ mflr r0 -/* 80264318 00261258 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026431C 0026125C 80 03 02 80 */ lwz r0, 0x280(r3) -/* 80264320 00261260 28 00 00 00 */ cmplwi r0, 0 -/* 80264324 00261264 41 82 00 80 */ beq lbl_802643A4 -/* 80264328 00261268 80 A3 02 E0 */ lwz r5, 0x2e0(r3) -/* 8026432C 0026126C 88 05 00 54 */ lbz r0, 0x54(r5) -/* 80264330 00261270 28 00 00 00 */ cmplwi r0, 0 -/* 80264334 00261274 41 82 00 70 */ beq lbl_802643A4 -/* 80264338 00261278 C0 45 00 44 */ lfs f2, 0x44(r5) -/* 8026433C 0026127C C0 23 01 90 */ lfs f1, 0x190(r3) -/* 80264340 00261280 C0 02 CA 9C */ lfs f0, lbl_8051ADFC@sda21(r2) -/* 80264344 00261284 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80264348 00261288 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026434C 0026128C 4C 40 13 82 */ cror 2, 0, 2 -/* 80264350 00261290 40 82 00 40 */ bne lbl_80264390 -/* 80264354 00261294 C0 02 CA A0 */ lfs f0, lbl_8051AE00@sda21(r2) -/* 80264358 00261298 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026435C 0026129C 40 80 00 34 */ bge lbl_80264390 -/* 80264360 002612A0 C0 23 01 94 */ lfs f1, 0x194(r3) -/* 80264364 002612A4 38 80 00 00 */ li r4, 0 -/* 80264368 002612A8 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8026436C 002612AC 38 65 00 04 */ addi r3, r5, 4 -/* 80264370 002612B0 D0 05 00 48 */ stfs f0, 0x48(r5) -/* 80264374 002612B4 D0 45 00 4C */ stfs f2, 0x4c(r5) -/* 80264378 002612B8 D0 25 00 50 */ stfs f1, 0x50(r5) -/* 8026437C 002612BC 81 85 00 04 */ lwz r12, 4(r5) -/* 80264380 002612C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80264384 002612C4 7D 89 03 A6 */ mtctr r12 -/* 80264388 002612C8 4E 80 04 21 */ bctrl -/* 8026438C 002612CC 48 00 00 18 */ b lbl_802643A4 -lbl_80264390: -/* 80264390 002612D0 38 65 00 04 */ addi r3, r5, 4 -/* 80264394 002612D4 81 85 00 04 */ lwz r12, 4(r5) -/* 80264398 002612D8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026439C 002612DC 7D 89 03 A6 */ mtctr r12 -/* 802643A0 002612E0 4E 80 04 21 */ bctrl -lbl_802643A4: -/* 802643A4 002612E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802643A8 002612E8 7C 08 03 A6 */ mtlr r0 -/* 802643AC 002612EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802643B0 002612F0 4E 80 00 20 */ blr - -.global createRockDeadEffect__Q34Game4Rock3ObjFv -createRockDeadEffect__Q34Game4Rock3ObjFv: -/* 802643B4 002612F4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802643B8 002612F8 7C 08 02 A6 */ mflr r0 -/* 802643BC 002612FC 3C C0 80 4B */ lis r6, __vt__Q23efx5TBase@ha -/* 802643C0 00261300 3C A0 80 4E */ lis r5, __vt__Q23efx8TSimple3@ha -/* 802643C4 00261304 90 01 00 34 */ stw r0, 0x34(r1) -/* 802643C8 00261308 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 802643CC 0026130C 38 04 A7 EC */ addi r0, r4, __vt__Q23efx3Arg@l -/* 802643D0 00261310 39 46 A7 F8 */ addi r10, r6, __vt__Q23efx5TBase@l -/* 802643D4 00261314 90 01 00 08 */ stw r0, 8(r1) -/* 802643D8 00261318 39 25 6A 50 */ addi r9, r5, __vt__Q23efx8TSimple3@l -/* 802643DC 0026131C 3C 80 80 4C */ lis r4, __vt__Q23efx9TRockDead@ha -/* 802643E0 00261320 39 00 01 A6 */ li r8, 0x1a6 -/* 802643E4 00261324 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 802643E8 00261328 38 04 41 20 */ addi r0, r4, __vt__Q23efx9TRockDead@l -/* 802643EC 0026132C 38 E0 01 A7 */ li r7, 0x1a7 -/* 802643F0 00261330 38 C0 01 A8 */ li r6, 0x1a8 -/* 802643F4 00261334 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802643F8 00261338 38 A0 00 00 */ li r5, 0 -/* 802643FC 0026133C 38 81 00 08 */ addi r4, r1, 8 -/* 80264400 00261340 C0 03 01 90 */ lfs f0, 0x190(r3) -/* 80264404 00261344 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80264408 00261348 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 8026440C 0026134C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80264410 00261350 91 41 00 18 */ stw r10, 0x18(r1) -/* 80264414 00261354 91 21 00 18 */ stw r9, 0x18(r1) -/* 80264418 00261358 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8026441C 0026135C B1 01 00 1C */ sth r8, 0x1c(r1) -/* 80264420 00261360 B0 E1 00 1E */ sth r7, 0x1e(r1) -/* 80264424 00261364 B0 C1 00 20 */ sth r6, 0x20(r1) -/* 80264428 00261368 90 A1 00 24 */ stw r5, 0x24(r1) -/* 8026442C 0026136C 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80264430 00261370 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 80264434 00261374 90 01 00 18 */ stw r0, 0x18(r1) -/* 80264438 00261378 48 14 AC 85 */ bl create__Q23efx8TSimple3FPQ23efx3Arg -/* 8026443C 0026137C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80264440 00261380 7C 08 03 A6 */ mtlr r0 -/* 80264444 00261384 38 21 00 30 */ addi r1, r1, 0x30 -/* 80264448 00261388 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game4Rock3ObjFv -effectDrawOn__Q34Game4Rock3ObjFv: -/* 8026444C 0026138C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264450 00261390 7C 08 02 A6 */ mflr r0 -/* 80264454 00261394 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264458 00261398 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026445C 0026139C 7C 7F 1B 78 */ mr r31, r3 -/* 80264460 002613A0 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 80264464 002613A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80264468 002613A8 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8026446C 002613AC 7D 89 03 A6 */ mtctr r12 -/* 80264470 002613B0 4E 80 04 21 */ bctrl -/* 80264474 002613B4 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 80264478 002613B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026447C 002613BC 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80264480 002613C0 7D 89 03 A6 */ mtctr r12 -/* 80264484 002613C4 4E 80 04 21 */ bctrl -/* 80264488 002613C8 80 7F 02 E0 */ lwz r3, 0x2e0(r31) -/* 8026448C 002613CC 85 83 00 04 */ lwzu r12, 4(r3) -/* 80264490 002613D0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80264494 002613D4 7D 89 03 A6 */ mtctr r12 -/* 80264498 002613D8 4E 80 04 21 */ bctrl -/* 8026449C 002613DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802644A0 002613E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802644A4 002613E4 7C 08 03 A6 */ mtlr r0 -/* 802644A8 002613E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802644AC 002613EC 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game4Rock3ObjFv -effectDrawOff__Q34Game4Rock3ObjFv: -/* 802644B0 002613F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802644B4 002613F4 7C 08 02 A6 */ mflr r0 -/* 802644B8 002613F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802644BC 002613FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802644C0 00261400 7C 7F 1B 78 */ mr r31, r3 -/* 802644C4 00261404 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 802644C8 00261408 81 83 00 00 */ lwz r12, 0(r3) -/* 802644CC 0026140C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802644D0 00261410 7D 89 03 A6 */ mtctr r12 -/* 802644D4 00261414 4E 80 04 21 */ bctrl -/* 802644D8 00261418 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 802644DC 0026141C 81 83 00 00 */ lwz r12, 0(r3) -/* 802644E0 00261420 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802644E4 00261424 7D 89 03 A6 */ mtctr r12 -/* 802644E8 00261428 4E 80 04 21 */ bctrl -/* 802644EC 0026142C 80 7F 02 E0 */ lwz r3, 0x2e0(r31) -/* 802644F0 00261430 85 83 00 04 */ lwzu r12, 4(r3) -/* 802644F4 00261434 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802644F8 00261438 7D 89 03 A6 */ mtctr r12 -/* 802644FC 0026143C 4E 80 04 21 */ bctrl -/* 80264500 00261440 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264504 00261444 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264508 00261448 7C 08 03 A6 */ mtlr r0 -/* 8026450C 0026144C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264510 00261450 4E 80 00 20 */ blr - -.global forceKill__Q23efx9TRockWRunFv -forceKill__Q23efx9TRockWRunFv: -/* 80264514 00261454 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264518 00261458 7C 08 02 A6 */ mflr r0 -/* 8026451C 0026145C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264520 00261460 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264524 00261464 7C 7F 1B 78 */ mr r31, r3 -/* 80264528 00261468 38 7F 00 04 */ addi r3, r31, 4 -/* 8026452C 0026146C 81 9F 00 04 */ lwz r12, 4(r31) -/* 80264530 00261470 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80264534 00261474 7D 89 03 A6 */ mtctr r12 -/* 80264538 00261478 4E 80 04 21 */ bctrl -/* 8026453C 0026147C 38 00 00 00 */ li r0, 0 -/* 80264540 00261480 98 1F 00 54 */ stb r0, 0x54(r31) -/* 80264544 00261484 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264548 00261488 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026454C 0026148C 7C 08 03 A6 */ mtlr r0 -/* 80264550 00261490 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264554 00261494 4E 80 00 20 */ blr - -.global __dt__Q23efx10TRockGrRunFv -__dt__Q23efx10TRockGrRunFv: -/* 80264558 00261498 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026455C 0026149C 7C 08 02 A6 */ mflr r0 -/* 80264560 002614A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264564 002614A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264568 002614A8 7C 9F 23 78 */ mr r31, r4 -/* 8026456C 002614AC 93 C1 00 08 */ stw r30, 8(r1) -/* 80264570 002614B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80264574 002614B4 41 82 00 64 */ beq lbl_802645D8 -/* 80264578 002614B8 3C 60 80 4C */ lis r3, __vt__Q23efx10TRockGrRun@ha -/* 8026457C 002614BC 38 63 41 9C */ addi r3, r3, __vt__Q23efx10TRockGrRun@l -/* 80264580 002614C0 90 7E 00 00 */ stw r3, 0(r30) -/* 80264584 002614C4 38 03 00 14 */ addi r0, r3, 0x14 -/* 80264588 002614C8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026458C 002614CC 41 82 00 3C */ beq lbl_802645C8 -/* 80264590 002614D0 3C 60 80 4E */ lis r3, __vt__Q23efx9TChasePos@ha -/* 80264594 002614D4 38 63 69 40 */ addi r3, r3, __vt__Q23efx9TChasePos@l -/* 80264598 002614D8 90 7E 00 00 */ stw r3, 0(r30) -/* 8026459C 002614DC 38 03 00 14 */ addi r0, r3, 0x14 -/* 802645A0 002614E0 90 1E 00 04 */ stw r0, 4(r30) -/* 802645A4 002614E4 41 82 00 24 */ beq lbl_802645C8 -/* 802645A8 002614E8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 802645AC 002614EC 38 7E 00 04 */ addi r3, r30, 4 -/* 802645B0 002614F0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 802645B4 002614F4 38 80 00 00 */ li r4, 0 -/* 802645B8 002614F8 90 BE 00 00 */ stw r5, 0(r30) -/* 802645BC 002614FC 38 05 00 14 */ addi r0, r5, 0x14 -/* 802645C0 00261500 90 1E 00 04 */ stw r0, 4(r30) -/* 802645C4 00261504 4B E2 B6 D9 */ bl __dt__18JPAEmitterCallBackFv -lbl_802645C8: -/* 802645C8 00261508 7F E0 07 35 */ extsh. r0, r31 -/* 802645CC 0026150C 40 81 00 0C */ ble lbl_802645D8 -/* 802645D0 00261510 7F C3 F3 78 */ mr r3, r30 -/* 802645D4 00261514 4B DB FA E1 */ bl __dl__FPv -lbl_802645D8: -/* 802645D8 00261518 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802645DC 0026151C 7F C3 F3 78 */ mr r3, r30 -/* 802645E0 00261520 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802645E4 00261524 83 C1 00 08 */ lwz r30, 8(r1) -/* 802645E8 00261528 7C 08 03 A6 */ mtlr r0 -/* 802645EC 0026152C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802645F0 00261530 4E 80 00 20 */ blr - -.global __dt__Q23efx8TRockRunFv -__dt__Q23efx8TRockRunFv: -/* 802645F4 00261534 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802645F8 00261538 7C 08 02 A6 */ mflr r0 -/* 802645FC 0026153C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264600 00261540 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264604 00261544 7C 9F 23 78 */ mr r31, r4 -/* 80264608 00261548 93 C1 00 08 */ stw r30, 8(r1) -/* 8026460C 0026154C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80264610 00261550 41 82 00 64 */ beq lbl_80264674 -/* 80264614 00261554 3C 60 80 4C */ lis r3, __vt__Q23efx8TRockRun@ha -/* 80264618 00261558 38 63 41 E8 */ addi r3, r3, __vt__Q23efx8TRockRun@l -/* 8026461C 0026155C 90 7E 00 00 */ stw r3, 0(r30) -/* 80264620 00261560 38 03 00 14 */ addi r0, r3, 0x14 -/* 80264624 00261564 90 1E 00 04 */ stw r0, 4(r30) -/* 80264628 00261568 41 82 00 3C */ beq lbl_80264664 -/* 8026462C 0026156C 3C 60 80 4E */ lis r3, __vt__Q23efx9TChasePos@ha -/* 80264630 00261570 38 63 69 40 */ addi r3, r3, __vt__Q23efx9TChasePos@l -/* 80264634 00261574 90 7E 00 00 */ stw r3, 0(r30) -/* 80264638 00261578 38 03 00 14 */ addi r0, r3, 0x14 -/* 8026463C 0026157C 90 1E 00 04 */ stw r0, 4(r30) -/* 80264640 00261580 41 82 00 24 */ beq lbl_80264664 -/* 80264644 00261584 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80264648 00261588 38 7E 00 04 */ addi r3, r30, 4 -/* 8026464C 0026158C 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80264650 00261590 38 80 00 00 */ li r4, 0 -/* 80264654 00261594 90 BE 00 00 */ stw r5, 0(r30) -/* 80264658 00261598 38 05 00 14 */ addi r0, r5, 0x14 -/* 8026465C 0026159C 90 1E 00 04 */ stw r0, 4(r30) -/* 80264660 002615A0 4B E2 B6 3D */ bl __dt__18JPAEmitterCallBackFv -lbl_80264664: -/* 80264664 002615A4 7F E0 07 35 */ extsh. r0, r31 -/* 80264668 002615A8 40 81 00 0C */ ble lbl_80264674 -/* 8026466C 002615AC 7F C3 F3 78 */ mr r3, r30 -/* 80264670 002615B0 4B DB FA 45 */ bl __dl__FPv -lbl_80264674: -/* 80264674 002615B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264678 002615B8 7F C3 F3 78 */ mr r3, r30 -/* 8026467C 002615BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264680 002615C0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80264684 002615C4 7C 08 03 A6 */ mtlr r0 -/* 80264688 002615C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026468C 002615CC 4E 80 00 20 */ blr - -.global isLivingThing__Q34Game4Rock3ObjFv -isLivingThing__Q34Game4Rock3ObjFv: -/* 80264690 002615D0 38 60 00 00 */ li r3, 0 -/* 80264694 002615D4 4E 80 00 20 */ blr - -.global $$2744$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2744$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 80264698 002615D8 39 60 00 0C */ li r11, 0xc -/* 8026469C 002615DC 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802646A0 002615E0 7C 63 5A 14 */ add r3, r3, r11 -/* 802646A4 002615E4 38 63 FD 18 */ addi r3, r3, -744 -/* 802646A8 002615E8 4B EA 22 74 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2744$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2744$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 802646AC 002615EC 39 60 00 0C */ li r11, 0xc -/* 802646B0 002615F0 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802646B4 002615F4 7C 63 5A 14 */ add r3, r3, r11 -/* 802646B8 002615F8 38 63 FD 18 */ addi r3, r3, -744 -/* 802646BC 002615FC 4B EA 1F EC */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2744$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2744$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 802646C0 00261600 39 60 00 0C */ li r11, 0xc -/* 802646C4 00261604 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802646C8 00261608 7C 63 5A 14 */ add r3, r3, r11 -/* 802646CC 0026160C 38 63 FD 18 */ addi r3, r3, -744 -/* 802646D0 00261610 4B EA 1F F8 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2744$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2744$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 802646D4 00261614 39 60 00 0C */ li r11, 0xc -/* 802646D8 00261618 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802646DC 0026161C 7C 63 5A 14 */ add r3, r3, r11 -/* 802646E0 00261620 38 63 FD 18 */ addi r3, r3, -744 -/* 802646E4 00261624 4B EA 23 94 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2744$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2744$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 802646E8 00261628 39 60 00 0C */ li r11, 0xc -/* 802646EC 0026162C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802646F0 00261630 7C 63 5A 14 */ add r3, r3, r11 -/* 802646F4 00261634 38 63 FD 18 */ addi r3, r3, -744 -/* 802646F8 00261638 4B EA 23 54 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2744$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2744$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 802646FC 0026163C 39 60 00 0C */ li r11, 0xc -/* 80264700 00261640 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80264704 00261644 7C 63 5A 14 */ add r3, r3, r11 -/* 80264708 00261648 38 63 FD 18 */ addi r3, r3, -744 -/* 8026470C 0026164C 4B EA 1F 94 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2__dt__Q23efx8TRockRunFv -$$24$$2__dt__Q23efx8TRockRunFv: -/* 80264710 00261650 38 63 FF FC */ addi r3, r3, -4 -/* 80264714 00261654 4B FF FE E0 */ b __dt__Q23efx8TRockRunFv - -.global $$24$$2__dt__Q23efx10TRockGrRunFv -$$24$$2__dt__Q23efx10TRockGrRunFv: -/* 80264718 00261658 38 63 FF FC */ addi r3, r3, -4 -/* 8026471C 0026165C 4B FF FE 3C */ b __dt__Q23efx10TRockGrRunFv - -.global init__Q34Game4Ujia3FSMFPQ24Game9EnemyBase -init__Q34Game4Ujia3FSMFPQ24Game9EnemyBase: -/* 80264720 00261660 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264724 00261664 7C 08 02 A6 */ mflr r0 -/* 80264728 00261668 38 80 00 0B */ li r4, 0xb -/* 8026472C 0026166C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264730 00261670 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264734 00261674 7C 7F 1B 78 */ mr r31, r3 -/* 80264738 00261678 4B EC C1 2D */ bl create__Q24Game17EnemyStateMachineFi -/* 8026473C 0026167C 38 60 00 10 */ li r3, 0x10 -/* 80264740 00261680 4B DB F7 65 */ bl __nw__FUl -/* 80264744 00261684 7C 64 1B 79 */ or. r4, r3, r3 -/* 80264748 00261688 41 82 00 3C */ beq lbl_80264784 -/* 8026474C 0026168C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80264750 00261690 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 80264754 00261694 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80264758 00261698 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia9StateDead@ha -/* 8026475C 0026169C 90 04 00 00 */ stw r0, 0(r4) -/* 80264760 002616A0 38 E0 00 00 */ li r7, 0 -/* 80264764 002616A4 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 80264768 002616A8 38 A2 CA A8 */ addi r5, r2, lbl_8051AE08@sda21 -/* 8026476C 002616AC 90 E4 00 04 */ stw r7, 4(r4) -/* 80264770 002616B0 38 03 46 C8 */ addi r0, r3, __vt__Q34Game4Ujia9StateDead@l -/* 80264774 002616B4 90 E4 00 08 */ stw r7, 8(r4) -/* 80264778 002616B8 90 C4 00 00 */ stw r6, 0(r4) -/* 8026477C 002616BC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80264780 002616C0 90 04 00 00 */ stw r0, 0(r4) -lbl_80264784: -/* 80264784 002616C4 7F E3 FB 78 */ mr r3, r31 -/* 80264788 002616C8 4B EC C1 81 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026478C 002616CC 38 60 00 10 */ li r3, 0x10 -/* 80264790 002616D0 4B DB F7 15 */ bl __nw__FUl -/* 80264794 002616D4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80264798 002616D8 41 82 00 40 */ beq lbl_802647D8 -/* 8026479C 002616DC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802647A0 002616E0 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 802647A4 002616E4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802647A8 002616E8 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia10StatePress@ha -/* 802647AC 002616EC 90 04 00 00 */ stw r0, 0(r4) -/* 802647B0 002616F0 38 00 00 01 */ li r0, 1 -/* 802647B4 002616F4 38 E0 00 00 */ li r7, 0 -/* 802647B8 002616F8 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 802647BC 002616FC 90 04 00 04 */ stw r0, 4(r4) -/* 802647C0 00261700 38 A2 CA B0 */ addi r5, r2, lbl_8051AE10@sda21 -/* 802647C4 00261704 38 03 46 A4 */ addi r0, r3, __vt__Q34Game4Ujia10StatePress@l -/* 802647C8 00261708 90 E4 00 08 */ stw r7, 8(r4) -/* 802647CC 0026170C 90 C4 00 00 */ stw r6, 0(r4) -/* 802647D0 00261710 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802647D4 00261714 90 04 00 00 */ stw r0, 0(r4) -lbl_802647D8: -/* 802647D8 00261718 7F E3 FB 78 */ mr r3, r31 -/* 802647DC 0026171C 4B EC C1 2D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802647E0 00261720 38 60 00 10 */ li r3, 0x10 -/* 802647E4 00261724 4B DB F6 C1 */ bl __nw__FUl -/* 802647E8 00261728 7C 64 1B 79 */ or. r4, r3, r3 -/* 802647EC 0026172C 41 82 00 40 */ beq lbl_8026482C -/* 802647F0 00261730 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802647F4 00261734 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 802647F8 00261738 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802647FC 0026173C 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia9StateStay@ha -/* 80264800 00261740 90 04 00 00 */ stw r0, 0(r4) -/* 80264804 00261744 38 00 00 02 */ li r0, 2 -/* 80264808 00261748 38 E0 00 00 */ li r7, 0 -/* 8026480C 0026174C 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 80264810 00261750 90 04 00 04 */ stw r0, 4(r4) -/* 80264814 00261754 38 A2 CA B8 */ addi r5, r2, lbl_8051AE18@sda21 -/* 80264818 00261758 38 03 46 80 */ addi r0, r3, __vt__Q34Game4Ujia9StateStay@l -/* 8026481C 0026175C 90 E4 00 08 */ stw r7, 8(r4) -/* 80264820 00261760 90 C4 00 00 */ stw r6, 0(r4) -/* 80264824 00261764 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80264828 00261768 90 04 00 00 */ stw r0, 0(r4) -lbl_8026482C: -/* 8026482C 0026176C 7F E3 FB 78 */ mr r3, r31 -/* 80264830 00261770 4B EC C0 D9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80264834 00261774 38 60 00 10 */ li r3, 0x10 -/* 80264838 00261778 4B DB F6 6D */ bl __nw__FUl -/* 8026483C 0026177C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80264840 00261780 41 82 00 40 */ beq lbl_80264880 -/* 80264844 00261784 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80264848 00261788 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 8026484C 0026178C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80264850 00261790 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia11StateAppear@ha -/* 80264854 00261794 90 04 00 00 */ stw r0, 0(r4) -/* 80264858 00261798 38 00 00 03 */ li r0, 3 -/* 8026485C 0026179C 38 E0 00 00 */ li r7, 0 -/* 80264860 002617A0 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 80264864 002617A4 90 04 00 04 */ stw r0, 4(r4) -/* 80264868 002617A8 38 A2 CA C0 */ addi r5, r2, lbl_8051AE20@sda21 -/* 8026486C 002617AC 38 03 46 5C */ addi r0, r3, __vt__Q34Game4Ujia11StateAppear@l -/* 80264870 002617B0 90 E4 00 08 */ stw r7, 8(r4) -/* 80264874 002617B4 90 C4 00 00 */ stw r6, 0(r4) -/* 80264878 002617B8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026487C 002617BC 90 04 00 00 */ stw r0, 0(r4) -lbl_80264880: -/* 80264880 002617C0 7F E3 FB 78 */ mr r3, r31 -/* 80264884 002617C4 4B EC C0 85 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80264888 002617C8 38 60 00 10 */ li r3, 0x10 -/* 8026488C 002617CC 4B DB F6 19 */ bl __nw__FUl -/* 80264890 002617D0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80264894 002617D4 41 82 00 40 */ beq lbl_802648D4 -/* 80264898 002617D8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026489C 002617DC 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 802648A0 002617E0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802648A4 002617E4 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia9StateDive@ha -/* 802648A8 002617E8 90 04 00 00 */ stw r0, 0(r4) -/* 802648AC 002617EC 38 00 00 04 */ li r0, 4 -/* 802648B0 002617F0 38 E0 00 00 */ li r7, 0 -/* 802648B4 002617F4 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 802648B8 002617F8 90 04 00 04 */ stw r0, 4(r4) -/* 802648BC 002617FC 38 A2 CA C8 */ addi r5, r2, lbl_8051AE28@sda21 -/* 802648C0 00261800 38 03 46 38 */ addi r0, r3, __vt__Q34Game4Ujia9StateDive@l -/* 802648C4 00261804 90 E4 00 08 */ stw r7, 8(r4) -/* 802648C8 00261808 90 C4 00 00 */ stw r6, 0(r4) -/* 802648CC 0026180C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802648D0 00261810 90 04 00 00 */ stw r0, 0(r4) -lbl_802648D4: -/* 802648D4 00261814 7F E3 FB 78 */ mr r3, r31 -/* 802648D8 00261818 4B EC C0 31 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802648DC 0026181C 38 60 00 10 */ li r3, 0x10 -/* 802648E0 00261820 4B DB F5 C5 */ bl __nw__FUl -/* 802648E4 00261824 7C 64 1B 79 */ or. r4, r3, r3 -/* 802648E8 00261828 41 82 00 40 */ beq lbl_80264928 -/* 802648EC 0026182C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802648F0 00261830 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 802648F4 00261834 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802648F8 00261838 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia9StateMove@ha -/* 802648FC 0026183C 90 04 00 00 */ stw r0, 0(r4) -/* 80264900 00261840 38 00 00 05 */ li r0, 5 -/* 80264904 00261844 38 E0 00 00 */ li r7, 0 -/* 80264908 00261848 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 8026490C 0026184C 90 04 00 04 */ stw r0, 4(r4) -/* 80264910 00261850 38 A2 CA D0 */ addi r5, r2, lbl_8051AE30@sda21 -/* 80264914 00261854 38 03 46 14 */ addi r0, r3, __vt__Q34Game4Ujia9StateMove@l -/* 80264918 00261858 90 E4 00 08 */ stw r7, 8(r4) -/* 8026491C 0026185C 90 C4 00 00 */ stw r6, 0(r4) -/* 80264920 00261860 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80264924 00261864 90 04 00 00 */ stw r0, 0(r4) -lbl_80264928: -/* 80264928 00261868 7F E3 FB 78 */ mr r3, r31 -/* 8026492C 0026186C 4B EC BF DD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80264930 00261870 38 60 00 10 */ li r3, 0x10 -/* 80264934 00261874 4B DB F5 71 */ bl __nw__FUl -/* 80264938 00261878 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026493C 0026187C 41 82 00 44 */ beq lbl_80264980 -/* 80264940 00261880 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80264944 00261884 3C C0 80 4C */ lis r6, __vt__Q34Game4Ujia5State@ha -/* 80264948 00261888 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026494C 0026188C 3C A0 80 48 */ lis r5, lbl_80485AD8@ha -/* 80264950 00261890 90 04 00 00 */ stw r0, 0(r4) -/* 80264954 00261894 38 00 00 06 */ li r0, 6 -/* 80264958 00261898 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia13StateMoveSide@ha -/* 8026495C 0026189C 38 E0 00 00 */ li r7, 0 -/* 80264960 002618A0 90 04 00 04 */ stw r0, 4(r4) -/* 80264964 002618A4 38 C6 46 EC */ addi r6, r6, __vt__Q34Game4Ujia5State@l -/* 80264968 002618A8 38 A5 5A D8 */ addi r5, r5, lbl_80485AD8@l -/* 8026496C 002618AC 38 03 45 F0 */ addi r0, r3, __vt__Q34Game4Ujia13StateMoveSide@l -/* 80264970 002618B0 90 E4 00 08 */ stw r7, 8(r4) -/* 80264974 002618B4 90 C4 00 00 */ stw r6, 0(r4) -/* 80264978 002618B8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026497C 002618BC 90 04 00 00 */ stw r0, 0(r4) -lbl_80264980: -/* 80264980 002618C0 7F E3 FB 78 */ mr r3, r31 -/* 80264984 002618C4 4B EC BF 85 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80264988 002618C8 38 60 00 10 */ li r3, 0x10 -/* 8026498C 002618CC 4B DB F5 19 */ bl __nw__FUl -/* 80264990 002618D0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80264994 002618D4 41 82 00 44 */ beq lbl_802649D8 -/* 80264998 002618D8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026499C 002618DC 3C C0 80 4C */ lis r6, __vt__Q34Game4Ujia5State@ha -/* 802649A0 002618E0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802649A4 002618E4 3C A0 80 48 */ lis r5, lbl_80485AE4@ha -/* 802649A8 002618E8 90 04 00 00 */ stw r0, 0(r4) -/* 802649AC 002618EC 38 00 00 07 */ li r0, 7 -/* 802649B0 002618F0 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia15StateMoveCentre@ha -/* 802649B4 002618F4 38 E0 00 00 */ li r7, 0 -/* 802649B8 002618F8 90 04 00 04 */ stw r0, 4(r4) -/* 802649BC 002618FC 38 C6 46 EC */ addi r6, r6, __vt__Q34Game4Ujia5State@l -/* 802649C0 00261900 38 A5 5A E4 */ addi r5, r5, lbl_80485AE4@l -/* 802649C4 00261904 38 03 45 CC */ addi r0, r3, __vt__Q34Game4Ujia15StateMoveCentre@l -/* 802649C8 00261908 90 E4 00 08 */ stw r7, 8(r4) -/* 802649CC 0026190C 90 C4 00 00 */ stw r6, 0(r4) -/* 802649D0 00261910 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802649D4 00261914 90 04 00 00 */ stw r0, 0(r4) -lbl_802649D8: -/* 802649D8 00261918 7F E3 FB 78 */ mr r3, r31 -/* 802649DC 0026191C 4B EC BF 2D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802649E0 00261920 38 60 00 10 */ li r3, 0x10 -/* 802649E4 00261924 4B DB F4 C1 */ bl __nw__FUl -/* 802649E8 00261928 7C 64 1B 79 */ or. r4, r3, r3 -/* 802649EC 0026192C 41 82 00 40 */ beq lbl_80264A2C -/* 802649F0 00261930 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802649F4 00261934 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 802649F8 00261938 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802649FC 0026193C 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia12StateMoveTop@ha -/* 80264A00 00261940 90 04 00 00 */ stw r0, 0(r4) -/* 80264A04 00261944 38 00 00 08 */ li r0, 8 -/* 80264A08 00261948 38 E0 00 00 */ li r7, 0 -/* 80264A0C 0026194C 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 80264A10 00261950 90 04 00 04 */ stw r0, 4(r4) -/* 80264A14 00261954 38 A2 CA D8 */ addi r5, r2, lbl_8051AE38@sda21 -/* 80264A18 00261958 38 03 45 A8 */ addi r0, r3, __vt__Q34Game4Ujia12StateMoveTop@l -/* 80264A1C 0026195C 90 E4 00 08 */ stw r7, 8(r4) -/* 80264A20 00261960 90 C4 00 00 */ stw r6, 0(r4) -/* 80264A24 00261964 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80264A28 00261968 90 04 00 00 */ stw r0, 0(r4) -lbl_80264A2C: -/* 80264A2C 0026196C 7F E3 FB 78 */ mr r3, r31 -/* 80264A30 00261970 4B EC BE D9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80264A34 00261974 38 60 00 10 */ li r3, 0x10 -/* 80264A38 00261978 4B DB F4 6D */ bl __nw__FUl -/* 80264A3C 0026197C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80264A40 00261980 41 82 00 40 */ beq lbl_80264A80 -/* 80264A44 00261984 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80264A48 00261988 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 80264A4C 0026198C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80264A50 00261990 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia11StateGoHome@ha -/* 80264A54 00261994 90 04 00 00 */ stw r0, 0(r4) -/* 80264A58 00261998 38 00 00 09 */ li r0, 9 -/* 80264A5C 0026199C 38 E0 00 00 */ li r7, 0 -/* 80264A60 002619A0 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 80264A64 002619A4 90 04 00 04 */ stw r0, 4(r4) -/* 80264A68 002619A8 38 A2 CA E0 */ addi r5, r2, lbl_8051AE40@sda21 -/* 80264A6C 002619AC 38 03 45 84 */ addi r0, r3, __vt__Q34Game4Ujia11StateGoHome@l -/* 80264A70 002619B0 90 E4 00 08 */ stw r7, 8(r4) -/* 80264A74 002619B4 90 C4 00 00 */ stw r6, 0(r4) -/* 80264A78 002619B8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80264A7C 002619BC 90 04 00 00 */ stw r0, 0(r4) -lbl_80264A80: -/* 80264A80 002619C0 7F E3 FB 78 */ mr r3, r31 -/* 80264A84 002619C4 4B EC BE 85 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80264A88 002619C8 38 60 00 10 */ li r3, 0x10 -/* 80264A8C 002619CC 4B DB F4 19 */ bl __nw__FUl -/* 80264A90 002619D0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80264A94 002619D4 41 82 00 40 */ beq lbl_80264AD4 -/* 80264A98 002619D8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80264A9C 002619DC 3C A0 80 4C */ lis r5, __vt__Q34Game4Ujia5State@ha -/* 80264AA0 002619E0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80264AA4 002619E4 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia12StateAttack1@ha -/* 80264AA8 002619E8 90 04 00 00 */ stw r0, 0(r4) -/* 80264AAC 002619EC 38 00 00 0A */ li r0, 0xa -/* 80264AB0 002619F0 38 E0 00 00 */ li r7, 0 -/* 80264AB4 002619F4 38 C5 46 EC */ addi r6, r5, __vt__Q34Game4Ujia5State@l -/* 80264AB8 002619F8 90 04 00 04 */ stw r0, 4(r4) -/* 80264ABC 002619FC 38 A2 CA E8 */ addi r5, r2, lbl_8051AE48@sda21 -/* 80264AC0 00261A00 38 03 45 60 */ addi r0, r3, __vt__Q34Game4Ujia12StateAttack1@l -/* 80264AC4 00261A04 90 E4 00 08 */ stw r7, 8(r4) -/* 80264AC8 00261A08 90 C4 00 00 */ stw r6, 0(r4) -/* 80264ACC 00261A0C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80264AD0 00261A10 90 04 00 00 */ stw r0, 0(r4) -lbl_80264AD4: -/* 80264AD4 00261A14 7F E3 FB 78 */ mr r3, r31 -/* 80264AD8 00261A18 4B EC BE 31 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80264ADC 00261A1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264AE0 00261A20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264AE4 00261A24 7C 08 03 A6 */ mtlr r0 -/* 80264AE8 00261A28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264AEC 00261A2C 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80264AF0 00261A30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264AF4 00261A34 7C 08 02 A6 */ mflr r0 -/* 80264AF8 00261A38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264AFC 00261A3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264B00 00261A40 7C 9F 23 78 */ mr r31, r4 -/* 80264B04 00261A44 7F E3 FB 78 */ mr r3, r31 -/* 80264B08 00261A48 4B EA 0C 19 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80264B0C 00261A4C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264B10 00261A50 7F E3 FB 78 */ mr r3, r31 -/* 80264B14 00261A54 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80264B18 00261A58 38 80 00 00 */ li r4, 0 -/* 80264B1C 00261A5C 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80264B20 00261A60 38 A0 00 00 */ li r5, 0 -/* 80264B24 00261A64 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264B28 00261A68 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80264B2C 00261A6C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80264B30 00261A70 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80264B34 00261A74 4B EA 04 D1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80264B38 00261A78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264B3C 00261A7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264B40 00261A80 7C 08 03 A6 */ mtlr r0 -/* 80264B44 00261A84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264B48 00261A88 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia9StateDeadFPQ24Game9EnemyBase -exec__Q34Game4Ujia9StateDeadFPQ24Game9EnemyBase: -/* 80264B4C 00261A8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264B50 00261A90 7C 08 02 A6 */ mflr r0 -/* 80264B54 00261A94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264B58 00261A98 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80264B5C 00261A9C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80264B60 00261AA0 28 00 00 00 */ cmplwi r0, 0 -/* 80264B64 00261AA4 41 82 00 1C */ beq lbl_80264B80 -/* 80264B68 00261AA8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80264B6C 00261AAC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80264B70 00261AB0 40 82 00 10 */ bne lbl_80264B80 -/* 80264B74 00261AB4 7C 83 23 78 */ mr r3, r4 -/* 80264B78 00261AB8 38 80 00 00 */ li r4, 0 -/* 80264B7C 00261ABC 4B ED 65 75 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80264B80: -/* 80264B80 00261AC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264B84 00261AC4 7C 08 03 A6 */ mtlr r0 -/* 80264B88 00261AC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264B8C 00261ACC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia9StateDeadFPQ24Game9EnemyBase: -/* 80264B90 00261AD0 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80264B94 00261AD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264B98 00261AD8 7C 08 02 A6 */ mflr r0 -/* 80264B9C 00261ADC C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80264BA0 00261AE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264BA4 00261AE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264BA8 00261AE8 7C 9F 23 78 */ mr r31, r4 -/* 80264BAC 00261AEC 7F E3 FB 78 */ mr r3, r31 -/* 80264BB0 00261AF0 D0 04 02 00 */ stfs f0, 0x200(r4) -/* 80264BB4 00261AF4 4B EA 0B 6D */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80264BB8 00261AF8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264BBC 00261AFC 7F E3 FB 78 */ mr r3, r31 -/* 80264BC0 00261B00 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80264BC4 00261B04 38 80 00 01 */ li r4, 1 -/* 80264BC8 00261B08 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80264BCC 00261B0C 38 A0 00 00 */ li r5, 0 -/* 80264BD0 00261B10 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264BD4 00261B14 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80264BD8 00261B18 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80264BDC 00261B1C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80264BE0 00261B20 4B EA 04 25 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80264BE4 00261B24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264BE8 00261B28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264BEC 00261B2C 7C 08 03 A6 */ mtlr r0 -/* 80264BF0 00261B30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264BF4 00261B34 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia10StatePressFPQ24Game9EnemyBase -exec__Q34Game4Ujia10StatePressFPQ24Game9EnemyBase: -/* 80264BF8 00261B38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264BFC 00261B3C 7C 08 02 A6 */ mflr r0 -/* 80264C00 00261B40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264C04 00261B44 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80264C08 00261B48 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80264C0C 00261B4C 28 00 00 00 */ cmplwi r0, 0 -/* 80264C10 00261B50 41 82 00 1C */ beq lbl_80264C2C -/* 80264C14 00261B54 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80264C18 00261B58 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80264C1C 00261B5C 40 82 00 10 */ bne lbl_80264C2C -/* 80264C20 00261B60 7C 83 23 78 */ mr r3, r4 -/* 80264C24 00261B64 38 80 00 00 */ li r4, 0 -/* 80264C28 00261B68 4B ED 64 C9 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80264C2C: -/* 80264C2C 00261B6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264C30 00261B70 7C 08 03 A6 */ mtlr r0 -/* 80264C34 00261B74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264C38 00261B78 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia10StatePressFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia10StatePressFPQ24Game9EnemyBase: -/* 80264C3C 00261B7C 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80264C40 00261B80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264C44 00261B84 7C 08 02 A6 */ mflr r0 -/* 80264C48 00261B88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264C4C 00261B8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264C50 00261B90 7C 9F 23 78 */ mr r31, r4 -/* 80264C54 00261B94 7F E3 FB 78 */ mr r3, r31 -/* 80264C58 00261B98 48 00 18 8D */ bl resetAppearCheck__Q34Game4Ujia3ObjFv -/* 80264C5C 00261B9C 7F E3 FB 78 */ mr r3, r31 -/* 80264C60 00261BA0 38 80 00 00 */ li r4, 0 -/* 80264C64 00261BA4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80264C68 00261BA8 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 80264C6C 00261BAC 7D 89 03 A6 */ mtctr r12 -/* 80264C70 00261BB0 4E 80 04 21 */ bctrl -/* 80264C74 00261BB4 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 80264C78 00261BB8 38 00 00 01 */ li r0, 1 -/* 80264C7C 00261BBC 7F E3 FB 78 */ mr r3, r31 -/* 80264C80 00261BC0 60 84 00 01 */ ori r4, r4, 1 -/* 80264C84 00261BC4 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80264C88 00261BC8 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 80264C8C 00261BCC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264C90 00261BD0 64 00 00 40 */ oris r0, r0, 0x40 -/* 80264C94 00261BD4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264C98 00261BD8 4B EA 2A E5 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80264C9C 00261BDC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264CA0 00261BE0 7F E3 FB 78 */ mr r3, r31 -/* 80264CA4 00261BE4 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80264CA8 00261BE8 38 80 00 02 */ li r4, 2 -/* 80264CAC 00261BEC 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 80264CB0 00261BF0 38 A0 00 00 */ li r5, 0 -/* 80264CB4 00261BF4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264CB8 00261BF8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264CBC 00261BFC 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf -/* 80264CC0 00261C00 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264CC4 00261C04 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264CC8 00261C08 64 00 40 00 */ oris r0, r0, 0x4000 -/* 80264CCC 00261C0C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264CD0 00261C10 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80264CD4 00261C14 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80264CD8 00261C18 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80264CDC 00261C1C 4B EA 03 29 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80264CE0 00261C20 7F E3 FB 78 */ mr r3, r31 -/* 80264CE4 00261C24 4B EA 25 FD */ bl stopMotion__Q24Game9EnemyBaseFv -/* 80264CE8 00261C28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264CEC 00261C2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264CF0 00261C30 7C 08 03 A6 */ mtlr r0 -/* 80264CF4 00261C34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264CF8 00261C38 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia9StateStayFPQ24Game9EnemyBase -exec__Q34Game4Ujia9StateStayFPQ24Game9EnemyBase: -/* 80264CFC 00261C3C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80264D00 00261C40 7C 08 02 A6 */ mflr r0 -/* 80264D04 00261C44 90 01 00 24 */ stw r0, 0x24(r1) -/* 80264D08 00261C48 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80264D0C 00261C4C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80264D10 00261C50 7C 9E 23 78 */ mr r30, r4 -/* 80264D14 00261C54 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80264D18 00261C58 7C 7D 1B 78 */ mr r29, r3 -/* 80264D1C 00261C5C 7F C3 F3 78 */ mr r3, r30 -/* 80264D20 00261C60 48 00 18 E1 */ bl setBridgeSearch__Q34Game4Ujia3ObjFv -/* 80264D24 00261C64 7F C3 F3 78 */ mr r3, r30 -/* 80264D28 00261C68 48 00 1D 99 */ bl isBreakBridge__Q34Game4Ujia3ObjFv -/* 80264D2C 00261C6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80264D30 00261C70 41 82 00 28 */ beq lbl_80264D58 -/* 80264D34 00261C74 7F A3 EB 78 */ mr r3, r29 -/* 80264D38 00261C78 7F C4 F3 78 */ mr r4, r30 -/* 80264D3C 00261C7C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80264D40 00261C80 38 A0 00 03 */ li r5, 3 -/* 80264D44 00261C84 38 C0 00 00 */ li r6, 0 -/* 80264D48 00261C88 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80264D4C 00261C8C 7D 89 03 A6 */ mtctr r12 -/* 80264D50 00261C90 4E 80 04 21 */ bctrl -/* 80264D54 00261C94 48 00 00 60 */ b lbl_80264DB4 -lbl_80264D58: -/* 80264D58 00261C98 80 FE 00 C0 */ lwz r7, 0xc0(r30) -/* 80264D5C 00261C9C 7F C3 F3 78 */ mr r3, r30 -/* 80264D60 00261CA0 38 80 00 00 */ li r4, 0 -/* 80264D64 00261CA4 38 A0 00 00 */ li r5, 0 -/* 80264D68 00261CA8 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80264D6C 00261CAC 38 C0 00 00 */ li r6, 0 -/* 80264D70 00261CB0 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80264D74 00261CB4 4B EA E2 DD */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80264D78 00261CB8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80264D7C 00261CBC 41 82 00 38 */ beq lbl_80264DB4 -/* 80264D80 00261CC0 7F C3 F3 78 */ mr r3, r30 -/* 80264D84 00261CC4 48 00 18 15 */ bl isAppearCheck__Q34Game4Ujia3ObjFv -/* 80264D88 00261CC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80264D8C 00261CCC 41 82 00 28 */ beq lbl_80264DB4 -/* 80264D90 00261CD0 93 FE 02 30 */ stw r31, 0x230(r30) -/* 80264D94 00261CD4 7F A3 EB 78 */ mr r3, r29 -/* 80264D98 00261CD8 7F C4 F3 78 */ mr r4, r30 -/* 80264D9C 00261CDC 38 A0 00 03 */ li r5, 3 -/* 80264DA0 00261CE0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80264DA4 00261CE4 38 C0 00 00 */ li r6, 0 -/* 80264DA8 00261CE8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80264DAC 00261CEC 7D 89 03 A6 */ mtctr r12 -/* 80264DB0 00261CF0 4E 80 04 21 */ bctrl -lbl_80264DB4: -/* 80264DB4 00261CF4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80264DB8 00261CF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80264DBC 00261CFC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80264DC0 00261D00 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80264DC4 00261D04 7C 08 03 A6 */ mtlr r0 -/* 80264DC8 00261D08 38 21 00 20 */ addi r1, r1, 0x20 -/* 80264DCC 00261D0C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia9StateStayFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia9StateStayFPQ24Game9EnemyBase: -/* 80264DD0 00261D10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264DD4 00261D14 7C 08 02 A6 */ mflr r0 -/* 80264DD8 00261D18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264DDC 00261D1C 7C 80 23 78 */ mr r0, r4 -/* 80264DE0 00261D20 38 80 00 01 */ li r4, 1 -/* 80264DE4 00261D24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264DE8 00261D28 7C 1F 03 78 */ mr r31, r0 -/* 80264DEC 00261D2C 7F E3 FB 78 */ mr r3, r31 -/* 80264DF0 00261D30 81 9F 00 00 */ lwz r12, 0(r31) -/* 80264DF4 00261D34 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 80264DF8 00261D38 7D 89 03 A6 */ mtctr r12 -/* 80264DFC 00261D3C 4E 80 04 21 */ bctrl -/* 80264E00 00261D40 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 80264E04 00261D44 38 00 00 00 */ li r0, 0 -/* 80264E08 00261D48 7F E3 FB 78 */ mr r3, r31 -/* 80264E0C 00261D4C 54 84 00 3C */ rlwinm r4, r4, 0, 0, 0x1e -/* 80264E10 00261D50 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80264E14 00261D54 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 80264E18 00261D58 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264E1C 00261D5C 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 80264E20 00261D60 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264E24 00261D64 4B EA 29 71 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80264E28 00261D68 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264E2C 00261D6C 60 00 80 00 */ ori r0, r0, 0x8000 -/* 80264E30 00261D70 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264E34 00261D74 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264E38 00261D78 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 -/* 80264E3C 00261D7C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264E40 00261D80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264E44 00261D84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264E48 00261D88 7C 08 03 A6 */ mtlr r0 -/* 80264E4C 00261D8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264E50 00261D90 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80264E54 00261D94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264E58 00261D98 7C 08 02 A6 */ mflr r0 -/* 80264E5C 00261D9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264E60 00261DA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264E64 00261DA4 7C 9F 23 78 */ mr r31, r4 -/* 80264E68 00261DA8 7F E3 FB 78 */ mr r3, r31 -/* 80264E6C 00261DAC 48 00 16 15 */ bl lifeIncrement__Q34Game4Ujia3ObjFv -/* 80264E70 00261DB0 7F E3 FB 78 */ mr r3, r31 -/* 80264E74 00261DB4 4B EA 29 09 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80264E78 00261DB8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264E7C 00261DBC 7F E3 FB 78 */ mr r3, r31 -/* 80264E80 00261DC0 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80264E84 00261DC4 64 00 00 20 */ oris r0, r0, 0x20 -/* 80264E88 00261DC8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264E8C 00261DCC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264E90 00261DD0 60 00 08 00 */ ori r0, r0, 0x800 -/* 80264E94 00261DD4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264E98 00261DD8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80264E9C 00261DDC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80264EA0 00261DE0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80264EA4 00261DE4 4B E9 CB 29 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80264EA8 00261DE8 7F E3 FB 78 */ mr r3, r31 -/* 80264EAC 00261DEC 38 80 00 02 */ li r4, 2 -/* 80264EB0 00261DF0 38 A0 00 00 */ li r5, 0 -/* 80264EB4 00261DF4 4B EA 01 51 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80264EB8 00261DF8 7F E3 FB 78 */ mr r3, r31 -/* 80264EBC 00261DFC 48 00 24 A9 */ bl createAppearEffect__Q34Game4Ujia3ObjFv -/* 80264EC0 00261E00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264EC4 00261E04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264EC8 00261E08 7C 08 03 A6 */ mtlr r0 -/* 80264ECC 00261E0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264ED0 00261E10 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia11StateAppearFPQ24Game9EnemyBase -exec__Q34Game4Ujia11StateAppearFPQ24Game9EnemyBase: -/* 80264ED4 00261E14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264ED8 00261E18 7C 08 02 A6 */ mflr r0 -/* 80264EDC 00261E1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264EE0 00261E20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264EE4 00261E24 7C 9F 23 78 */ mr r31, r4 -/* 80264EE8 00261E28 93 C1 00 08 */ stw r30, 8(r1) -/* 80264EEC 00261E2C 7C 7E 1B 78 */ mr r30, r3 -/* 80264EF0 00261E30 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80264EF4 00261E34 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80264EF8 00261E38 28 00 00 00 */ cmplwi r0, 0 -/* 80264EFC 00261E3C 41 82 00 9C */ beq lbl_80264F98 -/* 80264F00 00261E40 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80264F04 00261E44 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80264F08 00261E48 40 82 00 90 */ bne lbl_80264F98 -/* 80264F0C 00261E4C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80264F10 00261E50 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80264F14 00261E54 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80264F18 00261E58 4C 40 13 82 */ cror 2, 0, 2 -/* 80264F1C 00261E5C 40 82 00 20 */ bne lbl_80264F3C -/* 80264F20 00261E60 81 83 00 00 */ lwz r12, 0(r3) -/* 80264F24 00261E64 38 A0 00 00 */ li r5, 0 -/* 80264F28 00261E68 38 C0 00 00 */ li r6, 0 -/* 80264F2C 00261E6C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80264F30 00261E70 7D 89 03 A6 */ mtctr r12 -/* 80264F34 00261E74 4E 80 04 21 */ bctrl -/* 80264F38 00261E78 48 00 00 60 */ b lbl_80264F98 -lbl_80264F3C: -/* 80264F3C 00261E7C 7F E3 FB 78 */ mr r3, r31 -/* 80264F40 00261E80 48 00 1B 81 */ bl isBreakBridge__Q34Game4Ujia3ObjFv -/* 80264F44 00261E84 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80264F48 00261E88 41 82 00 30 */ beq lbl_80264F78 -/* 80264F4C 00261E8C 7F E3 FB 78 */ mr r3, r31 -/* 80264F50 00261E90 48 00 19 BD */ bl checkBreakOrMove__Q34Game4Ujia3ObjFv -/* 80264F54 00261E94 81 9E 00 00 */ lwz r12, 0(r30) -/* 80264F58 00261E98 7C 65 1B 78 */ mr r5, r3 -/* 80264F5C 00261E9C 7F C3 F3 78 */ mr r3, r30 -/* 80264F60 00261EA0 7F E4 FB 78 */ mr r4, r31 -/* 80264F64 00261EA4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80264F68 00261EA8 38 C0 00 00 */ li r6, 0 -/* 80264F6C 00261EAC 7D 89 03 A6 */ mtctr r12 -/* 80264F70 00261EB0 4E 80 04 21 */ bctrl -/* 80264F74 00261EB4 48 00 00 24 */ b lbl_80264F98 -lbl_80264F78: -/* 80264F78 00261EB8 7F C3 F3 78 */ mr r3, r30 -/* 80264F7C 00261EBC 7F E4 FB 78 */ mr r4, r31 -/* 80264F80 00261EC0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80264F84 00261EC4 38 A0 00 05 */ li r5, 5 -/* 80264F88 00261EC8 38 C0 00 00 */ li r6, 0 -/* 80264F8C 00261ECC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80264F90 00261ED0 7D 89 03 A6 */ mtctr r12 -/* 80264F94 00261ED4 4E 80 04 21 */ bctrl -lbl_80264F98: -/* 80264F98 00261ED8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264F9C 00261EDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264FA0 00261EE0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80264FA4 00261EE4 7C 08 03 A6 */ mtlr r0 -/* 80264FA8 00261EE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264FAC 00261EEC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia11StateAppearFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia11StateAppearFPQ24Game9EnemyBase: -/* 80264FB0 00261EF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264FB4 00261EF4 7C 08 02 A6 */ mflr r0 -/* 80264FB8 00261EF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264FBC 00261EFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264FC0 00261F00 7C 9F 23 78 */ mr r31, r4 -/* 80264FC4 00261F04 7F E3 FB 78 */ mr r3, r31 -/* 80264FC8 00261F08 4B EA 27 CD */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80264FCC 00261F0C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80264FD0 00261F10 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80264FD4 00261F14 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80264FD8 00261F18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80264FDC 00261F1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80264FE0 00261F20 7C 08 03 A6 */ mtlr r0 -/* 80264FE4 00261F24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80264FE8 00261F28 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia9StateDiveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia9StateDiveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80264FEC 00261F2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80264FF0 00261F30 7C 08 02 A6 */ mflr r0 -/* 80264FF4 00261F34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80264FF8 00261F38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80264FFC 00261F3C 7C 9F 23 78 */ mr r31, r4 -/* 80265000 00261F40 7F E3 FB 78 */ mr r3, r31 -/* 80265004 00261F44 4B EA 27 79 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80265008 00261F48 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026500C 00261F4C 7F E3 FB 78 */ mr r3, r31 -/* 80265010 00261F50 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80265014 00261F54 64 00 00 40 */ oris r0, r0, 0x40 -/* 80265018 00261F58 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026501C 00261F5C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80265020 00261F60 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80265024 00261F64 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80265028 00261F68 4B E9 C9 55 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 8026502C 00261F6C 7F E3 FB 78 */ mr r3, r31 -/* 80265030 00261F70 38 80 00 03 */ li r4, 3 -/* 80265034 00261F74 38 A0 00 00 */ li r5, 0 -/* 80265038 00261F78 4B E9 FF CD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026503C 00261F7C 7F E3 FB 78 */ mr r3, r31 -/* 80265040 00261F80 48 00 23 B1 */ bl createDisAppearEffect__Q34Game4Ujia3ObjFv -/* 80265044 00261F84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265048 00261F88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026504C 00261F8C 7C 08 03 A6 */ mtlr r0 -/* 80265050 00261F90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265054 00261F94 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia9StateDiveFPQ24Game9EnemyBase -exec__Q34Game4Ujia9StateDiveFPQ24Game9EnemyBase: -/* 80265058 00261F98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026505C 00261F9C 7C 08 02 A6 */ mflr r0 -/* 80265060 00261FA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265064 00261FA4 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80265068 00261FA8 88 05 00 24 */ lbz r0, 0x24(r5) -/* 8026506C 00261FAC 28 00 00 00 */ cmplwi r0, 0 -/* 80265070 00261FB0 41 82 00 28 */ beq lbl_80265098 -/* 80265074 00261FB4 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80265078 00261FB8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8026507C 00261FBC 40 82 00 1C */ bne lbl_80265098 -/* 80265080 00261FC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80265084 00261FC4 38 A0 00 02 */ li r5, 2 -/* 80265088 00261FC8 38 C0 00 00 */ li r6, 0 -/* 8026508C 00261FCC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265090 00261FD0 7D 89 03 A6 */ mtctr r12 -/* 80265094 00261FD4 4E 80 04 21 */ bctrl -lbl_80265098: -/* 80265098 00261FD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026509C 00261FDC 7C 08 03 A6 */ mtlr r0 -/* 802650A0 00261FE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802650A4 00261FE4 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia9StateDiveFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia9StateDiveFPQ24Game9EnemyBase: -/* 802650A8 00261FE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802650AC 00261FEC 7C 08 02 A6 */ mflr r0 -/* 802650B0 00261FF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802650B4 00261FF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802650B8 00261FF8 7C 9F 23 78 */ mr r31, r4 -/* 802650BC 00261FFC 7F E3 FB 78 */ mr r3, r31 -/* 802650C0 00262000 4B EA 26 D5 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 802650C4 00262004 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802650C8 00262008 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 802650CC 0026200C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802650D0 00262010 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802650D4 00262014 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802650D8 00262018 7C 08 03 A6 */ mtlr r0 -/* 802650DC 0026201C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802650E0 00262020 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802650E4 00262024 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802650E8 00262028 7C 08 02 A6 */ mflr r0 -/* 802650EC 0026202C 7C 83 23 78 */ mr r3, r4 -/* 802650F0 00262030 38 80 00 04 */ li r4, 4 -/* 802650F4 00262034 90 01 00 14 */ stw r0, 0x14(r1) -/* 802650F8 00262038 38 00 FF FF */ li r0, -1 -/* 802650FC 0026203C 38 A0 00 00 */ li r5, 0 -/* 80265100 00262040 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 80265104 00262044 4B E9 FF 01 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80265108 00262048 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026510C 0026204C 7C 08 03 A6 */ mtlr r0 -/* 80265110 00262050 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265114 00262054 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia9StateMoveFPQ24Game9EnemyBase -exec__Q34Game4Ujia9StateMoveFPQ24Game9EnemyBase: -/* 80265118 00262058 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8026511C 0026205C 7C 08 02 A6 */ mflr r0 -/* 80265120 00262060 90 01 01 04 */ stw r0, 0x104(r1) -/* 80265124 00262064 DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 80265128 00262068 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 8026512C 0026206C DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 80265130 00262070 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 80265134 00262074 DB A1 00 D0 */ stfd f29, 0xd0(r1) -/* 80265138 00262078 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 -/* 8026513C 0026207C DB 81 00 C0 */ stfd f28, 0xc0(r1) -/* 80265140 00262080 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 -/* 80265144 00262084 DB 61 00 B0 */ stfd f27, 0xb0(r1) -/* 80265148 00262088 F3 61 00 B8 */ psq_st f27, 184(r1), 0, qr0 -/* 8026514C 0026208C DB 41 00 A0 */ stfd f26, 0xa0(r1) -/* 80265150 00262090 F3 41 00 A8 */ psq_st f26, 168(r1), 0, qr0 -/* 80265154 00262094 DB 21 00 90 */ stfd f25, 0x90(r1) -/* 80265158 00262098 F3 21 00 98 */ psq_st f25, 152(r1), 0, qr0 -/* 8026515C 0026209C 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80265160 002620A0 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80265164 002620A4 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80265168 002620A8 7C 9F 23 78 */ mr r31, r4 -/* 8026516C 002620AC 7C 7E 1B 78 */ mr r30, r3 -/* 80265170 002620B0 7F E3 FB 78 */ mr r3, r31 -/* 80265174 002620B4 48 00 19 4D */ bl isBreakBridge__Q34Game4Ujia3ObjFv -/* 80265178 002620B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026517C 002620BC 41 82 00 1C */ beq lbl_80265198 -/* 80265180 002620C0 7F E3 FB 78 */ mr r3, r31 -/* 80265184 002620C4 48 00 17 89 */ bl checkBreakOrMove__Q34Game4Ujia3ObjFv -/* 80265188 002620C8 90 7F 02 C4 */ stw r3, 0x2c4(r31) -/* 8026518C 002620CC 7F E3 FB 78 */ mr r3, r31 -/* 80265190 002620D0 4B EA 01 11 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80265194 002620D4 48 00 03 7C */ b lbl_80265510 -lbl_80265198: -/* 80265198 002620D8 83 BF 02 30 */ lwz r29, 0x230(r31) -/* 8026519C 002620DC 28 1D 00 00 */ cmplwi r29, 0 -/* 802651A0 002620E0 41 82 03 60 */ beq lbl_80265500 -/* 802651A4 002620E4 7F A3 EB 78 */ mr r3, r29 -/* 802651A8 002620E8 81 9D 00 00 */ lwz r12, 0(r29) -/* 802651AC 002620EC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802651B0 002620F0 7D 89 03 A6 */ mtctr r12 -/* 802651B4 002620F4 4E 80 04 21 */ bctrl -/* 802651B8 002620F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802651BC 002620FC 41 82 03 44 */ beq lbl_80265500 -/* 802651C0 00262100 7F A4 EB 78 */ mr r4, r29 -/* 802651C4 00262104 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802651C8 00262108 81 9D 00 00 */ lwz r12, 0(r29) -/* 802651CC 0026210C 38 61 00 08 */ addi r3, r1, 8 -/* 802651D0 00262110 C3 C5 03 34 */ lfs f30, 0x334(r5) -/* 802651D4 00262114 81 8C 00 08 */ lwz r12, 8(r12) -/* 802651D8 00262118 C3 A5 03 0C */ lfs f29, 0x30c(r5) -/* 802651DC 0026211C 7D 89 03 A6 */ mtctr r12 -/* 802651E0 00262120 4E 80 04 21 */ bctrl -/* 802651E4 00262124 7F E4 FB 78 */ mr r4, r31 -/* 802651E8 00262128 38 61 00 14 */ addi r3, r1, 0x14 -/* 802651EC 0026212C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802651F0 00262130 C3 21 00 08 */ lfs f25, 8(r1) -/* 802651F4 00262134 81 8C 00 08 */ lwz r12, 8(r12) -/* 802651F8 00262138 C3 41 00 10 */ lfs f26, 0x10(r1) -/* 802651FC 0026213C 7D 89 03 A6 */ mtctr r12 -/* 80265200 00262140 4E 80 04 21 */ bctrl -/* 80265204 00262144 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80265208 00262148 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8026520C 0026214C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80265210 00262150 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80265214 00262154 EC 39 08 28 */ fsubs f1, f25, f1 -/* 80265218 00262158 EC 5A 00 28 */ fsubs f2, f26, f0 -/* 8026521C 0026215C 4B DC FE ED */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80265220 00262160 48 1A C9 B1 */ bl roundAng__Ff -/* 80265224 00262164 81 9F 00 00 */ lwz r12, 0(r31) -/* 80265228 00262168 FF 20 08 90 */ fmr f25, f1 -/* 8026522C 0026216C 7F E3 FB 78 */ mr r3, r31 -/* 80265230 00262170 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80265234 00262174 7D 89 03 A6 */ mtctr r12 -/* 80265238 00262178 4E 80 04 21 */ bctrl -/* 8026523C 0026217C FC 40 08 90 */ fmr f2, f1 -/* 80265240 00262180 FC 20 C8 90 */ fmr f1, f25 -/* 80265244 00262184 48 1A C9 B9 */ bl angDist__Fff -/* 80265248 00262188 FF E0 08 90 */ fmr f31, f1 -/* 8026524C 0026218C C0 02 CA F8 */ lfs f0, lbl_8051AE58@sda21(r2) -/* 80265250 00262190 C0 22 CA F4 */ lfs f1, lbl_8051AE54@sda21(r2) -/* 80265254 00262194 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80265258 00262198 EF 3F 07 72 */ fmuls f25, f31, f29 -/* 8026525C 0026219C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80265260 002621A0 FC 00 CA 10 */ fabs f0, f25 -/* 80265264 002621A4 FC 00 00 18 */ frsp f0, f0 -/* 80265268 002621A8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026526C 002621AC 40 81 00 1C */ ble lbl_80265288 -/* 80265270 002621B0 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80265274 002621B4 FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 80265278 002621B8 40 81 00 0C */ ble lbl_80265284 -/* 8026527C 002621BC FF 20 08 90 */ fmr f25, f1 -/* 80265280 002621C0 48 00 00 08 */ b lbl_80265288 -lbl_80265284: -/* 80265284 002621C4 FF 20 08 50 */ fneg f25, f1 -lbl_80265288: -/* 80265288 002621C8 7F E3 FB 78 */ mr r3, r31 -/* 8026528C 002621CC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80265290 002621D0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80265294 002621D4 7D 89 03 A6 */ mtctr r12 -/* 80265298 002621D8 4E 80 04 21 */ bctrl -/* 8026529C 002621DC EC 39 08 2A */ fadds f1, f25, f1 -/* 802652A0 002621E0 48 1A C9 31 */ bl roundAng__Ff -/* 802652A4 002621E4 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 802652A8 002621E8 7F E3 FB 78 */ mr r3, r31 -/* 802652AC 002621EC C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 802652B0 002621F0 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 802652B4 002621F4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802652B8 002621F8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 802652BC 002621FC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802652C0 00262200 C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 802652C4 00262204 7D 89 03 A6 */ mtctr r12 -/* 802652C8 00262208 4E 80 04 21 */ bctrl -/* 802652CC 0026220C 4B E6 A5 51 */ bl sin -/* 802652D0 00262210 7F E3 FB 78 */ mr r3, r31 -/* 802652D4 00262214 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 802652D8 00262218 81 9F 00 00 */ lwz r12, 0(r31) -/* 802652DC 0026221C FF 20 08 18 */ frsp f25, f1 -/* 802652E0 00262220 C3 BF 01 D8 */ lfs f29, 0x1d8(r31) -/* 802652E4 00262224 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 802652E8 00262228 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802652EC 0026222C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 802652F0 00262230 D3 A1 00 78 */ stfs f29, 0x78(r1) -/* 802652F4 00262234 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 802652F8 00262238 7D 89 03 A6 */ mtctr r12 -/* 802652FC 0026223C 4E 80 04 21 */ bctrl -/* 80265300 00262240 4B E6 9F B5 */ bl cos -/* 80265304 00262244 EC 1E 06 72 */ fmuls f0, f30, f25 -/* 80265308 00262248 7F E4 FB 78 */ mr r4, r31 -/* 8026530C 0026224C FC 20 08 18 */ frsp f1, f1 -/* 80265310 00262250 38 61 00 38 */ addi r3, r1, 0x38 -/* 80265314 00262254 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80265318 00262258 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8026531C 0026225C D3 BF 01 D8 */ stfs f29, 0x1d8(r31) -/* 80265320 00262260 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80265324 00262264 81 9F 00 00 */ lwz r12, 0(r31) -/* 80265328 00262268 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8026532C 0026226C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80265330 00262270 C3 C5 03 D4 */ lfs f30, 0x3d4(r5) -/* 80265334 00262274 C3 25 03 FC */ lfs f25, 0x3fc(r5) -/* 80265338 00262278 C3 45 03 AC */ lfs f26, 0x3ac(r5) -/* 8026533C 0026227C 7D 89 03 A6 */ mtctr r12 -/* 80265340 00262280 4E 80 04 21 */ bctrl -/* 80265344 00262284 7F A4 EB 78 */ mr r4, r29 -/* 80265348 00262288 38 61 00 2C */ addi r3, r1, 0x2c -/* 8026534C 0026228C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80265350 00262290 C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 80265354 00262294 81 8C 00 08 */ lwz r12, 8(r12) -/* 80265358 00262298 7D 89 03 A6 */ mtctr r12 -/* 8026535C 0026229C 4E 80 04 21 */ bctrl -/* 80265360 002622A0 7F E4 FB 78 */ mr r4, r31 -/* 80265364 002622A4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80265368 002622A8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026536C 002622AC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80265370 002622B0 EF 60 E8 28 */ fsubs f27, f0, f29 -/* 80265374 002622B4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80265378 002622B8 7D 89 03 A6 */ mtctr r12 -/* 8026537C 002622BC 4E 80 04 21 */ bctrl -/* 80265380 002622C0 7F A4 EB 78 */ mr r4, r29 -/* 80265384 002622C4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80265388 002622C8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8026538C 002622CC C3 A1 00 54 */ lfs f29, 0x54(r1) -/* 80265390 002622D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80265394 002622D4 7D 89 03 A6 */ mtctr r12 -/* 80265398 002622D8 4E 80 04 21 */ bctrl -/* 8026539C 002622DC 7F E4 FB 78 */ mr r4, r31 -/* 802653A0 002622E0 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 802653A4 002622E4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802653A8 002622E8 38 61 00 68 */ addi r3, r1, 0x68 -/* 802653AC 002622EC EF 80 E8 28 */ fsubs f28, f0, f29 -/* 802653B0 002622F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802653B4 002622F4 7D 89 03 A6 */ mtctr r12 -/* 802653B8 002622F8 4E 80 04 21 */ bctrl -/* 802653BC 002622FC 7F A4 EB 78 */ mr r4, r29 -/* 802653C0 00262300 38 61 00 5C */ addi r3, r1, 0x5c -/* 802653C4 00262304 81 9D 00 00 */ lwz r12, 0(r29) -/* 802653C8 00262308 C3 A1 00 70 */ lfs f29, 0x70(r1) -/* 802653CC 0026230C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802653D0 00262310 7D 89 03 A6 */ mtctr r12 -/* 802653D4 00262314 4E 80 04 21 */ bctrl -/* 802653D8 00262318 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 802653DC 0026231C EF 5A 06 B2 */ fmuls f26, f26, f26 -/* 802653E0 00262320 EC 3E 07 B2 */ fmuls f1, f30, f30 -/* 802653E4 00262324 38 60 00 01 */ li r3, 1 -/* 802653E8 00262328 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 802653EC 0026232C 38 80 00 00 */ li r4, 0 -/* 802653F0 00262330 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802653F4 00262334 EC 1B 06 FA */ fmadds f0, f27, f27, f0 -/* 802653F8 00262338 FC 00 D0 40 */ fcmpo cr0, f0, f26 -/* 802653FC 0026233C 40 81 00 30 */ ble lbl_8026542C -/* 80265400 00262340 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80265404 00262344 7C 80 23 78 */ mr r0, r4 -/* 80265408 00262348 40 81 00 18 */ ble lbl_80265420 -/* 8026540C 0026234C FC 00 E2 10 */ fabs f0, f28 -/* 80265410 00262350 FC 00 00 18 */ frsp f0, f0 -/* 80265414 00262354 FC 00 C8 40 */ fcmpo cr0, f0, f25 -/* 80265418 00262358 40 80 00 08 */ bge lbl_80265420 -/* 8026541C 0026235C 7C 60 1B 78 */ mr r0, r3 -lbl_80265420: -/* 80265420 00262360 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80265424 00262364 41 82 00 08 */ beq lbl_8026542C -/* 80265428 00262368 38 80 00 01 */ li r4, 1 -lbl_8026542C: -/* 8026542C 0026236C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80265430 00262370 40 82 00 34 */ bne lbl_80265464 -/* 80265434 00262374 C0 02 CA F8 */ lfs f0, lbl_8051AE58@sda21(r2) -/* 80265438 00262378 FC 40 FA 10 */ fabs f2, f31 -/* 8026543C 0026237C C0 22 CA F4 */ lfs f1, lbl_8051AE54@sda21(r2) -/* 80265440 00262380 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80265444 00262384 FC 40 10 18 */ frsp f2, f2 -/* 80265448 00262388 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8026544C 0026238C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80265450 00262390 4C 40 13 82 */ cror 2, 0, 2 -/* 80265454 00262394 7C 00 00 26 */ mfcr r0 -/* 80265458 00262398 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f -/* 8026545C 0026239C 41 82 00 08 */ beq lbl_80265464 -/* 80265460 002623A0 38 60 00 00 */ li r3, 0 -lbl_80265464: -/* 80265464 002623A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265468 002623A8 41 82 00 10 */ beq lbl_80265478 -/* 8026546C 002623AC 38 00 00 00 */ li r0, 0 -/* 80265470 002623B0 90 1F 02 30 */ stw r0, 0x230(r31) -/* 80265474 002623B4 48 00 00 9C */ b lbl_80265510 -lbl_80265478: -/* 80265478 002623B8 7F E4 FB 78 */ mr r4, r31 -/* 8026547C 002623BC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80265480 002623C0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80265484 002623C4 C3 3F 01 98 */ lfs f25, 0x198(r31) -/* 80265488 002623C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026548C 002623CC C3 5F 01 9C */ lfs f26, 0x19c(r31) -/* 80265490 002623D0 C3 7F 01 A0 */ lfs f27, 0x1a0(r31) -/* 80265494 002623D4 7D 89 03 A6 */ mtctr r12 -/* 80265498 002623D8 4E 80 04 21 */ bctrl -/* 8026549C 002623DC C0 01 00 24 */ lfs f0, 0x24(r1) -/* 802654A0 002623E0 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 802654A4 002623E4 EC 60 D0 28 */ fsubs f3, f0, f26 -/* 802654A8 002623E8 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 802654AC 002623EC EC 42 C8 28 */ fsubs f2, f2, f25 -/* 802654B0 002623F0 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 802654B4 002623F4 EC 21 D8 28 */ fsubs f1, f1, f27 -/* 802654B8 002623F8 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 802654BC 002623FC EC 81 00 72 */ fmuls f4, f1, f1 -/* 802654C0 00262400 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 802654C4 00262404 EC 24 08 2A */ fadds f1, f4, f1 -/* 802654C8 00262408 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802654CC 0026240C 40 81 00 14 */ ble lbl_802654E0 -/* 802654D0 00262410 40 81 00 14 */ ble lbl_802654E4 -/* 802654D4 00262414 FC 00 08 34 */ frsqrte f0, f1 -/* 802654D8 00262418 EC 20 00 72 */ fmuls f1, f0, f1 -/* 802654DC 0026241C 48 00 00 08 */ b lbl_802654E4 -lbl_802654E0: -/* 802654E0 00262420 FC 20 00 90 */ fmr f1, f0 -lbl_802654E4: -/* 802654E4 00262424 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802654E8 00262428 C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 802654EC 0026242C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802654F0 00262430 40 81 00 20 */ ble lbl_80265510 -/* 802654F4 00262434 38 00 00 00 */ li r0, 0 -/* 802654F8 00262438 90 1F 02 30 */ stw r0, 0x230(r31) -/* 802654FC 0026243C 48 00 00 14 */ b lbl_80265510 -lbl_80265500: -/* 80265500 00262440 38 00 00 09 */ li r0, 9 -/* 80265504 00262444 7F E3 FB 78 */ mr r3, r31 -/* 80265508 00262448 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8026550C 0026244C 4B E9 FD 95 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80265510: -/* 80265510 00262450 7F E3 FB 78 */ mr r3, r31 -/* 80265514 00262454 48 00 0F 9D */ bl setInWaterDamage__Q34Game4Ujia3ObjFv -/* 80265518 00262458 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8026551C 0026245C C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80265520 00262460 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265524 00262464 4C 40 13 82 */ cror 2, 0, 2 -/* 80265528 00262468 40 82 00 28 */ bne lbl_80265550 -/* 8026552C 0026246C 7F C3 F3 78 */ mr r3, r30 -/* 80265530 00262470 7F E4 FB 78 */ mr r4, r31 -/* 80265534 00262474 81 9E 00 00 */ lwz r12, 0(r30) -/* 80265538 00262478 38 A0 00 00 */ li r5, 0 -/* 8026553C 0026247C 38 C0 00 00 */ li r6, 0 -/* 80265540 00262480 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265544 00262484 7D 89 03 A6 */ mtctr r12 -/* 80265548 00262488 4E 80 04 21 */ bctrl -/* 8026554C 0026248C 48 00 00 40 */ b lbl_8026558C -lbl_80265550: -/* 80265550 00262490 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80265554 00262494 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80265558 00262498 28 00 00 00 */ cmplwi r0, 0 -/* 8026555C 0026249C 41 82 00 30 */ beq lbl_8026558C -/* 80265560 002624A0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80265564 002624A4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80265568 002624A8 40 82 00 24 */ bne lbl_8026558C -/* 8026556C 002624AC 7F C3 F3 78 */ mr r3, r30 -/* 80265570 002624B0 7F E4 FB 78 */ mr r4, r31 -/* 80265574 002624B4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80265578 002624B8 38 C0 00 00 */ li r6, 0 -/* 8026557C 002624BC 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80265580 002624C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265584 002624C4 7D 89 03 A6 */ mtctr r12 -/* 80265588 002624C8 4E 80 04 21 */ bctrl -lbl_8026558C: -/* 8026558C 002624CC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 80265590 002624D0 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 80265594 002624D4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 80265598 002624D8 CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 8026559C 002624DC E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 -/* 802655A0 002624E0 CB A1 00 D0 */ lfd f29, 0xd0(r1) -/* 802655A4 002624E4 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 -/* 802655A8 002624E8 CB 81 00 C0 */ lfd f28, 0xc0(r1) -/* 802655AC 002624EC E3 61 00 B8 */ psq_l f27, 184(r1), 0, qr0 -/* 802655B0 002624F0 CB 61 00 B0 */ lfd f27, 0xb0(r1) -/* 802655B4 002624F4 E3 41 00 A8 */ psq_l f26, 168(r1), 0, qr0 -/* 802655B8 002624F8 CB 41 00 A0 */ lfd f26, 0xa0(r1) -/* 802655BC 002624FC E3 21 00 98 */ psq_l f25, 152(r1), 0, qr0 -/* 802655C0 00262500 CB 21 00 90 */ lfd f25, 0x90(r1) -/* 802655C4 00262504 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802655C8 00262508 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802655CC 0026250C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802655D0 00262510 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 802655D4 00262514 7C 08 03 A6 */ mtlr r0 -/* 802655D8 00262518 38 21 01 00 */ addi r1, r1, 0x100 -/* 802655DC 0026251C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia9StateMoveFPQ24Game9EnemyBase: -/* 802655E0 00262520 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia13StateMoveSideFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia13StateMoveSideFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802655E4 00262524 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802655E8 00262528 7C 08 02 A6 */ mflr r0 -/* 802655EC 0026252C 7C 83 23 78 */ mr r3, r4 -/* 802655F0 00262530 38 80 00 04 */ li r4, 4 -/* 802655F4 00262534 90 01 00 14 */ stw r0, 0x14(r1) -/* 802655F8 00262538 38 00 FF FF */ li r0, -1 -/* 802655FC 0026253C 38 A0 00 00 */ li r5, 0 -/* 80265600 00262540 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 80265604 00262544 4B E9 FA 01 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80265608 00262548 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026560C 0026254C 7C 08 03 A6 */ mtlr r0 -/* 80265610 00262550 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265614 00262554 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia13StateMoveSideFPQ24Game9EnemyBase -exec__Q34Game4Ujia13StateMoveSideFPQ24Game9EnemyBase: -/* 80265618 00262558 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026561C 0026255C 7C 08 02 A6 */ mflr r0 -/* 80265620 00262560 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265624 00262564 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265628 00262568 7C 9F 23 78 */ mr r31, r4 -/* 8026562C 0026256C 93 C1 00 08 */ stw r30, 8(r1) -/* 80265630 00262570 7C 7E 1B 78 */ mr r30, r3 -/* 80265634 00262574 7F E3 FB 78 */ mr r3, r31 -/* 80265638 00262578 48 00 14 89 */ bl isBreakBridge__Q34Game4Ujia3ObjFv -/* 8026563C 0026257C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265640 00262580 41 82 00 28 */ beq lbl_80265668 -/* 80265644 00262584 7F E3 FB 78 */ mr r3, r31 -/* 80265648 00262588 48 00 14 A1 */ bl moveBridgeSide__Q34Game4Ujia3ObjFv -/* 8026564C 0026258C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265650 00262590 41 82 00 28 */ beq lbl_80265678 -/* 80265654 00262594 38 00 00 07 */ li r0, 7 -/* 80265658 00262598 7F E3 FB 78 */ mr r3, r31 -/* 8026565C 0026259C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80265660 002625A0 4B E9 FC 41 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80265664 002625A4 48 00 00 14 */ b lbl_80265678 -lbl_80265668: -/* 80265668 002625A8 38 00 00 09 */ li r0, 9 -/* 8026566C 002625AC 7F E3 FB 78 */ mr r3, r31 -/* 80265670 002625B0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80265674 002625B4 4B E9 FC 2D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80265678: -/* 80265678 002625B8 7F E3 FB 78 */ mr r3, r31 -/* 8026567C 002625BC 48 00 0E 35 */ bl setInWaterDamage__Q34Game4Ujia3ObjFv -/* 80265680 002625C0 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80265684 002625C4 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80265688 002625C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026568C 002625CC 4C 40 13 82 */ cror 2, 0, 2 -/* 80265690 002625D0 40 82 00 28 */ bne lbl_802656B8 -/* 80265694 002625D4 7F C3 F3 78 */ mr r3, r30 -/* 80265698 002625D8 7F E4 FB 78 */ mr r4, r31 -/* 8026569C 002625DC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802656A0 002625E0 38 A0 00 00 */ li r5, 0 -/* 802656A4 002625E4 38 C0 00 00 */ li r6, 0 -/* 802656A8 002625E8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802656AC 002625EC 7D 89 03 A6 */ mtctr r12 -/* 802656B0 002625F0 4E 80 04 21 */ bctrl -/* 802656B4 002625F4 48 00 00 40 */ b lbl_802656F4 -lbl_802656B8: -/* 802656B8 002625F8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802656BC 002625FC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802656C0 00262600 28 00 00 00 */ cmplwi r0, 0 -/* 802656C4 00262604 41 82 00 30 */ beq lbl_802656F4 -/* 802656C8 00262608 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802656CC 0026260C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802656D0 00262610 40 82 00 24 */ bne lbl_802656F4 -/* 802656D4 00262614 7F C3 F3 78 */ mr r3, r30 -/* 802656D8 00262618 7F E4 FB 78 */ mr r4, r31 -/* 802656DC 0026261C 81 9E 00 00 */ lwz r12, 0(r30) -/* 802656E0 00262620 38 C0 00 00 */ li r6, 0 -/* 802656E4 00262624 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 802656E8 00262628 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802656EC 0026262C 7D 89 03 A6 */ mtctr r12 -/* 802656F0 00262630 4E 80 04 21 */ bctrl -lbl_802656F4: -/* 802656F4 00262634 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802656F8 00262638 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802656FC 0026263C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80265700 00262640 7C 08 03 A6 */ mtlr r0 -/* 80265704 00262644 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265708 00262648 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia13StateMoveSideFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia13StateMoveSideFPQ24Game9EnemyBase: -/* 8026570C 0026264C 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia15StateMoveCentreFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia15StateMoveCentreFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80265710 00262650 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265714 00262654 7C 08 02 A6 */ mflr r0 -/* 80265718 00262658 7C 83 23 78 */ mr r3, r4 -/* 8026571C 0026265C 38 80 00 04 */ li r4, 4 -/* 80265720 00262660 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265724 00262664 38 00 FF FF */ li r0, -1 -/* 80265728 00262668 38 A0 00 00 */ li r5, 0 -/* 8026572C 0026266C 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 80265730 00262670 4B E9 F8 D5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80265734 00262674 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265738 00262678 7C 08 03 A6 */ mtlr r0 -/* 8026573C 0026267C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265740 00262680 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia15StateMoveCentreFPQ24Game9EnemyBase -exec__Q34Game4Ujia15StateMoveCentreFPQ24Game9EnemyBase: -/* 80265744 00262684 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265748 00262688 7C 08 02 A6 */ mflr r0 -/* 8026574C 0026268C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265750 00262690 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265754 00262694 7C 9F 23 78 */ mr r31, r4 -/* 80265758 00262698 93 C1 00 08 */ stw r30, 8(r1) -/* 8026575C 0026269C 7C 7E 1B 78 */ mr r30, r3 -/* 80265760 002626A0 7F E3 FB 78 */ mr r3, r31 -/* 80265764 002626A4 48 00 13 5D */ bl isBreakBridge__Q34Game4Ujia3ObjFv -/* 80265768 002626A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026576C 002626AC 41 82 00 28 */ beq lbl_80265794 -/* 80265770 002626B0 7F E3 FB 78 */ mr r3, r31 -/* 80265774 002626B4 48 00 16 1D */ bl moveBridgeCentre__Q34Game4Ujia3ObjFv -/* 80265778 002626B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026577C 002626BC 41 82 00 28 */ beq lbl_802657A4 -/* 80265780 002626C0 38 00 00 08 */ li r0, 8 -/* 80265784 002626C4 7F E3 FB 78 */ mr r3, r31 -/* 80265788 002626C8 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8026578C 002626CC 4B E9 FB 15 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80265790 002626D0 48 00 00 14 */ b lbl_802657A4 -lbl_80265794: -/* 80265794 002626D4 38 00 00 09 */ li r0, 9 -/* 80265798 002626D8 7F E3 FB 78 */ mr r3, r31 -/* 8026579C 002626DC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802657A0 002626E0 4B E9 FB 01 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802657A4: -/* 802657A4 002626E4 7F E3 FB 78 */ mr r3, r31 -/* 802657A8 002626E8 48 00 0D 09 */ bl setInWaterDamage__Q34Game4Ujia3ObjFv -/* 802657AC 002626EC C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802657B0 002626F0 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 802657B4 002626F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802657B8 002626F8 4C 40 13 82 */ cror 2, 0, 2 -/* 802657BC 002626FC 40 82 00 28 */ bne lbl_802657E4 -/* 802657C0 00262700 7F C3 F3 78 */ mr r3, r30 -/* 802657C4 00262704 7F E4 FB 78 */ mr r4, r31 -/* 802657C8 00262708 81 9E 00 00 */ lwz r12, 0(r30) -/* 802657CC 0026270C 38 A0 00 00 */ li r5, 0 -/* 802657D0 00262710 38 C0 00 00 */ li r6, 0 -/* 802657D4 00262714 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802657D8 00262718 7D 89 03 A6 */ mtctr r12 -/* 802657DC 0026271C 4E 80 04 21 */ bctrl -/* 802657E0 00262720 48 00 00 40 */ b lbl_80265820 -lbl_802657E4: -/* 802657E4 00262724 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802657E8 00262728 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802657EC 0026272C 28 00 00 00 */ cmplwi r0, 0 -/* 802657F0 00262730 41 82 00 30 */ beq lbl_80265820 -/* 802657F4 00262734 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802657F8 00262738 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802657FC 0026273C 40 82 00 24 */ bne lbl_80265820 -/* 80265800 00262740 7F C3 F3 78 */ mr r3, r30 -/* 80265804 00262744 7F E4 FB 78 */ mr r4, r31 -/* 80265808 00262748 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026580C 0026274C 38 C0 00 00 */ li r6, 0 -/* 80265810 00262750 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80265814 00262754 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265818 00262758 7D 89 03 A6 */ mtctr r12 -/* 8026581C 0026275C 4E 80 04 21 */ bctrl -lbl_80265820: -/* 80265820 00262760 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265824 00262764 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265828 00262768 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026582C 0026276C 7C 08 03 A6 */ mtlr r0 -/* 80265830 00262770 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265834 00262774 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia15StateMoveCentreFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia15StateMoveCentreFPQ24Game9EnemyBase: -/* 80265838 00262778 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia12StateMoveTopFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia12StateMoveTopFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026583C 0026277C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265840 00262780 7C 08 02 A6 */ mflr r0 -/* 80265844 00262784 7C 83 23 78 */ mr r3, r4 -/* 80265848 00262788 38 80 00 04 */ li r4, 4 -/* 8026584C 0026278C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265850 00262790 38 00 FF FF */ li r0, -1 -/* 80265854 00262794 38 A0 00 00 */ li r5, 0 -/* 80265858 00262798 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8026585C 0026279C 4B E9 F7 A9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80265860 002627A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265864 002627A4 7C 08 03 A6 */ mtlr r0 -/* 80265868 002627A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026586C 002627AC 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia12StateMoveTopFPQ24Game9EnemyBase -exec__Q34Game4Ujia12StateMoveTopFPQ24Game9EnemyBase: -/* 80265870 002627B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265874 002627B4 7C 08 02 A6 */ mflr r0 -/* 80265878 002627B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026587C 002627BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265880 002627C0 7C 9F 23 78 */ mr r31, r4 -/* 80265884 002627C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80265888 002627C8 7C 7E 1B 78 */ mr r30, r3 -/* 8026588C 002627CC 7F E3 FB 78 */ mr r3, r31 -/* 80265890 002627D0 48 00 12 31 */ bl isBreakBridge__Q34Game4Ujia3ObjFv -/* 80265894 002627D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265898 002627D8 41 82 00 28 */ beq lbl_802658C0 -/* 8026589C 002627DC 7F E3 FB 78 */ mr r3, r31 -/* 802658A0 002627E0 48 00 17 79 */ bl moveBridgeTop__Q34Game4Ujia3ObjFv -/* 802658A4 002627E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802658A8 002627E8 41 82 00 28 */ beq lbl_802658D0 -/* 802658AC 002627EC 38 00 00 0A */ li r0, 0xa -/* 802658B0 002627F0 7F E3 FB 78 */ mr r3, r31 -/* 802658B4 002627F4 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802658B8 002627F8 4B E9 F9 E9 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802658BC 002627FC 48 00 00 14 */ b lbl_802658D0 -lbl_802658C0: -/* 802658C0 00262800 38 00 00 09 */ li r0, 9 -/* 802658C4 00262804 7F E3 FB 78 */ mr r3, r31 -/* 802658C8 00262808 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802658CC 0026280C 4B E9 F9 D5 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802658D0: -/* 802658D0 00262810 7F E3 FB 78 */ mr r3, r31 -/* 802658D4 00262814 48 00 0B DD */ bl setInWaterDamage__Q34Game4Ujia3ObjFv -/* 802658D8 00262818 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802658DC 0026281C C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 802658E0 00262820 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802658E4 00262824 4C 40 13 82 */ cror 2, 0, 2 -/* 802658E8 00262828 40 82 00 28 */ bne lbl_80265910 -/* 802658EC 0026282C 7F C3 F3 78 */ mr r3, r30 -/* 802658F0 00262830 7F E4 FB 78 */ mr r4, r31 -/* 802658F4 00262834 81 9E 00 00 */ lwz r12, 0(r30) -/* 802658F8 00262838 38 A0 00 00 */ li r5, 0 -/* 802658FC 0026283C 38 C0 00 00 */ li r6, 0 -/* 80265900 00262840 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265904 00262844 7D 89 03 A6 */ mtctr r12 -/* 80265908 00262848 4E 80 04 21 */ bctrl -/* 8026590C 0026284C 48 00 00 40 */ b lbl_8026594C -lbl_80265910: -/* 80265910 00262850 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80265914 00262854 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80265918 00262858 28 00 00 00 */ cmplwi r0, 0 -/* 8026591C 0026285C 41 82 00 30 */ beq lbl_8026594C -/* 80265920 00262860 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80265924 00262864 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80265928 00262868 40 82 00 24 */ bne lbl_8026594C -/* 8026592C 0026286C 7F C3 F3 78 */ mr r3, r30 -/* 80265930 00262870 7F E4 FB 78 */ mr r4, r31 -/* 80265934 00262874 81 9E 00 00 */ lwz r12, 0(r30) -/* 80265938 00262878 38 C0 00 00 */ li r6, 0 -/* 8026593C 0026287C 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80265940 00262880 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265944 00262884 7D 89 03 A6 */ mtctr r12 -/* 80265948 00262888 4E 80 04 21 */ bctrl -lbl_8026594C: -/* 8026594C 0026288C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265950 00262890 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265954 00262894 83 C1 00 08 */ lwz r30, 8(r1) -/* 80265958 00262898 7C 08 03 A6 */ mtlr r0 -/* 8026595C 0026289C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265960 002628A0 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia12StateMoveTopFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia12StateMoveTopFPQ24Game9EnemyBase: -/* 80265964 002628A4 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80265968 002628A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026596C 002628AC 7C 08 02 A6 */ mflr r0 -/* 80265970 002628B0 7C 83 23 78 */ mr r3, r4 -/* 80265974 002628B4 38 80 00 04 */ li r4, 4 -/* 80265978 002628B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026597C 002628BC 38 00 FF FF */ li r0, -1 -/* 80265980 002628C0 38 A0 00 00 */ li r5, 0 -/* 80265984 002628C4 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 80265988 002628C8 4B E9 F6 7D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026598C 002628CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265990 002628D0 7C 08 03 A6 */ mtlr r0 -/* 80265994 002628D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265998 002628D8 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia11StateGoHomeFPQ24Game9EnemyBase -exec__Q34Game4Ujia11StateGoHomeFPQ24Game9EnemyBase: -/* 8026599C 002628DC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802659A0 002628E0 7C 08 02 A6 */ mflr r0 -/* 802659A4 002628E4 90 01 00 64 */ stw r0, 0x64(r1) -/* 802659A8 002628E8 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802659AC 002628EC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802659B0 002628F0 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802659B4 002628F4 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802659B8 002628F8 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802659BC 002628FC F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802659C0 00262900 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802659C4 00262904 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802659C8 00262908 7C 9F 23 78 */ mr r31, r4 -/* 802659CC 0026290C 7C 7E 1B 78 */ mr r30, r3 -/* 802659D0 00262910 C0 3F 01 9C */ lfs f1, 0x19c(r31) -/* 802659D4 00262914 38 81 00 14 */ addi r4, r1, 0x14 -/* 802659D8 00262918 C0 5F 01 A0 */ lfs f2, 0x1a0(r31) -/* 802659DC 0026291C 7F E3 FB 78 */ mr r3, r31 -/* 802659E0 00262920 C0 1F 01 98 */ lfs f0, 0x198(r31) -/* 802659E4 00262924 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802659E8 00262928 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802659EC 0026292C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 802659F0 00262930 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802659F4 00262934 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 802659F8 00262938 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 802659FC 0026293C C0 65 03 34 */ lfs f3, 0x334(r5) -/* 80265A00 00262940 4B EA FB DD */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 80265A04 00262944 7F E4 FB 78 */ mr r4, r31 -/* 80265A08 00262948 38 61 00 08 */ addi r3, r1, 8 -/* 80265A0C 0026294C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80265A10 00262950 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 80265A14 00262954 81 8C 00 08 */ lwz r12, 8(r12) -/* 80265A18 00262958 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 80265A1C 0026295C C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 80265A20 00262960 7D 89 03 A6 */ mtctr r12 -/* 80265A24 00262964 4E 80 04 21 */ bctrl -/* 80265A28 00262968 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80265A2C 0026296C C0 41 00 08 */ lfs f2, 8(r1) -/* 80265A30 00262970 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 80265A34 00262974 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80265A38 00262978 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 80265A3C 0026297C C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80265A40 00262980 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80265A44 00262984 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80265A48 00262988 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80265A4C 0026298C EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 80265A50 00262990 EC 24 08 2A */ fadds f1, f4, f1 -/* 80265A54 00262994 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265A58 00262998 40 81 00 14 */ ble lbl_80265A6C -/* 80265A5C 0026299C 40 81 00 14 */ ble lbl_80265A70 -/* 80265A60 002629A0 FC 00 08 34 */ frsqrte f0, f1 -/* 80265A64 002629A4 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80265A68 002629A8 48 00 00 08 */ b lbl_80265A70 -lbl_80265A6C: -/* 80265A6C 002629AC FC 20 00 90 */ fmr f1, f0 -lbl_80265A70: -/* 80265A70 002629B0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80265A74 002629B4 C0 03 03 84 */ lfs f0, 0x384(r3) -/* 80265A78 002629B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265A7C 002629BC 40 80 00 0C */ bge lbl_80265A88 -/* 80265A80 002629C0 7F E3 FB 78 */ mr r3, r31 -/* 80265A84 002629C4 4B E9 F8 1D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80265A88: -/* 80265A88 002629C8 7F E3 FB 78 */ mr r3, r31 -/* 80265A8C 002629CC 48 00 0A 25 */ bl setInWaterDamage__Q34Game4Ujia3ObjFv -/* 80265A90 002629D0 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80265A94 002629D4 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80265A98 002629D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265A9C 002629DC 4C 40 13 82 */ cror 2, 0, 2 -/* 80265AA0 002629E0 40 82 00 28 */ bne lbl_80265AC8 -/* 80265AA4 002629E4 7F C3 F3 78 */ mr r3, r30 -/* 80265AA8 002629E8 7F E4 FB 78 */ mr r4, r31 -/* 80265AAC 002629EC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80265AB0 002629F0 38 A0 00 00 */ li r5, 0 -/* 80265AB4 002629F4 38 C0 00 00 */ li r6, 0 -/* 80265AB8 002629F8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265ABC 002629FC 7D 89 03 A6 */ mtctr r12 -/* 80265AC0 00262A00 4E 80 04 21 */ bctrl -/* 80265AC4 00262A04 48 00 00 40 */ b lbl_80265B04 -lbl_80265AC8: -/* 80265AC8 00262A08 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80265ACC 00262A0C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80265AD0 00262A10 28 00 00 00 */ cmplwi r0, 0 -/* 80265AD4 00262A14 41 82 00 30 */ beq lbl_80265B04 -/* 80265AD8 00262A18 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80265ADC 00262A1C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80265AE0 00262A20 40 82 00 24 */ bne lbl_80265B04 -/* 80265AE4 00262A24 7F C3 F3 78 */ mr r3, r30 -/* 80265AE8 00262A28 7F E4 FB 78 */ mr r4, r31 -/* 80265AEC 00262A2C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80265AF0 00262A30 38 A0 00 04 */ li r5, 4 -/* 80265AF4 00262A34 38 C0 00 00 */ li r6, 0 -/* 80265AF8 00262A38 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265AFC 00262A3C 7D 89 03 A6 */ mtctr r12 -/* 80265B00 00262A40 4E 80 04 21 */ bctrl -lbl_80265B04: -/* 80265B04 00262A44 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80265B08 00262A48 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80265B0C 00262A4C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80265B10 00262A50 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80265B14 00262A54 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80265B18 00262A58 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80265B1C 00262A5C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80265B20 00262A60 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80265B24 00262A64 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80265B28 00262A68 7C 08 03 A6 */ mtlr r0 -/* 80265B2C 00262A6C 38 21 00 60 */ addi r1, r1, 0x60 -/* 80265B30 00262A70 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia11StateGoHomeFPQ24Game9EnemyBase -cleanup__Q34Game4Ujia11StateGoHomeFPQ24Game9EnemyBase: -/* 80265B34 00262A74 4E 80 00 20 */ blr - -.global init__Q34Game4Ujia12StateAttack1FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Ujia12StateAttack1FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80265B38 00262A78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265B3C 00262A7C 7C 08 02 A6 */ mflr r0 -/* 80265B40 00262A80 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80265B44 00262A84 38 A0 00 00 */ li r5, 0 -/* 80265B48 00262A88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265B4C 00262A8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265B50 00262A90 7C 9F 23 78 */ mr r31, r4 -/* 80265B54 00262A94 38 80 00 05 */ li r4, 5 -/* 80265B58 00262A98 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80265B5C 00262A9C 7F E3 FB 78 */ mr r3, r31 -/* 80265B60 00262AA0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80265B64 00262AA4 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80265B68 00262AA8 4B E9 F4 9D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80265B6C 00262AAC 38 00 FF FF */ li r0, -1 -/* 80265B70 00262AB0 7F E3 FB 78 */ mr r3, r31 -/* 80265B74 00262AB4 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80265B78 00262AB8 48 00 19 05 */ bl createBridgeEffect__Q34Game4Ujia3ObjFv -/* 80265B7C 00262ABC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265B80 00262AC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265B84 00262AC4 7C 08 03 A6 */ mtlr r0 -/* 80265B88 00262AC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265B8C 00262ACC 4E 80 00 20 */ blr - -.global exec__Q34Game4Ujia12StateAttack1FPQ24Game9EnemyBase -exec__Q34Game4Ujia12StateAttack1FPQ24Game9EnemyBase: -/* 80265B90 00262AD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265B94 00262AD4 7C 08 02 A6 */ mflr r0 -/* 80265B98 00262AD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265B9C 00262ADC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265BA0 00262AE0 7C 9F 23 78 */ mr r31, r4 -/* 80265BA4 00262AE4 93 C1 00 08 */ stw r30, 8(r1) -/* 80265BA8 00262AE8 7C 7E 1B 78 */ mr r30, r3 -/* 80265BAC 00262AEC 7F E3 FB 78 */ mr r3, r31 -/* 80265BB0 00262AF0 48 00 0F 11 */ bl isBreakBridge__Q34Game4Ujia3ObjFv -/* 80265BB4 00262AF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265BB8 00262AF8 41 82 00 2C */ beq lbl_80265BE4 -/* 80265BBC 00262AFC 7F E3 FB 78 */ mr r3, r31 -/* 80265BC0 00262B00 48 00 14 59 */ bl moveBridgeTop__Q34Game4Ujia3ObjFv -/* 80265BC4 00262B04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265BC8 00262B08 41 82 00 10 */ beq lbl_80265BD8 -/* 80265BCC 00262B0C 38 00 00 0A */ li r0, 0xa -/* 80265BD0 00262B10 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80265BD4 00262B14 48 00 00 18 */ b lbl_80265BEC -lbl_80265BD8: -/* 80265BD8 00262B18 38 00 00 08 */ li r0, 8 -/* 80265BDC 00262B1C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80265BE0 00262B20 48 00 00 0C */ b lbl_80265BEC -lbl_80265BE4: -/* 80265BE4 00262B24 38 00 00 09 */ li r0, 9 -/* 80265BE8 00262B28 90 1F 02 C4 */ stw r0, 0x2c4(r31) -lbl_80265BEC: -/* 80265BEC 00262B2C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80265BF0 00262B30 C0 02 CA F0 */ lfs f0, lbl_8051AE50@sda21(r2) -/* 80265BF4 00262B34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80265BF8 00262B38 4C 40 13 82 */ cror 2, 0, 2 -/* 80265BFC 00262B3C 40 82 00 28 */ bne lbl_80265C24 -/* 80265C00 00262B40 7F C3 F3 78 */ mr r3, r30 -/* 80265C04 00262B44 7F E4 FB 78 */ mr r4, r31 -/* 80265C08 00262B48 81 9E 00 00 */ lwz r12, 0(r30) -/* 80265C0C 00262B4C 38 A0 00 00 */ li r5, 0 -/* 80265C10 00262B50 38 C0 00 00 */ li r6, 0 -/* 80265C14 00262B54 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265C18 00262B58 7D 89 03 A6 */ mtctr r12 -/* 80265C1C 00262B5C 4E 80 04 21 */ bctrl -/* 80265C20 00262B60 48 00 00 64 */ b lbl_80265C84 -lbl_80265C24: -/* 80265C24 00262B64 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80265C28 00262B68 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80265C2C 00262B6C 28 00 00 00 */ cmplwi r0, 0 -/* 80265C30 00262B70 41 82 00 54 */ beq lbl_80265C84 -/* 80265C34 00262B74 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80265C38 00262B78 28 00 00 02 */ cmplwi r0, 2 -/* 80265C3C 00262B7C 40 82 00 20 */ bne lbl_80265C5C -/* 80265C40 00262B80 7F E3 FB 78 */ mr r3, r31 -/* 80265C44 00262B84 48 00 0E 7D */ bl isBreakBridge__Q34Game4Ujia3ObjFv -/* 80265C48 00262B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80265C4C 00262B8C 41 82 00 38 */ beq lbl_80265C84 -/* 80265C50 00262B90 7F E3 FB 78 */ mr r3, r31 -/* 80265C54 00262B94 48 00 16 B5 */ bl breakTargetBridge__Q34Game4Ujia3ObjFv -/* 80265C58 00262B98 48 00 00 2C */ b lbl_80265C84 -lbl_80265C5C: -/* 80265C5C 00262B9C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80265C60 00262BA0 40 82 00 24 */ bne lbl_80265C84 -/* 80265C64 00262BA4 7F C3 F3 78 */ mr r3, r30 -/* 80265C68 00262BA8 7F E4 FB 78 */ mr r4, r31 -/* 80265C6C 00262BAC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80265C70 00262BB0 38 C0 00 00 */ li r6, 0 -/* 80265C74 00262BB4 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80265C78 00262BB8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80265C7C 00262BBC 7D 89 03 A6 */ mtctr r12 -/* 80265C80 00262BC0 4E 80 04 21 */ bctrl -lbl_80265C84: -/* 80265C84 00262BC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265C88 00262BC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265C8C 00262BCC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80265C90 00262BD0 7C 08 03 A6 */ mtlr r0 -/* 80265C94 00262BD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265C98 00262BD8 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Ujia12StateAttack1FPQ24Game9EnemyBase -cleanup__Q34Game4Ujia12StateAttack1FPQ24Game9EnemyBase: -/* 80265C9C 00262BDC 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game4Ujia14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game4Ujia14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 80265CA0 00262BE0 90 83 00 20 */ stw r4, 0x20(r3) -/* 80265CA4 00262BE4 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Ujia14ProperAnimatorFi -getAnimator__Q34Game4Ujia14ProperAnimatorFi: -/* 80265CA8 00262BE8 38 63 00 10 */ addi r3, r3, 0x10 -/* 80265CAC 00262BEC 4E 80 00 20 */ blr - -.global __dt__Q34Game4Ujia14ProperAnimatorFv -__dt__Q34Game4Ujia14ProperAnimatorFv: -/* 80265CB0 00262BF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265CB4 00262BF4 7C 08 02 A6 */ mflr r0 -/* 80265CB8 00262BF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265CBC 00262BFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265CC0 00262C00 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80265CC4 00262C04 41 82 00 30 */ beq lbl_80265CF4 -/* 80265CC8 00262C08 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia14ProperAnimator@ha -/* 80265CCC 00262C0C 38 03 47 38 */ addi r0, r3, __vt__Q34Game4Ujia14ProperAnimator@l -/* 80265CD0 00262C10 90 1F 00 00 */ stw r0, 0(r31) -/* 80265CD4 00262C14 41 82 00 10 */ beq lbl_80265CE4 -/* 80265CD8 00262C18 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 80265CDC 00262C1C 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 80265CE0 00262C20 90 1F 00 00 */ stw r0, 0(r31) -lbl_80265CE4: -/* 80265CE4 00262C24 7C 80 07 35 */ extsh. r0, r4 -/* 80265CE8 00262C28 40 81 00 0C */ ble lbl_80265CF4 -/* 80265CEC 00262C2C 7F E3 FB 78 */ mr r3, r31 -/* 80265CF0 00262C30 4B DB E3 C5 */ bl __dl__FPv -lbl_80265CF4: -/* 80265CF4 00262C34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265CF8 00262C38 7F E3 FB 78 */ mr r3, r31 -/* 80265CFC 00262C3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265D00 00262C40 7C 08 03 A6 */ mtlr r0 -/* 80265D04 00262C44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265D08 00262C48 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Ujia14ProperAnimatorFv -getAnimator__Q34Game4Ujia14ProperAnimatorFv: -/* 80265D0C 00262C4C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80265D10 00262C50 4E 80 00 20 */ blr - -.global __ct__Q34Game4Ujia3MgrFiUc -__ct__Q34Game4Ujia3MgrFiUc: -/* 80265D14 00262C54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265D18 00262C58 7C 08 02 A6 */ mflr r0 -/* 80265D1C 00262C5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265D20 00262C60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265D24 00262C64 7C 7F 1B 78 */ mr r31, r3 -/* 80265D28 00262C68 4B EC 8F 6D */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80265D2C 00262C6C 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia3Mgr@ha -/* 80265D30 00262C70 3C 80 80 48 */ lis r4, lbl_80485AF0@ha -/* 80265D34 00262C74 38 A3 47 6C */ addi r5, r3, __vt__Q34Game4Ujia3Mgr@l -/* 80265D38 00262C78 7F E3 FB 78 */ mr r3, r31 -/* 80265D3C 00262C7C 90 BF 00 00 */ stw r5, 0(r31) -/* 80265D40 00262C80 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80265D44 00262C84 38 04 5A F0 */ addi r0, r4, lbl_80485AF0@l -/* 80265D48 00262C88 90 BF 00 04 */ stw r5, 4(r31) -/* 80265D4C 00262C8C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80265D50 00262C90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265D54 00262C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265D58 00262C98 7C 08 03 A6 */ mtlr r0 -/* 80265D5C 00262C9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265D60 00262CA0 4E 80 00 20 */ blr - -.global doAlloc__Q34Game4Ujia3MgrFv -doAlloc__Q34Game4Ujia3MgrFv: -/* 80265D64 00262CA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265D68 00262CA8 7C 08 02 A6 */ mflr r0 -/* 80265D6C 00262CAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265D70 00262CB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265D74 00262CB4 7C 7F 1B 78 */ mr r31, r3 -/* 80265D78 00262CB8 38 60 08 30 */ li r3, 0x830 -/* 80265D7C 00262CBC 4B DB E1 29 */ bl __nw__FUl -/* 80265D80 00262CC0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80265D84 00262CC4 41 82 00 0C */ beq lbl_80265D90 -/* 80265D88 00262CC8 48 00 00 25 */ bl __ct__Q34Game4Ujia5ParmsFv -/* 80265D8C 00262CCC 7C 64 1B 78 */ mr r4, r3 -lbl_80265D90: -/* 80265D90 00262CD0 7F E3 FB 78 */ mr r3, r31 -/* 80265D94 00262CD4 4B EC 9B 09 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80265D98 00262CD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265D9C 00262CDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265DA0 00262CE0 7C 08 03 A6 */ mtlr r0 -/* 80265DA4 00262CE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265DA8 00262CE8 4E 80 00 20 */ blr - -.global __ct__Q34Game4Ujia5ParmsFv -__ct__Q34Game4Ujia5ParmsFv: -/* 80265DAC 00262CEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265DB0 00262CF0 7C 08 02 A6 */ mflr r0 -/* 80265DB4 00262CF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265DB8 00262CF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265DBC 00262CFC 7C 7F 1B 78 */ mr r31, r3 -/* 80265DC0 00262D00 4B EA 39 DD */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80265DC4 00262D04 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia5Parms@ha -/* 80265DC8 00262D08 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 80265DCC 00262D0C 38 03 47 60 */ addi r0, r3, __vt__Q34Game4Ujia5Parms@l -/* 80265DD0 00262D10 3C 80 80 48 */ lis r4, lbl_80485B08@ha -/* 80265DD4 00262D14 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 80265DD8 00262D18 38 1F 08 2C */ addi r0, r31, 0x82c -/* 80265DDC 00262D1C 3C 60 80 48 */ lis r3, lbl_80485B18@ha -/* 80265DE0 00262D20 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80265DE4 00262D24 90 1F 07 F8 */ stw r0, 0x7f8(r31) -/* 80265DE8 00262D28 38 C3 5B 18 */ addi r6, r3, lbl_80485B18@l -/* 80265DEC 00262D2C 38 60 00 00 */ li r3, 0 -/* 80265DF0 00262D30 38 04 5B 08 */ addi r0, r4, lbl_80485B08@l -/* 80265DF4 00262D34 90 7F 07 FC */ stw r3, 0x7fc(r31) -/* 80265DF8 00262D38 38 7F 08 04 */ addi r3, r31, 0x804 -/* 80265DFC 00262D3C 38 9F 07 F8 */ addi r4, r31, 0x7f8 -/* 80265E00 00262D40 90 1F 08 00 */ stw r0, 0x800(r31) -/* 80265E04 00262D44 48 1A D8 55 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80265E08 00262D48 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80265E0C 00262D4C C0 42 CB 00 */ lfs f2, lbl_8051AE60@sda21(r2) -/* 80265E10 00262D50 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80265E14 00262D54 C0 22 CB 04 */ lfs f1, lbl_8051AE64@sda21(r2) -/* 80265E18 00262D58 90 1F 08 04 */ stw r0, 0x804(r31) -/* 80265E1C 00262D5C 7F E3 FB 78 */ mr r3, r31 -/* 80265E20 00262D60 C0 02 CB 08 */ lfs f0, lbl_8051AE68@sda21(r2) -/* 80265E24 00262D64 D0 5F 08 1C */ stfs f2, 0x81c(r31) -/* 80265E28 00262D68 D0 3F 08 24 */ stfs f1, 0x824(r31) -/* 80265E2C 00262D6C D0 1F 08 28 */ stfs f0, 0x828(r31) -/* 80265E30 00262D70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265E34 00262D74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265E38 00262D78 7C 08 03 A6 */ mtlr r0 -/* 80265E3C 00262D7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265E40 00262D80 4E 80 00 20 */ blr - -.global createObj__Q34Game4Ujia3MgrFi -createObj__Q34Game4Ujia3MgrFi: -/* 80265E44 00262D84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265E48 00262D88 7C 08 02 A6 */ mflr r0 -/* 80265E4C 00262D8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265E50 00262D90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265E54 00262D94 7C 9F 23 78 */ mr r31, r4 -/* 80265E58 00262D98 93 C1 00 08 */ stw r30, 8(r1) -/* 80265E5C 00262D9C 7C 7E 1B 78 */ mr r30, r3 -/* 80265E60 00262DA0 1C 7F 02 E4 */ mulli r3, r31, 0x2e4 -/* 80265E64 00262DA4 38 63 00 10 */ addi r3, r3, 0x10 -/* 80265E68 00262DA8 4B DB E1 45 */ bl __nwa__FUl -/* 80265E6C 00262DAC 3C 80 80 26 */ lis r4, __ct__Q34Game4Ujia3ObjFv@ha -/* 80265E70 00262DB0 3C A0 80 26 */ lis r5, __dt__Q34Game4Ujia3ObjFv@ha -/* 80265E74 00262DB4 38 84 60 80 */ addi r4, r4, __ct__Q34Game4Ujia3ObjFv@l -/* 80265E78 00262DB8 7F E7 FB 78 */ mr r7, r31 -/* 80265E7C 00262DBC 38 A5 5E A4 */ addi r5, r5, __dt__Q34Game4Ujia3ObjFv@l -/* 80265E80 00262DC0 38 C0 02 E4 */ li r6, 0x2e4 -/* 80265E84 00262DC4 4B E5 BB 6D */ bl __construct_new_array -/* 80265E88 00262DC8 90 7E 00 44 */ stw r3, 0x44(r30) -/* 80265E8C 00262DCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265E90 00262DD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265E94 00262DD4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80265E98 00262DD8 7C 08 03 A6 */ mtlr r0 -/* 80265E9C 00262DDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265EA0 00262DE0 4E 80 00 20 */ blr - -.global __dt__Q34Game4Ujia3ObjFv -__dt__Q34Game4Ujia3ObjFv: -/* 80265EA4 00262DE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265EA8 00262DE8 7C 08 02 A6 */ mflr r0 -/* 80265EAC 00262DEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265EB0 00262DF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265EB4 00262DF4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80265EB8 00262DF8 93 C1 00 08 */ stw r30, 8(r1) -/* 80265EBC 00262DFC 7C 9E 23 78 */ mr r30, r4 -/* 80265EC0 00262E00 41 82 00 84 */ beq lbl_80265F44 -/* 80265EC4 00262E04 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia3Obj@ha -/* 80265EC8 00262E08 38 1F 02 D4 */ addi r0, r31, 0x2d4 -/* 80265ECC 00262E0C 38 83 48 50 */ addi r4, r3, __vt__Q34Game4Ujia3Obj@l -/* 80265ED0 00262E10 90 9F 00 00 */ stw r4, 0(r31) -/* 80265ED4 00262E14 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80265ED8 00262E18 38 84 02 FC */ addi r4, r4, 0x2fc -/* 80265EDC 00262E1C 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80265EE0 00262E20 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80265EE4 00262E24 90 83 00 00 */ stw r4, 0(r3) -/* 80265EE8 00262E28 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80265EEC 00262E2C 7C 03 00 50 */ subf r0, r3, r0 -/* 80265EF0 00262E30 90 03 00 0C */ stw r0, 0xc(r3) -/* 80265EF4 00262E34 41 82 00 40 */ beq lbl_80265F34 -/* 80265EF8 00262E38 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80265EFC 00262E3C 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 80265F00 00262E40 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80265F04 00262E44 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80265F08 00262E48 90 9F 00 00 */ stw r4, 0(r31) -/* 80265F0C 00262E4C 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80265F10 00262E50 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80265F14 00262E54 38 80 FF FF */ li r4, -1 -/* 80265F18 00262E58 90 BF 01 78 */ stw r5, 0x178(r31) -/* 80265F1C 00262E5C 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80265F20 00262E60 90 C5 00 00 */ stw r6, 0(r5) -/* 80265F24 00262E64 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80265F28 00262E68 7C 05 00 50 */ subf r0, r5, r0 -/* 80265F2C 00262E6C 90 05 00 0C */ stw r0, 0xc(r5) -/* 80265F30 00262E70 48 1A B6 59 */ bl __dt__5CNodeFv -lbl_80265F34: -/* 80265F34 00262E74 7F C0 07 35 */ extsh. r0, r30 -/* 80265F38 00262E78 40 81 00 0C */ ble lbl_80265F44 -/* 80265F3C 00262E7C 7F E3 FB 78 */ mr r3, r31 -/* 80265F40 00262E80 4B DB E1 75 */ bl __dl__FPv -lbl_80265F44: -/* 80265F44 00262E84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265F48 00262E88 7F E3 FB 78 */ mr r3, r31 -/* 80265F4C 00262E8C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265F50 00262E90 83 C1 00 08 */ lwz r30, 8(r1) -/* 80265F54 00262E94 7C 08 03 A6 */ mtlr r0 -/* 80265F58 00262E98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265F5C 00262E9C 4E 80 00 20 */ blr - -.global getEnemy__Q34Game4Ujia3MgrFi -getEnemy__Q34Game4Ujia3MgrFi: -/* 80265F60 00262EA0 1C 04 02 E4 */ mulli r0, r4, 0x2e4 -/* 80265F64 00262EA4 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80265F68 00262EA8 7C 63 02 14 */ add r3, r3, r0 -/* 80265F6C 00262EAC 4E 80 00 20 */ blr - -.global read__Q34Game4Ujia5ParmsFR6Stream -read__Q34Game4Ujia5ParmsFR6Stream: -/* 80265F70 00262EB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265F74 00262EB4 7C 08 02 A6 */ mflr r0 -/* 80265F78 00262EB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265F7C 00262EBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265F80 00262EC0 7C 9F 23 78 */ mr r31, r4 -/* 80265F84 00262EC4 93 C1 00 08 */ stw r30, 8(r1) -/* 80265F88 00262EC8 7C 7E 1B 78 */ mr r30, r3 -/* 80265F8C 00262ECC 48 1A D8 69 */ bl read__10ParametersFR6Stream -/* 80265F90 00262ED0 7F E4 FB 78 */ mr r4, r31 -/* 80265F94 00262ED4 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 80265F98 00262ED8 48 1A D8 5D */ bl read__10ParametersFR6Stream -/* 80265F9C 00262EDC 7F E4 FB 78 */ mr r4, r31 -/* 80265FA0 00262EE0 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 80265FA4 00262EE4 48 1A D8 51 */ bl read__10ParametersFR6Stream -/* 80265FA8 00262EE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80265FAC 00262EEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80265FB0 00262EF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80265FB4 00262EF4 7C 08 03 A6 */ mtlr r0 -/* 80265FB8 00262EF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80265FBC 00262EFC 4E 80 00 20 */ blr - -.global __dt__Q34Game4Ujia3MgrFv -__dt__Q34Game4Ujia3MgrFv: -/* 80265FC0 00262F00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80265FC4 00262F04 7C 08 02 A6 */ mflr r0 -/* 80265FC8 00262F08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80265FCC 00262F0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80265FD0 00262F10 7C 9F 23 78 */ mr r31, r4 -/* 80265FD4 00262F14 93 C1 00 08 */ stw r30, 8(r1) -/* 80265FD8 00262F18 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80265FDC 00262F1C 41 82 00 78 */ beq lbl_80266054 -/* 80265FE0 00262F20 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia3Mgr@ha -/* 80265FE4 00262F24 38 63 47 6C */ addi r3, r3, __vt__Q34Game4Ujia3Mgr@l -/* 80265FE8 00262F28 90 7E 00 00 */ stw r3, 0(r30) -/* 80265FEC 00262F2C 38 03 00 38 */ addi r0, r3, 0x38 -/* 80265FF0 00262F30 90 1E 00 04 */ stw r0, 4(r30) -/* 80265FF4 00262F34 41 82 00 50 */ beq lbl_80266044 -/* 80265FF8 00262F38 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80265FFC 00262F3C 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80266000 00262F40 90 7E 00 00 */ stw r3, 0(r30) -/* 80266004 00262F44 38 03 00 38 */ addi r0, r3, 0x38 -/* 80266008 00262F48 90 1E 00 04 */ stw r0, 4(r30) -/* 8026600C 00262F4C 41 82 00 38 */ beq lbl_80266044 -/* 80266010 00262F50 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80266014 00262F54 34 1E 00 04 */ addic. r0, r30, 4 -/* 80266018 00262F58 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8026601C 00262F5C 90 7E 00 00 */ stw r3, 0(r30) -/* 80266020 00262F60 38 03 00 38 */ addi r0, r3, 0x38 -/* 80266024 00262F64 90 1E 00 04 */ stw r0, 4(r30) -/* 80266028 00262F68 41 82 00 1C */ beq lbl_80266044 -/* 8026602C 00262F6C 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80266030 00262F70 38 7E 00 04 */ addi r3, r30, 4 -/* 80266034 00262F74 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80266038 00262F78 38 80 00 00 */ li r4, 0 -/* 8026603C 00262F7C 90 1E 00 04 */ stw r0, 4(r30) -/* 80266040 00262F80 48 1A B5 49 */ bl __dt__5CNodeFv -lbl_80266044: -/* 80266044 00262F84 7F E0 07 35 */ extsh. r0, r31 -/* 80266048 00262F88 40 81 00 0C */ ble lbl_80266054 -/* 8026604C 00262F8C 7F C3 F3 78 */ mr r3, r30 -/* 80266050 00262F90 4B DB E0 65 */ bl __dl__FPv -lbl_80266054: -/* 80266054 00262F94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80266058 00262F98 7F C3 F3 78 */ mr r3, r30 -/* 8026605C 00262F9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80266060 00262FA0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80266064 00262FA4 7C 08 03 A6 */ mtlr r0 -/* 80266068 00262FA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026606C 00262FAC 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Ujia3MgrFv -getEnemyTypeID__Q34Game4Ujia3MgrFv: -/* 80266070 00262FB0 38 60 00 0C */ li r3, 0xc -/* 80266074 00262FB4 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game4Ujia3MgrFv -$$24$$2__dt__Q34Game4Ujia3MgrFv: -/* 80266078 00262FB8 38 63 FF FC */ addi r3, r3, -4 -/* 8026607C 00262FBC 4B FF FF 44 */ b __dt__Q34Game4Ujia3MgrFv - -.global __ct__Q34Game4Ujia3ObjFv -__ct__Q34Game4Ujia3ObjFv: -/* 80266080 00262FC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80266084 00262FC4 7C 08 02 A6 */ mflr r0 -/* 80266088 00262FC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026608C 00262FCC 7C 80 07 35 */ extsh. r0, r4 -/* 80266090 00262FD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80266094 00262FD4 7C 7F 1B 78 */ mr r31, r3 -/* 80266098 00262FD8 93 C1 00 08 */ stw r30, 8(r1) -/* 8026609C 00262FDC 41 82 00 24 */ beq lbl_802660C0 -/* 802660A0 00262FE0 38 1F 02 D4 */ addi r0, r31, 0x2d4 -/* 802660A4 00262FE4 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 802660A8 00262FE8 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 802660AC 00262FEC 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 802660B0 00262FF0 38 00 00 00 */ li r0, 0 -/* 802660B4 00262FF4 90 7F 02 D4 */ stw r3, 0x2d4(r31) -/* 802660B8 00262FF8 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 802660BC 00262FFC 90 1F 02 DC */ stw r0, 0x2dc(r31) -lbl_802660C0: -/* 802660C0 00263000 7F E3 FB 78 */ mr r3, r31 -/* 802660C4 00263004 38 80 00 00 */ li r4, 0 -/* 802660C8 00263008 4B E9 B2 D9 */ bl __ct__Q24Game9EnemyBaseFv -/* 802660CC 0026300C 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia3Obj@ha -/* 802660D0 00263010 38 1F 02 D4 */ addi r0, r31, 0x2d4 -/* 802660D4 00263014 38 A3 48 50 */ addi r5, r3, __vt__Q34Game4Ujia3Obj@l -/* 802660D8 00263018 38 60 00 2C */ li r3, 0x2c -/* 802660DC 0026301C 90 BF 00 00 */ stw r5, 0(r31) -/* 802660E0 00263020 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 802660E4 00263024 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 802660E8 00263028 90 9F 01 78 */ stw r4, 0x178(r31) -/* 802660EC 0026302C 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 802660F0 00263030 90 A4 00 00 */ stw r5, 0(r4) -/* 802660F4 00263034 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 802660F8 00263038 7C 04 00 50 */ subf r0, r4, r0 -/* 802660FC 0026303C 90 04 00 0C */ stw r0, 0xc(r4) -/* 80266100 00263040 4B DB DD A5 */ bl __nw__FUl -/* 80266104 00263044 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80266108 00263048 41 82 00 44 */ beq lbl_8026614C -/* 8026610C 0026304C 4B EC 18 69 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80266110 00263050 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia14ProperAnimator@ha -/* 80266114 00263054 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 80266118 00263058 38 03 47 38 */ addi r0, r3, __vt__Q34Game4Ujia14ProperAnimator@l -/* 8026611C 0026305C 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80266120 00263060 90 1E 00 00 */ stw r0, 0(r30) -/* 80266124 00263064 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 80266128 00263068 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8026612C 0026306C 38 00 00 00 */ li r0, 0 -/* 80266130 00263070 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80266134 00263074 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80266138 00263078 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026613C 0026307C 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80266140 00263080 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80266144 00263084 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80266148 00263088 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8026614C: -/* 8026614C 0026308C 93 DF 01 84 */ stw r30, 0x184(r31) -/* 80266150 00263090 38 60 00 1C */ li r3, 0x1c -/* 80266154 00263094 4B DB DD 51 */ bl __nw__FUl -/* 80266158 00263098 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026615C 0026309C 41 82 00 24 */ beq lbl_80266180 -/* 80266160 002630A0 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 80266164 002630A4 3C 60 80 4C */ lis r3, __vt__Q34Game4Ujia3FSM@ha -/* 80266168 002630A8 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8026616C 002630AC 38 A0 FF FF */ li r5, -1 -/* 80266170 002630B0 90 04 00 00 */ stw r0, 0(r4) -/* 80266174 002630B4 38 03 47 10 */ addi r0, r3, __vt__Q34Game4Ujia3FSM@l -/* 80266178 002630B8 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8026617C 002630BC 90 04 00 00 */ stw r0, 0(r4) -lbl_80266180: -/* 80266180 002630C0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266184 002630C4 7F E3 FB 78 */ mr r3, r31 -/* 80266188 002630C8 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8026618C 002630CC 7D 89 03 A6 */ mtctr r12 -/* 80266190 002630D0 4E 80 04 21 */ bctrl -/* 80266194 002630D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80266198 002630D8 7F E3 FB 78 */ mr r3, r31 -/* 8026619C 002630DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802661A0 002630E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802661A4 002630E4 7C 08 03 A6 */ mtlr r0 -/* 802661A8 002630E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802661AC 002630EC 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game4Ujia3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game4Ujia3ObjFPQ24Game21EnemyInitialParamBase: -/* 802661B0 002630F0 4E 80 00 20 */ blr - -.global onInit__Q34Game4Ujia3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game4Ujia3ObjFPQ24Game15CreatureInitArg: -/* 802661B4 002630F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802661B8 002630F8 7C 08 02 A6 */ mflr r0 -/* 802661BC 002630FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802661C0 00263100 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802661C4 00263104 7C 7F 1B 78 */ mr r31, r3 -/* 802661C8 00263108 4B E9 B8 91 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 802661CC 0026310C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802661D0 00263110 7F E3 FB 78 */ mr r3, r31 -/* 802661D4 00263114 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 802661D8 00263118 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802661DC 0026311C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802661E0 00263120 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 802661E4 00263124 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802661E8 00263128 48 00 02 FD */ bl resetAppearCheck__Q34Game4Ujia3ObjFv -/* 802661EC 0026312C 38 60 00 00 */ li r3, 0 -/* 802661F0 00263130 38 00 FF FF */ li r0, -1 -/* 802661F4 00263134 98 7F 02 C1 */ stb r3, 0x2c1(r31) -/* 802661F8 00263138 7F E3 FB 78 */ mr r3, r31 -/* 802661FC 0026313C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80266200 00263140 48 00 03 E1 */ bl resetBridgeSearch__Q34Game4Ujia3ObjFv -/* 80266204 00263144 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80266208 00263148 7F E4 FB 78 */ mr r4, r31 -/* 8026620C 0026314C 38 A0 00 02 */ li r5, 2 -/* 80266210 00263150 38 C0 00 00 */ li r6, 0 -/* 80266214 00263154 81 83 00 00 */ lwz r12, 0(r3) -/* 80266218 00263158 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026621C 0026315C 7D 89 03 A6 */ mtctr r12 -/* 80266220 00263160 4E 80 04 21 */ bctrl -/* 80266224 00263164 7F E3 FB 78 */ mr r3, r31 -/* 80266228 00263168 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026622C 0026316C 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 80266230 00263170 7D 89 03 A6 */ mtctr r12 -/* 80266234 00263174 4E 80 04 21 */ bctrl -/* 80266238 00263178 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026623C 0026317C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80266240 00263180 7C 08 03 A6 */ mtlr r0 -/* 80266244 00263184 38 21 00 10 */ addi r1, r1, 0x10 -/* 80266248 00263188 4E 80 00 20 */ blr - -.global doUpdate__Q34Game4Ujia3ObjFv -doUpdate__Q34Game4Ujia3ObjFv: -/* 8026624C 0026318C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80266250 00263190 7C 08 02 A6 */ mflr r0 -/* 80266254 00263194 7C 64 1B 78 */ mr r4, r3 -/* 80266258 00263198 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026625C 0026319C 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80266260 002631A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80266264 002631A4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80266268 002631A8 7D 89 03 A6 */ mtctr r12 -/* 8026626C 002631AC 4E 80 04 21 */ bctrl -/* 80266270 002631B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80266274 002631B4 7C 08 03 A6 */ mtlr r0 -/* 80266278 002631B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026627C 002631BC 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game4Ujia3ObjFR8Graphics -doDirectDraw__Q34Game4Ujia3ObjFR8Graphics: -/* 80266280 002631C0 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Ujia3ObjFR8Graphics -doDebugDraw__Q34Game4Ujia3ObjFR8Graphics: -/* 80266284 002631C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80266288 002631C8 7C 08 02 A6 */ mflr r0 -/* 8026628C 002631CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80266290 002631D0 4B E9 FB DD */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80266294 002631D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80266298 002631D8 7C 08 03 A6 */ mtlr r0 -/* 8026629C 002631DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802662A0 002631E0 4E 80 00 20 */ blr - -.global setFSM__Q34Game4Ujia3ObjFPQ34Game4Ujia3FSM -setFSM__Q34Game4Ujia3ObjFPQ34Game4Ujia3FSM: -/* 802662A4 002631E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802662A8 002631E8 7C 08 02 A6 */ mflr r0 -/* 802662AC 002631EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802662B0 002631F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802662B4 002631F4 7C 7F 1B 78 */ mr r31, r3 -/* 802662B8 002631F8 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 802662BC 002631FC 7F E4 FB 78 */ mr r4, r31 -/* 802662C0 00263200 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 802662C4 00263204 81 83 00 00 */ lwz r12, 0(r3) -/* 802662C8 00263208 81 8C 00 08 */ lwz r12, 8(r12) -/* 802662CC 0026320C 7D 89 03 A6 */ mtctr r12 -/* 802662D0 00263210 4E 80 04 21 */ bctrl -/* 802662D4 00263214 38 00 00 00 */ li r0, 0 -/* 802662D8 00263218 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 802662DC 0026321C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802662E0 00263220 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802662E4 00263224 7C 08 03 A6 */ mtlr r0 -/* 802662E8 00263228 38 21 00 10 */ addi r1, r1, 0x10 -/* 802662EC 0026322C 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game4Ujia3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game4Ujia3ObjFRQ24Game11ShadowParam: -/* 802662F0 00263230 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802662F4 00263234 7C 08 02 A6 */ mflr r0 -/* 802662F8 00263238 90 01 00 14 */ stw r0, 0x14(r1) -/* 802662FC 0026323C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80266300 00263240 7C 9F 23 78 */ mr r31, r4 -/* 80266304 00263244 38 82 CB 10 */ addi r4, r2, lbl_8051AE70@sda21 -/* 80266308 00263248 93 C1 00 08 */ stw r30, 8(r1) -/* 8026630C 0026324C 7C 7E 1B 78 */ mr r30, r3 -/* 80266310 00263250 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80266314 00263254 48 1D 8C D1 */ bl getJoint__Q28SysShape5ModelFPc -/* 80266318 00263258 48 1C 35 89 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8026631C 0026325C C0 83 00 2C */ lfs f4, 0x2c(r3) -/* 80266320 00263260 C0 63 00 1C */ lfs f3, 0x1c(r3) -/* 80266324 00263264 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80266328 00263268 C0 42 CB 18 */ lfs f2, lbl_8051AE78@sda21(r2) -/* 8026632C 0026326C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80266330 00263270 C0 22 CB 1C */ lfs f1, lbl_8051AE7C@sda21(r2) -/* 80266334 00263274 D0 7F 00 04 */ stfs f3, 4(r31) -/* 80266338 00263278 C0 02 CB 20 */ lfs f0, lbl_8051AE80@sda21(r2) -/* 8026633C 0026327C D0 9F 00 08 */ stfs f4, 8(r31) -/* 80266340 00263280 C0 7F 00 04 */ lfs f3, 4(r31) -/* 80266344 00263284 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80266348 00263288 D0 5F 00 04 */ stfs f2, 4(r31) -/* 8026634C 0026328C D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80266350 00263290 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80266354 00263294 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80266358 00263298 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 8026635C 0026329C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80266360 002632A0 41 82 00 10 */ beq lbl_80266370 -/* 80266364 002632A4 C0 02 CB 24 */ lfs f0, lbl_8051AE84@sda21(r2) -/* 80266368 002632A8 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8026636C 002632AC 48 00 00 0C */ b lbl_80266378 -lbl_80266370: -/* 80266370 002632B0 C0 02 CB 28 */ lfs f0, lbl_8051AE88@sda21(r2) -/* 80266374 002632B4 D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_80266378: -/* 80266378 002632B8 C0 02 CB 2C */ lfs f0, lbl_8051AE8C@sda21(r2) -/* 8026637C 002632BC D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80266380 002632C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80266384 002632C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80266388 002632C8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026638C 002632CC 7C 08 03 A6 */ mtlr r0 -/* 80266390 002632D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80266394 002632D4 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game4Ujia3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game4Ujia3ObjFPQ24Game8CreaturefP8CollPart: -/* 80266398 002632D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026639C 002632DC 7C 08 02 A6 */ mflr r0 -/* 802663A0 002632E0 28 04 00 00 */ cmplwi r4, 0 -/* 802663A4 002632E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802663A8 002632E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802663AC 002632EC 7C 7F 1B 78 */ mr r31, r3 -/* 802663B0 002632F0 41 82 00 64 */ beq lbl_80266414 -/* 802663B4 002632F4 7C 83 23 78 */ mr r3, r4 -/* 802663B8 002632F8 81 84 00 00 */ lwz r12, 0(r4) -/* 802663BC 002632FC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802663C0 00263300 7D 89 03 A6 */ mtctr r12 -/* 802663C4 00263304 4E 80 04 21 */ bctrl -/* 802663C8 00263308 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802663CC 0026330C 41 82 00 48 */ beq lbl_80266414 -/* 802663D0 00263310 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802663D4 00263314 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 802663D8 00263318 40 82 00 3C */ bne lbl_80266414 -/* 802663DC 0026331C 7F E3 FB 78 */ mr r3, r31 -/* 802663E0 00263320 4B EA 10 15 */ bl getStateID__Q24Game9EnemyBaseFv -/* 802663E4 00263324 2C 03 00 04 */ cmpwi r3, 4 -/* 802663E8 00263328 40 81 00 2C */ ble lbl_80266414 -/* 802663EC 0026332C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 802663F0 00263330 7F E4 FB 78 */ mr r4, r31 -/* 802663F4 00263334 38 A0 00 01 */ li r5, 1 -/* 802663F8 00263338 38 C0 00 00 */ li r6, 0 -/* 802663FC 0026333C 81 83 00 00 */ lwz r12, 0(r3) -/* 80266400 00263340 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80266404 00263344 7D 89 03 A6 */ mtctr r12 -/* 80266408 00263348 4E 80 04 21 */ bctrl -/* 8026640C 0026334C 38 60 00 01 */ li r3, 1 -/* 80266410 00263350 48 00 00 08 */ b lbl_80266418 -lbl_80266414: -/* 80266414 00263354 38 60 00 00 */ li r3, 0 -lbl_80266418: -/* 80266418 00263358 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026641C 0026335C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80266420 00263360 7C 08 03 A6 */ mtlr r0 -/* 80266424 00263364 38 21 00 10 */ addi r1, r1, 0x10 -/* 80266428 00263368 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game4Ujia3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game4Ujia3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026642C 0026336C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80266430 00263370 7C 08 02 A6 */ mflr r0 -/* 80266434 00263374 90 01 00 14 */ stw r0, 0x14(r1) -/* 80266438 00263378 81 83 00 00 */ lwz r12, 0(r3) -/* 8026643C 0026337C 81 8C 02 7C */ lwz r12, 0x27c(r12) -/* 80266440 00263380 7D 89 03 A6 */ mtctr r12 -/* 80266444 00263384 4E 80 04 21 */ bctrl -/* 80266448 00263388 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026644C 0026338C 7C 08 03 A6 */ mtlr r0 -/* 80266450 00263390 38 21 00 10 */ addi r1, r1, 0x10 -/* 80266454 00263394 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game4Ujia3ObjFv -startCarcassMotion__Q34Game4Ujia3ObjFv: -/* 80266458 00263398 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026645C 0026339C 7C 08 02 A6 */ mflr r0 -/* 80266460 002633A0 38 80 00 06 */ li r4, 6 -/* 80266464 002633A4 38 A0 00 00 */ li r5, 0 -/* 80266468 002633A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026646C 002633AC 4B E9 EB 99 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80266470 002633B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80266474 002633B4 7C 08 03 A6 */ mtlr r0 -/* 80266478 002633B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026647C 002633BC 4E 80 00 20 */ blr - -.global lifeIncrement__Q34Game4Ujia3ObjFv -lifeIncrement__Q34Game4Ujia3ObjFv: -/* 80266480 002633C0 C0 22 CB 1C */ lfs f1, lbl_8051AE7C@sda21(r2) -/* 80266484 002633C4 D0 23 02 08 */ stfs f1, 0x208(r3) -/* 80266488 002633C8 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8026648C 002633CC 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d -/* 80266490 002633D0 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80266494 002633D4 C0 03 02 00 */ lfs f0, 0x200(r3) -/* 80266498 002633D8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026649C 002633DC 4C 40 13 82 */ cror 2, 0, 2 -/* 802664A0 002633E0 4C 82 00 20 */ bnelr -/* 802664A4 002633E4 C0 02 CB 20 */ lfs f0, lbl_8051AE80@sda21(r2) -/* 802664A8 002633E8 D0 03 02 00 */ stfs f0, 0x200(r3) -/* 802664AC 002633EC 4E 80 00 20 */ blr - -.global setInWaterDamage__Q34Game4Ujia3ObjFv -setInWaterDamage__Q34Game4Ujia3ObjFv: -/* 802664B0 002633F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802664B4 002633F4 7C 08 02 A6 */ mflr r0 -/* 802664B8 002633F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802664BC 002633FC 80 03 02 80 */ lwz r0, 0x280(r3) -/* 802664C0 00263400 28 00 00 00 */ cmplwi r0, 0 -/* 802664C4 00263404 41 82 00 10 */ beq lbl_802664D4 -/* 802664C8 00263408 C0 22 CB 30 */ lfs f1, lbl_8051AE90@sda21(r2) -/* 802664CC 0026340C C0 42 CB 20 */ lfs f2, lbl_8051AE80@sda21(r2) -/* 802664D0 00263410 4B E9 FB 5D */ bl addDamage__Q24Game9EnemyBaseFff -lbl_802664D4: -/* 802664D4 00263414 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802664D8 00263418 7C 08 03 A6 */ mtlr r0 -/* 802664DC 0026341C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802664E0 00263420 4E 80 00 20 */ blr - -.global resetAppearCheck__Q34Game4Ujia3ObjFv -resetAppearCheck__Q34Game4Ujia3ObjFv: -/* 802664E4 00263424 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802664E8 00263428 7C 08 02 A6 */ mflr r0 -/* 802664EC 0026342C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802664F0 00263430 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802664F4 00263434 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802664F8 00263438 7C 7E 1B 78 */ mr r30, r3 -/* 802664FC 0026343C 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 80266500 00263440 28 04 00 00 */ cmplwi r4, 0 -/* 80266504 00263444 41 82 00 74 */ beq lbl_80266578 -/* 80266508 00263448 80 04 00 44 */ lwz r0, 0x44(r4) -/* 8026650C 0026344C 2C 00 00 04 */ cmpwi r0, 4 -/* 80266510 00263450 40 82 00 68 */ bne lbl_80266578 -/* 80266514 00263454 4B E6 30 8D */ bl rand -/* 80266518 00263458 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026651C 0026345C 3C 00 43 30 */ lis r0, 0x4330 -/* 80266520 00263460 90 61 00 0C */ stw r3, 0xc(r1) -/* 80266524 00263464 7F C3 F3 78 */ mr r3, r30 -/* 80266528 00263468 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026652C 0026346C 90 01 00 08 */ stw r0, 8(r1) -/* 80266530 00263470 C8 42 CB 40 */ lfd f2, lbl_8051AEA0@sda21(r2) -/* 80266534 00263474 C8 01 00 08 */ lfd f0, 8(r1) -/* 80266538 00263478 C0 22 CB 38 */ lfs f1, lbl_8051AE98@sda21(r2) -/* 8026653C 0026347C EC 40 10 28 */ fsubs f2, f0, f2 -/* 80266540 00263480 C0 02 CB 34 */ lfs f0, lbl_8051AE94@sda21(r2) -/* 80266544 00263484 81 8C 01 AC */ lwz r12, 0x1ac(r12) -/* 80266548 00263488 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8026654C 0026348C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80266550 00263490 FC 00 00 1E */ fctiwz f0, f0 -/* 80266554 00263494 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 80266558 00263498 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8026655C 0026349C 7D 89 03 A6 */ mtctr r12 -/* 80266560 002634A0 4E 80 04 21 */ bctrl -/* 80266564 002634A4 1C 03 00 05 */ mulli r0, r3, 5 -/* 80266568 002634A8 7C 1F 02 14 */ add r0, r31, r0 -/* 8026656C 002634AC 54 00 44 2E */ rlwinm r0, r0, 8, 0x10, 0x17 -/* 80266570 002634B0 B0 1E 02 C2 */ sth r0, 0x2c2(r30) -/* 80266574 002634B4 48 00 00 0C */ b lbl_80266580 -lbl_80266578: -/* 80266578 002634B8 38 00 00 00 */ li r0, 0 -/* 8026657C 002634BC B0 1E 02 C2 */ sth r0, 0x2c2(r30) -lbl_80266580: -/* 80266580 002634C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80266584 002634C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80266588 002634C8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026658C 002634CC 7C 08 03 A6 */ mtlr r0 -/* 80266590 002634D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80266594 002634D4 4E 80 00 20 */ blr - -.global isAppearCheck__Q34Game4Ujia3ObjFv -isAppearCheck__Q34Game4Ujia3ObjFv: -/* 80266598 002634D8 A0 83 02 C2 */ lhz r4, 0x2c2(r3) -/* 8026659C 002634DC 28 04 00 00 */ cmplwi r4, 0 -/* 802665A0 002634E0 41 82 00 38 */ beq lbl_802665D8 -/* 802665A4 002634E4 38 04 00 01 */ addi r0, r4, 1 -/* 802665A8 002634E8 B0 03 02 C2 */ sth r0, 0x2c2(r3) -/* 802665AC 002634EC A0 03 02 C2 */ lhz r0, 0x2c2(r3) -/* 802665B0 002634F0 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 802665B4 002634F4 54 00 C6 3E */ rlwinm r0, r0, 0x18, 0x18, 0x1f -/* 802665B8 002634F8 7C 04 00 00 */ cmpw r4, r0 -/* 802665BC 002634FC 40 81 00 14 */ ble lbl_802665D0 -/* 802665C0 00263500 38 00 00 00 */ li r0, 0 -/* 802665C4 00263504 B0 03 02 C2 */ sth r0, 0x2c2(r3) -/* 802665C8 00263508 38 60 00 01 */ li r3, 1 -/* 802665CC 0026350C 4E 80 00 20 */ blr -lbl_802665D0: -/* 802665D0 00263510 38 60 00 00 */ li r3, 0 -/* 802665D4 00263514 4E 80 00 20 */ blr -lbl_802665D8: -/* 802665D8 00263518 38 60 00 01 */ li r3, 1 -/* 802665DC 0026351C 4E 80 00 20 */ blr - -.global resetBridgeSearch__Q34Game4Ujia3ObjFv -resetBridgeSearch__Q34Game4Ujia3ObjFv: -/* 802665E0 00263520 38 80 00 01 */ li r4, 1 -/* 802665E4 00263524 38 00 00 00 */ li r0, 0 -/* 802665E8 00263528 98 83 02 C0 */ stb r4, 0x2c0(r3) -/* 802665EC 0026352C C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 802665F0 00263530 90 03 02 C8 */ stw r0, 0x2c8(r3) -/* 802665F4 00263534 D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 802665F8 00263538 D0 03 02 D0 */ stfs f0, 0x2d0(r3) -/* 802665FC 0026353C 4E 80 00 20 */ blr - -.global setBridgeSearch__Q34Game4Ujia3ObjFv -setBridgeSearch__Q34Game4Ujia3ObjFv: -/* 80266600 00263540 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80266604 00263544 7C 08 02 A6 */ mflr r0 -/* 80266608 00263548 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026660C 0026354C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80266610 00263550 7C 7F 1B 78 */ mr r31, r3 -/* 80266614 00263554 88 03 02 C0 */ lbz r0, 0x2c0(r3) -/* 80266618 00263558 28 00 00 00 */ cmplwi r0, 0 -/* 8026661C 0026355C 41 82 00 18 */ beq lbl_80266634 -/* 80266620 00263560 38 00 00 00 */ li r0, 0 -/* 80266624 00263564 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80266628 00263568 48 00 00 21 */ bl setNearestBridge__Q34Game4Ujia3ObjFv -/* 8026662C 0026356C 7F E3 FB 78 */ mr r3, r31 -/* 80266630 00263570 48 00 02 D9 */ bl setCullingCheck__Q34Game4Ujia3ObjFv -lbl_80266634: -/* 80266634 00263574 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80266638 00263578 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026663C 0026357C 7C 08 03 A6 */ mtlr r0 -/* 80266640 00263580 38 21 00 10 */ addi r1, r1, 0x10 -/* 80266644 00263584 4E 80 00 20 */ blr - -.global setNearestBridge__Q34Game4Ujia3ObjFv -setNearestBridge__Q34Game4Ujia3ObjFv: -/* 80266648 00263588 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8026664C 0026358C 7C 08 02 A6 */ mflr r0 -/* 80266650 00263590 90 01 00 54 */ stw r0, 0x54(r1) -/* 80266654 00263594 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80266658 00263598 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8026665C 0026359C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80266660 002635A0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80266664 002635A4 7C 7F 1B 78 */ mr r31, r3 -/* 80266668 002635A8 38 00 00 00 */ li r0, 0 -/* 8026666C 002635AC 90 03 02 C8 */ stw r0, 0x2c8(r3) -/* 80266670 002635B0 C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 80266674 002635B4 D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 80266678 002635B8 D0 03 02 D0 */ stfs f0, 0x2d0(r3) -/* 8026667C 002635BC 80 6D 94 B8 */ lwz r3, mgr__Q24Game10ItemBridge@sda21(r13) -/* 80266680 002635C0 28 03 00 00 */ cmplwi r3, 0 -/* 80266684 002635C4 41 82 02 14 */ beq lbl_80266898 -/* 80266688 002635C8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8026668C 002635CC C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 80266690 002635D0 EF E0 00 32 */ fmuls f31, f0, f0 -/* 80266694 002635D4 41 82 00 08 */ beq lbl_8026669C -/* 80266698 002635D8 38 63 00 30 */ addi r3, r3, 0x30 -lbl_8026669C: -/* 8026669C 002635DC 38 00 00 00 */ li r0, 0 -/* 802666A0 002635E0 3C 80 80 4B */ lis r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@ha -/* 802666A4 002635E4 38 84 05 60 */ addi r4, r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@l -/* 802666A8 002635E8 90 01 00 20 */ stw r0, 0x20(r1) -/* 802666AC 002635EC 28 00 00 00 */ cmplwi r0, 0 -/* 802666B0 002635F0 90 81 00 14 */ stw r4, 0x14(r1) -/* 802666B4 002635F4 90 01 00 18 */ stw r0, 0x18(r1) -/* 802666B8 002635F8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802666BC 002635FC 40 82 00 1C */ bne lbl_802666D8 -/* 802666C0 00263600 81 83 00 00 */ lwz r12, 0(r3) -/* 802666C4 00263604 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802666C8 00263608 7D 89 03 A6 */ mtctr r12 -/* 802666CC 0026360C 4E 80 04 21 */ bctrl -/* 802666D0 00263610 90 61 00 18 */ stw r3, 0x18(r1) -/* 802666D4 00263614 48 00 01 A4 */ b lbl_80266878 -lbl_802666D8: -/* 802666D8 00263618 81 83 00 00 */ lwz r12, 0(r3) -/* 802666DC 0026361C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802666E0 00263620 7D 89 03 A6 */ mtctr r12 -/* 802666E4 00263624 4E 80 04 21 */ bctrl -/* 802666E8 00263628 90 61 00 18 */ stw r3, 0x18(r1) -/* 802666EC 0026362C 48 00 00 58 */ b lbl_80266744 -lbl_802666F0: -/* 802666F0 00263630 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802666F4 00263634 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802666F8 00263638 81 83 00 00 */ lwz r12, 0(r3) -/* 802666FC 0026363C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80266700 00263640 7D 89 03 A6 */ mtctr r12 -/* 80266704 00263644 4E 80 04 21 */ bctrl -/* 80266708 00263648 7C 64 1B 78 */ mr r4, r3 -/* 8026670C 0026364C 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80266710 00263650 81 83 00 00 */ lwz r12, 0(r3) -/* 80266714 00263654 81 8C 00 08 */ lwz r12, 8(r12) -/* 80266718 00263658 7D 89 03 A6 */ mtctr r12 -/* 8026671C 0026365C 4E 80 04 21 */ bctrl -/* 80266720 00263660 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80266724 00263664 40 82 01 54 */ bne lbl_80266878 -/* 80266728 00263668 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026672C 0026366C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 80266730 00263670 81 83 00 00 */ lwz r12, 0(r3) -/* 80266734 00263674 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80266738 00263678 7D 89 03 A6 */ mtctr r12 -/* 8026673C 0026367C 4E 80 04 21 */ bctrl -/* 80266740 00263680 90 61 00 18 */ stw r3, 0x18(r1) -lbl_80266744: -/* 80266744 00263684 81 81 00 14 */ lwz r12, 0x14(r1) -/* 80266748 00263688 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026674C 0026368C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80266750 00263690 7D 89 03 A6 */ mtctr r12 -/* 80266754 00263694 4E 80 04 21 */ bctrl -/* 80266758 00263698 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026675C 0026369C 41 82 FF 94 */ beq lbl_802666F0 -/* 80266760 002636A0 48 00 01 18 */ b lbl_80266878 -lbl_80266764: -/* 80266764 002636A4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80266768 002636A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026676C 002636AC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80266770 002636B0 7D 89 03 A6 */ mtctr r12 -/* 80266774 002636B4 4E 80 04 21 */ bctrl -/* 80266778 002636B8 7C 60 1B 78 */ mr r0, r3 -/* 8026677C 002636BC 38 61 00 08 */ addi r3, r1, 8 -/* 80266780 002636C0 7C 1E 03 78 */ mr r30, r0 -/* 80266784 002636C4 7F C4 F3 78 */ mr r4, r30 -/* 80266788 002636C8 4B F8 87 AD */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8026678C 002636CC C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 80266790 002636D0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80266794 002636D4 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 80266798 002636D8 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026679C 002636DC C0 01 00 08 */ lfs f0, 8(r1) -/* 802667A0 002636E0 EC 42 00 28 */ fsubs f2, f2, f0 -/* 802667A4 002636E4 EC 01 00 72 */ fmuls f0, f1, f1 -/* 802667A8 002636E8 EC 02 00 BA */ fmadds f0, f2, f2, f0 -/* 802667AC 002636EC FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 802667B0 002636F0 40 80 00 0C */ bge lbl_802667BC -/* 802667B4 002636F4 93 DF 02 C8 */ stw r30, 0x2c8(r31) -/* 802667B8 002636F8 FF E0 00 90 */ fmr f31, f0 -lbl_802667BC: -/* 802667BC 002636FC 80 01 00 20 */ lwz r0, 0x20(r1) -/* 802667C0 00263700 28 00 00 00 */ cmplwi r0, 0 -/* 802667C4 00263704 40 82 00 24 */ bne lbl_802667E8 -/* 802667C8 00263708 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802667CC 0026370C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802667D0 00263710 81 83 00 00 */ lwz r12, 0(r3) -/* 802667D4 00263714 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802667D8 00263718 7D 89 03 A6 */ mtctr r12 -/* 802667DC 0026371C 4E 80 04 21 */ bctrl -/* 802667E0 00263720 90 61 00 18 */ stw r3, 0x18(r1) -/* 802667E4 00263724 48 00 00 94 */ b lbl_80266878 -lbl_802667E8: -/* 802667E8 00263728 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 802667EC 0026372C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 802667F0 00263730 81 83 00 00 */ lwz r12, 0(r3) -/* 802667F4 00263734 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802667F8 00263738 7D 89 03 A6 */ mtctr r12 -/* 802667FC 0026373C 4E 80 04 21 */ bctrl -/* 80266800 00263740 90 61 00 18 */ stw r3, 0x18(r1) -/* 80266804 00263744 48 00 00 58 */ b lbl_8026685C -lbl_80266808: -/* 80266808 00263748 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026680C 0026374C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 80266810 00263750 81 83 00 00 */ lwz r12, 0(r3) -/* 80266814 00263754 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80266818 00263758 7D 89 03 A6 */ mtctr r12 -/* 8026681C 0026375C 4E 80 04 21 */ bctrl -/* 80266820 00263760 7C 64 1B 78 */ mr r4, r3 -/* 80266824 00263764 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80266828 00263768 81 83 00 00 */ lwz r12, 0(r3) -/* 8026682C 0026376C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80266830 00263770 7D 89 03 A6 */ mtctr r12 -/* 80266834 00263774 4E 80 04 21 */ bctrl -/* 80266838 00263778 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026683C 0026377C 40 82 00 3C */ bne lbl_80266878 -/* 80266840 00263780 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80266844 00263784 80 81 00 18 */ lwz r4, 0x18(r1) -/* 80266848 00263788 81 83 00 00 */ lwz r12, 0(r3) -/* 8026684C 0026378C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80266850 00263790 7D 89 03 A6 */ mtctr r12 -/* 80266854 00263794 4E 80 04 21 */ bctrl -/* 80266858 00263798 90 61 00 18 */ stw r3, 0x18(r1) -lbl_8026685C: -/* 8026685C 0026379C 81 81 00 14 */ lwz r12, 0x14(r1) -/* 80266860 002637A0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80266864 002637A4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80266868 002637A8 7D 89 03 A6 */ mtctr r12 -/* 8026686C 002637AC 4E 80 04 21 */ bctrl -/* 80266870 002637B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80266874 002637B4 41 82 FF 94 */ beq lbl_80266808 -lbl_80266878: -/* 80266878 002637B8 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026687C 002637BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80266880 002637C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80266884 002637C4 7D 89 03 A6 */ mtctr r12 -/* 80266888 002637C8 4E 80 04 21 */ bctrl -/* 8026688C 002637CC 80 81 00 18 */ lwz r4, 0x18(r1) -/* 80266890 002637D0 7C 04 18 40 */ cmplw r4, r3 -/* 80266894 002637D4 40 82 FE D0 */ bne lbl_80266764 -lbl_80266898: -/* 80266898 002637D8 80 7F 02 C8 */ lwz r3, 0x2c8(r31) -/* 8026689C 002637DC 28 03 00 00 */ cmplwi r3, 0 -/* 802668A0 002637E0 41 82 00 48 */ beq lbl_802668E8 -/* 802668A4 002637E4 4B F8 87 8D */ bl getStageWidth__Q34Game10ItemBridge4ItemFv -/* 802668A8 002637E8 C0 02 CB 48 */ lfs f0, lbl_8051AEA8@sda21(r2) -/* 802668AC 002637EC EF E1 00 28 */ fsubs f31, f1, f0 -/* 802668B0 002637F0 4B E6 2C F1 */ bl rand -/* 802668B4 002637F4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802668B8 002637F8 3C 00 43 30 */ lis r0, 0x4330 -/* 802668BC 002637FC 90 61 00 2C */ stw r3, 0x2c(r1) -/* 802668C0 00263800 C8 62 CB 40 */ lfd f3, lbl_8051AEA0@sda21(r2) -/* 802668C4 00263804 90 01 00 28 */ stw r0, 0x28(r1) -/* 802668C8 00263808 C0 22 CB 38 */ lfs f1, lbl_8051AE98@sda21(r2) -/* 802668CC 0026380C C8 41 00 28 */ lfd f2, 0x28(r1) -/* 802668D0 00263810 C0 02 CB 4C */ lfs f0, lbl_8051AEAC@sda21(r2) -/* 802668D4 00263814 EC 42 18 28 */ fsubs f2, f2, f3 -/* 802668D8 00263818 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 802668DC 0026381C EC 22 08 24 */ fdivs f1, f2, f1 -/* 802668E0 00263820 EC 00 0F FC */ fnmsubs f0, f0, f31, f1 -/* 802668E4 00263824 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -lbl_802668E8: -/* 802668E8 00263828 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802668EC 0026382C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802668F0 00263830 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802668F4 00263834 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802668F8 00263838 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802668FC 0026383C 7C 08 03 A6 */ mtlr r0 -/* 80266900 00263840 38 21 00 50 */ addi r1, r1, 0x50 -/* 80266904 00263844 4E 80 00 20 */ blr - -.global setCullingCheck__Q34Game4Ujia3ObjFv -setCullingCheck__Q34Game4Ujia3ObjFv: -/* 80266908 00263848 4E 80 00 20 */ blr - -.global checkBreakOrMove__Q34Game4Ujia3ObjFv -checkBreakOrMove__Q34Game4Ujia3ObjFv: -/* 8026690C 0026384C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80266910 00263850 7C 08 02 A6 */ mflr r0 -/* 80266914 00263854 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80266918 00263858 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8026691C 0026385C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80266920 00263860 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80266924 00263864 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80266928 00263868 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8026692C 0026386C F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80266930 00263870 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80266934 00263874 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80266938 00263878 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 8026693C 0026387C F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 80266940 00263880 DB 41 00 40 */ stfd f26, 0x40(r1) -/* 80266944 00263884 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 -/* 80266948 00263888 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8026694C 0026388C 7C 7F 1B 78 */ mr r31, r3 -/* 80266950 00263890 80 83 02 C8 */ lwz r4, 0x2c8(r3) -/* 80266954 00263894 28 04 00 00 */ cmplwi r4, 0 -/* 80266958 00263898 41 82 01 20 */ beq lbl_80266A78 -/* 8026695C 0026389C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80266960 002638A0 4B F8 86 D9 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 80266964 002638A4 C3 81 00 20 */ lfs f28, 0x20(r1) -/* 80266968 002638A8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026696C 002638AC C3 A1 00 24 */ lfs f29, 0x24(r1) -/* 80266970 002638B0 C3 61 00 28 */ lfs f27, 0x28(r1) -/* 80266974 002638B4 80 9F 02 C8 */ lwz r4, 0x2c8(r31) -/* 80266978 002638B8 4B F8 85 BD */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8026697C 002638BC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80266980 002638C0 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 80266984 002638C4 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80266988 002638C8 EF C2 00 28 */ fsubs f30, f2, f0 -/* 8026698C 002638CC C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 80266990 002638D0 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80266994 002638D4 EF E1 00 28 */ fsubs f31, f1, f0 -/* 80266998 002638D8 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8026699C 002638DC EC 3D 07 B2 */ fmuls f1, f29, f30 -/* 802669A0 002638E0 EF A2 00 28 */ fsubs f29, f2, f0 -/* 802669A4 002638E4 C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 802669A8 002638E8 EC 3C 0F FA */ fmadds f1, f28, f31, f1 -/* 802669AC 002638EC EC 3B 0F 7A */ fmadds f1, f27, f29, f1 -/* 802669B0 002638F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802669B4 002638F4 40 81 00 0C */ ble lbl_802669C0 -/* 802669B8 002638F8 38 60 00 07 */ li r3, 7 -/* 802669BC 002638FC 48 00 00 C0 */ b lbl_80266A7C -lbl_802669C0: -/* 802669C0 00263900 80 9F 02 C8 */ lwz r4, 0x2c8(r31) -/* 802669C4 00263904 38 61 00 08 */ addi r3, r1, 8 -/* 802669C8 00263908 4B F8 87 15 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 802669CC 0026390C C3 61 00 08 */ lfs f27, 8(r1) -/* 802669D0 00263910 C3 81 00 0C */ lfs f28, 0xc(r1) -/* 802669D4 00263914 C3 41 00 10 */ lfs f26, 0x10(r1) -/* 802669D8 00263918 80 7F 02 C8 */ lwz r3, 0x2c8(r31) -/* 802669DC 0026391C 4B F8 86 55 */ bl getStageWidth__Q34Game10ItemBridge4ItemFv -/* 802669E0 00263920 EC 7C 07 B2 */ fmuls f3, f28, f30 -/* 802669E4 00263924 C0 02 CB 4C */ lfs f0, lbl_8051AEAC@sda21(r2) -/* 802669E8 00263928 C0 42 CB 48 */ lfs f2, lbl_8051AEA8@sda21(r2) -/* 802669EC 0026392C EC 80 00 72 */ fmuls f4, f0, f1 -/* 802669F0 00263930 C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 802669F4 00263934 EC 3B 1F FA */ fmadds f1, f27, f31, f3 -/* 802669F8 00263938 EC 42 20 2A */ fadds f2, f2, f4 -/* 802669FC 0026393C EC 3A 0F 7A */ fmadds f1, f26, f29, f1 -/* 80266A00 00263940 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80266A04 00263944 40 80 00 0C */ bge lbl_80266A10 -/* 80266A08 00263948 D0 5F 02 D0 */ stfs f2, 0x2d0(r31) -/* 80266A0C 0026394C 48 00 00 0C */ b lbl_80266A18 -lbl_80266A10: -/* 80266A10 00263950 FC 00 10 50 */ fneg f0, f2 -/* 80266A14 00263954 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -lbl_80266A18: -/* 80266A18 00263958 C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 80266A1C 0026395C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80266A20 00263960 40 81 00 08 */ ble lbl_80266A28 -/* 80266A24 00263964 48 00 00 08 */ b lbl_80266A2C -lbl_80266A28: -/* 80266A28 00263968 FC 20 08 50 */ fneg f1, f1 -lbl_80266A2C: -/* 80266A2C 0026396C FC 01 20 40 */ fcmpo cr0, f1, f4 -/* 80266A30 00263970 40 81 00 0C */ ble lbl_80266A3C -/* 80266A34 00263974 38 60 00 06 */ li r3, 6 -/* 80266A38 00263978 48 00 00 44 */ b lbl_80266A7C -lbl_80266A3C: -/* 80266A3C 0026397C 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80266A40 00263980 38 9F 01 8C */ addi r4, r31, 0x18c -/* 80266A44 00263984 81 83 00 04 */ lwz r12, 4(r3) -/* 80266A48 00263988 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80266A4C 0026398C 7D 89 03 A6 */ mtctr r12 -/* 80266A50 00263990 4E 80 04 21 */ bctrl -/* 80266A54 00263994 C0 02 CB 50 */ lfs f0, lbl_8051AEB0@sda21(r2) -/* 80266A58 00263998 C0 5F 01 90 */ lfs f2, 0x190(r31) -/* 80266A5C 0026399C EC 00 08 2A */ fadds f0, f0, f1 -/* 80266A60 002639A0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80266A64 002639A4 40 81 00 0C */ ble lbl_80266A70 -/* 80266A68 002639A8 38 60 00 08 */ li r3, 8 -/* 80266A6C 002639AC 48 00 00 10 */ b lbl_80266A7C -lbl_80266A70: -/* 80266A70 002639B0 38 60 00 06 */ li r3, 6 -/* 80266A74 002639B4 48 00 00 08 */ b lbl_80266A7C -lbl_80266A78: -/* 80266A78 002639B8 38 60 00 07 */ li r3, 7 -lbl_80266A7C: -/* 80266A7C 002639BC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80266A80 002639C0 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80266A84 002639C4 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80266A88 002639C8 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80266A8C 002639CC E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80266A90 002639D0 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80266A94 002639D4 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 80266A98 002639D8 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 80266A9C 002639DC E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 80266AA0 002639E0 CB 61 00 50 */ lfd f27, 0x50(r1) -/* 80266AA4 002639E4 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 -/* 80266AA8 002639E8 CB 41 00 40 */ lfd f26, 0x40(r1) -/* 80266AAC 002639EC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80266AB0 002639F0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80266AB4 002639F4 7C 08 03 A6 */ mtlr r0 -/* 80266AB8 002639F8 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80266ABC 002639FC 4E 80 00 20 */ blr - -.global isBreakBridge__Q34Game4Ujia3ObjFv -isBreakBridge__Q34Game4Ujia3ObjFv: -/* 80266AC0 00263A00 80 63 02 C8 */ lwz r3, 0x2c8(r3) -/* 80266AC4 00263A04 28 03 00 00 */ cmplwi r3, 0 -/* 80266AC8 00263A08 41 82 00 18 */ beq lbl_80266AE0 -/* 80266ACC 00263A0C 80 03 02 18 */ lwz r0, 0x218(r3) -/* 80266AD0 00263A10 2C 00 00 00 */ cmpwi r0, 0 -/* 80266AD4 00263A14 41 82 00 0C */ beq lbl_80266AE0 -/* 80266AD8 00263A18 38 60 00 01 */ li r3, 1 -/* 80266ADC 00263A1C 4E 80 00 20 */ blr -lbl_80266AE0: -/* 80266AE0 00263A20 38 60 00 00 */ li r3, 0 -/* 80266AE4 00263A24 4E 80 00 20 */ blr - -.global moveBridgeSide__Q34Game4Ujia3ObjFv -moveBridgeSide__Q34Game4Ujia3ObjFv: -/* 80266AE8 00263A28 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80266AEC 00263A2C 7C 08 02 A6 */ mflr r0 -/* 80266AF0 00263A30 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80266AF4 00263A34 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80266AF8 00263A38 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80266AFC 00263A3C DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80266B00 00263A40 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80266B04 00263A44 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80266B08 00263A48 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80266B0C 00263A4C DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80266B10 00263A50 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80266B14 00263A54 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80266B18 00263A58 7C 7F 1B 78 */ mr r31, r3 -/* 80266B1C 00263A5C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80266B20 00263A60 80 9F 02 C8 */ lwz r4, 0x2c8(r31) -/* 80266B24 00263A64 4B F8 84 11 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 80266B28 00263A68 C3 A1 00 44 */ lfs f29, 0x44(r1) -/* 80266B2C 00263A6C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80266B30 00263A70 C3 81 00 4C */ lfs f28, 0x4c(r1) -/* 80266B34 00263A74 80 9F 02 C8 */ lwz r4, 0x2c8(r31) -/* 80266B38 00263A78 4B F8 85 A5 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 80266B3C 00263A7C C3 C1 00 38 */ lfs f30, 0x38(r1) -/* 80266B40 00263A80 38 61 00 2C */ addi r3, r1, 0x2c -/* 80266B44 00263A84 C3 E1 00 40 */ lfs f31, 0x40(r1) -/* 80266B48 00263A88 80 9F 02 C8 */ lwz r4, 0x2c8(r31) -/* 80266B4C 00263A8C 4B F8 84 ED */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 80266B50 00263A90 C0 3F 02 D0 */ lfs f1, 0x2d0(r31) -/* 80266B54 00263A94 C0 81 00 34 */ lfs f4, 0x34(r1) -/* 80266B58 00263A98 EF FF 00 72 */ fmuls f31, f31, f1 -/* 80266B5C 00263A9C C0 02 CB 54 */ lfs f0, lbl_8051AEB4@sda21(r2) -/* 80266B60 00263AA0 EF DE 00 72 */ fmuls f30, f30, f1 -/* 80266B64 00263AA4 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 80266B68 00263AA8 EC 84 00 32 */ fmuls f4, f4, f0 -/* 80266B6C 00263AAC C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 80266B70 00263AB0 EF 9C F8 2A */ fadds f28, f28, f31 -/* 80266B74 00263AB4 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 80266B78 00263AB8 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80266B7C 00263ABC C0 02 CB 58 */ lfs f0, lbl_8051AEB8@sda21(r2) -/* 80266B80 00263AC0 EF BD F0 2A */ fadds f29, f29, f30 -/* 80266B84 00263AC4 EF 9C 20 2A */ fadds f28, f28, f4 -/* 80266B88 00263AC8 EF BD 18 2A */ fadds f29, f29, f3 -/* 80266B8C 00263ACC EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80266B90 00263AD0 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 80266B94 00263AD4 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80266B98 00263AD8 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80266B9C 00263ADC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80266BA0 00263AE0 40 80 00 80 */ bge lbl_80266C20 -/* 80266BA4 00263AE4 7F E3 FB 78 */ mr r3, r31 -/* 80266BA8 00263AE8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80266BAC 00263AEC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266BB0 00263AF0 C0 22 CB 5C */ lfs f1, lbl_8051AEBC@sda21(r2) -/* 80266BB4 00263AF4 C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 80266BB8 00263AF8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266BBC 00263AFC EF C1 00 32 */ fmuls f30, f1, f0 -/* 80266BC0 00263B00 7D 89 03 A6 */ mtctr r12 -/* 80266BC4 00263B04 4E 80 04 21 */ bctrl -/* 80266BC8 00263B08 4B E6 8C 55 */ bl sin -/* 80266BCC 00263B0C 7F E3 FB 78 */ mr r3, r31 -/* 80266BD0 00263B10 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 80266BD4 00263B14 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266BD8 00263B18 FF A0 08 18 */ frsp f29, f1 -/* 80266BDC 00263B1C C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 80266BE0 00263B20 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80266BE4 00263B24 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266BE8 00263B28 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80266BEC 00263B2C D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 80266BF0 00263B30 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80266BF4 00263B34 7D 89 03 A6 */ mtctr r12 -/* 80266BF8 00263B38 4E 80 04 21 */ bctrl -/* 80266BFC 00263B3C 4B E6 86 B9 */ bl cos -/* 80266C00 00263B40 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 80266C04 00263B44 38 60 00 01 */ li r3, 1 -/* 80266C08 00263B48 FC 20 08 18 */ frsp f1, f1 -/* 80266C0C 00263B4C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80266C10 00263B50 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 80266C14 00263B54 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 80266C18 00263B58 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80266C1C 00263B5C 48 00 01 40 */ b lbl_80266D5C -lbl_80266C20: -/* 80266C20 00263B60 7F E4 FB 78 */ mr r4, r31 -/* 80266C24 00263B64 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80266C28 00263B68 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266C2C 00263B6C 38 61 00 08 */ addi r3, r1, 8 -/* 80266C30 00263B70 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 80266C34 00263B74 81 8C 00 08 */ lwz r12, 8(r12) -/* 80266C38 00263B78 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80266C3C 00263B7C 7D 89 03 A6 */ mtctr r12 -/* 80266C40 00263B80 4E 80 04 21 */ bctrl -/* 80266C44 00263B84 C0 21 00 08 */ lfs f1, 8(r1) -/* 80266C48 00263B88 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80266C4C 00263B8C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80266C50 00263B90 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80266C54 00263B94 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 80266C58 00263B98 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 80266C5C 00263B9C 4B DC E4 AD */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80266C60 00263BA0 48 1A AF 71 */ bl roundAng__Ff -/* 80266C64 00263BA4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266C68 00263BA8 FF A0 08 90 */ fmr f29, f1 -/* 80266C6C 00263BAC 7F E3 FB 78 */ mr r3, r31 -/* 80266C70 00263BB0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266C74 00263BB4 7D 89 03 A6 */ mtctr r12 -/* 80266C78 00263BB8 4E 80 04 21 */ bctrl -/* 80266C7C 00263BBC FC 40 08 90 */ fmr f2, f1 -/* 80266C80 00263BC0 FC 20 E8 90 */ fmr f1, f29 -/* 80266C84 00263BC4 48 1A AF 79 */ bl angDist__Fff -/* 80266C88 00263BC8 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 80266C8C 00263BCC C0 02 CB 64 */ lfs f0, lbl_8051AEC4@sda21(r2) -/* 80266C90 00263BD0 C0 22 CB 60 */ lfs f1, lbl_8051AEC0@sda21(r2) -/* 80266C94 00263BD4 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80266C98 00263BD8 FC 40 F2 10 */ fabs f2, f30 -/* 80266C9C 00263BDC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80266CA0 00263BE0 FC 00 10 18 */ frsp f0, f2 -/* 80266CA4 00263BE4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80266CA8 00263BE8 40 81 00 1C */ ble lbl_80266CC4 -/* 80266CAC 00263BEC C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 80266CB0 00263BF0 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80266CB4 00263BF4 40 81 00 0C */ ble lbl_80266CC0 -/* 80266CB8 00263BF8 FF C0 08 90 */ fmr f30, f1 -/* 80266CBC 00263BFC 48 00 00 08 */ b lbl_80266CC4 -lbl_80266CC0: -/* 80266CC0 00263C00 FF C0 08 50 */ fneg f30, f1 -lbl_80266CC4: -/* 80266CC4 00263C04 7F E3 FB 78 */ mr r3, r31 -/* 80266CC8 00263C08 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266CCC 00263C0C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266CD0 00263C10 7D 89 03 A6 */ mtctr r12 -/* 80266CD4 00263C14 4E 80 04 21 */ bctrl -/* 80266CD8 00263C18 EC 3E 08 2A */ fadds f1, f30, f1 -/* 80266CDC 00263C1C 48 1A AE F5 */ bl roundAng__Ff -/* 80266CE0 00263C20 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80266CE4 00263C24 7F E3 FB 78 */ mr r3, r31 -/* 80266CE8 00263C28 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80266CEC 00263C2C D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80266CF0 00263C30 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266CF4 00263C34 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80266CF8 00263C38 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266CFC 00263C3C C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 80266D00 00263C40 7D 89 03 A6 */ mtctr r12 -/* 80266D04 00263C44 4E 80 04 21 */ bctrl -/* 80266D08 00263C48 4B E6 8B 15 */ bl sin -/* 80266D0C 00263C4C 7F E3 FB 78 */ mr r3, r31 -/* 80266D10 00263C50 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 80266D14 00263C54 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266D18 00263C58 FF A0 08 18 */ frsp f29, f1 -/* 80266D1C 00263C5C C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 80266D20 00263C60 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80266D24 00263C64 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266D28 00263C68 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80266D2C 00263C6C D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 80266D30 00263C70 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80266D34 00263C74 7D 89 03 A6 */ mtctr r12 -/* 80266D38 00263C78 4E 80 04 21 */ bctrl -/* 80266D3C 00263C7C 4B E6 85 79 */ bl cos -/* 80266D40 00263C80 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 80266D44 00263C84 38 60 00 00 */ li r3, 0 -/* 80266D48 00263C88 FC 20 08 18 */ frsp f1, f1 -/* 80266D4C 00263C8C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80266D50 00263C90 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 80266D54 00263C94 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 80266D58 00263C98 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_80266D5C: -/* 80266D5C 00263C9C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80266D60 00263CA0 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80266D64 00263CA4 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80266D68 00263CA8 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80266D6C 00263CAC E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80266D70 00263CB0 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80266D74 00263CB4 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 80266D78 00263CB8 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 80266D7C 00263CBC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80266D80 00263CC0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80266D84 00263CC4 7C 08 03 A6 */ mtlr r0 -/* 80266D88 00263CC8 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80266D8C 00263CCC 4E 80 00 20 */ blr - -.global moveBridgeCentre__Q34Game4Ujia3ObjFv -moveBridgeCentre__Q34Game4Ujia3ObjFv: -/* 80266D90 00263CD0 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80266D94 00263CD4 7C 08 02 A6 */ mflr r0 -/* 80266D98 00263CD8 90 01 00 94 */ stw r0, 0x94(r1) -/* 80266D9C 00263CDC DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80266DA0 00263CE0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80266DA4 00263CE4 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80266DA8 00263CE8 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80266DAC 00263CEC DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80266DB0 00263CF0 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80266DB4 00263CF4 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 80266DB8 00263CF8 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 80266DBC 00263CFC 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80266DC0 00263D00 7C 7F 1B 78 */ mr r31, r3 -/* 80266DC4 00263D04 38 61 00 38 */ addi r3, r1, 0x38 -/* 80266DC8 00263D08 80 9F 02 C8 */ lwz r4, 0x2c8(r31) -/* 80266DCC 00263D0C 4B F8 81 69 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 80266DD0 00263D10 C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 80266DD4 00263D14 38 61 00 2C */ addi r3, r1, 0x2c -/* 80266DD8 00263D18 C3 81 00 40 */ lfs f28, 0x40(r1) -/* 80266DDC 00263D1C 80 9F 02 C8 */ lwz r4, 0x2c8(r31) -/* 80266DE0 00263D20 4B F8 82 FD */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 80266DE4 00263D24 C0 22 CB 68 */ lfs f1, lbl_8051AEC8@sda21(r2) -/* 80266DE8 00263D28 C0 1F 02 CC */ lfs f0, 0x2cc(r31) -/* 80266DEC 00263D2C C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 80266DF0 00263D30 EC 61 00 32 */ fmuls f3, f1, f0 -/* 80266DF4 00263D34 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 80266DF8 00263D38 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 80266DFC 00263D3C C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 80266E00 00263D40 EC A5 00 F2 */ fmuls f5, f5, f3 -/* 80266E04 00263D44 C0 02 CB 58 */ lfs f0, lbl_8051AEB8@sda21(r2) -/* 80266E08 00263D48 EC 84 00 F2 */ fmuls f4, f4, f3 -/* 80266E0C 00263D4C EF 9C 28 2A */ fadds f28, f28, f5 -/* 80266E10 00263D50 EF BD 20 2A */ fadds f29, f29, f4 -/* 80266E14 00263D54 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80266E18 00263D58 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 80266E1C 00263D5C EC 21 00 72 */ fmuls f1, f1, f1 -/* 80266E20 00263D60 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80266E24 00263D64 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80266E28 00263D68 40 80 00 80 */ bge lbl_80266EA8 -/* 80266E2C 00263D6C 7F E3 FB 78 */ mr r3, r31 -/* 80266E30 00263D70 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80266E34 00263D74 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266E38 00263D78 C0 22 CB 5C */ lfs f1, lbl_8051AEBC@sda21(r2) -/* 80266E3C 00263D7C C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 80266E40 00263D80 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266E44 00263D84 EF C1 00 32 */ fmuls f30, f1, f0 -/* 80266E48 00263D88 7D 89 03 A6 */ mtctr r12 -/* 80266E4C 00263D8C 4E 80 04 21 */ bctrl -/* 80266E50 00263D90 4B E6 89 CD */ bl sin -/* 80266E54 00263D94 7F E3 FB 78 */ mr r3, r31 -/* 80266E58 00263D98 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 80266E5C 00263D9C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266E60 00263DA0 FF A0 08 18 */ frsp f29, f1 -/* 80266E64 00263DA4 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 80266E68 00263DA8 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80266E6C 00263DAC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266E70 00263DB0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80266E74 00263DB4 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 80266E78 00263DB8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80266E7C 00263DBC 7D 89 03 A6 */ mtctr r12 -/* 80266E80 00263DC0 4E 80 04 21 */ bctrl -/* 80266E84 00263DC4 4B E6 84 31 */ bl cos -/* 80266E88 00263DC8 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 80266E8C 00263DCC 38 60 00 01 */ li r3, 1 -/* 80266E90 00263DD0 FC 20 08 18 */ frsp f1, f1 -/* 80266E94 00263DD4 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80266E98 00263DD8 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 80266E9C 00263DDC D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 80266EA0 00263DE0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80266EA4 00263DE4 48 00 01 40 */ b lbl_80266FE4 -lbl_80266EA8: -/* 80266EA8 00263DE8 7F E4 FB 78 */ mr r4, r31 -/* 80266EAC 00263DEC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80266EB0 00263DF0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266EB4 00263DF4 38 61 00 08 */ addi r3, r1, 8 -/* 80266EB8 00263DF8 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 80266EBC 00263DFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80266EC0 00263E00 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80266EC4 00263E04 7D 89 03 A6 */ mtctr r12 -/* 80266EC8 00263E08 4E 80 04 21 */ bctrl -/* 80266ECC 00263E0C C0 21 00 08 */ lfs f1, 8(r1) -/* 80266ED0 00263E10 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80266ED4 00263E14 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80266ED8 00263E18 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80266EDC 00263E1C EC 3D 08 28 */ fsubs f1, f29, f1 -/* 80266EE0 00263E20 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 80266EE4 00263E24 4B DC E2 25 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80266EE8 00263E28 48 1A AC E9 */ bl roundAng__Ff -/* 80266EEC 00263E2C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266EF0 00263E30 FF A0 08 90 */ fmr f29, f1 -/* 80266EF4 00263E34 7F E3 FB 78 */ mr r3, r31 -/* 80266EF8 00263E38 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266EFC 00263E3C 7D 89 03 A6 */ mtctr r12 -/* 80266F00 00263E40 4E 80 04 21 */ bctrl -/* 80266F04 00263E44 FC 40 08 90 */ fmr f2, f1 -/* 80266F08 00263E48 FC 20 E8 90 */ fmr f1, f29 -/* 80266F0C 00263E4C 48 1A AC F1 */ bl angDist__Fff -/* 80266F10 00263E50 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 80266F14 00263E54 C0 02 CB 64 */ lfs f0, lbl_8051AEC4@sda21(r2) -/* 80266F18 00263E58 C0 22 CB 60 */ lfs f1, lbl_8051AEC0@sda21(r2) -/* 80266F1C 00263E5C EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80266F20 00263E60 FC 40 F2 10 */ fabs f2, f30 -/* 80266F24 00263E64 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80266F28 00263E68 FC 00 10 18 */ frsp f0, f2 -/* 80266F2C 00263E6C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80266F30 00263E70 40 81 00 1C */ ble lbl_80266F4C -/* 80266F34 00263E74 C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 80266F38 00263E78 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80266F3C 00263E7C 40 81 00 0C */ ble lbl_80266F48 -/* 80266F40 00263E80 FF C0 08 90 */ fmr f30, f1 -/* 80266F44 00263E84 48 00 00 08 */ b lbl_80266F4C -lbl_80266F48: -/* 80266F48 00263E88 FF C0 08 50 */ fneg f30, f1 -lbl_80266F4C: -/* 80266F4C 00263E8C 7F E3 FB 78 */ mr r3, r31 -/* 80266F50 00263E90 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266F54 00263E94 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266F58 00263E98 7D 89 03 A6 */ mtctr r12 -/* 80266F5C 00263E9C 4E 80 04 21 */ bctrl -/* 80266F60 00263EA0 EC 3E 08 2A */ fadds f1, f30, f1 -/* 80266F64 00263EA4 48 1A AC 6D */ bl roundAng__Ff -/* 80266F68 00263EA8 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80266F6C 00263EAC 7F E3 FB 78 */ mr r3, r31 -/* 80266F70 00263EB0 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80266F74 00263EB4 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80266F78 00263EB8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266F7C 00263EBC 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80266F80 00263EC0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266F84 00263EC4 C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 80266F88 00263EC8 7D 89 03 A6 */ mtctr r12 -/* 80266F8C 00263ECC 4E 80 04 21 */ bctrl -/* 80266F90 00263ED0 4B E6 88 8D */ bl sin -/* 80266F94 00263ED4 7F E3 FB 78 */ mr r3, r31 -/* 80266F98 00263ED8 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 80266F9C 00263EDC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80266FA0 00263EE0 FF A0 08 18 */ frsp f29, f1 -/* 80266FA4 00263EE4 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 80266FA8 00263EE8 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80266FAC 00263EEC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80266FB0 00263EF0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80266FB4 00263EF4 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 80266FB8 00263EF8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80266FBC 00263EFC 7D 89 03 A6 */ mtctr r12 -/* 80266FC0 00263F00 4E 80 04 21 */ bctrl -/* 80266FC4 00263F04 4B E6 82 F1 */ bl cos -/* 80266FC8 00263F08 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 80266FCC 00263F0C 38 60 00 00 */ li r3, 0 -/* 80266FD0 00263F10 FC 20 08 18 */ frsp f1, f1 -/* 80266FD4 00263F14 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80266FD8 00263F18 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 80266FDC 00263F1C D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 80266FE0 00263F20 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_80266FE4: -/* 80266FE4 00263F24 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80266FE8 00263F28 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80266FEC 00263F2C E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80266FF0 00263F30 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80266FF4 00263F34 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80266FF8 00263F38 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80266FFC 00263F3C E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 80267000 00263F40 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 80267004 00263F44 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80267008 00263F48 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8026700C 00263F4C 7C 08 03 A6 */ mtlr r0 -/* 80267010 00263F50 38 21 00 90 */ addi r1, r1, 0x90 -/* 80267014 00263F54 4E 80 00 20 */ blr - -.global moveBridgeTop__Q34Game4Ujia3ObjFv -moveBridgeTop__Q34Game4Ujia3ObjFv: -/* 80267018 00263F58 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8026701C 00263F5C 7C 08 02 A6 */ mflr r0 -/* 80267020 00263F60 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80267024 00263F64 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80267028 00263F68 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8026702C 00263F6C DB C1 00 90 */ stfd f30, 0x90(r1) -/* 80267030 00263F70 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 80267034 00263F74 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 80267038 00263F78 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8026703C 00263F7C DB 81 00 70 */ stfd f28, 0x70(r1) -/* 80267040 00263F80 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 80267044 00263F84 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 80267048 00263F88 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8026704C 00263F8C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80267050 00263F90 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80267054 00263F94 7C 7E 1B 78 */ mr r30, r3 -/* 80267058 00263F98 38 61 00 44 */ addi r3, r1, 0x44 -/* 8026705C 00263F9C 80 9E 02 C8 */ lwz r4, 0x2c8(r30) -/* 80267060 00263FA0 80 A4 02 18 */ lwz r5, 0x218(r4) -/* 80267064 00263FA4 3B E5 FF FF */ addi r31, r5, -1 -/* 80267068 00263FA8 7F E5 FB 78 */ mr r5, r31 -/* 8026706C 00263FAC 4B F8 7D E1 */ bl getStagePos__Q34Game10ItemBridge4ItemFi -/* 80267070 00263FB0 C3 E1 00 44 */ lfs f31, 0x44(r1) -/* 80267074 00263FB4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80267078 00263FB8 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 8026707C 00263FBC 80 9E 02 C8 */ lwz r4, 0x2c8(r30) -/* 80267080 00263FC0 4B F8 80 5D */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 80267084 00263FC4 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80267088 00263FC8 2C 1F 00 00 */ cmpwi r31, 0 -/* 8026708C 00263FCC C0 1E 02 CC */ lfs f0, 0x2cc(r30) -/* 80267090 00263FD0 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80267094 00263FD4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80267098 00263FD8 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8026709C 00263FDC EF FF 08 2A */ fadds f31, f31, f1 -/* 802670A0 00263FE0 EF DE 10 2A */ fadds f30, f30, f2 -/* 802670A4 00263FE4 40 81 00 2C */ ble lbl_802670D0 -/* 802670A8 00263FE8 80 9E 02 C8 */ lwz r4, 0x2c8(r30) -/* 802670AC 00263FEC 38 61 00 2C */ addi r3, r1, 0x2c -/* 802670B0 00263FF0 4B F8 7F 89 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 802670B4 00263FF4 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802670B8 00263FF8 C0 02 CB 54 */ lfs f0, lbl_8051AEB4@sda21(r2) -/* 802670BC 00263FFC C0 41 00 34 */ lfs f2, 0x34(r1) -/* 802670C0 00264000 EC 21 00 32 */ fmuls f1, f1, f0 -/* 802670C4 00264004 EC 42 00 32 */ fmuls f2, f2, f0 -/* 802670C8 00264008 EF FF 08 2A */ fadds f31, f31, f1 -/* 802670CC 0026400C EF DE 10 2A */ fadds f30, f30, f2 -lbl_802670D0: -/* 802670D0 00264010 7F C4 F3 78 */ mr r4, r30 -/* 802670D4 00264014 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 802670D8 00264018 81 9E 00 00 */ lwz r12, 0(r30) -/* 802670DC 0026401C 38 61 00 08 */ addi r3, r1, 8 -/* 802670E0 00264020 C3 85 03 34 */ lfs f28, 0x334(r5) -/* 802670E4 00264024 81 8C 00 08 */ lwz r12, 8(r12) -/* 802670E8 00264028 C3 A5 03 0C */ lfs f29, 0x30c(r5) -/* 802670EC 0026402C 7D 89 03 A6 */ mtctr r12 -/* 802670F0 00264030 4E 80 04 21 */ bctrl -/* 802670F4 00264034 C0 21 00 08 */ lfs f1, 8(r1) -/* 802670F8 00264038 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802670FC 0026403C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80267100 00264040 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80267104 00264044 EC 3F 08 28 */ fsubs f1, f31, f1 -/* 80267108 00264048 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 8026710C 0026404C 4B DC DF FD */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80267110 00264050 48 1A AA C1 */ bl roundAng__Ff -/* 80267114 00264054 81 9E 00 00 */ lwz r12, 0(r30) -/* 80267118 00264058 FF 60 08 90 */ fmr f27, f1 -/* 8026711C 0026405C 7F C3 F3 78 */ mr r3, r30 -/* 80267120 00264060 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80267124 00264064 7D 89 03 A6 */ mtctr r12 -/* 80267128 00264068 4E 80 04 21 */ bctrl -/* 8026712C 0026406C FC 40 08 90 */ fmr f2, f1 -/* 80267130 00264070 FC 20 D8 90 */ fmr f1, f27 -/* 80267134 00264074 48 1A AA C9 */ bl angDist__Fff -/* 80267138 00264078 EF A1 07 72 */ fmuls f29, f1, f29 -/* 8026713C 0026407C C0 02 CB 64 */ lfs f0, lbl_8051AEC4@sda21(r2) -/* 80267140 00264080 C0 22 CB 60 */ lfs f1, lbl_8051AEC0@sda21(r2) -/* 80267144 00264084 EC 00 07 32 */ fmuls f0, f0, f28 -/* 80267148 00264088 FC 40 EA 10 */ fabs f2, f29 -/* 8026714C 0026408C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80267150 00264090 FC 00 10 18 */ frsp f0, f2 -/* 80267154 00264094 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80267158 00264098 40 81 00 1C */ ble lbl_80267174 -/* 8026715C 0026409C C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 80267160 002640A0 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80267164 002640A4 40 81 00 0C */ ble lbl_80267170 -/* 80267168 002640A8 FF A0 08 90 */ fmr f29, f1 -/* 8026716C 002640AC 48 00 00 08 */ b lbl_80267174 -lbl_80267170: -/* 80267170 002640B0 FF A0 08 50 */ fneg f29, f1 -lbl_80267174: -/* 80267174 002640B4 7F C3 F3 78 */ mr r3, r30 -/* 80267178 002640B8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026717C 002640BC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80267180 002640C0 7D 89 03 A6 */ mtctr r12 -/* 80267184 002640C4 4E 80 04 21 */ bctrl -/* 80267188 002640C8 EC 3D 08 2A */ fadds f1, f29, f1 -/* 8026718C 002640CC 48 1A AA 45 */ bl roundAng__Ff -/* 80267190 002640D0 D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 80267194 002640D4 C0 02 CB 24 */ lfs f0, lbl_8051AE84@sda21(r2) -/* 80267198 002640D8 C0 3E 01 FC */ lfs f1, 0x1fc(r30) -/* 8026719C 002640DC D0 3E 01 A8 */ stfs f1, 0x1a8(r30) -/* 802671A0 002640E0 C0 3E 01 94 */ lfs f1, 0x194(r30) -/* 802671A4 002640E4 C0 5E 01 8C */ lfs f2, 0x18c(r30) -/* 802671A8 002640E8 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 802671AC 002640EC EC 42 F8 28 */ fsubs f2, f2, f31 -/* 802671B0 002640F0 EC 21 00 72 */ fmuls f1, f1, f1 -/* 802671B4 002640F4 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 802671B8 002640F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802671BC 002640FC 40 80 00 1C */ bge lbl_802671D8 -/* 802671C0 00264100 C0 02 CB 1C */ lfs f0, lbl_8051AE7C@sda21(r2) -/* 802671C4 00264104 38 60 00 01 */ li r3, 1 -/* 802671C8 00264108 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 802671CC 0026410C D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 802671D0 00264110 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 802671D4 00264114 48 00 00 F4 */ b lbl_802672C8 -lbl_802671D8: -/* 802671D8 00264118 C0 02 CB 58 */ lfs f0, lbl_8051AEB8@sda21(r2) -/* 802671DC 0026411C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802671E0 00264120 40 80 00 78 */ bge lbl_80267258 -/* 802671E4 00264124 7F C3 F3 78 */ mr r3, r30 -/* 802671E8 00264128 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 802671EC 0026412C 81 9E 00 00 */ lwz r12, 0(r30) -/* 802671F0 00264130 C3 84 02 E4 */ lfs f28, 0x2e4(r4) -/* 802671F4 00264134 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802671F8 00264138 7D 89 03 A6 */ mtctr r12 -/* 802671FC 0026413C 4E 80 04 21 */ bctrl -/* 80267200 00264140 4B E6 86 1D */ bl sin -/* 80267204 00264144 7F C3 F3 78 */ mr r3, r30 -/* 80267208 00264148 C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8026720C 0026414C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80267210 00264150 FF 60 08 18 */ frsp f27, f1 -/* 80267214 00264154 C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 80267218 00264158 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8026721C 0026415C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80267220 00264160 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80267224 00264164 D3 C1 00 24 */ stfs f30, 0x24(r1) -/* 80267228 00264168 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026722C 0026416C 7D 89 03 A6 */ mtctr r12 -/* 80267230 00264170 4E 80 04 21 */ bctrl -/* 80267234 00264174 4B E6 80 81 */ bl cos -/* 80267238 00264178 EC 1C 06 F2 */ fmuls f0, f28, f27 -/* 8026723C 0026417C 38 60 00 01 */ li r3, 1 -/* 80267240 00264180 FC 20 08 18 */ frsp f1, f1 -/* 80267244 00264184 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 80267248 00264188 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8026724C 0026418C D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 80267250 00264190 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 80267254 00264194 48 00 00 74 */ b lbl_802672C8 -lbl_80267258: -/* 80267258 00264198 7F C3 F3 78 */ mr r3, r30 -/* 8026725C 0026419C 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 80267260 002641A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80267264 002641A4 C3 84 02 E4 */ lfs f28, 0x2e4(r4) -/* 80267268 002641A8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026726C 002641AC 7D 89 03 A6 */ mtctr r12 -/* 80267270 002641B0 4E 80 04 21 */ bctrl -/* 80267274 002641B4 4B E6 85 A9 */ bl sin -/* 80267278 002641B8 7F C3 F3 78 */ mr r3, r30 -/* 8026727C 002641BC C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 80267280 002641C0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80267284 002641C4 FF 60 08 18 */ frsp f27, f1 -/* 80267288 002641C8 C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8026728C 002641CC C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 80267290 002641D0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80267294 002641D4 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80267298 002641D8 D3 C1 00 18 */ stfs f30, 0x18(r1) -/* 8026729C 002641DC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802672A0 002641E0 7D 89 03 A6 */ mtctr r12 -/* 802672A4 002641E4 4E 80 04 21 */ bctrl -/* 802672A8 002641E8 4B E6 80 0D */ bl cos -/* 802672AC 002641EC EC 1C 06 F2 */ fmuls f0, f28, f27 -/* 802672B0 002641F0 38 60 00 00 */ li r3, 0 -/* 802672B4 002641F4 FC 20 08 18 */ frsp f1, f1 -/* 802672B8 002641F8 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 802672BC 002641FC EC 1C 00 72 */ fmuls f0, f28, f1 -/* 802672C0 00264200 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 802672C4 00264204 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -lbl_802672C8: -/* 802672C8 00264208 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 802672CC 0026420C CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 802672D0 00264210 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 802672D4 00264214 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 802672D8 00264218 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 802672DC 0026421C CB A1 00 80 */ lfd f29, 0x80(r1) -/* 802672E0 00264220 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 802672E4 00264224 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 802672E8 00264228 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 802672EC 0026422C CB 61 00 60 */ lfd f27, 0x60(r1) -/* 802672F0 00264230 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802672F4 00264234 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802672F8 00264238 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802672FC 0026423C 7C 08 03 A6 */ mtlr r0 -/* 80267300 00264240 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80267304 00264244 4E 80 00 20 */ blr - -.global breakTargetBridge__Q34Game4Ujia3ObjFv -breakTargetBridge__Q34Game4Ujia3ObjFv: -/* 80267308 00264248 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026730C 0026424C 7C 08 02 A6 */ mflr r0 -/* 80267310 00264250 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 80267314 00264254 3C A0 80 4B */ lis r5, __vt__Q24Game19InteractBreakBridge@ha -/* 80267318 00264258 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026731C 0026425C 38 C4 A3 00 */ addi r6, r4, __vt__Q24Game11Interaction@l -/* 80267320 00264260 38 05 74 9C */ addi r0, r5, __vt__Q24Game19InteractBreakBridge@l -/* 80267324 00264264 38 81 00 08 */ addi r4, r1, 8 -/* 80267328 00264268 80 E3 00 C0 */ lwz r7, 0xc0(r3) -/* 8026732C 0026426C C0 07 08 1C */ lfs f0, 0x81c(r7) -/* 80267330 00264270 90 C1 00 08 */ stw r6, 8(r1) -/* 80267334 00264274 90 61 00 0C */ stw r3, 0xc(r1) -/* 80267338 00264278 90 01 00 08 */ stw r0, 8(r1) -/* 8026733C 0026427C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80267340 00264280 80 63 02 C8 */ lwz r3, 0x2c8(r3) -/* 80267344 00264284 81 83 00 00 */ lwz r12, 0(r3) -/* 80267348 00264288 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8026734C 0026428C 7D 89 03 A6 */ mtctr r12 -/* 80267350 00264290 4E 80 04 21 */ bctrl -/* 80267354 00264294 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80267358 00264298 7C 08 03 A6 */ mtlr r0 -/* 8026735C 0026429C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80267360 002642A0 4E 80 00 20 */ blr - -.global createAppearEffect__Q34Game4Ujia3ObjFv -createAppearEffect__Q34Game4Ujia3ObjFv: -/* 80267364 002642A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80267368 002642A8 7C 08 02 A6 */ mflr r0 -/* 8026736C 002642AC 3C 80 80 48 */ lis r4, lbl_80485B28@ha -/* 80267370 002642B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80267374 002642B4 38 84 5B 28 */ addi r4, r4, lbl_80485B28@l -/* 80267378 002642B8 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8026737C 002642BC 48 1D 7C 69 */ bl getJoint__Q28SysShape5ModelFPc -/* 80267380 002642C0 48 1C 25 21 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80267384 002642C4 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80267388 002642C8 38 C0 00 00 */ li r6, 0 -/* 8026738C 002642CC 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80267390 002642D0 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 80267394 002642D4 90 01 00 08 */ stw r0, 8(r1) -/* 80267398 002642D8 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 8026739C 002642DC 3C A0 80 4E */ lis r5, __vt__Q23efx11TSimpleMtx2@ha -/* 802673A0 002642E0 3C 80 80 4C */ lis r4, __vt__Q23efx9TUjinkoAp@ha -/* 802673A4 002642E4 90 01 00 08 */ stw r0, 8(r1) -/* 802673A8 002642E8 38 05 6A 00 */ addi r0, r5, __vt__Q23efx11TSimpleMtx2@l -/* 802673AC 002642EC 38 E0 01 CE */ li r7, 0x1ce -/* 802673B0 002642F0 38 A0 01 CF */ li r5, 0x1cf -/* 802673B4 002642F4 90 01 00 08 */ stw r0, 8(r1) -/* 802673B8 002642F8 38 04 29 34 */ addi r0, r4, __vt__Q23efx9TUjinkoAp@l -/* 802673BC 002642FC 38 80 00 00 */ li r4, 0 -/* 802673C0 00264300 90 61 00 18 */ stw r3, 0x18(r1) -/* 802673C4 00264304 38 61 00 08 */ addi r3, r1, 8 -/* 802673C8 00264308 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 802673CC 0026430C B0 A1 00 0E */ sth r5, 0xe(r1) -/* 802673D0 00264310 90 C1 00 10 */ stw r6, 0x10(r1) -/* 802673D4 00264314 90 C1 00 14 */ stw r6, 0x14(r1) -/* 802673D8 00264318 90 01 00 08 */ stw r0, 8(r1) -/* 802673DC 0026431C 48 14 7F BD */ bl create__Q23efx11TSimpleMtx2FPQ23efx3Arg -/* 802673E0 00264320 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802673E4 00264324 7C 08 03 A6 */ mtlr r0 -/* 802673E8 00264328 38 21 00 20 */ addi r1, r1, 0x20 -/* 802673EC 0026432C 4E 80 00 20 */ blr - -.global createDisAppearEffect__Q34Game4Ujia3ObjFv -createDisAppearEffect__Q34Game4Ujia3ObjFv: -/* 802673F0 00264330 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802673F4 00264334 7C 08 02 A6 */ mflr r0 -/* 802673F8 00264338 3C 80 80 48 */ lis r4, lbl_80485B28@ha -/* 802673FC 0026433C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80267400 00264340 38 84 5B 28 */ addi r4, r4, lbl_80485B28@l -/* 80267404 00264344 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80267408 00264348 48 1D 7B DD */ bl getJoint__Q28SysShape5ModelFPc -/* 8026740C 0026434C 48 1C 24 95 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80267410 00264350 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80267414 00264354 38 C0 00 00 */ li r6, 0 -/* 80267418 00264358 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8026741C 0026435C 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 80267420 00264360 90 01 00 08 */ stw r0, 8(r1) -/* 80267424 00264364 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 80267428 00264368 3C A0 80 4E */ lis r5, __vt__Q23efx11TSimpleMtx2@ha -/* 8026742C 0026436C 3C 80 80 4C */ lis r4, __vt__Q23efx9TUjinkoHd@ha -/* 80267430 00264370 90 01 00 08 */ stw r0, 8(r1) -/* 80267434 00264374 38 05 6A 00 */ addi r0, r5, __vt__Q23efx11TSimpleMtx2@l -/* 80267438 00264378 38 E0 01 D1 */ li r7, 0x1d1 -/* 8026743C 0026437C 38 A0 01 D2 */ li r5, 0x1d2 -/* 80267440 00264380 90 01 00 08 */ stw r0, 8(r1) -/* 80267444 00264384 38 04 29 20 */ addi r0, r4, __vt__Q23efx9TUjinkoHd@l -/* 80267448 00264388 38 80 00 00 */ li r4, 0 -/* 8026744C 0026438C 90 61 00 18 */ stw r3, 0x18(r1) -/* 80267450 00264390 38 61 00 08 */ addi r3, r1, 8 -/* 80267454 00264394 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 80267458 00264398 B0 A1 00 0E */ sth r5, 0xe(r1) -/* 8026745C 0026439C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80267460 002643A0 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80267464 002643A4 90 01 00 08 */ stw r0, 8(r1) -/* 80267468 002643A8 48 14 7F 31 */ bl create__Q23efx11TSimpleMtx2FPQ23efx3Arg -/* 8026746C 002643AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80267470 002643B0 7C 08 03 A6 */ mtlr r0 -/* 80267474 002643B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80267478 002643B8 4E 80 00 20 */ blr - -.global createBridgeEffect__Q34Game4Ujia3ObjFv -createBridgeEffect__Q34Game4Ujia3ObjFv: -/* 8026747C 002643BC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80267480 002643C0 7C 08 02 A6 */ mflr r0 -/* 80267484 002643C4 38 82 CB 6C */ addi r4, r2, lbl_8051AECC@sda21 -/* 80267488 002643C8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026748C 002643CC 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80267490 002643D0 48 1D 7B 55 */ bl getJoint__Q28SysShape5ModelFPc -/* 80267494 002643D4 48 1C 24 0D */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80267498 002643D8 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026749C 002643DC C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 802674A0 002643E0 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 802674A4 002643E4 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 802674A8 002643E8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802674AC 002643EC 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 802674B0 002643F0 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 802674B4 002643F4 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 802674B8 002643F8 90 81 00 08 */ stw r4, 8(r1) -/* 802674BC 002643FC 3C 60 80 4C */ lis r3, __vt__Q23efx10TUjinkoEat@ha -/* 802674C0 00264400 38 85 A7 EC */ addi r4, r5, __vt__Q23efx3Arg@l -/* 802674C4 00264404 38 C0 01 D0 */ li r6, 0x1d0 -/* 802674C8 00264408 38 A0 00 00 */ li r5, 0 -/* 802674CC 0026440C 90 01 00 08 */ stw r0, 8(r1) -/* 802674D0 00264410 38 03 29 0C */ addi r0, r3, __vt__Q23efx10TUjinkoEat@l -/* 802674D4 00264414 38 61 00 08 */ addi r3, r1, 8 -/* 802674D8 00264418 90 81 00 14 */ stw r4, 0x14(r1) -/* 802674DC 0026441C 38 81 00 14 */ addi r4, r1, 0x14 -/* 802674E0 00264420 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802674E4 00264424 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 802674E8 00264428 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802674EC 0026442C B0 C1 00 0C */ sth r6, 0xc(r1) -/* 802674F0 00264430 90 A1 00 10 */ stw r5, 0x10(r1) -/* 802674F4 00264434 90 01 00 08 */ stw r0, 8(r1) -/* 802674F8 00264438 48 14 7A 8D */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 802674FC 0026443C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80267500 00264440 7C 08 03 A6 */ mtlr r0 -/* 80267504 00264444 38 21 00 30 */ addi r1, r1, 0x30 -/* 80267508 00264448 4E 80 00 20 */ blr - -.global isUnderground__Q34Game4Ujia3ObjFv -isUnderground__Q34Game4Ujia3ObjFv: -/* 8026750C 0026444C 88 63 02 C1 */ lbz r3, 0x2c1(r3) -/* 80267510 00264450 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game4Ujia3ObjFv -getDownSmokeScale__Q34Game4Ujia3ObjFv: -/* 80267514 00264454 C0 22 CB 74 */ lfs f1, lbl_8051AED4@sda21(r2) -/* 80267518 00264458 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Ujia3ObjFv -getEnemyTypeID__Q34Game4Ujia3ObjFv: -/* 8026751C 0026445C 38 60 00 0C */ li r3, 0xc -/* 80267520 00264460 4E 80 00 20 */ blr - -.global $$2724$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2724$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 80267524 00264464 39 60 00 0C */ li r11, 0xc -/* 80267528 00264468 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8026752C 0026446C 7C 63 5A 14 */ add r3, r3, r11 -/* 80267530 00264470 38 63 FD 2C */ addi r3, r3, -724 -/* 80267534 00264474 4B E9 F3 E8 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2724$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2724$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 80267538 00264478 39 60 00 0C */ li r11, 0xc -/* 8026753C 0026447C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80267540 00264480 7C 63 5A 14 */ add r3, r3, r11 -/* 80267544 00264484 38 63 FD 2C */ addi r3, r3, -724 -/* 80267548 00264488 4B E9 F1 60 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2724$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2724$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 8026754C 0026448C 39 60 00 0C */ li r11, 0xc -/* 80267550 00264490 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80267554 00264494 7C 63 5A 14 */ add r3, r3, r11 -/* 80267558 00264498 38 63 FD 2C */ addi r3, r3, -724 -/* 8026755C 0026449C 4B E9 F1 6C */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2724$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2724$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 80267560 002644A0 39 60 00 0C */ li r11, 0xc -/* 80267564 002644A4 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80267568 002644A8 7C 63 5A 14 */ add r3, r3, r11 -/* 8026756C 002644AC 38 63 FD 2C */ addi r3, r3, -724 -/* 80267570 002644B0 4B E9 F5 08 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2724$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2724$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 80267574 002644B4 39 60 00 0C */ li r11, 0xc -/* 80267578 002644B8 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8026757C 002644BC 7C 63 5A 14 */ add r3, r3, r11 -/* 80267580 002644C0 38 63 FD 2C */ addi r3, r3, -724 -/* 80267584 002644C4 4B E9 F4 C8 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2724$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2724$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 80267588 002644C8 39 60 00 0C */ li r11, 0xc -/* 8026758C 002644CC 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80267590 002644D0 7C 63 5A 14 */ add r3, r3, r11 -/* 80267594 002644D4 38 63 FD 2C */ addi r3, r3, -724 -/* 80267598 002644D8 4B E9 F1 08 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global init__Q34Game4Tobi3FSMFPQ24Game9EnemyBase -init__Q34Game4Tobi3FSMFPQ24Game9EnemyBase: -/* 8026759C 002644DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802675A0 002644E0 7C 08 02 A6 */ mflr r0 -/* 802675A4 002644E4 38 80 00 0E */ li r4, 0xe -/* 802675A8 002644E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802675AC 002644EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802675B0 002644F0 7C 7F 1B 78 */ mr r31, r3 -/* 802675B4 002644F4 4B EC 92 B1 */ bl create__Q24Game17EnemyStateMachineFi -/* 802675B8 002644F8 38 60 00 10 */ li r3, 0x10 -/* 802675BC 002644FC 4B DB C8 E9 */ bl __nw__FUl -/* 802675C0 00264500 7C 64 1B 79 */ or. r4, r3, r3 -/* 802675C4 00264504 41 82 00 3C */ beq lbl_80267600 -/* 802675C8 00264508 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802675CC 0026450C 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 802675D0 00264510 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802675D4 00264514 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi9StateDead@ha -/* 802675D8 00264518 90 04 00 00 */ stw r0, 0(r4) -/* 802675DC 0026451C 38 E0 00 00 */ li r7, 0 -/* 802675E0 00264520 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 802675E4 00264524 38 A2 CB 78 */ addi r5, r2, lbl_8051AED8@sda21 -/* 802675E8 00264528 90 E4 00 04 */ stw r7, 4(r4) -/* 802675EC 0026452C 38 03 4D 54 */ addi r0, r3, __vt__Q34Game4Tobi9StateDead@l -/* 802675F0 00264530 90 E4 00 08 */ stw r7, 8(r4) -/* 802675F4 00264534 90 C4 00 00 */ stw r6, 0(r4) -/* 802675F8 00264538 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802675FC 0026453C 90 04 00 00 */ stw r0, 0(r4) -lbl_80267600: -/* 80267600 00264540 7F E3 FB 78 */ mr r3, r31 -/* 80267604 00264544 4B EC 93 05 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80267608 00264548 38 60 00 10 */ li r3, 0x10 -/* 8026760C 0026454C 4B DB C8 99 */ bl __nw__FUl -/* 80267610 00264550 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267614 00264554 41 82 00 40 */ beq lbl_80267654 -/* 80267618 00264558 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026761C 0026455C 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 80267620 00264560 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267624 00264564 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi10StatePress@ha -/* 80267628 00264568 90 04 00 00 */ stw r0, 0(r4) -/* 8026762C 0026456C 38 00 00 01 */ li r0, 1 -/* 80267630 00264570 38 E0 00 00 */ li r7, 0 -/* 80267634 00264574 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 80267638 00264578 90 04 00 04 */ stw r0, 4(r4) -/* 8026763C 0026457C 38 A2 CB 80 */ addi r5, r2, lbl_8051AEE0@sda21 -/* 80267640 00264580 38 03 4D 30 */ addi r0, r3, __vt__Q34Game4Tobi10StatePress@l -/* 80267644 00264584 90 E4 00 08 */ stw r7, 8(r4) -/* 80267648 00264588 90 C4 00 00 */ stw r6, 0(r4) -/* 8026764C 0026458C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80267650 00264590 90 04 00 00 */ stw r0, 0(r4) -lbl_80267654: -/* 80267654 00264594 7F E3 FB 78 */ mr r3, r31 -/* 80267658 00264598 4B EC 92 B1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026765C 0026459C 38 60 00 10 */ li r3, 0x10 -/* 80267660 002645A0 4B DB C8 45 */ bl __nw__FUl -/* 80267664 002645A4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267668 002645A8 41 82 00 40 */ beq lbl_802676A8 -/* 8026766C 002645AC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80267670 002645B0 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 80267674 002645B4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267678 002645B8 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi9StateStay@ha -/* 8026767C 002645BC 90 04 00 00 */ stw r0, 0(r4) -/* 80267680 002645C0 38 00 00 02 */ li r0, 2 -/* 80267684 002645C4 38 E0 00 00 */ li r7, 0 -/* 80267688 002645C8 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 8026768C 002645CC 90 04 00 04 */ stw r0, 4(r4) -/* 80267690 002645D0 38 A2 CB 88 */ addi r5, r2, lbl_8051AEE8@sda21 -/* 80267694 002645D4 38 03 4D 0C */ addi r0, r3, __vt__Q34Game4Tobi9StateStay@l -/* 80267698 002645D8 90 E4 00 08 */ stw r7, 8(r4) -/* 8026769C 002645DC 90 C4 00 00 */ stw r6, 0(r4) -/* 802676A0 002645E0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802676A4 002645E4 90 04 00 00 */ stw r0, 0(r4) -lbl_802676A8: -/* 802676A8 002645E8 7F E3 FB 78 */ mr r3, r31 -/* 802676AC 002645EC 4B EC 92 5D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802676B0 002645F0 38 60 00 10 */ li r3, 0x10 -/* 802676B4 002645F4 4B DB C7 F1 */ bl __nw__FUl -/* 802676B8 002645F8 7C 64 1B 79 */ or. r4, r3, r3 -/* 802676BC 002645FC 41 82 00 40 */ beq lbl_802676FC -/* 802676C0 00264600 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802676C4 00264604 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 802676C8 00264608 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802676CC 0026460C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi11StateAppear@ha -/* 802676D0 00264610 90 04 00 00 */ stw r0, 0(r4) -/* 802676D4 00264614 38 00 00 03 */ li r0, 3 -/* 802676D8 00264618 38 E0 00 00 */ li r7, 0 -/* 802676DC 0026461C 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 802676E0 00264620 90 04 00 04 */ stw r0, 4(r4) -/* 802676E4 00264624 38 A2 CB 90 */ addi r5, r2, lbl_8051AEF0@sda21 -/* 802676E8 00264628 38 03 4C E8 */ addi r0, r3, __vt__Q34Game4Tobi11StateAppear@l -/* 802676EC 0026462C 90 E4 00 08 */ stw r7, 8(r4) -/* 802676F0 00264630 90 C4 00 00 */ stw r6, 0(r4) -/* 802676F4 00264634 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802676F8 00264638 90 04 00 00 */ stw r0, 0(r4) -lbl_802676FC: -/* 802676FC 0026463C 7F E3 FB 78 */ mr r3, r31 -/* 80267700 00264640 4B EC 92 09 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80267704 00264644 38 60 00 10 */ li r3, 0x10 -/* 80267708 00264648 4B DB C7 9D */ bl __nw__FUl -/* 8026770C 0026464C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267710 00264650 41 82 00 40 */ beq lbl_80267750 -/* 80267714 00264654 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80267718 00264658 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 8026771C 0026465C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267720 00264660 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi9StateDive@ha -/* 80267724 00264664 90 04 00 00 */ stw r0, 0(r4) -/* 80267728 00264668 38 00 00 04 */ li r0, 4 -/* 8026772C 0026466C 38 E0 00 00 */ li r7, 0 -/* 80267730 00264670 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 80267734 00264674 90 04 00 04 */ stw r0, 4(r4) -/* 80267738 00264678 38 A2 CB 98 */ addi r5, r2, lbl_8051AEF8@sda21 -/* 8026773C 0026467C 38 03 4C C4 */ addi r0, r3, __vt__Q34Game4Tobi9StateDive@l -/* 80267740 00264680 90 E4 00 08 */ stw r7, 8(r4) -/* 80267744 00264684 90 C4 00 00 */ stw r6, 0(r4) -/* 80267748 00264688 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026774C 0026468C 90 04 00 00 */ stw r0, 0(r4) -lbl_80267750: -/* 80267750 00264690 7F E3 FB 78 */ mr r3, r31 -/* 80267754 00264694 4B EC 91 B5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80267758 00264698 38 60 00 10 */ li r3, 0x10 -/* 8026775C 0026469C 4B DB C7 49 */ bl __nw__FUl -/* 80267760 002646A0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267764 002646A4 41 82 00 40 */ beq lbl_802677A4 -/* 80267768 002646A8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026776C 002646AC 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 80267770 002646B0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267774 002646B4 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi9StateMove@ha -/* 80267778 002646B8 90 04 00 00 */ stw r0, 0(r4) -/* 8026777C 002646BC 38 00 00 05 */ li r0, 5 -/* 80267780 002646C0 38 E0 00 00 */ li r7, 0 -/* 80267784 002646C4 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 80267788 002646C8 90 04 00 04 */ stw r0, 4(r4) -/* 8026778C 002646CC 38 A2 CB A0 */ addi r5, r2, lbl_8051AF00@sda21 -/* 80267790 002646D0 38 03 4C A0 */ addi r0, r3, __vt__Q34Game4Tobi9StateMove@l -/* 80267794 002646D4 90 E4 00 08 */ stw r7, 8(r4) -/* 80267798 002646D8 90 C4 00 00 */ stw r6, 0(r4) -/* 8026779C 002646DC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802677A0 002646E0 90 04 00 00 */ stw r0, 0(r4) -lbl_802677A4: -/* 802677A4 002646E4 7F E3 FB 78 */ mr r3, r31 -/* 802677A8 002646E8 4B EC 91 61 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802677AC 002646EC 38 60 00 10 */ li r3, 0x10 -/* 802677B0 002646F0 4B DB C6 F5 */ bl __nw__FUl -/* 802677B4 002646F4 7C 64 1B 79 */ or. r4, r3, r3 -/* 802677B8 002646F8 41 82 00 44 */ beq lbl_802677FC -/* 802677BC 002646FC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802677C0 00264700 3C C0 80 4C */ lis r6, __vt__Q34Game4Tobi5State@ha -/* 802677C4 00264704 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802677C8 00264708 3C A0 80 48 */ lis r5, lbl_80485B38@ha -/* 802677CC 0026470C 90 04 00 00 */ stw r0, 0(r4) -/* 802677D0 00264710 38 00 00 06 */ li r0, 6 -/* 802677D4 00264714 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi13StateMoveSide@ha -/* 802677D8 00264718 38 E0 00 00 */ li r7, 0 -/* 802677DC 0026471C 90 04 00 04 */ stw r0, 4(r4) -/* 802677E0 00264720 38 C6 4D 78 */ addi r6, r6, __vt__Q34Game4Tobi5State@l -/* 802677E4 00264724 38 A5 5B 38 */ addi r5, r5, lbl_80485B38@l -/* 802677E8 00264728 38 03 4C 7C */ addi r0, r3, __vt__Q34Game4Tobi13StateMoveSide@l -/* 802677EC 0026472C 90 E4 00 08 */ stw r7, 8(r4) -/* 802677F0 00264730 90 C4 00 00 */ stw r6, 0(r4) -/* 802677F4 00264734 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802677F8 00264738 90 04 00 00 */ stw r0, 0(r4) -lbl_802677FC: -/* 802677FC 0026473C 7F E3 FB 78 */ mr r3, r31 -/* 80267800 00264740 4B EC 91 09 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80267804 00264744 38 60 00 10 */ li r3, 0x10 -/* 80267808 00264748 4B DB C6 9D */ bl __nw__FUl -/* 8026780C 0026474C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267810 00264750 41 82 00 44 */ beq lbl_80267854 -/* 80267814 00264754 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80267818 00264758 3C C0 80 4C */ lis r6, __vt__Q34Game4Tobi5State@ha -/* 8026781C 0026475C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267820 00264760 3C A0 80 48 */ lis r5, lbl_80485B44@ha -/* 80267824 00264764 90 04 00 00 */ stw r0, 0(r4) -/* 80267828 00264768 38 00 00 07 */ li r0, 7 -/* 8026782C 0026476C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi15StateMoveCentre@ha -/* 80267830 00264770 38 E0 00 00 */ li r7, 0 -/* 80267834 00264774 90 04 00 04 */ stw r0, 4(r4) -/* 80267838 00264778 38 C6 4D 78 */ addi r6, r6, __vt__Q34Game4Tobi5State@l -/* 8026783C 0026477C 38 A5 5B 44 */ addi r5, r5, lbl_80485B44@l -/* 80267840 00264780 38 03 4C 58 */ addi r0, r3, __vt__Q34Game4Tobi15StateMoveCentre@l -/* 80267844 00264784 90 E4 00 08 */ stw r7, 8(r4) -/* 80267848 00264788 90 C4 00 00 */ stw r6, 0(r4) -/* 8026784C 0026478C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80267850 00264790 90 04 00 00 */ stw r0, 0(r4) -lbl_80267854: -/* 80267854 00264794 7F E3 FB 78 */ mr r3, r31 -/* 80267858 00264798 4B EC 90 B1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026785C 0026479C 38 60 00 10 */ li r3, 0x10 -/* 80267860 002647A0 4B DB C6 45 */ bl __nw__FUl -/* 80267864 002647A4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267868 002647A8 41 82 00 40 */ beq lbl_802678A8 -/* 8026786C 002647AC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80267870 002647B0 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 80267874 002647B4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267878 002647B8 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi12StateMoveTop@ha -/* 8026787C 002647BC 90 04 00 00 */ stw r0, 0(r4) -/* 80267880 002647C0 38 00 00 08 */ li r0, 8 -/* 80267884 002647C4 38 E0 00 00 */ li r7, 0 -/* 80267888 002647C8 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 8026788C 002647CC 90 04 00 04 */ stw r0, 4(r4) -/* 80267890 002647D0 38 A2 CB A8 */ addi r5, r2, lbl_8051AF08@sda21 -/* 80267894 002647D4 38 03 4C 34 */ addi r0, r3, __vt__Q34Game4Tobi12StateMoveTop@l -/* 80267898 002647D8 90 E4 00 08 */ stw r7, 8(r4) -/* 8026789C 002647DC 90 C4 00 00 */ stw r6, 0(r4) -/* 802678A0 002647E0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802678A4 002647E4 90 04 00 00 */ stw r0, 0(r4) -lbl_802678A8: -/* 802678A8 002647E8 7F E3 FB 78 */ mr r3, r31 -/* 802678AC 002647EC 4B EC 90 5D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802678B0 002647F0 38 60 00 10 */ li r3, 0x10 -/* 802678B4 002647F4 4B DB C5 F1 */ bl __nw__FUl -/* 802678B8 002647F8 7C 64 1B 79 */ or. r4, r3, r3 -/* 802678BC 002647FC 41 82 00 40 */ beq lbl_802678FC -/* 802678C0 00264800 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802678C4 00264804 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 802678C8 00264808 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802678CC 0026480C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi11StateGoHome@ha -/* 802678D0 00264810 90 04 00 00 */ stw r0, 0(r4) -/* 802678D4 00264814 38 00 00 09 */ li r0, 9 -/* 802678D8 00264818 38 E0 00 00 */ li r7, 0 -/* 802678DC 0026481C 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 802678E0 00264820 90 04 00 04 */ stw r0, 4(r4) -/* 802678E4 00264824 38 A2 CB B0 */ addi r5, r2, lbl_8051AF10@sda21 -/* 802678E8 00264828 38 03 4C 10 */ addi r0, r3, __vt__Q34Game4Tobi11StateGoHome@l -/* 802678EC 0026482C 90 E4 00 08 */ stw r7, 8(r4) -/* 802678F0 00264830 90 C4 00 00 */ stw r6, 0(r4) -/* 802678F4 00264834 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802678F8 00264838 90 04 00 00 */ stw r0, 0(r4) -lbl_802678FC: -/* 802678FC 0026483C 7F E3 FB 78 */ mr r3, r31 -/* 80267900 00264840 4B EC 90 09 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80267904 00264844 38 60 00 10 */ li r3, 0x10 -/* 80267908 00264848 4B DB C5 9D */ bl __nw__FUl -/* 8026790C 0026484C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267910 00264850 41 82 00 40 */ beq lbl_80267950 -/* 80267914 00264854 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80267918 00264858 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 8026791C 0026485C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267920 00264860 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi8StateFly@ha -/* 80267924 00264864 90 04 00 00 */ stw r0, 0(r4) -/* 80267928 00264868 38 00 00 0A */ li r0, 0xa -/* 8026792C 0026486C 38 E0 00 00 */ li r7, 0 -/* 80267930 00264870 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 80267934 00264874 90 04 00 04 */ stw r0, 4(r4) -/* 80267938 00264878 38 A2 CB B8 */ addi r5, r2, lbl_8051AF18@sda21 -/* 8026793C 0026487C 38 03 4B EC */ addi r0, r3, __vt__Q34Game4Tobi8StateFly@l -/* 80267940 00264880 90 E4 00 08 */ stw r7, 8(r4) -/* 80267944 00264884 90 C4 00 00 */ stw r6, 0(r4) -/* 80267948 00264888 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026794C 0026488C 90 04 00 00 */ stw r0, 0(r4) -lbl_80267950: -/* 80267950 00264890 7F E3 FB 78 */ mr r3, r31 -/* 80267954 00264894 4B EC 8F B5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80267958 00264898 38 60 00 10 */ li r3, 0x10 -/* 8026795C 0026489C 4B DB C5 49 */ bl __nw__FUl -/* 80267960 002648A0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267964 002648A4 41 82 00 40 */ beq lbl_802679A4 -/* 80267968 002648A8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026796C 002648AC 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 80267970 002648B0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267974 002648B4 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi12StateAttack1@ha -/* 80267978 002648B8 90 04 00 00 */ stw r0, 0(r4) -/* 8026797C 002648BC 38 00 00 0B */ li r0, 0xb -/* 80267980 002648C0 38 E0 00 00 */ li r7, 0 -/* 80267984 002648C4 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 80267988 002648C8 90 04 00 04 */ stw r0, 4(r4) -/* 8026798C 002648CC 38 A2 CB BC */ addi r5, r2, lbl_8051AF1C@sda21 -/* 80267990 002648D0 38 03 4B C8 */ addi r0, r3, __vt__Q34Game4Tobi12StateAttack1@l -/* 80267994 002648D4 90 E4 00 08 */ stw r7, 8(r4) -/* 80267998 002648D8 90 C4 00 00 */ stw r6, 0(r4) -/* 8026799C 002648DC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802679A0 002648E0 90 04 00 00 */ stw r0, 0(r4) -lbl_802679A4: -/* 802679A4 002648E4 7F E3 FB 78 */ mr r3, r31 -/* 802679A8 002648E8 4B EC 8F 61 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802679AC 002648EC 38 60 00 10 */ li r3, 0x10 -/* 802679B0 002648F0 4B DB C4 F5 */ bl __nw__FUl -/* 802679B4 002648F4 7C 64 1B 79 */ or. r4, r3, r3 -/* 802679B8 002648F8 41 82 00 40 */ beq lbl_802679F8 -/* 802679BC 002648FC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802679C0 00264900 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 802679C4 00264904 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802679C8 00264908 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi12StateAttack2@ha -/* 802679CC 0026490C 90 04 00 00 */ stw r0, 0(r4) -/* 802679D0 00264910 38 00 00 0C */ li r0, 0xc -/* 802679D4 00264914 38 E0 00 00 */ li r7, 0 -/* 802679D8 00264918 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 802679DC 0026491C 90 04 00 04 */ stw r0, 4(r4) -/* 802679E0 00264920 38 A2 CB C4 */ addi r5, r2, lbl_8051AF24@sda21 -/* 802679E4 00264924 38 03 4B A4 */ addi r0, r3, __vt__Q34Game4Tobi12StateAttack2@l -/* 802679E8 00264928 90 E4 00 08 */ stw r7, 8(r4) -/* 802679EC 0026492C 90 C4 00 00 */ stw r6, 0(r4) -/* 802679F0 00264930 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802679F4 00264934 90 04 00 00 */ stw r0, 0(r4) -lbl_802679F8: -/* 802679F8 00264938 7F E3 FB 78 */ mr r3, r31 -/* 802679FC 0026493C 4B EC 8F 0D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80267A00 00264940 38 60 00 10 */ li r3, 0x10 -/* 80267A04 00264944 4B DB C4 A1 */ bl __nw__FUl -/* 80267A08 00264948 7C 64 1B 79 */ or. r4, r3, r3 -/* 80267A0C 0026494C 41 82 00 40 */ beq lbl_80267A4C -/* 80267A10 00264950 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80267A14 00264954 3C A0 80 4C */ lis r5, __vt__Q34Game4Tobi5State@ha -/* 80267A18 00264958 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80267A1C 0026495C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi8StateEat@ha -/* 80267A20 00264960 90 04 00 00 */ stw r0, 0(r4) -/* 80267A24 00264964 38 00 00 0D */ li r0, 0xd -/* 80267A28 00264968 38 E0 00 00 */ li r7, 0 -/* 80267A2C 0026496C 38 C5 4D 78 */ addi r6, r5, __vt__Q34Game4Tobi5State@l -/* 80267A30 00264970 90 04 00 04 */ stw r0, 4(r4) -/* 80267A34 00264974 38 A2 CB CC */ addi r5, r2, lbl_8051AF2C@sda21 -/* 80267A38 00264978 38 03 4B 80 */ addi r0, r3, __vt__Q34Game4Tobi8StateEat@l -/* 80267A3C 0026497C 90 E4 00 08 */ stw r7, 8(r4) -/* 80267A40 00264980 90 C4 00 00 */ stw r6, 0(r4) -/* 80267A44 00264984 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80267A48 00264988 90 04 00 00 */ stw r0, 0(r4) -lbl_80267A4C: -/* 80267A4C 0026498C 7F E3 FB 78 */ mr r3, r31 -/* 80267A50 00264990 4B EC 8E B9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80267A54 00264994 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267A58 00264998 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267A5C 0026499C 7C 08 03 A6 */ mtlr r0 -/* 80267A60 002649A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267A64 002649A4 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80267A68 002649A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267A6C 002649AC 7C 08 02 A6 */ mflr r0 -/* 80267A70 002649B0 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80267A74 002649B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267A78 002649B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267A7C 002649BC 7C 9F 23 78 */ mr r31, r4 -/* 80267A80 002649C0 7F E3 FB 78 */ mr r3, r31 -/* 80267A84 002649C4 D0 04 02 00 */ stfs f0, 0x200(r4) -/* 80267A88 002649C8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80267A8C 002649CC 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80267A90 002649D0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80267A94 002649D4 4B E9 DC 8D */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80267A98 002649D8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267A9C 002649DC 7F E3 FB 78 */ mr r3, r31 -/* 80267AA0 002649E0 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80267AA4 002649E4 38 80 00 00 */ li r4, 0 -/* 80267AA8 002649E8 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80267AAC 002649EC 38 A0 00 00 */ li r5, 0 -/* 80267AB0 002649F0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267AB4 002649F4 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80267AB8 002649F8 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80267ABC 002649FC D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80267AC0 00264A00 4B E9 D5 45 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80267AC4 00264A04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267AC8 00264A08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267ACC 00264A0C 7C 08 03 A6 */ mtlr r0 -/* 80267AD0 00264A10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267AD4 00264A14 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi9StateDeadFPQ24Game9EnemyBase -exec__Q34Game4Tobi9StateDeadFPQ24Game9EnemyBase: -/* 80267AD8 00264A18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267ADC 00264A1C 7C 08 02 A6 */ mflr r0 -/* 80267AE0 00264A20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267AE4 00264A24 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80267AE8 00264A28 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80267AEC 00264A2C 28 00 00 00 */ cmplwi r0, 0 -/* 80267AF0 00264A30 41 82 00 1C */ beq lbl_80267B0C -/* 80267AF4 00264A34 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80267AF8 00264A38 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80267AFC 00264A3C 40 82 00 10 */ bne lbl_80267B0C -/* 80267B00 00264A40 7C 83 23 78 */ mr r3, r4 -/* 80267B04 00264A44 38 80 00 00 */ li r4, 0 -/* 80267B08 00264A48 4B ED 35 E9 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80267B0C: -/* 80267B0C 00264A4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267B10 00264A50 7C 08 03 A6 */ mtlr r0 -/* 80267B14 00264A54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267B18 00264A58 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi9StateDeadFPQ24Game9EnemyBase: -/* 80267B1C 00264A5C 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80267B20 00264A60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267B24 00264A64 7C 08 02 A6 */ mflr r0 -/* 80267B28 00264A68 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80267B2C 00264A6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267B30 00264A70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267B34 00264A74 7C 9F 23 78 */ mr r31, r4 -/* 80267B38 00264A78 7F E3 FB 78 */ mr r3, r31 -/* 80267B3C 00264A7C D0 04 02 00 */ stfs f0, 0x200(r4) -/* 80267B40 00264A80 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80267B44 00264A84 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80267B48 00264A88 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80267B4C 00264A8C 4B E9 DB D5 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80267B50 00264A90 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267B54 00264A94 7F E3 FB 78 */ mr r3, r31 -/* 80267B58 00264A98 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80267B5C 00264A9C 38 80 00 01 */ li r4, 1 -/* 80267B60 00264AA0 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80267B64 00264AA4 38 A0 00 00 */ li r5, 0 -/* 80267B68 00264AA8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267B6C 00264AAC D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80267B70 00264AB0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80267B74 00264AB4 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80267B78 00264AB8 4B E9 D4 8D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80267B7C 00264ABC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267B80 00264AC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267B84 00264AC4 7C 08 03 A6 */ mtlr r0 -/* 80267B88 00264AC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267B8C 00264ACC 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi10StatePressFPQ24Game9EnemyBase -exec__Q34Game4Tobi10StatePressFPQ24Game9EnemyBase: -/* 80267B90 00264AD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267B94 00264AD4 7C 08 02 A6 */ mflr r0 -/* 80267B98 00264AD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267B9C 00264ADC 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80267BA0 00264AE0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80267BA4 00264AE4 28 00 00 00 */ cmplwi r0, 0 -/* 80267BA8 00264AE8 41 82 00 1C */ beq lbl_80267BC4 -/* 80267BAC 00264AEC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80267BB0 00264AF0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80267BB4 00264AF4 40 82 00 10 */ bne lbl_80267BC4 -/* 80267BB8 00264AF8 7C 83 23 78 */ mr r3, r4 -/* 80267BBC 00264AFC 38 80 00 00 */ li r4, 0 -/* 80267BC0 00264B00 4B ED 35 31 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80267BC4: -/* 80267BC4 00264B04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267BC8 00264B08 7C 08 03 A6 */ mtlr r0 -/* 80267BCC 00264B0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267BD0 00264B10 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi10StatePressFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi10StatePressFPQ24Game9EnemyBase: -/* 80267BD4 00264B14 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80267BD8 00264B18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267BDC 00264B1C 7C 08 02 A6 */ mflr r0 -/* 80267BE0 00264B20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267BE4 00264B24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267BE8 00264B28 7C 9F 23 78 */ mr r31, r4 -/* 80267BEC 00264B2C 7F E3 FB 78 */ mr r3, r31 -/* 80267BF0 00264B30 48 00 26 8D */ bl resetAppearCheck__Q34Game4Tobi3ObjFv -/* 80267BF4 00264B34 7F E3 FB 78 */ mr r3, r31 -/* 80267BF8 00264B38 38 80 00 00 */ li r4, 0 -/* 80267BFC 00264B3C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80267C00 00264B40 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 80267C04 00264B44 7D 89 03 A6 */ mtctr r12 -/* 80267C08 00264B48 4E 80 04 21 */ bctrl -/* 80267C0C 00264B4C 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 80267C10 00264B50 38 00 00 01 */ li r0, 1 -/* 80267C14 00264B54 7F E3 FB 78 */ mr r3, r31 -/* 80267C18 00264B58 60 84 00 01 */ ori r4, r4, 1 -/* 80267C1C 00264B5C 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80267C20 00264B60 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 80267C24 00264B64 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267C28 00264B68 64 00 00 40 */ oris r0, r0, 0x40 -/* 80267C2C 00264B6C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267C30 00264B70 4B E9 FB 4D */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80267C34 00264B74 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267C38 00264B78 7F E3 FB 78 */ mr r3, r31 -/* 80267C3C 00264B7C C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80267C40 00264B80 38 80 00 02 */ li r4, 2 -/* 80267C44 00264B84 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 80267C48 00264B88 38 A0 00 00 */ li r5, 0 -/* 80267C4C 00264B8C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267C50 00264B90 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267C54 00264B94 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf -/* 80267C58 00264B98 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267C5C 00264B9C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267C60 00264BA0 64 00 40 00 */ oris r0, r0, 0x4000 -/* 80267C64 00264BA4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267C68 00264BA8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80267C6C 00264BAC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80267C70 00264BB0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80267C74 00264BB4 4B E9 D3 91 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80267C78 00264BB8 7F E3 FB 78 */ mr r3, r31 -/* 80267C7C 00264BBC 4B E9 F6 65 */ bl stopMotion__Q24Game9EnemyBaseFv -/* 80267C80 00264BC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267C84 00264BC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267C88 00264BC8 7C 08 03 A6 */ mtlr r0 -/* 80267C8C 00264BCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267C90 00264BD0 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi9StateStayFPQ24Game9EnemyBase -exec__Q34Game4Tobi9StateStayFPQ24Game9EnemyBase: -/* 80267C94 00264BD4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80267C98 00264BD8 7C 08 02 A6 */ mflr r0 -/* 80267C9C 00264BDC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80267CA0 00264BE0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80267CA4 00264BE4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80267CA8 00264BE8 7C 9E 23 78 */ mr r30, r4 -/* 80267CAC 00264BEC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80267CB0 00264BF0 7C 7D 1B 78 */ mr r29, r3 -/* 80267CB4 00264BF4 7F C3 F3 78 */ mr r3, r30 -/* 80267CB8 00264BF8 48 00 26 E1 */ bl setBridgeSearch__Q34Game4Tobi3ObjFv -/* 80267CBC 00264BFC 80 FE 00 C0 */ lwz r7, 0xc0(r30) -/* 80267CC0 00264C00 7F C3 F3 78 */ mr r3, r30 -/* 80267CC4 00264C04 38 80 00 00 */ li r4, 0 -/* 80267CC8 00264C08 38 A0 00 00 */ li r5, 0 -/* 80267CCC 00264C0C C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80267CD0 00264C10 38 C0 00 00 */ li r6, 0 -/* 80267CD4 00264C14 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80267CD8 00264C18 4B EA B3 79 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80267CDC 00264C1C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80267CE0 00264C20 40 82 00 14 */ bne lbl_80267CF4 -/* 80267CE4 00264C24 7F C3 F3 78 */ mr r3, r30 -/* 80267CE8 00264C28 48 00 2B 71 */ bl isBreakBridge__Q34Game4Tobi3ObjFv -/* 80267CEC 00264C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80267CF0 00264C30 41 82 00 38 */ beq lbl_80267D28 -lbl_80267CF4: -/* 80267CF4 00264C34 7F C3 F3 78 */ mr r3, r30 -/* 80267CF8 00264C38 48 00 26 39 */ bl isAppearCheck__Q34Game4Tobi3ObjFv -/* 80267CFC 00264C3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80267D00 00264C40 41 82 00 28 */ beq lbl_80267D28 -/* 80267D04 00264C44 93 FE 02 30 */ stw r31, 0x230(r30) -/* 80267D08 00264C48 7F A3 EB 78 */ mr r3, r29 -/* 80267D0C 00264C4C 7F C4 F3 78 */ mr r4, r30 -/* 80267D10 00264C50 38 A0 00 03 */ li r5, 3 -/* 80267D14 00264C54 81 9D 00 00 */ lwz r12, 0(r29) -/* 80267D18 00264C58 38 C0 00 00 */ li r6, 0 -/* 80267D1C 00264C5C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80267D20 00264C60 7D 89 03 A6 */ mtctr r12 -/* 80267D24 00264C64 4E 80 04 21 */ bctrl -lbl_80267D28: -/* 80267D28 00264C68 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80267D2C 00264C6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80267D30 00264C70 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80267D34 00264C74 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80267D38 00264C78 7C 08 03 A6 */ mtlr r0 -/* 80267D3C 00264C7C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80267D40 00264C80 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi9StateStayFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi9StateStayFPQ24Game9EnemyBase: -/* 80267D44 00264C84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267D48 00264C88 7C 08 02 A6 */ mflr r0 -/* 80267D4C 00264C8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267D50 00264C90 7C 80 23 78 */ mr r0, r4 -/* 80267D54 00264C94 38 80 00 01 */ li r4, 1 -/* 80267D58 00264C98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267D5C 00264C9C 7C 1F 03 78 */ mr r31, r0 -/* 80267D60 00264CA0 7F E3 FB 78 */ mr r3, r31 -/* 80267D64 00264CA4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80267D68 00264CA8 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 80267D6C 00264CAC 7D 89 03 A6 */ mtctr r12 -/* 80267D70 00264CB0 4E 80 04 21 */ bctrl -/* 80267D74 00264CB4 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 80267D78 00264CB8 38 00 00 00 */ li r0, 0 -/* 80267D7C 00264CBC 7F E3 FB 78 */ mr r3, r31 -/* 80267D80 00264CC0 54 84 00 3C */ rlwinm r4, r4, 0, 0, 0x1e -/* 80267D84 00264CC4 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80267D88 00264CC8 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 80267D8C 00264CCC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267D90 00264CD0 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 80267D94 00264CD4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267D98 00264CD8 4B E9 F9 FD */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80267D9C 00264CDC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267DA0 00264CE0 60 00 80 00 */ ori r0, r0, 0x8000 -/* 80267DA4 00264CE4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267DA8 00264CE8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267DAC 00264CEC 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 -/* 80267DB0 00264CF0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267DB4 00264CF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267DB8 00264CF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267DBC 00264CFC 7C 08 03 A6 */ mtlr r0 -/* 80267DC0 00264D00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267DC4 00264D04 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80267DC8 00264D08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267DCC 00264D0C 7C 08 02 A6 */ mflr r0 -/* 80267DD0 00264D10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267DD4 00264D14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267DD8 00264D18 7C 9F 23 78 */ mr r31, r4 -/* 80267DDC 00264D1C 7F E3 FB 78 */ mr r3, r31 -/* 80267DE0 00264D20 48 00 21 F5 */ bl lifeIncrement__Q34Game4Tobi3ObjFv -/* 80267DE4 00264D24 7F E3 FB 78 */ mr r3, r31 -/* 80267DE8 00264D28 4B E9 F9 95 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80267DEC 00264D2C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267DF0 00264D30 7F E3 FB 78 */ mr r3, r31 -/* 80267DF4 00264D34 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80267DF8 00264D38 64 00 00 20 */ oris r0, r0, 0x20 -/* 80267DFC 00264D3C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267E00 00264D40 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267E04 00264D44 60 00 08 00 */ ori r0, r0, 0x800 -/* 80267E08 00264D48 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267E0C 00264D4C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80267E10 00264D50 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80267E14 00264D54 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80267E18 00264D58 4B E9 9B B5 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80267E1C 00264D5C 7F E3 FB 78 */ mr r3, r31 -/* 80267E20 00264D60 38 80 00 02 */ li r4, 2 -/* 80267E24 00264D64 38 A0 00 00 */ li r5, 0 -/* 80267E28 00264D68 4B E9 D1 DD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80267E2C 00264D6C 7F E3 FB 78 */ mr r3, r31 -/* 80267E30 00264D70 48 00 32 CD */ bl createAppearEffect__Q34Game4Tobi3ObjFv -/* 80267E34 00264D74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267E38 00264D78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267E3C 00264D7C 7C 08 03 A6 */ mtlr r0 -/* 80267E40 00264D80 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267E44 00264D84 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi11StateAppearFPQ24Game9EnemyBase -exec__Q34Game4Tobi11StateAppearFPQ24Game9EnemyBase: -/* 80267E48 00264D88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267E4C 00264D8C 7C 08 02 A6 */ mflr r0 -/* 80267E50 00264D90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267E54 00264D94 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80267E58 00264D98 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80267E5C 00264D9C 28 00 00 00 */ cmplwi r0, 0 -/* 80267E60 00264DA0 41 82 00 58 */ beq lbl_80267EB8 -/* 80267E64 00264DA4 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80267E68 00264DA8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80267E6C 00264DAC 40 82 00 4C */ bne lbl_80267EB8 -/* 80267E70 00264DB0 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80267E74 00264DB4 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80267E78 00264DB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80267E7C 00264DBC 4C 40 13 82 */ cror 2, 0, 2 -/* 80267E80 00264DC0 40 82 00 20 */ bne lbl_80267EA0 -/* 80267E84 00264DC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80267E88 00264DC8 38 A0 00 00 */ li r5, 0 -/* 80267E8C 00264DCC 38 C0 00 00 */ li r6, 0 -/* 80267E90 00264DD0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80267E94 00264DD4 7D 89 03 A6 */ mtctr r12 -/* 80267E98 00264DD8 4E 80 04 21 */ bctrl -/* 80267E9C 00264DDC 48 00 00 1C */ b lbl_80267EB8 -lbl_80267EA0: -/* 80267EA0 00264DE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80267EA4 00264DE4 38 A0 00 05 */ li r5, 5 -/* 80267EA8 00264DE8 38 C0 00 00 */ li r6, 0 -/* 80267EAC 00264DEC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80267EB0 00264DF0 7D 89 03 A6 */ mtctr r12 -/* 80267EB4 00264DF4 4E 80 04 21 */ bctrl -lbl_80267EB8: -/* 80267EB8 00264DF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267EBC 00264DFC 7C 08 03 A6 */ mtlr r0 -/* 80267EC0 00264E00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267EC4 00264E04 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi11StateAppearFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi11StateAppearFPQ24Game9EnemyBase: -/* 80267EC8 00264E08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267ECC 00264E0C 7C 08 02 A6 */ mflr r0 -/* 80267ED0 00264E10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267ED4 00264E14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267ED8 00264E18 7C 9F 23 78 */ mr r31, r4 -/* 80267EDC 00264E1C 7F E3 FB 78 */ mr r3, r31 -/* 80267EE0 00264E20 4B E9 F8 B5 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80267EE4 00264E24 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267EE8 00264E28 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80267EEC 00264E2C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267EF0 00264E30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267EF4 00264E34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267EF8 00264E38 7C 08 03 A6 */ mtlr r0 -/* 80267EFC 00264E3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267F00 00264E40 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi9StateDiveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi9StateDiveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80267F04 00264E44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267F08 00264E48 7C 08 02 A6 */ mflr r0 -/* 80267F0C 00264E4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267F10 00264E50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267F14 00264E54 7C 9F 23 78 */ mr r31, r4 -/* 80267F18 00264E58 7F E3 FB 78 */ mr r3, r31 -/* 80267F1C 00264E5C 4B E9 F8 61 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80267F20 00264E60 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267F24 00264E64 7F E3 FB 78 */ mr r3, r31 -/* 80267F28 00264E68 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80267F2C 00264E6C 64 00 00 40 */ oris r0, r0, 0x40 -/* 80267F30 00264E70 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267F34 00264E74 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80267F38 00264E78 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80267F3C 00264E7C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80267F40 00264E80 4B E9 9A 3D */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80267F44 00264E84 7F E3 FB 78 */ mr r3, r31 -/* 80267F48 00264E88 38 80 00 03 */ li r4, 3 -/* 80267F4C 00264E8C 38 A0 00 00 */ li r5, 0 -/* 80267F50 00264E90 4B E9 D0 B5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80267F54 00264E94 7F E3 FB 78 */ mr r3, r31 -/* 80267F58 00264E98 48 00 32 31 */ bl createDisAppearEffect__Q34Game4Tobi3ObjFv -/* 80267F5C 00264E9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267F60 00264EA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267F64 00264EA4 7C 08 03 A6 */ mtlr r0 -/* 80267F68 00264EA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267F6C 00264EAC 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi9StateDiveFPQ24Game9EnemyBase -exec__Q34Game4Tobi9StateDiveFPQ24Game9EnemyBase: -/* 80267F70 00264EB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267F74 00264EB4 7C 08 02 A6 */ mflr r0 -/* 80267F78 00264EB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267F7C 00264EBC 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80267F80 00264EC0 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80267F84 00264EC4 28 00 00 00 */ cmplwi r0, 0 -/* 80267F88 00264EC8 41 82 00 28 */ beq lbl_80267FB0 -/* 80267F8C 00264ECC 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80267F90 00264ED0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80267F94 00264ED4 40 82 00 1C */ bne lbl_80267FB0 -/* 80267F98 00264ED8 81 83 00 00 */ lwz r12, 0(r3) -/* 80267F9C 00264EDC 38 A0 00 02 */ li r5, 2 -/* 80267FA0 00264EE0 38 C0 00 00 */ li r6, 0 -/* 80267FA4 00264EE4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80267FA8 00264EE8 7D 89 03 A6 */ mtctr r12 -/* 80267FAC 00264EEC 4E 80 04 21 */ bctrl -lbl_80267FB0: -/* 80267FB0 00264EF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267FB4 00264EF4 7C 08 03 A6 */ mtlr r0 -/* 80267FB8 00264EF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267FBC 00264EFC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi9StateDiveFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi9StateDiveFPQ24Game9EnemyBase: -/* 80267FC0 00264F00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80267FC4 00264F04 7C 08 02 A6 */ mflr r0 -/* 80267FC8 00264F08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80267FCC 00264F0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80267FD0 00264F10 7C 9F 23 78 */ mr r31, r4 -/* 80267FD4 00264F14 7F E3 FB 78 */ mr r3, r31 -/* 80267FD8 00264F18 4B E9 F7 BD */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80267FDC 00264F1C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80267FE0 00264F20 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 80267FE4 00264F24 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80267FE8 00264F28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80267FEC 00264F2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80267FF0 00264F30 7C 08 03 A6 */ mtlr r0 -/* 80267FF4 00264F34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80267FF8 00264F38 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80267FFC 00264F3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268000 00264F40 7C 08 02 A6 */ mflr r0 -/* 80268004 00264F44 7C 83 23 78 */ mr r3, r4 -/* 80268008 00264F48 38 80 00 04 */ li r4, 4 -/* 8026800C 00264F4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268010 00264F50 38 00 FF FF */ li r0, -1 -/* 80268014 00264F54 38 A0 00 00 */ li r5, 0 -/* 80268018 00264F58 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8026801C 00264F5C 4B E9 CF E9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80268020 00264F60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80268024 00264F64 7C 08 03 A6 */ mtlr r0 -/* 80268028 00264F68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026802C 00264F6C 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi9StateMoveFPQ24Game9EnemyBase -exec__Q34Game4Tobi9StateMoveFPQ24Game9EnemyBase: -/* 80268030 00264F70 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 80268034 00264F74 7C 08 02 A6 */ mflr r0 -/* 80268038 00264F78 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8026803C 00264F7C DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 80268040 00264F80 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 80268044 00264F84 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 80268048 00264F88 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8026804C 00264F8C DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 80268050 00264F90 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 80268054 00264F94 DB 81 00 B0 */ stfd f28, 0xb0(r1) -/* 80268058 00264F98 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 -/* 8026805C 00264F9C DB 61 00 A0 */ stfd f27, 0xa0(r1) -/* 80268060 00264FA0 F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 -/* 80268064 00264FA4 DB 41 00 90 */ stfd f26, 0x90(r1) -/* 80268068 00264FA8 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 -/* 8026806C 00264FAC 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80268070 00264FB0 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80268074 00264FB4 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80268078 00264FB8 93 81 00 80 */ stw r28, 0x80(r1) -/* 8026807C 00264FBC 7C 9F 23 78 */ mr r31, r4 -/* 80268080 00264FC0 7C 7E 1B 78 */ mr r30, r3 -/* 80268084 00264FC4 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80268088 00264FC8 38 80 00 00 */ li r4, 0 -/* 8026808C 00264FCC 7F E3 FB 78 */ mr r3, r31 -/* 80268090 00264FD0 38 A0 00 00 */ li r5, 0 -/* 80268094 00264FD4 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80268098 00264FD8 38 C0 00 00 */ li r6, 0 -/* 8026809C 00264FDC C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 802680A0 00264FE0 4B EA AF B1 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 802680A4 00264FE4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 802680A8 00264FE8 41 82 03 4C */ beq lbl_802683F4 -/* 802680AC 00264FEC 93 9F 02 30 */ stw r28, 0x230(r31) -/* 802680B0 00264FF0 7F 84 E3 78 */ mr r4, r28 -/* 802680B4 00264FF4 38 61 00 50 */ addi r3, r1, 0x50 -/* 802680B8 00264FF8 81 9C 00 00 */ lwz r12, 0(r28) -/* 802680BC 00264FFC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802680C0 00265000 81 8C 00 08 */ lwz r12, 8(r12) -/* 802680C4 00265004 C3 A5 03 34 */ lfs f29, 0x334(r5) -/* 802680C8 00265008 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 802680CC 0026500C 7D 89 03 A6 */ mtctr r12 -/* 802680D0 00265010 4E 80 04 21 */ bctrl -/* 802680D4 00265014 7F E4 FB 78 */ mr r4, r31 -/* 802680D8 00265018 38 61 00 5C */ addi r3, r1, 0x5c -/* 802680DC 0026501C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802680E0 00265020 C3 41 00 50 */ lfs f26, 0x50(r1) -/* 802680E4 00265024 81 8C 00 08 */ lwz r12, 8(r12) -/* 802680E8 00265028 C3 61 00 58 */ lfs f27, 0x58(r1) -/* 802680EC 0026502C 7D 89 03 A6 */ mtctr r12 -/* 802680F0 00265030 4E 80 04 21 */ bctrl -/* 802680F4 00265034 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 802680F8 00265038 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802680FC 0026503C C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80268100 00265040 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80268104 00265044 EC 3A 08 28 */ fsubs f1, f26, f1 -/* 80268108 00265048 EC 5B 00 28 */ fsubs f2, f27, f0 -/* 8026810C 0026504C 4B DC CF FD */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80268110 00265050 48 1A 9A C1 */ bl roundAng__Ff -/* 80268114 00265054 81 9F 00 00 */ lwz r12, 0(r31) -/* 80268118 00265058 FF 40 08 90 */ fmr f26, f1 -/* 8026811C 0026505C 7F E3 FB 78 */ mr r3, r31 -/* 80268120 00265060 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80268124 00265064 7D 89 03 A6 */ mtctr r12 -/* 80268128 00265068 4E 80 04 21 */ bctrl -/* 8026812C 0026506C FC 40 08 90 */ fmr f2, f1 -/* 80268130 00265070 FC 20 D0 90 */ fmr f1, f26 -/* 80268134 00265074 48 1A 9A C9 */ bl angDist__Fff -/* 80268138 00265078 FF E0 08 90 */ fmr f31, f1 -/* 8026813C 0026507C C0 02 CB D8 */ lfs f0, lbl_8051AF38@sda21(r2) -/* 80268140 00265080 C0 22 CB D4 */ lfs f1, lbl_8051AF34@sda21(r2) -/* 80268144 00265084 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80268148 00265088 EF 9F 07 B2 */ fmuls f28, f31, f30 -/* 8026814C 0026508C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80268150 00265090 FC 00 E2 10 */ fabs f0, f28 -/* 80268154 00265094 FC 00 00 18 */ frsp f0, f0 -/* 80268158 00265098 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026815C 0026509C 40 81 00 1C */ ble lbl_80268178 -/* 80268160 002650A0 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80268164 002650A4 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80268168 002650A8 40 81 00 0C */ ble lbl_80268174 -/* 8026816C 002650AC FF 80 08 90 */ fmr f28, f1 -/* 80268170 002650B0 48 00 00 08 */ b lbl_80268178 -lbl_80268174: -/* 80268174 002650B4 FF 80 08 50 */ fneg f28, f1 -lbl_80268178: -/* 80268178 002650B8 7F E3 FB 78 */ mr r3, r31 -/* 8026817C 002650BC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80268180 002650C0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80268184 002650C4 7D 89 03 A6 */ mtctr r12 -/* 80268188 002650C8 4E 80 04 21 */ bctrl -/* 8026818C 002650CC EC 3C 08 2A */ fadds f1, f28, f1 -/* 80268190 002650D0 48 1A 9A 41 */ bl roundAng__Ff -/* 80268194 002650D4 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80268198 002650D8 7F E3 FB 78 */ mr r3, r31 -/* 8026819C 002650DC C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 802681A0 002650E0 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 802681A4 002650E4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802681A8 002650E8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 802681AC 002650EC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802681B0 002650F0 C3 A4 02 E4 */ lfs f29, 0x2e4(r4) -/* 802681B4 002650F4 7D 89 03 A6 */ mtctr r12 -/* 802681B8 002650F8 4E 80 04 21 */ bctrl -/* 802681BC 002650FC 4B E6 76 61 */ bl sin -/* 802681C0 00265100 7F E3 FB 78 */ mr r3, r31 -/* 802681C4 00265104 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 802681C8 00265108 81 9F 00 00 */ lwz r12, 0(r31) -/* 802681CC 0026510C FF 40 08 18 */ frsp f26, f1 -/* 802681D0 00265110 C3 DF 01 D8 */ lfs f30, 0x1d8(r31) -/* 802681D4 00265114 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 802681D8 00265118 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802681DC 0026511C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 802681E0 00265120 D3 C1 00 78 */ stfs f30, 0x78(r1) -/* 802681E4 00265124 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 802681E8 00265128 7D 89 03 A6 */ mtctr r12 -/* 802681EC 0026512C 4E 80 04 21 */ bctrl -/* 802681F0 00265130 4B E6 70 C5 */ bl cos -/* 802681F4 00265134 EC 1D 06 B2 */ fmuls f0, f29, f26 -/* 802681F8 00265138 7F E4 FB 78 */ mr r4, r31 -/* 802681FC 0026513C FC 20 08 18 */ frsp f1, f1 -/* 80268200 00265140 38 61 00 14 */ addi r3, r1, 0x14 -/* 80268204 00265144 3B A0 00 00 */ li r29, 0 -/* 80268208 00265148 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8026820C 0026514C EC 1D 00 72 */ fmuls f0, f29, f1 -/* 80268210 00265150 D3 DF 01 D8 */ stfs f30, 0x1d8(r31) -/* 80268214 00265154 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80268218 00265158 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026821C 0026515C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80268220 00265160 81 8C 00 08 */ lwz r12, 8(r12) -/* 80268224 00265164 C3 85 05 8C */ lfs f28, 0x58c(r5) -/* 80268228 00265168 C3 A5 05 64 */ lfs f29, 0x564(r5) -/* 8026822C 0026516C 7D 89 03 A6 */ mtctr r12 -/* 80268230 00265170 4E 80 04 21 */ bctrl -/* 80268234 00265174 7F 84 E3 78 */ mr r4, r28 -/* 80268238 00265178 38 61 00 08 */ addi r3, r1, 8 -/* 8026823C 0026517C 81 9C 00 00 */ lwz r12, 0(r28) -/* 80268240 00265180 C3 C1 00 14 */ lfs f30, 0x14(r1) -/* 80268244 00265184 81 8C 00 08 */ lwz r12, 8(r12) -/* 80268248 00265188 7D 89 03 A6 */ mtctr r12 -/* 8026824C 0026518C 4E 80 04 21 */ bctrl -/* 80268250 00265190 7F E4 FB 78 */ mr r4, r31 -/* 80268254 00265194 C0 01 00 08 */ lfs f0, 8(r1) -/* 80268258 00265198 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026825C 0026519C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80268260 002651A0 EF 40 F0 28 */ fsubs f26, f0, f30 -/* 80268264 002651A4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80268268 002651A8 7D 89 03 A6 */ mtctr r12 -/* 8026826C 002651AC 4E 80 04 21 */ bctrl -/* 80268270 002651B0 7F 84 E3 78 */ mr r4, r28 -/* 80268274 002651B4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80268278 002651B8 81 9C 00 00 */ lwz r12, 0(r28) -/* 8026827C 002651BC C3 C1 00 30 */ lfs f30, 0x30(r1) -/* 80268280 002651C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80268284 002651C4 7D 89 03 A6 */ mtctr r12 -/* 80268288 002651C8 4E 80 04 21 */ bctrl -/* 8026828C 002651CC 7F E4 FB 78 */ mr r4, r31 -/* 80268290 002651D0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80268294 002651D4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80268298 002651D8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8026829C 002651DC EF 60 F0 28 */ fsubs f27, f0, f30 -/* 802682A0 002651E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802682A4 002651E4 7D 89 03 A6 */ mtctr r12 -/* 802682A8 002651E8 4E 80 04 21 */ bctrl -/* 802682AC 002651EC 7F 84 E3 78 */ mr r4, r28 -/* 802682B0 002651F0 38 61 00 38 */ addi r3, r1, 0x38 -/* 802682B4 002651F4 81 9C 00 00 */ lwz r12, 0(r28) -/* 802682B8 002651F8 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 802682BC 002651FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802682C0 00265200 7D 89 03 A6 */ mtctr r12 -/* 802682C4 00265204 4E 80 04 21 */ bctrl -/* 802682C8 00265208 EC 3B 06 F2 */ fmuls f1, f27, f27 -/* 802682CC 0026520C C0 41 00 40 */ lfs f2, 0x40(r1) -/* 802682D0 00265210 EC 1D 07 72 */ fmuls f0, f29, f29 -/* 802682D4 00265214 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 802682D8 00265218 EC 3A 0E BA */ fmadds f1, f26, f26, f1 -/* 802682DC 0026521C EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 802682E0 00265220 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802682E4 00265224 40 80 00 2C */ bge lbl_80268310 -/* 802682E8 00265228 C0 02 CB D8 */ lfs f0, lbl_8051AF38@sda21(r2) -/* 802682EC 0026522C FC 40 FA 10 */ fabs f2, f31 -/* 802682F0 00265230 C0 22 CB D4 */ lfs f1, lbl_8051AF34@sda21(r2) -/* 802682F4 00265234 EC 00 07 32 */ fmuls f0, f0, f28 -/* 802682F8 00265238 FC 40 10 18 */ frsp f2, f2 -/* 802682FC 0026523C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80268300 00265240 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80268304 00265244 4C 40 13 82 */ cror 2, 0, 2 -/* 80268308 00265248 40 82 00 08 */ bne lbl_80268310 -/* 8026830C 0026524C 3B A0 00 01 */ li r29, 1 -lbl_80268310: -/* 80268310 00265250 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80268314 00265254 41 82 00 18 */ beq lbl_8026832C -/* 80268318 00265258 38 00 00 0C */ li r0, 0xc -/* 8026831C 0026525C 7F E3 FB 78 */ mr r3, r31 -/* 80268320 00265260 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268324 00265264 4B E9 CF 7D */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80268328 00265268 48 00 01 04 */ b lbl_8026842C -lbl_8026832C: -/* 8026832C 0026526C 7F E4 FB 78 */ mr r4, r31 -/* 80268330 00265270 38 61 00 68 */ addi r3, r1, 0x68 -/* 80268334 00265274 81 9F 00 00 */ lwz r12, 0(r31) -/* 80268338 00265278 C3 5F 01 98 */ lfs f26, 0x198(r31) -/* 8026833C 0026527C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80268340 00265280 C3 7F 01 9C */ lfs f27, 0x19c(r31) -/* 80268344 00265284 C3 9F 01 A0 */ lfs f28, 0x1a0(r31) -/* 80268348 00265288 7D 89 03 A6 */ mtctr r12 -/* 8026834C 0026528C 4E 80 04 21 */ bctrl -/* 80268350 00265290 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80268354 00265294 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 80268358 00265298 EC 60 D8 28 */ fsubs f3, f0, f27 -/* 8026835C 0026529C C0 21 00 70 */ lfs f1, 0x70(r1) -/* 80268360 002652A0 EC 42 D0 28 */ fsubs f2, f2, f26 -/* 80268364 002652A4 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80268368 002652A8 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8026836C 002652AC EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80268370 002652B0 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80268374 002652B4 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 80268378 002652B8 EC 24 08 2A */ fadds f1, f4, f1 -/* 8026837C 002652BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268380 002652C0 40 81 00 14 */ ble lbl_80268394 -/* 80268384 002652C4 40 81 00 14 */ ble lbl_80268398 -/* 80268388 002652C8 FC 00 08 34 */ frsqrte f0, f1 -/* 8026838C 002652CC EC 20 00 72 */ fmuls f1, f0, f1 -/* 80268390 002652D0 48 00 00 08 */ b lbl_80268398 -lbl_80268394: -/* 80268394 002652D4 FC 20 00 90 */ fmr f1, f0 -lbl_80268398: -/* 80268398 002652D8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8026839C 002652DC C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 802683A0 002652E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802683A4 002652E4 40 81 00 18 */ ble lbl_802683BC -/* 802683A8 002652E8 38 00 00 09 */ li r0, 9 -/* 802683AC 002652EC 7F E3 FB 78 */ mr r3, r31 -/* 802683B0 002652F0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802683B4 002652F4 4B E9 CE ED */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802683B8 002652F8 48 00 00 74 */ b lbl_8026842C -lbl_802683BC: -/* 802683BC 002652FC C0 24 05 8C */ lfs f1, 0x58c(r4) -/* 802683C0 00265300 7F E3 FB 78 */ mr r3, r31 -/* 802683C4 00265304 C0 44 05 64 */ lfs f2, 0x564(r4) -/* 802683C8 00265308 38 80 00 00 */ li r4, 0 -/* 802683CC 0026530C 38 A0 00 00 */ li r5, 0 -/* 802683D0 00265310 38 C0 00 00 */ li r6, 0 -/* 802683D4 00265314 4B EA AC 7D */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 802683D8 00265318 28 03 00 00 */ cmplwi r3, 0 -/* 802683DC 0026531C 41 82 00 50 */ beq lbl_8026842C -/* 802683E0 00265320 38 00 00 0C */ li r0, 0xc -/* 802683E4 00265324 7F E3 FB 78 */ mr r3, r31 -/* 802683E8 00265328 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802683EC 0026532C 4B E9 CE B5 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802683F0 00265330 48 00 00 3C */ b lbl_8026842C -lbl_802683F4: -/* 802683F4 00265334 7F E3 FB 78 */ mr r3, r31 -/* 802683F8 00265338 48 00 24 61 */ bl isBreakBridge__Q34Game4Tobi3ObjFv -/* 802683FC 0026533C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268400 00265340 41 82 00 1C */ beq lbl_8026841C -/* 80268404 00265344 7F E3 FB 78 */ mr r3, r31 -/* 80268408 00265348 48 00 22 9D */ bl checkBreakOrMove__Q34Game4Tobi3ObjFv -/* 8026840C 0026534C 90 7F 02 C4 */ stw r3, 0x2c4(r31) -/* 80268410 00265350 7F E3 FB 78 */ mr r3, r31 -/* 80268414 00265354 4B E9 CE 8D */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80268418 00265358 48 00 00 14 */ b lbl_8026842C -lbl_8026841C: -/* 8026841C 0026535C 38 00 00 09 */ li r0, 9 -/* 80268420 00265360 7F E3 FB 78 */ mr r3, r31 -/* 80268424 00265364 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268428 00265368 4B E9 CE 79 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8026842C: -/* 8026842C 0026536C 7F E3 FB 78 */ mr r3, r31 -/* 80268430 00265370 48 00 1D F5 */ bl isFlyingLife__Q34Game4Tobi3ObjFv -/* 80268434 00265374 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268438 00265378 41 82 00 14 */ beq lbl_8026844C -/* 8026843C 0026537C 38 00 00 0A */ li r0, 0xa -/* 80268440 00265380 7F E3 FB 78 */ mr r3, r31 -/* 80268444 00265384 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268448 00265388 4B E9 CE 59 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8026844C: -/* 8026844C 0026538C 7F E3 FB 78 */ mr r3, r31 -/* 80268450 00265390 48 00 1D F9 */ bl setInWaterDamage__Q34Game4Tobi3ObjFv -/* 80268454 00265394 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80268458 00265398 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 8026845C 0026539C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268460 002653A0 4C 40 13 82 */ cror 2, 0, 2 -/* 80268464 002653A4 40 82 00 28 */ bne lbl_8026848C -/* 80268468 002653A8 7F C3 F3 78 */ mr r3, r30 -/* 8026846C 002653AC 7F E4 FB 78 */ mr r4, r31 -/* 80268470 002653B0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268474 002653B4 38 A0 00 00 */ li r5, 0 -/* 80268478 002653B8 38 C0 00 00 */ li r6, 0 -/* 8026847C 002653BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268480 002653C0 7D 89 03 A6 */ mtctr r12 -/* 80268484 002653C4 4E 80 04 21 */ bctrl -/* 80268488 002653C8 48 00 00 40 */ b lbl_802684C8 -lbl_8026848C: -/* 8026848C 002653CC 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80268490 002653D0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80268494 002653D4 28 00 00 00 */ cmplwi r0, 0 -/* 80268498 002653D8 41 82 00 30 */ beq lbl_802684C8 -/* 8026849C 002653DC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802684A0 002653E0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802684A4 002653E4 40 82 00 24 */ bne lbl_802684C8 -/* 802684A8 002653E8 7F C3 F3 78 */ mr r3, r30 -/* 802684AC 002653EC 7F E4 FB 78 */ mr r4, r31 -/* 802684B0 002653F0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802684B4 002653F4 38 C0 00 00 */ li r6, 0 -/* 802684B8 002653F8 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 802684BC 002653FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802684C0 00265400 7D 89 03 A6 */ mtctr r12 -/* 802684C4 00265404 4E 80 04 21 */ bctrl -lbl_802684C8: -/* 802684C8 00265408 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 802684CC 0026540C CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 802684D0 00265410 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 802684D4 00265414 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 802684D8 00265418 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 802684DC 0026541C CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 802684E0 00265420 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 -/* 802684E4 00265424 CB 81 00 B0 */ lfd f28, 0xb0(r1) -/* 802684E8 00265428 E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 -/* 802684EC 0026542C CB 61 00 A0 */ lfd f27, 0xa0(r1) -/* 802684F0 00265430 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 -/* 802684F4 00265434 CB 41 00 90 */ lfd f26, 0x90(r1) -/* 802684F8 00265438 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802684FC 0026543C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80268500 00265440 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 80268504 00265444 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80268508 00265448 83 81 00 80 */ lwz r28, 0x80(r1) -/* 8026850C 0026544C 7C 08 03 A6 */ mtlr r0 -/* 80268510 00265450 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 80268514 00265454 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi9StateMoveFPQ24Game9EnemyBase: -/* 80268518 00265458 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi13StateMoveSideFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi13StateMoveSideFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026851C 0026545C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268520 00265460 7C 08 02 A6 */ mflr r0 -/* 80268524 00265464 7C 83 23 78 */ mr r3, r4 -/* 80268528 00265468 38 80 00 04 */ li r4, 4 -/* 8026852C 0026546C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268530 00265470 38 00 FF FF */ li r0, -1 -/* 80268534 00265474 38 A0 00 00 */ li r5, 0 -/* 80268538 00265478 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8026853C 0026547C 4B E9 CA C9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80268540 00265480 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80268544 00265484 7C 08 03 A6 */ mtlr r0 -/* 80268548 00265488 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026854C 0026548C 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi13StateMoveSideFPQ24Game9EnemyBase -exec__Q34Game4Tobi13StateMoveSideFPQ24Game9EnemyBase: -/* 80268550 00265490 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268554 00265494 7C 08 02 A6 */ mflr r0 -/* 80268558 00265498 38 A0 00 00 */ li r5, 0 -/* 8026855C 0026549C 38 C0 00 00 */ li r6, 0 -/* 80268560 002654A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268564 002654A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80268568 002654A8 7C 9F 23 78 */ mr r31, r4 -/* 8026856C 002654AC 38 80 00 00 */ li r4, 0 -/* 80268570 002654B0 93 C1 00 08 */ stw r30, 8(r1) -/* 80268574 002654B4 7C 7E 1B 78 */ mr r30, r3 -/* 80268578 002654B8 7F E3 FB 78 */ mr r3, r31 -/* 8026857C 002654BC 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80268580 002654C0 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80268584 002654C4 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80268588 002654C8 4B EA AA C9 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8026858C 002654CC 28 03 00 00 */ cmplwi r3, 0 -/* 80268590 002654D0 41 82 00 18 */ beq lbl_802685A8 -/* 80268594 002654D4 38 00 00 05 */ li r0, 5 -/* 80268598 002654D8 7F E3 FB 78 */ mr r3, r31 -/* 8026859C 002654DC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802685A0 002654E0 4B E9 CD 01 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802685A4 002654E4 48 00 00 48 */ b lbl_802685EC -lbl_802685A8: -/* 802685A8 002654E8 7F E3 FB 78 */ mr r3, r31 -/* 802685AC 002654EC 48 00 22 AD */ bl isBreakBridge__Q34Game4Tobi3ObjFv -/* 802685B0 002654F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802685B4 002654F4 41 82 00 28 */ beq lbl_802685DC -/* 802685B8 002654F8 7F E3 FB 78 */ mr r3, r31 -/* 802685BC 002654FC 48 00 22 C5 */ bl moveBridgeSide__Q34Game4Tobi3ObjFv -/* 802685C0 00265500 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802685C4 00265504 41 82 00 28 */ beq lbl_802685EC -/* 802685C8 00265508 38 00 00 07 */ li r0, 7 -/* 802685CC 0026550C 7F E3 FB 78 */ mr r3, r31 -/* 802685D0 00265510 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802685D4 00265514 4B E9 CC CD */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802685D8 00265518 48 00 00 14 */ b lbl_802685EC -lbl_802685DC: -/* 802685DC 0026551C 38 00 00 09 */ li r0, 9 -/* 802685E0 00265520 7F E3 FB 78 */ mr r3, r31 -/* 802685E4 00265524 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802685E8 00265528 4B E9 CC B9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802685EC: -/* 802685EC 0026552C 7F E3 FB 78 */ mr r3, r31 -/* 802685F0 00265530 48 00 1C 35 */ bl isFlyingLife__Q34Game4Tobi3ObjFv -/* 802685F4 00265534 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802685F8 00265538 41 82 00 14 */ beq lbl_8026860C -/* 802685FC 0026553C 38 00 00 0A */ li r0, 0xa -/* 80268600 00265540 7F E3 FB 78 */ mr r3, r31 -/* 80268604 00265544 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268608 00265548 4B E9 CC 99 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8026860C: -/* 8026860C 0026554C 7F E3 FB 78 */ mr r3, r31 -/* 80268610 00265550 48 00 1C 39 */ bl setInWaterDamage__Q34Game4Tobi3ObjFv -/* 80268614 00265554 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80268618 00265558 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 8026861C 0026555C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268620 00265560 4C 40 13 82 */ cror 2, 0, 2 -/* 80268624 00265564 40 82 00 28 */ bne lbl_8026864C -/* 80268628 00265568 7F C3 F3 78 */ mr r3, r30 -/* 8026862C 0026556C 7F E4 FB 78 */ mr r4, r31 -/* 80268630 00265570 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268634 00265574 38 A0 00 00 */ li r5, 0 -/* 80268638 00265578 38 C0 00 00 */ li r6, 0 -/* 8026863C 0026557C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268640 00265580 7D 89 03 A6 */ mtctr r12 -/* 80268644 00265584 4E 80 04 21 */ bctrl -/* 80268648 00265588 48 00 00 40 */ b lbl_80268688 -lbl_8026864C: -/* 8026864C 0026558C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80268650 00265590 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80268654 00265594 28 00 00 00 */ cmplwi r0, 0 -/* 80268658 00265598 41 82 00 30 */ beq lbl_80268688 -/* 8026865C 0026559C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80268660 002655A0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80268664 002655A4 40 82 00 24 */ bne lbl_80268688 -/* 80268668 002655A8 7F C3 F3 78 */ mr r3, r30 -/* 8026866C 002655AC 7F E4 FB 78 */ mr r4, r31 -/* 80268670 002655B0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268674 002655B4 38 C0 00 00 */ li r6, 0 -/* 80268678 002655B8 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 8026867C 002655BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268680 002655C0 7D 89 03 A6 */ mtctr r12 -/* 80268684 002655C4 4E 80 04 21 */ bctrl -lbl_80268688: -/* 80268688 002655C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026868C 002655CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80268690 002655D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80268694 002655D4 7C 08 03 A6 */ mtlr r0 -/* 80268698 002655D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026869C 002655DC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi13StateMoveSideFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi13StateMoveSideFPQ24Game9EnemyBase: -/* 802686A0 002655E0 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi15StateMoveCentreFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi15StateMoveCentreFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802686A4 002655E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802686A8 002655E8 7C 08 02 A6 */ mflr r0 -/* 802686AC 002655EC 7C 83 23 78 */ mr r3, r4 -/* 802686B0 002655F0 38 80 00 04 */ li r4, 4 -/* 802686B4 002655F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802686B8 002655F8 38 00 FF FF */ li r0, -1 -/* 802686BC 002655FC 38 A0 00 00 */ li r5, 0 -/* 802686C0 00265600 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 802686C4 00265604 4B E9 C9 41 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802686C8 00265608 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802686CC 0026560C 7C 08 03 A6 */ mtlr r0 -/* 802686D0 00265610 38 21 00 10 */ addi r1, r1, 0x10 -/* 802686D4 00265614 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi15StateMoveCentreFPQ24Game9EnemyBase -exec__Q34Game4Tobi15StateMoveCentreFPQ24Game9EnemyBase: -/* 802686D8 00265618 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802686DC 0026561C 7C 08 02 A6 */ mflr r0 -/* 802686E0 00265620 38 A0 00 00 */ li r5, 0 -/* 802686E4 00265624 38 C0 00 00 */ li r6, 0 -/* 802686E8 00265628 90 01 00 14 */ stw r0, 0x14(r1) -/* 802686EC 0026562C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802686F0 00265630 7C 9F 23 78 */ mr r31, r4 -/* 802686F4 00265634 38 80 00 00 */ li r4, 0 -/* 802686F8 00265638 93 C1 00 08 */ stw r30, 8(r1) -/* 802686FC 0026563C 7C 7E 1B 78 */ mr r30, r3 -/* 80268700 00265640 7F E3 FB 78 */ mr r3, r31 -/* 80268704 00265644 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80268708 00265648 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8026870C 0026564C C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80268710 00265650 4B EA A9 41 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80268714 00265654 28 03 00 00 */ cmplwi r3, 0 -/* 80268718 00265658 41 82 00 18 */ beq lbl_80268730 -/* 8026871C 0026565C 38 00 00 05 */ li r0, 5 -/* 80268720 00265660 7F E3 FB 78 */ mr r3, r31 -/* 80268724 00265664 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268728 00265668 4B E9 CB 79 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8026872C 0026566C 48 00 00 48 */ b lbl_80268774 -lbl_80268730: -/* 80268730 00265670 7F E3 FB 78 */ mr r3, r31 -/* 80268734 00265674 48 00 21 25 */ bl isBreakBridge__Q34Game4Tobi3ObjFv -/* 80268738 00265678 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026873C 0026567C 41 82 00 28 */ beq lbl_80268764 -/* 80268740 00265680 7F E3 FB 78 */ mr r3, r31 -/* 80268744 00265684 48 00 23 E5 */ bl moveBridgeCentre__Q34Game4Tobi3ObjFv -/* 80268748 00265688 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026874C 0026568C 41 82 00 28 */ beq lbl_80268774 -/* 80268750 00265690 38 00 00 08 */ li r0, 8 -/* 80268754 00265694 7F E3 FB 78 */ mr r3, r31 -/* 80268758 00265698 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8026875C 0026569C 4B E9 CB 45 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80268760 002656A0 48 00 00 14 */ b lbl_80268774 -lbl_80268764: -/* 80268764 002656A4 38 00 00 09 */ li r0, 9 -/* 80268768 002656A8 7F E3 FB 78 */ mr r3, r31 -/* 8026876C 002656AC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268770 002656B0 4B E9 CB 31 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80268774: -/* 80268774 002656B4 7F E3 FB 78 */ mr r3, r31 -/* 80268778 002656B8 48 00 1A AD */ bl isFlyingLife__Q34Game4Tobi3ObjFv -/* 8026877C 002656BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268780 002656C0 41 82 00 14 */ beq lbl_80268794 -/* 80268784 002656C4 38 00 00 0A */ li r0, 0xa -/* 80268788 002656C8 7F E3 FB 78 */ mr r3, r31 -/* 8026878C 002656CC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268790 002656D0 4B E9 CB 11 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80268794: -/* 80268794 002656D4 7F E3 FB 78 */ mr r3, r31 -/* 80268798 002656D8 48 00 1A B1 */ bl setInWaterDamage__Q34Game4Tobi3ObjFv -/* 8026879C 002656DC C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802687A0 002656E0 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 802687A4 002656E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802687A8 002656E8 4C 40 13 82 */ cror 2, 0, 2 -/* 802687AC 002656EC 40 82 00 28 */ bne lbl_802687D4 -/* 802687B0 002656F0 7F C3 F3 78 */ mr r3, r30 -/* 802687B4 002656F4 7F E4 FB 78 */ mr r4, r31 -/* 802687B8 002656F8 81 9E 00 00 */ lwz r12, 0(r30) -/* 802687BC 002656FC 38 A0 00 00 */ li r5, 0 -/* 802687C0 00265700 38 C0 00 00 */ li r6, 0 -/* 802687C4 00265704 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802687C8 00265708 7D 89 03 A6 */ mtctr r12 -/* 802687CC 0026570C 4E 80 04 21 */ bctrl -/* 802687D0 00265710 48 00 00 40 */ b lbl_80268810 -lbl_802687D4: -/* 802687D4 00265714 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802687D8 00265718 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802687DC 0026571C 28 00 00 00 */ cmplwi r0, 0 -/* 802687E0 00265720 41 82 00 30 */ beq lbl_80268810 -/* 802687E4 00265724 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802687E8 00265728 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802687EC 0026572C 40 82 00 24 */ bne lbl_80268810 -/* 802687F0 00265730 7F C3 F3 78 */ mr r3, r30 -/* 802687F4 00265734 7F E4 FB 78 */ mr r4, r31 -/* 802687F8 00265738 81 9E 00 00 */ lwz r12, 0(r30) -/* 802687FC 0026573C 38 C0 00 00 */ li r6, 0 -/* 80268800 00265740 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80268804 00265744 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268808 00265748 7D 89 03 A6 */ mtctr r12 -/* 8026880C 0026574C 4E 80 04 21 */ bctrl -lbl_80268810: -/* 80268810 00265750 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80268814 00265754 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80268818 00265758 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026881C 0026575C 7C 08 03 A6 */ mtlr r0 -/* 80268820 00265760 38 21 00 10 */ addi r1, r1, 0x10 -/* 80268824 00265764 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi15StateMoveCentreFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi15StateMoveCentreFPQ24Game9EnemyBase: -/* 80268828 00265768 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi12StateMoveTopFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi12StateMoveTopFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026882C 0026576C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268830 00265770 7C 08 02 A6 */ mflr r0 -/* 80268834 00265774 7C 83 23 78 */ mr r3, r4 -/* 80268838 00265778 38 80 00 04 */ li r4, 4 -/* 8026883C 0026577C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268840 00265780 38 00 FF FF */ li r0, -1 -/* 80268844 00265784 38 A0 00 00 */ li r5, 0 -/* 80268848 00265788 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 8026884C 0026578C 4B E9 C7 B9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80268850 00265790 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80268854 00265794 7C 08 03 A6 */ mtlr r0 -/* 80268858 00265798 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026885C 0026579C 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi12StateMoveTopFPQ24Game9EnemyBase -exec__Q34Game4Tobi12StateMoveTopFPQ24Game9EnemyBase: -/* 80268860 002657A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268864 002657A4 7C 08 02 A6 */ mflr r0 -/* 80268868 002657A8 38 A0 00 00 */ li r5, 0 -/* 8026886C 002657AC 38 C0 00 00 */ li r6, 0 -/* 80268870 002657B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268874 002657B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80268878 002657B8 7C 9F 23 78 */ mr r31, r4 -/* 8026887C 002657BC 38 80 00 00 */ li r4, 0 -/* 80268880 002657C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80268884 002657C4 7C 7E 1B 78 */ mr r30, r3 -/* 80268888 002657C8 7F E3 FB 78 */ mr r3, r31 -/* 8026888C 002657CC 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80268890 002657D0 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80268894 002657D4 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80268898 002657D8 4B EA A7 B9 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8026889C 002657DC 28 03 00 00 */ cmplwi r3, 0 -/* 802688A0 002657E0 41 82 00 18 */ beq lbl_802688B8 -/* 802688A4 002657E4 38 00 00 05 */ li r0, 5 -/* 802688A8 002657E8 7F E3 FB 78 */ mr r3, r31 -/* 802688AC 002657EC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802688B0 002657F0 4B E9 C9 F1 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802688B4 002657F4 48 00 00 48 */ b lbl_802688FC -lbl_802688B8: -/* 802688B8 002657F8 7F E3 FB 78 */ mr r3, r31 -/* 802688BC 002657FC 48 00 1F 9D */ bl isBreakBridge__Q34Game4Tobi3ObjFv -/* 802688C0 00265800 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802688C4 00265804 41 82 00 28 */ beq lbl_802688EC -/* 802688C8 00265808 7F E3 FB 78 */ mr r3, r31 -/* 802688CC 0026580C 48 00 24 E5 */ bl moveBridgeTop__Q34Game4Tobi3ObjFv -/* 802688D0 00265810 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802688D4 00265814 41 82 00 28 */ beq lbl_802688FC -/* 802688D8 00265818 38 00 00 0B */ li r0, 0xb -/* 802688DC 0026581C 7F E3 FB 78 */ mr r3, r31 -/* 802688E0 00265820 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802688E4 00265824 4B E9 C9 BD */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802688E8 00265828 48 00 00 14 */ b lbl_802688FC -lbl_802688EC: -/* 802688EC 0026582C 38 00 00 09 */ li r0, 9 -/* 802688F0 00265830 7F E3 FB 78 */ mr r3, r31 -/* 802688F4 00265834 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802688F8 00265838 4B E9 C9 A9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802688FC: -/* 802688FC 0026583C 7F E3 FB 78 */ mr r3, r31 -/* 80268900 00265840 48 00 19 25 */ bl isFlyingLife__Q34Game4Tobi3ObjFv -/* 80268904 00265844 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268908 00265848 41 82 00 14 */ beq lbl_8026891C -/* 8026890C 0026584C 38 00 00 0A */ li r0, 0xa -/* 80268910 00265850 7F E3 FB 78 */ mr r3, r31 -/* 80268914 00265854 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268918 00265858 4B E9 C9 89 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8026891C: -/* 8026891C 0026585C 7F E3 FB 78 */ mr r3, r31 -/* 80268920 00265860 48 00 19 29 */ bl setInWaterDamage__Q34Game4Tobi3ObjFv -/* 80268924 00265864 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80268928 00265868 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 8026892C 0026586C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268930 00265870 4C 40 13 82 */ cror 2, 0, 2 -/* 80268934 00265874 40 82 00 28 */ bne lbl_8026895C -/* 80268938 00265878 7F C3 F3 78 */ mr r3, r30 -/* 8026893C 0026587C 7F E4 FB 78 */ mr r4, r31 -/* 80268940 00265880 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268944 00265884 38 A0 00 00 */ li r5, 0 -/* 80268948 00265888 38 C0 00 00 */ li r6, 0 -/* 8026894C 0026588C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268950 00265890 7D 89 03 A6 */ mtctr r12 -/* 80268954 00265894 4E 80 04 21 */ bctrl -/* 80268958 00265898 48 00 00 40 */ b lbl_80268998 -lbl_8026895C: -/* 8026895C 0026589C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80268960 002658A0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80268964 002658A4 28 00 00 00 */ cmplwi r0, 0 -/* 80268968 002658A8 41 82 00 30 */ beq lbl_80268998 -/* 8026896C 002658AC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80268970 002658B0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80268974 002658B4 40 82 00 24 */ bne lbl_80268998 -/* 80268978 002658B8 7F C3 F3 78 */ mr r3, r30 -/* 8026897C 002658BC 7F E4 FB 78 */ mr r4, r31 -/* 80268980 002658C0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268984 002658C4 38 C0 00 00 */ li r6, 0 -/* 80268988 002658C8 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 8026898C 002658CC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268990 002658D0 7D 89 03 A6 */ mtctr r12 -/* 80268994 002658D4 4E 80 04 21 */ bctrl -lbl_80268998: -/* 80268998 002658D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026899C 002658DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802689A0 002658E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802689A4 002658E4 7C 08 03 A6 */ mtlr r0 -/* 802689A8 002658E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802689AC 002658EC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi12StateMoveTopFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi12StateMoveTopFPQ24Game9EnemyBase: -/* 802689B0 002658F0 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802689B4 002658F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802689B8 002658F8 7C 08 02 A6 */ mflr r0 -/* 802689BC 002658FC 7C 83 23 78 */ mr r3, r4 -/* 802689C0 00265900 38 80 00 04 */ li r4, 4 -/* 802689C4 00265904 90 01 00 14 */ stw r0, 0x14(r1) -/* 802689C8 00265908 38 00 FF FF */ li r0, -1 -/* 802689CC 0026590C 38 A0 00 00 */ li r5, 0 -/* 802689D0 00265910 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 802689D4 00265914 4B E9 C6 31 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802689D8 00265918 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802689DC 0026591C 7C 08 03 A6 */ mtlr r0 -/* 802689E0 00265920 38 21 00 10 */ addi r1, r1, 0x10 -/* 802689E4 00265924 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi11StateGoHomeFPQ24Game9EnemyBase -exec__Q34Game4Tobi11StateGoHomeFPQ24Game9EnemyBase: -/* 802689E8 00265928 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802689EC 0026592C 7C 08 02 A6 */ mflr r0 -/* 802689F0 00265930 90 01 00 64 */ stw r0, 0x64(r1) -/* 802689F4 00265934 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802689F8 00265938 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802689FC 0026593C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80268A00 00265940 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80268A04 00265944 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80268A08 00265948 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80268A0C 0026594C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80268A10 00265950 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80268A14 00265954 7C 9F 23 78 */ mr r31, r4 -/* 80268A18 00265958 7C 7E 1B 78 */ mr r30, r3 -/* 80268A1C 0026595C C0 3F 01 9C */ lfs f1, 0x19c(r31) -/* 80268A20 00265960 38 81 00 14 */ addi r4, r1, 0x14 -/* 80268A24 00265964 C0 5F 01 A0 */ lfs f2, 0x1a0(r31) -/* 80268A28 00265968 7F E3 FB 78 */ mr r3, r31 -/* 80268A2C 0026596C C0 1F 01 98 */ lfs f0, 0x198(r31) -/* 80268A30 00265970 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80268A34 00265974 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80268A38 00265978 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80268A3C 0026597C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80268A40 00265980 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 80268A44 00265984 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 80268A48 00265988 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 80268A4C 0026598C 4B EA CB 91 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 80268A50 00265990 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80268A54 00265994 7F E3 FB 78 */ mr r3, r31 -/* 80268A58 00265998 38 80 00 00 */ li r4, 0 -/* 80268A5C 0026599C 38 A0 00 00 */ li r5, 0 -/* 80268A60 002659A0 C0 27 05 64 */ lfs f1, 0x564(r7) -/* 80268A64 002659A4 38 C0 00 00 */ li r6, 0 -/* 80268A68 002659A8 C0 47 05 8C */ lfs f2, 0x58c(r7) -/* 80268A6C 002659AC 4B EA A5 E5 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80268A70 002659B0 28 03 00 00 */ cmplwi r3, 0 -/* 80268A74 002659B4 41 82 00 18 */ beq lbl_80268A8C -/* 80268A78 002659B8 38 00 00 0C */ li r0, 0xc -/* 80268A7C 002659BC 7F E3 FB 78 */ mr r3, r31 -/* 80268A80 002659C0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268A84 002659C4 4B E9 C8 1D */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80268A88 002659C8 48 00 00 90 */ b lbl_80268B18 -lbl_80268A8C: -/* 80268A8C 002659CC 7F E4 FB 78 */ mr r4, r31 -/* 80268A90 002659D0 38 61 00 08 */ addi r3, r1, 8 -/* 80268A94 002659D4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80268A98 002659D8 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 80268A9C 002659DC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80268AA0 002659E0 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 80268AA4 002659E4 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 80268AA8 002659E8 7D 89 03 A6 */ mtctr r12 -/* 80268AAC 002659EC 4E 80 04 21 */ bctrl -/* 80268AB0 002659F0 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80268AB4 002659F4 C0 41 00 08 */ lfs f2, 8(r1) -/* 80268AB8 002659F8 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 80268ABC 002659FC C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80268AC0 00265A00 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 80268AC4 00265A04 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80268AC8 00265A08 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80268ACC 00265A0C EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80268AD0 00265A10 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80268AD4 00265A14 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 80268AD8 00265A18 EC 24 08 2A */ fadds f1, f4, f1 -/* 80268ADC 00265A1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268AE0 00265A20 40 81 00 14 */ ble lbl_80268AF4 -/* 80268AE4 00265A24 40 81 00 14 */ ble lbl_80268AF8 -/* 80268AE8 00265A28 FC 00 08 34 */ frsqrte f0, f1 -/* 80268AEC 00265A2C EC 20 00 72 */ fmuls f1, f0, f1 -/* 80268AF0 00265A30 48 00 00 08 */ b lbl_80268AF8 -lbl_80268AF4: -/* 80268AF4 00265A34 FC 20 00 90 */ fmr f1, f0 -lbl_80268AF8: -/* 80268AF8 00265A38 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80268AFC 00265A3C C0 03 03 84 */ lfs f0, 0x384(r3) -/* 80268B00 00265A40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268B04 00265A44 40 80 00 14 */ bge lbl_80268B18 -/* 80268B08 00265A48 38 00 00 04 */ li r0, 4 -/* 80268B0C 00265A4C 7F E3 FB 78 */ mr r3, r31 -/* 80268B10 00265A50 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268B14 00265A54 4B E9 C7 8D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80268B18: -/* 80268B18 00265A58 7F E3 FB 78 */ mr r3, r31 -/* 80268B1C 00265A5C 48 00 17 09 */ bl isFlyingLife__Q34Game4Tobi3ObjFv -/* 80268B20 00265A60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268B24 00265A64 41 82 00 14 */ beq lbl_80268B38 -/* 80268B28 00265A68 38 00 00 0A */ li r0, 0xa -/* 80268B2C 00265A6C 7F E3 FB 78 */ mr r3, r31 -/* 80268B30 00265A70 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268B34 00265A74 4B E9 C7 6D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80268B38: -/* 80268B38 00265A78 7F E3 FB 78 */ mr r3, r31 -/* 80268B3C 00265A7C 48 00 17 0D */ bl setInWaterDamage__Q34Game4Tobi3ObjFv -/* 80268B40 00265A80 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80268B44 00265A84 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80268B48 00265A88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268B4C 00265A8C 4C 40 13 82 */ cror 2, 0, 2 -/* 80268B50 00265A90 40 82 00 28 */ bne lbl_80268B78 -/* 80268B54 00265A94 7F C3 F3 78 */ mr r3, r30 -/* 80268B58 00265A98 7F E4 FB 78 */ mr r4, r31 -/* 80268B5C 00265A9C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268B60 00265AA0 38 A0 00 00 */ li r5, 0 -/* 80268B64 00265AA4 38 C0 00 00 */ li r6, 0 -/* 80268B68 00265AA8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268B6C 00265AAC 7D 89 03 A6 */ mtctr r12 -/* 80268B70 00265AB0 4E 80 04 21 */ bctrl -/* 80268B74 00265AB4 48 00 00 40 */ b lbl_80268BB4 -lbl_80268B78: -/* 80268B78 00265AB8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80268B7C 00265ABC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80268B80 00265AC0 28 00 00 00 */ cmplwi r0, 0 -/* 80268B84 00265AC4 41 82 00 30 */ beq lbl_80268BB4 -/* 80268B88 00265AC8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80268B8C 00265ACC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80268B90 00265AD0 40 82 00 24 */ bne lbl_80268BB4 -/* 80268B94 00265AD4 7F C3 F3 78 */ mr r3, r30 -/* 80268B98 00265AD8 7F E4 FB 78 */ mr r4, r31 -/* 80268B9C 00265ADC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268BA0 00265AE0 38 C0 00 00 */ li r6, 0 -/* 80268BA4 00265AE4 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80268BA8 00265AE8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268BAC 00265AEC 7D 89 03 A6 */ mtctr r12 -/* 80268BB0 00265AF0 4E 80 04 21 */ bctrl -lbl_80268BB4: -/* 80268BB4 00265AF4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80268BB8 00265AF8 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80268BBC 00265AFC E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80268BC0 00265B00 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80268BC4 00265B04 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80268BC8 00265B08 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80268BCC 00265B0C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80268BD0 00265B10 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80268BD4 00265B14 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80268BD8 00265B18 7C 08 03 A6 */ mtlr r0 -/* 80268BDC 00265B1C 38 21 00 60 */ addi r1, r1, 0x60 -/* 80268BE0 00265B20 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi11StateGoHomeFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi11StateGoHomeFPQ24Game9EnemyBase: -/* 80268BE4 00265B24 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi8StateFlyFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi8StateFlyFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80268BE8 00265B28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80268BEC 00265B2C 7C 08 02 A6 */ mflr r0 -/* 80268BF0 00265B30 90 01 00 24 */ stw r0, 0x24(r1) -/* 80268BF4 00265B34 38 61 00 08 */ addi r3, r1, 8 -/* 80268BF8 00265B38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80268BFC 00265B3C 7C 9F 23 78 */ mr r31, r4 -/* 80268C00 00265B40 81 84 00 00 */ lwz r12, 0(r4) -/* 80268C04 00265B44 81 8C 00 08 */ lwz r12, 8(r12) -/* 80268C08 00265B48 7D 89 03 A6 */ mtctr r12 -/* 80268C0C 00265B4C 4E 80 04 21 */ bctrl -/* 80268C10 00265B50 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80268C14 00265B54 7F E3 FB 78 */ mr r3, r31 -/* 80268C18 00265B58 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80268C1C 00265B5C C0 01 00 08 */ lfs f0, 8(r1) -/* 80268C20 00265B60 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 80268C24 00265B64 D0 3F 02 D4 */ stfs f1, 0x2d4(r31) -/* 80268C28 00265B68 D0 5F 02 D8 */ stfs f2, 0x2d8(r31) -/* 80268C2C 00265B6C 48 00 13 D9 */ bl randomFlyingTarget__Q34Game4Tobi3ObjFv -/* 80268C30 00265B70 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80268C34 00265B74 7F E3 FB 78 */ mr r3, r31 -/* 80268C38 00265B78 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80268C3C 00265B7C 38 80 00 05 */ li r4, 5 -/* 80268C40 00265B80 60 00 00 01 */ ori r0, r0, 1 -/* 80268C44 00265B84 38 A0 00 00 */ li r5, 0 -/* 80268C48 00265B88 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80268C4C 00265B8C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80268C50 00265B90 60 00 00 04 */ ori r0, r0, 4 -/* 80268C54 00265B94 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80268C58 00265B98 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80268C5C 00265B9C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80268C60 00265BA0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80268C64 00265BA4 4B E9 C3 A1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80268C68 00265BA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80268C6C 00265BAC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80268C70 00265BB0 7C 08 03 A6 */ mtlr r0 -/* 80268C74 00265BB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80268C78 00265BB8 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi8StateFlyFPQ24Game9EnemyBase -exec__Q34Game4Tobi8StateFlyFPQ24Game9EnemyBase: -/* 80268C7C 00265BBC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80268C80 00265BC0 7C 08 02 A6 */ mflr r0 -/* 80268C84 00265BC4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80268C88 00265BC8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80268C8C 00265BCC 7C 9F 23 78 */ mr r31, r4 -/* 80268C90 00265BD0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80268C94 00265BD4 7C 7E 1B 78 */ mr r30, r3 -/* 80268C98 00265BD8 7F E3 FB 78 */ mr r3, r31 -/* 80268C9C 00265BDC 48 00 13 69 */ bl randomFlyingTarget__Q34Game4Tobi3ObjFv -/* 80268CA0 00265BE0 C0 3F 02 D4 */ lfs f1, 0x2d4(r31) -/* 80268CA4 00265BE4 7F E3 FB 78 */ mr r3, r31 -/* 80268CA8 00265BE8 C0 5F 02 D8 */ lfs f2, 0x2d8(r31) -/* 80268CAC 00265BEC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80268CB0 00265BF0 C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 80268CB4 00265BF4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80268CB8 00265BF8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80268CBC 00265BFC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80268CC0 00265C00 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80268CC4 00265C04 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 80268CC8 00265C08 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 80268CCC 00265C0C C0 65 03 34 */ lfs f3, 0x334(r5) -/* 80268CD0 00265C10 4B EA C9 0D */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 80268CD4 00265C14 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80268CD8 00265C18 C0 5F 02 00 */ lfs f2, 0x200(r31) -/* 80268CDC 00265C1C C0 23 01 04 */ lfs f1, 0x104(r3) -/* 80268CE0 00265C20 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 80268CE4 00265C24 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80268CE8 00265C28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268CEC 00265C2C 40 81 00 6C */ ble lbl_80268D58 -/* 80268CF0 00265C30 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80268CF4 00265C34 7F E3 FB 78 */ mr r3, r31 -/* 80268CF8 00265C38 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80268CFC 00265C3C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80268D00 00265C40 4B E9 C5 A1 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80268D04 00265C44 7F E4 FB 78 */ mr r4, r31 -/* 80268D08 00265C48 38 61 00 08 */ addi r3, r1, 8 -/* 80268D0C 00265C4C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80268D10 00265C50 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 80268D14 00265C54 7D 89 03 A6 */ mtctr r12 -/* 80268D18 00265C58 4E 80 04 21 */ bctrl -/* 80268D1C 00265C5C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80268D20 00265C60 7F E3 FB 78 */ mr r3, r31 -/* 80268D24 00265C64 C0 02 CB DC */ lfs f0, lbl_8051AF3C@sda21(r2) -/* 80268D28 00265C68 38 81 00 14 */ addi r4, r1, 0x14 -/* 80268D2C 00265C6C C0 61 00 08 */ lfs f3, 8(r1) -/* 80268D30 00265C70 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80268D34 00265C74 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80268D38 00265C78 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80268D3C 00265C7C D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80268D40 00265C80 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80268D44 00265C84 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80268D48 00265C88 81 9F 00 00 */ lwz r12, 0(r31) -/* 80268D4C 00265C8C 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80268D50 00265C90 7D 89 03 A6 */ mtctr r12 -/* 80268D54 00265C94 4E 80 04 21 */ bctrl -lbl_80268D58: -/* 80268D58 00265C98 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80268D5C 00265C9C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80268D60 00265CA0 28 00 00 00 */ cmplwi r0, 0 -/* 80268D64 00265CA4 41 82 00 30 */ beq lbl_80268D94 -/* 80268D68 00265CA8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80268D6C 00265CAC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80268D70 00265CB0 40 82 00 24 */ bne lbl_80268D94 -/* 80268D74 00265CB4 7F C3 F3 78 */ mr r3, r30 -/* 80268D78 00265CB8 7F E4 FB 78 */ mr r4, r31 -/* 80268D7C 00265CBC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268D80 00265CC0 38 A0 00 05 */ li r5, 5 -/* 80268D84 00265CC4 38 C0 00 00 */ li r6, 0 -/* 80268D88 00265CC8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268D8C 00265CCC 7D 89 03 A6 */ mtctr r12 -/* 80268D90 00265CD0 4E 80 04 21 */ bctrl -lbl_80268D94: -/* 80268D94 00265CD4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80268D98 00265CD8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80268D9C 00265CDC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80268DA0 00265CE0 7C 08 03 A6 */ mtlr r0 -/* 80268DA4 00265CE4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80268DA8 00265CE8 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi8StateFlyFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi8StateFlyFPQ24Game9EnemyBase: -/* 80268DAC 00265CEC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80268DB0 00265CF0 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80268DB4 00265CF4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80268DB8 00265CF8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80268DBC 00265CFC 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 80268DC0 00265D00 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80268DC4 00265D04 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi12StateAttack1FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi12StateAttack1FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80268DC8 00265D08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268DCC 00265D0C 7C 08 02 A6 */ mflr r0 -/* 80268DD0 00265D10 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80268DD4 00265D14 38 A0 00 00 */ li r5, 0 -/* 80268DD8 00265D18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268DDC 00265D1C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80268DE0 00265D20 7C 9F 23 78 */ mr r31, r4 -/* 80268DE4 00265D24 38 80 00 06 */ li r4, 6 -/* 80268DE8 00265D28 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80268DEC 00265D2C 7F E3 FB 78 */ mr r3, r31 -/* 80268DF0 00265D30 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80268DF4 00265D34 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80268DF8 00265D38 4B E9 C2 0D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80268DFC 00265D3C 38 00 FF FF */ li r0, -1 -/* 80268E00 00265D40 7F E3 FB 78 */ mr r3, r31 -/* 80268E04 00265D44 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268E08 00265D48 48 00 24 0D */ bl createBridgeEffect__Q34Game4Tobi3ObjFv -/* 80268E0C 00265D4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80268E10 00265D50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80268E14 00265D54 7C 08 03 A6 */ mtlr r0 -/* 80268E18 00265D58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80268E1C 00265D5C 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi12StateAttack1FPQ24Game9EnemyBase -exec__Q34Game4Tobi12StateAttack1FPQ24Game9EnemyBase: -/* 80268E20 00265D60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268E24 00265D64 7C 08 02 A6 */ mflr r0 -/* 80268E28 00265D68 38 A0 00 00 */ li r5, 0 -/* 80268E2C 00265D6C 38 C0 00 00 */ li r6, 0 -/* 80268E30 00265D70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268E34 00265D74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80268E38 00265D78 7C 9F 23 78 */ mr r31, r4 -/* 80268E3C 00265D7C 38 80 00 00 */ li r4, 0 -/* 80268E40 00265D80 93 C1 00 08 */ stw r30, 8(r1) -/* 80268E44 00265D84 7C 7E 1B 78 */ mr r30, r3 -/* 80268E48 00265D88 7F E3 FB 78 */ mr r3, r31 -/* 80268E4C 00265D8C 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80268E50 00265D90 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80268E54 00265D94 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80268E58 00265D98 4B EA A1 F9 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80268E5C 00265D9C 28 03 00 00 */ cmplwi r3, 0 -/* 80268E60 00265DA0 41 82 00 10 */ beq lbl_80268E70 -/* 80268E64 00265DA4 38 00 00 05 */ li r0, 5 -/* 80268E68 00265DA8 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268E6C 00265DAC 48 00 00 44 */ b lbl_80268EB0 -lbl_80268E70: -/* 80268E70 00265DB0 7F E3 FB 78 */ mr r3, r31 -/* 80268E74 00265DB4 48 00 19 E5 */ bl isBreakBridge__Q34Game4Tobi3ObjFv -/* 80268E78 00265DB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268E7C 00265DBC 41 82 00 2C */ beq lbl_80268EA8 -/* 80268E80 00265DC0 7F E3 FB 78 */ mr r3, r31 -/* 80268E84 00265DC4 48 00 1F 2D */ bl moveBridgeTop__Q34Game4Tobi3ObjFv -/* 80268E88 00265DC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268E8C 00265DCC 41 82 00 10 */ beq lbl_80268E9C -/* 80268E90 00265DD0 38 00 00 0B */ li r0, 0xb -/* 80268E94 00265DD4 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268E98 00265DD8 48 00 00 18 */ b lbl_80268EB0 -lbl_80268E9C: -/* 80268E9C 00265DDC 38 00 00 08 */ li r0, 8 -/* 80268EA0 00265DE0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80268EA4 00265DE4 48 00 00 0C */ b lbl_80268EB0 -lbl_80268EA8: -/* 80268EA8 00265DE8 38 00 00 09 */ li r0, 9 -/* 80268EAC 00265DEC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -lbl_80268EB0: -/* 80268EB0 00265DF0 7F E3 FB 78 */ mr r3, r31 -/* 80268EB4 00265DF4 48 00 13 71 */ bl isFlyingLife__Q34Game4Tobi3ObjFv -/* 80268EB8 00265DF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268EBC 00265DFC 41 82 00 0C */ beq lbl_80268EC8 -/* 80268EC0 00265E00 38 00 00 0A */ li r0, 0xa -/* 80268EC4 00265E04 90 1F 02 C4 */ stw r0, 0x2c4(r31) -lbl_80268EC8: -/* 80268EC8 00265E08 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80268ECC 00265E0C C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80268ED0 00265E10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80268ED4 00265E14 4C 40 13 82 */ cror 2, 0, 2 -/* 80268ED8 00265E18 40 82 00 28 */ bne lbl_80268F00 -/* 80268EDC 00265E1C 7F C3 F3 78 */ mr r3, r30 -/* 80268EE0 00265E20 7F E4 FB 78 */ mr r4, r31 -/* 80268EE4 00265E24 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268EE8 00265E28 38 A0 00 00 */ li r5, 0 -/* 80268EEC 00265E2C 38 C0 00 00 */ li r6, 0 -/* 80268EF0 00265E30 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268EF4 00265E34 7D 89 03 A6 */ mtctr r12 -/* 80268EF8 00265E38 4E 80 04 21 */ bctrl -/* 80268EFC 00265E3C 48 00 00 64 */ b lbl_80268F60 -lbl_80268F00: -/* 80268F00 00265E40 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80268F04 00265E44 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80268F08 00265E48 28 00 00 00 */ cmplwi r0, 0 -/* 80268F0C 00265E4C 41 82 00 54 */ beq lbl_80268F60 -/* 80268F10 00265E50 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80268F14 00265E54 28 00 00 02 */ cmplwi r0, 2 -/* 80268F18 00265E58 40 82 00 20 */ bne lbl_80268F38 -/* 80268F1C 00265E5C 7F E3 FB 78 */ mr r3, r31 -/* 80268F20 00265E60 48 00 19 39 */ bl isBreakBridge__Q34Game4Tobi3ObjFv -/* 80268F24 00265E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80268F28 00265E68 41 82 00 38 */ beq lbl_80268F60 -/* 80268F2C 00265E6C 7F E3 FB 78 */ mr r3, r31 -/* 80268F30 00265E70 48 00 21 71 */ bl breakTargetBridge__Q34Game4Tobi3ObjFv -/* 80268F34 00265E74 48 00 00 2C */ b lbl_80268F60 -lbl_80268F38: -/* 80268F38 00265E78 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80268F3C 00265E7C 40 82 00 24 */ bne lbl_80268F60 -/* 80268F40 00265E80 7F C3 F3 78 */ mr r3, r30 -/* 80268F44 00265E84 7F E4 FB 78 */ mr r4, r31 -/* 80268F48 00265E88 81 9E 00 00 */ lwz r12, 0(r30) -/* 80268F4C 00265E8C 38 C0 00 00 */ li r6, 0 -/* 80268F50 00265E90 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80268F54 00265E94 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80268F58 00265E98 7D 89 03 A6 */ mtctr r12 -/* 80268F5C 00265E9C 4E 80 04 21 */ bctrl -lbl_80268F60: -/* 80268F60 00265EA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80268F64 00265EA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80268F68 00265EA8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80268F6C 00265EAC 7C 08 03 A6 */ mtlr r0 -/* 80268F70 00265EB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80268F74 00265EB4 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi12StateAttack1FPQ24Game9EnemyBase -cleanup__Q34Game4Tobi12StateAttack1FPQ24Game9EnemyBase: -/* 80268F78 00265EB8 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi12StateAttack2FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi12StateAttack2FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80268F7C 00265EBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80268F80 00265EC0 7C 08 02 A6 */ mflr r0 -/* 80268F84 00265EC4 7C 83 23 78 */ mr r3, r4 -/* 80268F88 00265EC8 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80268F8C 00265ECC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80268F90 00265ED0 38 80 00 07 */ li r4, 7 -/* 80268F94 00265ED4 38 A0 00 00 */ li r5, 0 -/* 80268F98 00265ED8 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80268F9C 00265EDC 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80268FA0 00265EE0 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80268FA4 00265EE4 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80268FA8 00265EE8 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80268FAC 00265EEC D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80268FB0 00265EF0 4B E9 C0 55 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80268FB4 00265EF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80268FB8 00265EF8 7C 08 03 A6 */ mtlr r0 -/* 80268FBC 00265EFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80268FC0 00265F00 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi12StateAttack2FPQ24Game9EnemyBase -exec__Q34Game4Tobi12StateAttack2FPQ24Game9EnemyBase: -/* 80268FC4 00265F04 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80268FC8 00265F08 7C 08 02 A6 */ mflr r0 -/* 80268FCC 00265F0C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80268FD0 00265F10 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80268FD4 00265F14 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80268FD8 00265F18 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80268FDC 00265F1C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80268FE0 00265F20 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80268FE4 00265F24 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 80268FE8 00265F28 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80268FEC 00265F2C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80268FF0 00265F30 7C 9F 23 78 */ mr r31, r4 -/* 80268FF4 00265F34 7C 7E 1B 78 */ mr r30, r3 -/* 80268FF8 00265F38 7F E3 FB 78 */ mr r3, r31 -/* 80268FFC 00265F3C 48 00 12 4D */ bl setInWaterDamage__Q34Game4Tobi3ObjFv -/* 80269000 00265F40 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80269004 00265F44 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80269008 00265F48 28 00 00 00 */ cmplwi r0, 0 -/* 8026900C 00265F4C 41 82 01 A0 */ beq lbl_802691AC -/* 80269010 00265F50 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80269014 00265F54 28 00 00 02 */ cmplwi r0, 2 -/* 80269018 00265F58 40 82 00 14 */ bne lbl_8026902C -/* 8026901C 00265F5C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80269020 00265F60 64 00 00 20 */ oris r0, r0, 0x20 -/* 80269024 00265F64 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80269028 00265F68 48 00 01 84 */ b lbl_802691AC -lbl_8026902C: -/* 8026902C 00265F6C 28 00 00 03 */ cmplwi r0, 3 -/* 80269030 00265F70 40 82 00 14 */ bne lbl_80269044 -/* 80269034 00265F74 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80269038 00265F78 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8026903C 00265F7C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80269040 00265F80 48 00 01 6C */ b lbl_802691AC -lbl_80269044: -/* 80269044 00265F84 28 00 00 04 */ cmplwi r0, 4 -/* 80269048 00265F88 40 82 00 34 */ bne lbl_8026907C -/* 8026904C 00265F8C 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 80269050 00265F90 7F E3 FB 78 */ mr r3, r31 -/* 80269054 00265F94 38 80 00 00 */ li r4, 0 -/* 80269058 00265F98 38 A0 00 00 */ li r5, 0 -/* 8026905C 00265F9C C0 26 05 B4 */ lfs f1, 0x5b4(r6) -/* 80269060 00265FA0 C0 46 05 DC */ lfs f2, 0x5dc(r6) -/* 80269064 00265FA4 C0 66 06 04 */ lfs f3, 0x604(r6) -/* 80269068 00265FA8 4B EA B1 F9 */ bl attackNavi__Q24Game9EnemyFuncFPQ24Game8CreaturefffP8CollPartP23Condition$$0Q24Game4Navi$$1 -/* 8026906C 00265FAC 7F E3 FB 78 */ mr r3, r31 -/* 80269070 00265FB0 38 80 00 00 */ li r4, 0 -/* 80269074 00265FB4 4B EA AA C1 */ bl eatPikmin__Q24Game9EnemyFuncFPQ24Game9EnemyBaseP23Condition$$0Q24Game4Piki$$1 -/* 80269078 00265FB8 48 00 01 34 */ b lbl_802691AC -lbl_8026907C: -/* 8026907C 00265FBC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80269080 00265FC0 40 82 01 2C */ bne lbl_802691AC -/* 80269084 00265FC4 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80269088 00265FC8 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 8026908C 00265FCC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80269090 00265FD0 4C 40 13 82 */ cror 2, 0, 2 -/* 80269094 00265FD4 40 82 00 28 */ bne lbl_802690BC -/* 80269098 00265FD8 7F C3 F3 78 */ mr r3, r30 -/* 8026909C 00265FDC 7F E4 FB 78 */ mr r4, r31 -/* 802690A0 00265FE0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802690A4 00265FE4 38 A0 00 00 */ li r5, 0 -/* 802690A8 00265FE8 38 C0 00 00 */ li r6, 0 -/* 802690AC 00265FEC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802690B0 00265FF0 7D 89 03 A6 */ mtctr r12 -/* 802690B4 00265FF4 4E 80 04 21 */ bctrl -/* 802690B8 00265FF8 48 00 00 F4 */ b lbl_802691AC -lbl_802690BC: -/* 802690BC 00265FFC 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 802690C0 00266000 2C 00 00 00 */ cmpwi r0, 0 -/* 802690C4 00266004 41 82 00 28 */ beq lbl_802690EC -/* 802690C8 00266008 7F C3 F3 78 */ mr r3, r30 -/* 802690CC 0026600C 7F E4 FB 78 */ mr r4, r31 -/* 802690D0 00266010 81 9E 00 00 */ lwz r12, 0(r30) -/* 802690D4 00266014 38 A0 00 0D */ li r5, 0xd -/* 802690D8 00266018 38 C0 00 00 */ li r6, 0 -/* 802690DC 0026601C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802690E0 00266020 7D 89 03 A6 */ mtctr r12 -/* 802690E4 00266024 4E 80 04 21 */ bctrl -/* 802690E8 00266028 48 00 00 C4 */ b lbl_802691AC -lbl_802690EC: -/* 802690EC 0026602C 7F E4 FB 78 */ mr r4, r31 -/* 802690F0 00266030 38 61 00 08 */ addi r3, r1, 8 -/* 802690F4 00266034 81 9F 00 00 */ lwz r12, 0(r31) -/* 802690F8 00266038 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 802690FC 0026603C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80269100 00266040 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 80269104 00266044 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 80269108 00266048 7D 89 03 A6 */ mtctr r12 -/* 8026910C 0026604C 4E 80 04 21 */ bctrl -/* 80269110 00266050 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80269114 00266054 C0 41 00 08 */ lfs f2, 8(r1) -/* 80269118 00266058 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 8026911C 0026605C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80269120 00266060 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 80269124 00266064 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 80269128 00266068 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 8026912C 0026606C EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80269130 00266070 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80269134 00266074 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 80269138 00266078 EC 24 08 2A */ fadds f1, f4, f1 -/* 8026913C 0026607C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80269140 00266080 40 81 00 14 */ ble lbl_80269154 -/* 80269144 00266084 40 81 00 14 */ ble lbl_80269158 -/* 80269148 00266088 FC 00 08 34 */ frsqrte f0, f1 -/* 8026914C 0026608C EC 20 00 72 */ fmuls f1, f0, f1 -/* 80269150 00266090 48 00 00 08 */ b lbl_80269158 -lbl_80269154: -/* 80269154 00266094 FC 20 00 90 */ fmr f1, f0 -lbl_80269158: -/* 80269158 00266098 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026915C 0026609C C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 80269160 002660A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80269164 002660A4 40 81 00 28 */ ble lbl_8026918C -/* 80269168 002660A8 7F C3 F3 78 */ mr r3, r30 -/* 8026916C 002660AC 7F E4 FB 78 */ mr r4, r31 -/* 80269170 002660B0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80269174 002660B4 38 A0 00 09 */ li r5, 9 -/* 80269178 002660B8 38 C0 00 00 */ li r6, 0 -/* 8026917C 002660BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80269180 002660C0 7D 89 03 A6 */ mtctr r12 -/* 80269184 002660C4 4E 80 04 21 */ bctrl -/* 80269188 002660C8 48 00 00 24 */ b lbl_802691AC -lbl_8026918C: -/* 8026918C 002660CC 7F C3 F3 78 */ mr r3, r30 -/* 80269190 002660D0 7F E4 FB 78 */ mr r4, r31 -/* 80269194 002660D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80269198 002660D8 38 A0 00 05 */ li r5, 5 -/* 8026919C 002660DC 38 C0 00 00 */ li r6, 0 -/* 802691A0 002660E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802691A4 002660E4 7D 89 03 A6 */ mtctr r12 -/* 802691A8 002660E8 4E 80 04 21 */ bctrl -lbl_802691AC: -/* 802691AC 002660EC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802691B0 002660F0 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802691B4 002660F4 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 802691B8 002660F8 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 802691BC 002660FC E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 802691C0 00266100 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 802691C4 00266104 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802691C8 00266108 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802691CC 0026610C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802691D0 00266110 7C 08 03 A6 */ mtlr r0 -/* 802691D4 00266114 38 21 00 50 */ addi r1, r1, 0x50 -/* 802691D8 00266118 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi12StateAttack2FPQ24Game9EnemyBase -cleanup__Q34Game4Tobi12StateAttack2FPQ24Game9EnemyBase: -/* 802691DC 0026611C 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802691E0 00266120 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 802691E4 00266124 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802691E8 00266128 4E 80 00 20 */ blr - -.global init__Q34Game4Tobi8StateEatFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tobi8StateEatFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802691EC 0026612C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802691F0 00266130 7C 08 02 A6 */ mflr r0 -/* 802691F4 00266134 7C 83 23 78 */ mr r3, r4 -/* 802691F8 00266138 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 802691FC 0026613C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269200 00266140 38 80 00 08 */ li r4, 8 -/* 80269204 00266144 38 A0 00 00 */ li r5, 0 -/* 80269208 00266148 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8026920C 0026614C D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80269210 00266150 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80269214 00266154 4B E9 BD F1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80269218 00266158 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026921C 0026615C 7C 08 03 A6 */ mtlr r0 -/* 80269220 00266160 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269224 00266164 4E 80 00 20 */ blr - -.global exec__Q34Game4Tobi8StateEatFPQ24Game9EnemyBase -exec__Q34Game4Tobi8StateEatFPQ24Game9EnemyBase: -/* 80269228 00266168 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8026922C 0026616C 7C 08 02 A6 */ mflr r0 -/* 80269230 00266170 90 01 00 54 */ stw r0, 0x54(r1) -/* 80269234 00266174 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80269238 00266178 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8026923C 0026617C DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80269240 00266180 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80269244 00266184 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80269248 00266188 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 8026924C 0026618C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80269250 00266190 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80269254 00266194 7C 9F 23 78 */ mr r31, r4 -/* 80269258 00266198 7C 7E 1B 78 */ mr r30, r3 -/* 8026925C 0026619C 7F E3 FB 78 */ mr r3, r31 -/* 80269260 002661A0 48 00 0F E9 */ bl setInWaterDamage__Q34Game4Tobi3ObjFv -/* 80269264 002661A4 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80269268 002661A8 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 8026926C 002661AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80269270 002661B0 4C 40 13 82 */ cror 2, 0, 2 -/* 80269274 002661B4 40 82 00 28 */ bne lbl_8026929C -/* 80269278 002661B8 7F C3 F3 78 */ mr r3, r30 -/* 8026927C 002661BC 7F E4 FB 78 */ mr r4, r31 -/* 80269280 002661C0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80269284 002661C4 38 A0 00 00 */ li r5, 0 -/* 80269288 002661C8 38 C0 00 00 */ li r6, 0 -/* 8026928C 002661CC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80269290 002661D0 7D 89 03 A6 */ mtctr r12 -/* 80269294 002661D4 4E 80 04 21 */ bctrl -/* 80269298 002661D8 48 00 01 08 */ b lbl_802693A0 -lbl_8026929C: -/* 8026929C 002661DC 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802692A0 002661E0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802692A4 002661E4 28 00 00 00 */ cmplwi r0, 0 -/* 802692A8 002661E8 41 82 00 F8 */ beq lbl_802693A0 -/* 802692AC 002661EC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802692B0 002661F0 28 00 00 02 */ cmplwi r0, 2 -/* 802692B4 002661F4 40 82 00 24 */ bne lbl_802692D8 -/* 802692B8 002661F8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802692BC 002661FC 7F E3 FB 78 */ mr r3, r31 -/* 802692C0 00266200 38 80 00 00 */ li r4, 0 -/* 802692C4 00266204 C0 25 08 94 */ lfs f1, 0x894(r5) -/* 802692C8 00266208 4B EA AB BD */ bl swallowPikmin__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Piki$$1 -/* 802692CC 0026620C 7F E3 FB 78 */ mr r3, r31 -/* 802692D0 00266210 48 00 1F D5 */ bl createEatEffect__Q34Game4Tobi3ObjFv -/* 802692D4 00266214 48 00 00 CC */ b lbl_802693A0 -lbl_802692D8: -/* 802692D8 00266218 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802692DC 0026621C 40 82 00 C4 */ bne lbl_802693A0 -/* 802692E0 00266220 7F E4 FB 78 */ mr r4, r31 -/* 802692E4 00266224 38 61 00 08 */ addi r3, r1, 8 -/* 802692E8 00266228 81 9F 00 00 */ lwz r12, 0(r31) -/* 802692EC 0026622C C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 802692F0 00266230 81 8C 00 08 */ lwz r12, 8(r12) -/* 802692F4 00266234 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 802692F8 00266238 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 802692FC 0026623C 7D 89 03 A6 */ mtctr r12 -/* 80269300 00266240 4E 80 04 21 */ bctrl -/* 80269304 00266244 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80269308 00266248 C0 41 00 08 */ lfs f2, 8(r1) -/* 8026930C 0026624C EC 60 F0 28 */ fsubs f3, f0, f30 -/* 80269310 00266250 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80269314 00266254 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 80269318 00266258 C0 02 CB D0 */ lfs f0, lbl_8051AF30@sda21(r2) -/* 8026931C 0026625C EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80269320 00266260 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80269324 00266264 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80269328 00266268 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 8026932C 0026626C EC 24 08 2A */ fadds f1, f4, f1 -/* 80269330 00266270 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80269334 00266274 40 81 00 14 */ ble lbl_80269348 -/* 80269338 00266278 40 81 00 14 */ ble lbl_8026934C -/* 8026933C 0026627C FC 00 08 34 */ frsqrte f0, f1 -/* 80269340 00266280 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80269344 00266284 48 00 00 08 */ b lbl_8026934C -lbl_80269348: -/* 80269348 00266288 FC 20 00 90 */ fmr f1, f0 -lbl_8026934C: -/* 8026934C 0026628C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80269350 00266290 C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 80269354 00266294 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80269358 00266298 40 81 00 28 */ ble lbl_80269380 -/* 8026935C 0026629C 7F C3 F3 78 */ mr r3, r30 -/* 80269360 002662A0 7F E4 FB 78 */ mr r4, r31 -/* 80269364 002662A4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80269368 002662A8 38 A0 00 09 */ li r5, 9 -/* 8026936C 002662AC 38 C0 00 00 */ li r6, 0 -/* 80269370 002662B0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80269374 002662B4 7D 89 03 A6 */ mtctr r12 -/* 80269378 002662B8 4E 80 04 21 */ bctrl -/* 8026937C 002662BC 48 00 00 24 */ b lbl_802693A0 -lbl_80269380: -/* 80269380 002662C0 7F C3 F3 78 */ mr r3, r30 -/* 80269384 002662C4 7F E4 FB 78 */ mr r4, r31 -/* 80269388 002662C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026938C 002662CC 38 A0 00 05 */ li r5, 5 -/* 80269390 002662D0 38 C0 00 00 */ li r6, 0 -/* 80269394 002662D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80269398 002662D8 7D 89 03 A6 */ mtctr r12 -/* 8026939C 002662DC 4E 80 04 21 */ bctrl -lbl_802693A0: -/* 802693A0 002662E0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802693A4 002662E4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802693A8 002662E8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 802693AC 002662EC CB C1 00 30 */ lfd f30, 0x30(r1) -/* 802693B0 002662F0 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 802693B4 002662F4 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 802693B8 002662F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802693BC 002662FC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802693C0 00266300 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802693C4 00266304 7C 08 03 A6 */ mtlr r0 -/* 802693C8 00266308 38 21 00 50 */ addi r1, r1, 0x50 -/* 802693CC 0026630C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tobi8StateEatFPQ24Game9EnemyBase -cleanup__Q34Game4Tobi8StateEatFPQ24Game9EnemyBase: -/* 802693D0 00266310 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game4Tobi14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game4Tobi14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 802693D4 00266314 90 83 00 20 */ stw r4, 0x20(r3) -/* 802693D8 00266318 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Tobi14ProperAnimatorFi -getAnimator__Q34Game4Tobi14ProperAnimatorFi: -/* 802693DC 0026631C 38 63 00 10 */ addi r3, r3, 0x10 -/* 802693E0 00266320 4E 80 00 20 */ blr - -.global __dt__Q34Game4Tobi14ProperAnimatorFv -__dt__Q34Game4Tobi14ProperAnimatorFv: -/* 802693E4 00266324 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802693E8 00266328 7C 08 02 A6 */ mflr r0 -/* 802693EC 0026632C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802693F0 00266330 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802693F4 00266334 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802693F8 00266338 41 82 00 30 */ beq lbl_80269428 -/* 802693FC 0026633C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi14ProperAnimator@ha -/* 80269400 00266340 38 03 4D C0 */ addi r0, r3, __vt__Q34Game4Tobi14ProperAnimator@l -/* 80269404 00266344 90 1F 00 00 */ stw r0, 0(r31) -/* 80269408 00266348 41 82 00 10 */ beq lbl_80269418 -/* 8026940C 0026634C 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 80269410 00266350 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 80269414 00266354 90 1F 00 00 */ stw r0, 0(r31) -lbl_80269418: -/* 80269418 00266358 7C 80 07 35 */ extsh. r0, r4 -/* 8026941C 0026635C 40 81 00 0C */ ble lbl_80269428 -/* 80269420 00266360 7F E3 FB 78 */ mr r3, r31 -/* 80269424 00266364 4B DB AC 91 */ bl __dl__FPv -lbl_80269428: -/* 80269428 00266368 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026942C 0026636C 7F E3 FB 78 */ mr r3, r31 -/* 80269430 00266370 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269434 00266374 7C 08 03 A6 */ mtlr r0 -/* 80269438 00266378 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026943C 0026637C 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Tobi14ProperAnimatorFv -getAnimator__Q34Game4Tobi14ProperAnimatorFv: -/* 80269440 00266380 38 63 00 10 */ addi r3, r3, 0x10 -/* 80269444 00266384 4E 80 00 20 */ blr - -.global __ct__Q34Game4Tobi3MgrFiUc -__ct__Q34Game4Tobi3MgrFiUc: -/* 80269448 00266388 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026944C 0026638C 7C 08 02 A6 */ mflr r0 -/* 80269450 00266390 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269454 00266394 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269458 00266398 7C 7F 1B 78 */ mr r31, r3 -/* 8026945C 0026639C 4B EC 58 39 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80269460 002663A0 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi3Mgr@ha -/* 80269464 002663A4 3C 80 80 48 */ lis r4, lbl_80485B5C@ha -/* 80269468 002663A8 38 A3 4D F4 */ addi r5, r3, __vt__Q34Game4Tobi3Mgr@l -/* 8026946C 002663AC 7F E3 FB 78 */ mr r3, r31 -/* 80269470 002663B0 90 BF 00 00 */ stw r5, 0(r31) -/* 80269474 002663B4 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80269478 002663B8 38 04 5B 5C */ addi r0, r4, lbl_80485B5C@l -/* 8026947C 002663BC 90 BF 00 04 */ stw r5, 4(r31) -/* 80269480 002663C0 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80269484 002663C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269488 002663C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026948C 002663CC 7C 08 03 A6 */ mtlr r0 -/* 80269490 002663D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269494 002663D4 4E 80 00 20 */ blr - -.global doAlloc__Q34Game4Tobi3MgrFv -doAlloc__Q34Game4Tobi3MgrFv: -/* 80269498 002663D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026949C 002663DC 7C 08 02 A6 */ mflr r0 -/* 802694A0 002663E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802694A4 002663E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802694A8 002663E8 7C 7F 1B 78 */ mr r31, r3 -/* 802694AC 002663EC 38 60 08 D0 */ li r3, 0x8d0 -/* 802694B0 002663F0 4B DB A9 F5 */ bl __nw__FUl -/* 802694B4 002663F4 7C 64 1B 79 */ or. r4, r3, r3 -/* 802694B8 002663F8 41 82 00 0C */ beq lbl_802694C4 -/* 802694BC 002663FC 48 00 00 25 */ bl __ct__Q34Game4Tobi5ParmsFv -/* 802694C0 00266400 7C 64 1B 78 */ mr r4, r3 -lbl_802694C4: -/* 802694C4 00266404 7F E3 FB 78 */ mr r3, r31 -/* 802694C8 00266408 4B EC 63 D5 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 802694CC 0026640C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802694D0 00266410 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802694D4 00266414 7C 08 03 A6 */ mtlr r0 -/* 802694D8 00266418 38 21 00 10 */ addi r1, r1, 0x10 -/* 802694DC 0026641C 4E 80 00 20 */ blr - -.global __ct__Q34Game4Tobi5ParmsFv -__ct__Q34Game4Tobi5ParmsFv: -/* 802694E0 00266420 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802694E4 00266424 7C 08 02 A6 */ mflr r0 -/* 802694E8 00266428 3C 80 80 48 */ lis r4, lbl_80485B50@ha -/* 802694EC 0026642C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802694F0 00266430 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802694F4 00266434 3B E4 5B 50 */ addi r31, r4, lbl_80485B50@l -/* 802694F8 00266438 93 C1 00 08 */ stw r30, 8(r1) -/* 802694FC 0026643C 7C 7E 1B 78 */ mr r30, r3 -/* 80269500 00266440 4B EA 02 9D */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80269504 00266444 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi5Parms@ha -/* 80269508 00266448 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8026950C 0026644C 38 03 4D E8 */ addi r0, r3, __vt__Q34Game4Tobi5Parms@l -/* 80269510 00266450 38 9E 08 CC */ addi r4, r30, 0x8cc -/* 80269514 00266454 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 80269518 00266458 38 E0 00 00 */ li r7, 0 -/* 8026951C 0026645C 38 1F 00 20 */ addi r0, r31, 0x20 -/* 80269520 00266460 38 7E 08 04 */ addi r3, r30, 0x804 -/* 80269524 00266464 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 80269528 00266468 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026952C 0026646C 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80269530 00266470 38 DF 00 30 */ addi r6, r31, 0x30 -/* 80269534 00266474 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 80269538 00266478 90 1E 08 00 */ stw r0, 0x800(r30) -/* 8026953C 0026647C 48 1A A1 1D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80269540 00266480 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80269544 00266484 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 80269548 00266488 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026954C 0026648C C0 02 CB E0 */ lfs f0, lbl_8051AF40@sda21(r2) -/* 80269550 00266490 90 1E 08 04 */ stw r0, 0x804(r30) -/* 80269554 00266494 38 7E 08 2C */ addi r3, r30, 0x82c -/* 80269558 00266498 C0 22 CB E4 */ lfs f1, lbl_8051AF44@sda21(r2) -/* 8026955C 0026649C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80269560 002664A0 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 80269564 002664A4 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 80269568 002664A8 C0 02 CB E8 */ lfs f0, lbl_8051AF48@sda21(r2) -/* 8026956C 002664AC 38 DF 00 3C */ addi r6, r31, 0x3c -/* 80269570 002664B0 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 80269574 002664B4 D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 80269578 002664B8 48 1A A0 E1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026957C 002664BC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80269580 002664C0 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 80269584 002664C4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80269588 002664C8 C0 02 CB EC */ lfs f0, lbl_8051AF4C@sda21(r2) -/* 8026958C 002664CC 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 80269590 002664D0 38 7E 08 54 */ addi r3, r30, 0x854 -/* 80269594 002664D4 C0 22 CB E4 */ lfs f1, lbl_8051AF44@sda21(r2) -/* 80269598 002664D8 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026959C 002664DC D0 1E 08 44 */ stfs f0, 0x844(r30) -/* 802695A0 002664E0 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 802695A4 002664E4 C0 02 CB E8 */ lfs f0, lbl_8051AF48@sda21(r2) -/* 802695A8 002664E8 38 DF 00 48 */ addi r6, r31, 0x48 -/* 802695AC 002664EC D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 802695B0 002664F0 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 802695B4 002664F4 48 1A A0 A5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802695B8 002664F8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802695BC 002664FC 3C A0 66 70 */ lis r5, 0x66703131@ha -/* 802695C0 00266500 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802695C4 00266504 C0 02 CB F0 */ lfs f0, lbl_8051AF50@sda21(r2) -/* 802695C8 00266508 90 1E 08 54 */ stw r0, 0x854(r30) -/* 802695CC 0026650C 38 7E 08 7C */ addi r3, r30, 0x87c -/* 802695D0 00266510 C0 22 CB E4 */ lfs f1, lbl_8051AF44@sda21(r2) -/* 802695D4 00266514 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 802695D8 00266518 D0 1E 08 6C */ stfs f0, 0x86c(r30) -/* 802695DC 0026651C 38 A5 31 31 */ addi r5, r5, 0x66703131@l -/* 802695E0 00266520 C0 02 CB F4 */ lfs f0, lbl_8051AF54@sda21(r2) -/* 802695E4 00266524 38 DF 00 58 */ addi r6, r31, 0x58 -/* 802695E8 00266528 D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 802695EC 0026652C D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 802695F0 00266530 48 1A A0 69 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802695F4 00266534 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802695F8 00266538 3C A0 66 70 */ lis r5, 0x66703132@ha -/* 802695FC 0026653C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80269600 00266540 C0 02 CB F4 */ lfs f0, lbl_8051AF54@sda21(r2) -/* 80269604 00266544 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 80269608 00266548 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 8026960C 0026654C C0 22 CB E4 */ lfs f1, lbl_8051AF44@sda21(r2) -/* 80269610 00266550 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80269614 00266554 D0 1E 08 94 */ stfs f0, 0x894(r30) -/* 80269618 00266558 38 A5 31 32 */ addi r5, r5, 0x66703132@l -/* 8026961C 0026655C C0 02 CB F8 */ lfs f0, lbl_8051AF58@sda21(r2) -/* 80269620 00266560 38 DF 00 64 */ addi r6, r31, 0x64 -/* 80269624 00266564 D0 3E 08 9C */ stfs f1, 0x89c(r30) -/* 80269628 00266568 D0 1E 08 A0 */ stfs f0, 0x8a0(r30) -/* 8026962C 0026656C 48 1A A0 2D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80269630 00266570 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80269634 00266574 C0 42 CB FC */ lfs f2, lbl_8051AF5C@sda21(r2) -/* 80269638 00266578 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026963C 0026657C C0 22 CB E4 */ lfs f1, lbl_8051AF44@sda21(r2) -/* 80269640 00266580 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 80269644 00266584 7F C3 F3 78 */ mr r3, r30 -/* 80269648 00266588 C0 02 CC 00 */ lfs f0, lbl_8051AF60@sda21(r2) -/* 8026964C 0026658C D0 5E 08 BC */ stfs f2, 0x8bc(r30) -/* 80269650 00266590 D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 80269654 00266594 D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -/* 80269658 00266598 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026965C 0026659C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80269660 002665A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269664 002665A4 7C 08 03 A6 */ mtlr r0 -/* 80269668 002665A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026966C 002665AC 4E 80 00 20 */ blr - -.global createObj__Q34Game4Tobi3MgrFi -createObj__Q34Game4Tobi3MgrFi: -/* 80269670 002665B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269674 002665B4 7C 08 02 A6 */ mflr r0 -/* 80269678 002665B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026967C 002665BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269680 002665C0 7C 9F 23 78 */ mr r31, r4 -/* 80269684 002665C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80269688 002665C8 7C 7E 1B 78 */ mr r30, r3 -/* 8026968C 002665CC 1C 7F 02 F8 */ mulli r3, r31, 0x2f8 -/* 80269690 002665D0 38 63 00 10 */ addi r3, r3, 0x10 -/* 80269694 002665D4 4B DB A9 19 */ bl __nwa__FUl -/* 80269698 002665D8 3C 80 80 27 */ lis r4, __ct__Q34Game4Tobi3ObjFv@ha -/* 8026969C 002665DC 3C A0 80 27 */ lis r5, __dt__Q34Game4Tobi3ObjFv@ha -/* 802696A0 002665E0 38 84 98 AC */ addi r4, r4, __ct__Q34Game4Tobi3ObjFv@l -/* 802696A4 002665E4 7F E7 FB 78 */ mr r7, r31 -/* 802696A8 002665E8 38 A5 96 D0 */ addi r5, r5, __dt__Q34Game4Tobi3ObjFv@l -/* 802696AC 002665EC 38 C0 02 F8 */ li r6, 0x2f8 -/* 802696B0 002665F0 4B E5 83 41 */ bl __construct_new_array -/* 802696B4 002665F4 90 7E 00 44 */ stw r3, 0x44(r30) -/* 802696B8 002665F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802696BC 002665FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802696C0 00266600 83 C1 00 08 */ lwz r30, 8(r1) -/* 802696C4 00266604 7C 08 03 A6 */ mtlr r0 -/* 802696C8 00266608 38 21 00 10 */ addi r1, r1, 0x10 -/* 802696CC 0026660C 4E 80 00 20 */ blr - -.global __dt__Q34Game4Tobi3ObjFv -__dt__Q34Game4Tobi3ObjFv: -/* 802696D0 00266610 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802696D4 00266614 7C 08 02 A6 */ mflr r0 -/* 802696D8 00266618 90 01 00 14 */ stw r0, 0x14(r1) -/* 802696DC 0026661C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802696E0 00266620 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802696E4 00266624 93 C1 00 08 */ stw r30, 8(r1) -/* 802696E8 00266628 7C 9E 23 78 */ mr r30, r4 -/* 802696EC 0026662C 41 82 00 84 */ beq lbl_80269770 -/* 802696F0 00266630 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi3Obj@ha -/* 802696F4 00266634 38 1F 02 E8 */ addi r0, r31, 0x2e8 -/* 802696F8 00266638 38 83 4E D8 */ addi r4, r3, __vt__Q34Game4Tobi3Obj@l -/* 802696FC 0026663C 90 9F 00 00 */ stw r4, 0(r31) -/* 80269700 00266640 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80269704 00266644 38 84 02 FC */ addi r4, r4, 0x2fc -/* 80269708 00266648 90 7F 01 78 */ stw r3, 0x178(r31) -/* 8026970C 0026664C 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80269710 00266650 90 83 00 00 */ stw r4, 0(r3) -/* 80269714 00266654 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80269718 00266658 7C 03 00 50 */ subf r0, r3, r0 -/* 8026971C 0026665C 90 03 00 0C */ stw r0, 0xc(r3) -/* 80269720 00266660 41 82 00 40 */ beq lbl_80269760 -/* 80269724 00266664 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80269728 00266668 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 8026972C 0026666C 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80269730 00266670 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80269734 00266674 90 9F 00 00 */ stw r4, 0(r31) -/* 80269738 00266678 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8026973C 0026667C 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80269740 00266680 38 80 FF FF */ li r4, -1 -/* 80269744 00266684 90 BF 01 78 */ stw r5, 0x178(r31) -/* 80269748 00266688 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8026974C 0026668C 90 C5 00 00 */ stw r6, 0(r5) -/* 80269750 00266690 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80269754 00266694 7C 05 00 50 */ subf r0, r5, r0 -/* 80269758 00266698 90 05 00 0C */ stw r0, 0xc(r5) -/* 8026975C 0026669C 48 1A 7E 2D */ bl __dt__5CNodeFv -lbl_80269760: -/* 80269760 002666A0 7F C0 07 35 */ extsh. r0, r30 -/* 80269764 002666A4 40 81 00 0C */ ble lbl_80269770 -/* 80269768 002666A8 7F E3 FB 78 */ mr r3, r31 -/* 8026976C 002666AC 4B DB A9 49 */ bl __dl__FPv -lbl_80269770: -/* 80269770 002666B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269774 002666B4 7F E3 FB 78 */ mr r3, r31 -/* 80269778 002666B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026977C 002666BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80269780 002666C0 7C 08 03 A6 */ mtlr r0 -/* 80269784 002666C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269788 002666C8 4E 80 00 20 */ blr - -.global getEnemy__Q34Game4Tobi3MgrFi -getEnemy__Q34Game4Tobi3MgrFi: -/* 8026978C 002666CC 1C 04 02 F8 */ mulli r0, r4, 0x2f8 -/* 80269790 002666D0 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80269794 002666D4 7C 63 02 14 */ add r3, r3, r0 -/* 80269798 002666D8 4E 80 00 20 */ blr - -.global read__Q34Game4Tobi5ParmsFR6Stream -read__Q34Game4Tobi5ParmsFR6Stream: -/* 8026979C 002666DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802697A0 002666E0 7C 08 02 A6 */ mflr r0 -/* 802697A4 002666E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802697A8 002666E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802697AC 002666EC 7C 9F 23 78 */ mr r31, r4 -/* 802697B0 002666F0 93 C1 00 08 */ stw r30, 8(r1) -/* 802697B4 002666F4 7C 7E 1B 78 */ mr r30, r3 -/* 802697B8 002666F8 48 1A A0 3D */ bl read__10ParametersFR6Stream -/* 802697BC 002666FC 7F E4 FB 78 */ mr r4, r31 -/* 802697C0 00266700 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 802697C4 00266704 48 1A A0 31 */ bl read__10ParametersFR6Stream -/* 802697C8 00266708 7F E4 FB 78 */ mr r4, r31 -/* 802697CC 0026670C 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 802697D0 00266710 48 1A A0 25 */ bl read__10ParametersFR6Stream -/* 802697D4 00266714 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802697D8 00266718 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802697DC 0026671C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802697E0 00266720 7C 08 03 A6 */ mtlr r0 -/* 802697E4 00266724 38 21 00 10 */ addi r1, r1, 0x10 -/* 802697E8 00266728 4E 80 00 20 */ blr - -.global __dt__Q34Game4Tobi3MgrFv -__dt__Q34Game4Tobi3MgrFv: -/* 802697EC 0026672C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802697F0 00266730 7C 08 02 A6 */ mflr r0 -/* 802697F4 00266734 90 01 00 14 */ stw r0, 0x14(r1) -/* 802697F8 00266738 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802697FC 0026673C 7C 9F 23 78 */ mr r31, r4 -/* 80269800 00266740 93 C1 00 08 */ stw r30, 8(r1) -/* 80269804 00266744 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80269808 00266748 41 82 00 78 */ beq lbl_80269880 -/* 8026980C 0026674C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi3Mgr@ha -/* 80269810 00266750 38 63 4D F4 */ addi r3, r3, __vt__Q34Game4Tobi3Mgr@l -/* 80269814 00266754 90 7E 00 00 */ stw r3, 0(r30) -/* 80269818 00266758 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026981C 0026675C 90 1E 00 04 */ stw r0, 4(r30) -/* 80269820 00266760 41 82 00 50 */ beq lbl_80269870 -/* 80269824 00266764 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80269828 00266768 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8026982C 0026676C 90 7E 00 00 */ stw r3, 0(r30) -/* 80269830 00266770 38 03 00 38 */ addi r0, r3, 0x38 -/* 80269834 00266774 90 1E 00 04 */ stw r0, 4(r30) -/* 80269838 00266778 41 82 00 38 */ beq lbl_80269870 -/* 8026983C 0026677C 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80269840 00266780 34 1E 00 04 */ addic. r0, r30, 4 -/* 80269844 00266784 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80269848 00266788 90 7E 00 00 */ stw r3, 0(r30) -/* 8026984C 0026678C 38 03 00 38 */ addi r0, r3, 0x38 -/* 80269850 00266790 90 1E 00 04 */ stw r0, 4(r30) -/* 80269854 00266794 41 82 00 1C */ beq lbl_80269870 -/* 80269858 00266798 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8026985C 0026679C 38 7E 00 04 */ addi r3, r30, 4 -/* 80269860 002667A0 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80269864 002667A4 38 80 00 00 */ li r4, 0 -/* 80269868 002667A8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026986C 002667AC 48 1A 7D 1D */ bl __dt__5CNodeFv -lbl_80269870: -/* 80269870 002667B0 7F E0 07 35 */ extsh. r0, r31 -/* 80269874 002667B4 40 81 00 0C */ ble lbl_80269880 -/* 80269878 002667B8 7F C3 F3 78 */ mr r3, r30 -/* 8026987C 002667BC 4B DB A8 39 */ bl __dl__FPv -lbl_80269880: -/* 80269880 002667C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269884 002667C4 7F C3 F3 78 */ mr r3, r30 -/* 80269888 002667C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026988C 002667CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80269890 002667D0 7C 08 03 A6 */ mtlr r0 -/* 80269894 002667D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269898 002667D8 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Tobi3MgrFv -getEnemyTypeID__Q34Game4Tobi3MgrFv: -/* 8026989C 002667DC 38 60 00 0E */ li r3, 0xe -/* 802698A0 002667E0 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game4Tobi3MgrFv -$$24$$2__dt__Q34Game4Tobi3MgrFv: -/* 802698A4 002667E4 38 63 FF FC */ addi r3, r3, -4 -/* 802698A8 002667E8 4B FF FF 44 */ b __dt__Q34Game4Tobi3MgrFv - -.global __ct__Q34Game4Tobi3ObjFv -__ct__Q34Game4Tobi3ObjFv: -/* 802698AC 002667EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802698B0 002667F0 7C 08 02 A6 */ mflr r0 -/* 802698B4 002667F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802698B8 002667F8 7C 80 07 35 */ extsh. r0, r4 -/* 802698BC 002667FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802698C0 00266800 7C 7F 1B 78 */ mr r31, r3 -/* 802698C4 00266804 93 C1 00 08 */ stw r30, 8(r1) -/* 802698C8 00266808 41 82 00 24 */ beq lbl_802698EC -/* 802698CC 0026680C 38 1F 02 E8 */ addi r0, r31, 0x2e8 -/* 802698D0 00266810 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 802698D4 00266814 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 802698D8 00266818 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 802698DC 0026681C 38 00 00 00 */ li r0, 0 -/* 802698E0 00266820 90 7F 02 E8 */ stw r3, 0x2e8(r31) -/* 802698E4 00266824 90 1F 02 EC */ stw r0, 0x2ec(r31) -/* 802698E8 00266828 90 1F 02 F0 */ stw r0, 0x2f0(r31) -lbl_802698EC: -/* 802698EC 0026682C 7F E3 FB 78 */ mr r3, r31 -/* 802698F0 00266830 38 80 00 00 */ li r4, 0 -/* 802698F4 00266834 4B E9 7A AD */ bl __ct__Q24Game9EnemyBaseFv -/* 802698F8 00266838 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi3Obj@ha -/* 802698FC 0026683C 38 1F 02 E8 */ addi r0, r31, 0x2e8 -/* 80269900 00266840 38 A3 4E D8 */ addi r5, r3, __vt__Q34Game4Tobi3Obj@l -/* 80269904 00266844 38 7F 02 C8 */ addi r3, r31, 0x2c8 -/* 80269908 00266848 90 BF 00 00 */ stw r5, 0(r31) -/* 8026990C 0026684C 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80269910 00266850 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 80269914 00266854 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80269918 00266858 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8026991C 0026685C 90 A4 00 00 */ stw r5, 0(r4) -/* 80269920 00266860 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80269924 00266864 7C 04 00 50 */ subf r0, r4, r0 -/* 80269928 00266868 90 04 00 0C */ stw r0, 0xc(r4) -/* 8026992C 0026686C 4B EC EC 1D */ bl __ct__10MouthSlotsFv -/* 80269930 00266870 38 60 00 2C */ li r3, 0x2c -/* 80269934 00266874 4B DB A5 71 */ bl __nw__FUl -/* 80269938 00266878 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026993C 0026687C 41 82 00 44 */ beq lbl_80269980 -/* 80269940 00266880 4B EB E0 35 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80269944 00266884 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi14ProperAnimator@ha -/* 80269948 00266888 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8026994C 0026688C 38 03 4D C0 */ addi r0, r3, __vt__Q34Game4Tobi14ProperAnimator@l -/* 80269950 00266890 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80269954 00266894 90 1E 00 00 */ stw r0, 0(r30) -/* 80269958 00266898 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8026995C 0026689C 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 80269960 002668A0 38 00 00 00 */ li r0, 0 -/* 80269964 002668A4 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80269968 002668A8 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8026996C 002668AC 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80269970 002668B0 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80269974 002668B4 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80269978 002668B8 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026997C 002668BC 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80269980: -/* 80269980 002668C0 93 DF 01 84 */ stw r30, 0x184(r31) -/* 80269984 002668C4 38 60 00 1C */ li r3, 0x1c -/* 80269988 002668C8 4B DB A5 1D */ bl __nw__FUl -/* 8026998C 002668CC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80269990 002668D0 41 82 00 24 */ beq lbl_802699B4 -/* 80269994 002668D4 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 80269998 002668D8 3C 60 80 4C */ lis r3, __vt__Q34Game4Tobi3FSM@ha -/* 8026999C 002668DC 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 802699A0 002668E0 38 A0 FF FF */ li r5, -1 -/* 802699A4 002668E4 90 04 00 00 */ stw r0, 0(r4) -/* 802699A8 002668E8 38 03 4D 9C */ addi r0, r3, __vt__Q34Game4Tobi3FSM@l -/* 802699AC 002668EC 90 A4 00 18 */ stw r5, 0x18(r4) -/* 802699B0 002668F0 90 04 00 00 */ stw r0, 0(r4) -lbl_802699B4: -/* 802699B4 002668F4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802699B8 002668F8 7F E3 FB 78 */ mr r3, r31 -/* 802699BC 002668FC 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 802699C0 00266900 7D 89 03 A6 */ mtctr r12 -/* 802699C4 00266904 4E 80 04 21 */ bctrl -/* 802699C8 00266908 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802699CC 0026690C 7F E3 FB 78 */ mr r3, r31 -/* 802699D0 00266910 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802699D4 00266914 83 C1 00 08 */ lwz r30, 8(r1) -/* 802699D8 00266918 7C 08 03 A6 */ mtlr r0 -/* 802699DC 0026691C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802699E0 00266920 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game4Tobi3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game4Tobi3ObjFPQ24Game21EnemyInitialParamBase: -/* 802699E4 00266924 4E 80 00 20 */ blr - -.global onInit__Q34Game4Tobi3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game4Tobi3ObjFPQ24Game15CreatureInitArg: -/* 802699E8 00266928 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802699EC 0026692C 7C 08 02 A6 */ mflr r0 -/* 802699F0 00266930 90 01 00 14 */ stw r0, 0x14(r1) -/* 802699F4 00266934 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802699F8 00266938 7C 7F 1B 78 */ mr r31, r3 -/* 802699FC 0026693C 4B E9 80 5D */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 80269A00 00266940 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80269A04 00266944 7F E3 FB 78 */ mr r3, r31 -/* 80269A08 00266948 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 80269A0C 0026694C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80269A10 00266950 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80269A14 00266954 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80269A18 00266958 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80269A1C 0026695C 48 00 08 61 */ bl resetAppearCheck__Q34Game4Tobi3ObjFv -/* 80269A20 00266960 38 60 00 00 */ li r3, 0 -/* 80269A24 00266964 38 00 FF FF */ li r0, -1 -/* 80269A28 00266968 98 7F 02 C1 */ stb r3, 0x2c1(r31) -/* 80269A2C 0026696C 7F E3 FB 78 */ mr r3, r31 -/* 80269A30 00266970 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80269A34 00266974 48 00 09 45 */ bl resetBridgeSearch__Q34Game4Tobi3ObjFv -/* 80269A38 00266978 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80269A3C 0026697C 7F E4 FB 78 */ mr r4, r31 -/* 80269A40 00266980 38 A0 00 02 */ li r5, 2 -/* 80269A44 00266984 38 C0 00 00 */ li r6, 0 -/* 80269A48 00266988 81 83 00 00 */ lwz r12, 0(r3) -/* 80269A4C 0026698C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80269A50 00266990 7D 89 03 A6 */ mtctr r12 -/* 80269A54 00266994 4E 80 04 21 */ bctrl -/* 80269A58 00266998 7F E3 FB 78 */ mr r3, r31 -/* 80269A5C 0026699C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80269A60 002669A0 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 80269A64 002669A4 7D 89 03 A6 */ mtctr r12 -/* 80269A68 002669A8 4E 80 04 21 */ bctrl -/* 80269A6C 002669AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269A70 002669B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269A74 002669B4 7C 08 03 A6 */ mtlr r0 -/* 80269A78 002669B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269A7C 002669BC 4E 80 00 20 */ blr - -.global doUpdate__Q34Game4Tobi3ObjFv -doUpdate__Q34Game4Tobi3ObjFv: -/* 80269A80 002669C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269A84 002669C4 7C 08 02 A6 */ mflr r0 -/* 80269A88 002669C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269A8C 002669CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269A90 002669D0 7C 7F 1B 78 */ mr r31, r3 -/* 80269A94 002669D4 7F E4 FB 78 */ mr r4, r31 -/* 80269A98 002669D8 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80269A9C 002669DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80269AA0 002669E0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80269AA4 002669E4 7D 89 03 A6 */ mtctr r12 -/* 80269AA8 002669E8 4E 80 04 21 */ bctrl -/* 80269AAC 002669EC 38 7F 02 C8 */ addi r3, r31, 0x2c8 -/* 80269AB0 002669F0 4B EC EB 7D */ bl update__10MouthSlotsFv -/* 80269AB4 002669F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269AB8 002669F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269ABC 002669FC 7C 08 03 A6 */ mtlr r0 -/* 80269AC0 00266A00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269AC4 00266A04 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game4Tobi3ObjFR8Graphics -doDirectDraw__Q34Game4Tobi3ObjFR8Graphics: -/* 80269AC8 00266A08 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Tobi3ObjFR8Graphics -doDebugDraw__Q34Game4Tobi3ObjFR8Graphics: -/* 80269ACC 00266A0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269AD0 00266A10 7C 08 02 A6 */ mflr r0 -/* 80269AD4 00266A14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269AD8 00266A18 4B E9 C3 95 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80269ADC 00266A1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269AE0 00266A20 7C 08 03 A6 */ mtlr r0 -/* 80269AE4 00266A24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269AE8 00266A28 4E 80 00 20 */ blr - -.global setFSM__Q34Game4Tobi3ObjFPQ34Game4Tobi3FSM -setFSM__Q34Game4Tobi3ObjFPQ34Game4Tobi3FSM: -/* 80269AEC 00266A2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269AF0 00266A30 7C 08 02 A6 */ mflr r0 -/* 80269AF4 00266A34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269AF8 00266A38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269AFC 00266A3C 7C 7F 1B 78 */ mr r31, r3 -/* 80269B00 00266A40 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80269B04 00266A44 7F E4 FB 78 */ mr r4, r31 -/* 80269B08 00266A48 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80269B0C 00266A4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80269B10 00266A50 81 8C 00 08 */ lwz r12, 8(r12) -/* 80269B14 00266A54 7D 89 03 A6 */ mtctr r12 -/* 80269B18 00266A58 4E 80 04 21 */ bctrl -/* 80269B1C 00266A5C 38 00 00 00 */ li r0, 0 -/* 80269B20 00266A60 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80269B24 00266A64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269B28 00266A68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269B2C 00266A6C 7C 08 03 A6 */ mtlr r0 -/* 80269B30 00266A70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269B34 00266A74 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game4Tobi3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game4Tobi3ObjFRQ24Game11ShadowParam: -/* 80269B38 00266A78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269B3C 00266A7C 7C 08 02 A6 */ mflr r0 -/* 80269B40 00266A80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269B44 00266A84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269B48 00266A88 7C 9F 23 78 */ mr r31, r4 -/* 80269B4C 00266A8C 38 82 CC 08 */ addi r4, r2, lbl_8051AF68@sda21 -/* 80269B50 00266A90 93 C1 00 08 */ stw r30, 8(r1) -/* 80269B54 00266A94 7C 7E 1B 78 */ mr r30, r3 -/* 80269B58 00266A98 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80269B5C 00266A9C 48 1D 54 89 */ bl getJoint__Q28SysShape5ModelFPc -/* 80269B60 00266AA0 48 1B FD 41 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80269B64 00266AA4 C0 63 00 2C */ lfs f3, 0x2c(r3) -/* 80269B68 00266AA8 C0 43 00 1C */ lfs f2, 0x1c(r3) -/* 80269B6C 00266AAC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80269B70 00266AB0 7F C3 F3 78 */ mr r3, r30 -/* 80269B74 00266AB4 C0 22 CC 10 */ lfs f1, lbl_8051AF70@sda21(r2) -/* 80269B78 00266AB8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80269B7C 00266ABC C0 02 CC 14 */ lfs f0, lbl_8051AF74@sda21(r2) -/* 80269B80 00266AC0 D0 5F 00 04 */ stfs f2, 4(r31) -/* 80269B84 00266AC4 D0 7F 00 08 */ stfs f3, 8(r31) -/* 80269B88 00266AC8 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80269B8C 00266ACC D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80269B90 00266AD0 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80269B94 00266AD4 4B E9 D8 61 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80269B98 00266AD8 2C 03 00 0A */ cmpwi r3, 0xa -/* 80269B9C 00266ADC 40 82 00 2C */ bne lbl_80269BC8 -/* 80269BA0 00266AE0 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80269BA4 00266AE4 C0 02 CC 18 */ lfs f0, lbl_8051AF78@sda21(r2) -/* 80269BA8 00266AE8 C0 22 CC 1C */ lfs f1, lbl_8051AF7C@sda21(r2) -/* 80269BAC 00266AEC EC 02 00 28 */ fsubs f0, f2, f0 -/* 80269BB0 00266AF0 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80269BB4 00266AF4 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80269BB8 00266AF8 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 80269BBC 00266AFC EC 01 00 2A */ fadds f0, f1, f0 -/* 80269BC0 00266B00 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80269BC4 00266B04 48 00 00 34 */ b lbl_80269BF8 -lbl_80269BC8: -/* 80269BC8 00266B08 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80269BCC 00266B0C C0 02 CC 20 */ lfs f0, lbl_8051AF80@sda21(r2) -/* 80269BD0 00266B10 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80269BD4 00266B14 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80269BD8 00266B18 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 80269BDC 00266B1C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80269BE0 00266B20 41 82 00 10 */ beq lbl_80269BF0 -/* 80269BE4 00266B24 C0 02 CC 1C */ lfs f0, lbl_8051AF7C@sda21(r2) -/* 80269BE8 00266B28 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80269BEC 00266B2C 48 00 00 0C */ b lbl_80269BF8 -lbl_80269BF0: -/* 80269BF0 00266B30 C0 02 CC 24 */ lfs f0, lbl_8051AF84@sda21(r2) -/* 80269BF4 00266B34 D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_80269BF8: -/* 80269BF8 00266B38 C0 02 CC 18 */ lfs f0, lbl_8051AF78@sda21(r2) -/* 80269BFC 00266B3C D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80269C00 00266B40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269C04 00266B44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269C08 00266B48 83 C1 00 08 */ lwz r30, 8(r1) -/* 80269C0C 00266B4C 7C 08 03 A6 */ mtlr r0 -/* 80269C10 00266B50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269C14 00266B54 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game4Tobi3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game4Tobi3ObjFPQ24Game8CreaturefP8CollPart: -/* 80269C18 00266B58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269C1C 00266B5C 7C 08 02 A6 */ mflr r0 -/* 80269C20 00266B60 28 04 00 00 */ cmplwi r4, 0 -/* 80269C24 00266B64 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269C28 00266B68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269C2C 00266B6C 7C 7F 1B 78 */ mr r31, r3 -/* 80269C30 00266B70 41 82 00 74 */ beq lbl_80269CA4 -/* 80269C34 00266B74 7C 83 23 78 */ mr r3, r4 -/* 80269C38 00266B78 81 84 00 00 */ lwz r12, 0(r4) -/* 80269C3C 00266B7C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80269C40 00266B80 7D 89 03 A6 */ mtctr r12 -/* 80269C44 00266B84 4E 80 04 21 */ bctrl -/* 80269C48 00266B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80269C4C 00266B8C 41 82 00 58 */ beq lbl_80269CA4 -/* 80269C50 00266B90 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80269C54 00266B94 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 80269C58 00266B98 40 82 00 4C */ bne lbl_80269CA4 -/* 80269C5C 00266B9C 7F E3 FB 78 */ mr r3, r31 -/* 80269C60 00266BA0 4B E9 D7 95 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80269C64 00266BA4 2C 03 00 04 */ cmpwi r3, 4 -/* 80269C68 00266BA8 40 81 00 0C */ ble lbl_80269C74 -/* 80269C6C 00266BAC 2C 03 00 0A */ cmpwi r3, 0xa -/* 80269C70 00266BB0 41 80 00 0C */ blt lbl_80269C7C -lbl_80269C74: -/* 80269C74 00266BB4 2C 03 00 0A */ cmpwi r3, 0xa -/* 80269C78 00266BB8 40 81 00 2C */ ble lbl_80269CA4 -lbl_80269C7C: -/* 80269C7C 00266BBC 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80269C80 00266BC0 7F E4 FB 78 */ mr r4, r31 -/* 80269C84 00266BC4 38 A0 00 01 */ li r5, 1 -/* 80269C88 00266BC8 38 C0 00 00 */ li r6, 0 -/* 80269C8C 00266BCC 81 83 00 00 */ lwz r12, 0(r3) -/* 80269C90 00266BD0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80269C94 00266BD4 7D 89 03 A6 */ mtctr r12 -/* 80269C98 00266BD8 4E 80 04 21 */ bctrl -/* 80269C9C 00266BDC 38 60 00 01 */ li r3, 1 -/* 80269CA0 00266BE0 48 00 00 08 */ b lbl_80269CA8 -lbl_80269CA4: -/* 80269CA4 00266BE4 38 60 00 00 */ li r3, 0 -lbl_80269CA8: -/* 80269CA8 00266BE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269CAC 00266BEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269CB0 00266BF0 7C 08 03 A6 */ mtlr r0 -/* 80269CB4 00266BF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269CB8 00266BF8 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game4Tobi3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game4Tobi3ObjFPQ24Game8CreaturefP8CollPart: -/* 80269CBC 00266BFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269CC0 00266C00 7C 08 02 A6 */ mflr r0 -/* 80269CC4 00266C04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269CC8 00266C08 81 83 00 00 */ lwz r12, 0(r3) -/* 80269CCC 00266C0C 81 8C 02 7C */ lwz r12, 0x27c(r12) -/* 80269CD0 00266C10 7D 89 03 A6 */ mtctr r12 -/* 80269CD4 00266C14 4E 80 04 21 */ bctrl -/* 80269CD8 00266C18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269CDC 00266C1C 7C 08 03 A6 */ mtlr r0 -/* 80269CE0 00266C20 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269CE4 00266C24 4E 80 00 20 */ blr - -.global flyCollisionCallBack__Q34Game4Tobi3ObjFPQ24Game8CreaturefP8CollPart -flyCollisionCallBack__Q34Game4Tobi3ObjFPQ24Game8CreaturefP8CollPart: -/* 80269CE8 00266C28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269CEC 00266C2C 7C 08 02 A6 */ mflr r0 -/* 80269CF0 00266C30 28 04 00 00 */ cmplwi r4, 0 -/* 80269CF4 00266C34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269CF8 00266C38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269CFC 00266C3C 7C 7F 1B 78 */ mr r31, r3 -/* 80269D00 00266C40 41 82 00 64 */ beq lbl_80269D64 -/* 80269D04 00266C44 7C 83 23 78 */ mr r3, r4 -/* 80269D08 00266C48 81 84 00 00 */ lwz r12, 0(r4) -/* 80269D0C 00266C4C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80269D10 00266C50 7D 89 03 A6 */ mtctr r12 -/* 80269D14 00266C54 4E 80 04 21 */ bctrl -/* 80269D18 00266C58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80269D1C 00266C5C 41 82 00 48 */ beq lbl_80269D64 -/* 80269D20 00266C60 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80269D24 00266C64 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 80269D28 00266C68 40 82 00 3C */ bne lbl_80269D64 -/* 80269D2C 00266C6C 7F E3 FB 78 */ mr r3, r31 -/* 80269D30 00266C70 4B E9 D6 C5 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80269D34 00266C74 2C 03 00 0A */ cmpwi r3, 0xa -/* 80269D38 00266C78 40 82 00 2C */ bne lbl_80269D64 -/* 80269D3C 00266C7C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80269D40 00266C80 7F E4 FB 78 */ mr r4, r31 -/* 80269D44 00266C84 38 A0 00 00 */ li r5, 0 -/* 80269D48 00266C88 38 C0 00 00 */ li r6, 0 -/* 80269D4C 00266C8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80269D50 00266C90 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80269D54 00266C94 7D 89 03 A6 */ mtctr r12 -/* 80269D58 00266C98 4E 80 04 21 */ bctrl -/* 80269D5C 00266C9C 38 60 00 01 */ li r3, 1 -/* 80269D60 00266CA0 48 00 00 08 */ b lbl_80269D68 -lbl_80269D64: -/* 80269D64 00266CA4 38 60 00 00 */ li r3, 0 -lbl_80269D68: -/* 80269D68 00266CA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269D6C 00266CAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269D70 00266CB0 7C 08 03 A6 */ mtlr r0 -/* 80269D74 00266CB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269D78 00266CB8 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game4Tobi3ObjFv -doStartStoneState__Q34Game4Tobi3ObjFv: -/* 80269D7C 00266CBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269D80 00266CC0 7C 08 02 A6 */ mflr r0 -/* 80269D84 00266CC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269D88 00266CC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269D8C 00266CCC 7C 7F 1B 78 */ mr r31, r3 -/* 80269D90 00266CD0 4B E9 91 65 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 80269D94 00266CD4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80269D98 00266CD8 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 80269D9C 00266CDC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80269DA0 00266CE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269DA4 00266CE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269DA8 00266CE8 7C 08 03 A6 */ mtlr r0 -/* 80269DAC 00266CEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269DB0 00266CF0 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game4Tobi3ObjFv -doFinishStoneState__Q34Game4Tobi3ObjFv: -/* 80269DB4 00266CF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269DB8 00266CF8 7C 08 02 A6 */ mflr r0 -/* 80269DBC 00266CFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269DC0 00266D00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269DC4 00266D04 7C 7F 1B 78 */ mr r31, r3 -/* 80269DC8 00266D08 4B E9 91 41 */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 80269DCC 00266D0C 7F E3 FB 78 */ mr r3, r31 -/* 80269DD0 00266D10 4B E9 D6 25 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80269DD4 00266D14 2C 03 00 0A */ cmpwi r3, 0xa -/* 80269DD8 00266D18 40 82 00 24 */ bne lbl_80269DFC -/* 80269DDC 00266D1C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80269DE0 00266D20 7F E4 FB 78 */ mr r4, r31 -/* 80269DE4 00266D24 38 A0 00 05 */ li r5, 5 -/* 80269DE8 00266D28 38 C0 00 00 */ li r6, 0 -/* 80269DEC 00266D2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80269DF0 00266D30 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80269DF4 00266D34 7D 89 03 A6 */ mtctr r12 -/* 80269DF8 00266D38 4E 80 04 21 */ bctrl -lbl_80269DFC: -/* 80269DFC 00266D3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269E00 00266D40 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269E04 00266D44 7C 08 03 A6 */ mtlr r0 -/* 80269E08 00266D48 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269E0C 00266D4C 4E 80 00 20 */ blr - -.global doStartEarthquakeFitState__Q34Game4Tobi3ObjFv -doStartEarthquakeFitState__Q34Game4Tobi3ObjFv: -/* 80269E10 00266D50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269E14 00266D54 7C 08 02 A6 */ mflr r0 -/* 80269E18 00266D58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269E1C 00266D5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269E20 00266D60 7C 7F 1B 78 */ mr r31, r3 -/* 80269E24 00266D64 4B E9 DB 41 */ bl doStartEarthquakeFitState__Q24Game9EnemyBaseFv -/* 80269E28 00266D68 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80269E2C 00266D6C 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 80269E30 00266D70 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80269E34 00266D74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269E38 00266D78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269E3C 00266D7C 7C 08 03 A6 */ mtlr r0 -/* 80269E40 00266D80 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269E44 00266D84 4E 80 00 20 */ blr - -.global doFinishEarthquakeFitState__Q34Game4Tobi3ObjFv -doFinishEarthquakeFitState__Q34Game4Tobi3ObjFv: -/* 80269E48 00266D88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269E4C 00266D8C 7C 08 02 A6 */ mflr r0 -/* 80269E50 00266D90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269E54 00266D94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269E58 00266D98 7C 7F 1B 78 */ mr r31, r3 -/* 80269E5C 00266D9C 4B E9 DB 0D */ bl doFinishEarthquakeFitState__Q24Game9EnemyBaseFv -/* 80269E60 00266DA0 7F E3 FB 78 */ mr r3, r31 -/* 80269E64 00266DA4 4B E9 D5 91 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80269E68 00266DA8 2C 03 00 0A */ cmpwi r3, 0xa -/* 80269E6C 00266DAC 40 82 00 24 */ bne lbl_80269E90 -/* 80269E70 00266DB0 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80269E74 00266DB4 7F E4 FB 78 */ mr r4, r31 -/* 80269E78 00266DB8 38 A0 00 05 */ li r5, 5 -/* 80269E7C 00266DBC 38 C0 00 00 */ li r6, 0 -/* 80269E80 00266DC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80269E84 00266DC4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80269E88 00266DC8 7D 89 03 A6 */ mtctr r12 -/* 80269E8C 00266DCC 4E 80 04 21 */ bctrl -lbl_80269E90: -/* 80269E90 00266DD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269E94 00266DD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269E98 00266DD8 7C 08 03 A6 */ mtlr r0 -/* 80269E9C 00266DDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269EA0 00266DE0 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game4Tobi3ObjFv -startCarcassMotion__Q34Game4Tobi3ObjFv: -/* 80269EA4 00266DE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269EA8 00266DE8 7C 08 02 A6 */ mflr r0 -/* 80269EAC 00266DEC 38 80 00 09 */ li r4, 9 -/* 80269EB0 00266DF0 38 A0 00 00 */ li r5, 0 -/* 80269EB4 00266DF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269EB8 00266DF8 4B E9 B1 4D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80269EBC 00266DFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269EC0 00266E00 7C 08 03 A6 */ mtlr r0 -/* 80269EC4 00266E04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269EC8 00266E08 4E 80 00 20 */ blr - -.global initMouthSlots__Q34Game4Tobi3ObjFv -initMouthSlots__Q34Game4Tobi3ObjFv: -/* 80269ECC 00266E0C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80269ED0 00266E10 7C 08 02 A6 */ mflr r0 -/* 80269ED4 00266E14 90 01 00 24 */ stw r0, 0x24(r1) -/* 80269ED8 00266E18 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80269EDC 00266E1C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80269EE0 00266E20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269EE4 00266E24 93 C1 00 08 */ stw r30, 8(r1) -/* 80269EE8 00266E28 7C 7E 1B 78 */ mr r30, r3 -/* 80269EEC 00266E2C 38 80 00 01 */ li r4, 1 -/* 80269EF0 00266E30 38 7E 02 C8 */ addi r3, r30, 0x2c8 -/* 80269EF4 00266E34 4B EC E6 65 */ bl alloc__10MouthSlotsFi -/* 80269EF8 00266E38 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 80269EFC 00266E3C 38 7E 02 C8 */ addi r3, r30, 0x2c8 -/* 80269F00 00266E40 38 80 00 00 */ li r4, 0 -/* 80269F04 00266E44 38 C2 CC 28 */ addi r6, r2, lbl_8051AF88@sda21 -/* 80269F08 00266E48 4B EC E7 89 */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 80269F0C 00266E4C C3 E2 CC 30 */ lfs f31, lbl_8051AF90@sda21(r2) -/* 80269F10 00266E50 3B E0 00 00 */ li r31, 0 -/* 80269F14 00266E54 48 00 00 18 */ b lbl_80269F2C -lbl_80269F18: -/* 80269F18 00266E58 7F E4 FB 78 */ mr r4, r31 -/* 80269F1C 00266E5C 38 7E 02 C8 */ addi r3, r30, 0x2c8 -/* 80269F20 00266E60 4B EC E8 59 */ bl getSlot__10MouthSlotsFi -/* 80269F24 00266E64 D3 E3 00 1C */ stfs f31, 0x1c(r3) -/* 80269F28 00266E68 3B FF 00 01 */ addi r31, r31, 1 -lbl_80269F2C: -/* 80269F2C 00266E6C 80 1E 02 C8 */ lwz r0, 0x2c8(r30) -/* 80269F30 00266E70 7C 1F 00 00 */ cmpw r31, r0 -/* 80269F34 00266E74 41 80 FF E4 */ blt lbl_80269F18 -/* 80269F38 00266E78 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80269F3C 00266E7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80269F40 00266E80 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80269F44 00266E84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269F48 00266E88 83 C1 00 08 */ lwz r30, 8(r1) -/* 80269F4C 00266E8C 7C 08 03 A6 */ mtlr r0 -/* 80269F50 00266E90 38 21 00 20 */ addi r1, r1, 0x20 -/* 80269F54 00266E94 4E 80 00 20 */ blr - -.global lifeRecover__Q34Game4Tobi3ObjFv -lifeRecover__Q34Game4Tobi3ObjFv: -/* 80269F58 00266E98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80269F5C 00266E9C 7C 08 02 A6 */ mflr r0 -/* 80269F60 00266EA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80269F64 00266EA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80269F68 00266EA8 7C 7F 1B 78 */ mr r31, r3 -/* 80269F6C 00266EAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80269F70 00266EB0 81 8C 00 CC */ lwz r12, 0xcc(r12) -/* 80269F74 00266EB4 7D 89 03 A6 */ mtctr r12 -/* 80269F78 00266EB8 4E 80 04 21 */ bctrl -/* 80269F7C 00266EBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80269F80 00266EC0 41 82 00 38 */ beq lbl_80269FB8 -/* 80269F84 00266EC4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80269F88 00266EC8 C0 42 CC 34 */ lfs f2, lbl_8051AF94@sda21(r2) -/* 80269F8C 00266ECC C0 23 01 04 */ lfs f1, 0x104(r3) -/* 80269F90 00266ED0 C0 1F 02 00 */ lfs f0, 0x200(r31) -/* 80269F94 00266ED4 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80269F98 00266ED8 D0 1F 02 00 */ stfs f0, 0x200(r31) -/* 80269F9C 00266EDC 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80269FA0 00266EE0 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80269FA4 00266EE4 C0 03 01 04 */ lfs f0, 0x104(r3) -/* 80269FA8 00266EE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80269FAC 00266EEC 40 81 00 14 */ ble lbl_80269FC0 -/* 80269FB0 00266EF0 D0 1F 02 00 */ stfs f0, 0x200(r31) -/* 80269FB4 00266EF4 48 00 00 0C */ b lbl_80269FC0 -lbl_80269FB8: -/* 80269FB8 00266EF8 7F E3 FB 78 */ mr r3, r31 -/* 80269FBC 00266EFC 4B E9 B3 D5 */ bl lifeRecover__Q24Game9EnemyBaseFv -lbl_80269FC0: -/* 80269FC0 00266F00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80269FC4 00266F04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80269FC8 00266F08 7C 08 03 A6 */ mtlr r0 -/* 80269FCC 00266F0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80269FD0 00266F10 4E 80 00 20 */ blr - -.global lifeIncrement__Q34Game4Tobi3ObjFv -lifeIncrement__Q34Game4Tobi3ObjFv: -/* 80269FD4 00266F14 C0 22 CC 10 */ lfs f1, lbl_8051AF70@sda21(r2) -/* 80269FD8 00266F18 D0 23 02 08 */ stfs f1, 0x208(r3) -/* 80269FDC 00266F1C 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80269FE0 00266F20 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d -/* 80269FE4 00266F24 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80269FE8 00266F28 C0 03 02 00 */ lfs f0, 0x200(r3) -/* 80269FEC 00266F2C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80269FF0 00266F30 4C 40 13 82 */ cror 2, 0, 2 -/* 80269FF4 00266F34 4C 82 00 20 */ bnelr -/* 80269FF8 00266F38 C0 02 CC 14 */ lfs f0, lbl_8051AF74@sda21(r2) -/* 80269FFC 00266F3C D0 03 02 00 */ stfs f0, 0x200(r3) -/* 8026A000 00266F40 4E 80 00 20 */ blr - -.global randomFlyingTarget__Q34Game4Tobi3ObjFv -randomFlyingTarget__Q34Game4Tobi3ObjFv: -/* 8026A004 00266F44 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8026A008 00266F48 7C 08 02 A6 */ mflr r0 -/* 8026A00C 00266F4C 90 01 00 84 */ stw r0, 0x84(r1) -/* 8026A010 00266F50 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8026A014 00266F54 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8026A018 00266F58 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8026A01C 00266F5C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8026A020 00266F60 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8026A024 00266F64 7C 7F 1B 78 */ mr r31, r3 -/* 8026A028 00266F68 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026A02C 00266F6C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026A030 00266F70 7F E4 FB 78 */ mr r4, r31 -/* 8026A034 00266F74 C3 FF 02 D0 */ lfs f31, 0x2d0(r31) -/* 8026A038 00266F78 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026A03C 00266F7C C3 DF 02 D8 */ lfs f30, 0x2d8(r31) -/* 8026A040 00266F80 7D 89 03 A6 */ mtctr r12 -/* 8026A044 00266F84 4E 80 04 21 */ bctrl -/* 8026A048 00266F88 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8026A04C 00266F8C 7F E4 FB 78 */ mr r4, r31 -/* 8026A050 00266F90 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8026A054 00266F94 38 61 00 08 */ addi r3, r1, 8 -/* 8026A058 00266F98 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8026A05C 00266F9C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8026A060 00266FA0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8026A064 00266FA4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026A068 00266FA8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026A06C 00266FAC 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 8026A070 00266FB0 7D 89 03 A6 */ mtctr r12 -/* 8026A074 00266FB4 4E 80 04 21 */ bctrl -/* 8026A078 00266FB8 C0 62 CC 10 */ lfs f3, lbl_8051AF70@sda21(r2) -/* 8026A07C 00266FBC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8026A080 00266FC0 C0 21 00 08 */ lfs f1, 8(r1) -/* 8026A084 00266FC4 EC 83 00 28 */ fsubs f4, f3, f0 -/* 8026A088 00266FC8 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8026A08C 00266FCC C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8026A090 00266FD0 EC A3 08 28 */ fsubs f5, f3, f1 -/* 8026A094 00266FD4 EC 7E 00 28 */ fsubs f3, f30, f0 -/* 8026A098 00266FD8 C0 02 CC 38 */ lfs f0, lbl_8051AF98@sda21(r2) -/* 8026A09C 00266FDC EC 24 01 32 */ fmuls f1, f4, f4 -/* 8026A0A0 00266FE0 EC 9F 10 28 */ fsubs f4, f31, f2 -/* 8026A0A4 00266FE4 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 8026A0A8 00266FE8 EC 25 09 7A */ fmadds f1, f5, f5, f1 -/* 8026A0AC 00266FEC EC 44 11 3A */ fmadds f2, f4, f4, f2 -/* 8026A0B0 00266FF0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8026A0B4 00266FF4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8026A0B8 00266FF8 40 80 01 04 */ bge lbl_8026A1BC -/* 8026A0BC 00266FFC 4B E5 F4 E5 */ bl rand -/* 8026A0C0 00267000 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026A0C4 00267004 3C 00 43 30 */ lis r0, 0x4330 -/* 8026A0C8 00267008 90 61 00 34 */ stw r3, 0x34(r1) -/* 8026A0CC 0026700C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026A0D0 00267010 90 01 00 30 */ stw r0, 0x30(r1) -/* 8026A0D4 00267014 C8 42 CC 50 */ lfd f2, lbl_8051AFB0@sda21(r2) -/* 8026A0D8 00267018 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 8026A0DC 0026701C C0 22 CC 3C */ lfs f1, lbl_8051AF9C@sda21(r2) -/* 8026A0E0 00267020 EC 40 10 28 */ fsubs f2, f0, f2 -/* 8026A0E4 00267024 C0 02 CC 40 */ lfs f0, lbl_8051AFA0@sda21(r2) -/* 8026A0E8 00267028 C3 C3 03 5C */ lfs f30, 0x35c(r3) -/* 8026A0EC 0026702C EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8026A0F0 00267030 EF E1 00 24 */ fdivs f31, f1, f0 -/* 8026A0F4 00267034 4B E5 F4 AD */ bl rand -/* 8026A0F8 00267038 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026A0FC 0026703C 3C 00 43 30 */ lis r0, 0x4330 -/* 8026A100 00267040 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8026A104 00267044 FC 60 F8 90 */ fmr f3, f31 -/* 8026A108 00267048 C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026A10C 0026704C 90 01 00 38 */ stw r0, 0x38(r1) -/* 8026A110 00267050 C8 42 CC 50 */ lfd f2, lbl_8051AFB0@sda21(r2) -/* 8026A114 00267054 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8026A118 00267058 C8 21 00 38 */ lfd f1, 0x38(r1) -/* 8026A11C 0026705C C0 02 CC 40 */ lfs f0, lbl_8051AFA0@sda21(r2) -/* 8026A120 00267060 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026A124 00267064 EC 3E 00 72 */ fmuls f1, f30, f1 -/* 8026A128 00267068 EC 81 00 24 */ fdivs f4, f1, f0 -/* 8026A12C 0026706C 40 80 00 08 */ bge lbl_8026A134 -/* 8026A130 00267070 FC 60 F8 50 */ fneg f3, f31 -lbl_8026A134: -/* 8026A134 00267074 C0 42 CC 44 */ lfs f2, lbl_8051AFA4@sda21(r2) -/* 8026A138 00267078 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8026A13C 0026707C C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026A140 00267080 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8026A144 00267084 EC 23 00 B2 */ fmuls f1, f3, f2 -/* 8026A148 00267088 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8026A14C 0026708C FC 00 08 1E */ fctiwz f0, f1 -/* 8026A150 00267090 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 8026A154 00267094 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8026A158 00267098 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026A15C 0026709C 7C 64 02 14 */ add r3, r4, r0 -/* 8026A160 002670A0 C0 03 00 04 */ lfs f0, 4(r3) -/* 8026A164 002670A4 EC 64 00 32 */ fmuls f3, f4, f0 -/* 8026A168 002670A8 40 80 00 28 */ bge lbl_8026A190 -/* 8026A16C 002670AC C0 02 CC 48 */ lfs f0, lbl_8051AFA8@sda21(r2) -/* 8026A170 002670B0 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8026A174 002670B4 FC 00 00 1E */ fctiwz f0, f0 -/* 8026A178 002670B8 D8 01 00 48 */ stfd f0, 0x48(r1) -/* 8026A17C 002670BC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8026A180 002670C0 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026A184 002670C4 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8026A188 002670C8 FC 00 00 50 */ fneg f0, f0 -/* 8026A18C 002670CC 48 00 00 1C */ b lbl_8026A1A8 -lbl_8026A190: -/* 8026A190 002670D0 EC 1F 00 B2 */ fmuls f0, f31, f2 -/* 8026A194 002670D4 FC 00 00 1E */ fctiwz f0, f0 -/* 8026A198 002670D8 D8 01 00 50 */ stfd f0, 0x50(r1) -/* 8026A19C 002670DC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8026A1A0 002670E0 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026A1A4 002670E4 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_8026A1A8: -/* 8026A1A8 002670E8 EF E4 00 32 */ fmuls f31, f4, f0 -/* 8026A1AC 002670EC C0 3F 01 98 */ lfs f1, 0x198(r31) -/* 8026A1B0 002670F0 C0 1F 01 A0 */ lfs f0, 0x1a0(r31) -/* 8026A1B4 002670F4 EF FF 08 2A */ fadds f31, f31, f1 -/* 8026A1B8 002670F8 EF C3 00 2A */ fadds f30, f3, f0 -lbl_8026A1BC: -/* 8026A1BC 002670FC 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 8026A1C0 00267100 38 81 00 20 */ addi r4, r1, 0x20 -/* 8026A1C4 00267104 81 83 00 04 */ lwz r12, 4(r3) -/* 8026A1C8 00267108 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8026A1CC 0026710C 7D 89 03 A6 */ mtctr r12 -/* 8026A1D0 00267110 4E 80 04 21 */ bctrl -/* 8026A1D4 00267114 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026A1D8 00267118 C0 42 CC 4C */ lfs f2, lbl_8051AFAC@sda21(r2) -/* 8026A1DC 0026711C C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 8026A1E0 00267120 EC 21 00 2A */ fadds f1, f1, f0 -/* 8026A1E4 00267124 D3 FF 02 D0 */ stfs f31, 0x2d0(r31) -/* 8026A1E8 00267128 D0 3F 02 D4 */ stfs f1, 0x2d4(r31) -/* 8026A1EC 0026712C D3 DF 02 D8 */ stfs f30, 0x2d8(r31) -/* 8026A1F0 00267130 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8026A1F4 00267134 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026A1F8 00267138 EC 02 00 72 */ fmuls f0, f2, f1 -/* 8026A1FC 0026713C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8026A200 00267140 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8026A204 00267144 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8026A208 00267148 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8026A20C 0026714C CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8026A210 00267150 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8026A214 00267154 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8026A218 00267158 7C 08 03 A6 */ mtlr r0 -/* 8026A21C 0026715C 38 21 00 80 */ addi r1, r1, 0x80 -/* 8026A220 00267160 4E 80 00 20 */ blr - -.global isFlyingLife__Q34Game4Tobi3ObjFv -isFlyingLife__Q34Game4Tobi3ObjFv: -/* 8026A224 00267164 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 8026A228 00267168 C0 43 02 00 */ lfs f2, 0x200(r3) -/* 8026A22C 0026716C C0 24 01 04 */ lfs f1, 0x104(r4) -/* 8026A230 00267170 C0 04 08 1C */ lfs f0, 0x81c(r4) -/* 8026A234 00267174 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8026A238 00267178 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026A23C 0026717C 7C 00 00 26 */ mfcr r0 -/* 8026A240 00267180 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8026A244 00267184 4E 80 00 20 */ blr - -.global setInWaterDamage__Q34Game4Tobi3ObjFv -setInWaterDamage__Q34Game4Tobi3ObjFv: -/* 8026A248 00267188 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026A24C 0026718C 7C 08 02 A6 */ mflr r0 -/* 8026A250 00267190 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026A254 00267194 80 03 02 80 */ lwz r0, 0x280(r3) -/* 8026A258 00267198 28 00 00 00 */ cmplwi r0, 0 -/* 8026A25C 0026719C 41 82 00 10 */ beq lbl_8026A26C -/* 8026A260 002671A0 C0 22 CC 20 */ lfs f1, lbl_8051AF80@sda21(r2) -/* 8026A264 002671A4 C0 42 CC 14 */ lfs f2, lbl_8051AF74@sda21(r2) -/* 8026A268 002671A8 4B E9 BD C5 */ bl addDamage__Q24Game9EnemyBaseFff -lbl_8026A26C: -/* 8026A26C 002671AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026A270 002671B0 7C 08 03 A6 */ mtlr r0 -/* 8026A274 002671B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026A278 002671B8 4E 80 00 20 */ blr - -.global resetAppearCheck__Q34Game4Tobi3ObjFv -resetAppearCheck__Q34Game4Tobi3ObjFv: -/* 8026A27C 002671BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026A280 002671C0 7C 08 02 A6 */ mflr r0 -/* 8026A284 002671C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026A288 002671C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026A28C 002671CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026A290 002671D0 7C 7E 1B 78 */ mr r30, r3 -/* 8026A294 002671D4 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8026A298 002671D8 28 04 00 00 */ cmplwi r4, 0 -/* 8026A29C 002671DC 41 82 00 74 */ beq lbl_8026A310 -/* 8026A2A0 002671E0 80 04 00 44 */ lwz r0, 0x44(r4) -/* 8026A2A4 002671E4 2C 00 00 04 */ cmpwi r0, 4 -/* 8026A2A8 002671E8 40 82 00 68 */ bne lbl_8026A310 -/* 8026A2AC 002671EC 4B E5 F2 F5 */ bl rand -/* 8026A2B0 002671F0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026A2B4 002671F4 3C 00 43 30 */ lis r0, 0x4330 -/* 8026A2B8 002671F8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8026A2BC 002671FC 7F C3 F3 78 */ mr r3, r30 -/* 8026A2C0 00267200 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026A2C4 00267204 90 01 00 08 */ stw r0, 8(r1) -/* 8026A2C8 00267208 C8 42 CC 50 */ lfd f2, lbl_8051AFB0@sda21(r2) -/* 8026A2CC 0026720C C8 01 00 08 */ lfd f0, 8(r1) -/* 8026A2D0 00267210 C0 22 CC 40 */ lfs f1, lbl_8051AFA0@sda21(r2) -/* 8026A2D4 00267214 EC 40 10 28 */ fsubs f2, f0, f2 -/* 8026A2D8 00267218 C0 02 CC 24 */ lfs f0, lbl_8051AF84@sda21(r2) -/* 8026A2DC 0026721C 81 8C 01 AC */ lwz r12, 0x1ac(r12) -/* 8026A2E0 00267220 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8026A2E4 00267224 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8026A2E8 00267228 FC 00 00 1E */ fctiwz f0, f0 -/* 8026A2EC 0026722C D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8026A2F0 00267230 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8026A2F4 00267234 7D 89 03 A6 */ mtctr r12 -/* 8026A2F8 00267238 4E 80 04 21 */ bctrl -/* 8026A2FC 0026723C 1C 03 00 05 */ mulli r0, r3, 5 -/* 8026A300 00267240 7C 1F 02 14 */ add r0, r31, r0 -/* 8026A304 00267244 54 00 44 2E */ rlwinm r0, r0, 8, 0x10, 0x17 -/* 8026A308 00267248 B0 1E 02 C2 */ sth r0, 0x2c2(r30) -/* 8026A30C 0026724C 48 00 00 0C */ b lbl_8026A318 -lbl_8026A310: -/* 8026A310 00267250 38 00 00 00 */ li r0, 0 -/* 8026A314 00267254 B0 1E 02 C2 */ sth r0, 0x2c2(r30) -lbl_8026A318: -/* 8026A318 00267258 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026A31C 0026725C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026A320 00267260 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026A324 00267264 7C 08 03 A6 */ mtlr r0 -/* 8026A328 00267268 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026A32C 0026726C 4E 80 00 20 */ blr - -.global isAppearCheck__Q34Game4Tobi3ObjFv -isAppearCheck__Q34Game4Tobi3ObjFv: -/* 8026A330 00267270 A0 83 02 C2 */ lhz r4, 0x2c2(r3) -/* 8026A334 00267274 28 04 00 00 */ cmplwi r4, 0 -/* 8026A338 00267278 41 82 00 38 */ beq lbl_8026A370 -/* 8026A33C 0026727C 38 04 00 01 */ addi r0, r4, 1 -/* 8026A340 00267280 B0 03 02 C2 */ sth r0, 0x2c2(r3) -/* 8026A344 00267284 A0 03 02 C2 */ lhz r0, 0x2c2(r3) -/* 8026A348 00267288 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 8026A34C 0026728C 54 00 C6 3E */ rlwinm r0, r0, 0x18, 0x18, 0x1f -/* 8026A350 00267290 7C 04 00 00 */ cmpw r4, r0 -/* 8026A354 00267294 40 81 00 14 */ ble lbl_8026A368 -/* 8026A358 00267298 38 00 00 00 */ li r0, 0 -/* 8026A35C 0026729C B0 03 02 C2 */ sth r0, 0x2c2(r3) -/* 8026A360 002672A0 38 60 00 01 */ li r3, 1 -/* 8026A364 002672A4 4E 80 00 20 */ blr -lbl_8026A368: -/* 8026A368 002672A8 38 60 00 00 */ li r3, 0 -/* 8026A36C 002672AC 4E 80 00 20 */ blr -lbl_8026A370: -/* 8026A370 002672B0 38 60 00 01 */ li r3, 1 -/* 8026A374 002672B4 4E 80 00 20 */ blr - -.global resetBridgeSearch__Q34Game4Tobi3ObjFv -resetBridgeSearch__Q34Game4Tobi3ObjFv: -/* 8026A378 002672B8 38 80 00 01 */ li r4, 1 -/* 8026A37C 002672BC 38 00 00 00 */ li r0, 0 -/* 8026A380 002672C0 98 83 02 C0 */ stb r4, 0x2c0(r3) -/* 8026A384 002672C4 C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026A388 002672C8 90 03 02 DC */ stw r0, 0x2dc(r3) -/* 8026A38C 002672CC D0 03 02 E0 */ stfs f0, 0x2e0(r3) -/* 8026A390 002672D0 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 8026A394 002672D4 4E 80 00 20 */ blr - -.global setBridgeSearch__Q34Game4Tobi3ObjFv -setBridgeSearch__Q34Game4Tobi3ObjFv: -/* 8026A398 002672D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026A39C 002672DC 7C 08 02 A6 */ mflr r0 -/* 8026A3A0 002672E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026A3A4 002672E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026A3A8 002672E8 7C 7F 1B 78 */ mr r31, r3 -/* 8026A3AC 002672EC 88 03 02 C0 */ lbz r0, 0x2c0(r3) -/* 8026A3B0 002672F0 28 00 00 00 */ cmplwi r0, 0 -/* 8026A3B4 002672F4 41 82 00 18 */ beq lbl_8026A3CC -/* 8026A3B8 002672F8 38 00 00 00 */ li r0, 0 -/* 8026A3BC 002672FC 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 8026A3C0 00267300 48 00 00 21 */ bl setNearestBridge__Q34Game4Tobi3ObjFv -/* 8026A3C4 00267304 7F E3 FB 78 */ mr r3, r31 -/* 8026A3C8 00267308 48 00 02 D9 */ bl setCullingCheck__Q34Game4Tobi3ObjFv -lbl_8026A3CC: -/* 8026A3CC 0026730C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026A3D0 00267310 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026A3D4 00267314 7C 08 03 A6 */ mtlr r0 -/* 8026A3D8 00267318 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026A3DC 0026731C 4E 80 00 20 */ blr - -.global setNearestBridge__Q34Game4Tobi3ObjFv -setNearestBridge__Q34Game4Tobi3ObjFv: -/* 8026A3E0 00267320 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8026A3E4 00267324 7C 08 02 A6 */ mflr r0 -/* 8026A3E8 00267328 90 01 00 54 */ stw r0, 0x54(r1) -/* 8026A3EC 0026732C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8026A3F0 00267330 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8026A3F4 00267334 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8026A3F8 00267338 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8026A3FC 0026733C 7C 7F 1B 78 */ mr r31, r3 -/* 8026A400 00267340 38 00 00 00 */ li r0, 0 -/* 8026A404 00267344 90 03 02 DC */ stw r0, 0x2dc(r3) -/* 8026A408 00267348 C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026A40C 0026734C D0 03 02 E0 */ stfs f0, 0x2e0(r3) -/* 8026A410 00267350 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 8026A414 00267354 80 6D 94 B8 */ lwz r3, mgr__Q24Game10ItemBridge@sda21(r13) -/* 8026A418 00267358 28 03 00 00 */ cmplwi r3, 0 -/* 8026A41C 0026735C 41 82 02 14 */ beq lbl_8026A630 -/* 8026A420 00267360 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8026A424 00267364 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 8026A428 00267368 EF E0 00 32 */ fmuls f31, f0, f0 -/* 8026A42C 0026736C 41 82 00 08 */ beq lbl_8026A434 -/* 8026A430 00267370 38 63 00 30 */ addi r3, r3, 0x30 -lbl_8026A434: -/* 8026A434 00267374 38 00 00 00 */ li r0, 0 -/* 8026A438 00267378 3C 80 80 4B */ lis r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@ha -/* 8026A43C 0026737C 38 84 05 60 */ addi r4, r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@l -/* 8026A440 00267380 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026A444 00267384 28 00 00 00 */ cmplwi r0, 0 -/* 8026A448 00267388 90 81 00 14 */ stw r4, 0x14(r1) -/* 8026A44C 0026738C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8026A450 00267390 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8026A454 00267394 40 82 00 1C */ bne lbl_8026A470 -/* 8026A458 00267398 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A45C 0026739C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026A460 002673A0 7D 89 03 A6 */ mtctr r12 -/* 8026A464 002673A4 4E 80 04 21 */ bctrl -/* 8026A468 002673A8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026A46C 002673AC 48 00 01 A4 */ b lbl_8026A610 -lbl_8026A470: -/* 8026A470 002673B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A474 002673B4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026A478 002673B8 7D 89 03 A6 */ mtctr r12 -/* 8026A47C 002673BC 4E 80 04 21 */ bctrl -/* 8026A480 002673C0 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026A484 002673C4 48 00 00 58 */ b lbl_8026A4DC -lbl_8026A488: -/* 8026A488 002673C8 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026A48C 002673CC 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8026A490 002673D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A494 002673D4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026A498 002673D8 7D 89 03 A6 */ mtctr r12 -/* 8026A49C 002673DC 4E 80 04 21 */ bctrl -/* 8026A4A0 002673E0 7C 64 1B 78 */ mr r4, r3 -/* 8026A4A4 002673E4 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8026A4A8 002673E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A4AC 002673EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026A4B0 002673F0 7D 89 03 A6 */ mtctr r12 -/* 8026A4B4 002673F4 4E 80 04 21 */ bctrl -/* 8026A4B8 002673F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026A4BC 002673FC 40 82 01 54 */ bne lbl_8026A610 -/* 8026A4C0 00267400 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026A4C4 00267404 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8026A4C8 00267408 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A4CC 0026740C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026A4D0 00267410 7D 89 03 A6 */ mtctr r12 -/* 8026A4D4 00267414 4E 80 04 21 */ bctrl -/* 8026A4D8 00267418 90 61 00 18 */ stw r3, 0x18(r1) -lbl_8026A4DC: -/* 8026A4DC 0026741C 81 81 00 14 */ lwz r12, 0x14(r1) -/* 8026A4E0 00267420 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026A4E4 00267424 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026A4E8 00267428 7D 89 03 A6 */ mtctr r12 -/* 8026A4EC 0026742C 4E 80 04 21 */ bctrl -/* 8026A4F0 00267430 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026A4F4 00267434 41 82 FF 94 */ beq lbl_8026A488 -/* 8026A4F8 00267438 48 00 01 18 */ b lbl_8026A610 -lbl_8026A4FC: -/* 8026A4FC 0026743C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026A500 00267440 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A504 00267444 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026A508 00267448 7D 89 03 A6 */ mtctr r12 -/* 8026A50C 0026744C 4E 80 04 21 */ bctrl -/* 8026A510 00267450 7C 60 1B 78 */ mr r0, r3 -/* 8026A514 00267454 38 61 00 08 */ addi r3, r1, 8 -/* 8026A518 00267458 7C 1E 03 78 */ mr r30, r0 -/* 8026A51C 0026745C 7F C4 F3 78 */ mr r4, r30 -/* 8026A520 00267460 4B F8 4A 15 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8026A524 00267464 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8026A528 00267468 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8026A52C 0026746C C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8026A530 00267470 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026A534 00267474 C0 01 00 08 */ lfs f0, 8(r1) -/* 8026A538 00267478 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8026A53C 0026747C EC 01 00 72 */ fmuls f0, f1, f1 -/* 8026A540 00267480 EC 02 00 BA */ fmadds f0, f2, f2, f0 -/* 8026A544 00267484 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8026A548 00267488 40 80 00 0C */ bge lbl_8026A554 -/* 8026A54C 0026748C 93 DF 02 DC */ stw r30, 0x2dc(r31) -/* 8026A550 00267490 FF E0 00 90 */ fmr f31, f0 -lbl_8026A554: -/* 8026A554 00267494 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8026A558 00267498 28 00 00 00 */ cmplwi r0, 0 -/* 8026A55C 0026749C 40 82 00 24 */ bne lbl_8026A580 -/* 8026A560 002674A0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026A564 002674A4 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8026A568 002674A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A56C 002674AC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026A570 002674B0 7D 89 03 A6 */ mtctr r12 -/* 8026A574 002674B4 4E 80 04 21 */ bctrl -/* 8026A578 002674B8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026A57C 002674BC 48 00 00 94 */ b lbl_8026A610 -lbl_8026A580: -/* 8026A580 002674C0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026A584 002674C4 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8026A588 002674C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A58C 002674CC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026A590 002674D0 7D 89 03 A6 */ mtctr r12 -/* 8026A594 002674D4 4E 80 04 21 */ bctrl -/* 8026A598 002674D8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026A59C 002674DC 48 00 00 58 */ b lbl_8026A5F4 -lbl_8026A5A0: -/* 8026A5A0 002674E0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026A5A4 002674E4 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8026A5A8 002674E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A5AC 002674EC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026A5B0 002674F0 7D 89 03 A6 */ mtctr r12 -/* 8026A5B4 002674F4 4E 80 04 21 */ bctrl -/* 8026A5B8 002674F8 7C 64 1B 78 */ mr r4, r3 -/* 8026A5BC 002674FC 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8026A5C0 00267500 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A5C4 00267504 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026A5C8 00267508 7D 89 03 A6 */ mtctr r12 -/* 8026A5CC 0026750C 4E 80 04 21 */ bctrl -/* 8026A5D0 00267510 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026A5D4 00267514 40 82 00 3C */ bne lbl_8026A610 -/* 8026A5D8 00267518 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026A5DC 0026751C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8026A5E0 00267520 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A5E4 00267524 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026A5E8 00267528 7D 89 03 A6 */ mtctr r12 -/* 8026A5EC 0026752C 4E 80 04 21 */ bctrl -/* 8026A5F0 00267530 90 61 00 18 */ stw r3, 0x18(r1) -lbl_8026A5F4: -/* 8026A5F4 00267534 81 81 00 14 */ lwz r12, 0x14(r1) -/* 8026A5F8 00267538 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026A5FC 0026753C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026A600 00267540 7D 89 03 A6 */ mtctr r12 -/* 8026A604 00267544 4E 80 04 21 */ bctrl -/* 8026A608 00267548 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026A60C 0026754C 41 82 FF 94 */ beq lbl_8026A5A0 -lbl_8026A610: -/* 8026A610 00267550 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8026A614 00267554 81 83 00 00 */ lwz r12, 0(r3) -/* 8026A618 00267558 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026A61C 0026755C 7D 89 03 A6 */ mtctr r12 -/* 8026A620 00267560 4E 80 04 21 */ bctrl -/* 8026A624 00267564 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8026A628 00267568 7C 04 18 40 */ cmplw r4, r3 -/* 8026A62C 0026756C 40 82 FE D0 */ bne lbl_8026A4FC -lbl_8026A630: -/* 8026A630 00267570 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 8026A634 00267574 28 03 00 00 */ cmplwi r3, 0 -/* 8026A638 00267578 41 82 00 48 */ beq lbl_8026A680 -/* 8026A63C 0026757C 4B F8 49 F5 */ bl getStageWidth__Q34Game10ItemBridge4ItemFv -/* 8026A640 00267580 C0 02 CC 58 */ lfs f0, lbl_8051AFB8@sda21(r2) -/* 8026A644 00267584 EF E1 00 28 */ fsubs f31, f1, f0 -/* 8026A648 00267588 4B E5 EF 59 */ bl rand -/* 8026A64C 0026758C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026A650 00267590 3C 00 43 30 */ lis r0, 0x4330 -/* 8026A654 00267594 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8026A658 00267598 C8 62 CC 50 */ lfd f3, lbl_8051AFB0@sda21(r2) -/* 8026A65C 0026759C 90 01 00 28 */ stw r0, 0x28(r1) -/* 8026A660 002675A0 C0 22 CC 40 */ lfs f1, lbl_8051AFA0@sda21(r2) -/* 8026A664 002675A4 C8 41 00 28 */ lfd f2, 0x28(r1) -/* 8026A668 002675A8 C0 02 CC 38 */ lfs f0, lbl_8051AF98@sda21(r2) -/* 8026A66C 002675AC EC 42 18 28 */ fsubs f2, f2, f3 -/* 8026A670 002675B0 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8026A674 002675B4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8026A678 002675B8 EC 00 0F FC */ fnmsubs f0, f0, f31, f1 -/* 8026A67C 002675BC D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -lbl_8026A680: -/* 8026A680 002675C0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8026A684 002675C4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8026A688 002675C8 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8026A68C 002675CC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8026A690 002675D0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8026A694 002675D4 7C 08 03 A6 */ mtlr r0 -/* 8026A698 002675D8 38 21 00 50 */ addi r1, r1, 0x50 -/* 8026A69C 002675DC 4E 80 00 20 */ blr - -.global setCullingCheck__Q34Game4Tobi3ObjFv -setCullingCheck__Q34Game4Tobi3ObjFv: -/* 8026A6A0 002675E0 4E 80 00 20 */ blr - -.global checkBreakOrMove__Q34Game4Tobi3ObjFv -checkBreakOrMove__Q34Game4Tobi3ObjFv: -/* 8026A6A4 002675E4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8026A6A8 002675E8 7C 08 02 A6 */ mflr r0 -/* 8026A6AC 002675EC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8026A6B0 002675F0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8026A6B4 002675F4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8026A6B8 002675F8 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8026A6BC 002675FC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8026A6C0 00267600 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8026A6C4 00267604 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8026A6C8 00267608 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8026A6CC 0026760C F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8026A6D0 00267610 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 8026A6D4 00267614 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 8026A6D8 00267618 DB 41 00 40 */ stfd f26, 0x40(r1) -/* 8026A6DC 0026761C F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 -/* 8026A6E0 00267620 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8026A6E4 00267624 7C 7F 1B 78 */ mr r31, r3 -/* 8026A6E8 00267628 80 83 02 DC */ lwz r4, 0x2dc(r3) -/* 8026A6EC 0026762C 28 04 00 00 */ cmplwi r4, 0 -/* 8026A6F0 00267630 41 82 01 20 */ beq lbl_8026A810 -/* 8026A6F4 00267634 38 61 00 20 */ addi r3, r1, 0x20 -/* 8026A6F8 00267638 4B F8 49 41 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8026A6FC 0026763C C3 81 00 20 */ lfs f28, 0x20(r1) -/* 8026A700 00267640 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026A704 00267644 C3 A1 00 24 */ lfs f29, 0x24(r1) -/* 8026A708 00267648 C3 61 00 28 */ lfs f27, 0x28(r1) -/* 8026A70C 0026764C 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 8026A710 00267650 4B F8 48 25 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8026A714 00267654 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8026A718 00267658 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8026A71C 0026765C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8026A720 00267660 EF C2 00 28 */ fsubs f30, f2, f0 -/* 8026A724 00267664 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 8026A728 00267668 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8026A72C 0026766C EF E1 00 28 */ fsubs f31, f1, f0 -/* 8026A730 00267670 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8026A734 00267674 EC 3D 07 B2 */ fmuls f1, f29, f30 -/* 8026A738 00267678 EF A2 00 28 */ fsubs f29, f2, f0 -/* 8026A73C 0026767C C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026A740 00267680 EC 3C 0F FA */ fmadds f1, f28, f31, f1 -/* 8026A744 00267684 EC 3B 0F 7A */ fmadds f1, f27, f29, f1 -/* 8026A748 00267688 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026A74C 0026768C 40 81 00 0C */ ble lbl_8026A758 -/* 8026A750 00267690 38 60 00 07 */ li r3, 7 -/* 8026A754 00267694 48 00 00 C0 */ b lbl_8026A814 -lbl_8026A758: -/* 8026A758 00267698 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 8026A75C 0026769C 38 61 00 08 */ addi r3, r1, 8 -/* 8026A760 002676A0 4B F8 49 7D */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8026A764 002676A4 C3 61 00 08 */ lfs f27, 8(r1) -/* 8026A768 002676A8 C3 81 00 0C */ lfs f28, 0xc(r1) -/* 8026A76C 002676AC C3 41 00 10 */ lfs f26, 0x10(r1) -/* 8026A770 002676B0 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 8026A774 002676B4 4B F8 48 BD */ bl getStageWidth__Q34Game10ItemBridge4ItemFv -/* 8026A778 002676B8 EC 7C 07 B2 */ fmuls f3, f28, f30 -/* 8026A77C 002676BC C0 02 CC 38 */ lfs f0, lbl_8051AF98@sda21(r2) -/* 8026A780 002676C0 C0 42 CC 58 */ lfs f2, lbl_8051AFB8@sda21(r2) -/* 8026A784 002676C4 EC 80 00 72 */ fmuls f4, f0, f1 -/* 8026A788 002676C8 C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026A78C 002676CC EC 3B 1F FA */ fmadds f1, f27, f31, f3 -/* 8026A790 002676D0 EC 42 20 2A */ fadds f2, f2, f4 -/* 8026A794 002676D4 EC 3A 0F 7A */ fmadds f1, f26, f29, f1 -/* 8026A798 002676D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026A79C 002676DC 40 80 00 0C */ bge lbl_8026A7A8 -/* 8026A7A0 002676E0 D0 5F 02 E4 */ stfs f2, 0x2e4(r31) -/* 8026A7A4 002676E4 48 00 00 0C */ b lbl_8026A7B0 -lbl_8026A7A8: -/* 8026A7A8 002676E8 FC 00 10 50 */ fneg f0, f2 -/* 8026A7AC 002676EC D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -lbl_8026A7B0: -/* 8026A7B0 002676F0 C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026A7B4 002676F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026A7B8 002676F8 40 81 00 08 */ ble lbl_8026A7C0 -/* 8026A7BC 002676FC 48 00 00 08 */ b lbl_8026A7C4 -lbl_8026A7C0: -/* 8026A7C0 00267700 FC 20 08 50 */ fneg f1, f1 -lbl_8026A7C4: -/* 8026A7C4 00267704 FC 01 20 40 */ fcmpo cr0, f1, f4 -/* 8026A7C8 00267708 40 81 00 0C */ ble lbl_8026A7D4 -/* 8026A7CC 0026770C 38 60 00 06 */ li r3, 6 -/* 8026A7D0 00267710 48 00 00 44 */ b lbl_8026A814 -lbl_8026A7D4: -/* 8026A7D4 00267714 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 8026A7D8 00267718 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8026A7DC 0026771C 81 83 00 04 */ lwz r12, 4(r3) -/* 8026A7E0 00267720 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8026A7E4 00267724 7D 89 03 A6 */ mtctr r12 -/* 8026A7E8 00267728 4E 80 04 21 */ bctrl -/* 8026A7EC 0026772C C0 02 CC 5C */ lfs f0, lbl_8051AFBC@sda21(r2) -/* 8026A7F0 00267730 C0 5F 01 90 */ lfs f2, 0x190(r31) -/* 8026A7F4 00267734 EC 00 08 2A */ fadds f0, f0, f1 -/* 8026A7F8 00267738 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8026A7FC 0026773C 40 81 00 0C */ ble lbl_8026A808 -/* 8026A800 00267740 38 60 00 08 */ li r3, 8 -/* 8026A804 00267744 48 00 00 10 */ b lbl_8026A814 -lbl_8026A808: -/* 8026A808 00267748 38 60 00 06 */ li r3, 6 -/* 8026A80C 0026774C 48 00 00 08 */ b lbl_8026A814 -lbl_8026A810: -/* 8026A810 00267750 38 60 00 07 */ li r3, 7 -lbl_8026A814: -/* 8026A814 00267754 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8026A818 00267758 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8026A81C 0026775C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8026A820 00267760 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8026A824 00267764 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8026A828 00267768 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8026A82C 0026776C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8026A830 00267770 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8026A834 00267774 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 8026A838 00267778 CB 61 00 50 */ lfd f27, 0x50(r1) -/* 8026A83C 0026777C E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 -/* 8026A840 00267780 CB 41 00 40 */ lfd f26, 0x40(r1) -/* 8026A844 00267784 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8026A848 00267788 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8026A84C 0026778C 7C 08 03 A6 */ mtlr r0 -/* 8026A850 00267790 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8026A854 00267794 4E 80 00 20 */ blr - -.global isBreakBridge__Q34Game4Tobi3ObjFv -isBreakBridge__Q34Game4Tobi3ObjFv: -/* 8026A858 00267798 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 8026A85C 0026779C 28 03 00 00 */ cmplwi r3, 0 -/* 8026A860 002677A0 41 82 00 18 */ beq lbl_8026A878 -/* 8026A864 002677A4 80 03 02 18 */ lwz r0, 0x218(r3) -/* 8026A868 002677A8 2C 00 00 00 */ cmpwi r0, 0 -/* 8026A86C 002677AC 41 82 00 0C */ beq lbl_8026A878 -/* 8026A870 002677B0 38 60 00 01 */ li r3, 1 -/* 8026A874 002677B4 4E 80 00 20 */ blr -lbl_8026A878: -/* 8026A878 002677B8 38 60 00 00 */ li r3, 0 -/* 8026A87C 002677BC 4E 80 00 20 */ blr - -.global moveBridgeSide__Q34Game4Tobi3ObjFv -moveBridgeSide__Q34Game4Tobi3ObjFv: -/* 8026A880 002677C0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8026A884 002677C4 7C 08 02 A6 */ mflr r0 -/* 8026A888 002677C8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8026A88C 002677CC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8026A890 002677D0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8026A894 002677D4 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8026A898 002677D8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8026A89C 002677DC DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8026A8A0 002677E0 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8026A8A4 002677E4 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8026A8A8 002677E8 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8026A8AC 002677EC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8026A8B0 002677F0 7C 7F 1B 78 */ mr r31, r3 -/* 8026A8B4 002677F4 38 61 00 44 */ addi r3, r1, 0x44 -/* 8026A8B8 002677F8 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 8026A8BC 002677FC 4B F8 46 79 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8026A8C0 00267800 C3 A1 00 44 */ lfs f29, 0x44(r1) -/* 8026A8C4 00267804 38 61 00 38 */ addi r3, r1, 0x38 -/* 8026A8C8 00267808 C3 81 00 4C */ lfs f28, 0x4c(r1) -/* 8026A8CC 0026780C 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 8026A8D0 00267810 4B F8 48 0D */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8026A8D4 00267814 C3 C1 00 38 */ lfs f30, 0x38(r1) -/* 8026A8D8 00267818 38 61 00 2C */ addi r3, r1, 0x2c -/* 8026A8DC 0026781C C3 E1 00 40 */ lfs f31, 0x40(r1) -/* 8026A8E0 00267820 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 8026A8E4 00267824 4B F8 47 55 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8026A8E8 00267828 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 8026A8EC 0026782C C0 81 00 34 */ lfs f4, 0x34(r1) -/* 8026A8F0 00267830 EF FF 00 72 */ fmuls f31, f31, f1 -/* 8026A8F4 00267834 C0 02 CC 60 */ lfs f0, lbl_8051AFC0@sda21(r2) -/* 8026A8F8 00267838 EF DE 00 72 */ fmuls f30, f30, f1 -/* 8026A8FC 0026783C C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 8026A900 00267840 EC 84 00 32 */ fmuls f4, f4, f0 -/* 8026A904 00267844 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8026A908 00267848 EF 9C F8 2A */ fadds f28, f28, f31 -/* 8026A90C 0026784C C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8026A910 00267850 EC 63 00 32 */ fmuls f3, f3, f0 -/* 8026A914 00267854 C0 02 CC 64 */ lfs f0, lbl_8051AFC4@sda21(r2) -/* 8026A918 00267858 EF BD F0 2A */ fadds f29, f29, f30 -/* 8026A91C 0026785C EF 9C 20 2A */ fadds f28, f28, f4 -/* 8026A920 00267860 EF BD 18 2A */ fadds f29, f29, f3 -/* 8026A924 00267864 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8026A928 00267868 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 8026A92C 0026786C EC 21 00 72 */ fmuls f1, f1, f1 -/* 8026A930 00267870 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8026A934 00267874 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026A938 00267878 40 80 00 80 */ bge lbl_8026A9B8 -/* 8026A93C 0026787C 7F E3 FB 78 */ mr r3, r31 -/* 8026A940 00267880 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8026A944 00267884 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026A948 00267888 C0 22 CC 68 */ lfs f1, lbl_8051AFC8@sda21(r2) -/* 8026A94C 0026788C C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 8026A950 00267890 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026A954 00267894 EF C1 00 32 */ fmuls f30, f1, f0 -/* 8026A958 00267898 7D 89 03 A6 */ mtctr r12 -/* 8026A95C 0026789C 4E 80 04 21 */ bctrl -/* 8026A960 002678A0 4B E6 4E BD */ bl sin -/* 8026A964 002678A4 7F E3 FB 78 */ mr r3, r31 -/* 8026A968 002678A8 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8026A96C 002678AC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026A970 002678B0 FF A0 08 18 */ frsp f29, f1 -/* 8026A974 002678B4 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8026A978 002678B8 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8026A97C 002678BC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026A980 002678C0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8026A984 002678C4 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 8026A988 002678C8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026A98C 002678CC 7D 89 03 A6 */ mtctr r12 -/* 8026A990 002678D0 4E 80 04 21 */ bctrl -/* 8026A994 002678D4 4B E6 49 21 */ bl cos -/* 8026A998 002678D8 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8026A99C 002678DC 38 60 00 01 */ li r3, 1 -/* 8026A9A0 002678E0 FC 20 08 18 */ frsp f1, f1 -/* 8026A9A4 002678E4 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8026A9A8 002678E8 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8026A9AC 002678EC D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8026A9B0 002678F0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8026A9B4 002678F4 48 00 01 40 */ b lbl_8026AAF4 -lbl_8026A9B8: -/* 8026A9B8 002678F8 7F E4 FB 78 */ mr r4, r31 -/* 8026A9BC 002678FC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8026A9C0 00267900 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026A9C4 00267904 38 61 00 08 */ addi r3, r1, 8 -/* 8026A9C8 00267908 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 8026A9CC 0026790C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026A9D0 00267910 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 8026A9D4 00267914 7D 89 03 A6 */ mtctr r12 -/* 8026A9D8 00267918 4E 80 04 21 */ bctrl -/* 8026A9DC 0026791C C0 21 00 08 */ lfs f1, 8(r1) -/* 8026A9E0 00267920 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8026A9E4 00267924 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8026A9E8 00267928 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8026A9EC 0026792C EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8026A9F0 00267930 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 8026A9F4 00267934 4B DC A7 15 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8026A9F8 00267938 48 1A 71 D9 */ bl roundAng__Ff -/* 8026A9FC 0026793C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026AA00 00267940 FF A0 08 90 */ fmr f29, f1 -/* 8026AA04 00267944 7F E3 FB 78 */ mr r3, r31 -/* 8026AA08 00267948 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AA0C 0026794C 7D 89 03 A6 */ mtctr r12 -/* 8026AA10 00267950 4E 80 04 21 */ bctrl -/* 8026AA14 00267954 FC 40 08 90 */ fmr f2, f1 -/* 8026AA18 00267958 FC 20 E8 90 */ fmr f1, f29 -/* 8026AA1C 0026795C 48 1A 71 E1 */ bl angDist__Fff -/* 8026AA20 00267960 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 8026AA24 00267964 C0 02 CC 70 */ lfs f0, lbl_8051AFD0@sda21(r2) -/* 8026AA28 00267968 C0 22 CC 6C */ lfs f1, lbl_8051AFCC@sda21(r2) -/* 8026AA2C 0026796C EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8026AA30 00267970 FC 40 F2 10 */ fabs f2, f30 -/* 8026AA34 00267974 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8026AA38 00267978 FC 00 10 18 */ frsp f0, f2 -/* 8026AA3C 0026797C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026AA40 00267980 40 81 00 1C */ ble lbl_8026AA5C -/* 8026AA44 00267984 C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026AA48 00267988 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8026AA4C 0026798C 40 81 00 0C */ ble lbl_8026AA58 -/* 8026AA50 00267990 FF C0 08 90 */ fmr f30, f1 -/* 8026AA54 00267994 48 00 00 08 */ b lbl_8026AA5C -lbl_8026AA58: -/* 8026AA58 00267998 FF C0 08 50 */ fneg f30, f1 -lbl_8026AA5C: -/* 8026AA5C 0026799C 7F E3 FB 78 */ mr r3, r31 -/* 8026AA60 002679A0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026AA64 002679A4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AA68 002679A8 7D 89 03 A6 */ mtctr r12 -/* 8026AA6C 002679AC 4E 80 04 21 */ bctrl -/* 8026AA70 002679B0 EC 3E 08 2A */ fadds f1, f30, f1 -/* 8026AA74 002679B4 48 1A 71 5D */ bl roundAng__Ff -/* 8026AA78 002679B8 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8026AA7C 002679BC 7F E3 FB 78 */ mr r3, r31 -/* 8026AA80 002679C0 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8026AA84 002679C4 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8026AA88 002679C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026AA8C 002679CC 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8026AA90 002679D0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AA94 002679D4 C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 8026AA98 002679D8 7D 89 03 A6 */ mtctr r12 -/* 8026AA9C 002679DC 4E 80 04 21 */ bctrl -/* 8026AAA0 002679E0 4B E6 4D 7D */ bl sin -/* 8026AAA4 002679E4 7F E3 FB 78 */ mr r3, r31 -/* 8026AAA8 002679E8 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8026AAAC 002679EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026AAB0 002679F0 FF A0 08 18 */ frsp f29, f1 -/* 8026AAB4 002679F4 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8026AAB8 002679F8 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8026AABC 002679FC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AAC0 00267A00 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8026AAC4 00267A04 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 8026AAC8 00267A08 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8026AACC 00267A0C 7D 89 03 A6 */ mtctr r12 -/* 8026AAD0 00267A10 4E 80 04 21 */ bctrl -/* 8026AAD4 00267A14 4B E6 47 E1 */ bl cos -/* 8026AAD8 00267A18 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8026AADC 00267A1C 38 60 00 00 */ li r3, 0 -/* 8026AAE0 00267A20 FC 20 08 18 */ frsp f1, f1 -/* 8026AAE4 00267A24 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8026AAE8 00267A28 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8026AAEC 00267A2C D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8026AAF0 00267A30 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8026AAF4: -/* 8026AAF4 00267A34 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8026AAF8 00267A38 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8026AAFC 00267A3C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8026AB00 00267A40 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8026AB04 00267A44 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8026AB08 00267A48 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8026AB0C 00267A4C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8026AB10 00267A50 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8026AB14 00267A54 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8026AB18 00267A58 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8026AB1C 00267A5C 7C 08 03 A6 */ mtlr r0 -/* 8026AB20 00267A60 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8026AB24 00267A64 4E 80 00 20 */ blr - -.global moveBridgeCentre__Q34Game4Tobi3ObjFv -moveBridgeCentre__Q34Game4Tobi3ObjFv: -/* 8026AB28 00267A68 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8026AB2C 00267A6C 7C 08 02 A6 */ mflr r0 -/* 8026AB30 00267A70 90 01 00 94 */ stw r0, 0x94(r1) -/* 8026AB34 00267A74 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8026AB38 00267A78 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8026AB3C 00267A7C DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8026AB40 00267A80 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8026AB44 00267A84 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8026AB48 00267A88 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8026AB4C 00267A8C DB 81 00 50 */ stfd f28, 0x50(r1) -/* 8026AB50 00267A90 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 8026AB54 00267A94 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8026AB58 00267A98 7C 7F 1B 78 */ mr r31, r3 -/* 8026AB5C 00267A9C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8026AB60 00267AA0 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 8026AB64 00267AA4 4B F8 43 D1 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8026AB68 00267AA8 C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 8026AB6C 00267AAC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8026AB70 00267AB0 C3 81 00 40 */ lfs f28, 0x40(r1) -/* 8026AB74 00267AB4 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 8026AB78 00267AB8 4B F8 45 65 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8026AB7C 00267ABC C0 22 CC 74 */ lfs f1, lbl_8051AFD4@sda21(r2) -/* 8026AB80 00267AC0 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) -/* 8026AB84 00267AC4 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 8026AB88 00267AC8 EC 61 00 32 */ fmuls f3, f1, f0 -/* 8026AB8C 00267ACC C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 8026AB90 00267AD0 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8026AB94 00267AD4 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8026AB98 00267AD8 EC A5 00 F2 */ fmuls f5, f5, f3 -/* 8026AB9C 00267ADC C0 02 CC 64 */ lfs f0, lbl_8051AFC4@sda21(r2) -/* 8026ABA0 00267AE0 EC 84 00 F2 */ fmuls f4, f4, f3 -/* 8026ABA4 00267AE4 EF 9C 28 2A */ fadds f28, f28, f5 -/* 8026ABA8 00267AE8 EF BD 20 2A */ fadds f29, f29, f4 -/* 8026ABAC 00267AEC EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8026ABB0 00267AF0 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 8026ABB4 00267AF4 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8026ABB8 00267AF8 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8026ABBC 00267AFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026ABC0 00267B00 40 80 00 80 */ bge lbl_8026AC40 -/* 8026ABC4 00267B04 7F E3 FB 78 */ mr r3, r31 -/* 8026ABC8 00267B08 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8026ABCC 00267B0C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026ABD0 00267B10 C0 22 CC 68 */ lfs f1, lbl_8051AFC8@sda21(r2) -/* 8026ABD4 00267B14 C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 8026ABD8 00267B18 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026ABDC 00267B1C EF C1 00 32 */ fmuls f30, f1, f0 -/* 8026ABE0 00267B20 7D 89 03 A6 */ mtctr r12 -/* 8026ABE4 00267B24 4E 80 04 21 */ bctrl -/* 8026ABE8 00267B28 4B E6 4C 35 */ bl sin -/* 8026ABEC 00267B2C 7F E3 FB 78 */ mr r3, r31 -/* 8026ABF0 00267B30 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8026ABF4 00267B34 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026ABF8 00267B38 FF A0 08 18 */ frsp f29, f1 -/* 8026ABFC 00267B3C C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8026AC00 00267B40 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8026AC04 00267B44 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AC08 00267B48 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8026AC0C 00267B4C D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 8026AC10 00267B50 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026AC14 00267B54 7D 89 03 A6 */ mtctr r12 -/* 8026AC18 00267B58 4E 80 04 21 */ bctrl -/* 8026AC1C 00267B5C 4B E6 46 99 */ bl cos -/* 8026AC20 00267B60 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8026AC24 00267B64 38 60 00 01 */ li r3, 1 -/* 8026AC28 00267B68 FC 20 08 18 */ frsp f1, f1 -/* 8026AC2C 00267B6C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8026AC30 00267B70 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8026AC34 00267B74 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8026AC38 00267B78 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8026AC3C 00267B7C 48 00 01 40 */ b lbl_8026AD7C -lbl_8026AC40: -/* 8026AC40 00267B80 7F E4 FB 78 */ mr r4, r31 -/* 8026AC44 00267B84 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8026AC48 00267B88 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026AC4C 00267B8C 38 61 00 08 */ addi r3, r1, 8 -/* 8026AC50 00267B90 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 8026AC54 00267B94 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026AC58 00267B98 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 8026AC5C 00267B9C 7D 89 03 A6 */ mtctr r12 -/* 8026AC60 00267BA0 4E 80 04 21 */ bctrl -/* 8026AC64 00267BA4 C0 21 00 08 */ lfs f1, 8(r1) -/* 8026AC68 00267BA8 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8026AC6C 00267BAC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8026AC70 00267BB0 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8026AC74 00267BB4 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8026AC78 00267BB8 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 8026AC7C 00267BBC 4B DC A4 8D */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8026AC80 00267BC0 48 1A 6F 51 */ bl roundAng__Ff -/* 8026AC84 00267BC4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026AC88 00267BC8 FF A0 08 90 */ fmr f29, f1 -/* 8026AC8C 00267BCC 7F E3 FB 78 */ mr r3, r31 -/* 8026AC90 00267BD0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AC94 00267BD4 7D 89 03 A6 */ mtctr r12 -/* 8026AC98 00267BD8 4E 80 04 21 */ bctrl -/* 8026AC9C 00267BDC FC 40 08 90 */ fmr f2, f1 -/* 8026ACA0 00267BE0 FC 20 E8 90 */ fmr f1, f29 -/* 8026ACA4 00267BE4 48 1A 6F 59 */ bl angDist__Fff -/* 8026ACA8 00267BE8 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 8026ACAC 00267BEC C0 02 CC 70 */ lfs f0, lbl_8051AFD0@sda21(r2) -/* 8026ACB0 00267BF0 C0 22 CC 6C */ lfs f1, lbl_8051AFCC@sda21(r2) -/* 8026ACB4 00267BF4 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8026ACB8 00267BF8 FC 40 F2 10 */ fabs f2, f30 -/* 8026ACBC 00267BFC EC 21 00 32 */ fmuls f1, f1, f0 -/* 8026ACC0 00267C00 FC 00 10 18 */ frsp f0, f2 -/* 8026ACC4 00267C04 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026ACC8 00267C08 40 81 00 1C */ ble lbl_8026ACE4 -/* 8026ACCC 00267C0C C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026ACD0 00267C10 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8026ACD4 00267C14 40 81 00 0C */ ble lbl_8026ACE0 -/* 8026ACD8 00267C18 FF C0 08 90 */ fmr f30, f1 -/* 8026ACDC 00267C1C 48 00 00 08 */ b lbl_8026ACE4 -lbl_8026ACE0: -/* 8026ACE0 00267C20 FF C0 08 50 */ fneg f30, f1 -lbl_8026ACE4: -/* 8026ACE4 00267C24 7F E3 FB 78 */ mr r3, r31 -/* 8026ACE8 00267C28 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026ACEC 00267C2C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026ACF0 00267C30 7D 89 03 A6 */ mtctr r12 -/* 8026ACF4 00267C34 4E 80 04 21 */ bctrl -/* 8026ACF8 00267C38 EC 3E 08 2A */ fadds f1, f30, f1 -/* 8026ACFC 00267C3C 48 1A 6E D5 */ bl roundAng__Ff -/* 8026AD00 00267C40 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8026AD04 00267C44 7F E3 FB 78 */ mr r3, r31 -/* 8026AD08 00267C48 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8026AD0C 00267C4C D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8026AD10 00267C50 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026AD14 00267C54 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8026AD18 00267C58 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AD1C 00267C5C C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 8026AD20 00267C60 7D 89 03 A6 */ mtctr r12 -/* 8026AD24 00267C64 4E 80 04 21 */ bctrl -/* 8026AD28 00267C68 4B E6 4A F5 */ bl sin -/* 8026AD2C 00267C6C 7F E3 FB 78 */ mr r3, r31 -/* 8026AD30 00267C70 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8026AD34 00267C74 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026AD38 00267C78 FF A0 08 18 */ frsp f29, f1 -/* 8026AD3C 00267C7C C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8026AD40 00267C80 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8026AD44 00267C84 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AD48 00267C88 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8026AD4C 00267C8C D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 8026AD50 00267C90 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8026AD54 00267C94 7D 89 03 A6 */ mtctr r12 -/* 8026AD58 00267C98 4E 80 04 21 */ bctrl -/* 8026AD5C 00267C9C 4B E6 45 59 */ bl cos -/* 8026AD60 00267CA0 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8026AD64 00267CA4 38 60 00 00 */ li r3, 0 -/* 8026AD68 00267CA8 FC 20 08 18 */ frsp f1, f1 -/* 8026AD6C 00267CAC D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8026AD70 00267CB0 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8026AD74 00267CB4 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8026AD78 00267CB8 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8026AD7C: -/* 8026AD7C 00267CBC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8026AD80 00267CC0 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8026AD84 00267CC4 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8026AD88 00267CC8 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8026AD8C 00267CCC E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8026AD90 00267CD0 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8026AD94 00267CD4 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8026AD98 00267CD8 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8026AD9C 00267CDC 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8026ADA0 00267CE0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8026ADA4 00267CE4 7C 08 03 A6 */ mtlr r0 -/* 8026ADA8 00267CE8 38 21 00 90 */ addi r1, r1, 0x90 -/* 8026ADAC 00267CEC 4E 80 00 20 */ blr - -.global moveBridgeTop__Q34Game4Tobi3ObjFv -moveBridgeTop__Q34Game4Tobi3ObjFv: -/* 8026ADB0 00267CF0 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8026ADB4 00267CF4 7C 08 02 A6 */ mflr r0 -/* 8026ADB8 00267CF8 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8026ADBC 00267CFC DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8026ADC0 00267D00 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8026ADC4 00267D04 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8026ADC8 00267D08 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8026ADCC 00267D0C DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8026ADD0 00267D10 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8026ADD4 00267D14 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8026ADD8 00267D18 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8026ADDC 00267D1C DB 61 00 60 */ stfd f27, 0x60(r1) -/* 8026ADE0 00267D20 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8026ADE4 00267D24 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8026ADE8 00267D28 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8026ADEC 00267D2C 7C 7E 1B 78 */ mr r30, r3 -/* 8026ADF0 00267D30 38 61 00 44 */ addi r3, r1, 0x44 -/* 8026ADF4 00267D34 80 9E 02 DC */ lwz r4, 0x2dc(r30) -/* 8026ADF8 00267D38 80 A4 02 18 */ lwz r5, 0x218(r4) -/* 8026ADFC 00267D3C 3B E5 FF FF */ addi r31, r5, -1 -/* 8026AE00 00267D40 7F E5 FB 78 */ mr r5, r31 -/* 8026AE04 00267D44 4B F8 40 49 */ bl getStagePos__Q34Game10ItemBridge4ItemFi -/* 8026AE08 00267D48 C3 E1 00 44 */ lfs f31, 0x44(r1) -/* 8026AE0C 00267D4C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8026AE10 00267D50 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 8026AE14 00267D54 80 9E 02 DC */ lwz r4, 0x2dc(r30) -/* 8026AE18 00267D58 4B F8 42 C5 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8026AE1C 00267D5C C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8026AE20 00267D60 2C 1F 00 00 */ cmpwi r31, 0 -/* 8026AE24 00267D64 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) -/* 8026AE28 00267D68 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 8026AE2C 00267D6C EC 21 00 32 */ fmuls f1, f1, f0 -/* 8026AE30 00267D70 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8026AE34 00267D74 EF FF 08 2A */ fadds f31, f31, f1 -/* 8026AE38 00267D78 EF DE 10 2A */ fadds f30, f30, f2 -/* 8026AE3C 00267D7C 40 81 00 2C */ ble lbl_8026AE68 -/* 8026AE40 00267D80 80 9E 02 DC */ lwz r4, 0x2dc(r30) -/* 8026AE44 00267D84 38 61 00 2C */ addi r3, r1, 0x2c -/* 8026AE48 00267D88 4B F8 41 F1 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8026AE4C 00267D8C C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8026AE50 00267D90 C0 02 CC 60 */ lfs f0, lbl_8051AFC0@sda21(r2) -/* 8026AE54 00267D94 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 8026AE58 00267D98 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8026AE5C 00267D9C EC 42 00 32 */ fmuls f2, f2, f0 -/* 8026AE60 00267DA0 EF FF 08 2A */ fadds f31, f31, f1 -/* 8026AE64 00267DA4 EF DE 10 2A */ fadds f30, f30, f2 -lbl_8026AE68: -/* 8026AE68 00267DA8 7F C4 F3 78 */ mr r4, r30 -/* 8026AE6C 00267DAC 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8026AE70 00267DB0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026AE74 00267DB4 38 61 00 08 */ addi r3, r1, 8 -/* 8026AE78 00267DB8 C3 85 03 34 */ lfs f28, 0x334(r5) -/* 8026AE7C 00267DBC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026AE80 00267DC0 C3 A5 03 0C */ lfs f29, 0x30c(r5) -/* 8026AE84 00267DC4 7D 89 03 A6 */ mtctr r12 -/* 8026AE88 00267DC8 4E 80 04 21 */ bctrl -/* 8026AE8C 00267DCC C0 21 00 08 */ lfs f1, 8(r1) -/* 8026AE90 00267DD0 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8026AE94 00267DD4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8026AE98 00267DD8 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8026AE9C 00267DDC EC 3F 08 28 */ fsubs f1, f31, f1 -/* 8026AEA0 00267DE0 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 8026AEA4 00267DE4 4B DC A2 65 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8026AEA8 00267DE8 48 1A 6D 29 */ bl roundAng__Ff -/* 8026AEAC 00267DEC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026AEB0 00267DF0 FF 60 08 90 */ fmr f27, f1 -/* 8026AEB4 00267DF4 7F C3 F3 78 */ mr r3, r30 -/* 8026AEB8 00267DF8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AEBC 00267DFC 7D 89 03 A6 */ mtctr r12 -/* 8026AEC0 00267E00 4E 80 04 21 */ bctrl -/* 8026AEC4 00267E04 FC 40 08 90 */ fmr f2, f1 -/* 8026AEC8 00267E08 FC 20 D8 90 */ fmr f1, f27 -/* 8026AECC 00267E0C 48 1A 6D 31 */ bl angDist__Fff -/* 8026AED0 00267E10 EF A1 07 72 */ fmuls f29, f1, f29 -/* 8026AED4 00267E14 C0 02 CC 70 */ lfs f0, lbl_8051AFD0@sda21(r2) -/* 8026AED8 00267E18 C0 22 CC 6C */ lfs f1, lbl_8051AFCC@sda21(r2) -/* 8026AEDC 00267E1C EC 00 07 32 */ fmuls f0, f0, f28 -/* 8026AEE0 00267E20 FC 40 EA 10 */ fabs f2, f29 -/* 8026AEE4 00267E24 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8026AEE8 00267E28 FC 00 10 18 */ frsp f0, f2 -/* 8026AEEC 00267E2C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026AEF0 00267E30 40 81 00 1C */ ble lbl_8026AF0C -/* 8026AEF4 00267E34 C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026AEF8 00267E38 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8026AEFC 00267E3C 40 81 00 0C */ ble lbl_8026AF08 -/* 8026AF00 00267E40 FF A0 08 90 */ fmr f29, f1 -/* 8026AF04 00267E44 48 00 00 08 */ b lbl_8026AF0C -lbl_8026AF08: -/* 8026AF08 00267E48 FF A0 08 50 */ fneg f29, f1 -lbl_8026AF0C: -/* 8026AF0C 00267E4C 7F C3 F3 78 */ mr r3, r30 -/* 8026AF10 00267E50 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026AF14 00267E54 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AF18 00267E58 7D 89 03 A6 */ mtctr r12 -/* 8026AF1C 00267E5C 4E 80 04 21 */ bctrl -/* 8026AF20 00267E60 EC 3D 08 2A */ fadds f1, f29, f1 -/* 8026AF24 00267E64 48 1A 6C AD */ bl roundAng__Ff -/* 8026AF28 00267E68 D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 8026AF2C 00267E6C C0 02 CC 1C */ lfs f0, lbl_8051AF7C@sda21(r2) -/* 8026AF30 00267E70 C0 3E 01 FC */ lfs f1, 0x1fc(r30) -/* 8026AF34 00267E74 D0 3E 01 A8 */ stfs f1, 0x1a8(r30) -/* 8026AF38 00267E78 C0 3E 01 94 */ lfs f1, 0x194(r30) -/* 8026AF3C 00267E7C C0 5E 01 8C */ lfs f2, 0x18c(r30) -/* 8026AF40 00267E80 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 8026AF44 00267E84 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8026AF48 00267E88 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8026AF4C 00267E8C EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8026AF50 00267E90 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026AF54 00267E94 40 80 00 1C */ bge lbl_8026AF70 -/* 8026AF58 00267E98 C0 02 CC 10 */ lfs f0, lbl_8051AF70@sda21(r2) -/* 8026AF5C 00267E9C 38 60 00 01 */ li r3, 1 -/* 8026AF60 00267EA0 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8026AF64 00267EA4 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 8026AF68 00267EA8 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 8026AF6C 00267EAC 48 00 00 F4 */ b lbl_8026B060 -lbl_8026AF70: -/* 8026AF70 00267EB0 C0 02 CC 64 */ lfs f0, lbl_8051AFC4@sda21(r2) -/* 8026AF74 00267EB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026AF78 00267EB8 40 80 00 78 */ bge lbl_8026AFF0 -/* 8026AF7C 00267EBC 7F C3 F3 78 */ mr r3, r30 -/* 8026AF80 00267EC0 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 8026AF84 00267EC4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026AF88 00267EC8 C3 84 02 E4 */ lfs f28, 0x2e4(r4) -/* 8026AF8C 00267ECC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AF90 00267ED0 7D 89 03 A6 */ mtctr r12 -/* 8026AF94 00267ED4 4E 80 04 21 */ bctrl -/* 8026AF98 00267ED8 4B E6 48 85 */ bl sin -/* 8026AF9C 00267EDC 7F C3 F3 78 */ mr r3, r30 -/* 8026AFA0 00267EE0 C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8026AFA4 00267EE4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026AFA8 00267EE8 FF 60 08 18 */ frsp f27, f1 -/* 8026AFAC 00267EEC C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8026AFB0 00267EF0 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8026AFB4 00267EF4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026AFB8 00267EF8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8026AFBC 00267EFC D3 C1 00 24 */ stfs f30, 0x24(r1) -/* 8026AFC0 00267F00 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026AFC4 00267F04 7D 89 03 A6 */ mtctr r12 -/* 8026AFC8 00267F08 4E 80 04 21 */ bctrl -/* 8026AFCC 00267F0C 4B E6 42 E9 */ bl cos -/* 8026AFD0 00267F10 EC 1C 06 F2 */ fmuls f0, f28, f27 -/* 8026AFD4 00267F14 38 60 00 01 */ li r3, 1 -/* 8026AFD8 00267F18 FC 20 08 18 */ frsp f1, f1 -/* 8026AFDC 00267F1C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8026AFE0 00267F20 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8026AFE4 00267F24 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 8026AFE8 00267F28 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 8026AFEC 00267F2C 48 00 00 74 */ b lbl_8026B060 -lbl_8026AFF0: -/* 8026AFF0 00267F30 7F C3 F3 78 */ mr r3, r30 -/* 8026AFF4 00267F34 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 8026AFF8 00267F38 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026AFFC 00267F3C C3 84 02 E4 */ lfs f28, 0x2e4(r4) -/* 8026B000 00267F40 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026B004 00267F44 7D 89 03 A6 */ mtctr r12 -/* 8026B008 00267F48 4E 80 04 21 */ bctrl -/* 8026B00C 00267F4C 4B E6 48 11 */ bl sin -/* 8026B010 00267F50 7F C3 F3 78 */ mr r3, r30 -/* 8026B014 00267F54 C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8026B018 00267F58 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026B01C 00267F5C FF 60 08 18 */ frsp f27, f1 -/* 8026B020 00267F60 C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8026B024 00267F64 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8026B028 00267F68 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026B02C 00267F6C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8026B030 00267F70 D3 C1 00 18 */ stfs f30, 0x18(r1) -/* 8026B034 00267F74 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8026B038 00267F78 7D 89 03 A6 */ mtctr r12 -/* 8026B03C 00267F7C 4E 80 04 21 */ bctrl -/* 8026B040 00267F80 4B E6 42 75 */ bl cos -/* 8026B044 00267F84 EC 1C 06 F2 */ fmuls f0, f28, f27 -/* 8026B048 00267F88 38 60 00 00 */ li r3, 0 -/* 8026B04C 00267F8C FC 20 08 18 */ frsp f1, f1 -/* 8026B050 00267F90 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8026B054 00267F94 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8026B058 00267F98 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 8026B05C 00267F9C D0 1E 01 DC */ stfs f0, 0x1dc(r30) -lbl_8026B060: -/* 8026B060 00267FA0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8026B064 00267FA4 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8026B068 00267FA8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8026B06C 00267FAC CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8026B070 00267FB0 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8026B074 00267FB4 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8026B078 00267FB8 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8026B07C 00267FBC CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8026B080 00267FC0 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 8026B084 00267FC4 CB 61 00 60 */ lfd f27, 0x60(r1) -/* 8026B088 00267FC8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8026B08C 00267FCC 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8026B090 00267FD0 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8026B094 00267FD4 7C 08 03 A6 */ mtlr r0 -/* 8026B098 00267FD8 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8026B09C 00267FDC 4E 80 00 20 */ blr - -.global breakTargetBridge__Q34Game4Tobi3ObjFv -breakTargetBridge__Q34Game4Tobi3ObjFv: -/* 8026B0A0 00267FE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026B0A4 00267FE4 7C 08 02 A6 */ mflr r0 -/* 8026B0A8 00267FE8 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 8026B0AC 00267FEC 3C A0 80 4B */ lis r5, __vt__Q24Game19InteractBreakBridge@ha -/* 8026B0B0 00267FF0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026B0B4 00267FF4 38 C4 A3 00 */ addi r6, r4, __vt__Q24Game11Interaction@l -/* 8026B0B8 00267FF8 38 05 74 9C */ addi r0, r5, __vt__Q24Game19InteractBreakBridge@l -/* 8026B0BC 00267FFC 38 81 00 08 */ addi r4, r1, 8 -/* 8026B0C0 00268000 80 E3 00 C0 */ lwz r7, 0xc0(r3) -/* 8026B0C4 00268004 C0 07 08 BC */ lfs f0, 0x8bc(r7) -/* 8026B0C8 00268008 90 C1 00 08 */ stw r6, 8(r1) -/* 8026B0CC 0026800C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8026B0D0 00268010 90 01 00 08 */ stw r0, 8(r1) -/* 8026B0D4 00268014 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8026B0D8 00268018 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 8026B0DC 0026801C 81 83 00 00 */ lwz r12, 0(r3) -/* 8026B0E0 00268020 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8026B0E4 00268024 7D 89 03 A6 */ mtctr r12 -/* 8026B0E8 00268028 4E 80 04 21 */ bctrl -/* 8026B0EC 0026802C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026B0F0 00268030 7C 08 03 A6 */ mtlr r0 -/* 8026B0F4 00268034 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026B0F8 00268038 4E 80 00 20 */ blr - -.global createAppearEffect__Q34Game4Tobi3ObjFv -createAppearEffect__Q34Game4Tobi3ObjFv: -/* 8026B0FC 0026803C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026B100 00268040 7C 08 02 A6 */ mflr r0 -/* 8026B104 00268044 3C 80 80 48 */ lis r4, lbl_80485E80@ha -/* 8026B108 00268048 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026B10C 0026804C 38 84 5E 80 */ addi r4, r4, lbl_80485E80@l -/* 8026B110 00268050 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8026B114 00268054 48 1D 3E D1 */ bl getJoint__Q28SysShape5ModelFPc -/* 8026B118 00268058 48 1B E7 89 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8026B11C 0026805C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026B120 00268060 38 C0 00 00 */ li r6, 0 -/* 8026B124 00268064 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8026B128 00268068 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 8026B12C 0026806C 90 01 00 08 */ stw r0, 8(r1) -/* 8026B130 00268070 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 8026B134 00268074 3C A0 80 4E */ lis r5, __vt__Q23efx11TSimpleMtx2@ha -/* 8026B138 00268078 3C 80 80 4C */ lis r4, __vt__Q23efx9TUjinkoAp@ha -/* 8026B13C 0026807C 90 01 00 08 */ stw r0, 8(r1) -/* 8026B140 00268080 38 05 6A 00 */ addi r0, r5, __vt__Q23efx11TSimpleMtx2@l -/* 8026B144 00268084 38 E0 01 CE */ li r7, 0x1ce -/* 8026B148 00268088 38 A0 01 CF */ li r5, 0x1cf -/* 8026B14C 0026808C 90 01 00 08 */ stw r0, 8(r1) -/* 8026B150 00268090 38 04 29 34 */ addi r0, r4, __vt__Q23efx9TUjinkoAp@l -/* 8026B154 00268094 38 80 00 00 */ li r4, 0 -/* 8026B158 00268098 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026B15C 0026809C 38 61 00 08 */ addi r3, r1, 8 -/* 8026B160 002680A0 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 8026B164 002680A4 B0 A1 00 0E */ sth r5, 0xe(r1) -/* 8026B168 002680A8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8026B16C 002680AC 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8026B170 002680B0 90 01 00 08 */ stw r0, 8(r1) -/* 8026B174 002680B4 48 14 42 25 */ bl create__Q23efx11TSimpleMtx2FPQ23efx3Arg -/* 8026B178 002680B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026B17C 002680BC 7C 08 03 A6 */ mtlr r0 -/* 8026B180 002680C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026B184 002680C4 4E 80 00 20 */ blr - -.global createDisAppearEffect__Q34Game4Tobi3ObjFv -createDisAppearEffect__Q34Game4Tobi3ObjFv: -/* 8026B188 002680C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026B18C 002680CC 7C 08 02 A6 */ mflr r0 -/* 8026B190 002680D0 3C 80 80 48 */ lis r4, lbl_80485E80@ha -/* 8026B194 002680D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026B198 002680D8 38 84 5E 80 */ addi r4, r4, lbl_80485E80@l -/* 8026B19C 002680DC 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8026B1A0 002680E0 48 1D 3E 45 */ bl getJoint__Q28SysShape5ModelFPc -/* 8026B1A4 002680E4 48 1B E6 FD */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8026B1A8 002680E8 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026B1AC 002680EC 38 C0 00 00 */ li r6, 0 -/* 8026B1B0 002680F0 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8026B1B4 002680F4 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 8026B1B8 002680F8 90 01 00 08 */ stw r0, 8(r1) -/* 8026B1BC 002680FC 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 8026B1C0 00268100 3C A0 80 4E */ lis r5, __vt__Q23efx11TSimpleMtx2@ha -/* 8026B1C4 00268104 3C 80 80 4C */ lis r4, __vt__Q23efx9TUjinkoHd@ha -/* 8026B1C8 00268108 90 01 00 08 */ stw r0, 8(r1) -/* 8026B1CC 0026810C 38 05 6A 00 */ addi r0, r5, __vt__Q23efx11TSimpleMtx2@l -/* 8026B1D0 00268110 38 E0 01 D1 */ li r7, 0x1d1 -/* 8026B1D4 00268114 38 A0 01 D2 */ li r5, 0x1d2 -/* 8026B1D8 00268118 90 01 00 08 */ stw r0, 8(r1) -/* 8026B1DC 0026811C 38 04 29 20 */ addi r0, r4, __vt__Q23efx9TUjinkoHd@l -/* 8026B1E0 00268120 38 80 00 00 */ li r4, 0 -/* 8026B1E4 00268124 90 61 00 18 */ stw r3, 0x18(r1) -/* 8026B1E8 00268128 38 61 00 08 */ addi r3, r1, 8 -/* 8026B1EC 0026812C B0 E1 00 0C */ sth r7, 0xc(r1) -/* 8026B1F0 00268130 B0 A1 00 0E */ sth r5, 0xe(r1) -/* 8026B1F4 00268134 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8026B1F8 00268138 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8026B1FC 0026813C 90 01 00 08 */ stw r0, 8(r1) -/* 8026B200 00268140 48 14 41 99 */ bl create__Q23efx11TSimpleMtx2FPQ23efx3Arg -/* 8026B204 00268144 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026B208 00268148 7C 08 03 A6 */ mtlr r0 -/* 8026B20C 0026814C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026B210 00268150 4E 80 00 20 */ blr - -.global createBridgeEffect__Q34Game4Tobi3ObjFv -createBridgeEffect__Q34Game4Tobi3ObjFv: -/* 8026B214 00268154 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026B218 00268158 7C 08 02 A6 */ mflr r0 -/* 8026B21C 0026815C 38 82 CC 28 */ addi r4, r2, lbl_8051AF88@sda21 -/* 8026B220 00268160 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026B224 00268164 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8026B228 00268168 48 1D 3D BD */ bl getJoint__Q28SysShape5ModelFPc -/* 8026B22C 0026816C 48 1B E6 75 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8026B230 00268170 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026B234 00268174 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8026B238 00268178 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8026B23C 0026817C 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 8026B240 00268180 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8026B244 00268184 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 8026B248 00268188 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 8026B24C 0026818C 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8026B250 00268190 90 81 00 08 */ stw r4, 8(r1) -/* 8026B254 00268194 3C 60 80 4C */ lis r3, __vt__Q23efx10TUjinkoEat@ha -/* 8026B258 00268198 38 85 A7 EC */ addi r4, r5, __vt__Q23efx3Arg@l -/* 8026B25C 0026819C 38 C0 01 D0 */ li r6, 0x1d0 -/* 8026B260 002681A0 38 A0 00 00 */ li r5, 0 -/* 8026B264 002681A4 90 01 00 08 */ stw r0, 8(r1) -/* 8026B268 002681A8 38 03 29 0C */ addi r0, r3, __vt__Q23efx10TUjinkoEat@l -/* 8026B26C 002681AC 38 61 00 08 */ addi r3, r1, 8 -/* 8026B270 002681B0 90 81 00 14 */ stw r4, 0x14(r1) -/* 8026B274 002681B4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8026B278 002681B8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8026B27C 002681BC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8026B280 002681C0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8026B284 002681C4 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8026B288 002681C8 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8026B28C 002681CC 90 01 00 08 */ stw r0, 8(r1) -/* 8026B290 002681D0 48 14 3C F5 */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 8026B294 002681D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026B298 002681D8 7C 08 03 A6 */ mtlr r0 -/* 8026B29C 002681DC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026B2A0 002681E0 4E 80 00 20 */ blr - -.global createEatEffect__Q34Game4Tobi3ObjFv -createEatEffect__Q34Game4Tobi3ObjFv: -/* 8026B2A4 002681E4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026B2A8 002681E8 7C 08 02 A6 */ mflr r0 -/* 8026B2AC 002681EC 38 82 CC 28 */ addi r4, r2, lbl_8051AF88@sda21 -/* 8026B2B0 002681F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026B2B4 002681F4 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8026B2B8 002681F8 48 1D 3D 2D */ bl getJoint__Q28SysShape5ModelFPc -/* 8026B2BC 002681FC 48 1B E5 E5 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8026B2C0 00268200 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026B2C4 00268204 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8026B2C8 00268208 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8026B2CC 0026820C 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 8026B2D0 00268210 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8026B2D4 00268214 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 8026B2D8 00268218 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 8026B2DC 0026821C 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8026B2E0 00268220 90 81 00 08 */ stw r4, 8(r1) -/* 8026B2E4 00268224 3C 60 80 4C */ lis r3, __vt__Q23efx12TUjinkoPkate@ha -/* 8026B2E8 00268228 38 85 A7 EC */ addi r4, r5, __vt__Q23efx3Arg@l -/* 8026B2EC 0026822C 38 C0 02 5E */ li r6, 0x25e -/* 8026B2F0 00268230 38 A0 00 00 */ li r5, 0 -/* 8026B2F4 00268234 90 01 00 08 */ stw r0, 8(r1) -/* 8026B2F8 00268238 38 03 28 F8 */ addi r0, r3, __vt__Q23efx12TUjinkoPkate@l -/* 8026B2FC 0026823C 38 61 00 08 */ addi r3, r1, 8 -/* 8026B300 00268240 90 81 00 14 */ stw r4, 0x14(r1) -/* 8026B304 00268244 38 81 00 14 */ addi r4, r1, 0x14 -/* 8026B308 00268248 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8026B30C 0026824C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8026B310 00268250 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8026B314 00268254 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8026B318 00268258 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8026B31C 0026825C 90 01 00 08 */ stw r0, 8(r1) -/* 8026B320 00268260 48 14 3C 65 */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 8026B324 00268264 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026B328 00268268 7C 08 03 A6 */ mtlr r0 -/* 8026B32C 0026826C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026B330 00268270 4E 80 00 20 */ blr - -.global isUnderground__Q34Game4Tobi3ObjFv -isUnderground__Q34Game4Tobi3ObjFv: -/* 8026B334 00268274 88 63 02 C1 */ lbz r3, 0x2c1(r3) -/* 8026B338 00268278 4E 80 00 20 */ blr - -.global getMouthSlots__Q34Game4Tobi3ObjFv -getMouthSlots__Q34Game4Tobi3ObjFv: -/* 8026B33C 0026827C 38 63 02 C8 */ addi r3, r3, 0x2c8 -/* 8026B340 00268280 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game4Tobi3ObjFv -getDownSmokeScale__Q34Game4Tobi3ObjFv: -/* 8026B344 00268284 C0 22 CC 78 */ lfs f1, lbl_8051AFD8@sda21(r2) -/* 8026B348 00268288 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Tobi3ObjFv -getEnemyTypeID__Q34Game4Tobi3ObjFv: -/* 8026B34C 0026828C 38 60 00 0E */ li r3, 0xe -/* 8026B350 00268290 4E 80 00 20 */ blr - -.global init__Q34Game4Hiba3FSMFPQ24Game9EnemyBase -init__Q34Game4Hiba3FSMFPQ24Game9EnemyBase: -/* 8026B354 00268294 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B358 00268298 7C 08 02 A6 */ mflr r0 -/* 8026B35C 0026829C 38 80 00 03 */ li r4, 3 -/* 8026B360 002682A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B364 002682A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B368 002682A8 7C 7F 1B 78 */ mr r31, r3 -/* 8026B36C 002682AC 4B EC 54 F9 */ bl create__Q24Game17EnemyStateMachineFi -/* 8026B370 002682B0 38 60 00 10 */ li r3, 0x10 -/* 8026B374 002682B4 4B DB 8B 31 */ bl __nw__FUl -/* 8026B378 002682B8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026B37C 002682BC 41 82 00 3C */ beq lbl_8026B3B8 -/* 8026B380 002682C0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026B384 002682C4 3C A0 80 4C */ lis r5, __vt__Q34Game4Hiba5State@ha -/* 8026B388 002682C8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026B38C 002682CC 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba9StateDead@ha -/* 8026B390 002682D0 90 04 00 00 */ stw r0, 0(r4) -/* 8026B394 002682D4 38 E0 00 00 */ li r7, 0 -/* 8026B398 002682D8 38 C5 52 74 */ addi r6, r5, __vt__Q34Game4Hiba5State@l -/* 8026B39C 002682DC 38 A2 CC 80 */ addi r5, r2, lbl_8051AFE0@sda21 -/* 8026B3A0 002682E0 90 E4 00 04 */ stw r7, 4(r4) -/* 8026B3A4 002682E4 38 03 52 50 */ addi r0, r3, __vt__Q34Game4Hiba9StateDead@l -/* 8026B3A8 002682E8 90 E4 00 08 */ stw r7, 8(r4) -/* 8026B3AC 002682EC 90 C4 00 00 */ stw r6, 0(r4) -/* 8026B3B0 002682F0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026B3B4 002682F4 90 04 00 00 */ stw r0, 0(r4) -lbl_8026B3B8: -/* 8026B3B8 002682F8 7F E3 FB 78 */ mr r3, r31 -/* 8026B3BC 002682FC 4B EC 55 4D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026B3C0 00268300 38 60 00 10 */ li r3, 0x10 -/* 8026B3C4 00268304 4B DB 8A E1 */ bl __nw__FUl -/* 8026B3C8 00268308 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026B3CC 0026830C 41 82 00 40 */ beq lbl_8026B40C -/* 8026B3D0 00268310 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026B3D4 00268314 3C A0 80 4C */ lis r5, __vt__Q34Game4Hiba5State@ha -/* 8026B3D8 00268318 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026B3DC 0026831C 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba9StateWait@ha -/* 8026B3E0 00268320 90 04 00 00 */ stw r0, 0(r4) -/* 8026B3E4 00268324 38 00 00 01 */ li r0, 1 -/* 8026B3E8 00268328 38 E0 00 00 */ li r7, 0 -/* 8026B3EC 0026832C 38 C5 52 74 */ addi r6, r5, __vt__Q34Game4Hiba5State@l -/* 8026B3F0 00268330 90 04 00 04 */ stw r0, 4(r4) -/* 8026B3F4 00268334 38 A2 CC 88 */ addi r5, r2, lbl_8051AFE8@sda21 -/* 8026B3F8 00268338 38 03 52 2C */ addi r0, r3, __vt__Q34Game4Hiba9StateWait@l -/* 8026B3FC 0026833C 90 E4 00 08 */ stw r7, 8(r4) -/* 8026B400 00268340 90 C4 00 00 */ stw r6, 0(r4) -/* 8026B404 00268344 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026B408 00268348 90 04 00 00 */ stw r0, 0(r4) -lbl_8026B40C: -/* 8026B40C 0026834C 7F E3 FB 78 */ mr r3, r31 -/* 8026B410 00268350 4B EC 54 F9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026B414 00268354 38 60 00 10 */ li r3, 0x10 -/* 8026B418 00268358 4B DB 8A 8D */ bl __nw__FUl -/* 8026B41C 0026835C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026B420 00268360 41 82 00 40 */ beq lbl_8026B460 -/* 8026B424 00268364 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026B428 00268368 3C A0 80 4C */ lis r5, __vt__Q34Game4Hiba5State@ha -/* 8026B42C 0026836C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026B430 00268370 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba11StateAttack@ha -/* 8026B434 00268374 90 04 00 00 */ stw r0, 0(r4) -/* 8026B438 00268378 38 00 00 02 */ li r0, 2 -/* 8026B43C 0026837C 38 E0 00 00 */ li r7, 0 -/* 8026B440 00268380 38 C5 52 74 */ addi r6, r5, __vt__Q34Game4Hiba5State@l -/* 8026B444 00268384 90 04 00 04 */ stw r0, 4(r4) -/* 8026B448 00268388 38 A2 CC 90 */ addi r5, r2, lbl_8051AFF0@sda21 -/* 8026B44C 0026838C 38 03 52 08 */ addi r0, r3, __vt__Q34Game4Hiba11StateAttack@l -/* 8026B450 00268390 90 E4 00 08 */ stw r7, 8(r4) -/* 8026B454 00268394 90 C4 00 00 */ stw r6, 0(r4) -/* 8026B458 00268398 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026B45C 0026839C 90 04 00 00 */ stw r0, 0(r4) -lbl_8026B460: -/* 8026B460 002683A0 7F E3 FB 78 */ mr r3, r31 -/* 8026B464 002683A4 4B EC 54 A5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026B468 002683A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B46C 002683AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B470 002683B0 7C 08 03 A6 */ mtlr r0 -/* 8026B474 002683B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B478 002683B8 4E 80 00 20 */ blr - -.global init__Q34Game4Hiba9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Hiba9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026B47C 002683BC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8026B480 002683C0 7C 08 02 A6 */ mflr r0 -/* 8026B484 002683C4 90 01 00 64 */ stw r0, 0x64(r1) -/* 8026B488 002683C8 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8026B48C 002683CC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8026B490 002683D0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8026B494 002683D4 7C 9F 23 78 */ mr r31, r4 -/* 8026B498 002683D8 80 84 01 E0 */ lwz r4, 0x1e0(r4) -/* 8026B49C 002683DC 38 00 00 00 */ li r0, 0 -/* 8026B4A0 002683E0 60 84 00 04 */ ori r4, r4, 4 -/* 8026B4A4 002683E4 7F E3 FB 78 */ mr r3, r31 -/* 8026B4A8 002683E8 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026B4AC 002683EC 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026B4B0 002683F0 54 84 05 66 */ rlwinm r4, r4, 0, 0x15, 0x13 -/* 8026B4B4 002683F4 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026B4B8 002683F8 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026B4BC 002683FC 60 84 00 01 */ ori r4, r4, 1 -/* 8026B4C0 00268400 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026B4C4 00268404 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026B4C8 00268408 54 84 07 76 */ rlwinm r4, r4, 0, 0x1d, 0x1b -/* 8026B4CC 0026840C 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026B4D0 00268410 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 8026B4D4 00268414 48 00 10 E5 */ bl generatorKill__Q34Game4Hiba3ObjFv -/* 8026B4D8 00268418 7F E3 FB 78 */ mr r3, r31 -/* 8026B4DC 0026841C 38 80 00 00 */ li r4, 0 -/* 8026B4E0 00268420 38 A0 00 00 */ li r5, 0 -/* 8026B4E4 00268424 4B E9 9B 21 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026B4E8 00268428 7F E3 FB 78 */ mr r3, r31 -/* 8026B4EC 0026842C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026B4F0 00268430 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8026B4F4 00268434 7D 89 03 A6 */ mtctr r12 -/* 8026B4F8 00268438 4E 80 04 21 */ bctrl -/* 8026B4FC 0026843C 81 83 00 00 */ lwz r12, 0(r3) -/* 8026B500 00268440 38 80 58 0C */ li r4, 0x580c -/* 8026B504 00268444 38 A0 00 00 */ li r5, 0 -/* 8026B508 00268448 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026B50C 0026844C 7D 89 03 A6 */ mtctr r12 -/* 8026B510 00268450 4E 80 04 21 */ bctrl -/* 8026B514 00268454 C0 22 CC 98 */ lfs f1, lbl_8051AFF8@sda21(r2) -/* 8026B518 00268458 7F E3 FB 78 */ mr r3, r31 -/* 8026B51C 0026845C 48 20 2E F9 */ bl PSStartEnemyFatalHitSE__FPQ24Game9EnemyBasef -/* 8026B520 00268460 7F E4 FB 78 */ mr r4, r31 -/* 8026B524 00268464 38 61 00 18 */ addi r3, r1, 0x18 -/* 8026B528 00268468 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026B52C 0026846C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026B530 00268470 7D 89 03 A6 */ mtctr r12 -/* 8026B534 00268474 4E 80 04 21 */ bctrl -/* 8026B538 00268478 7F E3 FB 78 */ mr r3, r31 -/* 8026B53C 0026847C C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8026B540 00268480 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026B544 00268484 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8026B548 00268488 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8026B54C 0026848C 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 8026B550 00268490 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8026B554 00268494 C3 FF 01 F8 */ lfs f31, 0x1f8(r31) -/* 8026B558 00268498 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8026B55C 0026849C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8026B560 002684A0 7D 89 03 A6 */ mtctr r12 -/* 8026B564 002684A4 4E 80 04 21 */ bctrl -/* 8026B568 002684A8 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8026B56C 002684AC 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8026B570 002684B0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8026B574 002684B4 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026B578 002684B8 81 01 00 2C */ lwz r8, 0x2c(r1) -/* 8026B57C 002684BC 38 E5 A7 EC */ addi r7, r5, __vt__Q23efx3Arg@l -/* 8026B580 002684C0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8026B584 002684C4 38 A4 A7 F8 */ addi r5, r4, __vt__Q23efx5TBase@l -/* 8026B588 002684C8 3C C0 80 4B */ lis r6, __vt__Q23efx12ArgEnemyType@ha -/* 8026B58C 002684CC 3C 80 80 4F */ lis r4, __vt__Q23efx10TEnemyBomb@ha -/* 8026B590 002684D0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026B594 002684D4 38 C6 A7 E0 */ addi r6, r6, __vt__Q23efx12ArgEnemyType@l -/* 8026B598 002684D8 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8026B59C 002684DC 38 04 85 D4 */ addi r0, r4, __vt__Q23efx10TEnemyBomb@l -/* 8026B5A0 002684E0 91 01 00 14 */ stw r8, 0x14(r1) -/* 8026B5A4 002684E4 38 81 00 30 */ addi r4, r1, 0x30 -/* 8026B5A8 002684E8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8026B5AC 002684EC 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8026B5B0 002684F0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8026B5B4 002684F4 90 A1 00 08 */ stw r5, 8(r1) -/* 8026B5B8 002684F8 90 61 00 40 */ stw r3, 0x40(r1) -/* 8026B5BC 002684FC 38 61 00 08 */ addi r3, r1, 8 -/* 8026B5C0 00268500 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8026B5C4 00268504 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8026B5C8 00268508 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8026B5CC 0026850C 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8026B5D0 00268510 D3 E1 00 44 */ stfs f31, 0x44(r1) -/* 8026B5D4 00268514 90 01 00 08 */ stw r0, 8(r1) -/* 8026B5D8 00268518 48 15 D7 AD */ bl create__Q23efx10TEnemyBombFPQ23efx3Arg -/* 8026B5DC 0026851C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8026B5E0 00268520 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8026B5E4 00268524 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8026B5E8 00268528 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8026B5EC 0026852C 7C 08 03 A6 */ mtlr r0 -/* 8026B5F0 00268530 38 21 00 60 */ addi r1, r1, 0x60 -/* 8026B5F4 00268534 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Hiba3ObjFv -getEnemyTypeID__Q34Game4Hiba3ObjFv: -/* 8026B5F8 00268538 38 60 00 14 */ li r3, 0x14 -/* 8026B5FC 0026853C 4E 80 00 20 */ blr - -.global exec__Q34Game4Hiba9StateDeadFPQ24Game9EnemyBase -exec__Q34Game4Hiba9StateDeadFPQ24Game9EnemyBase: -/* 8026B600 00268540 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Hiba9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game4Hiba9StateDeadFPQ24Game9EnemyBase: -/* 8026B604 00268544 4E 80 00 20 */ blr - -.global init__Q34Game4Hiba9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Hiba9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026B608 00268548 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B60C 0026854C 7C 08 02 A6 */ mflr r0 -/* 8026B610 00268550 28 05 00 00 */ cmplwi r5, 0 -/* 8026B614 00268554 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B618 00268558 41 82 00 10 */ beq lbl_8026B628 -/* 8026B61C 0026855C C0 05 00 00 */ lfs f0, 0(r5) -/* 8026B620 00268560 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 8026B624 00268564 48 00 00 0C */ b lbl_8026B630 -lbl_8026B628: -/* 8026B628 00268568 C0 02 CC 98 */ lfs f0, lbl_8051AFF8@sda21(r2) -/* 8026B62C 0026856C D0 04 02 C4 */ stfs f0, 0x2c4(r4) -lbl_8026B630: -/* 8026B630 00268570 7C 83 23 78 */ mr r3, r4 -/* 8026B634 00268574 38 80 00 00 */ li r4, 0 -/* 8026B638 00268578 38 A0 00 00 */ li r5, 0 -/* 8026B63C 0026857C 4B E9 99 C9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026B640 00268580 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B644 00268584 7C 08 03 A6 */ mtlr r0 -/* 8026B648 00268588 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B64C 0026858C 4E 80 00 20 */ blr - -.global exec__Q34Game4Hiba9StateWaitFPQ24Game9EnemyBase -exec__Q34Game4Hiba9StateWaitFPQ24Game9EnemyBase: -/* 8026B650 00268590 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B654 00268594 7C 08 02 A6 */ mflr r0 -/* 8026B658 00268598 C0 02 CC 98 */ lfs f0, lbl_8051AFF8@sda21(r2) -/* 8026B65C 0026859C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B660 002685A0 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 8026B664 002685A4 C0 44 02 C4 */ lfs f2, 0x2c4(r4) -/* 8026B668 002685A8 C0 25 00 54 */ lfs f1, 0x54(r5) -/* 8026B66C 002685AC EC 22 08 2A */ fadds f1, f2, f1 -/* 8026B670 002685B0 D0 24 02 C4 */ stfs f1, 0x2c4(r4) -/* 8026B674 002685B4 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 8026B678 002685B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026B67C 002685BC 4C 40 13 82 */ cror 2, 0, 2 -/* 8026B680 002685C0 40 82 00 20 */ bne lbl_8026B6A0 -/* 8026B684 002685C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026B688 002685C8 38 A0 00 00 */ li r5, 0 -/* 8026B68C 002685CC 38 C0 00 00 */ li r6, 0 -/* 8026B690 002685D0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026B694 002685D4 7D 89 03 A6 */ mtctr r12 -/* 8026B698 002685D8 4E 80 04 21 */ bctrl -/* 8026B69C 002685DC 48 00 00 30 */ b lbl_8026B6CC -lbl_8026B6A0: -/* 8026B6A0 002685E0 80 A4 00 C0 */ lwz r5, 0xc0(r4) -/* 8026B6A4 002685E4 C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 8026B6A8 002685E8 C0 05 08 1C */ lfs f0, 0x81c(r5) -/* 8026B6AC 002685EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026B6B0 002685F0 40 81 00 1C */ ble lbl_8026B6CC -/* 8026B6B4 002685F4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026B6B8 002685F8 38 A0 00 02 */ li r5, 2 -/* 8026B6BC 002685FC 38 C0 00 00 */ li r6, 0 -/* 8026B6C0 00268600 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026B6C4 00268604 7D 89 03 A6 */ mtctr r12 -/* 8026B6C8 00268608 4E 80 04 21 */ bctrl -lbl_8026B6CC: -/* 8026B6CC 0026860C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B6D0 00268610 7C 08 03 A6 */ mtlr r0 -/* 8026B6D4 00268614 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B6D8 00268618 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Hiba9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game4Hiba9StateWaitFPQ24Game9EnemyBase: -/* 8026B6DC 0026861C 4E 80 00 20 */ blr - -.global init__Q34Game4Hiba11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Hiba11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026B6E0 00268620 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B6E4 00268624 7C 08 02 A6 */ mflr r0 -/* 8026B6E8 00268628 C0 02 CC 98 */ lfs f0, lbl_8051AFF8@sda21(r2) -/* 8026B6EC 0026862C 38 A0 00 00 */ li r5, 0 -/* 8026B6F0 00268630 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B6F4 00268634 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B6F8 00268638 7C 9F 23 78 */ mr r31, r4 -/* 8026B6FC 0026863C 38 80 00 01 */ li r4, 1 -/* 8026B700 00268640 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026B704 00268644 7F E3 FB 78 */ mr r3, r31 -/* 8026B708 00268648 4B E9 98 FD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026B70C 0026864C 7F E3 FB 78 */ mr r3, r31 -/* 8026B710 00268650 48 00 0E 21 */ bl startFireEffect__Q34Game4Hiba3ObjFv -/* 8026B714 00268654 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B718 00268658 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B71C 0026865C 7C 08 03 A6 */ mtlr r0 -/* 8026B720 00268660 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B724 00268664 4E 80 00 20 */ blr - -.global exec__Q34Game4Hiba11StateAttackFPQ24Game9EnemyBase -exec__Q34Game4Hiba11StateAttackFPQ24Game9EnemyBase: -/* 8026B728 00268668 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B72C 0026866C 7C 08 02 A6 */ mflr r0 -/* 8026B730 00268670 C0 02 CC 98 */ lfs f0, lbl_8051AFF8@sda21(r2) -/* 8026B734 00268674 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B738 00268678 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B73C 0026867C 7C 9F 23 78 */ mr r31, r4 -/* 8026B740 00268680 93 C1 00 08 */ stw r30, 8(r1) -/* 8026B744 00268684 7C 7E 1B 78 */ mr r30, r3 -/* 8026B748 00268688 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 8026B74C 0026868C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026B750 00268690 4C 40 13 82 */ cror 2, 0, 2 -/* 8026B754 00268694 41 82 00 18 */ beq lbl_8026B76C -/* 8026B758 00268698 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026B75C 0026869C C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026B760 002686A0 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 8026B764 002686A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026B768 002686A8 40 81 00 0C */ ble lbl_8026B774 -lbl_8026B76C: -/* 8026B76C 002686AC 7F E3 FB 78 */ mr r3, r31 -/* 8026B770 002686B0 4B E9 9B 31 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8026B774: -/* 8026B774 002686B4 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 8026B778 002686B8 7F E3 FB 78 */ mr r3, r31 -/* 8026B77C 002686BC C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026B780 002686C0 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 8026B784 002686C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8026B788 002686C8 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026B78C 002686CC 48 00 0D 15 */ bl updateEfxLod__Q34Game4Hiba3ObjFv -/* 8026B790 002686D0 7F E3 FB 78 */ mr r3, r31 -/* 8026B794 002686D4 48 00 0B 19 */ bl interactFireAttack__Q34Game4Hiba3ObjFv -/* 8026B798 002686D8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8026B79C 002686DC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8026B7A0 002686E0 28 00 00 00 */ cmplwi r0, 0 -/* 8026B7A4 002686E4 41 82 00 68 */ beq lbl_8026B80C -/* 8026B7A8 002686E8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8026B7AC 002686EC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8026B7B0 002686F0 40 82 00 5C */ bne lbl_8026B80C -/* 8026B7B4 002686F4 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8026B7B8 002686F8 C0 02 CC 98 */ lfs f0, lbl_8051AFF8@sda21(r2) -/* 8026B7BC 002686FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026B7C0 00268700 4C 40 13 82 */ cror 2, 0, 2 -/* 8026B7C4 00268704 40 82 00 28 */ bne lbl_8026B7EC -/* 8026B7C8 00268708 7F C3 F3 78 */ mr r3, r30 -/* 8026B7CC 0026870C 7F E4 FB 78 */ mr r4, r31 -/* 8026B7D0 00268710 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026B7D4 00268714 38 A0 00 00 */ li r5, 0 -/* 8026B7D8 00268718 38 C0 00 00 */ li r6, 0 -/* 8026B7DC 0026871C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026B7E0 00268720 7D 89 03 A6 */ mtctr r12 -/* 8026B7E4 00268724 4E 80 04 21 */ bctrl -/* 8026B7E8 00268728 48 00 00 24 */ b lbl_8026B80C -lbl_8026B7EC: -/* 8026B7EC 0026872C 7F C3 F3 78 */ mr r3, r30 -/* 8026B7F0 00268730 7F E4 FB 78 */ mr r4, r31 -/* 8026B7F4 00268734 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026B7F8 00268738 38 A0 00 01 */ li r5, 1 -/* 8026B7FC 0026873C 38 C0 00 00 */ li r6, 0 -/* 8026B800 00268740 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026B804 00268744 7D 89 03 A6 */ mtctr r12 -/* 8026B808 00268748 4E 80 04 21 */ bctrl -lbl_8026B80C: -/* 8026B80C 0026874C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B810 00268750 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B814 00268754 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026B818 00268758 7C 08 03 A6 */ mtlr r0 -/* 8026B81C 0026875C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B820 00268760 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Hiba11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game4Hiba11StateAttackFPQ24Game9EnemyBase: -/* 8026B824 00268764 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B828 00268768 7C 08 02 A6 */ mflr r0 -/* 8026B82C 0026876C 7C 83 23 78 */ mr r3, r4 -/* 8026B830 00268770 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B834 00268774 48 00 0D 55 */ bl finishFireEffect__Q34Game4Hiba3ObjFv -/* 8026B838 00268778 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B83C 0026877C 7C 08 03 A6 */ mtlr r0 -/* 8026B840 00268780 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B844 00268784 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game4Hiba14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game4Hiba14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8026B848 00268788 90 83 00 20 */ stw r4, 0x20(r3) -/* 8026B84C 0026878C 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Hiba14ProperAnimatorFi -getAnimator__Q34Game4Hiba14ProperAnimatorFi: -/* 8026B850 00268790 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026B854 00268794 4E 80 00 20 */ blr - -.global __dt__Q34Game4Hiba14ProperAnimatorFv -__dt__Q34Game4Hiba14ProperAnimatorFv: -/* 8026B858 00268798 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B85C 0026879C 7C 08 02 A6 */ mflr r0 -/* 8026B860 002687A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B864 002687A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B868 002687A8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8026B86C 002687AC 41 82 00 30 */ beq lbl_8026B89C -/* 8026B870 002687B0 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba14ProperAnimator@ha -/* 8026B874 002687B4 38 03 52 C0 */ addi r0, r3, __vt__Q34Game4Hiba14ProperAnimator@l -/* 8026B878 002687B8 90 1F 00 00 */ stw r0, 0(r31) -/* 8026B87C 002687BC 41 82 00 10 */ beq lbl_8026B88C -/* 8026B880 002687C0 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 8026B884 002687C4 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 8026B888 002687C8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8026B88C: -/* 8026B88C 002687CC 7C 80 07 35 */ extsh. r0, r4 -/* 8026B890 002687D0 40 81 00 0C */ ble lbl_8026B89C -/* 8026B894 002687D4 7F E3 FB 78 */ mr r3, r31 -/* 8026B898 002687D8 4B DB 88 1D */ bl __dl__FPv -lbl_8026B89C: -/* 8026B89C 002687DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B8A0 002687E0 7F E3 FB 78 */ mr r3, r31 -/* 8026B8A4 002687E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B8A8 002687E8 7C 08 03 A6 */ mtlr r0 -/* 8026B8AC 002687EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B8B0 002687F0 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Hiba14ProperAnimatorFv -getAnimator__Q34Game4Hiba14ProperAnimatorFv: -/* 8026B8B4 002687F4 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026B8B8 002687F8 4E 80 00 20 */ blr - -.global __ct__Q34Game4Hiba3MgrFiUc -__ct__Q34Game4Hiba3MgrFiUc: -/* 8026B8BC 002687FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B8C0 00268800 7C 08 02 A6 */ mflr r0 -/* 8026B8C4 00268804 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B8C8 00268808 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B8CC 0026880C 7C 7F 1B 78 */ mr r31, r3 -/* 8026B8D0 00268810 4B EC 33 C5 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8026B8D4 00268814 3C 60 80 4C */ lis r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@ha -/* 8026B8D8 00268818 3C 80 80 4C */ lis r4, __vt__Q34Game4Hiba3Mgr@ha -/* 8026B8DC 0026881C 38 A3 53 D4 */ addi r5, r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@l -/* 8026B8E0 00268820 3C 60 80 48 */ lis r3, lbl_80485E9C@ha -/* 8026B8E4 00268824 90 BF 00 00 */ stw r5, 0(r31) -/* 8026B8E8 00268828 38 C5 00 38 */ addi r6, r5, 0x38 -/* 8026B8EC 0026882C 38 A4 52 F4 */ addi r5, r4, __vt__Q34Game4Hiba3Mgr@l -/* 8026B8F0 00268830 38 03 5E 9C */ addi r0, r3, lbl_80485E9C@l -/* 8026B8F4 00268834 90 DF 00 04 */ stw r6, 4(r31) -/* 8026B8F8 00268838 38 85 00 38 */ addi r4, r5, 0x38 -/* 8026B8FC 0026883C 7F E3 FB 78 */ mr r3, r31 -/* 8026B900 00268840 90 BF 00 00 */ stw r5, 0(r31) -/* 8026B904 00268844 90 9F 00 04 */ stw r4, 4(r31) -/* 8026B908 00268848 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8026B90C 0026884C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B910 00268850 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B914 00268854 7C 08 03 A6 */ mtlr r0 -/* 8026B918 00268858 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B91C 0026885C 4E 80 00 20 */ blr - -.global __dt__Q24Game28EnemyMgrBaseAlwaysMovieActorFv -__dt__Q24Game28EnemyMgrBaseAlwaysMovieActorFv: -/* 8026B920 00268860 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B924 00268864 7C 08 02 A6 */ mflr r0 -/* 8026B928 00268868 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B92C 0026886C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B930 00268870 7C 9F 23 78 */ mr r31, r4 -/* 8026B934 00268874 93 C1 00 08 */ stw r30, 8(r1) -/* 8026B938 00268878 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026B93C 0026887C 41 82 00 78 */ beq lbl_8026B9B4 -/* 8026B940 00268880 3C 60 80 4C */ lis r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@ha -/* 8026B944 00268884 38 63 53 D4 */ addi r3, r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@l -/* 8026B948 00268888 90 7E 00 00 */ stw r3, 0(r30) -/* 8026B94C 0026888C 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026B950 00268890 90 1E 00 04 */ stw r0, 4(r30) -/* 8026B954 00268894 41 82 00 50 */ beq lbl_8026B9A4 -/* 8026B958 00268898 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8026B95C 0026889C 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8026B960 002688A0 90 7E 00 00 */ stw r3, 0(r30) -/* 8026B964 002688A4 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026B968 002688A8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026B96C 002688AC 41 82 00 38 */ beq lbl_8026B9A4 -/* 8026B970 002688B0 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8026B974 002688B4 34 1E 00 04 */ addic. r0, r30, 4 -/* 8026B978 002688B8 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8026B97C 002688BC 90 7E 00 00 */ stw r3, 0(r30) -/* 8026B980 002688C0 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026B984 002688C4 90 1E 00 04 */ stw r0, 4(r30) -/* 8026B988 002688C8 41 82 00 1C */ beq lbl_8026B9A4 -/* 8026B98C 002688CC 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8026B990 002688D0 38 7E 00 04 */ addi r3, r30, 4 -/* 8026B994 002688D4 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8026B998 002688D8 38 80 00 00 */ li r4, 0 -/* 8026B99C 002688DC 90 1E 00 04 */ stw r0, 4(r30) -/* 8026B9A0 002688E0 48 1A 5B E9 */ bl __dt__5CNodeFv -lbl_8026B9A4: -/* 8026B9A4 002688E4 7F E0 07 35 */ extsh. r0, r31 -/* 8026B9A8 002688E8 40 81 00 0C */ ble lbl_8026B9B4 -/* 8026B9AC 002688EC 7F C3 F3 78 */ mr r3, r30 -/* 8026B9B0 002688F0 4B DB 87 05 */ bl __dl__FPv -lbl_8026B9B4: -/* 8026B9B4 002688F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026B9B8 002688F8 7F C3 F3 78 */ mr r3, r30 -/* 8026B9BC 002688FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026B9C0 00268900 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026B9C4 00268904 7C 08 03 A6 */ mtlr r0 -/* 8026B9C8 00268908 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026B9CC 0026890C 4E 80 00 20 */ blr - -.global doAlloc__Q34Game4Hiba3MgrFv -doAlloc__Q34Game4Hiba3MgrFv: -/* 8026B9D0 00268910 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026B9D4 00268914 7C 08 02 A6 */ mflr r0 -/* 8026B9D8 00268918 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026B9DC 0026891C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026B9E0 00268920 7C 7F 1B 78 */ mr r31, r3 -/* 8026B9E4 00268924 38 60 08 D0 */ li r3, 0x8d0 -/* 8026B9E8 00268928 4B DB 84 BD */ bl __nw__FUl -/* 8026B9EC 0026892C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026B9F0 00268930 41 82 00 0C */ beq lbl_8026B9FC -/* 8026B9F4 00268934 48 00 00 25 */ bl __ct__Q34Game4Hiba5ParmsFv -/* 8026B9F8 00268938 7C 64 1B 78 */ mr r4, r3 -lbl_8026B9FC: -/* 8026B9FC 0026893C 7F E3 FB 78 */ mr r3, r31 -/* 8026BA00 00268940 4B EC 3E 9D */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8026BA04 00268944 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BA08 00268948 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026BA0C 0026894C 7C 08 03 A6 */ mtlr r0 -/* 8026BA10 00268950 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BA14 00268954 4E 80 00 20 */ blr - -.global __ct__Q34Game4Hiba5ParmsFv -__ct__Q34Game4Hiba5ParmsFv: -/* 8026BA18 00268958 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BA1C 0026895C 7C 08 02 A6 */ mflr r0 -/* 8026BA20 00268960 3C 80 80 48 */ lis r4, lbl_80485E90@ha -/* 8026BA24 00268964 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BA28 00268968 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026BA2C 0026896C 3B E4 5E 90 */ addi r31, r4, lbl_80485E90@l -/* 8026BA30 00268970 93 C1 00 08 */ stw r30, 8(r1) -/* 8026BA34 00268974 7C 7E 1B 78 */ mr r30, r3 -/* 8026BA38 00268978 4B E9 DD 65 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8026BA3C 0026897C 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba5Parms@ha -/* 8026BA40 00268980 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 8026BA44 00268984 38 03 52 E8 */ addi r0, r3, __vt__Q34Game4Hiba5Parms@l -/* 8026BA48 00268988 38 9E 08 CC */ addi r4, r30, 0x8cc -/* 8026BA4C 0026898C 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 8026BA50 00268990 38 E0 00 00 */ li r7, 0 -/* 8026BA54 00268994 38 1F 00 1C */ addi r0, r31, 0x1c -/* 8026BA58 00268998 38 7E 08 04 */ addi r3, r30, 0x804 -/* 8026BA5C 0026899C 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 8026BA60 002689A0 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026BA64 002689A4 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 8026BA68 002689A8 38 DF 00 2C */ addi r6, r31, 0x2c -/* 8026BA6C 002689AC 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 8026BA70 002689B0 90 1E 08 00 */ stw r0, 0x800(r30) -/* 8026BA74 002689B4 48 1A 7B E5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026BA78 002689B8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026BA7C 002689BC 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8026BA80 002689C0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026BA84 002689C4 C0 02 CC A0 */ lfs f0, lbl_8051B000@sda21(r2) -/* 8026BA88 002689C8 90 1E 08 04 */ stw r0, 0x804(r30) -/* 8026BA8C 002689CC 38 7E 08 2C */ addi r3, r30, 0x82c -/* 8026BA90 002689D0 C0 22 CC A4 */ lfs f1, lbl_8051B004@sda21(r2) -/* 8026BA94 002689D4 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026BA98 002689D8 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 8026BA9C 002689DC 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 8026BAA0 002689E0 C0 02 CC A8 */ lfs f0, lbl_8051B008@sda21(r2) -/* 8026BAA4 002689E4 38 DF 00 3C */ addi r6, r31, 0x3c -/* 8026BAA8 002689E8 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 8026BAAC 002689EC D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 8026BAB0 002689F0 48 1A 7B A9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026BAB4 002689F4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026BAB8 002689F8 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 8026BABC 002689FC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026BAC0 00268A00 C0 02 CC A0 */ lfs f0, lbl_8051B000@sda21(r2) -/* 8026BAC4 00268A04 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 8026BAC8 00268A08 38 7E 08 54 */ addi r3, r30, 0x854 -/* 8026BACC 00268A0C C0 22 CC A4 */ lfs f1, lbl_8051B004@sda21(r2) -/* 8026BAD0 00268A10 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026BAD4 00268A14 D0 1E 08 44 */ stfs f0, 0x844(r30) -/* 8026BAD8 00268A18 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 8026BADC 00268A1C C0 02 CC A8 */ lfs f0, lbl_8051B008@sda21(r2) -/* 8026BAE0 00268A20 38 DF 00 48 */ addi r6, r31, 0x48 -/* 8026BAE4 00268A24 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 8026BAE8 00268A28 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 8026BAEC 00268A2C 48 1A 7B 6D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026BAF0 00268A30 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026BAF4 00268A34 3C A0 66 70 */ lis r5, 0x66703930@ha -/* 8026BAF8 00268A38 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026BAFC 00268A3C C0 02 CC AC */ lfs f0, lbl_8051B00C@sda21(r2) -/* 8026BB00 00268A40 90 1E 08 54 */ stw r0, 0x854(r30) -/* 8026BB04 00268A44 38 7E 08 7C */ addi r3, r30, 0x87c -/* 8026BB08 00268A48 C0 22 CC A4 */ lfs f1, lbl_8051B004@sda21(r2) -/* 8026BB0C 00268A4C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026BB10 00268A50 D0 1E 08 6C */ stfs f0, 0x86c(r30) -/* 8026BB14 00268A54 38 A5 39 30 */ addi r5, r5, 0x66703930@l -/* 8026BB18 00268A58 C0 02 CC A8 */ lfs f0, lbl_8051B008@sda21(r2) -/* 8026BB1C 00268A5C 38 DF 00 54 */ addi r6, r31, 0x54 -/* 8026BB20 00268A60 D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 8026BB24 00268A64 D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 8026BB28 00268A68 48 1A 7B 31 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026BB2C 00268A6C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026BB30 00268A70 3C A0 66 70 */ lis r5, 0x66703931@ha -/* 8026BB34 00268A74 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026BB38 00268A78 C0 02 CC B0 */ lfs f0, lbl_8051B010@sda21(r2) -/* 8026BB3C 00268A7C 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 8026BB40 00268A80 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 8026BB44 00268A84 C0 22 CC A4 */ lfs f1, lbl_8051B004@sda21(r2) -/* 8026BB48 00268A88 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026BB4C 00268A8C D0 1E 08 94 */ stfs f0, 0x894(r30) -/* 8026BB50 00268A90 38 A5 39 31 */ addi r5, r5, 0x66703931@l -/* 8026BB54 00268A94 C0 02 CC B4 */ lfs f0, lbl_8051B014@sda21(r2) -/* 8026BB58 00268A98 38 DF 00 60 */ addi r6, r31, 0x60 -/* 8026BB5C 00268A9C D0 3E 08 9C */ stfs f1, 0x89c(r30) -/* 8026BB60 00268AA0 D0 1E 08 A0 */ stfs f0, 0x8a0(r30) -/* 8026BB64 00268AA4 48 1A 7A F5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026BB68 00268AA8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026BB6C 00268AAC C0 42 CC B8 */ lfs f2, lbl_8051B018@sda21(r2) -/* 8026BB70 00268AB0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026BB74 00268AB4 C0 22 CC A4 */ lfs f1, lbl_8051B004@sda21(r2) -/* 8026BB78 00268AB8 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 8026BB7C 00268ABC 7F C3 F3 78 */ mr r3, r30 -/* 8026BB80 00268AC0 C0 02 CC B4 */ lfs f0, lbl_8051B014@sda21(r2) -/* 8026BB84 00268AC4 D0 5E 08 BC */ stfs f2, 0x8bc(r30) -/* 8026BB88 00268AC8 D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 8026BB8C 00268ACC D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -/* 8026BB90 00268AD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026BB94 00268AD4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026BB98 00268AD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BB9C 00268ADC 7C 08 03 A6 */ mtlr r0 -/* 8026BBA0 00268AE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BBA4 00268AE4 4E 80 00 20 */ blr - -.global createObj__Q34Game4Hiba3MgrFi -createObj__Q34Game4Hiba3MgrFi: -/* 8026BBA8 00268AE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BBAC 00268AEC 7C 08 02 A6 */ mflr r0 -/* 8026BBB0 00268AF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BBB4 00268AF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026BBB8 00268AF8 7C 9F 23 78 */ mr r31, r4 -/* 8026BBBC 00268AFC 93 C1 00 08 */ stw r30, 8(r1) -/* 8026BBC0 00268B00 7C 7E 1B 78 */ mr r30, r3 -/* 8026BBC4 00268B04 1C 7F 02 DC */ mulli r3, r31, 0x2dc -/* 8026BBC8 00268B08 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026BBCC 00268B0C 4B DB 83 E1 */ bl __nwa__FUl -/* 8026BBD0 00268B10 3C 80 80 27 */ lis r4, __ct__Q34Game4Hiba3ObjFv@ha -/* 8026BBD4 00268B14 3C A0 80 27 */ lis r5, __dt__Q34Game4Hiba3ObjFv@ha -/* 8026BBD8 00268B18 38 84 BE 8C */ addi r4, r4, __ct__Q34Game4Hiba3ObjFv@l -/* 8026BBDC 00268B1C 7F E7 FB 78 */ mr r7, r31 -/* 8026BBE0 00268B20 38 A5 BC 08 */ addi r5, r5, __dt__Q34Game4Hiba3ObjFv@l -/* 8026BBE4 00268B24 38 C0 02 DC */ li r6, 0x2dc -/* 8026BBE8 00268B28 4B E5 5E 09 */ bl __construct_new_array -/* 8026BBEC 00268B2C 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8026BBF0 00268B30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BBF4 00268B34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026BBF8 00268B38 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026BBFC 00268B3C 7C 08 03 A6 */ mtlr r0 -/* 8026BC00 00268B40 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BC04 00268B44 4E 80 00 20 */ blr - -.global __dt__Q34Game4Hiba3ObjFv -__dt__Q34Game4Hiba3ObjFv: -/* 8026BC08 00268B48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BC0C 00268B4C 7C 08 02 A6 */ mflr r0 -/* 8026BC10 00268B50 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BC14 00268B54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026BC18 00268B58 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8026BC1C 00268B5C 93 C1 00 08 */ stw r30, 8(r1) -/* 8026BC20 00268B60 7C 9E 23 78 */ mr r30, r4 -/* 8026BC24 00268B64 41 82 00 84 */ beq lbl_8026BCA8 -/* 8026BC28 00268B68 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba3Obj@ha -/* 8026BC2C 00268B6C 38 1F 02 CC */ addi r0, r31, 0x2cc -/* 8026BC30 00268B70 38 83 54 D4 */ addi r4, r3, __vt__Q34Game4Hiba3Obj@l -/* 8026BC34 00268B74 90 9F 00 00 */ stw r4, 0(r31) -/* 8026BC38 00268B78 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8026BC3C 00268B7C 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8026BC40 00268B80 90 7F 01 78 */ stw r3, 0x178(r31) -/* 8026BC44 00268B84 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8026BC48 00268B88 90 83 00 00 */ stw r4, 0(r3) -/* 8026BC4C 00268B8C 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8026BC50 00268B90 7C 03 00 50 */ subf r0, r3, r0 -/* 8026BC54 00268B94 90 03 00 0C */ stw r0, 0xc(r3) -/* 8026BC58 00268B98 41 82 00 40 */ beq lbl_8026BC98 -/* 8026BC5C 00268B9C 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8026BC60 00268BA0 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 8026BC64 00268BA4 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8026BC68 00268BA8 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8026BC6C 00268BAC 90 9F 00 00 */ stw r4, 0(r31) -/* 8026BC70 00268BB0 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8026BC74 00268BB4 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8026BC78 00268BB8 38 80 FF FF */ li r4, -1 -/* 8026BC7C 00268BBC 90 BF 01 78 */ stw r5, 0x178(r31) -/* 8026BC80 00268BC0 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8026BC84 00268BC4 90 C5 00 00 */ stw r6, 0(r5) -/* 8026BC88 00268BC8 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8026BC8C 00268BCC 7C 05 00 50 */ subf r0, r5, r0 -/* 8026BC90 00268BD0 90 05 00 0C */ stw r0, 0xc(r5) -/* 8026BC94 00268BD4 48 1A 58 F5 */ bl __dt__5CNodeFv -lbl_8026BC98: -/* 8026BC98 00268BD8 7F C0 07 35 */ extsh. r0, r30 -/* 8026BC9C 00268BDC 40 81 00 0C */ ble lbl_8026BCA8 -/* 8026BCA0 00268BE0 7F E3 FB 78 */ mr r3, r31 -/* 8026BCA4 00268BE4 4B DB 84 11 */ bl __dl__FPv -lbl_8026BCA8: -/* 8026BCA8 00268BE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BCAC 00268BEC 7F E3 FB 78 */ mr r3, r31 -/* 8026BCB0 00268BF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026BCB4 00268BF4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026BCB8 00268BF8 7C 08 03 A6 */ mtlr r0 -/* 8026BCBC 00268BFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BCC0 00268C00 4E 80 00 20 */ blr - -.global getEnemy__Q34Game4Hiba3MgrFi -getEnemy__Q34Game4Hiba3MgrFi: -/* 8026BCC4 00268C04 1C 04 02 DC */ mulli r0, r4, 0x2dc -/* 8026BCC8 00268C08 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8026BCCC 00268C0C 7C 63 02 14 */ add r3, r3, r0 -/* 8026BCD0 00268C10 4E 80 00 20 */ blr - -.global read__Q34Game4Hiba5ParmsFR6Stream -read__Q34Game4Hiba5ParmsFR6Stream: -/* 8026BCD4 00268C14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BCD8 00268C18 7C 08 02 A6 */ mflr r0 -/* 8026BCDC 00268C1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BCE0 00268C20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026BCE4 00268C24 7C 9F 23 78 */ mr r31, r4 -/* 8026BCE8 00268C28 93 C1 00 08 */ stw r30, 8(r1) -/* 8026BCEC 00268C2C 7C 7E 1B 78 */ mr r30, r3 -/* 8026BCF0 00268C30 48 1A 7B 05 */ bl read__10ParametersFR6Stream -/* 8026BCF4 00268C34 7F E4 FB 78 */ mr r4, r31 -/* 8026BCF8 00268C38 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8026BCFC 00268C3C 48 1A 7A F9 */ bl read__10ParametersFR6Stream -/* 8026BD00 00268C40 7F E4 FB 78 */ mr r4, r31 -/* 8026BD04 00268C44 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8026BD08 00268C48 48 1A 7A ED */ bl read__10ParametersFR6Stream -/* 8026BD0C 00268C4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BD10 00268C50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026BD14 00268C54 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026BD18 00268C58 7C 08 03 A6 */ mtlr r0 -/* 8026BD1C 00268C5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BD20 00268C60 4E 80 00 20 */ blr - -.global __dt__Q34Game4Hiba3MgrFv -__dt__Q34Game4Hiba3MgrFv: -/* 8026BD24 00268C64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BD28 00268C68 7C 08 02 A6 */ mflr r0 -/* 8026BD2C 00268C6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BD30 00268C70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026BD34 00268C74 7C 9F 23 78 */ mr r31, r4 -/* 8026BD38 00268C78 93 C1 00 08 */ stw r30, 8(r1) -/* 8026BD3C 00268C7C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026BD40 00268C80 41 82 00 90 */ beq lbl_8026BDD0 -/* 8026BD44 00268C84 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba3Mgr@ha -/* 8026BD48 00268C88 38 63 52 F4 */ addi r3, r3, __vt__Q34Game4Hiba3Mgr@l -/* 8026BD4C 00268C8C 90 7E 00 00 */ stw r3, 0(r30) -/* 8026BD50 00268C90 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026BD54 00268C94 90 1E 00 04 */ stw r0, 4(r30) -/* 8026BD58 00268C98 41 82 00 68 */ beq lbl_8026BDC0 -/* 8026BD5C 00268C9C 3C 60 80 4C */ lis r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@ha -/* 8026BD60 00268CA0 38 63 53 D4 */ addi r3, r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@l -/* 8026BD64 00268CA4 90 7E 00 00 */ stw r3, 0(r30) -/* 8026BD68 00268CA8 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026BD6C 00268CAC 90 1E 00 04 */ stw r0, 4(r30) -/* 8026BD70 00268CB0 41 82 00 50 */ beq lbl_8026BDC0 -/* 8026BD74 00268CB4 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8026BD78 00268CB8 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8026BD7C 00268CBC 90 7E 00 00 */ stw r3, 0(r30) -/* 8026BD80 00268CC0 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026BD84 00268CC4 90 1E 00 04 */ stw r0, 4(r30) -/* 8026BD88 00268CC8 41 82 00 38 */ beq lbl_8026BDC0 -/* 8026BD8C 00268CCC 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8026BD90 00268CD0 34 1E 00 04 */ addic. r0, r30, 4 -/* 8026BD94 00268CD4 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8026BD98 00268CD8 90 7E 00 00 */ stw r3, 0(r30) -/* 8026BD9C 00268CDC 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026BDA0 00268CE0 90 1E 00 04 */ stw r0, 4(r30) -/* 8026BDA4 00268CE4 41 82 00 1C */ beq lbl_8026BDC0 -/* 8026BDA8 00268CE8 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8026BDAC 00268CEC 38 7E 00 04 */ addi r3, r30, 4 -/* 8026BDB0 00268CF0 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8026BDB4 00268CF4 38 80 00 00 */ li r4, 0 -/* 8026BDB8 00268CF8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026BDBC 00268CFC 48 1A 57 CD */ bl __dt__5CNodeFv -lbl_8026BDC0: -/* 8026BDC0 00268D00 7F E0 07 35 */ extsh. r0, r31 -/* 8026BDC4 00268D04 40 81 00 0C */ ble lbl_8026BDD0 -/* 8026BDC8 00268D08 7F C3 F3 78 */ mr r3, r30 -/* 8026BDCC 00268D0C 4B DB 82 E9 */ bl __dl__FPv -lbl_8026BDD0: -/* 8026BDD0 00268D10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BDD4 00268D14 7F C3 F3 78 */ mr r3, r30 -/* 8026BDD8 00268D18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026BDDC 00268D1C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026BDE0 00268D20 7C 08 03 A6 */ mtlr r0 -/* 8026BDE4 00268D24 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BDE8 00268D28 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Hiba3MgrFv -getEnemyTypeID__Q34Game4Hiba3MgrFv: -/* 8026BDEC 00268D2C 38 60 00 14 */ li r3, 0x14 -/* 8026BDF0 00268D30 4E 80 00 20 */ blr - -.global isAlwaysMovieActor__Q24Game28EnemyMgrBaseAlwaysMovieActorFv -isAlwaysMovieActor__Q24Game28EnemyMgrBaseAlwaysMovieActorFv: -/* 8026BDF4 00268D34 38 60 00 01 */ li r3, 1 -/* 8026BDF8 00268D38 4E 80 00 20 */ blr - -.global doAnimation__Q24Game28EnemyMgrBaseAlwaysMovieActorFv -doAnimation__Q24Game28EnemyMgrBaseAlwaysMovieActorFv: -/* 8026BDFC 00268D3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BE00 00268D40 7C 08 02 A6 */ mflr r0 -/* 8026BE04 00268D44 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BE08 00268D48 4B EC 46 71 */ bl doAnimationAlwaysMovieActor__Q24Game12EnemyMgrBaseFv -/* 8026BE0C 00268D4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BE10 00268D50 7C 08 03 A6 */ mtlr r0 -/* 8026BE14 00268D54 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BE18 00268D58 4E 80 00 20 */ blr - -.global doEntry__Q24Game28EnemyMgrBaseAlwaysMovieActorFv -doEntry__Q24Game28EnemyMgrBaseAlwaysMovieActorFv: -/* 8026BE1C 00268D5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BE20 00268D60 7C 08 02 A6 */ mflr r0 -/* 8026BE24 00268D64 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BE28 00268D68 4B EC 47 39 */ bl doEntryAlwaysMovieActor__Q24Game12EnemyMgrBaseFv -/* 8026BE2C 00268D6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BE30 00268D70 7C 08 03 A6 */ mtlr r0 -/* 8026BE34 00268D74 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BE38 00268D78 4E 80 00 20 */ blr - -.global doSimulation__Q24Game28EnemyMgrBaseAlwaysMovieActorFf -doSimulation__Q24Game28EnemyMgrBaseAlwaysMovieActorFf: -/* 8026BE3C 00268D7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BE40 00268D80 7C 08 02 A6 */ mflr r0 -/* 8026BE44 00268D84 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BE48 00268D88 4B EC 47 95 */ bl doSimulationAlwaysMovieActor__Q24Game12EnemyMgrBaseFf -/* 8026BE4C 00268D8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BE50 00268D90 7C 08 03 A6 */ mtlr r0 -/* 8026BE54 00268D94 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BE58 00268D98 4E 80 00 20 */ blr - -.global doDirectDraw__Q24Game28EnemyMgrBaseAlwaysMovieActorFR8Graphics -doDirectDraw__Q24Game28EnemyMgrBaseAlwaysMovieActorFR8Graphics: -/* 8026BE5C 00268D9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BE60 00268DA0 7C 08 02 A6 */ mflr r0 -/* 8026BE64 00268DA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BE68 00268DA8 4B EC 48 11 */ bl doDirectDrawAlwaysMovieActor__Q24Game12EnemyMgrBaseFR8Graphics -/* 8026BE6C 00268DAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BE70 00268DB0 7C 08 03 A6 */ mtlr r0 -/* 8026BE74 00268DB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BE78 00268DB8 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q24Game28EnemyMgrBaseAlwaysMovieActorFv -$$24$$2__dt__Q24Game28EnemyMgrBaseAlwaysMovieActorFv: -/* 8026BE7C 00268DBC 38 63 FF FC */ addi r3, r3, -4 -/* 8026BE80 00268DC0 4B FF FA A0 */ b __dt__Q24Game28EnemyMgrBaseAlwaysMovieActorFv - -.global $$24$$2__dt__Q34Game4Hiba3MgrFv -$$24$$2__dt__Q34Game4Hiba3MgrFv: -/* 8026BE84 00268DC4 38 63 FF FC */ addi r3, r3, -4 -/* 8026BE88 00268DC8 4B FF FE 9C */ b __dt__Q34Game4Hiba3MgrFv - -.global __ct__Q34Game4Hiba3ObjFv -__ct__Q34Game4Hiba3ObjFv: -/* 8026BE8C 00268DCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026BE90 00268DD0 7C 08 02 A6 */ mflr r0 -/* 8026BE94 00268DD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026BE98 00268DD8 7C 80 07 35 */ extsh. r0, r4 -/* 8026BE9C 00268DDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026BEA0 00268DE0 7C 7F 1B 78 */ mr r31, r3 -/* 8026BEA4 00268DE4 93 C1 00 08 */ stw r30, 8(r1) -/* 8026BEA8 00268DE8 41 82 00 24 */ beq lbl_8026BECC -/* 8026BEAC 00268DEC 38 1F 02 CC */ addi r0, r31, 0x2cc -/* 8026BEB0 00268DF0 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8026BEB4 00268DF4 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8026BEB8 00268DF8 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8026BEBC 00268DFC 38 00 00 00 */ li r0, 0 -/* 8026BEC0 00268E00 90 7F 02 CC */ stw r3, 0x2cc(r31) -/* 8026BEC4 00268E04 90 1F 02 D0 */ stw r0, 0x2d0(r31) -/* 8026BEC8 00268E08 90 1F 02 D4 */ stw r0, 0x2d4(r31) -lbl_8026BECC: -/* 8026BECC 00268E0C 7F E3 FB 78 */ mr r3, r31 -/* 8026BED0 00268E10 38 80 00 00 */ li r4, 0 -/* 8026BED4 00268E14 4B E9 54 CD */ bl __ct__Q24Game9EnemyBaseFv -/* 8026BED8 00268E18 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba3Obj@ha -/* 8026BEDC 00268E1C 38 1F 02 CC */ addi r0, r31, 0x2cc -/* 8026BEE0 00268E20 38 A3 54 D4 */ addi r5, r3, __vt__Q34Game4Hiba3Obj@l -/* 8026BEE4 00268E24 38 60 00 2C */ li r3, 0x2c -/* 8026BEE8 00268E28 90 BF 00 00 */ stw r5, 0(r31) -/* 8026BEEC 00268E2C 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8026BEF0 00268E30 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 8026BEF4 00268E34 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8026BEF8 00268E38 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8026BEFC 00268E3C 90 A4 00 00 */ stw r5, 0(r4) -/* 8026BF00 00268E40 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8026BF04 00268E44 7C 04 00 50 */ subf r0, r4, r0 -/* 8026BF08 00268E48 90 04 00 0C */ stw r0, 0xc(r4) -/* 8026BF0C 00268E4C 4B DB 7F 99 */ bl __nw__FUl -/* 8026BF10 00268E50 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026BF14 00268E54 41 82 00 44 */ beq lbl_8026BF58 -/* 8026BF18 00268E58 4B EB BA 5D */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8026BF1C 00268E5C 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba14ProperAnimator@ha -/* 8026BF20 00268E60 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8026BF24 00268E64 38 03 52 C0 */ addi r0, r3, __vt__Q34Game4Hiba14ProperAnimator@l -/* 8026BF28 00268E68 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8026BF2C 00268E6C 90 1E 00 00 */ stw r0, 0(r30) -/* 8026BF30 00268E70 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8026BF34 00268E74 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8026BF38 00268E78 38 00 00 00 */ li r0, 0 -/* 8026BF3C 00268E7C 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8026BF40 00268E80 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8026BF44 00268E84 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026BF48 00268E88 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8026BF4C 00268E8C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8026BF50 00268E90 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026BF54 00268E94 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8026BF58: -/* 8026BF58 00268E98 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8026BF5C 00268E9C 38 60 00 1C */ li r3, 0x1c -/* 8026BF60 00268EA0 4B DB 7F 45 */ bl __nw__FUl -/* 8026BF64 00268EA4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026BF68 00268EA8 41 82 00 24 */ beq lbl_8026BF8C -/* 8026BF6C 00268EAC 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8026BF70 00268EB0 3C 60 80 4C */ lis r3, __vt__Q34Game4Hiba3FSM@ha -/* 8026BF74 00268EB4 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8026BF78 00268EB8 38 A0 FF FF */ li r5, -1 -/* 8026BF7C 00268EBC 90 04 00 00 */ stw r0, 0(r4) -/* 8026BF80 00268EC0 38 03 52 98 */ addi r0, r3, __vt__Q34Game4Hiba3FSM@l -/* 8026BF84 00268EC4 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8026BF88 00268EC8 90 04 00 00 */ stw r0, 0(r4) -lbl_8026BF8C: -/* 8026BF8C 00268ECC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026BF90 00268ED0 7F E3 FB 78 */ mr r3, r31 -/* 8026BF94 00268ED4 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8026BF98 00268ED8 7D 89 03 A6 */ mtctr r12 -/* 8026BF9C 00268EDC 4E 80 04 21 */ bctrl -/* 8026BFA0 00268EE0 7F E3 FB 78 */ mr r3, r31 -/* 8026BFA4 00268EE4 48 00 05 29 */ bl createEffect__Q34Game4Hiba3ObjFv -/* 8026BFA8 00268EE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026BFAC 00268EEC 7F E3 FB 78 */ mr r3, r31 -/* 8026BFB0 00268EF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026BFB4 00268EF4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026BFB8 00268EF8 7C 08 03 A6 */ mtlr r0 -/* 8026BFBC 00268EFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026BFC0 00268F00 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game4Hiba3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game4Hiba3ObjFPQ24Game21EnemyInitialParamBase: -/* 8026BFC4 00268F04 4E 80 00 20 */ blr - -.global onInit__Q34Game4Hiba3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game4Hiba3ObjFPQ24Game15CreatureInitArg: -/* 8026BFC8 00268F08 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026BFCC 00268F0C 7C 08 02 A6 */ mflr r0 -/* 8026BFD0 00268F10 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026BFD4 00268F14 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8026BFD8 00268F18 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8026BFDC 00268F1C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026BFE0 00268F20 7C 7F 1B 78 */ mr r31, r3 -/* 8026BFE4 00268F24 4B E9 5A 75 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8026BFE8 00268F28 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026BFEC 00268F2C 7F E3 FB 78 */ mr r3, r31 -/* 8026BFF0 00268F30 54 00 05 24 */ rlwinm r0, r0, 0, 0x14, 0x12 -/* 8026BFF4 00268F34 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026BFF8 00268F38 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026BFFC 00268F3C 54 00 06 6E */ rlwinm r0, r0, 0, 0x19, 0x17 -/* 8026C000 00268F40 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026C004 00268F44 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026C008 00268F48 54 00 06 2C */ rlwinm r0, r0, 0, 0x18, 0x16 -/* 8026C00C 00268F4C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026C010 00268F50 4B E9 B7 6D */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8026C014 00268F54 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026C018 00268F58 7F E3 FB 78 */ mr r3, r31 -/* 8026C01C 00268F5C 64 00 00 40 */ oris r0, r0, 0x40 -/* 8026C020 00268F60 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026C024 00268F64 4B E9 59 E5 */ bl setEmotionNone__Q24Game9EnemyBaseFv -/* 8026C028 00268F68 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 8026C02C 00268F6C 7F E4 FB 78 */ mr r4, r31 -/* 8026C030 00268F70 4B FD 5C 39 */ bl killShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8026C034 00268F74 C0 02 CC C0 */ lfs f0, lbl_8051B020@sda21(r2) -/* 8026C038 00268F78 38 00 00 01 */ li r0, 1 -/* 8026C03C 00268F7C 7F E3 FB 78 */ mr r3, r31 -/* 8026C040 00268F80 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026C044 00268F84 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 8026C048 00268F88 48 00 04 35 */ bl setupLodParms__Q34Game4Hiba3ObjFv -/* 8026C04C 00268F8C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026C050 00268F90 C3 E3 08 1C */ lfs f31, 0x81c(r3) -/* 8026C054 00268F94 4B E5 D5 4D */ bl rand -/* 8026C058 00268F98 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026C05C 00268F9C 3C 00 43 30 */ lis r0, 0x4330 -/* 8026C060 00268FA0 90 61 00 14 */ stw r3, 0x14(r1) -/* 8026C064 00268FA4 7F E4 FB 78 */ mr r4, r31 -/* 8026C068 00268FA8 C8 42 CC C8 */ lfd f2, lbl_8051B028@sda21(r2) -/* 8026C06C 00268FAC 38 C1 00 08 */ addi r6, r1, 8 -/* 8026C070 00268FB0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026C074 00268FB4 38 A0 00 01 */ li r5, 1 -/* 8026C078 00268FB8 C0 02 CC C4 */ lfs f0, lbl_8051B024@sda21(r2) -/* 8026C07C 00268FBC C8 21 00 10 */ lfd f1, 0x10(r1) -/* 8026C080 00268FC0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026C084 00268FC4 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8026C088 00268FC8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8026C08C 00268FCC D0 01 00 08 */ stfs f0, 8(r1) -/* 8026C090 00268FD0 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8026C094 00268FD4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C098 00268FD8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026C09C 00268FDC 7D 89 03 A6 */ mtctr r12 -/* 8026C0A0 00268FE0 4E 80 04 21 */ bctrl -/* 8026C0A4 00268FE4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8026C0A8 00268FE8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026C0AC 00268FEC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8026C0B0 00268FF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026C0B4 00268FF4 7C 08 03 A6 */ mtlr r0 -/* 8026C0B8 00268FF8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026C0BC 00268FFC 4E 80 00 20 */ blr - -.global doUpdate__Q34Game4Hiba3ObjFv -doUpdate__Q34Game4Hiba3ObjFv: -/* 8026C0C0 00269000 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C0C4 00269004 7C 08 02 A6 */ mflr r0 -/* 8026C0C8 00269008 7C 64 1B 78 */ mr r4, r3 -/* 8026C0CC 0026900C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C0D0 00269010 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8026C0D4 00269014 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C0D8 00269018 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026C0DC 0026901C 7D 89 03 A6 */ mtctr r12 -/* 8026C0E0 00269020 4E 80 04 21 */ bctrl -/* 8026C0E4 00269024 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C0E8 00269028 7C 08 03 A6 */ mtlr r0 -/* 8026C0EC 0026902C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C0F0 00269030 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game4Hiba3ObjFR8Graphics -doDirectDraw__Q34Game4Hiba3ObjFR8Graphics: -/* 8026C0F4 00269034 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Hiba3ObjFR8Graphics -doDebugDraw__Q34Game4Hiba3ObjFR8Graphics: -/* 8026C0F8 00269038 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C0FC 0026903C 7C 08 02 A6 */ mflr r0 -/* 8026C100 00269040 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C104 00269044 4B E9 9D 69 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8026C108 00269048 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C10C 0026904C 7C 08 03 A6 */ mtlr r0 -/* 8026C110 00269050 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C114 00269054 4E 80 00 20 */ blr - -.global setFSM__Q34Game4Hiba3ObjFPQ34Game4Hiba3FSM -setFSM__Q34Game4Hiba3ObjFPQ34Game4Hiba3FSM: -/* 8026C118 00269058 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C11C 0026905C 7C 08 02 A6 */ mflr r0 -/* 8026C120 00269060 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C124 00269064 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026C128 00269068 7C 7F 1B 78 */ mr r31, r3 -/* 8026C12C 0026906C 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 8026C130 00269070 7F E4 FB 78 */ mr r4, r31 -/* 8026C134 00269074 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8026C138 00269078 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C13C 0026907C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026C140 00269080 7D 89 03 A6 */ mtctr r12 -/* 8026C144 00269084 4E 80 04 21 */ bctrl -/* 8026C148 00269088 38 00 00 00 */ li r0, 0 -/* 8026C14C 0026908C 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8026C150 00269090 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C154 00269094 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026C158 00269098 7C 08 03 A6 */ mtlr r0 -/* 8026C15C 0026909C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C160 002690A0 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game4Hiba3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game4Hiba3ObjFRQ24Game11ShadowParam: -/* 8026C164 002690A4 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8026C168 002690A8 C0 22 CC C0 */ lfs f1, lbl_8051B020@sda21(r2) -/* 8026C16C 002690AC D0 04 00 00 */ stfs f0, 0(r4) -/* 8026C170 002690B0 C0 02 CC D0 */ lfs f0, lbl_8051B030@sda21(r2) -/* 8026C174 002690B4 C0 43 01 90 */ lfs f2, 0x190(r3) -/* 8026C178 002690B8 D0 44 00 04 */ stfs f2, 4(r4) -/* 8026C17C 002690BC C0 43 01 94 */ lfs f2, 0x194(r3) -/* 8026C180 002690C0 D0 44 00 08 */ stfs f2, 8(r4) -/* 8026C184 002690C4 D0 24 00 0C */ stfs f1, 0xc(r4) -/* 8026C188 002690C8 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8026C18C 002690CC D0 24 00 14 */ stfs f1, 0x14(r4) -/* 8026C190 002690D0 D0 24 00 18 */ stfs f1, 0x18(r4) -/* 8026C194 002690D4 D0 24 00 1C */ stfs f1, 0x1c(r4) -/* 8026C198 002690D8 4E 80 00 20 */ blr - -.global damageCallBack__Q34Game4Hiba3ObjFPQ24Game8CreaturefP8CollPart -damageCallBack__Q34Game4Hiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026C19C 002690DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026C1A0 002690E0 7C 08 02 A6 */ mflr r0 -/* 8026C1A4 002690E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026C1A8 002690E8 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8026C1AC 002690EC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8026C1B0 002690F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026C1B4 002690F4 FF E0 08 90 */ fmr f31, f1 -/* 8026C1B8 002690F8 28 04 00 00 */ cmplwi r4, 0 -/* 8026C1BC 002690FC 7C 7F 1B 78 */ mr r31, r3 -/* 8026C1C0 00269100 41 82 00 38 */ beq lbl_8026C1F8 -/* 8026C1C4 00269104 7C 83 23 78 */ mr r3, r4 -/* 8026C1C8 00269108 81 84 00 00 */ lwz r12, 0(r4) -/* 8026C1CC 0026910C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026C1D0 00269110 7D 89 03 A6 */ mtctr r12 -/* 8026C1D4 00269114 4E 80 04 21 */ bctrl -/* 8026C1D8 00269118 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026C1DC 0026911C 40 82 00 1C */ bne lbl_8026C1F8 -/* 8026C1E0 00269120 FC 20 F8 90 */ fmr f1, f31 -/* 8026C1E4 00269124 C0 42 CC D0 */ lfs f2, lbl_8051B030@sda21(r2) -/* 8026C1E8 00269128 7F E3 FB 78 */ mr r3, r31 -/* 8026C1EC 0026912C 4B E9 9E 41 */ bl addDamage__Q24Game9EnemyBaseFff -/* 8026C1F0 00269130 38 60 00 01 */ li r3, 1 -/* 8026C1F4 00269134 48 00 00 08 */ b lbl_8026C1FC -lbl_8026C1F8: -/* 8026C1F8 00269138 38 60 00 00 */ li r3, 0 -lbl_8026C1FC: -/* 8026C1FC 0026913C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8026C200 00269140 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026C204 00269144 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8026C208 00269148 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026C20C 0026914C 7C 08 03 A6 */ mtlr r0 -/* 8026C210 00269150 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026C214 00269154 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game4Hiba3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game4Hiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026C218 00269158 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C21C 0026915C 7C 08 02 A6 */ mflr r0 -/* 8026C220 00269160 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C224 00269164 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C228 00269168 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026C22C 0026916C 7D 89 03 A6 */ mtctr r12 -/* 8026C230 00269170 4E 80 04 21 */ bctrl -/* 8026C234 00269174 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C238 00269178 38 60 00 01 */ li r3, 1 -/* 8026C23C 0026917C 7C 08 03 A6 */ mtlr r0 -/* 8026C240 00269180 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C244 00269184 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game4Hiba3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game4Hiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026C248 00269188 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C24C 0026918C 7C 08 02 A6 */ mflr r0 -/* 8026C250 00269190 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C254 00269194 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C258 00269198 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026C25C 0026919C 7D 89 03 A6 */ mtctr r12 -/* 8026C260 002691A0 4E 80 04 21 */ bctrl -/* 8026C264 002691A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C268 002691A8 38 60 00 01 */ li r3, 1 -/* 8026C26C 002691AC 7C 08 03 A6 */ mtlr r0 -/* 8026C270 002691B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C274 002691B4 4E 80 00 20 */ blr - -.global bombCallBack__Q34Game4Hiba3ObjFPQ24Game8CreatureR10Vector3$$0f$$1f -bombCallBack__Q34Game4Hiba3ObjFPQ24Game8CreatureR10Vector3$$0f$$1f: -/* 8026C278 002691B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C27C 002691BC 7C 08 02 A6 */ mflr r0 -/* 8026C280 002691C0 38 A0 00 00 */ li r5, 0 -/* 8026C284 002691C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C288 002691C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C28C 002691CC 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026C290 002691D0 7D 89 03 A6 */ mtctr r12 -/* 8026C294 002691D4 4E 80 04 21 */ bctrl -/* 8026C298 002691D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C29C 002691DC 38 60 00 01 */ li r3, 1 -/* 8026C2A0 002691E0 7C 08 03 A6 */ mtlr r0 -/* 8026C2A4 002691E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C2A8 002691E8 4E 80 00 20 */ blr - -.global interactFireAttack__Q34Game4Hiba3ObjFv -interactFireAttack__Q34Game4Hiba3ObjFv: -/* 8026C2AC 002691EC 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8026C2B0 002691F0 7C 08 02 A6 */ mflr r0 -/* 8026C2B4 002691F4 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8026C2B8 002691F8 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8026C2BC 002691FC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8026C2C0 00269200 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8026C2C4 00269204 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8026C2C8 00269208 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 8026C2CC 0026920C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 8026C2D0 00269210 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8026C2D4 00269214 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8026C2D8 00269218 7C 7E 1B 78 */ mr r30, r3 -/* 8026C2DC 0026921C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8026C2E0 00269220 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8026C2E4 00269224 38 81 00 20 */ addi r4, r1, 0x20 -/* 8026C2E8 00269228 C0 5E 01 90 */ lfs f2, 0x190(r30) -/* 8026C2EC 0026922C C0 05 05 64 */ lfs f0, 0x564(r5) -/* 8026C2F0 00269230 C0 25 05 8C */ lfs f1, 0x58c(r5) -/* 8026C2F4 00269234 C0 65 05 B4 */ lfs f3, 0x5b4(r5) -/* 8026C2F8 00269238 EF E2 00 2A */ fadds f31, f2, f0 -/* 8026C2FC 0026923C C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 8026C300 00269240 EF C2 08 28 */ fsubs f30, f2, f1 -/* 8026C304 00269244 EF A3 00 F2 */ fmuls f29, f3, f3 -/* 8026C308 00269248 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8026C30C 0026924C C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 8026C310 00269250 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8026C314 00269254 C0 1E 01 94 */ lfs f0, 0x194(r30) -/* 8026C318 00269258 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026C31C 0026925C D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8026C320 00269260 4B FC 20 81 */ bl __ct__Q24Game15CellIteratorArgFRQ23Sys6Sphere -/* 8026C324 00269264 38 00 00 01 */ li r0, 1 -/* 8026C328 00269268 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026C32C 0026926C 98 01 00 4C */ stb r0, 0x4c(r1) -/* 8026C330 00269270 38 81 00 30 */ addi r4, r1, 0x30 -/* 8026C334 00269274 4B FC 20 AD */ bl __ct__Q24Game12CellIteratorFRQ24Game15CellIteratorArg -/* 8026C338 00269278 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026C33C 0026927C 4B FC 21 21 */ bl first__Q24Game12CellIteratorFv -/* 8026C340 00269280 48 00 00 FC */ b lbl_8026C43C -lbl_8026C344: -/* 8026C344 00269284 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026C348 00269288 4B FC 21 FD */ bl __ml__Q24Game12CellIteratorFv -/* 8026C34C 0026928C 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C350 00269290 7C 7F 1B 78 */ mr r31, r3 -/* 8026C354 00269294 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8026C358 00269298 7D 89 03 A6 */ mtctr r12 -/* 8026C35C 0026929C 4E 80 04 21 */ bctrl -/* 8026C360 002692A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026C364 002692A4 41 82 00 D0 */ beq lbl_8026C434 -/* 8026C368 002692A8 7F E3 FB 78 */ mr r3, r31 -/* 8026C36C 002692AC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026C370 002692B0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026C374 002692B4 7D 89 03 A6 */ mtctr r12 -/* 8026C378 002692B8 4E 80 04 21 */ bctrl -/* 8026C37C 002692BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026C380 002692C0 40 82 00 20 */ bne lbl_8026C3A0 -/* 8026C384 002692C4 7F E3 FB 78 */ mr r3, r31 -/* 8026C388 002692C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026C38C 002692CC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026C390 002692D0 7D 89 03 A6 */ mtctr r12 -/* 8026C394 002692D4 4E 80 04 21 */ bctrl -/* 8026C398 002692D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026C39C 002692DC 41 82 00 98 */ beq lbl_8026C434 -lbl_8026C3A0: -/* 8026C3A0 002692E0 7F E4 FB 78 */ mr r4, r31 -/* 8026C3A4 002692E4 38 61 00 08 */ addi r3, r1, 8 -/* 8026C3A8 002692E8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026C3AC 002692EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026C3B0 002692F0 7D 89 03 A6 */ mtctr r12 -/* 8026C3B4 002692F4 4E 80 04 21 */ bctrl -/* 8026C3B8 002692F8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8026C3BC 002692FC C0 41 00 08 */ lfs f2, 8(r1) -/* 8026C3C0 00269300 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8026C3C4 00269304 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8026C3C8 00269308 40 81 00 6C */ ble lbl_8026C434 -/* 8026C3CC 0026930C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8026C3D0 00269310 40 80 00 64 */ bge lbl_8026C434 -/* 8026C3D4 00269314 C0 1E 01 94 */ lfs f0, 0x194(r30) -/* 8026C3D8 00269318 C0 3E 01 8C */ lfs f1, 0x18c(r30) -/* 8026C3DC 0026931C EC 00 18 28 */ fsubs f0, f0, f3 -/* 8026C3E0 00269320 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026C3E4 00269324 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8026C3E8 00269328 EC 01 00 7A */ fmadds f0, f1, f1, f0 -/* 8026C3EC 0026932C FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 8026C3F0 00269330 40 80 00 44 */ bge lbl_8026C434 -/* 8026C3F4 00269334 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 8026C3F8 00269338 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 8026C3FC 0026933C 3C 80 80 4B */ lis r4, __vt__Q24Game12InteractFire@ha -/* 8026C400 00269340 7F E3 FB 78 */ mr r3, r31 -/* 8026C404 00269344 C0 06 06 04 */ lfs f0, 0x604(r6) -/* 8026C408 00269348 38 A5 A3 00 */ addi r5, r5, __vt__Q24Game11Interaction@l -/* 8026C40C 0026934C 38 04 48 78 */ addi r0, r4, __vt__Q24Game12InteractFire@l -/* 8026C410 00269350 38 81 00 14 */ addi r4, r1, 0x14 -/* 8026C414 00269354 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8026C418 00269358 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026C41C 0026935C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C420 00269360 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8026C424 00269364 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026C428 00269368 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8026C42C 0026936C 7D 89 03 A6 */ mtctr r12 -/* 8026C430 00269370 4E 80 04 21 */ bctrl -lbl_8026C434: -/* 8026C434 00269374 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026C438 00269378 4B FC 20 C9 */ bl next__Q24Game12CellIteratorFv -lbl_8026C43C: -/* 8026C43C 0026937C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026C440 00269380 4B FC 20 F5 */ bl isDone__Q24Game12CellIteratorFv -/* 8026C444 00269384 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026C448 00269388 41 82 FE FC */ beq lbl_8026C344 -/* 8026C44C 0026938C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8026C450 00269390 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8026C454 00269394 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8026C458 00269398 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8026C45C 0026939C E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8026C460 002693A0 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8026C464 002693A4 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8026C468 002693A8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8026C46C 002693AC 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8026C470 002693B0 7C 08 03 A6 */ mtlr r0 -/* 8026C474 002693B4 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8026C478 002693B8 4E 80 00 20 */ blr - -.global setupLodParms__Q34Game4Hiba3ObjFv -setupLodParms__Q34Game4Hiba3ObjFv: -/* 8026C47C 002693BC 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 8026C480 002693C0 38 00 00 00 */ li r0, 0 -/* 8026C484 002693C4 C0 04 08 94 */ lfs f0, 0x894(r4) -/* 8026C488 002693C8 D0 03 02 64 */ stfs f0, 0x264(r3) -/* 8026C48C 002693CC 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 8026C490 002693D0 C0 04 08 BC */ lfs f0, 0x8bc(r4) -/* 8026C494 002693D4 D0 03 02 68 */ stfs f0, 0x268(r3) -/* 8026C498 002693D8 98 03 02 6C */ stb r0, 0x26c(r3) -/* 8026C49C 002693DC 4E 80 00 20 */ blr - -.global updateEfxLod__Q34Game4Hiba3ObjFv -updateEfxLod__Q34Game4Hiba3ObjFv: -/* 8026C4A0 002693E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C4A4 002693E4 7C 08 02 A6 */ mflr r0 -/* 8026C4A8 002693E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C4AC 002693EC 88 03 00 D8 */ lbz r0, 0xd8(r3) -/* 8026C4B0 002693F0 80 63 02 C8 */ lwz r3, 0x2c8(r3) -/* 8026C4B4 002693F4 54 04 07 BE */ clrlwi r4, r0, 0x1e -/* 8026C4B8 002693F8 48 14 84 F9 */ bl setRateLOD__Q23efx9THibaFireFi -/* 8026C4BC 002693FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C4C0 00269400 7C 08 03 A6 */ mtlr r0 -/* 8026C4C4 00269404 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C4C8 00269408 4E 80 00 20 */ blr - -.global createEffect__Q34Game4Hiba3ObjFv -createEffect__Q34Game4Hiba3ObjFv: -/* 8026C4CC 0026940C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C4D0 00269410 7C 08 02 A6 */ mflr r0 -/* 8026C4D4 00269414 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C4D8 00269418 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026C4DC 0026941C 93 C1 00 08 */ stw r30, 8(r1) -/* 8026C4E0 00269420 7C 7E 1B 78 */ mr r30, r3 -/* 8026C4E4 00269424 38 60 00 44 */ li r3, 0x44 -/* 8026C4E8 00269428 4B DB 79 BD */ bl __nw__FUl -/* 8026C4EC 0026942C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8026C4F0 00269430 41 82 00 24 */ beq lbl_8026C514 -/* 8026C4F4 00269434 38 80 00 AB */ li r4, 0xab -/* 8026C4F8 00269438 38 A0 00 AC */ li r5, 0xac -/* 8026C4FC 0026943C 38 C0 00 AD */ li r6, 0xad -/* 8026C500 00269440 38 E0 00 AE */ li r7, 0xae -/* 8026C504 00269444 48 14 3C A5 */ bl __ct__Q23efx9TForever4FUsUsUsUs -/* 8026C508 00269448 3C 60 80 4C */ lis r3, __vt__Q23efx9THibaFire@ha -/* 8026C50C 0026944C 38 03 54 B8 */ addi r0, r3, __vt__Q23efx9THibaFire@l -/* 8026C510 00269450 90 1F 00 00 */ stw r0, 0(r31) -lbl_8026C514: -/* 8026C514 00269454 93 FE 02 C8 */ stw r31, 0x2c8(r30) -/* 8026C518 00269458 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C51C 0026945C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026C520 00269460 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026C524 00269464 7C 08 03 A6 */ mtlr r0 -/* 8026C528 00269468 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C52C 0026946C 4E 80 00 20 */ blr - -.global startFireEffect__Q34Game4Hiba3ObjFv -startFireEffect__Q34Game4Hiba3ObjFv: -/* 8026C530 00269470 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026C534 00269474 7C 08 02 A6 */ mflr r0 -/* 8026C538 00269478 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 8026C53C 0026947C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026C540 00269480 38 04 A7 EC */ addi r0, r4, __vt__Q23efx3Arg@l -/* 8026C544 00269484 38 81 00 08 */ addi r4, r1, 8 -/* 8026C548 00269488 90 01 00 08 */ stw r0, 8(r1) -/* 8026C54C 0026948C C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8026C550 00269490 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8026C554 00269494 C0 03 01 90 */ lfs f0, 0x190(r3) -/* 8026C558 00269498 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8026C55C 0026949C C0 03 01 94 */ lfs f0, 0x194(r3) -/* 8026C560 002694A0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8026C564 002694A4 80 63 02 C8 */ lwz r3, 0x2c8(r3) -/* 8026C568 002694A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C56C 002694AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026C570 002694B0 7D 89 03 A6 */ mtctr r12 -/* 8026C574 002694B4 4E 80 04 21 */ bctrl -/* 8026C578 002694B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026C57C 002694BC 7C 08 03 A6 */ mtlr r0 -/* 8026C580 002694C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026C584 002694C4 4E 80 00 20 */ blr - -.global finishFireEffect__Q34Game4Hiba3ObjFv -finishFireEffect__Q34Game4Hiba3ObjFv: -/* 8026C588 002694C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C58C 002694CC 7C 08 02 A6 */ mflr r0 -/* 8026C590 002694D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C594 002694D4 80 63 02 C8 */ lwz r3, 0x2c8(r3) -/* 8026C598 002694D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C59C 002694DC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026C5A0 002694E0 7D 89 03 A6 */ mtctr r12 -/* 8026C5A4 002694E4 4E 80 04 21 */ bctrl -/* 8026C5A8 002694E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C5AC 002694EC 7C 08 03 A6 */ mtlr r0 -/* 8026C5B0 002694F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C5B4 002694F4 4E 80 00 20 */ blr - -.global generatorKill__Q34Game4Hiba3ObjFv -generatorKill__Q34Game4Hiba3ObjFv: -/* 8026C5B8 002694F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C5BC 002694FC 7C 08 02 A6 */ mflr r0 -/* 8026C5C0 00269500 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C5C4 00269504 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026C5C8 00269508 7C 7F 1B 78 */ mr r31, r3 -/* 8026C5CC 0026950C 80 63 00 C4 */ lwz r3, 0xc4(r3) -/* 8026C5D0 00269510 28 03 00 00 */ cmplwi r3, 0 -/* 8026C5D4 00269514 41 82 00 14 */ beq lbl_8026C5E8 -/* 8026C5D8 00269518 7F E4 FB 78 */ mr r4, r31 -/* 8026C5DC 0026951C 4B F3 E7 19 */ bl informDeath__Q24Game9GeneratorFPQ24Game8Creature -/* 8026C5E0 00269520 38 00 00 00 */ li r0, 0 -/* 8026C5E4 00269524 90 1F 00 C4 */ stw r0, 0xc4(r31) -lbl_8026C5E8: -/* 8026C5E8 00269528 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C5EC 0026952C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026C5F0 00269530 7C 08 03 A6 */ mtlr r0 -/* 8026C5F4 00269534 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C5F8 00269538 4E 80 00 20 */ blr - -.global doSimulation__Q34Game4Hiba3ObjFf -doSimulation__Q34Game4Hiba3ObjFf: -/* 8026C5FC 0026953C 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game4Hiba3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game4Hiba3ObjFPQ24Game8WaterBox: -/* 8026C600 00269540 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game4Hiba3ObjFv -outWaterCallback__Q34Game4Hiba3ObjFv: -/* 8026C604 00269544 4E 80 00 20 */ blr - -.global isLivingThing__Q34Game4Hiba3ObjFv -isLivingThing__Q34Game4Hiba3ObjFv: -/* 8026C608 00269548 88 63 02 C0 */ lbz r3, 0x2c0(r3) -/* 8026C60C 0026954C 4E 80 00 20 */ blr - -.global lifeRecover__Q34Game4Hiba3ObjFv -lifeRecover__Q34Game4Hiba3ObjFv: -/* 8026C610 00269550 4E 80 00 20 */ blr - -.global $$2716$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2716$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 8026C614 00269554 39 60 00 0C */ li r11, 0xc -/* 8026C618 00269558 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8026C61C 0026955C 7C 63 5A 14 */ add r3, r3, r11 -/* 8026C620 00269560 38 63 FD 34 */ addi r3, r3, -716 -/* 8026C624 00269564 4B E9 A2 F8 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2716$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2716$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 8026C628 00269568 39 60 00 0C */ li r11, 0xc -/* 8026C62C 0026956C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8026C630 00269570 7C 63 5A 14 */ add r3, r3, r11 -/* 8026C634 00269574 38 63 FD 34 */ addi r3, r3, -716 -/* 8026C638 00269578 4B E9 A0 70 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2716$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2716$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 8026C63C 0026957C 39 60 00 0C */ li r11, 0xc -/* 8026C640 00269580 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8026C644 00269584 7C 63 5A 14 */ add r3, r3, r11 -/* 8026C648 00269588 38 63 FD 34 */ addi r3, r3, -716 -/* 8026C64C 0026958C 4B E9 A0 7C */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2716$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2716$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 8026C650 00269590 39 60 00 0C */ li r11, 0xc -/* 8026C654 00269594 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8026C658 00269598 7C 63 5A 14 */ add r3, r3, r11 -/* 8026C65C 0026959C 38 63 FD 34 */ addi r3, r3, -716 -/* 8026C660 002695A0 4B E9 A4 18 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2716$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2716$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 8026C664 002695A4 39 60 00 0C */ li r11, 0xc -/* 8026C668 002695A8 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8026C66C 002695AC 7C 63 5A 14 */ add r3, r3, r11 -/* 8026C670 002695B0 38 63 FD 34 */ addi r3, r3, -716 -/* 8026C674 002695B4 4B E9 A3 D8 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2716$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2716$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 8026C678 002695B8 39 60 00 0C */ li r11, 0xc -/* 8026C67C 002695BC 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8026C680 002695C0 7C 63 5A 14 */ add r3, r3, r11 -/* 8026C684 002695C4 38 63 FD 34 */ addi r3, r3, -716 -/* 8026C688 002695C8 4B E9 A0 18 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global init__Q34Game7GasHiba3FSMFPQ24Game9EnemyBase -init__Q34Game7GasHiba3FSMFPQ24Game9EnemyBase: -/* 8026C68C 002695CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C690 002695D0 7C 08 02 A6 */ mflr r0 -/* 8026C694 002695D4 38 80 00 03 */ li r4, 3 -/* 8026C698 002695D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C69C 002695DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026C6A0 002695E0 7C 7F 1B 78 */ mr r31, r3 -/* 8026C6A4 002695E4 4B EC 41 C1 */ bl create__Q24Game17EnemyStateMachineFi -/* 8026C6A8 002695E8 38 60 00 10 */ li r3, 0x10 -/* 8026C6AC 002695EC 4B DB 77 F9 */ bl __nw__FUl -/* 8026C6B0 002695F0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026C6B4 002695F4 41 82 00 3C */ beq lbl_8026C6F0 -/* 8026C6B8 002695F8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026C6BC 002695FC 3C A0 80 4C */ lis r5, __vt__Q34Game7GasHiba5State@ha -/* 8026C6C0 00269600 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026C6C4 00269604 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba9StateDead@ha -/* 8026C6C8 00269608 90 04 00 00 */ stw r0, 0(r4) -/* 8026C6CC 0026960C 38 E0 00 00 */ li r7, 0 -/* 8026C6D0 00269610 38 C5 58 6C */ addi r6, r5, __vt__Q34Game7GasHiba5State@l -/* 8026C6D4 00269614 38 A2 CC D8 */ addi r5, r2, lbl_8051B038@sda21 -/* 8026C6D8 00269618 90 E4 00 04 */ stw r7, 4(r4) -/* 8026C6DC 0026961C 38 03 58 48 */ addi r0, r3, __vt__Q34Game7GasHiba9StateDead@l -/* 8026C6E0 00269620 90 E4 00 08 */ stw r7, 8(r4) -/* 8026C6E4 00269624 90 C4 00 00 */ stw r6, 0(r4) -/* 8026C6E8 00269628 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026C6EC 0026962C 90 04 00 00 */ stw r0, 0(r4) -lbl_8026C6F0: -/* 8026C6F0 00269630 7F E3 FB 78 */ mr r3, r31 -/* 8026C6F4 00269634 4B EC 42 15 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026C6F8 00269638 38 60 00 10 */ li r3, 0x10 -/* 8026C6FC 0026963C 4B DB 77 A9 */ bl __nw__FUl -/* 8026C700 00269640 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026C704 00269644 41 82 00 40 */ beq lbl_8026C744 -/* 8026C708 00269648 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026C70C 0026964C 3C A0 80 4C */ lis r5, __vt__Q34Game7GasHiba5State@ha -/* 8026C710 00269650 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026C714 00269654 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba9StateWait@ha -/* 8026C718 00269658 90 04 00 00 */ stw r0, 0(r4) -/* 8026C71C 0026965C 38 00 00 01 */ li r0, 1 -/* 8026C720 00269660 38 E0 00 00 */ li r7, 0 -/* 8026C724 00269664 38 C5 58 6C */ addi r6, r5, __vt__Q34Game7GasHiba5State@l -/* 8026C728 00269668 90 04 00 04 */ stw r0, 4(r4) -/* 8026C72C 0026966C 38 A2 CC E0 */ addi r5, r2, lbl_8051B040@sda21 -/* 8026C730 00269670 38 03 58 24 */ addi r0, r3, __vt__Q34Game7GasHiba9StateWait@l -/* 8026C734 00269674 90 E4 00 08 */ stw r7, 8(r4) -/* 8026C738 00269678 90 C4 00 00 */ stw r6, 0(r4) -/* 8026C73C 0026967C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026C740 00269680 90 04 00 00 */ stw r0, 0(r4) -lbl_8026C744: -/* 8026C744 00269684 7F E3 FB 78 */ mr r3, r31 -/* 8026C748 00269688 4B EC 41 C1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026C74C 0026968C 38 60 00 10 */ li r3, 0x10 -/* 8026C750 00269690 4B DB 77 55 */ bl __nw__FUl -/* 8026C754 00269694 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026C758 00269698 41 82 00 40 */ beq lbl_8026C798 -/* 8026C75C 0026969C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026C760 002696A0 3C A0 80 4C */ lis r5, __vt__Q34Game7GasHiba5State@ha -/* 8026C764 002696A4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026C768 002696A8 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba11StateAttack@ha -/* 8026C76C 002696AC 90 04 00 00 */ stw r0, 0(r4) -/* 8026C770 002696B0 38 00 00 02 */ li r0, 2 -/* 8026C774 002696B4 38 E0 00 00 */ li r7, 0 -/* 8026C778 002696B8 38 C5 58 6C */ addi r6, r5, __vt__Q34Game7GasHiba5State@l -/* 8026C77C 002696BC 90 04 00 04 */ stw r0, 4(r4) -/* 8026C780 002696C0 38 A2 CC E8 */ addi r5, r2, lbl_8051B048@sda21 -/* 8026C784 002696C4 38 03 58 00 */ addi r0, r3, __vt__Q34Game7GasHiba11StateAttack@l -/* 8026C788 002696C8 90 E4 00 08 */ stw r7, 8(r4) -/* 8026C78C 002696CC 90 C4 00 00 */ stw r6, 0(r4) -/* 8026C790 002696D0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026C794 002696D4 90 04 00 00 */ stw r0, 0(r4) -lbl_8026C798: -/* 8026C798 002696D8 7F E3 FB 78 */ mr r3, r31 -/* 8026C79C 002696DC 4B EC 41 6D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026C7A0 002696E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C7A4 002696E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026C7A8 002696E8 7C 08 03 A6 */ mtlr r0 -/* 8026C7AC 002696EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C7B0 002696F0 4E 80 00 20 */ blr - -.global init__Q34Game7GasHiba9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7GasHiba9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026C7B4 002696F4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8026C7B8 002696F8 7C 08 02 A6 */ mflr r0 -/* 8026C7BC 002696FC 90 01 00 64 */ stw r0, 0x64(r1) -/* 8026C7C0 00269700 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8026C7C4 00269704 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8026C7C8 00269708 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8026C7CC 0026970C 7C 9F 23 78 */ mr r31, r4 -/* 8026C7D0 00269710 80 84 01 E0 */ lwz r4, 0x1e0(r4) -/* 8026C7D4 00269714 38 00 00 00 */ li r0, 0 -/* 8026C7D8 00269718 60 84 00 04 */ ori r4, r4, 4 -/* 8026C7DC 0026971C 7F E3 FB 78 */ mr r3, r31 -/* 8026C7E0 00269720 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026C7E4 00269724 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026C7E8 00269728 54 84 05 66 */ rlwinm r4, r4, 0, 0x15, 0x13 -/* 8026C7EC 0026972C 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026C7F0 00269730 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026C7F4 00269734 60 84 00 01 */ ori r4, r4, 1 -/* 8026C7F8 00269738 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026C7FC 0026973C 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026C800 00269740 54 84 07 76 */ rlwinm r4, r4, 0, 0x1d, 0x1b -/* 8026C804 00269744 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026C808 00269748 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 8026C80C 0026974C 48 00 17 6D */ bl generatorKill__Q34Game7GasHiba3ObjFv -/* 8026C810 00269750 7F E3 FB 78 */ mr r3, r31 -/* 8026C814 00269754 38 80 00 00 */ li r4, 0 -/* 8026C818 00269758 38 A0 00 00 */ li r5, 0 -/* 8026C81C 0026975C 4B E9 87 E9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026C820 00269760 7F E3 FB 78 */ mr r3, r31 -/* 8026C824 00269764 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026C828 00269768 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8026C82C 0026976C 7D 89 03 A6 */ mtctr r12 -/* 8026C830 00269770 4E 80 04 21 */ bctrl -/* 8026C834 00269774 81 83 00 00 */ lwz r12, 0(r3) -/* 8026C838 00269778 38 80 58 0C */ li r4, 0x580c -/* 8026C83C 0026977C 38 A0 00 00 */ li r5, 0 -/* 8026C840 00269780 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026C844 00269784 7D 89 03 A6 */ mtctr r12 -/* 8026C848 00269788 4E 80 04 21 */ bctrl -/* 8026C84C 0026978C C0 22 CC F0 */ lfs f1, lbl_8051B050@sda21(r2) -/* 8026C850 00269790 7F E3 FB 78 */ mr r3, r31 -/* 8026C854 00269794 48 20 1B C1 */ bl PSStartEnemyFatalHitSE__FPQ24Game9EnemyBasef -/* 8026C858 00269798 7F E4 FB 78 */ mr r4, r31 -/* 8026C85C 0026979C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8026C860 002697A0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026C864 002697A4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026C868 002697A8 7D 89 03 A6 */ mtctr r12 -/* 8026C86C 002697AC 4E 80 04 21 */ bctrl -/* 8026C870 002697B0 7F E3 FB 78 */ mr r3, r31 -/* 8026C874 002697B4 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8026C878 002697B8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026C87C 002697BC C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8026C880 002697C0 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8026C884 002697C4 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 8026C888 002697C8 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8026C88C 002697CC C3 FF 01 F8 */ lfs f31, 0x1f8(r31) -/* 8026C890 002697D0 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8026C894 002697D4 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8026C898 002697D8 7D 89 03 A6 */ mtctr r12 -/* 8026C89C 002697DC 4E 80 04 21 */ bctrl -/* 8026C8A0 002697E0 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8026C8A4 002697E4 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8026C8A8 002697E8 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8026C8AC 002697EC 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026C8B0 002697F0 81 01 00 2C */ lwz r8, 0x2c(r1) -/* 8026C8B4 002697F4 38 E5 A7 EC */ addi r7, r5, __vt__Q23efx3Arg@l -/* 8026C8B8 002697F8 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8026C8BC 002697FC 38 A4 A7 F8 */ addi r5, r4, __vt__Q23efx5TBase@l -/* 8026C8C0 00269800 3C C0 80 4B */ lis r6, __vt__Q23efx12ArgEnemyType@ha -/* 8026C8C4 00269804 3C 80 80 4F */ lis r4, __vt__Q23efx10TEnemyBomb@ha -/* 8026C8C8 00269808 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026C8CC 0026980C 38 C6 A7 E0 */ addi r6, r6, __vt__Q23efx12ArgEnemyType@l -/* 8026C8D0 00269810 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8026C8D4 00269814 38 04 85 D4 */ addi r0, r4, __vt__Q23efx10TEnemyBomb@l -/* 8026C8D8 00269818 91 01 00 14 */ stw r8, 0x14(r1) -/* 8026C8DC 0026981C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8026C8E0 00269820 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8026C8E4 00269824 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8026C8E8 00269828 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8026C8EC 0026982C 90 A1 00 08 */ stw r5, 8(r1) -/* 8026C8F0 00269830 90 61 00 40 */ stw r3, 0x40(r1) -/* 8026C8F4 00269834 38 61 00 08 */ addi r3, r1, 8 -/* 8026C8F8 00269838 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8026C8FC 0026983C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8026C900 00269840 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8026C904 00269844 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8026C908 00269848 D3 E1 00 44 */ stfs f31, 0x44(r1) -/* 8026C90C 0026984C 90 01 00 08 */ stw r0, 8(r1) -/* 8026C910 00269850 48 15 C4 75 */ bl create__Q23efx10TEnemyBombFPQ23efx3Arg -/* 8026C914 00269854 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8026C918 00269858 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8026C91C 0026985C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8026C920 00269860 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8026C924 00269864 7C 08 03 A6 */ mtlr r0 -/* 8026C928 00269868 38 21 00 60 */ addi r1, r1, 0x60 -/* 8026C92C 0026986C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7GasHiba3ObjFv -getEnemyTypeID__Q34Game7GasHiba3ObjFv: -/* 8026C930 00269870 38 60 00 15 */ li r3, 0x15 -/* 8026C934 00269874 4E 80 00 20 */ blr - -.global exec__Q34Game7GasHiba9StateDeadFPQ24Game9EnemyBase -exec__Q34Game7GasHiba9StateDeadFPQ24Game9EnemyBase: -/* 8026C938 00269878 4E 80 00 20 */ blr - -.global cleanup__Q34Game7GasHiba9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game7GasHiba9StateDeadFPQ24Game9EnemyBase: -/* 8026C93C 0026987C 4E 80 00 20 */ blr - -.global init__Q34Game7GasHiba9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7GasHiba9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026C940 00269880 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C944 00269884 7C 08 02 A6 */ mflr r0 -/* 8026C948 00269888 28 05 00 00 */ cmplwi r5, 0 -/* 8026C94C 0026988C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C950 00269890 41 82 00 10 */ beq lbl_8026C960 -/* 8026C954 00269894 C0 05 00 00 */ lfs f0, 0(r5) -/* 8026C958 00269898 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 8026C95C 0026989C 48 00 00 0C */ b lbl_8026C968 -lbl_8026C960: -/* 8026C960 002698A0 C0 02 CC F0 */ lfs f0, lbl_8051B050@sda21(r2) -/* 8026C964 002698A4 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -lbl_8026C968: -/* 8026C968 002698A8 7C 83 23 78 */ mr r3, r4 -/* 8026C96C 002698AC 38 80 00 00 */ li r4, 0 -/* 8026C970 002698B0 38 A0 00 00 */ li r5, 0 -/* 8026C974 002698B4 4B E9 86 91 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026C978 002698B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026C97C 002698BC 7C 08 03 A6 */ mtlr r0 -/* 8026C980 002698C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026C984 002698C4 4E 80 00 20 */ blr - -.global exec__Q34Game7GasHiba9StateWaitFPQ24Game9EnemyBase -exec__Q34Game7GasHiba9StateWaitFPQ24Game9EnemyBase: -/* 8026C988 002698C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026C98C 002698CC 7C 08 02 A6 */ mflr r0 -/* 8026C990 002698D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026C994 002698D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026C998 002698D8 7C 9F 23 78 */ mr r31, r4 -/* 8026C99C 002698DC 93 C1 00 08 */ stw r30, 8(r1) -/* 8026C9A0 002698E0 7C 7E 1B 78 */ mr r30, r3 -/* 8026C9A4 002698E4 7F E3 FB 78 */ mr r3, r31 -/* 8026C9A8 002698E8 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 8026C9AC 002698EC C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 8026C9B0 002698F0 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 8026C9B4 002698F4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8026C9B8 002698F8 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 8026C9BC 002698FC 48 00 0D ED */ bl setInitLivingThing__Q34Game7GasHiba3ObjFv -/* 8026C9C0 00269900 7F E3 FB 78 */ mr r3, r31 -/* 8026C9C4 00269904 48 00 13 95 */ bl updateLivingThing__Q34Game7GasHiba3ObjFv -/* 8026C9C8 00269908 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8026C9CC 0026990C C0 02 CC F0 */ lfs f0, lbl_8051B050@sda21(r2) -/* 8026C9D0 00269910 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026C9D4 00269914 4C 40 13 82 */ cror 2, 0, 2 -/* 8026C9D8 00269918 40 82 00 28 */ bne lbl_8026CA00 -/* 8026C9DC 0026991C 7F C3 F3 78 */ mr r3, r30 -/* 8026C9E0 00269920 7F E4 FB 78 */ mr r4, r31 -/* 8026C9E4 00269924 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026C9E8 00269928 38 A0 00 00 */ li r5, 0 -/* 8026C9EC 0026992C 38 C0 00 00 */ li r6, 0 -/* 8026C9F0 00269930 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026C9F4 00269934 7D 89 03 A6 */ mtctr r12 -/* 8026C9F8 00269938 4E 80 04 21 */ bctrl -/* 8026C9FC 0026993C 48 00 00 38 */ b lbl_8026CA34 -lbl_8026CA00: -/* 8026CA00 00269940 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026CA04 00269944 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026CA08 00269948 C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 8026CA0C 0026994C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026CA10 00269950 40 81 00 24 */ ble lbl_8026CA34 -/* 8026CA14 00269954 7F C3 F3 78 */ mr r3, r30 -/* 8026CA18 00269958 7F E4 FB 78 */ mr r4, r31 -/* 8026CA1C 0026995C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026CA20 00269960 38 A0 00 02 */ li r5, 2 -/* 8026CA24 00269964 38 C0 00 00 */ li r6, 0 -/* 8026CA28 00269968 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026CA2C 0026996C 7D 89 03 A6 */ mtctr r12 -/* 8026CA30 00269970 4E 80 04 21 */ bctrl -lbl_8026CA34: -/* 8026CA34 00269974 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CA38 00269978 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026CA3C 0026997C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026CA40 00269980 7C 08 03 A6 */ mtlr r0 -/* 8026CA44 00269984 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CA48 00269988 4E 80 00 20 */ blr - -.global cleanup__Q34Game7GasHiba9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game7GasHiba9StateWaitFPQ24Game9EnemyBase: -/* 8026CA4C 0026998C 4E 80 00 20 */ blr - -.global init__Q34Game7GasHiba11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7GasHiba11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026CA50 00269990 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CA54 00269994 7C 08 02 A6 */ mflr r0 -/* 8026CA58 00269998 C0 02 CC F0 */ lfs f0, lbl_8051B050@sda21(r2) -/* 8026CA5C 0026999C 38 A0 00 00 */ li r5, 0 -/* 8026CA60 002699A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CA64 002699A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026CA68 002699A8 7C 9F 23 78 */ mr r31, r4 -/* 8026CA6C 002699AC 38 80 00 01 */ li r4, 1 -/* 8026CA70 002699B0 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026CA74 002699B4 7F E3 FB 78 */ mr r3, r31 -/* 8026CA78 002699B8 4B E9 85 8D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026CA7C 002699BC 7F E3 FB 78 */ mr r3, r31 -/* 8026CA80 002699C0 48 00 14 29 */ bl startGasEffect__Q34Game7GasHiba3ObjFv -/* 8026CA84 002699C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CA88 002699C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026CA8C 002699CC 7C 08 03 A6 */ mtlr r0 -/* 8026CA90 002699D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CA94 002699D4 4E 80 00 20 */ blr - -.global exec__Q34Game7GasHiba11StateAttackFPQ24Game9EnemyBase -exec__Q34Game7GasHiba11StateAttackFPQ24Game9EnemyBase: -/* 8026CA98 002699D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CA9C 002699DC 7C 08 02 A6 */ mflr r0 -/* 8026CAA0 002699E0 C0 22 CC F0 */ lfs f1, lbl_8051B050@sda21(r2) -/* 8026CAA4 002699E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CAA8 002699E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026CAAC 002699EC 7C 9F 23 78 */ mr r31, r4 -/* 8026CAB0 002699F0 93 C1 00 08 */ stw r30, 8(r1) -/* 8026CAB4 002699F4 7C 7E 1B 78 */ mr r30, r3 -/* 8026CAB8 002699F8 C0 04 02 00 */ lfs f0, 0x200(r4) -/* 8026CABC 002699FC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026CAC0 00269A00 4C 40 13 82 */ cror 2, 0, 2 -/* 8026CAC4 00269A04 41 82 00 24 */ beq lbl_8026CAE8 -/* 8026CAC8 00269A08 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026CACC 00269A0C C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 8026CAD0 00269A10 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8026CAD4 00269A14 40 81 00 1C */ ble lbl_8026CAF0 -/* 8026CAD8 00269A18 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026CADC 00269A1C C0 03 08 44 */ lfs f0, 0x844(r3) -/* 8026CAE0 00269A20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026CAE4 00269A24 40 81 00 0C */ ble lbl_8026CAF0 -lbl_8026CAE8: -/* 8026CAE8 00269A28 7F E3 FB 78 */ mr r3, r31 -/* 8026CAEC 00269A2C 4B E9 87 B5 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8026CAF0: -/* 8026CAF0 00269A30 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 8026CAF4 00269A34 7F E3 FB 78 */ mr r3, r31 -/* 8026CAF8 00269A38 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026CAFC 00269A3C C0 04 00 54 */ lfs f0, 0x54(r4) -/* 8026CB00 00269A40 EC 01 00 2A */ fadds f0, f1, f0 -/* 8026CB04 00269A44 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026CB08 00269A48 48 00 13 19 */ bl updateEfxLod__Q34Game7GasHiba3ObjFv -/* 8026CB0C 00269A4C 7F E3 FB 78 */ mr r3, r31 -/* 8026CB10 00269A50 48 00 12 49 */ bl updateLivingThing__Q34Game7GasHiba3ObjFv -/* 8026CB14 00269A54 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026CB18 00269A58 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026CB1C 00269A5C C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 8026CB20 00269A60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026CB24 00269A64 40 81 00 0C */ ble lbl_8026CB30 -/* 8026CB28 00269A68 7F E3 FB 78 */ mr r3, r31 -/* 8026CB2C 00269A6C 48 00 0A 95 */ bl interactGasAttack__Q34Game7GasHiba3ObjFv -lbl_8026CB30: -/* 8026CB30 00269A70 7F E3 FB 78 */ mr r3, r31 -/* 8026CB34 00269A74 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026CB38 00269A78 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8026CB3C 00269A7C 7D 89 03 A6 */ mtctr r12 -/* 8026CB40 00269A80 4E 80 04 21 */ bctrl -/* 8026CB44 00269A84 81 83 00 00 */ lwz r12, 0(r3) -/* 8026CB48 00269A88 38 80 50 AE */ li r4, 0x50ae -/* 8026CB4C 00269A8C 38 A0 00 00 */ li r5, 0 -/* 8026CB50 00269A90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026CB54 00269A94 7D 89 03 A6 */ mtctr r12 -/* 8026CB58 00269A98 4E 80 04 21 */ bctrl -/* 8026CB5C 00269A9C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8026CB60 00269AA0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8026CB64 00269AA4 28 00 00 00 */ cmplwi r0, 0 -/* 8026CB68 00269AA8 41 82 00 68 */ beq lbl_8026CBD0 -/* 8026CB6C 00269AAC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8026CB70 00269AB0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8026CB74 00269AB4 40 82 00 5C */ bne lbl_8026CBD0 -/* 8026CB78 00269AB8 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8026CB7C 00269ABC C0 02 CC F0 */ lfs f0, lbl_8051B050@sda21(r2) -/* 8026CB80 00269AC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026CB84 00269AC4 4C 40 13 82 */ cror 2, 0, 2 -/* 8026CB88 00269AC8 40 82 00 28 */ bne lbl_8026CBB0 -/* 8026CB8C 00269ACC 7F C3 F3 78 */ mr r3, r30 -/* 8026CB90 00269AD0 7F E4 FB 78 */ mr r4, r31 -/* 8026CB94 00269AD4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026CB98 00269AD8 38 A0 00 00 */ li r5, 0 -/* 8026CB9C 00269ADC 38 C0 00 00 */ li r6, 0 -/* 8026CBA0 00269AE0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026CBA4 00269AE4 7D 89 03 A6 */ mtctr r12 -/* 8026CBA8 00269AE8 4E 80 04 21 */ bctrl -/* 8026CBAC 00269AEC 48 00 00 24 */ b lbl_8026CBD0 -lbl_8026CBB0: -/* 8026CBB0 00269AF0 7F C3 F3 78 */ mr r3, r30 -/* 8026CBB4 00269AF4 7F E4 FB 78 */ mr r4, r31 -/* 8026CBB8 00269AF8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026CBBC 00269AFC 38 A0 00 01 */ li r5, 1 -/* 8026CBC0 00269B00 38 C0 00 00 */ li r6, 0 -/* 8026CBC4 00269B04 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026CBC8 00269B08 7D 89 03 A6 */ mtctr r12 -/* 8026CBCC 00269B0C 4E 80 04 21 */ bctrl -lbl_8026CBD0: -/* 8026CBD0 00269B10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CBD4 00269B14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026CBD8 00269B18 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026CBDC 00269B1C 7C 08 03 A6 */ mtlr r0 -/* 8026CBE0 00269B20 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CBE4 00269B24 4E 80 00 20 */ blr - -.global cleanup__Q34Game7GasHiba11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game7GasHiba11StateAttackFPQ24Game9EnemyBase: -/* 8026CBE8 00269B28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CBEC 00269B2C 7C 08 02 A6 */ mflr r0 -/* 8026CBF0 00269B30 7C 83 23 78 */ mr r3, r4 -/* 8026CBF4 00269B34 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CBF8 00269B38 48 00 13 51 */ bl finishGasEffect__Q34Game7GasHiba3ObjFv -/* 8026CBFC 00269B3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CC00 00269B40 7C 08 03 A6 */ mtlr r0 -/* 8026CC04 00269B44 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CC08 00269B48 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game7GasHiba14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game7GasHiba14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8026CC0C 00269B4C 90 83 00 20 */ stw r4, 0x20(r3) -/* 8026CC10 00269B50 4E 80 00 20 */ blr - -.global getAnimator__Q34Game7GasHiba14ProperAnimatorFi -getAnimator__Q34Game7GasHiba14ProperAnimatorFi: -/* 8026CC14 00269B54 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026CC18 00269B58 4E 80 00 20 */ blr - -.global __dt__Q34Game7GasHiba14ProperAnimatorFv -__dt__Q34Game7GasHiba14ProperAnimatorFv: -/* 8026CC1C 00269B5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CC20 00269B60 7C 08 02 A6 */ mflr r0 -/* 8026CC24 00269B64 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CC28 00269B68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026CC2C 00269B6C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8026CC30 00269B70 41 82 00 30 */ beq lbl_8026CC60 -/* 8026CC34 00269B74 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba14ProperAnimator@ha -/* 8026CC38 00269B78 38 03 58 B8 */ addi r0, r3, __vt__Q34Game7GasHiba14ProperAnimator@l -/* 8026CC3C 00269B7C 90 1F 00 00 */ stw r0, 0(r31) -/* 8026CC40 00269B80 41 82 00 10 */ beq lbl_8026CC50 -/* 8026CC44 00269B84 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 8026CC48 00269B88 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 8026CC4C 00269B8C 90 1F 00 00 */ stw r0, 0(r31) -lbl_8026CC50: -/* 8026CC50 00269B90 7C 80 07 35 */ extsh. r0, r4 -/* 8026CC54 00269B94 40 81 00 0C */ ble lbl_8026CC60 -/* 8026CC58 00269B98 7F E3 FB 78 */ mr r3, r31 -/* 8026CC5C 00269B9C 4B DB 74 59 */ bl __dl__FPv -lbl_8026CC60: -/* 8026CC60 00269BA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CC64 00269BA4 7F E3 FB 78 */ mr r3, r31 -/* 8026CC68 00269BA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026CC6C 00269BAC 7C 08 03 A6 */ mtlr r0 -/* 8026CC70 00269BB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CC74 00269BB4 4E 80 00 20 */ blr - -.global getAnimator__Q34Game7GasHiba14ProperAnimatorFv -getAnimator__Q34Game7GasHiba14ProperAnimatorFv: -/* 8026CC78 00269BB8 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026CC7C 00269BBC 4E 80 00 20 */ blr - -.global __ct__Q34Game7GasHiba3MgrFiUc -__ct__Q34Game7GasHiba3MgrFiUc: -/* 8026CC80 00269BC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CC84 00269BC4 7C 08 02 A6 */ mflr r0 -/* 8026CC88 00269BC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CC8C 00269BCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026CC90 00269BD0 7C 7F 1B 78 */ mr r31, r3 -/* 8026CC94 00269BD4 4B EC 20 01 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8026CC98 00269BD8 3C 60 80 4C */ lis r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@ha -/* 8026CC9C 00269BDC 3C 80 80 4C */ lis r4, __vt__Q34Game7GasHiba3Mgr@ha -/* 8026CCA0 00269BE0 38 A3 53 D4 */ addi r5, r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@l -/* 8026CCA4 00269BE4 3C 60 80 48 */ lis r3, lbl_804861C8@ha -/* 8026CCA8 00269BE8 90 BF 00 00 */ stw r5, 0(r31) -/* 8026CCAC 00269BEC 38 C5 00 38 */ addi r6, r5, 0x38 -/* 8026CCB0 00269BF0 38 A4 58 EC */ addi r5, r4, __vt__Q34Game7GasHiba3Mgr@l -/* 8026CCB4 00269BF4 38 03 61 C8 */ addi r0, r3, lbl_804861C8@l -/* 8026CCB8 00269BF8 90 DF 00 04 */ stw r6, 4(r31) -/* 8026CCBC 00269BFC 38 85 00 38 */ addi r4, r5, 0x38 -/* 8026CCC0 00269C00 7F E3 FB 78 */ mr r3, r31 -/* 8026CCC4 00269C04 90 BF 00 00 */ stw r5, 0(r31) -/* 8026CCC8 00269C08 90 9F 00 04 */ stw r4, 4(r31) -/* 8026CCCC 00269C0C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8026CCD0 00269C10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026CCD4 00269C14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CCD8 00269C18 7C 08 03 A6 */ mtlr r0 -/* 8026CCDC 00269C1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CCE0 00269C20 4E 80 00 20 */ blr - -.global doAlloc__Q34Game7GasHiba3MgrFv -doAlloc__Q34Game7GasHiba3MgrFv: -/* 8026CCE4 00269C24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CCE8 00269C28 7C 08 02 A6 */ mflr r0 -/* 8026CCEC 00269C2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CCF0 00269C30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026CCF4 00269C34 7C 7F 1B 78 */ mr r31, r3 -/* 8026CCF8 00269C38 38 60 08 F8 */ li r3, 0x8f8 -/* 8026CCFC 00269C3C 4B DB 71 A9 */ bl __nw__FUl -/* 8026CD00 00269C40 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026CD04 00269C44 41 82 00 0C */ beq lbl_8026CD10 -/* 8026CD08 00269C48 48 00 00 25 */ bl __ct__Q34Game7GasHiba5ParmsFv -/* 8026CD0C 00269C4C 7C 64 1B 78 */ mr r4, r3 -lbl_8026CD10: -/* 8026CD10 00269C50 7F E3 FB 78 */ mr r3, r31 -/* 8026CD14 00269C54 4B EC 2B 89 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8026CD18 00269C58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CD1C 00269C5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026CD20 00269C60 7C 08 03 A6 */ mtlr r0 -/* 8026CD24 00269C64 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CD28 00269C68 4E 80 00 20 */ blr - -.global __ct__Q34Game7GasHiba5ParmsFv -__ct__Q34Game7GasHiba5ParmsFv: -/* 8026CD2C 00269C6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CD30 00269C70 7C 08 02 A6 */ mflr r0 -/* 8026CD34 00269C74 3C 80 80 48 */ lis r4, lbl_804861B8@ha -/* 8026CD38 00269C78 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CD3C 00269C7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026CD40 00269C80 3B E4 61 B8 */ addi r31, r4, lbl_804861B8@l -/* 8026CD44 00269C84 93 C1 00 08 */ stw r30, 8(r1) -/* 8026CD48 00269C88 7C 7E 1B 78 */ mr r30, r3 -/* 8026CD4C 00269C8C 4B E9 CA 51 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8026CD50 00269C90 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba5Parms@ha -/* 8026CD54 00269C94 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 8026CD58 00269C98 38 03 58 E0 */ addi r0, r3, __vt__Q34Game7GasHiba5Parms@l -/* 8026CD5C 00269C9C 38 9E 08 F4 */ addi r4, r30, 0x8f4 -/* 8026CD60 00269CA0 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 8026CD64 00269CA4 38 E0 00 00 */ li r7, 0 -/* 8026CD68 00269CA8 38 1F 00 24 */ addi r0, r31, 0x24 -/* 8026CD6C 00269CAC 38 7E 08 04 */ addi r3, r30, 0x804 -/* 8026CD70 00269CB0 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 8026CD74 00269CB4 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026CD78 00269CB8 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 8026CD7C 00269CBC 38 DF 00 34 */ addi r6, r31, 0x34 -/* 8026CD80 00269CC0 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 8026CD84 00269CC4 90 1E 08 00 */ stw r0, 0x800(r30) -/* 8026CD88 00269CC8 48 1A 68 D1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026CD8C 00269CCC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026CD90 00269CD0 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8026CD94 00269CD4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026CD98 00269CD8 C0 02 CC F8 */ lfs f0, lbl_8051B058@sda21(r2) -/* 8026CD9C 00269CDC 90 1E 08 04 */ stw r0, 0x804(r30) -/* 8026CDA0 00269CE0 38 7E 08 2C */ addi r3, r30, 0x82c -/* 8026CDA4 00269CE4 C0 22 CC FC */ lfs f1, lbl_8051B05C@sda21(r2) -/* 8026CDA8 00269CE8 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026CDAC 00269CEC D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 8026CDB0 00269CF0 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 8026CDB4 00269CF4 C0 02 CD 00 */ lfs f0, lbl_8051B060@sda21(r2) -/* 8026CDB8 00269CF8 38 DF 00 44 */ addi r6, r31, 0x44 -/* 8026CDBC 00269CFC D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 8026CDC0 00269D00 D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 8026CDC4 00269D04 48 1A 68 95 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026CDC8 00269D08 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026CDCC 00269D0C 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 8026CDD0 00269D10 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026CDD4 00269D14 C0 02 CC F8 */ lfs f0, lbl_8051B058@sda21(r2) -/* 8026CDD8 00269D18 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 8026CDDC 00269D1C 38 7E 08 54 */ addi r3, r30, 0x854 -/* 8026CDE0 00269D20 C0 22 CC FC */ lfs f1, lbl_8051B05C@sda21(r2) -/* 8026CDE4 00269D24 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026CDE8 00269D28 D0 1E 08 44 */ stfs f0, 0x844(r30) -/* 8026CDEC 00269D2C 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 8026CDF0 00269D30 C0 02 CD 00 */ lfs f0, lbl_8051B060@sda21(r2) -/* 8026CDF4 00269D34 38 DF 00 54 */ addi r6, r31, 0x54 -/* 8026CDF8 00269D38 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 8026CDFC 00269D3C D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 8026CE00 00269D40 48 1A 68 59 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026CE04 00269D44 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026CE08 00269D48 3C A0 66 70 */ lis r5, 0x66703034@ha -/* 8026CE0C 00269D4C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026CE10 00269D50 C0 02 CD 04 */ lfs f0, lbl_8051B064@sda21(r2) -/* 8026CE14 00269D54 90 1E 08 54 */ stw r0, 0x854(r30) -/* 8026CE18 00269D58 38 7E 08 7C */ addi r3, r30, 0x87c -/* 8026CE1C 00269D5C C0 22 CC FC */ lfs f1, lbl_8051B05C@sda21(r2) -/* 8026CE20 00269D60 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026CE24 00269D64 D0 1E 08 6C */ stfs f0, 0x86c(r30) -/* 8026CE28 00269D68 38 A5 30 34 */ addi r5, r5, 0x66703034@l -/* 8026CE2C 00269D6C C0 02 CD 00 */ lfs f0, lbl_8051B060@sda21(r2) -/* 8026CE30 00269D70 38 DF 00 64 */ addi r6, r31, 0x64 -/* 8026CE34 00269D74 D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 8026CE38 00269D78 D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 8026CE3C 00269D7C 48 1A 68 1D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026CE40 00269D80 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026CE44 00269D84 3C A0 66 70 */ lis r5, 0x66703930@ha -/* 8026CE48 00269D88 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026CE4C 00269D8C C0 02 CD 08 */ lfs f0, lbl_8051B068@sda21(r2) -/* 8026CE50 00269D90 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 8026CE54 00269D94 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 8026CE58 00269D98 C0 22 CC FC */ lfs f1, lbl_8051B05C@sda21(r2) -/* 8026CE5C 00269D9C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026CE60 00269DA0 D0 1E 08 94 */ stfs f0, 0x894(r30) -/* 8026CE64 00269DA4 38 A5 39 30 */ addi r5, r5, 0x66703930@l -/* 8026CE68 00269DA8 C0 02 CD 00 */ lfs f0, lbl_8051B060@sda21(r2) -/* 8026CE6C 00269DAC 38 DF 00 70 */ addi r6, r31, 0x70 -/* 8026CE70 00269DB0 D0 3E 08 9C */ stfs f1, 0x89c(r30) -/* 8026CE74 00269DB4 D0 1E 08 A0 */ stfs f0, 0x8a0(r30) -/* 8026CE78 00269DB8 48 1A 67 E1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026CE7C 00269DBC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026CE80 00269DC0 3C A0 66 70 */ lis r5, 0x66703931@ha -/* 8026CE84 00269DC4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026CE88 00269DC8 C0 02 CD 0C */ lfs f0, lbl_8051B06C@sda21(r2) -/* 8026CE8C 00269DCC 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 8026CE90 00269DD0 38 7E 08 CC */ addi r3, r30, 0x8cc -/* 8026CE94 00269DD4 C0 22 CC FC */ lfs f1, lbl_8051B05C@sda21(r2) -/* 8026CE98 00269DD8 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026CE9C 00269DDC D0 1E 08 BC */ stfs f0, 0x8bc(r30) -/* 8026CEA0 00269DE0 38 A5 39 31 */ addi r5, r5, 0x66703931@l -/* 8026CEA4 00269DE4 C0 02 CD 04 */ lfs f0, lbl_8051B064@sda21(r2) -/* 8026CEA8 00269DE8 38 DF 00 7C */ addi r6, r31, 0x7c -/* 8026CEAC 00269DEC D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 8026CEB0 00269DF0 D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -/* 8026CEB4 00269DF4 48 1A 67 A5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026CEB8 00269DF8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026CEBC 00269DFC C0 42 CD 10 */ lfs f2, lbl_8051B070@sda21(r2) -/* 8026CEC0 00269E00 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026CEC4 00269E04 C0 22 CC FC */ lfs f1, lbl_8051B05C@sda21(r2) -/* 8026CEC8 00269E08 90 1E 08 CC */ stw r0, 0x8cc(r30) -/* 8026CECC 00269E0C 7F C3 F3 78 */ mr r3, r30 -/* 8026CED0 00269E10 C0 02 CD 04 */ lfs f0, lbl_8051B064@sda21(r2) -/* 8026CED4 00269E14 D0 5E 08 E4 */ stfs f2, 0x8e4(r30) -/* 8026CED8 00269E18 D0 3E 08 EC */ stfs f1, 0x8ec(r30) -/* 8026CEDC 00269E1C D0 1E 08 F0 */ stfs f0, 0x8f0(r30) -/* 8026CEE0 00269E20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026CEE4 00269E24 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026CEE8 00269E28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CEEC 00269E2C 7C 08 03 A6 */ mtlr r0 -/* 8026CEF0 00269E30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CEF4 00269E34 4E 80 00 20 */ blr - -.global createObj__Q34Game7GasHiba3MgrFi -createObj__Q34Game7GasHiba3MgrFi: -/* 8026CEF8 00269E38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CEFC 00269E3C 7C 08 02 A6 */ mflr r0 -/* 8026CF00 00269E40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CF04 00269E44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026CF08 00269E48 7C 9F 23 78 */ mr r31, r4 -/* 8026CF0C 00269E4C 93 C1 00 08 */ stw r30, 8(r1) -/* 8026CF10 00269E50 7C 7E 1B 78 */ mr r30, r3 -/* 8026CF14 00269E54 1C 7F 02 E4 */ mulli r3, r31, 0x2e4 -/* 8026CF18 00269E58 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026CF1C 00269E5C 4B DB 70 91 */ bl __nwa__FUl -/* 8026CF20 00269E60 3C 80 80 27 */ lis r4, __ct__Q34Game7GasHiba3ObjFv@ha -/* 8026CF24 00269E64 3C A0 80 27 */ lis r5, __dt__Q34Game7GasHiba3ObjFv@ha -/* 8026CF28 00269E68 38 84 D1 4C */ addi r4, r4, __ct__Q34Game7GasHiba3ObjFv@l -/* 8026CF2C 00269E6C 7F E7 FB 78 */ mr r7, r31 -/* 8026CF30 00269E70 38 A5 CF 58 */ addi r5, r5, __dt__Q34Game7GasHiba3ObjFv@l -/* 8026CF34 00269E74 38 C0 02 E4 */ li r6, 0x2e4 -/* 8026CF38 00269E78 4B E5 4A B9 */ bl __construct_new_array -/* 8026CF3C 00269E7C 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8026CF40 00269E80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CF44 00269E84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026CF48 00269E88 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026CF4C 00269E8C 7C 08 03 A6 */ mtlr r0 -/* 8026CF50 00269E90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026CF54 00269E94 4E 80 00 20 */ blr - -.global __dt__Q34Game7GasHiba3ObjFv -__dt__Q34Game7GasHiba3ObjFv: -/* 8026CF58 00269E98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026CF5C 00269E9C 7C 08 02 A6 */ mflr r0 -/* 8026CF60 00269EA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026CF64 00269EA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026CF68 00269EA8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8026CF6C 00269EAC 93 C1 00 08 */ stw r30, 8(r1) -/* 8026CF70 00269EB0 7C 9E 23 78 */ mr r30, r4 -/* 8026CF74 00269EB4 41 82 00 84 */ beq lbl_8026CFF8 -/* 8026CF78 00269EB8 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba3Obj@ha -/* 8026CF7C 00269EBC 38 1F 02 D4 */ addi r0, r31, 0x2d4 -/* 8026CF80 00269EC0 38 83 59 DC */ addi r4, r3, __vt__Q34Game7GasHiba3Obj@l -/* 8026CF84 00269EC4 90 9F 00 00 */ stw r4, 0(r31) -/* 8026CF88 00269EC8 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8026CF8C 00269ECC 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8026CF90 00269ED0 90 7F 01 78 */ stw r3, 0x178(r31) -/* 8026CF94 00269ED4 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8026CF98 00269ED8 90 83 00 00 */ stw r4, 0(r3) -/* 8026CF9C 00269EDC 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8026CFA0 00269EE0 7C 03 00 50 */ subf r0, r3, r0 -/* 8026CFA4 00269EE4 90 03 00 0C */ stw r0, 0xc(r3) -/* 8026CFA8 00269EE8 41 82 00 40 */ beq lbl_8026CFE8 -/* 8026CFAC 00269EEC 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8026CFB0 00269EF0 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 8026CFB4 00269EF4 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8026CFB8 00269EF8 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8026CFBC 00269EFC 90 9F 00 00 */ stw r4, 0(r31) -/* 8026CFC0 00269F00 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8026CFC4 00269F04 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8026CFC8 00269F08 38 80 FF FF */ li r4, -1 -/* 8026CFCC 00269F0C 90 BF 01 78 */ stw r5, 0x178(r31) -/* 8026CFD0 00269F10 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8026CFD4 00269F14 90 C5 00 00 */ stw r6, 0(r5) -/* 8026CFD8 00269F18 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8026CFDC 00269F1C 7C 05 00 50 */ subf r0, r5, r0 -/* 8026CFE0 00269F20 90 05 00 0C */ stw r0, 0xc(r5) -/* 8026CFE4 00269F24 48 1A 45 A5 */ bl __dt__5CNodeFv -lbl_8026CFE8: -/* 8026CFE8 00269F28 7F C0 07 35 */ extsh. r0, r30 -/* 8026CFEC 00269F2C 40 81 00 0C */ ble lbl_8026CFF8 -/* 8026CFF0 00269F30 7F E3 FB 78 */ mr r3, r31 -/* 8026CFF4 00269F34 4B DB 70 C1 */ bl __dl__FPv -lbl_8026CFF8: -/* 8026CFF8 00269F38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026CFFC 00269F3C 7F E3 FB 78 */ mr r3, r31 -/* 8026D000 00269F40 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026D004 00269F44 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026D008 00269F48 7C 08 03 A6 */ mtlr r0 -/* 8026D00C 00269F4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D010 00269F50 4E 80 00 20 */ blr - -.global getEnemy__Q34Game7GasHiba3MgrFi -getEnemy__Q34Game7GasHiba3MgrFi: -/* 8026D014 00269F54 1C 04 02 E4 */ mulli r0, r4, 0x2e4 -/* 8026D018 00269F58 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8026D01C 00269F5C 7C 63 02 14 */ add r3, r3, r0 -/* 8026D020 00269F60 4E 80 00 20 */ blr - -.global read__Q34Game7GasHiba5ParmsFR6Stream -read__Q34Game7GasHiba5ParmsFR6Stream: -/* 8026D024 00269F64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D028 00269F68 7C 08 02 A6 */ mflr r0 -/* 8026D02C 00269F6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D030 00269F70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026D034 00269F74 7C 9F 23 78 */ mr r31, r4 -/* 8026D038 00269F78 93 C1 00 08 */ stw r30, 8(r1) -/* 8026D03C 00269F7C 7C 7E 1B 78 */ mr r30, r3 -/* 8026D040 00269F80 48 1A 67 B5 */ bl read__10ParametersFR6Stream -/* 8026D044 00269F84 7F E4 FB 78 */ mr r4, r31 -/* 8026D048 00269F88 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8026D04C 00269F8C 48 1A 67 A9 */ bl read__10ParametersFR6Stream -/* 8026D050 00269F90 7F E4 FB 78 */ mr r4, r31 -/* 8026D054 00269F94 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8026D058 00269F98 48 1A 67 9D */ bl read__10ParametersFR6Stream -/* 8026D05C 00269F9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D060 00269FA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026D064 00269FA4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026D068 00269FA8 7C 08 03 A6 */ mtlr r0 -/* 8026D06C 00269FAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D070 00269FB0 4E 80 00 20 */ blr - -.global __dt__Q34Game7GasHiba3MgrFv -__dt__Q34Game7GasHiba3MgrFv: -/* 8026D074 00269FB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D078 00269FB8 7C 08 02 A6 */ mflr r0 -/* 8026D07C 00269FBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D080 00269FC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026D084 00269FC4 7C 9F 23 78 */ mr r31, r4 -/* 8026D088 00269FC8 93 C1 00 08 */ stw r30, 8(r1) -/* 8026D08C 00269FCC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026D090 00269FD0 41 82 00 90 */ beq lbl_8026D120 -/* 8026D094 00269FD4 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba3Mgr@ha -/* 8026D098 00269FD8 38 63 58 EC */ addi r3, r3, __vt__Q34Game7GasHiba3Mgr@l -/* 8026D09C 00269FDC 90 7E 00 00 */ stw r3, 0(r30) -/* 8026D0A0 00269FE0 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026D0A4 00269FE4 90 1E 00 04 */ stw r0, 4(r30) -/* 8026D0A8 00269FE8 41 82 00 68 */ beq lbl_8026D110 -/* 8026D0AC 00269FEC 3C 60 80 4C */ lis r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@ha -/* 8026D0B0 00269FF0 38 63 53 D4 */ addi r3, r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@l -/* 8026D0B4 00269FF4 90 7E 00 00 */ stw r3, 0(r30) -/* 8026D0B8 00269FF8 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026D0BC 00269FFC 90 1E 00 04 */ stw r0, 4(r30) -/* 8026D0C0 0026A000 41 82 00 50 */ beq lbl_8026D110 -/* 8026D0C4 0026A004 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8026D0C8 0026A008 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8026D0CC 0026A00C 90 7E 00 00 */ stw r3, 0(r30) -/* 8026D0D0 0026A010 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026D0D4 0026A014 90 1E 00 04 */ stw r0, 4(r30) -/* 8026D0D8 0026A018 41 82 00 38 */ beq lbl_8026D110 -/* 8026D0DC 0026A01C 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8026D0E0 0026A020 34 1E 00 04 */ addic. r0, r30, 4 -/* 8026D0E4 0026A024 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8026D0E8 0026A028 90 7E 00 00 */ stw r3, 0(r30) -/* 8026D0EC 0026A02C 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026D0F0 0026A030 90 1E 00 04 */ stw r0, 4(r30) -/* 8026D0F4 0026A034 41 82 00 1C */ beq lbl_8026D110 -/* 8026D0F8 0026A038 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8026D0FC 0026A03C 38 7E 00 04 */ addi r3, r30, 4 -/* 8026D100 0026A040 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8026D104 0026A044 38 80 00 00 */ li r4, 0 -/* 8026D108 0026A048 90 1E 00 04 */ stw r0, 4(r30) -/* 8026D10C 0026A04C 48 1A 44 7D */ bl __dt__5CNodeFv -lbl_8026D110: -/* 8026D110 0026A050 7F E0 07 35 */ extsh. r0, r31 -/* 8026D114 0026A054 40 81 00 0C */ ble lbl_8026D120 -/* 8026D118 0026A058 7F C3 F3 78 */ mr r3, r30 -/* 8026D11C 0026A05C 4B DB 6F 99 */ bl __dl__FPv -lbl_8026D120: -/* 8026D120 0026A060 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D124 0026A064 7F C3 F3 78 */ mr r3, r30 -/* 8026D128 0026A068 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026D12C 0026A06C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026D130 0026A070 7C 08 03 A6 */ mtlr r0 -/* 8026D134 0026A074 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D138 0026A078 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7GasHiba3MgrFv -getEnemyTypeID__Q34Game7GasHiba3MgrFv: -/* 8026D13C 0026A07C 38 60 00 15 */ li r3, 0x15 -/* 8026D140 0026A080 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game7GasHiba3MgrFv -$$24$$2__dt__Q34Game7GasHiba3MgrFv: -/* 8026D144 0026A084 38 63 FF FC */ addi r3, r3, -4 -/* 8026D148 0026A088 4B FF FF 2C */ b __dt__Q34Game7GasHiba3MgrFv - -.global __ct__Q34Game7GasHiba3ObjFv -__ct__Q34Game7GasHiba3ObjFv: -/* 8026D14C 0026A08C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D150 0026A090 7C 08 02 A6 */ mflr r0 -/* 8026D154 0026A094 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D158 0026A098 7C 80 07 35 */ extsh. r0, r4 -/* 8026D15C 0026A09C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026D160 0026A0A0 7C 7F 1B 78 */ mr r31, r3 -/* 8026D164 0026A0A4 93 C1 00 08 */ stw r30, 8(r1) -/* 8026D168 0026A0A8 41 82 00 24 */ beq lbl_8026D18C -/* 8026D16C 0026A0AC 38 1F 02 D4 */ addi r0, r31, 0x2d4 -/* 8026D170 0026A0B0 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8026D174 0026A0B4 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8026D178 0026A0B8 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8026D17C 0026A0BC 38 00 00 00 */ li r0, 0 -/* 8026D180 0026A0C0 90 7F 02 D4 */ stw r3, 0x2d4(r31) -/* 8026D184 0026A0C4 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 8026D188 0026A0C8 90 1F 02 DC */ stw r0, 0x2dc(r31) -lbl_8026D18C: -/* 8026D18C 0026A0CC 7F E3 FB 78 */ mr r3, r31 -/* 8026D190 0026A0D0 38 80 00 00 */ li r4, 0 -/* 8026D194 0026A0D4 4B E9 42 0D */ bl __ct__Q24Game9EnemyBaseFv -/* 8026D198 0026A0D8 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba3Obj@ha -/* 8026D19C 0026A0DC 38 1F 02 D4 */ addi r0, r31, 0x2d4 -/* 8026D1A0 0026A0E0 38 A3 59 DC */ addi r5, r3, __vt__Q34Game7GasHiba3Obj@l -/* 8026D1A4 0026A0E4 38 60 00 2C */ li r3, 0x2c -/* 8026D1A8 0026A0E8 90 BF 00 00 */ stw r5, 0(r31) -/* 8026D1AC 0026A0EC 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8026D1B0 0026A0F0 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 8026D1B4 0026A0F4 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8026D1B8 0026A0F8 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8026D1BC 0026A0FC 90 A4 00 00 */ stw r5, 0(r4) -/* 8026D1C0 0026A100 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8026D1C4 0026A104 7C 04 00 50 */ subf r0, r4, r0 -/* 8026D1C8 0026A108 90 04 00 0C */ stw r0, 0xc(r4) -/* 8026D1CC 0026A10C 4B DB 6C D9 */ bl __nw__FUl -/* 8026D1D0 0026A110 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026D1D4 0026A114 41 82 00 44 */ beq lbl_8026D218 -/* 8026D1D8 0026A118 4B EB A7 9D */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8026D1DC 0026A11C 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba14ProperAnimator@ha -/* 8026D1E0 0026A120 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8026D1E4 0026A124 38 03 58 B8 */ addi r0, r3, __vt__Q34Game7GasHiba14ProperAnimator@l -/* 8026D1E8 0026A128 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8026D1EC 0026A12C 90 1E 00 00 */ stw r0, 0(r30) -/* 8026D1F0 0026A130 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8026D1F4 0026A134 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8026D1F8 0026A138 38 00 00 00 */ li r0, 0 -/* 8026D1FC 0026A13C 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8026D200 0026A140 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8026D204 0026A144 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026D208 0026A148 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8026D20C 0026A14C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8026D210 0026A150 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026D214 0026A154 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8026D218: -/* 8026D218 0026A158 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8026D21C 0026A15C 38 60 00 1C */ li r3, 0x1c -/* 8026D220 0026A160 4B DB 6C 85 */ bl __nw__FUl -/* 8026D224 0026A164 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026D228 0026A168 41 82 00 24 */ beq lbl_8026D24C -/* 8026D22C 0026A16C 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8026D230 0026A170 3C 60 80 4C */ lis r3, __vt__Q34Game7GasHiba3FSM@ha -/* 8026D234 0026A174 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8026D238 0026A178 38 A0 FF FF */ li r5, -1 -/* 8026D23C 0026A17C 90 04 00 00 */ stw r0, 0(r4) -/* 8026D240 0026A180 38 03 58 90 */ addi r0, r3, __vt__Q34Game7GasHiba3FSM@l -/* 8026D244 0026A184 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8026D248 0026A188 90 04 00 00 */ stw r0, 0(r4) -lbl_8026D24C: -/* 8026D24C 0026A18C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026D250 0026A190 7F E3 FB 78 */ mr r3, r31 -/* 8026D254 0026A194 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8026D258 0026A198 7D 89 03 A6 */ mtctr r12 -/* 8026D25C 0026A19C 4E 80 04 21 */ bctrl -/* 8026D260 0026A1A0 7F E3 FB 78 */ mr r3, r31 -/* 8026D264 0026A1A4 48 00 0B E9 */ bl createEffect__Q34Game7GasHiba3ObjFv -/* 8026D268 0026A1A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D26C 0026A1AC 7F E3 FB 78 */ mr r3, r31 -/* 8026D270 0026A1B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026D274 0026A1B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026D278 0026A1B8 7C 08 03 A6 */ mtlr r0 -/* 8026D27C 0026A1BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D280 0026A1C0 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game7GasHiba3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game7GasHiba3ObjFPQ24Game21EnemyInitialParamBase: -/* 8026D284 0026A1C4 4E 80 00 20 */ blr - -.global onInit__Q34Game7GasHiba3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game7GasHiba3ObjFPQ24Game15CreatureInitArg: -/* 8026D288 0026A1C8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026D28C 0026A1CC 7C 08 02 A6 */ mflr r0 -/* 8026D290 0026A1D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026D294 0026A1D4 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8026D298 0026A1D8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8026D29C 0026A1DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026D2A0 0026A1E0 7C 7F 1B 78 */ mr r31, r3 -/* 8026D2A4 0026A1E4 4B E9 47 B5 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8026D2A8 0026A1E8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026D2AC 0026A1EC 7F E3 FB 78 */ mr r3, r31 -/* 8026D2B0 0026A1F0 54 00 05 24 */ rlwinm r0, r0, 0, 0x14, 0x12 -/* 8026D2B4 0026A1F4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026D2B8 0026A1F8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026D2BC 0026A1FC 54 00 06 6E */ rlwinm r0, r0, 0, 0x19, 0x17 -/* 8026D2C0 0026A200 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026D2C4 0026A204 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026D2C8 0026A208 54 00 06 2C */ rlwinm r0, r0, 0, 0x18, 0x16 -/* 8026D2CC 0026A20C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026D2D0 0026A210 4B E9 A4 AD */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8026D2D4 0026A214 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026D2D8 0026A218 7F E3 FB 78 */ mr r3, r31 -/* 8026D2DC 0026A21C 64 00 00 40 */ oris r0, r0, 0x40 -/* 8026D2E0 0026A220 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026D2E4 0026A224 4B E9 47 25 */ bl setEmotionNone__Q24Game9EnemyBaseFv -/* 8026D2E8 0026A228 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 8026D2EC 0026A22C 7F E4 FB 78 */ mr r4, r31 -/* 8026D2F0 0026A230 4B FD 49 79 */ bl killShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8026D2F4 0026A234 C0 02 CD 18 */ lfs f0, lbl_8051B078@sda21(r2) -/* 8026D2F8 0026A238 7F E3 FB 78 */ mr r3, r31 -/* 8026D2FC 0026A23C D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026D300 0026A240 48 00 04 91 */ bl resetBridgeGateCheck__Q34Game7GasHiba3ObjFv -/* 8026D304 0026A244 38 00 00 00 */ li r0, 0 -/* 8026D308 0026A248 7F E3 FB 78 */ mr r3, r31 -/* 8026D30C 0026A24C 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 8026D310 0026A250 48 00 0A ED */ bl setupLodParms__Q34Game7GasHiba3ObjFv -/* 8026D314 0026A254 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026D318 0026A258 C3 E3 08 1C */ lfs f31, 0x81c(r3) -/* 8026D31C 0026A25C 4B E5 C2 85 */ bl rand -/* 8026D320 0026A260 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026D324 0026A264 3C 00 43 30 */ lis r0, 0x4330 -/* 8026D328 0026A268 90 61 00 14 */ stw r3, 0x14(r1) -/* 8026D32C 0026A26C 7F E4 FB 78 */ mr r4, r31 -/* 8026D330 0026A270 C8 42 CD 20 */ lfd f2, lbl_8051B080@sda21(r2) -/* 8026D334 0026A274 38 C1 00 08 */ addi r6, r1, 8 -/* 8026D338 0026A278 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026D33C 0026A27C 38 A0 00 01 */ li r5, 1 -/* 8026D340 0026A280 C0 02 CD 1C */ lfs f0, lbl_8051B07C@sda21(r2) -/* 8026D344 0026A284 C8 21 00 10 */ lfd f1, 0x10(r1) -/* 8026D348 0026A288 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026D34C 0026A28C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8026D350 0026A290 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8026D354 0026A294 D0 01 00 08 */ stfs f0, 8(r1) -/* 8026D358 0026A298 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8026D35C 0026A29C 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D360 0026A2A0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026D364 0026A2A4 7D 89 03 A6 */ mtctr r12 -/* 8026D368 0026A2A8 4E 80 04 21 */ bctrl -/* 8026D36C 0026A2AC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8026D370 0026A2B0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026D374 0026A2B4 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8026D378 0026A2B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026D37C 0026A2BC 7C 08 03 A6 */ mtlr r0 -/* 8026D380 0026A2C0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026D384 0026A2C4 4E 80 00 20 */ blr - -.global doUpdate__Q34Game7GasHiba3ObjFv -doUpdate__Q34Game7GasHiba3ObjFv: -/* 8026D388 0026A2C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D38C 0026A2CC 7C 08 02 A6 */ mflr r0 -/* 8026D390 0026A2D0 7C 64 1B 78 */ mr r4, r3 -/* 8026D394 0026A2D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D398 0026A2D8 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8026D39C 0026A2DC 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D3A0 0026A2E0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026D3A4 0026A2E4 7D 89 03 A6 */ mtctr r12 -/* 8026D3A8 0026A2E8 4E 80 04 21 */ bctrl -/* 8026D3AC 0026A2EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D3B0 0026A2F0 7C 08 03 A6 */ mtlr r0 -/* 8026D3B4 0026A2F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D3B8 0026A2F8 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game7GasHiba3ObjFR8Graphics -doDirectDraw__Q34Game7GasHiba3ObjFR8Graphics: -/* 8026D3BC 0026A2FC 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game7GasHiba3ObjFR8Graphics -doDebugDraw__Q34Game7GasHiba3ObjFR8Graphics: -/* 8026D3C0 0026A300 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D3C4 0026A304 7C 08 02 A6 */ mflr r0 -/* 8026D3C8 0026A308 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D3CC 0026A30C 4B E9 8A A1 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8026D3D0 0026A310 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D3D4 0026A314 7C 08 03 A6 */ mtlr r0 -/* 8026D3D8 0026A318 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D3DC 0026A31C 4E 80 00 20 */ blr - -.global setFSM__Q34Game7GasHiba3ObjFPQ34Game7GasHiba3FSM -setFSM__Q34Game7GasHiba3ObjFPQ34Game7GasHiba3FSM: -/* 8026D3E0 0026A320 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D3E4 0026A324 7C 08 02 A6 */ mflr r0 -/* 8026D3E8 0026A328 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D3EC 0026A32C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026D3F0 0026A330 7C 7F 1B 78 */ mr r31, r3 -/* 8026D3F4 0026A334 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 8026D3F8 0026A338 7F E4 FB 78 */ mr r4, r31 -/* 8026D3FC 0026A33C 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8026D400 0026A340 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D404 0026A344 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026D408 0026A348 7D 89 03 A6 */ mtctr r12 -/* 8026D40C 0026A34C 4E 80 04 21 */ bctrl -/* 8026D410 0026A350 38 00 00 00 */ li r0, 0 -/* 8026D414 0026A354 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8026D418 0026A358 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D41C 0026A35C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026D420 0026A360 7C 08 03 A6 */ mtlr r0 -/* 8026D424 0026A364 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D428 0026A368 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game7GasHiba3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game7GasHiba3ObjFRQ24Game11ShadowParam: -/* 8026D42C 0026A36C C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8026D430 0026A370 C0 22 CD 18 */ lfs f1, lbl_8051B078@sda21(r2) -/* 8026D434 0026A374 D0 04 00 00 */ stfs f0, 0(r4) -/* 8026D438 0026A378 C0 02 CD 28 */ lfs f0, lbl_8051B088@sda21(r2) -/* 8026D43C 0026A37C C0 43 01 90 */ lfs f2, 0x190(r3) -/* 8026D440 0026A380 D0 44 00 04 */ stfs f2, 4(r4) -/* 8026D444 0026A384 C0 43 01 94 */ lfs f2, 0x194(r3) -/* 8026D448 0026A388 D0 44 00 08 */ stfs f2, 8(r4) -/* 8026D44C 0026A38C D0 24 00 0C */ stfs f1, 0xc(r4) -/* 8026D450 0026A390 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8026D454 0026A394 D0 24 00 14 */ stfs f1, 0x14(r4) -/* 8026D458 0026A398 D0 04 00 18 */ stfs f0, 0x18(r4) -/* 8026D45C 0026A39C D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8026D460 0026A3A0 4E 80 00 20 */ blr - -.global damageCallBack__Q34Game7GasHiba3ObjFPQ24Game8CreaturefP8CollPart -damageCallBack__Q34Game7GasHiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026D464 0026A3A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026D468 0026A3A8 7C 08 02 A6 */ mflr r0 -/* 8026D46C 0026A3AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026D470 0026A3B0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8026D474 0026A3B4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8026D478 0026A3B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026D47C 0026A3BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026D480 0026A3C0 7C 9F 23 79 */ or. r31, r4, r4 -/* 8026D484 0026A3C4 FF E0 08 90 */ fmr f31, f1 -/* 8026D488 0026A3C8 7C 7E 1B 78 */ mr r30, r3 -/* 8026D48C 0026A3CC 41 82 00 7C */ beq lbl_8026D508 -/* 8026D490 0026A3D0 7F E3 FB 78 */ mr r3, r31 -/* 8026D494 0026A3D4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026D498 0026A3D8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026D49C 0026A3DC 7D 89 03 A6 */ mtctr r12 -/* 8026D4A0 0026A3E0 4E 80 04 21 */ bctrl -/* 8026D4A4 0026A3E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026D4A8 0026A3E8 40 82 00 60 */ bne lbl_8026D508 -/* 8026D4AC 0026A3EC 7F E4 FB 78 */ mr r4, r31 -/* 8026D4B0 0026A3F0 38 61 00 08 */ addi r3, r1, 8 -/* 8026D4B4 0026A3F4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026D4B8 0026A3F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026D4BC 0026A3FC 7D 89 03 A6 */ mtctr r12 -/* 8026D4C0 0026A400 4E 80 04 21 */ bctrl -/* 8026D4C4 0026A404 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8026D4C8 0026A408 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 8026D4CC 0026A40C 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8026D4D0 0026A410 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8026D4D4 0026A414 C0 03 05 64 */ lfs f0, 0x564(r3) -/* 8026D4D8 0026A418 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026D4DC 0026A41C 40 80 00 2C */ bge lbl_8026D508 -/* 8026D4E0 0026A420 C0 03 05 8C */ lfs f0, 0x58c(r3) -/* 8026D4E4 0026A424 FC 00 00 50 */ fneg f0, f0 -/* 8026D4E8 0026A428 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026D4EC 0026A42C 40 81 00 1C */ ble lbl_8026D508 -/* 8026D4F0 0026A430 FC 20 F8 90 */ fmr f1, f31 -/* 8026D4F4 0026A434 C0 42 CD 28 */ lfs f2, lbl_8051B088@sda21(r2) -/* 8026D4F8 0026A438 7F C3 F3 78 */ mr r3, r30 -/* 8026D4FC 0026A43C 4B E9 8B 31 */ bl addDamage__Q24Game9EnemyBaseFff -/* 8026D500 0026A440 38 60 00 01 */ li r3, 1 -/* 8026D504 0026A444 48 00 00 08 */ b lbl_8026D50C -lbl_8026D508: -/* 8026D508 0026A448 38 60 00 00 */ li r3, 0 -lbl_8026D50C: -/* 8026D50C 0026A44C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8026D510 0026A450 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026D514 0026A454 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8026D518 0026A458 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026D51C 0026A45C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026D520 0026A460 7C 08 03 A6 */ mtlr r0 -/* 8026D524 0026A464 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026D528 0026A468 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game7GasHiba3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game7GasHiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026D52C 0026A46C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D530 0026A470 7C 08 02 A6 */ mflr r0 -/* 8026D534 0026A474 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D538 0026A478 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D53C 0026A47C 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026D540 0026A480 7D 89 03 A6 */ mtctr r12 -/* 8026D544 0026A484 4E 80 04 21 */ bctrl -/* 8026D548 0026A488 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D54C 0026A48C 38 60 00 01 */ li r3, 1 -/* 8026D550 0026A490 7C 08 03 A6 */ mtlr r0 -/* 8026D554 0026A494 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D558 0026A498 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game7GasHiba3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game7GasHiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026D55C 0026A49C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D560 0026A4A0 7C 08 02 A6 */ mflr r0 -/* 8026D564 0026A4A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D568 0026A4A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D56C 0026A4AC 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026D570 0026A4B0 7D 89 03 A6 */ mtctr r12 -/* 8026D574 0026A4B4 4E 80 04 21 */ bctrl -/* 8026D578 0026A4B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D57C 0026A4BC 38 60 00 01 */ li r3, 1 -/* 8026D580 0026A4C0 7C 08 03 A6 */ mtlr r0 -/* 8026D584 0026A4C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D588 0026A4C8 4E 80 00 20 */ blr - -.global bombCallBack__Q34Game7GasHiba3ObjFPQ24Game8CreatureR10Vector3$$0f$$1f -bombCallBack__Q34Game7GasHiba3ObjFPQ24Game8CreatureR10Vector3$$0f$$1f: -/* 8026D58C 0026A4CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026D590 0026A4D0 7C 08 02 A6 */ mflr r0 -/* 8026D594 0026A4D4 38 A0 00 00 */ li r5, 0 -/* 8026D598 0026A4D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D59C 0026A4DC 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D5A0 0026A4E0 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026D5A4 0026A4E4 7D 89 03 A6 */ mtctr r12 -/* 8026D5A8 0026A4E8 4E 80 04 21 */ bctrl -/* 8026D5AC 0026A4EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026D5B0 0026A4F0 38 60 00 01 */ li r3, 1 -/* 8026D5B4 0026A4F4 7C 08 03 A6 */ mtlr r0 -/* 8026D5B8 0026A4F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026D5BC 0026A4FC 4E 80 00 20 */ blr - -.global interactGasAttack__Q34Game7GasHiba3ObjFv -interactGasAttack__Q34Game7GasHiba3ObjFv: -/* 8026D5C0 0026A500 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8026D5C4 0026A504 7C 08 02 A6 */ mflr r0 -/* 8026D5C8 0026A508 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8026D5CC 0026A50C DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8026D5D0 0026A510 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8026D5D4 0026A514 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8026D5D8 0026A518 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8026D5DC 0026A51C DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 8026D5E0 0026A520 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 8026D5E4 0026A524 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8026D5E8 0026A528 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8026D5EC 0026A52C 7C 7E 1B 78 */ mr r30, r3 -/* 8026D5F0 0026A530 38 61 00 30 */ addi r3, r1, 0x30 -/* 8026D5F4 0026A534 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8026D5F8 0026A538 38 81 00 20 */ addi r4, r1, 0x20 -/* 8026D5FC 0026A53C C0 5E 01 90 */ lfs f2, 0x190(r30) -/* 8026D600 0026A540 C0 05 05 64 */ lfs f0, 0x564(r5) -/* 8026D604 0026A544 C0 25 05 8C */ lfs f1, 0x58c(r5) -/* 8026D608 0026A548 C0 65 05 B4 */ lfs f3, 0x5b4(r5) -/* 8026D60C 0026A54C EF E2 00 2A */ fadds f31, f2, f0 -/* 8026D610 0026A550 C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 8026D614 0026A554 EF C2 08 28 */ fsubs f30, f2, f1 -/* 8026D618 0026A558 EF A3 00 F2 */ fmuls f29, f3, f3 -/* 8026D61C 0026A55C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8026D620 0026A560 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 8026D624 0026A564 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8026D628 0026A568 C0 1E 01 94 */ lfs f0, 0x194(r30) -/* 8026D62C 0026A56C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026D630 0026A570 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8026D634 0026A574 4B FC 0D 6D */ bl __ct__Q24Game15CellIteratorArgFRQ23Sys6Sphere -/* 8026D638 0026A578 38 00 00 01 */ li r0, 1 -/* 8026D63C 0026A57C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026D640 0026A580 98 01 00 4C */ stb r0, 0x4c(r1) -/* 8026D644 0026A584 38 81 00 30 */ addi r4, r1, 0x30 -/* 8026D648 0026A588 4B FC 0D 99 */ bl __ct__Q24Game12CellIteratorFRQ24Game15CellIteratorArg -/* 8026D64C 0026A58C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026D650 0026A590 4B FC 0E 0D */ bl first__Q24Game12CellIteratorFv -/* 8026D654 0026A594 48 00 00 FC */ b lbl_8026D750 -lbl_8026D658: -/* 8026D658 0026A598 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026D65C 0026A59C 4B FC 0E E9 */ bl __ml__Q24Game12CellIteratorFv -/* 8026D660 0026A5A0 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D664 0026A5A4 7C 7F 1B 78 */ mr r31, r3 -/* 8026D668 0026A5A8 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8026D66C 0026A5AC 7D 89 03 A6 */ mtctr r12 -/* 8026D670 0026A5B0 4E 80 04 21 */ bctrl -/* 8026D674 0026A5B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026D678 0026A5B8 41 82 00 D0 */ beq lbl_8026D748 -/* 8026D67C 0026A5BC 7F E3 FB 78 */ mr r3, r31 -/* 8026D680 0026A5C0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026D684 0026A5C4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026D688 0026A5C8 7D 89 03 A6 */ mtctr r12 -/* 8026D68C 0026A5CC 4E 80 04 21 */ bctrl -/* 8026D690 0026A5D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026D694 0026A5D4 40 82 00 20 */ bne lbl_8026D6B4 -/* 8026D698 0026A5D8 7F E3 FB 78 */ mr r3, r31 -/* 8026D69C 0026A5DC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026D6A0 0026A5E0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026D6A4 0026A5E4 7D 89 03 A6 */ mtctr r12 -/* 8026D6A8 0026A5E8 4E 80 04 21 */ bctrl -/* 8026D6AC 0026A5EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026D6B0 0026A5F0 41 82 00 98 */ beq lbl_8026D748 -lbl_8026D6B4: -/* 8026D6B4 0026A5F4 7F E4 FB 78 */ mr r4, r31 -/* 8026D6B8 0026A5F8 38 61 00 08 */ addi r3, r1, 8 -/* 8026D6BC 0026A5FC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026D6C0 0026A600 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026D6C4 0026A604 7D 89 03 A6 */ mtctr r12 -/* 8026D6C8 0026A608 4E 80 04 21 */ bctrl -/* 8026D6CC 0026A60C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8026D6D0 0026A610 C0 41 00 08 */ lfs f2, 8(r1) -/* 8026D6D4 0026A614 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8026D6D8 0026A618 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8026D6DC 0026A61C 40 81 00 6C */ ble lbl_8026D748 -/* 8026D6E0 0026A620 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8026D6E4 0026A624 40 80 00 64 */ bge lbl_8026D748 -/* 8026D6E8 0026A628 C0 1E 01 94 */ lfs f0, 0x194(r30) -/* 8026D6EC 0026A62C C0 3E 01 8C */ lfs f1, 0x18c(r30) -/* 8026D6F0 0026A630 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8026D6F4 0026A634 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026D6F8 0026A638 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8026D6FC 0026A63C EC 01 00 7A */ fmadds f0, f1, f1, f0 -/* 8026D700 0026A640 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 8026D704 0026A644 40 80 00 44 */ bge lbl_8026D748 -/* 8026D708 0026A648 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 8026D70C 0026A64C 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 8026D710 0026A650 3C 80 80 4B */ lis r4, __vt__Q24Game11InteractGas@ha -/* 8026D714 0026A654 7F E3 FB 78 */ mr r3, r31 -/* 8026D718 0026A658 C0 06 06 04 */ lfs f0, 0x604(r6) -/* 8026D71C 0026A65C 38 A5 A3 00 */ addi r5, r5, __vt__Q24Game11Interaction@l -/* 8026D720 0026A660 38 04 48 0C */ addi r0, r4, __vt__Q24Game11InteractGas@l -/* 8026D724 0026A664 38 81 00 14 */ addi r4, r1, 0x14 -/* 8026D728 0026A668 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8026D72C 0026A66C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026D730 0026A670 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026D734 0026A674 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8026D738 0026A678 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026D73C 0026A67C 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8026D740 0026A680 7D 89 03 A6 */ mtctr r12 -/* 8026D744 0026A684 4E 80 04 21 */ bctrl -lbl_8026D748: -/* 8026D748 0026A688 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026D74C 0026A68C 4B FC 0D B5 */ bl next__Q24Game12CellIteratorFv -lbl_8026D750: -/* 8026D750 0026A690 38 61 00 50 */ addi r3, r1, 0x50 -/* 8026D754 0026A694 4B FC 0D E1 */ bl isDone__Q24Game12CellIteratorFv -/* 8026D758 0026A698 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026D75C 0026A69C 41 82 FE FC */ beq lbl_8026D658 -/* 8026D760 0026A6A0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8026D764 0026A6A4 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8026D768 0026A6A8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8026D76C 0026A6AC CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8026D770 0026A6B0 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8026D774 0026A6B4 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8026D778 0026A6B8 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8026D77C 0026A6BC 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8026D780 0026A6C0 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8026D784 0026A6C4 7C 08 03 A6 */ mtlr r0 -/* 8026D788 0026A6C8 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8026D78C 0026A6CC 4E 80 00 20 */ blr - -.global resetBridgeGateCheck__Q34Game7GasHiba3ObjFv -resetBridgeGateCheck__Q34Game7GasHiba3ObjFv: -/* 8026D790 0026A6D0 38 80 00 01 */ li r4, 1 -/* 8026D794 0026A6D4 38 00 00 00 */ li r0, 0 -/* 8026D798 0026A6D8 98 83 02 C0 */ stb r4, 0x2c0(r3) -/* 8026D79C 0026A6DC 90 03 02 C8 */ stw r0, 0x2c8(r3) -/* 8026D7A0 0026A6E0 90 03 02 CC */ stw r0, 0x2cc(r3) -/* 8026D7A4 0026A6E4 4E 80 00 20 */ blr - -.global setInitLivingThing__Q34Game7GasHiba3ObjFv -setInitLivingThing__Q34Game7GasHiba3ObjFv: -/* 8026D7A8 0026A6E8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8026D7AC 0026A6EC 7C 08 02 A6 */ mflr r0 -/* 8026D7B0 0026A6F0 90 01 00 74 */ stw r0, 0x74(r1) -/* 8026D7B4 0026A6F4 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8026D7B8 0026A6F8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8026D7BC 0026A6FC DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8026D7C0 0026A700 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8026D7C4 0026A704 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8026D7C8 0026A708 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8026D7CC 0026A70C 7C 7F 1B 78 */ mr r31, r3 -/* 8026D7D0 0026A710 88 03 02 C0 */ lbz r0, 0x2c0(r3) -/* 8026D7D4 0026A714 28 00 00 00 */ cmplwi r0, 0 -/* 8026D7D8 0026A718 41 82 05 58 */ beq lbl_8026DD30 -/* 8026D7DC 0026A71C 38 00 00 00 */ li r0, 0 -/* 8026D7E0 0026A720 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 8026D7E4 0026A724 90 1F 02 C8 */ stw r0, 0x2c8(r31) -/* 8026D7E8 0026A728 90 1F 02 CC */ stw r0, 0x2cc(r31) -/* 8026D7EC 0026A72C 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 8026D7F0 0026A730 28 03 00 00 */ cmplwi r3, 0 -/* 8026D7F4 0026A734 41 82 05 10 */ beq lbl_8026DD04 -/* 8026D7F8 0026A738 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8026D7FC 0026A73C 28 00 00 00 */ cmplwi r0, 0 -/* 8026D800 0026A740 40 82 05 04 */ bne lbl_8026DD04 -/* 8026D804 0026A744 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8026D808 0026A748 2C 00 00 00 */ cmpwi r0, 0 -/* 8026D80C 0026A74C 40 82 04 F8 */ bne lbl_8026DD04 -/* 8026D810 0026A750 80 6D 94 B8 */ lwz r3, mgr__Q24Game10ItemBridge@sda21(r13) -/* 8026D814 0026A754 28 03 00 00 */ cmplwi r3, 0 -/* 8026D818 0026A758 41 82 02 70 */ beq lbl_8026DA88 -/* 8026D81C 0026A75C 41 82 00 08 */ beq lbl_8026D824 -/* 8026D820 0026A760 38 63 00 30 */ addi r3, r3, 0x30 -lbl_8026D824: -/* 8026D824 0026A764 38 00 00 00 */ li r0, 0 -/* 8026D828 0026A768 3C 80 80 4B */ lis r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@ha -/* 8026D82C 0026A76C 38 84 05 60 */ addi r4, r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@l -/* 8026D830 0026A770 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8026D834 0026A774 28 00 00 00 */ cmplwi r0, 0 -/* 8026D838 0026A778 90 81 00 30 */ stw r4, 0x30(r1) -/* 8026D83C 0026A77C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026D840 0026A780 90 61 00 38 */ stw r3, 0x38(r1) -/* 8026D844 0026A784 40 82 00 1C */ bne lbl_8026D860 -/* 8026D848 0026A788 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D84C 0026A78C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026D850 0026A790 7D 89 03 A6 */ mtctr r12 -/* 8026D854 0026A794 4E 80 04 21 */ bctrl -/* 8026D858 0026A798 90 61 00 34 */ stw r3, 0x34(r1) -/* 8026D85C 0026A79C 48 00 00 8C */ b lbl_8026D8E8 -lbl_8026D860: -/* 8026D860 0026A7A0 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D864 0026A7A4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026D868 0026A7A8 7D 89 03 A6 */ mtctr r12 -/* 8026D86C 0026A7AC 4E 80 04 21 */ bctrl -/* 8026D870 0026A7B0 90 61 00 34 */ stw r3, 0x34(r1) -/* 8026D874 0026A7B4 48 00 00 58 */ b lbl_8026D8CC -lbl_8026D878: -/* 8026D878 0026A7B8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8026D87C 0026A7BC 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8026D880 0026A7C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D884 0026A7C4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026D888 0026A7C8 7D 89 03 A6 */ mtctr r12 -/* 8026D88C 0026A7CC 4E 80 04 21 */ bctrl -/* 8026D890 0026A7D0 7C 64 1B 78 */ mr r4, r3 -/* 8026D894 0026A7D4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8026D898 0026A7D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D89C 0026A7DC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026D8A0 0026A7E0 7D 89 03 A6 */ mtctr r12 -/* 8026D8A4 0026A7E4 4E 80 04 21 */ bctrl -/* 8026D8A8 0026A7E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026D8AC 0026A7EC 40 82 00 3C */ bne lbl_8026D8E8 -/* 8026D8B0 0026A7F0 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8026D8B4 0026A7F4 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8026D8B8 0026A7F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D8BC 0026A7FC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026D8C0 0026A800 7D 89 03 A6 */ mtctr r12 -/* 8026D8C4 0026A804 4E 80 04 21 */ bctrl -/* 8026D8C8 0026A808 90 61 00 34 */ stw r3, 0x34(r1) -lbl_8026D8CC: -/* 8026D8CC 0026A80C 81 81 00 30 */ lwz r12, 0x30(r1) -/* 8026D8D0 0026A810 38 61 00 30 */ addi r3, r1, 0x30 -/* 8026D8D4 0026A814 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026D8D8 0026A818 7D 89 03 A6 */ mtctr r12 -/* 8026D8DC 0026A81C 4E 80 04 21 */ bctrl -/* 8026D8E0 0026A820 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026D8E4 0026A824 41 82 FF 94 */ beq lbl_8026D878 -lbl_8026D8E8: -/* 8026D8E8 0026A828 C3 E2 CD 18 */ lfs f31, lbl_8051B078@sda21(r2) -/* 8026D8EC 0026A82C C3 C2 CD 2C */ lfs f30, lbl_8051B08C@sda21(r2) -/* 8026D8F0 0026A830 48 00 01 78 */ b lbl_8026DA68 -lbl_8026D8F4: -/* 8026D8F4 0026A834 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8026D8F8 0026A838 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D8FC 0026A83C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026D900 0026A840 7D 89 03 A6 */ mtctr r12 -/* 8026D904 0026A844 4E 80 04 21 */ bctrl -/* 8026D908 0026A848 7C 60 1B 78 */ mr r0, r3 -/* 8026D90C 0026A84C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8026D910 0026A850 7C 1E 03 78 */ mr r30, r0 -/* 8026D914 0026A854 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026D918 0026A858 7F C4 F3 78 */ mr r4, r30 -/* 8026D91C 0026A85C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026D920 0026A860 7D 89 03 A6 */ mtctr r12 -/* 8026D924 0026A864 4E 80 04 21 */ bctrl -/* 8026D928 0026A868 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8026D92C 0026A86C C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8026D930 0026A870 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8026D934 0026A874 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8026D938 0026A878 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 8026D93C 0026A87C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8026D940 0026A880 40 81 00 08 */ ble lbl_8026D948 -/* 8026D944 0026A884 48 00 00 08 */ b lbl_8026D94C -lbl_8026D948: -/* 8026D948 0026A888 FC 00 00 50 */ fneg f0, f0 -lbl_8026D94C: -/* 8026D94C 0026A88C FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8026D950 0026A890 40 80 00 5C */ bge lbl_8026D9AC -/* 8026D954 0026A894 C0 3F 01 8C */ lfs f1, 0x18c(r31) -/* 8026D958 0026A898 C0 02 CD 18 */ lfs f0, lbl_8051B078@sda21(r2) -/* 8026D95C 0026A89C EC 22 08 28 */ fsubs f1, f2, f1 -/* 8026D960 0026A8A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026D964 0026A8A4 40 81 00 08 */ ble lbl_8026D96C -/* 8026D968 0026A8A8 48 00 00 08 */ b lbl_8026D970 -lbl_8026D96C: -/* 8026D96C 0026A8AC FC 20 08 50 */ fneg f1, f1 -lbl_8026D970: -/* 8026D970 0026A8B0 C0 02 CD 30 */ lfs f0, lbl_8051B090@sda21(r2) -/* 8026D974 0026A8B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026D978 0026A8B8 40 80 00 34 */ bge lbl_8026D9AC -/* 8026D97C 0026A8BC C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8026D980 0026A8C0 C0 02 CD 18 */ lfs f0, lbl_8051B078@sda21(r2) -/* 8026D984 0026A8C4 EC 23 08 28 */ fsubs f1, f3, f1 -/* 8026D988 0026A8C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026D98C 0026A8CC 40 81 00 08 */ ble lbl_8026D994 -/* 8026D990 0026A8D0 48 00 00 08 */ b lbl_8026D998 -lbl_8026D994: -/* 8026D994 0026A8D4 FC 20 08 50 */ fneg f1, f1 -lbl_8026D998: -/* 8026D998 0026A8D8 C0 02 CD 30 */ lfs f0, lbl_8051B090@sda21(r2) -/* 8026D99C 0026A8DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026D9A0 0026A8E0 40 80 00 0C */ bge lbl_8026D9AC -/* 8026D9A4 0026A8E4 93 DF 02 C8 */ stw r30, 0x2c8(r31) -/* 8026D9A8 0026A8E8 48 00 00 E0 */ b lbl_8026DA88 -lbl_8026D9AC: -/* 8026D9AC 0026A8EC 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8026D9B0 0026A8F0 28 00 00 00 */ cmplwi r0, 0 -/* 8026D9B4 0026A8F4 40 82 00 24 */ bne lbl_8026D9D8 -/* 8026D9B8 0026A8F8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8026D9BC 0026A8FC 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8026D9C0 0026A900 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D9C4 0026A904 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026D9C8 0026A908 7D 89 03 A6 */ mtctr r12 -/* 8026D9CC 0026A90C 4E 80 04 21 */ bctrl -/* 8026D9D0 0026A910 90 61 00 34 */ stw r3, 0x34(r1) -/* 8026D9D4 0026A914 48 00 00 94 */ b lbl_8026DA68 -lbl_8026D9D8: -/* 8026D9D8 0026A918 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8026D9DC 0026A91C 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8026D9E0 0026A920 81 83 00 00 */ lwz r12, 0(r3) -/* 8026D9E4 0026A924 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026D9E8 0026A928 7D 89 03 A6 */ mtctr r12 -/* 8026D9EC 0026A92C 4E 80 04 21 */ bctrl -/* 8026D9F0 0026A930 90 61 00 34 */ stw r3, 0x34(r1) -/* 8026D9F4 0026A934 48 00 00 58 */ b lbl_8026DA4C -lbl_8026D9F8: -/* 8026D9F8 0026A938 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8026D9FC 0026A93C 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8026DA00 0026A940 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DA04 0026A944 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026DA08 0026A948 7D 89 03 A6 */ mtctr r12 -/* 8026DA0C 0026A94C 4E 80 04 21 */ bctrl -/* 8026DA10 0026A950 7C 64 1B 78 */ mr r4, r3 -/* 8026DA14 0026A954 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8026DA18 0026A958 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DA1C 0026A95C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026DA20 0026A960 7D 89 03 A6 */ mtctr r12 -/* 8026DA24 0026A964 4E 80 04 21 */ bctrl -/* 8026DA28 0026A968 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026DA2C 0026A96C 40 82 00 3C */ bne lbl_8026DA68 -/* 8026DA30 0026A970 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8026DA34 0026A974 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8026DA38 0026A978 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DA3C 0026A97C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026DA40 0026A980 7D 89 03 A6 */ mtctr r12 -/* 8026DA44 0026A984 4E 80 04 21 */ bctrl -/* 8026DA48 0026A988 90 61 00 34 */ stw r3, 0x34(r1) -lbl_8026DA4C: -/* 8026DA4C 0026A98C 81 81 00 30 */ lwz r12, 0x30(r1) -/* 8026DA50 0026A990 38 61 00 30 */ addi r3, r1, 0x30 -/* 8026DA54 0026A994 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026DA58 0026A998 7D 89 03 A6 */ mtctr r12 -/* 8026DA5C 0026A99C 4E 80 04 21 */ bctrl -/* 8026DA60 0026A9A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026DA64 0026A9A4 41 82 FF 94 */ beq lbl_8026D9F8 -lbl_8026DA68: -/* 8026DA68 0026A9A8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8026DA6C 0026A9AC 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DA70 0026A9B0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026DA74 0026A9B4 7D 89 03 A6 */ mtctr r12 -/* 8026DA78 0026A9B8 4E 80 04 21 */ bctrl -/* 8026DA7C 0026A9BC 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8026DA80 0026A9C0 7C 04 18 40 */ cmplw r4, r3 -/* 8026DA84 0026A9C4 40 82 FE 70 */ bne lbl_8026D8F4 -lbl_8026DA88: -/* 8026DA88 0026A9C8 80 AD 94 30 */ lwz r5, itemGateMgr__4Game@sda21(r13) -/* 8026DA8C 0026A9CC 28 05 00 00 */ cmplwi r5, 0 -/* 8026DA90 0026A9D0 41 82 02 74 */ beq lbl_8026DD04 -/* 8026DA94 0026A9D4 80 1F 02 C8 */ lwz r0, 0x2c8(r31) -/* 8026DA98 0026A9D8 28 00 00 00 */ cmplwi r0, 0 -/* 8026DA9C 0026A9DC 40 82 02 68 */ bne lbl_8026DD04 -/* 8026DAA0 0026A9E0 38 00 00 00 */ li r0, 0 -/* 8026DAA4 0026A9E4 3C 60 80 4B */ lis r3, __vt__26Iterator$$0Q24Game8ItemGate$$1@ha -/* 8026DAA8 0026A9E8 38 83 5A 7C */ addi r4, r3, __vt__26Iterator$$0Q24Game8ItemGate$$1@l -/* 8026DAAC 0026A9EC 38 65 00 30 */ addi r3, r5, 0x30 -/* 8026DAB0 0026A9F0 28 00 00 00 */ cmplwi r0, 0 -/* 8026DAB4 0026A9F4 90 81 00 20 */ stw r4, 0x20(r1) -/* 8026DAB8 0026A9F8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8026DABC 0026A9FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026DAC0 0026AA00 90 61 00 28 */ stw r3, 0x28(r1) -/* 8026DAC4 0026AA04 40 82 00 1C */ bne lbl_8026DAE0 -/* 8026DAC8 0026AA08 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DACC 0026AA0C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026DAD0 0026AA10 7D 89 03 A6 */ mtctr r12 -/* 8026DAD4 0026AA14 4E 80 04 21 */ bctrl -/* 8026DAD8 0026AA18 90 61 00 24 */ stw r3, 0x24(r1) -/* 8026DADC 0026AA1C 48 00 00 8C */ b lbl_8026DB68 -lbl_8026DAE0: -/* 8026DAE0 0026AA20 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DAE4 0026AA24 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026DAE8 0026AA28 7D 89 03 A6 */ mtctr r12 -/* 8026DAEC 0026AA2C 4E 80 04 21 */ bctrl -/* 8026DAF0 0026AA30 90 61 00 24 */ stw r3, 0x24(r1) -/* 8026DAF4 0026AA34 48 00 00 58 */ b lbl_8026DB4C -lbl_8026DAF8: -/* 8026DAF8 0026AA38 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8026DAFC 0026AA3C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8026DB00 0026AA40 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DB04 0026AA44 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026DB08 0026AA48 7D 89 03 A6 */ mtctr r12 -/* 8026DB0C 0026AA4C 4E 80 04 21 */ bctrl -/* 8026DB10 0026AA50 7C 64 1B 78 */ mr r4, r3 -/* 8026DB14 0026AA54 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8026DB18 0026AA58 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DB1C 0026AA5C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026DB20 0026AA60 7D 89 03 A6 */ mtctr r12 -/* 8026DB24 0026AA64 4E 80 04 21 */ bctrl -/* 8026DB28 0026AA68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026DB2C 0026AA6C 40 82 00 3C */ bne lbl_8026DB68 -/* 8026DB30 0026AA70 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8026DB34 0026AA74 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8026DB38 0026AA78 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DB3C 0026AA7C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026DB40 0026AA80 7D 89 03 A6 */ mtctr r12 -/* 8026DB44 0026AA84 4E 80 04 21 */ bctrl -/* 8026DB48 0026AA88 90 61 00 24 */ stw r3, 0x24(r1) -lbl_8026DB4C: -/* 8026DB4C 0026AA8C 81 81 00 20 */ lwz r12, 0x20(r1) -/* 8026DB50 0026AA90 38 61 00 20 */ addi r3, r1, 0x20 -/* 8026DB54 0026AA94 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026DB58 0026AA98 7D 89 03 A6 */ mtctr r12 -/* 8026DB5C 0026AA9C 4E 80 04 21 */ bctrl -/* 8026DB60 0026AAA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026DB64 0026AAA4 41 82 FF 94 */ beq lbl_8026DAF8 -lbl_8026DB68: -/* 8026DB68 0026AAA8 C3 C2 CD 18 */ lfs f30, lbl_8051B078@sda21(r2) -/* 8026DB6C 0026AAAC C3 E2 CD 2C */ lfs f31, lbl_8051B08C@sda21(r2) -/* 8026DB70 0026AAB0 48 00 01 74 */ b lbl_8026DCE4 -lbl_8026DB74: -/* 8026DB74 0026AAB4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8026DB78 0026AAB8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DB7C 0026AABC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026DB80 0026AAC0 7D 89 03 A6 */ mtctr r12 -/* 8026DB84 0026AAC4 4E 80 04 21 */ bctrl -/* 8026DB88 0026AAC8 7C 7E 1B 78 */ mr r30, r3 -/* 8026DB8C 0026AACC 38 61 00 08 */ addi r3, r1, 8 -/* 8026DB90 0026AAD0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026DB94 0026AAD4 7F C4 F3 78 */ mr r4, r30 -/* 8026DB98 0026AAD8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026DB9C 0026AADC 7D 89 03 A6 */ mtctr r12 -/* 8026DBA0 0026AAE0 4E 80 04 21 */ bctrl -/* 8026DBA4 0026AAE4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8026DBA8 0026AAE8 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8026DBAC 0026AAEC C0 41 00 08 */ lfs f2, 8(r1) -/* 8026DBB0 0026AAF0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8026DBB4 0026AAF4 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8026DBB8 0026AAF8 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8026DBBC 0026AAFC 40 81 00 08 */ ble lbl_8026DBC4 -/* 8026DBC0 0026AB00 48 00 00 08 */ b lbl_8026DBC8 -lbl_8026DBC4: -/* 8026DBC4 0026AB04 FC 00 00 50 */ fneg f0, f0 -lbl_8026DBC8: -/* 8026DBC8 0026AB08 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8026DBCC 0026AB0C 40 80 00 5C */ bge lbl_8026DC28 -/* 8026DBD0 0026AB10 C0 3F 01 8C */ lfs f1, 0x18c(r31) -/* 8026DBD4 0026AB14 C0 02 CD 18 */ lfs f0, lbl_8051B078@sda21(r2) -/* 8026DBD8 0026AB18 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8026DBDC 0026AB1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026DBE0 0026AB20 40 81 00 08 */ ble lbl_8026DBE8 -/* 8026DBE4 0026AB24 48 00 00 08 */ b lbl_8026DBEC -lbl_8026DBE8: -/* 8026DBE8 0026AB28 FC 20 08 50 */ fneg f1, f1 -lbl_8026DBEC: -/* 8026DBEC 0026AB2C C0 02 CD 30 */ lfs f0, lbl_8051B090@sda21(r2) -/* 8026DBF0 0026AB30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026DBF4 0026AB34 40 80 00 34 */ bge lbl_8026DC28 -/* 8026DBF8 0026AB38 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8026DBFC 0026AB3C C0 02 CD 18 */ lfs f0, lbl_8051B078@sda21(r2) -/* 8026DC00 0026AB40 EC 23 08 28 */ fsubs f1, f3, f1 -/* 8026DC04 0026AB44 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026DC08 0026AB48 40 81 00 08 */ ble lbl_8026DC10 -/* 8026DC0C 0026AB4C 48 00 00 08 */ b lbl_8026DC14 -lbl_8026DC10: -/* 8026DC10 0026AB50 FC 20 08 50 */ fneg f1, f1 -lbl_8026DC14: -/* 8026DC14 0026AB54 C0 02 CD 30 */ lfs f0, lbl_8051B090@sda21(r2) -/* 8026DC18 0026AB58 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026DC1C 0026AB5C 40 80 00 0C */ bge lbl_8026DC28 -/* 8026DC20 0026AB60 93 DF 02 CC */ stw r30, 0x2cc(r31) -/* 8026DC24 0026AB64 48 00 00 E0 */ b lbl_8026DD04 -lbl_8026DC28: -/* 8026DC28 0026AB68 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8026DC2C 0026AB6C 28 00 00 00 */ cmplwi r0, 0 -/* 8026DC30 0026AB70 40 82 00 24 */ bne lbl_8026DC54 -/* 8026DC34 0026AB74 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8026DC38 0026AB78 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8026DC3C 0026AB7C 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DC40 0026AB80 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026DC44 0026AB84 7D 89 03 A6 */ mtctr r12 -/* 8026DC48 0026AB88 4E 80 04 21 */ bctrl -/* 8026DC4C 0026AB8C 90 61 00 24 */ stw r3, 0x24(r1) -/* 8026DC50 0026AB90 48 00 00 94 */ b lbl_8026DCE4 -lbl_8026DC54: -/* 8026DC54 0026AB94 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8026DC58 0026AB98 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8026DC5C 0026AB9C 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DC60 0026ABA0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026DC64 0026ABA4 7D 89 03 A6 */ mtctr r12 -/* 8026DC68 0026ABA8 4E 80 04 21 */ bctrl -/* 8026DC6C 0026ABAC 90 61 00 24 */ stw r3, 0x24(r1) -/* 8026DC70 0026ABB0 48 00 00 58 */ b lbl_8026DCC8 -lbl_8026DC74: -/* 8026DC74 0026ABB4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8026DC78 0026ABB8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8026DC7C 0026ABBC 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DC80 0026ABC0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8026DC84 0026ABC4 7D 89 03 A6 */ mtctr r12 -/* 8026DC88 0026ABC8 4E 80 04 21 */ bctrl -/* 8026DC8C 0026ABCC 7C 64 1B 78 */ mr r4, r3 -/* 8026DC90 0026ABD0 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8026DC94 0026ABD4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DC98 0026ABD8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026DC9C 0026ABDC 7D 89 03 A6 */ mtctr r12 -/* 8026DCA0 0026ABE0 4E 80 04 21 */ bctrl -/* 8026DCA4 0026ABE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026DCA8 0026ABE8 40 82 00 3C */ bne lbl_8026DCE4 -/* 8026DCAC 0026ABEC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8026DCB0 0026ABF0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8026DCB4 0026ABF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DCB8 0026ABF8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8026DCBC 0026ABFC 7D 89 03 A6 */ mtctr r12 -/* 8026DCC0 0026AC00 4E 80 04 21 */ bctrl -/* 8026DCC4 0026AC04 90 61 00 24 */ stw r3, 0x24(r1) -lbl_8026DCC8: -/* 8026DCC8 0026AC08 81 81 00 20 */ lwz r12, 0x20(r1) -/* 8026DCCC 0026AC0C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8026DCD0 0026AC10 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026DCD4 0026AC14 7D 89 03 A6 */ mtctr r12 -/* 8026DCD8 0026AC18 4E 80 04 21 */ bctrl -/* 8026DCDC 0026AC1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026DCE0 0026AC20 41 82 FF 94 */ beq lbl_8026DC74 -lbl_8026DCE4: -/* 8026DCE4 0026AC24 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8026DCE8 0026AC28 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DCEC 0026AC2C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026DCF0 0026AC30 7D 89 03 A6 */ mtctr r12 -/* 8026DCF4 0026AC34 4E 80 04 21 */ bctrl -/* 8026DCF8 0026AC38 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8026DCFC 0026AC3C 7C 04 18 40 */ cmplw r4, r3 -/* 8026DD00 0026AC40 40 82 FE 74 */ bne lbl_8026DB74 -lbl_8026DD04: -/* 8026DD04 0026AC44 80 1F 02 C8 */ lwz r0, 0x2c8(r31) -/* 8026DD08 0026AC48 28 00 00 00 */ cmplwi r0, 0 -/* 8026DD0C 0026AC4C 40 82 00 10 */ bne lbl_8026DD1C -/* 8026DD10 0026AC50 80 1F 02 CC */ lwz r0, 0x2cc(r31) -/* 8026DD14 0026AC54 28 00 00 00 */ cmplwi r0, 0 -/* 8026DD18 0026AC58 41 82 00 10 */ beq lbl_8026DD28 -lbl_8026DD1C: -/* 8026DD1C 0026AC5C 38 00 00 00 */ li r0, 0 -/* 8026DD20 0026AC60 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 8026DD24 0026AC64 48 00 00 0C */ b lbl_8026DD30 -lbl_8026DD28: -/* 8026DD28 0026AC68 38 00 00 01 */ li r0, 1 -/* 8026DD2C 0026AC6C 98 1F 02 C1 */ stb r0, 0x2c1(r31) -lbl_8026DD30: -/* 8026DD30 0026AC70 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8026DD34 0026AC74 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8026DD38 0026AC78 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8026DD3C 0026AC7C CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8026DD40 0026AC80 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8026DD44 0026AC84 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8026DD48 0026AC88 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8026DD4C 0026AC8C 7C 08 03 A6 */ mtlr r0 -/* 8026DD50 0026AC90 38 21 00 70 */ addi r1, r1, 0x70 -/* 8026DD54 0026AC94 4E 80 00 20 */ blr - -.global updateLivingThing__Q34Game7GasHiba3ObjFv -updateLivingThing__Q34Game7GasHiba3ObjFv: -/* 8026DD58 0026AC98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026DD5C 0026AC9C 7C 08 02 A6 */ mflr r0 -/* 8026DD60 0026ACA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026DD64 0026ACA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026DD68 0026ACA8 7C 7F 1B 78 */ mr r31, r3 -/* 8026DD6C 0026ACAC 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DD70 0026ACB0 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 8026DD74 0026ACB4 7D 89 03 A6 */ mtctr r12 -/* 8026DD78 0026ACB8 4E 80 04 21 */ bctrl -/* 8026DD7C 0026ACBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026DD80 0026ACC0 40 82 00 60 */ bne lbl_8026DDE0 -/* 8026DD84 0026ACC4 80 7F 02 C8 */ lwz r3, 0x2c8(r31) -/* 8026DD88 0026ACC8 28 03 00 00 */ cmplwi r3, 0 -/* 8026DD8C 0026ACCC 41 82 00 1C */ beq lbl_8026DDA8 -/* 8026DD90 0026ACD0 80 03 02 18 */ lwz r0, 0x218(r3) -/* 8026DD94 0026ACD4 2C 00 00 00 */ cmpwi r0, 0 -/* 8026DD98 0026ACD8 41 82 00 48 */ beq lbl_8026DDE0 -/* 8026DD9C 0026ACDC 38 00 00 01 */ li r0, 1 -/* 8026DDA0 0026ACE0 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 8026DDA4 0026ACE4 48 00 00 3C */ b lbl_8026DDE0 -lbl_8026DDA8: -/* 8026DDA8 0026ACE8 80 7F 02 CC */ lwz r3, 0x2cc(r31) -/* 8026DDAC 0026ACEC 28 03 00 00 */ cmplwi r3, 0 -/* 8026DDB0 0026ACF0 41 82 00 28 */ beq lbl_8026DDD8 -/* 8026DDB4 0026ACF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DDB8 0026ACF8 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8026DDBC 0026ACFC 7D 89 03 A6 */ mtctr r12 -/* 8026DDC0 0026AD00 4E 80 04 21 */ bctrl -/* 8026DDC4 0026AD04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026DDC8 0026AD08 40 82 00 18 */ bne lbl_8026DDE0 -/* 8026DDCC 0026AD0C 38 00 00 01 */ li r0, 1 -/* 8026DDD0 0026AD10 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 8026DDD4 0026AD14 48 00 00 0C */ b lbl_8026DDE0 -lbl_8026DDD8: -/* 8026DDD8 0026AD18 38 00 00 01 */ li r0, 1 -/* 8026DDDC 0026AD1C 98 1F 02 C1 */ stb r0, 0x2c1(r31) -lbl_8026DDE0: -/* 8026DDE0 0026AD20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026DDE4 0026AD24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026DDE8 0026AD28 7C 08 03 A6 */ mtlr r0 -/* 8026DDEC 0026AD2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026DDF0 0026AD30 4E 80 00 20 */ blr - -.global isLivingThing__Q34Game7GasHiba3ObjFv -isLivingThing__Q34Game7GasHiba3ObjFv: -/* 8026DDF4 0026AD34 88 63 02 C1 */ lbz r3, 0x2c1(r3) -/* 8026DDF8 0026AD38 4E 80 00 20 */ blr - -.global setupLodParms__Q34Game7GasHiba3ObjFv -setupLodParms__Q34Game7GasHiba3ObjFv: -/* 8026DDFC 0026AD3C 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 8026DE00 0026AD40 38 00 00 00 */ li r0, 0 -/* 8026DE04 0026AD44 C0 04 08 BC */ lfs f0, 0x8bc(r4) -/* 8026DE08 0026AD48 D0 03 02 64 */ stfs f0, 0x264(r3) -/* 8026DE0C 0026AD4C 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 8026DE10 0026AD50 C0 04 08 E4 */ lfs f0, 0x8e4(r4) -/* 8026DE14 0026AD54 D0 03 02 68 */ stfs f0, 0x268(r3) -/* 8026DE18 0026AD58 98 03 02 6C */ stb r0, 0x26c(r3) -/* 8026DE1C 0026AD5C 4E 80 00 20 */ blr - -.global updateEfxLod__Q34Game7GasHiba3ObjFv -updateEfxLod__Q34Game7GasHiba3ObjFv: -/* 8026DE20 0026AD60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026DE24 0026AD64 7C 08 02 A6 */ mflr r0 -/* 8026DE28 0026AD68 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026DE2C 0026AD6C 88 03 00 D8 */ lbz r0, 0xd8(r3) -/* 8026DE30 0026AD70 80 63 02 D0 */ lwz r3, 0x2d0(r3) -/* 8026DE34 0026AD74 54 04 07 BE */ clrlwi r4, r0, 0x1e -/* 8026DE38 0026AD78 48 14 6D 15 */ bl setRateLOD__Q23efx9TGasuHibaFi -/* 8026DE3C 0026AD7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026DE40 0026AD80 7C 08 03 A6 */ mtlr r0 -/* 8026DE44 0026AD84 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026DE48 0026AD88 4E 80 00 20 */ blr - -.global createEffect__Q34Game7GasHiba3ObjFv -createEffect__Q34Game7GasHiba3ObjFv: -/* 8026DE4C 0026AD8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026DE50 0026AD90 7C 08 02 A6 */ mflr r0 -/* 8026DE54 0026AD94 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026DE58 0026AD98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026DE5C 0026AD9C 93 C1 00 08 */ stw r30, 8(r1) -/* 8026DE60 0026ADA0 7C 7E 1B 78 */ mr r30, r3 -/* 8026DE64 0026ADA4 38 60 00 24 */ li r3, 0x24 -/* 8026DE68 0026ADA8 4B DB 60 3D */ bl __nw__FUl -/* 8026DE6C 0026ADAC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8026DE70 0026ADB0 41 82 00 1C */ beq lbl_8026DE8C -/* 8026DE74 0026ADB4 38 80 00 74 */ li r4, 0x74 -/* 8026DE78 0026ADB8 38 A0 00 75 */ li r5, 0x75 -/* 8026DE7C 0026ADBC 48 14 21 95 */ bl __ct__Q23efx9TForever2FUsUs -/* 8026DE80 0026ADC0 3C 60 80 4E */ lis r3, __vt__Q23efx9TGasuHiba@ha -/* 8026DE84 0026ADC4 38 03 6B 98 */ addi r0, r3, __vt__Q23efx9TGasuHiba@l -/* 8026DE88 0026ADC8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8026DE8C: -/* 8026DE8C 0026ADCC 93 FE 02 D0 */ stw r31, 0x2d0(r30) -/* 8026DE90 0026ADD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026DE94 0026ADD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026DE98 0026ADD8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026DE9C 0026ADDC 7C 08 03 A6 */ mtlr r0 -/* 8026DEA0 0026ADE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026DEA4 0026ADE4 4E 80 00 20 */ blr - -.global startGasEffect__Q34Game7GasHiba3ObjFv -startGasEffect__Q34Game7GasHiba3ObjFv: -/* 8026DEA8 0026ADE8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026DEAC 0026ADEC 7C 08 02 A6 */ mflr r0 -/* 8026DEB0 0026ADF0 39 00 00 00 */ li r8, 0 -/* 8026DEB4 0026ADF4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026DEB8 0026ADF8 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8026DEBC 0026ADFC 28 04 00 00 */ cmplwi r4, 0 -/* 8026DEC0 0026AE00 41 82 00 14 */ beq lbl_8026DED4 -/* 8026DEC4 0026AE04 88 04 00 48 */ lbz r0, 0x48(r4) -/* 8026DEC8 0026AE08 28 00 00 00 */ cmplwi r0, 0 -/* 8026DECC 0026AE0C 40 82 00 08 */ bne lbl_8026DED4 -/* 8026DED0 0026AE10 39 00 00 01 */ li r8, 1 -lbl_8026DED4: -/* 8026DED4 0026AE14 80 03 01 8C */ lwz r0, 0x18c(r3) -/* 8026DED8 0026AE18 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8026DEDC 0026AE1C 80 E3 01 90 */ lwz r7, 0x190(r3) -/* 8026DEE0 0026AE20 3C 80 80 4C */ lis r4, __vt__Q23efx11ArgGasuHiba@ha -/* 8026DEE4 0026AE24 80 C3 01 94 */ lwz r6, 0x194(r3) -/* 8026DEE8 0026AE28 38 A5 A7 EC */ addi r5, r5, __vt__Q23efx3Arg@l -/* 8026DEEC 0026AE2C 90 01 00 08 */ stw r0, 8(r1) -/* 8026DEF0 0026AE30 38 04 59 D0 */ addi r0, r4, __vt__Q23efx11ArgGasuHiba@l -/* 8026DEF4 0026AE34 38 81 00 14 */ addi r4, r1, 0x14 -/* 8026DEF8 0026AE38 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8026DEFC 0026AE3C C0 41 00 08 */ lfs f2, 8(r1) -/* 8026DF00 0026AE40 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8026DF04 0026AE44 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8026DF08 0026AE48 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8026DF0C 0026AE4C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8026DF10 0026AE50 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8026DF14 0026AE54 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8026DF18 0026AE58 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8026DF1C 0026AE5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026DF20 0026AE60 99 01 00 24 */ stb r8, 0x24(r1) -/* 8026DF24 0026AE64 80 63 02 D0 */ lwz r3, 0x2d0(r3) -/* 8026DF28 0026AE68 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DF2C 0026AE6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026DF30 0026AE70 7D 89 03 A6 */ mtctr r12 -/* 8026DF34 0026AE74 4E 80 04 21 */ bctrl -/* 8026DF38 0026AE78 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026DF3C 0026AE7C 7C 08 03 A6 */ mtlr r0 -/* 8026DF40 0026AE80 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026DF44 0026AE84 4E 80 00 20 */ blr - -.global finishGasEffect__Q34Game7GasHiba3ObjFv -finishGasEffect__Q34Game7GasHiba3ObjFv: -/* 8026DF48 0026AE88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026DF4C 0026AE8C 7C 08 02 A6 */ mflr r0 -/* 8026DF50 0026AE90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026DF54 0026AE94 80 63 02 D0 */ lwz r3, 0x2d0(r3) -/* 8026DF58 0026AE98 81 83 00 00 */ lwz r12, 0(r3) -/* 8026DF5C 0026AE9C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026DF60 0026AEA0 7D 89 03 A6 */ mtctr r12 -/* 8026DF64 0026AEA4 4E 80 04 21 */ bctrl -/* 8026DF68 0026AEA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026DF6C 0026AEAC 7C 08 03 A6 */ mtlr r0 -/* 8026DF70 0026AEB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026DF74 0026AEB4 4E 80 00 20 */ blr - -.global generatorKill__Q34Game7GasHiba3ObjFv -generatorKill__Q34Game7GasHiba3ObjFv: -/* 8026DF78 0026AEB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026DF7C 0026AEBC 7C 08 02 A6 */ mflr r0 -/* 8026DF80 0026AEC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026DF84 0026AEC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026DF88 0026AEC8 7C 7F 1B 78 */ mr r31, r3 -/* 8026DF8C 0026AECC 80 63 00 C4 */ lwz r3, 0xc4(r3) -/* 8026DF90 0026AED0 28 03 00 00 */ cmplwi r3, 0 -/* 8026DF94 0026AED4 41 82 00 14 */ beq lbl_8026DFA8 -/* 8026DF98 0026AED8 7F E4 FB 78 */ mr r4, r31 -/* 8026DF9C 0026AEDC 4B F3 CD 59 */ bl informDeath__Q24Game9GeneratorFPQ24Game8Creature -/* 8026DFA0 0026AEE0 38 00 00 00 */ li r0, 0 -/* 8026DFA4 0026AEE4 90 1F 00 C4 */ stw r0, 0xc4(r31) -lbl_8026DFA8: -/* 8026DFA8 0026AEE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026DFAC 0026AEEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026DFB0 0026AEF0 7C 08 03 A6 */ mtlr r0 -/* 8026DFB4 0026AEF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026DFB8 0026AEF8 4E 80 00 20 */ blr - -.global getName__Q23efx11ArgGasuHibaFv -getName__Q23efx11ArgGasuHibaFv: -/* 8026DFBC 0026AEFC 3C 60 80 48 */ lis r3, lbl_804864F8@ha -/* 8026DFC0 0026AF00 38 63 64 F8 */ addi r3, r3, lbl_804864F8@l -/* 8026DFC4 0026AF04 4E 80 00 20 */ blr - -.global doSimulation__Q34Game7GasHiba3ObjFf -doSimulation__Q34Game7GasHiba3ObjFf: -/* 8026DFC8 0026AF08 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game7GasHiba3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game7GasHiba3ObjFPQ24Game8WaterBox: -/* 8026DFCC 0026AF0C 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game7GasHiba3ObjFv -outWaterCallback__Q34Game7GasHiba3ObjFv: -/* 8026DFD0 0026AF10 4E 80 00 20 */ blr - -.global lifeRecover__Q34Game7GasHiba3ObjFv -lifeRecover__Q34Game7GasHiba3ObjFv: -/* 8026DFD4 0026AF14 4E 80 00 20 */ blr - -.global init__Q34Game8ElecHiba3FSMFPQ24Game9EnemyBase -init__Q34Game8ElecHiba3FSMFPQ24Game9EnemyBase: -/* 8026DFD8 0026AF18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026DFDC 0026AF1C 7C 08 02 A6 */ mflr r0 -/* 8026DFE0 0026AF20 38 80 00 04 */ li r4, 4 -/* 8026DFE4 0026AF24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026DFE8 0026AF28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026DFEC 0026AF2C 7C 7F 1B 78 */ mr r31, r3 -/* 8026DFF0 0026AF30 4B EC 28 75 */ bl create__Q24Game17EnemyStateMachineFi -/* 8026DFF4 0026AF34 38 60 00 10 */ li r3, 0x10 -/* 8026DFF8 0026AF38 4B DB 5E AD */ bl __nw__FUl -/* 8026DFFC 0026AF3C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026E000 0026AF40 41 82 00 3C */ beq lbl_8026E03C -/* 8026E004 0026AF44 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026E008 0026AF48 3C A0 80 4C */ lis r5, __vt__Q34Game8ElecHiba5State@ha -/* 8026E00C 0026AF4C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026E010 0026AF50 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba9StateDead@ha -/* 8026E014 0026AF54 90 04 00 00 */ stw r0, 0(r4) -/* 8026E018 0026AF58 38 E0 00 00 */ li r7, 0 -/* 8026E01C 0026AF5C 38 C5 5D 98 */ addi r6, r5, __vt__Q34Game8ElecHiba5State@l -/* 8026E020 0026AF60 38 A2 CD 38 */ addi r5, r2, lbl_8051B098@sda21 -/* 8026E024 0026AF64 90 E4 00 04 */ stw r7, 4(r4) -/* 8026E028 0026AF68 38 03 5D 74 */ addi r0, r3, __vt__Q34Game8ElecHiba9StateDead@l -/* 8026E02C 0026AF6C 90 E4 00 08 */ stw r7, 8(r4) -/* 8026E030 0026AF70 90 C4 00 00 */ stw r6, 0(r4) -/* 8026E034 0026AF74 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026E038 0026AF78 90 04 00 00 */ stw r0, 0(r4) -lbl_8026E03C: -/* 8026E03C 0026AF7C 7F E3 FB 78 */ mr r3, r31 -/* 8026E040 0026AF80 4B EC 28 C9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026E044 0026AF84 38 60 00 10 */ li r3, 0x10 -/* 8026E048 0026AF88 4B DB 5E 5D */ bl __nw__FUl -/* 8026E04C 0026AF8C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026E050 0026AF90 41 82 00 40 */ beq lbl_8026E090 -/* 8026E054 0026AF94 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026E058 0026AF98 3C A0 80 4C */ lis r5, __vt__Q34Game8ElecHiba5State@ha -/* 8026E05C 0026AF9C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026E060 0026AFA0 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba9StateWait@ha -/* 8026E064 0026AFA4 90 04 00 00 */ stw r0, 0(r4) -/* 8026E068 0026AFA8 38 00 00 01 */ li r0, 1 -/* 8026E06C 0026AFAC 38 E0 00 00 */ li r7, 0 -/* 8026E070 0026AFB0 38 C5 5D 98 */ addi r6, r5, __vt__Q34Game8ElecHiba5State@l -/* 8026E074 0026AFB4 90 04 00 04 */ stw r0, 4(r4) -/* 8026E078 0026AFB8 38 A2 CD 40 */ addi r5, r2, lbl_8051B0A0@sda21 -/* 8026E07C 0026AFBC 38 03 5D 50 */ addi r0, r3, __vt__Q34Game8ElecHiba9StateWait@l -/* 8026E080 0026AFC0 90 E4 00 08 */ stw r7, 8(r4) -/* 8026E084 0026AFC4 90 C4 00 00 */ stw r6, 0(r4) -/* 8026E088 0026AFC8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026E08C 0026AFCC 90 04 00 00 */ stw r0, 0(r4) -lbl_8026E090: -/* 8026E090 0026AFD0 7F E3 FB 78 */ mr r3, r31 -/* 8026E094 0026AFD4 4B EC 28 75 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026E098 0026AFD8 38 60 00 10 */ li r3, 0x10 -/* 8026E09C 0026AFDC 4B DB 5E 09 */ bl __nw__FUl -/* 8026E0A0 0026AFE0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026E0A4 0026AFE4 41 82 00 40 */ beq lbl_8026E0E4 -/* 8026E0A8 0026AFE8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026E0AC 0026AFEC 3C A0 80 4C */ lis r5, __vt__Q34Game8ElecHiba5State@ha -/* 8026E0B0 0026AFF0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026E0B4 0026AFF4 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba9StateSign@ha -/* 8026E0B8 0026AFF8 90 04 00 00 */ stw r0, 0(r4) -/* 8026E0BC 0026AFFC 38 00 00 02 */ li r0, 2 -/* 8026E0C0 0026B000 38 E0 00 00 */ li r7, 0 -/* 8026E0C4 0026B004 38 C5 5D 98 */ addi r6, r5, __vt__Q34Game8ElecHiba5State@l -/* 8026E0C8 0026B008 90 04 00 04 */ stw r0, 4(r4) -/* 8026E0CC 0026B00C 38 A2 CD 48 */ addi r5, r2, lbl_8051B0A8@sda21 -/* 8026E0D0 0026B010 38 03 5D 2C */ addi r0, r3, __vt__Q34Game8ElecHiba9StateSign@l -/* 8026E0D4 0026B014 90 E4 00 08 */ stw r7, 8(r4) -/* 8026E0D8 0026B018 90 C4 00 00 */ stw r6, 0(r4) -/* 8026E0DC 0026B01C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026E0E0 0026B020 90 04 00 00 */ stw r0, 0(r4) -lbl_8026E0E4: -/* 8026E0E4 0026B024 7F E3 FB 78 */ mr r3, r31 -/* 8026E0E8 0026B028 4B EC 28 21 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026E0EC 0026B02C 38 60 00 10 */ li r3, 0x10 -/* 8026E0F0 0026B030 4B DB 5D B5 */ bl __nw__FUl -/* 8026E0F4 0026B034 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026E0F8 0026B038 41 82 00 40 */ beq lbl_8026E138 -/* 8026E0FC 0026B03C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8026E100 0026B040 3C A0 80 4C */ lis r5, __vt__Q34Game8ElecHiba5State@ha -/* 8026E104 0026B044 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8026E108 0026B048 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba11StateAttack@ha -/* 8026E10C 0026B04C 90 04 00 00 */ stw r0, 0(r4) -/* 8026E110 0026B050 38 00 00 03 */ li r0, 3 -/* 8026E114 0026B054 38 E0 00 00 */ li r7, 0 -/* 8026E118 0026B058 38 C5 5D 98 */ addi r6, r5, __vt__Q34Game8ElecHiba5State@l -/* 8026E11C 0026B05C 90 04 00 04 */ stw r0, 4(r4) -/* 8026E120 0026B060 38 A2 CD 50 */ addi r5, r2, lbl_8051B0B0@sda21 -/* 8026E124 0026B064 38 03 5D 08 */ addi r0, r3, __vt__Q34Game8ElecHiba11StateAttack@l -/* 8026E128 0026B068 90 E4 00 08 */ stw r7, 8(r4) -/* 8026E12C 0026B06C 90 C4 00 00 */ stw r6, 0(r4) -/* 8026E130 0026B070 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8026E134 0026B074 90 04 00 00 */ stw r0, 0(r4) -lbl_8026E138: -/* 8026E138 0026B078 7F E3 FB 78 */ mr r3, r31 -/* 8026E13C 0026B07C 4B EC 27 CD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8026E140 0026B080 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E144 0026B084 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026E148 0026B088 7C 08 03 A6 */ mtlr r0 -/* 8026E14C 0026B08C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E150 0026B090 4E 80 00 20 */ blr - -.global init__Q34Game8ElecHiba9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game8ElecHiba9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026E154 0026B094 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8026E158 0026B098 7C 08 02 A6 */ mflr r0 -/* 8026E15C 0026B09C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8026E160 0026B0A0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8026E164 0026B0A4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8026E168 0026B0A8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8026E16C 0026B0AC 7C 9F 23 78 */ mr r31, r4 -/* 8026E170 0026B0B0 80 84 01 E0 */ lwz r4, 0x1e0(r4) -/* 8026E174 0026B0B4 38 00 00 00 */ li r0, 0 -/* 8026E178 0026B0B8 60 84 00 04 */ ori r4, r4, 4 -/* 8026E17C 0026B0BC 7F E3 FB 78 */ mr r3, r31 -/* 8026E180 0026B0C0 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026E184 0026B0C4 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026E188 0026B0C8 54 84 05 66 */ rlwinm r4, r4, 0, 0x15, 0x13 -/* 8026E18C 0026B0CC 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026E190 0026B0D0 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026E194 0026B0D4 60 84 00 01 */ ori r4, r4, 1 -/* 8026E198 0026B0D8 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026E19C 0026B0DC 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026E1A0 0026B0E0 54 84 07 76 */ rlwinm r4, r4, 0, 0x1d, 0x1b -/* 8026E1A4 0026B0E4 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026E1A8 0026B0E8 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 8026E1AC 0026B0EC 48 00 24 5D */ bl generatorKill__Q34Game8ElecHiba3ObjFv -/* 8026E1B0 0026B0F0 7F E3 FB 78 */ mr r3, r31 -/* 8026E1B4 0026B0F4 38 80 00 00 */ li r4, 0 -/* 8026E1B8 0026B0F8 38 A0 00 00 */ li r5, 0 -/* 8026E1BC 0026B0FC 4B E9 6E 49 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026E1C0 0026B100 7F E3 FB 78 */ mr r3, r31 -/* 8026E1C4 0026B104 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026E1C8 0026B108 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8026E1CC 0026B10C 7D 89 03 A6 */ mtctr r12 -/* 8026E1D0 0026B110 4E 80 04 21 */ bctrl -/* 8026E1D4 0026B114 81 83 00 00 */ lwz r12, 0(r3) -/* 8026E1D8 0026B118 38 80 58 0C */ li r4, 0x580c -/* 8026E1DC 0026B11C 38 A0 00 00 */ li r5, 0 -/* 8026E1E0 0026B120 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026E1E4 0026B124 7D 89 03 A6 */ mtctr r12 -/* 8026E1E8 0026B128 4E 80 04 21 */ bctrl -/* 8026E1EC 0026B12C C0 22 CD 58 */ lfs f1, lbl_8051B0B8@sda21(r2) -/* 8026E1F0 0026B130 7F E3 FB 78 */ mr r3, r31 -/* 8026E1F4 0026B134 48 20 02 21 */ bl PSStartEnemyFatalHitSE__FPQ24Game9EnemyBasef -/* 8026E1F8 0026B138 7F E4 FB 78 */ mr r4, r31 -/* 8026E1FC 0026B13C 38 61 00 34 */ addi r3, r1, 0x34 -/* 8026E200 0026B140 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026E204 0026B144 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026E208 0026B148 7D 89 03 A6 */ mtctr r12 -/* 8026E20C 0026B14C 4E 80 04 21 */ bctrl -/* 8026E210 0026B150 7F E3 FB 78 */ mr r3, r31 -/* 8026E214 0026B154 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 8026E218 0026B158 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026E21C 0026B15C C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8026E220 0026B160 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8026E224 0026B164 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 8026E228 0026B168 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8026E22C 0026B16C C3 FF 01 F8 */ lfs f31, 0x1f8(r31) -/* 8026E230 0026B170 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8026E234 0026B174 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8026E238 0026B178 7D 89 03 A6 */ mtctr r12 -/* 8026E23C 0026B17C 4E 80 04 21 */ bctrl -/* 8026E240 0026B180 80 C1 00 4C */ lwz r6, 0x4c(r1) -/* 8026E244 0026B184 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8026E248 0026B188 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8026E24C 0026B18C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026E250 0026B190 81 01 00 54 */ lwz r8, 0x54(r1) -/* 8026E254 0026B194 38 E5 A7 EC */ addi r7, r5, __vt__Q23efx3Arg@l -/* 8026E258 0026B198 90 C1 00 28 */ stw r6, 0x28(r1) -/* 8026E25C 0026B19C 38 A4 A7 F8 */ addi r5, r4, __vt__Q23efx5TBase@l -/* 8026E260 0026B1A0 3C C0 80 4B */ lis r6, __vt__Q23efx12ArgEnemyType@ha -/* 8026E264 0026B1A4 3C 80 80 4F */ lis r4, __vt__Q23efx10TEnemyBomb@ha -/* 8026E268 0026B1A8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8026E26C 0026B1AC 38 C6 A7 E0 */ addi r6, r6, __vt__Q23efx12ArgEnemyType@l -/* 8026E270 0026B1B0 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8026E274 0026B1B4 38 04 85 D4 */ addi r0, r4, __vt__Q23efx10TEnemyBomb@l -/* 8026E278 0026B1B8 91 01 00 30 */ stw r8, 0x30(r1) -/* 8026E27C 0026B1BC 38 81 00 70 */ addi r4, r1, 0x70 -/* 8026E280 0026B1C0 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8026E284 0026B1C4 90 E1 00 70 */ stw r7, 0x70(r1) -/* 8026E288 0026B1C8 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8026E28C 0026B1CC 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8026E290 0026B1D0 90 61 00 80 */ stw r3, 0x80(r1) -/* 8026E294 0026B1D4 38 61 00 0C */ addi r3, r1, 0xc -/* 8026E298 0026B1D8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8026E29C 0026B1DC D0 21 00 78 */ stfs f1, 0x78(r1) -/* 8026E2A0 0026B1E0 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8026E2A4 0026B1E4 90 C1 00 70 */ stw r6, 0x70(r1) -/* 8026E2A8 0026B1E8 D3 E1 00 84 */ stfs f31, 0x84(r1) -/* 8026E2AC 0026B1EC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8026E2B0 0026B1F0 48 15 AA D5 */ bl create__Q23efx10TEnemyBombFPQ23efx3Arg -/* 8026E2B4 0026B1F4 7F E3 FB 78 */ mr r3, r31 -/* 8026E2B8 0026B1F8 48 00 16 81 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026E2BC 0026B1FC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8026E2C0 0026B200 41 82 01 44 */ beq lbl_8026E404 -/* 8026E2C4 0026B204 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026E2C8 0026B208 38 00 00 00 */ li r0, 0 -/* 8026E2CC 0026B20C 60 84 00 04 */ ori r4, r4, 4 -/* 8026E2D0 0026B210 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026E2D4 0026B214 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026E2D8 0026B218 54 84 05 66 */ rlwinm r4, r4, 0, 0x15, 0x13 -/* 8026E2DC 0026B21C 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026E2E0 0026B220 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026E2E4 0026B224 60 84 00 01 */ ori r4, r4, 1 -/* 8026E2E8 0026B228 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026E2EC 0026B22C 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8026E2F0 0026B230 54 84 07 76 */ rlwinm r4, r4, 0, 0x1d, 0x1b -/* 8026E2F4 0026B234 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8026E2F8 0026B238 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 8026E2FC 0026B23C 48 00 23 0D */ bl generatorKill__Q34Game8ElecHiba3ObjFv -/* 8026E300 0026B240 7F E3 FB 78 */ mr r3, r31 -/* 8026E304 0026B244 38 80 00 00 */ li r4, 0 -/* 8026E308 0026B248 38 A0 00 00 */ li r5, 0 -/* 8026E30C 0026B24C 4B E9 6C F9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026E310 0026B250 7F E3 FB 78 */ mr r3, r31 -/* 8026E314 0026B254 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026E318 0026B258 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8026E31C 0026B25C 7D 89 03 A6 */ mtctr r12 -/* 8026E320 0026B260 4E 80 04 21 */ bctrl -/* 8026E324 0026B264 81 83 00 00 */ lwz r12, 0(r3) -/* 8026E328 0026B268 38 80 58 0C */ li r4, 0x580c -/* 8026E32C 0026B26C 38 A0 00 00 */ li r5, 0 -/* 8026E330 0026B270 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026E334 0026B274 7D 89 03 A6 */ mtctr r12 -/* 8026E338 0026B278 4E 80 04 21 */ bctrl -/* 8026E33C 0026B27C C0 22 CD 58 */ lfs f1, lbl_8051B0B8@sda21(r2) -/* 8026E340 0026B280 7F E3 FB 78 */ mr r3, r31 -/* 8026E344 0026B284 48 20 00 D1 */ bl PSStartEnemyFatalHitSE__FPQ24Game9EnemyBasef -/* 8026E348 0026B288 7F E4 FB 78 */ mr r4, r31 -/* 8026E34C 0026B28C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8026E350 0026B290 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026E354 0026B294 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026E358 0026B298 7D 89 03 A6 */ mtctr r12 -/* 8026E35C 0026B29C 4E 80 04 21 */ bctrl -/* 8026E360 0026B2A0 7F E3 FB 78 */ mr r3, r31 -/* 8026E364 0026B2A4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8026E368 0026B2A8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026E36C 0026B2AC C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8026E370 0026B2B0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8026E374 0026B2B4 81 8C 02 58 */ lwz r12, 0x258(r12) -/* 8026E378 0026B2B8 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8026E37C 0026B2BC C3 FF 01 F8 */ lfs f31, 0x1f8(r31) -/* 8026E380 0026B2C0 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8026E384 0026B2C4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8026E388 0026B2C8 7D 89 03 A6 */ mtctr r12 -/* 8026E38C 0026B2CC 4E 80 04 21 */ bctrl -/* 8026E390 0026B2D0 80 C1 00 40 */ lwz r6, 0x40(r1) -/* 8026E394 0026B2D4 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8026E398 0026B2D8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8026E39C 0026B2DC 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8026E3A0 0026B2E0 81 01 00 48 */ lwz r8, 0x48(r1) -/* 8026E3A4 0026B2E4 38 E5 A7 EC */ addi r7, r5, __vt__Q23efx3Arg@l -/* 8026E3A8 0026B2E8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8026E3AC 0026B2EC 38 A4 A7 F8 */ addi r5, r4, __vt__Q23efx5TBase@l -/* 8026E3B0 0026B2F0 3C C0 80 4B */ lis r6, __vt__Q23efx12ArgEnemyType@ha -/* 8026E3B4 0026B2F4 3C 80 80 4F */ lis r4, __vt__Q23efx10TEnemyBomb@ha -/* 8026E3B8 0026B2F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E3BC 0026B2FC 38 C6 A7 E0 */ addi r6, r6, __vt__Q23efx12ArgEnemyType@l -/* 8026E3C0 0026B300 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8026E3C4 0026B304 38 04 85 D4 */ addi r0, r4, __vt__Q23efx10TEnemyBomb@l -/* 8026E3C8 0026B308 91 01 00 18 */ stw r8, 0x18(r1) -/* 8026E3CC 0026B30C 38 81 00 58 */ addi r4, r1, 0x58 -/* 8026E3D0 0026B310 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8026E3D4 0026B314 90 E1 00 58 */ stw r7, 0x58(r1) -/* 8026E3D8 0026B318 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8026E3DC 0026B31C 90 A1 00 08 */ stw r5, 8(r1) -/* 8026E3E0 0026B320 90 61 00 68 */ stw r3, 0x68(r1) -/* 8026E3E4 0026B324 38 61 00 08 */ addi r3, r1, 8 -/* 8026E3E8 0026B328 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8026E3EC 0026B32C D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8026E3F0 0026B330 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8026E3F4 0026B334 90 C1 00 58 */ stw r6, 0x58(r1) -/* 8026E3F8 0026B338 D3 E1 00 6C */ stfs f31, 0x6c(r1) -/* 8026E3FC 0026B33C 90 01 00 08 */ stw r0, 8(r1) -/* 8026E400 0026B340 48 15 A9 85 */ bl create__Q23efx10TEnemyBombFPQ23efx3Arg -lbl_8026E404: -/* 8026E404 0026B344 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8026E408 0026B348 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8026E40C 0026B34C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8026E410 0026B350 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8026E414 0026B354 7C 08 03 A6 */ mtlr r0 -/* 8026E418 0026B358 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8026E41C 0026B35C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game8ElecHiba3ObjFv -getEnemyTypeID__Q34Game8ElecHiba3ObjFv: -/* 8026E420 0026B360 38 60 00 16 */ li r3, 0x16 -/* 8026E424 0026B364 4E 80 00 20 */ blr - -.global exec__Q34Game8ElecHiba9StateDeadFPQ24Game9EnemyBase -exec__Q34Game8ElecHiba9StateDeadFPQ24Game9EnemyBase: -/* 8026E428 0026B368 4E 80 00 20 */ blr - -.global cleanup__Q34Game8ElecHiba9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game8ElecHiba9StateDeadFPQ24Game9EnemyBase: -/* 8026E42C 0026B36C 4E 80 00 20 */ blr - -.global init__Q34Game8ElecHiba9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game8ElecHiba9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026E430 0026B370 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026E434 0026B374 7C 08 02 A6 */ mflr r0 -/* 8026E438 0026B378 28 05 00 00 */ cmplwi r5, 0 -/* 8026E43C 0026B37C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E440 0026B380 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026E444 0026B384 7C 9F 23 78 */ mr r31, r4 -/* 8026E448 0026B388 41 82 00 10 */ beq lbl_8026E458 -/* 8026E44C 0026B38C C0 05 00 00 */ lfs f0, 0(r5) -/* 8026E450 0026B390 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026E454 0026B394 48 00 00 0C */ b lbl_8026E460 -lbl_8026E458: -/* 8026E458 0026B398 C0 02 CD 58 */ lfs f0, lbl_8051B0B8@sda21(r2) -/* 8026E45C 0026B39C D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -lbl_8026E460: -/* 8026E460 0026B3A0 7F E3 FB 78 */ mr r3, r31 -/* 8026E464 0026B3A4 38 80 00 00 */ li r4, 0 -/* 8026E468 0026B3A8 38 A0 00 00 */ li r5, 0 -/* 8026E46C 0026B3AC 4B E9 6B 99 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026E470 0026B3B0 7F E3 FB 78 */ mr r3, r31 -/* 8026E474 0026B3B4 48 00 14 C5 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026E478 0026B3B8 28 03 00 00 */ cmplwi r3, 0 -/* 8026E47C 0026B3BC 41 82 00 10 */ beq lbl_8026E48C -/* 8026E480 0026B3C0 38 80 00 00 */ li r4, 0 -/* 8026E484 0026B3C4 38 A0 00 00 */ li r5, 0 -/* 8026E488 0026B3C8 4B E9 6B 7D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -lbl_8026E48C: -/* 8026E48C 0026B3CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E490 0026B3D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026E494 0026B3D4 7C 08 03 A6 */ mtlr r0 -/* 8026E498 0026B3D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E49C 0026B3DC 4E 80 00 20 */ blr - -.global exec__Q34Game8ElecHiba9StateWaitFPQ24Game9EnemyBase -exec__Q34Game8ElecHiba9StateWaitFPQ24Game9EnemyBase: -/* 8026E4A0 0026B3E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026E4A4 0026B3E4 7C 08 02 A6 */ mflr r0 -/* 8026E4A8 0026B3E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E4AC 0026B3EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026E4B0 0026B3F0 7C 9F 23 78 */ mr r31, r4 -/* 8026E4B4 0026B3F4 93 C1 00 08 */ stw r30, 8(r1) -/* 8026E4B8 0026B3F8 7C 7E 1B 78 */ mr r30, r3 -/* 8026E4BC 0026B3FC 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 8026E4C0 0026B400 C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 8026E4C4 0026B404 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 8026E4C8 0026B408 EC 01 00 2A */ fadds f0, f1, f0 -/* 8026E4CC 0026B40C D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 8026E4D0 0026B410 88 04 02 F4 */ lbz r0, 0x2f4(r4) -/* 8026E4D4 0026B414 28 00 00 00 */ cmplwi r0, 0 -/* 8026E4D8 0026B418 41 82 00 38 */ beq lbl_8026E510 -/* 8026E4DC 0026B41C 7F E3 FB 78 */ mr r3, r31 -/* 8026E4E0 0026B420 48 00 22 85 */ bl isWaitFinish__Q34Game8ElecHiba3ObjFv -/* 8026E4E4 0026B424 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026E4E8 0026B428 41 82 00 84 */ beq lbl_8026E56C -/* 8026E4EC 0026B42C 7F C3 F3 78 */ mr r3, r30 -/* 8026E4F0 0026B430 7F E4 FB 78 */ mr r4, r31 -/* 8026E4F4 0026B434 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026E4F8 0026B438 38 A0 00 02 */ li r5, 2 -/* 8026E4FC 0026B43C 38 C0 00 00 */ li r6, 0 -/* 8026E500 0026B440 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026E504 0026B444 7D 89 03 A6 */ mtctr r12 -/* 8026E508 0026B448 4E 80 04 21 */ bctrl -/* 8026E50C 0026B44C 48 00 00 60 */ b lbl_8026E56C -lbl_8026E510: -/* 8026E510 0026B450 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8026E514 0026B454 C0 02 CD 58 */ lfs f0, lbl_8051B0B8@sda21(r2) -/* 8026E518 0026B458 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026E51C 0026B45C 4C 40 13 82 */ cror 2, 0, 2 -/* 8026E520 0026B460 40 82 00 20 */ bne lbl_8026E540 -/* 8026E524 0026B464 81 83 00 00 */ lwz r12, 0(r3) -/* 8026E528 0026B468 38 A0 00 00 */ li r5, 0 -/* 8026E52C 0026B46C 38 C0 00 00 */ li r6, 0 -/* 8026E530 0026B470 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026E534 0026B474 7D 89 03 A6 */ mtctr r12 -/* 8026E538 0026B478 4E 80 04 21 */ bctrl -/* 8026E53C 0026B47C 48 00 00 30 */ b lbl_8026E56C -lbl_8026E540: -/* 8026E540 0026B480 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8026E544 0026B484 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026E548 0026B488 C0 05 08 1C */ lfs f0, 0x81c(r5) -/* 8026E54C 0026B48C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026E550 0026B490 40 81 00 1C */ ble lbl_8026E56C -/* 8026E554 0026B494 81 83 00 00 */ lwz r12, 0(r3) -/* 8026E558 0026B498 38 A0 00 02 */ li r5, 2 -/* 8026E55C 0026B49C 38 C0 00 00 */ li r6, 0 -/* 8026E560 0026B4A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026E564 0026B4A4 7D 89 03 A6 */ mtctr r12 -/* 8026E568 0026B4A8 4E 80 04 21 */ bctrl -lbl_8026E56C: -/* 8026E56C 0026B4AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E570 0026B4B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026E574 0026B4B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026E578 0026B4B8 7C 08 03 A6 */ mtlr r0 -/* 8026E57C 0026B4BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E580 0026B4C0 4E 80 00 20 */ blr - -.global cleanup__Q34Game8ElecHiba9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game8ElecHiba9StateWaitFPQ24Game9EnemyBase: -/* 8026E584 0026B4C4 4E 80 00 20 */ blr - -.global init__Q34Game8ElecHiba9StateSignFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game8ElecHiba9StateSignFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026E588 0026B4C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026E58C 0026B4CC 7C 08 02 A6 */ mflr r0 -/* 8026E590 0026B4D0 C0 02 CD 58 */ lfs f0, lbl_8051B0B8@sda21(r2) -/* 8026E594 0026B4D4 38 A0 00 00 */ li r5, 0 -/* 8026E598 0026B4D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E59C 0026B4DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026E5A0 0026B4E0 7C 9F 23 78 */ mr r31, r4 -/* 8026E5A4 0026B4E4 38 80 00 00 */ li r4, 0 -/* 8026E5A8 0026B4E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8026E5AC 0026B4EC 7F E3 FB 78 */ mr r3, r31 -/* 8026E5B0 0026B4F0 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026E5B4 0026B4F4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026E5B8 0026B4F8 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8026E5BC 0026B4FC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026E5C0 0026B500 4B E9 6A 45 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026E5C4 0026B504 7F E3 FB 78 */ mr r3, r31 -/* 8026E5C8 0026B508 48 00 13 71 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026E5CC 0026B50C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026E5D0 0026B510 41 82 00 28 */ beq lbl_8026E5F8 -/* 8026E5D4 0026B514 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 8026E5D8 0026B518 38 80 00 00 */ li r4, 0 -/* 8026E5DC 0026B51C 38 A0 00 00 */ li r5, 0 -/* 8026E5E0 0026B520 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8026E5E4 0026B524 90 1E 01 E0 */ stw r0, 0x1e0(r30) -/* 8026E5E8 0026B528 4B E9 6A 1D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026E5EC 0026B52C 7F E3 FB 78 */ mr r3, r31 -/* 8026E5F0 0026B530 7F C4 F3 78 */ mr r4, r30 -/* 8026E5F4 0026B534 48 00 1E 25 */ bl startChargeEffect__Q34Game8ElecHiba3ObjFPQ24Game8Creature -lbl_8026E5F8: -/* 8026E5F8 0026B538 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E5FC 0026B53C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026E600 0026B540 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026E604 0026B544 7C 08 03 A6 */ mtlr r0 -/* 8026E608 0026B548 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E60C 0026B54C 4E 80 00 20 */ blr - -.global exec__Q34Game8ElecHiba9StateSignFPQ24Game9EnemyBase -exec__Q34Game8ElecHiba9StateSignFPQ24Game9EnemyBase: -/* 8026E610 0026B550 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026E614 0026B554 7C 08 02 A6 */ mflr r0 -/* 8026E618 0026B558 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E61C 0026B55C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026E620 0026B560 7C 9F 23 78 */ mr r31, r4 -/* 8026E624 0026B564 93 C1 00 08 */ stw r30, 8(r1) -/* 8026E628 0026B568 7C 7E 1B 78 */ mr r30, r3 -/* 8026E62C 0026B56C 7F E3 FB 78 */ mr r3, r31 -/* 8026E630 0026B570 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 8026E634 0026B574 C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 8026E638 0026B578 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 8026E63C 0026B57C EC 01 00 2A */ fadds f0, f1, f0 -/* 8026E640 0026B580 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 8026E644 0026B584 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026E648 0026B588 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8026E64C 0026B58C 7D 89 03 A6 */ mtctr r12 -/* 8026E650 0026B590 4E 80 04 21 */ bctrl -/* 8026E654 0026B594 81 83 00 00 */ lwz r12, 0(r3) -/* 8026E658 0026B598 38 80 50 AC */ li r4, 0x50ac -/* 8026E65C 0026B59C 38 A0 00 00 */ li r5, 0 -/* 8026E660 0026B5A0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026E664 0026B5A4 7D 89 03 A6 */ mtctr r12 -/* 8026E668 0026B5A8 4E 80 04 21 */ bctrl -/* 8026E66C 0026B5AC C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8026E670 0026B5B0 C0 02 CD 58 */ lfs f0, lbl_8051B0B8@sda21(r2) -/* 8026E674 0026B5B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026E678 0026B5B8 4C 40 13 82 */ cror 2, 0, 2 -/* 8026E67C 0026B5BC 40 82 00 40 */ bne lbl_8026E6BC -/* 8026E680 0026B5C0 7F E3 FB 78 */ mr r3, r31 -/* 8026E684 0026B5C4 48 00 12 B5 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026E688 0026B5C8 28 03 00 00 */ cmplwi r3, 0 -/* 8026E68C 0026B5CC 41 82 00 0C */ beq lbl_8026E698 -/* 8026E690 0026B5D0 7F E3 FB 78 */ mr r3, r31 -/* 8026E694 0026B5D4 48 00 1E 95 */ bl finishChargeEffect__Q34Game8ElecHiba3ObjFv -lbl_8026E698: -/* 8026E698 0026B5D8 7F C3 F3 78 */ mr r3, r30 -/* 8026E69C 0026B5DC 7F E4 FB 78 */ mr r4, r31 -/* 8026E6A0 0026B5E0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026E6A4 0026B5E4 38 A0 00 00 */ li r5, 0 -/* 8026E6A8 0026B5E8 38 C0 00 00 */ li r6, 0 -/* 8026E6AC 0026B5EC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026E6B0 0026B5F0 7D 89 03 A6 */ mtctr r12 -/* 8026E6B4 0026B5F4 4E 80 04 21 */ bctrl -/* 8026E6B8 0026B5F8 48 00 00 38 */ b lbl_8026E6F0 -lbl_8026E6BC: -/* 8026E6BC 0026B5FC 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8026E6C0 0026B600 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026E6C4 0026B604 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 8026E6C8 0026B608 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026E6CC 0026B60C 40 81 00 24 */ ble lbl_8026E6F0 -/* 8026E6D0 0026B610 7F C3 F3 78 */ mr r3, r30 -/* 8026E6D4 0026B614 7F E4 FB 78 */ mr r4, r31 -/* 8026E6D8 0026B618 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026E6DC 0026B61C 38 A0 00 03 */ li r5, 3 -/* 8026E6E0 0026B620 38 C0 00 00 */ li r6, 0 -/* 8026E6E4 0026B624 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026E6E8 0026B628 7D 89 03 A6 */ mtctr r12 -/* 8026E6EC 0026B62C 4E 80 04 21 */ bctrl -lbl_8026E6F0: -/* 8026E6F0 0026B630 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E6F4 0026B634 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026E6F8 0026B638 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026E6FC 0026B63C 7C 08 03 A6 */ mtlr r0 -/* 8026E700 0026B640 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E704 0026B644 4E 80 00 20 */ blr - -.global cleanup__Q34Game8ElecHiba9StateSignFPQ24Game9EnemyBase -cleanup__Q34Game8ElecHiba9StateSignFPQ24Game9EnemyBase: -/* 8026E708 0026B648 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026E70C 0026B64C 7C 08 02 A6 */ mflr r0 -/* 8026E710 0026B650 7C 83 23 78 */ mr r3, r4 -/* 8026E714 0026B654 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E718 0026B658 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8026E71C 0026B65C 60 00 00 40 */ ori r0, r0, 0x40 -/* 8026E720 0026B660 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8026E724 0026B664 48 00 12 15 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026E728 0026B668 28 03 00 00 */ cmplwi r3, 0 -/* 8026E72C 0026B66C 41 82 00 10 */ beq lbl_8026E73C -/* 8026E730 0026B670 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8026E734 0026B674 60 00 00 40 */ ori r0, r0, 0x40 -/* 8026E738 0026B678 90 03 01 E0 */ stw r0, 0x1e0(r3) -lbl_8026E73C: -/* 8026E73C 0026B67C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E740 0026B680 7C 08 03 A6 */ mtlr r0 -/* 8026E744 0026B684 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E748 0026B688 4E 80 00 20 */ blr - -.global init__Q34Game8ElecHiba11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game8ElecHiba11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8026E74C 0026B68C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026E750 0026B690 7C 08 02 A6 */ mflr r0 -/* 8026E754 0026B694 C0 02 CD 58 */ lfs f0, lbl_8051B0B8@sda21(r2) -/* 8026E758 0026B698 38 A0 00 00 */ li r5, 0 -/* 8026E75C 0026B69C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E760 0026B6A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026E764 0026B6A4 7C 9F 23 78 */ mr r31, r4 -/* 8026E768 0026B6A8 38 80 00 00 */ li r4, 0 -/* 8026E76C 0026B6AC D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026E770 0026B6B0 7F E3 FB 78 */ mr r3, r31 -/* 8026E774 0026B6B4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8026E778 0026B6B8 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8026E77C 0026B6BC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8026E780 0026B6C0 4B E9 68 85 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026E784 0026B6C4 7F E3 FB 78 */ mr r3, r31 -/* 8026E788 0026B6C8 48 00 1F 31 */ bl setVersusHibaType__Q34Game8ElecHiba3ObjFv -/* 8026E78C 0026B6CC 7F E3 FB 78 */ mr r3, r31 -/* 8026E790 0026B6D0 48 00 11 A9 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026E794 0026B6D4 28 03 00 00 */ cmplwi r3, 0 -/* 8026E798 0026B6D8 41 82 00 24 */ beq lbl_8026E7BC -/* 8026E79C 0026B6DC 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8026E7A0 0026B6E0 38 80 00 00 */ li r4, 0 -/* 8026E7A4 0026B6E4 38 A0 00 00 */ li r5, 0 -/* 8026E7A8 0026B6E8 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8026E7AC 0026B6EC 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 8026E7B0 0026B6F0 4B E9 68 55 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8026E7B4 0026B6F4 7F E3 FB 78 */ mr r3, r31 -/* 8026E7B8 0026B6F8 48 00 1D A9 */ bl startDisChargeEffect__Q34Game8ElecHiba3ObjFv -lbl_8026E7BC: -/* 8026E7BC 0026B6FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E7C0 0026B700 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026E7C4 0026B704 7C 08 03 A6 */ mtlr r0 -/* 8026E7C8 0026B708 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E7CC 0026B70C 4E 80 00 20 */ blr - -.global exec__Q34Game8ElecHiba11StateAttackFPQ24Game9EnemyBase -exec__Q34Game8ElecHiba11StateAttackFPQ24Game9EnemyBase: -/* 8026E7D0 0026B710 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026E7D4 0026B714 7C 08 02 A6 */ mflr r0 -/* 8026E7D8 0026B718 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026E7DC 0026B71C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8026E7E0 0026B720 7C 9F 23 78 */ mr r31, r4 -/* 8026E7E4 0026B724 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8026E7E8 0026B728 7C 7E 1B 78 */ mr r30, r3 -/* 8026E7EC 0026B72C 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 8026E7F0 0026B730 C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 8026E7F4 0026B734 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 8026E7F8 0026B738 EC 01 00 2A */ fadds f0, f1, f0 -/* 8026E7FC 0026B73C D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 8026E800 0026B740 88 04 02 F4 */ lbz r0, 0x2f4(r4) -/* 8026E804 0026B744 28 00 00 00 */ cmplwi r0, 0 -/* 8026E808 0026B748 41 82 00 38 */ beq lbl_8026E840 -/* 8026E80C 0026B74C 7F E3 FB 78 */ mr r3, r31 -/* 8026E810 0026B750 48 00 1F 95 */ bl isAttackFinish__Q34Game8ElecHiba3ObjFv -/* 8026E814 0026B754 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026E818 0026B758 41 82 00 84 */ beq lbl_8026E89C -/* 8026E81C 0026B75C 7F C3 F3 78 */ mr r3, r30 -/* 8026E820 0026B760 7F E4 FB 78 */ mr r4, r31 -/* 8026E824 0026B764 81 9E 00 00 */ lwz r12, 0(r30) -/* 8026E828 0026B768 38 A0 00 01 */ li r5, 1 -/* 8026E82C 0026B76C 38 C0 00 00 */ li r6, 0 -/* 8026E830 0026B770 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026E834 0026B774 7D 89 03 A6 */ mtctr r12 -/* 8026E838 0026B778 4E 80 04 21 */ bctrl -/* 8026E83C 0026B77C 48 00 00 60 */ b lbl_8026E89C -lbl_8026E840: -/* 8026E840 0026B780 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8026E844 0026B784 C0 02 CD 58 */ lfs f0, lbl_8051B0B8@sda21(r2) -/* 8026E848 0026B788 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026E84C 0026B78C 4C 40 13 82 */ cror 2, 0, 2 -/* 8026E850 0026B790 40 82 00 20 */ bne lbl_8026E870 -/* 8026E854 0026B794 81 83 00 00 */ lwz r12, 0(r3) -/* 8026E858 0026B798 38 A0 00 00 */ li r5, 0 -/* 8026E85C 0026B79C 38 C0 00 00 */ li r6, 0 -/* 8026E860 0026B7A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026E864 0026B7A4 7D 89 03 A6 */ mtctr r12 -/* 8026E868 0026B7A8 4E 80 04 21 */ bctrl -/* 8026E86C 0026B7AC 48 00 00 30 */ b lbl_8026E89C -lbl_8026E870: -/* 8026E870 0026B7B0 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8026E874 0026B7B4 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8026E878 0026B7B8 C0 05 08 6C */ lfs f0, 0x86c(r5) -/* 8026E87C 0026B7BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026E880 0026B7C0 40 81 00 1C */ ble lbl_8026E89C -/* 8026E884 0026B7C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026E888 0026B7C8 38 A0 00 01 */ li r5, 1 -/* 8026E88C 0026B7CC 38 C0 00 00 */ li r6, 0 -/* 8026E890 0026B7D0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026E894 0026B7D4 7D 89 03 A6 */ mtctr r12 -/* 8026E898 0026B7D8 4E 80 04 21 */ bctrl -lbl_8026E89C: -/* 8026E89C 0026B7DC 7F E3 FB 78 */ mr r3, r31 -/* 8026E8A0 0026B7E0 48 00 10 99 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026E8A4 0026B7E4 28 03 00 00 */ cmplwi r3, 0 -/* 8026E8A8 0026B7E8 41 82 00 48 */ beq lbl_8026E8F0 -/* 8026E8AC 0026B7EC 7C 64 1B 78 */ mr r4, r3 -/* 8026E8B0 0026B7F0 38 61 00 08 */ addi r3, r1, 8 -/* 8026E8B4 0026B7F4 81 84 00 00 */ lwz r12, 0(r4) -/* 8026E8B8 0026B7F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026E8BC 0026B7FC 7D 89 03 A6 */ mtctr r12 -/* 8026E8C0 0026B800 4E 80 04 21 */ bctrl -/* 8026E8C4 0026B804 C0 41 00 08 */ lfs f2, 8(r1) -/* 8026E8C8 0026B808 7F E3 FB 78 */ mr r3, r31 -/* 8026E8CC 0026B80C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8026E8D0 0026B810 38 81 00 14 */ addi r4, r1, 0x14 -/* 8026E8D4 0026B814 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8026E8D8 0026B818 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8026E8DC 0026B81C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8026E8E0 0026B820 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8026E8E4 0026B824 48 00 11 E1 */ bl interactDenkiAttack__Q34Game8ElecHiba3ObjFR10Vector3$$0f$$1 -/* 8026E8E8 0026B828 7F E3 FB 78 */ mr r3, r31 -/* 8026E8EC 0026B82C 48 00 18 3D */ bl updateEfxLod__Q34Game8ElecHiba3ObjFv -lbl_8026E8F0: -/* 8026E8F0 0026B830 7F E3 FB 78 */ mr r3, r31 -/* 8026E8F4 0026B834 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026E8F8 0026B838 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8026E8FC 0026B83C 7D 89 03 A6 */ mtctr r12 -/* 8026E900 0026B840 4E 80 04 21 */ bctrl -/* 8026E904 0026B844 81 83 00 00 */ lwz r12, 0(r3) -/* 8026E908 0026B848 38 80 50 AD */ li r4, 0x50ad -/* 8026E90C 0026B84C 38 A0 00 00 */ li r5, 0 -/* 8026E910 0026B850 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026E914 0026B854 7D 89 03 A6 */ mtctr r12 -/* 8026E918 0026B858 4E 80 04 21 */ bctrl -/* 8026E91C 0026B85C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026E920 0026B860 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8026E924 0026B864 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8026E928 0026B868 7C 08 03 A6 */ mtlr r0 -/* 8026E92C 0026B86C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026E930 0026B870 4E 80 00 20 */ blr - -.global cleanup__Q34Game8ElecHiba11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game8ElecHiba11StateAttackFPQ24Game9EnemyBase: -/* 8026E934 0026B874 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026E938 0026B878 7C 08 02 A6 */ mflr r0 -/* 8026E93C 0026B87C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E940 0026B880 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026E944 0026B884 7C 9F 23 78 */ mr r31, r4 -/* 8026E948 0026B888 7F E3 FB 78 */ mr r3, r31 -/* 8026E94C 0026B88C 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8026E950 0026B890 60 00 00 40 */ ori r0, r0, 0x40 -/* 8026E954 0026B894 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8026E958 0026B898 48 00 0F E1 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026E95C 0026B89C 28 03 00 00 */ cmplwi r3, 0 -/* 8026E960 0026B8A0 41 82 00 18 */ beq lbl_8026E978 -/* 8026E964 0026B8A4 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8026E968 0026B8A8 60 00 00 40 */ ori r0, r0, 0x40 -/* 8026E96C 0026B8AC 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 8026E970 0026B8B0 7F E3 FB 78 */ mr r3, r31 -/* 8026E974 0026B8B4 48 00 1C 5D */ bl finishDisChargeEffect__Q34Game8ElecHiba3ObjFv -lbl_8026E978: -/* 8026E978 0026B8B8 7F E3 FB 78 */ mr r3, r31 -/* 8026E97C 0026B8BC 48 00 1D 69 */ bl resetAttrHitCount__Q34Game8ElecHiba3ObjFv -/* 8026E980 0026B8C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E984 0026B8C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026E988 0026B8C8 7C 08 03 A6 */ mtlr r0 -/* 8026E98C 0026B8CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E990 0026B8D0 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game8ElecHiba14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game8ElecHiba14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8026E994 0026B8D4 90 83 00 20 */ stw r4, 0x20(r3) -/* 8026E998 0026B8D8 4E 80 00 20 */ blr - -.global getAnimator__Q34Game8ElecHiba14ProperAnimatorFi -getAnimator__Q34Game8ElecHiba14ProperAnimatorFi: -/* 8026E99C 0026B8DC 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026E9A0 0026B8E0 4E 80 00 20 */ blr - -.global __dt__Q34Game8ElecHiba14ProperAnimatorFv -__dt__Q34Game8ElecHiba14ProperAnimatorFv: -/* 8026E9A4 0026B8E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026E9A8 0026B8E8 7C 08 02 A6 */ mflr r0 -/* 8026E9AC 0026B8EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026E9B0 0026B8F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026E9B4 0026B8F4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8026E9B8 0026B8F8 41 82 00 30 */ beq lbl_8026E9E8 -/* 8026E9BC 0026B8FC 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba14ProperAnimator@ha -/* 8026E9C0 0026B900 38 03 5D E0 */ addi r0, r3, __vt__Q34Game8ElecHiba14ProperAnimator@l -/* 8026E9C4 0026B904 90 1F 00 00 */ stw r0, 0(r31) -/* 8026E9C8 0026B908 41 82 00 10 */ beq lbl_8026E9D8 -/* 8026E9CC 0026B90C 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 8026E9D0 0026B910 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 8026E9D4 0026B914 90 1F 00 00 */ stw r0, 0(r31) -lbl_8026E9D8: -/* 8026E9D8 0026B918 7C 80 07 35 */ extsh. r0, r4 -/* 8026E9DC 0026B91C 40 81 00 0C */ ble lbl_8026E9E8 -/* 8026E9E0 0026B920 7F E3 FB 78 */ mr r3, r31 -/* 8026E9E4 0026B924 4B DB 56 D1 */ bl __dl__FPv -lbl_8026E9E8: -/* 8026E9E8 0026B928 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026E9EC 0026B92C 7F E3 FB 78 */ mr r3, r31 -/* 8026E9F0 0026B930 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026E9F4 0026B934 7C 08 03 A6 */ mtlr r0 -/* 8026E9F8 0026B938 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026E9FC 0026B93C 4E 80 00 20 */ blr - -.global getAnimator__Q34Game8ElecHiba14ProperAnimatorFv -getAnimator__Q34Game8ElecHiba14ProperAnimatorFv: -/* 8026EA00 0026B940 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026EA04 0026B944 4E 80 00 20 */ blr - -.global __ct__Q34Game8ElecHiba9GeneratorFv -__ct__Q34Game8ElecHiba9GeneratorFv: -/* 8026EA08 0026B948 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EA0C 0026B94C 7C 08 02 A6 */ mflr r0 -/* 8026EA10 0026B950 3C A0 80 48 */ lis r5, lbl_80486518@ha -/* 8026EA14 0026B954 3C 80 80 4F */ lis r4, __vt__5CNode@ha -/* 8026EA18 0026B958 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EA1C 0026B95C 38 04 B5 28 */ addi r0, r4, __vt__5CNode@l -/* 8026EA20 0026B960 3C 80 3F 3F */ lis r4, 0x3F3F3F3F@ha -/* 8026EA24 0026B964 38 C0 00 00 */ li r6, 0 -/* 8026EA28 0026B968 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EA2C 0026B96C 7C 7F 1B 78 */ mr r31, r3 -/* 8026EA30 0026B970 38 A5 65 18 */ addi r5, r5, lbl_80486518@l -/* 8026EA34 0026B974 38 84 3F 3F */ addi r4, r4, 0x3F3F3F3F@l -/* 8026EA38 0026B978 90 03 00 00 */ stw r0, 0(r3) -/* 8026EA3C 0026B97C 3C 60 80 4B */ lis r3, __vt__Q24Game18EnemyGeneratorBase@ha -/* 8026EA40 0026B980 38 03 DB B0 */ addi r0, r3, __vt__Q24Game18EnemyGeneratorBase@l -/* 8026EA44 0026B984 7F E7 FB 78 */ mr r7, r31 -/* 8026EA48 0026B988 90 DF 00 10 */ stw r6, 0x10(r31) -/* 8026EA4C 0026B98C 38 67 00 18 */ addi r3, r7, 0x18 -/* 8026EA50 0026B990 90 DF 00 0C */ stw r6, 0xc(r31) -/* 8026EA54 0026B994 90 DF 00 08 */ stw r6, 8(r31) -/* 8026EA58 0026B998 90 DF 00 04 */ stw r6, 4(r31) -/* 8026EA5C 0026B99C 90 BF 00 14 */ stw r5, 0x14(r31) -/* 8026EA60 0026B9A0 90 1F 00 00 */ stw r0, 0(r31) -/* 8026EA64 0026B9A4 48 1A 48 45 */ bl __ct__4ID32FUl -/* 8026EA68 0026B9A8 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba9Generator@ha -/* 8026EA6C 0026B9AC C0 02 CD 60 */ lfs f0, lbl_8051B0C0@sda21(r2) -/* 8026EA70 0026B9B0 38 03 5F 04 */ addi r0, r3, __vt__Q34Game8ElecHiba9Generator@l -/* 8026EA74 0026B9B4 7F E3 FB 78 */ mr r3, r31 -/* 8026EA78 0026B9B8 90 1F 00 00 */ stw r0, 0(r31) -/* 8026EA7C 0026B9BC D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8026EA80 0026B9C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EA84 0026B9C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EA88 0026B9C8 7C 08 03 A6 */ mtlr r0 -/* 8026EA8C 0026B9CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EA90 0026B9D0 4E 80 00 20 */ blr - -.global getLatestVersion__Q34Game8ElecHiba9GeneratorFv -getLatestVersion__Q34Game8ElecHiba9GeneratorFv: -/* 8026EA94 0026B9D4 3C 60 30 30 */ lis r3, 0x30303030@ha -/* 8026EA98 0026B9D8 38 63 30 30 */ addi r3, r3, 0x30303030@l -/* 8026EA9C 0026B9DC 4E 80 00 20 */ blr - -.global doRead__Q34Game8ElecHiba9GeneratorFR6Stream -doRead__Q34Game8ElecHiba9GeneratorFR6Stream: -/* 8026EAA0 0026B9E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EAA4 0026B9E4 7C 08 02 A6 */ mflr r0 -/* 8026EAA8 0026B9E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EAAC 0026B9EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EAB0 0026B9F0 7C 9F 23 78 */ mr r31, r4 -/* 8026EAB4 0026B9F4 93 C1 00 08 */ stw r30, 8(r1) -/* 8026EAB8 0026B9F8 7C 7E 1B 78 */ mr r30, r3 -/* 8026EABC 0026B9FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8026EAC0 0026BA00 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026EAC4 0026BA04 7D 89 03 A6 */ mtctr r12 -/* 8026EAC8 0026BA08 4E 80 04 21 */ bctrl -/* 8026EACC 0026BA0C 7C 64 1B 78 */ mr r4, r3 -/* 8026EAD0 0026BA10 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8026EAD4 0026BA14 48 1A 49 61 */ bl __eq__4ID32FUl -/* 8026EAD8 0026BA18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026EADC 0026BA1C 41 82 00 14 */ beq lbl_8026EAF0 -/* 8026EAE0 0026BA20 7F C3 F3 78 */ mr r3, r30 -/* 8026EAE4 0026BA24 7F E4 FB 78 */ mr r4, r31 -/* 8026EAE8 0026BA28 48 00 00 8D */ bl doReadLatestVersion__Q34Game8ElecHiba9GeneratorFR6Stream -/* 8026EAEC 0026BA2C 48 00 00 10 */ b lbl_8026EAFC -lbl_8026EAF0: -/* 8026EAF0 0026BA30 7F C3 F3 78 */ mr r3, r30 -/* 8026EAF4 0026BA34 7F E4 FB 78 */ mr r4, r31 -/* 8026EAF8 0026BA38 48 00 00 B1 */ bl doReadOldVersion__Q34Game8ElecHiba9GeneratorFR6Stream -lbl_8026EAFC: -/* 8026EAFC 0026BA3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EB00 0026BA40 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EB04 0026BA44 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026EB08 0026BA48 7C 08 03 A6 */ mtlr r0 -/* 8026EB0C 0026BA4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EB10 0026BA50 4E 80 00 20 */ blr - -.global doWrite__Q34Game8ElecHiba9GeneratorFR6Stream -doWrite__Q34Game8ElecHiba9GeneratorFR6Stream: -/* 8026EB14 0026BA54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EB18 0026BA58 7C 08 02 A6 */ mflr r0 -/* 8026EB1C 0026BA5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EB20 0026BA60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EB24 0026BA64 7C 9F 23 78 */ mr r31, r4 -/* 8026EB28 0026BA68 93 C1 00 08 */ stw r30, 8(r1) -/* 8026EB2C 0026BA6C 7C 7E 1B 78 */ mr r30, r3 -/* 8026EB30 0026BA70 7F E3 FB 78 */ mr r3, r31 -/* 8026EB34 0026BA74 80 84 04 14 */ lwz r4, 0x414(r4) -/* 8026EB38 0026BA78 48 1A 58 FD */ bl textWriteTab__6StreamFi -/* 8026EB3C 0026BA7C C0 3E 00 24 */ lfs f1, 0x24(r30) -/* 8026EB40 0026BA80 7F E3 FB 78 */ mr r3, r31 -/* 8026EB44 0026BA84 48 1A 6D 05 */ bl writeFloat__6StreamFf -/* 8026EB48 0026BA88 3C 80 80 48 */ lis r4, lbl_80486530@ha -/* 8026EB4C 0026BA8C 7F E3 FB 78 */ mr r3, r31 -/* 8026EB50 0026BA90 38 84 65 30 */ addi r4, r4, lbl_80486530@l -/* 8026EB54 0026BA94 4C C6 31 82 */ crclr 6 -/* 8026EB58 0026BA98 48 1A 56 85 */ bl textWriteText__6StreamFPce -/* 8026EB5C 0026BA9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EB60 0026BAA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EB64 0026BAA4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026EB68 0026BAA8 7C 08 03 A6 */ mtlr r0 -/* 8026EB6C 0026BAAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EB70 0026BAB0 4E 80 00 20 */ blr - -.global doReadLatestVersion__Q34Game8ElecHiba9GeneratorFR6Stream -doReadLatestVersion__Q34Game8ElecHiba9GeneratorFR6Stream: -/* 8026EB74 0026BAB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EB78 0026BAB8 7C 08 02 A6 */ mflr r0 -/* 8026EB7C 0026BABC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EB80 0026BAC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EB84 0026BAC4 7C 7F 1B 78 */ mr r31, r3 -/* 8026EB88 0026BAC8 7C 83 23 78 */ mr r3, r4 -/* 8026EB8C 0026BACC 48 1A 62 21 */ bl readFloat__6StreamFv -/* 8026EB90 0026BAD0 D0 3F 00 24 */ stfs f1, 0x24(r31) -/* 8026EB94 0026BAD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EB98 0026BAD8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EB9C 0026BADC 7C 08 03 A6 */ mtlr r0 -/* 8026EBA0 0026BAE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EBA4 0026BAE4 4E 80 00 20 */ blr - -.global doReadOldVersion__Q34Game8ElecHiba9GeneratorFR6Stream -doReadOldVersion__Q34Game8ElecHiba9GeneratorFR6Stream: -/* 8026EBA8 0026BAE8 4E 80 00 20 */ blr - -.global __ct__Q34Game8ElecHiba3MgrFiUc -__ct__Q34Game8ElecHiba3MgrFiUc: -/* 8026EBAC 0026BAEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EBB0 0026BAF0 7C 08 02 A6 */ mflr r0 -/* 8026EBB4 0026BAF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EBB8 0026BAF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EBBC 0026BAFC 7C 7F 1B 78 */ mr r31, r3 -/* 8026EBC0 0026BB00 4B EC 00 D5 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8026EBC4 0026BB04 3C 60 80 4C */ lis r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@ha -/* 8026EBC8 0026BB08 3C 80 80 4C */ lis r4, __vt__Q34Game8ElecHiba3Mgr@ha -/* 8026EBCC 0026BB0C 38 A3 53 D4 */ addi r5, r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@l -/* 8026EBD0 0026BB10 3C 60 80 48 */ lis r3, lbl_80486540@ha -/* 8026EBD4 0026BB14 90 BF 00 00 */ stw r5, 0(r31) -/* 8026EBD8 0026BB18 38 C5 00 38 */ addi r6, r5, 0x38 -/* 8026EBDC 0026BB1C 38 A4 5E 08 */ addi r5, r4, __vt__Q34Game8ElecHiba3Mgr@l -/* 8026EBE0 0026BB20 38 03 65 40 */ addi r0, r3, lbl_80486540@l -/* 8026EBE4 0026BB24 90 DF 00 04 */ stw r6, 4(r31) -/* 8026EBE8 0026BB28 38 85 00 38 */ addi r4, r5, 0x38 -/* 8026EBEC 0026BB2C 7F E3 FB 78 */ mr r3, r31 -/* 8026EBF0 0026BB30 90 BF 00 00 */ stw r5, 0(r31) -/* 8026EBF4 0026BB34 90 9F 00 04 */ stw r4, 4(r31) -/* 8026EBF8 0026BB38 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8026EBFC 0026BB3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EC00 0026BB40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EC04 0026BB44 7C 08 03 A6 */ mtlr r0 -/* 8026EC08 0026BB48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EC0C 0026BB4C 4E 80 00 20 */ blr - -.global doAlloc__Q34Game8ElecHiba3MgrFv -doAlloc__Q34Game8ElecHiba3MgrFv: -/* 8026EC10 0026BB50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EC14 0026BB54 7C 08 02 A6 */ mflr r0 -/* 8026EC18 0026BB58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EC1C 0026BB5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EC20 0026BB60 7C 7F 1B 78 */ mr r31, r3 -/* 8026EC24 0026BB64 38 60 08 F8 */ li r3, 0x8f8 -/* 8026EC28 0026BB68 4B DB 52 7D */ bl __nw__FUl -/* 8026EC2C 0026BB6C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026EC30 0026BB70 41 82 00 0C */ beq lbl_8026EC3C -/* 8026EC34 0026BB74 48 00 00 25 */ bl __ct__Q34Game8ElecHiba5ParmsFv -/* 8026EC38 0026BB78 7C 64 1B 78 */ mr r4, r3 -lbl_8026EC3C: -/* 8026EC3C 0026BB7C 7F E3 FB 78 */ mr r3, r31 -/* 8026EC40 0026BB80 4B EC 0C 5D */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8026EC44 0026BB84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EC48 0026BB88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EC4C 0026BB8C 7C 08 03 A6 */ mtlr r0 -/* 8026EC50 0026BB90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EC54 0026BB94 4E 80 00 20 */ blr - -.global __ct__Q34Game8ElecHiba5ParmsFv -__ct__Q34Game8ElecHiba5ParmsFv: -/* 8026EC58 0026BB98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EC5C 0026BB9C 7C 08 02 A6 */ mflr r0 -/* 8026EC60 0026BBA0 3C 80 80 48 */ lis r4, lbl_80486508@ha -/* 8026EC64 0026BBA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EC68 0026BBA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EC6C 0026BBAC 3B E4 65 08 */ addi r31, r4, lbl_80486508@l -/* 8026EC70 0026BBB0 93 C1 00 08 */ stw r30, 8(r1) -/* 8026EC74 0026BBB4 7C 7E 1B 78 */ mr r30, r3 -/* 8026EC78 0026BBB8 4B E9 AB 25 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8026EC7C 0026BBBC 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba5Parms@ha -/* 8026EC80 0026BBC0 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 8026EC84 0026BBC4 38 03 5E F8 */ addi r0, r3, __vt__Q34Game8ElecHiba5Parms@l -/* 8026EC88 0026BBC8 38 9E 08 F4 */ addi r4, r30, 0x8f4 -/* 8026EC8C 0026BBCC 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 8026EC90 0026BBD0 38 E0 00 00 */ li r7, 0 -/* 8026EC94 0026BBD4 38 1F 00 4C */ addi r0, r31, 0x4c -/* 8026EC98 0026BBD8 38 7E 08 04 */ addi r3, r30, 0x804 -/* 8026EC9C 0026BBDC 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 8026ECA0 0026BBE0 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026ECA4 0026BBE4 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 8026ECA8 0026BBE8 38 DF 00 5C */ addi r6, r31, 0x5c -/* 8026ECAC 0026BBEC 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 8026ECB0 0026BBF0 90 1E 08 00 */ stw r0, 0x800(r30) -/* 8026ECB4 0026BBF4 48 1A 49 A5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026ECB8 0026BBF8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026ECBC 0026BBFC 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 8026ECC0 0026BC00 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026ECC4 0026BC04 C0 02 CD 64 */ lfs f0, lbl_8051B0C4@sda21(r2) -/* 8026ECC8 0026BC08 90 1E 08 04 */ stw r0, 0x804(r30) -/* 8026ECCC 0026BC0C 38 7E 08 2C */ addi r3, r30, 0x82c -/* 8026ECD0 0026BC10 C0 22 CD 68 */ lfs f1, lbl_8051B0C8@sda21(r2) -/* 8026ECD4 0026BC14 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026ECD8 0026BC18 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 8026ECDC 0026BC1C 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 8026ECE0 0026BC20 C0 02 CD 60 */ lfs f0, lbl_8051B0C0@sda21(r2) -/* 8026ECE4 0026BC24 38 DF 00 6C */ addi r6, r31, 0x6c -/* 8026ECE8 0026BC28 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 8026ECEC 0026BC2C D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 8026ECF0 0026BC30 48 1A 49 69 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026ECF4 0026BC34 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026ECF8 0026BC38 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8026ECFC 0026BC3C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026ED00 0026BC40 C0 02 CD 64 */ lfs f0, lbl_8051B0C4@sda21(r2) -/* 8026ED04 0026BC44 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 8026ED08 0026BC48 38 7E 08 54 */ addi r3, r30, 0x854 -/* 8026ED0C 0026BC4C C0 22 CD 68 */ lfs f1, lbl_8051B0C8@sda21(r2) -/* 8026ED10 0026BC50 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026ED14 0026BC54 D0 1E 08 44 */ stfs f0, 0x844(r30) -/* 8026ED18 0026BC58 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 8026ED1C 0026BC5C C0 02 CD 60 */ lfs f0, lbl_8051B0C0@sda21(r2) -/* 8026ED20 0026BC60 38 DF 00 78 */ addi r6, r31, 0x78 -/* 8026ED24 0026BC64 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 8026ED28 0026BC68 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 8026ED2C 0026BC6C 48 1A 49 2D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026ED30 0026BC70 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026ED34 0026BC74 3C A0 66 70 */ lis r5, 0x66703034@ha -/* 8026ED38 0026BC78 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026ED3C 0026BC7C C0 02 CD 64 */ lfs f0, lbl_8051B0C4@sda21(r2) -/* 8026ED40 0026BC80 90 1E 08 54 */ stw r0, 0x854(r30) -/* 8026ED44 0026BC84 38 7E 08 7C */ addi r3, r30, 0x87c -/* 8026ED48 0026BC88 C0 22 CD 68 */ lfs f1, lbl_8051B0C8@sda21(r2) -/* 8026ED4C 0026BC8C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026ED50 0026BC90 D0 1E 08 6C */ stfs f0, 0x86c(r30) -/* 8026ED54 0026BC94 38 A5 30 34 */ addi r5, r5, 0x66703034@l -/* 8026ED58 0026BC98 C0 02 CD 60 */ lfs f0, lbl_8051B0C0@sda21(r2) -/* 8026ED5C 0026BC9C 38 DF 00 84 */ addi r6, r31, 0x84 -/* 8026ED60 0026BCA0 D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 8026ED64 0026BCA4 D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 8026ED68 0026BCA8 48 1A 48 F1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026ED6C 0026BCAC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026ED70 0026BCB0 3C A0 66 70 */ lis r5, 0x66703930@ha -/* 8026ED74 0026BCB4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026ED78 0026BCB8 C0 02 CD 6C */ lfs f0, lbl_8051B0CC@sda21(r2) -/* 8026ED7C 0026BCBC 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 8026ED80 0026BCC0 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 8026ED84 0026BCC4 C0 22 CD 68 */ lfs f1, lbl_8051B0C8@sda21(r2) -/* 8026ED88 0026BCC8 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026ED8C 0026BCCC D0 1E 08 94 */ stfs f0, 0x894(r30) -/* 8026ED90 0026BCD0 38 A5 39 30 */ addi r5, r5, 0x66703930@l -/* 8026ED94 0026BCD4 C0 02 CD 60 */ lfs f0, lbl_8051B0C0@sda21(r2) -/* 8026ED98 0026BCD8 38 DF 00 90 */ addi r6, r31, 0x90 -/* 8026ED9C 0026BCDC D0 3E 08 9C */ stfs f1, 0x89c(r30) -/* 8026EDA0 0026BCE0 D0 1E 08 A0 */ stfs f0, 0x8a0(r30) -/* 8026EDA4 0026BCE4 48 1A 48 B5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026EDA8 0026BCE8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026EDAC 0026BCEC 3C A0 66 70 */ lis r5, 0x66703931@ha -/* 8026EDB0 0026BCF0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026EDB4 0026BCF4 C0 02 CD 70 */ lfs f0, lbl_8051B0D0@sda21(r2) -/* 8026EDB8 0026BCF8 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 8026EDBC 0026BCFC 38 7E 08 CC */ addi r3, r30, 0x8cc -/* 8026EDC0 0026BD00 C0 22 CD 68 */ lfs f1, lbl_8051B0C8@sda21(r2) -/* 8026EDC4 0026BD04 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8026EDC8 0026BD08 D0 1E 08 BC */ stfs f0, 0x8bc(r30) -/* 8026EDCC 0026BD0C 38 A5 39 31 */ addi r5, r5, 0x66703931@l -/* 8026EDD0 0026BD10 C0 02 CD 74 */ lfs f0, lbl_8051B0D4@sda21(r2) -/* 8026EDD4 0026BD14 38 DF 00 9C */ addi r6, r31, 0x9c -/* 8026EDD8 0026BD18 D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 8026EDDC 0026BD1C D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -/* 8026EDE0 0026BD20 48 1A 48 79 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8026EDE4 0026BD24 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8026EDE8 0026BD28 C0 42 CD 78 */ lfs f2, lbl_8051B0D8@sda21(r2) -/* 8026EDEC 0026BD2C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8026EDF0 0026BD30 C0 22 CD 68 */ lfs f1, lbl_8051B0C8@sda21(r2) -/* 8026EDF4 0026BD34 90 1E 08 CC */ stw r0, 0x8cc(r30) -/* 8026EDF8 0026BD38 7F C3 F3 78 */ mr r3, r30 -/* 8026EDFC 0026BD3C C0 02 CD 74 */ lfs f0, lbl_8051B0D4@sda21(r2) -/* 8026EE00 0026BD40 D0 5E 08 E4 */ stfs f2, 0x8e4(r30) -/* 8026EE04 0026BD44 D0 3E 08 EC */ stfs f1, 0x8ec(r30) -/* 8026EE08 0026BD48 D0 1E 08 F0 */ stfs f0, 0x8f0(r30) -/* 8026EE0C 0026BD4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EE10 0026BD50 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026EE14 0026BD54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EE18 0026BD58 7C 08 03 A6 */ mtlr r0 -/* 8026EE1C 0026BD5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EE20 0026BD60 4E 80 00 20 */ blr - -.global createObj__Q34Game8ElecHiba3MgrFi -createObj__Q34Game8ElecHiba3MgrFi: -/* 8026EE24 0026BD64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EE28 0026BD68 7C 08 02 A6 */ mflr r0 -/* 8026EE2C 0026BD6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EE30 0026BD70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EE34 0026BD74 7C 9F 23 78 */ mr r31, r4 -/* 8026EE38 0026BD78 93 C1 00 08 */ stw r30, 8(r1) -/* 8026EE3C 0026BD7C 7C 7E 1B 78 */ mr r30, r3 -/* 8026EE40 0026BD80 1C 7F 03 14 */ mulli r3, r31, 0x314 -/* 8026EE44 0026BD84 38 63 00 10 */ addi r3, r3, 0x10 -/* 8026EE48 0026BD88 4B DB 51 65 */ bl __nwa__FUl -/* 8026EE4C 0026BD8C 3C 80 80 27 */ lis r4, __ct__Q34Game8ElecHiba3ObjFv@ha -/* 8026EE50 0026BD90 3C A0 80 27 */ lis r5, __dt__Q34Game8ElecHiba3ObjFv@ha -/* 8026EE54 0026BD94 38 84 F2 58 */ addi r4, r4, __ct__Q34Game8ElecHiba3ObjFv@l -/* 8026EE58 0026BD98 7F E7 FB 78 */ mr r7, r31 -/* 8026EE5C 0026BD9C 38 A5 EE 84 */ addi r5, r5, __dt__Q34Game8ElecHiba3ObjFv@l -/* 8026EE60 0026BDA0 38 C0 03 14 */ li r6, 0x314 -/* 8026EE64 0026BDA4 4B E5 2B 8D */ bl __construct_new_array -/* 8026EE68 0026BDA8 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8026EE6C 0026BDAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EE70 0026BDB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EE74 0026BDB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026EE78 0026BDB8 7C 08 03 A6 */ mtlr r0 -/* 8026EE7C 0026BDBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EE80 0026BDC0 4E 80 00 20 */ blr - -.global __dt__Q34Game8ElecHiba3ObjFv -__dt__Q34Game8ElecHiba3ObjFv: -/* 8026EE84 0026BDC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026EE88 0026BDC8 7C 08 02 A6 */ mflr r0 -/* 8026EE8C 0026BDCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026EE90 0026BDD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026EE94 0026BDD4 7C 9F 23 78 */ mr r31, r4 -/* 8026EE98 0026BDD8 93 C1 00 08 */ stw r30, 8(r1) -/* 8026EE9C 0026BDDC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026EEA0 0026BDE0 41 82 00 A8 */ beq lbl_8026EF48 -/* 8026EEA4 0026BDE4 3C 80 80 4C */ lis r4, __vt__Q34Game8ElecHiba3Obj@ha -/* 8026EEA8 0026BDE8 38 7E 03 04 */ addi r3, r30, 0x304 -/* 8026EEAC 0026BDEC 38 A4 5F 9C */ addi r5, r4, __vt__Q34Game8ElecHiba3Obj@l -/* 8026EEB0 0026BDF0 34 1E 02 C8 */ addic. r0, r30, 0x2c8 -/* 8026EEB4 0026BDF4 90 BE 00 00 */ stw r5, 0(r30) -/* 8026EEB8 0026BDF8 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8026EEBC 0026BDFC 38 05 02 FC */ addi r0, r5, 0x2fc -/* 8026EEC0 0026BE00 90 9E 01 78 */ stw r4, 0x178(r30) -/* 8026EEC4 0026BE04 80 9E 01 7C */ lwz r4, 0x17c(r30) -/* 8026EEC8 0026BE08 90 04 00 00 */ stw r0, 0(r4) -/* 8026EECC 0026BE0C 80 9E 01 7C */ lwz r4, 0x17c(r30) -/* 8026EED0 0026BE10 7C 04 18 50 */ subf r0, r4, r3 -/* 8026EED4 0026BE14 90 04 00 0C */ stw r0, 0xc(r4) -/* 8026EED8 0026BE18 41 82 00 1C */ beq lbl_8026EEF4 -/* 8026EEDC 0026BE1C 3C 80 80 4C */ lis r4, __vt__Q34Game8ElecHiba8TeamList@ha -/* 8026EEE0 0026BE20 38 7E 02 C8 */ addi r3, r30, 0x2c8 -/* 8026EEE4 0026BE24 38 04 5E E8 */ addi r0, r4, __vt__Q34Game8ElecHiba8TeamList@l -/* 8026EEE8 0026BE28 38 80 00 00 */ li r4, 0 -/* 8026EEEC 0026BE2C 90 1E 02 C8 */ stw r0, 0x2c8(r30) -/* 8026EEF0 0026BE30 48 1A 26 99 */ bl __dt__5CNodeFv -lbl_8026EEF4: -/* 8026EEF4 0026BE34 28 1E 00 00 */ cmplwi r30, 0 -/* 8026EEF8 0026BE38 41 82 00 40 */ beq lbl_8026EF38 -/* 8026EEFC 0026BE3C 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8026EF00 0026BE40 38 1E 02 BC */ addi r0, r30, 0x2bc -/* 8026EF04 0026BE44 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8026EF08 0026BE48 38 7E 02 90 */ addi r3, r30, 0x290 -/* 8026EF0C 0026BE4C 90 9E 00 00 */ stw r4, 0(r30) -/* 8026EF10 0026BE50 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8026EF14 0026BE54 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8026EF18 0026BE58 38 80 FF FF */ li r4, -1 -/* 8026EF1C 0026BE5C 90 BE 01 78 */ stw r5, 0x178(r30) -/* 8026EF20 0026BE60 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8026EF24 0026BE64 90 C5 00 00 */ stw r6, 0(r5) -/* 8026EF28 0026BE68 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8026EF2C 0026BE6C 7C 05 00 50 */ subf r0, r5, r0 -/* 8026EF30 0026BE70 90 05 00 0C */ stw r0, 0xc(r5) -/* 8026EF34 0026BE74 48 1A 26 55 */ bl __dt__5CNodeFv -lbl_8026EF38: -/* 8026EF38 0026BE78 7F E0 07 35 */ extsh. r0, r31 -/* 8026EF3C 0026BE7C 40 81 00 0C */ ble lbl_8026EF48 -/* 8026EF40 0026BE80 7F C3 F3 78 */ mr r3, r30 -/* 8026EF44 0026BE84 4B DB 51 71 */ bl __dl__FPv -lbl_8026EF48: -/* 8026EF48 0026BE88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026EF4C 0026BE8C 7F C3 F3 78 */ mr r3, r30 -/* 8026EF50 0026BE90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026EF54 0026BE94 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026EF58 0026BE98 7C 08 03 A6 */ mtlr r0 -/* 8026EF5C 0026BE9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026EF60 0026BEA0 4E 80 00 20 */ blr - -.global getEnemy__Q34Game8ElecHiba3MgrFi -getEnemy__Q34Game8ElecHiba3MgrFi: -/* 8026EF64 0026BEA4 1C 04 03 14 */ mulli r0, r4, 0x314 -/* 8026EF68 0026BEA8 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8026EF6C 0026BEAC 7C 63 02 14 */ add r3, r3, r0 -/* 8026EF70 0026BEB0 4E 80 00 20 */ blr - -.global birth__Q34Game8ElecHiba3MgrFRQ24Game13EnemyBirthArg -birth__Q34Game8ElecHiba3MgrFRQ24Game13EnemyBirthArg: -/* 8026EF74 0026BEB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026EF78 0026BEB8 7C 08 02 A6 */ mflr r0 -/* 8026EF7C 0026BEBC C0 02 CD 60 */ lfs f0, lbl_8051B0C0@sda21(r2) -/* 8026EF80 0026BEC0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026EF84 0026BEC4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026EF88 0026BEC8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026EF8C 0026BECC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8026EF90 0026BED0 7C 7D 1B 78 */ mr r29, r3 -/* 8026EF94 0026BED4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8026EF98 0026BED8 7C 9C 23 78 */ mr r28, r4 -/* 8026EF9C 0026BEDC D0 01 00 08 */ stfs f0, 8(r1) -/* 8026EFA0 0026BEE0 4B EC 04 29 */ bl birth__Q24Game12EnemyMgrBaseFRQ24Game13EnemyBirthArg -/* 8026EFA4 0026BEE4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026EFA8 0026BEE8 41 82 00 8C */ beq lbl_8026F034 -/* 8026EFAC 0026BEEC C0 1C 00 00 */ lfs f0, 0(r28) -/* 8026EFB0 0026BEF0 38 81 00 08 */ addi r4, r1, 8 -/* 8026EFB4 0026BEF4 C0 22 CD 74 */ lfs f1, lbl_8051B0D4@sda21(r2) -/* 8026EFB8 0026BEF8 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) -/* 8026EFBC 0026BEFC C0 1C 00 04 */ lfs f0, 4(r28) -/* 8026EFC0 0026BF00 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) -/* 8026EFC4 0026BF04 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8026EFC8 0026BF08 D0 1E 02 EC */ stfs f0, 0x2ec(r30) -/* 8026EFCC 0026BF0C 48 00 09 89 */ bl setElecHibaPosition__Q34Game8ElecHiba3ObjFPQ34Game8ElecHiba12InitialParamf -/* 8026EFD0 0026BF10 7F C3 F3 78 */ mr r3, r30 -/* 8026EFD4 0026BF14 3B FE 02 C8 */ addi r31, r30, 0x2c8 -/* 8026EFD8 0026BF18 38 80 00 01 */ li r4, 1 -/* 8026EFDC 0026BF1C 48 00 11 85 */ bl createEffect__Q34Game8ElecHiba3ObjFb -/* 8026EFE0 0026BF20 7F A3 EB 78 */ mr r3, r29 -/* 8026EFE4 0026BF24 7F 84 E3 78 */ mr r4, r28 -/* 8026EFE8 0026BF28 4B EC 03 E1 */ bl birth__Q24Game12EnemyMgrBaseFRQ24Game13EnemyBirthArg -/* 8026EFEC 0026BF2C 7C 60 1B 79 */ or. r0, r3, r3 -/* 8026EFF0 0026BF30 41 82 00 44 */ beq lbl_8026F034 -/* 8026EFF4 0026BF34 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8026EFF8 0026BF38 7C 1D 03 78 */ mr r29, r0 -/* 8026EFFC 0026BF3C C0 22 CD 7C */ lfs f1, lbl_8051B0DC@sda21(r2) -/* 8026F000 0026BF40 38 81 00 08 */ addi r4, r1, 8 -/* 8026F004 0026BF44 D0 1D 02 E4 */ stfs f0, 0x2e4(r29) -/* 8026F008 0026BF48 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8026F00C 0026BF4C D0 1D 02 E8 */ stfs f0, 0x2e8(r29) -/* 8026F010 0026BF50 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8026F014 0026BF54 D0 1D 02 EC */ stfs f0, 0x2ec(r29) -/* 8026F018 0026BF58 48 00 09 3D */ bl setElecHibaPosition__Q34Game8ElecHiba3ObjFPQ34Game8ElecHiba12InitialParamf -/* 8026F01C 0026BF5C 7F A3 EB 78 */ mr r3, r29 -/* 8026F020 0026BF60 38 80 00 00 */ li r4, 0 -/* 8026F024 0026BF64 48 00 11 3D */ bl createEffect__Q34Game8ElecHiba3ObjFb -/* 8026F028 0026BF68 7F E3 FB 78 */ mr r3, r31 -/* 8026F02C 0026BF6C 38 9D 02 C8 */ addi r4, r29, 0x2c8 -/* 8026F030 0026BF70 48 1A 23 D9 */ bl add__5CNodeFP5CNode -lbl_8026F034: -/* 8026F034 0026BF74 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026F038 0026BF78 7F C3 F3 78 */ mr r3, r30 -/* 8026F03C 0026BF7C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026F040 0026BF80 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026F044 0026BF84 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8026F048 0026BF88 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8026F04C 0026BF8C 7C 08 03 A6 */ mtlr r0 -/* 8026F050 0026BF90 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026F054 0026BF94 4E 80 00 20 */ blr - -.global __dt__Q34Game8ElecHiba3MgrFv -__dt__Q34Game8ElecHiba3MgrFv: -/* 8026F058 0026BF98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F05C 0026BF9C 7C 08 02 A6 */ mflr r0 -/* 8026F060 0026BFA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F064 0026BFA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026F068 0026BFA8 7C 9F 23 78 */ mr r31, r4 -/* 8026F06C 0026BFAC 93 C1 00 08 */ stw r30, 8(r1) -/* 8026F070 0026BFB0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026F074 0026BFB4 41 82 00 90 */ beq lbl_8026F104 -/* 8026F078 0026BFB8 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba3Mgr@ha -/* 8026F07C 0026BFBC 38 63 5E 08 */ addi r3, r3, __vt__Q34Game8ElecHiba3Mgr@l -/* 8026F080 0026BFC0 90 7E 00 00 */ stw r3, 0(r30) -/* 8026F084 0026BFC4 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026F088 0026BFC8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026F08C 0026BFCC 41 82 00 68 */ beq lbl_8026F0F4 -/* 8026F090 0026BFD0 3C 60 80 4C */ lis r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@ha -/* 8026F094 0026BFD4 38 63 53 D4 */ addi r3, r3, __vt__Q24Game28EnemyMgrBaseAlwaysMovieActor@l -/* 8026F098 0026BFD8 90 7E 00 00 */ stw r3, 0(r30) -/* 8026F09C 0026BFDC 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026F0A0 0026BFE0 90 1E 00 04 */ stw r0, 4(r30) -/* 8026F0A4 0026BFE4 41 82 00 50 */ beq lbl_8026F0F4 -/* 8026F0A8 0026BFE8 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8026F0AC 0026BFEC 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8026F0B0 0026BFF0 90 7E 00 00 */ stw r3, 0(r30) -/* 8026F0B4 0026BFF4 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026F0B8 0026BFF8 90 1E 00 04 */ stw r0, 4(r30) -/* 8026F0BC 0026BFFC 41 82 00 38 */ beq lbl_8026F0F4 -/* 8026F0C0 0026C000 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8026F0C4 0026C004 34 1E 00 04 */ addic. r0, r30, 4 -/* 8026F0C8 0026C008 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8026F0CC 0026C00C 90 7E 00 00 */ stw r3, 0(r30) -/* 8026F0D0 0026C010 38 03 00 38 */ addi r0, r3, 0x38 -/* 8026F0D4 0026C014 90 1E 00 04 */ stw r0, 4(r30) -/* 8026F0D8 0026C018 41 82 00 1C */ beq lbl_8026F0F4 -/* 8026F0DC 0026C01C 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8026F0E0 0026C020 38 7E 00 04 */ addi r3, r30, 4 -/* 8026F0E4 0026C024 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8026F0E8 0026C028 38 80 00 00 */ li r4, 0 -/* 8026F0EC 0026C02C 90 1E 00 04 */ stw r0, 4(r30) -/* 8026F0F0 0026C030 48 1A 24 99 */ bl __dt__5CNodeFv -lbl_8026F0F4: -/* 8026F0F4 0026C034 7F E0 07 35 */ extsh. r0, r31 -/* 8026F0F8 0026C038 40 81 00 0C */ ble lbl_8026F104 -/* 8026F0FC 0026C03C 7F C3 F3 78 */ mr r3, r30 -/* 8026F100 0026C040 4B DB 4F B5 */ bl __dl__FPv -lbl_8026F104: -/* 8026F104 0026C044 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F108 0026C048 7F C3 F3 78 */ mr r3, r30 -/* 8026F10C 0026C04C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026F110 0026C050 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026F114 0026C054 7C 08 03 A6 */ mtlr r0 -/* 8026F118 0026C058 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F11C 0026C05C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game8ElecHiba3MgrFv -getEnemyTypeID__Q34Game8ElecHiba3MgrFv: -/* 8026F120 0026C060 38 60 00 16 */ li r3, 0x16 -/* 8026F124 0026C064 4E 80 00 20 */ blr - -.global __dt__Q34Game8ElecHiba8TeamListFv -__dt__Q34Game8ElecHiba8TeamListFv: -/* 8026F128 0026C068 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F12C 0026C06C 7C 08 02 A6 */ mflr r0 -/* 8026F130 0026C070 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F134 0026C074 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026F138 0026C078 7C 9F 23 78 */ mr r31, r4 -/* 8026F13C 0026C07C 93 C1 00 08 */ stw r30, 8(r1) -/* 8026F140 0026C080 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026F144 0026C084 41 82 00 28 */ beq lbl_8026F16C -/* 8026F148 0026C088 3C A0 80 4C */ lis r5, __vt__Q34Game8ElecHiba8TeamList@ha -/* 8026F14C 0026C08C 38 80 00 00 */ li r4, 0 -/* 8026F150 0026C090 38 05 5E E8 */ addi r0, r5, __vt__Q34Game8ElecHiba8TeamList@l -/* 8026F154 0026C094 90 1E 00 00 */ stw r0, 0(r30) -/* 8026F158 0026C098 48 1A 24 31 */ bl __dt__5CNodeFv -/* 8026F15C 0026C09C 7F E0 07 35 */ extsh. r0, r31 -/* 8026F160 0026C0A0 40 81 00 0C */ ble lbl_8026F16C -/* 8026F164 0026C0A4 7F C3 F3 78 */ mr r3, r30 -/* 8026F168 0026C0A8 4B DB 4F 4D */ bl __dl__FPv -lbl_8026F16C: -/* 8026F16C 0026C0AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F170 0026C0B0 7F C3 F3 78 */ mr r3, r30 -/* 8026F174 0026C0B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026F178 0026C0B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026F17C 0026C0BC 7C 08 03 A6 */ mtlr r0 -/* 8026F180 0026C0C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F184 0026C0C4 4E 80 00 20 */ blr - -.global read__Q34Game8ElecHiba5ParmsFR6Stream -read__Q34Game8ElecHiba5ParmsFR6Stream: -/* 8026F188 0026C0C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F18C 0026C0CC 7C 08 02 A6 */ mflr r0 -/* 8026F190 0026C0D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F194 0026C0D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026F198 0026C0D8 7C 9F 23 78 */ mr r31, r4 -/* 8026F19C 0026C0DC 93 C1 00 08 */ stw r30, 8(r1) -/* 8026F1A0 0026C0E0 7C 7E 1B 78 */ mr r30, r3 -/* 8026F1A4 0026C0E4 48 1A 46 51 */ bl read__10ParametersFR6Stream -/* 8026F1A8 0026C0E8 7F E4 FB 78 */ mr r4, r31 -/* 8026F1AC 0026C0EC 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8026F1B0 0026C0F0 48 1A 46 45 */ bl read__10ParametersFR6Stream -/* 8026F1B4 0026C0F4 7F E4 FB 78 */ mr r4, r31 -/* 8026F1B8 0026C0F8 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8026F1BC 0026C0FC 48 1A 46 39 */ bl read__10ParametersFR6Stream -/* 8026F1C0 0026C100 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F1C4 0026C104 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026F1C8 0026C108 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026F1CC 0026C10C 7C 08 03 A6 */ mtlr r0 -/* 8026F1D0 0026C110 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F1D4 0026C114 4E 80 00 20 */ blr - -.global __dt__Q34Game8ElecHiba9GeneratorFv -__dt__Q34Game8ElecHiba9GeneratorFv: -/* 8026F1D8 0026C118 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F1DC 0026C11C 7C 08 02 A6 */ mflr r0 -/* 8026F1E0 0026C120 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F1E4 0026C124 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026F1E8 0026C128 7C 9F 23 78 */ mr r31, r4 -/* 8026F1EC 0026C12C 93 C1 00 08 */ stw r30, 8(r1) -/* 8026F1F0 0026C130 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026F1F4 0026C134 41 82 00 38 */ beq lbl_8026F22C -/* 8026F1F8 0026C138 3C 80 80 4C */ lis r4, __vt__Q34Game8ElecHiba9Generator@ha -/* 8026F1FC 0026C13C 38 04 5F 04 */ addi r0, r4, __vt__Q34Game8ElecHiba9Generator@l -/* 8026F200 0026C140 90 1E 00 00 */ stw r0, 0(r30) -/* 8026F204 0026C144 41 82 00 18 */ beq lbl_8026F21C -/* 8026F208 0026C148 3C A0 80 4B */ lis r5, __vt__Q24Game18EnemyGeneratorBase@ha -/* 8026F20C 0026C14C 38 80 00 00 */ li r4, 0 -/* 8026F210 0026C150 38 05 DB B0 */ addi r0, r5, __vt__Q24Game18EnemyGeneratorBase@l -/* 8026F214 0026C154 90 1E 00 00 */ stw r0, 0(r30) -/* 8026F218 0026C158 48 1A 23 71 */ bl __dt__5CNodeFv -lbl_8026F21C: -/* 8026F21C 0026C15C 7F E0 07 35 */ extsh. r0, r31 -/* 8026F220 0026C160 40 81 00 0C */ ble lbl_8026F22C -/* 8026F224 0026C164 7F C3 F3 78 */ mr r3, r30 -/* 8026F228 0026C168 4B DB 4E 8D */ bl __dl__FPv -lbl_8026F22C: -/* 8026F22C 0026C16C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F230 0026C170 7F C3 F3 78 */ mr r3, r30 -/* 8026F234 0026C174 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026F238 0026C178 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026F23C 0026C17C 7C 08 03 A6 */ mtlr r0 -/* 8026F240 0026C180 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F244 0026C184 4E 80 00 20 */ blr - -.global getInitialParam__Q34Game8ElecHiba9GeneratorFv -getInitialParam__Q34Game8ElecHiba9GeneratorFv: -/* 8026F248 0026C188 38 63 00 24 */ addi r3, r3, 0x24 -/* 8026F24C 0026C18C 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game8ElecHiba3MgrFv -$$24$$2__dt__Q34Game8ElecHiba3MgrFv: -/* 8026F250 0026C190 38 63 FF FC */ addi r3, r3, -4 -/* 8026F254 0026C194 4B FF FE 04 */ b __dt__Q34Game8ElecHiba3MgrFv - -.global __ct__Q34Game8ElecHiba3ObjFv -__ct__Q34Game8ElecHiba3ObjFv: -/* 8026F258 0026C198 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F25C 0026C19C 7C 08 02 A6 */ mflr r0 -/* 8026F260 0026C1A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F264 0026C1A4 7C 80 07 35 */ extsh. r0, r4 -/* 8026F268 0026C1A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026F26C 0026C1AC 7C 7F 1B 78 */ mr r31, r3 -/* 8026F270 0026C1B0 93 C1 00 08 */ stw r30, 8(r1) -/* 8026F274 0026C1B4 41 82 00 24 */ beq lbl_8026F298 -/* 8026F278 0026C1B8 38 1F 03 04 */ addi r0, r31, 0x304 -/* 8026F27C 0026C1BC 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8026F280 0026C1C0 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8026F284 0026C1C4 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8026F288 0026C1C8 38 00 00 00 */ li r0, 0 -/* 8026F28C 0026C1CC 90 7F 03 04 */ stw r3, 0x304(r31) -/* 8026F290 0026C1D0 90 1F 03 08 */ stw r0, 0x308(r31) -/* 8026F294 0026C1D4 90 1F 03 0C */ stw r0, 0x30c(r31) -lbl_8026F298: -/* 8026F298 0026C1D8 7F E3 FB 78 */ mr r3, r31 -/* 8026F29C 0026C1DC 38 80 00 00 */ li r4, 0 -/* 8026F2A0 0026C1E0 4B E9 21 01 */ bl __ct__Q24Game9EnemyBaseFv -/* 8026F2A4 0026C1E4 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba3Obj@ha -/* 8026F2A8 0026C1E8 3B DF 02 C8 */ addi r30, r31, 0x2c8 -/* 8026F2AC 0026C1EC 38 63 5F 9C */ addi r3, r3, __vt__Q34Game8ElecHiba3Obj@l -/* 8026F2B0 0026C1F0 38 1F 03 04 */ addi r0, r31, 0x304 -/* 8026F2B4 0026C1F4 90 7F 00 00 */ stw r3, 0(r31) -/* 8026F2B8 0026C1F8 38 83 01 B0 */ addi r4, r3, 0x1b0 -/* 8026F2BC 0026C1FC 38 A3 02 FC */ addi r5, r3, 0x2fc -/* 8026F2C0 0026C200 7F C3 F3 78 */ mr r3, r30 -/* 8026F2C4 0026C204 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8026F2C8 0026C208 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8026F2CC 0026C20C 90 A4 00 00 */ stw r5, 0(r4) -/* 8026F2D0 0026C210 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8026F2D4 0026C214 7C 04 00 50 */ subf r0, r4, r0 -/* 8026F2D8 0026C218 90 04 00 0C */ stw r0, 0xc(r4) -/* 8026F2DC 0026C21C 48 1A 20 B5 */ bl __ct__5CNodeFv -/* 8026F2E0 0026C220 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba8TeamList@ha -/* 8026F2E4 0026C224 38 00 00 00 */ li r0, 0 -/* 8026F2E8 0026C228 38 83 5E E8 */ addi r4, r3, __vt__Q34Game8ElecHiba8TeamList@l -/* 8026F2EC 0026C22C 38 60 00 2C */ li r3, 0x2c -/* 8026F2F0 0026C230 90 9E 00 00 */ stw r4, 0(r30) -/* 8026F2F4 0026C234 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8026F2F8 0026C238 4B DB 4B AD */ bl __nw__FUl -/* 8026F2FC 0026C23C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8026F300 0026C240 41 82 00 44 */ beq lbl_8026F344 -/* 8026F304 0026C244 4B EB 86 71 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8026F308 0026C248 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba14ProperAnimator@ha -/* 8026F30C 0026C24C 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8026F310 0026C250 38 03 5D E0 */ addi r0, r3, __vt__Q34Game8ElecHiba14ProperAnimator@l -/* 8026F314 0026C254 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8026F318 0026C258 90 1E 00 00 */ stw r0, 0(r30) -/* 8026F31C 0026C25C 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8026F320 0026C260 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8026F324 0026C264 38 00 00 00 */ li r0, 0 -/* 8026F328 0026C268 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8026F32C 0026C26C 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8026F330 0026C270 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026F334 0026C274 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8026F338 0026C278 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8026F33C 0026C27C 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8026F340 0026C280 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8026F344: -/* 8026F344 0026C284 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8026F348 0026C288 38 60 00 1C */ li r3, 0x1c -/* 8026F34C 0026C28C 4B DB 4B 59 */ bl __nw__FUl -/* 8026F350 0026C290 7C 64 1B 79 */ or. r4, r3, r3 -/* 8026F354 0026C294 41 82 00 24 */ beq lbl_8026F378 -/* 8026F358 0026C298 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8026F35C 0026C29C 3C 60 80 4C */ lis r3, __vt__Q34Game8ElecHiba3FSM@ha -/* 8026F360 0026C2A0 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8026F364 0026C2A4 38 A0 FF FF */ li r5, -1 -/* 8026F368 0026C2A8 90 04 00 00 */ stw r0, 0(r4) -/* 8026F36C 0026C2AC 38 03 5D BC */ addi r0, r3, __vt__Q34Game8ElecHiba3FSM@l -/* 8026F370 0026C2B0 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8026F374 0026C2B4 90 04 00 00 */ stw r0, 0(r4) -lbl_8026F378: -/* 8026F378 0026C2B8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026F37C 0026C2BC 7F E3 FB 78 */ mr r3, r31 -/* 8026F380 0026C2C0 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8026F384 0026C2C4 7D 89 03 A6 */ mtctr r12 -/* 8026F388 0026C2C8 4E 80 04 21 */ bctrl -/* 8026F38C 0026C2CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F390 0026C2D0 7F E3 FB 78 */ mr r3, r31 -/* 8026F394 0026C2D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026F398 0026C2D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026F39C 0026C2DC 7C 08 03 A6 */ mtlr r0 -/* 8026F3A0 0026C2E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F3A4 0026C2E4 4E 80 00 20 */ blr - -.global birth__Q34Game8ElecHiba3ObjFR10Vector3$$0f$$1f -birth__Q34Game8ElecHiba3ObjFR10Vector3$$0f$$1f: -/* 8026F3A8 0026C2E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F3AC 0026C2EC 7C 08 02 A6 */ mflr r0 -/* 8026F3B0 0026C2F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F3B4 0026C2F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026F3B8 0026C2F8 7C 7F 1B 78 */ mr r31, r3 -/* 8026F3BC 0026C2FC 4B E9 36 45 */ bl birth__Q24Game9EnemyBaseFR10Vector3$$0f$$1f -/* 8026F3C0 0026C300 C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8026F3C4 0026C304 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8026F3C8 0026C308 93 FF 02 E0 */ stw r31, 0x2e0(r31) -/* 8026F3CC 0026C30C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026F3D0 0026C310 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F3D4 0026C314 7C 08 03 A6 */ mtlr r0 -/* 8026F3D8 0026C318 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F3DC 0026C31C 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game8ElecHiba3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game8ElecHiba3ObjFPQ24Game21EnemyInitialParamBase: -/* 8026F3E0 0026C320 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F3E4 0026C324 7C 08 02 A6 */ mflr r0 -/* 8026F3E8 0026C328 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F3EC 0026C32C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026F3F0 0026C330 7C 9F 23 78 */ mr r31, r4 -/* 8026F3F4 0026C334 93 C1 00 08 */ stw r30, 8(r1) -/* 8026F3F8 0026C338 7C 7E 1B 78 */ mr r30, r3 -/* 8026F3FC 0026C33C 80 03 02 D8 */ lwz r0, 0x2d8(r3) -/* 8026F400 0026C340 28 00 00 00 */ cmplwi r0, 0 -/* 8026F404 0026C344 41 82 00 3C */ beq lbl_8026F440 -/* 8026F408 0026C348 C0 22 CD 84 */ lfs f1, lbl_8051B0E4@sda21(r2) -/* 8026F40C 0026C34C 48 00 05 49 */ bl setElecHibaPosition__Q34Game8ElecHiba3ObjFPQ34Game8ElecHiba12InitialParamf -/* 8026F410 0026C350 83 DE 02 D8 */ lwz r30, 0x2d8(r30) -/* 8026F414 0026C354 48 00 00 20 */ b lbl_8026F434 -lbl_8026F418: -/* 8026F418 0026C358 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8026F41C 0026C35C 7F E4 FB 78 */ mr r4, r31 -/* 8026F420 0026C360 81 83 00 00 */ lwz r12, 0(r3) -/* 8026F424 0026C364 81 8C 01 C4 */ lwz r12, 0x1c4(r12) -/* 8026F428 0026C368 7D 89 03 A6 */ mtctr r12 -/* 8026F42C 0026C36C 4E 80 04 21 */ bctrl -/* 8026F430 0026C370 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8026F434: -/* 8026F434 0026C374 28 1E 00 00 */ cmplwi r30, 0 -/* 8026F438 0026C378 40 82 FF E0 */ bne lbl_8026F418 -/* 8026F43C 0026C37C 48 00 00 0C */ b lbl_8026F448 -lbl_8026F440: -/* 8026F440 0026C380 C0 22 CD 88 */ lfs f1, lbl_8051B0E8@sda21(r2) -/* 8026F444 0026C384 48 00 05 11 */ bl setElecHibaPosition__Q34Game8ElecHiba3ObjFPQ34Game8ElecHiba12InitialParamf -lbl_8026F448: -/* 8026F448 0026C388 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F44C 0026C38C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026F450 0026C390 83 C1 00 08 */ lwz r30, 8(r1) -/* 8026F454 0026C394 7C 08 03 A6 */ mtlr r0 -/* 8026F458 0026C398 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F45C 0026C39C 4E 80 00 20 */ blr - -.global onInit__Q34Game8ElecHiba3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game8ElecHiba3ObjFPQ24Game15CreatureInitArg: -/* 8026F460 0026C3A0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8026F464 0026C3A4 7C 08 02 A6 */ mflr r0 -/* 8026F468 0026C3A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8026F46C 0026C3AC DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8026F470 0026C3B0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8026F474 0026C3B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026F478 0026C3B8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026F47C 0026C3BC 7C 7E 1B 78 */ mr r30, r3 -/* 8026F480 0026C3C0 4B E9 25 D9 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8026F484 0026C3C4 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 8026F488 0026C3C8 7F C3 F3 78 */ mr r3, r30 -/* 8026F48C 0026C3CC 54 00 05 24 */ rlwinm r0, r0, 0, 0x14, 0x12 -/* 8026F490 0026C3D0 90 1E 01 E0 */ stw r0, 0x1e0(r30) -/* 8026F494 0026C3D4 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 8026F498 0026C3D8 54 00 06 6E */ rlwinm r0, r0, 0, 0x19, 0x17 -/* 8026F49C 0026C3DC 90 1E 01 E0 */ stw r0, 0x1e0(r30) -/* 8026F4A0 0026C3E0 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 8026F4A4 0026C3E4 54 00 06 2C */ rlwinm r0, r0, 0, 0x18, 0x16 -/* 8026F4A8 0026C3E8 90 1E 01 E0 */ stw r0, 0x1e0(r30) -/* 8026F4AC 0026C3EC 4B E9 82 D1 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8026F4B0 0026C3F0 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 8026F4B4 0026C3F4 7F C3 F3 78 */ mr r3, r30 -/* 8026F4B8 0026C3F8 64 00 00 40 */ oris r0, r0, 0x40 -/* 8026F4BC 0026C3FC 90 1E 01 E0 */ stw r0, 0x1e0(r30) -/* 8026F4C0 0026C400 4B E9 25 49 */ bl setEmotionNone__Q24Game9EnemyBaseFv -/* 8026F4C4 0026C404 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 8026F4C8 0026C408 7F C4 F3 78 */ mr r4, r30 -/* 8026F4CC 0026C40C 4B FD 27 9D */ bl killShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8026F4D0 0026C410 C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8026F4D4 0026C414 38 00 00 01 */ li r0, 1 -/* 8026F4D8 0026C418 7F C3 F3 78 */ mr r3, r30 -/* 8026F4DC 0026C41C D0 1E 02 C4 */ stfs f0, 0x2c4(r30) -/* 8026F4E0 0026C420 98 1E 02 C0 */ stb r0, 0x2c0(r30) -/* 8026F4E4 0026C424 48 00 0C 21 */ bl setupLodParms__Q34Game8ElecHiba3ObjFv -/* 8026F4E8 0026C428 80 1E 02 D8 */ lwz r0, 0x2d8(r30) -/* 8026F4EC 0026C42C 28 00 00 00 */ cmplwi r0, 0 -/* 8026F4F0 0026C430 41 82 00 24 */ beq lbl_8026F514 -/* 8026F4F4 0026C434 7C 1F 03 78 */ mr r31, r0 -/* 8026F4F8 0026C438 48 00 00 14 */ b lbl_8026F50C -lbl_8026F4FC: -/* 8026F4FC 0026C43C 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8026F500 0026C440 38 80 00 00 */ li r4, 0 -/* 8026F504 0026C444 4B EC BA C5 */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -/* 8026F508 0026C448 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8026F50C: -/* 8026F50C 0026C44C 28 1F 00 00 */ cmplwi r31, 0 -/* 8026F510 0026C450 40 82 FF EC */ bne lbl_8026F4FC -lbl_8026F514: -/* 8026F514 0026C454 7F C3 F3 78 */ mr r3, r30 -/* 8026F518 0026C458 48 00 11 35 */ bl setVersusHibaOnOff__Q34Game8ElecHiba3ObjFv -/* 8026F51C 0026C45C 38 00 00 00 */ li r0, 0 -/* 8026F520 0026C460 7F C3 F3 78 */ mr r3, r30 -/* 8026F524 0026C464 90 1E 02 F8 */ stw r0, 0x2f8(r30) -/* 8026F528 0026C468 48 00 11 BD */ bl resetAttrHitCount__Q34Game8ElecHiba3ObjFv -/* 8026F52C 0026C46C 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8026F530 0026C470 C3 E3 08 1C */ lfs f31, 0x81c(r3) -/* 8026F534 0026C474 4B E5 A0 6D */ bl rand -/* 8026F538 0026C478 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8026F53C 0026C47C 3C 00 43 30 */ lis r0, 0x4330 -/* 8026F540 0026C480 90 61 00 14 */ stw r3, 0x14(r1) -/* 8026F544 0026C484 7F C4 F3 78 */ mr r4, r30 -/* 8026F548 0026C488 C8 42 CD 90 */ lfd f2, lbl_8051B0F0@sda21(r2) -/* 8026F54C 0026C48C 38 C1 00 08 */ addi r6, r1, 8 -/* 8026F550 0026C490 90 01 00 10 */ stw r0, 0x10(r1) -/* 8026F554 0026C494 38 A0 00 01 */ li r5, 1 -/* 8026F558 0026C498 C0 02 CD 8C */ lfs f0, lbl_8051B0EC@sda21(r2) -/* 8026F55C 0026C49C C8 21 00 10 */ lfd f1, 0x10(r1) -/* 8026F560 0026C4A0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8026F564 0026C4A4 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8026F568 0026C4A8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8026F56C 0026C4AC D0 01 00 08 */ stfs f0, 8(r1) -/* 8026F570 0026C4B0 80 7E 02 BC */ lwz r3, 0x2bc(r30) -/* 8026F574 0026C4B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026F578 0026C4B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8026F57C 0026C4BC 7D 89 03 A6 */ mtctr r12 -/* 8026F580 0026C4C0 4E 80 04 21 */ bctrl -/* 8026F584 0026C4C4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8026F588 0026C4C8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8026F58C 0026C4CC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8026F590 0026C4D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026F594 0026C4D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026F598 0026C4D8 7C 08 03 A6 */ mtlr r0 -/* 8026F59C 0026C4DC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8026F5A0 0026C4E0 4E 80 00 20 */ blr - -.global doUpdate__Q34Game8ElecHiba3ObjFv -doUpdate__Q34Game8ElecHiba3ObjFv: -/* 8026F5A4 0026C4E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F5A8 0026C4E8 7C 08 02 A6 */ mflr r0 -/* 8026F5AC 0026C4EC 7C 64 1B 78 */ mr r4, r3 -/* 8026F5B0 0026C4F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F5B4 0026C4F4 80 03 02 D8 */ lwz r0, 0x2d8(r3) -/* 8026F5B8 0026C4F8 28 00 00 00 */ cmplwi r0, 0 -/* 8026F5BC 0026C4FC 41 82 00 18 */ beq lbl_8026F5D4 -/* 8026F5C0 0026C500 80 64 02 BC */ lwz r3, 0x2bc(r4) -/* 8026F5C4 0026C504 81 83 00 00 */ lwz r12, 0(r3) -/* 8026F5C8 0026C508 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8026F5CC 0026C50C 7D 89 03 A6 */ mtctr r12 -/* 8026F5D0 0026C510 4E 80 04 21 */ bctrl -lbl_8026F5D4: -/* 8026F5D4 0026C514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F5D8 0026C518 7C 08 03 A6 */ mtlr r0 -/* 8026F5DC 0026C51C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F5E0 0026C520 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game8ElecHiba3ObjFR8Graphics -doDirectDraw__Q34Game8ElecHiba3ObjFR8Graphics: -/* 8026F5E4 0026C524 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game8ElecHiba3ObjFR8Graphics -doDebugDraw__Q34Game8ElecHiba3ObjFR8Graphics: -/* 8026F5E8 0026C528 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F5EC 0026C52C 7C 08 02 A6 */ mflr r0 -/* 8026F5F0 0026C530 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F5F4 0026C534 4B E9 68 79 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8026F5F8 0026C538 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F5FC 0026C53C 7C 08 03 A6 */ mtlr r0 -/* 8026F600 0026C540 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F604 0026C544 4E 80 00 20 */ blr - -.global setFSM__Q34Game8ElecHiba3ObjFPQ34Game8ElecHiba3FSM -setFSM__Q34Game8ElecHiba3ObjFPQ34Game8ElecHiba3FSM: -/* 8026F608 0026C548 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F60C 0026C54C 7C 08 02 A6 */ mflr r0 -/* 8026F610 0026C550 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F614 0026C554 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8026F618 0026C558 7C 7F 1B 78 */ mr r31, r3 -/* 8026F61C 0026C55C 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 8026F620 0026C560 7F E4 FB 78 */ mr r4, r31 -/* 8026F624 0026C564 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8026F628 0026C568 81 83 00 00 */ lwz r12, 0(r3) -/* 8026F62C 0026C56C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026F630 0026C570 7D 89 03 A6 */ mtctr r12 -/* 8026F634 0026C574 4E 80 04 21 */ bctrl -/* 8026F638 0026C578 38 00 00 00 */ li r0, 0 -/* 8026F63C 0026C57C 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8026F640 0026C580 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F644 0026C584 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8026F648 0026C588 7C 08 03 A6 */ mtlr r0 -/* 8026F64C 0026C58C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F650 0026C590 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game8ElecHiba3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game8ElecHiba3ObjFRQ24Game11ShadowParam: -/* 8026F654 0026C594 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8026F658 0026C598 C0 22 CD 80 */ lfs f1, lbl_8051B0E0@sda21(r2) -/* 8026F65C 0026C59C D0 04 00 00 */ stfs f0, 0(r4) -/* 8026F660 0026C5A0 C0 02 CD 84 */ lfs f0, lbl_8051B0E4@sda21(r2) -/* 8026F664 0026C5A4 C0 43 01 90 */ lfs f2, 0x190(r3) -/* 8026F668 0026C5A8 D0 44 00 04 */ stfs f2, 4(r4) -/* 8026F66C 0026C5AC C0 43 01 94 */ lfs f2, 0x194(r3) -/* 8026F670 0026C5B0 D0 44 00 08 */ stfs f2, 8(r4) -/* 8026F674 0026C5B4 D0 24 00 0C */ stfs f1, 0xc(r4) -/* 8026F678 0026C5B8 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8026F67C 0026C5BC D0 24 00 14 */ stfs f1, 0x14(r4) -/* 8026F680 0026C5C0 D0 04 00 18 */ stfs f0, 0x18(r4) -/* 8026F684 0026C5C4 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8026F688 0026C5C8 4E 80 00 20 */ blr - -.global damageCallBack__Q34Game8ElecHiba3ObjFPQ24Game8CreaturefP8CollPart -damageCallBack__Q34Game8ElecHiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026F68C 0026C5CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026F690 0026C5D0 7C 08 02 A6 */ mflr r0 -/* 8026F694 0026C5D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026F698 0026C5D8 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 8026F69C 0026C5DC FF E0 08 90 */ fmr f31, f1 -/* 8026F6A0 0026C5E0 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8026F6A4 0026C5E4 7C 9F 23 79 */ or. r31, r4, r4 -/* 8026F6A8 0026C5E8 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8026F6AC 0026C5EC 7C 7E 1B 78 */ mr r30, r3 -/* 8026F6B0 0026C5F0 41 82 00 88 */ beq lbl_8026F738 -/* 8026F6B4 0026C5F4 7F E3 FB 78 */ mr r3, r31 -/* 8026F6B8 0026C5F8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026F6BC 0026C5FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026F6C0 0026C600 7D 89 03 A6 */ mtctr r12 -/* 8026F6C4 0026C604 4E 80 04 21 */ bctrl -/* 8026F6C8 0026C608 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026F6CC 0026C60C 40 82 00 6C */ bne lbl_8026F738 -/* 8026F6D0 0026C610 88 1E 02 F4 */ lbz r0, 0x2f4(r30) -/* 8026F6D4 0026C614 28 00 00 00 */ cmplwi r0, 0 -/* 8026F6D8 0026C618 41 82 00 4C */ beq lbl_8026F724 -/* 8026F6DC 0026C61C 7F E3 FB 78 */ mr r3, r31 -/* 8026F6E0 0026C620 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026F6E4 0026C624 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026F6E8 0026C628 7D 89 03 A6 */ mtctr r12 -/* 8026F6EC 0026C62C 4E 80 04 21 */ bctrl -/* 8026F6F0 0026C630 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026F6F4 0026C634 41 82 00 3C */ beq lbl_8026F730 -/* 8026F6F8 0026C638 80 7E 02 D4 */ lwz r3, 0x2d4(r30) -/* 8026F6FC 0026C63C 28 03 00 00 */ cmplwi r3, 0 -/* 8026F700 0026C640 41 82 00 14 */ beq lbl_8026F714 -/* 8026F704 0026C644 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8026F708 0026C648 7F E4 FB 78 */ mr r4, r31 -/* 8026F70C 0026C64C 48 00 0F E9 */ bl addAttrAttackCount__Q34Game8ElecHiba3ObjFPQ24Game4Piki -/* 8026F710 0026C650 48 00 00 20 */ b lbl_8026F730 -lbl_8026F714: -/* 8026F714 0026C654 7F C3 F3 78 */ mr r3, r30 -/* 8026F718 0026C658 7F E4 FB 78 */ mr r4, r31 -/* 8026F71C 0026C65C 48 00 0F D9 */ bl addAttrAttackCount__Q34Game8ElecHiba3ObjFPQ24Game4Piki -/* 8026F720 0026C660 48 00 00 10 */ b lbl_8026F730 -lbl_8026F724: -/* 8026F724 0026C664 FC 20 F8 90 */ fmr f1, f31 -/* 8026F728 0026C668 7F C3 F3 78 */ mr r3, r30 -/* 8026F72C 0026C66C 48 00 09 61 */ bl addDamageMyself__Q34Game8ElecHiba3ObjFf -lbl_8026F730: -/* 8026F730 0026C670 38 60 00 01 */ li r3, 1 -/* 8026F734 0026C674 48 00 00 08 */ b lbl_8026F73C -lbl_8026F738: -/* 8026F738 0026C678 38 60 00 00 */ li r3, 0 -lbl_8026F73C: -/* 8026F73C 0026C67C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026F740 0026C680 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8026F744 0026C684 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8026F748 0026C688 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 8026F74C 0026C68C 7C 08 03 A6 */ mtlr r0 -/* 8026F750 0026C690 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026F754 0026C694 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game8ElecHiba3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game8ElecHiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026F758 0026C698 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F75C 0026C69C 7C 08 02 A6 */ mflr r0 -/* 8026F760 0026C6A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F764 0026C6A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026F768 0026C6A8 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026F76C 0026C6AC 7D 89 03 A6 */ mtctr r12 -/* 8026F770 0026C6B0 4E 80 04 21 */ bctrl -/* 8026F774 0026C6B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F778 0026C6B8 38 60 00 01 */ li r3, 1 -/* 8026F77C 0026C6BC 7C 08 03 A6 */ mtlr r0 -/* 8026F780 0026C6C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F784 0026C6C4 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game8ElecHiba3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game8ElecHiba3ObjFPQ24Game8CreaturefP8CollPart: -/* 8026F788 0026C6C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F78C 0026C6CC 7C 08 02 A6 */ mflr r0 -/* 8026F790 0026C6D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F794 0026C6D4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026F798 0026C6D8 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026F79C 0026C6DC 7D 89 03 A6 */ mtctr r12 -/* 8026F7A0 0026C6E0 4E 80 04 21 */ bctrl -/* 8026F7A4 0026C6E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F7A8 0026C6E8 38 60 00 01 */ li r3, 1 -/* 8026F7AC 0026C6EC 7C 08 03 A6 */ mtlr r0 -/* 8026F7B0 0026C6F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F7B4 0026C6F4 4E 80 00 20 */ blr - -.global bombCallBack__Q34Game8ElecHiba3ObjFPQ24Game8CreatureR10Vector3$$0f$$1f -bombCallBack__Q34Game8ElecHiba3ObjFPQ24Game8CreatureR10Vector3$$0f$$1f: -/* 8026F7B8 0026C6F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8026F7BC 0026C6FC 7C 08 02 A6 */ mflr r0 -/* 8026F7C0 0026C700 38 A0 00 00 */ li r5, 0 -/* 8026F7C4 0026C704 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026F7C8 0026C708 81 83 00 00 */ lwz r12, 0(r3) -/* 8026F7CC 0026C70C 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8026F7D0 0026C710 7D 89 03 A6 */ mtctr r12 -/* 8026F7D4 0026C714 4E 80 04 21 */ bctrl -/* 8026F7D8 0026C718 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8026F7DC 0026C71C 38 60 00 01 */ li r3, 1 -/* 8026F7E0 0026C720 7C 08 03 A6 */ mtlr r0 -/* 8026F7E4 0026C724 38 21 00 10 */ addi r1, r1, 0x10 -/* 8026F7E8 0026C728 4E 80 00 20 */ blr - -.global doGetLifeGaugeParam__Q34Game8ElecHiba3ObjFRQ24Game14LifeGaugeParam -doGetLifeGaugeParam__Q34Game8ElecHiba3ObjFRQ24Game14LifeGaugeParam: -/* 8026F7EC 0026C72C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8026F7F0 0026C730 7C 08 02 A6 */ mflr r0 -/* 8026F7F4 0026C734 90 01 00 24 */ stw r0, 0x24(r1) -/* 8026F7F8 0026C738 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8026F7FC 0026C73C 7C 9F 23 78 */ mr r31, r4 -/* 8026F800 0026C740 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026F804 0026C744 7C 7E 1B 78 */ mr r30, r3 -/* 8026F808 0026C748 48 00 01 31 */ bl getChildObjPtr__Q34Game8ElecHiba3ObjFv -/* 8026F80C 0026C74C 28 03 00 00 */ cmplwi r3, 0 -/* 8026F810 0026C750 41 82 00 BC */ beq lbl_8026F8CC -/* 8026F814 0026C754 7C 64 1B 78 */ mr r4, r3 -/* 8026F818 0026C758 38 61 00 08 */ addi r3, r1, 8 -/* 8026F81C 0026C75C 81 84 00 00 */ lwz r12, 0(r4) -/* 8026F820 0026C760 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026F824 0026C764 7D 89 03 A6 */ mtctr r12 -/* 8026F828 0026C768 4E 80 04 21 */ bctrl -/* 8026F82C 0026C76C C0 01 00 08 */ lfs f0, 8(r1) -/* 8026F830 0026C770 C0 42 CD 98 */ lfs f2, lbl_8051B0F8@sda21(r2) -/* 8026F834 0026C774 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8026F838 0026C778 C0 02 CD 9C */ lfs f0, lbl_8051B0FC@sda21(r2) -/* 8026F83C 0026C77C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8026F840 0026C780 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8026F844 0026C784 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8026F848 0026C788 D0 3F 00 08 */ stfs f1, 8(r31) -/* 8026F84C 0026C78C C0 7F 00 00 */ lfs f3, 0(r31) -/* 8026F850 0026C790 C0 3E 01 8C */ lfs f1, 0x18c(r30) -/* 8026F854 0026C794 EC 23 08 2A */ fadds f1, f3, f1 -/* 8026F858 0026C798 D0 3F 00 00 */ stfs f1, 0(r31) -/* 8026F85C 0026C79C C0 7F 00 04 */ lfs f3, 4(r31) -/* 8026F860 0026C7A0 C0 3E 01 90 */ lfs f1, 0x190(r30) -/* 8026F864 0026C7A4 EC 23 08 2A */ fadds f1, f3, f1 -/* 8026F868 0026C7A8 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8026F86C 0026C7AC C0 7F 00 08 */ lfs f3, 8(r31) -/* 8026F870 0026C7B0 C0 3E 01 94 */ lfs f1, 0x194(r30) -/* 8026F874 0026C7B4 EC 23 08 2A */ fadds f1, f3, f1 -/* 8026F878 0026C7B8 D0 3F 00 08 */ stfs f1, 8(r31) -/* 8026F87C 0026C7BC C0 3F 00 00 */ lfs f1, 0(r31) -/* 8026F880 0026C7C0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8026F884 0026C7C4 D0 3F 00 00 */ stfs f1, 0(r31) -/* 8026F888 0026C7C8 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8026F88C 0026C7CC EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8026F890 0026C7D0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8026F894 0026C7D4 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8026F898 0026C7D8 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8026F89C 0026C7DC D0 3F 00 08 */ stfs f1, 8(r31) -/* 8026F8A0 0026C7E0 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8026F8A4 0026C7E4 C0 5F 00 04 */ lfs f2, 4(r31) -/* 8026F8A8 0026C7E8 C0 23 01 2C */ lfs f1, 0x12c(r3) -/* 8026F8AC 0026C7EC EC 22 08 2A */ fadds f1, f2, f1 -/* 8026F8B0 0026C7F0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8026F8B4 0026C7F4 C0 5E 02 00 */ lfs f2, 0x200(r30) -/* 8026F8B8 0026C7F8 C0 3E 02 04 */ lfs f1, 0x204(r30) -/* 8026F8BC 0026C7FC EC 22 08 24 */ fdivs f1, f2, f1 -/* 8026F8C0 0026C800 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 8026F8C4 0026C804 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8026F8C8 0026C808 48 00 00 0C */ b lbl_8026F8D4 -lbl_8026F8CC: -/* 8026F8CC 0026C80C 38 00 00 00 */ li r0, 0 -/* 8026F8D0 0026C810 98 1F 00 14 */ stb r0, 0x14(r31) -lbl_8026F8D4: -/* 8026F8D4 0026C814 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026F8D8 0026C818 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8026F8DC 0026C81C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8026F8E0 0026C820 7C 08 03 A6 */ mtlr r0 -/* 8026F8E4 0026C824 38 21 00 20 */ addi r1, r1, 0x20 -/* 8026F8E8 0026C828 4E 80 00 20 */ blr - -.global injure__Q34Game8ElecHiba3ObjFv -injure__Q34Game8ElecHiba3ObjFv: -/* 8026F8EC 0026C82C 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8026F8F0 0026C830 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8026F8F4 0026C834 40 82 00 28 */ bne lbl_8026F91C -/* 8026F8F8 0026C838 C0 43 02 00 */ lfs f2, 0x200(r3) -/* 8026F8FC 0026C83C C0 23 02 08 */ lfs f1, 0x208(r3) -/* 8026F900 0026C840 C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8026F904 0026C844 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8026F908 0026C848 D0 23 02 00 */ stfs f1, 0x200(r3) -/* 8026F90C 0026C84C C0 23 02 00 */ lfs f1, 0x200(r3) -/* 8026F910 0026C850 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026F914 0026C854 40 80 00 08 */ bge lbl_8026F91C -/* 8026F918 0026C858 D0 03 02 00 */ stfs f0, 0x200(r3) -lbl_8026F91C: -/* 8026F91C 0026C85C C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8026F920 0026C860 D0 03 02 08 */ stfs f0, 0x208(r3) -/* 8026F924 0026C864 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8026F928 0026C868 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d -/* 8026F92C 0026C86C 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 8026F930 0026C870 38 60 00 01 */ li r3, 1 -/* 8026F934 0026C874 4E 80 00 20 */ blr - -.global getChildObjPtr__Q34Game8ElecHiba3ObjFv -getChildObjPtr__Q34Game8ElecHiba3ObjFv: -/* 8026F938 0026C878 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 8026F93C 0026C87C 28 03 00 00 */ cmplwi r3, 0 -/* 8026F940 0026C880 41 82 00 0C */ beq lbl_8026F94C -/* 8026F944 0026C884 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8026F948 0026C888 4E 80 00 20 */ blr -lbl_8026F94C: -/* 8026F94C 0026C88C 38 60 00 00 */ li r3, 0 -/* 8026F950 0026C890 4E 80 00 20 */ blr - -.global setElecHibaPosition__Q34Game8ElecHiba3ObjFPQ34Game8ElecHiba12InitialParamf -setElecHibaPosition__Q34Game8ElecHiba3ObjFPQ34Game8ElecHiba12InitialParamf: -/* 8026F954 0026C894 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8026F958 0026C898 7C 08 02 A6 */ mflr r0 -/* 8026F95C 0026C89C 90 01 00 84 */ stw r0, 0x84(r1) -/* 8026F960 0026C8A0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8026F964 0026C8A4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8026F968 0026C8A8 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8026F96C 0026C8AC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8026F970 0026C8B0 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8026F974 0026C8B4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 8026F978 0026C8B8 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 8026F97C 0026C8BC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 8026F980 0026C8C0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8026F984 0026C8C4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8026F988 0026C8C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8026F98C 0026C8CC 7C 7E 1B 78 */ mr r30, r3 -/* 8026F990 0026C8D0 FF 80 08 90 */ fmr f28, f1 -/* 8026F994 0026C8D4 7C 9F 23 78 */ mr r31, r4 -/* 8026F998 0026C8D8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8026F99C 0026C8DC C3 E3 02 E4 */ lfs f31, 0x2e4(r3) -/* 8026F9A0 0026C8E0 C3 C3 02 E8 */ lfs f30, 0x2e8(r3) -/* 8026F9A4 0026C8E4 C3 A3 02 EC */ lfs f29, 0x2ec(r3) -/* 8026F9A8 0026C8E8 7D 89 03 A6 */ mtctr r12 -/* 8026F9AC 0026C8EC 4E 80 04 21 */ bctrl -/* 8026F9B0 0026C8F0 C0 02 CD A0 */ lfs f0, lbl_8051B100@sda21(r2) -/* 8026F9B4 0026C8F4 C0 5F 00 00 */ lfs f2, 0(r31) -/* 8026F9B8 0026C8F8 EC 80 08 2A */ fadds f4, f0, f1 -/* 8026F9BC 0026C8FC C0 22 CD 98 */ lfs f1, lbl_8051B0F8@sda21(r2) -/* 8026F9C0 0026C900 C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8026F9C4 0026C904 EC 62 00 72 */ fmuls f3, f2, f1 -/* 8026F9C8 0026C908 FC 20 20 90 */ fmr f1, f4 -/* 8026F9CC 0026C90C FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8026F9D0 0026C910 40 80 00 08 */ bge lbl_8026F9D8 -/* 8026F9D4 0026C914 FC 20 20 50 */ fneg f1, f4 -lbl_8026F9D8: -/* 8026F9D8 0026C918 C0 42 CD A4 */ lfs f2, lbl_8051B104@sda21(r2) -/* 8026F9DC 0026C91C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8026F9E0 0026C920 C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8026F9E4 0026C924 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8026F9E8 0026C928 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8026F9EC 0026C92C FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8026F9F0 0026C930 EC 7C 00 F2 */ fmuls f3, f28, f3 -/* 8026F9F4 0026C934 FC 00 08 1E */ fctiwz f0, f1 -/* 8026F9F8 0026C938 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8026F9FC 0026C93C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8026FA00 0026C940 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026FA04 0026C944 7C 64 02 14 */ add r3, r4, r0 -/* 8026FA08 0026C948 C0 03 00 04 */ lfs f0, 4(r3) -/* 8026FA0C 0026C94C EC 23 E8 3A */ fmadds f1, f3, f0, f29 -/* 8026FA10 0026C950 40 80 00 28 */ bge lbl_8026FA38 -/* 8026FA14 0026C954 C0 02 CD A8 */ lfs f0, lbl_8051B108@sda21(r2) -/* 8026FA18 0026C958 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8026FA1C 0026C95C FC 00 00 1E */ fctiwz f0, f0 -/* 8026FA20 0026C960 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8026FA24 0026C964 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8026FA28 0026C968 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026FA2C 0026C96C 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8026FA30 0026C970 FC 00 00 50 */ fneg f0, f0 -/* 8026FA34 0026C974 48 00 00 1C */ b lbl_8026FA50 -lbl_8026FA38: -/* 8026FA38 0026C978 EC 04 00 B2 */ fmuls f0, f4, f2 -/* 8026FA3C 0026C97C FC 00 00 1E */ fctiwz f0, f0 -/* 8026FA40 0026C980 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 8026FA44 0026C984 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8026FA48 0026C988 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026FA4C 0026C98C 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_8026FA50: -/* 8026FA50 0026C990 EC 03 F8 3A */ fmadds f0, f3, f0, f31 -/* 8026FA54 0026C994 D3 C1 00 0C */ stfs f30, 0xc(r1) -/* 8026FA58 0026C998 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 8026FA5C 0026C99C 38 81 00 08 */ addi r4, r1, 8 -/* 8026FA60 0026C9A0 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8026FA64 0026C9A4 D0 01 00 08 */ stfs f0, 8(r1) -/* 8026FA68 0026C9A8 81 83 00 04 */ lwz r12, 4(r3) -/* 8026FA6C 0026C9AC 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8026FA70 0026C9B0 7D 89 03 A6 */ mtctr r12 -/* 8026FA74 0026C9B4 4E 80 04 21 */ bctrl -/* 8026FA78 0026C9B8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8026FA7C 0026C9BC 7F C3 F3 78 */ mr r3, r30 -/* 8026FA80 0026C9C0 38 81 00 08 */ addi r4, r1, 8 -/* 8026FA84 0026C9C4 38 A0 00 00 */ li r5, 0 -/* 8026FA88 0026C9C8 4B EC B7 21 */ bl setPosition__Q24Game8CreatureFR10Vector3$$0f$$1b -/* 8026FA8C 0026C9CC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8026FA90 0026C9D0 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8026FA94 0026C9D4 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8026FA98 0026C9D8 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8026FA9C 0026C9DC E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8026FAA0 0026C9E0 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8026FAA4 0026C9E4 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8026FAA8 0026C9E8 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 8026FAAC 0026C9EC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8026FAB0 0026C9F0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8026FAB4 0026C9F4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8026FAB8 0026C9F8 7C 08 03 A6 */ mtlr r0 -/* 8026FABC 0026C9FC 38 21 00 80 */ addi r1, r1, 0x80 -/* 8026FAC0 0026CA00 4E 80 00 20 */ blr - -.global interactDenkiAttack__Q34Game8ElecHiba3ObjFR10Vector3$$0f$$1 -interactDenkiAttack__Q34Game8ElecHiba3ObjFR10Vector3$$0f$$1: -/* 8026FAC4 0026CA04 94 21 FD F0 */ stwu r1, -0x210(r1) -/* 8026FAC8 0026CA08 7C 08 02 A6 */ mflr r0 -/* 8026FACC 0026CA0C 90 01 02 14 */ stw r0, 0x214(r1) -/* 8026FAD0 0026CA10 DB E1 02 00 */ stfd f31, 0x200(r1) -/* 8026FAD4 0026CA14 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 -/* 8026FAD8 0026CA18 DB C1 01 F0 */ stfd f30, 0x1f0(r1) -/* 8026FADC 0026CA1C F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 -/* 8026FAE0 0026CA20 DB A1 01 E0 */ stfd f29, 0x1e0(r1) -/* 8026FAE4 0026CA24 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 -/* 8026FAE8 0026CA28 DB 81 01 D0 */ stfd f28, 0x1d0(r1) -/* 8026FAEC 0026CA2C F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 -/* 8026FAF0 0026CA30 DB 61 01 C0 */ stfd f27, 0x1c0(r1) -/* 8026FAF4 0026CA34 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 -/* 8026FAF8 0026CA38 DB 41 01 B0 */ stfd f26, 0x1b0(r1) -/* 8026FAFC 0026CA3C F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 -/* 8026FB00 0026CA40 DB 21 01 A0 */ stfd f25, 0x1a0(r1) -/* 8026FB04 0026CA44 F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 -/* 8026FB08 0026CA48 DB 01 01 90 */ stfd f24, 0x190(r1) -/* 8026FB0C 0026CA4C F3 01 01 98 */ psq_st f24, 408(r1), 0, qr0 -/* 8026FB10 0026CA50 DA E1 01 80 */ stfd f23, 0x180(r1) -/* 8026FB14 0026CA54 F2 E1 01 88 */ psq_st f23, 392(r1), 0, qr0 -/* 8026FB18 0026CA58 DA C1 01 70 */ stfd f22, 0x170(r1) -/* 8026FB1C 0026CA5C F2 C1 01 78 */ psq_st f22, 376(r1), 0, qr0 -/* 8026FB20 0026CA60 DA A1 01 60 */ stfd f21, 0x160(r1) -/* 8026FB24 0026CA64 F2 A1 01 68 */ psq_st f21, 360(r1), 0, qr0 -/* 8026FB28 0026CA68 DA 81 01 50 */ stfd f20, 0x150(r1) -/* 8026FB2C 0026CA6C F2 81 01 58 */ psq_st f20, 344(r1), 0, qr0 -/* 8026FB30 0026CA70 DA 61 01 40 */ stfd f19, 0x140(r1) -/* 8026FB34 0026CA74 F2 61 01 48 */ psq_st f19, 328(r1), 0, qr0 -/* 8026FB38 0026CA78 DA 41 01 30 */ stfd f18, 0x130(r1) -/* 8026FB3C 0026CA7C F2 41 01 38 */ psq_st f18, 312(r1), 0, qr0 -/* 8026FB40 0026CA80 DA 21 01 20 */ stfd f17, 0x120(r1) -/* 8026FB44 0026CA84 F2 21 01 28 */ psq_st f17, 296(r1), 0, qr0 -/* 8026FB48 0026CA88 DA 01 01 10 */ stfd f16, 0x110(r1) -/* 8026FB4C 0026CA8C F2 01 01 18 */ psq_st f16, 280(r1), 0, qr0 -/* 8026FB50 0026CA90 D9 E1 01 00 */ stfd f15, 0x100(r1) -/* 8026FB54 0026CA94 F1 E1 01 08 */ psq_st f15, 264(r1), 0, qr0 -/* 8026FB58 0026CA98 D9 C1 00 F0 */ stfd f14, 0xf0(r1) -/* 8026FB5C 0026CA9C F1 C1 00 F8 */ psq_st f14, 248(r1), 0, qr0 -/* 8026FB60 0026CAA0 93 E1 00 EC */ stw r31, 0xec(r1) -/* 8026FB64 0026CAA4 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 8026FB68 0026CAA8 7C 7E 1B 78 */ mr r30, r3 -/* 8026FB6C 0026CAAC C1 04 00 08 */ lfs f8, 8(r4) -/* 8026FB70 0026CAB0 C3 E3 01 94 */ lfs f31, 0x194(r3) -/* 8026FB74 0026CAB4 C1 24 00 04 */ lfs f9, 4(r4) -/* 8026FB78 0026CAB8 C0 63 01 90 */ lfs f3, 0x190(r3) -/* 8026FB7C 0026CABC EC 48 F8 2A */ fadds f2, f8, f31 -/* 8026FB80 0026CAC0 C0 82 CD 98 */ lfs f4, lbl_8051B0F8@sda21(r2) -/* 8026FB84 0026CAC4 EC 29 18 2A */ fadds f1, f9, f3 -/* 8026FB88 0026CAC8 C0 E3 01 FC */ lfs f7, 0x1fc(r3) -/* 8026FB8C 0026CACC C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8026FB90 0026CAD0 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8026FB94 0026CAD4 C1 44 00 00 */ lfs f10, 0(r4) -/* 8026FB98 0026CAD8 FC A0 38 90 */ fmr f5, f7 -/* 8026FB9C 0026CADC C3 C3 01 8C */ lfs f30, 0x18c(r3) -/* 8026FBA0 0026CAE0 FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 8026FBA4 0026CAE4 EC 24 00 72 */ fmuls f1, f4, f1 -/* 8026FBA8 0026CAE8 EC 0A F0 2A */ fadds f0, f10, f30 -/* 8026FBAC 0026CAEC EC 04 00 32 */ fmuls f0, f4, f0 -/* 8026FBB0 0026CAF0 40 80 00 08 */ bge lbl_8026FBB8 -/* 8026FBB4 0026CAF4 FC A0 38 50 */ fneg f5, f7 -lbl_8026FBB8: -/* 8026FBB8 0026CAF8 C0 C2 CD A4 */ lfs f6, lbl_8051B104@sda21(r2) -/* 8026FBBC 0026CAFC 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8026FBC0 0026CB00 C0 82 CD 80 */ lfs f4, lbl_8051B0E0@sda21(r2) -/* 8026FBC4 0026CB04 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8026FBC8 0026CB08 EC A5 01 B2 */ fmuls f5, f5, f6 -/* 8026FBCC 0026CB0C FC 07 20 40 */ fcmpo cr0, f7, f4 -/* 8026FBD0 0026CB10 FC 80 28 1E */ fctiwz f4, f5 -/* 8026FBD4 0026CB14 D8 81 00 C0 */ stfd f4, 0xc0(r1) -/* 8026FBD8 0026CB18 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8026FBDC 0026CB1C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026FBE0 0026CB20 7C 64 02 14 */ add r3, r4, r0 -/* 8026FBE4 0026CB24 C3 03 00 04 */ lfs f24, 4(r3) -/* 8026FBE8 0026CB28 40 80 00 28 */ bge lbl_8026FC10 -/* 8026FBEC 0026CB2C C0 82 CD A8 */ lfs f4, lbl_8051B108@sda21(r2) -/* 8026FBF0 0026CB30 EC 87 01 32 */ fmuls f4, f7, f4 -/* 8026FBF4 0026CB34 FC 80 20 1E */ fctiwz f4, f4 -/* 8026FBF8 0026CB38 D8 81 00 C8 */ stfd f4, 0xc8(r1) -/* 8026FBFC 0026CB3C 80 01 00 CC */ lwz r0, 0xcc(r1) -/* 8026FC00 0026CB40 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026FC04 0026CB44 7C 84 04 2E */ lfsx f4, r4, r0 -/* 8026FC08 0026CB48 FE E0 20 50 */ fneg f23, f4 -/* 8026FC0C 0026CB4C 48 00 00 1C */ b lbl_8026FC28 -lbl_8026FC10: -/* 8026FC10 0026CB50 EC 87 01 B2 */ fmuls f4, f7, f6 -/* 8026FC14 0026CB54 FC 80 20 1E */ fctiwz f4, f4 -/* 8026FC18 0026CB58 D8 81 00 D0 */ stfd f4, 0xd0(r1) -/* 8026FC1C 0026CB5C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8026FC20 0026CB60 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8026FC24 0026CB64 7E E4 04 2E */ lfsx f23, r4, r0 -lbl_8026FC28: -/* 8026FC28 0026CB68 EC A9 18 28 */ fsubs f5, f9, f3 -/* 8026FC2C 0026CB6C C0 E2 CD 80 */ lfs f7, lbl_8051B0E0@sda21(r2) -/* 8026FC30 0026CB70 EC C8 F8 28 */ fsubs f6, f8, f31 -/* 8026FC34 0026CB74 EC 8A F0 28 */ fsubs f4, f10, f30 -/* 8026FC38 0026CB78 ED 05 01 72 */ fmuls f8, f5, f5 -/* 8026FC3C 0026CB7C ED 26 01 B2 */ fmuls f9, f6, f6 -/* 8026FC40 0026CB80 FE C0 20 90 */ fmr f22, f4 -/* 8026FC44 0026CB84 ED 04 41 3A */ fmadds f8, f4, f4, f8 -/* 8026FC48 0026CB88 FE A0 28 90 */ fmr f21, f5 -/* 8026FC4C 0026CB8C FE 80 30 90 */ fmr f20, f6 -/* 8026FC50 0026CB90 ED 09 40 2A */ fadds f8, f9, f8 -/* 8026FC54 0026CB94 FC 08 38 40 */ fcmpo cr0, f8, f7 -/* 8026FC58 0026CB98 40 81 00 14 */ ble lbl_8026FC6C -/* 8026FC5C 0026CB9C 40 81 00 14 */ ble lbl_8026FC70 -/* 8026FC60 0026CBA0 FC E0 40 34 */ frsqrte f7, f8 -/* 8026FC64 0026CBA4 ED 07 02 32 */ fmuls f8, f7, f8 -/* 8026FC68 0026CBA8 48 00 00 08 */ b lbl_8026FC70 -lbl_8026FC6C: -/* 8026FC6C 0026CBAC FD 00 38 90 */ fmr f8, f7 -lbl_8026FC70: -/* 8026FC70 0026CBB0 C0 E2 CD 80 */ lfs f7, lbl_8051B0E0@sda21(r2) -/* 8026FC74 0026CBB4 FC 08 38 40 */ fcmpo cr0, f8, f7 -/* 8026FC78 0026CBB8 40 81 00 18 */ ble lbl_8026FC90 -/* 8026FC7C 0026CBBC C0 E2 CD 84 */ lfs f7, lbl_8051B0E4@sda21(r2) -/* 8026FC80 0026CBC0 EC E7 40 24 */ fdivs f7, f7, f8 -/* 8026FC84 0026CBC4 EE D6 01 F2 */ fmuls f22, f22, f7 -/* 8026FC88 0026CBC8 EE B5 01 F2 */ fmuls f21, f21, f7 -/* 8026FC8C 0026CBCC EE 94 01 F2 */ fmuls f20, f20, f7 -lbl_8026FC90: -/* 8026FC90 0026CBD0 ED 17 05 32 */ fmuls f8, f23, f20 -/* 8026FC94 0026CBD4 C1 42 CD 80 */ lfs f10, lbl_8051B0E0@sda21(r2) -/* 8026FC98 0026CBD8 ED 38 05 72 */ fmuls f9, f24, f21 -/* 8026FC9C 0026CBDC EC EA 05 B2 */ fmuls f7, f10, f22 -/* 8026FCA0 0026CBE0 EE 58 45 B8 */ fmsubs f18, f24, f22, f8 -/* 8026FCA4 0026CBE4 EE 6A 4D 38 */ fmsubs f19, f10, f20, f9 -/* 8026FCA8 0026CBE8 EE 37 3D 78 */ fmsubs f17, f23, f21, f7 -/* 8026FCAC 0026CBEC EC F2 04 B2 */ fmuls f7, f18, f18 -/* 8026FCB0 0026CBF0 ED 11 04 72 */ fmuls f8, f17, f17 -/* 8026FCB4 0026CBF4 EC F3 3C FA */ fmadds f7, f19, f19, f7 -/* 8026FCB8 0026CBF8 ED 08 38 2A */ fadds f8, f8, f7 -/* 8026FCBC 0026CBFC FC 08 50 40 */ fcmpo cr0, f8, f10 -/* 8026FCC0 0026CC00 40 81 00 14 */ ble lbl_8026FCD4 -/* 8026FCC4 0026CC04 40 81 00 14 */ ble lbl_8026FCD8 -/* 8026FCC8 0026CC08 FC E0 40 34 */ frsqrte f7, f8 -/* 8026FCCC 0026CC0C ED 07 02 32 */ fmuls f8, f7, f8 -/* 8026FCD0 0026CC10 48 00 00 08 */ b lbl_8026FCD8 -lbl_8026FCD4: -/* 8026FCD4 0026CC14 FD 00 50 90 */ fmr f8, f10 -lbl_8026FCD8: -/* 8026FCD8 0026CC18 C0 E2 CD 80 */ lfs f7, lbl_8051B0E0@sda21(r2) -/* 8026FCDC 0026CC1C FC 08 38 40 */ fcmpo cr0, f8, f7 -/* 8026FCE0 0026CC20 40 81 00 18 */ ble lbl_8026FCF8 -/* 8026FCE4 0026CC24 C0 E2 CD 84 */ lfs f7, lbl_8051B0E4@sda21(r2) -/* 8026FCE8 0026CC28 EC E7 40 24 */ fdivs f7, f7, f8 -/* 8026FCEC 0026CC2C EE 73 01 F2 */ fmuls f19, f19, f7 -/* 8026FCF0 0026CC30 EE 52 01 F2 */ fmuls f18, f18, f7 -/* 8026FCF4 0026CC34 EE 31 01 F2 */ fmuls f17, f17, f7 -lbl_8026FCF8: -/* 8026FCF8 0026CC38 EC E5 01 72 */ fmuls f7, f5, f5 -/* 8026FCFC 0026CC3C C0 A2 CD 80 */ lfs f5, lbl_8051B0E0@sda21(r2) -/* 8026FD00 0026CC40 EC C6 01 B2 */ fmuls f6, f6, f6 -/* 8026FD04 0026CC44 EC 84 39 3A */ fmadds f4, f4, f4, f7 -/* 8026FD08 0026CC48 EC C6 20 2A */ fadds f6, f6, f4 -/* 8026FD0C 0026CC4C FC 06 28 40 */ fcmpo cr0, f6, f5 -/* 8026FD10 0026CC50 40 81 00 14 */ ble lbl_8026FD24 -/* 8026FD14 0026CC54 40 81 00 14 */ ble lbl_8026FD28 -/* 8026FD18 0026CC58 FC 80 30 34 */ frsqrte f4, f6 -/* 8026FD1C 0026CC5C EC C4 01 B2 */ fmuls f6, f4, f6 -/* 8026FD20 0026CC60 48 00 00 08 */ b lbl_8026FD28 -lbl_8026FD24: -/* 8026FD24 0026CC64 FC C0 28 90 */ fmr f6, f5 -lbl_8026FD28: -/* 8026FD28 0026CC68 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8026FD2C 0026CC6C 38 61 00 54 */ addi r3, r1, 0x54 -/* 8026FD30 0026CC70 C0 82 CD 98 */ lfs f4, lbl_8051B0F8@sda21(r2) -/* 8026FD34 0026CC74 38 81 00 2C */ addi r4, r1, 0x2c -/* 8026FD38 0026CC78 C0 E5 05 64 */ lfs f7, 0x564(r5) -/* 8026FD3C 0026CC7C C0 A5 04 4C */ lfs f5, 0x44c(r5) -/* 8026FD40 0026CC80 EF A6 38 2A */ fadds f29, f6, f7 -/* 8026FD44 0026CC84 C0 C5 05 8C */ lfs f6, 0x58c(r5) -/* 8026FD48 0026CC88 C3 45 04 74 */ lfs f26, 0x474(r5) -/* 8026FD4C 0026CC8C FF 80 38 50 */ fneg f28, f7 -/* 8026FD50 0026CC90 EC 63 30 2A */ fadds f3, f3, f6 -/* 8026FD54 0026CC94 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8026FD58 0026CC98 EF 38 01 72 */ fmuls f25, f24, f5 -/* 8026FD5C 0026CC9C D0 61 00 D8 */ stfs f3, 0xd8(r1) -/* 8026FD60 0026CCA0 EC 7D E0 28 */ fsubs f3, f29, f28 -/* 8026FD64 0026CCA4 EF 77 01 72 */ fmuls f27, f23, f5 -/* 8026FD68 0026CCA8 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8026FD6C 0026CCAC EC 04 00 F2 */ fmuls f0, f4, f3 -/* 8026FD70 0026CCB0 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8026FD74 0026CCB4 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8026FD78 0026CCB8 4B FB E6 29 */ bl __ct__Q24Game15CellIteratorArgFRQ23Sys6Sphere -/* 8026FD7C 0026CCBC 38 00 00 01 */ li r0, 1 -/* 8026FD80 0026CCC0 38 61 00 74 */ addi r3, r1, 0x74 -/* 8026FD84 0026CCC4 98 01 00 70 */ stb r0, 0x70(r1) -/* 8026FD88 0026CCC8 38 81 00 54 */ addi r4, r1, 0x54 -/* 8026FD8C 0026CCCC 4B FB E6 55 */ bl __ct__Q24Game12CellIteratorFRQ24Game15CellIteratorArg -/* 8026FD90 0026CCD0 38 61 00 74 */ addi r3, r1, 0x74 -/* 8026FD94 0026CCD4 4B FB E6 C9 */ bl first__Q24Game12CellIteratorFv -/* 8026FD98 0026CCD8 48 00 02 3C */ b lbl_8026FFD4 -lbl_8026FD9C: -/* 8026FD9C 0026CCDC 38 61 00 74 */ addi r3, r1, 0x74 -/* 8026FDA0 0026CCE0 4B FB E7 A5 */ bl __ml__Q24Game12CellIteratorFv -/* 8026FDA4 0026CCE4 81 83 00 00 */ lwz r12, 0(r3) -/* 8026FDA8 0026CCE8 7C 7F 1B 78 */ mr r31, r3 -/* 8026FDAC 0026CCEC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8026FDB0 0026CCF0 7D 89 03 A6 */ mtctr r12 -/* 8026FDB4 0026CCF4 4E 80 04 21 */ bctrl -/* 8026FDB8 0026CCF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026FDBC 0026CCFC 41 82 02 10 */ beq lbl_8026FFCC -/* 8026FDC0 0026CD00 7F E3 FB 78 */ mr r3, r31 -/* 8026FDC4 0026CD04 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026FDC8 0026CD08 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8026FDCC 0026CD0C 7D 89 03 A6 */ mtctr r12 -/* 8026FDD0 0026CD10 4E 80 04 21 */ bctrl -/* 8026FDD4 0026CD14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026FDD8 0026CD18 40 82 00 20 */ bne lbl_8026FDF8 -/* 8026FDDC 0026CD1C 7F E3 FB 78 */ mr r3, r31 -/* 8026FDE0 0026CD20 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026FDE4 0026CD24 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026FDE8 0026CD28 7D 89 03 A6 */ mtctr r12 -/* 8026FDEC 0026CD2C 4E 80 04 21 */ bctrl -/* 8026FDF0 0026CD30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026FDF4 0026CD34 41 82 01 D8 */ beq lbl_8026FFCC -lbl_8026FDF8: -/* 8026FDF8 0026CD38 7F E4 FB 78 */ mr r4, r31 -/* 8026FDFC 0026CD3C 38 61 00 08 */ addi r3, r1, 8 -/* 8026FE00 0026CD40 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026FE04 0026CD44 81 8C 00 08 */ lwz r12, 8(r12) -/* 8026FE08 0026CD48 7D 89 03 A6 */ mtctr r12 -/* 8026FE0C 0026CD4C 4E 80 04 21 */ bctrl -/* 8026FE10 0026CD50 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8026FE14 0026CD54 C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 8026FE18 0026CD58 C0 41 00 08 */ lfs f2, 8(r1) -/* 8026FE1C 0026CD5C EC 81 00 28 */ fsubs f4, f1, f0 -/* 8026FE20 0026CD60 C0 22 CD 80 */ lfs f1, lbl_8051B0E0@sda21(r2) -/* 8026FE24 0026CD64 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8026FE28 0026CD68 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 8026FE2C 0026CD6C EC 01 01 32 */ fmuls f0, f1, f4 -/* 8026FE30 0026CD70 EC 63 F8 28 */ fsubs f3, f3, f31 -/* 8026FE34 0026CD74 EC 17 00 BA */ fmadds f0, f23, f2, f0 -/* 8026FE38 0026CD78 EC B8 00 FA */ fmadds f5, f24, f3, f0 -/* 8026FE3C 0026CD7C FC 05 08 40 */ fcmpo cr0, f5, f1 -/* 8026FE40 0026CD80 40 81 00 0C */ ble lbl_8026FE4C -/* 8026FE44 0026CD84 FC C0 28 90 */ fmr f6, f5 -/* 8026FE48 0026CD88 48 00 00 08 */ b lbl_8026FE50 -lbl_8026FE4C: -/* 8026FE4C 0026CD8C FC C0 28 50 */ fneg f6, f5 -lbl_8026FE50: -/* 8026FE50 0026CD90 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8026FE54 0026CD94 C0 03 05 B4 */ lfs f0, 0x5b4(r3) -/* 8026FE58 0026CD98 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 8026FE5C 0026CD9C 40 80 01 70 */ bge lbl_8026FFCC -/* 8026FE60 0026CDA0 EC 15 01 32 */ fmuls f0, f21, f4 -/* 8026FE64 0026CDA4 EC 16 00 BA */ fmadds f0, f22, f2, f0 -/* 8026FE68 0026CDA8 EC 14 00 FA */ fmadds f0, f20, f3, f0 -/* 8026FE6C 0026CDAC FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 8026FE70 0026CDB0 40 80 01 5C */ bge lbl_8026FFCC -/* 8026FE74 0026CDB4 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 8026FE78 0026CDB8 40 81 01 54 */ ble lbl_8026FFCC -/* 8026FE7C 0026CDBC EC 32 01 32 */ fmuls f1, f18, f4 -/* 8026FE80 0026CDC0 C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8026FE84 0026CDC4 EC 33 08 BA */ fmadds f1, f19, f2, f1 -/* 8026FE88 0026CDC8 EC 31 08 FA */ fmadds f1, f17, f3, f1 -/* 8026FE8C 0026CDCC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026FE90 0026CDD0 40 81 00 08 */ ble lbl_8026FE98 -/* 8026FE94 0026CDD4 48 00 00 08 */ b lbl_8026FE9C -lbl_8026FE98: -/* 8026FE98 0026CDD8 FC 20 08 50 */ fneg f1, f1 -lbl_8026FE9C: -/* 8026FE9C 0026CDDC C0 03 05 DC */ lfs f0, 0x5dc(r3) -/* 8026FEA0 0026CDE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8026FEA4 0026CDE4 40 80 01 28 */ bge lbl_8026FFCC -/* 8026FEA8 0026CDE8 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 8026FEAC 0026CDEC 2C 00 00 00 */ cmpwi r0, 0 -/* 8026FEB0 0026CDF0 40 82 00 90 */ bne lbl_8026FF40 -/* 8026FEB4 0026CDF4 EC 05 30 24 */ fdivs f0, f5, f6 -/* 8026FEB8 0026CDF8 7F E3 FB 78 */ mr r3, r31 -/* 8026FEBC 0026CDFC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026FEC0 0026CE00 C2 02 CD 80 */ lfs f16, lbl_8051B0E0@sda21(r2) -/* 8026FEC4 0026CE04 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8026FEC8 0026CE08 ED C0 06 72 */ fmuls f14, f0, f25 -/* 8026FECC 0026CE0C ED E0 06 F2 */ fmuls f15, f0, f27 -/* 8026FED0 0026CE10 7D 89 03 A6 */ mtctr r12 -/* 8026FED4 0026CE14 4E 80 04 21 */ bctrl -/* 8026FED8 0026CE18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026FEDC 0026CE1C 41 82 00 08 */ beq lbl_8026FEE4 -/* 8026FEE0 0026CE20 FE 00 D0 90 */ fmr f16, f26 -lbl_8026FEE4: -/* 8026FEE4 0026CE24 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 8026FEE8 0026CE28 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 8026FEEC 0026CE2C 3C 80 80 4B */ lis r4, __vt__Q24Game12InteractWind@ha -/* 8026FEF0 0026CE30 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractDenki@ha -/* 8026FEF4 0026CE34 C0 06 06 04 */ lfs f0, 0x604(r6) -/* 8026FEF8 0026CE38 38 C5 A3 00 */ addi r6, r5, __vt__Q24Game11Interaction@l -/* 8026FEFC 0026CE3C 38 A4 49 74 */ addi r5, r4, __vt__Q24Game12InteractWind@l -/* 8026FF00 0026CE40 38 03 49 08 */ addi r0, r3, __vt__Q24Game13InteractDenki@l -/* 8026FF04 0026CE44 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 8026FF08 0026CE48 7F E3 FB 78 */ mr r3, r31 -/* 8026FF0C 0026CE4C 38 81 00 3C */ addi r4, r1, 0x3c -/* 8026FF10 0026CE50 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8026FF14 0026CE54 93 C1 00 40 */ stw r30, 0x40(r1) -/* 8026FF18 0026CE58 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8026FF1C 0026CE5C D1 E1 00 48 */ stfs f15, 0x48(r1) -/* 8026FF20 0026CE60 D2 01 00 4C */ stfs f16, 0x4c(r1) -/* 8026FF24 0026CE64 D1 C1 00 50 */ stfs f14, 0x50(r1) -/* 8026FF28 0026CE68 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8026FF2C 0026CE6C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026FF30 0026CE70 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8026FF34 0026CE74 7D 89 03 A6 */ mtctr r12 -/* 8026FF38 0026CE78 4E 80 04 21 */ bctrl -/* 8026FF3C 0026CE7C 48 00 00 90 */ b lbl_8026FFCC -lbl_8026FF40: -/* 8026FF40 0026CE80 2C 00 00 01 */ cmpwi r0, 1 -/* 8026FF44 0026CE84 40 82 00 44 */ bne lbl_8026FF88 -/* 8026FF48 0026CE88 C0 03 06 04 */ lfs f0, 0x604(r3) -/* 8026FF4C 0026CE8C 3C 60 80 4B */ lis r3, __vt__Q24Game11Interaction@ha -/* 8026FF50 0026CE90 38 03 A3 00 */ addi r0, r3, __vt__Q24Game11Interaction@l -/* 8026FF54 0026CE94 3C 60 80 4B */ lis r3, __vt__Q24Game12InteractFire@ha -/* 8026FF58 0026CE98 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026FF5C 0026CE9C 38 03 48 78 */ addi r0, r3, __vt__Q24Game12InteractFire@l -/* 8026FF60 0026CEA0 7F E3 FB 78 */ mr r3, r31 -/* 8026FF64 0026CEA4 38 81 00 20 */ addi r4, r1, 0x20 -/* 8026FF68 0026CEA8 93 C1 00 24 */ stw r30, 0x24(r1) -/* 8026FF6C 0026CEAC 90 01 00 20 */ stw r0, 0x20(r1) -/* 8026FF70 0026CEB0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8026FF74 0026CEB4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026FF78 0026CEB8 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8026FF7C 0026CEBC 7D 89 03 A6 */ mtctr r12 -/* 8026FF80 0026CEC0 4E 80 04 21 */ bctrl -/* 8026FF84 0026CEC4 48 00 00 48 */ b lbl_8026FFCC -lbl_8026FF88: -/* 8026FF88 0026CEC8 2C 00 00 02 */ cmpwi r0, 2 -/* 8026FF8C 0026CECC 40 82 00 40 */ bne lbl_8026FFCC -/* 8026FF90 0026CED0 C0 03 06 04 */ lfs f0, 0x604(r3) -/* 8026FF94 0026CED4 3C 60 80 4B */ lis r3, __vt__Q24Game11Interaction@ha -/* 8026FF98 0026CED8 38 03 A3 00 */ addi r0, r3, __vt__Q24Game11Interaction@l -/* 8026FF9C 0026CEDC 3C 60 80 4B */ lis r3, __vt__Q24Game14InteractBubble@ha -/* 8026FFA0 0026CEE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026FFA4 0026CEE4 38 03 48 30 */ addi r0, r3, __vt__Q24Game14InteractBubble@l -/* 8026FFA8 0026CEE8 7F E3 FB 78 */ mr r3, r31 -/* 8026FFAC 0026CEEC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8026FFB0 0026CEF0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8026FFB4 0026CEF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8026FFB8 0026CEF8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8026FFBC 0026CEFC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8026FFC0 0026CF00 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8026FFC4 0026CF04 7D 89 03 A6 */ mtctr r12 -/* 8026FFC8 0026CF08 4E 80 04 21 */ bctrl -lbl_8026FFCC: -/* 8026FFCC 0026CF0C 38 61 00 74 */ addi r3, r1, 0x74 -/* 8026FFD0 0026CF10 4B FB E5 31 */ bl next__Q24Game12CellIteratorFv -lbl_8026FFD4: -/* 8026FFD4 0026CF14 38 61 00 74 */ addi r3, r1, 0x74 -/* 8026FFD8 0026CF18 4B FB E5 5D */ bl isDone__Q24Game12CellIteratorFv -/* 8026FFDC 0026CF1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8026FFE0 0026CF20 41 82 FD BC */ beq lbl_8026FD9C -/* 8026FFE4 0026CF24 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 -/* 8026FFE8 0026CF28 CB E1 02 00 */ lfd f31, 0x200(r1) -/* 8026FFEC 0026CF2C E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 -/* 8026FFF0 0026CF30 CB C1 01 F0 */ lfd f30, 0x1f0(r1) -/* 8026FFF4 0026CF34 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 -/* 8026FFF8 0026CF38 CB A1 01 E0 */ lfd f29, 0x1e0(r1) -/* 8026FFFC 0026CF3C E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 -/* 80270000 0026CF40 CB 81 01 D0 */ lfd f28, 0x1d0(r1) -/* 80270004 0026CF44 E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 -/* 80270008 0026CF48 CB 61 01 C0 */ lfd f27, 0x1c0(r1) -/* 8027000C 0026CF4C E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 -/* 80270010 0026CF50 CB 41 01 B0 */ lfd f26, 0x1b0(r1) -/* 80270014 0026CF54 E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 -/* 80270018 0026CF58 CB 21 01 A0 */ lfd f25, 0x1a0(r1) -/* 8027001C 0026CF5C E3 01 01 98 */ psq_l f24, 408(r1), 0, qr0 -/* 80270020 0026CF60 CB 01 01 90 */ lfd f24, 0x190(r1) -/* 80270024 0026CF64 E2 E1 01 88 */ psq_l f23, 392(r1), 0, qr0 -/* 80270028 0026CF68 CA E1 01 80 */ lfd f23, 0x180(r1) -/* 8027002C 0026CF6C E2 C1 01 78 */ psq_l f22, 376(r1), 0, qr0 -/* 80270030 0026CF70 CA C1 01 70 */ lfd f22, 0x170(r1) -/* 80270034 0026CF74 E2 A1 01 68 */ psq_l f21, 360(r1), 0, qr0 -/* 80270038 0026CF78 CA A1 01 60 */ lfd f21, 0x160(r1) -/* 8027003C 0026CF7C E2 81 01 58 */ psq_l f20, 344(r1), 0, qr0 -/* 80270040 0026CF80 CA 81 01 50 */ lfd f20, 0x150(r1) -/* 80270044 0026CF84 E2 61 01 48 */ psq_l f19, 328(r1), 0, qr0 -/* 80270048 0026CF88 CA 61 01 40 */ lfd f19, 0x140(r1) -/* 8027004C 0026CF8C E2 41 01 38 */ psq_l f18, 312(r1), 0, qr0 -/* 80270050 0026CF90 CA 41 01 30 */ lfd f18, 0x130(r1) -/* 80270054 0026CF94 E2 21 01 28 */ psq_l f17, 296(r1), 0, qr0 -/* 80270058 0026CF98 CA 21 01 20 */ lfd f17, 0x120(r1) -/* 8027005C 0026CF9C E2 01 01 18 */ psq_l f16, 280(r1), 0, qr0 -/* 80270060 0026CFA0 CA 01 01 10 */ lfd f16, 0x110(r1) -/* 80270064 0026CFA4 E1 E1 01 08 */ psq_l f15, 264(r1), 0, qr0 -/* 80270068 0026CFA8 C9 E1 01 00 */ lfd f15, 0x100(r1) -/* 8027006C 0026CFAC E1 C1 00 F8 */ psq_l f14, 248(r1), 0, qr0 -/* 80270070 0026CFB0 C9 C1 00 F0 */ lfd f14, 0xf0(r1) -/* 80270074 0026CFB4 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 80270078 0026CFB8 80 01 02 14 */ lwz r0, 0x214(r1) -/* 8027007C 0026CFBC 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 80270080 0026CFC0 7C 08 03 A6 */ mtlr r0 -/* 80270084 0026CFC4 38 21 02 10 */ addi r1, r1, 0x210 -/* 80270088 0026CFC8 4E 80 00 20 */ blr - -.global addDamageMyself__Q34Game8ElecHiba3ObjFf -addDamageMyself__Q34Game8ElecHiba3ObjFf: -/* 8027008C 0026CFCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270090 0026CFD0 7C 08 02 A6 */ mflr r0 -/* 80270094 0026CFD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270098 0026CFD8 80 83 01 E0 */ lwz r4, 0x1e0(r3) -/* 8027009C 0026CFDC 54 80 07 FF */ clrlwi. r0, r4, 0x1f -/* 802700A0 0026CFE0 40 82 00 28 */ bne lbl_802700C8 -/* 802700A4 0026CFE4 60 80 00 02 */ ori r0, r4, 2 -/* 802700A8 0026CFE8 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 802700AC 0026CFEC 80 83 02 D4 */ lwz r4, 0x2d4(r3) -/* 802700B0 0026CFF0 28 04 00 00 */ cmplwi r4, 0 -/* 802700B4 0026CFF4 41 82 00 10 */ beq lbl_802700C4 -/* 802700B8 0026CFF8 80 64 00 18 */ lwz r3, 0x18(r4) -/* 802700BC 0026CFFC 48 00 00 1D */ bl damageIncrement__Q34Game8ElecHiba3ObjFf -/* 802700C0 0026D000 48 00 00 08 */ b lbl_802700C8 -lbl_802700C4: -/* 802700C4 0026D004 48 00 00 15 */ bl damageIncrement__Q34Game8ElecHiba3ObjFf -lbl_802700C8: -/* 802700C8 0026D008 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802700CC 0026D00C 7C 08 03 A6 */ mtlr r0 -/* 802700D0 0026D010 38 21 00 10 */ addi r1, r1, 0x10 -/* 802700D4 0026D014 4E 80 00 20 */ blr - -.global damageIncrement__Q34Game8ElecHiba3ObjFf -damageIncrement__Q34Game8ElecHiba3ObjFf: -/* 802700D8 0026D018 C0 03 02 08 */ lfs f0, 0x208(r3) -/* 802700DC 0026D01C EC 00 08 2A */ fadds f0, f0, f1 -/* 802700E0 0026D020 D0 03 02 08 */ stfs f0, 0x208(r3) -/* 802700E4 0026D024 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 802700E8 0026D028 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 802700EC 0026D02C 4D 82 00 20 */ beqlr -/* 802700F0 0026D030 C0 23 02 0C */ lfs f1, 0x20c(r3) -/* 802700F4 0026D034 C0 02 CD 84 */ lfs f0, lbl_8051B0E4@sda21(r2) -/* 802700F8 0026D038 EC 01 00 2A */ fadds f0, f1, f0 -/* 802700FC 0026D03C D0 03 02 0C */ stfs f0, 0x20c(r3) -/* 80270100 0026D040 4E 80 00 20 */ blr - -.global setupLodParms__Q34Game8ElecHiba3ObjFv -setupLodParms__Q34Game8ElecHiba3ObjFv: -/* 80270104 0026D044 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80270108 0026D048 38 00 00 00 */ li r0, 0 -/* 8027010C 0026D04C C0 04 08 BC */ lfs f0, 0x8bc(r4) -/* 80270110 0026D050 D0 03 02 64 */ stfs f0, 0x264(r3) -/* 80270114 0026D054 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80270118 0026D058 C0 04 08 E4 */ lfs f0, 0x8e4(r4) -/* 8027011C 0026D05C D0 03 02 68 */ stfs f0, 0x268(r3) -/* 80270120 0026D060 98 03 02 6C */ stb r0, 0x26c(r3) -/* 80270124 0026D064 4E 80 00 20 */ blr - -.global updateEfxLod__Q34Game8ElecHiba3ObjFv -updateEfxLod__Q34Game8ElecHiba3ObjFv: -/* 80270128 0026D068 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027012C 0026D06C 7C 08 02 A6 */ mflr r0 -/* 80270130 0026D070 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270134 0026D074 80 83 02 F0 */ lwz r4, 0x2f0(r3) -/* 80270138 0026D078 28 04 00 00 */ cmplwi r4, 0 -/* 8027013C 0026D07C 41 82 00 14 */ beq lbl_80270150 -/* 80270140 0026D080 88 03 00 D8 */ lbz r0, 0xd8(r3) -/* 80270144 0026D084 7C 83 23 78 */ mr r3, r4 -/* 80270148 0026D088 54 04 07 BE */ clrlwi r4, r0, 0x1e -/* 8027014C 0026D08C 48 14 50 49 */ bl setRateLOD__Q23efx13TDenkiHibaMgrFi -lbl_80270150: -/* 80270150 0026D090 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270154 0026D094 7C 08 03 A6 */ mtlr r0 -/* 80270158 0026D098 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027015C 0026D09C 4E 80 00 20 */ blr - -.global createEffect__Q34Game8ElecHiba3ObjFb -createEffect__Q34Game8ElecHiba3ObjFb: -/* 80270160 0026D0A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80270164 0026D0A4 7C 08 02 A6 */ mflr r0 -/* 80270168 0026D0A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027016C 0026D0AC 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80270170 0026D0B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80270174 0026D0B4 7C 7F 1B 78 */ mr r31, r3 -/* 80270178 0026D0B8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027017C 0026D0BC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80270180 0026D0C0 41 82 00 98 */ beq lbl_80270218 -/* 80270184 0026D0C4 38 60 00 B8 */ li r3, 0xb8 -/* 80270188 0026D0C8 4B DB 3D 1D */ bl __nw__FUl -/* 8027018C 0026D0CC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80270190 0026D0D0 41 82 00 80 */ beq lbl_80270210 -/* 80270194 0026D0D4 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80270198 0026D0D8 3C 60 80 4E */ lis r3, __vt__Q23efx13TDenkiHibaMgr@ha -/* 8027019C 0026D0DC 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 802701A0 0026D0E0 3B BE 00 04 */ addi r29, r30, 4 -/* 802701A4 0026D0E4 90 1E 00 00 */ stw r0, 0(r30) -/* 802701A8 0026D0E8 38 03 6B 68 */ addi r0, r3, __vt__Q23efx13TDenkiHibaMgr@l -/* 802701AC 0026D0EC 38 80 00 2D */ li r4, 0x2d -/* 802701B0 0026D0F0 7F A3 EB 78 */ mr r3, r29 -/* 802701B4 0026D0F4 90 1E 00 00 */ stw r0, 0(r30) -/* 802701B8 0026D0F8 38 A0 00 2E */ li r5, 0x2e -/* 802701BC 0026D0FC 38 C0 00 2F */ li r6, 0x2f -/* 802701C0 0026D100 48 13 FF 41 */ bl __ct__Q23efx9TForever3FUsUsUs -/* 802701C4 0026D104 3C 60 80 4E */ lis r3, __vt__Q23efx10TDenkiHiba@ha -/* 802701C8 0026D108 3C 80 80 27 */ lis r4, __ct__Q23efx10TDenkiPoleFv@ha -/* 802701CC 0026D10C 38 03 6B 7C */ addi r0, r3, __vt__Q23efx10TDenkiHiba@l -/* 802701D0 0026D110 38 C0 00 24 */ li r6, 0x24 -/* 802701D4 0026D114 3C 60 80 27 */ lis r3, __dt__Q23efx10TDenkiPoleFv@ha -/* 802701D8 0026D118 90 1D 00 00 */ stw r0, 0(r29) -/* 802701DC 0026D11C 38 A3 03 44 */ addi r5, r3, __dt__Q23efx10TDenkiPoleFv@l -/* 802701E0 0026D120 38 84 03 D4 */ addi r4, r4, __ct__Q23efx10TDenkiPoleFv@l -/* 802701E4 0026D124 38 7E 00 38 */ addi r3, r30, 0x38 -/* 802701E8 0026D128 38 E0 00 02 */ li r7, 2 -/* 802701EC 0026D12C 4B E5 16 51 */ bl __construct_array -/* 802701F0 0026D130 3C 60 80 27 */ lis r3, __ct__Q23efx14TDenkipoleSignFv@ha -/* 802701F4 0026D134 3C A0 80 27 */ lis r5, __dt__Q23efx14TDenkipoleSignFv@ha -/* 802701F8 0026D138 38 83 02 D8 */ addi r4, r3, __ct__Q23efx14TDenkipoleSignFv@l -/* 802701FC 0026D13C 38 C0 00 10 */ li r6, 0x10 -/* 80270200 0026D140 38 7E 00 80 */ addi r3, r30, 0x80 -/* 80270204 0026D144 38 A5 02 3C */ addi r5, r5, __dt__Q23efx14TDenkipoleSignFv@l -/* 80270208 0026D148 38 E0 00 02 */ li r7, 2 -/* 8027020C 0026D14C 4B E5 16 31 */ bl __construct_array -lbl_80270210: -/* 80270210 0026D150 93 DF 02 F0 */ stw r30, 0x2f0(r31) -/* 80270214 0026D154 48 00 00 0C */ b lbl_80270220 -lbl_80270218: -/* 80270218 0026D158 38 00 00 00 */ li r0, 0 -/* 8027021C 0026D15C 90 1F 02 F0 */ stw r0, 0x2f0(r31) -lbl_80270220: -/* 80270220 0026D160 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80270224 0026D164 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80270228 0026D168 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027022C 0026D16C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80270230 0026D170 7C 08 03 A6 */ mtlr r0 -/* 80270234 0026D174 38 21 00 20 */ addi r1, r1, 0x20 -/* 80270238 0026D178 4E 80 00 20 */ blr - -.global __dt__Q23efx14TDenkipoleSignFv -__dt__Q23efx14TDenkipoleSignFv: -/* 8027023C 0026D17C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270240 0026D180 7C 08 02 A6 */ mflr r0 -/* 80270244 0026D184 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270248 0026D188 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027024C 0026D18C 7C 9F 23 78 */ mr r31, r4 -/* 80270250 0026D190 93 C1 00 08 */ stw r30, 8(r1) -/* 80270254 0026D194 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80270258 0026D198 41 82 00 64 */ beq lbl_802702BC -/* 8027025C 0026D19C 3C 60 80 4C */ lis r3, __vt__Q23efx14TDenkipoleSign@ha -/* 80270260 0026D1A0 38 63 5F 50 */ addi r3, r3, __vt__Q23efx14TDenkipoleSign@l -/* 80270264 0026D1A4 90 7E 00 00 */ stw r3, 0(r30) -/* 80270268 0026D1A8 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027026C 0026D1AC 90 1E 00 04 */ stw r0, 4(r30) -/* 80270270 0026D1B0 41 82 00 3C */ beq lbl_802702AC -/* 80270274 0026D1B4 3C 60 80 4B */ lis r3, __vt__Q23efx8TForever@ha -/* 80270278 0026D1B8 38 63 2C 24 */ addi r3, r3, __vt__Q23efx8TForever@l -/* 8027027C 0026D1BC 90 7E 00 00 */ stw r3, 0(r30) -/* 80270280 0026D1C0 38 03 00 14 */ addi r0, r3, 0x14 -/* 80270284 0026D1C4 90 1E 00 04 */ stw r0, 4(r30) -/* 80270288 0026D1C8 41 82 00 24 */ beq lbl_802702AC -/* 8027028C 0026D1CC 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80270290 0026D1D0 38 7E 00 04 */ addi r3, r30, 4 -/* 80270294 0026D1D4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80270298 0026D1D8 38 80 00 00 */ li r4, 0 -/* 8027029C 0026D1DC 90 BE 00 00 */ stw r5, 0(r30) -/* 802702A0 0026D1E0 38 05 00 14 */ addi r0, r5, 0x14 -/* 802702A4 0026D1E4 90 1E 00 04 */ stw r0, 4(r30) -/* 802702A8 0026D1E8 4B E1 F9 F5 */ bl __dt__18JPAEmitterCallBackFv -lbl_802702AC: -/* 802702AC 0026D1EC 7F E0 07 35 */ extsh. r0, r31 -/* 802702B0 0026D1F0 40 81 00 0C */ ble lbl_802702BC -/* 802702B4 0026D1F4 7F C3 F3 78 */ mr r3, r30 -/* 802702B8 0026D1F8 4B DB 3D FD */ bl __dl__FPv -lbl_802702BC: -/* 802702BC 0026D1FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802702C0 0026D200 7F C3 F3 78 */ mr r3, r30 -/* 802702C4 0026D204 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802702C8 0026D208 83 C1 00 08 */ lwz r30, 8(r1) -/* 802702CC 0026D20C 7C 08 03 A6 */ mtlr r0 -/* 802702D0 0026D210 38 21 00 10 */ addi r1, r1, 0x10 -/* 802702D4 0026D214 4E 80 00 20 */ blr - -.global __ct__Q23efx14TDenkipoleSignFv -__ct__Q23efx14TDenkipoleSignFv: -/* 802702D8 0026D218 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 802702DC 0026D21C 3C A0 80 4E */ lis r5, __vt__Q23efx5TSync@ha -/* 802702E0 0026D220 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 802702E4 0026D224 3C C0 80 4A */ lis r6, __vt__18JPAEmitterCallBack@ha -/* 802702E8 0026D228 90 03 00 00 */ stw r0, 0(r3) -/* 802702EC 0026D22C 38 06 E2 7C */ addi r0, r6, __vt__18JPAEmitterCallBack@l -/* 802702F0 0026D230 3C 80 80 4B */ lis r4, __vt__Q23efx8TForever@ha -/* 802702F4 0026D234 38 A5 69 8C */ addi r5, r5, __vt__Q23efx5TSync@l -/* 802702F8 0026D238 90 03 00 04 */ stw r0, 4(r3) -/* 802702FC 0026D23C 38 C4 2C 24 */ addi r6, r4, __vt__Q23efx8TForever@l -/* 80270300 0026D240 3C 80 80 4C */ lis r4, __vt__Q23efx14TDenkipoleSign@ha -/* 80270304 0026D244 38 05 00 14 */ addi r0, r5, 0x14 -/* 80270308 0026D248 90 A3 00 00 */ stw r5, 0(r3) -/* 8027030C 0026D24C 39 00 00 00 */ li r8, 0 -/* 80270310 0026D250 38 E0 00 32 */ li r7, 0x32 -/* 80270314 0026D254 38 A6 00 14 */ addi r5, r6, 0x14 -/* 80270318 0026D258 90 03 00 04 */ stw r0, 4(r3) -/* 8027031C 0026D25C 38 84 5F 50 */ addi r4, r4, __vt__Q23efx14TDenkipoleSign@l -/* 80270320 0026D260 38 04 00 14 */ addi r0, r4, 0x14 -/* 80270324 0026D264 91 03 00 08 */ stw r8, 8(r3) -/* 80270328 0026D268 B0 E3 00 0C */ sth r7, 0xc(r3) -/* 8027032C 0026D26C 99 03 00 0E */ stb r8, 0xe(r3) -/* 80270330 0026D270 90 C3 00 00 */ stw r6, 0(r3) -/* 80270334 0026D274 90 A3 00 04 */ stw r5, 4(r3) -/* 80270338 0026D278 90 83 00 00 */ stw r4, 0(r3) -/* 8027033C 0026D27C 90 03 00 04 */ stw r0, 4(r3) -/* 80270340 0026D280 4E 80 00 20 */ blr - -.global __dt__Q23efx10TDenkiPoleFv -__dt__Q23efx10TDenkiPoleFv: -/* 80270344 0026D284 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270348 0026D288 7C 08 02 A6 */ mflr r0 -/* 8027034C 0026D28C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270350 0026D290 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270354 0026D294 7C 9F 23 78 */ mr r31, r4 -/* 80270358 0026D298 93 C1 00 08 */ stw r30, 8(r1) -/* 8027035C 0026D29C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80270360 0026D2A0 41 82 00 58 */ beq lbl_802703B8 -/* 80270364 0026D2A4 3C 60 80 4C */ lis r3, __vt__Q23efx10TDenkiPole@ha -/* 80270368 0026D2A8 38 03 5F 34 */ addi r0, r3, __vt__Q23efx10TDenkiPole@l -/* 8027036C 0026D2AC 90 1E 00 00 */ stw r0, 0(r30) -/* 80270370 0026D2B0 41 82 00 38 */ beq lbl_802703A8 -/* 80270374 0026D2B4 3C 60 80 4B */ lis r3, __vt__Q23efx9TForever2@ha -/* 80270378 0026D2B8 38 03 29 98 */ addi r0, r3, __vt__Q23efx9TForever2@l -/* 8027037C 0026D2BC 90 1E 00 00 */ stw r0, 0(r30) -/* 80270380 0026D2C0 41 82 00 28 */ beq lbl_802703A8 -/* 80270384 0026D2C4 3C 60 80 4B */ lis r3, __vt__Q23efx28TSyncGroup2$$0Q23efx8TForever$$1@ha -/* 80270388 0026D2C8 3C 80 80 17 */ lis r4, __dt__Q23efx8TForeverFv@ha -/* 8027038C 0026D2CC 38 03 29 7C */ addi r0, r3, __vt__Q23efx28TSyncGroup2$$0Q23efx8TForever$$1@l -/* 80270390 0026D2D0 38 A0 00 10 */ li r5, 0x10 -/* 80270394 0026D2D4 90 1E 00 00 */ stw r0, 0(r30) -/* 80270398 0026D2D8 38 7E 00 04 */ addi r3, r30, 4 -/* 8027039C 0026D2DC 38 84 5C C8 */ addi r4, r4, __dt__Q23efx8TForeverFv@l -/* 802703A0 0026D2E0 38 C0 00 02 */ li r6, 2 -/* 802703A4 0026D2E4 4B E5 14 21 */ bl __destroy_arr -lbl_802703A8: -/* 802703A8 0026D2E8 7F E0 07 35 */ extsh. r0, r31 -/* 802703AC 0026D2EC 40 81 00 0C */ ble lbl_802703B8 -/* 802703B0 0026D2F0 7F C3 F3 78 */ mr r3, r30 -/* 802703B4 0026D2F4 4B DB 3D 01 */ bl __dl__FPv -lbl_802703B8: -/* 802703B8 0026D2F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802703BC 0026D2FC 7F C3 F3 78 */ mr r3, r30 -/* 802703C0 0026D300 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802703C4 0026D304 83 C1 00 08 */ lwz r30, 8(r1) -/* 802703C8 0026D308 7C 08 03 A6 */ mtlr r0 -/* 802703CC 0026D30C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802703D0 0026D310 4E 80 00 20 */ blr - -.global __ct__Q23efx10TDenkiPoleFv -__ct__Q23efx10TDenkiPoleFv: -/* 802703D4 0026D314 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802703D8 0026D318 7C 08 02 A6 */ mflr r0 -/* 802703DC 0026D31C 38 80 00 30 */ li r4, 0x30 -/* 802703E0 0026D320 38 A0 00 31 */ li r5, 0x31 -/* 802703E4 0026D324 90 01 00 14 */ stw r0, 0x14(r1) -/* 802703E8 0026D328 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802703EC 0026D32C 7C 7F 1B 78 */ mr r31, r3 -/* 802703F0 0026D330 48 13 FC 21 */ bl __ct__Q23efx9TForever2FUsUs -/* 802703F4 0026D334 3C 80 80 4C */ lis r4, __vt__Q23efx10TDenkiPole@ha -/* 802703F8 0026D338 7F E3 FB 78 */ mr r3, r31 -/* 802703FC 0026D33C 38 04 5F 34 */ addi r0, r4, __vt__Q23efx10TDenkiPole@l -/* 80270400 0026D340 90 1F 00 00 */ stw r0, 0(r31) -/* 80270404 0026D344 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270408 0026D348 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027040C 0026D34C 7C 08 03 A6 */ mtlr r0 -/* 80270410 0026D350 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270414 0026D354 4E 80 00 20 */ blr - -.global startChargeEffect__Q34Game8ElecHiba3ObjFPQ24Game8Creature -startChargeEffect__Q34Game8ElecHiba3ObjFPQ24Game8Creature: -/* 80270418 0026D358 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8027041C 0026D35C 7C 08 02 A6 */ mflr r0 -/* 80270420 0026D360 90 01 00 74 */ stw r0, 0x74(r1) -/* 80270424 0026D364 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80270428 0026D368 7C 7F 1B 78 */ mr r31, r3 -/* 8027042C 0026D36C 80 03 02 F0 */ lwz r0, 0x2f0(r3) -/* 80270430 0026D370 28 00 00 00 */ cmplwi r0, 0 -/* 80270434 0026D374 41 82 00 E0 */ beq lbl_80270514 -/* 80270438 0026D378 81 84 00 00 */ lwz r12, 0(r4) -/* 8027043C 0026D37C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80270440 0026D380 81 8C 00 08 */ lwz r12, 8(r12) -/* 80270444 0026D384 7D 89 03 A6 */ mtctr r12 -/* 80270448 0026D388 4E 80 04 21 */ bctrl -/* 8027044C 0026D38C C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80270450 0026D390 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80270454 0026D394 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80270458 0026D398 3C 60 80 51 */ lis r3, zero__10Vector3$$0f$$1@ha -/* 8027045C 0026D39C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80270460 0026D3A0 38 A3 41 E4 */ addi r5, r3, zero__10Vector3$$0f$$1@l -/* 80270464 0026D3A4 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80270468 0026D3A8 3C 60 80 4C */ lis r3, __vt__Q23efx12ArgDenkiHiba@ha -/* 8027046C 0026D3AC 81 1F 01 8C */ lwz r8, 0x18c(r31) -/* 80270470 0026D3B0 38 C4 A7 EC */ addi r6, r4, __vt__Q23efx3Arg@l -/* 80270474 0026D3B4 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80270478 0026D3B8 38 03 5F 28 */ addi r0, r3, __vt__Q23efx12ArgDenkiHiba@l -/* 8027047C 0026D3BC 81 61 00 2C */ lwz r11, 0x2c(r1) -/* 80270480 0026D3C0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80270484 0026D3C4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80270488 0026D3C8 81 41 00 30 */ lwz r10, 0x30(r1) -/* 8027048C 0026D3CC 81 21 00 34 */ lwz r9, 0x34(r1) -/* 80270490 0026D3D0 80 FF 01 90 */ lwz r7, 0x190(r31) -/* 80270494 0026D3D4 80 7F 01 94 */ lwz r3, 0x194(r31) -/* 80270498 0026D3D8 91 61 00 08 */ stw r11, 8(r1) -/* 8027049C 0026D3DC C1 05 00 00 */ lfs f8, 0(r5) -/* 802704A0 0026D3E0 91 41 00 0C */ stw r10, 0xc(r1) -/* 802704A4 0026D3E4 C0 E5 00 04 */ lfs f7, 4(r5) -/* 802704A8 0026D3E8 91 21 00 10 */ stw r9, 0x10(r1) -/* 802704AC 0026D3EC C0 C5 00 08 */ lfs f6, 8(r5) -/* 802704B0 0026D3F0 91 01 00 14 */ stw r8, 0x14(r1) -/* 802704B4 0026D3F4 C0 41 00 08 */ lfs f2, 8(r1) -/* 802704B8 0026D3F8 90 E1 00 18 */ stw r7, 0x18(r1) -/* 802704BC 0026D3FC C0 A1 00 14 */ lfs f5, 0x14(r1) -/* 802704C0 0026D400 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802704C4 0026D404 C0 81 00 18 */ lfs f4, 0x18(r1) -/* 802704C8 0026D408 90 C1 00 38 */ stw r6, 0x38(r1) -/* 802704CC 0026D40C C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 802704D0 0026D410 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802704D4 0026D414 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802704D8 0026D418 D1 01 00 3C */ stfs f8, 0x3c(r1) -/* 802704DC 0026D41C D0 E1 00 40 */ stfs f7, 0x40(r1) -/* 802704E0 0026D420 D0 C1 00 44 */ stfs f6, 0x44(r1) -/* 802704E4 0026D424 90 01 00 38 */ stw r0, 0x38(r1) -/* 802704E8 0026D428 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 802704EC 0026D42C D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 802704F0 0026D430 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 802704F4 0026D434 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 802704F8 0026D438 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 802704FC 0026D43C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80270500 0026D440 80 7F 02 F0 */ lwz r3, 0x2f0(r31) -/* 80270504 0026D444 81 83 00 00 */ lwz r12, 0(r3) -/* 80270508 0026D448 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027050C 0026D44C 7D 89 03 A6 */ mtctr r12 -/* 80270510 0026D450 4E 80 04 21 */ bctrl -lbl_80270514: -/* 80270514 0026D454 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80270518 0026D458 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8027051C 0026D45C 7C 08 03 A6 */ mtlr r0 -/* 80270520 0026D460 38 21 00 70 */ addi r1, r1, 0x70 -/* 80270524 0026D464 4E 80 00 20 */ blr - -.global finishChargeEffect__Q34Game8ElecHiba3ObjFv -finishChargeEffect__Q34Game8ElecHiba3ObjFv: -/* 80270528 0026D468 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027052C 0026D46C 7C 08 02 A6 */ mflr r0 -/* 80270530 0026D470 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270534 0026D474 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 80270538 0026D478 28 03 00 00 */ cmplwi r3, 0 -/* 8027053C 0026D47C 41 82 00 14 */ beq lbl_80270550 -/* 80270540 0026D480 81 83 00 00 */ lwz r12, 0(r3) -/* 80270544 0026D484 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80270548 0026D488 7D 89 03 A6 */ mtctr r12 -/* 8027054C 0026D48C 4E 80 04 21 */ bctrl -lbl_80270550: -/* 80270550 0026D490 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270554 0026D494 7C 08 03 A6 */ mtlr r0 -/* 80270558 0026D498 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027055C 0026D49C 4E 80 00 20 */ blr - -.global startDisChargeEffect__Q34Game8ElecHiba3ObjFv -startDisChargeEffect__Q34Game8ElecHiba3ObjFv: -/* 80270560 0026D4A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270564 0026D4A4 7C 08 02 A6 */ mflr r0 -/* 80270568 0026D4A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027056C 0026D4AC 80 03 02 F0 */ lwz r0, 0x2f0(r3) -/* 80270570 0026D4B0 28 00 00 00 */ cmplwi r0, 0 -/* 80270574 0026D4B4 41 82 00 4C */ beq lbl_802705C0 -/* 80270578 0026D4B8 80 63 02 F8 */ lwz r3, 0x2f8(r3) -/* 8027057C 0026D4BC 2C 03 00 00 */ cmpwi r3, 0 -/* 80270580 0026D4C0 40 82 00 14 */ bne lbl_80270594 -/* 80270584 0026D4C4 7C 03 03 78 */ mr r3, r0 -/* 80270588 0026D4C8 38 80 00 00 */ li r4, 0 -/* 8027058C 0026D4CC 48 14 49 79 */ bl createHiba__Q23efx13TDenkiHibaMgrFi -/* 80270590 0026D4D0 48 00 00 30 */ b lbl_802705C0 -lbl_80270594: -/* 80270594 0026D4D4 2C 03 00 01 */ cmpwi r3, 1 -/* 80270598 0026D4D8 40 82 00 14 */ bne lbl_802705AC -/* 8027059C 0026D4DC 7C 03 03 78 */ mr r3, r0 -/* 802705A0 0026D4E0 38 80 00 01 */ li r4, 1 -/* 802705A4 0026D4E4 48 14 49 61 */ bl createHiba__Q23efx13TDenkiHibaMgrFi -/* 802705A8 0026D4E8 48 00 00 18 */ b lbl_802705C0 -lbl_802705AC: -/* 802705AC 0026D4EC 2C 03 00 02 */ cmpwi r3, 2 -/* 802705B0 0026D4F0 40 82 00 10 */ bne lbl_802705C0 -/* 802705B4 0026D4F4 7C 03 03 78 */ mr r3, r0 -/* 802705B8 0026D4F8 38 80 00 02 */ li r4, 2 -/* 802705BC 0026D4FC 48 14 49 49 */ bl createHiba__Q23efx13TDenkiHibaMgrFi -lbl_802705C0: -/* 802705C0 0026D500 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802705C4 0026D504 7C 08 03 A6 */ mtlr r0 -/* 802705C8 0026D508 38 21 00 10 */ addi r1, r1, 0x10 -/* 802705CC 0026D50C 4E 80 00 20 */ blr - -.global finishDisChargeEffect__Q34Game8ElecHiba3ObjFv -finishDisChargeEffect__Q34Game8ElecHiba3ObjFv: -/* 802705D0 0026D510 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802705D4 0026D514 7C 08 02 A6 */ mflr r0 -/* 802705D8 0026D518 90 01 00 14 */ stw r0, 0x14(r1) -/* 802705DC 0026D51C 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 802705E0 0026D520 28 03 00 00 */ cmplwi r3, 0 -/* 802705E4 0026D524 41 82 00 14 */ beq lbl_802705F8 -/* 802705E8 0026D528 81 83 00 00 */ lwz r12, 0(r3) -/* 802705EC 0026D52C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802705F0 0026D530 7D 89 03 A6 */ mtctr r12 -/* 802705F4 0026D534 4E 80 04 21 */ bctrl -lbl_802705F8: -/* 802705F8 0026D538 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802705FC 0026D53C 7C 08 03 A6 */ mtlr r0 -/* 80270600 0026D540 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270604 0026D544 4E 80 00 20 */ blr - -.global generatorKill__Q34Game8ElecHiba3ObjFv -generatorKill__Q34Game8ElecHiba3ObjFv: -/* 80270608 0026D548 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027060C 0026D54C 7C 08 02 A6 */ mflr r0 -/* 80270610 0026D550 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270614 0026D554 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270618 0026D558 7C 7F 1B 78 */ mr r31, r3 -/* 8027061C 0026D55C 80 63 00 C4 */ lwz r3, 0xc4(r3) -/* 80270620 0026D560 28 03 00 00 */ cmplwi r3, 0 -/* 80270624 0026D564 41 82 00 14 */ beq lbl_80270638 -/* 80270628 0026D568 7F E4 FB 78 */ mr r4, r31 -/* 8027062C 0026D56C 4B F3 A6 C9 */ bl informDeath__Q24Game9GeneratorFPQ24Game8Creature -/* 80270630 0026D570 38 00 00 00 */ li r0, 0 -/* 80270634 0026D574 90 1F 00 C4 */ stw r0, 0xc4(r31) -lbl_80270638: -/* 80270638 0026D578 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027063C 0026D57C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270640 0026D580 7C 08 03 A6 */ mtlr r0 -/* 80270644 0026D584 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270648 0026D588 4E 80 00 20 */ blr - -.global setVersusHibaOnOff__Q34Game8ElecHiba3ObjFv -setVersusHibaOnOff__Q34Game8ElecHiba3ObjFv: -/* 8027064C 0026D58C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270650 0026D590 7C 08 02 A6 */ mflr r0 -/* 80270654 0026D594 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270658 0026D598 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027065C 0026D59C 7C 7F 1B 78 */ mr r31, r3 -/* 80270660 0026D5A0 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 80270664 0026D5A4 28 04 00 00 */ cmplwi r4, 0 -/* 80270668 0026D5A8 41 82 00 34 */ beq lbl_8027069C -/* 8027066C 0026D5AC 80 04 00 44 */ lwz r0, 0x44(r4) -/* 80270670 0026D5B0 2C 00 00 01 */ cmpwi r0, 1 -/* 80270674 0026D5B4 40 82 00 28 */ bne lbl_8027069C -/* 80270678 0026D5B8 80 6D 96 88 */ lwz r3, randMapMgr__Q24Game4Cave@sda21(r13) -/* 8027067C 0026D5BC 28 03 00 00 */ cmplwi r3, 0 -/* 80270680 0026D5C0 41 82 00 1C */ beq lbl_8027069C -/* 80270684 0026D5C4 4B FD 48 2D */ bl isVersusHiba__Q34Game4Cave10RandMapMgrFv -/* 80270688 0026D5C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027068C 0026D5CC 41 82 00 10 */ beq lbl_8027069C -/* 80270690 0026D5D0 38 00 00 01 */ li r0, 1 -/* 80270694 0026D5D4 98 1F 02 F4 */ stb r0, 0x2f4(r31) -/* 80270698 0026D5D8 48 00 00 0C */ b lbl_802706A4 -lbl_8027069C: -/* 8027069C 0026D5DC 38 00 00 00 */ li r0, 0 -/* 802706A0 0026D5E0 98 1F 02 F4 */ stb r0, 0x2f4(r31) -lbl_802706A4: -/* 802706A4 0026D5E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802706A8 0026D5E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802706AC 0026D5EC 7C 08 03 A6 */ mtlr r0 -/* 802706B0 0026D5F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802706B4 0026D5F4 4E 80 00 20 */ blr - -.global setVersusHibaType__Q34Game8ElecHiba3ObjFv -setVersusHibaType__Q34Game8ElecHiba3ObjFv: -/* 802706B8 0026D5F8 80 83 02 FC */ lwz r4, 0x2fc(r3) -/* 802706BC 0026D5FC 80 03 03 00 */ lwz r0, 0x300(r3) -/* 802706C0 0026D600 7C 04 00 00 */ cmpw r4, r0 -/* 802706C4 0026D604 4D 82 00 20 */ beqlr -/* 802706C8 0026D608 40 81 00 10 */ ble lbl_802706D8 -/* 802706CC 0026D60C 38 00 00 01 */ li r0, 1 -/* 802706D0 0026D610 90 03 02 F8 */ stw r0, 0x2f8(r3) -/* 802706D4 0026D614 4E 80 00 20 */ blr -lbl_802706D8: -/* 802706D8 0026D618 38 00 00 02 */ li r0, 2 -/* 802706DC 0026D61C 90 03 02 F8 */ stw r0, 0x2f8(r3) -/* 802706E0 0026D620 4E 80 00 20 */ blr - -.global resetAttrHitCount__Q34Game8ElecHiba3ObjFv -resetAttrHitCount__Q34Game8ElecHiba3ObjFv: -/* 802706E4 0026D624 38 00 00 00 */ li r0, 0 -/* 802706E8 0026D628 90 03 02 FC */ stw r0, 0x2fc(r3) -/* 802706EC 0026D62C 90 03 03 00 */ stw r0, 0x300(r3) -/* 802706F0 0026D630 4E 80 00 20 */ blr - -.global addAttrAttackCount__Q34Game8ElecHiba3ObjFPQ24Game4Piki -addAttrAttackCount__Q34Game8ElecHiba3ObjFPQ24Game4Piki: -/* 802706F4 0026D634 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802706F8 0026D638 7C 08 02 A6 */ mflr r0 -/* 802706FC 0026D63C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270700 0026D640 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270704 0026D644 7C 7F 1B 78 */ mr r31, r3 -/* 80270708 0026D648 88 04 02 B8 */ lbz r0, 0x2b8(r4) -/* 8027070C 0026D64C 2C 00 00 01 */ cmpwi r0, 1 -/* 80270710 0026D650 40 82 00 14 */ bne lbl_80270724 -/* 80270714 0026D654 80 7F 02 FC */ lwz r3, 0x2fc(r31) -/* 80270718 0026D658 38 03 00 01 */ addi r0, r3, 1 -/* 8027071C 0026D65C 90 1F 02 FC */ stw r0, 0x2fc(r31) -/* 80270720 0026D660 48 00 00 18 */ b lbl_80270738 -lbl_80270724: -/* 80270724 0026D664 2C 00 00 00 */ cmpwi r0, 0 -/* 80270728 0026D668 40 82 00 10 */ bne lbl_80270738 -/* 8027072C 0026D66C 80 7F 03 00 */ lwz r3, 0x300(r31) -/* 80270730 0026D670 38 03 00 01 */ addi r0, r3, 1 -/* 80270734 0026D674 90 1F 03 00 */ stw r0, 0x300(r31) -lbl_80270738: -/* 80270738 0026D678 7F E3 FB 78 */ mr r3, r31 -/* 8027073C 0026D67C 4B E9 6C B9 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80270740 0026D680 2C 03 00 03 */ cmpwi r3, 3 -/* 80270744 0026D684 40 82 00 0C */ bne lbl_80270750 -/* 80270748 0026D688 C0 02 CD 80 */ lfs f0, lbl_8051B0E0@sda21(r2) -/* 8027074C 0026D68C D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -lbl_80270750: -/* 80270750 0026D690 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270754 0026D694 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270758 0026D698 7C 08 03 A6 */ mtlr r0 -/* 8027075C 0026D69C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270760 0026D6A0 4E 80 00 20 */ blr - -.global isWaitFinish__Q34Game8ElecHiba3ObjFv -isWaitFinish__Q34Game8ElecHiba3ObjFv: -/* 80270764 0026D6A4 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80270768 0026D6A8 C0 23 02 C4 */ lfs f1, 0x2c4(r3) -/* 8027076C 0026D6AC C0 04 08 6C */ lfs f0, 0x86c(r4) -/* 80270770 0026D6B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270774 0026D6B4 40 81 00 28 */ ble lbl_8027079C -/* 80270778 0026D6B8 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8027077C 0026D6BC 2C 00 00 00 */ cmpwi r0, 0 -/* 80270780 0026D6C0 40 82 00 14 */ bne lbl_80270794 -/* 80270784 0026D6C4 80 83 02 FC */ lwz r4, 0x2fc(r3) -/* 80270788 0026D6C8 80 03 03 00 */ lwz r0, 0x300(r3) -/* 8027078C 0026D6CC 7C 04 00 00 */ cmpw r4, r0 -/* 80270790 0026D6D0 41 82 00 0C */ beq lbl_8027079C -lbl_80270794: -/* 80270794 0026D6D4 38 60 00 01 */ li r3, 1 -/* 80270798 0026D6D8 4E 80 00 20 */ blr -lbl_8027079C: -/* 8027079C 0026D6DC 38 60 00 00 */ li r3, 0 -/* 802707A0 0026D6E0 4E 80 00 20 */ blr - -.global isAttackFinish__Q34Game8ElecHiba3ObjFv -isAttackFinish__Q34Game8ElecHiba3ObjFv: -/* 802707A4 0026D6E4 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 802707A8 0026D6E8 C0 23 02 C4 */ lfs f1, 0x2c4(r3) -/* 802707AC 0026D6EC C0 04 08 6C */ lfs f0, 0x86c(r4) -/* 802707B0 0026D6F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802707B4 0026D6F4 41 81 00 38 */ bgt lbl_802707EC -/* 802707B8 0026D6F8 80 A3 02 F8 */ lwz r5, 0x2f8(r3) -/* 802707BC 0026D6FC 2C 05 00 01 */ cmpwi r5, 1 -/* 802707C0 0026D700 40 82 00 14 */ bne lbl_802707D4 -/* 802707C4 0026D704 80 83 03 00 */ lwz r4, 0x300(r3) -/* 802707C8 0026D708 80 03 02 FC */ lwz r0, 0x2fc(r3) -/* 802707CC 0026D70C 7C 04 00 00 */ cmpw r4, r0 -/* 802707D0 0026D710 41 81 00 1C */ bgt lbl_802707EC -lbl_802707D4: -/* 802707D4 0026D714 2C 05 00 02 */ cmpwi r5, 2 -/* 802707D8 0026D718 40 82 00 1C */ bne lbl_802707F4 -/* 802707DC 0026D71C 80 83 02 FC */ lwz r4, 0x2fc(r3) -/* 802707E0 0026D720 80 03 03 00 */ lwz r0, 0x300(r3) -/* 802707E4 0026D724 7C 04 00 00 */ cmpw r4, r0 -/* 802707E8 0026D728 40 81 00 0C */ ble lbl_802707F4 -lbl_802707EC: -/* 802707EC 0026D72C 38 60 00 01 */ li r3, 1 -/* 802707F0 0026D730 4E 80 00 20 */ blr -lbl_802707F4: -/* 802707F4 0026D734 38 60 00 00 */ li r3, 0 -/* 802707F8 0026D738 4E 80 00 20 */ blr - -.global getName__Q23efx12ArgDenkiHibaFv -getName__Q23efx12ArgDenkiHibaFv: -/* 802707FC 0026D73C 3C 60 80 48 */ lis r3, lbl_80486868@ha -/* 80270800 0026D740 38 63 68 68 */ addi r3, r3, lbl_80486868@l -/* 80270804 0026D744 4E 80 00 20 */ blr - -.global doSimulation__Q34Game8ElecHiba3ObjFf -doSimulation__Q34Game8ElecHiba3ObjFf: -/* 80270808 0026D748 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game8ElecHiba3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game8ElecHiba3ObjFPQ24Game8WaterBox: -/* 8027080C 0026D74C 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game8ElecHiba3ObjFv -outWaterCallback__Q34Game8ElecHiba3ObjFv: -/* 80270810 0026D750 4E 80 00 20 */ blr - -.global isLivingThing__Q34Game8ElecHiba3ObjFv -isLivingThing__Q34Game8ElecHiba3ObjFv: -/* 80270814 0026D754 88 63 02 C0 */ lbz r3, 0x2c0(r3) -/* 80270818 0026D758 4E 80 00 20 */ blr - -.global lifeRecover__Q34Game8ElecHiba3ObjFv -lifeRecover__Q34Game8ElecHiba3ObjFv: -/* 8027081C 0026D75C 4E 80 00 20 */ blr - -.global $$2772$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2772$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 80270820 0026D760 39 60 00 0C */ li r11, 0xc -/* 80270824 0026D764 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80270828 0026D768 7C 63 5A 14 */ add r3, r3, r11 -/* 8027082C 0026D76C 38 63 FC FC */ addi r3, r3, -772 -/* 80270830 0026D770 4B E9 60 EC */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2772$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2772$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 80270834 0026D774 39 60 00 0C */ li r11, 0xc -/* 80270838 0026D778 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8027083C 0026D77C 7C 63 5A 14 */ add r3, r3, r11 -/* 80270840 0026D780 38 63 FC FC */ addi r3, r3, -772 -/* 80270844 0026D784 4B E9 5E 64 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2772$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2772$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 80270848 0026D788 39 60 00 0C */ li r11, 0xc -/* 8027084C 0026D78C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80270850 0026D790 7C 63 5A 14 */ add r3, r3, r11 -/* 80270854 0026D794 38 63 FC FC */ addi r3, r3, -772 -/* 80270858 0026D798 4B E9 5E 70 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2772$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2772$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 8027085C 0026D79C 39 60 00 0C */ li r11, 0xc -/* 80270860 0026D7A0 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80270864 0026D7A4 7C 63 5A 14 */ add r3, r3, r11 -/* 80270868 0026D7A8 38 63 FC FC */ addi r3, r3, -772 -/* 8027086C 0026D7AC 4B E9 62 0C */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2772$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2772$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 80270870 0026D7B0 39 60 00 0C */ li r11, 0xc -/* 80270874 0026D7B4 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80270878 0026D7B8 7C 63 5A 14 */ add r3, r3, r11 -/* 8027087C 0026D7BC 38 63 FC FC */ addi r3, r3, -772 -/* 80270880 0026D7C0 4B E9 61 CC */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2772$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2772$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 80270884 0026D7C4 39 60 00 0C */ li r11, 0xc -/* 80270888 0026D7C8 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8027088C 0026D7CC 7C 63 5A 14 */ add r3, r3, r11 -/* 80270890 0026D7D0 38 63 FC FC */ addi r3, r3, -772 -/* 80270894 0026D7D4 4B E9 5E 0C */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2__dt__Q23efx14TDenkipoleSignFv -$$24$$2__dt__Q23efx14TDenkipoleSignFv: -/* 80270898 0026D7D8 38 63 FF FC */ addi r3, r3, -4 -/* 8027089C 0026D7DC 4B FF F9 A0 */ b __dt__Q23efx14TDenkipoleSignFv - -.global init__Q34Game5Sarai3FSMFPQ24Game9EnemyBase -init__Q34Game5Sarai3FSMFPQ24Game9EnemyBase: -/* 802708A0 0026D7E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802708A4 0026D7E4 7C 08 02 A6 */ mflr r0 -/* 802708A8 0026D7E8 38 80 00 0B */ li r4, 0xb -/* 802708AC 0026D7EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802708B0 0026D7F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802708B4 0026D7F4 7C 7F 1B 78 */ mr r31, r3 -/* 802708B8 0026D7F8 4B EB FF AD */ bl create__Q24Game17EnemyStateMachineFi -/* 802708BC 0026D7FC 38 60 00 10 */ li r3, 0x10 -/* 802708C0 0026D800 4B DB 35 E5 */ bl __nw__FUl -/* 802708C4 0026D804 7C 64 1B 79 */ or. r4, r3, r3 -/* 802708C8 0026D808 41 82 00 3C */ beq lbl_80270904 -/* 802708CC 0026D80C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802708D0 0026D810 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 802708D4 0026D814 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802708D8 0026D818 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai9StateDead@ha -/* 802708DC 0026D81C 90 04 00 00 */ stw r0, 0(r4) -/* 802708E0 0026D820 38 E0 00 00 */ li r7, 0 -/* 802708E4 0026D824 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 802708E8 0026D828 38 A2 CD B0 */ addi r5, r2, lbl_8051B110@sda21 -/* 802708EC 0026D82C 90 E4 00 04 */ stw r7, 4(r4) -/* 802708F0 0026D830 38 03 64 30 */ addi r0, r3, __vt__Q34Game5Sarai9StateDead@l -/* 802708F4 0026D834 90 E4 00 08 */ stw r7, 8(r4) -/* 802708F8 0026D838 90 C4 00 00 */ stw r6, 0(r4) -/* 802708FC 0026D83C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270900 0026D840 90 04 00 00 */ stw r0, 0(r4) -lbl_80270904: -/* 80270904 0026D844 7F E3 FB 78 */ mr r3, r31 -/* 80270908 0026D848 4B EC 00 01 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8027090C 0026D84C 38 60 00 10 */ li r3, 0x10 -/* 80270910 0026D850 4B DB 35 95 */ bl __nw__FUl -/* 80270914 0026D854 7C 64 1B 79 */ or. r4, r3, r3 -/* 80270918 0026D858 41 82 00 40 */ beq lbl_80270958 -/* 8027091C 0026D85C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270920 0026D860 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 80270924 0026D864 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80270928 0026D868 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai9StateFall@ha -/* 8027092C 0026D86C 90 04 00 00 */ stw r0, 0(r4) -/* 80270930 0026D870 38 00 00 01 */ li r0, 1 -/* 80270934 0026D874 38 E0 00 00 */ li r7, 0 -/* 80270938 0026D878 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 8027093C 0026D87C 90 04 00 04 */ stw r0, 4(r4) -/* 80270940 0026D880 38 A2 CD B8 */ addi r5, r2, lbl_8051B118@sda21 -/* 80270944 0026D884 38 03 64 0C */ addi r0, r3, __vt__Q34Game5Sarai9StateFall@l -/* 80270948 0026D888 90 E4 00 08 */ stw r7, 8(r4) -/* 8027094C 0026D88C 90 C4 00 00 */ stw r6, 0(r4) -/* 80270950 0026D890 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270954 0026D894 90 04 00 00 */ stw r0, 0(r4) -lbl_80270958: -/* 80270958 0026D898 7F E3 FB 78 */ mr r3, r31 -/* 8027095C 0026D89C 4B EB FF AD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270960 0026D8A0 38 60 00 10 */ li r3, 0x10 -/* 80270964 0026D8A4 4B DB 35 41 */ bl __nw__FUl -/* 80270968 0026D8A8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027096C 0026D8AC 41 82 00 40 */ beq lbl_802709AC -/* 80270970 0026D8B0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270974 0026D8B4 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 80270978 0026D8B8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8027097C 0026D8BC 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai11StateDamage@ha -/* 80270980 0026D8C0 90 04 00 00 */ stw r0, 0(r4) -/* 80270984 0026D8C4 38 00 00 02 */ li r0, 2 -/* 80270988 0026D8C8 38 E0 00 00 */ li r7, 0 -/* 8027098C 0026D8CC 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 80270990 0026D8D0 90 04 00 04 */ stw r0, 4(r4) -/* 80270994 0026D8D4 38 A2 CD C0 */ addi r5, r2, lbl_8051B120@sda21 -/* 80270998 0026D8D8 38 03 63 E8 */ addi r0, r3, __vt__Q34Game5Sarai11StateDamage@l -/* 8027099C 0026D8DC 90 E4 00 08 */ stw r7, 8(r4) -/* 802709A0 0026D8E0 90 C4 00 00 */ stw r6, 0(r4) -/* 802709A4 0026D8E4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802709A8 0026D8E8 90 04 00 00 */ stw r0, 0(r4) -lbl_802709AC: -/* 802709AC 0026D8EC 7F E3 FB 78 */ mr r3, r31 -/* 802709B0 0026D8F0 4B EB FF 59 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802709B4 0026D8F4 38 60 00 10 */ li r3, 0x10 -/* 802709B8 0026D8F8 4B DB 34 ED */ bl __nw__FUl -/* 802709BC 0026D8FC 7C 64 1B 79 */ or. r4, r3, r3 -/* 802709C0 0026D900 41 82 00 40 */ beq lbl_80270A00 -/* 802709C4 0026D904 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802709C8 0026D908 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 802709CC 0026D90C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802709D0 0026D910 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai12StateTakeOff@ha -/* 802709D4 0026D914 90 04 00 00 */ stw r0, 0(r4) -/* 802709D8 0026D918 38 00 00 03 */ li r0, 3 -/* 802709DC 0026D91C 38 E0 00 00 */ li r7, 0 -/* 802709E0 0026D920 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 802709E4 0026D924 90 04 00 04 */ stw r0, 4(r4) -/* 802709E8 0026D928 38 A2 CD C8 */ addi r5, r2, lbl_8051B128@sda21 -/* 802709EC 0026D92C 38 03 63 C4 */ addi r0, r3, __vt__Q34Game5Sarai12StateTakeOff@l -/* 802709F0 0026D930 90 E4 00 08 */ stw r7, 8(r4) -/* 802709F4 0026D934 90 C4 00 00 */ stw r6, 0(r4) -/* 802709F8 0026D938 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802709FC 0026D93C 90 04 00 00 */ stw r0, 0(r4) -lbl_80270A00: -/* 80270A00 0026D940 7F E3 FB 78 */ mr r3, r31 -/* 80270A04 0026D944 4B EB FF 05 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270A08 0026D948 38 60 00 10 */ li r3, 0x10 -/* 80270A0C 0026D94C 4B DB 34 99 */ bl __nw__FUl -/* 80270A10 0026D950 7C 64 1B 79 */ or. r4, r3, r3 -/* 80270A14 0026D954 41 82 00 40 */ beq lbl_80270A54 -/* 80270A18 0026D958 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270A1C 0026D95C 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 80270A20 0026D960 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80270A24 0026D964 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai10StateFlick@ha -/* 80270A28 0026D968 90 04 00 00 */ stw r0, 0(r4) -/* 80270A2C 0026D96C 38 00 00 04 */ li r0, 4 -/* 80270A30 0026D970 38 E0 00 00 */ li r7, 0 -/* 80270A34 0026D974 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 80270A38 0026D978 90 04 00 04 */ stw r0, 4(r4) -/* 80270A3C 0026D97C 38 A2 CD D0 */ addi r5, r2, lbl_8051B130@sda21 -/* 80270A40 0026D980 38 03 63 A0 */ addi r0, r3, __vt__Q34Game5Sarai10StateFlick@l -/* 80270A44 0026D984 90 E4 00 08 */ stw r7, 8(r4) -/* 80270A48 0026D988 90 C4 00 00 */ stw r6, 0(r4) -/* 80270A4C 0026D98C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270A50 0026D990 90 04 00 00 */ stw r0, 0(r4) -lbl_80270A54: -/* 80270A54 0026D994 7F E3 FB 78 */ mr r3, r31 -/* 80270A58 0026D998 4B EB FE B1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270A5C 0026D99C 38 60 00 10 */ li r3, 0x10 -/* 80270A60 0026D9A0 4B DB 34 45 */ bl __nw__FUl -/* 80270A64 0026D9A4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80270A68 0026D9A8 41 82 00 40 */ beq lbl_80270AA8 -/* 80270A6C 0026D9AC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270A70 0026D9B0 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 80270A74 0026D9B4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80270A78 0026D9B8 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai9StateWait@ha -/* 80270A7C 0026D9BC 90 04 00 00 */ stw r0, 0(r4) -/* 80270A80 0026D9C0 38 00 00 05 */ li r0, 5 -/* 80270A84 0026D9C4 38 E0 00 00 */ li r7, 0 -/* 80270A88 0026D9C8 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 80270A8C 0026D9CC 90 04 00 04 */ stw r0, 4(r4) -/* 80270A90 0026D9D0 38 A2 CD D8 */ addi r5, r2, lbl_8051B138@sda21 -/* 80270A94 0026D9D4 38 03 63 7C */ addi r0, r3, __vt__Q34Game5Sarai9StateWait@l -/* 80270A98 0026D9D8 90 E4 00 08 */ stw r7, 8(r4) -/* 80270A9C 0026D9DC 90 C4 00 00 */ stw r6, 0(r4) -/* 80270AA0 0026D9E0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270AA4 0026D9E4 90 04 00 00 */ stw r0, 0(r4) -lbl_80270AA8: -/* 80270AA8 0026D9E8 7F E3 FB 78 */ mr r3, r31 -/* 80270AAC 0026D9EC 4B EB FE 5D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270AB0 0026D9F0 38 60 00 10 */ li r3, 0x10 -/* 80270AB4 0026D9F4 4B DB 33 F1 */ bl __nw__FUl -/* 80270AB8 0026D9F8 7C 64 1B 79 */ or. r4, r3, r3 -/* 80270ABC 0026D9FC 41 82 00 40 */ beq lbl_80270AFC -/* 80270AC0 0026DA00 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270AC4 0026DA04 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 80270AC8 0026DA08 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80270ACC 0026DA0C 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai9StateMove@ha -/* 80270AD0 0026DA10 90 04 00 00 */ stw r0, 0(r4) -/* 80270AD4 0026DA14 38 00 00 06 */ li r0, 6 -/* 80270AD8 0026DA18 38 E0 00 00 */ li r7, 0 -/* 80270ADC 0026DA1C 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 80270AE0 0026DA20 90 04 00 04 */ stw r0, 4(r4) -/* 80270AE4 0026DA24 38 A2 CD E0 */ addi r5, r2, lbl_8051B140@sda21 -/* 80270AE8 0026DA28 38 03 63 58 */ addi r0, r3, __vt__Q34Game5Sarai9StateMove@l -/* 80270AEC 0026DA2C 90 E4 00 08 */ stw r7, 8(r4) -/* 80270AF0 0026DA30 90 C4 00 00 */ stw r6, 0(r4) -/* 80270AF4 0026DA34 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270AF8 0026DA38 90 04 00 00 */ stw r0, 0(r4) -lbl_80270AFC: -/* 80270AFC 0026DA3C 7F E3 FB 78 */ mr r3, r31 -/* 80270B00 0026DA40 4B EB FE 09 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270B04 0026DA44 38 60 00 10 */ li r3, 0x10 -/* 80270B08 0026DA48 4B DB 33 9D */ bl __nw__FUl -/* 80270B0C 0026DA4C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80270B10 0026DA50 41 82 00 40 */ beq lbl_80270B50 -/* 80270B14 0026DA54 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270B18 0026DA58 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 80270B1C 0026DA5C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80270B20 0026DA60 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai11StateAttack@ha -/* 80270B24 0026DA64 90 04 00 00 */ stw r0, 0(r4) -/* 80270B28 0026DA68 38 00 00 07 */ li r0, 7 -/* 80270B2C 0026DA6C 38 E0 00 00 */ li r7, 0 -/* 80270B30 0026DA70 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 80270B34 0026DA74 90 04 00 04 */ stw r0, 4(r4) -/* 80270B38 0026DA78 38 A2 CD E8 */ addi r5, r2, lbl_8051B148@sda21 -/* 80270B3C 0026DA7C 38 03 63 34 */ addi r0, r3, __vt__Q34Game5Sarai11StateAttack@l -/* 80270B40 0026DA80 90 E4 00 08 */ stw r7, 8(r4) -/* 80270B44 0026DA84 90 C4 00 00 */ stw r6, 0(r4) -/* 80270B48 0026DA88 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270B4C 0026DA8C 90 04 00 00 */ stw r0, 0(r4) -lbl_80270B50: -/* 80270B50 0026DA90 7F E3 FB 78 */ mr r3, r31 -/* 80270B54 0026DA94 4B EB FD B5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270B58 0026DA98 38 60 00 10 */ li r3, 0x10 -/* 80270B5C 0026DA9C 4B DB 33 49 */ bl __nw__FUl -/* 80270B60 0026DAA0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80270B64 0026DAA4 41 82 00 40 */ beq lbl_80270BA4 -/* 80270B68 0026DAA8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270B6C 0026DAAC 3C A0 80 4C */ lis r5, __vt__Q34Game5Sarai5State@ha -/* 80270B70 0026DAB0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80270B74 0026DAB4 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai9StateFail@ha -/* 80270B78 0026DAB8 90 04 00 00 */ stw r0, 0(r4) -/* 80270B7C 0026DABC 38 00 00 08 */ li r0, 8 -/* 80270B80 0026DAC0 38 E0 00 00 */ li r7, 0 -/* 80270B84 0026DAC4 38 C5 64 54 */ addi r6, r5, __vt__Q34Game5Sarai5State@l -/* 80270B88 0026DAC8 90 04 00 04 */ stw r0, 4(r4) -/* 80270B8C 0026DACC 38 A2 CD F0 */ addi r5, r2, lbl_8051B150@sda21 -/* 80270B90 0026DAD0 38 03 63 10 */ addi r0, r3, __vt__Q34Game5Sarai9StateFail@l -/* 80270B94 0026DAD4 90 E4 00 08 */ stw r7, 8(r4) -/* 80270B98 0026DAD8 90 C4 00 00 */ stw r6, 0(r4) -/* 80270B9C 0026DADC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270BA0 0026DAE0 90 04 00 00 */ stw r0, 0(r4) -lbl_80270BA4: -/* 80270BA4 0026DAE4 7F E3 FB 78 */ mr r3, r31 -/* 80270BA8 0026DAE8 4B EB FD 61 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270BAC 0026DAEC 38 60 00 10 */ li r3, 0x10 -/* 80270BB0 0026DAF0 4B DB 32 F5 */ bl __nw__FUl -/* 80270BB4 0026DAF4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80270BB8 0026DAF8 41 82 00 44 */ beq lbl_80270BFC -/* 80270BBC 0026DAFC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270BC0 0026DB00 3C C0 80 4C */ lis r6, __vt__Q34Game5Sarai5State@ha -/* 80270BC4 0026DB04 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80270BC8 0026DB08 3C A0 80 48 */ lis r5, lbl_80486878@ha -/* 80270BCC 0026DB0C 90 04 00 00 */ stw r0, 0(r4) -/* 80270BD0 0026DB10 38 00 00 09 */ li r0, 9 -/* 80270BD4 0026DB14 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai13StateCatchFly@ha -/* 80270BD8 0026DB18 38 E0 00 00 */ li r7, 0 -/* 80270BDC 0026DB1C 90 04 00 04 */ stw r0, 4(r4) -/* 80270BE0 0026DB20 38 C6 64 54 */ addi r6, r6, __vt__Q34Game5Sarai5State@l -/* 80270BE4 0026DB24 38 A5 68 78 */ addi r5, r5, lbl_80486878@l -/* 80270BE8 0026DB28 38 03 62 EC */ addi r0, r3, __vt__Q34Game5Sarai13StateCatchFly@l -/* 80270BEC 0026DB2C 90 E4 00 08 */ stw r7, 8(r4) -/* 80270BF0 0026DB30 90 C4 00 00 */ stw r6, 0(r4) -/* 80270BF4 0026DB34 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270BF8 0026DB38 90 04 00 00 */ stw r0, 0(r4) -lbl_80270BFC: -/* 80270BFC 0026DB3C 7F E3 FB 78 */ mr r3, r31 -/* 80270C00 0026DB40 4B EB FD 09 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270C04 0026DB44 38 60 00 10 */ li r3, 0x10 -/* 80270C08 0026DB48 4B DB 32 9D */ bl __nw__FUl -/* 80270C0C 0026DB4C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80270C10 0026DB50 41 82 00 44 */ beq lbl_80270C54 -/* 80270C14 0026DB54 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80270C18 0026DB58 3C C0 80 4C */ lis r6, __vt__Q34Game5Sarai5State@ha -/* 80270C1C 0026DB5C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80270C20 0026DB60 3C A0 80 48 */ lis r5, lbl_80486884@ha -/* 80270C24 0026DB64 90 04 00 00 */ stw r0, 0(r4) -/* 80270C28 0026DB68 38 00 00 0A */ li r0, 0xa -/* 80270C2C 0026DB6C 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai13StateFallMeck@ha -/* 80270C30 0026DB70 38 E0 00 00 */ li r7, 0 -/* 80270C34 0026DB74 90 04 00 04 */ stw r0, 4(r4) -/* 80270C38 0026DB78 38 C6 64 54 */ addi r6, r6, __vt__Q34Game5Sarai5State@l -/* 80270C3C 0026DB7C 38 A5 68 84 */ addi r5, r5, lbl_80486884@l -/* 80270C40 0026DB80 38 03 62 C8 */ addi r0, r3, __vt__Q34Game5Sarai13StateFallMeck@l -/* 80270C44 0026DB84 90 E4 00 08 */ stw r7, 8(r4) -/* 80270C48 0026DB88 90 C4 00 00 */ stw r6, 0(r4) -/* 80270C4C 0026DB8C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80270C50 0026DB90 90 04 00 00 */ stw r0, 0(r4) -lbl_80270C54: -/* 80270C54 0026DB94 7F E3 FB 78 */ mr r3, r31 -/* 80270C58 0026DB98 4B EB FC B1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80270C5C 0026DB9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270C60 0026DBA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270C64 0026DBA4 7C 08 03 A6 */ mtlr r0 -/* 80270C68 0026DBA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270C6C 0026DBAC 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80270C70 0026DBB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270C74 0026DBB4 7C 08 02 A6 */ mflr r0 -/* 80270C78 0026DBB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270C7C 0026DBBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270C80 0026DBC0 7C 9F 23 78 */ mr r31, r4 -/* 80270C84 0026DBC4 7F E3 FB 78 */ mr r3, r31 -/* 80270C88 0026DBC8 4B E9 4A 99 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80270C8C 0026DBCC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80270C90 0026DBD0 7F E3 FB 78 */ mr r3, r31 -/* 80270C94 0026DBD4 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80270C98 0026DBD8 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80270C9C 0026DBDC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80270CA0 0026DBE0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80270CA4 0026DBE4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80270CA8 0026DBE8 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80270CAC 0026DBEC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80270CB0 0026DBF0 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80270CB4 0026DBF4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80270CB8 0026DBF8 48 00 2B A5 */ bl flickStickTarget__Q34Game5Sarai3ObjFv -/* 80270CBC 0026DBFC 7F E3 FB 78 */ mr r3, r31 -/* 80270CC0 0026DC00 38 80 00 0A */ li r4, 0xa -/* 80270CC4 0026DC04 38 A0 00 00 */ li r5, 0 -/* 80270CC8 0026DC08 4B E9 43 3D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80270CCC 0026DC0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270CD0 0026DC10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270CD4 0026DC14 7C 08 03 A6 */ mtlr r0 -/* 80270CD8 0026DC18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270CDC 0026DC1C 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai9StateDeadFPQ24Game9EnemyBase -exec__Q34Game5Sarai9StateDeadFPQ24Game9EnemyBase: -/* 80270CE0 0026DC20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270CE4 0026DC24 7C 08 02 A6 */ mflr r0 -/* 80270CE8 0026DC28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270CEC 0026DC2C 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80270CF0 0026DC30 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80270CF4 0026DC34 28 00 00 00 */ cmplwi r0, 0 -/* 80270CF8 0026DC38 41 82 00 1C */ beq lbl_80270D14 -/* 80270CFC 0026DC3C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80270D00 0026DC40 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80270D04 0026DC44 40 82 00 10 */ bne lbl_80270D14 -/* 80270D08 0026DC48 7C 83 23 78 */ mr r3, r4 -/* 80270D0C 0026DC4C 38 80 00 00 */ li r4, 0 -/* 80270D10 0026DC50 4B EC A3 E1 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80270D14: -/* 80270D14 0026DC54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270D18 0026DC58 7C 08 03 A6 */ mtlr r0 -/* 80270D1C 0026DC5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270D20 0026DC60 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai9StateDeadFPQ24Game9EnemyBase: -/* 80270D24 0026DC64 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai9StateFallFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai9StateFallFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80270D28 0026DC68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270D2C 0026DC6C 7C 08 02 A6 */ mflr r0 -/* 80270D30 0026DC70 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80270D34 0026DC74 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270D38 0026DC78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270D3C 0026DC7C 7C 9F 23 78 */ mr r31, r4 -/* 80270D40 0026DC80 7F E3 FB 78 */ mr r3, r31 -/* 80270D44 0026DC84 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 80270D48 0026DC88 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80270D4C 0026DC8C D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80270D50 0026DC90 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80270D54 0026DC94 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80270D58 0026DC98 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80270D5C 0026DC9C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80270D60 0026DCA0 4B E9 0C 6D */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80270D64 0026DCA4 7F E3 FB 78 */ mr r3, r31 -/* 80270D68 0026DCA8 38 80 00 06 */ li r4, 6 -/* 80270D6C 0026DCAC 38 A0 00 00 */ li r5, 0 -/* 80270D70 0026DCB0 4B E9 42 95 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80270D74 0026DCB4 7F E3 FB 78 */ mr r3, r31 -/* 80270D78 0026DCB8 48 00 2A E5 */ bl flickStickTarget__Q34Game5Sarai3ObjFv -/* 80270D7C 0026DCBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270D80 0026DCC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270D84 0026DCC4 7C 08 03 A6 */ mtlr r0 -/* 80270D88 0026DCC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270D8C 0026DCCC 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai9StateFallFPQ24Game9EnemyBase -exec__Q34Game5Sarai9StateFallFPQ24Game9EnemyBase: -/* 80270D90 0026DCD0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80270D94 0026DCD4 7C 08 02 A6 */ mflr r0 -/* 80270D98 0026DCD8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80270D9C 0026DCDC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80270DA0 0026DCE0 7C 9F 23 78 */ mr r31, r4 -/* 80270DA4 0026DCE4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80270DA8 0026DCE8 7C 7E 1B 78 */ mr r30, r3 -/* 80270DAC 0026DCEC 38 61 00 08 */ addi r3, r1, 8 -/* 80270DB0 0026DCF0 81 84 00 00 */ lwz r12, 0(r4) -/* 80270DB4 0026DCF4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80270DB8 0026DCF8 7D 89 03 A6 */ mtctr r12 -/* 80270DBC 0026DCFC 4E 80 04 21 */ bctrl -/* 80270DC0 0026DD00 C0 41 00 08 */ lfs f2, 8(r1) -/* 80270DC4 0026DD04 38 81 00 14 */ addi r4, r1, 0x14 -/* 80270DC8 0026DD08 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80270DCC 0026DD0C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80270DD0 0026DD10 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80270DD4 0026DD14 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80270DD8 0026DD18 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80270DDC 0026DD1C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80270DE0 0026DD20 81 83 00 04 */ lwz r12, 4(r3) -/* 80270DE4 0026DD24 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80270DE8 0026DD28 7D 89 03 A6 */ mtctr r12 -/* 80270DEC 0026DD2C 4E 80 04 21 */ bctrl -/* 80270DF0 0026DD30 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80270DF4 0026DD34 C0 02 CD FC */ lfs f0, lbl_8051B15C@sda21(r2) -/* 80270DF8 0026DD38 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80270DFC 0026DD3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270E00 0026DD40 41 80 00 14 */ blt lbl_80270E14 -/* 80270E04 0026DD44 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80270E08 0026DD48 C0 02 CE 00 */ lfs f0, lbl_8051B160@sda21(r2) -/* 80270E0C 0026DD4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270E10 0026DD50 40 81 00 0C */ ble lbl_80270E1C -lbl_80270E14: -/* 80270E14 0026DD54 7F E3 FB 78 */ mr r3, r31 -/* 80270E18 0026DD58 4B E9 44 89 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80270E1C: -/* 80270E1C 0026DD5C 7F E3 FB 78 */ mr r3, r31 -/* 80270E20 0026DD60 4B E9 64 E1 */ bl isFinishMotion__Q24Game9EnemyBaseFv -/* 80270E24 0026DD64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80270E28 0026DD68 40 82 00 58 */ bne lbl_80270E80 -/* 80270E2C 0026DD6C 7F E3 FB 78 */ mr r3, r31 -/* 80270E30 0026DD70 81 9F 00 00 */ lwz r12, 0(r31) -/* 80270E34 0026DD74 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80270E38 0026DD78 7D 89 03 A6 */ mtctr r12 -/* 80270E3C 0026DD7C 4E 80 04 21 */ bctrl -/* 80270E40 0026DD80 C0 42 CE 04 */ lfs f2, lbl_8051B164@sda21(r2) -/* 80270E44 0026DD84 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80270E48 0026DD88 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80270E4C 0026DD8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270E50 0026DD90 40 80 00 10 */ bge lbl_80270E60 -/* 80270E54 0026DD94 C0 02 CE 08 */ lfs f0, lbl_8051B168@sda21(r2) -/* 80270E58 0026DD98 EC 20 08 2A */ fadds f1, f0, f1 -/* 80270E5C 0026DD9C 48 00 00 18 */ b lbl_80270E74 -lbl_80270E60: -/* 80270E60 0026DDA0 C0 02 CE 08 */ lfs f0, lbl_8051B168@sda21(r2) -/* 80270E64 0026DDA4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270E68 0026DDA8 4C 41 13 82 */ cror 2, 1, 2 -/* 80270E6C 0026DDAC 40 82 00 08 */ bne lbl_80270E74 -/* 80270E70 0026DDB0 EC 21 00 28 */ fsubs f1, f1, f0 -lbl_80270E74: -/* 80270E74 0026DDB4 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80270E78 0026DDB8 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80270E7C 0026DDBC D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -lbl_80270E80: -/* 80270E80 0026DDC0 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80270E84 0026DDC4 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80270E88 0026DDC8 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80270E8C 0026DDCC EC 01 00 2A */ fadds f0, f1, f0 -/* 80270E90 0026DDD0 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80270E94 0026DDD4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80270E98 0026DDD8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80270E9C 0026DDDC 28 00 00 00 */ cmplwi r0, 0 -/* 80270EA0 0026DDE0 41 82 00 90 */ beq lbl_80270F30 -/* 80270EA4 0026DDE4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80270EA8 0026DDE8 28 00 00 02 */ cmplwi r0, 2 -/* 80270EAC 0026DDEC 40 82 00 24 */ bne lbl_80270ED0 -/* 80270EB0 0026DDF0 7F E3 FB 78 */ mr r3, r31 -/* 80270EB4 0026DDF4 48 00 2E CD */ bl createDownEffect__Q34Game5Sarai3ObjFv -/* 80270EB8 0026DDF8 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80270EBC 0026DDFC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80270EC0 0026DE00 38 80 00 0B */ li r4, 0xb -/* 80270EC4 0026DE04 38 C0 00 02 */ li r6, 2 -/* 80270EC8 0026DE08 4B FE 28 B9 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80270ECC 0026DE0C 48 00 00 64 */ b lbl_80270F30 -lbl_80270ED0: -/* 80270ED0 0026DE10 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80270ED4 0026DE14 40 82 00 5C */ bne lbl_80270F30 -/* 80270ED8 0026DE18 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80270EDC 0026DE1C C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80270EE0 0026DE20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270EE4 0026DE24 4C 40 13 82 */ cror 2, 0, 2 -/* 80270EE8 0026DE28 40 82 00 28 */ bne lbl_80270F10 -/* 80270EEC 0026DE2C 7F C3 F3 78 */ mr r3, r30 -/* 80270EF0 0026DE30 7F E4 FB 78 */ mr r4, r31 -/* 80270EF4 0026DE34 81 9E 00 00 */ lwz r12, 0(r30) -/* 80270EF8 0026DE38 38 A0 00 00 */ li r5, 0 -/* 80270EFC 0026DE3C 38 C0 00 00 */ li r6, 0 -/* 80270F00 0026DE40 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80270F04 0026DE44 7D 89 03 A6 */ mtctr r12 -/* 80270F08 0026DE48 4E 80 04 21 */ bctrl -/* 80270F0C 0026DE4C 48 00 00 24 */ b lbl_80270F30 -lbl_80270F10: -/* 80270F10 0026DE50 7F C3 F3 78 */ mr r3, r30 -/* 80270F14 0026DE54 7F E4 FB 78 */ mr r4, r31 -/* 80270F18 0026DE58 81 9E 00 00 */ lwz r12, 0(r30) -/* 80270F1C 0026DE5C 38 A0 00 02 */ li r5, 2 -/* 80270F20 0026DE60 38 C0 00 00 */ li r6, 0 -/* 80270F24 0026DE64 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80270F28 0026DE68 7D 89 03 A6 */ mtctr r12 -/* 80270F2C 0026DE6C 4E 80 04 21 */ bctrl -lbl_80270F30: -/* 80270F30 0026DE70 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80270F34 0026DE74 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80270F38 0026DE78 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80270F3C 0026DE7C 7C 08 03 A6 */ mtlr r0 -/* 80270F40 0026DE80 38 21 00 30 */ addi r1, r1, 0x30 -/* 80270F44 0026DE84 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai9StateFallFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai9StateFallFPQ24Game9EnemyBase: -/* 80270F48 0026DE88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270F4C 0026DE8C 7C 08 02 A6 */ mflr r0 -/* 80270F50 0026DE90 7C 83 23 78 */ mr r3, r4 -/* 80270F54 0026DE94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270F58 0026DE98 4B E9 0A 25 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80270F5C 0026DE9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270F60 0026DEA0 7C 08 03 A6 */ mtlr r0 -/* 80270F64 0026DEA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270F68 0026DEA8 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai11StateDamageFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai11StateDamageFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80270F6C 0026DEAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270F70 0026DEB0 7C 08 02 A6 */ mflr r0 -/* 80270F74 0026DEB4 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80270F78 0026DEB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270F7C 0026DEBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270F80 0026DEC0 7C 9F 23 78 */ mr r31, r4 -/* 80270F84 0026DEC4 7F E3 FB 78 */ mr r3, r31 -/* 80270F88 0026DEC8 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 80270F8C 0026DECC D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80270F90 0026DED0 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80270F94 0026DED4 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80270F98 0026DED8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80270F9C 0026DEDC 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80270FA0 0026DEE0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80270FA4 0026DEE4 4B E9 0A 29 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80270FA8 0026DEE8 7F E3 FB 78 */ mr r3, r31 -/* 80270FAC 0026DEEC 38 80 00 07 */ li r4, 7 -/* 80270FB0 0026DEF0 38 A0 00 00 */ li r5, 0 -/* 80270FB4 0026DEF4 4B E9 40 51 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80270FB8 0026DEF8 7F E3 FB 78 */ mr r3, r31 -/* 80270FBC 0026DEFC 48 00 28 A1 */ bl flickStickTarget__Q34Game5Sarai3ObjFv -/* 80270FC0 0026DF00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80270FC4 0026DF04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80270FC8 0026DF08 7C 08 03 A6 */ mtlr r0 -/* 80270FCC 0026DF0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80270FD0 0026DF10 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai11StateDamageFPQ24Game9EnemyBase -exec__Q34Game5Sarai11StateDamageFPQ24Game9EnemyBase: -/* 80270FD4 0026DF14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80270FD8 0026DF18 7C 08 02 A6 */ mflr r0 -/* 80270FDC 0026DF1C C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80270FE0 0026DF20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80270FE4 0026DF24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80270FE8 0026DF28 7C 9F 23 78 */ mr r31, r4 -/* 80270FEC 0026DF2C 93 C1 00 08 */ stw r30, 8(r1) -/* 80270FF0 0026DF30 7C 7E 1B 78 */ mr r30, r3 -/* 80270FF4 0026DF34 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80270FF8 0026DF38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80270FFC 0026DF3C 4C 40 13 82 */ cror 2, 0, 2 -/* 80271000 0026DF40 41 82 00 34 */ beq lbl_80271034 -/* 80271004 0026DF44 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80271008 0026DF48 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 8027100C 0026DF4C C0 03 09 AC */ lfs f0, 0x9ac(r3) -/* 80271010 0026DF50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271014 0026DF54 41 81 00 20 */ bgt lbl_80271034 -/* 80271018 0026DF58 7F E3 FB 78 */ mr r3, r31 -/* 8027101C 0026DF5C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271020 0026DF60 81 8C 02 FC */ lwz r12, 0x2fc(r12) -/* 80271024 0026DF64 7D 89 03 A6 */ mtctr r12 -/* 80271028 0026DF68 4E 80 04 21 */ bctrl -/* 8027102C 0026DF6C 2C 03 00 00 */ cmpwi r3, 0 -/* 80271030 0026DF70 40 82 00 0C */ bne lbl_8027103C -lbl_80271034: -/* 80271034 0026DF74 7F E3 FB 78 */ mr r3, r31 -/* 80271038 0026DF78 4B E9 42 69 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8027103C: -/* 8027103C 0026DF7C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80271040 0026DF80 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80271044 0026DF84 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80271048 0026DF88 EC 01 00 2A */ fadds f0, f1, f0 -/* 8027104C 0026DF8C D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80271050 0026DF90 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80271054 0026DF94 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80271058 0026DF98 28 00 00 00 */ cmplwi r0, 0 -/* 8027105C 0026DF9C 41 82 00 68 */ beq lbl_802710C4 -/* 80271060 0026DFA0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80271064 0026DFA4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80271068 0026DFA8 40 82 00 5C */ bne lbl_802710C4 -/* 8027106C 0026DFAC C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80271070 0026DFB0 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271074 0026DFB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271078 0026DFB8 4C 40 13 82 */ cror 2, 0, 2 -/* 8027107C 0026DFBC 40 82 00 28 */ bne lbl_802710A4 -/* 80271080 0026DFC0 7F C3 F3 78 */ mr r3, r30 -/* 80271084 0026DFC4 7F E4 FB 78 */ mr r4, r31 -/* 80271088 0026DFC8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027108C 0026DFCC 38 A0 00 00 */ li r5, 0 -/* 80271090 0026DFD0 38 C0 00 00 */ li r6, 0 -/* 80271094 0026DFD4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271098 0026DFD8 7D 89 03 A6 */ mtctr r12 -/* 8027109C 0026DFDC 4E 80 04 21 */ bctrl -/* 802710A0 0026DFE0 48 00 00 24 */ b lbl_802710C4 -lbl_802710A4: -/* 802710A4 0026DFE4 7F C3 F3 78 */ mr r3, r30 -/* 802710A8 0026DFE8 7F E4 FB 78 */ mr r4, r31 -/* 802710AC 0026DFEC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802710B0 0026DFF0 38 A0 00 03 */ li r5, 3 -/* 802710B4 0026DFF4 38 C0 00 00 */ li r6, 0 -/* 802710B8 0026DFF8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802710BC 0026DFFC 7D 89 03 A6 */ mtctr r12 -/* 802710C0 0026E000 4E 80 04 21 */ bctrl -lbl_802710C4: -/* 802710C4 0026E004 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802710C8 0026E008 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802710CC 0026E00C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802710D0 0026E010 7C 08 03 A6 */ mtlr r0 -/* 802710D4 0026E014 38 21 00 10 */ addi r1, r1, 0x10 -/* 802710D8 0026E018 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai11StateDamageFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai11StateDamageFPQ24Game9EnemyBase: -/* 802710DC 0026E01C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802710E0 0026E020 7C 08 02 A6 */ mflr r0 -/* 802710E4 0026E024 7C 83 23 78 */ mr r3, r4 -/* 802710E8 0026E028 90 01 00 14 */ stw r0, 0x14(r1) -/* 802710EC 0026E02C 4B E9 08 91 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 802710F0 0026E030 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802710F4 0026E034 7C 08 03 A6 */ mtlr r0 -/* 802710F8 0026E038 38 21 00 10 */ addi r1, r1, 0x10 -/* 802710FC 0026E03C 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai12StateTakeOffFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai12StateTakeOffFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80271100 0026E040 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271104 0026E044 7C 08 02 A6 */ mflr r0 -/* 80271108 0026E048 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027110C 0026E04C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80271110 0026E050 7C 9F 23 78 */ mr r31, r4 -/* 80271114 0026E054 7F E3 FB 78 */ mr r3, r31 -/* 80271118 0026E058 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8027111C 0026E05C 60 00 00 04 */ ori r0, r0, 4 -/* 80271120 0026E060 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80271124 0026E064 4B E9 08 A9 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80271128 0026E068 7F E3 FB 78 */ mr r3, r31 -/* 8027112C 0026E06C 38 80 00 08 */ li r4, 8 -/* 80271130 0026E070 38 A0 00 00 */ li r5, 0 -/* 80271134 0026E074 4B E9 3E D1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80271138 0026E078 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027113C 0026E07C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80271140 0026E080 7C 08 03 A6 */ mtlr r0 -/* 80271144 0026E084 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271148 0026E088 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai12StateTakeOffFPQ24Game9EnemyBase -exec__Q34Game5Sarai12StateTakeOffFPQ24Game9EnemyBase: -/* 8027114C 0026E08C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271150 0026E090 7C 08 02 A6 */ mflr r0 -/* 80271154 0026E094 90 01 00 14 */ stw r0, 0x14(r1) -/* 80271158 0026E098 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027115C 0026E09C 7C 9F 23 78 */ mr r31, r4 -/* 80271160 0026E0A0 93 C1 00 08 */ stw r30, 8(r1) -/* 80271164 0026E0A4 7C 7E 1B 78 */ mr r30, r3 -/* 80271168 0026E0A8 7F E3 FB 78 */ mr r3, r31 -/* 8027116C 0026E0AC 48 00 1F 65 */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 80271170 0026E0B0 C0 5F 02 00 */ lfs f2, 0x200(r31) -/* 80271174 0026E0B4 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271178 0026E0B8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8027117C 0026E0BC 4C 40 13 82 */ cror 2, 0, 2 -/* 80271180 0026E0C0 41 82 00 14 */ beq lbl_80271194 -/* 80271184 0026E0C4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80271188 0026E0C8 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 8027118C 0026E0CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271190 0026E0D0 40 81 00 0C */ ble lbl_8027119C -lbl_80271194: -/* 80271194 0026E0D4 7F E3 FB 78 */ mr r3, r31 -/* 80271198 0026E0D8 4B E9 41 09 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8027119C: -/* 8027119C 0026E0DC 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802711A0 0026E0E0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802711A4 0026E0E4 28 00 00 00 */ cmplwi r0, 0 -/* 802711A8 0026E0E8 41 82 00 94 */ beq lbl_8027123C -/* 802711AC 0026E0EC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802711B0 0026E0F0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802711B4 0026E0F4 40 82 00 88 */ bne lbl_8027123C -/* 802711B8 0026E0F8 7F E3 FB 78 */ mr r3, r31 -/* 802711BC 0026E0FC 48 00 25 5D */ bl getNextStateOnHeight__Q34Game5Sarai3ObjFv -/* 802711C0 0026E100 7C 65 1B 79 */ or. r5, r3, r3 -/* 802711C4 0026E104 41 80 00 24 */ blt lbl_802711E8 -/* 802711C8 0026E108 81 9E 00 00 */ lwz r12, 0(r30) -/* 802711CC 0026E10C 7F C3 F3 78 */ mr r3, r30 -/* 802711D0 0026E110 7F E4 FB 78 */ mr r4, r31 -/* 802711D4 0026E114 38 C0 00 00 */ li r6, 0 -/* 802711D8 0026E118 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802711DC 0026E11C 7D 89 03 A6 */ mtctr r12 -/* 802711E0 0026E120 4E 80 04 21 */ bctrl -/* 802711E4 0026E124 48 00 00 58 */ b lbl_8027123C -lbl_802711E8: -/* 802711E8 0026E128 7F E3 FB 78 */ mr r3, r31 -/* 802711EC 0026E12C 48 00 24 B1 */ bl getCatchTargetNum__Q34Game5Sarai3ObjFv -/* 802711F0 0026E130 2C 03 00 00 */ cmpwi r3, 0 -/* 802711F4 0026E134 41 82 00 28 */ beq lbl_8027121C -/* 802711F8 0026E138 7F C3 F3 78 */ mr r3, r30 -/* 802711FC 0026E13C 7F E4 FB 78 */ mr r4, r31 -/* 80271200 0026E140 81 9E 00 00 */ lwz r12, 0(r30) -/* 80271204 0026E144 38 A0 00 09 */ li r5, 9 -/* 80271208 0026E148 38 C0 00 00 */ li r6, 0 -/* 8027120C 0026E14C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271210 0026E150 7D 89 03 A6 */ mtctr r12 -/* 80271214 0026E154 4E 80 04 21 */ bctrl -/* 80271218 0026E158 48 00 00 24 */ b lbl_8027123C -lbl_8027121C: -/* 8027121C 0026E15C 7F C3 F3 78 */ mr r3, r30 -/* 80271220 0026E160 7F E4 FB 78 */ mr r4, r31 -/* 80271224 0026E164 81 9E 00 00 */ lwz r12, 0(r30) -/* 80271228 0026E168 38 A0 00 06 */ li r5, 6 -/* 8027122C 0026E16C 38 C0 00 00 */ li r6, 0 -/* 80271230 0026E170 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271234 0026E174 7D 89 03 A6 */ mtctr r12 -/* 80271238 0026E178 4E 80 04 21 */ bctrl -lbl_8027123C: -/* 8027123C 0026E17C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80271240 0026E180 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80271244 0026E184 83 C1 00 08 */ lwz r30, 8(r1) -/* 80271248 0026E188 7C 08 03 A6 */ mtlr r0 -/* 8027124C 0026E18C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271250 0026E190 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai12StateTakeOffFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai12StateTakeOffFPQ24Game9EnemyBase: -/* 80271254 0026E194 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271258 0026E198 7C 08 02 A6 */ mflr r0 -/* 8027125C 0026E19C 7C 83 23 78 */ mr r3, r4 -/* 80271260 0026E1A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80271264 0026E1A4 4B E9 07 19 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80271268 0026E1A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027126C 0026E1AC 7C 08 03 A6 */ mtlr r0 -/* 80271270 0026E1B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271274 0026E1B4 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80271278 0026E1B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027127C 0026E1BC 7C 08 02 A6 */ mflr r0 -/* 80271280 0026E1C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80271284 0026E1C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80271288 0026E1C8 7C 9F 23 78 */ mr r31, r4 -/* 8027128C 0026E1CC 7F E3 FB 78 */ mr r3, r31 -/* 80271290 0026E1D0 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80271294 0026E1D4 60 00 00 04 */ ori r0, r0, 4 -/* 80271298 0026E1D8 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8027129C 0026E1DC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802712A0 0026E1E0 64 00 00 20 */ oris r0, r0, 0x20 -/* 802712A4 0026E1E4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802712A8 0026E1E8 4B E9 07 25 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 802712AC 0026E1EC 7F E3 FB 78 */ mr r3, r31 -/* 802712B0 0026E1F0 38 80 00 05 */ li r4, 5 -/* 802712B4 0026E1F4 38 A0 00 00 */ li r5, 0 -/* 802712B8 0026E1F8 4B E9 3D 4D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802712BC 0026E1FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802712C0 0026E200 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802712C4 0026E204 7C 08 03 A6 */ mtlr r0 -/* 802712C8 0026E208 38 21 00 10 */ addi r1, r1, 0x10 -/* 802712CC 0026E20C 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai10StateFlickFPQ24Game9EnemyBase -exec__Q34Game5Sarai10StateFlickFPQ24Game9EnemyBase: -/* 802712D0 0026E210 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802712D4 0026E214 7C 08 02 A6 */ mflr r0 -/* 802712D8 0026E218 90 01 00 14 */ stw r0, 0x14(r1) -/* 802712DC 0026E21C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802712E0 0026E220 7C 9F 23 78 */ mr r31, r4 -/* 802712E4 0026E224 93 C1 00 08 */ stw r30, 8(r1) -/* 802712E8 0026E228 7C 7E 1B 78 */ mr r30, r3 -/* 802712EC 0026E22C 7F E3 FB 78 */ mr r3, r31 -/* 802712F0 0026E230 48 00 1D E1 */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 802712F4 0026E234 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802712F8 0026E238 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802712FC 0026E23C 28 00 00 00 */ cmplwi r0, 0 -/* 80271300 0026E240 41 82 00 D0 */ beq lbl_802713D0 -/* 80271304 0026E244 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80271308 0026E248 28 00 00 02 */ cmplwi r0, 2 -/* 8027130C 0026E24C 40 82 00 30 */ bne lbl_8027133C -/* 80271310 0026E250 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80271314 0026E254 7F E3 FB 78 */ mr r3, r31 -/* 80271318 0026E258 C0 82 CE 0C */ lfs f4, lbl_8051B16C@sda21(r2) -/* 8027131C 0026E25C 38 80 00 00 */ li r4, 0 -/* 80271320 0026E260 C0 25 05 3C */ lfs f1, 0x53c(r5) -/* 80271324 0026E264 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 80271328 0026E268 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 8027132C 0026E26C 4B EA 1D F1 */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 80271330 0026E270 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271334 0026E274 D0 1F 02 0C */ stfs f0, 0x20c(r31) -/* 80271338 0026E278 48 00 00 98 */ b lbl_802713D0 -lbl_8027133C: -/* 8027133C 0026E27C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80271340 0026E280 40 82 00 90 */ bne lbl_802713D0 -/* 80271344 0026E284 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80271348 0026E288 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 8027134C 0026E28C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271350 0026E290 4C 40 13 82 */ cror 2, 0, 2 -/* 80271354 0026E294 40 82 00 28 */ bne lbl_8027137C -/* 80271358 0026E298 7F C3 F3 78 */ mr r3, r30 -/* 8027135C 0026E29C 7F E4 FB 78 */ mr r4, r31 -/* 80271360 0026E2A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80271364 0026E2A4 38 A0 00 01 */ li r5, 1 -/* 80271368 0026E2A8 38 C0 00 00 */ li r6, 0 -/* 8027136C 0026E2AC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271370 0026E2B0 7D 89 03 A6 */ mtctr r12 -/* 80271374 0026E2B4 4E 80 04 21 */ bctrl -/* 80271378 0026E2B8 48 00 00 58 */ b lbl_802713D0 -lbl_8027137C: -/* 8027137C 0026E2BC 7F E3 FB 78 */ mr r3, r31 -/* 80271380 0026E2C0 48 00 23 1D */ bl getCatchTargetNum__Q34Game5Sarai3ObjFv -/* 80271384 0026E2C4 2C 03 00 00 */ cmpwi r3, 0 -/* 80271388 0026E2C8 41 82 00 28 */ beq lbl_802713B0 -/* 8027138C 0026E2CC 7F C3 F3 78 */ mr r3, r30 -/* 80271390 0026E2D0 7F E4 FB 78 */ mr r4, r31 -/* 80271394 0026E2D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80271398 0026E2D8 38 A0 00 09 */ li r5, 9 -/* 8027139C 0026E2DC 38 C0 00 00 */ li r6, 0 -/* 802713A0 0026E2E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802713A4 0026E2E4 7D 89 03 A6 */ mtctr r12 -/* 802713A8 0026E2E8 4E 80 04 21 */ bctrl -/* 802713AC 0026E2EC 48 00 00 24 */ b lbl_802713D0 -lbl_802713B0: -/* 802713B0 0026E2F0 7F C3 F3 78 */ mr r3, r30 -/* 802713B4 0026E2F4 7F E4 FB 78 */ mr r4, r31 -/* 802713B8 0026E2F8 81 9E 00 00 */ lwz r12, 0(r30) -/* 802713BC 0026E2FC 38 A0 00 06 */ li r5, 6 -/* 802713C0 0026E300 38 C0 00 00 */ li r6, 0 -/* 802713C4 0026E304 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802713C8 0026E308 7D 89 03 A6 */ mtctr r12 -/* 802713CC 0026E30C 4E 80 04 21 */ bctrl -lbl_802713D0: -/* 802713D0 0026E310 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802713D4 0026E314 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802713D8 0026E318 83 C1 00 08 */ lwz r30, 8(r1) -/* 802713DC 0026E31C 7C 08 03 A6 */ mtlr r0 -/* 802713E0 0026E320 38 21 00 10 */ addi r1, r1, 0x10 -/* 802713E4 0026E324 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai10StateFlickFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai10StateFlickFPQ24Game9EnemyBase: -/* 802713E8 0026E328 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802713EC 0026E32C 7C 08 02 A6 */ mflr r0 -/* 802713F0 0026E330 7C 83 23 78 */ mr r3, r4 -/* 802713F4 0026E334 90 01 00 14 */ stw r0, 0x14(r1) -/* 802713F8 0026E338 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802713FC 0026E33C 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80271400 0026E340 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80271404 0026E344 4B E9 05 79 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80271408 0026E348 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027140C 0026E34C 7C 08 03 A6 */ mtlr r0 -/* 80271410 0026E350 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271414 0026E354 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80271418 0026E358 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027141C 0026E35C 7C 08 02 A6 */ mflr r0 -/* 80271420 0026E360 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271424 0026E364 90 01 00 24 */ stw r0, 0x24(r1) -/* 80271428 0026E368 38 00 00 00 */ li r0, 0 -/* 8027142C 0026E36C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80271430 0026E370 7C 9F 23 78 */ mr r31, r4 -/* 80271434 0026E374 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 80271438 0026E378 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 8027143C 0026E37C D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80271440 0026E380 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80271444 0026E384 90 04 02 30 */ stw r0, 0x230(r4) -/* 80271448 0026E388 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8027144C 0026E38C 60 00 00 04 */ ori r0, r0, 4 -/* 80271450 0026E390 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80271454 0026E394 4B E5 81 4D */ bl rand -/* 80271458 0026E398 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027145C 0026E39C 3C 00 43 30 */ lis r0, 0x4330 -/* 80271460 0026E3A0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80271464 0026E3A4 C8 62 CE 18 */ lfd f3, lbl_8051B178@sda21(r2) -/* 80271468 0026E3A8 90 01 00 08 */ stw r0, 8(r1) -/* 8027146C 0026E3AC C0 42 CE 00 */ lfs f2, lbl_8051B160@sda21(r2) -/* 80271470 0026E3B0 C8 01 00 08 */ lfd f0, 8(r1) -/* 80271474 0026E3B4 C0 22 CE 10 */ lfs f1, lbl_8051B170@sda21(r2) -/* 80271478 0026E3B8 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8027147C 0026E3BC C0 02 CE 14 */ lfs f0, lbl_8051B174@sda21(r2) -/* 80271480 0026E3C0 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80271484 0026E3C4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80271488 0026E3C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027148C 0026E3CC 40 80 00 18 */ bge lbl_802714A4 -/* 80271490 0026E3D0 7F E3 FB 78 */ mr r3, r31 -/* 80271494 0026E3D4 38 80 00 00 */ li r4, 0 -/* 80271498 0026E3D8 38 A0 00 00 */ li r5, 0 -/* 8027149C 0026E3DC 4B E9 3B 69 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802714A0 0026E3E0 48 00 00 14 */ b lbl_802714B4 -lbl_802714A4: -/* 802714A4 0026E3E4 7F E3 FB 78 */ mr r3, r31 -/* 802714A8 0026E3E8 38 80 00 01 */ li r4, 1 -/* 802714AC 0026E3EC 38 A0 00 00 */ li r5, 0 -/* 802714B0 0026E3F0 4B E9 3B 55 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -lbl_802714B4: -/* 802714B4 0026E3F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802714B8 0026E3F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802714BC 0026E3FC 7C 08 03 A6 */ mtlr r0 -/* 802714C0 0026E400 38 21 00 20 */ addi r1, r1, 0x20 -/* 802714C4 0026E404 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai9StateWaitFPQ24Game9EnemyBase -exec__Q34Game5Sarai9StateWaitFPQ24Game9EnemyBase: -/* 802714C8 0026E408 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802714CC 0026E40C 7C 08 02 A6 */ mflr r0 -/* 802714D0 0026E410 90 01 00 34 */ stw r0, 0x34(r1) -/* 802714D4 0026E414 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 802714D8 0026E418 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 802714DC 0026E41C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802714E0 0026E420 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802714E4 0026E424 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802714E8 0026E428 7C 9E 23 78 */ mr r30, r4 -/* 802714EC 0026E42C 7C 7D 1B 78 */ mr r29, r3 -/* 802714F0 0026E430 7F C3 F3 78 */ mr r3, r30 -/* 802714F4 0026E434 48 00 1B DD */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 802714F8 0026E438 7F C3 F3 78 */ mr r3, r30 -/* 802714FC 0026E43C FF E0 08 90 */ fmr f31, f1 -/* 80271500 0026E440 81 9E 00 00 */ lwz r12, 0(r30) -/* 80271504 0026E444 81 8C 03 00 */ lwz r12, 0x300(r12) -/* 80271508 0026E448 7D 89 03 A6 */ mtctr r12 -/* 8027150C 0026E44C 4E 80 04 21 */ bctrl -/* 80271510 0026E450 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80271514 0026E454 40 82 00 18 */ bne lbl_8027152C -/* 80271518 0026E458 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8027151C 0026E45C C0 3E 02 C0 */ lfs f1, 0x2c0(r30) -/* 80271520 0026E460 C0 03 08 E4 */ lfs f0, 0x8e4(r3) -/* 80271524 0026E464 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271528 0026E468 40 81 00 0C */ ble lbl_80271534 -lbl_8027152C: -/* 8027152C 0026E46C 7F C3 F3 78 */ mr r3, r30 -/* 80271530 0026E470 4B E9 3D 71 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80271534: -/* 80271534 0026E474 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80271538 0026E478 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 8027153C 0026E47C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80271540 0026E480 41 81 00 14 */ bgt lbl_80271554 -/* 80271544 0026E484 C0 3E 02 C0 */ lfs f1, 0x2c0(r30) -/* 80271548 0026E488 C0 02 CE 20 */ lfs f0, lbl_8051B180@sda21(r2) -/* 8027154C 0026E48C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271550 0026E490 40 81 00 34 */ ble lbl_80271584 -lbl_80271554: -/* 80271554 0026E494 7F C3 F3 78 */ mr r3, r30 -/* 80271558 0026E498 48 00 21 C1 */ bl getNextStateOnHeight__Q34Game5Sarai3ObjFv -/* 8027155C 0026E49C 7C 65 1B 79 */ or. r5, r3, r3 -/* 80271560 0026E4A0 41 80 00 24 */ blt lbl_80271584 -/* 80271564 0026E4A4 81 9D 00 00 */ lwz r12, 0(r29) -/* 80271568 0026E4A8 7F A3 EB 78 */ mr r3, r29 -/* 8027156C 0026E4AC 7F C4 F3 78 */ mr r4, r30 -/* 80271570 0026E4B0 38 C0 00 00 */ li r6, 0 -/* 80271574 0026E4B4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271578 0026E4B8 7D 89 03 A6 */ mtctr r12 -/* 8027157C 0026E4BC 4E 80 04 21 */ bctrl -/* 80271580 0026E4C0 48 00 00 84 */ b lbl_80271604 -lbl_80271584: -/* 80271584 0026E4C4 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80271588 0026E4C8 C0 3E 02 C0 */ lfs f1, 0x2c0(r30) -/* 8027158C 0026E4CC C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80271590 0026E4D0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80271594 0026E4D4 D0 1E 02 C0 */ stfs f0, 0x2c0(r30) -/* 80271598 0026E4D8 80 7E 01 88 */ lwz r3, 0x188(r30) -/* 8027159C 0026E4DC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802715A0 0026E4E0 28 00 00 00 */ cmplwi r0, 0 -/* 802715A4 0026E4E4 41 82 00 60 */ beq lbl_80271604 -/* 802715A8 0026E4E8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802715AC 0026E4EC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802715B0 0026E4F0 40 82 00 54 */ bne lbl_80271604 -/* 802715B4 0026E4F4 28 1F 00 00 */ cmplwi r31, 0 -/* 802715B8 0026E4F8 41 82 00 2C */ beq lbl_802715E4 -/* 802715BC 0026E4FC 93 FE 02 30 */ stw r31, 0x230(r30) -/* 802715C0 0026E500 7F A3 EB 78 */ mr r3, r29 -/* 802715C4 0026E504 7F C4 F3 78 */ mr r4, r30 -/* 802715C8 0026E508 38 A0 00 07 */ li r5, 7 -/* 802715CC 0026E50C 81 9D 00 00 */ lwz r12, 0(r29) -/* 802715D0 0026E510 38 C0 00 00 */ li r6, 0 -/* 802715D4 0026E514 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802715D8 0026E518 7D 89 03 A6 */ mtctr r12 -/* 802715DC 0026E51C 4E 80 04 21 */ bctrl -/* 802715E0 0026E520 48 00 00 24 */ b lbl_80271604 -lbl_802715E4: -/* 802715E4 0026E524 7F A3 EB 78 */ mr r3, r29 -/* 802715E8 0026E528 7F C4 F3 78 */ mr r4, r30 -/* 802715EC 0026E52C 81 9D 00 00 */ lwz r12, 0(r29) -/* 802715F0 0026E530 38 A0 00 06 */ li r5, 6 -/* 802715F4 0026E534 38 C0 00 00 */ li r6, 0 -/* 802715F8 0026E538 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802715FC 0026E53C 7D 89 03 A6 */ mtctr r12 -/* 80271600 0026E540 4E 80 04 21 */ bctrl -lbl_80271604: -/* 80271604 0026E544 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80271608 0026E548 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027160C 0026E54C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80271610 0026E550 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80271614 0026E554 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80271618 0026E558 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8027161C 0026E55C 7C 08 03 A6 */ mtlr r0 -/* 80271620 0026E560 38 21 00 30 */ addi r1, r1, 0x30 -/* 80271624 0026E564 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai9StateWaitFPQ24Game9EnemyBase: -/* 80271628 0026E568 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8027162C 0026E56C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271630 0026E570 7C 08 02 A6 */ mflr r0 -/* 80271634 0026E574 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271638 0026E578 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027163C 0026E57C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80271640 0026E580 7C 9F 23 78 */ mr r31, r4 -/* 80271644 0026E584 7F E3 FB 78 */ mr r3, r31 -/* 80271648 0026E588 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 8027164C 0026E58C 48 00 1B 8D */ bl setRandTarget__Q34Game5Sarai3ObjFv -/* 80271650 0026E590 38 00 00 00 */ li r0, 0 -/* 80271654 0026E594 7F E3 FB 78 */ mr r3, r31 -/* 80271658 0026E598 90 1F 02 30 */ stw r0, 0x230(r31) -/* 8027165C 0026E59C 38 80 00 01 */ li r4, 1 -/* 80271660 0026E5A0 38 A0 00 00 */ li r5, 0 -/* 80271664 0026E5A4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80271668 0026E5A8 60 00 00 04 */ ori r0, r0, 4 -/* 8027166C 0026E5AC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80271670 0026E5B0 4B E9 39 95 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80271674 0026E5B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80271678 0026E5B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027167C 0026E5BC 7C 08 03 A6 */ mtlr r0 -/* 80271680 0026E5C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271684 0026E5C4 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai9StateMoveFPQ24Game9EnemyBase -exec__Q34Game5Sarai9StateMoveFPQ24Game9EnemyBase: -/* 80271688 0026E5C8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8027168C 0026E5CC 7C 08 02 A6 */ mflr r0 -/* 80271690 0026E5D0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80271694 0026E5D4 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80271698 0026E5D8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8027169C 0026E5DC DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802716A0 0026E5E0 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 802716A4 0026E5E4 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 802716A8 0026E5E8 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 802716AC 0026E5EC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802716B0 0026E5F0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 802716B4 0026E5F4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 802716B8 0026E5F8 7C 9E 23 78 */ mr r30, r4 -/* 802716BC 0026E5FC 7C 7D 1B 78 */ mr r29, r3 -/* 802716C0 0026E600 7F C3 F3 78 */ mr r3, r30 -/* 802716C4 0026E604 48 00 1A 0D */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 802716C8 0026E608 7F C4 F3 78 */ mr r4, r30 -/* 802716CC 0026E60C FF E0 08 90 */ fmr f31, f1 -/* 802716D0 0026E610 81 9E 00 00 */ lwz r12, 0(r30) -/* 802716D4 0026E614 38 61 00 08 */ addi r3, r1, 8 -/* 802716D8 0026E618 81 8C 00 08 */ lwz r12, 8(r12) -/* 802716DC 0026E61C 7D 89 03 A6 */ mtctr r12 -/* 802716E0 0026E620 4E 80 04 21 */ bctrl -/* 802716E4 0026E624 C0 3E 02 D0 */ lfs f1, 0x2d0(r30) -/* 802716E8 0026E628 7F C3 F3 78 */ mr r3, r30 -/* 802716EC 0026E62C C0 5E 02 D4 */ lfs f2, 0x2d4(r30) -/* 802716F0 0026E630 C0 1E 02 CC */ lfs f0, 0x2cc(r30) -/* 802716F4 0026E634 C3 C1 00 08 */ lfs f30, 8(r1) -/* 802716F8 0026E638 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802716FC 0026E63C C3 A1 00 10 */ lfs f29, 0x10(r1) -/* 80271700 0026E640 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80271704 0026E644 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80271708 0026E648 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027170C 0026E64C 81 8C 03 00 */ lwz r12, 0x300(r12) -/* 80271710 0026E650 7D 89 03 A6 */ mtctr r12 -/* 80271714 0026E654 4E 80 04 21 */ bctrl -/* 80271718 0026E658 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8027171C 0026E65C 40 82 00 38 */ bne lbl_80271754 -/* 80271720 0026E660 C0 3E 02 C0 */ lfs f1, 0x2c0(r30) -/* 80271724 0026E664 C0 02 CD FC */ lfs f0, lbl_8051B15C@sda21(r2) -/* 80271728 0026E668 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027172C 0026E66C 41 81 00 28 */ bgt lbl_80271754 -/* 80271730 0026E670 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80271734 0026E674 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80271738 0026E678 EC 5D 00 28 */ fsubs f2, f29, f0 -/* 8027173C 0026E67C C0 02 CE 24 */ lfs f0, lbl_8051B184@sda21(r2) -/* 80271740 0026E680 EC 7E 08 28 */ fsubs f3, f30, f1 -/* 80271744 0026E684 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 80271748 0026E688 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 8027174C 0026E68C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271750 0026E690 40 80 00 20 */ bge lbl_80271770 -lbl_80271754: -/* 80271754 0026E694 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271758 0026E698 7F C3 F3 78 */ mr r3, r30 -/* 8027175C 0026E69C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 80271760 0026E6A0 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 80271764 0026E6A4 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 80271768 0026E6A8 4B E9 3B 39 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8027176C 0026E6AC 48 00 00 20 */ b lbl_8027178C -lbl_80271770: -/* 80271770 0026E6B0 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 80271774 0026E6B4 7F C3 F3 78 */ mr r3, r30 -/* 80271778 0026E6B8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027177C 0026E6BC C0 25 08 94 */ lfs f1, 0x894(r5) -/* 80271780 0026E6C0 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 80271784 0026E6C4 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 80271788 0026E6C8 4B EA 3E 55 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -lbl_8027178C: -/* 8027178C 0026E6CC 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80271790 0026E6D0 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 80271794 0026E6D4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80271798 0026E6D8 41 81 00 14 */ bgt lbl_802717AC -/* 8027179C 0026E6DC C0 3E 02 C0 */ lfs f1, 0x2c0(r30) -/* 802717A0 0026E6E0 C0 02 CE 20 */ lfs f0, lbl_8051B180@sda21(r2) -/* 802717A4 0026E6E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802717A8 0026E6E8 40 81 00 34 */ ble lbl_802717DC -lbl_802717AC: -/* 802717AC 0026E6EC 7F C3 F3 78 */ mr r3, r30 -/* 802717B0 0026E6F0 48 00 1F 69 */ bl getNextStateOnHeight__Q34Game5Sarai3ObjFv -/* 802717B4 0026E6F4 7C 65 1B 79 */ or. r5, r3, r3 -/* 802717B8 0026E6F8 41 80 00 24 */ blt lbl_802717DC -/* 802717BC 0026E6FC 81 9D 00 00 */ lwz r12, 0(r29) -/* 802717C0 0026E700 7F A3 EB 78 */ mr r3, r29 -/* 802717C4 0026E704 7F C4 F3 78 */ mr r4, r30 -/* 802717C8 0026E708 38 C0 00 00 */ li r6, 0 -/* 802717CC 0026E70C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802717D0 0026E710 7D 89 03 A6 */ mtctr r12 -/* 802717D4 0026E714 4E 80 04 21 */ bctrl -/* 802717D8 0026E718 48 00 00 84 */ b lbl_8027185C -lbl_802717DC: -/* 802717DC 0026E71C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802717E0 0026E720 C0 3E 02 C0 */ lfs f1, 0x2c0(r30) -/* 802717E4 0026E724 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 802717E8 0026E728 EC 01 00 2A */ fadds f0, f1, f0 -/* 802717EC 0026E72C D0 1E 02 C0 */ stfs f0, 0x2c0(r30) -/* 802717F0 0026E730 80 7E 01 88 */ lwz r3, 0x188(r30) -/* 802717F4 0026E734 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802717F8 0026E738 28 00 00 00 */ cmplwi r0, 0 -/* 802717FC 0026E73C 41 82 00 60 */ beq lbl_8027185C -/* 80271800 0026E740 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80271804 0026E744 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80271808 0026E748 40 82 00 54 */ bne lbl_8027185C -/* 8027180C 0026E74C 28 1F 00 00 */ cmplwi r31, 0 -/* 80271810 0026E750 41 82 00 2C */ beq lbl_8027183C -/* 80271814 0026E754 93 FE 02 30 */ stw r31, 0x230(r30) -/* 80271818 0026E758 7F A3 EB 78 */ mr r3, r29 -/* 8027181C 0026E75C 7F C4 F3 78 */ mr r4, r30 -/* 80271820 0026E760 38 A0 00 07 */ li r5, 7 -/* 80271824 0026E764 81 9D 00 00 */ lwz r12, 0(r29) -/* 80271828 0026E768 38 C0 00 00 */ li r6, 0 -/* 8027182C 0026E76C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271830 0026E770 7D 89 03 A6 */ mtctr r12 -/* 80271834 0026E774 4E 80 04 21 */ bctrl -/* 80271838 0026E778 48 00 00 24 */ b lbl_8027185C -lbl_8027183C: -/* 8027183C 0026E77C 7F A3 EB 78 */ mr r3, r29 -/* 80271840 0026E780 7F C4 F3 78 */ mr r4, r30 -/* 80271844 0026E784 81 9D 00 00 */ lwz r12, 0(r29) -/* 80271848 0026E788 38 A0 00 05 */ li r5, 5 -/* 8027184C 0026E78C 38 C0 00 00 */ li r6, 0 -/* 80271850 0026E790 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271854 0026E794 7D 89 03 A6 */ mtctr r12 -/* 80271858 0026E798 4E 80 04 21 */ bctrl -lbl_8027185C: -/* 8027185C 0026E79C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80271860 0026E7A0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80271864 0026E7A4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80271868 0026E7A8 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8027186C 0026E7AC E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80271870 0026E7B0 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80271874 0026E7B4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80271878 0026E7B8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8027187C 0026E7BC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80271880 0026E7C0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80271884 0026E7C4 7C 08 03 A6 */ mtlr r0 -/* 80271888 0026E7C8 38 21 00 60 */ addi r1, r1, 0x60 -/* 8027188C 0026E7CC 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai9StateMoveFPQ24Game9EnemyBase: -/* 80271890 0026E7D0 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80271894 0026E7D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271898 0026E7D8 7C 08 02 A6 */ mflr r0 -/* 8027189C 0026E7DC C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 802718A0 0026E7E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802718A4 0026E7E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802718A8 0026E7E8 7C 9F 23 78 */ mr r31, r4 -/* 802718AC 0026E7EC 7F E3 FB 78 */ mr r3, r31 -/* 802718B0 0026E7F0 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 802718B4 0026E7F4 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802718B8 0026E7F8 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 802718BC 0026E7FC 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802718C0 0026E800 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 802718C4 0026E804 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 802718C8 0026E808 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 802718CC 0026E80C 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802718D0 0026E810 64 00 00 20 */ oris r0, r0, 0x20 -/* 802718D4 0026E814 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802718D8 0026E818 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802718DC 0026E81C 60 00 00 04 */ ori r0, r0, 4 -/* 802718E0 0026E820 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802718E4 0026E824 4B E9 00 E9 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 802718E8 0026E828 7F E3 FB 78 */ mr r3, r31 -/* 802718EC 0026E82C 38 80 00 02 */ li r4, 2 -/* 802718F0 0026E830 38 A0 00 00 */ li r5, 0 -/* 802718F4 0026E834 4B E9 37 11 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802718F8 0026E838 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802718FC 0026E83C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80271900 0026E840 7C 08 03 A6 */ mtlr r0 -/* 80271904 0026E844 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271908 0026E848 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai11StateAttackFPQ24Game9EnemyBase -exec__Q34Game5Sarai11StateAttackFPQ24Game9EnemyBase: -/* 8027190C 0026E84C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80271910 0026E850 7C 08 02 A6 */ mflr r0 -/* 80271914 0026E854 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80271918 0026E858 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8027191C 0026E85C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80271920 0026E860 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80271924 0026E864 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 80271928 0026E868 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8027192C 0026E86C F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 80271930 0026E870 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 80271934 0026E874 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 80271938 0026E878 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8027193C 0026E87C 93 C1 00 98 */ stw r30, 0x98(r1) -/* 80271940 0026E880 93 A1 00 94 */ stw r29, 0x94(r1) -/* 80271944 0026E884 83 C4 02 30 */ lwz r30, 0x230(r4) -/* 80271948 0026E888 7C 7D 1B 78 */ mr r29, r3 -/* 8027194C 0026E88C 7C 9F 23 78 */ mr r31, r4 -/* 80271950 0026E890 28 1E 00 00 */ cmplwi r30, 0 -/* 80271954 0026E894 41 82 03 5C */ beq lbl_80271CB0 -/* 80271958 0026E898 7F E3 FB 78 */ mr r3, r31 -/* 8027195C 0026E89C 4B E9 39 11 */ bl getMotionFrame__Q24Game9EnemyBaseFv -/* 80271960 0026E8A0 FF E0 08 90 */ fmr f31, f1 -/* 80271964 0026E8A4 C0 02 CD FC */ lfs f0, lbl_8051B15C@sda21(r2) -/* 80271968 0026E8A8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8027196C 0026E8AC 4C 40 13 82 */ cror 2, 0, 2 -/* 80271970 0026E8B0 40 82 00 FC */ bne lbl_80271A6C -/* 80271974 0026E8B4 7F E3 FB 78 */ mr r3, r31 -/* 80271978 0026E8B8 48 00 17 59 */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 8027197C 0026E8BC 7F C4 F3 78 */ mr r4, r30 -/* 80271980 0026E8C0 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80271984 0026E8C4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80271988 0026E8C8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027198C 0026E8CC C3 C5 03 34 */ lfs f30, 0x334(r5) -/* 80271990 0026E8D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80271994 0026E8D4 C3 E5 03 0C */ lfs f31, 0x30c(r5) -/* 80271998 0026E8D8 7D 89 03 A6 */ mtctr r12 -/* 8027199C 0026E8DC 4E 80 04 21 */ bctrl -/* 802719A0 0026E8E0 7F E4 FB 78 */ mr r4, r31 -/* 802719A4 0026E8E4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802719A8 0026E8E8 81 9F 00 00 */ lwz r12, 0(r31) -/* 802719AC 0026E8EC C3 A1 00 20 */ lfs f29, 0x20(r1) -/* 802719B0 0026E8F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802719B4 0026E8F4 C3 81 00 28 */ lfs f28, 0x28(r1) -/* 802719B8 0026E8F8 7D 89 03 A6 */ mtctr r12 -/* 802719BC 0026E8FC 4E 80 04 21 */ bctrl -/* 802719C0 0026E900 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 802719C4 0026E904 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802719C8 0026E908 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 802719CC 0026E90C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 802719D0 0026E910 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 802719D4 0026E914 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 802719D8 0026E918 4B DC 37 31 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 802719DC 0026E91C 48 1A 01 F5 */ bl roundAng__Ff -/* 802719E0 0026E920 81 9F 00 00 */ lwz r12, 0(r31) -/* 802719E4 0026E924 FF A0 08 90 */ fmr f29, f1 -/* 802719E8 0026E928 7F E3 FB 78 */ mr r3, r31 -/* 802719EC 0026E92C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802719F0 0026E930 7D 89 03 A6 */ mtctr r12 -/* 802719F4 0026E934 4E 80 04 21 */ bctrl -/* 802719F8 0026E938 FC 40 08 90 */ fmr f2, f1 -/* 802719FC 0026E93C FC 20 E8 90 */ fmr f1, f29 -/* 80271A00 0026E940 48 1A 01 FD */ bl angDist__Fff -/* 80271A04 0026E944 EF E1 07 F2 */ fmuls f31, f1, f31 -/* 80271A08 0026E948 C0 02 CE 2C */ lfs f0, lbl_8051B18C@sda21(r2) -/* 80271A0C 0026E94C C0 22 CE 28 */ lfs f1, lbl_8051B188@sda21(r2) -/* 80271A10 0026E950 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80271A14 0026E954 FC 40 FA 10 */ fabs f2, f31 -/* 80271A18 0026E958 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80271A1C 0026E95C FC 00 10 18 */ frsp f0, f2 -/* 80271A20 0026E960 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80271A24 0026E964 40 81 00 1C */ ble lbl_80271A40 -/* 80271A28 0026E968 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271A2C 0026E96C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80271A30 0026E970 40 81 00 0C */ ble lbl_80271A3C -/* 80271A34 0026E974 FF E0 08 90 */ fmr f31, f1 -/* 80271A38 0026E978 48 00 00 08 */ b lbl_80271A40 -lbl_80271A3C: -/* 80271A3C 0026E97C FF E0 08 50 */ fneg f31, f1 -lbl_80271A40: -/* 80271A40 0026E980 7F E3 FB 78 */ mr r3, r31 -/* 80271A44 0026E984 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271A48 0026E988 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80271A4C 0026E98C 7D 89 03 A6 */ mtctr r12 -/* 80271A50 0026E990 4E 80 04 21 */ bctrl -/* 80271A54 0026E994 EC 3F 08 2A */ fadds f1, f31, f1 -/* 80271A58 0026E998 48 1A 01 79 */ bl roundAng__Ff -/* 80271A5C 0026E99C D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80271A60 0026E9A0 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80271A64 0026E9A4 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80271A68 0026E9A8 48 00 02 60 */ b lbl_80271CC8 -lbl_80271A6C: -/* 80271A6C 0026E9AC C0 02 CE 30 */ lfs f0, lbl_8051B190@sda21(r2) -/* 80271A70 0026E9B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80271A74 0026E9B4 4C 40 13 82 */ cror 2, 0, 2 -/* 80271A78 0026E9B8 40 82 02 00 */ bne lbl_80271C78 -/* 80271A7C 0026E9BC 80 1F 00 C8 */ lwz r0, 0xc8(r31) -/* 80271A80 0026E9C0 28 00 00 00 */ cmplwi r0, 0 -/* 80271A84 0026E9C4 41 82 00 08 */ beq lbl_80271A8C -/* 80271A88 0026E9C8 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -lbl_80271A8C: -/* 80271A8C 0026E9CC C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80271A90 0026E9D0 C0 02 CE 30 */ lfs f0, lbl_8051B190@sda21(r2) -/* 80271A94 0026E9D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271A98 0026E9D8 40 80 02 30 */ bge lbl_80271CC8 -/* 80271A9C 0026E9DC 7F C4 F3 78 */ mr r4, r30 -/* 80271AA0 0026E9E0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80271AA4 0026E9E4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80271AA8 0026E9E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80271AAC 0026E9EC 7D 89 03 A6 */ mtctr r12 -/* 80271AB0 0026E9F0 4E 80 04 21 */ bctrl -/* 80271AB4 0026E9F4 7F E4 FB 78 */ mr r4, r31 -/* 80271AB8 0026E9F8 C3 81 00 6C */ lfs f28, 0x6c(r1) -/* 80271ABC 0026E9FC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271AC0 0026EA00 38 61 00 5C */ addi r3, r1, 0x5c -/* 80271AC4 0026EA04 C0 02 CE 34 */ lfs f0, lbl_8051B194@sda21(r2) -/* 80271AC8 0026EA08 81 8C 00 08 */ lwz r12, 8(r12) -/* 80271ACC 0026EA0C EF 9C 00 2A */ fadds f28, f28, f0 -/* 80271AD0 0026EA10 7D 89 03 A6 */ mtctr r12 -/* 80271AD4 0026EA14 4E 80 04 21 */ bctrl -/* 80271AD8 0026EA18 7F E4 FB 78 */ mr r4, r31 -/* 80271ADC 0026EA1C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80271AE0 0026EA20 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271AE4 0026EA24 C3 A1 00 60 */ lfs f29, 0x60(r1) -/* 80271AE8 0026EA28 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 80271AEC 0026EA2C 7D 89 03 A6 */ mtctr r12 -/* 80271AF0 0026EA30 4E 80 04 21 */ bctrl -/* 80271AF4 0026EA34 C0 61 00 50 */ lfs f3, 0x50(r1) -/* 80271AF8 0026EA38 EC 5C E8 28 */ fsubs f2, f28, f29 -/* 80271AFC 0026EA3C C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80271B00 0026EA40 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 80271B04 0026EA44 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 80271B08 0026EA48 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80271B0C 0026EA4C D0 01 00 84 */ stfs f0, 0x84(r1) -/* 80271B10 0026EA50 C0 02 CE 38 */ lfs f0, lbl_8051B198@sda21(r2) -/* 80271B14 0026EA54 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 80271B18 0026EA58 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 80271B1C 0026EA5C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80271B20 0026EA60 EC 42 08 24 */ fdivs f2, f2, f1 -/* 80271B24 0026EA64 C0 23 09 D4 */ lfs f1, 0x9d4(r3) -/* 80271B28 0026EA68 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80271B2C 0026EA6C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271B30 0026EA70 40 80 00 08 */ bge lbl_80271B38 -/* 80271B34 0026EA74 48 00 00 18 */ b lbl_80271B4C -lbl_80271B38: -/* 80271B38 0026EA78 C0 02 CE 3C */ lfs f0, lbl_8051B19C@sda21(r2) -/* 80271B3C 0026EA7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271B40 0026EA80 40 81 00 08 */ ble lbl_80271B48 -/* 80271B44 0026EA84 48 00 00 08 */ b lbl_80271B4C -lbl_80271B48: -/* 80271B48 0026EA88 FC 00 08 90 */ fmr f0, f1 -lbl_80271B4C: -/* 80271B4C 0026EA8C D0 01 00 84 */ stfs f0, 0x84(r1) -/* 80271B50 0026EA90 7F E3 FB 78 */ mr r3, r31 -/* 80271B54 0026EA94 38 81 00 80 */ addi r4, r1, 0x80 -/* 80271B58 0026EA98 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271B5C 0026EA9C 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80271B60 0026EAA0 7D 89 03 A6 */ mtctr r12 -/* 80271B64 0026EAA4 4E 80 04 21 */ bctrl -/* 80271B68 0026EAA8 C0 02 CE 40 */ lfs f0, lbl_8051B1A0@sda21(r2) -/* 80271B6C 0026EAAC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80271B70 0026EAB0 40 81 00 18 */ ble lbl_80271B88 -/* 80271B74 0026EAB4 7F E3 FB 78 */ mr r3, r31 -/* 80271B78 0026EAB8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271B7C 0026EABC 81 8C 03 04 */ lwz r12, 0x304(r12) -/* 80271B80 0026EAC0 7D 89 03 A6 */ mtctr r12 -/* 80271B84 0026EAC4 4E 80 04 21 */ bctrl -lbl_80271B88: -/* 80271B88 0026EAC8 7F C4 F3 78 */ mr r4, r30 -/* 80271B8C 0026EACC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80271B90 0026EAD0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80271B94 0026EAD4 38 61 00 08 */ addi r3, r1, 8 -/* 80271B98 0026EAD8 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 80271B9C 0026EADC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80271BA0 0026EAE0 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80271BA4 0026EAE4 7D 89 03 A6 */ mtctr r12 -/* 80271BA8 0026EAE8 4E 80 04 21 */ bctrl -/* 80271BAC 0026EAEC 7F E4 FB 78 */ mr r4, r31 -/* 80271BB0 0026EAF0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80271BB4 0026EAF4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271BB8 0026EAF8 C3 81 00 08 */ lfs f28, 8(r1) -/* 80271BBC 0026EAFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80271BC0 0026EB00 C3 A1 00 10 */ lfs f29, 0x10(r1) -/* 80271BC4 0026EB04 7D 89 03 A6 */ mtctr r12 -/* 80271BC8 0026EB08 4E 80 04 21 */ bctrl -/* 80271BCC 0026EB0C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80271BD0 0026EB10 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80271BD4 0026EB14 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80271BD8 0026EB18 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80271BDC 0026EB1C EC 3C 08 28 */ fsubs f1, f28, f1 -/* 80271BE0 0026EB20 EC 5D 00 28 */ fsubs f2, f29, f0 -/* 80271BE4 0026EB24 4B DC 35 25 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80271BE8 0026EB28 48 19 FF E9 */ bl roundAng__Ff -/* 80271BEC 0026EB2C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271BF0 0026EB30 FF A0 08 90 */ fmr f29, f1 -/* 80271BF4 0026EB34 7F E3 FB 78 */ mr r3, r31 -/* 80271BF8 0026EB38 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80271BFC 0026EB3C 7D 89 03 A6 */ mtctr r12 -/* 80271C00 0026EB40 4E 80 04 21 */ bctrl -/* 80271C04 0026EB44 FC 40 08 90 */ fmr f2, f1 -/* 80271C08 0026EB48 FC 20 E8 90 */ fmr f1, f29 -/* 80271C0C 0026EB4C 48 19 FF F1 */ bl angDist__Fff -/* 80271C10 0026EB50 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 80271C14 0026EB54 C0 02 CE 2C */ lfs f0, lbl_8051B18C@sda21(r2) -/* 80271C18 0026EB58 C0 22 CE 28 */ lfs f1, lbl_8051B188@sda21(r2) -/* 80271C1C 0026EB5C EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80271C20 0026EB60 FC 40 F2 10 */ fabs f2, f30 -/* 80271C24 0026EB64 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80271C28 0026EB68 FC 00 10 18 */ frsp f0, f2 -/* 80271C2C 0026EB6C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80271C30 0026EB70 40 81 00 1C */ ble lbl_80271C4C -/* 80271C34 0026EB74 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271C38 0026EB78 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80271C3C 0026EB7C 40 81 00 0C */ ble lbl_80271C48 -/* 80271C40 0026EB80 FF C0 08 90 */ fmr f30, f1 -/* 80271C44 0026EB84 48 00 00 08 */ b lbl_80271C4C -lbl_80271C48: -/* 80271C48 0026EB88 FF C0 08 50 */ fneg f30, f1 -lbl_80271C4C: -/* 80271C4C 0026EB8C 7F E3 FB 78 */ mr r3, r31 -/* 80271C50 0026EB90 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271C54 0026EB94 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80271C58 0026EB98 7D 89 03 A6 */ mtctr r12 -/* 80271C5C 0026EB9C 4E 80 04 21 */ bctrl -/* 80271C60 0026EBA0 EC 3E 08 2A */ fadds f1, f30, f1 -/* 80271C64 0026EBA4 48 19 FF 6D */ bl roundAng__Ff -/* 80271C68 0026EBA8 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80271C6C 0026EBAC C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80271C70 0026EBB0 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80271C74 0026EBB4 48 00 00 54 */ b lbl_80271CC8 -lbl_80271C78: -/* 80271C78 0026EBB8 7F E3 FB 78 */ mr r3, r31 -/* 80271C7C 0026EBBC 48 00 14 55 */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 80271C80 0026EBC0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80271C84 0026EBC4 C0 3F 01 D4 */ lfs f1, 0x1d4(r31) -/* 80271C88 0026EBC8 C0 03 09 FC */ lfs f0, 0x9fc(r3) -/* 80271C8C 0026EBCC C0 5F 01 D8 */ lfs f2, 0x1d8(r31) -/* 80271C90 0026EBD0 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80271C94 0026EBD4 C0 7F 01 DC */ lfs f3, 0x1dc(r31) -/* 80271C98 0026EBD8 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80271C9C 0026EBDC EC 63 00 32 */ fmuls f3, f3, f0 -/* 80271CA0 0026EBE0 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) -/* 80271CA4 0026EBE4 D0 5F 01 D8 */ stfs f2, 0x1d8(r31) -/* 80271CA8 0026EBE8 D0 7F 01 DC */ stfs f3, 0x1dc(r31) -/* 80271CAC 0026EBEC 48 00 00 1C */ b lbl_80271CC8 -lbl_80271CB0: -/* 80271CB0 0026EBF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80271CB4 0026EBF4 38 A0 00 06 */ li r5, 6 -/* 80271CB8 0026EBF8 38 C0 00 00 */ li r6, 0 -/* 80271CBC 0026EBFC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271CC0 0026EC00 7D 89 03 A6 */ mtctr r12 -/* 80271CC4 0026EC04 4E 80 04 21 */ bctrl -lbl_80271CC8: -/* 80271CC8 0026EC08 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80271CCC 0026EC0C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80271CD0 0026EC10 28 00 00 00 */ cmplwi r0, 0 -/* 80271CD4 0026EC14 41 82 02 10 */ beq lbl_80271EE4 -/* 80271CD8 0026EC18 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80271CDC 0026EC1C 28 00 00 02 */ cmplwi r0, 2 -/* 80271CE0 0026EC20 40 82 01 54 */ bne lbl_80271E34 -/* 80271CE4 0026EC24 80 9F 02 30 */ lwz r4, 0x230(r31) -/* 80271CE8 0026EC28 28 04 00 00 */ cmplwi r4, 0 -/* 80271CEC 0026EC2C 41 82 01 F8 */ beq lbl_80271EE4 -/* 80271CF0 0026EC30 81 84 00 00 */ lwz r12, 0(r4) -/* 80271CF4 0026EC34 38 61 00 44 */ addi r3, r1, 0x44 -/* 80271CF8 0026EC38 81 8C 00 08 */ lwz r12, 8(r12) -/* 80271CFC 0026EC3C 7D 89 03 A6 */ mtctr r12 -/* 80271D00 0026EC40 4E 80 04 21 */ bctrl -/* 80271D04 0026EC44 7F E4 FB 78 */ mr r4, r31 -/* 80271D08 0026EC48 38 61 00 38 */ addi r3, r1, 0x38 -/* 80271D0C 0026EC4C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271D10 0026EC50 C3 81 00 44 */ lfs f28, 0x44(r1) -/* 80271D14 0026EC54 81 8C 00 08 */ lwz r12, 8(r12) -/* 80271D18 0026EC58 C3 A1 00 48 */ lfs f29, 0x48(r1) -/* 80271D1C 0026EC5C C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 80271D20 0026EC60 7D 89 03 A6 */ mtctr r12 -/* 80271D24 0026EC64 4E 80 04 21 */ bctrl -/* 80271D28 0026EC68 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80271D2C 0026EC6C C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80271D30 0026EC70 EC DD 00 28 */ fsubs f6, f29, f0 -/* 80271D34 0026EC74 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80271D38 0026EC78 EC FE 10 28 */ fsubs f7, f30, f2 -/* 80271D3C 0026EC7C C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271D40 0026EC80 EC BC 08 28 */ fsubs f5, f28, f1 -/* 80271D44 0026EC84 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 80271D48 0026EC88 EC 47 01 F2 */ fmuls f2, f7, f7 -/* 80271D4C 0026EC8C D0 C1 00 78 */ stfs f6, 0x78(r1) -/* 80271D50 0026EC90 EC 25 09 7A */ fmadds f1, f5, f5, f1 -/* 80271D54 0026EC94 D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 80271D58 0026EC98 D0 E1 00 7C */ stfs f7, 0x7c(r1) -/* 80271D5C 0026EC9C EC 22 08 2A */ fadds f1, f2, f1 -/* 80271D60 0026ECA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271D64 0026ECA4 40 81 00 14 */ ble lbl_80271D78 -/* 80271D68 0026ECA8 40 81 00 14 */ ble lbl_80271D7C -/* 80271D6C 0026ECAC FC 00 08 34 */ frsqrte f0, f1 -/* 80271D70 0026ECB0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80271D74 0026ECB4 48 00 00 08 */ b lbl_80271D7C -lbl_80271D78: -/* 80271D78 0026ECB8 FC 20 00 90 */ fmr f1, f0 -lbl_80271D7C: -/* 80271D7C 0026ECBC C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80271D80 0026ECC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80271D84 0026ECC4 40 81 00 18 */ ble lbl_80271D9C -/* 80271D88 0026ECC8 C0 02 CE 00 */ lfs f0, lbl_8051B160@sda21(r2) -/* 80271D8C 0026ECCC EC 00 08 24 */ fdivs f0, f0, f1 -/* 80271D90 0026ECD0 EC A5 00 32 */ fmuls f5, f5, f0 -/* 80271D94 0026ECD4 EC C6 00 32 */ fmuls f6, f6, f0 -/* 80271D98 0026ECD8 EC E7 00 32 */ fmuls f7, f7, f0 -lbl_80271D9C: -/* 80271D9C 0026ECDC C0 42 CE 44 */ lfs f2, lbl_8051B1A4@sda21(r2) -/* 80271DA0 0026ECE0 7F E3 FB 78 */ mr r3, r31 -/* 80271DA4 0026ECE4 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 80271DA8 0026ECE8 38 81 00 74 */ addi r4, r1, 0x74 -/* 80271DAC 0026ECEC EC C6 00 B2 */ fmuls f6, f6, f2 -/* 80271DB0 0026ECF0 C0 81 00 74 */ lfs f4, 0x74(r1) -/* 80271DB4 0026ECF4 EC A5 00 B2 */ fmuls f5, f5, f2 -/* 80271DB8 0026ECF8 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80271DBC 0026ECFC EC E7 00 B2 */ fmuls f7, f7, f2 -/* 80271DC0 0026ED00 C0 62 CD F8 */ lfs f3, lbl_8051B158@sda21(r2) -/* 80271DC4 0026ED04 EC 41 30 28 */ fsubs f2, f1, f6 -/* 80271DC8 0026ED08 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 80271DCC 0026ED0C EC A4 28 28 */ fsubs f5, f4, f5 -/* 80271DD0 0026ED10 C0 22 CE 48 */ lfs f1, lbl_8051B1A8@sda21(r2) -/* 80271DD4 0026ED14 EC 80 38 28 */ fsubs f4, f0, f7 -/* 80271DD8 0026ED18 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80271DDC 0026ED1C D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 80271DE0 0026ED20 D0 81 00 7C */ stfs f4, 0x7c(r1) -/* 80271DE4 0026ED24 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 80271DE8 0026ED28 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 80271DEC 0026ED2C EC 01 00 24 */ fdivs f0, f1, f0 -/* 80271DF0 0026ED30 EC 45 00 32 */ fmuls f2, f5, f0 -/* 80271DF4 0026ED34 EC 23 00 32 */ fmuls f1, f3, f0 -/* 80271DF8 0026ED38 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80271DFC 0026ED3C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80271E00 0026ED40 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 80271E04 0026ED44 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80271E08 0026ED48 81 9F 00 00 */ lwz r12, 0(r31) -/* 80271E0C 0026ED4C 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80271E10 0026ED50 7D 89 03 A6 */ mtctr r12 -/* 80271E14 0026ED54 4E 80 04 21 */ bctrl -/* 80271E18 0026ED58 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80271E1C 0026ED5C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80271E20 0026ED60 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 80271E24 0026ED64 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80271E28 0026ED68 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80271E2C 0026ED6C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80271E30 0026ED70 48 00 00 B4 */ b lbl_80271EE4 -lbl_80271E34: -/* 80271E34 0026ED74 28 00 00 03 */ cmplwi r0, 3 -/* 80271E38 0026ED78 40 82 00 14 */ bne lbl_80271E4C -/* 80271E3C 0026ED7C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80271E40 0026ED80 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80271E44 0026ED84 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80271E48 0026ED88 48 00 00 9C */ b lbl_80271EE4 -lbl_80271E4C: -/* 80271E4C 0026ED8C 28 00 00 04 */ cmplwi r0, 4 -/* 80271E50 0026ED90 40 82 00 38 */ bne lbl_80271E88 -/* 80271E54 0026ED94 7F E3 FB 78 */ mr r3, r31 -/* 80271E58 0026ED98 48 00 18 45 */ bl getCatchTargetNum__Q34Game5Sarai3ObjFv -/* 80271E5C 0026ED9C 2C 03 00 00 */ cmpwi r3, 0 -/* 80271E60 0026EDA0 40 82 00 84 */ bne lbl_80271EE4 -/* 80271E64 0026EDA4 7F A3 EB 78 */ mr r3, r29 -/* 80271E68 0026EDA8 7F E4 FB 78 */ mr r4, r31 -/* 80271E6C 0026EDAC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80271E70 0026EDB0 38 A0 00 08 */ li r5, 8 -/* 80271E74 0026EDB4 38 C0 00 00 */ li r6, 0 -/* 80271E78 0026EDB8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271E7C 0026EDBC 7D 89 03 A6 */ mtctr r12 -/* 80271E80 0026EDC0 4E 80 04 21 */ bctrl -/* 80271E84 0026EDC4 48 00 00 60 */ b lbl_80271EE4 -lbl_80271E88: -/* 80271E88 0026EDC8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80271E8C 0026EDCC 40 82 00 58 */ bne lbl_80271EE4 -/* 80271E90 0026EDD0 7F E3 FB 78 */ mr r3, r31 -/* 80271E94 0026EDD4 48 00 18 09 */ bl getCatchTargetNum__Q34Game5Sarai3ObjFv -/* 80271E98 0026EDD8 2C 03 00 00 */ cmpwi r3, 0 -/* 80271E9C 0026EDDC 41 82 00 28 */ beq lbl_80271EC4 -/* 80271EA0 0026EDE0 7F A3 EB 78 */ mr r3, r29 -/* 80271EA4 0026EDE4 7F E4 FB 78 */ mr r4, r31 -/* 80271EA8 0026EDE8 81 9D 00 00 */ lwz r12, 0(r29) -/* 80271EAC 0026EDEC 38 A0 00 09 */ li r5, 9 -/* 80271EB0 0026EDF0 38 C0 00 00 */ li r6, 0 -/* 80271EB4 0026EDF4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271EB8 0026EDF8 7D 89 03 A6 */ mtctr r12 -/* 80271EBC 0026EDFC 4E 80 04 21 */ bctrl -/* 80271EC0 0026EE00 48 00 00 24 */ b lbl_80271EE4 -lbl_80271EC4: -/* 80271EC4 0026EE04 7F A3 EB 78 */ mr r3, r29 -/* 80271EC8 0026EE08 7F E4 FB 78 */ mr r4, r31 -/* 80271ECC 0026EE0C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80271ED0 0026EE10 38 A0 00 06 */ li r5, 6 -/* 80271ED4 0026EE14 38 C0 00 00 */ li r6, 0 -/* 80271ED8 0026EE18 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80271EDC 0026EE1C 7D 89 03 A6 */ mtctr r12 -/* 80271EE0 0026EE20 4E 80 04 21 */ bctrl -lbl_80271EE4: -/* 80271EE4 0026EE24 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80271EE8 0026EE28 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80271EEC 0026EE2C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 80271EF0 0026EE30 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 80271EF4 0026EE34 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 80271EF8 0026EE38 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 80271EFC 0026EE3C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 80271F00 0026EE40 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 80271F04 0026EE44 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80271F08 0026EE48 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 80271F0C 0026EE4C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80271F10 0026EE50 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 80271F14 0026EE54 7C 08 03 A6 */ mtlr r0 -/* 80271F18 0026EE58 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80271F1C 0026EE5C 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai11StateAttackFPQ24Game9EnemyBase: -/* 80271F20 0026EE60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271F24 0026EE64 7C 08 02 A6 */ mflr r0 -/* 80271F28 0026EE68 7C 83 23 78 */ mr r3, r4 -/* 80271F2C 0026EE6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80271F30 0026EE70 38 00 00 00 */ li r0, 0 -/* 80271F34 0026EE74 80 A4 01 E0 */ lwz r5, 0x1e0(r4) -/* 80271F38 0026EE78 60 A5 00 40 */ ori r5, r5, 0x40 -/* 80271F3C 0026EE7C 90 A4 01 E0 */ stw r5, 0x1e0(r4) -/* 80271F40 0026EE80 80 A4 01 E0 */ lwz r5, 0x1e0(r4) -/* 80271F44 0026EE84 54 A5 02 D2 */ rlwinm r5, r5, 0, 0xb, 9 -/* 80271F48 0026EE88 90 A4 01 E0 */ stw r5, 0x1e0(r4) -/* 80271F4C 0026EE8C 90 04 02 30 */ stw r0, 0x230(r4) -/* 80271F50 0026EE90 4B E8 FA 2D */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80271F54 0026EE94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80271F58 0026EE98 7C 08 03 A6 */ mtlr r0 -/* 80271F5C 0026EE9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271F60 0026EEA0 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai9StateFailFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai9StateFailFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80271F64 0026EEA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271F68 0026EEA8 7C 08 02 A6 */ mflr r0 -/* 80271F6C 0026EEAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80271F70 0026EEB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80271F74 0026EEB4 7C 9F 23 78 */ mr r31, r4 -/* 80271F78 0026EEB8 7F E3 FB 78 */ mr r3, r31 -/* 80271F7C 0026EEBC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80271F80 0026EEC0 60 00 00 04 */ ori r0, r0, 4 -/* 80271F84 0026EEC4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80271F88 0026EEC8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80271F8C 0026EECC 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80271F90 0026EED0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80271F94 0026EED4 4B E8 FA 39 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80271F98 0026EED8 7F E3 FB 78 */ mr r3, r31 -/* 80271F9C 0026EEDC 38 80 00 09 */ li r4, 9 -/* 80271FA0 0026EEE0 38 A0 00 00 */ li r5, 0 -/* 80271FA4 0026EEE4 4B E9 30 61 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80271FA8 0026EEE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80271FAC 0026EEEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80271FB0 0026EEF0 7C 08 03 A6 */ mtlr r0 -/* 80271FB4 0026EEF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80271FB8 0026EEF8 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai9StateFailFPQ24Game9EnemyBase -exec__Q34Game5Sarai9StateFailFPQ24Game9EnemyBase: -/* 80271FBC 0026EEFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80271FC0 0026EF00 7C 08 02 A6 */ mflr r0 -/* 80271FC4 0026EF04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80271FC8 0026EF08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80271FCC 0026EF0C 7C 9F 23 78 */ mr r31, r4 -/* 80271FD0 0026EF10 93 C1 00 08 */ stw r30, 8(r1) -/* 80271FD4 0026EF14 7C 7E 1B 78 */ mr r30, r3 -/* 80271FD8 0026EF18 7F E3 FB 78 */ mr r3, r31 -/* 80271FDC 0026EF1C 48 00 10 F5 */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 80271FE0 0026EF20 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80271FE4 0026EF24 C0 3F 01 D4 */ lfs f1, 0x1d4(r31) -/* 80271FE8 0026EF28 C0 03 09 FC */ lfs f0, 0x9fc(r3) -/* 80271FEC 0026EF2C C0 5F 01 D8 */ lfs f2, 0x1d8(r31) -/* 80271FF0 0026EF30 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80271FF4 0026EF34 C0 7F 01 DC */ lfs f3, 0x1dc(r31) -/* 80271FF8 0026EF38 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80271FFC 0026EF3C EC 63 00 32 */ fmuls f3, f3, f0 -/* 80272000 0026EF40 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) -/* 80272004 0026EF44 D0 5F 01 D8 */ stfs f2, 0x1d8(r31) -/* 80272008 0026EF48 D0 7F 01 DC */ stfs f3, 0x1dc(r31) -/* 8027200C 0026EF4C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80272010 0026EF50 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80272014 0026EF54 28 00 00 00 */ cmplwi r0, 0 -/* 80272018 0026EF58 41 82 00 64 */ beq lbl_8027207C -/* 8027201C 0026EF5C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80272020 0026EF60 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80272024 0026EF64 40 82 00 58 */ bne lbl_8027207C -/* 80272028 0026EF68 7F E3 FB 78 */ mr r3, r31 -/* 8027202C 0026EF6C 48 00 16 71 */ bl getCatchTargetNum__Q34Game5Sarai3ObjFv -/* 80272030 0026EF70 2C 03 00 00 */ cmpwi r3, 0 -/* 80272034 0026EF74 41 82 00 28 */ beq lbl_8027205C -/* 80272038 0026EF78 7F C3 F3 78 */ mr r3, r30 -/* 8027203C 0026EF7C 7F E4 FB 78 */ mr r4, r31 -/* 80272040 0026EF80 81 9E 00 00 */ lwz r12, 0(r30) -/* 80272044 0026EF84 38 A0 00 09 */ li r5, 9 -/* 80272048 0026EF88 38 C0 00 00 */ li r6, 0 -/* 8027204C 0026EF8C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80272050 0026EF90 7D 89 03 A6 */ mtctr r12 -/* 80272054 0026EF94 4E 80 04 21 */ bctrl -/* 80272058 0026EF98 48 00 00 24 */ b lbl_8027207C -lbl_8027205C: -/* 8027205C 0026EF9C 7F C3 F3 78 */ mr r3, r30 -/* 80272060 0026EFA0 7F E4 FB 78 */ mr r4, r31 -/* 80272064 0026EFA4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80272068 0026EFA8 38 A0 00 06 */ li r5, 6 -/* 8027206C 0026EFAC 38 C0 00 00 */ li r6, 0 -/* 80272070 0026EFB0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80272074 0026EFB4 7D 89 03 A6 */ mtctr r12 -/* 80272078 0026EFB8 4E 80 04 21 */ bctrl -lbl_8027207C: -/* 8027207C 0026EFBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272080 0026EFC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272084 0026EFC4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80272088 0026EFC8 7C 08 03 A6 */ mtlr r0 -/* 8027208C 0026EFCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272090 0026EFD0 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai9StateFailFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai9StateFailFPQ24Game9EnemyBase: -/* 80272094 0026EFD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272098 0026EFD8 7C 08 02 A6 */ mflr r0 -/* 8027209C 0026EFDC 7C 83 23 78 */ mr r3, r4 -/* 802720A0 0026EFE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802720A4 0026EFE4 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802720A8 0026EFE8 60 00 00 40 */ ori r0, r0, 0x40 -/* 802720AC 0026EFEC 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802720B0 0026EFF0 4B E8 F8 CD */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 802720B4 0026EFF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802720B8 0026EFF8 7C 08 03 A6 */ mtlr r0 -/* 802720BC 0026EFFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802720C0 0026F000 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai13StateCatchFlyFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai13StateCatchFlyFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802720C4 0026F004 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802720C8 0026F008 7C 08 02 A6 */ mflr r0 -/* 802720CC 0026F00C C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 802720D0 0026F010 90 01 00 14 */ stw r0, 0x14(r1) -/* 802720D4 0026F014 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802720D8 0026F018 7C 9F 23 78 */ mr r31, r4 -/* 802720DC 0026F01C 7F E3 FB 78 */ mr r3, r31 -/* 802720E0 0026F020 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 802720E4 0026F024 48 00 10 F5 */ bl setRandTarget__Q34Game5Sarai3ObjFv -/* 802720E8 0026F028 38 00 00 00 */ li r0, 0 -/* 802720EC 0026F02C 7F E3 FB 78 */ mr r3, r31 -/* 802720F0 0026F030 90 1F 02 30 */ stw r0, 0x230(r31) -/* 802720F4 0026F034 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802720F8 0026F038 60 00 00 04 */ ori r0, r0, 4 -/* 802720FC 0026F03C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80272100 0026F040 4B E8 F8 CD */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80272104 0026F044 7F E3 FB 78 */ mr r3, r31 -/* 80272108 0026F048 38 80 00 03 */ li r4, 3 -/* 8027210C 0026F04C 38 A0 00 00 */ li r5, 0 -/* 80272110 0026F050 4B E9 2E F5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80272114 0026F054 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272118 0026F058 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027211C 0026F05C 7C 08 03 A6 */ mtlr r0 -/* 80272120 0026F060 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272124 0026F064 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai13StateCatchFlyFPQ24Game9EnemyBase -exec__Q34Game5Sarai13StateCatchFlyFPQ24Game9EnemyBase: -/* 80272128 0026F068 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8027212C 0026F06C 7C 08 02 A6 */ mflr r0 -/* 80272130 0026F070 90 01 00 44 */ stw r0, 0x44(r1) -/* 80272134 0026F074 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80272138 0026F078 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8027213C 0026F07C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80272140 0026F080 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80272144 0026F084 7C 9F 23 78 */ mr r31, r4 -/* 80272148 0026F088 7C 7E 1B 78 */ mr r30, r3 -/* 8027214C 0026F08C 7F E3 FB 78 */ mr r3, r31 -/* 80272150 0026F090 48 00 0F 81 */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 80272154 0026F094 7F E4 FB 78 */ mr r4, r31 -/* 80272158 0026F098 FF E0 08 90 */ fmr f31, f1 -/* 8027215C 0026F09C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80272160 0026F0A0 38 61 00 08 */ addi r3, r1, 8 -/* 80272164 0026F0A4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80272168 0026F0A8 7D 89 03 A6 */ mtctr r12 -/* 8027216C 0026F0AC 4E 80 04 21 */ bctrl -/* 80272170 0026F0B0 C0 3F 02 D0 */ lfs f1, 0x2d0(r31) -/* 80272174 0026F0B4 C0 BF 02 D4 */ lfs f5, 0x2d4(r31) -/* 80272178 0026F0B8 C0 5F 02 CC */ lfs f2, 0x2cc(r31) -/* 8027217C 0026F0BC C0 02 CD FC */ lfs f0, lbl_8051B15C@sda21(r2) -/* 80272180 0026F0C0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80272184 0026F0C4 C0 61 00 08 */ lfs f3, 8(r1) -/* 80272188 0026F0C8 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8027218C 0026F0CC C0 81 00 10 */ lfs f4, 0x10(r1) -/* 80272190 0026F0D0 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 80272194 0026F0D4 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80272198 0026F0D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027219C 0026F0DC 41 81 00 20 */ bgt lbl_802721BC -/* 802721A0 0026F0E0 EC 24 28 28 */ fsubs f1, f4, f5 -/* 802721A4 0026F0E4 C0 02 CE 24 */ lfs f0, lbl_8051B184@sda21(r2) -/* 802721A8 0026F0E8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 802721AC 0026F0EC EC 21 00 72 */ fmuls f1, f1, f1 -/* 802721B0 0026F0F0 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 802721B4 0026F0F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802721B8 0026F0F8 40 80 00 20 */ bge lbl_802721D8 -lbl_802721BC: -/* 802721BC 0026F0FC C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 802721C0 0026F100 7F E3 FB 78 */ mr r3, r31 -/* 802721C4 0026F104 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802721C8 0026F108 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802721CC 0026F10C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802721D0 0026F110 4B E9 30 D1 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802721D4 0026F114 48 00 00 20 */ b lbl_802721F4 -lbl_802721D8: -/* 802721D8 0026F118 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802721DC 0026F11C 7F E3 FB 78 */ mr r3, r31 -/* 802721E0 0026F120 38 81 00 14 */ addi r4, r1, 0x14 -/* 802721E4 0026F124 C0 25 08 BC */ lfs f1, 0x8bc(r5) -/* 802721E8 0026F128 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 802721EC 0026F12C C0 65 03 34 */ lfs f3, 0x334(r5) -/* 802721F0 0026F130 4B EA 33 ED */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -lbl_802721F4: -/* 802721F4 0026F134 7F E3 FB 78 */ mr r3, r31 -/* 802721F8 0026F138 48 00 14 A5 */ bl getCatchTargetNum__Q34Game5Sarai3ObjFv -/* 802721FC 0026F13C 2C 03 00 00 */ cmpwi r3, 0 -/* 80272200 0026F140 40 82 00 28 */ bne lbl_80272228 -/* 80272204 0026F144 7F C3 F3 78 */ mr r3, r30 -/* 80272208 0026F148 7F E4 FB 78 */ mr r4, r31 -/* 8027220C 0026F14C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80272210 0026F150 38 A0 00 06 */ li r5, 6 -/* 80272214 0026F154 38 C0 00 00 */ li r6, 0 -/* 80272218 0026F158 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027221C 0026F15C 7D 89 03 A6 */ mtctr r12 -/* 80272220 0026F160 4E 80 04 21 */ bctrl -/* 80272224 0026F164 48 00 00 A4 */ b lbl_802722C8 -lbl_80272228: -/* 80272228 0026F168 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8027222C 0026F16C C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 80272230 0026F170 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80272234 0026F174 41 81 00 14 */ bgt lbl_80272248 -/* 80272238 0026F178 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 8027223C 0026F17C C0 02 CE 20 */ lfs f0, lbl_8051B180@sda21(r2) -/* 80272240 0026F180 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80272244 0026F184 40 81 00 34 */ ble lbl_80272278 -lbl_80272248: -/* 80272248 0026F188 7F E3 FB 78 */ mr r3, r31 -/* 8027224C 0026F18C 48 00 14 CD */ bl getNextStateOnHeight__Q34Game5Sarai3ObjFv -/* 80272250 0026F190 7C 65 1B 79 */ or. r5, r3, r3 -/* 80272254 0026F194 41 80 00 24 */ blt lbl_80272278 -/* 80272258 0026F198 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027225C 0026F19C 7F C3 F3 78 */ mr r3, r30 -/* 80272260 0026F1A0 7F E4 FB 78 */ mr r4, r31 -/* 80272264 0026F1A4 38 C0 00 00 */ li r6, 0 -/* 80272268 0026F1A8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027226C 0026F1AC 7D 89 03 A6 */ mtctr r12 -/* 80272270 0026F1B0 4E 80 04 21 */ bctrl -/* 80272274 0026F1B4 48 00 00 54 */ b lbl_802722C8 -lbl_80272278: -/* 80272278 0026F1B8 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8027227C 0026F1BC C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80272280 0026F1C0 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80272284 0026F1C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80272288 0026F1C8 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 8027228C 0026F1CC 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80272290 0026F1D0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80272294 0026F1D4 28 00 00 00 */ cmplwi r0, 0 -/* 80272298 0026F1D8 41 82 00 30 */ beq lbl_802722C8 -/* 8027229C 0026F1DC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802722A0 0026F1E0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802722A4 0026F1E4 40 82 00 24 */ bne lbl_802722C8 -/* 802722A8 0026F1E8 7F C3 F3 78 */ mr r3, r30 -/* 802722AC 0026F1EC 7F E4 FB 78 */ mr r4, r31 -/* 802722B0 0026F1F0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802722B4 0026F1F4 38 A0 00 0A */ li r5, 0xa -/* 802722B8 0026F1F8 38 C0 00 00 */ li r6, 0 -/* 802722BC 0026F1FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802722C0 0026F200 7D 89 03 A6 */ mtctr r12 -/* 802722C4 0026F204 4E 80 04 21 */ bctrl -lbl_802722C8: -/* 802722C8 0026F208 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 802722CC 0026F20C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802722D0 0026F210 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 802722D4 0026F214 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802722D8 0026F218 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802722DC 0026F21C 7C 08 03 A6 */ mtlr r0 -/* 802722E0 0026F220 38 21 00 40 */ addi r1, r1, 0x40 -/* 802722E4 0026F224 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai13StateCatchFlyFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai13StateCatchFlyFPQ24Game9EnemyBase: -/* 802722E8 0026F228 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802722EC 0026F22C 7C 08 02 A6 */ mflr r0 -/* 802722F0 0026F230 7C 83 23 78 */ mr r3, r4 -/* 802722F4 0026F234 90 01 00 14 */ stw r0, 0x14(r1) -/* 802722F8 0026F238 4B E8 F6 85 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 802722FC 0026F23C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272300 0026F240 7C 08 03 A6 */ mtlr r0 -/* 80272304 0026F244 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272308 0026F248 4E 80 00 20 */ blr - -.global init__Q34Game5Sarai13StateFallMeckFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Sarai13StateFallMeckFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8027230C 0026F24C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272310 0026F250 7C 08 02 A6 */ mflr r0 -/* 80272314 0026F254 C0 02 CD F8 */ lfs f0, lbl_8051B158@sda21(r2) -/* 80272318 0026F258 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027231C 0026F25C 38 00 00 00 */ li r0, 0 -/* 80272320 0026F260 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272324 0026F264 7C 9F 23 78 */ mr r31, r4 -/* 80272328 0026F268 7F E3 FB 78 */ mr r3, r31 -/* 8027232C 0026F26C 80 84 01 E0 */ lwz r4, 0x1e0(r4) -/* 80272330 0026F270 54 84 02 D2 */ rlwinm r4, r4, 0, 0xb, 9 -/* 80272334 0026F274 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80272338 0026F278 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8027233C 0026F27C 60 84 00 04 */ ori r4, r4, 4 -/* 80272340 0026F280 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80272344 0026F284 90 1F 02 30 */ stw r0, 0x230(r31) -/* 80272348 0026F288 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8027234C 0026F28C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80272350 0026F290 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80272354 0026F294 4B E8 F6 79 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80272358 0026F298 7F E3 FB 78 */ mr r3, r31 -/* 8027235C 0026F29C 38 80 00 04 */ li r4, 4 -/* 80272360 0026F2A0 38 A0 00 00 */ li r5, 0 -/* 80272364 0026F2A4 4B E9 2C A1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80272368 0026F2A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027236C 0026F2AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272370 0026F2B0 7C 08 03 A6 */ mtlr r0 -/* 80272374 0026F2B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272378 0026F2B8 4E 80 00 20 */ blr - -.global exec__Q34Game5Sarai13StateFallMeckFPQ24Game9EnemyBase -exec__Q34Game5Sarai13StateFallMeckFPQ24Game9EnemyBase: -/* 8027237C 0026F2BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272380 0026F2C0 7C 08 02 A6 */ mflr r0 -/* 80272384 0026F2C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272388 0026F2C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027238C 0026F2CC 7C 9F 23 78 */ mr r31, r4 -/* 80272390 0026F2D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80272394 0026F2D4 7C 7E 1B 78 */ mr r30, r3 -/* 80272398 0026F2D8 7F E3 FB 78 */ mr r3, r31 -/* 8027239C 0026F2DC 48 00 0D 35 */ bl setHeightVelocity__Q34Game5Sarai3ObjFv -/* 802723A0 0026F2E0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802723A4 0026F2E4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802723A8 0026F2E8 28 00 00 00 */ cmplwi r0, 0 -/* 802723AC 0026F2EC 41 82 00 74 */ beq lbl_80272420 -/* 802723B0 0026F2F0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802723B4 0026F2F4 28 00 00 02 */ cmplwi r0, 2 -/* 802723B8 0026F2F8 40 82 00 14 */ bne lbl_802723CC -/* 802723BC 0026F2FC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802723C0 0026F300 64 00 00 20 */ oris r0, r0, 0x20 -/* 802723C4 0026F304 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802723C8 0026F308 48 00 00 58 */ b lbl_80272420 -lbl_802723CC: -/* 802723CC 0026F30C 28 00 00 03 */ cmplwi r0, 3 -/* 802723D0 0026F310 40 82 00 10 */ bne lbl_802723E0 -/* 802723D4 0026F314 7F E3 FB 78 */ mr r3, r31 -/* 802723D8 0026F318 48 00 10 31 */ bl fallMeckGround__Q34Game5Sarai3ObjFv -/* 802723DC 0026F31C 48 00 00 44 */ b lbl_80272420 -lbl_802723E0: -/* 802723E0 0026F320 28 00 00 04 */ cmplwi r0, 4 -/* 802723E4 0026F324 40 82 00 14 */ bne lbl_802723F8 -/* 802723E8 0026F328 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802723EC 0026F32C 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 802723F0 0026F330 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802723F4 0026F334 48 00 00 2C */ b lbl_80272420 -lbl_802723F8: -/* 802723F8 0026F338 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802723FC 0026F33C 40 82 00 24 */ bne lbl_80272420 -/* 80272400 0026F340 7F C3 F3 78 */ mr r3, r30 -/* 80272404 0026F344 7F E4 FB 78 */ mr r4, r31 -/* 80272408 0026F348 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027240C 0026F34C 38 A0 00 06 */ li r5, 6 -/* 80272410 0026F350 38 C0 00 00 */ li r6, 0 -/* 80272414 0026F354 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80272418 0026F358 7D 89 03 A6 */ mtctr r12 -/* 8027241C 0026F35C 4E 80 04 21 */ bctrl -lbl_80272420: -/* 80272420 0026F360 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272424 0026F364 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272428 0026F368 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027242C 0026F36C 7C 08 03 A6 */ mtlr r0 -/* 80272430 0026F370 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272434 0026F374 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Sarai13StateFallMeckFPQ24Game9EnemyBase -cleanup__Q34Game5Sarai13StateFallMeckFPQ24Game9EnemyBase: -/* 80272438 0026F378 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027243C 0026F37C 7C 08 02 A6 */ mflr r0 -/* 80272440 0026F380 C0 22 CD F8 */ lfs f1, lbl_8051B158@sda21(r2) -/* 80272444 0026F384 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272448 0026F388 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027244C 0026F38C 7C 9F 23 78 */ mr r31, r4 -/* 80272450 0026F390 7F E3 FB 78 */ mr r3, r31 -/* 80272454 0026F394 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80272458 0026F398 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 8027245C 0026F39C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80272460 0026F3A0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80272464 0026F3A4 81 8C 03 08 */ lwz r12, 0x308(r12) -/* 80272468 0026F3A8 7D 89 03 A6 */ mtctr r12 -/* 8027246C 0026F3AC 4E 80 04 21 */ bctrl -/* 80272470 0026F3B0 7F E3 FB 78 */ mr r3, r31 -/* 80272474 0026F3B4 4B E8 F5 09 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80272478 0026F3B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027247C 0026F3BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272480 0026F3C0 7C 08 03 A6 */ mtlr r0 -/* 80272484 0026F3C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272488 0026F3C8 4E 80 00 20 */ blr - -.global resetAttackableTimer__Q34Game5Sarai3ObjFf -resetAttackableTimer__Q34Game5Sarai3ObjFf: -/* 8027248C 0026F3CC 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game5Sarai14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game5Sarai14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 80272490 0026F3D0 90 83 00 20 */ stw r4, 0x20(r3) -/* 80272494 0026F3D4 4E 80 00 20 */ blr - -.global getAnimator__Q34Game5Sarai14ProperAnimatorFi -getAnimator__Q34Game5Sarai14ProperAnimatorFi: -/* 80272498 0026F3D8 38 63 00 10 */ addi r3, r3, 0x10 -/* 8027249C 0026F3DC 4E 80 00 20 */ blr - -.global __dt__Q34Game5Sarai14ProperAnimatorFv -__dt__Q34Game5Sarai14ProperAnimatorFv: -/* 802724A0 0026F3E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802724A4 0026F3E4 7C 08 02 A6 */ mflr r0 -/* 802724A8 0026F3E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802724AC 0026F3EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802724B0 0026F3F0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802724B4 0026F3F4 41 82 00 30 */ beq lbl_802724E4 -/* 802724B8 0026F3F8 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai14ProperAnimator@ha -/* 802724BC 0026F3FC 38 03 64 A0 */ addi r0, r3, __vt__Q34Game5Sarai14ProperAnimator@l -/* 802724C0 0026F400 90 1F 00 00 */ stw r0, 0(r31) -/* 802724C4 0026F404 41 82 00 10 */ beq lbl_802724D4 -/* 802724C8 0026F408 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 802724CC 0026F40C 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 802724D0 0026F410 90 1F 00 00 */ stw r0, 0(r31) -lbl_802724D4: -/* 802724D4 0026F414 7C 80 07 35 */ extsh. r0, r4 -/* 802724D8 0026F418 40 81 00 0C */ ble lbl_802724E4 -/* 802724DC 0026F41C 7F E3 FB 78 */ mr r3, r31 -/* 802724E0 0026F420 4B DB 1B D5 */ bl __dl__FPv -lbl_802724E4: -/* 802724E4 0026F424 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802724E8 0026F428 7F E3 FB 78 */ mr r3, r31 -/* 802724EC 0026F42C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802724F0 0026F430 7C 08 03 A6 */ mtlr r0 -/* 802724F4 0026F434 38 21 00 10 */ addi r1, r1, 0x10 -/* 802724F8 0026F438 4E 80 00 20 */ blr - -.global getAnimator__Q34Game5Sarai14ProperAnimatorFv -getAnimator__Q34Game5Sarai14ProperAnimatorFv: -/* 802724FC 0026F43C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80272500 0026F440 4E 80 00 20 */ blr - -.global __ct__Q34Game5Sarai3MgrFiUc -__ct__Q34Game5Sarai3MgrFiUc: -/* 80272504 0026F444 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272508 0026F448 7C 08 02 A6 */ mflr r0 -/* 8027250C 0026F44C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272510 0026F450 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272514 0026F454 7C 7F 1B 78 */ mr r31, r3 -/* 80272518 0026F458 4B EB C7 7D */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8027251C 0026F45C 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai3Mgr@ha -/* 80272520 0026F460 3C 80 80 48 */ lis r4, lbl_804868A0@ha -/* 80272524 0026F464 38 A3 64 D4 */ addi r5, r3, __vt__Q34Game5Sarai3Mgr@l -/* 80272528 0026F468 7F E3 FB 78 */ mr r3, r31 -/* 8027252C 0026F46C 90 BF 00 00 */ stw r5, 0(r31) -/* 80272530 0026F470 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80272534 0026F474 38 04 68 A0 */ addi r0, r4, lbl_804868A0@l -/* 80272538 0026F478 90 BF 00 04 */ stw r5, 4(r31) -/* 8027253C 0026F47C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80272540 0026F480 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272544 0026F484 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272548 0026F488 7C 08 03 A6 */ mtlr r0 -/* 8027254C 0026F48C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272550 0026F490 4E 80 00 20 */ blr - -.global doAlloc__Q34Game5Sarai3MgrFv -doAlloc__Q34Game5Sarai3MgrFv: -/* 80272554 0026F494 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272558 0026F498 7C 08 02 A6 */ mflr r0 -/* 8027255C 0026F49C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272560 0026F4A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272564 0026F4A4 7C 7F 1B 78 */ mr r31, r3 -/* 80272568 0026F4A8 38 60 0A 38 */ li r3, 0xa38 -/* 8027256C 0026F4AC 4B DB 19 39 */ bl __nw__FUl -/* 80272570 0026F4B0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80272574 0026F4B4 41 82 00 0C */ beq lbl_80272580 -/* 80272578 0026F4B8 48 00 00 25 */ bl __ct__Q34Game5Sarai5ParmsFv -/* 8027257C 0026F4BC 7C 64 1B 78 */ mr r4, r3 -lbl_80272580: -/* 80272580 0026F4C0 7F E3 FB 78 */ mr r3, r31 -/* 80272584 0026F4C4 4B EB D3 19 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80272588 0026F4C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027258C 0026F4CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272590 0026F4D0 7C 08 03 A6 */ mtlr r0 -/* 80272594 0026F4D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272598 0026F4D8 4E 80 00 20 */ blr - -.global __ct__Q34Game5Sarai5ParmsFv -__ct__Q34Game5Sarai5ParmsFv: -/* 8027259C 0026F4DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802725A0 0026F4E0 7C 08 02 A6 */ mflr r0 -/* 802725A4 0026F4E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802725A8 0026F4E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802725AC 0026F4EC 7C 7F 1B 78 */ mr r31, r3 -/* 802725B0 0026F4F0 4B E9 71 ED */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 802725B4 0026F4F4 3C 80 80 4C */ lis r4, __vt__Q34Game5Sarai5Parms@ha -/* 802725B8 0026F4F8 38 7F 07 F8 */ addi r3, r31, 0x7f8 -/* 802725BC 0026F4FC 38 04 64 C8 */ addi r0, r4, __vt__Q34Game5Sarai5Parms@l -/* 802725C0 0026F500 38 80 00 01 */ li r4, 1 -/* 802725C4 0026F504 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 802725C8 0026F508 48 00 00 1D */ bl __ct__Q44Game5Sarai5Parms11ProperParmsFv -/* 802725CC 0026F50C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802725D0 0026F510 7F E3 FB 78 */ mr r3, r31 -/* 802725D4 0026F514 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802725D8 0026F518 7C 08 03 A6 */ mtlr r0 -/* 802725DC 0026F51C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802725E0 0026F520 4E 80 00 20 */ blr - -.global __ct__Q44Game5Sarai5Parms11ProperParmsFv -__ct__Q44Game5Sarai5Parms11ProperParmsFv: -/* 802725E4 0026F524 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802725E8 0026F528 7C 08 02 A6 */ mflr r0 -/* 802725EC 0026F52C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802725F0 0026F530 7C 80 07 35 */ extsh. r0, r4 -/* 802725F4 0026F534 3C 80 80 48 */ lis r4, lbl_80486890@ha -/* 802725F8 0026F538 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802725FC 0026F53C 3B E4 68 90 */ addi r31, r4, lbl_80486890@l -/* 80272600 0026F540 93 C1 00 08 */ stw r30, 8(r1) -/* 80272604 0026F544 7C 7E 1B 78 */ mr r30, r3 -/* 80272608 0026F548 41 82 00 0C */ beq lbl_80272614 -/* 8027260C 0026F54C 38 1E 02 3C */ addi r0, r30, 0x23c -/* 80272610 0026F550 90 1E 00 00 */ stw r0, 0(r30) -lbl_80272614: -/* 80272614 0026F554 38 00 00 00 */ li r0, 0 -/* 80272618 0026F558 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8027261C 0026F55C 90 1E 00 04 */ stw r0, 4(r30) -/* 80272620 0026F560 38 1F 00 28 */ addi r0, r31, 0x28 -/* 80272624 0026F564 7F C4 F3 78 */ mr r4, r30 -/* 80272628 0026F568 38 7E 00 0C */ addi r3, r30, 0xc -/* 8027262C 0026F56C 90 1E 00 08 */ stw r0, 8(r30) -/* 80272630 0026F570 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80272634 0026F574 38 DF 00 38 */ addi r6, r31, 0x38 -/* 80272638 0026F578 48 1A 10 21 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027263C 0026F57C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80272640 0026F580 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 80272644 0026F584 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80272648 0026F588 C0 02 CE 50 */ lfs f0, lbl_8051B1B0@sda21(r2) -/* 8027264C 0026F58C 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80272650 0026F590 7F C4 F3 78 */ mr r4, r30 -/* 80272654 0026F594 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 80272658 0026F598 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8027265C 0026F59C D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80272660 0026F5A0 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 80272664 0026F5A4 C0 02 CE 58 */ lfs f0, lbl_8051B1B8@sda21(r2) -/* 80272668 0026F5A8 38 DF 00 48 */ addi r6, r31, 0x48 -/* 8027266C 0026F5AC D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 80272670 0026F5B0 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 80272674 0026F5B4 48 1A 0F E5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80272678 0026F5B8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027267C 0026F5BC 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 80272680 0026F5C0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80272684 0026F5C4 C0 02 CE 5C */ lfs f0, lbl_8051B1BC@sda21(r2) -/* 80272688 0026F5C8 90 1E 00 34 */ stw r0, 0x34(r30) -/* 8027268C 0026F5CC 7F C4 F3 78 */ mr r4, r30 -/* 80272690 0026F5D0 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 80272694 0026F5D4 38 7E 00 5C */ addi r3, r30, 0x5c -/* 80272698 0026F5D8 D0 1E 00 4C */ stfs f0, 0x4c(r30) -/* 8027269C 0026F5DC 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 802726A0 0026F5E0 C0 02 CE 58 */ lfs f0, lbl_8051B1B8@sda21(r2) -/* 802726A4 0026F5E4 38 DF 00 58 */ addi r6, r31, 0x58 -/* 802726A8 0026F5E8 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 802726AC 0026F5EC D0 1E 00 58 */ stfs f0, 0x58(r30) -/* 802726B0 0026F5F0 48 1A 0F A9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802726B4 0026F5F4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802726B8 0026F5F8 3C A0 66 70 */ lis r5, 0x66703034@ha -/* 802726BC 0026F5FC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802726C0 0026F600 C0 02 CE 60 */ lfs f0, lbl_8051B1C0@sda21(r2) -/* 802726C4 0026F604 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 802726C8 0026F608 7F C4 F3 78 */ mr r4, r30 -/* 802726CC 0026F60C C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 802726D0 0026F610 38 7E 00 84 */ addi r3, r30, 0x84 -/* 802726D4 0026F614 D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 802726D8 0026F618 38 A5 30 34 */ addi r5, r5, 0x66703034@l -/* 802726DC 0026F61C C0 02 CE 58 */ lfs f0, lbl_8051B1B8@sda21(r2) -/* 802726E0 0026F620 38 DF 00 68 */ addi r6, r31, 0x68 -/* 802726E4 0026F624 D0 3E 00 7C */ stfs f1, 0x7c(r30) -/* 802726E8 0026F628 D0 1E 00 80 */ stfs f0, 0x80(r30) -/* 802726EC 0026F62C 48 1A 0F 6D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802726F0 0026F630 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802726F4 0026F634 3C A0 66 70 */ lis r5, 0x66703035@ha -/* 802726F8 0026F638 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802726FC 0026F63C C0 02 CE 50 */ lfs f0, lbl_8051B1B0@sda21(r2) -/* 80272700 0026F640 90 1E 00 84 */ stw r0, 0x84(r30) -/* 80272704 0026F644 7F C4 F3 78 */ mr r4, r30 -/* 80272708 0026F648 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 8027270C 0026F64C 38 7E 00 AC */ addi r3, r30, 0xac -/* 80272710 0026F650 D0 1E 00 9C */ stfs f0, 0x9c(r30) -/* 80272714 0026F654 38 A5 30 35 */ addi r5, r5, 0x66703035@l -/* 80272718 0026F658 C0 02 CE 58 */ lfs f0, lbl_8051B1B8@sda21(r2) -/* 8027271C 0026F65C 38 DF 00 78 */ addi r6, r31, 0x78 -/* 80272720 0026F660 D0 3E 00 A4 */ stfs f1, 0xa4(r30) -/* 80272724 0026F664 D0 1E 00 A8 */ stfs f0, 0xa8(r30) -/* 80272728 0026F668 48 1A 0F 31 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027272C 0026F66C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80272730 0026F670 3C A0 66 70 */ lis r5, 0x66703036@ha -/* 80272734 0026F674 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80272738 0026F678 C0 02 CE 64 */ lfs f0, lbl_8051B1C4@sda21(r2) -/* 8027273C 0026F67C 90 1E 00 AC */ stw r0, 0xac(r30) -/* 80272740 0026F680 7F C4 F3 78 */ mr r4, r30 -/* 80272744 0026F684 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 80272748 0026F688 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 8027274C 0026F68C D0 1E 00 C4 */ stfs f0, 0xc4(r30) -/* 80272750 0026F690 38 A5 30 36 */ addi r5, r5, 0x66703036@l -/* 80272754 0026F694 C0 02 CE 58 */ lfs f0, lbl_8051B1B8@sda21(r2) -/* 80272758 0026F698 38 DF 00 88 */ addi r6, r31, 0x88 -/* 8027275C 0026F69C D0 3E 00 CC */ stfs f1, 0xcc(r30) -/* 80272760 0026F6A0 D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 80272764 0026F6A4 48 1A 0E F5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80272768 0026F6A8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027276C 0026F6AC 3C A0 66 70 */ lis r5, 0x66703131@ha -/* 80272770 0026F6B0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80272774 0026F6B4 C0 02 CE 68 */ lfs f0, lbl_8051B1C8@sda21(r2) -/* 80272778 0026F6B8 90 1E 00 D4 */ stw r0, 0xd4(r30) -/* 8027277C 0026F6BC 7F C4 F3 78 */ mr r4, r30 -/* 80272780 0026F6C0 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 80272784 0026F6C4 38 7E 00 FC */ addi r3, r30, 0xfc -/* 80272788 0026F6C8 D0 1E 00 EC */ stfs f0, 0xec(r30) -/* 8027278C 0026F6CC 38 A5 31 31 */ addi r5, r5, 0x66703131@l -/* 80272790 0026F6D0 C0 02 CE 6C */ lfs f0, lbl_8051B1CC@sda21(r2) -/* 80272794 0026F6D4 38 DF 00 98 */ addi r6, r31, 0x98 -/* 80272798 0026F6D8 D0 3E 00 F4 */ stfs f1, 0xf4(r30) -/* 8027279C 0026F6DC D0 1E 00 F8 */ stfs f0, 0xf8(r30) -/* 802727A0 0026F6E0 48 1A 0E B9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802727A4 0026F6E4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802727A8 0026F6E8 3C A0 66 70 */ lis r5, 0x66703132@ha -/* 802727AC 0026F6EC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802727B0 0026F6F0 C0 02 CE 70 */ lfs f0, lbl_8051B1D0@sda21(r2) -/* 802727B4 0026F6F4 90 1E 00 FC */ stw r0, 0xfc(r30) -/* 802727B8 0026F6F8 7F C4 F3 78 */ mr r4, r30 -/* 802727BC 0026F6FC C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 802727C0 0026F700 38 7E 01 24 */ addi r3, r30, 0x124 -/* 802727C4 0026F704 D0 1E 01 14 */ stfs f0, 0x114(r30) -/* 802727C8 0026F708 38 A5 31 32 */ addi r5, r5, 0x66703132@l -/* 802727CC 0026F70C C0 02 CE 74 */ lfs f0, lbl_8051B1D4@sda21(r2) -/* 802727D0 0026F710 38 DF 00 A4 */ addi r6, r31, 0xa4 -/* 802727D4 0026F714 D0 3E 01 1C */ stfs f1, 0x11c(r30) -/* 802727D8 0026F718 D0 1E 01 20 */ stfs f0, 0x120(r30) -/* 802727DC 0026F71C 48 1A 0E 7D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802727E0 0026F720 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802727E4 0026F724 3C A0 66 70 */ lis r5, 0x66703231@ha -/* 802727E8 0026F728 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802727EC 0026F72C C0 02 CE 78 */ lfs f0, lbl_8051B1D8@sda21(r2) -/* 802727F0 0026F730 90 1E 01 24 */ stw r0, 0x124(r30) -/* 802727F4 0026F734 7F C4 F3 78 */ mr r4, r30 -/* 802727F8 0026F738 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 802727FC 0026F73C 38 7E 01 4C */ addi r3, r30, 0x14c -/* 80272800 0026F740 D0 1E 01 3C */ stfs f0, 0x13c(r30) -/* 80272804 0026F744 38 A5 32 31 */ addi r5, r5, 0x66703231@l -/* 80272808 0026F748 C0 02 CE 74 */ lfs f0, lbl_8051B1D4@sda21(r2) -/* 8027280C 0026F74C 38 DF 00 B0 */ addi r6, r31, 0xb0 -/* 80272810 0026F750 D0 3E 01 44 */ stfs f1, 0x144(r30) -/* 80272814 0026F754 D0 1E 01 48 */ stfs f0, 0x148(r30) -/* 80272818 0026F758 48 1A 0E 41 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027281C 0026F75C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80272820 0026F760 3C A0 66 70 */ lis r5, 0x66703232@ha -/* 80272824 0026F764 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80272828 0026F768 C0 02 CE 7C */ lfs f0, lbl_8051B1DC@sda21(r2) -/* 8027282C 0026F76C 90 1E 01 4C */ stw r0, 0x14c(r30) -/* 80272830 0026F770 7F C4 F3 78 */ mr r4, r30 -/* 80272834 0026F774 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 80272838 0026F778 38 7E 01 74 */ addi r3, r30, 0x174 -/* 8027283C 0026F77C D0 1E 01 64 */ stfs f0, 0x164(r30) -/* 80272840 0026F780 38 A5 32 32 */ addi r5, r5, 0x66703232@l -/* 80272844 0026F784 C0 02 CE 78 */ lfs f0, lbl_8051B1D8@sda21(r2) -/* 80272848 0026F788 38 DF 00 BC */ addi r6, r31, 0xbc -/* 8027284C 0026F78C D0 3E 01 6C */ stfs f1, 0x16c(r30) -/* 80272850 0026F790 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 80272854 0026F794 48 1A 0E 05 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80272858 0026F798 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027285C 0026F79C 3C A0 66 70 */ lis r5, 0x66703233@ha -/* 80272860 0026F7A0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80272864 0026F7A4 C0 02 CE 80 */ lfs f0, lbl_8051B1E0@sda21(r2) -/* 80272868 0026F7A8 90 1E 01 74 */ stw r0, 0x174(r30) -/* 8027286C 0026F7AC 7F C4 F3 78 */ mr r4, r30 -/* 80272870 0026F7B0 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 80272874 0026F7B4 38 7E 01 9C */ addi r3, r30, 0x19c -/* 80272878 0026F7B8 D0 1E 01 8C */ stfs f0, 0x18c(r30) -/* 8027287C 0026F7BC 38 A5 32 33 */ addi r5, r5, 0x66703233@l -/* 80272880 0026F7C0 C0 02 CE 78 */ lfs f0, lbl_8051B1D8@sda21(r2) -/* 80272884 0026F7C4 38 DF 00 C8 */ addi r6, r31, 0xc8 -/* 80272888 0026F7C8 D0 3E 01 94 */ stfs f1, 0x194(r30) -/* 8027288C 0026F7CC D0 1E 01 98 */ stfs f0, 0x198(r30) -/* 80272890 0026F7D0 48 1A 0D C9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80272894 0026F7D4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80272898 0026F7D8 3C A0 66 70 */ lis r5, 0x66703331@ha -/* 8027289C 0026F7DC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802728A0 0026F7E0 C0 02 CE 68 */ lfs f0, lbl_8051B1C8@sda21(r2) -/* 802728A4 0026F7E4 90 1E 01 9C */ stw r0, 0x19c(r30) -/* 802728A8 0026F7E8 7F C4 F3 78 */ mr r4, r30 -/* 802728AC 0026F7EC C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 802728B0 0026F7F0 38 7E 01 C4 */ addi r3, r30, 0x1c4 -/* 802728B4 0026F7F4 D0 1E 01 B4 */ stfs f0, 0x1b4(r30) -/* 802728B8 0026F7F8 38 A5 33 31 */ addi r5, r5, 0x66703331@l -/* 802728BC 0026F7FC C0 02 CE 6C */ lfs f0, lbl_8051B1CC@sda21(r2) -/* 802728C0 0026F800 38 DF 00 D4 */ addi r6, r31, 0xd4 -/* 802728C4 0026F804 D0 3E 01 BC */ stfs f1, 0x1bc(r30) -/* 802728C8 0026F808 D0 1E 01 C0 */ stfs f0, 0x1c0(r30) -/* 802728CC 0026F80C 48 1A 0D 8D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802728D0 0026F810 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802728D4 0026F814 3C A0 66 70 */ lis r5, 0x66703332@ha -/* 802728D8 0026F818 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802728DC 0026F81C C0 02 CE 84 */ lfs f0, lbl_8051B1E4@sda21(r2) -/* 802728E0 0026F820 90 1E 01 C4 */ stw r0, 0x1c4(r30) -/* 802728E4 0026F824 7F C4 F3 78 */ mr r4, r30 -/* 802728E8 0026F828 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 802728EC 0026F82C 38 7E 01 EC */ addi r3, r30, 0x1ec -/* 802728F0 0026F830 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 802728F4 0026F834 38 A5 33 32 */ addi r5, r5, 0x66703332@l -/* 802728F8 0026F838 C0 02 CE 78 */ lfs f0, lbl_8051B1D8@sda21(r2) -/* 802728FC 0026F83C 38 DF 00 E4 */ addi r6, r31, 0xe4 -/* 80272900 0026F840 D0 3E 01 E4 */ stfs f1, 0x1e4(r30) -/* 80272904 0026F844 D0 1E 01 E8 */ stfs f0, 0x1e8(r30) -/* 80272908 0026F848 48 1A 0D 51 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027290C 0026F84C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80272910 0026F850 3C A0 66 70 */ lis r5, 0x66703431@ha -/* 80272914 0026F854 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80272918 0026F858 C0 02 CE 88 */ lfs f0, lbl_8051B1E8@sda21(r2) -/* 8027291C 0026F85C 90 1E 01 EC */ stw r0, 0x1ec(r30) -/* 80272920 0026F860 7F C4 F3 78 */ mr r4, r30 -/* 80272924 0026F864 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 80272928 0026F868 38 7E 02 14 */ addi r3, r30, 0x214 -/* 8027292C 0026F86C D0 1E 02 04 */ stfs f0, 0x204(r30) -/* 80272930 0026F870 38 A5 34 31 */ addi r5, r5, 0x66703431@l -/* 80272934 0026F874 C0 02 CE 78 */ lfs f0, lbl_8051B1D8@sda21(r2) -/* 80272938 0026F878 38 DF 00 F4 */ addi r6, r31, 0xf4 -/* 8027293C 0026F87C D0 3E 02 0C */ stfs f1, 0x20c(r30) -/* 80272940 0026F880 D0 1E 02 10 */ stfs f0, 0x210(r30) -/* 80272944 0026F884 48 1A 0D 15 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80272948 0026F888 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027294C 0026F88C C0 42 CE 8C */ lfs f2, lbl_8051B1EC@sda21(r2) -/* 80272950 0026F890 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80272954 0026F894 C0 22 CE 54 */ lfs f1, lbl_8051B1B4@sda21(r2) -/* 80272958 0026F898 90 1E 02 14 */ stw r0, 0x214(r30) -/* 8027295C 0026F89C 7F C3 F3 78 */ mr r3, r30 -/* 80272960 0026F8A0 C0 02 CE 90 */ lfs f0, lbl_8051B1F0@sda21(r2) -/* 80272964 0026F8A4 D0 5E 02 2C */ stfs f2, 0x22c(r30) -/* 80272968 0026F8A8 D0 3E 02 34 */ stfs f1, 0x234(r30) -/* 8027296C 0026F8AC D0 1E 02 38 */ stfs f0, 0x238(r30) -/* 80272970 0026F8B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272974 0026F8B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80272978 0026F8B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027297C 0026F8BC 7C 08 03 A6 */ mtlr r0 -/* 80272980 0026F8C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272984 0026F8C4 4E 80 00 20 */ blr - -.global createObj__Q34Game5Sarai3MgrFi -createObj__Q34Game5Sarai3MgrFi: -/* 80272988 0026F8C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027298C 0026F8CC 7C 08 02 A6 */ mflr r0 -/* 80272990 0026F8D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272994 0026F8D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272998 0026F8D8 7C 9F 23 78 */ mr r31, r4 -/* 8027299C 0026F8DC 93 C1 00 08 */ stw r30, 8(r1) -/* 802729A0 0026F8E0 7C 7E 1B 78 */ mr r30, r3 -/* 802729A4 0026F8E4 1C 7F 02 E8 */ mulli r3, r31, 0x2e8 -/* 802729A8 0026F8E8 38 63 00 10 */ addi r3, r3, 0x10 -/* 802729AC 0026F8EC 4B DB 16 01 */ bl __nwa__FUl -/* 802729B0 0026F8F0 3C 80 80 27 */ lis r4, __ct__Q34Game5Sarai3ObjFv@ha -/* 802729B4 0026F8F4 3C A0 80 27 */ lis r5, __dt__Q34Game5Sarai3ObjFv@ha -/* 802729B8 0026F8F8 38 84 2B C4 */ addi r4, r4, __ct__Q34Game5Sarai3ObjFv@l -/* 802729BC 0026F8FC 7F E7 FB 78 */ mr r7, r31 -/* 802729C0 0026F900 38 A5 29 E8 */ addi r5, r5, __dt__Q34Game5Sarai3ObjFv@l -/* 802729C4 0026F904 38 C0 02 E8 */ li r6, 0x2e8 -/* 802729C8 0026F908 4B E4 F0 29 */ bl __construct_new_array -/* 802729CC 0026F90C 90 7E 00 44 */ stw r3, 0x44(r30) -/* 802729D0 0026F910 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802729D4 0026F914 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802729D8 0026F918 83 C1 00 08 */ lwz r30, 8(r1) -/* 802729DC 0026F91C 7C 08 03 A6 */ mtlr r0 -/* 802729E0 0026F920 38 21 00 10 */ addi r1, r1, 0x10 -/* 802729E4 0026F924 4E 80 00 20 */ blr - -.global __dt__Q34Game5Sarai3ObjFv -__dt__Q34Game5Sarai3ObjFv: -/* 802729E8 0026F928 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802729EC 0026F92C 7C 08 02 A6 */ mflr r0 -/* 802729F0 0026F930 90 01 00 14 */ stw r0, 0x14(r1) -/* 802729F4 0026F934 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802729F8 0026F938 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802729FC 0026F93C 93 C1 00 08 */ stw r30, 8(r1) -/* 80272A00 0026F940 7C 9E 23 78 */ mr r30, r4 -/* 80272A04 0026F944 41 82 00 84 */ beq lbl_80272A88 -/* 80272A08 0026F948 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai3Obj@ha -/* 80272A0C 0026F94C 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 80272A10 0026F950 38 83 65 B8 */ addi r4, r3, __vt__Q34Game5Sarai3Obj@l -/* 80272A14 0026F954 90 9F 00 00 */ stw r4, 0(r31) -/* 80272A18 0026F958 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80272A1C 0026F95C 38 84 03 0C */ addi r4, r4, 0x30c -/* 80272A20 0026F960 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80272A24 0026F964 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80272A28 0026F968 90 83 00 00 */ stw r4, 0(r3) -/* 80272A2C 0026F96C 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80272A30 0026F970 7C 03 00 50 */ subf r0, r3, r0 -/* 80272A34 0026F974 90 03 00 0C */ stw r0, 0xc(r3) -/* 80272A38 0026F978 41 82 00 40 */ beq lbl_80272A78 -/* 80272A3C 0026F97C 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80272A40 0026F980 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 80272A44 0026F984 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80272A48 0026F988 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80272A4C 0026F98C 90 9F 00 00 */ stw r4, 0(r31) -/* 80272A50 0026F990 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80272A54 0026F994 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80272A58 0026F998 38 80 FF FF */ li r4, -1 -/* 80272A5C 0026F99C 90 BF 01 78 */ stw r5, 0x178(r31) -/* 80272A60 0026F9A0 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80272A64 0026F9A4 90 C5 00 00 */ stw r6, 0(r5) -/* 80272A68 0026F9A8 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80272A6C 0026F9AC 7C 05 00 50 */ subf r0, r5, r0 -/* 80272A70 0026F9B0 90 05 00 0C */ stw r0, 0xc(r5) -/* 80272A74 0026F9B4 48 19 EB 15 */ bl __dt__5CNodeFv -lbl_80272A78: -/* 80272A78 0026F9B8 7F C0 07 35 */ extsh. r0, r30 -/* 80272A7C 0026F9BC 40 81 00 0C */ ble lbl_80272A88 -/* 80272A80 0026F9C0 7F E3 FB 78 */ mr r3, r31 -/* 80272A84 0026F9C4 4B DB 16 31 */ bl __dl__FPv -lbl_80272A88: -/* 80272A88 0026F9C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272A8C 0026F9CC 7F E3 FB 78 */ mr r3, r31 -/* 80272A90 0026F9D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272A94 0026F9D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80272A98 0026F9D8 7C 08 03 A6 */ mtlr r0 -/* 80272A9C 0026F9DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272AA0 0026F9E0 4E 80 00 20 */ blr - -.global getEnemy__Q34Game5Sarai3MgrFi -getEnemy__Q34Game5Sarai3MgrFi: -/* 80272AA4 0026F9E4 1C 04 02 E8 */ mulli r0, r4, 0x2e8 -/* 80272AA8 0026F9E8 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80272AAC 0026F9EC 7C 63 02 14 */ add r3, r3, r0 -/* 80272AB0 0026F9F0 4E 80 00 20 */ blr - -.global read__Q34Game5Sarai5ParmsFR6Stream -read__Q34Game5Sarai5ParmsFR6Stream: -/* 80272AB4 0026F9F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272AB8 0026F9F8 7C 08 02 A6 */ mflr r0 -/* 80272ABC 0026F9FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272AC0 0026FA00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272AC4 0026FA04 7C 9F 23 78 */ mr r31, r4 -/* 80272AC8 0026FA08 93 C1 00 08 */ stw r30, 8(r1) -/* 80272ACC 0026FA0C 7C 7E 1B 78 */ mr r30, r3 -/* 80272AD0 0026FA10 48 1A 0D 25 */ bl read__10ParametersFR6Stream -/* 80272AD4 0026FA14 7F E4 FB 78 */ mr r4, r31 -/* 80272AD8 0026FA18 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 80272ADC 0026FA1C 48 1A 0D 19 */ bl read__10ParametersFR6Stream -/* 80272AE0 0026FA20 7F E4 FB 78 */ mr r4, r31 -/* 80272AE4 0026FA24 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 80272AE8 0026FA28 48 1A 0D 0D */ bl read__10ParametersFR6Stream -/* 80272AEC 0026FA2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272AF0 0026FA30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272AF4 0026FA34 83 C1 00 08 */ lwz r30, 8(r1) -/* 80272AF8 0026FA38 7C 08 03 A6 */ mtlr r0 -/* 80272AFC 0026FA3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272B00 0026FA40 4E 80 00 20 */ blr - -.global __dt__Q34Game5Sarai3MgrFv -__dt__Q34Game5Sarai3MgrFv: -/* 80272B04 0026FA44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272B08 0026FA48 7C 08 02 A6 */ mflr r0 -/* 80272B0C 0026FA4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272B10 0026FA50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272B14 0026FA54 7C 9F 23 78 */ mr r31, r4 -/* 80272B18 0026FA58 93 C1 00 08 */ stw r30, 8(r1) -/* 80272B1C 0026FA5C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80272B20 0026FA60 41 82 00 78 */ beq lbl_80272B98 -/* 80272B24 0026FA64 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai3Mgr@ha -/* 80272B28 0026FA68 38 63 64 D4 */ addi r3, r3, __vt__Q34Game5Sarai3Mgr@l -/* 80272B2C 0026FA6C 90 7E 00 00 */ stw r3, 0(r30) -/* 80272B30 0026FA70 38 03 00 38 */ addi r0, r3, 0x38 -/* 80272B34 0026FA74 90 1E 00 04 */ stw r0, 4(r30) -/* 80272B38 0026FA78 41 82 00 50 */ beq lbl_80272B88 -/* 80272B3C 0026FA7C 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80272B40 0026FA80 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80272B44 0026FA84 90 7E 00 00 */ stw r3, 0(r30) -/* 80272B48 0026FA88 38 03 00 38 */ addi r0, r3, 0x38 -/* 80272B4C 0026FA8C 90 1E 00 04 */ stw r0, 4(r30) -/* 80272B50 0026FA90 41 82 00 38 */ beq lbl_80272B88 -/* 80272B54 0026FA94 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80272B58 0026FA98 34 1E 00 04 */ addic. r0, r30, 4 -/* 80272B5C 0026FA9C 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80272B60 0026FAA0 90 7E 00 00 */ stw r3, 0(r30) -/* 80272B64 0026FAA4 38 03 00 38 */ addi r0, r3, 0x38 -/* 80272B68 0026FAA8 90 1E 00 04 */ stw r0, 4(r30) -/* 80272B6C 0026FAAC 41 82 00 1C */ beq lbl_80272B88 -/* 80272B70 0026FAB0 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80272B74 0026FAB4 38 7E 00 04 */ addi r3, r30, 4 -/* 80272B78 0026FAB8 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80272B7C 0026FABC 38 80 00 00 */ li r4, 0 -/* 80272B80 0026FAC0 90 1E 00 04 */ stw r0, 4(r30) -/* 80272B84 0026FAC4 48 19 EA 05 */ bl __dt__5CNodeFv -lbl_80272B88: -/* 80272B88 0026FAC8 7F E0 07 35 */ extsh. r0, r31 -/* 80272B8C 0026FACC 40 81 00 0C */ ble lbl_80272B98 -/* 80272B90 0026FAD0 7F C3 F3 78 */ mr r3, r30 -/* 80272B94 0026FAD4 4B DB 15 21 */ bl __dl__FPv -lbl_80272B98: -/* 80272B98 0026FAD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272B9C 0026FADC 7F C3 F3 78 */ mr r3, r30 -/* 80272BA0 0026FAE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272BA4 0026FAE4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80272BA8 0026FAE8 7C 08 03 A6 */ mtlr r0 -/* 80272BAC 0026FAEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272BB0 0026FAF0 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Sarai3MgrFv -getEnemyTypeID__Q34Game5Sarai3MgrFv: -/* 80272BB4 0026FAF4 38 60 00 17 */ li r3, 0x17 -/* 80272BB8 0026FAF8 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game5Sarai3MgrFv -$$24$$2__dt__Q34Game5Sarai3MgrFv: -/* 80272BBC 0026FAFC 38 63 FF FC */ addi r3, r3, -4 -/* 80272BC0 0026FB00 4B FF FF 44 */ b __dt__Q34Game5Sarai3MgrFv - -.global __ct__Q34Game5Sarai3ObjFv -__ct__Q34Game5Sarai3ObjFv: -/* 80272BC4 0026FB04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272BC8 0026FB08 7C 08 02 A6 */ mflr r0 -/* 80272BCC 0026FB0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272BD0 0026FB10 7C 80 07 35 */ extsh. r0, r4 -/* 80272BD4 0026FB14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272BD8 0026FB18 7C 7F 1B 78 */ mr r31, r3 -/* 80272BDC 0026FB1C 93 C1 00 08 */ stw r30, 8(r1) -/* 80272BE0 0026FB20 41 82 00 24 */ beq lbl_80272C04 -/* 80272BE4 0026FB24 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 80272BE8 0026FB28 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 80272BEC 0026FB2C 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80272BF0 0026FB30 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80272BF4 0026FB34 38 00 00 00 */ li r0, 0 -/* 80272BF8 0026FB38 90 7F 02 D8 */ stw r3, 0x2d8(r31) -/* 80272BFC 0026FB3C 90 1F 02 DC */ stw r0, 0x2dc(r31) -/* 80272C00 0026FB40 90 1F 02 E0 */ stw r0, 0x2e0(r31) -lbl_80272C04: -/* 80272C04 0026FB44 7F E3 FB 78 */ mr r3, r31 -/* 80272C08 0026FB48 38 80 00 00 */ li r4, 0 -/* 80272C0C 0026FB4C 4B E8 E7 95 */ bl __ct__Q24Game9EnemyBaseFv -/* 80272C10 0026FB50 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai3Obj@ha -/* 80272C14 0026FB54 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 80272C18 0026FB58 38 A3 65 B8 */ addi r5, r3, __vt__Q34Game5Sarai3Obj@l -/* 80272C1C 0026FB5C 38 7F 02 C4 */ addi r3, r31, 0x2c4 -/* 80272C20 0026FB60 90 BF 00 00 */ stw r5, 0(r31) -/* 80272C24 0026FB64 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80272C28 0026FB68 38 A5 03 0C */ addi r5, r5, 0x30c -/* 80272C2C 0026FB6C 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80272C30 0026FB70 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80272C34 0026FB74 90 A4 00 00 */ stw r5, 0(r4) -/* 80272C38 0026FB78 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80272C3C 0026FB7C 7C 04 00 50 */ subf r0, r4, r0 -/* 80272C40 0026FB80 90 04 00 0C */ stw r0, 0xc(r4) -/* 80272C44 0026FB84 4B EC 59 05 */ bl __ct__10MouthSlotsFv -/* 80272C48 0026FB88 38 60 00 2C */ li r3, 0x2c -/* 80272C4C 0026FB8C 4B DB 12 59 */ bl __nw__FUl -/* 80272C50 0026FB90 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80272C54 0026FB94 41 82 00 44 */ beq lbl_80272C98 -/* 80272C58 0026FB98 4B EB 4D 1D */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80272C5C 0026FB9C 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai14ProperAnimator@ha -/* 80272C60 0026FBA0 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 80272C64 0026FBA4 38 03 64 A0 */ addi r0, r3, __vt__Q34Game5Sarai14ProperAnimator@l -/* 80272C68 0026FBA8 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80272C6C 0026FBAC 90 1E 00 00 */ stw r0, 0(r30) -/* 80272C70 0026FBB0 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 80272C74 0026FBB4 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 80272C78 0026FBB8 38 00 00 00 */ li r0, 0 -/* 80272C7C 0026FBBC 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80272C80 0026FBC0 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80272C84 0026FBC4 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80272C88 0026FBC8 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80272C8C 0026FBCC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80272C90 0026FBD0 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80272C94 0026FBD4 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80272C98: -/* 80272C98 0026FBD8 93 DF 01 84 */ stw r30, 0x184(r31) -/* 80272C9C 0026FBDC 38 60 00 1C */ li r3, 0x1c -/* 80272CA0 0026FBE0 4B DB 12 05 */ bl __nw__FUl -/* 80272CA4 0026FBE4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80272CA8 0026FBE8 41 82 00 24 */ beq lbl_80272CCC -/* 80272CAC 0026FBEC 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 80272CB0 0026FBF0 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai3FSM@ha -/* 80272CB4 0026FBF4 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 80272CB8 0026FBF8 38 A0 FF FF */ li r5, -1 -/* 80272CBC 0026FBFC 90 04 00 00 */ stw r0, 0(r4) -/* 80272CC0 0026FC00 38 03 64 78 */ addi r0, r3, __vt__Q34Game5Sarai3FSM@l -/* 80272CC4 0026FC04 90 A4 00 18 */ stw r5, 0x18(r4) -/* 80272CC8 0026FC08 90 04 00 00 */ stw r0, 0(r4) -lbl_80272CCC: -/* 80272CCC 0026FC0C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80272CD0 0026FC10 7F E3 FB 78 */ mr r3, r31 -/* 80272CD4 0026FC14 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 80272CD8 0026FC18 7D 89 03 A6 */ mtctr r12 -/* 80272CDC 0026FC1C 4E 80 04 21 */ bctrl -/* 80272CE0 0026FC20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272CE4 0026FC24 7F E3 FB 78 */ mr r3, r31 -/* 80272CE8 0026FC28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272CEC 0026FC2C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80272CF0 0026FC30 7C 08 03 A6 */ mtlr r0 -/* 80272CF4 0026FC34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272CF8 0026FC38 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game5Sarai3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game5Sarai3ObjFPQ24Game21EnemyInitialParamBase: -/* 80272CFC 0026FC3C 4E 80 00 20 */ blr - -.global onInit__Q34Game5Sarai3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game5Sarai3ObjFPQ24Game15CreatureInitArg: -/* 80272D00 0026FC40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272D04 0026FC44 7C 08 02 A6 */ mflr r0 -/* 80272D08 0026FC48 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272D0C 0026FC4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272D10 0026FC50 7C 7F 1B 78 */ mr r31, r3 -/* 80272D14 0026FC54 4B E8 ED 45 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 80272D18 0026FC58 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80272D1C 0026FC5C 7F E3 FB 78 */ mr r3, r31 -/* 80272D20 0026FC60 C0 02 CE 98 */ lfs f0, lbl_8051B1F8@sda21(r2) -/* 80272D24 0026FC64 60 00 00 04 */ ori r0, r0, 4 -/* 80272D28 0026FC68 C0 22 CE 9C */ lfs f1, lbl_8051B1FC@sda21(r2) -/* 80272D2C 0026FC6C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80272D30 0026FC70 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80272D34 0026FC74 81 9F 00 00 */ lwz r12, 0(r31) -/* 80272D38 0026FC78 81 8C 03 08 */ lwz r12, 0x308(r12) -/* 80272D3C 0026FC7C 7D 89 03 A6 */ mtctr r12 -/* 80272D40 0026FC80 4E 80 04 21 */ bctrl -/* 80272D44 0026FC84 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80272D48 0026FC88 7F E4 FB 78 */ mr r4, r31 -/* 80272D4C 0026FC8C 38 A0 00 06 */ li r5, 6 -/* 80272D50 0026FC90 38 C0 00 00 */ li r6, 0 -/* 80272D54 0026FC94 81 83 00 00 */ lwz r12, 0(r3) -/* 80272D58 0026FC98 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80272D5C 0026FC9C 7D 89 03 A6 */ mtctr r12 -/* 80272D60 0026FCA0 4E 80 04 21 */ bctrl -/* 80272D64 0026FCA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272D68 0026FCA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272D6C 0026FCAC 7C 08 03 A6 */ mtlr r0 -/* 80272D70 0026FCB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272D74 0026FCB4 4E 80 00 20 */ blr - -.global doUpdate__Q34Game5Sarai3ObjFv -doUpdate__Q34Game5Sarai3ObjFv: -/* 80272D78 0026FCB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272D7C 0026FCBC 7C 08 02 A6 */ mflr r0 -/* 80272D80 0026FCC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272D84 0026FCC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272D88 0026FCC8 7C 7F 1B 78 */ mr r31, r3 -/* 80272D8C 0026FCCC 7F E4 FB 78 */ mr r4, r31 -/* 80272D90 0026FCD0 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80272D94 0026FCD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80272D98 0026FCD8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80272D9C 0026FCDC 7D 89 03 A6 */ mtctr r12 -/* 80272DA0 0026FCE0 4E 80 04 21 */ bctrl -/* 80272DA4 0026FCE4 38 7F 02 C4 */ addi r3, r31, 0x2c4 -/* 80272DA8 0026FCE8 4B EC 58 85 */ bl update__10MouthSlotsFv -/* 80272DAC 0026FCEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272DB0 0026FCF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272DB4 0026FCF4 7C 08 03 A6 */ mtlr r0 -/* 80272DB8 0026FCF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272DBC 0026FCFC 4E 80 00 20 */ blr - -.global setFSM__Q34Game5Sarai3ObjFPQ34Game5Sarai3FSM -setFSM__Q34Game5Sarai3ObjFPQ34Game5Sarai3FSM: -/* 80272DC0 0026FD00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272DC4 0026FD04 7C 08 02 A6 */ mflr r0 -/* 80272DC8 0026FD08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272DCC 0026FD0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272DD0 0026FD10 7C 7F 1B 78 */ mr r31, r3 -/* 80272DD4 0026FD14 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80272DD8 0026FD18 7F E4 FB 78 */ mr r4, r31 -/* 80272DDC 0026FD1C 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80272DE0 0026FD20 81 83 00 00 */ lwz r12, 0(r3) -/* 80272DE4 0026FD24 81 8C 00 08 */ lwz r12, 8(r12) -/* 80272DE8 0026FD28 7D 89 03 A6 */ mtctr r12 -/* 80272DEC 0026FD2C 4E 80 04 21 */ bctrl -/* 80272DF0 0026FD30 38 00 00 00 */ li r0, 0 -/* 80272DF4 0026FD34 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80272DF8 0026FD38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272DFC 0026FD3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272E00 0026FD40 7C 08 03 A6 */ mtlr r0 -/* 80272E04 0026FD44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272E08 0026FD48 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game5Sarai3ObjFR8Graphics -doDirectDraw__Q34Game5Sarai3ObjFR8Graphics: -/* 80272E0C 0026FD4C 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game5Sarai3ObjFR8Graphics -doDebugDraw__Q34Game5Sarai3ObjFR8Graphics: -/* 80272E10 0026FD50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272E14 0026FD54 7C 08 02 A6 */ mflr r0 -/* 80272E18 0026FD58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272E1C 0026FD5C 4B E9 30 51 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80272E20 0026FD60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272E24 0026FD64 7C 08 03 A6 */ mtlr r0 -/* 80272E28 0026FD68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272E2C 0026FD6C 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game5Sarai3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game5Sarai3ObjFRQ24Game11ShadowParam: -/* 80272E30 0026FD70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272E34 0026FD74 7C 08 02 A6 */ mflr r0 -/* 80272E38 0026FD78 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272E3C 0026FD7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272E40 0026FD80 7C 9F 23 78 */ mr r31, r4 -/* 80272E44 0026FD84 38 82 CE A0 */ addi r4, r2, lbl_8051B200@sda21 -/* 80272E48 0026FD88 93 C1 00 08 */ stw r30, 8(r1) -/* 80272E4C 0026FD8C 7C 7E 1B 78 */ mr r30, r3 -/* 80272E50 0026FD90 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80272E54 0026FD94 48 1C C1 91 */ bl getJoint__Q28SysShape5ModelFPc -/* 80272E58 0026FD98 48 1B 6A 49 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80272E5C 0026FD9C C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 80272E60 0026FDA0 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 80272E64 0026FDA4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80272E68 0026FDA8 7F C3 F3 78 */ mr r3, r30 -/* 80272E6C 0026FDAC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80272E70 0026FDB0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80272E74 0026FDB4 D0 5F 00 08 */ stfs f2, 8(r31) -/* 80272E78 0026FDB8 81 9E 00 00 */ lwz r12, 0(r30) -/* 80272E7C 0026FDBC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80272E80 0026FDC0 7D 89 03 A6 */ mtctr r12 -/* 80272E84 0026FDC4 4E 80 04 21 */ bctrl -/* 80272E88 0026FDC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80272E8C 0026FDCC 41 82 00 98 */ beq lbl_80272F24 -/* 80272E90 0026FDD0 7F C3 F3 78 */ mr r3, r30 -/* 80272E94 0026FDD4 4B E9 45 61 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80272E98 0026FDD8 38 03 FF FF */ addi r0, r3, -1 -/* 80272E9C 0026FDDC 28 00 00 01 */ cmplwi r0, 1 -/* 80272EA0 0026FDE0 40 81 00 0C */ ble lbl_80272EAC -/* 80272EA4 0026FDE4 2C 03 00 03 */ cmpwi r3, 3 -/* 80272EA8 0026FDE8 40 82 00 2C */ bne lbl_80272ED4 -lbl_80272EAC: -/* 80272EAC 0026FDEC C0 5F 00 04 */ lfs f2, 4(r31) -/* 80272EB0 0026FDF0 C0 02 CE A8 */ lfs f0, lbl_8051B208@sda21(r2) -/* 80272EB4 0026FDF4 C0 22 CE AC */ lfs f1, lbl_8051B20C@sda21(r2) -/* 80272EB8 0026FDF8 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80272EBC 0026FDFC D0 1F 00 04 */ stfs f0, 4(r31) -/* 80272EC0 0026FE00 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80272EC4 0026FE04 C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 80272EC8 0026FE08 EC 01 00 2A */ fadds f0, f1, f0 -/* 80272ECC 0026FE0C D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80272ED0 0026FE10 48 00 00 6C */ b lbl_80272F3C -lbl_80272ED4: -/* 80272ED4 0026FE14 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 80272ED8 0026FE18 28 00 00 00 */ cmplwi r0, 0 -/* 80272EDC 0026FE1C 41 82 00 20 */ beq lbl_80272EFC -/* 80272EE0 0026FE20 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80272EE4 0026FE24 C0 22 CE A8 */ lfs f1, lbl_8051B208@sda21(r2) -/* 80272EE8 0026FE28 C0 02 CE B0 */ lfs f0, lbl_8051B210@sda21(r2) -/* 80272EEC 0026FE2C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80272EF0 0026FE30 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80272EF4 0026FE34 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80272EF8 0026FE38 48 00 00 44 */ b lbl_80272F3C -lbl_80272EFC: -/* 80272EFC 0026FE3C C0 5F 00 04 */ lfs f2, 4(r31) -/* 80272F00 0026FE40 C0 02 CE B4 */ lfs f0, lbl_8051B214@sda21(r2) -/* 80272F04 0026FE44 C0 22 CE AC */ lfs f1, lbl_8051B20C@sda21(r2) -/* 80272F08 0026FE48 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80272F0C 0026FE4C D0 1F 00 04 */ stfs f0, 4(r31) -/* 80272F10 0026FE50 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80272F14 0026FE54 C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 80272F18 0026FE58 EC 01 00 2A */ fadds f0, f1, f0 -/* 80272F1C 0026FE5C D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80272F20 0026FE60 48 00 00 1C */ b lbl_80272F3C -lbl_80272F24: -/* 80272F24 0026FE64 C0 42 CE B8 */ lfs f2, lbl_8051B218@sda21(r2) -/* 80272F28 0026FE68 C0 3E 01 90 */ lfs f1, 0x190(r30) -/* 80272F2C 0026FE6C C0 02 CE BC */ lfs f0, lbl_8051B21C@sda21(r2) -/* 80272F30 0026FE70 EC 22 08 2A */ fadds f1, f2, f1 -/* 80272F34 0026FE74 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80272F38 0026FE78 D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_80272F3C: -/* 80272F3C 0026FE7C C0 42 CE 98 */ lfs f2, lbl_8051B1F8@sda21(r2) -/* 80272F40 0026FE80 C0 22 CE C0 */ lfs f1, lbl_8051B220@sda21(r2) -/* 80272F44 0026FE84 D0 5F 00 0C */ stfs f2, 0xc(r31) -/* 80272F48 0026FE88 C0 02 CE C4 */ lfs f0, lbl_8051B224@sda21(r2) -/* 80272F4C 0026FE8C D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 80272F50 0026FE90 D0 5F 00 14 */ stfs f2, 0x14(r31) -/* 80272F54 0026FE94 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80272F58 0026FE98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272F5C 0026FE9C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80272F60 0026FEA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272F64 0026FEA4 7C 08 03 A6 */ mtlr r0 -/* 80272F68 0026FEA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272F6C 0026FEAC 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game5Sarai3ObjFv -doStartStoneState__Q34Game5Sarai3ObjFv: -/* 80272F70 0026FEB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272F74 0026FEB4 7C 08 02 A6 */ mflr r0 -/* 80272F78 0026FEB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272F7C 0026FEBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272F80 0026FEC0 7C 7F 1B 78 */ mr r31, r3 -/* 80272F84 0026FEC4 4B E8 FF 71 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 80272F88 0026FEC8 7F E3 FB 78 */ mr r3, r31 -/* 80272F8C 0026FECC 48 00 08 D1 */ bl flickStickTarget__Q34Game5Sarai3ObjFv -/* 80272F90 0026FED0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272F94 0026FED4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272F98 0026FED8 7C 08 03 A6 */ mtlr r0 -/* 80272F9C 0026FEDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272FA0 0026FEE0 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game5Sarai3ObjFv -doFinishStoneState__Q34Game5Sarai3ObjFv: -/* 80272FA4 0026FEE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80272FA8 0026FEE8 7C 08 02 A6 */ mflr r0 -/* 80272FAC 0026FEEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80272FB0 0026FEF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80272FB4 0026FEF4 7C 7F 1B 78 */ mr r31, r3 -/* 80272FB8 0026FEF8 4B E8 FF 51 */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 80272FBC 0026FEFC 7F E3 FB 78 */ mr r3, r31 -/* 80272FC0 0026FF00 4B E9 44 35 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80272FC4 0026FF04 2C 03 00 03 */ cmpwi r3, 3 -/* 80272FC8 0026FF08 41 80 00 24 */ blt lbl_80272FEC -/* 80272FCC 0026FF0C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80272FD0 0026FF10 7F E4 FB 78 */ mr r4, r31 -/* 80272FD4 0026FF14 38 A0 00 03 */ li r5, 3 -/* 80272FD8 0026FF18 38 C0 00 00 */ li r6, 0 -/* 80272FDC 0026FF1C 81 83 00 00 */ lwz r12, 0(r3) -/* 80272FE0 0026FF20 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80272FE4 0026FF24 7D 89 03 A6 */ mtctr r12 -/* 80272FE8 0026FF28 4E 80 04 21 */ bctrl -lbl_80272FEC: -/* 80272FEC 0026FF2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80272FF0 0026FF30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80272FF4 0026FF34 7C 08 03 A6 */ mtlr r0 -/* 80272FF8 0026FF38 38 21 00 10 */ addi r1, r1, 0x10 -/* 80272FFC 0026FF3C 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game5Sarai3ObjFv -startCarcassMotion__Q34Game5Sarai3ObjFv: -/* 80273000 0026FF40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80273004 0026FF44 7C 08 02 A6 */ mflr r0 -/* 80273008 0026FF48 38 80 00 0B */ li r4, 0xb -/* 8027300C 0026FF4C 38 A0 00 00 */ li r5, 0 -/* 80273010 0026FF50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273014 0026FF54 4B E9 1F F1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80273018 0026FF58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027301C 0026FF5C 7C 08 03 A6 */ mtlr r0 -/* 80273020 0026FF60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80273024 0026FF64 4E 80 00 20 */ blr - -.global initMouthSlots__Q34Game5Sarai3ObjFv -initMouthSlots__Q34Game5Sarai3ObjFv: -/* 80273028 0026FF68 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027302C 0026FF6C 7C 08 02 A6 */ mflr r0 -/* 80273030 0026FF70 90 01 00 24 */ stw r0, 0x24(r1) -/* 80273034 0026FF74 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80273038 0026FF78 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8027303C 0026FF7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80273040 0026FF80 93 C1 00 08 */ stw r30, 8(r1) -/* 80273044 0026FF84 7C 7E 1B 78 */ mr r30, r3 -/* 80273048 0026FF88 38 80 00 02 */ li r4, 2 -/* 8027304C 0026FF8C 38 7E 02 C4 */ addi r3, r30, 0x2c4 -/* 80273050 0026FF90 4B EC 55 09 */ bl alloc__10MouthSlotsFi -/* 80273054 0026FF94 3C 60 80 48 */ lis r3, lbl_80486C50@ha -/* 80273058 0026FF98 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 8027305C 0026FF9C 38 C3 6C 50 */ addi r6, r3, lbl_80486C50@l -/* 80273060 0026FFA0 38 80 00 00 */ li r4, 0 -/* 80273064 0026FFA4 38 7E 02 C4 */ addi r3, r30, 0x2c4 -/* 80273068 0026FFA8 4B EC 56 29 */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 8027306C 0026FFAC 3C 60 80 48 */ lis r3, lbl_80486C5C@ha -/* 80273070 0026FFB0 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 80273074 0026FFB4 38 C3 6C 5C */ addi r6, r3, lbl_80486C5C@l -/* 80273078 0026FFB8 38 80 00 01 */ li r4, 1 -/* 8027307C 0026FFBC 38 7E 02 C4 */ addi r3, r30, 0x2c4 -/* 80273080 0026FFC0 4B EC 56 11 */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 80273084 0026FFC4 C3 E2 CE C8 */ lfs f31, lbl_8051B228@sda21(r2) -/* 80273088 0026FFC8 3B E0 00 00 */ li r31, 0 -/* 8027308C 0026FFCC 48 00 00 18 */ b lbl_802730A4 -lbl_80273090: -/* 80273090 0026FFD0 7F E4 FB 78 */ mr r4, r31 -/* 80273094 0026FFD4 38 7E 02 C4 */ addi r3, r30, 0x2c4 -/* 80273098 0026FFD8 4B EC 56 E1 */ bl getSlot__10MouthSlotsFi -/* 8027309C 0026FFDC D3 E3 00 1C */ stfs f31, 0x1c(r3) -/* 802730A0 0026FFE0 3B FF 00 01 */ addi r31, r31, 1 -lbl_802730A4: -/* 802730A4 0026FFE4 80 1E 02 C4 */ lwz r0, 0x2c4(r30) -/* 802730A8 0026FFE8 7C 1F 00 00 */ cmpw r31, r0 -/* 802730AC 0026FFEC 41 80 FF E4 */ blt lbl_80273090 -/* 802730B0 0026FFF0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 802730B4 0026FFF4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802730B8 0026FFF8 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 802730BC 0026FFFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802730C0 00270000 83 C1 00 08 */ lwz r30, 8(r1) -/* 802730C4 00270004 7C 08 03 A6 */ mtlr r0 -/* 802730C8 00270008 38 21 00 20 */ addi r1, r1, 0x20 -/* 802730CC 0027000C 4E 80 00 20 */ blr - -.global setHeightVelocity__Q34Game5Sarai3ObjFv -setHeightVelocity__Q34Game5Sarai3ObjFv: -/* 802730D0 00270010 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802730D4 00270014 7C 08 02 A6 */ mflr r0 -/* 802730D8 00270018 90 01 00 44 */ stw r0, 0x44(r1) -/* 802730DC 0027001C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 802730E0 00270020 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 802730E4 00270024 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 802730E8 00270028 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 802730EC 0027002C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802730F0 00270030 7C 7F 1B 78 */ mr r31, r3 -/* 802730F4 00270034 80 63 01 F4 */ lwz r3, 0x1f4(r3) -/* 802730F8 00270038 2C 03 00 00 */ cmpwi r3, 0 -/* 802730FC 0027003C 40 80 00 0C */ bge lbl_80273108 -/* 80273100 00270040 38 00 00 00 */ li r0, 0 -/* 80273104 00270044 48 00 00 14 */ b lbl_80273118 -lbl_80273108: -/* 80273108 00270048 2C 03 00 05 */ cmpwi r3, 5 -/* 8027310C 0027004C 38 00 00 05 */ li r0, 5 -/* 80273110 00270050 41 81 00 08 */ bgt lbl_80273118 -/* 80273114 00270054 7C 60 1B 78 */ mr r0, r3 -lbl_80273118: -/* 80273118 00270058 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 8027311C 0027005C 3C 00 43 30 */ lis r0, 0x4330 -/* 80273120 00270060 90 61 00 0C */ stw r3, 0xc(r1) -/* 80273124 00270064 38 9F 01 8C */ addi r4, r31, 0x18c -/* 80273128 00270068 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8027312C 0027006C 90 01 00 08 */ stw r0, 8(r1) -/* 80273130 00270070 C8 22 CE D0 */ lfd f1, lbl_8051B230@sda21(r2) -/* 80273134 00270074 C8 01 00 08 */ lfd f0, 8(r1) -/* 80273138 00270078 C0 82 CE A8 */ lfs f4, lbl_8051B208@sda21(r2) -/* 8027313C 0027007C EC 20 08 28 */ fsubs f1, f0, f1 -/* 80273140 00270080 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80273144 00270084 C0 05 09 34 */ lfs f0, 0x934(r5) -/* 80273148 00270088 81 83 00 04 */ lwz r12, 4(r3) -/* 8027314C 0027008C EC 64 08 28 */ fsubs f3, f4, f1 -/* 80273150 00270090 C0 45 09 0C */ lfs f2, 0x90c(r5) -/* 80273154 00270094 EC 21 20 24 */ fdivs f1, f1, f4 -/* 80273158 00270098 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8027315C 0027009C EC 63 20 24 */ fdivs f3, f3, f4 -/* 80273160 002700A0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80273164 002700A4 EF C3 00 BA */ fmadds f30, f3, f2, f0 -/* 80273168 002700A8 7D 89 03 A6 */ mtctr r12 -/* 8027316C 002700AC 4E 80 04 21 */ bctrl -/* 80273170 002700B0 FF E0 08 90 */ fmr f31, f1 -/* 80273174 002700B4 7F E3 FB 78 */ mr r3, r31 -/* 80273178 002700B8 48 00 05 25 */ bl getCatchTargetNum__Q34Game5Sarai3ObjFv -/* 8027317C 002700BC 2C 03 00 00 */ cmpwi r3, 0 -/* 80273180 002700C0 41 82 00 10 */ beq lbl_80273190 -/* 80273184 002700C4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80273188 002700C8 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 8027318C 002700CC 48 00 00 0C */ b lbl_80273198 -lbl_80273190: -/* 80273190 002700D0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80273194 002700D4 C0 03 08 1C */ lfs f0, 0x81c(r3) -lbl_80273198: -/* 80273198 002700D8 EC 3F 00 2A */ fadds f1, f31, f0 -/* 8027319C 002700DC C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 802731A0 002700E0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 802731A4 002700E4 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 802731A8 002700E8 D0 1F 01 CC */ stfs f0, 0x1cc(r31) -/* 802731AC 002700EC C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 802731B0 002700F0 EC 20 F8 28 */ fsubs f1, f0, f31 -/* 802731B4 002700F4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 802731B8 002700F8 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 802731BC 002700FC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 802731C0 00270100 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 802731C4 00270104 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802731C8 00270108 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802731CC 0027010C 7C 08 03 A6 */ mtlr r0 -/* 802731D0 00270110 38 21 00 40 */ addi r1, r1, 0x40 -/* 802731D4 00270114 4E 80 00 20 */ blr - -.global setRandTarget__Q34Game5Sarai3ObjFv -setRandTarget__Q34Game5Sarai3ObjFv: -/* 802731D8 00270118 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802731DC 0027011C 7C 08 02 A6 */ mflr r0 -/* 802731E0 00270120 90 01 00 54 */ stw r0, 0x54(r1) -/* 802731E4 00270124 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 802731E8 00270128 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 802731EC 0027012C DB C1 00 30 */ stfd f30, 0x30(r1) -/* 802731F0 00270130 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 802731F4 00270134 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802731F8 00270138 7C 7F 1B 78 */ mr r31, r3 -/* 802731FC 0027013C 48 00 04 A1 */ bl getCatchTargetNum__Q34Game5Sarai3ObjFv -/* 80273200 00270140 2C 03 00 00 */ cmpwi r3, 0 -/* 80273204 00270144 41 82 00 40 */ beq lbl_80273244 -/* 80273208 00270148 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8027320C 0027014C C3 C3 03 84 */ lfs f30, 0x384(r3) -/* 80273210 00270150 4B E5 63 91 */ bl rand -/* 80273214 00270154 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80273218 00270158 3C 00 43 30 */ lis r0, 0x4330 -/* 8027321C 0027015C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80273220 00270160 C8 42 CE D0 */ lfd f2, lbl_8051B230@sda21(r2) -/* 80273224 00270164 90 01 00 08 */ stw r0, 8(r1) -/* 80273228 00270168 C0 02 CE D8 */ lfs f0, lbl_8051B238@sda21(r2) -/* 8027322C 0027016C C8 21 00 08 */ lfd f1, 8(r1) -/* 80273230 00270170 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80273234 00270174 EC 3E 00 72 */ fmuls f1, f30, f1 -/* 80273238 00270178 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8027323C 0027017C FF E0 00 90 */ fmr f31, f0 -/* 80273240 00270180 48 00 00 9C */ b lbl_802732DC -lbl_80273244: -/* 80273244 00270184 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 80273248 00270188 28 03 00 00 */ cmplwi r3, 0 -/* 8027324C 0027018C 41 82 00 48 */ beq lbl_80273294 -/* 80273250 00270190 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80273254 00270194 28 00 00 00 */ cmplwi r0, 0 -/* 80273258 00270198 41 82 00 3C */ beq lbl_80273294 -/* 8027325C 0027019C 4B E5 63 45 */ bl rand -/* 80273260 002701A0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80273264 002701A4 3C 00 43 30 */ lis r0, 0x4330 -/* 80273268 002701A8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027326C 002701AC C8 62 CE D0 */ lfd f3, lbl_8051B230@sda21(r2) -/* 80273270 002701B0 90 01 00 08 */ stw r0, 8(r1) -/* 80273274 002701B4 C0 42 CE B0 */ lfs f2, lbl_8051B210@sda21(r2) -/* 80273278 002701B8 C8 21 00 08 */ lfd f1, 8(r1) -/* 8027327C 002701BC C0 02 CE D8 */ lfs f0, lbl_8051B238@sda21(r2) -/* 80273280 002701C0 EC 21 18 28 */ fsubs f1, f1, f3 -/* 80273284 002701C4 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80273288 002701C8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8027328C 002701CC EF E2 00 2A */ fadds f31, f2, f0 -/* 80273290 002701D0 48 00 00 4C */ b lbl_802732DC -lbl_80273294: -/* 80273294 002701D4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80273298 002701D8 C0 23 03 5C */ lfs f1, 0x35c(r3) -/* 8027329C 002701DC C0 03 03 84 */ lfs f0, 0x384(r3) -/* 802732A0 002701E0 EF C1 00 28 */ fsubs f30, f1, f0 -/* 802732A4 002701E4 4B E5 62 FD */ bl rand -/* 802732A8 002701E8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802732AC 002701EC 3C 00 43 30 */ lis r0, 0x4330 -/* 802732B0 002701F0 90 61 00 0C */ stw r3, 0xc(r1) -/* 802732B4 002701F4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802732B8 002701F8 90 01 00 08 */ stw r0, 8(r1) -/* 802732BC 002701FC C8 42 CE D0 */ lfd f2, lbl_8051B230@sda21(r2) -/* 802732C0 00270200 C8 01 00 08 */ lfd f0, 8(r1) -/* 802732C4 00270204 C0 22 CE D8 */ lfs f1, lbl_8051B238@sda21(r2) -/* 802732C8 00270208 EC 40 10 28 */ fsubs f2, f0, f2 -/* 802732CC 0027020C C0 03 03 84 */ lfs f0, 0x384(r3) -/* 802732D0 00270210 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 802732D4 00270214 EC 22 08 24 */ fdivs f1, f2, f1 -/* 802732D8 00270218 EF E0 08 2A */ fadds f31, f0, f1 -lbl_802732DC: -/* 802732DC 0027021C C0 7F 01 8C */ lfs f3, 0x18c(r31) -/* 802732E0 00270220 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802732E4 00270224 C0 3F 01 98 */ lfs f1, 0x198(r31) -/* 802732E8 00270228 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 802732EC 0027022C C0 5F 01 94 */ lfs f2, 0x194(r31) -/* 802732F0 00270230 C0 1F 01 A0 */ lfs f0, 0x1a0(r31) -/* 802732F4 00270234 EC 23 08 28 */ fsubs f1, f3, f1 -/* 802732F8 00270238 EC 42 00 28 */ fsubs f2, f2, f0 -/* 802732FC 0027023C 4B DC 1E 0D */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80273300 00270240 FF C0 08 90 */ fmr f30, f1 -/* 80273304 00270244 4B E5 62 9D */ bl rand -/* 80273308 00270248 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027330C 0027024C 3C 00 43 30 */ lis r0, 0x4330 -/* 80273310 00270250 90 61 00 0C */ stw r3, 0xc(r1) -/* 80273314 00270254 C8 42 CE D0 */ lfd f2, lbl_8051B230@sda21(r2) -/* 80273318 00270258 90 01 00 08 */ stw r0, 8(r1) -/* 8027331C 0027025C C0 62 CE DC */ lfs f3, lbl_8051B23C@sda21(r2) -/* 80273320 00270260 C8 01 00 08 */ lfd f0, 8(r1) -/* 80273324 00270264 C0 22 CE D8 */ lfs f1, lbl_8051B238@sda21(r2) -/* 80273328 00270268 EC 80 10 28 */ fsubs f4, f0, f2 -/* 8027332C 0027026C C0 42 CE E0 */ lfs f2, lbl_8051B240@sda21(r2) -/* 80273330 00270270 C0 02 CE 98 */ lfs f0, lbl_8051B1F8@sda21(r2) -/* 80273334 00270274 EC 63 01 32 */ fmuls f3, f3, f4 -/* 80273338 00270278 EC 23 08 24 */ fdivs f1, f3, f1 -/* 8027333C 0027027C EC 3E 08 2A */ fadds f1, f30, f1 -/* 80273340 00270280 EC A2 08 2A */ fadds f5, f2, f1 -/* 80273344 00270284 FC 20 28 90 */ fmr f1, f5 -/* 80273348 00270288 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 8027334C 0027028C 40 80 00 08 */ bge lbl_80273354 -/* 80273350 00270290 FC 20 28 50 */ fneg f1, f5 -lbl_80273354: -/* 80273354 00270294 C0 62 CE E4 */ lfs f3, lbl_8051B244@sda21(r2) -/* 80273358 00270298 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8027335C 0027029C C0 02 CE 98 */ lfs f0, lbl_8051B1F8@sda21(r2) -/* 80273360 002702A0 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80273364 002702A4 EC 41 00 F2 */ fmuls f2, f1, f3 -/* 80273368 002702A8 C0 3F 01 A0 */ lfs f1, 0x1a0(r31) -/* 8027336C 002702AC FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80273370 002702B0 C0 9F 01 9C */ lfs f4, 0x19c(r31) -/* 80273374 002702B4 FC 00 10 1E */ fctiwz f0, f2 -/* 80273378 002702B8 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8027337C 002702BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80273380 002702C0 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80273384 002702C4 7C 64 02 14 */ add r3, r4, r0 -/* 80273388 002702C8 C0 03 00 04 */ lfs f0, 4(r3) -/* 8027338C 002702CC EC 5F 08 3A */ fmadds f2, f31, f0, f1 -/* 80273390 002702D0 40 80 00 28 */ bge lbl_802733B8 -/* 80273394 002702D4 C0 02 CE E8 */ lfs f0, lbl_8051B248@sda21(r2) -/* 80273398 002702D8 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8027339C 002702DC FC 00 00 1E */ fctiwz f0, f0 -/* 802733A0 002702E0 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 802733A4 002702E4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 802733A8 002702E8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802733AC 002702EC 7C 04 04 2E */ lfsx f0, r4, r0 -/* 802733B0 002702F0 FC 20 00 50 */ fneg f1, f0 -/* 802733B4 002702F4 48 00 00 1C */ b lbl_802733D0 -lbl_802733B8: -/* 802733B8 002702F8 EC 05 00 F2 */ fmuls f0, f5, f3 -/* 802733BC 002702FC FC 00 00 1E */ fctiwz f0, f0 -/* 802733C0 00270300 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 802733C4 00270304 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802733C8 00270308 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802733CC 0027030C 7C 24 04 2E */ lfsx f1, r4, r0 -lbl_802733D0: -/* 802733D0 00270310 C0 1F 01 98 */ lfs f0, 0x198(r31) -/* 802733D4 00270314 EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 802733D8 00270318 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 802733DC 0027031C D0 9F 02 D0 */ stfs f4, 0x2d0(r31) -/* 802733E0 00270320 D0 5F 02 D4 */ stfs f2, 0x2d4(r31) -/* 802733E4 00270324 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 802733E8 00270328 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 802733EC 0027032C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 802733F0 00270330 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 802733F4 00270334 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802733F8 00270338 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802733FC 0027033C 7C 08 03 A6 */ mtlr r0 -/* 80273400 00270340 38 21 00 50 */ addi r1, r1, 0x50 -/* 80273404 00270344 4E 80 00 20 */ blr - -.global fallMeckGround__Q34Game5Sarai3ObjFv -fallMeckGround__Q34Game5Sarai3ObjFv: -/* 80273408 00270348 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8027340C 0027034C 7C 08 02 A6 */ mflr r0 -/* 80273410 00270350 90 01 00 64 */ stw r0, 0x64(r1) -/* 80273414 00270354 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80273418 00270358 7C 7F 1B 78 */ mr r31, r3 -/* 8027341C 0027035C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80273420 00270360 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80273424 00270364 7F E4 FB 78 */ mr r4, r31 -/* 80273428 00270368 4B F2 C8 35 */ bl __ct__Q24Game8StickersFPQ24Game8Creature -/* 8027342C 0027036C 38 00 00 00 */ li r0, 0 -/* 80273430 00270370 3C 60 80 4B */ lis r3, __vt__26Iterator$$0Q24Game8Creature$$1@ha -/* 80273434 00270374 38 83 BC 84 */ addi r4, r3, __vt__26Iterator$$0Q24Game8Creature$$1@l -/* 80273438 00270378 38 61 00 30 */ addi r3, r1, 0x30 -/* 8027343C 0027037C 28 00 00 00 */ cmplwi r0, 0 -/* 80273440 00270380 90 81 00 20 */ stw r4, 0x20(r1) -/* 80273444 00270384 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80273448 00270388 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027344C 0027038C 90 61 00 28 */ stw r3, 0x28(r1) -/* 80273450 00270390 40 82 00 1C */ bne lbl_8027346C -/* 80273454 00270394 81 83 00 00 */ lwz r12, 0(r3) -/* 80273458 00270398 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027345C 0027039C 7D 89 03 A6 */ mtctr r12 -/* 80273460 002703A0 4E 80 04 21 */ bctrl -/* 80273464 002703A4 90 61 00 24 */ stw r3, 0x24(r1) -/* 80273468 002703A8 48 00 01 F0 */ b lbl_80273658 -lbl_8027346C: -/* 8027346C 002703AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80273470 002703B0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80273474 002703B4 7D 89 03 A6 */ mtctr r12 -/* 80273478 002703B8 4E 80 04 21 */ bctrl -/* 8027347C 002703BC 90 61 00 24 */ stw r3, 0x24(r1) -/* 80273480 002703C0 48 00 00 58 */ b lbl_802734D8 -lbl_80273484: -/* 80273484 002703C4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80273488 002703C8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8027348C 002703CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80273490 002703D0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80273494 002703D4 7D 89 03 A6 */ mtctr r12 -/* 80273498 002703D8 4E 80 04 21 */ bctrl -/* 8027349C 002703DC 7C 64 1B 78 */ mr r4, r3 -/* 802734A0 002703E0 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 802734A4 002703E4 81 83 00 00 */ lwz r12, 0(r3) -/* 802734A8 002703E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802734AC 002703EC 7D 89 03 A6 */ mtctr r12 -/* 802734B0 002703F0 4E 80 04 21 */ bctrl -/* 802734B4 002703F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802734B8 002703F8 40 82 01 A0 */ bne lbl_80273658 -/* 802734BC 002703FC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802734C0 00270400 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802734C4 00270404 81 83 00 00 */ lwz r12, 0(r3) -/* 802734C8 00270408 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802734CC 0027040C 7D 89 03 A6 */ mtctr r12 -/* 802734D0 00270410 4E 80 04 21 */ bctrl -/* 802734D4 00270414 90 61 00 24 */ stw r3, 0x24(r1) -lbl_802734D8: -/* 802734D8 00270418 81 81 00 20 */ lwz r12, 0x20(r1) -/* 802734DC 0027041C 38 61 00 20 */ addi r3, r1, 0x20 -/* 802734E0 00270420 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802734E4 00270424 7D 89 03 A6 */ mtctr r12 -/* 802734E8 00270428 4E 80 04 21 */ bctrl -/* 802734EC 0027042C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802734F0 00270430 41 82 FF 94 */ beq lbl_80273484 -/* 802734F4 00270434 48 00 01 64 */ b lbl_80273658 -lbl_802734F8: -/* 802734F8 00270438 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802734FC 0027043C 81 83 00 00 */ lwz r12, 0(r3) -/* 80273500 00270440 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80273504 00270444 7D 89 03 A6 */ mtctr r12 -/* 80273508 00270448 4E 80 04 21 */ bctrl -/* 8027350C 0027044C 7C 7E 1B 78 */ mr r30, r3 -/* 80273510 00270450 4B F2 C0 79 */ bl isStickToMouth__Q24Game8CreatureFv -/* 80273514 00270454 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273518 00270458 41 82 00 84 */ beq lbl_8027359C -/* 8027351C 0027045C 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 80273520 00270460 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 80273524 00270464 3C 80 80 4B */ lis r4, __vt__Q24Game16InteractFallMeck@ha -/* 80273528 00270468 7F C3 F3 78 */ mr r3, r30 -/* 8027352C 0027046C C0 06 06 04 */ lfs f0, 0x604(r6) -/* 80273530 00270470 38 A5 A3 00 */ addi r5, r5, __vt__Q24Game11Interaction@l -/* 80273534 00270474 38 04 48 E4 */ addi r0, r4, __vt__Q24Game16InteractFallMeck@l -/* 80273538 00270478 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027353C 0027047C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80273540 00270480 93 E1 00 18 */ stw r31, 0x18(r1) -/* 80273544 00270484 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273548 00270488 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8027354C 0027048C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80273550 00270490 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80273554 00270494 7D 89 03 A6 */ mtctr r12 -/* 80273558 00270498 4E 80 04 21 */ bctrl -/* 8027355C 0027049C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273560 002704A0 41 82 00 3C */ beq lbl_8027359C -/* 80273564 002704A4 C0 22 CE 98 */ lfs f1, lbl_8051B1F8@sda21(r2) -/* 80273568 002704A8 7F C3 F3 78 */ mr r3, r30 -/* 8027356C 002704AC 38 81 00 08 */ addi r4, r1, 8 -/* 80273570 002704B0 D0 21 00 08 */ stfs f1, 8(r1) -/* 80273574 002704B4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80273578 002704B8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8027357C 002704BC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80273580 002704C0 C0 05 0A 24 */ lfs f0, 0xa24(r5) -/* 80273584 002704C4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80273588 002704C8 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8027358C 002704CC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80273590 002704D0 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80273594 002704D4 7D 89 03 A6 */ mtctr r12 -/* 80273598 002704D8 4E 80 04 21 */ bctrl -lbl_8027359C: -/* 8027359C 002704DC 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802735A0 002704E0 28 00 00 00 */ cmplwi r0, 0 -/* 802735A4 002704E4 40 82 00 24 */ bne lbl_802735C8 -/* 802735A8 002704E8 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802735AC 002704EC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802735B0 002704F0 81 83 00 00 */ lwz r12, 0(r3) -/* 802735B4 002704F4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802735B8 002704F8 7D 89 03 A6 */ mtctr r12 -/* 802735BC 002704FC 4E 80 04 21 */ bctrl -/* 802735C0 00270500 90 61 00 24 */ stw r3, 0x24(r1) -/* 802735C4 00270504 48 00 00 94 */ b lbl_80273658 -lbl_802735C8: -/* 802735C8 00270508 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802735CC 0027050C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802735D0 00270510 81 83 00 00 */ lwz r12, 0(r3) -/* 802735D4 00270514 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802735D8 00270518 7D 89 03 A6 */ mtctr r12 -/* 802735DC 0027051C 4E 80 04 21 */ bctrl -/* 802735E0 00270520 90 61 00 24 */ stw r3, 0x24(r1) -/* 802735E4 00270524 48 00 00 58 */ b lbl_8027363C -lbl_802735E8: -/* 802735E8 00270528 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802735EC 0027052C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802735F0 00270530 81 83 00 00 */ lwz r12, 0(r3) -/* 802735F4 00270534 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802735F8 00270538 7D 89 03 A6 */ mtctr r12 -/* 802735FC 0027053C 4E 80 04 21 */ bctrl -/* 80273600 00270540 7C 64 1B 78 */ mr r4, r3 -/* 80273604 00270544 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80273608 00270548 81 83 00 00 */ lwz r12, 0(r3) -/* 8027360C 0027054C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80273610 00270550 7D 89 03 A6 */ mtctr r12 -/* 80273614 00270554 4E 80 04 21 */ bctrl -/* 80273618 00270558 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027361C 0027055C 40 82 00 3C */ bne lbl_80273658 -/* 80273620 00270560 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80273624 00270564 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80273628 00270568 81 83 00 00 */ lwz r12, 0(r3) -/* 8027362C 0027056C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80273630 00270570 7D 89 03 A6 */ mtctr r12 -/* 80273634 00270574 4E 80 04 21 */ bctrl -/* 80273638 00270578 90 61 00 24 */ stw r3, 0x24(r1) -lbl_8027363C: -/* 8027363C 0027057C 81 81 00 20 */ lwz r12, 0x20(r1) -/* 80273640 00270580 38 61 00 20 */ addi r3, r1, 0x20 -/* 80273644 00270584 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80273648 00270588 7D 89 03 A6 */ mtctr r12 -/* 8027364C 0027058C 4E 80 04 21 */ bctrl -/* 80273650 00270590 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273654 00270594 41 82 FF 94 */ beq lbl_802735E8 -lbl_80273658: -/* 80273658 00270598 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8027365C 0027059C 81 83 00 00 */ lwz r12, 0(r3) -/* 80273660 002705A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80273664 002705A4 7D 89 03 A6 */ mtctr r12 -/* 80273668 002705A8 4E 80 04 21 */ bctrl -/* 8027366C 002705AC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80273670 002705B0 7C 04 18 40 */ cmplw r4, r3 -/* 80273674 002705B4 40 82 FE 84 */ bne lbl_802734F8 -/* 80273678 002705B8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8027367C 002705BC 38 80 FF FF */ li r4, -1 -/* 80273680 002705C0 4B F2 C6 E5 */ bl __dt__Q24Game8StickersFv -/* 80273684 002705C4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80273688 002705C8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8027368C 002705CC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80273690 002705D0 7C 08 03 A6 */ mtlr r0 -/* 80273694 002705D4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80273698 002705D8 4E 80 00 20 */ blr - -.global getCatchTargetNum__Q34Game5Sarai3ObjFv -getCatchTargetNum__Q34Game5Sarai3ObjFv: -/* 8027369C 002705DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802736A0 002705E0 7C 08 02 A6 */ mflr r0 -/* 802736A4 002705E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802736A8 002705E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802736AC 002705EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802736B0 002705F0 3B C0 00 00 */ li r30, 0 -/* 802736B4 002705F4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 802736B8 002705F8 3B A0 00 00 */ li r29, 0 -/* 802736BC 002705FC 93 81 00 10 */ stw r28, 0x10(r1) -/* 802736C0 00270600 7C 7C 1B 78 */ mr r28, r3 -/* 802736C4 00270604 83 E3 02 C4 */ lwz r31, 0x2c4(r3) -/* 802736C8 00270608 48 00 00 24 */ b lbl_802736EC -lbl_802736CC: -/* 802736CC 0027060C 7F A4 EB 78 */ mr r4, r29 -/* 802736D0 00270610 38 7C 02 C4 */ addi r3, r28, 0x2c4 -/* 802736D4 00270614 4B EC 50 A5 */ bl getSlot__10MouthSlotsFi -/* 802736D8 00270618 80 03 00 64 */ lwz r0, 0x64(r3) -/* 802736DC 0027061C 28 00 00 00 */ cmplwi r0, 0 -/* 802736E0 00270620 41 82 00 08 */ beq lbl_802736E8 -/* 802736E4 00270624 3B DE 00 01 */ addi r30, r30, 1 -lbl_802736E8: -/* 802736E8 00270628 3B BD 00 01 */ addi r29, r29, 1 -lbl_802736EC: -/* 802736EC 0027062C 7C 1D F8 00 */ cmpw r29, r31 -/* 802736F0 00270630 41 80 FF DC */ blt lbl_802736CC -/* 802736F4 00270634 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802736F8 00270638 7F C3 F3 78 */ mr r3, r30 -/* 802736FC 0027063C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80273700 00270640 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80273704 00270644 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80273708 00270648 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8027370C 0027064C 7C 08 03 A6 */ mtlr r0 -/* 80273710 00270650 38 21 00 20 */ addi r1, r1, 0x20 -/* 80273714 00270654 4E 80 00 20 */ blr - -.global getNextStateOnHeight__Q34Game5Sarai3ObjFv -getNextStateOnHeight__Q34Game5Sarai3ObjFv: -/* 80273718 00270658 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027371C 0027065C 7C 08 02 A6 */ mflr r0 -/* 80273720 00270660 90 01 00 34 */ stw r0, 0x34(r1) -/* 80273724 00270664 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80273728 00270668 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8027372C 0027066C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80273730 00270670 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80273734 00270674 7C 7E 1B 78 */ mr r30, r3 -/* 80273738 00270678 C0 02 CE 98 */ lfs f0, lbl_8051B1F8@sda21(r2) -/* 8027373C 0027067C C0 23 02 00 */ lfs f1, 0x200(r3) -/* 80273740 00270680 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80273744 00270684 4C 40 13 82 */ cror 2, 0, 2 -/* 80273748 00270688 40 82 00 0C */ bne lbl_80273754 -/* 8027374C 0027068C 38 60 00 01 */ li r3, 1 -/* 80273750 00270690 48 00 00 EC */ b lbl_8027383C -lbl_80273754: -/* 80273754 00270694 81 83 00 00 */ lwz r12, 0(r3) -/* 80273758 00270698 81 8C 02 FC */ lwz r12, 0x2fc(r12) -/* 8027375C 0027069C 7D 89 03 A6 */ mtctr r12 -/* 80273760 002706A0 4E 80 04 21 */ bctrl -/* 80273764 002706A4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80273768 002706A8 41 82 00 D0 */ beq lbl_80273838 -/* 8027376C 002706AC 7F C3 F3 78 */ mr r3, r30 -/* 80273770 002706B0 38 80 00 03 */ li r4, 3 -/* 80273774 002706B4 4B EA 1A 41 */ bl getStickPikminColorNum__Q24Game9EnemyFuncFPQ24Game8Creaturei -/* 80273778 002706B8 2C 03 00 00 */ cmpwi r3, 0 -/* 8027377C 002706BC 40 81 00 0C */ ble lbl_80273788 -/* 80273780 002706C0 38 60 00 01 */ li r3, 1 -/* 80273784 002706C4 48 00 00 B8 */ b lbl_8027383C -lbl_80273788: -/* 80273788 002706C8 34 1F FF FF */ addic. r0, r31, -1 -/* 8027378C 002706CC 40 80 00 0C */ bge lbl_80273798 -/* 80273790 002706D0 38 60 00 00 */ li r3, 0 -/* 80273794 002706D4 48 00 00 18 */ b lbl_802737AC -lbl_80273798: -/* 80273798 002706D8 38 1F FF FF */ addi r0, r31, -1 -/* 8027379C 002706DC 38 60 00 04 */ li r3, 4 -/* 802737A0 002706E0 2C 00 00 04 */ cmpwi r0, 4 -/* 802737A4 002706E4 41 81 00 08 */ bgt lbl_802737AC -/* 802737A8 002706E8 7C 03 03 78 */ mr r3, r0 -lbl_802737AC: -/* 802737AC 002706EC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802737B0 002706F0 3C 00 43 30 */ lis r0, 0x4330 -/* 802737B4 002706F4 90 61 00 0C */ stw r3, 0xc(r1) -/* 802737B8 002706F8 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 802737BC 002706FC 90 01 00 08 */ stw r0, 8(r1) -/* 802737C0 00270700 C8 42 CE D0 */ lfd f2, lbl_8051B230@sda21(r2) -/* 802737C4 00270704 C8 01 00 08 */ lfd f0, 8(r1) -/* 802737C8 00270708 C0 22 CE EC */ lfs f1, lbl_8051B24C@sda21(r2) -/* 802737CC 0027070C EC A0 10 28 */ fsubs f5, f0, f2 -/* 802737D0 00270710 C0 62 CE F0 */ lfs f3, lbl_8051B250@sda21(r2) -/* 802737D4 00270714 C0 03 09 84 */ lfs f0, 0x984(r3) -/* 802737D8 00270718 C0 43 09 5C */ lfs f2, 0x95c(r3) -/* 802737DC 0027071C EC 81 28 28 */ fsubs f4, f1, f5 -/* 802737E0 00270720 EC 25 00 F2 */ fmuls f1, f5, f3 -/* 802737E4 00270724 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 802737E8 00270728 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802737EC 0027072C EF E3 00 BA */ fmadds f31, f3, f2, f0 -/* 802737F0 00270730 4B E5 5D B1 */ bl rand -/* 802737F4 00270734 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802737F8 00270738 3C 00 43 30 */ lis r0, 0x4330 -/* 802737FC 0027073C 90 61 00 14 */ stw r3, 0x14(r1) -/* 80273800 00270740 C8 62 CE D0 */ lfd f3, lbl_8051B230@sda21(r2) -/* 80273804 00270744 90 01 00 10 */ stw r0, 0x10(r1) -/* 80273808 00270748 C0 22 CE C0 */ lfs f1, lbl_8051B220@sda21(r2) -/* 8027380C 0027074C C8 41 00 10 */ lfd f2, 0x10(r1) -/* 80273810 00270750 C0 02 CE D8 */ lfs f0, lbl_8051B238@sda21(r2) -/* 80273814 00270754 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80273818 00270758 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8027381C 0027075C EC 01 00 24 */ fdivs f0, f1, f0 -/* 80273820 00270760 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80273824 00270764 40 80 00 0C */ bge lbl_80273830 -/* 80273828 00270768 38 60 00 04 */ li r3, 4 -/* 8027382C 0027076C 48 00 00 10 */ b lbl_8027383C -lbl_80273830: -/* 80273830 00270770 38 60 00 01 */ li r3, 1 -/* 80273834 00270774 48 00 00 08 */ b lbl_8027383C -lbl_80273838: -/* 80273838 00270778 38 60 FF FF */ li r3, -1 -lbl_8027383C: -/* 8027383C 0027077C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80273840 00270780 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80273844 00270784 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80273848 00270788 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027384C 0027078C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80273850 00270790 7C 08 03 A6 */ mtlr r0 -/* 80273854 00270794 38 21 00 30 */ addi r1, r1, 0x30 -/* 80273858 00270798 4E 80 00 20 */ blr - -.global flickStickTarget__Q34Game5Sarai3ObjFv -flickStickTarget__Q34Game5Sarai3ObjFv: -/* 8027385C 0027079C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80273860 002707A0 7C 08 02 A6 */ mflr r0 -/* 80273864 002707A4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80273868 002707A8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8027386C 002707AC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80273870 002707B0 3B C0 00 00 */ li r30, 0 -/* 80273874 002707B4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80273878 002707B8 7C 7D 1B 78 */ mr r29, r3 -/* 8027387C 002707BC 83 E3 02 C4 */ lwz r31, 0x2c4(r3) -/* 80273880 002707C0 48 00 00 68 */ b lbl_802738E8 -lbl_80273884: -/* 80273884 002707C4 7F C4 F3 78 */ mr r4, r30 -/* 80273888 002707C8 38 7D 02 C4 */ addi r3, r29, 0x2c4 -/* 8027388C 002707CC 4B EC 4E ED */ bl getSlot__10MouthSlotsFi -/* 80273890 002707D0 80 63 00 64 */ lwz r3, 0x64(r3) -/* 80273894 002707D4 28 03 00 00 */ cmplwi r3, 0 -/* 80273898 002707D8 41 82 00 4C */ beq lbl_802738E4 -/* 8027389C 002707DC 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 802738A0 002707E0 C0 42 CE F4 */ lfs f2, lbl_8051B254@sda21(r2) -/* 802738A4 002707E4 38 04 A3 00 */ addi r0, r4, __vt__Q24Game11Interaction@l -/* 802738A8 002707E8 C0 22 CE 98 */ lfs f1, lbl_8051B1F8@sda21(r2) -/* 802738AC 002707EC C0 02 CE F8 */ lfs f0, lbl_8051B258@sda21(r2) -/* 802738B0 002707F0 3C 80 80 4B */ lis r4, __vt__Q24Game13InteractFlick@ha -/* 802738B4 002707F4 90 01 00 08 */ stw r0, 8(r1) -/* 802738B8 002707F8 38 04 4E 04 */ addi r0, r4, __vt__Q24Game13InteractFlick@l -/* 802738BC 002707FC 38 81 00 08 */ addi r4, r1, 8 -/* 802738C0 00270800 93 A1 00 0C */ stw r29, 0xc(r1) -/* 802738C4 00270804 90 01 00 08 */ stw r0, 8(r1) -/* 802738C8 00270808 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 802738CC 0027080C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 802738D0 00270810 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 802738D4 00270814 81 83 00 00 */ lwz r12, 0(r3) -/* 802738D8 00270818 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 802738DC 0027081C 7D 89 03 A6 */ mtctr r12 -/* 802738E0 00270820 4E 80 04 21 */ bctrl -lbl_802738E4: -/* 802738E4 00270824 3B DE 00 01 */ addi r30, r30, 1 -lbl_802738E8: -/* 802738E8 00270828 7C 1E F8 00 */ cmpw r30, r31 -/* 802738EC 0027082C 41 80 FF 98 */ blt lbl_80273884 -/* 802738F0 00270830 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802738F4 00270834 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802738F8 00270838 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802738FC 0027083C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80273900 00270840 7C 08 03 A6 */ mtlr r0 -/* 80273904 00270844 38 21 00 30 */ addi r1, r1, 0x30 -/* 80273908 00270848 4E 80 00 20 */ blr - -.global getStickPikminNum__Q34Game5Sarai3ObjFv -getStickPikminNum__Q34Game5Sarai3ObjFv: -/* 8027390C 0027084C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80273910 00270850 7C 08 02 A6 */ mflr r0 -/* 80273914 00270854 90 01 00 24 */ stw r0, 0x24(r1) -/* 80273918 00270858 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027391C 0027085C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80273920 00270860 3B C0 00 00 */ li r30, 0 -/* 80273924 00270864 7F DF F3 78 */ mr r31, r30 -/* 80273928 00270868 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8027392C 0027086C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80273930 00270870 7C 7C 1B 78 */ mr r28, r3 -/* 80273934 00270874 83 A3 02 C4 */ lwz r29, 0x2c4(r3) -/* 80273938 00270878 48 00 00 24 */ b lbl_8027395C -lbl_8027393C: -/* 8027393C 0027087C 7F E4 FB 78 */ mr r4, r31 -/* 80273940 00270880 38 7C 02 C4 */ addi r3, r28, 0x2c4 -/* 80273944 00270884 4B EC 4E 35 */ bl getSlot__10MouthSlotsFi -/* 80273948 00270888 80 03 00 64 */ lwz r0, 0x64(r3) -/* 8027394C 0027088C 28 00 00 00 */ cmplwi r0, 0 -/* 80273950 00270890 41 82 00 08 */ beq lbl_80273958 -/* 80273954 00270894 3B DE 00 01 */ addi r30, r30, 1 -lbl_80273958: -/* 80273958 00270898 3B FF 00 01 */ addi r31, r31, 1 -lbl_8027395C: -/* 8027395C 0027089C 7C 1F E8 00 */ cmpw r31, r29 -/* 80273960 002708A0 41 80 FF DC */ blt lbl_8027393C -/* 80273964 002708A4 80 1C 01 F4 */ lwz r0, 0x1f4(r28) -/* 80273968 002708A8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027396C 002708AC 7C 7E 00 50 */ subf r3, r30, r0 -/* 80273970 002708B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80273974 002708B4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80273978 002708B8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8027397C 002708BC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80273980 002708C0 7C 08 03 A6 */ mtlr r0 -/* 80273984 002708C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80273988 002708C8 4E 80 00 20 */ blr - -.global getAttackableTarget__Q34Game5Sarai3ObjFv -getAttackableTarget__Q34Game5Sarai3ObjFv: -/* 8027398C 002708CC 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80273990 002708D0 7C 08 02 A6 */ mflr r0 -/* 80273994 002708D4 90 01 00 94 */ stw r0, 0x94(r1) -/* 80273998 002708D8 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8027399C 002708DC F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 802739A0 002708E0 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 802739A4 002708E4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 802739A8 002708E8 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 802739AC 002708EC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 802739B0 002708F0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 802739B4 002708F4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 802739B8 002708F8 7C 7F 1B 78 */ mr r31, r3 -/* 802739BC 002708FC C0 23 01 94 */ lfs f1, 0x194(r3) -/* 802739C0 00270900 C0 03 01 A0 */ lfs f0, 0x1a0(r3) -/* 802739C4 00270904 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 802739C8 00270908 EC 61 00 28 */ fsubs f3, f1, f0 -/* 802739CC 0027090C C0 43 01 8C */ lfs f2, 0x18c(r3) -/* 802739D0 00270910 C0 23 01 98 */ lfs f1, 0x198(r3) -/* 802739D4 00270914 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 802739D8 00270918 EC 42 08 28 */ fsubs f2, f2, f1 -/* 802739DC 0027091C EC 23 00 F2 */ fmuls f1, f3, f3 -/* 802739E0 00270920 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802739E4 00270924 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 802739E8 00270928 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802739EC 0027092C 40 80 03 3C */ bge lbl_80273D28 -/* 802739F0 00270930 C0 42 CE FC */ lfs f2, lbl_8051B25C@sda21(r2) -/* 802739F4 00270934 3C 60 80 4B */ lis r3, __vt__22Iterator$$0Q24Game4Piki$$1@ha -/* 802739F8 00270938 C0 24 04 24 */ lfs f1, 0x424(r4) -/* 802739FC 0027093C 38 00 00 00 */ li r0, 0 -/* 80273A00 00270940 C0 04 03 D4 */ lfs f0, 0x3d4(r4) -/* 80273A04 00270944 38 83 BC 9C */ addi r4, r3, __vt__22Iterator$$0Q24Game4Piki$$1@l -/* 80273A08 00270948 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80273A0C 0027094C C0 42 CE DC */ lfs f2, lbl_8051B23C@sda21(r2) -/* 80273A10 00270950 80 6D 92 F4 */ lwz r3, pikiMgr__4Game@sda21(r13) -/* 80273A14 00270954 28 00 00 00 */ cmplwi r0, 0 -/* 80273A18 00270958 EF C0 00 32 */ fmuls f30, f0, f0 -/* 80273A1C 0027095C 90 81 00 44 */ stw r4, 0x44(r1) -/* 80273A20 00270960 EF E2 00 72 */ fmuls f31, f2, f1 -/* 80273A24 00270964 90 01 00 50 */ stw r0, 0x50(r1) -/* 80273A28 00270968 90 01 00 48 */ stw r0, 0x48(r1) -/* 80273A2C 0027096C 90 61 00 4C */ stw r3, 0x4c(r1) -/* 80273A30 00270970 40 82 00 1C */ bne lbl_80273A4C -/* 80273A34 00270974 81 83 00 00 */ lwz r12, 0(r3) -/* 80273A38 00270978 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80273A3C 0027097C 7D 89 03 A6 */ mtctr r12 -/* 80273A40 00270980 4E 80 04 21 */ bctrl -/* 80273A44 00270984 90 61 00 48 */ stw r3, 0x48(r1) -/* 80273A48 00270988 48 00 02 C0 */ b lbl_80273D08 -lbl_80273A4C: -/* 80273A4C 0027098C 81 83 00 00 */ lwz r12, 0(r3) -/* 80273A50 00270990 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80273A54 00270994 7D 89 03 A6 */ mtctr r12 -/* 80273A58 00270998 4E 80 04 21 */ bctrl -/* 80273A5C 0027099C 90 61 00 48 */ stw r3, 0x48(r1) -/* 80273A60 002709A0 48 00 00 58 */ b lbl_80273AB8 -lbl_80273A64: -/* 80273A64 002709A4 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80273A68 002709A8 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80273A6C 002709AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80273A70 002709B0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80273A74 002709B4 7D 89 03 A6 */ mtctr r12 -/* 80273A78 002709B8 4E 80 04 21 */ bctrl -/* 80273A7C 002709BC 7C 64 1B 78 */ mr r4, r3 -/* 80273A80 002709C0 80 61 00 50 */ lwz r3, 0x50(r1) -/* 80273A84 002709C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80273A88 002709C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80273A8C 002709CC 7D 89 03 A6 */ mtctr r12 -/* 80273A90 002709D0 4E 80 04 21 */ bctrl -/* 80273A94 002709D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273A98 002709D8 40 82 02 70 */ bne lbl_80273D08 -/* 80273A9C 002709DC 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80273AA0 002709E0 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80273AA4 002709E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80273AA8 002709E8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80273AAC 002709EC 7D 89 03 A6 */ mtctr r12 -/* 80273AB0 002709F0 4E 80 04 21 */ bctrl -/* 80273AB4 002709F4 90 61 00 48 */ stw r3, 0x48(r1) -lbl_80273AB8: -/* 80273AB8 002709F8 81 81 00 44 */ lwz r12, 0x44(r1) -/* 80273ABC 002709FC 38 61 00 44 */ addi r3, r1, 0x44 -/* 80273AC0 00270A00 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80273AC4 00270A04 7D 89 03 A6 */ mtctr r12 -/* 80273AC8 00270A08 4E 80 04 21 */ bctrl -/* 80273ACC 00270A0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273AD0 00270A10 41 82 FF 94 */ beq lbl_80273A64 -/* 80273AD4 00270A14 48 00 02 34 */ b lbl_80273D08 -lbl_80273AD8: -/* 80273AD8 00270A18 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80273ADC 00270A1C 81 83 00 00 */ lwz r12, 0(r3) -/* 80273AE0 00270A20 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80273AE4 00270A24 7D 89 03 A6 */ mtctr r12 -/* 80273AE8 00270A28 4E 80 04 21 */ bctrl -/* 80273AEC 00270A2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80273AF0 00270A30 7C 7E 1B 78 */ mr r30, r3 -/* 80273AF4 00270A34 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80273AF8 00270A38 7D 89 03 A6 */ mtctr r12 -/* 80273AFC 00270A3C 4E 80 04 21 */ bctrl -/* 80273B00 00270A40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273B04 00270A44 41 82 01 48 */ beq lbl_80273C4C -/* 80273B08 00270A48 7F C3 F3 78 */ mr r3, r30 -/* 80273B0C 00270A4C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80273B10 00270A50 81 8C 01 C0 */ lwz r12, 0x1c0(r12) -/* 80273B14 00270A54 7D 89 03 A6 */ mtctr r12 -/* 80273B18 00270A58 4E 80 04 21 */ bctrl -/* 80273B1C 00270A5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273B20 00270A60 41 82 01 2C */ beq lbl_80273C4C -/* 80273B24 00270A64 7F C3 F3 78 */ mr r3, r30 -/* 80273B28 00270A68 4B F2 BA 61 */ bl isStickToMouth__Q24Game8CreatureFv -/* 80273B2C 00270A6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273B30 00270A70 40 82 01 1C */ bne lbl_80273C4C -/* 80273B34 00270A74 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 80273B38 00270A78 7C 00 F8 40 */ cmplw r0, r31 -/* 80273B3C 00270A7C 41 82 01 10 */ beq lbl_80273C4C -/* 80273B40 00270A80 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 80273B44 00270A84 28 00 00 00 */ cmplwi r0, 0 -/* 80273B48 00270A88 41 82 01 04 */ beq lbl_80273C4C -/* 80273B4C 00270A8C 7F C4 F3 78 */ mr r4, r30 -/* 80273B50 00270A90 38 61 00 20 */ addi r3, r1, 0x20 -/* 80273B54 00270A94 81 9E 00 00 */ lwz r12, 0(r30) -/* 80273B58 00270A98 81 8C 00 08 */ lwz r12, 8(r12) -/* 80273B5C 00270A9C 7D 89 03 A6 */ mtctr r12 -/* 80273B60 00270AA0 4E 80 04 21 */ bctrl -/* 80273B64 00270AA4 7F E4 FB 78 */ mr r4, r31 -/* 80273B68 00270AA8 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80273B6C 00270AAC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80273B70 00270AB0 38 61 00 2C */ addi r3, r1, 0x2c -/* 80273B74 00270AB4 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80273B78 00270AB8 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80273B7C 00270ABC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80273B80 00270AC0 D0 41 00 08 */ stfs f2, 8(r1) -/* 80273B84 00270AC4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80273B88 00270AC8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80273B8C 00270ACC 7D 89 03 A6 */ mtctr r12 -/* 80273B90 00270AD0 4E 80 04 21 */ bctrl -/* 80273B94 00270AD4 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 80273B98 00270AD8 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80273B9C 00270ADC C0 61 00 34 */ lfs f3, 0x34(r1) -/* 80273BA0 00270AE0 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80273BA4 00270AE4 C0 21 00 08 */ lfs f1, 8(r1) -/* 80273BA8 00270AE8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80273BAC 00270AEC C0 81 00 30 */ lfs f4, 0x30(r1) -/* 80273BB0 00270AF0 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80273BB4 00270AF4 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80273BB8 00270AF8 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80273BBC 00270AFC D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80273BC0 00270B00 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80273BC4 00270B04 4B DC 15 45 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80273BC8 00270B08 48 19 E0 09 */ bl roundAng__Ff -/* 80273BCC 00270B0C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80273BD0 00270B10 FF A0 08 90 */ fmr f29, f1 -/* 80273BD4 00270B14 7F E3 FB 78 */ mr r3, r31 -/* 80273BD8 00270B18 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80273BDC 00270B1C 7D 89 03 A6 */ mtctr r12 -/* 80273BE0 00270B20 4E 80 04 21 */ bctrl -/* 80273BE4 00270B24 FC 40 08 90 */ fmr f2, f1 -/* 80273BE8 00270B28 FC 20 E8 90 */ fmr f1, f29 -/* 80273BEC 00270B2C 48 19 E0 11 */ bl angDist__Fff -/* 80273BF0 00270B30 FC 00 0A 10 */ fabs f0, f1 -/* 80273BF4 00270B34 FC 00 00 18 */ frsp f0, f0 -/* 80273BF8 00270B38 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80273BFC 00270B3C 4C 40 13 82 */ cror 2, 0, 2 -/* 80273C00 00270B40 40 82 00 4C */ bne lbl_80273C4C -/* 80273C04 00270B44 7F C4 F3 78 */ mr r4, r30 -/* 80273C08 00270B48 38 61 00 38 */ addi r3, r1, 0x38 -/* 80273C0C 00270B4C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80273C10 00270B50 81 8C 00 08 */ lwz r12, 8(r12) -/* 80273C14 00270B54 7D 89 03 A6 */ mtctr r12 -/* 80273C18 00270B58 4E 80 04 21 */ bctrl -/* 80273C1C 00270B5C C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 80273C20 00270B60 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80273C24 00270B64 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 80273C28 00270B68 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80273C2C 00270B6C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80273C30 00270B70 EC 42 00 28 */ fsubs f2, f2, f0 -/* 80273C34 00270B74 EC 01 00 72 */ fmuls f0, f1, f1 -/* 80273C38 00270B78 EC 02 00 BA */ fmadds f0, f2, f2, f0 -/* 80273C3C 00270B7C FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 80273C40 00270B80 40 80 00 0C */ bge lbl_80273C4C -/* 80273C44 00270B84 7F C3 F3 78 */ mr r3, r30 -/* 80273C48 00270B88 48 00 00 E4 */ b lbl_80273D2C -lbl_80273C4C: -/* 80273C4C 00270B8C 80 01 00 50 */ lwz r0, 0x50(r1) -/* 80273C50 00270B90 28 00 00 00 */ cmplwi r0, 0 -/* 80273C54 00270B94 40 82 00 24 */ bne lbl_80273C78 -/* 80273C58 00270B98 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80273C5C 00270B9C 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80273C60 00270BA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80273C64 00270BA4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80273C68 00270BA8 7D 89 03 A6 */ mtctr r12 -/* 80273C6C 00270BAC 4E 80 04 21 */ bctrl -/* 80273C70 00270BB0 90 61 00 48 */ stw r3, 0x48(r1) -/* 80273C74 00270BB4 48 00 00 94 */ b lbl_80273D08 -lbl_80273C78: -/* 80273C78 00270BB8 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80273C7C 00270BBC 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80273C80 00270BC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80273C84 00270BC4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80273C88 00270BC8 7D 89 03 A6 */ mtctr r12 -/* 80273C8C 00270BCC 4E 80 04 21 */ bctrl -/* 80273C90 00270BD0 90 61 00 48 */ stw r3, 0x48(r1) -/* 80273C94 00270BD4 48 00 00 58 */ b lbl_80273CEC -lbl_80273C98: -/* 80273C98 00270BD8 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80273C9C 00270BDC 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80273CA0 00270BE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80273CA4 00270BE4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80273CA8 00270BE8 7D 89 03 A6 */ mtctr r12 -/* 80273CAC 00270BEC 4E 80 04 21 */ bctrl -/* 80273CB0 00270BF0 7C 64 1B 78 */ mr r4, r3 -/* 80273CB4 00270BF4 80 61 00 50 */ lwz r3, 0x50(r1) -/* 80273CB8 00270BF8 81 83 00 00 */ lwz r12, 0(r3) -/* 80273CBC 00270BFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80273CC0 00270C00 7D 89 03 A6 */ mtctr r12 -/* 80273CC4 00270C04 4E 80 04 21 */ bctrl -/* 80273CC8 00270C08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273CCC 00270C0C 40 82 00 3C */ bne lbl_80273D08 -/* 80273CD0 00270C10 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80273CD4 00270C14 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80273CD8 00270C18 81 83 00 00 */ lwz r12, 0(r3) -/* 80273CDC 00270C1C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80273CE0 00270C20 7D 89 03 A6 */ mtctr r12 -/* 80273CE4 00270C24 4E 80 04 21 */ bctrl -/* 80273CE8 00270C28 90 61 00 48 */ stw r3, 0x48(r1) -lbl_80273CEC: -/* 80273CEC 00270C2C 81 81 00 44 */ lwz r12, 0x44(r1) -/* 80273CF0 00270C30 38 61 00 44 */ addi r3, r1, 0x44 -/* 80273CF4 00270C34 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80273CF8 00270C38 7D 89 03 A6 */ mtctr r12 -/* 80273CFC 00270C3C 4E 80 04 21 */ bctrl -/* 80273D00 00270C40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80273D04 00270C44 41 82 FF 94 */ beq lbl_80273C98 -lbl_80273D08: -/* 80273D08 00270C48 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80273D0C 00270C4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80273D10 00270C50 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80273D14 00270C54 7D 89 03 A6 */ mtctr r12 -/* 80273D18 00270C58 4E 80 04 21 */ bctrl -/* 80273D1C 00270C5C 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80273D20 00270C60 7C 04 18 40 */ cmplw r4, r3 -/* 80273D24 00270C64 40 82 FD B4 */ bne lbl_80273AD8 -lbl_80273D28: -/* 80273D28 00270C68 38 60 00 00 */ li r3, 0 -lbl_80273D2C: -/* 80273D2C 00270C6C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80273D30 00270C70 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80273D34 00270C74 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80273D38 00270C78 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80273D3C 00270C7C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80273D40 00270C80 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80273D44 00270C84 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80273D48 00270C88 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80273D4C 00270C8C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80273D50 00270C90 7C 08 03 A6 */ mtlr r0 -/* 80273D54 00270C94 38 21 00 90 */ addi r1, r1, 0x90 -/* 80273D58 00270C98 4E 80 00 20 */ blr - -.global catchTarget__Q34Game5Sarai3ObjFv -catchTarget__Q34Game5Sarai3ObjFv: -/* 80273D5C 00270C9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80273D60 00270CA0 7C 08 02 A6 */ mflr r0 -/* 80273D64 00270CA4 38 80 00 00 */ li r4, 0 -/* 80273D68 00270CA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273D6C 00270CAC 4B E9 FD C9 */ bl eatPikmin__Q24Game9EnemyFuncFPQ24Game9EnemyBaseP23Condition$$0Q24Game4Piki$$1 -/* 80273D70 00270CB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80273D74 00270CB4 7C 08 03 A6 */ mtlr r0 -/* 80273D78 00270CB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80273D7C 00270CBC 4E 80 00 20 */ blr - -.global createDownEffect__Q34Game5Sarai3ObjFv -createDownEffect__Q34Game5Sarai3ObjFv: -/* 80273D80 00270CC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80273D84 00270CC4 7C 08 02 A6 */ mflr r0 -/* 80273D88 00270CC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273D8C 00270CCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80273D90 00270CD0 7C 7F 1B 78 */ mr r31, r3 -/* 80273D94 00270CD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80273D98 00270CD8 81 8C 02 EC */ lwz r12, 0x2ec(r12) -/* 80273D9C 00270CDC 7D 89 03 A6 */ mtctr r12 -/* 80273DA0 00270CE0 4E 80 04 21 */ bctrl -/* 80273DA4 00270CE4 7F E3 FB 78 */ mr r3, r31 -/* 80273DA8 00270CE8 38 9F 01 8C */ addi r4, r31, 0x18c -/* 80273DAC 00270CEC 4B E8 FD A5 */ bl createBounceEffect__Q24Game9EnemyBaseFRC10Vector3$$0f$$1f -/* 80273DB0 00270CF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80273DB4 00270CF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80273DB8 00270CF8 7C 08 03 A6 */ mtlr r0 -/* 80273DBC 00270CFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80273DC0 00270D00 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game5Sarai3ObjFv -getDownSmokeScale__Q34Game5Sarai3ObjFv: -/* 80273DC4 00270D04 C0 22 CF 00 */ lfs f1, lbl_8051B260@sda21(r2) -/* 80273DC8 00270D08 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game5Sarai3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game5Sarai3ObjFPQ24Game8WaterBox: -/* 80273DCC 00270D0C 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game5Sarai3ObjFv -outWaterCallback__Q34Game5Sarai3ObjFv: -/* 80273DD0 00270D10 4E 80 00 20 */ blr - -.global getMouthSlots__Q34Game5Sarai3ObjFv -getMouthSlots__Q34Game5Sarai3ObjFv: -/* 80273DD4 00270D14 38 63 02 C4 */ addi r3, r3, 0x2c4 -/* 80273DD8 00270D18 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Sarai3ObjFv -getEnemyTypeID__Q34Game5Sarai3ObjFv: -/* 80273DDC 00270D1C 38 60 00 17 */ li r3, 0x17 -/* 80273DE0 00270D20 4E 80 00 20 */ blr - -.global init__Q34Game4Tank3FSMFPQ24Game9EnemyBase -init__Q34Game4Tank3FSMFPQ24Game9EnemyBase: -/* 80273DE4 00270D24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80273DE8 00270D28 7C 08 02 A6 */ mflr r0 -/* 80273DEC 00270D2C 38 80 00 07 */ li r4, 7 -/* 80273DF0 00270D30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80273DF4 00270D34 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80273DF8 00270D38 7C 7F 1B 78 */ mr r31, r3 -/* 80273DFC 00270D3C 4B EB CA 69 */ bl create__Q24Game17EnemyStateMachineFi -/* 80273E00 00270D40 38 60 00 10 */ li r3, 0x10 -/* 80273E04 00270D44 4B DB 00 A1 */ bl __nw__FUl -/* 80273E08 00270D48 7C 64 1B 79 */ or. r4, r3, r3 -/* 80273E0C 00270D4C 41 82 00 3C */ beq lbl_80273E48 -/* 80273E10 00270D50 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80273E14 00270D54 3C A0 80 4C */ lis r5, __vt__Q34Game4Tank5State@ha -/* 80273E18 00270D58 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80273E1C 00270D5C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank9StateDead@ha -/* 80273E20 00270D60 90 04 00 00 */ stw r0, 0(r4) -/* 80273E24 00270D64 38 E0 00 00 */ li r7, 0 -/* 80273E28 00270D68 38 C5 69 F4 */ addi r6, r5, __vt__Q34Game4Tank5State@l -/* 80273E2C 00270D6C 38 A2 CF 08 */ addi r5, r2, lbl_8051B268@sda21 -/* 80273E30 00270D70 90 E4 00 04 */ stw r7, 4(r4) -/* 80273E34 00270D74 38 03 69 D0 */ addi r0, r3, __vt__Q34Game4Tank9StateDead@l -/* 80273E38 00270D78 90 E4 00 08 */ stw r7, 8(r4) -/* 80273E3C 00270D7C 90 C4 00 00 */ stw r6, 0(r4) -/* 80273E40 00270D80 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80273E44 00270D84 90 04 00 00 */ stw r0, 0(r4) -lbl_80273E48: -/* 80273E48 00270D88 7F E3 FB 78 */ mr r3, r31 -/* 80273E4C 00270D8C 4B EB CA BD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80273E50 00270D90 38 60 00 10 */ li r3, 0x10 -/* 80273E54 00270D94 4B DB 00 51 */ bl __nw__FUl -/* 80273E58 00270D98 7C 64 1B 79 */ or. r4, r3, r3 -/* 80273E5C 00270D9C 41 82 00 40 */ beq lbl_80273E9C -/* 80273E60 00270DA0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80273E64 00270DA4 3C A0 80 4C */ lis r5, __vt__Q34Game4Tank5State@ha -/* 80273E68 00270DA8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80273E6C 00270DAC 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank9StateWait@ha -/* 80273E70 00270DB0 90 04 00 00 */ stw r0, 0(r4) -/* 80273E74 00270DB4 38 00 00 01 */ li r0, 1 -/* 80273E78 00270DB8 38 E0 00 00 */ li r7, 0 -/* 80273E7C 00270DBC 38 C5 69 F4 */ addi r6, r5, __vt__Q34Game4Tank5State@l -/* 80273E80 00270DC0 90 04 00 04 */ stw r0, 4(r4) -/* 80273E84 00270DC4 38 A2 CF 10 */ addi r5, r2, lbl_8051B270@sda21 -/* 80273E88 00270DC8 38 03 69 AC */ addi r0, r3, __vt__Q34Game4Tank9StateWait@l -/* 80273E8C 00270DCC 90 E4 00 08 */ stw r7, 8(r4) -/* 80273E90 00270DD0 90 C4 00 00 */ stw r6, 0(r4) -/* 80273E94 00270DD4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80273E98 00270DD8 90 04 00 00 */ stw r0, 0(r4) -lbl_80273E9C: -/* 80273E9C 00270DDC 7F E3 FB 78 */ mr r3, r31 -/* 80273EA0 00270DE0 4B EB CA 69 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80273EA4 00270DE4 38 60 00 10 */ li r3, 0x10 -/* 80273EA8 00270DE8 4B DA FF FD */ bl __nw__FUl -/* 80273EAC 00270DEC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80273EB0 00270DF0 41 82 00 40 */ beq lbl_80273EF0 -/* 80273EB4 00270DF4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80273EB8 00270DF8 3C A0 80 4C */ lis r5, __vt__Q34Game4Tank5State@ha -/* 80273EBC 00270DFC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80273EC0 00270E00 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank9StateMove@ha -/* 80273EC4 00270E04 90 04 00 00 */ stw r0, 0(r4) -/* 80273EC8 00270E08 38 00 00 02 */ li r0, 2 -/* 80273ECC 00270E0C 38 E0 00 00 */ li r7, 0 -/* 80273ED0 00270E10 38 C5 69 F4 */ addi r6, r5, __vt__Q34Game4Tank5State@l -/* 80273ED4 00270E14 90 04 00 04 */ stw r0, 4(r4) -/* 80273ED8 00270E18 38 A2 CF 18 */ addi r5, r2, lbl_8051B278@sda21 -/* 80273EDC 00270E1C 38 03 69 88 */ addi r0, r3, __vt__Q34Game4Tank9StateMove@l -/* 80273EE0 00270E20 90 E4 00 08 */ stw r7, 8(r4) -/* 80273EE4 00270E24 90 C4 00 00 */ stw r6, 0(r4) -/* 80273EE8 00270E28 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80273EEC 00270E2C 90 04 00 00 */ stw r0, 0(r4) -lbl_80273EF0: -/* 80273EF0 00270E30 7F E3 FB 78 */ mr r3, r31 -/* 80273EF4 00270E34 4B EB CA 15 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80273EF8 00270E38 38 60 00 10 */ li r3, 0x10 -/* 80273EFC 00270E3C 4B DA FF A9 */ bl __nw__FUl -/* 80273F00 00270E40 7C 64 1B 79 */ or. r4, r3, r3 -/* 80273F04 00270E44 41 82 00 44 */ beq lbl_80273F48 -/* 80273F08 00270E48 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80273F0C 00270E4C 3C C0 80 4C */ lis r6, __vt__Q34Game4Tank5State@ha -/* 80273F10 00270E50 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80273F14 00270E54 3C A0 80 48 */ lis r5, lbl_80486C68@ha -/* 80273F18 00270E58 90 04 00 00 */ stw r0, 0(r4) -/* 80273F1C 00270E5C 38 00 00 03 */ li r0, 3 -/* 80273F20 00270E60 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank13StateMoveTurn@ha -/* 80273F24 00270E64 38 E0 00 00 */ li r7, 0 -/* 80273F28 00270E68 90 04 00 04 */ stw r0, 4(r4) -/* 80273F2C 00270E6C 38 C6 69 F4 */ addi r6, r6, __vt__Q34Game4Tank5State@l -/* 80273F30 00270E70 38 A5 6C 68 */ addi r5, r5, lbl_80486C68@l -/* 80273F34 00270E74 38 03 69 64 */ addi r0, r3, __vt__Q34Game4Tank13StateMoveTurn@l -/* 80273F38 00270E78 90 E4 00 08 */ stw r7, 8(r4) -/* 80273F3C 00270E7C 90 C4 00 00 */ stw r6, 0(r4) -/* 80273F40 00270E80 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80273F44 00270E84 90 04 00 00 */ stw r0, 0(r4) -lbl_80273F48: -/* 80273F48 00270E88 7F E3 FB 78 */ mr r3, r31 -/* 80273F4C 00270E8C 4B EB C9 BD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80273F50 00270E90 38 60 00 10 */ li r3, 0x10 -/* 80273F54 00270E94 4B DA FF 51 */ bl __nw__FUl -/* 80273F58 00270E98 7C 64 1B 79 */ or. r4, r3, r3 -/* 80273F5C 00270E9C 41 82 00 44 */ beq lbl_80273FA0 -/* 80273F60 00270EA0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80273F64 00270EA4 3C C0 80 4C */ lis r6, __vt__Q34Game4Tank5State@ha -/* 80273F68 00270EA8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80273F6C 00270EAC 3C A0 80 48 */ lis r5, lbl_80486C74@ha -/* 80273F70 00270EB0 90 04 00 00 */ stw r0, 0(r4) -/* 80273F74 00270EB4 38 00 00 04 */ li r0, 4 -/* 80273F78 00270EB8 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank14StateChaseTurn@ha -/* 80273F7C 00270EBC 38 E0 00 00 */ li r7, 0 -/* 80273F80 00270EC0 90 04 00 04 */ stw r0, 4(r4) -/* 80273F84 00270EC4 38 C6 69 F4 */ addi r6, r6, __vt__Q34Game4Tank5State@l -/* 80273F88 00270EC8 38 A5 6C 74 */ addi r5, r5, lbl_80486C74@l -/* 80273F8C 00270ECC 38 03 69 40 */ addi r0, r3, __vt__Q34Game4Tank14StateChaseTurn@l -/* 80273F90 00270ED0 90 E4 00 08 */ stw r7, 8(r4) -/* 80273F94 00270ED4 90 C4 00 00 */ stw r6, 0(r4) -/* 80273F98 00270ED8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80273F9C 00270EDC 90 04 00 00 */ stw r0, 0(r4) -lbl_80273FA0: -/* 80273FA0 00270EE0 7F E3 FB 78 */ mr r3, r31 -/* 80273FA4 00270EE4 4B EB C9 65 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80273FA8 00270EE8 38 60 00 10 */ li r3, 0x10 -/* 80273FAC 00270EEC 4B DA FE F9 */ bl __nw__FUl -/* 80273FB0 00270EF0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80273FB4 00270EF4 41 82 00 40 */ beq lbl_80273FF4 -/* 80273FB8 00270EF8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80273FBC 00270EFC 3C A0 80 4C */ lis r5, __vt__Q34Game4Tank5State@ha -/* 80273FC0 00270F00 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80273FC4 00270F04 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank11StateAttack@ha -/* 80273FC8 00270F08 90 04 00 00 */ stw r0, 0(r4) -/* 80273FCC 00270F0C 38 00 00 05 */ li r0, 5 -/* 80273FD0 00270F10 38 E0 00 00 */ li r7, 0 -/* 80273FD4 00270F14 38 C5 69 F4 */ addi r6, r5, __vt__Q34Game4Tank5State@l -/* 80273FD8 00270F18 90 04 00 04 */ stw r0, 4(r4) -/* 80273FDC 00270F1C 38 A2 CF 20 */ addi r5, r2, lbl_8051B280@sda21 -/* 80273FE0 00270F20 38 03 69 1C */ addi r0, r3, __vt__Q34Game4Tank11StateAttack@l -/* 80273FE4 00270F24 90 E4 00 08 */ stw r7, 8(r4) -/* 80273FE8 00270F28 90 C4 00 00 */ stw r6, 0(r4) -/* 80273FEC 00270F2C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80273FF0 00270F30 90 04 00 00 */ stw r0, 0(r4) -lbl_80273FF4: -/* 80273FF4 00270F34 7F E3 FB 78 */ mr r3, r31 -/* 80273FF8 00270F38 4B EB C9 11 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80273FFC 00270F3C 38 60 00 10 */ li r3, 0x10 -/* 80274000 00270F40 4B DA FE A5 */ bl __nw__FUl -/* 80274004 00270F44 7C 64 1B 79 */ or. r4, r3, r3 -/* 80274008 00270F48 41 82 00 40 */ beq lbl_80274048 -/* 8027400C 00270F4C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80274010 00270F50 3C A0 80 4C */ lis r5, __vt__Q34Game4Tank5State@ha -/* 80274014 00270F54 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80274018 00270F58 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank10StateFlick@ha -/* 8027401C 00270F5C 90 04 00 00 */ stw r0, 0(r4) -/* 80274020 00270F60 38 00 00 06 */ li r0, 6 -/* 80274024 00270F64 38 E0 00 00 */ li r7, 0 -/* 80274028 00270F68 38 C5 69 F4 */ addi r6, r5, __vt__Q34Game4Tank5State@l -/* 8027402C 00270F6C 90 04 00 04 */ stw r0, 4(r4) -/* 80274030 00270F70 38 A2 CF 28 */ addi r5, r2, lbl_8051B288@sda21 -/* 80274034 00270F74 38 03 68 F8 */ addi r0, r3, __vt__Q34Game4Tank10StateFlick@l -/* 80274038 00270F78 90 E4 00 08 */ stw r7, 8(r4) -/* 8027403C 00270F7C 90 C4 00 00 */ stw r6, 0(r4) -/* 80274040 00270F80 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80274044 00270F84 90 04 00 00 */ stw r0, 0(r4) -lbl_80274048: -/* 80274048 00270F88 7F E3 FB 78 */ mr r3, r31 -/* 8027404C 00270F8C 4B EB C8 BD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80274050 00270F90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80274054 00270F94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80274058 00270F98 7C 08 03 A6 */ mtlr r0 -/* 8027405C 00270F9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80274060 00270FA0 4E 80 00 20 */ blr - -.global init__Q34Game4Tank9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tank9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80274064 00270FA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80274068 00270FA8 7C 08 02 A6 */ mflr r0 -/* 8027406C 00270FAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80274070 00270FB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80274074 00270FB4 7C 9F 23 78 */ mr r31, r4 -/* 80274078 00270FB8 7F E3 FB 78 */ mr r3, r31 -/* 8027407C 00270FBC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80274080 00270FC0 81 8C 03 0C */ lwz r12, 0x30c(r12) -/* 80274084 00270FC4 7D 89 03 A6 */ mtctr r12 -/* 80274088 00270FC8 4E 80 04 21 */ bctrl -/* 8027408C 00270FCC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80274090 00270FD0 7F E3 FB 78 */ mr r3, r31 -/* 80274094 00270FD4 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274098 00270FD8 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8027409C 00270FDC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802740A0 00270FE0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802740A4 00270FE4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802740A8 00270FE8 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802740AC 00270FEC 4B E9 16 75 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 802740B0 00270FF0 7F E3 FB 78 */ mr r3, r31 -/* 802740B4 00270FF4 38 80 00 00 */ li r4, 0 -/* 802740B8 00270FF8 38 A0 00 00 */ li r5, 0 -/* 802740BC 00270FFC 4B E9 0F 49 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802740C0 00271000 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802740C4 00271004 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802740C8 00271008 7C 08 03 A6 */ mtlr r0 -/* 802740CC 0027100C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802740D0 00271010 4E 80 00 20 */ blr - -.global finishEffect__Q34Game4Tank3ObjFv -finishEffect__Q34Game4Tank3ObjFv: -/* 802740D4 00271014 4E 80 00 20 */ blr - -.global exec__Q34Game4Tank9StateDeadFPQ24Game9EnemyBase -exec__Q34Game4Tank9StateDeadFPQ24Game9EnemyBase: -/* 802740D8 00271018 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802740DC 0027101C 7C 08 02 A6 */ mflr r0 -/* 802740E0 00271020 90 01 00 14 */ stw r0, 0x14(r1) -/* 802740E4 00271024 80 64 01 88 */ lwz r3, 0x188(r4) -/* 802740E8 00271028 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802740EC 0027102C 28 00 00 00 */ cmplwi r0, 0 -/* 802740F0 00271030 41 82 00 1C */ beq lbl_8027410C -/* 802740F4 00271034 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802740F8 00271038 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802740FC 0027103C 40 82 00 10 */ bne lbl_8027410C -/* 80274100 00271040 7C 83 23 78 */ mr r3, r4 -/* 80274104 00271044 38 80 00 00 */ li r4, 0 -/* 80274108 00271048 4B EC 6F E9 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_8027410C: -/* 8027410C 0027104C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80274110 00271050 7C 08 03 A6 */ mtlr r0 -/* 80274114 00271054 38 21 00 10 */ addi r1, r1, 0x10 -/* 80274118 00271058 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tank9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game4Tank9StateDeadFPQ24Game9EnemyBase: -/* 8027411C 0027105C 4E 80 00 20 */ blr - -.global init__Q34Game4Tank9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tank9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80274120 00271060 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80274124 00271064 7C 08 02 A6 */ mflr r0 -/* 80274128 00271068 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 8027412C 0027106C 7C 83 23 78 */ mr r3, r4 -/* 80274130 00271070 90 01 00 14 */ stw r0, 0x14(r1) -/* 80274134 00271074 38 00 00 00 */ li r0, 0 -/* 80274138 00271078 38 A0 00 00 */ li r5, 0 -/* 8027413C 0027107C D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80274140 00271080 38 80 00 05 */ li r4, 5 -/* 80274144 00271084 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80274148 00271088 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 8027414C 0027108C 90 03 02 30 */ stw r0, 0x230(r3) -/* 80274150 00271090 4B E9 0E B5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80274154 00271094 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80274158 00271098 7C 08 03 A6 */ mtlr r0 -/* 8027415C 0027109C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80274160 002710A0 4E 80 00 20 */ blr - -.global exec__Q34Game4Tank9StateWaitFPQ24Game9EnemyBase -exec__Q34Game4Tank9StateWaitFPQ24Game9EnemyBase: -/* 80274164 002710A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80274168 002710A8 7C 08 02 A6 */ mflr r0 -/* 8027416C 002710AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80274170 002710B0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80274174 002710B4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80274178 002710B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027417C 002710BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80274180 002710C0 7C 9F 23 78 */ mr r31, r4 -/* 80274184 002710C4 7C 7E 1B 78 */ mr r30, r3 -/* 80274188 002710C8 7F E3 FB 78 */ mr r3, r31 -/* 8027418C 002710CC 48 00 2A 5D */ bl getViewAngle__Q34Game4Tank3ObjFv -/* 80274190 002710D0 C0 5F 02 00 */ lfs f2, 0x200(r31) -/* 80274194 002710D4 FF E0 08 90 */ fmr f31, f1 -/* 80274198 002710D8 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 8027419C 002710DC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802741A0 002710E0 4C 40 13 82 */ cror 2, 0, 2 -/* 802741A4 002710E4 40 82 00 28 */ bne lbl_802741CC -/* 802741A8 002710E8 7F C3 F3 78 */ mr r3, r30 -/* 802741AC 002710EC 7F E4 FB 78 */ mr r4, r31 -/* 802741B0 002710F0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802741B4 002710F4 38 A0 00 00 */ li r5, 0 -/* 802741B8 002710F8 38 C0 00 00 */ li r6, 0 -/* 802741BC 002710FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802741C0 00271100 7D 89 03 A6 */ mtctr r12 -/* 802741C4 00271104 4E 80 04 21 */ bctrl -/* 802741C8 00271108 48 00 01 D4 */ b lbl_8027439C -lbl_802741CC: -/* 802741CC 0027110C 7F E3 FB 78 */ mr r3, r31 -/* 802741D0 00271110 38 80 00 00 */ li r4, 0 -/* 802741D4 00271114 4B EA 04 85 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 802741D8 00271118 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802741DC 0027111C 40 82 00 18 */ bne lbl_802741F4 -/* 802741E0 00271120 7F E3 FB 78 */ mr r3, r31 -/* 802741E4 00271124 38 80 00 00 */ li r4, 0 -/* 802741E8 00271128 48 00 23 19 */ bl isAttackable__Q34Game4Tank3ObjFb -/* 802741EC 0027112C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802741F0 00271130 41 82 00 10 */ beq lbl_80274200 -lbl_802741F4: -/* 802741F4 00271134 C0 22 CF 34 */ lfs f1, lbl_8051B294@sda21(r2) -/* 802741F8 00271138 7F E3 FB 78 */ mr r3, r31 -/* 802741FC 0027113C 4B E9 31 95 */ bl setAnimSpeed__Q24Game9EnemyBaseFf -lbl_80274200: -/* 80274200 00271140 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80274204 00271144 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80274208 00271148 28 00 00 00 */ cmplwi r0, 0 -/* 8027420C 0027114C 41 82 01 90 */ beq lbl_8027439C -/* 80274210 00271150 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80274214 00271154 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80274218 00271158 40 82 01 84 */ bne lbl_8027439C -/* 8027421C 0027115C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80274220 00271160 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274224 00271164 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80274228 00271168 4C 40 13 82 */ cror 2, 0, 2 -/* 8027422C 0027116C 40 82 00 28 */ bne lbl_80274254 -/* 80274230 00271170 7F C3 F3 78 */ mr r3, r30 -/* 80274234 00271174 7F E4 FB 78 */ mr r4, r31 -/* 80274238 00271178 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027423C 0027117C 38 A0 00 00 */ li r5, 0 -/* 80274240 00271180 38 C0 00 00 */ li r6, 0 -/* 80274244 00271184 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274248 00271188 7D 89 03 A6 */ mtctr r12 -/* 8027424C 0027118C 4E 80 04 21 */ bctrl -/* 80274250 00271190 48 00 01 4C */ b lbl_8027439C -lbl_80274254: -/* 80274254 00271194 7F E3 FB 78 */ mr r3, r31 -/* 80274258 00271198 38 80 00 00 */ li r4, 0 -/* 8027425C 0027119C 4B EA 03 FD */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80274260 002711A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274264 002711A4 41 82 00 28 */ beq lbl_8027428C -/* 80274268 002711A8 7F C3 F3 78 */ mr r3, r30 -/* 8027426C 002711AC 7F E4 FB 78 */ mr r4, r31 -/* 80274270 002711B0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274274 002711B4 38 A0 00 06 */ li r5, 6 -/* 80274278 002711B8 38 C0 00 00 */ li r6, 0 -/* 8027427C 002711BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274280 002711C0 7D 89 03 A6 */ mtctr r12 -/* 80274284 002711C4 4E 80 04 21 */ bctrl -/* 80274288 002711C8 48 00 01 14 */ b lbl_8027439C -lbl_8027428C: -/* 8027428C 002711CC 7F E3 FB 78 */ mr r3, r31 -/* 80274290 002711D0 38 80 00 00 */ li r4, 0 -/* 80274294 002711D4 48 00 22 6D */ bl isAttackable__Q34Game4Tank3ObjFb -/* 80274298 002711D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027429C 002711DC 41 82 00 28 */ beq lbl_802742C4 -/* 802742A0 002711E0 7F C3 F3 78 */ mr r3, r30 -/* 802742A4 002711E4 7F E4 FB 78 */ mr r4, r31 -/* 802742A8 002711E8 81 9E 00 00 */ lwz r12, 0(r30) -/* 802742AC 002711EC 38 A0 00 05 */ li r5, 5 -/* 802742B0 002711F0 38 C0 00 00 */ li r6, 0 -/* 802742B4 002711F4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802742B8 002711F8 7D 89 03 A6 */ mtctr r12 -/* 802742BC 002711FC 4E 80 04 21 */ bctrl -/* 802742C0 00271200 48 00 00 DC */ b lbl_8027439C -lbl_802742C4: -/* 802742C4 00271204 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802742C8 00271208 FC 20 F8 90 */ fmr f1, f31 -/* 802742CC 0027120C 7F E3 FB 78 */ mr r3, r31 -/* 802742D0 00271210 38 80 00 00 */ li r4, 0 -/* 802742D4 00271214 C0 45 03 D4 */ lfs f2, 0x3d4(r5) -/* 802742D8 00271218 38 A0 00 00 */ li r5, 0 -/* 802742DC 0027121C 38 C0 00 00 */ li r6, 0 -/* 802742E0 00271220 4B E9 ED 71 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 802742E4 00271224 28 03 00 00 */ cmplwi r3, 0 -/* 802742E8 00271228 41 82 00 34 */ beq lbl_8027431C -/* 802742EC 0027122C 90 7F 02 30 */ stw r3, 0x230(r31) -/* 802742F0 00271230 7F C3 F3 78 */ mr r3, r30 -/* 802742F4 00271234 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802742F8 00271238 7F E4 FB 78 */ mr r4, r31 -/* 802742FC 0027123C 38 A0 00 04 */ li r5, 4 -/* 80274300 00271240 38 C0 00 00 */ li r6, 0 -/* 80274304 00271244 D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80274308 00271248 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027430C 0027124C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274310 00271250 7D 89 03 A6 */ mtctr r12 -/* 80274314 00271254 4E 80 04 21 */ bctrl -/* 80274318 00271258 48 00 00 84 */ b lbl_8027439C -lbl_8027431C: -/* 8027431C 0027125C 4B E5 52 85 */ bl rand -/* 80274320 00271260 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80274324 00271264 3C 00 43 30 */ lis r0, 0x4330 -/* 80274328 00271268 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027432C 0027126C C8 62 CF 48 */ lfd f3, lbl_8051B2A8@sda21(r2) -/* 80274330 00271270 90 01 00 08 */ stw r0, 8(r1) -/* 80274334 00271274 C0 42 CF 38 */ lfs f2, lbl_8051B298@sda21(r2) -/* 80274338 00271278 C8 01 00 08 */ lfd f0, 8(r1) -/* 8027433C 0027127C C0 22 CF 3C */ lfs f1, lbl_8051B29C@sda21(r2) -/* 80274340 00271280 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80274344 00271284 C0 02 CF 40 */ lfs f0, lbl_8051B2A0@sda21(r2) -/* 80274348 00271288 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8027434C 0027128C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80274350 00271290 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80274354 00271294 40 80 00 28 */ bge lbl_8027437C -/* 80274358 00271298 7F C3 F3 78 */ mr r3, r30 -/* 8027435C 0027129C 7F E4 FB 78 */ mr r4, r31 -/* 80274360 002712A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274364 002712A4 38 A0 00 01 */ li r5, 1 -/* 80274368 002712A8 38 C0 00 00 */ li r6, 0 -/* 8027436C 002712AC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274370 002712B0 7D 89 03 A6 */ mtctr r12 -/* 80274374 002712B4 4E 80 04 21 */ bctrl -/* 80274378 002712B8 48 00 00 24 */ b lbl_8027439C -lbl_8027437C: -/* 8027437C 002712BC 7F C3 F3 78 */ mr r3, r30 -/* 80274380 002712C0 7F E4 FB 78 */ mr r4, r31 -/* 80274384 002712C4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274388 002712C8 38 A0 00 03 */ li r5, 3 -/* 8027438C 002712CC 38 C0 00 00 */ li r6, 0 -/* 80274390 002712D0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274394 002712D4 7D 89 03 A6 */ mtctr r12 -/* 80274398 002712D8 4E 80 04 21 */ bctrl -lbl_8027439C: -/* 8027439C 002712DC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 802743A0 002712E0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802743A4 002712E4 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 802743A8 002712E8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802743AC 002712EC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802743B0 002712F0 7C 08 03 A6 */ mtlr r0 -/* 802743B4 002712F4 38 21 00 30 */ addi r1, r1, 0x30 -/* 802743B8 002712F8 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tank9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game4Tank9StateWaitFPQ24Game9EnemyBase: -/* 802743BC 002712FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802743C0 00271300 7C 08 02 A6 */ mflr r0 -/* 802743C4 00271304 C0 22 CF 50 */ lfs f1, lbl_8051B2B0@sda21(r2) -/* 802743C8 00271308 7C 83 23 78 */ mr r3, r4 -/* 802743CC 0027130C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802743D0 00271310 4B E9 2F C1 */ bl setAnimSpeed__Q24Game9EnemyBaseFf -/* 802743D4 00271314 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802743D8 00271318 7C 08 03 A6 */ mtlr r0 -/* 802743DC 0027131C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802743E0 00271320 4E 80 00 20 */ blr - -.global init__Q34Game4Tank9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tank9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802743E4 00271324 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802743E8 00271328 7C 08 02 A6 */ mflr r0 -/* 802743EC 0027132C C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802743F0 00271330 38 A0 00 00 */ li r5, 0 -/* 802743F4 00271334 90 01 00 14 */ stw r0, 0x14(r1) -/* 802743F8 00271338 38 00 00 00 */ li r0, 0 -/* 802743FC 0027133C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80274400 00271340 7C 9F 23 78 */ mr r31, r4 -/* 80274404 00271344 7F E3 FB 78 */ mr r3, r31 -/* 80274408 00271348 D0 04 02 F0 */ stfs f0, 0x2f0(r4) -/* 8027440C 0027134C 38 80 00 01 */ li r4, 1 -/* 80274410 00271350 90 1F 02 30 */ stw r0, 0x230(r31) -/* 80274414 00271354 4B E9 0B F1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80274418 00271358 C0 22 CF 34 */ lfs f1, lbl_8051B294@sda21(r2) -/* 8027441C 0027135C 7F E3 FB 78 */ mr r3, r31 -/* 80274420 00271360 4B E9 2F 71 */ bl setAnimSpeed__Q24Game9EnemyBaseFf -/* 80274424 00271364 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80274428 00271368 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027442C 0027136C 7C 08 03 A6 */ mtlr r0 -/* 80274430 00271370 38 21 00 10 */ addi r1, r1, 0x10 -/* 80274434 00271374 4E 80 00 20 */ blr - -.global exec__Q34Game4Tank9StateMoveFPQ24Game9EnemyBase -exec__Q34Game4Tank9StateMoveFPQ24Game9EnemyBase: -/* 80274438 00271378 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8027443C 0027137C 7C 08 02 A6 */ mflr r0 -/* 80274440 00271380 90 01 01 34 */ stw r0, 0x134(r1) -/* 80274444 00271384 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 80274448 00271388 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 8027444C 0027138C DB C1 01 10 */ stfd f30, 0x110(r1) -/* 80274450 00271390 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 80274454 00271394 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 80274458 00271398 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 8027445C 0027139C DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 80274460 002713A0 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 80274464 002713A4 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 80274468 002713A8 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 8027446C 002713AC DB 41 00 D0 */ stfd f26, 0xd0(r1) -/* 80274470 002713B0 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 -/* 80274474 002713B4 DB 21 00 C0 */ stfd f25, 0xc0(r1) -/* 80274478 002713B8 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 -/* 8027447C 002713BC DB 01 00 B0 */ stfd f24, 0xb0(r1) -/* 80274480 002713C0 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 -/* 80274484 002713C4 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80274488 002713C8 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8027448C 002713CC 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 80274490 002713D0 7C 9F 23 78 */ mr r31, r4 -/* 80274494 002713D4 7C 7E 1B 78 */ mr r30, r3 -/* 80274498 002713D8 7F E3 FB 78 */ mr r3, r31 -/* 8027449C 002713DC 48 00 27 4D */ bl getViewAngle__Q34Game4Tank3ObjFv -/* 802744A0 002713E0 81 9F 00 00 */ lwz r12, 0(r31) -/* 802744A4 002713E4 FF 80 08 90 */ fmr f28, f1 -/* 802744A8 002713E8 7F E4 FB 78 */ mr r4, r31 -/* 802744AC 002713EC 38 61 00 80 */ addi r3, r1, 0x80 -/* 802744B0 002713F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802744B4 002713F4 7D 89 03 A6 */ mtctr r12 -/* 802744B8 002713F8 4E 80 04 21 */ bctrl -/* 802744BC 002713FC C0 01 00 88 */ lfs f0, 0x88(r1) -/* 802744C0 00271400 C0 BF 03 00 */ lfs f5, 0x300(r31) -/* 802744C4 00271404 C0 5F 02 F8 */ lfs f2, 0x2f8(r31) -/* 802744C8 00271408 EC 20 28 28 */ fsubs f1, f0, f5 -/* 802744CC 0027140C C0 01 00 80 */ lfs f0, 0x80(r1) -/* 802744D0 00271410 C0 9F 02 FC */ lfs f4, 0x2fc(r31) -/* 802744D4 00271414 EC 60 10 28 */ fsubs f3, f0, f2 -/* 802744D8 00271418 C0 02 CF 54 */ lfs f0, lbl_8051B2B4@sda21(r2) -/* 802744DC 0027141C EC 21 00 72 */ fmuls f1, f1, f1 -/* 802744E0 00271420 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 802744E4 00271424 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 802744E8 00271428 D0 81 00 90 */ stfs f4, 0x90(r1) -/* 802744EC 0027142C D0 A1 00 94 */ stfs f5, 0x94(r1) -/* 802744F0 00271430 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802744F4 00271434 40 81 00 34 */ ble lbl_80274528 -/* 802744F8 00271438 C0 3F 02 F0 */ lfs f1, 0x2f0(r31) -/* 802744FC 0027143C C0 02 CF 58 */ lfs f0, lbl_8051B2B8@sda21(r2) -/* 80274500 00271440 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80274504 00271444 40 80 00 24 */ bge lbl_80274528 -/* 80274508 00271448 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8027450C 0027144C 7F E3 FB 78 */ mr r3, r31 -/* 80274510 00271450 38 81 00 8C */ addi r4, r1, 0x8c -/* 80274514 00271454 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 80274518 00271458 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 8027451C 0027145C C0 65 03 34 */ lfs f3, 0x334(r5) -/* 80274520 00271460 4B EA 10 BD */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 80274524 00271464 48 00 00 1C */ b lbl_80274540 -lbl_80274528: -/* 80274528 00271468 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 8027452C 0027146C 7F E3 FB 78 */ mr r3, r31 -/* 80274530 00271470 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80274534 00271474 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80274538 00271478 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8027453C 0027147C 4B E9 0D 65 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80274540: -/* 80274540 00271480 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80274544 00271484 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274548 00271488 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027454C 0027148C 4C 40 13 82 */ cror 2, 0, 2 -/* 80274550 00271490 40 82 00 28 */ bne lbl_80274578 -/* 80274554 00271494 7F C3 F3 78 */ mr r3, r30 -/* 80274558 00271498 7F E4 FB 78 */ mr r4, r31 -/* 8027455C 0027149C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274560 002714A0 38 A0 00 00 */ li r5, 0 -/* 80274564 002714A4 38 C0 00 00 */ li r6, 0 -/* 80274568 002714A8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027456C 002714AC 7D 89 03 A6 */ mtctr r12 -/* 80274570 002714B0 4E 80 04 21 */ bctrl -/* 80274574 002714B4 48 00 03 D4 */ b lbl_80274948 -lbl_80274578: -/* 80274578 002714B8 7F E3 FB 78 */ mr r3, r31 -/* 8027457C 002714BC 38 80 00 00 */ li r4, 0 -/* 80274580 002714C0 4B EA 00 D9 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80274584 002714C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274588 002714C8 40 82 00 18 */ bne lbl_802745A0 -/* 8027458C 002714CC 7F E3 FB 78 */ mr r3, r31 -/* 80274590 002714D0 38 80 00 00 */ li r4, 0 -/* 80274594 002714D4 48 00 1F 6D */ bl isAttackable__Q34Game4Tank3ObjFb -/* 80274598 002714D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027459C 002714DC 41 82 00 20 */ beq lbl_802745BC -lbl_802745A0: -/* 802745A0 002714E0 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802745A4 002714E4 7F E3 FB 78 */ mr r3, r31 -/* 802745A8 002714E8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802745AC 002714EC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802745B0 002714F0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802745B4 002714F4 4B E9 0C ED */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802745B8 002714F8 48 00 00 4C */ b lbl_80274604 -lbl_802745BC: -/* 802745BC 002714FC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802745C0 00271500 FC 20 E0 90 */ fmr f1, f28 -/* 802745C4 00271504 7F E3 FB 78 */ mr r3, r31 -/* 802745C8 00271508 38 80 00 00 */ li r4, 0 -/* 802745CC 0027150C C0 45 03 D4 */ lfs f2, 0x3d4(r5) -/* 802745D0 00271510 38 A0 00 00 */ li r5, 0 -/* 802745D4 00271514 38 C0 00 00 */ li r6, 0 -/* 802745D8 00271518 4B E9 EA 79 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 802745DC 0027151C 28 03 00 00 */ cmplwi r3, 0 -/* 802745E0 00271520 41 82 00 24 */ beq lbl_80274604 -/* 802745E4 00271524 90 7F 02 30 */ stw r3, 0x230(r31) -/* 802745E8 00271528 7F E3 FB 78 */ mr r3, r31 -/* 802745EC 0027152C C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802745F0 00271530 D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 802745F4 00271534 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802745F8 00271538 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802745FC 0027153C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80274600 00271540 4B E9 0C A1 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80274604: -/* 80274604 00271544 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80274608 00271548 C0 3F 02 F0 */ lfs f1, 0x2f0(r31) -/* 8027460C 0027154C C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80274610 00271550 EC 01 00 2A */ fadds f0, f1, f0 -/* 80274614 00271554 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -/* 80274618 00271558 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8027461C 0027155C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80274620 00271560 28 00 00 00 */ cmplwi r0, 0 -/* 80274624 00271564 41 82 03 24 */ beq lbl_80274948 -/* 80274628 00271568 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8027462C 0027156C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80274630 00271570 40 82 03 18 */ bne lbl_80274948 -/* 80274634 00271574 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80274638 00271578 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 8027463C 0027157C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80274640 00271580 4C 40 13 82 */ cror 2, 0, 2 -/* 80274644 00271584 40 82 00 28 */ bne lbl_8027466C -/* 80274648 00271588 7F C3 F3 78 */ mr r3, r30 -/* 8027464C 0027158C 7F E4 FB 78 */ mr r4, r31 -/* 80274650 00271590 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274654 00271594 38 A0 00 00 */ li r5, 0 -/* 80274658 00271598 38 C0 00 00 */ li r6, 0 -/* 8027465C 0027159C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274660 002715A0 7D 89 03 A6 */ mtctr r12 -/* 80274664 002715A4 4E 80 04 21 */ bctrl -/* 80274668 002715A8 48 00 02 E0 */ b lbl_80274948 -lbl_8027466C: -/* 8027466C 002715AC 7F E3 FB 78 */ mr r3, r31 -/* 80274670 002715B0 38 80 00 00 */ li r4, 0 -/* 80274674 002715B4 4B E9 FF E5 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80274678 002715B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027467C 002715BC 41 82 00 28 */ beq lbl_802746A4 -/* 80274680 002715C0 7F C3 F3 78 */ mr r3, r30 -/* 80274684 002715C4 7F E4 FB 78 */ mr r4, r31 -/* 80274688 002715C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027468C 002715CC 38 A0 00 06 */ li r5, 6 -/* 80274690 002715D0 38 C0 00 00 */ li r6, 0 -/* 80274694 002715D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274698 002715D8 7D 89 03 A6 */ mtctr r12 -/* 8027469C 002715DC 4E 80 04 21 */ bctrl -/* 802746A0 002715E0 48 00 02 A8 */ b lbl_80274948 -lbl_802746A4: -/* 802746A4 002715E4 7F E3 FB 78 */ mr r3, r31 -/* 802746A8 002715E8 38 80 00 00 */ li r4, 0 -/* 802746AC 002715EC 48 00 1E 55 */ bl isAttackable__Q34Game4Tank3ObjFb -/* 802746B0 002715F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802746B4 002715F4 41 82 00 28 */ beq lbl_802746DC -/* 802746B8 002715F8 7F C3 F3 78 */ mr r3, r30 -/* 802746BC 002715FC 7F E4 FB 78 */ mr r4, r31 -/* 802746C0 00271600 81 9E 00 00 */ lwz r12, 0(r30) -/* 802746C4 00271604 38 A0 00 05 */ li r5, 5 -/* 802746C8 00271608 38 C0 00 00 */ li r6, 0 -/* 802746CC 0027160C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802746D0 00271610 7D 89 03 A6 */ mtctr r12 -/* 802746D4 00271614 4E 80 04 21 */ bctrl -/* 802746D8 00271618 48 00 02 70 */ b lbl_80274948 -lbl_802746DC: -/* 802746DC 0027161C 83 BF 02 30 */ lwz r29, 0x230(r31) -/* 802746E0 00271620 28 1D 00 00 */ cmplwi r29, 0 -/* 802746E4 00271624 41 82 02 44 */ beq lbl_80274928 -/* 802746E8 00271628 7F A4 EB 78 */ mr r4, r29 -/* 802746EC 0027162C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802746F0 00271630 81 9D 00 00 */ lwz r12, 0(r29) -/* 802746F4 00271634 38 61 00 20 */ addi r3, r1, 0x20 -/* 802746F8 00271638 C3 A5 03 FC */ lfs f29, 0x3fc(r5) -/* 802746FC 0027163C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80274700 00271640 C3 C5 03 D4 */ lfs f30, 0x3d4(r5) -/* 80274704 00271644 C3 E5 03 AC */ lfs f31, 0x3ac(r5) -/* 80274708 00271648 7D 89 03 A6 */ mtctr r12 -/* 8027470C 0027164C 4E 80 04 21 */ bctrl -/* 80274710 00271650 7F E4 FB 78 */ mr r4, r31 -/* 80274714 00271654 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80274718 00271658 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027471C 0027165C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80274720 00271660 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80274724 00271664 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80274728 00271668 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027472C 0027166C D0 41 00 08 */ stfs f2, 8(r1) -/* 80274730 00271670 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80274734 00271674 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80274738 00271678 7D 89 03 A6 */ mtctr r12 -/* 8027473C 0027167C 4E 80 04 21 */ bctrl -/* 80274740 00271680 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 80274744 00271684 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80274748 00271688 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 8027474C 0027168C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80274750 00271690 C0 21 00 08 */ lfs f1, 8(r1) -/* 80274754 00271694 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80274758 00271698 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 8027475C 0027169C EC 21 28 28 */ fsubs f1, f1, f5 -/* 80274760 002716A0 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80274764 002716A4 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80274768 002716A8 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8027476C 002716AC D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80274770 002716B0 4B DC 09 99 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80274774 002716B4 48 19 D4 5D */ bl roundAng__Ff -/* 80274778 002716B8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027477C 002716BC FF 00 08 90 */ fmr f24, f1 -/* 80274780 002716C0 7F E3 FB 78 */ mr r3, r31 -/* 80274784 002716C4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80274788 002716C8 7D 89 03 A6 */ mtctr r12 -/* 8027478C 002716CC 4E 80 04 21 */ bctrl -/* 80274790 002716D0 FC 40 08 90 */ fmr f2, f1 -/* 80274794 002716D4 FC 20 C0 90 */ fmr f1, f24 -/* 80274798 002716D8 48 19 D4 65 */ bl angDist__Fff -/* 8027479C 002716DC 7F E4 FB 78 */ mr r4, r31 -/* 802747A0 002716E0 FF 40 08 90 */ fmr f26, f1 -/* 802747A4 002716E4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802747A8 002716E8 38 61 00 44 */ addi r3, r1, 0x44 -/* 802747AC 002716EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802747B0 002716F0 7D 89 03 A6 */ mtctr r12 -/* 802747B4 002716F4 4E 80 04 21 */ bctrl -/* 802747B8 002716F8 7F A4 EB 78 */ mr r4, r29 -/* 802747BC 002716FC 38 61 00 38 */ addi r3, r1, 0x38 -/* 802747C0 00271700 81 9D 00 00 */ lwz r12, 0(r29) -/* 802747C4 00271704 C3 61 00 44 */ lfs f27, 0x44(r1) -/* 802747C8 00271708 81 8C 00 08 */ lwz r12, 8(r12) -/* 802747CC 0027170C 7D 89 03 A6 */ mtctr r12 -/* 802747D0 00271710 4E 80 04 21 */ bctrl -/* 802747D4 00271714 7F E4 FB 78 */ mr r4, r31 -/* 802747D8 00271718 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802747DC 0027171C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802747E0 00271720 38 61 00 5C */ addi r3, r1, 0x5c -/* 802747E4 00271724 EF 00 D8 28 */ fsubs f24, f0, f27 -/* 802747E8 00271728 81 8C 00 08 */ lwz r12, 8(r12) -/* 802747EC 0027172C 7D 89 03 A6 */ mtctr r12 -/* 802747F0 00271730 4E 80 04 21 */ bctrl -/* 802747F4 00271734 7F A4 EB 78 */ mr r4, r29 -/* 802747F8 00271738 38 61 00 50 */ addi r3, r1, 0x50 -/* 802747FC 0027173C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80274800 00271740 C3 61 00 60 */ lfs f27, 0x60(r1) -/* 80274804 00271744 81 8C 00 08 */ lwz r12, 8(r12) -/* 80274808 00271748 7D 89 03 A6 */ mtctr r12 -/* 8027480C 0027174C 4E 80 04 21 */ bctrl -/* 80274810 00271750 7F E4 FB 78 */ mr r4, r31 -/* 80274814 00271754 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80274818 00271758 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027481C 0027175C 38 61 00 74 */ addi r3, r1, 0x74 -/* 80274820 00271760 EF 20 D8 28 */ fsubs f25, f0, f27 -/* 80274824 00271764 81 8C 00 08 */ lwz r12, 8(r12) -/* 80274828 00271768 7D 89 03 A6 */ mtctr r12 -/* 8027482C 0027176C 4E 80 04 21 */ bctrl -/* 80274830 00271770 7F A4 EB 78 */ mr r4, r29 -/* 80274834 00271774 38 61 00 68 */ addi r3, r1, 0x68 -/* 80274838 00271778 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027483C 0027177C C3 61 00 7C */ lfs f27, 0x7c(r1) -/* 80274840 00271780 81 8C 00 08 */ lwz r12, 8(r12) -/* 80274844 00271784 7D 89 03 A6 */ mtctr r12 -/* 80274848 00271788 4E 80 04 21 */ bctrl -/* 8027484C 0027178C C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80274850 00271790 EC 3F 07 F2 */ fmuls f1, f31, f31 -/* 80274854 00271794 EC 5E 07 B2 */ fmuls f2, f30, f30 -/* 80274858 00271798 38 60 00 01 */ li r3, 1 -/* 8027485C 0027179C EC 00 D8 28 */ fsubs f0, f0, f27 -/* 80274860 002717A0 38 80 00 00 */ li r4, 0 -/* 80274864 002717A4 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80274868 002717A8 EC 18 06 3A */ fmadds f0, f24, f24, f0 -/* 8027486C 002717AC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80274870 002717B0 40 81 00 30 */ ble lbl_802748A0 -/* 80274874 002717B4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80274878 002717B8 7C 80 23 78 */ mr r0, r4 -/* 8027487C 002717BC 40 81 00 18 */ ble lbl_80274894 -/* 80274880 002717C0 FC 00 CA 10 */ fabs f0, f25 -/* 80274884 002717C4 FC 00 00 18 */ frsp f0, f0 -/* 80274888 002717C8 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 8027488C 002717CC 40 80 00 08 */ bge lbl_80274894 -/* 80274890 002717D0 7C 60 1B 78 */ mr r0, r3 -lbl_80274894: -/* 80274894 002717D4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80274898 002717D8 41 82 00 08 */ beq lbl_802748A0 -/* 8027489C 002717DC 38 80 00 01 */ li r4, 1 -lbl_802748A0: -/* 802748A0 002717E0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802748A4 002717E4 40 82 00 34 */ bne lbl_802748D8 -/* 802748A8 002717E8 C0 02 CF 60 */ lfs f0, lbl_8051B2C0@sda21(r2) -/* 802748AC 002717EC FC 40 D2 10 */ fabs f2, f26 -/* 802748B0 002717F0 C0 22 CF 5C */ lfs f1, lbl_8051B2BC@sda21(r2) -/* 802748B4 002717F4 EC 00 07 32 */ fmuls f0, f0, f28 -/* 802748B8 002717F8 FC 40 10 18 */ frsp f2, f2 -/* 802748BC 002717FC EC 01 00 32 */ fmuls f0, f1, f0 -/* 802748C0 00271800 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802748C4 00271804 4C 40 13 82 */ cror 2, 0, 2 -/* 802748C8 00271808 7C 00 00 26 */ mfcr r0 -/* 802748CC 0027180C 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f -/* 802748D0 00271810 41 82 00 08 */ beq lbl_802748D8 -/* 802748D4 00271814 38 60 00 00 */ li r3, 0 -lbl_802748D8: -/* 802748D8 00271818 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802748DC 0027181C 41 82 00 28 */ beq lbl_80274904 -/* 802748E0 00271820 7F C3 F3 78 */ mr r3, r30 -/* 802748E4 00271824 7F E4 FB 78 */ mr r4, r31 -/* 802748E8 00271828 81 9E 00 00 */ lwz r12, 0(r30) -/* 802748EC 0027182C 38 A0 00 01 */ li r5, 1 -/* 802748F0 00271830 38 C0 00 00 */ li r6, 0 -/* 802748F4 00271834 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802748F8 00271838 7D 89 03 A6 */ mtctr r12 -/* 802748FC 0027183C 4E 80 04 21 */ bctrl -/* 80274900 00271840 48 00 00 48 */ b lbl_80274948 -lbl_80274904: -/* 80274904 00271844 7F C3 F3 78 */ mr r3, r30 -/* 80274908 00271848 7F E4 FB 78 */ mr r4, r31 -/* 8027490C 0027184C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274910 00271850 38 A0 00 04 */ li r5, 4 -/* 80274914 00271854 38 C0 00 00 */ li r6, 0 -/* 80274918 00271858 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027491C 0027185C 7D 89 03 A6 */ mtctr r12 -/* 80274920 00271860 4E 80 04 21 */ bctrl -/* 80274924 00271864 48 00 00 24 */ b lbl_80274948 -lbl_80274928: -/* 80274928 00271868 7F C3 F3 78 */ mr r3, r30 -/* 8027492C 0027186C 7F E4 FB 78 */ mr r4, r31 -/* 80274930 00271870 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274934 00271874 38 A0 00 01 */ li r5, 1 -/* 80274938 00271878 38 C0 00 00 */ li r6, 0 -/* 8027493C 0027187C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274940 00271880 7D 89 03 A6 */ mtctr r12 -/* 80274944 00271884 4E 80 04 21 */ bctrl -lbl_80274948: -/* 80274948 00271888 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 8027494C 0027188C CB E1 01 20 */ lfd f31, 0x120(r1) -/* 80274950 00271890 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 80274954 00271894 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 80274958 00271898 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 8027495C 0027189C CB A1 01 00 */ lfd f29, 0x100(r1) -/* 80274960 002718A0 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 80274964 002718A4 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 80274968 002718A8 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 8027496C 002718AC CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 80274970 002718B0 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 -/* 80274974 002718B4 CB 41 00 D0 */ lfd f26, 0xd0(r1) -/* 80274978 002718B8 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 -/* 8027497C 002718BC CB 21 00 C0 */ lfd f25, 0xc0(r1) -/* 80274980 002718C0 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 -/* 80274984 002718C4 CB 01 00 B0 */ lfd f24, 0xb0(r1) -/* 80274988 002718C8 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8027498C 002718CC 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80274990 002718D0 80 01 01 34 */ lwz r0, 0x134(r1) -/* 80274994 002718D4 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80274998 002718D8 7C 08 03 A6 */ mtlr r0 -/* 8027499C 002718DC 38 21 01 30 */ addi r1, r1, 0x130 -/* 802749A0 002718E0 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tank9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game4Tank9StateMoveFPQ24Game9EnemyBase: -/* 802749A4 002718E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802749A8 002718E8 7C 08 02 A6 */ mflr r0 -/* 802749AC 002718EC C0 22 CF 50 */ lfs f1, lbl_8051B2B0@sda21(r2) -/* 802749B0 002718F0 7C 83 23 78 */ mr r3, r4 -/* 802749B4 002718F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802749B8 002718F8 4B E9 29 D9 */ bl setAnimSpeed__Q24Game9EnemyBaseFf -/* 802749BC 002718FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802749C0 00271900 7C 08 03 A6 */ mtlr r0 -/* 802749C4 00271904 38 21 00 10 */ addi r1, r1, 0x10 -/* 802749C8 00271908 4E 80 00 20 */ blr - -.global init__Q34Game4Tank13StateMoveTurnFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tank13StateMoveTurnFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802749CC 0027190C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802749D0 00271910 7C 08 02 A6 */ mflr r0 -/* 802749D4 00271914 C0 22 CF 64 */ lfs f1, lbl_8051B2C4@sda21(r2) -/* 802749D8 00271918 7C 83 23 78 */ mr r3, r4 -/* 802749DC 0027191C 90 01 00 24 */ stw r0, 0x24(r1) -/* 802749E0 00271920 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802749E4 00271924 C0 44 02 F4 */ lfs f2, 0x2f4(r4) -/* 802749E8 00271928 EC 22 08 2A */ fadds f1, f2, f1 -/* 802749EC 0027192C D0 24 02 F4 */ stfs f1, 0x2f4(r4) -/* 802749F0 00271930 C0 A4 02 F4 */ lfs f5, 0x2f4(r4) -/* 802749F4 00271934 C0 C4 01 98 */ lfs f6, 0x198(r4) -/* 802749F8 00271938 FC 20 28 90 */ fmr f1, f5 -/* 802749FC 0027193C C0 E4 01 9C */ lfs f7, 0x19c(r4) -/* 80274A00 00271940 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80274A04 00271944 C0 84 01 A0 */ lfs f4, 0x1a0(r4) -/* 80274A08 00271948 80 C4 00 C0 */ lwz r6, 0xc0(r4) -/* 80274A0C 0027194C 40 80 00 08 */ bge lbl_80274A14 -/* 80274A10 00271950 FC 20 28 50 */ fneg f1, f5 -lbl_80274A14: -/* 80274A14 00271954 C0 42 CF 68 */ lfs f2, lbl_8051B2C8@sda21(r2) -/* 80274A18 00271958 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 80274A1C 0027195C C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274A20 00271960 38 A4 71 A0 */ addi r5, r4, sincosTable___5JMath@l -/* 80274A24 00271964 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80274A28 00271968 C0 66 03 5C */ lfs f3, 0x35c(r6) -/* 80274A2C 0027196C FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80274A30 00271970 FC 00 08 1E */ fctiwz f0, f1 -/* 80274A34 00271974 D8 01 00 08 */ stfd f0, 8(r1) -/* 80274A38 00271978 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80274A3C 0027197C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80274A40 00271980 7C 85 02 14 */ add r4, r5, r0 -/* 80274A44 00271984 C0 04 00 04 */ lfs f0, 4(r4) -/* 80274A48 00271988 EC 83 20 3A */ fmadds f4, f3, f0, f4 -/* 80274A4C 0027198C 40 80 00 28 */ bge lbl_80274A74 -/* 80274A50 00271990 C0 02 CF 6C */ lfs f0, lbl_8051B2CC@sda21(r2) -/* 80274A54 00271994 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80274A58 00271998 FC 00 00 1E */ fctiwz f0, f0 -/* 80274A5C 0027199C D8 01 00 10 */ stfd f0, 0x10(r1) -/* 80274A60 002719A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80274A64 002719A4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80274A68 002719A8 7C 05 04 2E */ lfsx f0, r5, r0 -/* 80274A6C 002719AC FC 00 00 50 */ fneg f0, f0 -/* 80274A70 002719B0 48 00 00 1C */ b lbl_80274A8C -lbl_80274A74: -/* 80274A74 002719B4 EC 05 00 B2 */ fmuls f0, f5, f2 -/* 80274A78 002719B8 FC 00 00 1E */ fctiwz f0, f0 -/* 80274A7C 002719BC D8 01 00 18 */ stfd f0, 0x18(r1) -/* 80274A80 002719C0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80274A84 002719C4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80274A88 002719C8 7C 05 04 2E */ lfsx f0, r5, r0 -lbl_80274A8C: -/* 80274A8C 002719CC EC 23 30 3A */ fmadds f1, f3, f0, f6 -/* 80274A90 002719D0 38 00 00 00 */ li r0, 0 -/* 80274A94 002719D4 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274A98 002719D8 38 80 00 04 */ li r4, 4 -/* 80274A9C 002719DC 38 A0 00 00 */ li r5, 0 -/* 80274AA0 002719E0 D0 23 02 F8 */ stfs f1, 0x2f8(r3) -/* 80274AA4 002719E4 D0 E3 02 FC */ stfs f7, 0x2fc(r3) -/* 80274AA8 002719E8 D0 83 03 00 */ stfs f4, 0x300(r3) -/* 80274AAC 002719EC 90 03 02 30 */ stw r0, 0x230(r3) -/* 80274AB0 002719F0 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80274AB4 002719F4 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80274AB8 002719F8 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80274ABC 002719FC 4B E9 05 49 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80274AC0 00271A00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80274AC4 00271A04 7C 08 03 A6 */ mtlr r0 -/* 80274AC8 00271A08 38 21 00 20 */ addi r1, r1, 0x20 -/* 80274ACC 00271A0C 4E 80 00 20 */ blr - -.global exec__Q34Game4Tank13StateMoveTurnFPQ24Game9EnemyBase -exec__Q34Game4Tank13StateMoveTurnFPQ24Game9EnemyBase: -/* 80274AD0 00271A10 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80274AD4 00271A14 7C 08 02 A6 */ mflr r0 -/* 80274AD8 00271A18 90 01 00 74 */ stw r0, 0x74(r1) -/* 80274ADC 00271A1C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80274AE0 00271A20 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80274AE4 00271A24 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80274AE8 00271A28 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80274AEC 00271A2C DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80274AF0 00271A30 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80274AF4 00271A34 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 80274AF8 00271A38 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 80274AFC 00271A3C DB 61 00 20 */ stfd f27, 0x20(r1) -/* 80274B00 00271A40 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 -/* 80274B04 00271A44 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80274B08 00271A48 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80274B0C 00271A4C 7C 9F 23 78 */ mr r31, r4 -/* 80274B10 00271A50 7C 7E 1B 78 */ mr r30, r3 -/* 80274B14 00271A54 7F E3 FB 78 */ mr r3, r31 -/* 80274B18 00271A58 48 00 20 D1 */ bl getViewAngle__Q34Game4Tank3ObjFv -/* 80274B1C 00271A5C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80274B20 00271A60 FF E0 08 90 */ fmr f31, f1 -/* 80274B24 00271A64 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80274B28 00271A68 7F E4 FB 78 */ mr r4, r31 -/* 80274B2C 00271A6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80274B30 00271A70 38 61 00 08 */ addi r3, r1, 8 -/* 80274B34 00271A74 C3 DF 02 F8 */ lfs f30, 0x2f8(r31) -/* 80274B38 00271A78 C3 7F 03 00 */ lfs f27, 0x300(r31) -/* 80274B3C 00271A7C C3 85 03 34 */ lfs f28, 0x334(r5) -/* 80274B40 00271A80 C3 A5 03 0C */ lfs f29, 0x30c(r5) -/* 80274B44 00271A84 7D 89 03 A6 */ mtctr r12 -/* 80274B48 00271A88 4E 80 04 21 */ bctrl -/* 80274B4C 00271A8C C0 21 00 08 */ lfs f1, 8(r1) -/* 80274B50 00271A90 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80274B54 00271A94 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80274B58 00271A98 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80274B5C 00271A9C EC 3E 08 28 */ fsubs f1, f30, f1 -/* 80274B60 00271AA0 EC 5B 00 28 */ fsubs f2, f27, f0 -/* 80274B64 00271AA4 4B DC 05 A5 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80274B68 00271AA8 48 19 D0 69 */ bl roundAng__Ff -/* 80274B6C 00271AAC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80274B70 00271AB0 FF C0 08 90 */ fmr f30, f1 -/* 80274B74 00271AB4 7F E3 FB 78 */ mr r3, r31 -/* 80274B78 00271AB8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80274B7C 00271ABC 7D 89 03 A6 */ mtctr r12 -/* 80274B80 00271AC0 4E 80 04 21 */ bctrl -/* 80274B84 00271AC4 FC 40 08 90 */ fmr f2, f1 -/* 80274B88 00271AC8 FC 20 F0 90 */ fmr f1, f30 -/* 80274B8C 00271ACC 48 19 D0 71 */ bl angDist__Fff -/* 80274B90 00271AD0 FF C0 08 90 */ fmr f30, f1 -/* 80274B94 00271AD4 C0 02 CF 60 */ lfs f0, lbl_8051B2C0@sda21(r2) -/* 80274B98 00271AD8 C0 22 CF 5C */ lfs f1, lbl_8051B2BC@sda21(r2) -/* 80274B9C 00271ADC EC 00 07 32 */ fmuls f0, f0, f28 -/* 80274BA0 00271AE0 EF 9E 07 72 */ fmuls f28, f30, f29 -/* 80274BA4 00271AE4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80274BA8 00271AE8 FC 00 E2 10 */ fabs f0, f28 -/* 80274BAC 00271AEC FC 00 00 18 */ frsp f0, f0 -/* 80274BB0 00271AF0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80274BB4 00271AF4 40 81 00 1C */ ble lbl_80274BD0 -/* 80274BB8 00271AF8 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274BBC 00271AFC FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80274BC0 00271B00 40 81 00 0C */ ble lbl_80274BCC -/* 80274BC4 00271B04 FF 80 08 90 */ fmr f28, f1 -/* 80274BC8 00271B08 48 00 00 08 */ b lbl_80274BD0 -lbl_80274BCC: -/* 80274BCC 00271B0C FF 80 08 50 */ fneg f28, f1 -lbl_80274BD0: -/* 80274BD0 00271B10 7F E3 FB 78 */ mr r3, r31 -/* 80274BD4 00271B14 81 9F 00 00 */ lwz r12, 0(r31) -/* 80274BD8 00271B18 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80274BDC 00271B1C 7D 89 03 A6 */ mtctr r12 -/* 80274BE0 00271B20 4E 80 04 21 */ bctrl -/* 80274BE4 00271B24 EC 3C 08 2A */ fadds f1, f28, f1 -/* 80274BE8 00271B28 48 19 CF E9 */ bl roundAng__Ff -/* 80274BEC 00271B2C D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80274BF0 00271B30 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274BF4 00271B34 C0 3F 01 FC */ lfs f1, 0x1fc(r31) -/* 80274BF8 00271B38 D0 3F 01 A8 */ stfs f1, 0x1a8(r31) -/* 80274BFC 00271B3C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80274C00 00271B40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80274C04 00271B44 4C 40 13 82 */ cror 2, 0, 2 -/* 80274C08 00271B48 40 82 00 28 */ bne lbl_80274C30 -/* 80274C0C 00271B4C 7F C3 F3 78 */ mr r3, r30 -/* 80274C10 00271B50 7F E4 FB 78 */ mr r4, r31 -/* 80274C14 00271B54 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274C18 00271B58 38 A0 00 00 */ li r5, 0 -/* 80274C1C 00271B5C 38 C0 00 00 */ li r6, 0 -/* 80274C20 00271B60 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274C24 00271B64 7D 89 03 A6 */ mtctr r12 -/* 80274C28 00271B68 4E 80 04 21 */ bctrl -/* 80274C2C 00271B6C 48 00 01 C8 */ b lbl_80274DF4 -lbl_80274C30: -/* 80274C30 00271B70 7F E3 FB 78 */ mr r3, r31 -/* 80274C34 00271B74 38 80 00 00 */ li r4, 0 -/* 80274C38 00271B78 4B E9 FA 21 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80274C3C 00271B7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274C40 00271B80 40 82 00 30 */ bne lbl_80274C70 -/* 80274C44 00271B84 7F E3 FB 78 */ mr r3, r31 -/* 80274C48 00271B88 38 80 00 00 */ li r4, 0 -/* 80274C4C 00271B8C 48 00 18 B5 */ bl isAttackable__Q34Game4Tank3ObjFb -/* 80274C50 00271B90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274C54 00271B94 40 82 00 1C */ bne lbl_80274C70 -/* 80274C58 00271B98 FC 20 F2 10 */ fabs f1, f30 -/* 80274C5C 00271B9C C0 02 CF 70 */ lfs f0, lbl_8051B2D0@sda21(r2) -/* 80274C60 00271BA0 FC 20 08 18 */ frsp f1, f1 -/* 80274C64 00271BA4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80274C68 00271BA8 4C 40 13 82 */ cror 2, 0, 2 -/* 80274C6C 00271BAC 40 82 00 1C */ bne lbl_80274C88 -lbl_80274C70: -/* 80274C70 00271BB0 7F E3 FB 78 */ mr r3, r31 -/* 80274C74 00271BB4 4B E9 06 2D */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80274C78 00271BB8 C0 22 CF 34 */ lfs f1, lbl_8051B294@sda21(r2) -/* 80274C7C 00271BBC 7F E3 FB 78 */ mr r3, r31 -/* 80274C80 00271BC0 4B E9 27 11 */ bl setAnimSpeed__Q24Game9EnemyBaseFf -/* 80274C84 00271BC4 48 00 00 34 */ b lbl_80274CB8 -lbl_80274C88: -/* 80274C88 00271BC8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80274C8C 00271BCC FC 20 F8 90 */ fmr f1, f31 -/* 80274C90 00271BD0 7F E3 FB 78 */ mr r3, r31 -/* 80274C94 00271BD4 38 80 00 00 */ li r4, 0 -/* 80274C98 00271BD8 C0 45 03 D4 */ lfs f2, 0x3d4(r5) -/* 80274C9C 00271BDC 38 A0 00 00 */ li r5, 0 -/* 80274CA0 00271BE0 38 C0 00 00 */ li r6, 0 -/* 80274CA4 00271BE4 4B E9 E3 AD */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80274CA8 00271BE8 28 03 00 00 */ cmplwi r3, 0 -/* 80274CAC 00271BEC 41 82 00 0C */ beq lbl_80274CB8 -/* 80274CB0 00271BF0 7F E3 FB 78 */ mr r3, r31 -/* 80274CB4 00271BF4 4B E9 05 ED */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80274CB8: -/* 80274CB8 00271BF8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80274CBC 00271BFC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80274CC0 00271C00 28 00 00 00 */ cmplwi r0, 0 -/* 80274CC4 00271C04 41 82 01 30 */ beq lbl_80274DF4 -/* 80274CC8 00271C08 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80274CCC 00271C0C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80274CD0 00271C10 40 82 01 24 */ bne lbl_80274DF4 -/* 80274CD4 00271C14 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80274CD8 00271C18 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274CDC 00271C1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80274CE0 00271C20 4C 40 13 82 */ cror 2, 0, 2 -/* 80274CE4 00271C24 40 82 00 28 */ bne lbl_80274D0C -/* 80274CE8 00271C28 7F C3 F3 78 */ mr r3, r30 -/* 80274CEC 00271C2C 7F E4 FB 78 */ mr r4, r31 -/* 80274CF0 00271C30 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274CF4 00271C34 38 A0 00 00 */ li r5, 0 -/* 80274CF8 00271C38 38 C0 00 00 */ li r6, 0 -/* 80274CFC 00271C3C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274D00 00271C40 7D 89 03 A6 */ mtctr r12 -/* 80274D04 00271C44 4E 80 04 21 */ bctrl -/* 80274D08 00271C48 48 00 00 EC */ b lbl_80274DF4 -lbl_80274D0C: -/* 80274D0C 00271C4C 7F E3 FB 78 */ mr r3, r31 -/* 80274D10 00271C50 38 80 00 00 */ li r4, 0 -/* 80274D14 00271C54 4B E9 F9 45 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80274D18 00271C58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274D1C 00271C5C 41 82 00 28 */ beq lbl_80274D44 -/* 80274D20 00271C60 7F C3 F3 78 */ mr r3, r30 -/* 80274D24 00271C64 7F E4 FB 78 */ mr r4, r31 -/* 80274D28 00271C68 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274D2C 00271C6C 38 A0 00 06 */ li r5, 6 -/* 80274D30 00271C70 38 C0 00 00 */ li r6, 0 -/* 80274D34 00271C74 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274D38 00271C78 7D 89 03 A6 */ mtctr r12 -/* 80274D3C 00271C7C 4E 80 04 21 */ bctrl -/* 80274D40 00271C80 48 00 00 B4 */ b lbl_80274DF4 -lbl_80274D44: -/* 80274D44 00271C84 7F E3 FB 78 */ mr r3, r31 -/* 80274D48 00271C88 38 80 00 00 */ li r4, 0 -/* 80274D4C 00271C8C 48 00 17 B5 */ bl isAttackable__Q34Game4Tank3ObjFb -/* 80274D50 00271C90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274D54 00271C94 41 82 00 28 */ beq lbl_80274D7C -/* 80274D58 00271C98 7F C3 F3 78 */ mr r3, r30 -/* 80274D5C 00271C9C 7F E4 FB 78 */ mr r4, r31 -/* 80274D60 00271CA0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274D64 00271CA4 38 A0 00 05 */ li r5, 5 -/* 80274D68 00271CA8 38 C0 00 00 */ li r6, 0 -/* 80274D6C 00271CAC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274D70 00271CB0 7D 89 03 A6 */ mtctr r12 -/* 80274D74 00271CB4 4E 80 04 21 */ bctrl -/* 80274D78 00271CB8 48 00 00 7C */ b lbl_80274DF4 -lbl_80274D7C: -/* 80274D7C 00271CBC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80274D80 00271CC0 FC 20 F8 90 */ fmr f1, f31 -/* 80274D84 00271CC4 7F E3 FB 78 */ mr r3, r31 -/* 80274D88 00271CC8 38 80 00 00 */ li r4, 0 -/* 80274D8C 00271CCC C0 45 03 D4 */ lfs f2, 0x3d4(r5) -/* 80274D90 00271CD0 38 A0 00 00 */ li r5, 0 -/* 80274D94 00271CD4 38 C0 00 00 */ li r6, 0 -/* 80274D98 00271CD8 4B E9 E2 B9 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80274D9C 00271CDC 28 03 00 00 */ cmplwi r3, 0 -/* 80274DA0 00271CE0 41 82 00 34 */ beq lbl_80274DD4 -/* 80274DA4 00271CE4 90 7F 02 30 */ stw r3, 0x230(r31) -/* 80274DA8 00271CE8 7F C3 F3 78 */ mr r3, r30 -/* 80274DAC 00271CEC C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274DB0 00271CF0 7F E4 FB 78 */ mr r4, r31 -/* 80274DB4 00271CF4 38 A0 00 04 */ li r5, 4 -/* 80274DB8 00271CF8 38 C0 00 00 */ li r6, 0 -/* 80274DBC 00271CFC D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80274DC0 00271D00 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274DC4 00271D04 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274DC8 00271D08 7D 89 03 A6 */ mtctr r12 -/* 80274DCC 00271D0C 4E 80 04 21 */ bctrl -/* 80274DD0 00271D10 48 00 00 24 */ b lbl_80274DF4 -lbl_80274DD4: -/* 80274DD4 00271D14 7F C3 F3 78 */ mr r3, r30 -/* 80274DD8 00271D18 7F E4 FB 78 */ mr r4, r31 -/* 80274DDC 00271D1C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274DE0 00271D20 38 A0 00 02 */ li r5, 2 -/* 80274DE4 00271D24 38 C0 00 00 */ li r6, 0 -/* 80274DE8 00271D28 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274DEC 00271D2C 7D 89 03 A6 */ mtctr r12 -/* 80274DF0 00271D30 4E 80 04 21 */ bctrl -lbl_80274DF4: -/* 80274DF4 00271D34 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80274DF8 00271D38 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80274DFC 00271D3C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80274E00 00271D40 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80274E04 00271D44 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80274E08 00271D48 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80274E0C 00271D4C E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 80274E10 00271D50 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 80274E14 00271D54 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 -/* 80274E18 00271D58 CB 61 00 20 */ lfd f27, 0x20(r1) -/* 80274E1C 00271D5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80274E20 00271D60 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80274E24 00271D64 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80274E28 00271D68 7C 08 03 A6 */ mtlr r0 -/* 80274E2C 00271D6C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80274E30 00271D70 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tank13StateMoveTurnFPQ24Game9EnemyBase -cleanup__Q34Game4Tank13StateMoveTurnFPQ24Game9EnemyBase: -/* 80274E34 00271D74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80274E38 00271D78 7C 08 02 A6 */ mflr r0 -/* 80274E3C 00271D7C C0 22 CF 50 */ lfs f1, lbl_8051B2B0@sda21(r2) -/* 80274E40 00271D80 7C 83 23 78 */ mr r3, r4 -/* 80274E44 00271D84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80274E48 00271D88 4B E9 25 49 */ bl setAnimSpeed__Q24Game9EnemyBaseFf -/* 80274E4C 00271D8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80274E50 00271D90 7C 08 03 A6 */ mtlr r0 -/* 80274E54 00271D94 38 21 00 10 */ addi r1, r1, 0x10 -/* 80274E58 00271D98 4E 80 00 20 */ blr - -.global init__Q34Game4Tank14StateChaseTurnFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tank14StateChaseTurnFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80274E5C 00271D9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80274E60 00271DA0 7C 08 02 A6 */ mflr r0 -/* 80274E64 00271DA4 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274E68 00271DA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80274E6C 00271DAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80274E70 00271DB0 7C 9F 23 78 */ mr r31, r4 -/* 80274E74 00271DB4 7F E3 FB 78 */ mr r3, r31 -/* 80274E78 00271DB8 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80274E7C 00271DBC D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80274E80 00271DC0 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80274E84 00271DC4 4B E8 CB 49 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80274E88 00271DC8 7F E3 FB 78 */ mr r3, r31 -/* 80274E8C 00271DCC 38 80 00 04 */ li r4, 4 -/* 80274E90 00271DD0 38 A0 00 00 */ li r5, 0 -/* 80274E94 00271DD4 4B E9 01 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80274E98 00271DD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80274E9C 00271DDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80274EA0 00271DE0 7C 08 03 A6 */ mtlr r0 -/* 80274EA4 00271DE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80274EA8 00271DE8 4E 80 00 20 */ blr - -.global exec__Q34Game4Tank14StateChaseTurnFPQ24Game9EnemyBase -exec__Q34Game4Tank14StateChaseTurnFPQ24Game9EnemyBase: -/* 80274EAC 00271DEC 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80274EB0 00271DF0 7C 08 02 A6 */ mflr r0 -/* 80274EB4 00271DF4 90 01 01 14 */ stw r0, 0x114(r1) -/* 80274EB8 00271DF8 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 80274EBC 00271DFC F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 80274EC0 00271E00 DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 80274EC4 00271E04 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 80274EC8 00271E08 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 80274ECC 00271E0C F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 80274ED0 00271E10 DB 81 00 D0 */ stfd f28, 0xd0(r1) -/* 80274ED4 00271E14 F3 81 00 D8 */ psq_st f28, 216(r1), 0, qr0 -/* 80274ED8 00271E18 DB 61 00 C0 */ stfd f27, 0xc0(r1) -/* 80274EDC 00271E1C F3 61 00 C8 */ psq_st f27, 200(r1), 0, qr0 -/* 80274EE0 00271E20 DB 41 00 B0 */ stfd f26, 0xb0(r1) -/* 80274EE4 00271E24 F3 41 00 B8 */ psq_st f26, 184(r1), 0, qr0 -/* 80274EE8 00271E28 DB 21 00 A0 */ stfd f25, 0xa0(r1) -/* 80274EEC 00271E2C F3 21 00 A8 */ psq_st f25, 168(r1), 0, qr0 -/* 80274EF0 00271E30 DB 01 00 90 */ stfd f24, 0x90(r1) -/* 80274EF4 00271E34 F3 01 00 98 */ psq_st f24, 152(r1), 0, qr0 -/* 80274EF8 00271E38 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80274EFC 00271E3C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80274F00 00271E40 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80274F04 00271E44 7C 9F 23 78 */ mr r31, r4 -/* 80274F08 00271E48 7C 7E 1B 78 */ mr r30, r3 -/* 80274F0C 00271E4C 7F E3 FB 78 */ mr r3, r31 -/* 80274F10 00271E50 48 00 1C D9 */ bl getViewAngle__Q34Game4Tank3ObjFv -/* 80274F14 00271E54 C0 5F 02 00 */ lfs f2, 0x200(r31) -/* 80274F18 00271E58 FF E0 08 90 */ fmr f31, f1 -/* 80274F1C 00271E5C C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274F20 00271E60 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80274F24 00271E64 4C 40 13 82 */ cror 2, 0, 2 -/* 80274F28 00271E68 40 82 00 28 */ bne lbl_80274F50 -/* 80274F2C 00271E6C 7F C3 F3 78 */ mr r3, r30 -/* 80274F30 00271E70 7F E4 FB 78 */ mr r4, r31 -/* 80274F34 00271E74 81 9E 00 00 */ lwz r12, 0(r30) -/* 80274F38 00271E78 38 A0 00 00 */ li r5, 0 -/* 80274F3C 00271E7C 38 C0 00 00 */ li r6, 0 -/* 80274F40 00271E80 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80274F44 00271E84 7D 89 03 A6 */ mtctr r12 -/* 80274F48 00271E88 4E 80 04 21 */ bctrl -/* 80274F4C 00271E8C 48 00 04 F8 */ b lbl_80275444 -lbl_80274F50: -/* 80274F50 00271E90 7F E3 FB 78 */ mr r3, r31 -/* 80274F54 00271E94 38 80 00 00 */ li r4, 0 -/* 80274F58 00271E98 4B E9 F7 01 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80274F5C 00271E9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274F60 00271EA0 40 82 00 18 */ bne lbl_80274F78 -/* 80274F64 00271EA4 7F E3 FB 78 */ mr r3, r31 -/* 80274F68 00271EA8 38 80 00 00 */ li r4, 0 -/* 80274F6C 00271EAC 48 00 15 95 */ bl isAttackable__Q34Game4Tank3ObjFb -/* 80274F70 00271EB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80274F74 00271EB4 41 82 00 18 */ beq lbl_80274F8C -lbl_80274F78: -/* 80274F78 00271EB8 7F E3 FB 78 */ mr r3, r31 -/* 80274F7C 00271EBC 4B E9 03 25 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80274F80 00271EC0 C0 22 CF 34 */ lfs f1, lbl_8051B294@sda21(r2) -/* 80274F84 00271EC4 7F E3 FB 78 */ mr r3, r31 -/* 80274F88 00271EC8 4B E9 24 09 */ bl setAnimSpeed__Q24Game9EnemyBaseFf -lbl_80274F8C: -/* 80274F8C 00271ECC 83 BF 02 30 */ lwz r29, 0x230(r31) -/* 80274F90 00271ED0 28 1D 00 00 */ cmplwi r29, 0 -/* 80274F94 00271ED4 41 82 02 7C */ beq lbl_80275210 -/* 80274F98 00271ED8 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80274F9C 00271EDC 7F A4 EB 78 */ mr r4, r29 -/* 80274FA0 00271EE0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80274FA4 00271EE4 D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80274FA8 00271EE8 81 9D 00 00 */ lwz r12, 0(r29) -/* 80274FAC 00271EEC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80274FB0 00271EF0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80274FB4 00271EF4 C3 85 03 34 */ lfs f28, 0x334(r5) -/* 80274FB8 00271EF8 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80274FBC 00271EFC 7D 89 03 A6 */ mtctr r12 -/* 80274FC0 00271F00 4E 80 04 21 */ bctrl -/* 80274FC4 00271F04 7F E4 FB 78 */ mr r4, r31 -/* 80274FC8 00271F08 38 61 00 20 */ addi r3, r1, 0x20 -/* 80274FCC 00271F0C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80274FD0 00271F10 C3 01 00 14 */ lfs f24, 0x14(r1) -/* 80274FD4 00271F14 81 8C 00 08 */ lwz r12, 8(r12) -/* 80274FD8 00271F18 C3 21 00 1C */ lfs f25, 0x1c(r1) -/* 80274FDC 00271F1C 7D 89 03 A6 */ mtctr r12 -/* 80274FE0 00271F20 4E 80 04 21 */ bctrl -/* 80274FE4 00271F24 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80274FE8 00271F28 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80274FEC 00271F2C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80274FF0 00271F30 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80274FF4 00271F34 EC 38 08 28 */ fsubs f1, f24, f1 -/* 80274FF8 00271F38 EC 59 00 28 */ fsubs f2, f25, f0 -/* 80274FFC 00271F3C 4B DC 01 0D */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80275000 00271F40 48 19 CB D1 */ bl roundAng__Ff -/* 80275004 00271F44 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275008 00271F48 FF 00 08 90 */ fmr f24, f1 -/* 8027500C 00271F4C 7F E3 FB 78 */ mr r3, r31 -/* 80275010 00271F50 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80275014 00271F54 7D 89 03 A6 */ mtctr r12 -/* 80275018 00271F58 4E 80 04 21 */ bctrl -/* 8027501C 00271F5C FC 40 08 90 */ fmr f2, f1 -/* 80275020 00271F60 FC 20 C0 90 */ fmr f1, f24 -/* 80275024 00271F64 48 19 CB D9 */ bl angDist__Fff -/* 80275028 00271F68 FF A0 08 90 */ fmr f29, f1 -/* 8027502C 00271F6C C0 02 CF 60 */ lfs f0, lbl_8051B2C0@sda21(r2) -/* 80275030 00271F70 C0 22 CF 5C */ lfs f1, lbl_8051B2BC@sda21(r2) -/* 80275034 00271F74 EC 00 07 32 */ fmuls f0, f0, f28 -/* 80275038 00271F78 EF 1D 07 B2 */ fmuls f24, f29, f30 -/* 8027503C 00271F7C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80275040 00271F80 FC 00 C2 10 */ fabs f0, f24 -/* 80275044 00271F84 FC 00 00 18 */ frsp f0, f0 -/* 80275048 00271F88 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8027504C 00271F8C 40 81 00 1C */ ble lbl_80275068 -/* 80275050 00271F90 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80275054 00271F94 FC 18 00 40 */ fcmpo cr0, f24, f0 -/* 80275058 00271F98 40 81 00 0C */ ble lbl_80275064 -/* 8027505C 00271F9C FF 00 08 90 */ fmr f24, f1 -/* 80275060 00271FA0 48 00 00 08 */ b lbl_80275068 -lbl_80275064: -/* 80275064 00271FA4 FF 00 08 50 */ fneg f24, f1 -lbl_80275068: -/* 80275068 00271FA8 7F E3 FB 78 */ mr r3, r31 -/* 8027506C 00271FAC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275070 00271FB0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80275074 00271FB4 7D 89 03 A6 */ mtctr r12 -/* 80275078 00271FB8 4E 80 04 21 */ bctrl -/* 8027507C 00271FBC EC 38 08 2A */ fadds f1, f24, f1 -/* 80275080 00271FC0 48 19 CB 51 */ bl roundAng__Ff -/* 80275084 00271FC4 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80275088 00271FC8 7F A3 EB 78 */ mr r3, r29 -/* 8027508C 00271FCC C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80275090 00271FD0 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80275094 00271FD4 81 9D 00 00 */ lwz r12, 0(r29) -/* 80275098 00271FD8 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8027509C 00271FDC 7D 89 03 A6 */ mtctr r12 -/* 802750A0 00271FE0 4E 80 04 21 */ bctrl -/* 802750A4 00271FE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802750A8 00271FE8 41 82 01 54 */ beq lbl_802751FC -/* 802750AC 00271FEC 7F E4 FB 78 */ mr r4, r31 -/* 802750B0 00271FF0 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802750B4 00271FF4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802750B8 00271FF8 38 61 00 38 */ addi r3, r1, 0x38 -/* 802750BC 00271FFC C3 05 03 FC */ lfs f24, 0x3fc(r5) -/* 802750C0 00272000 81 8C 00 08 */ lwz r12, 8(r12) -/* 802750C4 00272004 C3 25 03 D4 */ lfs f25, 0x3d4(r5) -/* 802750C8 00272008 C3 45 03 AC */ lfs f26, 0x3ac(r5) -/* 802750CC 0027200C 7D 89 03 A6 */ mtctr r12 -/* 802750D0 00272010 4E 80 04 21 */ bctrl -/* 802750D4 00272014 7F A4 EB 78 */ mr r4, r29 -/* 802750D8 00272018 38 61 00 2C */ addi r3, r1, 0x2c -/* 802750DC 0027201C 81 9D 00 00 */ lwz r12, 0(r29) -/* 802750E0 00272020 C3 C1 00 38 */ lfs f30, 0x38(r1) -/* 802750E4 00272024 81 8C 00 08 */ lwz r12, 8(r12) -/* 802750E8 00272028 7D 89 03 A6 */ mtctr r12 -/* 802750EC 0027202C 4E 80 04 21 */ bctrl -/* 802750F0 00272030 7F E4 FB 78 */ mr r4, r31 -/* 802750F4 00272034 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 802750F8 00272038 81 9F 00 00 */ lwz r12, 0(r31) -/* 802750FC 0027203C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80275100 00272040 EF 60 F0 28 */ fsubs f27, f0, f30 -/* 80275104 00272044 81 8C 00 08 */ lwz r12, 8(r12) -/* 80275108 00272048 7D 89 03 A6 */ mtctr r12 -/* 8027510C 0027204C 4E 80 04 21 */ bctrl -/* 80275110 00272050 7F A4 EB 78 */ mr r4, r29 -/* 80275114 00272054 38 61 00 44 */ addi r3, r1, 0x44 -/* 80275118 00272058 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027511C 0027205C C3 C1 00 54 */ lfs f30, 0x54(r1) -/* 80275120 00272060 81 8C 00 08 */ lwz r12, 8(r12) -/* 80275124 00272064 7D 89 03 A6 */ mtctr r12 -/* 80275128 00272068 4E 80 04 21 */ bctrl -/* 8027512C 0027206C 7F E4 FB 78 */ mr r4, r31 -/* 80275130 00272070 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80275134 00272074 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275138 00272078 38 61 00 68 */ addi r3, r1, 0x68 -/* 8027513C 0027207C EF 80 F0 28 */ fsubs f28, f0, f30 -/* 80275140 00272080 81 8C 00 08 */ lwz r12, 8(r12) -/* 80275144 00272084 7D 89 03 A6 */ mtctr r12 -/* 80275148 00272088 4E 80 04 21 */ bctrl -/* 8027514C 0027208C 7F A4 EB 78 */ mr r4, r29 -/* 80275150 00272090 38 61 00 5C */ addi r3, r1, 0x5c -/* 80275154 00272094 81 9D 00 00 */ lwz r12, 0(r29) -/* 80275158 00272098 C3 C1 00 70 */ lfs f30, 0x70(r1) -/* 8027515C 0027209C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80275160 002720A0 7D 89 03 A6 */ mtctr r12 -/* 80275164 002720A4 4E 80 04 21 */ bctrl -/* 80275168 002720A8 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8027516C 002720AC EF 5A 06 B2 */ fmuls f26, f26, f26 -/* 80275170 002720B0 EF 39 06 72 */ fmuls f25, f25, f25 -/* 80275174 002720B4 38 60 00 01 */ li r3, 1 -/* 80275178 002720B8 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8027517C 002720BC 38 80 00 00 */ li r4, 0 -/* 80275180 002720C0 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80275184 002720C4 EC 1B 06 FA */ fmadds f0, f27, f27, f0 -/* 80275188 002720C8 FC 00 D0 40 */ fcmpo cr0, f0, f26 -/* 8027518C 002720CC 40 81 00 30 */ ble lbl_802751BC -/* 80275190 002720D0 FC 00 C8 40 */ fcmpo cr0, f0, f25 -/* 80275194 002720D4 7C 80 23 78 */ mr r0, r4 -/* 80275198 002720D8 40 81 00 18 */ ble lbl_802751B0 -/* 8027519C 002720DC FC 00 E2 10 */ fabs f0, f28 -/* 802751A0 002720E0 FC 00 00 18 */ frsp f0, f0 -/* 802751A4 002720E4 FC 00 C0 40 */ fcmpo cr0, f0, f24 -/* 802751A8 002720E8 40 80 00 08 */ bge lbl_802751B0 -/* 802751AC 002720EC 7C 60 1B 78 */ mr r0, r3 -lbl_802751B0: -/* 802751B0 002720F0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 802751B4 002720F4 41 82 00 08 */ beq lbl_802751BC -/* 802751B8 002720F8 38 80 00 01 */ li r4, 1 -lbl_802751BC: -/* 802751BC 002720FC 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 802751C0 00272100 40 82 00 34 */ bne lbl_802751F4 -/* 802751C4 00272104 C0 02 CF 60 */ lfs f0, lbl_8051B2C0@sda21(r2) -/* 802751C8 00272108 FC 40 EA 10 */ fabs f2, f29 -/* 802751CC 0027210C C0 22 CF 5C */ lfs f1, lbl_8051B2BC@sda21(r2) -/* 802751D0 00272110 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 802751D4 00272114 FC 40 10 18 */ frsp f2, f2 -/* 802751D8 00272118 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802751DC 0027211C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802751E0 00272120 4C 40 13 82 */ cror 2, 0, 2 -/* 802751E4 00272124 7C 00 00 26 */ mfcr r0 -/* 802751E8 00272128 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f -/* 802751EC 0027212C 41 82 00 08 */ beq lbl_802751F4 -/* 802751F0 00272130 38 60 00 00 */ li r3, 0 -lbl_802751F4: -/* 802751F4 00272134 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802751F8 00272138 41 82 01 10 */ beq lbl_80275308 -lbl_802751FC: -/* 802751FC 0027213C 38 00 00 00 */ li r0, 0 -/* 80275200 00272140 7F E3 FB 78 */ mr r3, r31 -/* 80275204 00272144 90 1F 02 30 */ stw r0, 0x230(r31) -/* 80275208 00272148 4B E9 00 99 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8027520C 0027214C 48 00 00 FC */ b lbl_80275308 -lbl_80275210: -/* 80275210 00272150 7F E4 FB 78 */ mr r4, r31 -/* 80275214 00272154 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80275218 00272158 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027521C 0027215C 38 61 00 08 */ addi r3, r1, 8 -/* 80275220 00272160 C3 5F 02 F8 */ lfs f26, 0x2f8(r31) -/* 80275224 00272164 81 8C 00 08 */ lwz r12, 8(r12) -/* 80275228 00272168 C3 7F 03 00 */ lfs f27, 0x300(r31) -/* 8027522C 0027216C C3 25 03 34 */ lfs f25, 0x334(r5) -/* 80275230 00272170 C3 05 03 0C */ lfs f24, 0x30c(r5) -/* 80275234 00272174 7D 89 03 A6 */ mtctr r12 -/* 80275238 00272178 4E 80 04 21 */ bctrl -/* 8027523C 0027217C C0 21 00 08 */ lfs f1, 8(r1) -/* 80275240 00272180 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80275244 00272184 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80275248 00272188 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8027524C 0027218C EC 3A 08 28 */ fsubs f1, f26, f1 -/* 80275250 00272190 EC 5B 00 28 */ fsubs f2, f27, f0 -/* 80275254 00272194 4B DB FE B5 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80275258 00272198 48 19 C9 79 */ bl roundAng__Ff -/* 8027525C 0027219C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275260 002721A0 FF 40 08 90 */ fmr f26, f1 -/* 80275264 002721A4 7F E3 FB 78 */ mr r3, r31 -/* 80275268 002721A8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027526C 002721AC 7D 89 03 A6 */ mtctr r12 -/* 80275270 002721B0 4E 80 04 21 */ bctrl -/* 80275274 002721B4 FC 40 08 90 */ fmr f2, f1 -/* 80275278 002721B8 FC 20 D0 90 */ fmr f1, f26 -/* 8027527C 002721BC 48 19 C9 81 */ bl angDist__Fff -/* 80275280 002721C0 FF C0 08 90 */ fmr f30, f1 -/* 80275284 002721C4 C0 02 CF 60 */ lfs f0, lbl_8051B2C0@sda21(r2) -/* 80275288 002721C8 C0 22 CF 5C */ lfs f1, lbl_8051B2BC@sda21(r2) -/* 8027528C 002721CC EC 00 06 72 */ fmuls f0, f0, f25 -/* 80275290 002721D0 EF 1E 06 32 */ fmuls f24, f30, f24 -/* 80275294 002721D4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80275298 002721D8 FC 00 C2 10 */ fabs f0, f24 -/* 8027529C 002721DC FC 00 00 18 */ frsp f0, f0 -/* 802752A0 002721E0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802752A4 002721E4 40 81 00 1C */ ble lbl_802752C0 -/* 802752A8 002721E8 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802752AC 002721EC FC 18 00 40 */ fcmpo cr0, f24, f0 -/* 802752B0 002721F0 40 81 00 0C */ ble lbl_802752BC -/* 802752B4 002721F4 FF 00 08 90 */ fmr f24, f1 -/* 802752B8 002721F8 48 00 00 08 */ b lbl_802752C0 -lbl_802752BC: -/* 802752BC 002721FC FF 00 08 50 */ fneg f24, f1 -lbl_802752C0: -/* 802752C0 00272200 7F E3 FB 78 */ mr r3, r31 -/* 802752C4 00272204 81 9F 00 00 */ lwz r12, 0(r31) -/* 802752C8 00272208 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802752CC 0027220C 7D 89 03 A6 */ mtctr r12 -/* 802752D0 00272210 4E 80 04 21 */ bctrl -/* 802752D4 00272214 EC 38 08 2A */ fadds f1, f24, f1 -/* 802752D8 00272218 48 19 C8 F9 */ bl roundAng__Ff -/* 802752DC 0027221C FC 60 F2 10 */ fabs f3, f30 -/* 802752E0 00272220 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 802752E4 00272224 C0 02 CF 70 */ lfs f0, lbl_8051B2D0@sda21(r2) -/* 802752E8 00272228 C0 5F 01 FC */ lfs f2, 0x1fc(r31) -/* 802752EC 0027222C FC 20 18 18 */ frsp f1, f3 -/* 802752F0 00272230 D0 5F 01 A8 */ stfs f2, 0x1a8(r31) -/* 802752F4 00272234 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802752F8 00272238 4C 40 13 82 */ cror 2, 0, 2 -/* 802752FC 0027223C 40 82 00 0C */ bne lbl_80275308 -/* 80275300 00272240 7F E3 FB 78 */ mr r3, r31 -/* 80275304 00272244 4B E8 FF 9D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80275308: -/* 80275308 00272248 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8027530C 0027224C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80275310 00272250 28 00 00 00 */ cmplwi r0, 0 -/* 80275314 00272254 41 82 01 30 */ beq lbl_80275444 -/* 80275318 00272258 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8027531C 0027225C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80275320 00272260 40 82 01 24 */ bne lbl_80275444 -/* 80275324 00272264 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80275328 00272268 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 8027532C 0027226C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80275330 00272270 4C 40 13 82 */ cror 2, 0, 2 -/* 80275334 00272274 40 82 00 28 */ bne lbl_8027535C -/* 80275338 00272278 7F C3 F3 78 */ mr r3, r30 -/* 8027533C 0027227C 7F E4 FB 78 */ mr r4, r31 -/* 80275340 00272280 81 9E 00 00 */ lwz r12, 0(r30) -/* 80275344 00272284 38 A0 00 00 */ li r5, 0 -/* 80275348 00272288 38 C0 00 00 */ li r6, 0 -/* 8027534C 0027228C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80275350 00272290 7D 89 03 A6 */ mtctr r12 -/* 80275354 00272294 4E 80 04 21 */ bctrl -/* 80275358 00272298 48 00 00 EC */ b lbl_80275444 -lbl_8027535C: -/* 8027535C 0027229C 7F E3 FB 78 */ mr r3, r31 -/* 80275360 002722A0 38 80 00 00 */ li r4, 0 -/* 80275364 002722A4 4B E9 F2 F5 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80275368 002722A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027536C 002722AC 41 82 00 28 */ beq lbl_80275394 -/* 80275370 002722B0 7F C3 F3 78 */ mr r3, r30 -/* 80275374 002722B4 7F E4 FB 78 */ mr r4, r31 -/* 80275378 002722B8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027537C 002722BC 38 A0 00 06 */ li r5, 6 -/* 80275380 002722C0 38 C0 00 00 */ li r6, 0 -/* 80275384 002722C4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80275388 002722C8 7D 89 03 A6 */ mtctr r12 -/* 8027538C 002722CC 4E 80 04 21 */ bctrl -/* 80275390 002722D0 48 00 00 B4 */ b lbl_80275444 -lbl_80275394: -/* 80275394 002722D4 7F E3 FB 78 */ mr r3, r31 -/* 80275398 002722D8 38 80 00 00 */ li r4, 0 -/* 8027539C 002722DC 48 00 11 65 */ bl isAttackable__Q34Game4Tank3ObjFb -/* 802753A0 002722E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802753A4 002722E4 41 82 00 28 */ beq lbl_802753CC -/* 802753A8 002722E8 7F C3 F3 78 */ mr r3, r30 -/* 802753AC 002722EC 7F E4 FB 78 */ mr r4, r31 -/* 802753B0 002722F0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802753B4 002722F4 38 A0 00 05 */ li r5, 5 -/* 802753B8 002722F8 38 C0 00 00 */ li r6, 0 -/* 802753BC 002722FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802753C0 00272300 7D 89 03 A6 */ mtctr r12 -/* 802753C4 00272304 4E 80 04 21 */ bctrl -/* 802753C8 00272308 48 00 00 7C */ b lbl_80275444 -lbl_802753CC: -/* 802753CC 0027230C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802753D0 00272310 FC 20 F8 90 */ fmr f1, f31 -/* 802753D4 00272314 7F E3 FB 78 */ mr r3, r31 -/* 802753D8 00272318 38 80 00 00 */ li r4, 0 -/* 802753DC 0027231C C0 45 03 D4 */ lfs f2, 0x3d4(r5) -/* 802753E0 00272320 38 A0 00 00 */ li r5, 0 -/* 802753E4 00272324 38 C0 00 00 */ li r6, 0 -/* 802753E8 00272328 4B E9 DC 69 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 802753EC 0027232C 28 03 00 00 */ cmplwi r3, 0 -/* 802753F0 00272330 41 82 00 34 */ beq lbl_80275424 -/* 802753F4 00272334 90 7F 02 30 */ stw r3, 0x230(r31) -/* 802753F8 00272338 7F C3 F3 78 */ mr r3, r30 -/* 802753FC 0027233C C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80275400 00272340 7F E4 FB 78 */ mr r4, r31 -/* 80275404 00272344 38 A0 00 04 */ li r5, 4 -/* 80275408 00272348 38 C0 00 00 */ li r6, 0 -/* 8027540C 0027234C D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80275410 00272350 81 9E 00 00 */ lwz r12, 0(r30) -/* 80275414 00272354 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80275418 00272358 7D 89 03 A6 */ mtctr r12 -/* 8027541C 0027235C 4E 80 04 21 */ bctrl -/* 80275420 00272360 48 00 00 24 */ b lbl_80275444 -lbl_80275424: -/* 80275424 00272364 7F C3 F3 78 */ mr r3, r30 -/* 80275428 00272368 7F E4 FB 78 */ mr r4, r31 -/* 8027542C 0027236C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80275430 00272370 38 A0 00 01 */ li r5, 1 -/* 80275434 00272374 38 C0 00 00 */ li r6, 0 -/* 80275438 00272378 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027543C 0027237C 7D 89 03 A6 */ mtctr r12 -/* 80275440 00272380 4E 80 04 21 */ bctrl -lbl_80275444: -/* 80275444 00272384 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 80275448 00272388 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 8027544C 0027238C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 80275450 00272390 CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 80275454 00272394 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 80275458 00272398 CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 8027545C 0027239C E3 81 00 D8 */ psq_l f28, 216(r1), 0, qr0 -/* 80275460 002723A0 CB 81 00 D0 */ lfd f28, 0xd0(r1) -/* 80275464 002723A4 E3 61 00 C8 */ psq_l f27, 200(r1), 0, qr0 -/* 80275468 002723A8 CB 61 00 C0 */ lfd f27, 0xc0(r1) -/* 8027546C 002723AC E3 41 00 B8 */ psq_l f26, 184(r1), 0, qr0 -/* 80275470 002723B0 CB 41 00 B0 */ lfd f26, 0xb0(r1) -/* 80275474 002723B4 E3 21 00 A8 */ psq_l f25, 168(r1), 0, qr0 -/* 80275478 002723B8 CB 21 00 A0 */ lfd f25, 0xa0(r1) -/* 8027547C 002723BC E3 01 00 98 */ psq_l f24, 152(r1), 0, qr0 -/* 80275480 002723C0 CB 01 00 90 */ lfd f24, 0x90(r1) -/* 80275484 002723C4 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80275488 002723C8 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8027548C 002723CC 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80275490 002723D0 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 80275494 002723D4 7C 08 03 A6 */ mtlr r0 -/* 80275498 002723D8 38 21 01 10 */ addi r1, r1, 0x110 -/* 8027549C 002723DC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tank14StateChaseTurnFPQ24Game9EnemyBase -cleanup__Q34Game4Tank14StateChaseTurnFPQ24Game9EnemyBase: -/* 802754A0 002723E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802754A4 002723E4 7C 08 02 A6 */ mflr r0 -/* 802754A8 002723E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802754AC 002723EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802754B0 002723F0 7C 9F 23 78 */ mr r31, r4 -/* 802754B4 002723F4 7F E3 FB 78 */ mr r3, r31 -/* 802754B8 002723F8 4B E8 C4 C5 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 802754BC 002723FC C0 22 CF 50 */ lfs f1, lbl_8051B2B0@sda21(r2) -/* 802754C0 00272400 7F E3 FB 78 */ mr r3, r31 -/* 802754C4 00272404 4B E9 1E CD */ bl setAnimSpeed__Q24Game9EnemyBaseFf -/* 802754C8 00272408 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802754CC 0027240C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802754D0 00272410 7C 08 03 A6 */ mtlr r0 -/* 802754D4 00272414 38 21 00 10 */ addi r1, r1, 0x10 -/* 802754D8 00272418 4E 80 00 20 */ blr - -.global init__Q34Game4Tank11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tank11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802754DC 0027241C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802754E0 00272420 7C 08 02 A6 */ mflr r0 -/* 802754E4 00272424 38 A0 00 00 */ li r5, 0 -/* 802754E8 00272428 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802754EC 0027242C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802754F0 00272430 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802754F4 00272434 7C 9F 23 78 */ mr r31, r4 -/* 802754F8 00272438 7F E3 FB 78 */ mr r3, r31 -/* 802754FC 0027243C 98 A4 03 04 */ stb r5, 0x304(r4) -/* 80275500 00272440 D0 04 02 E4 */ stfs f0, 0x2e4(r4) -/* 80275504 00272444 D0 04 02 EC */ stfs f0, 0x2ec(r4) -/* 80275508 00272448 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8027550C 0027244C 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80275510 00272450 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80275514 00272454 90 A4 02 30 */ stw r5, 0x230(r4) -/* 80275518 00272458 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 8027551C 0027245C D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80275520 00272460 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80275524 00272464 4B E8 C4 A9 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80275528 00272468 7F E3 FB 78 */ mr r3, r31 -/* 8027552C 0027246C 38 80 00 03 */ li r4, 3 -/* 80275530 00272470 38 A0 00 00 */ li r5, 0 -/* 80275534 00272474 4B E8 FA D1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80275538 00272478 7F E3 FB 78 */ mr r3, r31 -/* 8027553C 0027247C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275540 00272480 81 8C 03 20 */ lwz r12, 0x320(r12) -/* 80275544 00272484 7D 89 03 A6 */ mtctr r12 -/* 80275548 00272488 4E 80 04 21 */ bctrl -/* 8027554C 0027248C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275550 00272490 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275554 00272494 7C 08 03 A6 */ mtlr r0 -/* 80275558 00272498 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027555C 0027249C 4E 80 00 20 */ blr - -.global createChargeSE__Q34Game4Tank3ObjFv -createChargeSE__Q34Game4Tank3ObjFv: -/* 80275560 002724A0 4E 80 00 20 */ blr - -.global exec__Q34Game4Tank11StateAttackFPQ24Game9EnemyBase -exec__Q34Game4Tank11StateAttackFPQ24Game9EnemyBase: -/* 80275564 002724A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80275568 002724A8 7C 08 02 A6 */ mflr r0 -/* 8027556C 002724AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80275570 002724B0 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80275574 002724B4 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80275578 002724B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027557C 002724BC 93 C1 00 08 */ stw r30, 8(r1) -/* 80275580 002724C0 7C 9F 23 78 */ mr r31, r4 -/* 80275584 002724C4 7C 7E 1B 78 */ mr r30, r3 -/* 80275588 002724C8 7F E3 FB 78 */ mr r3, r31 -/* 8027558C 002724CC 48 00 16 5D */ bl getViewAngle__Q34Game4Tank3ObjFv -/* 80275590 002724D0 C0 5F 02 00 */ lfs f2, 0x200(r31) -/* 80275594 002724D4 FF E0 08 90 */ fmr f31, f1 -/* 80275598 002724D8 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 8027559C 002724DC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802755A0 002724E0 4C 40 13 82 */ cror 2, 0, 2 -/* 802755A4 002724E4 40 82 00 28 */ bne lbl_802755CC -/* 802755A8 002724E8 7F C3 F3 78 */ mr r3, r30 -/* 802755AC 002724EC 7F E4 FB 78 */ mr r4, r31 -/* 802755B0 002724F0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802755B4 002724F4 38 A0 00 00 */ li r5, 0 -/* 802755B8 002724F8 38 C0 00 00 */ li r6, 0 -/* 802755BC 002724FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802755C0 00272500 7D 89 03 A6 */ mtctr r12 -/* 802755C4 00272504 4E 80 04 21 */ bctrl -/* 802755C8 00272508 48 00 01 5C */ b lbl_80275724 -lbl_802755CC: -/* 802755CC 0027250C 88 1F 03 04 */ lbz r0, 0x304(r31) -/* 802755D0 00272510 28 00 00 00 */ cmplwi r0, 0 -/* 802755D4 00272514 41 82 00 24 */ beq lbl_802755F8 -/* 802755D8 00272518 7F E3 FB 78 */ mr r3, r31 -/* 802755DC 0027251C 38 80 00 01 */ li r4, 1 -/* 802755E0 00272520 48 00 0F 21 */ bl isAttackable__Q34Game4Tank3ObjFb -/* 802755E4 00272524 7F E3 FB 78 */ mr r3, r31 -/* 802755E8 00272528 81 9F 00 00 */ lwz r12, 0(r31) -/* 802755EC 0027252C 81 8C 03 24 */ lwz r12, 0x324(r12) -/* 802755F0 00272530 7D 89 03 A6 */ mtctr r12 -/* 802755F4 00272534 4E 80 04 21 */ bctrl -lbl_802755F8: -/* 802755F8 00272538 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802755FC 0027253C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80275600 00272540 28 00 00 00 */ cmplwi r0, 0 -/* 80275604 00272544 41 82 01 20 */ beq lbl_80275724 -/* 80275608 00272548 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8027560C 0027254C 28 00 00 02 */ cmplwi r0, 2 -/* 80275610 00272550 40 82 00 24 */ bne lbl_80275634 -/* 80275614 00272554 38 00 00 01 */ li r0, 1 -/* 80275618 00272558 7F E3 FB 78 */ mr r3, r31 -/* 8027561C 0027255C 98 1F 03 04 */ stb r0, 0x304(r31) -/* 80275620 00272560 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275624 00272564 81 8C 03 04 */ lwz r12, 0x304(r12) -/* 80275628 00272568 7D 89 03 A6 */ mtctr r12 -/* 8027562C 0027256C 4E 80 04 21 */ bctrl -/* 80275630 00272570 48 00 00 F4 */ b lbl_80275724 -lbl_80275634: -/* 80275634 00272574 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80275638 00272578 40 82 00 EC */ bne lbl_80275724 -/* 8027563C 0027257C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80275640 00272580 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80275644 00272584 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80275648 00272588 4C 40 13 82 */ cror 2, 0, 2 -/* 8027564C 0027258C 40 82 00 28 */ bne lbl_80275674 -/* 80275650 00272590 7F C3 F3 78 */ mr r3, r30 -/* 80275654 00272594 7F E4 FB 78 */ mr r4, r31 -/* 80275658 00272598 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027565C 0027259C 38 A0 00 00 */ li r5, 0 -/* 80275660 002725A0 38 C0 00 00 */ li r6, 0 -/* 80275664 002725A4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80275668 002725A8 7D 89 03 A6 */ mtctr r12 -/* 8027566C 002725AC 4E 80 04 21 */ bctrl -/* 80275670 002725B0 48 00 00 B4 */ b lbl_80275724 -lbl_80275674: -/* 80275674 002725B4 7F E3 FB 78 */ mr r3, r31 -/* 80275678 002725B8 38 80 00 00 */ li r4, 0 -/* 8027567C 002725BC 4B E9 EF DD */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80275680 002725C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80275684 002725C4 41 82 00 28 */ beq lbl_802756AC -/* 80275688 002725C8 7F C3 F3 78 */ mr r3, r30 -/* 8027568C 002725CC 7F E4 FB 78 */ mr r4, r31 -/* 80275690 002725D0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80275694 002725D4 38 A0 00 06 */ li r5, 6 -/* 80275698 002725D8 38 C0 00 00 */ li r6, 0 -/* 8027569C 002725DC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802756A0 002725E0 7D 89 03 A6 */ mtctr r12 -/* 802756A4 002725E4 4E 80 04 21 */ bctrl -/* 802756A8 002725E8 48 00 00 7C */ b lbl_80275724 -lbl_802756AC: -/* 802756AC 002725EC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802756B0 002725F0 FC 20 F8 90 */ fmr f1, f31 -/* 802756B4 002725F4 7F E3 FB 78 */ mr r3, r31 -/* 802756B8 002725F8 38 80 00 00 */ li r4, 0 -/* 802756BC 002725FC C0 45 03 D4 */ lfs f2, 0x3d4(r5) -/* 802756C0 00272600 38 A0 00 00 */ li r5, 0 -/* 802756C4 00272604 38 C0 00 00 */ li r6, 0 -/* 802756C8 00272608 4B E9 D9 89 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 802756CC 0027260C 28 03 00 00 */ cmplwi r3, 0 -/* 802756D0 00272610 41 82 00 34 */ beq lbl_80275704 -/* 802756D4 00272614 90 7F 02 30 */ stw r3, 0x230(r31) -/* 802756D8 00272618 7F C3 F3 78 */ mr r3, r30 -/* 802756DC 0027261C C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802756E0 00272620 7F E4 FB 78 */ mr r4, r31 -/* 802756E4 00272624 38 A0 00 04 */ li r5, 4 -/* 802756E8 00272628 38 C0 00 00 */ li r6, 0 -/* 802756EC 0027262C D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 802756F0 00272630 81 9E 00 00 */ lwz r12, 0(r30) -/* 802756F4 00272634 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802756F8 00272638 7D 89 03 A6 */ mtctr r12 -/* 802756FC 0027263C 4E 80 04 21 */ bctrl -/* 80275700 00272640 48 00 00 24 */ b lbl_80275724 -lbl_80275704: -/* 80275704 00272644 7F C3 F3 78 */ mr r3, r30 -/* 80275708 00272648 7F E4 FB 78 */ mr r4, r31 -/* 8027570C 0027264C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80275710 00272650 38 A0 00 01 */ li r5, 1 -/* 80275714 00272654 38 C0 00 00 */ li r6, 0 -/* 80275718 00272658 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027571C 0027265C 7D 89 03 A6 */ mtctr r12 -/* 80275720 00272660 4E 80 04 21 */ bctrl -lbl_80275724: -/* 80275724 00272664 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80275728 00272668 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027572C 0027266C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80275730 00272670 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275734 00272674 83 C1 00 08 */ lwz r30, 8(r1) -/* 80275738 00272678 7C 08 03 A6 */ mtlr r0 -/* 8027573C 0027267C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80275740 00272680 4E 80 00 20 */ blr - -.global startEffect__Q34Game4Tank3ObjFv -startEffect__Q34Game4Tank3ObjFv: -/* 80275744 00272684 4E 80 00 20 */ blr - -.global createDisChargeSE__Q34Game4Tank3ObjFv -createDisChargeSE__Q34Game4Tank3ObjFv: -/* 80275748 00272688 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tank11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game4Tank11StateAttackFPQ24Game9EnemyBase: -/* 8027574C 0027268C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275750 00272690 7C 08 02 A6 */ mflr r0 -/* 80275754 00272694 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275758 00272698 38 00 00 00 */ li r0, 0 -/* 8027575C 0027269C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275760 002726A0 7C 9F 23 78 */ mr r31, r4 -/* 80275764 002726A4 7F E3 FB 78 */ mr r3, r31 -/* 80275768 002726A8 80 84 01 E0 */ lwz r4, 0x1e0(r4) -/* 8027576C 002726AC 60 84 00 40 */ ori r4, r4, 0x40 -/* 80275770 002726B0 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80275774 002726B4 98 1F 03 04 */ stb r0, 0x304(r31) -/* 80275778 002726B8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027577C 002726BC 81 8C 03 08 */ lwz r12, 0x308(r12) -/* 80275780 002726C0 7D 89 03 A6 */ mtctr r12 -/* 80275784 002726C4 4E 80 04 21 */ bctrl -/* 80275788 002726C8 7F E3 FB 78 */ mr r3, r31 -/* 8027578C 002726CC 4B E8 C1 F1 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80275790 002726D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275794 002726D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275798 002726D8 7C 08 03 A6 */ mtlr r0 -/* 8027579C 002726DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802757A0 002726E0 4E 80 00 20 */ blr - -.global startYodare__Q34Game4Tank3ObjFv -startYodare__Q34Game4Tank3ObjFv: -/* 802757A4 002726E4 4E 80 00 20 */ blr - -.global init__Q34Game4Tank10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Tank10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802757A8 002726E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802757AC 002726EC 7C 08 02 A6 */ mflr r0 -/* 802757B0 002726F0 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802757B4 002726F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802757B8 002726F8 38 00 00 00 */ li r0, 0 -/* 802757BC 002726FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802757C0 00272700 7C 9F 23 78 */ mr r31, r4 -/* 802757C4 00272704 7F E3 FB 78 */ mr r3, r31 -/* 802757C8 00272708 90 04 02 30 */ stw r0, 0x230(r4) -/* 802757CC 0027270C D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 802757D0 00272710 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 802757D4 00272714 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 802757D8 00272718 4B E8 C1 F5 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 802757DC 0027271C 7F E3 FB 78 */ mr r3, r31 -/* 802757E0 00272720 38 80 00 02 */ li r4, 2 -/* 802757E4 00272724 38 A0 00 00 */ li r5, 0 -/* 802757E8 00272728 4B E8 F8 1D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802757EC 0027272C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802757F0 00272730 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802757F4 00272734 7C 08 03 A6 */ mtlr r0 -/* 802757F8 00272738 38 21 00 10 */ addi r1, r1, 0x10 -/* 802757FC 0027273C 4E 80 00 20 */ blr - -.global exec__Q34Game4Tank10StateFlickFPQ24Game9EnemyBase -exec__Q34Game4Tank10StateFlickFPQ24Game9EnemyBase: -/* 80275800 00272740 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80275804 00272744 7C 08 02 A6 */ mflr r0 -/* 80275808 00272748 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 8027580C 0027274C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80275810 00272750 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80275814 00272754 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80275818 00272758 7C 9E 23 78 */ mr r30, r4 -/* 8027581C 0027275C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80275820 00272760 7C 7D 1B 78 */ mr r29, r3 -/* 80275824 00272764 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80275828 00272768 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027582C 0027276C 4C 40 13 82 */ cror 2, 0, 2 -/* 80275830 00272770 40 82 00 20 */ bne lbl_80275850 -/* 80275834 00272774 81 83 00 00 */ lwz r12, 0(r3) -/* 80275838 00272778 38 A0 00 00 */ li r5, 0 -/* 8027583C 0027277C 38 C0 00 00 */ li r6, 0 -/* 80275840 00272780 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80275844 00272784 7D 89 03 A6 */ mtctr r12 -/* 80275848 00272788 4E 80 04 21 */ bctrl -/* 8027584C 0027278C 48 00 01 18 */ b lbl_80275964 -lbl_80275850: -/* 80275850 00272790 80 7E 01 88 */ lwz r3, 0x188(r30) -/* 80275854 00272794 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80275858 00272798 28 00 00 00 */ cmplwi r0, 0 -/* 8027585C 0027279C 41 82 01 08 */ beq lbl_80275964 -/* 80275860 002727A0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80275864 002727A4 28 00 00 02 */ cmplwi r0, 2 -/* 80275868 002727A8 40 82 00 94 */ bne lbl_802758FC -/* 8027586C 002727AC 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 80275870 002727B0 7F C3 F3 78 */ mr r3, r30 -/* 80275874 002727B4 C0 82 CF 74 */ lfs f4, lbl_8051B2D4@sda21(r2) -/* 80275878 002727B8 38 80 00 00 */ li r4, 0 -/* 8027587C 002727BC C0 25 05 14 */ lfs f1, 0x514(r5) -/* 80275880 002727C0 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 80275884 002727C4 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80275888 002727C8 4B E9 DF 09 */ bl flickNearbyNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Navi$$1 -/* 8027588C 002727CC 7F C3 F3 78 */ mr r3, r30 -/* 80275890 002727D0 83 FE 00 C0 */ lwz r31, 0xc0(r30) -/* 80275894 002727D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80275898 002727D8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027589C 002727DC 7D 89 03 A6 */ mtctr r12 -/* 802758A0 002727E0 4E 80 04 21 */ bctrl -/* 802758A4 002727E4 FC 80 08 90 */ fmr f4, f1 -/* 802758A8 002727E8 C0 3F 05 14 */ lfs f1, 0x514(r31) -/* 802758AC 002727EC C0 5F 04 C4 */ lfs f2, 0x4c4(r31) -/* 802758B0 002727F0 7F C3 F3 78 */ mr r3, r30 -/* 802758B4 002727F4 C0 7F 04 EC */ lfs f3, 0x4ec(r31) -/* 802758B8 002727F8 38 80 00 00 */ li r4, 0 -/* 802758BC 002727FC 4B E9 DC 19 */ bl flickNearbyPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 802758C0 00272800 7F C3 F3 78 */ mr r3, r30 -/* 802758C4 00272804 83 FE 00 C0 */ lwz r31, 0xc0(r30) -/* 802758C8 00272808 81 9E 00 00 */ lwz r12, 0(r30) -/* 802758CC 0027280C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802758D0 00272810 7D 89 03 A6 */ mtctr r12 -/* 802758D4 00272814 4E 80 04 21 */ bctrl -/* 802758D8 00272818 FC 80 08 90 */ fmr f4, f1 -/* 802758DC 0027281C C0 3F 05 3C */ lfs f1, 0x53c(r31) -/* 802758E0 00272820 C0 5F 04 C4 */ lfs f2, 0x4c4(r31) -/* 802758E4 00272824 7F C3 F3 78 */ mr r3, r30 -/* 802758E8 00272828 C0 7F 04 EC */ lfs f3, 0x4ec(r31) -/* 802758EC 0027282C 38 80 00 00 */ li r4, 0 -/* 802758F0 00272830 4B E9 D8 2D */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 802758F4 00272834 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 802758F8 00272838 D0 1E 02 0C */ stfs f0, 0x20c(r30) -lbl_802758FC: -/* 802758FC 0027283C 80 7E 01 88 */ lwz r3, 0x188(r30) -/* 80275900 00272840 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80275904 00272844 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80275908 00272848 40 82 00 5C */ bne lbl_80275964 -/* 8027590C 0027284C C0 3E 02 00 */ lfs f1, 0x200(r30) -/* 80275910 00272850 C0 02 CF 30 */ lfs f0, lbl_8051B290@sda21(r2) -/* 80275914 00272854 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80275918 00272858 4C 40 13 82 */ cror 2, 0, 2 -/* 8027591C 0027285C 40 82 00 28 */ bne lbl_80275944 -/* 80275920 00272860 7F A3 EB 78 */ mr r3, r29 -/* 80275924 00272864 7F C4 F3 78 */ mr r4, r30 -/* 80275928 00272868 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027592C 0027286C 38 A0 00 00 */ li r5, 0 -/* 80275930 00272870 38 C0 00 00 */ li r6, 0 -/* 80275934 00272874 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80275938 00272878 7D 89 03 A6 */ mtctr r12 -/* 8027593C 0027287C 4E 80 04 21 */ bctrl -/* 80275940 00272880 48 00 00 24 */ b lbl_80275964 -lbl_80275944: -/* 80275944 00272884 7F A3 EB 78 */ mr r3, r29 -/* 80275948 00272888 7F C4 F3 78 */ mr r4, r30 -/* 8027594C 0027288C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80275950 00272890 38 A0 00 05 */ li r5, 5 -/* 80275954 00272894 38 C0 00 00 */ li r6, 0 -/* 80275958 00272898 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027595C 0027289C 7D 89 03 A6 */ mtctr r12 -/* 80275960 002728A0 4E 80 04 21 */ bctrl -lbl_80275964: -/* 80275964 002728A4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80275968 002728A8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027596C 002728AC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80275970 002728B0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80275974 002728B4 7C 08 03 A6 */ mtlr r0 -/* 80275978 002728B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027597C 002728BC 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Tank10StateFlickFPQ24Game9EnemyBase -cleanup__Q34Game4Tank10StateFlickFPQ24Game9EnemyBase: -/* 80275980 002728C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275984 002728C4 7C 08 02 A6 */ mflr r0 -/* 80275988 002728C8 7C 83 23 78 */ mr r3, r4 -/* 8027598C 002728CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275990 002728D0 4B E8 BF ED */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80275994 002728D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275998 002728D8 7C 08 03 A6 */ mtlr r0 -/* 8027599C 002728DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802759A0 002728E0 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game4Tank14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game4Tank14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 802759A4 002728E4 90 83 00 20 */ stw r4, 0x20(r3) -/* 802759A8 002728E8 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Tank14ProperAnimatorFi -getAnimator__Q34Game4Tank14ProperAnimatorFi: -/* 802759AC 002728EC 38 63 00 10 */ addi r3, r3, 0x10 -/* 802759B0 002728F0 4E 80 00 20 */ blr - -.global __dt__Q34Game4Tank14ProperAnimatorFv -__dt__Q34Game4Tank14ProperAnimatorFv: -/* 802759B4 002728F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802759B8 002728F8 7C 08 02 A6 */ mflr r0 -/* 802759BC 002728FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802759C0 00272900 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802759C4 00272904 7C 7F 1B 79 */ or. r31, r3, r3 -/* 802759C8 00272908 41 82 00 30 */ beq lbl_802759F8 -/* 802759CC 0027290C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank14ProperAnimator@ha -/* 802759D0 00272910 38 03 6A 40 */ addi r0, r3, __vt__Q34Game4Tank14ProperAnimator@l -/* 802759D4 00272914 90 1F 00 00 */ stw r0, 0(r31) -/* 802759D8 00272918 41 82 00 10 */ beq lbl_802759E8 -/* 802759DC 0027291C 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 802759E0 00272920 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 802759E4 00272924 90 1F 00 00 */ stw r0, 0(r31) -lbl_802759E8: -/* 802759E8 00272928 7C 80 07 35 */ extsh. r0, r4 -/* 802759EC 0027292C 40 81 00 0C */ ble lbl_802759F8 -/* 802759F0 00272930 7F E3 FB 78 */ mr r3, r31 -/* 802759F4 00272934 4B DA E6 C1 */ bl __dl__FPv -lbl_802759F8: -/* 802759F8 00272938 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802759FC 0027293C 7F E3 FB 78 */ mr r3, r31 -/* 80275A00 00272940 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275A04 00272944 7C 08 03 A6 */ mtlr r0 -/* 80275A08 00272948 38 21 00 10 */ addi r1, r1, 0x10 -/* 80275A0C 0027294C 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Tank14ProperAnimatorFv -getAnimator__Q34Game4Tank14ProperAnimatorFv: -/* 80275A10 00272950 38 63 00 10 */ addi r3, r3, 0x10 -/* 80275A14 00272954 4E 80 00 20 */ blr - -.global __ct__Q34Game4Tank3MgrFiUc -__ct__Q34Game4Tank3MgrFiUc: -/* 80275A18 00272958 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275A1C 0027295C 7C 08 02 A6 */ mflr r0 -/* 80275A20 00272960 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275A24 00272964 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275A28 00272968 7C 7F 1B 78 */ mr r31, r3 -/* 80275A2C 0027296C 4B EB 92 69 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80275A30 00272970 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank3Mgr@ha -/* 80275A34 00272974 3C 80 80 48 */ lis r4, lbl_80486C8C@ha -/* 80275A38 00272978 38 A3 6A 68 */ addi r5, r3, __vt__Q34Game4Tank3Mgr@l -/* 80275A3C 0027297C 7F E3 FB 78 */ mr r3, r31 -/* 80275A40 00272980 90 BF 00 00 */ stw r5, 0(r31) -/* 80275A44 00272984 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80275A48 00272988 38 04 6C 8C */ addi r0, r4, lbl_80486C8C@l -/* 80275A4C 0027298C 90 BF 00 04 */ stw r5, 4(r31) -/* 80275A50 00272990 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80275A54 00272994 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275A58 00272998 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275A5C 0027299C 7C 08 03 A6 */ mtlr r0 -/* 80275A60 002729A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80275A64 002729A4 4E 80 00 20 */ blr - -.global loadModelData__Q34Game4Tank3MgrFv -loadModelData__Q34Game4Tank3MgrFv: -/* 80275A68 002729A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80275A6C 002729AC 7C 08 02 A6 */ mflr r0 -/* 80275A70 002729B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80275A74 002729B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80275A78 002729B8 3B E1 00 08 */ addi r31, r1, 8 -/* 80275A7C 002729BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80275A80 002729C0 3B C0 00 00 */ li r30, 0 -/* 80275A84 002729C4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80275A88 002729C8 7C 7D 1B 78 */ mr r29, r3 -/* 80275A8C 002729CC 80 82 CF 78 */ lwz r4, lbl_8051B2D8@sda21(r2) -/* 80275A90 002729D0 80 02 CF 7C */ lwz r0, lbl_8051B2DC@sda21(r2) -/* 80275A94 002729D4 90 81 00 08 */ stw r4, 8(r1) -/* 80275A98 002729D8 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80275A9C: -/* 80275A9C 002729DC 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 80275AA0 002729E0 80 9F 00 00 */ lwz r4, 0(r31) -/* 80275AA4 002729E4 4B E9 82 01 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi -/* 80275AA8 002729E8 28 03 00 00 */ cmplwi r3, 0 -/* 80275AAC 002729EC 41 82 00 24 */ beq lbl_80275AD0 -/* 80275AB0 002729F0 81 83 00 00 */ lwz r12, 0(r3) -/* 80275AB4 002729F4 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80275AB8 002729F8 7D 89 03 A6 */ mtctr r12 -/* 80275ABC 002729FC 4E 80 04 21 */ bctrl -/* 80275AC0 00272A00 28 03 00 00 */ cmplwi r3, 0 -/* 80275AC4 00272A04 41 82 00 0C */ beq lbl_80275AD0 -/* 80275AC8 00272A08 90 7D 00 1C */ stw r3, 0x1c(r29) -/* 80275ACC 00272A0C 48 00 00 1C */ b lbl_80275AE8 -lbl_80275AD0: -/* 80275AD0 00272A10 3B DE 00 01 */ addi r30, r30, 1 -/* 80275AD4 00272A14 3B FF 00 04 */ addi r31, r31, 4 -/* 80275AD8 00272A18 2C 1E 00 02 */ cmpwi r30, 2 -/* 80275ADC 00272A1C 41 80 FF C0 */ blt lbl_80275A9C -/* 80275AE0 00272A20 7F A3 EB 78 */ mr r3, r29 -/* 80275AE4 00272A24 4B EB A6 29 */ bl loadModelData__Q24Game12EnemyMgrBaseFv -lbl_80275AE8: -/* 80275AE8 00272A28 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80275AEC 00272A2C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80275AF0 00272A30 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80275AF4 00272A34 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80275AF8 00272A38 7C 08 03 A6 */ mtlr r0 -/* 80275AFC 00272A3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80275B00 00272A40 4E 80 00 20 */ blr - -.global loadAnimData__Q34Game4Tank3MgrFv -loadAnimData__Q34Game4Tank3MgrFv: -/* 80275B04 00272A44 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80275B08 00272A48 7C 08 02 A6 */ mflr r0 -/* 80275B0C 00272A4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80275B10 00272A50 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80275B14 00272A54 3B E1 00 08 */ addi r31, r1, 8 -/* 80275B18 00272A58 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80275B1C 00272A5C 3B C0 00 00 */ li r30, 0 -/* 80275B20 00272A60 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80275B24 00272A64 7C 7D 1B 78 */ mr r29, r3 -/* 80275B28 00272A68 80 82 CF 80 */ lwz r4, lbl_8051B2E0@sda21(r2) -/* 80275B2C 00272A6C 80 02 CF 84 */ lwz r0, lbl_8051B2E4@sda21(r2) -/* 80275B30 00272A70 90 81 00 08 */ stw r4, 8(r1) -/* 80275B34 00272A74 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80275B38: -/* 80275B38 00272A78 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 80275B3C 00272A7C 80 9F 00 00 */ lwz r4, 0(r31) -/* 80275B40 00272A80 4B E9 81 65 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi -/* 80275B44 00272A84 28 03 00 00 */ cmplwi r3, 0 -/* 80275B48 00272A88 41 82 00 18 */ beq lbl_80275B60 -/* 80275B4C 00272A8C 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80275B50 00272A90 28 00 00 00 */ cmplwi r0, 0 -/* 80275B54 00272A94 41 82 00 0C */ beq lbl_80275B60 -/* 80275B58 00272A98 90 1D 00 20 */ stw r0, 0x20(r29) -/* 80275B5C 00272A9C 48 00 00 1C */ b lbl_80275B78 -lbl_80275B60: -/* 80275B60 00272AA0 3B DE 00 01 */ addi r30, r30, 1 -/* 80275B64 00272AA4 3B FF 00 04 */ addi r31, r31, 4 -/* 80275B68 00272AA8 2C 1E 00 02 */ cmpwi r30, 2 -/* 80275B6C 00272AAC 41 80 FF CC */ blt lbl_80275B38 -/* 80275B70 00272AB0 7F A3 EB 78 */ mr r3, r29 -/* 80275B74 00272AB4 4B EB A6 59 */ bl loadAnimData__Q24Game12EnemyMgrBaseFv -lbl_80275B78: -/* 80275B78 00272AB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80275B7C 00272ABC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80275B80 00272AC0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80275B84 00272AC4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80275B88 00272AC8 7C 08 03 A6 */ mtlr r0 -/* 80275B8C 00272ACC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80275B90 00272AD0 4E 80 00 20 */ blr - -.global createModel__Q34Game4Tank3MgrFv -createModel__Q34Game4Tank3MgrFv: -/* 80275B94 00272AD4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80275B98 00272AD8 7C 08 02 A6 */ mflr r0 -/* 80275B9C 00272ADC 3C 80 80 48 */ lis r4, lbl_80486C80@ha -/* 80275BA0 00272AE0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80275BA4 00272AE4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80275BA8 00272AE8 3B E4 6C 80 */ addi r31, r4, lbl_80486C80@l -/* 80275BAC 00272AEC 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80275BB0 00272AF0 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80275BB4 00272AF4 93 81 00 40 */ stw r28, 0x40(r1) -/* 80275BB8 00272AF8 7C 7C 1B 78 */ mr r28, r3 -/* 80275BBC 00272AFC 38 60 00 14 */ li r3, 0x14 -/* 80275BC0 00272B00 4B DA E2 E5 */ bl __nw__FUl -/* 80275BC4 00272B04 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80275BC8 00272B08 41 82 00 18 */ beq lbl_80275BE0 -/* 80275BCC 00272B0C 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 80275BD0 00272B10 3C A0 00 08 */ lis r5, 8 -/* 80275BD4 00272B14 88 DC 00 24 */ lbz r6, 0x24(r28) -/* 80275BD8 00272B18 48 1C 86 01 */ bl __ct__Q28SysShape5ModelFP12J3DModelDataUlUl -/* 80275BDC 00272B1C 7C 7E 1B 78 */ mr r30, r3 -lbl_80275BE0: -/* 80275BE0 00272B20 28 1E 00 00 */ cmplwi r30, 0 -/* 80275BE4 00272B24 40 82 00 18 */ bne lbl_80275BFC -/* 80275BE8 00272B28 38 7F 00 24 */ addi r3, r31, 0x24 -/* 80275BEC 00272B2C 38 BF 00 30 */ addi r5, r31, 0x30 -/* 80275BF0 00272B30 38 80 00 82 */ li r4, 0x82 -/* 80275BF4 00272B34 4C C6 31 82 */ crclr 6 -/* 80275BF8 00272B38 4B DB 4A 49 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80275BFC: -/* 80275BFC 00272B3C 3B A0 00 00 */ li r29, 0 -/* 80275C00 00272B40 48 00 00 40 */ b lbl_80275C40 -lbl_80275C04: -/* 80275C04 00272B44 80 64 00 64 */ lwz r3, 0x64(r4) -/* 80275C08 00272B48 7F A4 EB 78 */ mr r4, r29 -/* 80275C0C 00272B4C 4B DB 92 11 */ bl getName__10JUTNameTabCFUs -/* 80275C10 00272B50 38 9F 00 3C */ addi r4, r31, 0x3c -/* 80275C14 00272B54 4B E5 4A AD */ bl strcmp -/* 80275C18 00272B58 2C 03 00 00 */ cmpwi r3, 0 -/* 80275C1C 00272B5C 40 82 00 20 */ bne lbl_80275C3C -/* 80275C20 00272B60 80 9E 00 08 */ lwz r4, 8(r30) -/* 80275C24 00272B64 57 A3 32 B2 */ rlwinm r3, r29, 6, 0xa, 0x19 -/* 80275C28 00272B68 38 03 00 2C */ addi r0, r3, 0x2c -/* 80275C2C 00272B6C 80 64 00 C0 */ lwz r3, 0xc0(r4) -/* 80275C30 00272B70 3C 80 04 02 */ lis r4, 0x402 -/* 80275C34 00272B74 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80275C38 00272B78 4B DE A6 A1 */ bl newDifferedDisplayList__14J3DShapePacketFUl -lbl_80275C3C: -/* 80275C3C 00272B7C 3B BD 00 01 */ addi r29, r29, 1 -lbl_80275C40: -/* 80275C40 00272B80 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 80275C44 00272B84 57 A0 04 3E */ clrlwi r0, r29, 0x10 -/* 80275C48 00272B88 A0 64 00 5C */ lhz r3, 0x5c(r4) -/* 80275C4C 00272B8C 7C 00 18 40 */ cmplw r0, r3 -/* 80275C50 00272B90 41 80 FF B4 */ blt lbl_80275C04 -/* 80275C54 00272B94 38 61 00 08 */ addi r3, r1, 8 -/* 80275C58 00272B98 4B E7 46 49 */ bl PSMTXIdentity -/* 80275C5C 00272B9C 3C 80 80 51 */ lis r4, j3dSys@ha -/* 80275C60 00272BA0 38 61 00 08 */ addi r3, r1, 8 -/* 80275C64 00272BA4 38 84 F2 30 */ addi r4, r4, j3dSys@l -/* 80275C68 00272BA8 4B E7 46 65 */ bl PSMTXCopy -/* 80275C6C 00272BAC 83 FE 00 08 */ lwz r31, 8(r30) -/* 80275C70 00272BB0 7F E3 FB 78 */ mr r3, r31 -/* 80275C74 00272BB4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275C78 00272BB8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80275C7C 00272BBC 7D 89 03 A6 */ mtctr r12 -/* 80275C80 00272BC0 4E 80 04 21 */ bctrl -/* 80275C84 00272BC4 7F E3 FB 78 */ mr r3, r31 -/* 80275C88 00272BC8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275C8C 00272BCC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80275C90 00272BD0 7D 89 03 A6 */ mtctr r12 -/* 80275C94 00272BD4 4E 80 04 21 */ bctrl -/* 80275C98 00272BD8 7F E3 FB 78 */ mr r3, r31 -/* 80275C9C 00272BDC 4B DF 0C 89 */ bl makeDL__8J3DModelFv -/* 80275CA0 00272BE0 7F E3 FB 78 */ mr r3, r31 -/* 80275CA4 00272BE4 4B DF 0B 51 */ bl lock__8J3DModelFv -/* 80275CA8 00272BE8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80275CAC 00272BEC 7F C3 F3 78 */ mr r3, r30 -/* 80275CB0 00272BF0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80275CB4 00272BF4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80275CB8 00272BF8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80275CBC 00272BFC 83 81 00 40 */ lwz r28, 0x40(r1) -/* 80275CC0 00272C00 7C 08 03 A6 */ mtlr r0 -/* 80275CC4 00272C04 38 21 00 50 */ addi r1, r1, 0x50 -/* 80275CC8 00272C08 4E 80 00 20 */ blr - -.global __dt__Q34Game4Tank3MgrFv -__dt__Q34Game4Tank3MgrFv: -/* 80275CCC 00272C0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275CD0 00272C10 7C 08 02 A6 */ mflr r0 -/* 80275CD4 00272C14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275CD8 00272C18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275CDC 00272C1C 7C 9F 23 78 */ mr r31, r4 -/* 80275CE0 00272C20 93 C1 00 08 */ stw r30, 8(r1) -/* 80275CE4 00272C24 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80275CE8 00272C28 41 82 00 78 */ beq lbl_80275D60 -/* 80275CEC 00272C2C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank3Mgr@ha -/* 80275CF0 00272C30 38 63 6A 68 */ addi r3, r3, __vt__Q34Game4Tank3Mgr@l -/* 80275CF4 00272C34 90 7E 00 00 */ stw r3, 0(r30) -/* 80275CF8 00272C38 38 03 00 38 */ addi r0, r3, 0x38 -/* 80275CFC 00272C3C 90 1E 00 04 */ stw r0, 4(r30) -/* 80275D00 00272C40 41 82 00 50 */ beq lbl_80275D50 -/* 80275D04 00272C44 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80275D08 00272C48 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80275D0C 00272C4C 90 7E 00 00 */ stw r3, 0(r30) -/* 80275D10 00272C50 38 03 00 38 */ addi r0, r3, 0x38 -/* 80275D14 00272C54 90 1E 00 04 */ stw r0, 4(r30) -/* 80275D18 00272C58 41 82 00 38 */ beq lbl_80275D50 -/* 80275D1C 00272C5C 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80275D20 00272C60 34 1E 00 04 */ addic. r0, r30, 4 -/* 80275D24 00272C64 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80275D28 00272C68 90 7E 00 00 */ stw r3, 0(r30) -/* 80275D2C 00272C6C 38 03 00 38 */ addi r0, r3, 0x38 -/* 80275D30 00272C70 90 1E 00 04 */ stw r0, 4(r30) -/* 80275D34 00272C74 41 82 00 1C */ beq lbl_80275D50 -/* 80275D38 00272C78 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80275D3C 00272C7C 38 7E 00 04 */ addi r3, r30, 4 -/* 80275D40 00272C80 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80275D44 00272C84 38 80 00 00 */ li r4, 0 -/* 80275D48 00272C88 90 1E 00 04 */ stw r0, 4(r30) -/* 80275D4C 00272C8C 48 19 B8 3D */ bl __dt__5CNodeFv -lbl_80275D50: -/* 80275D50 00272C90 7F E0 07 35 */ extsh. r0, r31 -/* 80275D54 00272C94 40 81 00 0C */ ble lbl_80275D60 -/* 80275D58 00272C98 7F C3 F3 78 */ mr r3, r30 -/* 80275D5C 00272C9C 4B DA E3 59 */ bl __dl__FPv -lbl_80275D60: -/* 80275D60 00272CA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275D64 00272CA4 7F C3 F3 78 */ mr r3, r30 -/* 80275D68 00272CA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275D6C 00272CAC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80275D70 00272CB0 7C 08 03 A6 */ mtlr r0 -/* 80275D74 00272CB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80275D78 00272CB8 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Tank3MgrFv -getEnemyTypeID__Q34Game4Tank3MgrFv: -/* 80275D7C 00272CBC 38 60 00 18 */ li r3, 0x18 -/* 80275D80 00272CC0 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game4Tank3MgrFv -$$24$$2__dt__Q34Game4Tank3MgrFv: -/* 80275D84 00272CC4 38 63 FF FC */ addi r3, r3, -4 -/* 80275D88 00272CC8 4B FF FF 44 */ b __dt__Q34Game4Tank3MgrFv - -.global __ct__Q34Game4Tank3ObjFv -__ct__Q34Game4Tank3ObjFv: -/* 80275D8C 00272CCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275D90 00272CD0 7C 08 02 A6 */ mflr r0 -/* 80275D94 00272CD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275D98 00272CD8 7C 80 07 35 */ extsh. r0, r4 -/* 80275D9C 00272CDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275DA0 00272CE0 7C 7F 1B 78 */ mr r31, r3 -/* 80275DA4 00272CE4 93 C1 00 08 */ stw r30, 8(r1) -/* 80275DA8 00272CE8 41 82 00 24 */ beq lbl_80275DCC -/* 80275DAC 00272CEC 38 1F 03 08 */ addi r0, r31, 0x308 -/* 80275DB0 00272CF0 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 80275DB4 00272CF4 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80275DB8 00272CF8 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80275DBC 00272CFC 38 00 00 00 */ li r0, 0 -/* 80275DC0 00272D00 90 7F 03 08 */ stw r3, 0x308(r31) -/* 80275DC4 00272D04 90 1F 03 0C */ stw r0, 0x30c(r31) -/* 80275DC8 00272D08 90 1F 03 10 */ stw r0, 0x310(r31) -lbl_80275DCC: -/* 80275DCC 00272D0C 7F E3 FB 78 */ mr r3, r31 -/* 80275DD0 00272D10 38 80 00 00 */ li r4, 0 -/* 80275DD4 00272D14 4B E8 B5 CD */ bl __ct__Q24Game9EnemyBaseFv -/* 80275DD8 00272D18 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank3Obj@ha -/* 80275DDC 00272D1C 38 1F 03 08 */ addi r0, r31, 0x308 -/* 80275DE0 00272D20 38 A3 6B 50 */ addi r5, r3, __vt__Q34Game4Tank3Obj@l -/* 80275DE4 00272D24 38 7F 02 C4 */ addi r3, r31, 0x2c4 -/* 80275DE8 00272D28 90 BF 00 00 */ stw r5, 0(r31) -/* 80275DEC 00272D2C 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80275DF0 00272D30 38 A5 03 28 */ addi r5, r5, 0x328 -/* 80275DF4 00272D34 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80275DF8 00272D38 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80275DFC 00272D3C 90 A4 00 00 */ stw r5, 0(r4) -/* 80275E00 00272D40 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80275E04 00272D44 7C 04 00 50 */ subf r0, r4, r0 -/* 80275E08 00272D48 90 04 00 0C */ stw r0, 0xc(r4) -/* 80275E0C 00272D4C 4B EB 45 49 */ bl __ct__Q34Game15WalkSmokeEffect3MgrFv -/* 80275E10 00272D50 38 60 00 2C */ li r3, 0x2c -/* 80275E14 00272D54 4B DA E0 91 */ bl __nw__FUl -/* 80275E18 00272D58 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80275E1C 00272D5C 41 82 00 44 */ beq lbl_80275E60 -/* 80275E20 00272D60 4B EB 1B 55 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80275E24 00272D64 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank14ProperAnimator@ha -/* 80275E28 00272D68 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 80275E2C 00272D6C 38 03 6A 40 */ addi r0, r3, __vt__Q34Game4Tank14ProperAnimator@l -/* 80275E30 00272D70 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80275E34 00272D74 90 1E 00 00 */ stw r0, 0(r30) -/* 80275E38 00272D78 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 80275E3C 00272D7C 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 80275E40 00272D80 38 00 00 00 */ li r0, 0 -/* 80275E44 00272D84 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80275E48 00272D88 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80275E4C 00272D8C 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80275E50 00272D90 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80275E54 00272D94 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80275E58 00272D98 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80275E5C 00272D9C 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80275E60: -/* 80275E60 00272DA0 93 DF 01 84 */ stw r30, 0x184(r31) -/* 80275E64 00272DA4 38 60 00 1C */ li r3, 0x1c -/* 80275E68 00272DA8 4B DA E0 3D */ bl __nw__FUl -/* 80275E6C 00272DAC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80275E70 00272DB0 41 82 00 24 */ beq lbl_80275E94 -/* 80275E74 00272DB4 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 80275E78 00272DB8 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank3FSM@ha -/* 80275E7C 00272DBC 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 80275E80 00272DC0 38 A0 FF FF */ li r5, -1 -/* 80275E84 00272DC4 90 04 00 00 */ stw r0, 0(r4) -/* 80275E88 00272DC8 38 03 6A 18 */ addi r0, r3, __vt__Q34Game4Tank3FSM@l -/* 80275E8C 00272DCC 90 A4 00 18 */ stw r5, 0x18(r4) -/* 80275E90 00272DD0 90 04 00 00 */ stw r0, 0(r4) -lbl_80275E94: -/* 80275E94 00272DD4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275E98 00272DD8 7F E3 FB 78 */ mr r3, r31 -/* 80275E9C 00272DDC 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 80275EA0 00272DE0 7D 89 03 A6 */ mtctr r12 -/* 80275EA4 00272DE4 4E 80 04 21 */ bctrl -/* 80275EA8 00272DE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275EAC 00272DEC 7F E3 FB 78 */ mr r3, r31 -/* 80275EB0 00272DF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275EB4 00272DF4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80275EB8 00272DF8 7C 08 03 A6 */ mtlr r0 -/* 80275EBC 00272DFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80275EC0 00272E00 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game4Tank3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game4Tank3ObjFPQ24Game21EnemyInitialParamBase: -/* 80275EC4 00272E04 4E 80 00 20 */ blr - -.global onInit__Q34Game4Tank3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game4Tank3ObjFPQ24Game15CreatureInitArg: -/* 80275EC8 00272E08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275ECC 00272E0C 7C 08 02 A6 */ mflr r0 -/* 80275ED0 00272E10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275ED4 00272E14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275ED8 00272E18 7C 7F 1B 78 */ mr r31, r3 -/* 80275EDC 00272E1C 4B E8 BB 7D */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 80275EE0 00272E20 C0 02 CF 88 */ lfs f0, lbl_8051B2E8@sda21(r2) -/* 80275EE4 00272E24 38 82 CF 8C */ addi r4, r2, lbl_8051B2EC@sda21 -/* 80275EE8 00272E28 D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80275EEC 00272E2C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80275EF0 00272E30 48 1C 90 F5 */ bl getJoint__Q28SysShape5ModelFPc -/* 80275EF4 00272E34 90 7F 02 C0 */ stw r3, 0x2c0(r31) -/* 80275EF8 00272E38 38 00 00 00 */ li r0, 0 -/* 80275EFC 00272E3C C0 22 CF 94 */ lfs f1, lbl_8051B2F4@sda21(r2) -/* 80275F00 00272E40 7F E3 FB 78 */ mr r3, r31 -/* 80275F04 00272E44 C0 02 CF 98 */ lfs f0, lbl_8051B2F8@sda21(r2) -/* 80275F08 00272E48 D0 3F 02 F0 */ stfs f1, 0x2f0(r31) -/* 80275F0C 00272E4C D0 3F 02 EC */ stfs f1, 0x2ec(r31) -/* 80275F10 00272E50 98 1F 03 04 */ stb r0, 0x304(r31) -/* 80275F14 00272E54 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) -/* 80275F18 00272E58 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -/* 80275F1C 00272E5C D0 3F 02 F4 */ stfs f1, 0x2f4(r31) -/* 80275F20 00272E60 81 9F 00 00 */ lwz r12, 0(r31) -/* 80275F24 00272E64 81 8C 03 00 */ lwz r12, 0x300(r12) -/* 80275F28 00272E68 7D 89 03 A6 */ mtctr r12 -/* 80275F2C 00272E6C 4E 80 04 21 */ bctrl -/* 80275F30 00272E70 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80275F34 00272E74 7F E4 FB 78 */ mr r4, r31 -/* 80275F38 00272E78 38 A0 00 01 */ li r5, 1 -/* 80275F3C 00272E7C 38 C0 00 00 */ li r6, 0 -/* 80275F40 00272E80 81 83 00 00 */ lwz r12, 0(r3) -/* 80275F44 00272E84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80275F48 00272E88 7D 89 03 A6 */ mtctr r12 -/* 80275F4C 00272E8C 4E 80 04 21 */ bctrl -/* 80275F50 00272E90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275F54 00272E94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275F58 00272E98 7C 08 03 A6 */ mtlr r0 -/* 80275F5C 00272E9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80275F60 00272EA0 4E 80 00 20 */ blr - -.global setupEffect__Q34Game4Tank3ObjFv -setupEffect__Q34Game4Tank3ObjFv: -/* 80275F64 00272EA4 4E 80 00 20 */ blr - -.global onKill__Q34Game4Tank3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game4Tank3ObjFPQ24Game15CreatureKillArg: -/* 80275F68 00272EA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275F6C 00272EAC 7C 08 02 A6 */ mflr r0 -/* 80275F70 00272EB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275F74 00272EB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275F78 00272EB8 7C 9F 23 78 */ mr r31, r4 -/* 80275F7C 00272EBC 93 C1 00 08 */ stw r30, 8(r1) -/* 80275F80 00272EC0 7C 7E 1B 78 */ mr r30, r3 -/* 80275F84 00272EC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80275F88 00272EC8 81 8C 03 0C */ lwz r12, 0x30c(r12) -/* 80275F8C 00272ECC 7D 89 03 A6 */ mtctr r12 -/* 80275F90 00272ED0 4E 80 04 21 */ bctrl -/* 80275F94 00272ED4 7F C3 F3 78 */ mr r3, r30 -/* 80275F98 00272ED8 7F E4 FB 78 */ mr r4, r31 -/* 80275F9C 00272EDC 4B E8 BF 4D */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 80275FA0 00272EE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275FA4 00272EE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275FA8 00272EE8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80275FAC 00272EEC 7C 08 03 A6 */ mtlr r0 -/* 80275FB0 00272EF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80275FB4 00272EF4 4E 80 00 20 */ blr - -.global doUpdate__Q34Game4Tank3ObjFv -doUpdate__Q34Game4Tank3ObjFv: -/* 80275FB8 00272EF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80275FBC 00272EFC 7C 08 02 A6 */ mflr r0 -/* 80275FC0 00272F00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80275FC4 00272F04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80275FC8 00272F08 7C 7F 1B 78 */ mr r31, r3 -/* 80275FCC 00272F0C 48 00 0B CD */ bl updateCaution__Q34Game4Tank3ObjFv -/* 80275FD0 00272F10 7F E3 FB 78 */ mr r3, r31 -/* 80275FD4 00272F14 48 00 0A 95 */ bl updateEmit__Q34Game4Tank3ObjFv -/* 80275FD8 00272F18 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80275FDC 00272F1C 7F E4 FB 78 */ mr r4, r31 -/* 80275FE0 00272F20 81 83 00 00 */ lwz r12, 0(r3) -/* 80275FE4 00272F24 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80275FE8 00272F28 7D 89 03 A6 */ mtctr r12 -/* 80275FEC 00272F2C 4E 80 04 21 */ bctrl -/* 80275FF0 00272F30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80275FF4 00272F34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80275FF8 00272F38 7C 08 03 A6 */ mtlr r0 -/* 80275FFC 00272F3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276000 00272F40 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game4Tank3ObjFR8Graphics -doDirectDraw__Q34Game4Tank3ObjFR8Graphics: -/* 80276004 00272F44 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Tank3ObjFR8Graphics -doDebugDraw__Q34Game4Tank3ObjFR8Graphics: -/* 80276008 00272F48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027600C 00272F4C 7C 08 02 A6 */ mflr r0 -/* 80276010 00272F50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276014 00272F54 4B E8 FE 59 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80276018 00272F58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027601C 00272F5C 7C 08 03 A6 */ mtlr r0 -/* 80276020 00272F60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276024 00272F64 4E 80 00 20 */ blr - -.global setFSM__Q34Game4Tank3ObjFPQ34Game4Tank3FSM -setFSM__Q34Game4Tank3ObjFPQ34Game4Tank3FSM: -/* 80276028 00272F68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027602C 00272F6C 7C 08 02 A6 */ mflr r0 -/* 80276030 00272F70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276034 00272F74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276038 00272F78 7C 7F 1B 78 */ mr r31, r3 -/* 8027603C 00272F7C 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80276040 00272F80 7F E4 FB 78 */ mr r4, r31 -/* 80276044 00272F84 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80276048 00272F88 81 83 00 00 */ lwz r12, 0(r3) -/* 8027604C 00272F8C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80276050 00272F90 7D 89 03 A6 */ mtctr r12 -/* 80276054 00272F94 4E 80 04 21 */ bctrl -/* 80276058 00272F98 38 00 00 00 */ li r0, 0 -/* 8027605C 00272F9C 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80276060 00272FA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276064 00272FA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276068 00272FA8 7C 08 03 A6 */ mtlr r0 -/* 8027606C 00272FAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276070 00272FB0 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game4Tank3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game4Tank3ObjFRQ24Game11ShadowParam: -/* 80276074 00272FB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276078 00272FB8 7C 08 02 A6 */ mflr r0 -/* 8027607C 00272FBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276080 00272FC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276084 00272FC4 7C 9F 23 78 */ mr r31, r4 -/* 80276088 00272FC8 93 C1 00 08 */ stw r30, 8(r1) -/* 8027608C 00272FCC 7C 7E 1B 78 */ mr r30, r3 -/* 80276090 00272FD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80276094 00272FD4 81 8C 02 04 */ lwz r12, 0x204(r12) -/* 80276098 00272FD8 7D 89 03 A6 */ mtctr r12 -/* 8027609C 00272FDC 4E 80 04 21 */ bctrl -/* 802760A0 00272FE0 C0 42 CF 9C */ lfs f2, lbl_8051B2FC@sda21(r2) -/* 802760A4 00272FE4 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 802760A8 00272FE8 C0 22 CF 94 */ lfs f1, lbl_8051B2F4@sda21(r2) -/* 802760AC 00272FEC EC 42 00 2A */ fadds f2, f2, f0 -/* 802760B0 00272FF0 C0 02 CF 98 */ lfs f0, lbl_8051B2F8@sda21(r2) -/* 802760B4 00272FF4 D0 5F 00 04 */ stfs f2, 4(r31) -/* 802760B8 00272FF8 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 802760BC 00272FFC D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 802760C0 00273000 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 802760C4 00273004 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 802760C8 00273008 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 802760CC 0027300C 41 82 00 10 */ beq lbl_802760DC -/* 802760D0 00273010 C0 02 CF A0 */ lfs f0, lbl_8051B300@sda21(r2) -/* 802760D4 00273014 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 802760D8 00273018 48 00 00 0C */ b lbl_802760E4 -lbl_802760DC: -/* 802760DC 0027301C C0 02 CF A4 */ lfs f0, lbl_8051B304@sda21(r2) -/* 802760E0 00273020 D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_802760E4: -/* 802760E4 00273024 C0 02 CF A8 */ lfs f0, lbl_8051B308@sda21(r2) -/* 802760E8 00273028 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 802760EC 0027302C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802760F0 00273030 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802760F4 00273034 83 C1 00 08 */ lwz r30, 8(r1) -/* 802760F8 00273038 7C 08 03 A6 */ mtlr r0 -/* 802760FC 0027303C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276100 00273040 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game4Tank3ObjFv -doStartStoneState__Q34Game4Tank3ObjFv: -/* 80276104 00273044 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276108 00273048 7C 08 02 A6 */ mflr r0 -/* 8027610C 0027304C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276110 00273050 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276114 00273054 7C 7F 1B 78 */ mr r31, r3 -/* 80276118 00273058 4B E8 CD DD */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 8027611C 0027305C 88 1F 03 04 */ lbz r0, 0x304(r31) -/* 80276120 00273060 28 00 00 00 */ cmplwi r0, 0 -/* 80276124 00273064 41 82 00 20 */ beq lbl_80276144 -/* 80276128 00273068 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 8027612C 0027306C 7F E3 FB 78 */ mr r3, r31 -/* 80276130 00273070 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 80276134 00273074 81 9F 00 00 */ lwz r12, 0(r31) -/* 80276138 00273078 81 8C 03 0C */ lwz r12, 0x30c(r12) -/* 8027613C 0027307C 7D 89 03 A6 */ mtctr r12 -/* 80276140 00273080 4E 80 04 21 */ bctrl -lbl_80276144: -/* 80276144 00273084 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276148 00273088 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027614C 0027308C 7C 08 03 A6 */ mtlr r0 -/* 80276150 00273090 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276154 00273094 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game4Tank3ObjFv -doFinishStoneState__Q34Game4Tank3ObjFv: -/* 80276158 00273098 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027615C 0027309C 7C 08 02 A6 */ mflr r0 -/* 80276160 002730A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276164 002730A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276168 002730A8 7C 7F 1B 78 */ mr r31, r3 -/* 8027616C 002730AC 4B E8 CD 9D */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 80276170 002730B0 88 1F 03 04 */ lbz r0, 0x304(r31) -/* 80276174 002730B4 28 00 00 00 */ cmplwi r0, 0 -/* 80276178 002730B8 41 82 00 18 */ beq lbl_80276190 -/* 8027617C 002730BC 7F E3 FB 78 */ mr r3, r31 -/* 80276180 002730C0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80276184 002730C4 81 8C 03 04 */ lwz r12, 0x304(r12) -/* 80276188 002730C8 7D 89 03 A6 */ mtctr r12 -/* 8027618C 002730CC 4E 80 04 21 */ bctrl -lbl_80276190: -/* 80276190 002730D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276194 002730D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276198 002730D8 7C 08 03 A6 */ mtlr r0 -/* 8027619C 002730DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802761A0 002730E0 4E 80 00 20 */ blr - -.global doStartEarthquakeFitState__Q34Game4Tank3ObjFv -doStartEarthquakeFitState__Q34Game4Tank3ObjFv: -/* 802761A4 002730E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802761A8 002730E8 7C 08 02 A6 */ mflr r0 -/* 802761AC 002730EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802761B0 002730F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802761B4 002730F4 7C 7F 1B 78 */ mr r31, r3 -/* 802761B8 002730F8 4B E9 17 AD */ bl doStartEarthquakeFitState__Q24Game9EnemyBaseFv -/* 802761BC 002730FC 88 1F 03 04 */ lbz r0, 0x304(r31) -/* 802761C0 00273100 28 00 00 00 */ cmplwi r0, 0 -/* 802761C4 00273104 41 82 00 20 */ beq lbl_802761E4 -/* 802761C8 00273108 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 802761CC 0027310C 7F E3 FB 78 */ mr r3, r31 -/* 802761D0 00273110 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 802761D4 00273114 81 9F 00 00 */ lwz r12, 0(r31) -/* 802761D8 00273118 81 8C 03 0C */ lwz r12, 0x30c(r12) -/* 802761DC 0027311C 7D 89 03 A6 */ mtctr r12 -/* 802761E0 00273120 4E 80 04 21 */ bctrl -lbl_802761E4: -/* 802761E4 00273124 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802761E8 00273128 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802761EC 0027312C 7C 08 03 A6 */ mtlr r0 -/* 802761F0 00273130 38 21 00 10 */ addi r1, r1, 0x10 -/* 802761F4 00273134 4E 80 00 20 */ blr - -.global doFinishEarthquakeFitState__Q34Game4Tank3ObjFv -doFinishEarthquakeFitState__Q34Game4Tank3ObjFv: -/* 802761F8 00273138 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802761FC 0027313C 7C 08 02 A6 */ mflr r0 -/* 80276200 00273140 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276204 00273144 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276208 00273148 7C 7F 1B 78 */ mr r31, r3 -/* 8027620C 0027314C 4B E9 17 5D */ bl doFinishEarthquakeFitState__Q24Game9EnemyBaseFv -/* 80276210 00273150 88 1F 03 04 */ lbz r0, 0x304(r31) -/* 80276214 00273154 28 00 00 00 */ cmplwi r0, 0 -/* 80276218 00273158 41 82 00 18 */ beq lbl_80276230 -/* 8027621C 0027315C 7F E3 FB 78 */ mr r3, r31 -/* 80276220 00273160 81 9F 00 00 */ lwz r12, 0(r31) -/* 80276224 00273164 81 8C 03 04 */ lwz r12, 0x304(r12) -/* 80276228 00273168 7D 89 03 A6 */ mtctr r12 -/* 8027622C 0027316C 4E 80 04 21 */ bctrl -lbl_80276230: -/* 80276230 00273170 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276234 00273174 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276238 00273178 7C 08 03 A6 */ mtlr r0 -/* 8027623C 0027317C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276240 00273180 4E 80 00 20 */ blr - -.global doStartWaitingBirthTypeDrop__Q34Game4Tank3ObjFv -doStartWaitingBirthTypeDrop__Q34Game4Tank3ObjFv: -/* 80276244 00273184 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276248 00273188 7C 08 02 A6 */ mflr r0 -/* 8027624C 0027318C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276250 00273190 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276254 00273194 7C 7F 1B 78 */ mr r31, r3 -/* 80276258 00273198 4B E9 17 41 */ bl doStartWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8027625C 0027319C 7F E3 FB 78 */ mr r3, r31 -/* 80276260 002731A0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80276264 002731A4 81 8C 03 14 */ lwz r12, 0x314(r12) -/* 80276268 002731A8 7D 89 03 A6 */ mtctr r12 -/* 8027626C 002731AC 4E 80 04 21 */ bctrl -/* 80276270 002731B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276274 002731B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276278 002731B8 7C 08 03 A6 */ mtlr r0 -/* 8027627C 002731BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276280 002731C0 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game4Tank3ObjFv -effectDrawOff__Q34Game4Tank3ObjFv: -/* 80276284 002731C4 4E 80 00 20 */ blr - -.global doFinishWaitingBirthTypeDrop__Q34Game4Tank3ObjFv -doFinishWaitingBirthTypeDrop__Q34Game4Tank3ObjFv: -/* 80276288 002731C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027628C 002731CC 7C 08 02 A6 */ mflr r0 -/* 80276290 002731D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276294 002731D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276298 002731D8 7C 7F 1B 78 */ mr r31, r3 -/* 8027629C 002731DC 4B E9 17 2D */ bl doFinishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 802762A0 002731E0 7F E3 FB 78 */ mr r3, r31 -/* 802762A4 002731E4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802762A8 002731E8 81 8C 03 10 */ lwz r12, 0x310(r12) -/* 802762AC 002731EC 7D 89 03 A6 */ mtctr r12 -/* 802762B0 002731F0 4E 80 04 21 */ bctrl -/* 802762B4 002731F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802762B8 002731F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802762BC 002731FC 7C 08 03 A6 */ mtlr r0 -/* 802762C0 00273200 38 21 00 10 */ addi r1, r1, 0x10 -/* 802762C4 00273204 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game4Tank3ObjFv -effectDrawOn__Q34Game4Tank3ObjFv: -/* 802762C8 00273208 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game4Tank3ObjFv -startCarcassMotion__Q34Game4Tank3ObjFv: -/* 802762CC 0027320C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802762D0 00273210 7C 08 02 A6 */ mflr r0 -/* 802762D4 00273214 38 80 00 06 */ li r4, 6 -/* 802762D8 00273218 38 A0 00 00 */ li r5, 0 -/* 802762DC 0027321C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802762E0 00273220 4B E8 ED 25 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802762E4 00273224 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802762E8 00273228 7C 08 03 A6 */ mtlr r0 -/* 802762EC 0027322C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802762F0 00273230 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game4Tank3ObjFv -doStartMovie__Q34Game4Tank3ObjFv: -/* 802762F4 00273234 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802762F8 00273238 7C 08 02 A6 */ mflr r0 -/* 802762FC 0027323C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276300 00273240 81 83 00 00 */ lwz r12, 0(r3) -/* 80276304 00273244 81 8C 03 14 */ lwz r12, 0x314(r12) -/* 80276308 00273248 7D 89 03 A6 */ mtctr r12 -/* 8027630C 0027324C 4E 80 04 21 */ bctrl -/* 80276310 00273250 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276314 00273254 7C 08 03 A6 */ mtlr r0 -/* 80276318 00273258 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027631C 0027325C 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game4Tank3ObjFv -doEndMovie__Q34Game4Tank3ObjFv: -/* 80276320 00273260 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276324 00273264 7C 08 02 A6 */ mflr r0 -/* 80276328 00273268 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027632C 0027326C 81 83 00 00 */ lwz r12, 0(r3) -/* 80276330 00273270 81 8C 03 10 */ lwz r12, 0x310(r12) -/* 80276334 00273274 7D 89 03 A6 */ mtctr r12 -/* 80276338 00273278 4E 80 04 21 */ bctrl -/* 8027633C 0027327C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276340 00273280 7C 08 03 A6 */ mtlr r0 -/* 80276344 00273284 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276348 00273288 4E 80 00 20 */ blr - -.global getOffsetForMapCollision__Q34Game4Tank3ObjFv -getOffsetForMapCollision__Q34Game4Tank3ObjFv: -/* 8027634C 0027328C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80276350 00273290 7C 08 02 A6 */ mflr r0 -/* 80276354 00273294 90 01 00 24 */ stw r0, 0x24(r1) -/* 80276358 00273298 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027635C 0027329C 7C 9F 23 78 */ mr r31, r4 -/* 80276360 002732A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80276364 002732A4 7C 7E 1B 78 */ mr r30, r3 -/* 80276368 002732A8 7F E3 FB 78 */ mr r3, r31 -/* 8027636C 002732AC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80276370 002732B0 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80276374 002732B4 7D 89 03 A6 */ mtctr r12 -/* 80276378 002732B8 4E 80 04 21 */ bctrl -/* 8027637C 002732BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80276380 002732C0 41 82 00 24 */ beq lbl_802763A4 -/* 80276384 002732C4 3C 60 80 51 */ lis r3, zero__10Vector3$$0f$$1@ha -/* 80276388 002732C8 C4 03 41 E4 */ lfsu f0, zero__10Vector3$$0f$$1@l(r3) -/* 8027638C 002732CC D0 1E 00 00 */ stfs f0, 0(r30) -/* 80276390 002732D0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80276394 002732D4 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80276398 002732D8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8027639C 002732DC D0 1E 00 08 */ stfs f0, 8(r30) -/* 802763A0 002732E0 48 00 00 58 */ b lbl_802763F8 -lbl_802763A4: -/* 802763A4 002732E4 7F E3 FB 78 */ mr r3, r31 -/* 802763A8 002732E8 38 81 00 08 */ addi r4, r1, 8 -/* 802763AC 002732EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802763B0 002732F0 81 8C 02 04 */ lwz r12, 0x204(r12) -/* 802763B4 002732F4 7D 89 03 A6 */ mtctr r12 -/* 802763B8 002732F8 4E 80 04 21 */ bctrl -/* 802763BC 002732FC C0 41 00 08 */ lfs f2, 8(r1) -/* 802763C0 00273300 C0 3F 01 8C */ lfs f1, 0x18c(r31) -/* 802763C4 00273304 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 802763C8 00273308 EC 42 08 28 */ fsubs f2, f2, f1 -/* 802763CC 0027330C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 802763D0 00273310 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802763D4 00273314 D0 41 00 08 */ stfs f2, 8(r1) -/* 802763D8 00273318 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 802763DC 0027331C EC 01 00 28 */ fsubs f0, f1, f0 -/* 802763E0 00273320 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802763E4 00273324 D0 5E 00 00 */ stfs f2, 0(r30) -/* 802763E8 00273328 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802763EC 0027332C D0 1E 00 04 */ stfs f0, 4(r30) -/* 802763F0 00273330 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802763F4 00273334 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_802763F8: -/* 802763F8 00273338 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802763FC 0027333C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80276400 00273340 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80276404 00273344 7C 08 03 A6 */ mtlr r0 -/* 80276408 00273348 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027640C 0027334C 4E 80 00 20 */ blr - -.global initWalkSmokeEffect__Q34Game4Tank3ObjFv -initWalkSmokeEffect__Q34Game4Tank3ObjFv: -/* 80276410 00273350 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276414 00273354 7C 08 02 A6 */ mflr r0 -/* 80276418 00273358 38 80 00 04 */ li r4, 4 -/* 8027641C 0027335C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276420 00273360 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276424 00273364 7C 7F 1B 78 */ mr r31, r3 -/* 80276428 00273368 38 7F 02 C4 */ addi r3, r31, 0x2c4 -/* 8027642C 0027336C 4B EB 3F 39 */ bl alloc__Q34Game15WalkSmokeEffect3MgrFi -/* 80276430 00273370 80 BF 01 74 */ lwz r5, 0x174(r31) -/* 80276434 00273374 38 7F 02 C4 */ addi r3, r31, 0x2c4 -/* 80276438 00273378 C0 22 CF B4 */ lfs f1, lbl_8051B314@sda21(r2) -/* 8027643C 0027337C 38 80 00 00 */ li r4, 0 -/* 80276440 00273380 38 C2 CF AC */ addi r6, r2, lbl_8051B30C@sda21 -/* 80276444 00273384 4B EB 41 9D */ bl setup__Q34Game15WalkSmokeEffect3MgrFiPQ28SysShape5ModelPcf -/* 80276448 00273388 80 BF 01 74 */ lwz r5, 0x174(r31) -/* 8027644C 0027338C 38 7F 02 C4 */ addi r3, r31, 0x2c4 -/* 80276450 00273390 C0 22 CF B4 */ lfs f1, lbl_8051B314@sda21(r2) -/* 80276454 00273394 38 80 00 01 */ li r4, 1 -/* 80276458 00273398 38 C2 CF B8 */ addi r6, r2, lbl_8051B318@sda21 -/* 8027645C 0027339C 4B EB 41 85 */ bl setup__Q34Game15WalkSmokeEffect3MgrFiPQ28SysShape5ModelPcf -/* 80276460 002733A0 80 BF 01 74 */ lwz r5, 0x174(r31) -/* 80276464 002733A4 38 7F 02 C4 */ addi r3, r31, 0x2c4 -/* 80276468 002733A8 C0 22 CF C8 */ lfs f1, lbl_8051B328@sda21(r2) -/* 8027646C 002733AC 38 80 00 02 */ li r4, 2 -/* 80276470 002733B0 38 C2 CF C0 */ addi r6, r2, lbl_8051B320@sda21 -/* 80276474 002733B4 4B EB 41 6D */ bl setup__Q34Game15WalkSmokeEffect3MgrFiPQ28SysShape5ModelPcf -/* 80276478 002733B8 80 BF 01 74 */ lwz r5, 0x174(r31) -/* 8027647C 002733BC 38 7F 02 C4 */ addi r3, r31, 0x2c4 -/* 80276480 002733C0 C0 22 CF C8 */ lfs f1, lbl_8051B328@sda21(r2) -/* 80276484 002733C4 38 80 00 03 */ li r4, 3 -/* 80276488 002733C8 38 C2 CF CC */ addi r6, r2, lbl_8051B32C@sda21 -/* 8027648C 002733CC 4B EB 41 55 */ bl setup__Q34Game15WalkSmokeEffect3MgrFiPQ28SysShape5ModelPcf -/* 80276490 002733D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276494 002733D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276498 002733D8 7C 08 03 A6 */ mtlr r0 -/* 8027649C 002733DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802764A0 002733E0 4E 80 00 20 */ blr - -.global getWalkSmokeEffectMgr__Q34Game4Tank3ObjFv -getWalkSmokeEffectMgr__Q34Game4Tank3ObjFv: -/* 802764A4 002733E4 38 63 02 C4 */ addi r3, r3, 0x2c4 -/* 802764A8 002733E8 4E 80 00 20 */ blr - -.global getCommonEffectPos__Q34Game4Tank3ObjFR10Vector3$$0f$$1 -getCommonEffectPos__Q34Game4Tank3ObjFR10Vector3$$0f$$1: -/* 802764AC 002733EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802764B0 002733F0 7C 08 02 A6 */ mflr r0 -/* 802764B4 002733F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802764B8 002733F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802764BC 002733FC 7C 9F 23 78 */ mr r31, r4 -/* 802764C0 00273400 38 81 00 08 */ addi r4, r1, 8 -/* 802764C4 00273404 81 83 00 00 */ lwz r12, 0(r3) -/* 802764C8 00273408 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802764CC 0027340C 7D 89 03 A6 */ mtctr r12 -/* 802764D0 00273410 4E 80 04 21 */ bctrl -/* 802764D4 00273414 C0 01 00 08 */ lfs f0, 8(r1) -/* 802764D8 00273418 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802764DC 0027341C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802764E0 00273420 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802764E4 00273424 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802764E8 00273428 D0 1F 00 08 */ stfs f0, 8(r31) -/* 802764EC 0027342C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802764F0 00273430 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802764F4 00273434 7C 08 03 A6 */ mtlr r0 -/* 802764F8 00273438 38 21 00 20 */ addi r1, r1, 0x20 -/* 802764FC 0027343C 4E 80 00 20 */ blr - -.global isAttackable__Q34Game4Tank3ObjFb -isAttackable__Q34Game4Tank3ObjFb: -/* 80276500 00273440 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80276504 00273444 7C 08 02 A6 */ mflr r0 -/* 80276508 00273448 90 01 01 04 */ stw r0, 0x104(r1) -/* 8027650C 0027344C DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 80276510 00273450 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 80276514 00273454 DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 80276518 00273458 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 8027651C 0027345C DB A1 00 D0 */ stfd f29, 0xd0(r1) -/* 80276520 00273460 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 -/* 80276524 00273464 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 80276528 00273468 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 8027652C 0027346C 93 A1 00 C4 */ stw r29, 0xc4(r1) -/* 80276530 00273470 7C 7E 1B 78 */ mr r30, r3 -/* 80276534 00273474 7C 9F 23 78 */ mr r31, r4 -/* 80276538 00273478 C0 23 02 D0 */ lfs f1, 0x2d0(r3) -/* 8027653C 0027347C C0 43 02 D4 */ lfs f2, 0x2d4(r3) -/* 80276540 00273480 C0 03 02 CC */ lfs f0, 0x2cc(r3) -/* 80276544 00273484 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80276548 00273488 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8027654C 0027348C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80276550 00273490 81 83 00 00 */ lwz r12, 0(r3) -/* 80276554 00273494 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80276558 00273498 7D 89 03 A6 */ mtctr r12 -/* 8027655C 0027349C 4E 80 04 21 */ bctrl -/* 80276560 002734A0 FC 40 08 90 */ fmr f2, f1 -/* 80276564 002734A4 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 80276568 002734A8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8027656C 002734AC 40 80 00 08 */ bge lbl_80276574 -/* 80276570 002734B0 FC 40 10 50 */ fneg f2, f2 -lbl_80276574: -/* 80276574 002734B4 C0 62 CF D4 */ lfs f3, lbl_8051B334@sda21(r2) -/* 80276578 002734B8 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8027657C 002734BC C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 80276580 002734C0 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80276584 002734C4 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80276588 002734C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027658C 002734CC FC 00 10 1E */ fctiwz f0, f2 -/* 80276590 002734D0 D8 01 00 A8 */ stfd f0, 0xa8(r1) -/* 80276594 002734D4 80 01 00 AC */ lwz r0, 0xac(r1) -/* 80276598 002734D8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027659C 002734DC 7C 64 02 14 */ add r3, r4, r0 -/* 802765A0 002734E0 C0 43 00 04 */ lfs f2, 4(r3) -/* 802765A4 002734E4 40 80 00 28 */ bge lbl_802765CC -/* 802765A8 002734E8 C0 02 CF D8 */ lfs f0, lbl_8051B338@sda21(r2) -/* 802765AC 002734EC EC 01 00 32 */ fmuls f0, f1, f0 -/* 802765B0 002734F0 FC 00 00 1E */ fctiwz f0, f0 -/* 802765B4 002734F4 D8 01 00 B0 */ stfd f0, 0xb0(r1) -/* 802765B8 002734F8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 802765BC 002734FC 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802765C0 00273500 7C 04 04 2E */ lfsx f0, r4, r0 -/* 802765C4 00273504 FC 20 00 50 */ fneg f1, f0 -/* 802765C8 00273508 48 00 00 1C */ b lbl_802765E4 -lbl_802765CC: -/* 802765CC 0027350C EC 01 00 F2 */ fmuls f0, f1, f3 -/* 802765D0 00273510 FC 00 00 1E */ fctiwz f0, f0 -/* 802765D4 00273514 D8 01 00 B8 */ stfd f0, 0xb8(r1) -/* 802765D8 00273518 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 802765DC 0027351C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802765E0 00273520 7C 24 04 2E */ lfsx f1, r4, r0 -lbl_802765E4: -/* 802765E4 00273524 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 802765E8 00273528 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802765EC 0027352C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802765F0 00273530 FF C0 08 18 */ frsp f30, f1 -/* 802765F4 00273534 FF E0 10 50 */ fneg f31, f2 -/* 802765F8 00273538 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802765FC 0027353C D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80276600 00273540 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80276604 00273544 C3 A3 05 64 */ lfs f29, 0x564(r3) -/* 80276608 00273548 41 82 00 1C */ beq lbl_80276624 -/* 8027660C 0027354C FC 20 E8 90 */ fmr f1, f29 -/* 80276610 00273550 7F C3 F3 78 */ mr r3, r30 -/* 80276614 00273554 38 81 00 24 */ addi r4, r1, 0x24 -/* 80276618 00273558 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8027661C 0027355C 48 00 02 21 */ bl emitCollideRatio__Q34Game4Tank3ObjFR10Vector3$$0f$$1R10Vector3$$0f$$1f -/* 80276620 00273560 FF A0 08 90 */ fmr f29, f1 -lbl_80276624: -/* 80276624 00273564 C0 02 CF DC */ lfs f0, lbl_8051B33C@sda21(r2) -/* 80276628 00273568 38 61 00 3C */ addi r3, r1, 0x3c -/* 8027662C 0027356C C0 81 00 34 */ lfs f4, 0x34(r1) -/* 80276630 00273570 38 81 00 14 */ addi r4, r1, 0x14 -/* 80276634 00273574 EC A0 07 72 */ fmuls f5, f0, f29 -/* 80276638 00273578 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 8027663C 0027357C C0 41 00 38 */ lfs f2, 0x38(r1) -/* 80276640 00273580 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80276644 00273584 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80276648 00273588 EC 43 11 7A */ fmadds f2, f3, f5, f2 -/* 8027664C 0027358C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80276650 00273590 EC 01 01 7A */ fmadds f0, f1, f5, f0 -/* 80276654 00273594 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80276658 00273598 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8027665C 0027359C D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 80276660 002735A0 4B FB 7D 41 */ bl __ct__Q24Game15CellIteratorArgFRQ23Sys6Sphere -/* 80276664 002735A4 38 00 00 01 */ li r0, 1 -/* 80276668 002735A8 38 61 00 5C */ addi r3, r1, 0x5c -/* 8027666C 002735AC 98 01 00 58 */ stb r0, 0x58(r1) -/* 80276670 002735B0 38 81 00 3C */ addi r4, r1, 0x3c -/* 80276674 002735B4 4B FB 7D 6D */ bl __ct__Q24Game12CellIteratorFRQ24Game15CellIteratorArg -/* 80276678 002735B8 38 61 00 5C */ addi r3, r1, 0x5c -/* 8027667C 002735BC 4B FB 7D E1 */ bl first__Q24Game12CellIteratorFv -/* 80276680 002735C0 48 00 01 70 */ b lbl_802767F0 -lbl_80276684: -/* 80276684 002735C4 38 61 00 5C */ addi r3, r1, 0x5c -/* 80276688 002735C8 4B FB 7E BD */ bl __ml__Q24Game12CellIteratorFv -/* 8027668C 002735CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80276690 002735D0 7C 7D 1B 78 */ mr r29, r3 -/* 80276694 002735D4 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80276698 002735D8 7D 89 03 A6 */ mtctr r12 -/* 8027669C 002735DC 4E 80 04 21 */ bctrl -/* 802766A0 002735E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802766A4 002735E4 41 82 01 44 */ beq lbl_802767E8 -/* 802766A8 002735E8 7F A3 EB 78 */ mr r3, r29 -/* 802766AC 002735EC 81 9D 00 00 */ lwz r12, 0(r29) -/* 802766B0 002735F0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802766B4 002735F4 7D 89 03 A6 */ mtctr r12 -/* 802766B8 002735F8 4E 80 04 21 */ bctrl -/* 802766BC 002735FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802766C0 00273600 40 82 00 3C */ bne lbl_802766FC -/* 802766C4 00273604 7F A3 EB 78 */ mr r3, r29 -/* 802766C8 00273608 81 9D 00 00 */ lwz r12, 0(r29) -/* 802766CC 0027360C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802766D0 00273610 7D 89 03 A6 */ mtctr r12 -/* 802766D4 00273614 4E 80 04 21 */ bctrl -/* 802766D8 00273618 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802766DC 0027361C 41 82 01 0C */ beq lbl_802767E8 -/* 802766E0 00273620 7F A3 EB 78 */ mr r3, r29 -/* 802766E4 00273624 81 9D 00 00 */ lwz r12, 0(r29) -/* 802766E8 00273628 81 8C 01 C0 */ lwz r12, 0x1c0(r12) -/* 802766EC 0027362C 7D 89 03 A6 */ mtctr r12 -/* 802766F0 00273630 4E 80 04 21 */ bctrl -/* 802766F4 00273634 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802766F8 00273638 41 82 00 F0 */ beq lbl_802767E8 -lbl_802766FC: -/* 802766FC 0027363C 7F A4 EB 78 */ mr r4, r29 -/* 80276700 00273640 38 61 00 08 */ addi r3, r1, 8 -/* 80276704 00273644 81 9D 00 00 */ lwz r12, 0(r29) -/* 80276708 00273648 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027670C 0027364C 7D 89 03 A6 */ mtctr r12 -/* 80276710 00273650 4E 80 04 21 */ bctrl -/* 80276714 00273654 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80276718 00273658 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8027671C 0027365C C0 81 00 10 */ lfs f4, 0x10(r1) -/* 80276720 00273660 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 80276724 00273664 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80276728 00273668 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 8027672C 0027366C C0 41 00 08 */ lfs f2, 8(r1) -/* 80276730 00273670 EC 84 18 28 */ fsubs f4, f4, f3 -/* 80276734 00273674 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80276738 00273678 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 8027673C 0027367C 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80276740 00273680 EC 62 08 28 */ fsubs f3, f2, f1 -/* 80276744 00273684 40 81 00 0C */ ble lbl_80276750 -/* 80276748 00273688 FC 20 28 90 */ fmr f1, f5 -/* 8027674C 0027368C 48 00 00 08 */ b lbl_80276754 -lbl_80276750: -/* 80276750 00273690 FC 20 28 50 */ fneg f1, f5 -lbl_80276754: -/* 80276754 00273694 C0 03 05 B4 */ lfs f0, 0x5b4(r3) -/* 80276758 00273698 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027675C 0027369C 40 80 00 8C */ bge lbl_802767E8 -/* 80276760 002736A0 C0 22 CF 94 */ lfs f1, lbl_8051B2F4@sda21(r2) -/* 80276764 002736A4 EC 01 01 72 */ fmuls f0, f1, f5 -/* 80276768 002736A8 EC 1F 00 FA */ fmadds f0, f31, f3, f0 -/* 8027676C 002736AC EC 5E 01 3A */ fmadds f2, f30, f4, f0 -/* 80276770 002736B0 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80276774 002736B4 40 81 00 08 */ ble lbl_8027677C -/* 80276778 002736B8 48 00 00 08 */ b lbl_80276780 -lbl_8027677C: -/* 8027677C 002736BC FC 40 10 50 */ fneg f2, f2 -lbl_80276780: -/* 80276780 002736C0 C0 03 05 B4 */ lfs f0, 0x5b4(r3) -/* 80276784 002736C4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80276788 002736C8 40 80 00 60 */ bge lbl_802767E8 -/* 8027678C 002736CC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80276790 002736D0 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80276794 002736D4 EC 00 01 72 */ fmuls f0, f0, f5 -/* 80276798 002736D8 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 8027679C 002736DC EC 01 00 FA */ fmadds f0, f1, f3, f0 -/* 802767A0 002736E0 EC 22 01 3A */ fmadds f1, f2, f4, f0 -/* 802767A4 002736E4 FC 01 E8 40 */ fcmpo cr0, f1, f29 -/* 802767A8 002736E8 40 80 00 40 */ bge lbl_802767E8 -/* 802767AC 002736EC C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 802767B0 002736F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802767B4 002736F4 40 81 00 34 */ ble lbl_802767E8 -/* 802767B8 002736F8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802767BC 002736FC 41 82 00 20 */ beq lbl_802767DC -/* 802767C0 00273700 7F C3 F3 78 */ mr r3, r30 -/* 802767C4 00273704 7F A4 EB 78 */ mr r4, r29 -/* 802767C8 00273708 81 9E 00 00 */ lwz r12, 0(r30) -/* 802767CC 0027370C 81 8C 03 18 */ lwz r12, 0x318(r12) -/* 802767D0 00273710 7D 89 03 A6 */ mtctr r12 -/* 802767D4 00273714 4E 80 04 21 */ bctrl -/* 802767D8 00273718 48 00 00 10 */ b lbl_802767E8 -lbl_802767DC: -/* 802767DC 0027371C 93 BE 02 30 */ stw r29, 0x230(r30) -/* 802767E0 00273720 38 60 00 01 */ li r3, 1 -/* 802767E4 00273724 48 00 00 20 */ b lbl_80276804 -lbl_802767E8: -/* 802767E8 00273728 38 61 00 5C */ addi r3, r1, 0x5c -/* 802767EC 0027372C 4B FB 7D 15 */ bl next__Q24Game12CellIteratorFv -lbl_802767F0: -/* 802767F0 00273730 38 61 00 5C */ addi r3, r1, 0x5c -/* 802767F4 00273734 4B FB 7D 41 */ bl isDone__Q24Game12CellIteratorFv -/* 802767F8 00273738 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802767FC 0027373C 41 82 FE 88 */ beq lbl_80276684 -/* 80276800 00273740 7F E3 FB 78 */ mr r3, r31 -lbl_80276804: -/* 80276804 00273744 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 80276808 00273748 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 8027680C 0027374C E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 80276810 00273750 CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 80276814 00273754 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 -/* 80276818 00273758 CB A1 00 D0 */ lfd f29, 0xd0(r1) -/* 8027681C 0027375C 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 80276820 00273760 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 80276824 00273764 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80276828 00273768 83 A1 00 C4 */ lwz r29, 0xc4(r1) -/* 8027682C 0027376C 7C 08 03 A6 */ mtlr r0 -/* 80276830 00273770 38 21 01 00 */ addi r1, r1, 0x100 -/* 80276834 00273774 4E 80 00 20 */ blr - -.global interactCreature__Q34Game4Tank3ObjFPQ24Game8Creature -interactCreature__Q34Game4Tank3ObjFPQ24Game8Creature: -/* 80276838 00273778 4E 80 00 20 */ blr - -.global emitCollideRatio__Q34Game4Tank3ObjFR10Vector3$$0f$$1R10Vector3$$0f$$1f -emitCollideRatio__Q34Game4Tank3ObjFR10Vector3$$0f$$1R10Vector3$$0f$$1f: -/* 8027683C 0027377C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80276840 00273780 7C 08 02 A6 */ mflr r0 -/* 80276844 00273784 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80276848 00273788 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8027684C 0027378C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80276850 00273790 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 80276854 00273794 7C 7F 1B 78 */ mr r31, r3 -/* 80276858 00273798 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 8027685C 0027379C C0 43 02 E4 */ lfs f2, 0x2e4(r3) -/* 80276860 002737A0 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 80276864 002737A4 EF E1 00 B2 */ fmuls f31, f1, f2 -/* 80276868 002737A8 40 82 00 14 */ bne lbl_8027687C -/* 8027686C 002737AC C0 22 CF E0 */ lfs f1, lbl_8051B340@sda21(r2) -/* 80276870 002737B0 C0 02 CF 98 */ lfs f0, lbl_8051B2F8@sda21(r2) -/* 80276874 002737B4 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) -/* 80276878 002737B8 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -lbl_8027687C: -/* 8027687C 002737BC C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 80276880 002737C0 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) -/* 80276884 002737C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80276888 002737C8 40 80 01 A0 */ bge lbl_80276A28 -/* 8027688C 002737CC C0 A4 00 04 */ lfs f5, 4(r4) -/* 80276890 002737D0 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80276894 002737D4 C0 64 00 00 */ lfs f3, 0(r4) -/* 80276898 002737D8 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8027689C 002737DC EC A5 07 F2 */ fmuls f5, f5, f31 -/* 802768A0 002737E0 C0 C4 00 08 */ lfs f6, 8(r4) -/* 802768A4 002737E4 C0 25 00 04 */ lfs f1, 4(r5) -/* 802768A8 002737E8 EC 63 07 F2 */ fmuls f3, f3, f31 -/* 802768AC 002737EC C0 45 00 00 */ lfs f2, 0(r5) -/* 802768B0 002737F0 EC C6 07 F2 */ fmuls f6, f6, f31 -/* 802768B4 002737F4 C0 05 00 08 */ lfs f0, 8(r5) -/* 802768B8 002737F8 EC A5 08 2A */ fadds f5, f5, f1 -/* 802768BC 002737FC C0 22 CF E4 */ lfs f1, lbl_8051B344@sda21(r2) -/* 802768C0 00273800 EC 63 10 2A */ fadds f3, f3, f2 -/* 802768C4 00273804 EC C6 00 2A */ fadds f6, f6, f0 -/* 802768C8 00273808 C0 02 CF 9C */ lfs f0, lbl_8051B2FC@sda21(r2) -/* 802768CC 0027380C EC A5 08 2A */ fadds f5, f5, f1 -/* 802768D0 00273810 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 802768D4 00273814 38 C0 00 00 */ li r6, 0 -/* 802768D8 00273818 C0 82 CF B4 */ lfs f4, lbl_8051B314@sda21(r2) -/* 802768DC 0027381C D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 802768E0 00273820 39 01 00 14 */ addi r8, r1, 0x14 -/* 802768E4 00273824 C0 42 CF 94 */ lfs f2, lbl_8051B2F4@sda21(r2) -/* 802768E8 00273828 38 E1 00 08 */ addi r7, r1, 8 -/* 802768EC 0027382C D0 C1 00 1C */ stfs f6, 0x1c(r1) -/* 802768F0 00273830 38 00 FF FF */ li r0, -1 -/* 802768F4 00273834 C0 23 08 00 */ lfs f1, 0x800(r3) -/* 802768F8 00273838 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802768FC 0027383C C0 02 CF E8 */ lfs f0, lbl_8051B348@sda21(r2) -/* 80276900 00273840 C0 A4 00 00 */ lfs f5, 0(r4) -/* 80276904 00273844 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80276908 00273848 D0 A1 00 08 */ stfs f5, 8(r1) -/* 8027690C 0027384C 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 80276910 00273850 C0 E4 00 04 */ lfs f7, 4(r4) -/* 80276914 00273854 D0 E1 00 0C */ stfs f7, 0xc(r1) -/* 80276918 00273858 C0 C4 00 08 */ lfs f6, 8(r4) -/* 8027691C 0027385C 38 81 00 24 */ addi r4, r1, 0x24 -/* 80276920 00273860 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 80276924 00273864 81 3F 00 C0 */ lwz r9, 0xc0(r31) -/* 80276928 00273868 C0 69 05 64 */ lfs f3, 0x564(r9) -/* 8027692C 0027386C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80276930 00273870 EC A5 00 F2 */ fmuls f5, f5, f3 -/* 80276934 00273874 EC 87 00 F2 */ fmuls f4, f7, f3 -/* 80276938 00273878 EC 66 00 F2 */ fmuls f3, f6, f3 -/* 8027693C 0027387C D0 A1 00 08 */ stfs f5, 8(r1) -/* 80276940 00273880 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80276944 00273884 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80276948 00273888 C0 69 00 4C */ lfs f3, 0x4c(r9) -/* 8027694C 0027388C 90 C1 00 38 */ stw r6, 0x38(r1) -/* 80276950 00273890 91 01 00 24 */ stw r8, 0x24(r1) -/* 80276954 00273894 90 E1 00 28 */ stw r7, 0x28(r1) -/* 80276958 00273898 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8027695C 0027389C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80276960 002738A0 90 C1 00 34 */ stw r6, 0x34(r1) -/* 80276964 002738A4 90 C1 00 68 */ stw r6, 0x68(r1) -/* 80276968 002738A8 98 C1 00 98 */ stb r6, 0x98(r1) -/* 8027696C 002738AC 98 C1 00 3D */ stb r6, 0x3d(r1) -/* 80276970 002738B0 98 C1 00 3C */ stb r6, 0x3c(r1) -/* 80276974 002738B4 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 80276978 002738B8 98 C1 00 B4 */ stb r6, 0xb4(r1) -/* 8027697C 002738BC 90 C1 00 B8 */ stw r6, 0xb8(r1) -/* 80276980 002738C0 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80276984 002738C4 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80276988 002738C8 90 01 00 BC */ stw r0, 0xbc(r1) -/* 8027698C 002738CC 90 C1 00 70 */ stw r6, 0x70(r1) -/* 80276990 002738D0 98 C1 00 3E */ stb r6, 0x3e(r1) -/* 80276994 002738D4 93 E1 00 38 */ stw r31, 0x38(r1) -/* 80276998 002738D8 81 83 00 04 */ lwz r12, 4(r3) -/* 8027699C 002738DC C0 25 00 54 */ lfs f1, 0x54(r5) -/* 802769A0 002738E0 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 802769A4 002738E4 7D 89 03 A6 */ mtctr r12 -/* 802769A8 002738E8 4E 80 04 21 */ bctrl -/* 802769AC 002738EC 80 01 00 68 */ lwz r0, 0x68(r1) -/* 802769B0 002738F0 28 00 00 00 */ cmplwi r0, 0 -/* 802769B4 002738F4 40 82 00 10 */ bne lbl_802769C4 -/* 802769B8 002738F8 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 802769BC 002738FC 28 00 00 00 */ cmplwi r0, 0 -/* 802769C0 00273900 41 82 00 10 */ beq lbl_802769D0 -lbl_802769C4: -/* 802769C4 00273904 C0 1F 02 E4 */ lfs f0, 0x2e4(r31) -/* 802769C8 00273908 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -/* 802769CC 0027390C 48 00 00 30 */ b lbl_802769FC -lbl_802769D0: -/* 802769D0 00273910 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802769D4 00273914 C0 42 CF B4 */ lfs f2, lbl_8051B314@sda21(r2) -/* 802769D8 00273918 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 802769DC 0027391C C0 1F 02 E4 */ lfs f0, 0x2e4(r31) -/* 802769E0 00273920 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 802769E4 00273924 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 802769E8 00273928 C0 1F 02 E4 */ lfs f0, 0x2e4(r31) -/* 802769EC 0027392C C0 3F 02 E8 */ lfs f1, 0x2e8(r31) -/* 802769F0 00273930 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802769F4 00273934 40 81 00 08 */ ble lbl_802769FC -/* 802769F8 00273938 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) -lbl_802769FC: -/* 802769FC 0027393C C0 3F 02 E8 */ lfs f1, 0x2e8(r31) -/* 80276A00 00273940 C0 02 CF 98 */ lfs f0, lbl_8051B2F8@sda21(r2) -/* 80276A04 00273944 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80276A08 00273948 40 80 00 20 */ bge lbl_80276A28 -/* 80276A0C 0027394C 7F E3 FB 78 */ mr r3, r31 -/* 80276A10 00273950 C0 02 CF EC */ lfs f0, lbl_8051B34C@sda21(r2) -/* 80276A14 00273954 81 9F 00 00 */ lwz r12, 0(r31) -/* 80276A18 00273958 EC 20 F8 2A */ fadds f1, f0, f31 -/* 80276A1C 0027395C 81 8C 03 1C */ lwz r12, 0x31c(r12) -/* 80276A20 00273960 7D 89 03 A6 */ mtctr r12 -/* 80276A24 00273964 4E 80 04 21 */ bctrl -lbl_80276A28: -/* 80276A28 00273968 C0 3F 02 E8 */ lfs f1, 0x2e8(r31) -/* 80276A2C 0027396C C0 02 CF 98 */ lfs f0, lbl_8051B2F8@sda21(r2) -/* 80276A30 00273970 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80276A34 00273974 40 80 00 10 */ bge lbl_80276A44 -/* 80276A38 00273978 C0 02 CF 9C */ lfs f0, lbl_8051B2FC@sda21(r2) -/* 80276A3C 0027397C EC 20 F8 2A */ fadds f1, f0, f31 -/* 80276A40 00273980 48 00 00 08 */ b lbl_80276A48 -lbl_80276A44: -/* 80276A44 00273984 FC 20 F8 90 */ fmr f1, f31 -lbl_80276A48: -/* 80276A48 00273988 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80276A4C 0027398C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80276A50 00273990 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80276A54 00273994 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 80276A58 00273998 7C 08 03 A6 */ mtlr r0 -/* 80276A5C 0027399C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80276A60 002739A0 4E 80 00 20 */ blr - -.global stopEffectRadius__Q34Game4Tank3ObjFf -stopEffectRadius__Q34Game4Tank3ObjFf: -/* 80276A64 002739A4 4E 80 00 20 */ blr - -.global updateEmit__Q34Game4Tank3ObjFv -updateEmit__Q34Game4Tank3ObjFv: -/* 80276A68 002739A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276A6C 002739AC 7C 08 02 A6 */ mflr r0 -/* 80276A70 002739B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276A74 002739B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276A78 002739B8 7C 7F 1B 78 */ mr r31, r3 -/* 80276A7C 002739BC 80 63 02 C0 */ lwz r3, 0x2c0(r3) -/* 80276A80 002739C0 48 1B 2E 21 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80276A84 002739C4 28 03 00 00 */ cmplwi r3, 0 -/* 80276A88 002739C8 41 82 00 FC */ beq lbl_80276B84 -/* 80276A8C 002739CC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80276A90 002739D0 C0 22 CF 94 */ lfs f1, lbl_8051B2F4@sda21(r2) -/* 80276A94 002739D4 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 80276A98 002739D8 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80276A9C 002739DC D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 80276AA0 002739E0 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80276AA4 002739E4 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) -/* 80276AA8 002739E8 C0 03 00 00 */ lfs f0, 0(r3) -/* 80276AAC 002739EC D0 1F 02 D8 */ stfs f0, 0x2d8(r31) -/* 80276AB0 002739F0 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80276AB4 002739F4 D0 1F 02 DC */ stfs f0, 0x2dc(r31) -/* 80276AB8 002739F8 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 80276ABC 002739FC D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -/* 80276AC0 00273A00 C0 7F 02 D8 */ lfs f3, 0x2d8(r31) -/* 80276AC4 00273A04 C0 5F 02 DC */ lfs f2, 0x2dc(r31) -/* 80276AC8 00273A08 EC 03 00 F2 */ fmuls f0, f3, f3 -/* 80276ACC 00273A0C C0 9F 02 E0 */ lfs f4, 0x2e0(r31) -/* 80276AD0 00273A10 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80276AD4 00273A14 EC 84 01 32 */ fmuls f4, f4, f4 -/* 80276AD8 00273A18 EC 00 10 2A */ fadds f0, f0, f2 -/* 80276ADC 00273A1C EC 04 00 2A */ fadds f0, f4, f0 -/* 80276AE0 00273A20 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80276AE4 00273A24 40 81 00 20 */ ble lbl_80276B04 -/* 80276AE8 00273A28 EC 03 10 FA */ fmadds f0, f3, f3, f2 -/* 80276AEC 00273A2C EC 44 00 2A */ fadds f2, f4, f0 -/* 80276AF0 00273A30 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80276AF4 00273A34 40 81 00 14 */ ble lbl_80276B08 -/* 80276AF8 00273A38 FC 00 10 34 */ frsqrte f0, f2 -/* 80276AFC 00273A3C EC 40 00 B2 */ fmuls f2, f0, f2 -/* 80276B00 00273A40 48 00 00 08 */ b lbl_80276B08 -lbl_80276B04: -/* 80276B04 00273A44 FC 40 08 90 */ fmr f2, f1 -lbl_80276B08: -/* 80276B08 00273A48 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 80276B0C 00273A4C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80276B10 00273A50 40 81 00 30 */ ble lbl_80276B40 -/* 80276B14 00273A54 C0 22 CF 98 */ lfs f1, lbl_8051B2F8@sda21(r2) -/* 80276B18 00273A58 C0 1F 02 D8 */ lfs f0, 0x2d8(r31) -/* 80276B1C 00273A5C EC 21 10 24 */ fdivs f1, f1, f2 -/* 80276B20 00273A60 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80276B24 00273A64 D0 1F 02 D8 */ stfs f0, 0x2d8(r31) -/* 80276B28 00273A68 C0 1F 02 DC */ lfs f0, 0x2dc(r31) -/* 80276B2C 00273A6C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80276B30 00273A70 D0 1F 02 DC */ stfs f0, 0x2dc(r31) -/* 80276B34 00273A74 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) -/* 80276B38 00273A78 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80276B3C 00273A7C D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -lbl_80276B40: -/* 80276B40 00273A80 C0 5F 02 D8 */ lfs f2, 0x2d8(r31) -/* 80276B44 00273A84 C0 22 CF E4 */ lfs f1, lbl_8051B344@sda21(r2) -/* 80276B48 00273A88 C0 7F 02 DC */ lfs f3, 0x2dc(r31) -/* 80276B4C 00273A8C EC 42 00 72 */ fmuls f2, f2, f1 -/* 80276B50 00273A90 C0 1F 02 CC */ lfs f0, 0x2cc(r31) -/* 80276B54 00273A94 EC 63 00 72 */ fmuls f3, f3, f1 -/* 80276B58 00273A98 C0 9F 02 E0 */ lfs f4, 0x2e0(r31) -/* 80276B5C 00273A9C EC 00 10 2A */ fadds f0, f0, f2 -/* 80276B60 00273AA0 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80276B64 00273AA4 EC 84 00 72 */ fmuls f4, f4, f1 -/* 80276B68 00273AA8 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 80276B6C 00273AAC C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 80276B70 00273AB0 EC 00 18 2A */ fadds f0, f0, f3 -/* 80276B74 00273AB4 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 80276B78 00273AB8 C0 1F 02 D4 */ lfs f0, 0x2d4(r31) -/* 80276B7C 00273ABC EC 00 20 2A */ fadds f0, f0, f4 -/* 80276B80 00273AC0 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) -lbl_80276B84: -/* 80276B84 00273AC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276B88 00273AC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276B8C 00273ACC 7C 08 03 A6 */ mtlr r0 -/* 80276B90 00273AD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276B94 00273AD4 4E 80 00 20 */ blr - -.global updateCaution__Q34Game4Tank3ObjFv -updateCaution__Q34Game4Tank3ObjFv: -/* 80276B98 00273AD8 80 83 01 E0 */ lwz r4, 0x1e0(r3) -/* 80276B9C 00273ADC 54 80 06 F7 */ rlwinm. r0, r4, 0, 0x1b, 0x1b -/* 80276BA0 00273AE0 40 82 00 18 */ bne lbl_80276BB8 -/* 80276BA4 00273AE4 54 80 07 BD */ rlwinm. r0, r4, 0, 0x1e, 0x1e -/* 80276BA8 00273AE8 40 82 00 10 */ bne lbl_80276BB8 -/* 80276BAC 00273AEC 80 03 01 F4 */ lwz r0, 0x1f4(r3) -/* 80276BB0 00273AF0 2C 00 00 00 */ cmpwi r0, 0 -/* 80276BB4 00273AF4 41 82 00 0C */ beq lbl_80276BC0 -lbl_80276BB8: -/* 80276BB8 00273AF8 C0 02 CF 94 */ lfs f0, lbl_8051B2F4@sda21(r2) -/* 80276BBC 00273AFC D0 03 02 EC */ stfs f0, 0x2ec(r3) -lbl_80276BC0: -/* 80276BC0 00273B00 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80276BC4 00273B04 C0 23 02 EC */ lfs f1, 0x2ec(r3) -/* 80276BC8 00273B08 C0 04 06 2C */ lfs f0, 0x62c(r4) -/* 80276BCC 00273B0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80276BD0 00273B10 4C 80 00 20 */ bgelr -/* 80276BD4 00273B14 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 80276BD8 00273B18 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 80276BDC 00273B1C EC 01 00 2A */ fadds f0, f1, f0 -/* 80276BE0 00273B20 D0 03 02 EC */ stfs f0, 0x2ec(r3) -/* 80276BE4 00273B24 4E 80 00 20 */ blr - -.global getViewAngle__Q34Game4Tank3ObjFv -getViewAngle__Q34Game4Tank3ObjFv: -/* 80276BE8 00273B28 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80276BEC 00273B2C C0 23 02 EC */ lfs f1, 0x2ec(r3) -/* 80276BF0 00273B30 C0 04 06 2C */ lfs f0, 0x62c(r4) -/* 80276BF4 00273B34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80276BF8 00273B38 40 80 00 0C */ bge lbl_80276C04 -/* 80276BFC 00273B3C C0 22 CF F0 */ lfs f1, lbl_8051B350@sda21(r2) -/* 80276C00 00273B40 4E 80 00 20 */ blr -lbl_80276C04: -/* 80276C04 00273B44 C0 24 04 24 */ lfs f1, 0x424(r4) -/* 80276C08 00273B48 4E 80 00 20 */ blr - -.global __dt__Q34Game4Tank3ObjFv -__dt__Q34Game4Tank3ObjFv: -/* 80276C0C 00273B4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276C10 00273B50 7C 08 02 A6 */ mflr r0 -/* 80276C14 00273B54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276C18 00273B58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276C1C 00273B5C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80276C20 00273B60 93 C1 00 08 */ stw r30, 8(r1) -/* 80276C24 00273B64 7C 9E 23 78 */ mr r30, r4 -/* 80276C28 00273B68 41 82 00 84 */ beq lbl_80276CAC -/* 80276C2C 00273B6C 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank3Obj@ha -/* 80276C30 00273B70 38 1F 03 08 */ addi r0, r31, 0x308 -/* 80276C34 00273B74 38 83 6B 50 */ addi r4, r3, __vt__Q34Game4Tank3Obj@l -/* 80276C38 00273B78 90 9F 00 00 */ stw r4, 0(r31) -/* 80276C3C 00273B7C 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80276C40 00273B80 38 84 03 28 */ addi r4, r4, 0x328 -/* 80276C44 00273B84 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80276C48 00273B88 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80276C4C 00273B8C 90 83 00 00 */ stw r4, 0(r3) -/* 80276C50 00273B90 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80276C54 00273B94 7C 03 00 50 */ subf r0, r3, r0 -/* 80276C58 00273B98 90 03 00 0C */ stw r0, 0xc(r3) -/* 80276C5C 00273B9C 41 82 00 40 */ beq lbl_80276C9C -/* 80276C60 00273BA0 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80276C64 00273BA4 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 80276C68 00273BA8 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80276C6C 00273BAC 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80276C70 00273BB0 90 9F 00 00 */ stw r4, 0(r31) -/* 80276C74 00273BB4 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80276C78 00273BB8 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80276C7C 00273BBC 38 80 FF FF */ li r4, -1 -/* 80276C80 00273BC0 90 BF 01 78 */ stw r5, 0x178(r31) -/* 80276C84 00273BC4 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80276C88 00273BC8 90 C5 00 00 */ stw r6, 0(r5) -/* 80276C8C 00273BCC 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80276C90 00273BD0 7C 05 00 50 */ subf r0, r5, r0 -/* 80276C94 00273BD4 90 05 00 0C */ stw r0, 0xc(r5) -/* 80276C98 00273BD8 48 19 A8 F1 */ bl __dt__5CNodeFv -lbl_80276C9C: -/* 80276C9C 00273BDC 7F C0 07 35 */ extsh. r0, r30 -/* 80276CA0 00273BE0 40 81 00 0C */ ble lbl_80276CAC -/* 80276CA4 00273BE4 7F E3 FB 78 */ mr r3, r31 -/* 80276CA8 00273BE8 4B DA D4 0D */ bl __dl__FPv -lbl_80276CAC: -/* 80276CAC 00273BEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276CB0 00273BF0 7F E3 FB 78 */ mr r3, r31 -/* 80276CB4 00273BF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276CB8 00273BF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80276CBC 00273BFC 7C 08 03 A6 */ mtlr r0 -/* 80276CC0 00273C00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276CC4 00273C04 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game4Tank3ObjFv -getDownSmokeScale__Q34Game4Tank3ObjFv: -/* 80276CC8 00273C08 C0 22 CF F4 */ lfs f1, lbl_8051B354@sda21(r2) -/* 80276CCC 00273C0C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Tank3ObjFv -getEnemyTypeID__Q34Game4Tank3ObjFv: -/* 80276CD0 00273C10 38 60 00 18 */ li r3, 0x18 -/* 80276CD4 00273C14 4E 80 00 20 */ blr - -.global createEffect__Q34Game4Tank3ObjFv -createEffect__Q34Game4Tank3ObjFv: -/* 80276CD8 00273C18 4E 80 00 20 */ blr - -.global $$2776$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2776$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 80276CDC 00273C1C 39 60 00 0C */ li r11, 0xc -/* 80276CE0 00273C20 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80276CE4 00273C24 7C 63 5A 14 */ add r3, r3, r11 -/* 80276CE8 00273C28 38 63 FC F8 */ addi r3, r3, -776 -/* 80276CEC 00273C2C 4B E8 FC 30 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2776$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2776$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 80276CF0 00273C30 39 60 00 0C */ li r11, 0xc -/* 80276CF4 00273C34 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80276CF8 00273C38 7C 63 5A 14 */ add r3, r3, r11 -/* 80276CFC 00273C3C 38 63 FC F8 */ addi r3, r3, -776 -/* 80276D00 00273C40 4B E8 F9 A8 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2776$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2776$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 80276D04 00273C44 39 60 00 0C */ li r11, 0xc -/* 80276D08 00273C48 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80276D0C 00273C4C 7C 63 5A 14 */ add r3, r3, r11 -/* 80276D10 00273C50 38 63 FC F8 */ addi r3, r3, -776 -/* 80276D14 00273C54 4B E8 F9 B4 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2776$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2776$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 80276D18 00273C58 39 60 00 0C */ li r11, 0xc -/* 80276D1C 00273C5C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80276D20 00273C60 7C 63 5A 14 */ add r3, r3, r11 -/* 80276D24 00273C64 38 63 FC F8 */ addi r3, r3, -776 -/* 80276D28 00273C68 4B E8 FD 50 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2776$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2776$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 80276D2C 00273C6C 39 60 00 0C */ li r11, 0xc -/* 80276D30 00273C70 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80276D34 00273C74 7C 63 5A 14 */ add r3, r3, r11 -/* 80276D38 00273C78 38 63 FC F8 */ addi r3, r3, -776 -/* 80276D3C 00273C7C 4B E8 FD 10 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2776$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2776$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 80276D40 00273C80 39 60 00 0C */ li r11, 0xc -/* 80276D44 00273C84 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80276D48 00273C88 7C 63 5A 14 */ add r3, r3, r11 -/* 80276D4C 00273C8C 38 63 FC F8 */ addi r3, r3, -776 -/* 80276D50 00273C90 4B E8 F9 50 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global __ct__Q34Game7Catfish3MgrFiUc -__ct__Q34Game7Catfish3MgrFiUc: -/* 80276D54 00273C94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276D58 00273C98 7C 08 02 A6 */ mflr r0 -/* 80276D5C 00273C9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276D60 00273CA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276D64 00273CA4 7C 7F 1B 78 */ mr r31, r3 -/* 80276D68 00273CA8 4B EB 7F 2D */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80276D6C 00273CAC 3C 60 80 4C */ lis r3, __vt__Q34Game7Catfish3Mgr@ha -/* 80276D70 00273CB0 3C 80 80 48 */ lis r4, lbl_80486CD0@ha -/* 80276D74 00273CB4 38 A3 6E A8 */ addi r5, r3, __vt__Q34Game7Catfish3Mgr@l -/* 80276D78 00273CB8 7F E3 FB 78 */ mr r3, r31 -/* 80276D7C 00273CBC 90 BF 00 00 */ stw r5, 0(r31) -/* 80276D80 00273CC0 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80276D84 00273CC4 38 04 6C D0 */ addi r0, r4, lbl_80486CD0@l -/* 80276D88 00273CC8 90 BF 00 04 */ stw r5, 4(r31) -/* 80276D8C 00273CCC 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80276D90 00273CD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276D94 00273CD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276D98 00273CD8 7C 08 03 A6 */ mtlr r0 -/* 80276D9C 00273CDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276DA0 00273CE0 4E 80 00 20 */ blr - -.global doAlloc__Q34Game7Catfish3MgrFv -doAlloc__Q34Game7Catfish3MgrFv: -/* 80276DA4 00273CE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276DA8 00273CE8 7C 08 02 A6 */ mflr r0 -/* 80276DAC 00273CEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276DB0 00273CF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276DB4 00273CF4 7C 7F 1B 78 */ mr r31, r3 -/* 80276DB8 00273CF8 38 60 08 80 */ li r3, 0x880 -/* 80276DBC 00273CFC 4B DA D0 E9 */ bl __nw__FUl -/* 80276DC0 00273D00 7C 64 1B 79 */ or. r4, r3, r3 -/* 80276DC4 00273D04 41 82 00 0C */ beq lbl_80276DD0 -/* 80276DC8 00273D08 4B E9 B6 35 */ bl __ct__Q34Game12KochappyBase5ParmsFv -/* 80276DCC 00273D0C 7C 64 1B 78 */ mr r4, r3 -lbl_80276DD0: -/* 80276DD0 00273D10 7F E3 FB 78 */ mr r3, r31 -/* 80276DD4 00273D14 4B EB 8A C9 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80276DD8 00273D18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276DDC 00273D1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276DE0 00273D20 7C 08 03 A6 */ mtlr r0 -/* 80276DE4 00273D24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276DE8 00273D28 4E 80 00 20 */ blr - -.global createObj__Q34Game7Catfish3MgrFi -createObj__Q34Game7Catfish3MgrFi: -/* 80276DEC 00273D2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276DF0 00273D30 7C 08 02 A6 */ mflr r0 -/* 80276DF4 00273D34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276DF8 00273D38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276DFC 00273D3C 7C 9F 23 78 */ mr r31, r4 -/* 80276E00 00273D40 93 C1 00 08 */ stw r30, 8(r1) -/* 80276E04 00273D44 7C 7E 1B 78 */ mr r30, r3 -/* 80276E08 00273D48 1C 7F 02 E8 */ mulli r3, r31, 0x2e8 -/* 80276E0C 00273D4C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80276E10 00273D50 4B DA D1 9D */ bl __nwa__FUl -/* 80276E14 00273D54 3C 80 80 27 */ lis r4, __ct__Q34Game7Catfish3ObjFv@ha -/* 80276E18 00273D58 3C A0 80 27 */ lis r5, __dt__Q34Game7Catfish3ObjFv@ha -/* 80276E1C 00273D5C 38 84 70 08 */ addi r4, r4, __ct__Q34Game7Catfish3ObjFv@l -/* 80276E20 00273D60 7F E7 FB 78 */ mr r7, r31 -/* 80276E24 00273D64 38 A5 6E 4C */ addi r5, r5, __dt__Q34Game7Catfish3ObjFv@l -/* 80276E28 00273D68 38 C0 02 E8 */ li r6, 0x2e8 -/* 80276E2C 00273D6C 4B E4 AB C5 */ bl __construct_new_array -/* 80276E30 00273D70 90 7E 00 44 */ stw r3, 0x44(r30) -/* 80276E34 00273D74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276E38 00273D78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276E3C 00273D7C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80276E40 00273D80 7C 08 03 A6 */ mtlr r0 -/* 80276E44 00273D84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276E48 00273D88 4E 80 00 20 */ blr - -.global __dt__Q34Game7Catfish3ObjFv -__dt__Q34Game7Catfish3ObjFv: -/* 80276E4C 00273D8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276E50 00273D90 7C 08 02 A6 */ mflr r0 -/* 80276E54 00273D94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276E58 00273D98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276E5C 00273D9C 7C 9F 23 78 */ mr r31, r4 -/* 80276E60 00273DA0 93 C1 00 08 */ stw r30, 8(r1) -/* 80276E64 00273DA4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80276E68 00273DA8 41 82 00 B4 */ beq lbl_80276F1C -/* 80276E6C 00273DAC 3C 60 80 4C */ lis r3, __vt__Q34Game7Catfish3Obj@ha -/* 80276E70 00273DB0 38 BE 02 D8 */ addi r5, r30, 0x2d8 -/* 80276E74 00273DB4 38 83 6F 88 */ addi r4, r3, __vt__Q34Game7Catfish3Obj@l -/* 80276E78 00273DB8 90 9E 00 00 */ stw r4, 0(r30) -/* 80276E7C 00273DBC 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80276E80 00273DC0 38 04 03 08 */ addi r0, r4, 0x308 -/* 80276E84 00273DC4 90 7E 01 78 */ stw r3, 0x178(r30) -/* 80276E88 00273DC8 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80276E8C 00273DCC 90 03 00 00 */ stw r0, 0(r3) -/* 80276E90 00273DD0 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80276E94 00273DD4 7C 03 28 50 */ subf r0, r3, r5 -/* 80276E98 00273DD8 90 03 00 0C */ stw r0, 0xc(r3) -/* 80276E9C 00273DDC 41 82 00 70 */ beq lbl_80276F0C -/* 80276EA0 00273DE0 3C 60 80 4B */ lis r3, __vt__Q34Game12KochappyBase3Obj@ha -/* 80276EA4 00273DE4 38 83 F4 E0 */ addi r4, r3, __vt__Q34Game12KochappyBase3Obj@l -/* 80276EA8 00273DE8 90 9E 00 00 */ stw r4, 0(r30) -/* 80276EAC 00273DEC 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80276EB0 00273DF0 38 04 03 08 */ addi r0, r4, 0x308 -/* 80276EB4 00273DF4 90 7E 01 78 */ stw r3, 0x178(r30) -/* 80276EB8 00273DF8 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80276EBC 00273DFC 90 03 00 00 */ stw r0, 0(r3) -/* 80276EC0 00273E00 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80276EC4 00273E04 7C 03 28 50 */ subf r0, r3, r5 -/* 80276EC8 00273E08 90 03 00 0C */ stw r0, 0xc(r3) -/* 80276ECC 00273E0C 41 82 00 40 */ beq lbl_80276F0C -/* 80276ED0 00273E10 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80276ED4 00273E14 38 1E 02 BC */ addi r0, r30, 0x2bc -/* 80276ED8 00273E18 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80276EDC 00273E1C 38 7E 02 90 */ addi r3, r30, 0x290 -/* 80276EE0 00273E20 90 9E 00 00 */ stw r4, 0(r30) -/* 80276EE4 00273E24 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80276EE8 00273E28 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80276EEC 00273E2C 38 80 FF FF */ li r4, -1 -/* 80276EF0 00273E30 90 BE 01 78 */ stw r5, 0x178(r30) -/* 80276EF4 00273E34 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 80276EF8 00273E38 90 C5 00 00 */ stw r6, 0(r5) -/* 80276EFC 00273E3C 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 80276F00 00273E40 7C 05 00 50 */ subf r0, r5, r0 -/* 80276F04 00273E44 90 05 00 0C */ stw r0, 0xc(r5) -/* 80276F08 00273E48 48 19 A6 81 */ bl __dt__5CNodeFv -lbl_80276F0C: -/* 80276F0C 00273E4C 7F E0 07 35 */ extsh. r0, r31 -/* 80276F10 00273E50 40 81 00 0C */ ble lbl_80276F1C -/* 80276F14 00273E54 7F C3 F3 78 */ mr r3, r30 -/* 80276F18 00273E58 4B DA D1 9D */ bl __dl__FPv -lbl_80276F1C: -/* 80276F1C 00273E5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276F20 00273E60 7F C3 F3 78 */ mr r3, r30 -/* 80276F24 00273E64 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276F28 00273E68 83 C1 00 08 */ lwz r30, 8(r1) -/* 80276F2C 00273E6C 7C 08 03 A6 */ mtlr r0 -/* 80276F30 00273E70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276F34 00273E74 4E 80 00 20 */ blr - -.global getEnemy__Q34Game7Catfish3MgrFi -getEnemy__Q34Game7Catfish3MgrFi: -/* 80276F38 00273E78 1C 04 02 E8 */ mulli r0, r4, 0x2e8 -/* 80276F3C 00273E7C 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80276F40 00273E80 7C 63 02 14 */ add r3, r3, r0 -/* 80276F44 00273E84 4E 80 00 20 */ blr - -.global __dt__Q34Game7Catfish3MgrFv -__dt__Q34Game7Catfish3MgrFv: -/* 80276F48 00273E88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80276F4C 00273E8C 7C 08 02 A6 */ mflr r0 -/* 80276F50 00273E90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80276F54 00273E94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80276F58 00273E98 7C 9F 23 78 */ mr r31, r4 -/* 80276F5C 00273E9C 93 C1 00 08 */ stw r30, 8(r1) -/* 80276F60 00273EA0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80276F64 00273EA4 41 82 00 78 */ beq lbl_80276FDC -/* 80276F68 00273EA8 3C 60 80 4C */ lis r3, __vt__Q34Game7Catfish3Mgr@ha -/* 80276F6C 00273EAC 38 63 6E A8 */ addi r3, r3, __vt__Q34Game7Catfish3Mgr@l -/* 80276F70 00273EB0 90 7E 00 00 */ stw r3, 0(r30) -/* 80276F74 00273EB4 38 03 00 38 */ addi r0, r3, 0x38 -/* 80276F78 00273EB8 90 1E 00 04 */ stw r0, 4(r30) -/* 80276F7C 00273EBC 41 82 00 50 */ beq lbl_80276FCC -/* 80276F80 00273EC0 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80276F84 00273EC4 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80276F88 00273EC8 90 7E 00 00 */ stw r3, 0(r30) -/* 80276F8C 00273ECC 38 03 00 38 */ addi r0, r3, 0x38 -/* 80276F90 00273ED0 90 1E 00 04 */ stw r0, 4(r30) -/* 80276F94 00273ED4 41 82 00 38 */ beq lbl_80276FCC -/* 80276F98 00273ED8 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80276F9C 00273EDC 34 1E 00 04 */ addic. r0, r30, 4 -/* 80276FA0 00273EE0 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80276FA4 00273EE4 90 7E 00 00 */ stw r3, 0(r30) -/* 80276FA8 00273EE8 38 03 00 38 */ addi r0, r3, 0x38 -/* 80276FAC 00273EEC 90 1E 00 04 */ stw r0, 4(r30) -/* 80276FB0 00273EF0 41 82 00 1C */ beq lbl_80276FCC -/* 80276FB4 00273EF4 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80276FB8 00273EF8 38 7E 00 04 */ addi r3, r30, 4 -/* 80276FBC 00273EFC 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80276FC0 00273F00 38 80 00 00 */ li r4, 0 -/* 80276FC4 00273F04 90 1E 00 04 */ stw r0, 4(r30) -/* 80276FC8 00273F08 48 19 A5 C1 */ bl __dt__5CNodeFv -lbl_80276FCC: -/* 80276FCC 00273F0C 7F E0 07 35 */ extsh. r0, r31 -/* 80276FD0 00273F10 40 81 00 0C */ ble lbl_80276FDC -/* 80276FD4 00273F14 7F C3 F3 78 */ mr r3, r30 -/* 80276FD8 00273F18 4B DA D0 DD */ bl __dl__FPv -lbl_80276FDC: -/* 80276FDC 00273F1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80276FE0 00273F20 7F C3 F3 78 */ mr r3, r30 -/* 80276FE4 00273F24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80276FE8 00273F28 83 C1 00 08 */ lwz r30, 8(r1) -/* 80276FEC 00273F2C 7C 08 03 A6 */ mtlr r0 -/* 80276FF0 00273F30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80276FF4 00273F34 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7Catfish3MgrFv -getEnemyTypeID__Q34Game7Catfish3MgrFv: -/* 80276FF8 00273F38 38 60 00 1A */ li r3, 0x1a -/* 80276FFC 00273F3C 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game7Catfish3MgrFv -$$24$$2__dt__Q34Game7Catfish3MgrFv: -/* 80277000 00273F40 38 63 FF FC */ addi r3, r3, -4 -/* 80277004 00273F44 4B FF FF 44 */ b __dt__Q34Game7Catfish3MgrFv - -.global __ct__Q34Game7Catfish3ObjFv -__ct__Q34Game7Catfish3ObjFv: -/* 80277008 00273F48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027700C 00273F4C 7C 08 02 A6 */ mflr r0 -/* 80277010 00273F50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277014 00273F54 7C 80 07 35 */ extsh. r0, r4 -/* 80277018 00273F58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027701C 00273F5C 7C 7F 1B 78 */ mr r31, r3 -/* 80277020 00273F60 41 82 00 24 */ beq lbl_80277044 -/* 80277024 00273F64 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 80277028 00273F68 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8027702C 00273F6C 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80277030 00273F70 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80277034 00273F74 38 00 00 00 */ li r0, 0 -/* 80277038 00273F78 90 7F 02 D8 */ stw r3, 0x2d8(r31) -/* 8027703C 00273F7C 90 1F 02 DC */ stw r0, 0x2dc(r31) -/* 80277040 00273F80 90 1F 02 E0 */ stw r0, 0x2e0(r31) -lbl_80277044: -/* 80277044 00273F84 7F E3 FB 78 */ mr r3, r31 -/* 80277048 00273F88 38 80 00 00 */ li r4, 0 -/* 8027704C 00273F8C 4B EB 6A 9D */ bl __ct__Q34Game12KochappyBase3ObjFv -/* 80277050 00273F90 3C 60 80 4C */ lis r3, __vt__Q34Game7Catfish3Obj@ha -/* 80277054 00273F94 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 80277058 00273F98 38 A3 6F 88 */ addi r5, r3, __vt__Q34Game7Catfish3Obj@l -/* 8027705C 00273F9C 7F E3 FB 78 */ mr r3, r31 -/* 80277060 00273FA0 90 BF 00 00 */ stw r5, 0(r31) -/* 80277064 00273FA4 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80277068 00273FA8 38 A5 03 08 */ addi r5, r5, 0x308 -/* 8027706C 00273FAC 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80277070 00273FB0 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80277074 00273FB4 90 A4 00 00 */ stw r5, 0(r4) -/* 80277078 00273FB8 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027707C 00273FBC 7C 04 00 50 */ subf r0, r4, r0 -/* 80277080 00273FC0 90 04 00 0C */ stw r0, 0xc(r4) -/* 80277084 00273FC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80277088 00273FC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027708C 00273FCC 7C 08 03 A6 */ mtlr r0 -/* 80277090 00273FD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80277094 00273FD4 4E 80 00 20 */ blr - -.global onInit__Q34Game7Catfish3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game7Catfish3ObjFPQ24Game15CreatureInitArg: -/* 80277098 00273FD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027709C 00273FDC 7C 08 02 A6 */ mflr r0 -/* 802770A0 00273FE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802770A4 00273FE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802770A8 00273FE8 7C 7F 1B 78 */ mr r31, r3 -/* 802770AC 00273FEC 4B EB 6B F1 */ bl onInit__Q34Game12KochappyBase3ObjFPQ24Game15CreatureInitArg -/* 802770B0 00273FF0 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 802770B4 00273FF4 38 82 CF F8 */ addi r4, r2, lbl_8051B358@sda21 -/* 802770B8 00273FF8 48 1C 7F 2D */ bl getJoint__Q28SysShape5ModelFPc -/* 802770BC 00273FFC 90 7F 02 C8 */ stw r3, 0x2c8(r31) -/* 802770C0 00274000 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802770C4 00274004 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802770C8 00274008 7C 08 03 A6 */ mtlr r0 -/* 802770CC 0027400C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802770D0 00274010 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game7Catfish3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game7Catfish3ObjFRQ24Game11ShadowParam: -/* 802770D4 00274014 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802770D8 00274018 7C 08 02 A6 */ mflr r0 -/* 802770DC 0027401C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802770E0 00274020 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802770E4 00274024 7C 9F 23 78 */ mr r31, r4 -/* 802770E8 00274028 93 C1 00 08 */ stw r30, 8(r1) -/* 802770EC 0027402C 7C 7E 1B 78 */ mr r30, r3 -/* 802770F0 00274030 80 63 02 C8 */ lwz r3, 0x2c8(r3) -/* 802770F4 00274034 48 1B 27 AD */ bl getWorldMatrix__Q28SysShape5JointFv -/* 802770F8 00274038 C0 83 00 2C */ lfs f4, 0x2c(r3) -/* 802770FC 0027403C C0 63 00 1C */ lfs f3, 0x1c(r3) -/* 80277100 00274040 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80277104 00274044 C0 42 D0 00 */ lfs f2, lbl_8051B360@sda21(r2) -/* 80277108 00274048 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8027710C 0027404C C0 22 D0 04 */ lfs f1, lbl_8051B364@sda21(r2) -/* 80277110 00274050 D0 7F 00 04 */ stfs f3, 4(r31) -/* 80277114 00274054 C0 02 D0 08 */ lfs f0, lbl_8051B368@sda21(r2) -/* 80277118 00274058 D0 9F 00 08 */ stfs f4, 8(r31) -/* 8027711C 0027405C C0 7F 00 04 */ lfs f3, 4(r31) -/* 80277120 00274060 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80277124 00274064 D0 5F 00 04 */ stfs f2, 4(r31) -/* 80277128 00274068 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 8027712C 0027406C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80277130 00274070 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80277134 00274074 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80277138 00274078 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 8027713C 0027407C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80277140 00274080 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80277144 00274084 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 80277148 00274088 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8027714C 0027408C 41 82 00 18 */ beq lbl_80277164 -/* 80277150 00274090 C0 3F 00 18 */ lfs f1, 0x18(r31) -/* 80277154 00274094 C0 02 D0 0C */ lfs f0, lbl_8051B36C@sda21(r2) -/* 80277158 00274098 EC 01 00 2A */ fadds f0, f1, f0 -/* 8027715C 0027409C D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80277160 002740A0 48 00 00 14 */ b lbl_80277174 -lbl_80277164: -/* 80277164 002740A4 C0 3F 00 18 */ lfs f1, 0x18(r31) -/* 80277168 002740A8 C0 02 D0 10 */ lfs f0, lbl_8051B370@sda21(r2) -/* 8027716C 002740AC EC 01 00 2A */ fadds f0, f1, f0 -/* 80277170 002740B0 D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_80277174: -/* 80277174 002740B4 C0 02 D0 10 */ lfs f0, lbl_8051B370@sda21(r2) -/* 80277178 002740B8 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8027717C 002740BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277180 002740C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80277184 002740C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80277188 002740C8 7C 08 03 A6 */ mtlr r0 -/* 8027718C 002740CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80277190 002740D0 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game7Catfish3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game7Catfish3ObjFPQ24Game8CreaturefP8CollPart: -/* 80277194 002740D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277198 002740D8 7C 08 02 A6 */ mflr r0 -/* 8027719C 002740DC C0 42 D0 08 */ lfs f2, lbl_8051B368@sda21(r2) -/* 802771A0 002740E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802771A4 002740E4 4B E8 EE 89 */ bl addDamage__Q24Game9EnemyBaseFff -/* 802771A8 002740E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802771AC 002740EC 38 60 00 00 */ li r3, 0 -/* 802771B0 002740F0 7C 08 03 A6 */ mtlr r0 -/* 802771B4 002740F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802771B8 002740F8 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game7Catfish3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game7Catfish3ObjFPQ24Game8CreaturefP8CollPart: -/* 802771BC 002740FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802771C0 00274100 7C 08 02 A6 */ mflr r0 -/* 802771C4 00274104 90 01 00 14 */ stw r0, 0x14(r1) -/* 802771C8 00274108 4B E8 EE FD */ bl hipdropCallBack__Q24Game9EnemyBaseFPQ24Game8CreaturefP8CollPart -/* 802771CC 0027410C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802771D0 00274110 7C 08 03 A6 */ mtlr r0 -/* 802771D4 00274114 38 21 00 10 */ addi r1, r1, 0x10 -/* 802771D8 00274118 4E 80 00 20 */ blr - -.global initMouthSlots__Q34Game7Catfish3ObjFv -initMouthSlots__Q34Game7Catfish3ObjFv: -/* 802771DC 0027411C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802771E0 00274120 7C 08 02 A6 */ mflr r0 -/* 802771E4 00274124 90 01 00 24 */ stw r0, 0x24(r1) -/* 802771E8 00274128 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 802771EC 0027412C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 802771F0 00274130 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802771F4 00274134 93 C1 00 08 */ stw r30, 8(r1) -/* 802771F8 00274138 7C 7E 1B 78 */ mr r30, r3 -/* 802771FC 0027413C 38 80 00 02 */ li r4, 2 -/* 80277200 00274140 38 7E 02 C0 */ addi r3, r30, 0x2c0 -/* 80277204 00274144 4B EC 13 55 */ bl alloc__10MouthSlotsFi -/* 80277208 00274148 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 8027720C 0027414C 38 7E 02 C0 */ addi r3, r30, 0x2c0 -/* 80277210 00274150 38 80 00 00 */ li r4, 0 -/* 80277214 00274154 38 C2 D0 14 */ addi r6, r2, lbl_8051B374@sda21 -/* 80277218 00274158 4B EC 14 79 */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 8027721C 0027415C 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 80277220 00274160 38 7E 02 C0 */ addi r3, r30, 0x2c0 -/* 80277224 00274164 38 80 00 01 */ li r4, 1 -/* 80277228 00274168 38 C2 D0 1C */ addi r6, r2, lbl_8051B37C@sda21 -/* 8027722C 0027416C 4B EC 14 65 */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 80277230 00274170 C3 E2 D0 24 */ lfs f31, lbl_8051B384@sda21(r2) -/* 80277234 00274174 3B E0 00 00 */ li r31, 0 -/* 80277238 00274178 48 00 00 18 */ b lbl_80277250 -lbl_8027723C: -/* 8027723C 0027417C 7F E4 FB 78 */ mr r4, r31 -/* 80277240 00274180 38 7E 02 C0 */ addi r3, r30, 0x2c0 -/* 80277244 00274184 4B EC 15 35 */ bl getSlot__10MouthSlotsFi -/* 80277248 00274188 D3 E3 00 1C */ stfs f31, 0x1c(r3) -/* 8027724C 0027418C 3B FF 00 01 */ addi r31, r31, 1 -lbl_80277250: -/* 80277250 00274190 80 1E 02 C0 */ lwz r0, 0x2c0(r30) -/* 80277254 00274194 7C 1F 00 00 */ cmpw r31, r0 -/* 80277258 00274198 41 80 FF E4 */ blt lbl_8027723C -/* 8027725C 0027419C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80277260 002741A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80277264 002741A4 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80277268 002741A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027726C 002741AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80277270 002741B0 7C 08 03 A6 */ mtlr r0 -/* 80277274 002741B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80277278 002741B8 4E 80 00 20 */ blr - -.global resetEnemyNonStone__Q34Game7Catfish3ObjFv -resetEnemyNonStone__Q34Game7Catfish3ObjFv: -/* 8027727C 002741BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277280 002741C0 7C 08 02 A6 */ mflr r0 -/* 80277284 002741C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277288 002741C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027728C 002741CC 7C 7F 1B 78 */ mr r31, r3 -/* 80277290 002741D0 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80277294 002741D4 54 00 02 95 */ rlwinm. r0, r0, 0, 0xa, 0xa -/* 80277298 002741D8 41 82 00 08 */ beq lbl_802772A0 -/* 8027729C 002741DC 48 00 00 25 */ bl createDownEffect__Q34Game7Catfish3ObjFv -lbl_802772A0: -/* 802772A0 002741E0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802772A4 002741E4 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 802772A8 002741E8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802772AC 002741EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802772B0 002741F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802772B4 002741F4 7C 08 03 A6 */ mtlr r0 -/* 802772B8 002741F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802772BC 002741FC 4E 80 00 20 */ blr - -.global createDownEffect__Q34Game7Catfish3ObjFv -createDownEffect__Q34Game7Catfish3ObjFv: -/* 802772C0 00274200 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802772C4 00274204 7C 08 02 A6 */ mflr r0 -/* 802772C8 00274208 C0 22 D0 28 */ lfs f1, lbl_8051B388@sda21(r2) -/* 802772CC 0027420C 38 83 01 8C */ addi r4, r3, 0x18c -/* 802772D0 00274210 90 01 00 14 */ stw r0, 0x14(r1) -/* 802772D4 00274214 4B E8 C8 7D */ bl createBounceEffect__Q24Game9EnemyBaseFRC10Vector3$$0f$$1f -/* 802772D8 00274218 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802772DC 0027421C 7C 08 03 A6 */ mtlr r0 -/* 802772E0 00274220 38 21 00 10 */ addi r1, r1, 0x10 -/* 802772E4 00274224 4E 80 00 20 */ blr - -.global changeMaterial__Q34Game7Catfish3ObjFv -changeMaterial__Q34Game7Catfish3ObjFv: -/* 802772E8 00274228 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game7Catfish3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game7Catfish3ObjFPQ24Game8WaterBox: -/* 802772EC 0027422C 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game7Catfish3ObjFv -outWaterCallback__Q34Game7Catfish3ObjFv: -/* 802772F0 00274230 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7Catfish3ObjFv -getEnemyTypeID__Q34Game7Catfish3ObjFv: -/* 802772F4 00274234 38 60 00 1A */ li r3, 0x1a -/* 802772F8 00274238 4E 80 00 20 */ blr - -.global setEnemyNonStone__Q34Game7Catfish3ObjFv -setEnemyNonStone__Q34Game7Catfish3ObjFv: -/* 802772FC 0027423C 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80277300 00274240 64 00 00 20 */ oris r0, r0, 0x20 -/* 80277304 00274244 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80277308 00274248 4E 80 00 20 */ blr - -.global init__Q34Game7Tadpole3FSMFPQ24Game9EnemyBase -init__Q34Game7Tadpole3FSMFPQ24Game9EnemyBase: -/* 8027730C 0027424C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277310 00274250 7C 08 02 A6 */ mflr r0 -/* 80277314 00274254 38 80 00 06 */ li r4, 6 -/* 80277318 00274258 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027731C 0027425C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80277320 00274260 7C 7F 1B 78 */ mr r31, r3 -/* 80277324 00274264 4B EB 95 41 */ bl create__Q24Game17EnemyStateMachineFi -/* 80277328 00274268 38 60 00 10 */ li r3, 0x10 -/* 8027732C 0027426C 4B DA CB 79 */ bl __nw__FUl -/* 80277330 00274270 7C 64 1B 79 */ or. r4, r3, r3 -/* 80277334 00274274 41 82 00 3C */ beq lbl_80277370 -/* 80277338 00274278 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8027733C 0027427C 3C A0 80 4C */ lis r5, __vt__Q34Game7Tadpole5State@ha -/* 80277340 00274280 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80277344 00274284 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole9StateDead@ha -/* 80277348 00274288 90 04 00 00 */ stw r0, 0(r4) -/* 8027734C 0027428C 38 E0 00 00 */ li r7, 0 -/* 80277350 00274290 38 C5 73 98 */ addi r6, r5, __vt__Q34Game7Tadpole5State@l -/* 80277354 00274294 38 A2 D0 30 */ addi r5, r2, lbl_8051B390@sda21 -/* 80277358 00274298 90 E4 00 04 */ stw r7, 4(r4) -/* 8027735C 0027429C 38 03 73 74 */ addi r0, r3, __vt__Q34Game7Tadpole9StateDead@l -/* 80277360 002742A0 90 E4 00 08 */ stw r7, 8(r4) -/* 80277364 002742A4 90 C4 00 00 */ stw r6, 0(r4) -/* 80277368 002742A8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8027736C 002742AC 90 04 00 00 */ stw r0, 0(r4) -lbl_80277370: -/* 80277370 002742B0 7F E3 FB 78 */ mr r3, r31 -/* 80277374 002742B4 4B EB 95 95 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80277378 002742B8 38 60 00 10 */ li r3, 0x10 -/* 8027737C 002742BC 4B DA CB 29 */ bl __nw__FUl -/* 80277380 002742C0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80277384 002742C4 41 82 00 40 */ beq lbl_802773C4 -/* 80277388 002742C8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8027738C 002742CC 3C A0 80 4C */ lis r5, __vt__Q34Game7Tadpole5State@ha -/* 80277390 002742D0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80277394 002742D4 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole9StateWait@ha -/* 80277398 002742D8 90 04 00 00 */ stw r0, 0(r4) -/* 8027739C 002742DC 38 00 00 01 */ li r0, 1 -/* 802773A0 002742E0 38 E0 00 00 */ li r7, 0 -/* 802773A4 002742E4 38 C5 73 98 */ addi r6, r5, __vt__Q34Game7Tadpole5State@l -/* 802773A8 002742E8 90 04 00 04 */ stw r0, 4(r4) -/* 802773AC 002742EC 38 A2 D0 38 */ addi r5, r2, lbl_8051B398@sda21 -/* 802773B0 002742F0 38 03 73 50 */ addi r0, r3, __vt__Q34Game7Tadpole9StateWait@l -/* 802773B4 002742F4 90 E4 00 08 */ stw r7, 8(r4) -/* 802773B8 002742F8 90 C4 00 00 */ stw r6, 0(r4) -/* 802773BC 002742FC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802773C0 00274300 90 04 00 00 */ stw r0, 0(r4) -lbl_802773C4: -/* 802773C4 00274304 7F E3 FB 78 */ mr r3, r31 -/* 802773C8 00274308 4B EB 95 41 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802773CC 0027430C 38 60 00 10 */ li r3, 0x10 -/* 802773D0 00274310 4B DA CA D5 */ bl __nw__FUl -/* 802773D4 00274314 7C 64 1B 79 */ or. r4, r3, r3 -/* 802773D8 00274318 41 82 00 40 */ beq lbl_80277418 -/* 802773DC 0027431C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802773E0 00274320 3C A0 80 4C */ lis r5, __vt__Q34Game7Tadpole5State@ha -/* 802773E4 00274324 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802773E8 00274328 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole9StateMove@ha -/* 802773EC 0027432C 90 04 00 00 */ stw r0, 0(r4) -/* 802773F0 00274330 38 00 00 02 */ li r0, 2 -/* 802773F4 00274334 38 E0 00 00 */ li r7, 0 -/* 802773F8 00274338 38 C5 73 98 */ addi r6, r5, __vt__Q34Game7Tadpole5State@l -/* 802773FC 0027433C 90 04 00 04 */ stw r0, 4(r4) -/* 80277400 00274340 38 A2 D0 40 */ addi r5, r2, lbl_8051B3A0@sda21 -/* 80277404 00274344 38 03 73 2C */ addi r0, r3, __vt__Q34Game7Tadpole9StateMove@l -/* 80277408 00274348 90 E4 00 08 */ stw r7, 8(r4) -/* 8027740C 0027434C 90 C4 00 00 */ stw r6, 0(r4) -/* 80277410 00274350 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80277414 00274354 90 04 00 00 */ stw r0, 0(r4) -lbl_80277418: -/* 80277418 00274358 7F E3 FB 78 */ mr r3, r31 -/* 8027741C 0027435C 4B EB 94 ED */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80277420 00274360 38 60 00 10 */ li r3, 0x10 -/* 80277424 00274364 4B DA CA 81 */ bl __nw__FUl -/* 80277428 00274368 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027742C 0027436C 41 82 00 40 */ beq lbl_8027746C -/* 80277430 00274370 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80277434 00274374 3C A0 80 4C */ lis r5, __vt__Q34Game7Tadpole5State@ha -/* 80277438 00274378 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8027743C 0027437C 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole10StateAmaze@ha -/* 80277440 00274380 90 04 00 00 */ stw r0, 0(r4) -/* 80277444 00274384 38 00 00 03 */ li r0, 3 -/* 80277448 00274388 38 E0 00 00 */ li r7, 0 -/* 8027744C 0027438C 38 C5 73 98 */ addi r6, r5, __vt__Q34Game7Tadpole5State@l -/* 80277450 00274390 90 04 00 04 */ stw r0, 4(r4) -/* 80277454 00274394 38 A2 D0 48 */ addi r5, r2, lbl_8051B3A8@sda21 -/* 80277458 00274398 38 03 73 08 */ addi r0, r3, __vt__Q34Game7Tadpole10StateAmaze@l -/* 8027745C 0027439C 90 E4 00 08 */ stw r7, 8(r4) -/* 80277460 002743A0 90 C4 00 00 */ stw r6, 0(r4) -/* 80277464 002743A4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80277468 002743A8 90 04 00 00 */ stw r0, 0(r4) -lbl_8027746C: -/* 8027746C 002743AC 7F E3 FB 78 */ mr r3, r31 -/* 80277470 002743B0 4B EB 94 99 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80277474 002743B4 38 60 00 10 */ li r3, 0x10 -/* 80277478 002743B8 4B DA CA 2D */ bl __nw__FUl -/* 8027747C 002743BC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80277480 002743C0 41 82 00 40 */ beq lbl_802774C0 -/* 80277484 002743C4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80277488 002743C8 3C A0 80 4C */ lis r5, __vt__Q34Game7Tadpole5State@ha -/* 8027748C 002743CC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80277490 002743D0 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole11StateEscape@ha -/* 80277494 002743D4 90 04 00 00 */ stw r0, 0(r4) -/* 80277498 002743D8 38 00 00 04 */ li r0, 4 -/* 8027749C 002743DC 38 E0 00 00 */ li r7, 0 -/* 802774A0 002743E0 38 C5 73 98 */ addi r6, r5, __vt__Q34Game7Tadpole5State@l -/* 802774A4 002743E4 90 04 00 04 */ stw r0, 4(r4) -/* 802774A8 002743E8 38 A2 D0 50 */ addi r5, r2, lbl_8051B3B0@sda21 -/* 802774AC 002743EC 38 03 72 E4 */ addi r0, r3, __vt__Q34Game7Tadpole11StateEscape@l -/* 802774B0 002743F0 90 E4 00 08 */ stw r7, 8(r4) -/* 802774B4 002743F4 90 C4 00 00 */ stw r6, 0(r4) -/* 802774B8 002743F8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802774BC 002743FC 90 04 00 00 */ stw r0, 0(r4) -lbl_802774C0: -/* 802774C0 00274400 7F E3 FB 78 */ mr r3, r31 -/* 802774C4 00274404 4B EB 94 45 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802774C8 00274408 38 60 00 10 */ li r3, 0x10 -/* 802774CC 0027440C 4B DA C9 D9 */ bl __nw__FUl -/* 802774D0 00274410 7C 64 1B 79 */ or. r4, r3, r3 -/* 802774D4 00274414 41 82 00 40 */ beq lbl_80277514 -/* 802774D8 00274418 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802774DC 0027441C 3C A0 80 4C */ lis r5, __vt__Q34Game7Tadpole5State@ha -/* 802774E0 00274420 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802774E4 00274424 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole9StateLeap@ha -/* 802774E8 00274428 90 04 00 00 */ stw r0, 0(r4) -/* 802774EC 0027442C 38 00 00 05 */ li r0, 5 -/* 802774F0 00274430 38 E0 00 00 */ li r7, 0 -/* 802774F4 00274434 38 C5 73 98 */ addi r6, r5, __vt__Q34Game7Tadpole5State@l -/* 802774F8 00274438 90 04 00 04 */ stw r0, 4(r4) -/* 802774FC 0027443C 38 A2 D0 58 */ addi r5, r2, lbl_8051B3B8@sda21 -/* 80277500 00274440 38 03 72 C0 */ addi r0, r3, __vt__Q34Game7Tadpole9StateLeap@l -/* 80277504 00274444 90 E4 00 08 */ stw r7, 8(r4) -/* 80277508 00274448 90 C4 00 00 */ stw r6, 0(r4) -/* 8027750C 0027444C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80277510 00274450 90 04 00 00 */ stw r0, 0(r4) -lbl_80277514: -/* 80277514 00274454 7F E3 FB 78 */ mr r3, r31 -/* 80277518 00274458 4B EB 93 F1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8027751C 0027445C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277520 00274460 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80277524 00274464 7C 08 03 A6 */ mtlr r0 -/* 80277528 00274468 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027752C 0027446C 4E 80 00 20 */ blr - -.global init__Q34Game7Tadpole9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Tadpole9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80277530 00274470 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277534 00274474 7C 08 02 A6 */ mflr r0 -/* 80277538 00274478 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027753C 0027447C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80277540 00274480 7C 9F 23 78 */ mr r31, r4 -/* 80277544 00274484 7F E3 FB 78 */ mr r3, r31 -/* 80277548 00274488 4B E8 E1 D9 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 8027754C 0027448C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80277550 00274490 7F E3 FB 78 */ mr r3, r31 -/* 80277554 00274494 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277558 00274498 38 80 00 00 */ li r4, 0 -/* 8027755C 0027449C 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80277560 002744A0 38 A0 00 00 */ li r5, 0 -/* 80277564 002744A4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80277568 002744A8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8027756C 002744AC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80277570 002744B0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80277574 002744B4 4B E8 DA 91 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80277578 002744B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027757C 002744BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80277580 002744C0 7C 08 03 A6 */ mtlr r0 -/* 80277584 002744C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80277588 002744C8 4E 80 00 20 */ blr - -.global exec__Q34Game7Tadpole9StateDeadFPQ24Game9EnemyBase -exec__Q34Game7Tadpole9StateDeadFPQ24Game9EnemyBase: -/* 8027758C 002744CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277590 002744D0 7C 08 02 A6 */ mflr r0 -/* 80277594 002744D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277598 002744D8 80 64 01 88 */ lwz r3, 0x188(r4) -/* 8027759C 002744DC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802775A0 002744E0 28 00 00 00 */ cmplwi r0, 0 -/* 802775A4 002744E4 41 82 00 30 */ beq lbl_802775D4 -/* 802775A8 002744E8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802775AC 002744EC 28 00 00 02 */ cmplwi r0, 2 -/* 802775B0 002744F0 40 82 00 10 */ bne lbl_802775C0 -/* 802775B4 002744F4 7C 83 23 78 */ mr r3, r4 -/* 802775B8 002744F8 48 00 17 41 */ bl createLeapEffect__Q34Game7Tadpole3ObjFv -/* 802775BC 002744FC 48 00 00 18 */ b lbl_802775D4 -lbl_802775C0: -/* 802775C0 00274500 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802775C4 00274504 40 82 00 10 */ bne lbl_802775D4 -/* 802775C8 00274508 7C 83 23 78 */ mr r3, r4 -/* 802775CC 0027450C 38 80 00 00 */ li r4, 0 -/* 802775D0 00274510 4B EC 3B 21 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_802775D4: -/* 802775D4 00274514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802775D8 00274518 7C 08 03 A6 */ mtlr r0 -/* 802775DC 0027451C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802775E0 00274520 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Tadpole9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game7Tadpole9StateDeadFPQ24Game9EnemyBase: -/* 802775E4 00274524 4E 80 00 20 */ blr - -.global init__Q34Game7Tadpole9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Tadpole9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802775E8 00274528 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802775EC 0027452C 7C 08 02 A6 */ mflr r0 -/* 802775F0 00274530 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 802775F4 00274534 7C 83 23 78 */ mr r3, r4 -/* 802775F8 00274538 90 01 00 14 */ stw r0, 0x14(r1) -/* 802775FC 0027453C 38 00 00 02 */ li r0, 2 -/* 80277600 00274540 38 A0 00 00 */ li r5, 0 -/* 80277604 00274544 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 80277608 00274548 38 80 00 01 */ li r4, 1 -/* 8027760C 0027454C 90 03 02 C8 */ stw r0, 0x2c8(r3) -/* 80277610 00274550 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80277614 00274554 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80277618 00274558 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 8027761C 0027455C 4B E8 D9 E9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80277620 00274560 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277624 00274564 7C 08 03 A6 */ mtlr r0 -/* 80277628 00274568 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027762C 0027456C 4E 80 00 20 */ blr - -.global exec__Q34Game7Tadpole9StateWaitFPQ24Game9EnemyBase -exec__Q34Game7Tadpole9StateWaitFPQ24Game9EnemyBase: -/* 80277630 00274570 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80277634 00274574 7C 08 02 A6 */ mflr r0 -/* 80277638 00274578 C0 02 D0 64 */ lfs f0, lbl_8051B3C4@sda21(r2) -/* 8027763C 0027457C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80277640 00274580 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80277644 00274584 7C 9F 23 78 */ mr r31, r4 -/* 80277648 00274588 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027764C 0027458C 7C 7E 1B 78 */ mr r30, r3 -/* 80277650 00274590 C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 80277654 00274594 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277658 00274598 40 81 00 0C */ ble lbl_80277664 -/* 8027765C 0027459C 7F E3 FB 78 */ mr r3, r31 -/* 80277660 002745A0 4B E8 DC 41 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80277664: -/* 80277664 002745A4 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 80277668 002745A8 7F E3 FB 78 */ mr r3, r31 -/* 8027766C 002745AC 38 80 00 00 */ li r4, 0 -/* 80277670 002745B0 38 A0 00 00 */ li r5, 0 -/* 80277674 002745B4 C0 26 04 24 */ lfs f1, 0x424(r6) -/* 80277678 002745B8 C0 46 03 D4 */ lfs f2, 0x3d4(r6) -/* 8027767C 002745BC 4B E9 B0 79 */ bl getNearestNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1 -/* 80277680 002745C0 28 03 00 00 */ cmplwi r3, 0 -/* 80277684 002745C4 41 82 00 3C */ beq lbl_802776C0 -/* 80277688 002745C8 7F E4 FB 78 */ mr r4, r31 -/* 8027768C 002745CC 7C 65 1B 78 */ mr r5, r3 -/* 80277690 002745D0 38 61 00 08 */ addi r3, r1, 8 -/* 80277694 002745D4 48 00 14 9D */ bl getTargetPosition__Q34Game7Tadpole3ObjFPQ24Game8Creature -/* 80277698 002745D8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8027769C 002745DC 38 00 00 03 */ li r0, 3 -/* 802776A0 002745E0 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 802776A4 002745E4 7F E3 FB 78 */ mr r3, r31 -/* 802776A8 002745E8 C0 01 00 08 */ lfs f0, 8(r1) -/* 802776AC 002745EC D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 802776B0 002745F0 D0 3F 02 D0 */ stfs f1, 0x2d0(r31) -/* 802776B4 002745F4 D0 5F 02 D4 */ stfs f2, 0x2d4(r31) -/* 802776B8 002745F8 90 1F 02 C8 */ stw r0, 0x2c8(r31) -/* 802776BC 002745FC 4B E8 DB E5 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802776C0: -/* 802776C0 00274600 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802776C4 00274604 C0 5F 02 C4 */ lfs f2, 0x2c4(r31) -/* 802776C8 00274608 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 802776CC 0027460C C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 802776D0 00274610 EC 22 08 2A */ fadds f1, f2, f1 -/* 802776D4 00274614 D0 3F 02 C4 */ stfs f1, 0x2c4(r31) -/* 802776D8 00274618 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802776DC 0027461C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802776E0 00274620 4C 40 13 82 */ cror 2, 0, 2 -/* 802776E4 00274624 40 82 00 28 */ bne lbl_8027770C -/* 802776E8 00274628 7F C3 F3 78 */ mr r3, r30 -/* 802776EC 0027462C 7F E4 FB 78 */ mr r4, r31 -/* 802776F0 00274630 81 9E 00 00 */ lwz r12, 0(r30) -/* 802776F4 00274634 38 A0 00 00 */ li r5, 0 -/* 802776F8 00274638 38 C0 00 00 */ li r6, 0 -/* 802776FC 0027463C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80277700 00274640 7D 89 03 A6 */ mtctr r12 -/* 80277704 00274644 4E 80 04 21 */ bctrl -/* 80277708 00274648 48 00 00 6C */ b lbl_80277774 -lbl_8027770C: -/* 8027770C 0027464C 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 80277710 00274650 28 00 00 00 */ cmplwi r0, 0 -/* 80277714 00274654 40 82 00 24 */ bne lbl_80277738 -/* 80277718 00274658 7F C3 F3 78 */ mr r3, r30 -/* 8027771C 0027465C 7F E4 FB 78 */ mr r4, r31 -/* 80277720 00274660 81 9E 00 00 */ lwz r12, 0(r30) -/* 80277724 00274664 38 A0 00 05 */ li r5, 5 -/* 80277728 00274668 38 C0 00 00 */ li r6, 0 -/* 8027772C 0027466C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80277730 00274670 7D 89 03 A6 */ mtctr r12 -/* 80277734 00274674 4E 80 04 21 */ bctrl -lbl_80277738: -/* 80277738 00274678 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8027773C 0027467C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80277740 00274680 28 00 00 00 */ cmplwi r0, 0 -/* 80277744 00274684 41 82 00 30 */ beq lbl_80277774 -/* 80277748 00274688 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8027774C 0027468C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80277750 00274690 40 82 00 24 */ bne lbl_80277774 -/* 80277754 00274694 7F C3 F3 78 */ mr r3, r30 -/* 80277758 00274698 7F E4 FB 78 */ mr r4, r31 -/* 8027775C 0027469C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80277760 002746A0 38 C0 00 00 */ li r6, 0 -/* 80277764 002746A4 80 BF 02 C8 */ lwz r5, 0x2c8(r31) -/* 80277768 002746A8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027776C 002746AC 7D 89 03 A6 */ mtctr r12 -/* 80277770 002746B0 4E 80 04 21 */ bctrl -lbl_80277774: -/* 80277774 002746B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80277778 002746B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027777C 002746BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80277780 002746C0 7C 08 03 A6 */ mtlr r0 -/* 80277784 002746C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80277788 002746C8 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Tadpole9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game7Tadpole9StateWaitFPQ24Game9EnemyBase: -/* 8027778C 002746CC 4E 80 00 20 */ blr - -.global init__Q34Game7Tadpole9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Tadpole9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80277790 002746D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277794 002746D4 7C 08 02 A6 */ mflr r0 -/* 80277798 002746D8 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 8027779C 002746DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802777A0 002746E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802777A4 002746E4 7C 9F 23 78 */ mr r31, r4 -/* 802777A8 002746E8 38 80 00 00 */ li r4, 0 -/* 802777AC 002746EC D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 802777B0 002746F0 7F E3 FB 78 */ mr r3, r31 -/* 802777B4 002746F4 48 00 11 99 */ bl setRandTarget__Q34Game7Tadpole3ObjFb -/* 802777B8 002746F8 38 00 00 01 */ li r0, 1 -/* 802777BC 002746FC 7F E3 FB 78 */ mr r3, r31 -/* 802777C0 00274700 90 1F 02 C8 */ stw r0, 0x2c8(r31) -/* 802777C4 00274704 38 80 00 02 */ li r4, 2 -/* 802777C8 00274708 38 A0 00 00 */ li r5, 0 -/* 802777CC 0027470C 4B E8 D8 39 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802777D0 00274710 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802777D4 00274714 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802777D8 00274718 7C 08 03 A6 */ mtlr r0 -/* 802777DC 0027471C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802777E0 00274720 4E 80 00 20 */ blr - -.global exec__Q34Game7Tadpole9StateMoveFPQ24Game9EnemyBase -exec__Q34Game7Tadpole9StateMoveFPQ24Game9EnemyBase: -/* 802777E4 00274724 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 802777E8 00274728 7C 08 02 A6 */ mflr r0 -/* 802777EC 0027472C 90 01 00 64 */ stw r0, 0x64(r1) -/* 802777F0 00274730 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 802777F4 00274734 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 802777F8 00274738 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 802777FC 0027473C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80277800 00274740 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80277804 00274744 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80277808 00274748 81 84 00 00 */ lwz r12, 0(r4) -/* 8027780C 0027474C 7C 7E 1B 78 */ mr r30, r3 -/* 80277810 00274750 38 61 00 14 */ addi r3, r1, 0x14 -/* 80277814 00274754 7C 9F 23 78 */ mr r31, r4 -/* 80277818 00274758 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027781C 0027475C 7D 89 03 A6 */ mtctr r12 -/* 80277820 00274760 4E 80 04 21 */ bctrl -/* 80277824 00274764 C0 3F 02 D0 */ lfs f1, 0x2d0(r31) -/* 80277828 00274768 7F E3 FB 78 */ mr r3, r31 -/* 8027782C 0027476C C0 5F 02 D4 */ lfs f2, 0x2d4(r31) -/* 80277830 00274770 38 81 00 20 */ addi r4, r1, 0x20 -/* 80277834 00274774 C0 1F 02 CC */ lfs f0, 0x2cc(r31) -/* 80277838 00274778 C3 E1 00 14 */ lfs f31, 0x14(r1) -/* 8027783C 0027477C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80277840 00274780 C3 C1 00 1C */ lfs f30, 0x1c(r1) -/* 80277844 00274784 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80277848 00274788 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8027784C 0027478C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80277850 00274790 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 80277854 00274794 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 80277858 00274798 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 8027785C 0027479C 4B E9 DD 81 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 80277860 002747A0 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 80277864 002747A4 C0 02 D0 64 */ lfs f0, lbl_8051B3C4@sda21(r2) -/* 80277868 002747A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027786C 002747AC 41 81 00 28 */ bgt lbl_80277894 -/* 80277870 002747B0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80277874 002747B4 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80277878 002747B8 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 8027787C 002747BC C0 02 D0 68 */ lfs f0, lbl_8051B3C8@sda21(r2) -/* 80277880 002747C0 EC 7F 08 28 */ fsubs f3, f31, f1 -/* 80277884 002747C4 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 80277888 002747C8 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 8027788C 002747CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277890 002747D0 40 80 00 1C */ bge lbl_802778AC -lbl_80277894: -/* 80277894 002747D4 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277898 002747D8 7F E3 FB 78 */ mr r3, r31 -/* 8027789C 002747DC D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802778A0 002747E0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802778A4 002747E4 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802778A8 002747E8 4B E8 D9 F9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802778AC: -/* 802778AC 002747EC 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 802778B0 002747F0 7F E3 FB 78 */ mr r3, r31 -/* 802778B4 002747F4 38 80 00 00 */ li r4, 0 -/* 802778B8 002747F8 38 A0 00 00 */ li r5, 0 -/* 802778BC 002747FC C0 26 04 24 */ lfs f1, 0x424(r6) -/* 802778C0 00274800 C0 46 03 D4 */ lfs f2, 0x3d4(r6) -/* 802778C4 00274804 4B E9 AE 31 */ bl getNearestNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1 -/* 802778C8 00274808 28 03 00 00 */ cmplwi r3, 0 -/* 802778CC 0027480C 41 82 00 4C */ beq lbl_80277918 -/* 802778D0 00274810 7F E4 FB 78 */ mr r4, r31 -/* 802778D4 00274814 7C 65 1B 78 */ mr r5, r3 -/* 802778D8 00274818 38 61 00 08 */ addi r3, r1, 8 -/* 802778DC 0027481C 48 00 12 55 */ bl getTargetPosition__Q34Game7Tadpole3ObjFPQ24Game8Creature -/* 802778E0 00274820 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802778E4 00274824 38 00 00 03 */ li r0, 3 -/* 802778E8 00274828 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 802778EC 0027482C 7F E3 FB 78 */ mr r3, r31 -/* 802778F0 00274830 C0 21 00 08 */ lfs f1, 8(r1) -/* 802778F4 00274834 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 802778F8 00274838 D0 3F 02 CC */ stfs f1, 0x2cc(r31) -/* 802778FC 0027483C D0 5F 02 D0 */ stfs f2, 0x2d0(r31) -/* 80277900 00274840 D0 7F 02 D4 */ stfs f3, 0x2d4(r31) -/* 80277904 00274844 90 1F 02 C8 */ stw r0, 0x2c8(r31) -/* 80277908 00274848 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8027790C 0027484C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80277910 00274850 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80277914 00274854 4B E8 D9 8D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80277918: -/* 80277918 00274858 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8027791C 0027485C C0 5F 02 C4 */ lfs f2, 0x2c4(r31) -/* 80277920 00274860 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 80277924 00274864 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277928 00274868 EC 22 08 2A */ fadds f1, f2, f1 -/* 8027792C 0027486C D0 3F 02 C4 */ stfs f1, 0x2c4(r31) -/* 80277930 00274870 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80277934 00274874 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277938 00274878 4C 40 13 82 */ cror 2, 0, 2 -/* 8027793C 0027487C 40 82 00 28 */ bne lbl_80277964 -/* 80277940 00274880 7F C3 F3 78 */ mr r3, r30 -/* 80277944 00274884 7F E4 FB 78 */ mr r4, r31 -/* 80277948 00274888 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027794C 0027488C 38 A0 00 00 */ li r5, 0 -/* 80277950 00274890 38 C0 00 00 */ li r6, 0 -/* 80277954 00274894 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80277958 00274898 7D 89 03 A6 */ mtctr r12 -/* 8027795C 0027489C 4E 80 04 21 */ bctrl -/* 80277960 002748A0 48 00 00 6C */ b lbl_802779CC -lbl_80277964: -/* 80277964 002748A4 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 80277968 002748A8 28 00 00 00 */ cmplwi r0, 0 -/* 8027796C 002748AC 40 82 00 24 */ bne lbl_80277990 -/* 80277970 002748B0 7F C3 F3 78 */ mr r3, r30 -/* 80277974 002748B4 7F E4 FB 78 */ mr r4, r31 -/* 80277978 002748B8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027797C 002748BC 38 A0 00 05 */ li r5, 5 -/* 80277980 002748C0 38 C0 00 00 */ li r6, 0 -/* 80277984 002748C4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80277988 002748C8 7D 89 03 A6 */ mtctr r12 -/* 8027798C 002748CC 4E 80 04 21 */ bctrl -lbl_80277990: -/* 80277990 002748D0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80277994 002748D4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80277998 002748D8 28 00 00 00 */ cmplwi r0, 0 -/* 8027799C 002748DC 41 82 00 30 */ beq lbl_802779CC -/* 802779A0 002748E0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802779A4 002748E4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802779A8 002748E8 40 82 00 24 */ bne lbl_802779CC -/* 802779AC 002748EC 7F C3 F3 78 */ mr r3, r30 -/* 802779B0 002748F0 7F E4 FB 78 */ mr r4, r31 -/* 802779B4 002748F4 81 9E 00 00 */ lwz r12, 0(r30) -/* 802779B8 002748F8 38 C0 00 00 */ li r6, 0 -/* 802779BC 002748FC 80 BF 02 C8 */ lwz r5, 0x2c8(r31) -/* 802779C0 00274900 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802779C4 00274904 7D 89 03 A6 */ mtctr r12 -/* 802779C8 00274908 4E 80 04 21 */ bctrl -lbl_802779CC: -/* 802779CC 0027490C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 802779D0 00274910 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 802779D4 00274914 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 802779D8 00274918 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 802779DC 0027491C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802779E0 00274920 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802779E4 00274924 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802779E8 00274928 7C 08 03 A6 */ mtlr r0 -/* 802779EC 0027492C 38 21 00 60 */ addi r1, r1, 0x60 -/* 802779F0 00274930 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Tadpole9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game7Tadpole9StateMoveFPQ24Game9EnemyBase: -/* 802779F4 00274934 4E 80 00 20 */ blr - -.global init__Q34Game7Tadpole10StateAmazeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Tadpole10StateAmazeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802779F8 00274938 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802779FC 0027493C 7C 08 02 A6 */ mflr r0 -/* 80277A00 00274940 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277A04 00274944 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277A08 00274948 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80277A0C 0027494C 7C 9F 23 78 */ mr r31, r4 -/* 80277A10 00274950 7F E3 FB 78 */ mr r3, r31 -/* 80277A14 00274954 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80277A18 00274958 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80277A1C 0027495C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80277A20 00274960 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80277A24 00274964 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80277A28 00274968 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80277A2C 0027496C 4B E8 9F A1 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80277A30 00274970 7F E3 FB 78 */ mr r3, r31 -/* 80277A34 00274974 38 80 00 03 */ li r4, 3 -/* 80277A38 00274978 38 A0 00 00 */ li r5, 0 -/* 80277A3C 0027497C 4B E8 D5 C9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80277A40 00274980 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277A44 00274984 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80277A48 00274988 7C 08 03 A6 */ mtlr r0 -/* 80277A4C 0027498C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80277A50 00274990 4E 80 00 20 */ blr - -.global exec__Q34Game7Tadpole10StateAmazeFPQ24Game9EnemyBase -exec__Q34Game7Tadpole10StateAmazeFPQ24Game9EnemyBase: -/* 80277A54 00274994 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277A58 00274998 7C 08 02 A6 */ mflr r0 -/* 80277A5C 0027499C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277A60 002749A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80277A64 002749A4 7C 9F 23 78 */ mr r31, r4 -/* 80277A68 002749A8 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80277A6C 002749AC 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80277A70 002749B0 28 00 00 00 */ cmplwi r0, 0 -/* 80277A74 002749B4 41 82 00 80 */ beq lbl_80277AF4 -/* 80277A78 002749B8 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80277A7C 002749BC 28 00 00 02 */ cmplwi r0, 2 -/* 80277A80 002749C0 40 82 00 3C */ bne lbl_80277ABC -/* 80277A84 002749C4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80277A88 002749C8 7F E3 FB 78 */ mr r3, r31 -/* 80277A8C 002749CC 64 00 00 20 */ oris r0, r0, 0x20 -/* 80277A90 002749D0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80277A94 002749D4 48 00 12 65 */ bl createLeapEffect__Q34Game7Tadpole3ObjFv -/* 80277A98 002749D8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80277A9C 002749DC 7F E3 FB 78 */ mr r3, r31 -/* 80277AA0 002749E0 C0 82 D0 6C */ lfs f4, lbl_8051B3CC@sda21(r2) -/* 80277AA4 002749E4 38 80 00 00 */ li r4, 0 -/* 80277AA8 002749E8 C0 25 05 14 */ lfs f1, 0x514(r5) -/* 80277AAC 002749EC C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 80277AB0 002749F0 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80277AB4 002749F4 4B E9 BA 21 */ bl flickNearbyPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 80277AB8 002749F8 48 00 00 3C */ b lbl_80277AF4 -lbl_80277ABC: -/* 80277ABC 002749FC 28 00 00 03 */ cmplwi r0, 3 -/* 80277AC0 00274A00 40 82 00 14 */ bne lbl_80277AD4 -/* 80277AC4 00274A04 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80277AC8 00274A08 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80277ACC 00274A0C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80277AD0 00274A10 48 00 00 24 */ b lbl_80277AF4 -lbl_80277AD4: -/* 80277AD4 00274A14 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80277AD8 00274A18 40 82 00 1C */ bne lbl_80277AF4 -/* 80277ADC 00274A1C 81 83 00 00 */ lwz r12, 0(r3) -/* 80277AE0 00274A20 38 A0 00 04 */ li r5, 4 -/* 80277AE4 00274A24 38 C0 00 00 */ li r6, 0 -/* 80277AE8 00274A28 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80277AEC 00274A2C 7D 89 03 A6 */ mtctr r12 -/* 80277AF0 00274A30 4E 80 04 21 */ bctrl -lbl_80277AF4: -/* 80277AF4 00274A34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277AF8 00274A38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80277AFC 00274A3C 7C 08 03 A6 */ mtlr r0 -/* 80277B00 00274A40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80277B04 00274A44 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Tadpole10StateAmazeFPQ24Game9EnemyBase -cleanup__Q34Game7Tadpole10StateAmazeFPQ24Game9EnemyBase: -/* 80277B08 00274A48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277B0C 00274A4C 7C 08 02 A6 */ mflr r0 -/* 80277B10 00274A50 7C 83 23 78 */ mr r3, r4 -/* 80277B14 00274A54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277B18 00274A58 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80277B1C 00274A5C 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80277B20 00274A60 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80277B24 00274A64 4B E8 9E 59 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80277B28 00274A68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277B2C 00274A6C 7C 08 03 A6 */ mtlr r0 -/* 80277B30 00274A70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80277B34 00274A74 4E 80 00 20 */ blr - -.global init__Q34Game7Tadpole11StateEscapeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Tadpole11StateEscapeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80277B38 00274A78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277B3C 00274A7C 7C 08 02 A6 */ mflr r0 -/* 80277B40 00274A80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277B44 00274A84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80277B48 00274A88 7C 9F 23 78 */ mr r31, r4 -/* 80277B4C 00274A8C 7F E3 FB 78 */ mr r3, r31 -/* 80277B50 00274A90 4B E8 9E 7D */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80277B54 00274A94 7F E3 FB 78 */ mr r3, r31 -/* 80277B58 00274A98 38 80 00 02 */ li r4, 2 -/* 80277B5C 00274A9C 38 A0 00 00 */ li r5, 0 -/* 80277B60 00274AA0 4B E8 D4 A5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80277B64 00274AA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277B68 00274AA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80277B6C 00274AAC 7C 08 03 A6 */ mtlr r0 -/* 80277B70 00274AB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80277B74 00274AB4 4E 80 00 20 */ blr - -.global exec__Q34Game7Tadpole11StateEscapeFPQ24Game9EnemyBase -exec__Q34Game7Tadpole11StateEscapeFPQ24Game9EnemyBase: -/* 80277B78 00274AB8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80277B7C 00274ABC 7C 08 02 A6 */ mflr r0 -/* 80277B80 00274AC0 38 A0 00 00 */ li r5, 0 -/* 80277B84 00274AC4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80277B88 00274AC8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80277B8C 00274ACC 7C 9F 23 78 */ mr r31, r4 -/* 80277B90 00274AD0 38 80 00 00 */ li r4, 0 -/* 80277B94 00274AD4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80277B98 00274AD8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80277B9C 00274ADC 7C 7D 1B 78 */ mr r29, r3 -/* 80277BA0 00274AE0 7F E3 FB 78 */ mr r3, r31 -/* 80277BA4 00274AE4 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 80277BA8 00274AE8 C0 26 04 24 */ lfs f1, 0x424(r6) -/* 80277BAC 00274AEC C0 46 03 D4 */ lfs f2, 0x3d4(r6) -/* 80277BB0 00274AF0 4B E9 AB 45 */ bl getNearestNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1 -/* 80277BB4 00274AF4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80277BB8 00274AF8 41 82 00 64 */ beq lbl_80277C1C -/* 80277BBC 00274AFC 7F E4 FB 78 */ mr r4, r31 -/* 80277BC0 00274B00 38 61 00 14 */ addi r3, r1, 0x14 -/* 80277BC4 00274B04 81 9F 00 00 */ lwz r12, 0(r31) -/* 80277BC8 00274B08 81 8C 00 08 */ lwz r12, 8(r12) -/* 80277BCC 00274B0C 7D 89 03 A6 */ mtctr r12 -/* 80277BD0 00274B10 4E 80 04 21 */ bctrl -/* 80277BD4 00274B14 7F E4 FB 78 */ mr r4, r31 -/* 80277BD8 00274B18 7F C5 F3 78 */ mr r5, r30 -/* 80277BDC 00274B1C 38 61 00 08 */ addi r3, r1, 8 -/* 80277BE0 00274B20 48 00 0F 51 */ bl getTargetPosition__Q34Game7Tadpole3ObjFPQ24Game8Creature -/* 80277BE4 00274B24 C0 41 00 08 */ lfs f2, 8(r1) -/* 80277BE8 00274B28 7F E3 FB 78 */ mr r3, r31 -/* 80277BEC 00274B2C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80277BF0 00274B30 38 81 00 20 */ addi r4, r1, 0x20 -/* 80277BF4 00274B34 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80277BF8 00274B38 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80277BFC 00274B3C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80277C00 00274B40 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80277C04 00274B44 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80277C08 00274B48 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 80277C0C 00274B4C C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 80277C10 00274B50 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 80277C14 00274B54 4B E9 D9 C9 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 80277C18 00274B58 48 00 00 0C */ b lbl_80277C24 -lbl_80277C1C: -/* 80277C1C 00274B5C 7F E3 FB 78 */ mr r3, r31 -/* 80277C20 00274B60 4B E8 D6 81 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80277C24: -/* 80277C24 00274B64 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80277C28 00274B68 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277C2C 00274B6C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277C30 00274B70 4C 40 13 82 */ cror 2, 0, 2 -/* 80277C34 00274B74 40 82 00 28 */ bne lbl_80277C5C -/* 80277C38 00274B78 7F A3 EB 78 */ mr r3, r29 -/* 80277C3C 00274B7C 7F E4 FB 78 */ mr r4, r31 -/* 80277C40 00274B80 81 9D 00 00 */ lwz r12, 0(r29) -/* 80277C44 00274B84 38 A0 00 00 */ li r5, 0 -/* 80277C48 00274B88 38 C0 00 00 */ li r6, 0 -/* 80277C4C 00274B8C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80277C50 00274B90 7D 89 03 A6 */ mtctr r12 -/* 80277C54 00274B94 4E 80 04 21 */ bctrl -/* 80277C58 00274B98 48 00 00 6C */ b lbl_80277CC4 -lbl_80277C5C: -/* 80277C5C 00274B9C 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 80277C60 00274BA0 28 00 00 00 */ cmplwi r0, 0 -/* 80277C64 00274BA4 40 82 00 24 */ bne lbl_80277C88 -/* 80277C68 00274BA8 7F A3 EB 78 */ mr r3, r29 -/* 80277C6C 00274BAC 7F E4 FB 78 */ mr r4, r31 -/* 80277C70 00274BB0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80277C74 00274BB4 38 A0 00 05 */ li r5, 5 -/* 80277C78 00274BB8 38 C0 00 00 */ li r6, 0 -/* 80277C7C 00274BBC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80277C80 00274BC0 7D 89 03 A6 */ mtctr r12 -/* 80277C84 00274BC4 4E 80 04 21 */ bctrl -lbl_80277C88: -/* 80277C88 00274BC8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80277C8C 00274BCC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80277C90 00274BD0 28 00 00 00 */ cmplwi r0, 0 -/* 80277C94 00274BD4 41 82 00 30 */ beq lbl_80277CC4 -/* 80277C98 00274BD8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80277C9C 00274BDC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80277CA0 00274BE0 40 82 00 24 */ bne lbl_80277CC4 -/* 80277CA4 00274BE4 7F A3 EB 78 */ mr r3, r29 -/* 80277CA8 00274BE8 7F E4 FB 78 */ mr r4, r31 -/* 80277CAC 00274BEC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80277CB0 00274BF0 38 A0 00 01 */ li r5, 1 -/* 80277CB4 00274BF4 38 C0 00 00 */ li r6, 0 -/* 80277CB8 00274BF8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80277CBC 00274BFC 7D 89 03 A6 */ mtctr r12 -/* 80277CC0 00274C00 4E 80 04 21 */ bctrl -lbl_80277CC4: -/* 80277CC4 00274C04 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80277CC8 00274C08 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80277CCC 00274C0C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80277CD0 00274C10 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80277CD4 00274C14 7C 08 03 A6 */ mtlr r0 -/* 80277CD8 00274C18 38 21 00 40 */ addi r1, r1, 0x40 -/* 80277CDC 00274C1C 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Tadpole11StateEscapeFPQ24Game9EnemyBase -cleanup__Q34Game7Tadpole11StateEscapeFPQ24Game9EnemyBase: -/* 80277CE0 00274C20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80277CE4 00274C24 7C 08 02 A6 */ mflr r0 -/* 80277CE8 00274C28 7C 83 23 78 */ mr r3, r4 -/* 80277CEC 00274C2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80277CF0 00274C30 4B E8 9C 8D */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80277CF4 00274C34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80277CF8 00274C38 7C 08 03 A6 */ mtlr r0 -/* 80277CFC 00274C3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80277D00 00274C40 4E 80 00 20 */ blr - -.global init__Q34Game7Tadpole9StateLeapFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7Tadpole9StateLeapFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80277D04 00274C44 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80277D08 00274C48 7C 08 02 A6 */ mflr r0 -/* 80277D0C 00274C4C C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277D10 00274C50 90 01 00 34 */ stw r0, 0x34(r1) -/* 80277D14 00274C54 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80277D18 00274C58 7C 9F 23 78 */ mr r31, r4 -/* 80277D1C 00274C5C 38 80 00 01 */ li r4, 1 -/* 80277D20 00274C60 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 80277D24 00274C64 7F E3 FB 78 */ mr r3, r31 -/* 80277D28 00274C68 48 00 0C 25 */ bl setRandTarget__Q34Game7Tadpole3ObjFb -/* 80277D2C 00274C6C 4B E5 18 75 */ bl rand -/* 80277D30 00274C70 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80277D34 00274C74 3C 00 43 30 */ lis r0, 0x4330 -/* 80277D38 00274C78 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80277D3C 00274C7C C8 62 D0 80 */ lfd f3, lbl_8051B3E0@sda21(r2) -/* 80277D40 00274C80 90 01 00 18 */ stw r0, 0x18(r1) -/* 80277D44 00274C84 C0 42 D0 70 */ lfs f2, lbl_8051B3D0@sda21(r2) -/* 80277D48 00274C88 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 80277D4C 00274C8C C0 22 D0 74 */ lfs f1, lbl_8051B3D4@sda21(r2) -/* 80277D50 00274C90 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80277D54 00274C94 C0 02 D0 78 */ lfs f0, lbl_8051B3D8@sda21(r2) -/* 80277D58 00274C98 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80277D5C 00274C9C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80277D60 00274CA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277D64 00274CA4 40 80 00 10 */ bge lbl_80277D74 -/* 80277D68 00274CA8 38 00 00 01 */ li r0, 1 -/* 80277D6C 00274CAC 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80277D70 00274CB0 48 00 00 0C */ b lbl_80277D7C -lbl_80277D74: -/* 80277D74 00274CB4 38 00 00 00 */ li r0, 0 -/* 80277D78 00274CB8 98 1F 02 C0 */ stb r0, 0x2c0(r31) -lbl_80277D7C: -/* 80277D7C 00274CBC 38 00 FF FF */ li r0, -1 -/* 80277D80 00274CC0 7F E3 FB 78 */ mr r3, r31 -/* 80277D84 00274CC4 90 1F 02 C8 */ stw r0, 0x2c8(r31) -/* 80277D88 00274CC8 38 80 00 04 */ li r4, 4 -/* 80277D8C 00274CCC 38 A0 00 00 */ li r5, 0 -/* 80277D90 00274CD0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80277D94 00274CD4 64 00 00 20 */ oris r0, r0, 0x20 -/* 80277D98 00274CD8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80277D9C 00274CDC 4B E8 D2 69 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80277DA0 00274CE0 7F E4 FB 78 */ mr r4, r31 -/* 80277DA4 00274CE4 38 61 00 08 */ addi r3, r1, 8 -/* 80277DA8 00274CE8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80277DAC 00274CEC 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 80277DB0 00274CF0 7D 89 03 A6 */ mtctr r12 -/* 80277DB4 00274CF4 4E 80 04 21 */ bctrl -/* 80277DB8 00274CF8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80277DBC 00274CFC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80277DC0 00274D00 C0 01 00 08 */ lfs f0, 8(r1) -/* 80277DC4 00274D04 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80277DC8 00274D08 D0 3F 01 D8 */ stfs f1, 0x1d8(r31) -/* 80277DCC 00274D0C D0 5F 01 DC */ stfs f2, 0x1dc(r31) -/* 80277DD0 00274D10 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80277DD4 00274D14 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80277DD8 00274D18 7C 08 03 A6 */ mtlr r0 -/* 80277DDC 00274D1C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80277DE0 00274D20 4E 80 00 20 */ blr - -.global exec__Q34Game7Tadpole9StateLeapFPQ24Game9EnemyBase -exec__Q34Game7Tadpole9StateLeapFPQ24Game9EnemyBase: -/* 80277DE4 00274D24 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80277DE8 00274D28 7C 08 02 A6 */ mflr r0 -/* 80277DEC 00274D2C 90 01 00 84 */ stw r0, 0x84(r1) -/* 80277DF0 00274D30 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80277DF4 00274D34 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80277DF8 00274D38 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80277DFC 00274D3C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80277E00 00274D40 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80277E04 00274D44 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80277E08 00274D48 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 80277E0C 00274D4C F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 80277E10 00274D50 DB 61 00 30 */ stfd f27, 0x30(r1) -/* 80277E14 00274D54 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 -/* 80277E18 00274D58 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80277E1C 00274D5C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80277E20 00274D60 7C 9F 23 78 */ mr r31, r4 -/* 80277E24 00274D64 7C 7E 1B 78 */ mr r30, r3 -/* 80277E28 00274D68 7F E3 FB 78 */ mr r3, r31 -/* 80277E2C 00274D6C 4B E8 F4 D5 */ bl isFinishMotion__Q24Game9EnemyBaseFv -/* 80277E30 00274D70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80277E34 00274D74 41 82 00 18 */ beq lbl_80277E4C -/* 80277E38 00274D78 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277E3C 00274D7C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80277E40 00274D80 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80277E44 00274D84 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80277E48 00274D88 48 00 01 A8 */ b lbl_80277FF0 -lbl_80277E4C: -/* 80277E4C 00274D8C 7F E3 FB 78 */ mr r3, r31 -/* 80277E50 00274D90 4B E8 D4 1D */ bl getMotionFrame__Q24Game9EnemyBaseFv -/* 80277E54 00274D94 C0 02 D0 88 */ lfs f0, lbl_8051B3E8@sda21(r2) -/* 80277E58 00274D98 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277E5C 00274D9C 4C 41 13 82 */ cror 2, 1, 2 -/* 80277E60 00274DA0 40 82 01 90 */ bne lbl_80277FF0 -/* 80277E64 00274DA4 7F E4 FB 78 */ mr r4, r31 -/* 80277E68 00274DA8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80277E6C 00274DAC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80277E70 00274DB0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80277E74 00274DB4 7D 89 03 A6 */ mtctr r12 -/* 80277E78 00274DB8 4E 80 04 21 */ bctrl -/* 80277E7C 00274DBC 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 80277E80 00274DC0 C3 E1 00 14 */ lfs f31, 0x14(r1) -/* 80277E84 00274DC4 28 00 00 00 */ cmplwi r0, 0 -/* 80277E88 00274DC8 C3 C1 00 1C */ lfs f30, 0x1c(r1) -/* 80277E8C 00274DCC C3 BF 02 CC */ lfs f29, 0x2cc(r31) -/* 80277E90 00274DD0 C3 9F 02 D4 */ lfs f28, 0x2d4(r31) -/* 80277E94 00274DD4 41 82 00 18 */ beq lbl_80277EAC -/* 80277E98 00274DD8 38 00 00 01 */ li r0, 1 -/* 80277E9C 00274DDC 7F E3 FB 78 */ mr r3, r31 -/* 80277EA0 00274DE0 90 1F 02 C8 */ stw r0, 0x2c8(r31) -/* 80277EA4 00274DE4 4B E8 D3 FD */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80277EA8 00274DE8 48 00 00 44 */ b lbl_80277EEC -lbl_80277EAC: -/* 80277EAC 00274DEC C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 80277EB0 00274DF0 C0 02 D0 8C */ lfs f0, lbl_8051B3EC@sda21(r2) -/* 80277EB4 00274DF4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277EB8 00274DF8 41 81 00 20 */ bgt lbl_80277ED8 -/* 80277EBC 00274DFC EC 3E E0 28 */ fsubs f1, f30, f28 -/* 80277EC0 00274E00 C0 02 D0 68 */ lfs f0, lbl_8051B3C8@sda21(r2) -/* 80277EC4 00274E04 EC 5F E8 28 */ fsubs f2, f31, f29 -/* 80277EC8 00274E08 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80277ECC 00274E0C EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80277ED0 00274E10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277ED4 00274E14 40 80 00 18 */ bge lbl_80277EEC -lbl_80277ED8: -/* 80277ED8 00274E18 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277EDC 00274E1C 7F E3 FB 78 */ mr r3, r31 -/* 80277EE0 00274E20 38 80 00 01 */ li r4, 1 -/* 80277EE4 00274E24 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 80277EE8 00274E28 48 00 0A 65 */ bl setRandTarget__Q34Game7Tadpole3ObjFb -lbl_80277EEC: -/* 80277EEC 00274E2C 88 1F 02 C0 */ lbz r0, 0x2c0(r31) -/* 80277EF0 00274E30 C3 62 D0 60 */ lfs f27, lbl_8051B3C0@sda21(r2) -/* 80277EF4 00274E34 28 00 00 00 */ cmplwi r0, 0 -/* 80277EF8 00274E38 41 82 00 10 */ beq lbl_80277F08 -/* 80277EFC 00274E3C C0 02 D0 90 */ lfs f0, lbl_8051B3F0@sda21(r2) -/* 80277F00 00274E40 EF 7B 00 2A */ fadds f27, f27, f0 -/* 80277F04 00274E44 48 00 00 0C */ b lbl_80277F10 -lbl_80277F08: -/* 80277F08 00274E48 C0 02 D0 90 */ lfs f0, lbl_8051B3F0@sda21(r2) -/* 80277F0C 00274E4C EF 7B 00 28 */ fsubs f27, f27, f0 -lbl_80277F10: -/* 80277F10 00274E50 7F E3 FB 78 */ mr r3, r31 -/* 80277F14 00274E54 81 9F 00 00 */ lwz r12, 0(r31) -/* 80277F18 00274E58 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80277F1C 00274E5C 7D 89 03 A6 */ mtctr r12 -/* 80277F20 00274E60 4E 80 04 21 */ bctrl -/* 80277F24 00274E64 EC 3B 08 2A */ fadds f1, f27, f1 -/* 80277F28 00274E68 C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277F2C 00274E6C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277F30 00274E70 40 80 00 10 */ bge lbl_80277F40 -/* 80277F34 00274E74 C0 02 D0 94 */ lfs f0, lbl_8051B3F4@sda21(r2) -/* 80277F38 00274E78 EC 20 08 2A */ fadds f1, f0, f1 -/* 80277F3C 00274E7C 48 00 00 18 */ b lbl_80277F54 -lbl_80277F40: -/* 80277F40 00274E80 C0 02 D0 94 */ lfs f0, lbl_8051B3F4@sda21(r2) -/* 80277F44 00274E84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277F48 00274E88 4C 41 13 82 */ cror 2, 1, 2 -/* 80277F4C 00274E8C 40 82 00 08 */ bne lbl_80277F54 -/* 80277F50 00274E90 EC 21 00 28 */ fsubs f1, f1, f0 -lbl_80277F54: -/* 80277F54 00274E94 EC FC F0 28 */ fsubs f7, f28, f30 -/* 80277F58 00274E98 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80277F5C 00274E9C EC BD F8 28 */ fsubs f5, f29, f31 -/* 80277F60 00274EA0 C0 C2 D0 60 */ lfs f6, lbl_8051B3C0@sda21(r2) -/* 80277F64 00274EA4 C0 3F 01 FC */ lfs f1, 0x1fc(r31) -/* 80277F68 00274EA8 EC 47 01 F2 */ fmuls f2, f7, f7 -/* 80277F6C 00274EAC EC 05 31 7A */ fmadds f0, f5, f5, f6 -/* 80277F70 00274EB0 D0 3F 01 A8 */ stfs f1, 0x1a8(r31) -/* 80277F74 00274EB4 C0 7F 01 D4 */ lfs f3, 0x1d4(r31) -/* 80277F78 00274EB8 EC 22 00 2A */ fadds f1, f2, f0 -/* 80277F7C 00274EBC C0 9F 01 DC */ lfs f4, 0x1dc(r31) -/* 80277F80 00274EC0 FC 01 30 40 */ fcmpo cr0, f1, f6 -/* 80277F84 00274EC4 40 81 00 14 */ ble lbl_80277F98 -/* 80277F88 00274EC8 40 81 00 14 */ ble lbl_80277F9C -/* 80277F8C 00274ECC FC 00 08 34 */ frsqrte f0, f1 -/* 80277F90 00274ED0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80277F94 00274ED4 48 00 00 08 */ b lbl_80277F9C -lbl_80277F98: -/* 80277F98 00274ED8 FC 20 30 90 */ fmr f1, f6 -lbl_80277F9C: -/* 80277F9C 00274EDC C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80277FA0 00274EE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80277FA4 00274EE4 40 81 00 18 */ ble lbl_80277FBC -/* 80277FA8 00274EE8 C0 02 D0 70 */ lfs f0, lbl_8051B3D0@sda21(r2) -/* 80277FAC 00274EEC EC 00 08 24 */ fdivs f0, f0, f1 -/* 80277FB0 00274EF0 EC A5 00 32 */ fmuls f5, f5, f0 -/* 80277FB4 00274EF4 EC C6 00 32 */ fmuls f6, f6, f0 -/* 80277FB8 00274EF8 EC E7 00 32 */ fmuls f7, f7, f0 -lbl_80277FBC: -/* 80277FBC 00274EFC 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80277FC0 00274F00 C0 42 D0 98 */ lfs f2, lbl_8051B3F8@sda21(r2) -/* 80277FC4 00274F04 C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 80277FC8 00274F08 EC A5 00 32 */ fmuls f5, f5, f0 -/* 80277FCC 00274F0C EC E7 00 32 */ fmuls f7, f7, f0 -/* 80277FD0 00274F10 EC C6 00 32 */ fmuls f6, f6, f0 -/* 80277FD4 00274F14 EC 25 18 28 */ fsubs f1, f5, f3 -/* 80277FD8 00274F18 EC 07 20 28 */ fsubs f0, f7, f4 -/* 80277FDC 00274F1C EC 22 18 7A */ fmadds f1, f2, f1, f3 -/* 80277FE0 00274F20 EC 02 20 3A */ fmadds f0, f2, f0, f4 -/* 80277FE4 00274F24 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) -/* 80277FE8 00274F28 D0 DF 01 D8 */ stfs f6, 0x1d8(r31) -/* 80277FEC 00274F2C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_80277FF0: -/* 80277FF0 00274F30 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80277FF4 00274F34 C0 5F 02 C4 */ lfs f2, 0x2c4(r31) -/* 80277FF8 00274F38 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 80277FFC 00274F3C C0 02 D0 60 */ lfs f0, lbl_8051B3C0@sda21(r2) -/* 80278000 00274F40 EC 22 08 2A */ fadds f1, f2, f1 -/* 80278004 00274F44 D0 3F 02 C4 */ stfs f1, 0x2c4(r31) -/* 80278008 00274F48 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8027800C 00274F4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80278010 00274F50 4C 40 13 82 */ cror 2, 0, 2 -/* 80278014 00274F54 40 82 00 28 */ bne lbl_8027803C -/* 80278018 00274F58 7F C3 F3 78 */ mr r3, r30 -/* 8027801C 00274F5C 7F E4 FB 78 */ mr r4, r31 -/* 80278020 00274F60 81 9E 00 00 */ lwz r12, 0(r30) -/* 80278024 00274F64 38 A0 00 00 */ li r5, 0 -/* 80278028 00274F68 38 C0 00 00 */ li r6, 0 -/* 8027802C 00274F6C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80278030 00274F70 7D 89 03 A6 */ mtctr r12 -/* 80278034 00274F74 4E 80 04 21 */ bctrl -/* 80278038 00274F78 48 00 01 68 */ b lbl_802781A0 -lbl_8027803C: -/* 8027803C 00274F7C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80278040 00274F80 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80278044 00274F84 28 00 00 00 */ cmplwi r0, 0 -/* 80278048 00274F88 41 82 01 58 */ beq lbl_802781A0 -/* 8027804C 00274F8C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80278050 00274F90 28 00 00 02 */ cmplwi r0, 2 -/* 80278054 00274F94 40 82 00 10 */ bne lbl_80278064 -/* 80278058 00274F98 7F E3 FB 78 */ mr r3, r31 -/* 8027805C 00274F9C 48 00 0C 9D */ bl createLeapEffect__Q34Game7Tadpole3ObjFv -/* 80278060 00274FA0 48 00 01 40 */ b lbl_802781A0 -lbl_80278064: -/* 80278064 00274FA4 28 00 00 03 */ cmplwi r0, 3 -/* 80278068 00274FA8 40 82 00 1C */ bne lbl_80278084 -/* 8027806C 00274FAC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80278070 00274FB0 7F E3 FB 78 */ mr r3, r31 -/* 80278074 00274FB4 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80278078 00274FB8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8027807C 00274FBC 48 00 0C 7D */ bl createLeapEffect__Q34Game7Tadpole3ObjFv -/* 80278080 00274FC0 48 00 01 20 */ b lbl_802781A0 -lbl_80278084: -/* 80278084 00274FC4 28 00 00 04 */ cmplwi r0, 4 -/* 80278088 00274FC8 40 82 00 14 */ bne lbl_8027809C -/* 8027808C 00274FCC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80278090 00274FD0 64 00 00 20 */ oris r0, r0, 0x20 -/* 80278094 00274FD4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80278098 00274FD8 48 00 01 08 */ b lbl_802781A0 -lbl_8027809C: -/* 8027809C 00274FDC 28 00 00 00 */ cmplwi r0, 0 -/* 802780A0 00274FE0 40 82 00 14 */ bne lbl_802780B4 -/* 802780A4 00274FE4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802780A8 00274FE8 64 00 00 20 */ oris r0, r0, 0x20 -/* 802780AC 00274FEC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802780B0 00274FF0 48 00 00 F0 */ b lbl_802781A0 -lbl_802780B4: -/* 802780B4 00274FF4 28 00 00 01 */ cmplwi r0, 1 -/* 802780B8 00274FF8 40 82 00 6C */ bne lbl_80278124 -/* 802780BC 00274FFC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802780C0 00275000 7F E3 FB 78 */ mr r3, r31 -/* 802780C4 00275004 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 802780C8 00275008 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802780CC 0027500C 48 00 0C 2D */ bl createLeapEffect__Q34Game7Tadpole3ObjFv -/* 802780D0 00275010 4B E5 14 D1 */ bl rand -/* 802780D4 00275014 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802780D8 00275018 3C 00 43 30 */ lis r0, 0x4330 -/* 802780DC 0027501C 90 61 00 24 */ stw r3, 0x24(r1) -/* 802780E0 00275020 C8 62 D0 80 */ lfd f3, lbl_8051B3E0@sda21(r2) -/* 802780E4 00275024 90 01 00 20 */ stw r0, 0x20(r1) -/* 802780E8 00275028 C0 42 D0 70 */ lfs f2, lbl_8051B3D0@sda21(r2) -/* 802780EC 0027502C C8 01 00 20 */ lfd f0, 0x20(r1) -/* 802780F0 00275030 C0 22 D0 74 */ lfs f1, lbl_8051B3D4@sda21(r2) -/* 802780F4 00275034 EC 60 18 28 */ fsubs f3, f0, f3 -/* 802780F8 00275038 C0 02 D0 78 */ lfs f0, lbl_8051B3D8@sda21(r2) -/* 802780FC 0027503C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80278100 00275040 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80278104 00275044 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80278108 00275048 40 80 00 10 */ bge lbl_80278118 -/* 8027810C 0027504C 38 00 00 01 */ li r0, 1 -/* 80278110 00275050 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80278114 00275054 48 00 00 8C */ b lbl_802781A0 -lbl_80278118: -/* 80278118 00275058 38 00 00 00 */ li r0, 0 -/* 8027811C 0027505C 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80278120 00275060 48 00 00 80 */ b lbl_802781A0 -lbl_80278124: -/* 80278124 00275064 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80278128 00275068 40 82 00 78 */ bne lbl_802781A0 -/* 8027812C 0027506C 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 80278130 00275070 7F E3 FB 78 */ mr r3, r31 -/* 80278134 00275074 38 80 00 00 */ li r4, 0 -/* 80278138 00275078 38 A0 00 00 */ li r5, 0 -/* 8027813C 0027507C C0 26 04 24 */ lfs f1, 0x424(r6) -/* 80278140 00275080 C0 46 03 D4 */ lfs f2, 0x3d4(r6) -/* 80278144 00275084 4B E9 A5 B1 */ bl getNearestNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1 -/* 80278148 00275088 28 03 00 00 */ cmplwi r3, 0 -/* 8027814C 0027508C 41 82 00 34 */ beq lbl_80278180 -/* 80278150 00275090 7F E4 FB 78 */ mr r4, r31 -/* 80278154 00275094 7C 65 1B 78 */ mr r5, r3 -/* 80278158 00275098 38 61 00 08 */ addi r3, r1, 8 -/* 8027815C 0027509C 48 00 09 D5 */ bl getTargetPosition__Q34Game7Tadpole3ObjFPQ24Game8Creature -/* 80278160 002750A0 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80278164 002750A4 38 00 00 03 */ li r0, 3 -/* 80278168 002750A8 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8027816C 002750AC C0 01 00 08 */ lfs f0, 8(r1) -/* 80278170 002750B0 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 80278174 002750B4 D0 3F 02 D0 */ stfs f1, 0x2d0(r31) -/* 80278178 002750B8 D0 5F 02 D4 */ stfs f2, 0x2d4(r31) -/* 8027817C 002750BC 90 1F 02 C8 */ stw r0, 0x2c8(r31) -lbl_80278180: -/* 80278180 002750C0 7F C3 F3 78 */ mr r3, r30 -/* 80278184 002750C4 7F E4 FB 78 */ mr r4, r31 -/* 80278188 002750C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027818C 002750CC 38 C0 00 00 */ li r6, 0 -/* 80278190 002750D0 80 BF 02 C8 */ lwz r5, 0x2c8(r31) -/* 80278194 002750D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80278198 002750D8 7D 89 03 A6 */ mtctr r12 -/* 8027819C 002750DC 4E 80 04 21 */ bctrl -lbl_802781A0: -/* 802781A0 002750E0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 802781A4 002750E4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 802781A8 002750E8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 802781AC 002750EC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 802781B0 002750F0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 802781B4 002750F4 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 802781B8 002750F8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 802781BC 002750FC CB 81 00 40 */ lfd f28, 0x40(r1) -/* 802781C0 00275100 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 -/* 802781C4 00275104 CB 61 00 30 */ lfd f27, 0x30(r1) -/* 802781C8 00275108 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802781CC 0027510C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 802781D0 00275110 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802781D4 00275114 7C 08 03 A6 */ mtlr r0 -/* 802781D8 00275118 38 21 00 80 */ addi r1, r1, 0x80 -/* 802781DC 0027511C 4E 80 00 20 */ blr - -.global cleanup__Q34Game7Tadpole9StateLeapFPQ24Game9EnemyBase -cleanup__Q34Game7Tadpole9StateLeapFPQ24Game9EnemyBase: -/* 802781E0 00275120 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802781E4 00275124 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 802781E8 00275128 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802781EC 0027512C 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game7Tadpole14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game7Tadpole14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 802781F0 00275130 90 83 00 20 */ stw r4, 0x20(r3) -/* 802781F4 00275134 4E 80 00 20 */ blr - -.global getAnimator__Q34Game7Tadpole14ProperAnimatorFi -getAnimator__Q34Game7Tadpole14ProperAnimatorFi: -/* 802781F8 00275138 38 63 00 10 */ addi r3, r3, 0x10 -/* 802781FC 0027513C 4E 80 00 20 */ blr - -.global __dt__Q34Game7Tadpole14ProperAnimatorFv -__dt__Q34Game7Tadpole14ProperAnimatorFv: -/* 80278200 00275140 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278204 00275144 7C 08 02 A6 */ mflr r0 -/* 80278208 00275148 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027820C 0027514C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80278210 00275150 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80278214 00275154 41 82 00 30 */ beq lbl_80278244 -/* 80278218 00275158 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole14ProperAnimator@ha -/* 8027821C 0027515C 38 03 73 E0 */ addi r0, r3, __vt__Q34Game7Tadpole14ProperAnimator@l -/* 80278220 00275160 90 1F 00 00 */ stw r0, 0(r31) -/* 80278224 00275164 41 82 00 10 */ beq lbl_80278234 -/* 80278228 00275168 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 8027822C 0027516C 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 80278230 00275170 90 1F 00 00 */ stw r0, 0(r31) -lbl_80278234: -/* 80278234 00275174 7C 80 07 35 */ extsh. r0, r4 -/* 80278238 00275178 40 81 00 0C */ ble lbl_80278244 -/* 8027823C 0027517C 7F E3 FB 78 */ mr r3, r31 -/* 80278240 00275180 4B DA BE 75 */ bl __dl__FPv -lbl_80278244: -/* 80278244 00275184 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80278248 00275188 7F E3 FB 78 */ mr r3, r31 -/* 8027824C 0027518C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80278250 00275190 7C 08 03 A6 */ mtlr r0 -/* 80278254 00275194 38 21 00 10 */ addi r1, r1, 0x10 -/* 80278258 00275198 4E 80 00 20 */ blr - -.global getAnimator__Q34Game7Tadpole14ProperAnimatorFv -getAnimator__Q34Game7Tadpole14ProperAnimatorFv: -/* 8027825C 0027519C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80278260 002751A0 4E 80 00 20 */ blr - -.global __ct__Q34Game7Tadpole3MgrFiUc -__ct__Q34Game7Tadpole3MgrFiUc: -/* 80278264 002751A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278268 002751A8 7C 08 02 A6 */ mflr r0 -/* 8027826C 002751AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278270 002751B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80278274 002751B4 7C 7F 1B 78 */ mr r31, r3 -/* 80278278 002751B8 4B EB 6A 1D */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8027827C 002751BC 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole3Mgr@ha -/* 80278280 002751C0 3C 80 80 48 */ lis r4, lbl_80486CE8@ha -/* 80278284 002751C4 38 A3 74 14 */ addi r5, r3, __vt__Q34Game7Tadpole3Mgr@l -/* 80278288 002751C8 7F E3 FB 78 */ mr r3, r31 -/* 8027828C 002751CC 90 BF 00 00 */ stw r5, 0(r31) -/* 80278290 002751D0 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80278294 002751D4 38 04 6C E8 */ addi r0, r4, lbl_80486CE8@l -/* 80278298 002751D8 90 BF 00 04 */ stw r5, 4(r31) -/* 8027829C 002751DC 90 1F 00 18 */ stw r0, 0x18(r31) -/* 802782A0 002751E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802782A4 002751E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802782A8 002751E8 7C 08 03 A6 */ mtlr r0 -/* 802782AC 002751EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802782B0 002751F0 4E 80 00 20 */ blr - -.global doAlloc__Q34Game7Tadpole3MgrFv -doAlloc__Q34Game7Tadpole3MgrFv: -/* 802782B4 002751F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802782B8 002751F8 7C 08 02 A6 */ mflr r0 -/* 802782BC 002751FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802782C0 00275200 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802782C4 00275204 7C 7F 1B 78 */ mr r31, r3 -/* 802782C8 00275208 38 60 08 30 */ li r3, 0x830 -/* 802782CC 0027520C 4B DA BB D9 */ bl __nw__FUl -/* 802782D0 00275210 7C 64 1B 79 */ or. r4, r3, r3 -/* 802782D4 00275214 41 82 00 0C */ beq lbl_802782E0 -/* 802782D8 00275218 48 00 00 25 */ bl __ct__Q34Game7Tadpole5ParmsFv -/* 802782DC 0027521C 7C 64 1B 78 */ mr r4, r3 -lbl_802782E0: -/* 802782E0 00275220 7F E3 FB 78 */ mr r3, r31 -/* 802782E4 00275224 4B EB 75 B9 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 802782E8 00275228 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802782EC 0027522C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802782F0 00275230 7C 08 03 A6 */ mtlr r0 -/* 802782F4 00275234 38 21 00 10 */ addi r1, r1, 0x10 -/* 802782F8 00275238 4E 80 00 20 */ blr - -.global __ct__Q34Game7Tadpole5ParmsFv -__ct__Q34Game7Tadpole5ParmsFv: -/* 802782FC 0027523C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278300 00275240 7C 08 02 A6 */ mflr r0 -/* 80278304 00275244 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278308 00275248 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027830C 0027524C 7C 7F 1B 78 */ mr r31, r3 -/* 80278310 00275250 4B E9 14 8D */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80278314 00275254 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole5Parms@ha -/* 80278318 00275258 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8027831C 0027525C 38 03 74 08 */ addi r0, r3, __vt__Q34Game7Tadpole5Parms@l -/* 80278320 00275260 3C 80 80 48 */ lis r4, lbl_80486CFC@ha -/* 80278324 00275264 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 80278328 00275268 38 1F 08 2C */ addi r0, r31, 0x82c -/* 8027832C 0027526C 3C 60 80 48 */ lis r3, lbl_80486D0C@ha -/* 80278330 00275270 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80278334 00275274 90 1F 07 F8 */ stw r0, 0x7f8(r31) -/* 80278338 00275278 38 C3 6D 0C */ addi r6, r3, lbl_80486D0C@l -/* 8027833C 0027527C 38 60 00 00 */ li r3, 0 -/* 80278340 00275280 38 04 6C FC */ addi r0, r4, lbl_80486CFC@l -/* 80278344 00275284 90 7F 07 FC */ stw r3, 0x7fc(r31) -/* 80278348 00275288 38 7F 08 04 */ addi r3, r31, 0x804 -/* 8027834C 0027528C 38 9F 07 F8 */ addi r4, r31, 0x7f8 -/* 80278350 00275290 90 1F 08 00 */ stw r0, 0x800(r31) -/* 80278354 00275294 48 19 B3 05 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80278358 00275298 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027835C 0027529C C0 42 D0 A0 */ lfs f2, lbl_8051B400@sda21(r2) -/* 80278360 002752A0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80278364 002752A4 C0 22 D0 A4 */ lfs f1, lbl_8051B404@sda21(r2) -/* 80278368 002752A8 90 1F 08 04 */ stw r0, 0x804(r31) -/* 8027836C 002752AC 7F E3 FB 78 */ mr r3, r31 -/* 80278370 002752B0 C0 02 D0 A8 */ lfs f0, lbl_8051B408@sda21(r2) -/* 80278374 002752B4 D0 5F 08 1C */ stfs f2, 0x81c(r31) -/* 80278378 002752B8 D0 3F 08 24 */ stfs f1, 0x824(r31) -/* 8027837C 002752BC D0 1F 08 28 */ stfs f0, 0x828(r31) -/* 80278380 002752C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80278384 002752C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80278388 002752C8 7C 08 03 A6 */ mtlr r0 -/* 8027838C 002752CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80278390 002752D0 4E 80 00 20 */ blr - -.global createObj__Q34Game7Tadpole3MgrFi -createObj__Q34Game7Tadpole3MgrFi: -/* 80278394 002752D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278398 002752D8 7C 08 02 A6 */ mflr r0 -/* 8027839C 002752DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802783A0 002752E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802783A4 002752E4 7C 9F 23 78 */ mr r31, r4 -/* 802783A8 002752E8 93 C1 00 08 */ stw r30, 8(r1) -/* 802783AC 002752EC 7C 7E 1B 78 */ mr r30, r3 -/* 802783B0 002752F0 1C 7F 02 E8 */ mulli r3, r31, 0x2e8 -/* 802783B4 002752F4 38 63 00 10 */ addi r3, r3, 0x10 -/* 802783B8 002752F8 4B DA BB F5 */ bl __nwa__FUl -/* 802783BC 002752FC 3C 80 80 28 */ lis r4, __ct__Q34Game7Tadpole3ObjFv@ha -/* 802783C0 00275300 3C A0 80 28 */ lis r5, __dt__Q34Game7Tadpole3ObjFv@ha -/* 802783C4 00275304 38 84 85 D0 */ addi r4, r4, __ct__Q34Game7Tadpole3ObjFv@l -/* 802783C8 00275308 7F E7 FB 78 */ mr r7, r31 -/* 802783CC 0027530C 38 A5 83 F4 */ addi r5, r5, __dt__Q34Game7Tadpole3ObjFv@l -/* 802783D0 00275310 38 C0 02 E8 */ li r6, 0x2e8 -/* 802783D4 00275314 4B E4 96 1D */ bl __construct_new_array -/* 802783D8 00275318 90 7E 00 44 */ stw r3, 0x44(r30) -/* 802783DC 0027531C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802783E0 00275320 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802783E4 00275324 83 C1 00 08 */ lwz r30, 8(r1) -/* 802783E8 00275328 7C 08 03 A6 */ mtlr r0 -/* 802783EC 0027532C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802783F0 00275330 4E 80 00 20 */ blr - -.global __dt__Q34Game7Tadpole3ObjFv -__dt__Q34Game7Tadpole3ObjFv: -/* 802783F4 00275334 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802783F8 00275338 7C 08 02 A6 */ mflr r0 -/* 802783FC 0027533C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278400 00275340 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80278404 00275344 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80278408 00275348 93 C1 00 08 */ stw r30, 8(r1) -/* 8027840C 0027534C 7C 9E 23 78 */ mr r30, r4 -/* 80278410 00275350 41 82 00 84 */ beq lbl_80278494 -/* 80278414 00275354 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole3Obj@ha -/* 80278418 00275358 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 8027841C 0027535C 38 83 75 0C */ addi r4, r3, __vt__Q34Game7Tadpole3Obj@l -/* 80278420 00275360 90 9F 00 00 */ stw r4, 0(r31) -/* 80278424 00275364 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80278428 00275368 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8027842C 0027536C 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80278430 00275370 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80278434 00275374 90 83 00 00 */ stw r4, 0(r3) -/* 80278438 00275378 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8027843C 0027537C 7C 03 00 50 */ subf r0, r3, r0 -/* 80278440 00275380 90 03 00 0C */ stw r0, 0xc(r3) -/* 80278444 00275384 41 82 00 40 */ beq lbl_80278484 -/* 80278448 00275388 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8027844C 0027538C 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 80278450 00275390 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80278454 00275394 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80278458 00275398 90 9F 00 00 */ stw r4, 0(r31) -/* 8027845C 0027539C 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80278460 002753A0 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80278464 002753A4 38 80 FF FF */ li r4, -1 -/* 80278468 002753A8 90 BF 01 78 */ stw r5, 0x178(r31) -/* 8027846C 002753AC 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80278470 002753B0 90 C5 00 00 */ stw r6, 0(r5) -/* 80278474 002753B4 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80278478 002753B8 7C 05 00 50 */ subf r0, r5, r0 -/* 8027847C 002753BC 90 05 00 0C */ stw r0, 0xc(r5) -/* 80278480 002753C0 48 19 91 09 */ bl __dt__5CNodeFv -lbl_80278484: -/* 80278484 002753C4 7F C0 07 35 */ extsh. r0, r30 -/* 80278488 002753C8 40 81 00 0C */ ble lbl_80278494 -/* 8027848C 002753CC 7F E3 FB 78 */ mr r3, r31 -/* 80278490 002753D0 4B DA BC 25 */ bl __dl__FPv -lbl_80278494: -/* 80278494 002753D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80278498 002753D8 7F E3 FB 78 */ mr r3, r31 -/* 8027849C 002753DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802784A0 002753E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802784A4 002753E4 7C 08 03 A6 */ mtlr r0 -/* 802784A8 002753E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802784AC 002753EC 4E 80 00 20 */ blr - -.global getEnemy__Q34Game7Tadpole3MgrFi -getEnemy__Q34Game7Tadpole3MgrFi: -/* 802784B0 002753F0 1C 04 02 E8 */ mulli r0, r4, 0x2e8 -/* 802784B4 002753F4 80 63 00 44 */ lwz r3, 0x44(r3) -/* 802784B8 002753F8 7C 63 02 14 */ add r3, r3, r0 -/* 802784BC 002753FC 4E 80 00 20 */ blr - -.global read__Q34Game7Tadpole5ParmsFR6Stream -read__Q34Game7Tadpole5ParmsFR6Stream: -/* 802784C0 00275400 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802784C4 00275404 7C 08 02 A6 */ mflr r0 -/* 802784C8 00275408 90 01 00 14 */ stw r0, 0x14(r1) -/* 802784CC 0027540C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802784D0 00275410 7C 9F 23 78 */ mr r31, r4 -/* 802784D4 00275414 93 C1 00 08 */ stw r30, 8(r1) -/* 802784D8 00275418 7C 7E 1B 78 */ mr r30, r3 -/* 802784DC 0027541C 48 19 B3 19 */ bl read__10ParametersFR6Stream -/* 802784E0 00275420 7F E4 FB 78 */ mr r4, r31 -/* 802784E4 00275424 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 802784E8 00275428 48 19 B3 0D */ bl read__10ParametersFR6Stream -/* 802784EC 0027542C 7F E4 FB 78 */ mr r4, r31 -/* 802784F0 00275430 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 802784F4 00275434 48 19 B3 01 */ bl read__10ParametersFR6Stream -/* 802784F8 00275438 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802784FC 0027543C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80278500 00275440 83 C1 00 08 */ lwz r30, 8(r1) -/* 80278504 00275444 7C 08 03 A6 */ mtlr r0 -/* 80278508 00275448 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027850C 0027544C 4E 80 00 20 */ blr - -.global __dt__Q34Game7Tadpole3MgrFv -__dt__Q34Game7Tadpole3MgrFv: -/* 80278510 00275450 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278514 00275454 7C 08 02 A6 */ mflr r0 -/* 80278518 00275458 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027851C 0027545C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80278520 00275460 7C 9F 23 78 */ mr r31, r4 -/* 80278524 00275464 93 C1 00 08 */ stw r30, 8(r1) -/* 80278528 00275468 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027852C 0027546C 41 82 00 78 */ beq lbl_802785A4 -/* 80278530 00275470 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole3Mgr@ha -/* 80278534 00275474 38 63 74 14 */ addi r3, r3, __vt__Q34Game7Tadpole3Mgr@l -/* 80278538 00275478 90 7E 00 00 */ stw r3, 0(r30) -/* 8027853C 0027547C 38 03 00 38 */ addi r0, r3, 0x38 -/* 80278540 00275480 90 1E 00 04 */ stw r0, 4(r30) -/* 80278544 00275484 41 82 00 50 */ beq lbl_80278594 -/* 80278548 00275488 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8027854C 0027548C 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80278550 00275490 90 7E 00 00 */ stw r3, 0(r30) -/* 80278554 00275494 38 03 00 38 */ addi r0, r3, 0x38 -/* 80278558 00275498 90 1E 00 04 */ stw r0, 4(r30) -/* 8027855C 0027549C 41 82 00 38 */ beq lbl_80278594 -/* 80278560 002754A0 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80278564 002754A4 34 1E 00 04 */ addic. r0, r30, 4 -/* 80278568 002754A8 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8027856C 002754AC 90 7E 00 00 */ stw r3, 0(r30) -/* 80278570 002754B0 38 03 00 38 */ addi r0, r3, 0x38 -/* 80278574 002754B4 90 1E 00 04 */ stw r0, 4(r30) -/* 80278578 002754B8 41 82 00 1C */ beq lbl_80278594 -/* 8027857C 002754BC 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80278580 002754C0 38 7E 00 04 */ addi r3, r30, 4 -/* 80278584 002754C4 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80278588 002754C8 38 80 00 00 */ li r4, 0 -/* 8027858C 002754CC 90 1E 00 04 */ stw r0, 4(r30) -/* 80278590 002754D0 48 19 8F F9 */ bl __dt__5CNodeFv -lbl_80278594: -/* 80278594 002754D4 7F E0 07 35 */ extsh. r0, r31 -/* 80278598 002754D8 40 81 00 0C */ ble lbl_802785A4 -/* 8027859C 002754DC 7F C3 F3 78 */ mr r3, r30 -/* 802785A0 002754E0 4B DA BB 15 */ bl __dl__FPv -lbl_802785A4: -/* 802785A4 002754E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802785A8 002754E8 7F C3 F3 78 */ mr r3, r30 -/* 802785AC 002754EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802785B0 002754F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802785B4 002754F4 7C 08 03 A6 */ mtlr r0 -/* 802785B8 002754F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802785BC 002754FC 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7Tadpole3MgrFv -getEnemyTypeID__Q34Game7Tadpole3MgrFv: -/* 802785C0 00275500 38 60 00 1B */ li r3, 0x1b -/* 802785C4 00275504 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game7Tadpole3MgrFv -$$24$$2__dt__Q34Game7Tadpole3MgrFv: -/* 802785C8 00275508 38 63 FF FC */ addi r3, r3, -4 -/* 802785CC 0027550C 4B FF FF 44 */ b __dt__Q34Game7Tadpole3MgrFv - -.global __ct__Q34Game7Tadpole3ObjFv -__ct__Q34Game7Tadpole3ObjFv: -/* 802785D0 00275510 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802785D4 00275514 7C 08 02 A6 */ mflr r0 -/* 802785D8 00275518 90 01 00 14 */ stw r0, 0x14(r1) -/* 802785DC 0027551C 7C 80 07 35 */ extsh. r0, r4 -/* 802785E0 00275520 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802785E4 00275524 7C 7F 1B 78 */ mr r31, r3 -/* 802785E8 00275528 93 C1 00 08 */ stw r30, 8(r1) -/* 802785EC 0027552C 41 82 00 24 */ beq lbl_80278610 -/* 802785F0 00275530 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 802785F4 00275534 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 802785F8 00275538 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 802785FC 0027553C 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80278600 00275540 38 00 00 00 */ li r0, 0 -/* 80278604 00275544 90 7F 02 D8 */ stw r3, 0x2d8(r31) -/* 80278608 00275548 90 1F 02 DC */ stw r0, 0x2dc(r31) -/* 8027860C 0027554C 90 1F 02 E0 */ stw r0, 0x2e0(r31) -lbl_80278610: -/* 80278610 00275550 7F E3 FB 78 */ mr r3, r31 -/* 80278614 00275554 38 80 00 00 */ li r4, 0 -/* 80278618 00275558 4B E8 8D 89 */ bl __ct__Q24Game9EnemyBaseFv -/* 8027861C 0027555C 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole3Obj@ha -/* 80278620 00275560 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 80278624 00275564 38 A3 75 0C */ addi r5, r3, __vt__Q34Game7Tadpole3Obj@l -/* 80278628 00275568 38 60 00 2C */ li r3, 0x2c -/* 8027862C 0027556C 90 BF 00 00 */ stw r5, 0(r31) -/* 80278630 00275570 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80278634 00275574 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 80278638 00275578 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8027863C 0027557C 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80278640 00275580 90 A4 00 00 */ stw r5, 0(r4) -/* 80278644 00275584 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80278648 00275588 7C 04 00 50 */ subf r0, r4, r0 -/* 8027864C 0027558C 90 04 00 0C */ stw r0, 0xc(r4) -/* 80278650 00275590 4B DA B8 55 */ bl __nw__FUl -/* 80278654 00275594 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80278658 00275598 41 82 00 44 */ beq lbl_8027869C -/* 8027865C 0027559C 4B EA F3 19 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80278660 002755A0 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole14ProperAnimator@ha -/* 80278664 002755A4 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 80278668 002755A8 38 03 73 E0 */ addi r0, r3, __vt__Q34Game7Tadpole14ProperAnimator@l -/* 8027866C 002755AC 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80278670 002755B0 90 1E 00 00 */ stw r0, 0(r30) -/* 80278674 002755B4 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 80278678 002755B8 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8027867C 002755BC 38 00 00 00 */ li r0, 0 -/* 80278680 002755C0 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80278684 002755C4 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80278688 002755C8 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8027868C 002755CC 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80278690 002755D0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80278694 002755D4 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80278698 002755D8 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8027869C: -/* 8027869C 002755DC 93 DF 01 84 */ stw r30, 0x184(r31) -/* 802786A0 002755E0 38 60 00 1C */ li r3, 0x1c -/* 802786A4 002755E4 4B DA B8 01 */ bl __nw__FUl -/* 802786A8 002755E8 7C 64 1B 79 */ or. r4, r3, r3 -/* 802786AC 002755EC 41 82 00 24 */ beq lbl_802786D0 -/* 802786B0 002755F0 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 802786B4 002755F4 3C 60 80 4C */ lis r3, __vt__Q34Game7Tadpole3FSM@ha -/* 802786B8 002755F8 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 802786BC 002755FC 38 A0 FF FF */ li r5, -1 -/* 802786C0 00275600 90 04 00 00 */ stw r0, 0(r4) -/* 802786C4 00275604 38 03 73 BC */ addi r0, r3, __vt__Q34Game7Tadpole3FSM@l -/* 802786C8 00275608 90 A4 00 18 */ stw r5, 0x18(r4) -/* 802786CC 0027560C 90 04 00 00 */ stw r0, 0(r4) -lbl_802786D0: -/* 802786D0 00275610 81 9F 00 00 */ lwz r12, 0(r31) -/* 802786D4 00275614 7F E3 FB 78 */ mr r3, r31 -/* 802786D8 00275618 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 802786DC 0027561C 7D 89 03 A6 */ mtctr r12 -/* 802786E0 00275620 4E 80 04 21 */ bctrl -/* 802786E4 00275624 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802786E8 00275628 7F E3 FB 78 */ mr r3, r31 -/* 802786EC 0027562C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802786F0 00275630 83 C1 00 08 */ lwz r30, 8(r1) -/* 802786F4 00275634 7C 08 03 A6 */ mtlr r0 -/* 802786F8 00275638 38 21 00 10 */ addi r1, r1, 0x10 -/* 802786FC 0027563C 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game7Tadpole3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game7Tadpole3ObjFPQ24Game21EnemyInitialParamBase: -/* 80278700 00275640 4E 80 00 20 */ blr - -.global onInit__Q34Game7Tadpole3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game7Tadpole3ObjFPQ24Game15CreatureInitArg: -/* 80278704 00275644 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278708 00275648 7C 08 02 A6 */ mflr r0 -/* 8027870C 0027564C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278710 00275650 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80278714 00275654 7C 7F 1B 78 */ mr r31, r3 -/* 80278718 00275658 4B E8 93 41 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8027871C 0027565C C0 02 D0 B0 */ lfs f0, lbl_8051B410@sda21(r2) -/* 80278720 00275660 38 60 FF FF */ li r3, -1 -/* 80278724 00275664 38 00 00 01 */ li r0, 1 -/* 80278728 00275668 7F E4 FB 78 */ mr r4, r31 -/* 8027872C 0027566C D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 80278730 00275670 38 A0 00 01 */ li r5, 1 -/* 80278734 00275674 38 C0 00 00 */ li r6, 0 -/* 80278738 00275678 90 7F 02 C8 */ stw r3, 0x2c8(r31) -/* 8027873C 0027567C 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80278740 00275680 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80278744 00275684 81 83 00 00 */ lwz r12, 0(r3) -/* 80278748 00275688 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027874C 0027568C 7D 89 03 A6 */ mtctr r12 -/* 80278750 00275690 4E 80 04 21 */ bctrl -/* 80278754 00275694 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80278758 00275698 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027875C 0027569C 7C 08 03 A6 */ mtlr r0 -/* 80278760 002756A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80278764 002756A4 4E 80 00 20 */ blr - -.global doUpdate__Q34Game7Tadpole3ObjFv -doUpdate__Q34Game7Tadpole3ObjFv: -/* 80278768 002756A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027876C 002756AC 7C 08 02 A6 */ mflr r0 -/* 80278770 002756B0 7C 64 1B 78 */ mr r4, r3 -/* 80278774 002756B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278778 002756B8 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8027877C 002756BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80278780 002756C0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80278784 002756C4 7D 89 03 A6 */ mtctr r12 -/* 80278788 002756C8 4E 80 04 21 */ bctrl -/* 8027878C 002756CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80278790 002756D0 7C 08 03 A6 */ mtlr r0 -/* 80278794 002756D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80278798 002756D8 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game7Tadpole3ObjFR8Graphics -doDirectDraw__Q34Game7Tadpole3ObjFR8Graphics: -/* 8027879C 002756DC 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game7Tadpole3ObjFR8Graphics -doDebugDraw__Q34Game7Tadpole3ObjFR8Graphics: -/* 802787A0 002756E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802787A4 002756E4 7C 08 02 A6 */ mflr r0 -/* 802787A8 002756E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802787AC 002756EC 4B E8 D6 C1 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 802787B0 002756F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802787B4 002756F4 7C 08 03 A6 */ mtlr r0 -/* 802787B8 002756F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802787BC 002756FC 4E 80 00 20 */ blr - -.global setFSM__Q34Game7Tadpole3ObjFPQ34Game7Tadpole3FSM -setFSM__Q34Game7Tadpole3ObjFPQ34Game7Tadpole3FSM: -/* 802787C0 00275700 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802787C4 00275704 7C 08 02 A6 */ mflr r0 -/* 802787C8 00275708 90 01 00 14 */ stw r0, 0x14(r1) -/* 802787CC 0027570C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802787D0 00275710 7C 7F 1B 78 */ mr r31, r3 -/* 802787D4 00275714 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 802787D8 00275718 7F E4 FB 78 */ mr r4, r31 -/* 802787DC 0027571C 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 802787E0 00275720 81 83 00 00 */ lwz r12, 0(r3) -/* 802787E4 00275724 81 8C 00 08 */ lwz r12, 8(r12) -/* 802787E8 00275728 7D 89 03 A6 */ mtctr r12 -/* 802787EC 0027572C 4E 80 04 21 */ bctrl -/* 802787F0 00275730 38 00 00 00 */ li r0, 0 -/* 802787F4 00275734 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 802787F8 00275738 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802787FC 0027573C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80278800 00275740 7C 08 03 A6 */ mtlr r0 -/* 80278804 00275744 38 21 00 10 */ addi r1, r1, 0x10 -/* 80278808 00275748 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game7Tadpole3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game7Tadpole3ObjFRQ24Game11ShadowParam: -/* 8027880C 0027574C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80278810 00275750 7C 08 02 A6 */ mflr r0 -/* 80278814 00275754 90 01 00 24 */ stw r0, 0x24(r1) -/* 80278818 00275758 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027881C 0027575C 7C 9F 23 78 */ mr r31, r4 -/* 80278820 00275760 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80278824 00275764 7C 7E 1B 78 */ mr r30, r3 -/* 80278828 00275768 7F C4 F3 78 */ mr r4, r30 -/* 8027882C 0027576C 38 61 00 08 */ addi r3, r1, 8 -/* 80278830 00275770 81 9E 00 00 */ lwz r12, 0(r30) -/* 80278834 00275774 81 8C 00 08 */ lwz r12, 8(r12) -/* 80278838 00275778 7D 89 03 A6 */ mtctr r12 -/* 8027883C 0027577C 4E 80 04 21 */ bctrl -/* 80278840 00275780 C0 01 00 08 */ lfs f0, 8(r1) -/* 80278844 00275784 C0 42 D0 B4 */ lfs f2, lbl_8051B414@sda21(r2) -/* 80278848 00275788 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8027884C 0027578C C0 22 D0 B0 */ lfs f1, lbl_8051B410@sda21(r2) -/* 80278850 00275790 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 80278854 00275794 C0 02 D0 B8 */ lfs f0, lbl_8051B418@sda21(r2) -/* 80278858 00275798 D0 7F 00 04 */ stfs f3, 4(r31) -/* 8027885C 0027579C C0 61 00 10 */ lfs f3, 0x10(r1) -/* 80278860 002757A0 D0 7F 00 08 */ stfs f3, 8(r31) -/* 80278864 002757A4 C0 7F 00 04 */ lfs f3, 4(r31) -/* 80278868 002757A8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8027886C 002757AC D0 5F 00 04 */ stfs f2, 4(r31) -/* 80278870 002757B0 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80278874 002757B4 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80278878 002757B8 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 8027887C 002757BC 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 80278880 002757C0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80278884 002757C4 41 82 00 10 */ beq lbl_80278894 -/* 80278888 002757C8 C0 02 D0 BC */ lfs f0, lbl_8051B41C@sda21(r2) -/* 8027888C 002757CC D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80278890 002757D0 48 00 00 0C */ b lbl_8027889C -lbl_80278894: -/* 80278894 002757D4 C0 02 D0 C0 */ lfs f0, lbl_8051B420@sda21(r2) -/* 80278898 002757D8 D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_8027889C: -/* 8027889C 002757DC C0 02 D0 C0 */ lfs f0, lbl_8051B420@sda21(r2) -/* 802788A0 002757E0 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 802788A4 002757E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802788A8 002757E8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 802788AC 002757EC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 802788B0 002757F0 7C 08 03 A6 */ mtlr r0 -/* 802788B4 002757F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 802788B8 002757F8 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game7Tadpole3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game7Tadpole3ObjFPQ24Game8CreaturefP8CollPart: -/* 802788BC 002757FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802788C0 00275800 7C 08 02 A6 */ mflr r0 -/* 802788C4 00275804 90 01 00 14 */ stw r0, 0x14(r1) -/* 802788C8 00275808 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802788CC 0027580C 7C 7F 1B 78 */ mr r31, r3 -/* 802788D0 00275810 81 83 00 00 */ lwz r12, 0(r3) -/* 802788D4 00275814 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802788D8 00275818 7D 89 03 A6 */ mtctr r12 -/* 802788DC 0027581C 4E 80 04 21 */ bctrl -/* 802788E0 00275820 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802788E4 00275824 41 82 00 28 */ beq lbl_8027890C -/* 802788E8 00275828 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802788EC 0027582C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 802788F0 00275830 40 82 00 1C */ bne lbl_8027890C -/* 802788F4 00275834 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802788F8 00275838 7F E3 FB 78 */ mr r3, r31 -/* 802788FC 0027583C C0 42 D0 B8 */ lfs f2, lbl_8051B418@sda21(r2) -/* 80278900 00275840 4B E8 D7 2D */ bl addDamage__Q24Game9EnemyBaseFff -/* 80278904 00275844 38 60 00 01 */ li r3, 1 -/* 80278908 00275848 48 00 00 08 */ b lbl_80278910 -lbl_8027890C: -/* 8027890C 0027584C 38 60 00 00 */ li r3, 0 -lbl_80278910: -/* 80278910 00275850 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80278914 00275854 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80278918 00275858 7C 08 03 A6 */ mtlr r0 -/* 8027891C 0027585C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80278920 00275860 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game7Tadpole3ObjFv -startCarcassMotion__Q34Game7Tadpole3ObjFv: -/* 80278924 00275864 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278928 00275868 7C 08 02 A6 */ mflr r0 -/* 8027892C 0027586C 38 80 00 05 */ li r4, 5 -/* 80278930 00275870 38 A0 00 00 */ li r5, 0 -/* 80278934 00275874 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278938 00275878 4B E8 C6 CD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8027893C 0027587C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80278940 00275880 7C 08 03 A6 */ mtlr r0 -/* 80278944 00275884 38 21 00 10 */ addi r1, r1, 0x10 -/* 80278948 00275888 4E 80 00 20 */ blr - -.global setRandTarget__Q34Game7Tadpole3ObjFb -setRandTarget__Q34Game7Tadpole3ObjFb: -/* 8027894C 0027588C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80278950 00275890 7C 08 02 A6 */ mflr r0 -/* 80278954 00275894 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80278958 00275898 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8027895C 0027589C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80278960 002758A0 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80278964 002758A4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80278968 002758A8 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8027896C 002758AC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80278970 002758B0 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80278974 002758B4 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80278978 002758B8 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 8027897C 002758BC F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 80278980 002758C0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80278984 002758C4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80278988 002758C8 C3 62 D0 B0 */ lfs f27, lbl_8051B410@sda21(r2) -/* 8027898C 002758CC 7C 7F 1B 78 */ mr r31, r3 -/* 80278990 002758D0 40 82 00 14 */ bne lbl_802789A4 -/* 80278994 002758D4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80278998 002758D8 C0 23 03 5C */ lfs f1, 0x35c(r3) -/* 8027899C 002758DC C0 03 03 84 */ lfs f0, 0x384(r3) -/* 802789A0 002758E0 EF 61 00 28 */ fsubs f27, f1, f0 -lbl_802789A4: -/* 802789A4 002758E4 4B E5 0B FD */ bl rand -/* 802789A8 002758E8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 802789AC 002758EC 3C 00 43 30 */ lis r0, 0x4330 -/* 802789B0 002758F0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 802789B4 002758F4 7F E4 FB 78 */ mr r4, r31 -/* 802789B8 002758F8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802789BC 002758FC 38 61 00 08 */ addi r3, r1, 8 -/* 802789C0 00275900 90 01 00 18 */ stw r0, 0x18(r1) -/* 802789C4 00275904 C8 22 D0 D8 */ lfd f1, lbl_8051B438@sda21(r2) -/* 802789C8 00275908 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 802789CC 0027590C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802789D0 00275910 EC 40 08 28 */ fsubs f2, f0, f1 -/* 802789D4 00275914 C0 22 D0 C4 */ lfs f1, lbl_8051B424@sda21(r2) -/* 802789D8 00275918 C0 05 03 84 */ lfs f0, 0x384(r5) -/* 802789DC 0027591C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802789E0 00275920 EC 5B 00 B2 */ fmuls f2, f27, f2 -/* 802789E4 00275924 EC 22 08 24 */ fdivs f1, f2, f1 -/* 802789E8 00275928 EF 80 08 2A */ fadds f28, f0, f1 -/* 802789EC 0027592C 7D 89 03 A6 */ mtctr r12 -/* 802789F0 00275930 4E 80 04 21 */ bctrl -/* 802789F4 00275934 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 802789F8 00275938 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802789FC 0027593C C0 21 00 08 */ lfs f1, 8(r1) -/* 80278A00 00275940 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80278A04 00275944 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 80278A08 00275948 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80278A0C 0027594C EC 21 F8 28 */ fsubs f1, f1, f31 -/* 80278A10 00275950 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 80278A14 00275954 EC 40 E8 28 */ fsubs f2, f0, f29 -/* 80278A18 00275958 4B DB C6 F1 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80278A1C 0027595C FF 60 08 90 */ fmr f27, f1 -/* 80278A20 00275960 4B E5 0B 81 */ bl rand -/* 80278A24 00275964 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80278A28 00275968 3C 00 43 30 */ lis r0, 0x4330 -/* 80278A2C 0027596C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80278A30 00275970 C8 42 D0 D8 */ lfd f2, lbl_8051B438@sda21(r2) -/* 80278A34 00275974 90 01 00 20 */ stw r0, 0x20(r1) -/* 80278A38 00275978 C0 62 D0 C8 */ lfs f3, lbl_8051B428@sda21(r2) -/* 80278A3C 0027597C C8 01 00 20 */ lfd f0, 0x20(r1) -/* 80278A40 00275980 C0 22 D0 C4 */ lfs f1, lbl_8051B424@sda21(r2) -/* 80278A44 00275984 EC 80 10 28 */ fsubs f4, f0, f2 -/* 80278A48 00275988 C0 42 D0 CC */ lfs f2, lbl_8051B42C@sda21(r2) -/* 80278A4C 0027598C C0 02 D0 B0 */ lfs f0, lbl_8051B410@sda21(r2) -/* 80278A50 00275990 EC 63 01 32 */ fmuls f3, f3, f4 -/* 80278A54 00275994 EC 23 08 24 */ fdivs f1, f3, f1 -/* 80278A58 00275998 EC 3B 08 2A */ fadds f1, f27, f1 -/* 80278A5C 0027599C EC 62 08 2A */ fadds f3, f2, f1 -/* 80278A60 002759A0 FC 20 18 90 */ fmr f1, f3 -/* 80278A64 002759A4 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80278A68 002759A8 40 80 00 08 */ bge lbl_80278A70 -/* 80278A6C 002759AC FC 20 18 50 */ fneg f1, f3 -lbl_80278A70: -/* 80278A70 002759B0 C0 42 D0 D0 */ lfs f2, lbl_8051B430@sda21(r2) -/* 80278A74 002759B4 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80278A78 002759B8 C0 02 D0 B0 */ lfs f0, lbl_8051B410@sda21(r2) -/* 80278A7C 002759BC 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80278A80 002759C0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80278A84 002759C4 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80278A88 002759C8 FC 00 08 1E */ fctiwz f0, f1 -/* 80278A8C 002759CC D8 01 00 28 */ stfd f0, 0x28(r1) -/* 80278A90 002759D0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80278A94 002759D4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80278A98 002759D8 7C 64 02 14 */ add r3, r4, r0 -/* 80278A9C 002759DC C0 03 00 04 */ lfs f0, 4(r3) -/* 80278AA0 002759E0 EC 3C E8 3A */ fmadds f1, f28, f0, f29 -/* 80278AA4 002759E4 40 80 00 28 */ bge lbl_80278ACC -/* 80278AA8 002759E8 C0 02 D0 D4 */ lfs f0, lbl_8051B434@sda21(r2) -/* 80278AAC 002759EC EC 03 00 32 */ fmuls f0, f3, f0 -/* 80278AB0 002759F0 FC 00 00 1E */ fctiwz f0, f0 -/* 80278AB4 002759F4 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 80278AB8 002759F8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80278ABC 002759FC 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80278AC0 00275A00 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80278AC4 00275A04 FC 00 00 50 */ fneg f0, f0 -/* 80278AC8 00275A08 48 00 00 1C */ b lbl_80278AE4 -lbl_80278ACC: -/* 80278ACC 00275A0C EC 03 00 B2 */ fmuls f0, f3, f2 -/* 80278AD0 00275A10 FC 00 00 1E */ fctiwz f0, f0 -/* 80278AD4 00275A14 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 80278AD8 00275A18 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80278ADC 00275A1C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80278AE0 00275A20 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_80278AE4: -/* 80278AE4 00275A24 EC 1C F8 3A */ fmadds f0, f28, f0, f31 -/* 80278AE8 00275A28 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 80278AEC 00275A2C D3 DF 02 D0 */ stfs f30, 0x2d0(r31) -/* 80278AF0 00275A30 D0 3F 02 D4 */ stfs f1, 0x2d4(r31) -/* 80278AF4 00275A34 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80278AF8 00275A38 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80278AFC 00275A3C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80278B00 00275A40 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80278B04 00275A44 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80278B08 00275A48 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80278B0C 00275A4C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 80278B10 00275A50 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 80278B14 00275A54 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 80278B18 00275A58 CB 61 00 50 */ lfd f27, 0x50(r1) -/* 80278B1C 00275A5C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80278B20 00275A60 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80278B24 00275A64 7C 08 03 A6 */ mtlr r0 -/* 80278B28 00275A68 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80278B2C 00275A6C 4E 80 00 20 */ blr - -.global getTargetPosition__Q34Game7Tadpole3ObjFPQ24Game8Creature -getTargetPosition__Q34Game7Tadpole3ObjFPQ24Game8Creature: -/* 80278B30 00275A70 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80278B34 00275A74 7C 08 02 A6 */ mflr r0 -/* 80278B38 00275A78 90 01 00 64 */ stw r0, 0x64(r1) -/* 80278B3C 00275A7C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80278B40 00275A80 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80278B44 00275A84 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80278B48 00275A88 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80278B4C 00275A8C DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80278B50 00275A90 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80278B54 00275A94 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80278B58 00275A98 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80278B5C 00275A9C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80278B60 00275AA0 81 84 00 00 */ lwz r12, 0(r4) -/* 80278B64 00275AA4 7C 7D 1B 78 */ mr r29, r3 -/* 80278B68 00275AA8 7C 9E 23 78 */ mr r30, r4 -/* 80278B6C 00275AAC 7C BF 2B 78 */ mr r31, r5 -/* 80278B70 00275AB0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80278B74 00275AB4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80278B78 00275AB8 7D 89 03 A6 */ mtctr r12 -/* 80278B7C 00275ABC 4E 80 04 21 */ bctrl -/* 80278B80 00275AC0 7F E4 FB 78 */ mr r4, r31 -/* 80278B84 00275AC4 38 61 00 08 */ addi r3, r1, 8 -/* 80278B88 00275AC8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80278B8C 00275ACC C3 C1 00 14 */ lfs f30, 0x14(r1) -/* 80278B90 00275AD0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80278B94 00275AD4 C3 E1 00 18 */ lfs f31, 0x18(r1) -/* 80278B98 00275AD8 C3 A1 00 1C */ lfs f29, 0x1c(r1) -/* 80278B9C 00275ADC 7D 89 03 A6 */ mtctr r12 -/* 80278BA0 00275AE0 4E 80 04 21 */ bctrl -/* 80278BA4 00275AE4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80278BA8 00275AE8 C0 41 00 08 */ lfs f2, 8(r1) -/* 80278BAC 00275AEC EC 3D 00 28 */ fsubs f1, f29, f0 -/* 80278BB0 00275AF0 C0 02 D0 B0 */ lfs f0, lbl_8051B410@sda21(r2) -/* 80278BB4 00275AF4 ED 1E 10 28 */ fsubs f8, f30, f2 -/* 80278BB8 00275AF8 C0 BE 01 98 */ lfs f5, 0x198(r30) -/* 80278BBC 00275AFC C0 DE 01 9C */ lfs f6, 0x19c(r30) -/* 80278BC0 00275B00 EC 61 00 72 */ fmuls f3, f1, f1 -/* 80278BC4 00275B04 EC 48 02 3A */ fmadds f2, f8, f8, f0 -/* 80278BC8 00275B08 C0 FE 01 A0 */ lfs f7, 0x1a0(r30) -/* 80278BCC 00275B0C EC 63 10 2A */ fadds f3, f3, f2 -/* 80278BD0 00275B10 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80278BD4 00275B14 40 81 00 14 */ ble lbl_80278BE8 -/* 80278BD8 00275B18 40 81 00 14 */ ble lbl_80278BEC -/* 80278BDC 00275B1C FC 40 18 34 */ frsqrte f2, f3 -/* 80278BE0 00275B20 EC 62 00 F2 */ fmuls f3, f2, f3 -/* 80278BE4 00275B24 48 00 00 08 */ b lbl_80278BEC -lbl_80278BE8: -/* 80278BE8 00275B28 FC 60 00 90 */ fmr f3, f0 -lbl_80278BEC: -/* 80278BEC 00275B2C C0 42 D0 B0 */ lfs f2, lbl_8051B410@sda21(r2) -/* 80278BF0 00275B30 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80278BF4 00275B34 40 81 00 18 */ ble lbl_80278C0C -/* 80278BF8 00275B38 C0 42 D0 B8 */ lfs f2, lbl_8051B418@sda21(r2) -/* 80278BFC 00275B3C EC 42 18 24 */ fdivs f2, f2, f3 -/* 80278C00 00275B40 ED 08 00 B2 */ fmuls f8, f8, f2 -/* 80278C04 00275B44 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80278C08 00275B48 EC 21 00 B2 */ fmuls f1, f1, f2 -lbl_80278C0C: -/* 80278C0C 00275B4C 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 80278C10 00275B50 C0 43 02 E4 */ lfs f2, 0x2e4(r3) -/* 80278C14 00275B54 C1 23 03 5C */ lfs f9, 0x35c(r3) -/* 80278C18 00275B58 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80278C1C 00275B5C ED 08 00 B2 */ fmuls f8, f8, f2 -/* 80278C20 00275B60 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80278C24 00275B64 EC 21 E8 2A */ fadds f1, f1, f29 -/* 80278C28 00275B68 ED 08 F0 2A */ fadds f8, f8, f30 -/* 80278C2C 00275B6C EC 49 02 72 */ fmuls f2, f9, f9 -/* 80278C30 00275B70 EC 61 38 28 */ fsubs f3, f1, f7 -/* 80278C34 00275B74 EC 88 28 28 */ fsubs f4, f8, f5 -/* 80278C38 00275B78 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80278C3C 00275B7C EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80278C40 00275B80 EC 64 19 3A */ fmadds f3, f4, f4, f3 -/* 80278C44 00275B84 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80278C48 00275B88 40 81 00 70 */ ble lbl_80278CB8 -/* 80278C4C 00275B8C EC 21 38 28 */ fsubs f1, f1, f7 -/* 80278C50 00275B90 C0 02 D0 B0 */ lfs f0, lbl_8051B410@sda21(r2) -/* 80278C54 00275B94 ED 08 28 28 */ fsubs f8, f8, f5 -/* 80278C58 00275B98 EC 61 00 72 */ fmuls f3, f1, f1 -/* 80278C5C 00275B9C EC 48 02 3A */ fmadds f2, f8, f8, f0 -/* 80278C60 00275BA0 EC 63 10 2A */ fadds f3, f3, f2 -/* 80278C64 00275BA4 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80278C68 00275BA8 40 81 00 14 */ ble lbl_80278C7C -/* 80278C6C 00275BAC 40 81 00 14 */ ble lbl_80278C80 -/* 80278C70 00275BB0 FC 40 18 34 */ frsqrte f2, f3 -/* 80278C74 00275BB4 EC 62 00 F2 */ fmuls f3, f2, f3 -/* 80278C78 00275BB8 48 00 00 08 */ b lbl_80278C80 -lbl_80278C7C: -/* 80278C7C 00275BBC FC 60 00 90 */ fmr f3, f0 -lbl_80278C80: -/* 80278C80 00275BC0 C0 42 D0 B0 */ lfs f2, lbl_8051B410@sda21(r2) -/* 80278C84 00275BC4 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80278C88 00275BC8 40 81 00 18 */ ble lbl_80278CA0 -/* 80278C8C 00275BCC C0 42 D0 B8 */ lfs f2, lbl_8051B418@sda21(r2) -/* 80278C90 00275BD0 EC 42 18 24 */ fdivs f2, f2, f3 -/* 80278C94 00275BD4 ED 08 00 B2 */ fmuls f8, f8, f2 -/* 80278C98 00275BD8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80278C9C 00275BDC EC 21 00 B2 */ fmuls f1, f1, f2 -lbl_80278CA0: -/* 80278CA0 00275BE0 ED 08 02 72 */ fmuls f8, f8, f9 -/* 80278CA4 00275BE4 EC 00 02 72 */ fmuls f0, f0, f9 -/* 80278CA8 00275BE8 EC 21 02 72 */ fmuls f1, f1, f9 -/* 80278CAC 00275BEC ED 08 28 2A */ fadds f8, f8, f5 -/* 80278CB0 00275BF0 EC 00 30 2A */ fadds f0, f0, f6 -/* 80278CB4 00275BF4 EC 21 38 2A */ fadds f1, f1, f7 -lbl_80278CB8: -/* 80278CB8 00275BF8 D1 1D 00 00 */ stfs f8, 0(r29) -/* 80278CBC 00275BFC D0 1D 00 04 */ stfs f0, 4(r29) -/* 80278CC0 00275C00 D0 3D 00 08 */ stfs f1, 8(r29) -/* 80278CC4 00275C04 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80278CC8 00275C08 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80278CCC 00275C0C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80278CD0 00275C10 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80278CD4 00275C14 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80278CD8 00275C18 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80278CDC 00275C1C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80278CE0 00275C20 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80278CE4 00275C24 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80278CE8 00275C28 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80278CEC 00275C2C 7C 08 03 A6 */ mtlr r0 -/* 80278CF0 00275C30 38 21 00 60 */ addi r1, r1, 0x60 -/* 80278CF4 00275C34 4E 80 00 20 */ blr - -.global createLeapEffect__Q34Game7Tadpole3ObjFv -createLeapEffect__Q34Game7Tadpole3ObjFv: -/* 80278CF8 00275C38 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80278CFC 00275C3C 7C 08 02 A6 */ mflr r0 -/* 80278D00 00275C40 90 01 00 74 */ stw r0, 0x74(r1) -/* 80278D04 00275C44 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80278D08 00275C48 7C 7F 1B 78 */ mr r31, r3 -/* 80278D0C 00275C4C 80 63 02 80 */ lwz r3, 0x280(r3) -/* 80278D10 00275C50 28 03 00 00 */ cmplwi r3, 0 -/* 80278D14 00275C54 41 82 00 F4 */ beq lbl_80278E08 -/* 80278D18 00275C58 81 83 00 00 */ lwz r12, 0(r3) -/* 80278D1C 00275C5C C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 80278D20 00275C60 C0 3F 01 90 */ lfs f1, 0x190(r31) -/* 80278D24 00275C64 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 80278D28 00275C68 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80278D2C 00275C6C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80278D30 00275C70 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80278D34 00275C74 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80278D38 00275C78 7D 89 03 A6 */ mtctr r12 -/* 80278D3C 00275C7C 4E 80 04 21 */ bctrl -/* 80278D40 00275C80 C0 43 00 00 */ lfs f2, 0(r3) -/* 80278D44 00275C84 C0 3F 01 90 */ lfs f1, 0x190(r31) -/* 80278D48 00275C88 C0 02 D0 E0 */ lfs f0, lbl_8051B440@sda21(r2) -/* 80278D4C 00275C8C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80278D50 00275C90 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80278D54 00275C94 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80278D58 00275C98 40 80 01 14 */ bge lbl_80278E6C -/* 80278D5C 00275C9C 80 81 00 40 */ lwz r4, 0x40(r1) -/* 80278D60 00275CA0 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 80278D64 00275CA4 80 E1 00 44 */ lwz r7, 0x44(r1) -/* 80278D68 00275CA8 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 80278D6C 00275CAC 80 C1 00 48 */ lwz r6, 0x48(r1) -/* 80278D70 00275CB0 3C 60 80 4B */ lis r3, __vt__Q23efx3Arg@ha -/* 80278D74 00275CB4 90 81 00 08 */ stw r4, 8(r1) -/* 80278D78 00275CB8 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 80278D7C 00275CBC 39 43 A7 EC */ addi r10, r3, __vt__Q23efx3Arg@l -/* 80278D80 00275CC0 C0 02 D0 E4 */ lfs f0, lbl_8051B444@sda21(r2) -/* 80278D84 00275CC4 38 A0 00 00 */ li r5, 0 -/* 80278D88 00275CC8 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80278D8C 00275CCC C0 61 00 08 */ lfs f3, 8(r1) -/* 80278D90 00275CD0 3D 20 80 4B */ lis r9, __vt__Q23efx8ArgScale@ha -/* 80278D94 00275CD4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80278D98 00275CD8 3C 60 80 4F */ lis r3, __vt__Q23efx10TEnemyDive@ha -/* 80278D9C 00275CDC C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80278DA0 00275CE0 38 E0 01 59 */ li r7, 0x159 -/* 80278DA4 00275CE4 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80278DA8 00275CE8 38 C0 01 5A */ li r6, 0x15a -/* 80278DAC 00275CEC 90 01 00 30 */ stw r0, 0x30(r1) -/* 80278DB0 00275CF0 39 04 6A 64 */ addi r8, r4, __vt__Q23efx8TSimple2@l -/* 80278DB4 00275CF4 39 29 A2 DC */ addi r9, r9, __vt__Q23efx8ArgScale@l -/* 80278DB8 00275CF8 38 03 85 E8 */ addi r0, r3, __vt__Q23efx10TEnemyDive@l -/* 80278DBC 00275CFC 91 41 00 4C */ stw r10, 0x4c(r1) -/* 80278DC0 00275D00 38 61 00 30 */ addi r3, r1, 0x30 -/* 80278DC4 00275D04 38 81 00 4C */ addi r4, r1, 0x4c -/* 80278DC8 00275D08 91 01 00 30 */ stw r8, 0x30(r1) -/* 80278DCC 00275D0C D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80278DD0 00275D10 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 80278DD4 00275D14 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80278DD8 00275D18 91 21 00 4C */ stw r9, 0x4c(r1) -/* 80278DDC 00275D1C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80278DE0 00275D20 B0 E1 00 34 */ sth r7, 0x34(r1) -/* 80278DE4 00275D24 B0 C1 00 36 */ sth r6, 0x36(r1) -/* 80278DE8 00275D28 90 A1 00 38 */ stw r5, 0x38(r1) -/* 80278DEC 00275D2C 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 80278DF0 00275D30 90 01 00 30 */ stw r0, 0x30(r1) -/* 80278DF4 00275D34 48 14 FA E5 */ bl create__Q23efx10TEnemyDiveFPQ23efx3Arg -/* 80278DF8 00275D38 C0 22 D0 E8 */ lfs f1, lbl_8051B448@sda21(r2) -/* 80278DFC 00275D3C 7F E3 FB 78 */ mr r3, r31 -/* 80278E00 00275D40 48 1F 5A 41 */ bl PSStartEnemyDownWatSE__FPQ24Game9EnemyBasef -/* 80278E04 00275D44 48 00 00 68 */ b lbl_80278E6C -lbl_80278E08: -/* 80278E08 00275D48 3C 60 80 4B */ lis r3, __vt__Q23efx3Arg@ha -/* 80278E0C 00275D4C 3C A0 80 4B */ lis r5, __vt__Q23efx5TBase@ha -/* 80278E10 00275D50 38 03 A7 EC */ addi r0, r3, __vt__Q23efx3Arg@l -/* 80278E14 00275D54 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple1@ha -/* 80278E18 00275D58 90 01 00 20 */ stw r0, 0x20(r1) -/* 80278E1C 00275D5C 3C 60 80 4C */ lis r3, __vt__Q23efx8TPkDiveB@ha -/* 80278E20 00275D60 39 05 A7 F8 */ addi r8, r5, __vt__Q23efx5TBase@l -/* 80278E24 00275D64 38 E4 6A 78 */ addi r7, r4, __vt__Q23efx8TSimple1@l -/* 80278E28 00275D68 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 80278E2C 00275D6C 38 03 74 F8 */ addi r0, r3, __vt__Q23efx8TPkDiveB@l -/* 80278E30 00275D70 38 C0 01 5A */ li r6, 0x15a -/* 80278E34 00275D74 38 A0 00 00 */ li r5, 0 -/* 80278E38 00275D78 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80278E3C 00275D7C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80278E40 00275D80 38 81 00 20 */ addi r4, r1, 0x20 -/* 80278E44 00275D84 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 80278E48 00275D88 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80278E4C 00275D8C C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 80278E50 00275D90 91 01 00 14 */ stw r8, 0x14(r1) -/* 80278E54 00275D94 90 E1 00 14 */ stw r7, 0x14(r1) -/* 80278E58 00275D98 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80278E5C 00275D9C B0 C1 00 18 */ sth r6, 0x18(r1) -/* 80278E60 00275DA0 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80278E64 00275DA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278E68 00275DA8 48 13 61 1D */ bl create__Q23efx8TSimple1FPQ23efx3Arg -lbl_80278E6C: -/* 80278E6C 00275DAC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80278E70 00275DB0 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80278E74 00275DB4 7C 08 03 A6 */ mtlr r0 -/* 80278E78 00275DB8 38 21 00 70 */ addi r1, r1, 0x70 -/* 80278E7C 00275DBC 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game7Tadpole3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game7Tadpole3ObjFPQ24Game8WaterBox: -/* 80278E80 00275DC0 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game7Tadpole3ObjFv -outWaterCallback__Q34Game7Tadpole3ObjFv: -/* 80278E84 00275DC4 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7Tadpole3ObjFv -getEnemyTypeID__Q34Game7Tadpole3ObjFv: -/* 80278E88 00275DC8 38 60 00 1B */ li r3, 0x1b -/* 80278E8C 00275DCC 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug3FSMFPQ24Game9EnemyBase -init__Q34Game7ElecBug3FSMFPQ24Game9EnemyBase: -/* 80278E90 00275DD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80278E94 00275DD4 7C 08 02 A6 */ mflr r0 -/* 80278E98 00275DD8 3C 80 80 48 */ lis r4, lbl_80486D20@ha -/* 80278E9C 00275DDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80278EA0 00275DE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80278EA4 00275DE4 7C 7F 1B 78 */ mr r31, r3 -/* 80278EA8 00275DE8 93 C1 00 08 */ stw r30, 8(r1) -/* 80278EAC 00275DEC 3B C4 6D 20 */ addi r30, r4, lbl_80486D20@l -/* 80278EB0 00275DF0 38 80 00 0A */ li r4, 0xa -/* 80278EB4 00275DF4 4B EB 79 B1 */ bl create__Q24Game17EnemyStateMachineFi -/* 80278EB8 00275DF8 38 60 00 10 */ li r3, 0x10 -/* 80278EBC 00275DFC 4B DA AF E9 */ bl __nw__FUl -/* 80278EC0 00275E00 7C 64 1B 79 */ or. r4, r3, r3 -/* 80278EC4 00275E04 41 82 00 3C */ beq lbl_80278F00 -/* 80278EC8 00275E08 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80278ECC 00275E0C 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 80278ED0 00275E10 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80278ED4 00275E14 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug9StateDead@ha -/* 80278ED8 00275E18 90 04 00 00 */ stw r0, 0(r4) -/* 80278EDC 00275E1C 38 E0 00 00 */ li r7, 0 -/* 80278EE0 00275E20 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 80278EE4 00275E24 38 A2 D0 F0 */ addi r5, r2, lbl_8051B450@sda21 -/* 80278EE8 00275E28 90 E4 00 04 */ stw r7, 4(r4) -/* 80278EEC 00275E2C 38 03 79 94 */ addi r0, r3, __vt__Q34Game7ElecBug9StateDead@l -/* 80278EF0 00275E30 90 E4 00 08 */ stw r7, 8(r4) -/* 80278EF4 00275E34 90 C4 00 00 */ stw r6, 0(r4) -/* 80278EF8 00275E38 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80278EFC 00275E3C 90 04 00 00 */ stw r0, 0(r4) -lbl_80278F00: -/* 80278F00 00275E40 7F E3 FB 78 */ mr r3, r31 -/* 80278F04 00275E44 4B EB 7A 05 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80278F08 00275E48 38 60 00 10 */ li r3, 0x10 -/* 80278F0C 00275E4C 4B DA AF 99 */ bl __nw__FUl -/* 80278F10 00275E50 7C 64 1B 79 */ or. r4, r3, r3 -/* 80278F14 00275E54 41 82 00 40 */ beq lbl_80278F54 -/* 80278F18 00275E58 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80278F1C 00275E5C 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 80278F20 00275E60 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80278F24 00275E64 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug9StateWait@ha -/* 80278F28 00275E68 90 04 00 00 */ stw r0, 0(r4) -/* 80278F2C 00275E6C 38 00 00 01 */ li r0, 1 -/* 80278F30 00275E70 38 E0 00 00 */ li r7, 0 -/* 80278F34 00275E74 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 80278F38 00275E78 90 04 00 04 */ stw r0, 4(r4) -/* 80278F3C 00275E7C 38 A2 D0 F8 */ addi r5, r2, lbl_8051B458@sda21 -/* 80278F40 00275E80 38 03 79 70 */ addi r0, r3, __vt__Q34Game7ElecBug9StateWait@l -/* 80278F44 00275E84 90 E4 00 08 */ stw r7, 8(r4) -/* 80278F48 00275E88 90 C4 00 00 */ stw r6, 0(r4) -/* 80278F4C 00275E8C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80278F50 00275E90 90 04 00 00 */ stw r0, 0(r4) -lbl_80278F54: -/* 80278F54 00275E94 7F E3 FB 78 */ mr r3, r31 -/* 80278F58 00275E98 4B EB 79 B1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80278F5C 00275E9C 38 60 00 10 */ li r3, 0x10 -/* 80278F60 00275EA0 4B DA AF 45 */ bl __nw__FUl -/* 80278F64 00275EA4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80278F68 00275EA8 41 82 00 40 */ beq lbl_80278FA8 -/* 80278F6C 00275EAC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80278F70 00275EB0 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 80278F74 00275EB4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80278F78 00275EB8 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug9StateTurn@ha -/* 80278F7C 00275EBC 90 04 00 00 */ stw r0, 0(r4) -/* 80278F80 00275EC0 38 00 00 02 */ li r0, 2 -/* 80278F84 00275EC4 38 E0 00 00 */ li r7, 0 -/* 80278F88 00275EC8 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 80278F8C 00275ECC 90 04 00 04 */ stw r0, 4(r4) -/* 80278F90 00275ED0 38 A2 D1 00 */ addi r5, r2, lbl_8051B460@sda21 -/* 80278F94 00275ED4 38 03 79 4C */ addi r0, r3, __vt__Q34Game7ElecBug9StateTurn@l -/* 80278F98 00275ED8 90 E4 00 08 */ stw r7, 8(r4) -/* 80278F9C 00275EDC 90 C4 00 00 */ stw r6, 0(r4) -/* 80278FA0 00275EE0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80278FA4 00275EE4 90 04 00 00 */ stw r0, 0(r4) -lbl_80278FA8: -/* 80278FA8 00275EE8 7F E3 FB 78 */ mr r3, r31 -/* 80278FAC 00275EEC 4B EB 79 5D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80278FB0 00275EF0 38 60 00 10 */ li r3, 0x10 -/* 80278FB4 00275EF4 4B DA AE F1 */ bl __nw__FUl -/* 80278FB8 00275EF8 7C 64 1B 79 */ or. r4, r3, r3 -/* 80278FBC 00275EFC 41 82 00 40 */ beq lbl_80278FFC -/* 80278FC0 00275F00 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80278FC4 00275F04 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 80278FC8 00275F08 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80278FCC 00275F0C 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug9StateMove@ha -/* 80278FD0 00275F10 90 04 00 00 */ stw r0, 0(r4) -/* 80278FD4 00275F14 38 00 00 03 */ li r0, 3 -/* 80278FD8 00275F18 38 E0 00 00 */ li r7, 0 -/* 80278FDC 00275F1C 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 80278FE0 00275F20 90 04 00 04 */ stw r0, 4(r4) -/* 80278FE4 00275F24 38 A2 D1 08 */ addi r5, r2, lbl_8051B468@sda21 -/* 80278FE8 00275F28 38 03 79 28 */ addi r0, r3, __vt__Q34Game7ElecBug9StateMove@l -/* 80278FEC 00275F2C 90 E4 00 08 */ stw r7, 8(r4) -/* 80278FF0 00275F30 90 C4 00 00 */ stw r6, 0(r4) -/* 80278FF4 00275F34 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80278FF8 00275F38 90 04 00 00 */ stw r0, 0(r4) -lbl_80278FFC: -/* 80278FFC 00275F3C 7F E3 FB 78 */ mr r3, r31 -/* 80279000 00275F40 4B EB 79 09 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80279004 00275F44 38 60 00 10 */ li r3, 0x10 -/* 80279008 00275F48 4B DA AE 9D */ bl __nw__FUl -/* 8027900C 00275F4C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80279010 00275F50 41 82 00 40 */ beq lbl_80279050 -/* 80279014 00275F54 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80279018 00275F58 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 8027901C 00275F5C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80279020 00275F60 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug11StateCharge@ha -/* 80279024 00275F64 90 04 00 00 */ stw r0, 0(r4) -/* 80279028 00275F68 38 00 00 04 */ li r0, 4 -/* 8027902C 00275F6C 38 E0 00 00 */ li r7, 0 -/* 80279030 00275F70 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 80279034 00275F74 90 04 00 04 */ stw r0, 4(r4) -/* 80279038 00275F78 38 A2 D1 10 */ addi r5, r2, lbl_8051B470@sda21 -/* 8027903C 00275F7C 38 03 79 04 */ addi r0, r3, __vt__Q34Game7ElecBug11StateCharge@l -/* 80279040 00275F80 90 E4 00 08 */ stw r7, 8(r4) -/* 80279044 00275F84 90 C4 00 00 */ stw r6, 0(r4) -/* 80279048 00275F88 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8027904C 00275F8C 90 04 00 00 */ stw r0, 0(r4) -lbl_80279050: -/* 80279050 00275F90 7F E3 FB 78 */ mr r3, r31 -/* 80279054 00275F94 4B EB 78 B5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80279058 00275F98 38 60 00 10 */ li r3, 0x10 -/* 8027905C 00275F9C 4B DA AE 49 */ bl __nw__FUl -/* 80279060 00275FA0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80279064 00275FA4 41 82 00 40 */ beq lbl_802790A4 -/* 80279068 00275FA8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8027906C 00275FAC 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 80279070 00275FB0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80279074 00275FB4 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug14StateDischarge@ha -/* 80279078 00275FB8 90 04 00 00 */ stw r0, 0(r4) -/* 8027907C 00275FBC 38 00 00 05 */ li r0, 5 -/* 80279080 00275FC0 38 E0 00 00 */ li r7, 0 -/* 80279084 00275FC4 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 80279088 00275FC8 90 04 00 04 */ stw r0, 4(r4) -/* 8027908C 00275FCC 38 BE 00 14 */ addi r5, r30, 0x14 -/* 80279090 00275FD0 38 03 78 C8 */ addi r0, r3, __vt__Q34Game7ElecBug14StateDischarge@l -/* 80279094 00275FD4 90 E4 00 08 */ stw r7, 8(r4) -/* 80279098 00275FD8 90 C4 00 00 */ stw r6, 0(r4) -/* 8027909C 00275FDC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802790A0 00275FE0 90 04 00 00 */ stw r0, 0(r4) -lbl_802790A4: -/* 802790A4 00275FE4 7F E3 FB 78 */ mr r3, r31 -/* 802790A8 00275FE8 4B EB 78 61 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802790AC 00275FEC 38 60 00 10 */ li r3, 0x10 -/* 802790B0 00275FF0 4B DA AD F5 */ bl __nw__FUl -/* 802790B4 00275FF4 7C 64 1B 79 */ or. r4, r3, r3 -/* 802790B8 00275FF8 41 82 00 40 */ beq lbl_802790F8 -/* 802790BC 00275FFC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802790C0 00276000 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 802790C4 00276004 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802790C8 00276008 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug16StateChildCharge@ha -/* 802790CC 0027600C 90 04 00 00 */ stw r0, 0(r4) -/* 802790D0 00276010 38 00 00 06 */ li r0, 6 -/* 802790D4 00276014 38 E0 00 00 */ li r7, 0 -/* 802790D8 00276018 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 802790DC 0027601C 90 04 00 04 */ stw r0, 4(r4) -/* 802790E0 00276020 38 BE 00 20 */ addi r5, r30, 0x20 -/* 802790E4 00276024 38 03 78 A4 */ addi r0, r3, __vt__Q34Game7ElecBug16StateChildCharge@l -/* 802790E8 00276028 90 E4 00 08 */ stw r7, 8(r4) -/* 802790EC 0027602C 90 C4 00 00 */ stw r6, 0(r4) -/* 802790F0 00276030 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802790F4 00276034 90 04 00 00 */ stw r0, 0(r4) -lbl_802790F8: -/* 802790F8 00276038 7F E3 FB 78 */ mr r3, r31 -/* 802790FC 0027603C 4B EB 78 0D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80279100 00276040 38 60 00 10 */ li r3, 0x10 -/* 80279104 00276044 4B DA AD A1 */ bl __nw__FUl -/* 80279108 00276048 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027910C 0027604C 41 82 00 40 */ beq lbl_8027914C -/* 80279110 00276050 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80279114 00276054 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 80279118 00276058 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8027911C 0027605C 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug19StateChildDischarge@ha -/* 80279120 00276060 90 04 00 00 */ stw r0, 0(r4) -/* 80279124 00276064 38 00 00 07 */ li r0, 7 -/* 80279128 00276068 38 E0 00 00 */ li r7, 0 -/* 8027912C 0027606C 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 80279130 00276070 90 04 00 04 */ stw r0, 4(r4) -/* 80279134 00276074 38 BE 00 2C */ addi r5, r30, 0x2c -/* 80279138 00276078 38 03 78 80 */ addi r0, r3, __vt__Q34Game7ElecBug19StateChildDischarge@l -/* 8027913C 0027607C 90 E4 00 08 */ stw r7, 8(r4) -/* 80279140 00276080 90 C4 00 00 */ stw r6, 0(r4) -/* 80279144 00276084 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80279148 00276088 90 04 00 00 */ stw r0, 0(r4) -lbl_8027914C: -/* 8027914C 0027608C 7F E3 FB 78 */ mr r3, r31 -/* 80279150 00276090 4B EB 77 B9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80279154 00276094 38 60 00 10 */ li r3, 0x10 -/* 80279158 00276098 4B DA AD 4D */ bl __nw__FUl -/* 8027915C 0027609C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80279160 002760A0 41 82 00 40 */ beq lbl_802791A0 -/* 80279164 002760A4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80279168 002760A8 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 8027916C 002760AC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80279170 002760B0 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug12StateReverse@ha -/* 80279174 002760B4 90 04 00 00 */ stw r0, 0(r4) -/* 80279178 002760B8 38 00 00 08 */ li r0, 8 -/* 8027917C 002760BC 38 E0 00 00 */ li r7, 0 -/* 80279180 002760C0 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 80279184 002760C4 90 04 00 04 */ stw r0, 4(r4) -/* 80279188 002760C8 38 A2 D1 18 */ addi r5, r2, lbl_8051B478@sda21 -/* 8027918C 002760CC 38 03 78 5C */ addi r0, r3, __vt__Q34Game7ElecBug12StateReverse@l -/* 80279190 002760D0 90 E4 00 08 */ stw r7, 8(r4) -/* 80279194 002760D4 90 C4 00 00 */ stw r6, 0(r4) -/* 80279198 002760D8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8027919C 002760DC 90 04 00 00 */ stw r0, 0(r4) -lbl_802791A0: -/* 802791A0 002760E0 7F E3 FB 78 */ mr r3, r31 -/* 802791A4 002760E4 4B EB 77 65 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802791A8 002760E8 38 60 00 10 */ li r3, 0x10 -/* 802791AC 002760EC 4B DA AC F9 */ bl __nw__FUl -/* 802791B0 002760F0 7C 64 1B 79 */ or. r4, r3, r3 -/* 802791B4 002760F4 41 82 00 40 */ beq lbl_802791F4 -/* 802791B8 002760F8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802791BC 002760FC 3C A0 80 4C */ lis r5, __vt__Q34Game7ElecBug5State@ha -/* 802791C0 00276100 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802791C4 00276104 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug11StateReturn@ha -/* 802791C8 00276108 90 04 00 00 */ stw r0, 0(r4) -/* 802791CC 0027610C 38 00 00 09 */ li r0, 9 -/* 802791D0 00276110 38 E0 00 00 */ li r7, 0 -/* 802791D4 00276114 38 C5 79 B8 */ addi r6, r5, __vt__Q34Game7ElecBug5State@l -/* 802791D8 00276118 90 04 00 04 */ stw r0, 4(r4) -/* 802791DC 0027611C 38 A2 D1 20 */ addi r5, r2, lbl_8051B480@sda21 -/* 802791E0 00276120 38 03 78 38 */ addi r0, r3, __vt__Q34Game7ElecBug11StateReturn@l -/* 802791E4 00276124 90 E4 00 08 */ stw r7, 8(r4) -/* 802791E8 00276128 90 C4 00 00 */ stw r6, 0(r4) -/* 802791EC 0027612C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802791F0 00276130 90 04 00 00 */ stw r0, 0(r4) -lbl_802791F4: -/* 802791F4 00276134 7F E3 FB 78 */ mr r3, r31 -/* 802791F8 00276138 4B EB 77 11 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802791FC 0027613C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279200 00276140 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80279204 00276144 83 C1 00 08 */ lwz r30, 8(r1) -/* 80279208 00276148 7C 08 03 A6 */ mtlr r0 -/* 8027920C 0027614C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279210 00276150 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80279214 00276154 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279218 00276158 7C 08 02 A6 */ mflr r0 -/* 8027921C 0027615C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279220 00276160 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80279224 00276164 7C 9F 23 78 */ mr r31, r4 -/* 80279228 00276168 7F E3 FB 78 */ mr r3, r31 -/* 8027922C 0027616C 4B E8 C4 F5 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80279230 00276170 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80279234 00276174 7F E3 FB 78 */ mr r3, r31 -/* 80279238 00276178 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 8027923C 0027617C 38 80 00 00 */ li r4, 0 -/* 80279240 00276180 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80279244 00276184 38 A0 00 00 */ li r5, 0 -/* 80279248 00276188 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8027924C 0027618C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80279250 00276190 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80279254 00276194 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80279258 00276198 4B E8 BD AD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8027925C 0027619C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279260 002761A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80279264 002761A4 7C 08 03 A6 */ mtlr r0 -/* 80279268 002761A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027926C 002761AC 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase -exec__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase: -/* 80279270 002761B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279274 002761B4 7C 08 02 A6 */ mflr r0 -/* 80279278 002761B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027927C 002761BC 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80279280 002761C0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80279284 002761C4 28 00 00 00 */ cmplwi r0, 0 -/* 80279288 002761C8 41 82 00 1C */ beq lbl_802792A4 -/* 8027928C 002761CC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80279290 002761D0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80279294 002761D4 40 82 00 10 */ bne lbl_802792A4 -/* 80279298 002761D8 7C 83 23 78 */ mr r3, r4 -/* 8027929C 002761DC 38 80 00 00 */ li r4, 0 -/* 802792A0 002761E0 4B EC 1E 51 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_802792A4: -/* 802792A4 002761E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802792A8 002761E8 7C 08 03 A6 */ mtlr r0 -/* 802792AC 002761EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802792B0 002761F0 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug9StateDeadFPQ24Game9EnemyBase: -/* 802792B4 002761F4 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802792B8 002761F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802792BC 002761FC 7C 08 02 A6 */ mflr r0 -/* 802792C0 00276200 7C 83 23 78 */ mr r3, r4 -/* 802792C4 00276204 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 802792C8 00276208 90 01 00 14 */ stw r0, 0x14(r1) -/* 802792CC 0027620C 38 80 00 02 */ li r4, 2 -/* 802792D0 00276210 38 A0 00 00 */ li r5, 0 -/* 802792D4 00276214 D0 03 02 C4 */ stfs f0, 0x2c4(r3) -/* 802792D8 00276218 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 802792DC 0027621C 60 00 00 40 */ ori r0, r0, 0x40 -/* 802792E0 00276220 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 802792E4 00276224 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 802792E8 00276228 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 802792EC 0027622C D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 802792F0 00276230 4B E8 BD 15 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802792F4 00276234 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802792F8 00276238 7C 08 03 A6 */ mtlr r0 -/* 802792FC 0027623C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279300 00276240 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase -exec__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase: -/* 80279304 00276244 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279308 00276248 7C 08 02 A6 */ mflr r0 -/* 8027930C 0027624C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279310 00276250 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80279314 00276254 7C 9F 23 78 */ mr r31, r4 -/* 80279318 00276258 93 C1 00 08 */ stw r30, 8(r1) -/* 8027931C 0027625C 7C 7E 1B 78 */ mr r30, r3 -/* 80279320 00276260 80 64 00 C0 */ lwz r3, 0xc0(r4) -/* 80279324 00276264 C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 80279328 00276268 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 8027932C 0027626C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279330 00276270 40 81 00 0C */ ble lbl_8027933C -/* 80279334 00276274 7F E3 FB 78 */ mr r3, r31 -/* 80279338 00276278 4B E8 BF 69 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8027933C: -/* 8027933C 0027627C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80279340 00276280 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80279344 00276284 28 00 00 00 */ cmplwi r0, 0 -/* 80279348 00276288 41 82 00 30 */ beq lbl_80279378 -/* 8027934C 0027628C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80279350 00276290 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80279354 00276294 40 82 00 24 */ bne lbl_80279378 -/* 80279358 00276298 7F C3 F3 78 */ mr r3, r30 -/* 8027935C 0027629C 7F E4 FB 78 */ mr r4, r31 -/* 80279360 002762A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80279364 002762A4 38 A0 00 02 */ li r5, 2 -/* 80279368 002762A8 38 C0 00 00 */ li r6, 0 -/* 8027936C 002762AC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80279370 002762B0 7D 89 03 A6 */ mtctr r12 -/* 80279374 002762B4 4E 80 04 21 */ bctrl -lbl_80279378: -/* 80279378 002762B8 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8027937C 002762BC C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 80279380 002762C0 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80279384 002762C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80279388 002762C8 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8027938C 002762CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80279390 002762D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80279394 002762D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279398 002762D8 7C 08 03 A6 */ mtlr r0 -/* 8027939C 002762DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802793A0 002762E0 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug9StateWaitFPQ24Game9EnemyBase: -/* 802793A4 002762E4 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802793A8 002762E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802793AC 002762EC 7C 08 02 A6 */ mflr r0 -/* 802793B0 002762F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802793B4 002762F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802793B8 002762F8 7C 9F 23 78 */ mr r31, r4 -/* 802793BC 002762FC 7F E3 FB 78 */ mr r3, r31 -/* 802793C0 00276300 48 00 22 01 */ bl setTargetPosition__Q34Game7ElecBug3ObjFv -/* 802793C4 00276304 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802793C8 00276308 7F E3 FB 78 */ mr r3, r31 -/* 802793CC 0027630C C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 802793D0 00276310 38 80 00 01 */ li r4, 1 -/* 802793D4 00276314 60 00 00 40 */ ori r0, r0, 0x40 -/* 802793D8 00276318 38 A0 00 00 */ li r5, 0 -/* 802793DC 0027631C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802793E0 00276320 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802793E4 00276324 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802793E8 00276328 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802793EC 0027632C 4B E8 BC 19 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802793F0 00276330 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802793F4 00276334 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802793F8 00276338 7C 08 03 A6 */ mtlr r0 -/* 802793FC 0027633C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279400 00276340 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase -exec__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase: -/* 80279404 00276344 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80279408 00276348 7C 08 02 A6 */ mflr r0 -/* 8027940C 0027634C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80279410 00276350 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80279414 00276354 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80279418 00276358 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8027941C 0027635C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80279420 00276360 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80279424 00276364 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80279428 00276368 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 8027942C 0027636C F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 80279430 00276370 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80279434 00276374 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80279438 00276378 81 84 00 00 */ lwz r12, 0(r4) -/* 8027943C 0027637C 7C 7E 1B 78 */ mr r30, r3 -/* 80279440 00276380 80 A4 00 C0 */ lwz r5, 0xc0(r4) -/* 80279444 00276384 7C 9F 23 78 */ mr r31, r4 -/* 80279448 00276388 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027944C 0027638C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80279450 00276390 C3 E4 02 C8 */ lfs f31, 0x2c8(r4) -/* 80279454 00276394 C3 84 02 D0 */ lfs f28, 0x2d0(r4) -/* 80279458 00276398 C3 A5 03 34 */ lfs f29, 0x334(r5) -/* 8027945C 0027639C C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80279460 002763A0 7D 89 03 A6 */ mtctr r12 -/* 80279464 002763A4 4E 80 04 21 */ bctrl -/* 80279468 002763A8 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 8027946C 002763AC 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80279470 002763B0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80279474 002763B4 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80279478 002763B8 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8027947C 002763BC EC 3F 20 28 */ fsubs f1, f31, f4 -/* 80279480 002763C0 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 80279484 002763C4 D0 81 00 08 */ stfs f4, 8(r1) -/* 80279488 002763C8 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8027948C 002763CC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80279490 002763D0 4B DB BC 79 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80279494 002763D4 48 19 87 3D */ bl roundAng__Ff -/* 80279498 002763D8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027949C 002763DC FF E0 08 90 */ fmr f31, f1 -/* 802794A0 002763E0 7F E3 FB 78 */ mr r3, r31 -/* 802794A4 002763E4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802794A8 002763E8 7D 89 03 A6 */ mtctr r12 -/* 802794AC 002763EC 4E 80 04 21 */ bctrl -/* 802794B0 002763F0 FC 40 08 90 */ fmr f2, f1 -/* 802794B4 002763F4 FC 20 F8 90 */ fmr f1, f31 -/* 802794B8 002763F8 48 19 87 45 */ bl angDist__Fff -/* 802794BC 002763FC FF E0 08 90 */ fmr f31, f1 -/* 802794C0 00276400 C0 02 D1 30 */ lfs f0, lbl_8051B490@sda21(r2) -/* 802794C4 00276404 C0 22 D1 2C */ lfs f1, lbl_8051B48C@sda21(r2) -/* 802794C8 00276408 EC 00 07 72 */ fmuls f0, f0, f29 -/* 802794CC 0027640C EF BF 07 B2 */ fmuls f29, f31, f30 -/* 802794D0 00276410 EC 21 00 32 */ fmuls f1, f1, f0 -/* 802794D4 00276414 FC 00 EA 10 */ fabs f0, f29 -/* 802794D8 00276418 FC 00 00 18 */ frsp f0, f0 -/* 802794DC 0027641C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802794E0 00276420 40 81 00 1C */ ble lbl_802794FC -/* 802794E4 00276424 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 802794E8 00276428 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 802794EC 0027642C 40 81 00 0C */ ble lbl_802794F8 -/* 802794F0 00276430 FF A0 08 90 */ fmr f29, f1 -/* 802794F4 00276434 48 00 00 08 */ b lbl_802794FC -lbl_802794F8: -/* 802794F8 00276438 FF A0 08 50 */ fneg f29, f1 -lbl_802794FC: -/* 802794FC 0027643C 7F E3 FB 78 */ mr r3, r31 -/* 80279500 00276440 81 9F 00 00 */ lwz r12, 0(r31) -/* 80279504 00276444 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80279508 00276448 7D 89 03 A6 */ mtctr r12 -/* 8027950C 0027644C 4E 80 04 21 */ bctrl -/* 80279510 00276450 EC 3D 08 2A */ fadds f1, f29, f1 -/* 80279514 00276454 48 19 86 BD */ bl roundAng__Ff -/* 80279518 00276458 FC 60 FA 10 */ fabs f3, f31 -/* 8027951C 0027645C D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80279520 00276460 C0 02 D1 34 */ lfs f0, lbl_8051B494@sda21(r2) -/* 80279524 00276464 C0 5F 01 FC */ lfs f2, 0x1fc(r31) -/* 80279528 00276468 FC 20 18 18 */ frsp f1, f3 -/* 8027952C 0027646C D0 5F 01 A8 */ stfs f2, 0x1a8(r31) -/* 80279530 00276470 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279534 00276474 4C 40 13 82 */ cror 2, 0, 2 -/* 80279538 00276478 40 82 00 0C */ bne lbl_80279544 -/* 8027953C 0027647C 7F E3 FB 78 */ mr r3, r31 -/* 80279540 00276480 4B E8 BD 61 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80279544: -/* 80279544 00276484 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80279548 00276488 C0 02 D1 38 */ lfs f0, lbl_8051B498@sda21(r2) -/* 8027954C 0027648C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279550 00276490 40 81 00 0C */ ble lbl_8027955C -/* 80279554 00276494 7F E3 FB 78 */ mr r3, r31 -/* 80279558 00276498 4B E8 BD 49 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8027955C: -/* 8027955C 0027649C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80279560 002764A0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80279564 002764A4 28 00 00 00 */ cmplwi r0, 0 -/* 80279568 002764A8 41 82 00 64 */ beq lbl_802795CC -/* 8027956C 002764AC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80279570 002764B0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80279574 002764B4 40 82 00 58 */ bne lbl_802795CC -/* 80279578 002764B8 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 8027957C 002764BC C0 02 D1 38 */ lfs f0, lbl_8051B498@sda21(r2) -/* 80279580 002764C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279584 002764C4 40 81 00 28 */ ble lbl_802795AC -/* 80279588 002764C8 7F C3 F3 78 */ mr r3, r30 -/* 8027958C 002764CC 7F E4 FB 78 */ mr r4, r31 -/* 80279590 002764D0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80279594 002764D4 38 A0 00 04 */ li r5, 4 -/* 80279598 002764D8 38 C0 00 00 */ li r6, 0 -/* 8027959C 002764DC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802795A0 002764E0 7D 89 03 A6 */ mtctr r12 -/* 802795A4 002764E4 4E 80 04 21 */ bctrl -/* 802795A8 002764E8 48 00 00 24 */ b lbl_802795CC -lbl_802795AC: -/* 802795AC 002764EC 7F C3 F3 78 */ mr r3, r30 -/* 802795B0 002764F0 7F E4 FB 78 */ mr r4, r31 -/* 802795B4 002764F4 81 9E 00 00 */ lwz r12, 0(r30) -/* 802795B8 002764F8 38 A0 00 03 */ li r5, 3 -/* 802795BC 002764FC 38 C0 00 00 */ li r6, 0 -/* 802795C0 00276500 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802795C4 00276504 7D 89 03 A6 */ mtctr r12 -/* 802795C8 00276508 4E 80 04 21 */ bctrl -lbl_802795CC: -/* 802795CC 0027650C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 802795D0 00276510 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 802795D4 00276514 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 802795D8 00276518 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 802795DC 0027651C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 802795E0 00276520 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 802795E4 00276524 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 802795E8 00276528 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 802795EC 0027652C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802795F0 00276530 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802795F4 00276534 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802795F8 00276538 7C 08 03 A6 */ mtlr r0 -/* 802795FC 0027653C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80279600 00276540 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug9StateTurnFPQ24Game9EnemyBase: -/* 80279604 00276544 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80279608 00276548 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027960C 0027654C 7C 08 02 A6 */ mflr r0 -/* 80279610 00276550 38 A0 00 00 */ li r5, 0 -/* 80279614 00276554 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279618 00276558 7C 80 23 78 */ mr r0, r4 -/* 8027961C 0027655C 7C 03 03 78 */ mr r3, r0 -/* 80279620 00276560 38 80 00 01 */ li r4, 1 -/* 80279624 00276564 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80279628 00276568 60 00 00 40 */ ori r0, r0, 0x40 -/* 8027962C 0027656C 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80279630 00276570 4B E8 B9 D5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80279634 00276574 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279638 00276578 7C 08 03 A6 */ mtlr r0 -/* 8027963C 0027657C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279640 00276580 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase -exec__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase: -/* 80279644 00276584 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80279648 00276588 7C 08 02 A6 */ mflr r0 -/* 8027964C 0027658C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80279650 00276590 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80279654 00276594 7C 9F 23 78 */ mr r31, r4 -/* 80279658 00276598 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8027965C 0027659C 7C 7E 1B 78 */ mr r30, r3 -/* 80279660 002765A0 38 61 00 08 */ addi r3, r1, 8 -/* 80279664 002765A4 C0 24 02 CC */ lfs f1, 0x2cc(r4) -/* 80279668 002765A8 C0 44 02 D0 */ lfs f2, 0x2d0(r4) -/* 8027966C 002765AC C0 04 02 C8 */ lfs f0, 0x2c8(r4) -/* 80279670 002765B0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80279674 002765B4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80279678 002765B8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8027967C 002765BC 81 84 00 00 */ lwz r12, 0(r4) -/* 80279680 002765C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80279684 002765C4 7D 89 03 A6 */ mtctr r12 -/* 80279688 002765C8 4E 80 04 21 */ bctrl -/* 8027968C 002765CC C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80279690 002765D0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80279694 002765D4 C0 41 00 08 */ lfs f2, 8(r1) -/* 80279698 002765D8 EC 61 00 28 */ fsubs f3, f1, f0 -/* 8027969C 002765DC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 802796A0 002765E0 C0 02 D1 3C */ lfs f0, lbl_8051B49C@sda21(r2) -/* 802796A4 002765E4 EC 42 08 28 */ fsubs f2, f2, f1 -/* 802796A8 002765E8 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 802796AC 002765EC EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 802796B0 002765F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802796B4 002765F4 40 81 00 24 */ ble lbl_802796D8 -/* 802796B8 002765F8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802796BC 002765FC 7F E3 FB 78 */ mr r3, r31 -/* 802796C0 00276600 38 81 00 14 */ addi r4, r1, 0x14 -/* 802796C4 00276604 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 802796C8 00276608 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 802796CC 0027660C C0 65 03 34 */ lfs f3, 0x334(r5) -/* 802796D0 00276610 4B E9 BF 0D */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 802796D4 00276614 48 00 00 0C */ b lbl_802796E0 -lbl_802796D8: -/* 802796D8 00276618 7F E3 FB 78 */ mr r3, r31 -/* 802796DC 0027661C 4B E8 BB C5 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802796E0: -/* 802796E0 00276620 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 802796E4 00276624 C0 02 D1 38 */ lfs f0, lbl_8051B498@sda21(r2) -/* 802796E8 00276628 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802796EC 0027662C 40 81 00 0C */ ble lbl_802796F8 -/* 802796F0 00276630 7F E3 FB 78 */ mr r3, r31 -/* 802796F4 00276634 4B E8 BB AD */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802796F8: -/* 802796F8 00276638 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802796FC 0027663C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80279700 00276640 28 00 00 00 */ cmplwi r0, 0 -/* 80279704 00276644 41 82 00 64 */ beq lbl_80279768 -/* 80279708 00276648 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8027970C 0027664C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80279710 00276650 40 82 00 58 */ bne lbl_80279768 -/* 80279714 00276654 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80279718 00276658 C0 02 D1 38 */ lfs f0, lbl_8051B498@sda21(r2) -/* 8027971C 0027665C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279720 00276660 40 81 00 28 */ ble lbl_80279748 -/* 80279724 00276664 7F C3 F3 78 */ mr r3, r30 -/* 80279728 00276668 7F E4 FB 78 */ mr r4, r31 -/* 8027972C 0027666C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80279730 00276670 38 A0 00 04 */ li r5, 4 -/* 80279734 00276674 38 C0 00 00 */ li r6, 0 -/* 80279738 00276678 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027973C 0027667C 7D 89 03 A6 */ mtctr r12 -/* 80279740 00276680 4E 80 04 21 */ bctrl -/* 80279744 00276684 48 00 00 24 */ b lbl_80279768 -lbl_80279748: -/* 80279748 00276688 7F C3 F3 78 */ mr r3, r30 -/* 8027974C 0027668C 7F E4 FB 78 */ mr r4, r31 -/* 80279750 00276690 81 9E 00 00 */ lwz r12, 0(r30) -/* 80279754 00276694 38 A0 00 01 */ li r5, 1 -/* 80279758 00276698 38 C0 00 00 */ li r6, 0 -/* 8027975C 0027669C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80279760 002766A0 7D 89 03 A6 */ mtctr r12 -/* 80279764 002766A4 4E 80 04 21 */ bctrl -lbl_80279768: -/* 80279768 002766A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027976C 002766AC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80279770 002766B0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80279774 002766B4 7C 08 03 A6 */ mtlr r0 -/* 80279778 002766B8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027977C 002766BC 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug9StateMoveFPQ24Game9EnemyBase: -/* 80279780 002766C0 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80279784 002766C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279788 002766C8 7C 08 02 A6 */ mflr r0 -/* 8027978C 002766CC C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 80279790 002766D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279794 002766D4 38 00 00 00 */ li r0, 0 -/* 80279798 002766D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027979C 002766DC 7C 9F 23 78 */ mr r31, r4 -/* 802797A0 002766E0 7F E3 FB 78 */ mr r3, r31 -/* 802797A4 002766E4 98 04 02 D4 */ stb r0, 0x2d4(r4) -/* 802797A8 002766E8 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 802797AC 002766EC 48 00 1F B9 */ bl resetPartnerPtr__Q34Game7ElecBug3ObjFv -/* 802797B0 002766F0 7F E3 FB 78 */ mr r3, r31 -/* 802797B4 002766F4 48 00 24 AD */ bl startChargeEffect__Q34Game7ElecBug3ObjFv -/* 802797B8 002766F8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802797BC 002766FC 7F E3 FB 78 */ mr r3, r31 -/* 802797C0 00276700 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 802797C4 00276704 60 00 00 40 */ ori r0, r0, 0x40 -/* 802797C8 00276708 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802797CC 0027670C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802797D0 00276710 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802797D4 00276714 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802797D8 00276718 4B E8 81 F5 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 802797DC 0027671C 7F E3 FB 78 */ mr r3, r31 -/* 802797E0 00276720 38 80 00 03 */ li r4, 3 -/* 802797E4 00276724 38 A0 00 00 */ li r5, 0 -/* 802797E8 00276728 4B E8 B8 1D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802797EC 0027672C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802797F0 00276730 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802797F4 00276734 7C 08 03 A6 */ mtlr r0 -/* 802797F8 00276738 38 21 00 10 */ addi r1, r1, 0x10 -/* 802797FC 0027673C 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase -exec__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase: -/* 80279800 00276740 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80279804 00276744 7C 08 02 A6 */ mflr r0 -/* 80279808 00276748 90 01 01 64 */ stw r0, 0x164(r1) -/* 8027980C 0027674C DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80279810 00276750 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 80279814 00276754 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 80279818 00276758 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 8027981C 0027675C DB A1 01 30 */ stfd f29, 0x130(r1) -/* 80279820 00276760 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 80279824 00276764 DB 81 01 20 */ stfd f28, 0x120(r1) -/* 80279828 00276768 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 -/* 8027982C 0027676C DB 61 01 10 */ stfd f27, 0x110(r1) -/* 80279830 00276770 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0 -/* 80279834 00276774 BF 61 00 FC */ stmw r27, 0xfc(r1) -/* 80279838 00276778 88 04 02 D4 */ lbz r0, 0x2d4(r4) -/* 8027983C 0027677C 7C 7D 1B 78 */ mr r29, r3 -/* 80279840 00276780 7C 9F 23 78 */ mr r31, r4 -/* 80279844 00276784 28 00 00 00 */ cmplwi r0, 0 -/* 80279848 00276788 40 82 03 1C */ bne lbl_80279B64 -/* 8027984C 0027678C C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 80279850 00276790 C0 02 D1 40 */ lfs f0, lbl_8051B4A0@sda21(r2) -/* 80279854 00276794 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279858 00276798 40 81 03 0C */ ble lbl_80279B64 -/* 8027985C 0027679C 38 00 00 01 */ li r0, 1 -/* 80279860 002767A0 38 61 00 44 */ addi r3, r1, 0x44 -/* 80279864 002767A4 98 1F 02 D4 */ stb r0, 0x2d4(r31) -/* 80279868 002767A8 3B C0 00 00 */ li r30, 0 -/* 8027986C 002767AC 81 84 00 00 */ lwz r12, 0(r4) -/* 80279870 002767B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80279874 002767B4 7D 89 03 A6 */ mtctr r12 -/* 80279878 002767B8 4E 80 04 21 */ bctrl -/* 8027987C 002767BC C3 C1 00 44 */ lfs f30, 0x44(r1) -/* 80279880 002767C0 38 80 00 1C */ li r4, 0x1c -/* 80279884 002767C4 C3 E1 00 48 */ lfs f31, 0x48(r1) -/* 80279888 002767C8 C3 A1 00 4C */ lfs f29, 0x4c(r1) -/* 8027988C 002767CC 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 80279890 002767D0 4B E9 44 15 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi -/* 80279894 002767D4 28 03 00 00 */ cmplwi r3, 0 -/* 80279898 002767D8 41 82 02 58 */ beq lbl_80279AF0 -/* 8027989C 002767DC 41 82 00 08 */ beq lbl_802798A4 -/* 802798A0 002767E0 38 63 00 04 */ addi r3, r3, 4 -lbl_802798A4: -/* 802798A4 002767E4 38 00 00 00 */ li r0, 0 -/* 802798A8 002767E8 3C 80 80 4C */ lis r4, __vt__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1@ha -/* 802798AC 002767EC 38 84 78 EC */ addi r4, r4, __vt__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1@l -/* 802798B0 002767F0 90 01 00 5C */ stw r0, 0x5c(r1) -/* 802798B4 002767F4 28 00 00 00 */ cmplwi r0, 0 -/* 802798B8 002767F8 90 81 00 50 */ stw r4, 0x50(r1) -/* 802798BC 002767FC 90 01 00 54 */ stw r0, 0x54(r1) -/* 802798C0 00276800 90 61 00 58 */ stw r3, 0x58(r1) -/* 802798C4 00276804 40 82 00 1C */ bne lbl_802798E0 -/* 802798C8 00276808 81 83 00 00 */ lwz r12, 0(r3) -/* 802798CC 0027680C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802798D0 00276810 7D 89 03 A6 */ mtctr r12 -/* 802798D4 00276814 4E 80 04 21 */ bctrl -/* 802798D8 00276818 90 61 00 54 */ stw r3, 0x54(r1) -/* 802798DC 0027681C 48 00 00 8C */ b lbl_80279968 -lbl_802798E0: -/* 802798E0 00276820 81 83 00 00 */ lwz r12, 0(r3) -/* 802798E4 00276824 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802798E8 00276828 7D 89 03 A6 */ mtctr r12 -/* 802798EC 0027682C 4E 80 04 21 */ bctrl -/* 802798F0 00276830 90 61 00 54 */ stw r3, 0x54(r1) -/* 802798F4 00276834 48 00 00 58 */ b lbl_8027994C -lbl_802798F8: -/* 802798F8 00276838 80 61 00 58 */ lwz r3, 0x58(r1) -/* 802798FC 0027683C 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80279900 00276840 81 83 00 00 */ lwz r12, 0(r3) -/* 80279904 00276844 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80279908 00276848 7D 89 03 A6 */ mtctr r12 -/* 8027990C 0027684C 4E 80 04 21 */ bctrl -/* 80279910 00276850 7C 64 1B 78 */ mr r4, r3 -/* 80279914 00276854 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80279918 00276858 81 83 00 00 */ lwz r12, 0(r3) -/* 8027991C 0027685C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80279920 00276860 7D 89 03 A6 */ mtctr r12 -/* 80279924 00276864 4E 80 04 21 */ bctrl -/* 80279928 00276868 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027992C 0027686C 40 82 00 3C */ bne lbl_80279968 -/* 80279930 00276870 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80279934 00276874 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80279938 00276878 81 83 00 00 */ lwz r12, 0(r3) -/* 8027993C 0027687C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80279940 00276880 7D 89 03 A6 */ mtctr r12 -/* 80279944 00276884 4E 80 04 21 */ bctrl -/* 80279948 00276888 90 61 00 54 */ stw r3, 0x54(r1) -lbl_8027994C: -/* 8027994C 0027688C 81 81 00 50 */ lwz r12, 0x50(r1) -/* 80279950 00276890 38 61 00 50 */ addi r3, r1, 0x50 -/* 80279954 00276894 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80279958 00276898 7D 89 03 A6 */ mtctr r12 -/* 8027995C 0027689C 4E 80 04 21 */ bctrl -/* 80279960 002768A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80279964 002768A4 41 82 FF 94 */ beq lbl_802798F8 -lbl_80279968: -/* 80279968 002768A8 3B 61 00 60 */ addi r27, r1, 0x60 -/* 8027996C 002768AC 48 00 01 64 */ b lbl_80279AD0 -lbl_80279970: -/* 80279970 002768B0 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80279974 002768B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80279978 002768B8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027997C 002768BC 7D 89 03 A6 */ mtctr r12 -/* 80279980 002768C0 4E 80 04 21 */ bctrl -/* 80279984 002768C4 7C 7C 1B 78 */ mr r28, r3 -/* 80279988 002768C8 7C 1F E0 40 */ cmplw r31, r28 -/* 8027998C 002768CC 41 82 00 88 */ beq lbl_80279A14 -/* 80279990 002768D0 48 00 1D F1 */ bl isBecomeChargeState__Q34Game7ElecBug3ObjFv -/* 80279994 002768D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80279998 002768D8 41 82 00 7C */ beq lbl_80279A14 -/* 8027999C 002768DC 7F 84 E3 78 */ mr r4, r28 -/* 802799A0 002768E0 38 61 00 38 */ addi r3, r1, 0x38 -/* 802799A4 002768E4 81 9C 00 00 */ lwz r12, 0(r28) -/* 802799A8 002768E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802799AC 002768EC 7D 89 03 A6 */ mtctr r12 -/* 802799B0 002768F0 4E 80 04 21 */ bctrl -/* 802799B4 002768F4 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 802799B8 002768F8 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 802799BC 002768FC EC 7F 00 28 */ fsubs f3, f31, f0 -/* 802799C0 00276900 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 802799C4 00276904 EC 5E 10 28 */ fsubs f2, f30, f2 -/* 802799C8 00276908 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 802799CC 0027690C EC 3D 08 28 */ fsubs f1, f29, f1 -/* 802799D0 00276910 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 802799D4 00276914 EC 81 00 72 */ fmuls f4, f1, f1 -/* 802799D8 00276918 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 802799DC 0027691C EC 24 08 2A */ fadds f1, f4, f1 -/* 802799E0 00276920 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802799E4 00276924 40 81 00 14 */ ble lbl_802799F8 -/* 802799E8 00276928 40 81 00 14 */ ble lbl_802799FC -/* 802799EC 0027692C FC 00 08 34 */ frsqrte f0, f1 -/* 802799F0 00276930 EC 20 00 72 */ fmuls f1, f0, f1 -/* 802799F4 00276934 48 00 00 08 */ b lbl_802799FC -lbl_802799F8: -/* 802799F8 00276938 FC 20 00 90 */ fmr f1, f0 -lbl_802799FC: -/* 802799FC 0027693C C0 02 D1 44 */ lfs f0, lbl_8051B4A4@sda21(r2) -/* 80279A00 00276940 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279A04 00276944 40 80 00 10 */ bge lbl_80279A14 -/* 80279A08 00276948 93 9B 00 00 */ stw r28, 0(r27) -/* 80279A0C 0027694C 3B 7B 00 04 */ addi r27, r27, 4 -/* 80279A10 00276950 3B DE 00 01 */ addi r30, r30, 1 -lbl_80279A14: -/* 80279A14 00276954 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80279A18 00276958 28 00 00 00 */ cmplwi r0, 0 -/* 80279A1C 0027695C 40 82 00 24 */ bne lbl_80279A40 -/* 80279A20 00276960 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80279A24 00276964 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80279A28 00276968 81 83 00 00 */ lwz r12, 0(r3) -/* 80279A2C 0027696C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80279A30 00276970 7D 89 03 A6 */ mtctr r12 -/* 80279A34 00276974 4E 80 04 21 */ bctrl -/* 80279A38 00276978 90 61 00 54 */ stw r3, 0x54(r1) -/* 80279A3C 0027697C 48 00 00 94 */ b lbl_80279AD0 -lbl_80279A40: -/* 80279A40 00276980 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80279A44 00276984 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80279A48 00276988 81 83 00 00 */ lwz r12, 0(r3) -/* 80279A4C 0027698C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80279A50 00276990 7D 89 03 A6 */ mtctr r12 -/* 80279A54 00276994 4E 80 04 21 */ bctrl -/* 80279A58 00276998 90 61 00 54 */ stw r3, 0x54(r1) -/* 80279A5C 0027699C 48 00 00 58 */ b lbl_80279AB4 -lbl_80279A60: -/* 80279A60 002769A0 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80279A64 002769A4 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80279A68 002769A8 81 83 00 00 */ lwz r12, 0(r3) -/* 80279A6C 002769AC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80279A70 002769B0 7D 89 03 A6 */ mtctr r12 -/* 80279A74 002769B4 4E 80 04 21 */ bctrl -/* 80279A78 002769B8 7C 64 1B 78 */ mr r4, r3 -/* 80279A7C 002769BC 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80279A80 002769C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80279A84 002769C4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80279A88 002769C8 7D 89 03 A6 */ mtctr r12 -/* 80279A8C 002769CC 4E 80 04 21 */ bctrl -/* 80279A90 002769D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80279A94 002769D4 40 82 00 3C */ bne lbl_80279AD0 -/* 80279A98 002769D8 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80279A9C 002769DC 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80279AA0 002769E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80279AA4 002769E4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80279AA8 002769E8 7D 89 03 A6 */ mtctr r12 -/* 80279AAC 002769EC 4E 80 04 21 */ bctrl -/* 80279AB0 002769F0 90 61 00 54 */ stw r3, 0x54(r1) -lbl_80279AB4: -/* 80279AB4 002769F4 81 81 00 50 */ lwz r12, 0x50(r1) -/* 80279AB8 002769F8 38 61 00 50 */ addi r3, r1, 0x50 -/* 80279ABC 002769FC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80279AC0 00276A00 7D 89 03 A6 */ mtctr r12 -/* 80279AC4 00276A04 4E 80 04 21 */ bctrl -/* 80279AC8 00276A08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80279ACC 00276A0C 41 82 FF 94 */ beq lbl_80279A60 -lbl_80279AD0: -/* 80279AD0 00276A10 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80279AD4 00276A14 81 83 00 00 */ lwz r12, 0(r3) -/* 80279AD8 00276A18 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80279ADC 00276A1C 7D 89 03 A6 */ mtctr r12 -/* 80279AE0 00276A20 4E 80 04 21 */ bctrl -/* 80279AE4 00276A24 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80279AE8 00276A28 7C 04 18 40 */ cmplw r4, r3 -/* 80279AEC 00276A2C 40 82 FE 84 */ bne lbl_80279970 -lbl_80279AF0: -/* 80279AF0 00276A30 2C 1E 00 00 */ cmpwi r30, 0 -/* 80279AF4 00276A34 41 82 00 70 */ beq lbl_80279B64 -/* 80279AF8 00276A38 4B E4 FA A9 */ bl rand -/* 80279AFC 00276A3C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80279B00 00276A40 3C A0 43 30 */ lis r5, 0x4330 -/* 80279B04 00276A44 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80279B08 00276A48 6F C0 80 00 */ xoris r0, r30, 0x8000 -/* 80279B0C 00276A4C C8 42 D1 58 */ lfd f2, lbl_8051B4B8@sda21(r2) -/* 80279B10 00276A50 38 81 00 60 */ addi r4, r1, 0x60 -/* 80279B14 00276A54 90 A1 00 E0 */ stw r5, 0xe0(r1) -/* 80279B18 00276A58 7F E3 FB 78 */ mr r3, r31 -/* 80279B1C 00276A5C C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2) -/* 80279B20 00276A60 C8 21 00 E0 */ lfd f1, 0xe0(r1) -/* 80279B24 00276A64 90 01 00 EC */ stw r0, 0xec(r1) -/* 80279B28 00276A68 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80279B2C 00276A6C 90 A1 00 E8 */ stw r5, 0xe8(r1) -/* 80279B30 00276A70 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80279B34 00276A74 C8 01 00 E8 */ lfd f0, 0xe8(r1) -/* 80279B38 00276A78 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80279B3C 00276A7C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80279B40 00276A80 FC 00 00 1E */ fctiwz f0, f0 -/* 80279B44 00276A84 D8 01 00 F0 */ stfd f0, 0xf0(r1) -/* 80279B48 00276A88 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80279B4C 00276A8C 54 00 10 3A */ slwi r0, r0, 2 -/* 80279B50 00276A90 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80279B54 00276A94 48 00 1C 9D */ bl startChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj -/* 80279B58 00276A98 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80279B5C 00276A9C 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80279B60 00276AA0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -lbl_80279B64: -/* 80279B64 00276AA4 83 9F 02 D8 */ lwz r28, 0x2d8(r31) -/* 80279B68 00276AA8 28 1C 00 00 */ cmplwi r28, 0 -/* 80279B6C 00276AAC 41 82 01 30 */ beq lbl_80279C9C -/* 80279B70 00276AB0 7F E4 FB 78 */ mr r4, r31 -/* 80279B74 00276AB4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80279B78 00276AB8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80279B7C 00276ABC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80279B80 00276AC0 7D 89 03 A6 */ mtctr r12 -/* 80279B84 00276AC4 4E 80 04 21 */ bctrl -/* 80279B88 00276AC8 7F 84 E3 78 */ mr r4, r28 -/* 80279B8C 00276ACC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80279B90 00276AD0 81 9C 00 00 */ lwz r12, 0(r28) -/* 80279B94 00276AD4 C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 80279B98 00276AD8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80279B9C 00276ADC C3 C1 00 34 */ lfs f30, 0x34(r1) -/* 80279BA0 00276AE0 7D 89 03 A6 */ mtctr r12 -/* 80279BA4 00276AE4 4E 80 04 21 */ bctrl -/* 80279BA8 00276AE8 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80279BAC 00276AEC 7F E4 FB 78 */ mr r4, r31 -/* 80279BB0 00276AF0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80279BB4 00276AF4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80279BB8 00276AF8 EF 9D 08 28 */ fsubs f28, f29, f1 -/* 80279BBC 00276AFC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80279BC0 00276B00 EF 7E 00 28 */ fsubs f27, f30, f0 -/* 80279BC4 00276B04 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80279BC8 00276B08 81 8C 00 08 */ lwz r12, 8(r12) -/* 80279BCC 00276B0C EF 9C E8 2A */ fadds f28, f28, f29 -/* 80279BD0 00276B10 EF 7B F0 2A */ fadds f27, f27, f30 -/* 80279BD4 00276B14 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 80279BD8 00276B18 7D 89 03 A6 */ mtctr r12 -/* 80279BDC 00276B1C 4E 80 04 21 */ bctrl -/* 80279BE0 00276B20 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 80279BE4 00276B24 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80279BE8 00276B28 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80279BEC 00276B2C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80279BF0 00276B30 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 80279BF4 00276B34 EC 3C 20 28 */ fsubs f1, f28, f4 -/* 80279BF8 00276B38 EC 5B 00 28 */ fsubs f2, f27, f0 -/* 80279BFC 00276B3C D0 81 00 08 */ stfs f4, 8(r1) -/* 80279C00 00276B40 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80279C04 00276B44 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80279C08 00276B48 4B DB B5 01 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80279C0C 00276B4C 48 19 7F C5 */ bl roundAng__Ff -/* 80279C10 00276B50 81 9F 00 00 */ lwz r12, 0(r31) -/* 80279C14 00276B54 FF C0 08 90 */ fmr f30, f1 -/* 80279C18 00276B58 7F E3 FB 78 */ mr r3, r31 -/* 80279C1C 00276B5C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80279C20 00276B60 7D 89 03 A6 */ mtctr r12 -/* 80279C24 00276B64 4E 80 04 21 */ bctrl -/* 80279C28 00276B68 FC 40 08 90 */ fmr f2, f1 -/* 80279C2C 00276B6C FC 20 F0 90 */ fmr f1, f30 -/* 80279C30 00276B70 48 19 7F CD */ bl angDist__Fff -/* 80279C34 00276B74 C0 42 D1 4C */ lfs f2, lbl_8051B4AC@sda21(r2) -/* 80279C38 00276B78 C0 02 D1 30 */ lfs f0, lbl_8051B490@sda21(r2) -/* 80279C3C 00276B7C EF C1 00 B2 */ fmuls f30, f1, f2 -/* 80279C40 00276B80 C0 22 D1 2C */ lfs f1, lbl_8051B48C@sda21(r2) -/* 80279C44 00276B84 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80279C48 00276B88 FC 40 F2 10 */ fabs f2, f30 -/* 80279C4C 00276B8C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80279C50 00276B90 FC 00 10 18 */ frsp f0, f2 -/* 80279C54 00276B94 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80279C58 00276B98 40 81 00 1C */ ble lbl_80279C74 -/* 80279C5C 00276B9C C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 80279C60 00276BA0 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80279C64 00276BA4 40 81 00 0C */ ble lbl_80279C70 -/* 80279C68 00276BA8 FF C0 08 90 */ fmr f30, f1 -/* 80279C6C 00276BAC 48 00 00 08 */ b lbl_80279C74 -lbl_80279C70: -/* 80279C70 00276BB0 FF C0 08 50 */ fneg f30, f1 -lbl_80279C74: -/* 80279C74 00276BB4 7F E3 FB 78 */ mr r3, r31 -/* 80279C78 00276BB8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80279C7C 00276BBC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80279C80 00276BC0 7D 89 03 A6 */ mtctr r12 -/* 80279C84 00276BC4 4E 80 04 21 */ bctrl -/* 80279C88 00276BC8 EC 3E 08 2A */ fadds f1, f30, f1 -/* 80279C8C 00276BCC 48 19 7F 45 */ bl roundAng__Ff -/* 80279C90 00276BD0 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80279C94 00276BD4 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80279C98 00276BD8 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -lbl_80279C9C: -/* 80279C9C 00276BDC C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 80279CA0 00276BE0 C0 02 D1 50 */ lfs f0, lbl_8051B4B0@sda21(r2) -/* 80279CA4 00276BE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279CA8 00276BE8 40 81 00 5C */ ble lbl_80279D04 -/* 80279CAC 00276BEC 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 80279CB0 00276BF0 28 00 00 00 */ cmplwi r0, 0 -/* 80279CB4 00276BF4 41 82 00 28 */ beq lbl_80279CDC -/* 80279CB8 00276BF8 7F A3 EB 78 */ mr r3, r29 -/* 80279CBC 00276BFC 7F E4 FB 78 */ mr r4, r31 -/* 80279CC0 00276C00 81 9D 00 00 */ lwz r12, 0(r29) -/* 80279CC4 00276C04 38 A0 00 05 */ li r5, 5 -/* 80279CC8 00276C08 38 C0 00 00 */ li r6, 0 -/* 80279CCC 00276C0C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80279CD0 00276C10 7D 89 03 A6 */ mtctr r12 -/* 80279CD4 00276C14 4E 80 04 21 */ bctrl -/* 80279CD8 00276C18 48 00 00 2C */ b lbl_80279D04 -lbl_80279CDC: -/* 80279CDC 00276C1C 7F E3 FB 78 */ mr r3, r31 -/* 80279CE0 00276C20 48 00 20 81 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 80279CE4 00276C24 7F A3 EB 78 */ mr r3, r29 -/* 80279CE8 00276C28 7F E4 FB 78 */ mr r4, r31 -/* 80279CEC 00276C2C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80279CF0 00276C30 38 A0 00 02 */ li r5, 2 -/* 80279CF4 00276C34 38 C0 00 00 */ li r6, 0 -/* 80279CF8 00276C38 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80279CFC 00276C3C 7D 89 03 A6 */ mtctr r12 -/* 80279D00 00276C40 4E 80 04 21 */ bctrl -lbl_80279D04: -/* 80279D04 00276C44 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80279D08 00276C48 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 80279D0C 00276C4C C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80279D10 00276C50 EC 01 00 2A */ fadds f0, f1, f0 -/* 80279D14 00276C54 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 80279D18 00276C58 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 80279D1C 00276C5C CB E1 01 50 */ lfd f31, 0x150(r1) -/* 80279D20 00276C60 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 80279D24 00276C64 CB C1 01 40 */ lfd f30, 0x140(r1) -/* 80279D28 00276C68 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 80279D2C 00276C6C CB A1 01 30 */ lfd f29, 0x130(r1) -/* 80279D30 00276C70 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 -/* 80279D34 00276C74 CB 81 01 20 */ lfd f28, 0x120(r1) -/* 80279D38 00276C78 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 -/* 80279D3C 00276C7C CB 61 01 10 */ lfd f27, 0x110(r1) -/* 80279D40 00276C80 BB 61 00 FC */ lmw r27, 0xfc(r1) -/* 80279D44 00276C84 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80279D48 00276C88 7C 08 03 A6 */ mtlr r0 -/* 80279D4C 00276C8C 38 21 01 60 */ addi r1, r1, 0x160 -/* 80279D50 00276C90 4E 80 00 20 */ blr - -.global isDone__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1Fv -isDone__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1Fv: -/* 80279D54 00276C94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279D58 00276C98 7C 08 02 A6 */ mflr r0 -/* 80279D5C 00276C9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279D60 00276CA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80279D64 00276CA4 7C 7F 1B 78 */ mr r31, r3 -/* 80279D68 00276CA8 80 63 00 08 */ lwz r3, 8(r3) -/* 80279D6C 00276CAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80279D70 00276CB0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80279D74 00276CB4 7D 89 03 A6 */ mtctr r12 -/* 80279D78 00276CB8 4E 80 04 21 */ bctrl -/* 80279D7C 00276CBC 80 1F 00 04 */ lwz r0, 4(r31) -/* 80279D80 00276CC0 7C 00 18 50 */ subf r0, r0, r3 -/* 80279D84 00276CC4 7C 00 00 34 */ cntlzw r0, r0 -/* 80279D88 00276CC8 54 03 D9 7E */ srwi r3, r0, 5 -/* 80279D8C 00276CCC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80279D90 00276CD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279D94 00276CD4 7C 08 03 A6 */ mtlr r0 -/* 80279D98 00276CD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279D9C 00276CDC 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug11StateChargeFPQ24Game9EnemyBase: -/* 80279DA0 00276CE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80279DA4 00276CE4 7C 08 02 A6 */ mflr r0 -/* 80279DA8 00276CE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80279DAC 00276CEC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80279DB0 00276CF0 7C 9F 23 78 */ mr r31, r4 -/* 80279DB4 00276CF4 7F E3 FB 78 */ mr r3, r31 -/* 80279DB8 00276CF8 4B E8 7B C5 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80279DBC 00276CFC 4B E4 F7 E5 */ bl rand -/* 80279DC0 00276D00 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80279DC4 00276D04 3C 00 43 30 */ lis r0, 0x4330 -/* 80279DC8 00276D08 90 61 00 0C */ stw r3, 0xc(r1) -/* 80279DCC 00276D0C C8 62 D1 58 */ lfd f3, lbl_8051B4B8@sda21(r2) -/* 80279DD0 00276D10 90 01 00 08 */ stw r0, 8(r1) -/* 80279DD4 00276D14 C0 22 D1 60 */ lfs f1, lbl_8051B4C0@sda21(r2) -/* 80279DD8 00276D18 C8 41 00 08 */ lfd f2, 8(r1) -/* 80279DDC 00276D1C C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2) -/* 80279DE0 00276D20 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80279DE4 00276D24 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80279DE8 00276D28 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80279DEC 00276D2C D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80279DF0 00276D30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80279DF4 00276D34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80279DF8 00276D38 7C 08 03 A6 */ mtlr r0 -/* 80279DFC 00276D3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80279E00 00276D40 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80279E04 00276D44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279E08 00276D48 7C 08 02 A6 */ mflr r0 -/* 80279E0C 00276D4C C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 80279E10 00276D50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279E14 00276D54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80279E18 00276D58 7C 9F 23 78 */ mr r31, r4 -/* 80279E1C 00276D5C 7F E3 FB 78 */ mr r3, r31 -/* 80279E20 00276D60 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 80279E24 00276D64 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80279E28 00276D68 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80279E2C 00276D6C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80279E30 00276D70 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80279E34 00276D74 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80279E38 00276D78 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80279E3C 00276D7C 4B E8 7B 91 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80279E40 00276D80 7F E3 FB 78 */ mr r3, r31 -/* 80279E44 00276D84 38 80 00 04 */ li r4, 4 -/* 80279E48 00276D88 38 A0 00 00 */ li r5, 0 -/* 80279E4C 00276D8C 4B E8 B1 B9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80279E50 00276D90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279E54 00276D94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80279E58 00276D98 7C 08 03 A6 */ mtlr r0 -/* 80279E5C 00276D9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279E60 00276DA0 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase -exec__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase: -/* 80279E64 00276DA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279E68 00276DA8 7C 08 02 A6 */ mflr r0 -/* 80279E6C 00276DAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279E70 00276DB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80279E74 00276DB4 7C 9F 23 78 */ mr r31, r4 -/* 80279E78 00276DB8 93 C1 00 08 */ stw r30, 8(r1) -/* 80279E7C 00276DBC 7C 7E 1B 78 */ mr r30, r3 -/* 80279E80 00276DC0 80 84 02 D8 */ lwz r4, 0x2d8(r4) -/* 80279E84 00276DC4 28 04 00 00 */ cmplwi r4, 0 -/* 80279E88 00276DC8 41 82 00 10 */ beq lbl_80279E98 -/* 80279E8C 00276DCC 7F E3 FB 78 */ mr r3, r31 -/* 80279E90 00276DD0 48 00 20 8D */ bl checkInteract__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj -/* 80279E94 00276DD4 48 00 00 14 */ b lbl_80279EA8 -lbl_80279E98: -/* 80279E98 00276DD8 7F E3 FB 78 */ mr r3, r31 -/* 80279E9C 00276DDC 48 00 1E C5 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 80279EA0 00276DE0 7F E3 FB 78 */ mr r3, r31 -/* 80279EA4 00276DE4 4B E8 B3 FD */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80279EA8: -/* 80279EA8 00276DE8 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80279EAC 00276DEC C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 80279EB0 00276DF0 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 80279EB4 00276DF4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80279EB8 00276DF8 40 81 00 0C */ ble lbl_80279EC4 -/* 80279EBC 00276DFC 7F E3 FB 78 */ mr r3, r31 -/* 80279EC0 00276E00 4B E8 B3 E1 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80279EC4: -/* 80279EC4 00276E04 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80279EC8 00276E08 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80279ECC 00276E0C 28 00 00 00 */ cmplwi r0, 0 -/* 80279ED0 00276E10 41 82 00 50 */ beq lbl_80279F20 -/* 80279ED4 00276E14 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80279ED8 00276E18 28 00 00 02 */ cmplwi r0, 2 -/* 80279EDC 00276E1C 40 82 00 1C */ bne lbl_80279EF8 -/* 80279EE0 00276E20 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 80279EE4 00276E24 28 04 00 00 */ cmplwi r4, 0 -/* 80279EE8 00276E28 41 82 00 38 */ beq lbl_80279F20 -/* 80279EEC 00276E2C 7F E3 FB 78 */ mr r3, r31 -/* 80279EF0 00276E30 48 00 1D B1 */ bl startDischargeEffect__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj -/* 80279EF4 00276E34 48 00 00 2C */ b lbl_80279F20 -lbl_80279EF8: -/* 80279EF8 00276E38 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80279EFC 00276E3C 40 82 00 24 */ bne lbl_80279F20 -/* 80279F00 00276E40 7F C3 F3 78 */ mr r3, r30 -/* 80279F04 00276E44 7F E4 FB 78 */ mr r4, r31 -/* 80279F08 00276E48 81 9E 00 00 */ lwz r12, 0(r30) -/* 80279F0C 00276E4C 38 A0 00 02 */ li r5, 2 -/* 80279F10 00276E50 38 C0 00 00 */ li r6, 0 -/* 80279F14 00276E54 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80279F18 00276E58 7D 89 03 A6 */ mtctr r12 -/* 80279F1C 00276E5C 4E 80 04 21 */ bctrl -lbl_80279F20: -/* 80279F20 00276E60 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80279F24 00276E64 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 80279F28 00276E68 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80279F2C 00276E6C EC 01 00 2A */ fadds f0, f1, f0 -/* 80279F30 00276E70 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 80279F34 00276E74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80279F38 00276E78 83 C1 00 08 */ lwz r30, 8(r1) -/* 80279F3C 00276E7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80279F40 00276E80 7C 08 03 A6 */ mtlr r0 -/* 80279F44 00276E84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80279F48 00276E88 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug14StateDischargeFPQ24Game9EnemyBase: -/* 80279F4C 00276E8C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80279F50 00276E90 7C 08 02 A6 */ mflr r0 -/* 80279F54 00276E94 90 01 00 24 */ stw r0, 0x24(r1) -/* 80279F58 00276E98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80279F5C 00276E9C 7C 9F 23 78 */ mr r31, r4 -/* 80279F60 00276EA0 7F E3 FB 78 */ mr r3, r31 -/* 80279F64 00276EA4 4B E8 7A 19 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80279F68 00276EA8 4B E4 F6 39 */ bl rand -/* 80279F6C 00276EAC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80279F70 00276EB0 3C 00 43 30 */ lis r0, 0x4330 -/* 80279F74 00276EB4 90 61 00 0C */ stw r3, 0xc(r1) -/* 80279F78 00276EB8 7F E3 FB 78 */ mr r3, r31 -/* 80279F7C 00276EBC C8 62 D1 58 */ lfd f3, lbl_8051B4B8@sda21(r2) -/* 80279F80 00276EC0 90 01 00 08 */ stw r0, 8(r1) -/* 80279F84 00276EC4 C0 22 D1 60 */ lfs f1, lbl_8051B4C0@sda21(r2) -/* 80279F88 00276EC8 C8 41 00 08 */ lfd f2, 8(r1) -/* 80279F8C 00276ECC C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2) -/* 80279F90 00276ED0 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80279F94 00276ED4 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80279F98 00276ED8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80279F9C 00276EDC D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80279FA0 00276EE0 48 00 1D C1 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 80279FA4 00276EE4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80279FA8 00276EE8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80279FAC 00276EEC 7C 08 03 A6 */ mtlr r0 -/* 80279FB0 00276EF0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80279FB4 00276EF4 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80279FB8 00276EF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80279FBC 00276EFC 7C 08 02 A6 */ mflr r0 -/* 80279FC0 00276F00 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 80279FC4 00276F04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80279FC8 00276F08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80279FCC 00276F0C 7C 9F 23 78 */ mr r31, r4 -/* 80279FD0 00276F10 7F E3 FB 78 */ mr r3, r31 -/* 80279FD4 00276F14 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 80279FD8 00276F18 48 00 1C 89 */ bl startChargeEffect__Q34Game7ElecBug3ObjFv -/* 80279FDC 00276F1C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80279FE0 00276F20 7F E3 FB 78 */ mr r3, r31 -/* 80279FE4 00276F24 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 80279FE8 00276F28 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80279FEC 00276F2C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80279FF0 00276F30 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80279FF4 00276F34 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80279FF8 00276F38 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80279FFC 00276F3C 4B E8 79 D1 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 8027A000 00276F40 7F E3 FB 78 */ mr r3, r31 -/* 8027A004 00276F44 38 80 00 03 */ li r4, 3 -/* 8027A008 00276F48 38 A0 00 00 */ li r5, 0 -/* 8027A00C 00276F4C 4B E8 AF F9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8027A010 00276F50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A014 00276F54 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A018 00276F58 7C 08 03 A6 */ mtlr r0 -/* 8027A01C 00276F5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A020 00276F60 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase -exec__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase: -/* 8027A024 00276F64 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8027A028 00276F68 7C 08 02 A6 */ mflr r0 -/* 8027A02C 00276F6C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8027A030 00276F70 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8027A034 00276F74 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8027A038 00276F78 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8027A03C 00276F7C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8027A040 00276F80 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8027A044 00276F84 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8027A048 00276F88 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 8027A04C 00276F8C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 8027A050 00276F90 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8027A054 00276F94 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8027A058 00276F98 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8027A05C 00276F9C 83 E4 02 D8 */ lwz r31, 0x2d8(r4) -/* 8027A060 00276FA0 7C 7D 1B 78 */ mr r29, r3 -/* 8027A064 00276FA4 7C 9E 23 78 */ mr r30, r4 -/* 8027A068 00276FA8 28 1F 00 00 */ cmplwi r31, 0 -/* 8027A06C 00276FAC 41 82 01 2C */ beq lbl_8027A198 -/* 8027A070 00276FB0 81 84 00 00 */ lwz r12, 0(r4) -/* 8027A074 00276FB4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027A078 00276FB8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027A07C 00276FBC 7D 89 03 A6 */ mtctr r12 -/* 8027A080 00276FC0 4E 80 04 21 */ bctrl -/* 8027A084 00276FC4 7F E4 FB 78 */ mr r4, r31 -/* 8027A088 00276FC8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027A08C 00276FCC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027A090 00276FD0 C3 C1 00 2C */ lfs f30, 0x2c(r1) -/* 8027A094 00276FD4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027A098 00276FD8 C3 E1 00 34 */ lfs f31, 0x34(r1) -/* 8027A09C 00276FDC 7D 89 03 A6 */ mtctr r12 -/* 8027A0A0 00276FE0 4E 80 04 21 */ bctrl -/* 8027A0A4 00276FE4 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8027A0A8 00276FE8 7F C4 F3 78 */ mr r4, r30 -/* 8027A0AC 00276FEC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8027A0B0 00276FF0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027A0B4 00276FF4 EF BE 08 28 */ fsubs f29, f30, f1 -/* 8027A0B8 00276FF8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027A0BC 00276FFC EF 9F 00 28 */ fsubs f28, f31, f0 -/* 8027A0C0 00277000 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8027A0C4 00277004 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027A0C8 00277008 EF BD F0 2A */ fadds f29, f29, f30 -/* 8027A0CC 0027700C EF 9C F8 2A */ fadds f28, f28, f31 -/* 8027A0D0 00277010 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 8027A0D4 00277014 7D 89 03 A6 */ mtctr r12 -/* 8027A0D8 00277018 4E 80 04 21 */ bctrl -/* 8027A0DC 0027701C C0 81 00 14 */ lfs f4, 0x14(r1) -/* 8027A0E0 00277020 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8027A0E4 00277024 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8027A0E8 00277028 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8027A0EC 0027702C C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8027A0F0 00277030 EC 3D 20 28 */ fsubs f1, f29, f4 -/* 8027A0F4 00277034 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 8027A0F8 00277038 D0 81 00 08 */ stfs f4, 8(r1) -/* 8027A0FC 0027703C D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8027A100 00277040 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8027A104 00277044 4B DB B0 05 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8027A108 00277048 48 19 7A C9 */ bl roundAng__Ff -/* 8027A10C 0027704C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027A110 00277050 FF C0 08 90 */ fmr f30, f1 -/* 8027A114 00277054 7F C3 F3 78 */ mr r3, r30 -/* 8027A118 00277058 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027A11C 0027705C 7D 89 03 A6 */ mtctr r12 -/* 8027A120 00277060 4E 80 04 21 */ bctrl -/* 8027A124 00277064 FC 40 08 90 */ fmr f2, f1 -/* 8027A128 00277068 FC 20 F0 90 */ fmr f1, f30 -/* 8027A12C 0027706C 48 19 7A D1 */ bl angDist__Fff -/* 8027A130 00277070 C0 42 D1 4C */ lfs f2, lbl_8051B4AC@sda21(r2) -/* 8027A134 00277074 C0 02 D1 30 */ lfs f0, lbl_8051B490@sda21(r2) -/* 8027A138 00277078 EF C1 00 B2 */ fmuls f30, f1, f2 -/* 8027A13C 0027707C C0 22 D1 2C */ lfs f1, lbl_8051B48C@sda21(r2) -/* 8027A140 00277080 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8027A144 00277084 FC 40 F2 10 */ fabs f2, f30 -/* 8027A148 00277088 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8027A14C 0027708C FC 00 10 18 */ frsp f0, f2 -/* 8027A150 00277090 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8027A154 00277094 40 81 00 1C */ ble lbl_8027A170 -/* 8027A158 00277098 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 8027A15C 0027709C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8027A160 002770A0 40 81 00 0C */ ble lbl_8027A16C -/* 8027A164 002770A4 FF C0 08 90 */ fmr f30, f1 -/* 8027A168 002770A8 48 00 00 08 */ b lbl_8027A170 -lbl_8027A16C: -/* 8027A16C 002770AC FF C0 08 50 */ fneg f30, f1 -lbl_8027A170: -/* 8027A170 002770B0 7F C3 F3 78 */ mr r3, r30 -/* 8027A174 002770B4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027A178 002770B8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027A17C 002770BC 7D 89 03 A6 */ mtctr r12 -/* 8027A180 002770C0 4E 80 04 21 */ bctrl -/* 8027A184 002770C4 EC 3E 08 2A */ fadds f1, f30, f1 -/* 8027A188 002770C8 48 19 7A 49 */ bl roundAng__Ff -/* 8027A18C 002770CC D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 8027A190 002770D0 C0 1E 01 FC */ lfs f0, 0x1fc(r30) -/* 8027A194 002770D4 D0 1E 01 A8 */ stfs f0, 0x1a8(r30) -lbl_8027A198: -/* 8027A198 002770D8 C0 3E 02 C4 */ lfs f1, 0x2c4(r30) -/* 8027A19C 002770DC C0 02 D1 64 */ lfs f0, lbl_8051B4C4@sda21(r2) -/* 8027A1A0 002770E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027A1A4 002770E4 40 81 00 58 */ ble lbl_8027A1FC -/* 8027A1A8 002770E8 28 1F 00 00 */ cmplwi r31, 0 -/* 8027A1AC 002770EC 41 82 00 28 */ beq lbl_8027A1D4 -/* 8027A1B0 002770F0 7F A3 EB 78 */ mr r3, r29 -/* 8027A1B4 002770F4 7F C4 F3 78 */ mr r4, r30 -/* 8027A1B8 002770F8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027A1BC 002770FC 38 A0 00 07 */ li r5, 7 -/* 8027A1C0 00277100 38 C0 00 00 */ li r6, 0 -/* 8027A1C4 00277104 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027A1C8 00277108 7D 89 03 A6 */ mtctr r12 -/* 8027A1CC 0027710C 4E 80 04 21 */ bctrl -/* 8027A1D0 00277110 48 00 00 2C */ b lbl_8027A1FC -lbl_8027A1D4: -/* 8027A1D4 00277114 7F C3 F3 78 */ mr r3, r30 -/* 8027A1D8 00277118 48 00 1B 89 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 8027A1DC 0027711C 7F A3 EB 78 */ mr r3, r29 -/* 8027A1E0 00277120 7F C4 F3 78 */ mr r4, r30 -/* 8027A1E4 00277124 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027A1E8 00277128 38 A0 00 02 */ li r5, 2 -/* 8027A1EC 0027712C 38 C0 00 00 */ li r6, 0 -/* 8027A1F0 00277130 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027A1F4 00277134 7D 89 03 A6 */ mtctr r12 -/* 8027A1F8 00277138 4E 80 04 21 */ bctrl -lbl_8027A1FC: -/* 8027A1FC 0027713C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8027A200 00277140 C0 3E 02 C4 */ lfs f1, 0x2c4(r30) -/* 8027A204 00277144 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8027A208 00277148 EC 01 00 2A */ fadds f0, f1, f0 -/* 8027A20C 0027714C D0 1E 02 C4 */ stfs f0, 0x2c4(r30) -/* 8027A210 00277150 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8027A214 00277154 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8027A218 00277158 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8027A21C 0027715C CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8027A220 00277160 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8027A224 00277164 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8027A228 00277168 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8027A22C 0027716C CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8027A230 00277170 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027A234 00277174 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8027A238 00277178 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8027A23C 0027717C 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8027A240 00277180 7C 08 03 A6 */ mtlr r0 -/* 8027A244 00277184 38 21 00 90 */ addi r1, r1, 0x90 -/* 8027A248 00277188 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug16StateChildChargeFPQ24Game9EnemyBase: -/* 8027A24C 0027718C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027A250 00277190 7C 08 02 A6 */ mflr r0 -/* 8027A254 00277194 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027A258 00277198 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027A25C 0027719C 7C 9F 23 78 */ mr r31, r4 -/* 8027A260 002771A0 7F E3 FB 78 */ mr r3, r31 -/* 8027A264 002771A4 4B E8 77 19 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 8027A268 002771A8 4B E4 F3 39 */ bl rand -/* 8027A26C 002771AC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027A270 002771B0 3C 00 43 30 */ lis r0, 0x4330 -/* 8027A274 002771B4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027A278 002771B8 C8 62 D1 58 */ lfd f3, lbl_8051B4B8@sda21(r2) -/* 8027A27C 002771BC 90 01 00 08 */ stw r0, 8(r1) -/* 8027A280 002771C0 C0 22 D1 60 */ lfs f1, lbl_8051B4C0@sda21(r2) -/* 8027A284 002771C4 C8 41 00 08 */ lfd f2, 8(r1) -/* 8027A288 002771C8 C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2) -/* 8027A28C 002771CC EC 42 18 28 */ fsubs f2, f2, f3 -/* 8027A290 002771D0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8027A294 002771D4 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8027A298 002771D8 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 8027A29C 002771DC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027A2A0 002771E0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027A2A4 002771E4 7C 08 03 A6 */ mtlr r0 -/* 8027A2A8 002771E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027A2AC 002771EC 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8027A2B0 002771F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A2B4 002771F4 7C 08 02 A6 */ mflr r0 -/* 8027A2B8 002771F8 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 8027A2BC 002771FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A2C0 00277200 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A2C4 00277204 7C 9F 23 78 */ mr r31, r4 -/* 8027A2C8 00277208 7F E3 FB 78 */ mr r3, r31 -/* 8027A2CC 0027720C D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 8027A2D0 00277210 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8027A2D4 00277214 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8027A2D8 00277218 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8027A2DC 0027721C D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 8027A2E0 00277220 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 8027A2E4 00277224 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 8027A2E8 00277228 4B E8 76 E5 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 8027A2EC 0027722C 7F E3 FB 78 */ mr r3, r31 -/* 8027A2F0 00277230 38 80 00 04 */ li r4, 4 -/* 8027A2F4 00277234 38 A0 00 00 */ li r5, 0 -/* 8027A2F8 00277238 4B E8 AD 0D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8027A2FC 0027723C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A300 00277240 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A304 00277244 7C 08 03 A6 */ mtlr r0 -/* 8027A308 00277248 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A30C 0027724C 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase -exec__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase: -/* 8027A310 00277250 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A314 00277254 7C 08 02 A6 */ mflr r0 -/* 8027A318 00277258 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A31C 0027725C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A320 00277260 7C 9F 23 78 */ mr r31, r4 -/* 8027A324 00277264 93 C1 00 08 */ stw r30, 8(r1) -/* 8027A328 00277268 7C 7E 1B 78 */ mr r30, r3 -/* 8027A32C 0027726C 80 04 02 D8 */ lwz r0, 0x2d8(r4) -/* 8027A330 00277270 28 00 00 00 */ cmplwi r0, 0 -/* 8027A334 00277274 41 82 00 24 */ beq lbl_8027A358 -/* 8027A338 00277278 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8027A33C 0027727C C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8027A340 00277280 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 8027A344 00277284 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027A348 00277288 40 81 00 20 */ ble lbl_8027A368 -/* 8027A34C 0027728C 7F E3 FB 78 */ mr r3, r31 -/* 8027A350 00277290 4B E8 AF 51 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 8027A354 00277294 48 00 00 14 */ b lbl_8027A368 -lbl_8027A358: -/* 8027A358 00277298 7F E3 FB 78 */ mr r3, r31 -/* 8027A35C 0027729C 48 00 1A 05 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 8027A360 002772A0 7F E3 FB 78 */ mr r3, r31 -/* 8027A364 002772A4 4B E8 AF 3D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8027A368: -/* 8027A368 002772A8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8027A36C 002772AC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8027A370 002772B0 28 00 00 00 */ cmplwi r0, 0 -/* 8027A374 002772B4 41 82 00 30 */ beq lbl_8027A3A4 -/* 8027A378 002772B8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8027A37C 002772BC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8027A380 002772C0 40 82 00 24 */ bne lbl_8027A3A4 -/* 8027A384 002772C4 7F C3 F3 78 */ mr r3, r30 -/* 8027A388 002772C8 7F E4 FB 78 */ mr r4, r31 -/* 8027A38C 002772CC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027A390 002772D0 38 A0 00 01 */ li r5, 1 -/* 8027A394 002772D4 38 C0 00 00 */ li r6, 0 -/* 8027A398 002772D8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027A39C 002772DC 7D 89 03 A6 */ mtctr r12 -/* 8027A3A0 002772E0 4E 80 04 21 */ bctrl -lbl_8027A3A4: -/* 8027A3A4 002772E4 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8027A3A8 002772E8 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8027A3AC 002772EC C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8027A3B0 002772F0 EC 01 00 2A */ fadds f0, f1, f0 -/* 8027A3B4 002772F4 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8027A3B8 002772F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A3BC 002772FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027A3C0 00277300 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A3C4 00277304 7C 08 03 A6 */ mtlr r0 -/* 8027A3C8 00277308 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A3CC 0027730C 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug19StateChildDischargeFPQ24Game9EnemyBase: -/* 8027A3D0 00277310 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027A3D4 00277314 7C 08 02 A6 */ mflr r0 -/* 8027A3D8 00277318 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027A3DC 0027731C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027A3E0 00277320 7C 9F 23 78 */ mr r31, r4 -/* 8027A3E4 00277324 7F E3 FB 78 */ mr r3, r31 -/* 8027A3E8 00277328 4B E8 75 95 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 8027A3EC 0027732C 4B E4 F1 B5 */ bl rand -/* 8027A3F0 00277330 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027A3F4 00277334 3C 00 43 30 */ lis r0, 0x4330 -/* 8027A3F8 00277338 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027A3FC 0027733C 7F E3 FB 78 */ mr r3, r31 -/* 8027A400 00277340 C8 62 D1 58 */ lfd f3, lbl_8051B4B8@sda21(r2) -/* 8027A404 00277344 90 01 00 08 */ stw r0, 8(r1) -/* 8027A408 00277348 C0 22 D1 60 */ lfs f1, lbl_8051B4C0@sda21(r2) -/* 8027A40C 0027734C C8 41 00 08 */ lfd f2, 8(r1) -/* 8027A410 00277350 C0 02 D1 48 */ lfs f0, lbl_8051B4A8@sda21(r2) -/* 8027A414 00277354 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8027A418 00277358 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8027A41C 0027735C EC 01 00 24 */ fdivs f0, f1, f0 -/* 8027A420 00277360 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 8027A424 00277364 48 00 19 3D */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 8027A428 00277368 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027A42C 0027736C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027A430 00277370 7C 08 03 A6 */ mtlr r0 -/* 8027A434 00277374 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027A438 00277378 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8027A43C 0027737C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A440 00277380 7C 08 02 A6 */ mflr r0 -/* 8027A444 00277384 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 8027A448 00277388 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A44C 0027738C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A450 00277390 7C 9F 23 78 */ mr r31, r4 -/* 8027A454 00277394 7F E3 FB 78 */ mr r3, r31 -/* 8027A458 00277398 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 8027A45C 0027739C 48 00 19 05 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 8027A460 002773A0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8027A464 002773A4 7F E3 FB 78 */ mr r3, r31 -/* 8027A468 002773A8 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 8027A46C 002773AC 38 80 00 05 */ li r4, 5 -/* 8027A470 002773B0 60 00 00 40 */ ori r0, r0, 0x40 -/* 8027A474 002773B4 38 A0 00 00 */ li r5, 0 -/* 8027A478 002773B8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8027A47C 002773BC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8027A480 002773C0 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 8027A484 002773C4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8027A488 002773C8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8027A48C 002773CC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8027A490 002773D0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8027A494 002773D4 4B E8 AB 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8027A498 002773D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A49C 002773DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A4A0 002773E0 7C 08 03 A6 */ mtlr r0 -/* 8027A4A4 002773E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A4A8 002773E8 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase -exec__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase: -/* 8027A4AC 002773EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A4B0 002773F0 7C 08 02 A6 */ mflr r0 -/* 8027A4B4 002773F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A4B8 002773F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A4BC 002773FC 7C 9F 23 78 */ mr r31, r4 -/* 8027A4C0 00277400 93 C1 00 08 */ stw r30, 8(r1) -/* 8027A4C4 00277404 7C 7E 1B 78 */ mr r30, r3 -/* 8027A4C8 00277408 80 64 00 C0 */ lwz r3, 0xc0(r4) -/* 8027A4CC 0027740C C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 8027A4D0 00277410 C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 8027A4D4 00277414 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027A4D8 00277418 40 81 00 0C */ ble lbl_8027A4E4 -/* 8027A4DC 0027741C 7F E3 FB 78 */ mr r3, r31 -/* 8027A4E0 00277420 4B E8 AD C1 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8027A4E4: -/* 8027A4E4 00277424 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8027A4E8 00277428 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 8027A4EC 0027742C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027A4F0 00277430 4C 40 13 82 */ cror 2, 0, 2 -/* 8027A4F4 00277434 40 82 00 28 */ bne lbl_8027A51C -/* 8027A4F8 00277438 7F C3 F3 78 */ mr r3, r30 -/* 8027A4FC 0027743C 7F E4 FB 78 */ mr r4, r31 -/* 8027A500 00277440 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027A504 00277444 38 A0 00 00 */ li r5, 0 -/* 8027A508 00277448 38 C0 00 00 */ li r6, 0 -/* 8027A50C 0027744C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027A510 00277450 7D 89 03 A6 */ mtctr r12 -/* 8027A514 00277454 4E 80 04 21 */ bctrl -/* 8027A518 00277458 48 00 00 54 */ b lbl_8027A56C -lbl_8027A51C: -/* 8027A51C 0027745C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8027A520 00277460 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8027A524 00277464 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8027A528 00277468 EC 01 00 2A */ fadds f0, f1, f0 -/* 8027A52C 0027746C D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8027A530 00277470 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8027A534 00277474 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8027A538 00277478 28 00 00 00 */ cmplwi r0, 0 -/* 8027A53C 0027747C 41 82 00 30 */ beq lbl_8027A56C -/* 8027A540 00277480 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8027A544 00277484 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8027A548 00277488 40 82 00 24 */ bne lbl_8027A56C -/* 8027A54C 0027748C 7F C3 F3 78 */ mr r3, r30 -/* 8027A550 00277490 7F E4 FB 78 */ mr r4, r31 -/* 8027A554 00277494 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027A558 00277498 38 A0 00 09 */ li r5, 9 -/* 8027A55C 0027749C 38 C0 00 00 */ li r6, 0 -/* 8027A560 002774A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027A564 002774A4 7D 89 03 A6 */ mtctr r12 -/* 8027A568 002774A8 4E 80 04 21 */ bctrl -lbl_8027A56C: -/* 8027A56C 002774AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A570 002774B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A574 002774B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027A578 002774B8 7C 08 03 A6 */ mtlr r0 -/* 8027A57C 002774BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A580 002774C0 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug12StateReverseFPQ24Game9EnemyBase: -/* 8027A584 002774C4 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8027A588 002774C8 60 00 00 01 */ ori r0, r0, 1 -/* 8027A58C 002774CC 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 8027A590 002774D0 4E 80 00 20 */ blr - -.global init__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8027A594 002774D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A598 002774D8 7C 08 02 A6 */ mflr r0 -/* 8027A59C 002774DC 7C 83 23 78 */ mr r3, r4 -/* 8027A5A0 002774E0 C0 02 D1 28 */ lfs f0, lbl_8051B488@sda21(r2) -/* 8027A5A4 002774E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A5A8 002774E8 38 80 00 06 */ li r4, 6 -/* 8027A5AC 002774EC 38 A0 00 00 */ li r5, 0 -/* 8027A5B0 002774F0 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8027A5B4 002774F4 60 00 00 40 */ ori r0, r0, 0x40 -/* 8027A5B8 002774F8 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 8027A5BC 002774FC D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 8027A5C0 00277500 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 8027A5C4 00277504 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 8027A5C8 00277508 4B E8 AA 3D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8027A5CC 0027750C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A5D0 00277510 7C 08 03 A6 */ mtlr r0 -/* 8027A5D4 00277514 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A5D8 00277518 4E 80 00 20 */ blr - -.global exec__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase -exec__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase: -/* 8027A5DC 0027751C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A5E0 00277520 7C 08 02 A6 */ mflr r0 -/* 8027A5E4 00277524 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A5E8 00277528 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 8027A5EC 0027752C 88 05 00 24 */ lbz r0, 0x24(r5) -/* 8027A5F0 00277530 28 00 00 00 */ cmplwi r0, 0 -/* 8027A5F4 00277534 41 82 00 28 */ beq lbl_8027A61C -/* 8027A5F8 00277538 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8027A5FC 0027753C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8027A600 00277540 40 82 00 1C */ bne lbl_8027A61C -/* 8027A604 00277544 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A608 00277548 38 A0 00 02 */ li r5, 2 -/* 8027A60C 0027754C 38 C0 00 00 */ li r6, 0 -/* 8027A610 00277550 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027A614 00277554 7D 89 03 A6 */ mtctr r12 -/* 8027A618 00277558 4E 80 04 21 */ bctrl -lbl_8027A61C: -/* 8027A61C 0027755C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A620 00277560 7C 08 03 A6 */ mtlr r0 -/* 8027A624 00277564 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A628 00277568 4E 80 00 20 */ blr - -.global cleanup__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase -cleanup__Q34Game7ElecBug11StateReturnFPQ24Game9EnemyBase: -/* 8027A62C 0027756C 4E 80 00 20 */ blr - -.global __ml__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1Fv -__ml__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1Fv: -/* 8027A630 00277570 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A634 00277574 7C 08 02 A6 */ mflr r0 -/* 8027A638 00277578 7C 64 1B 78 */ mr r4, r3 -/* 8027A63C 0027757C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A640 00277580 80 63 00 08 */ lwz r3, 8(r3) -/* 8027A644 00277584 80 84 00 04 */ lwz r4, 4(r4) -/* 8027A648 00277588 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A64C 0027758C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027A650 00277590 7D 89 03 A6 */ mtctr r12 -/* 8027A654 00277594 4E 80 04 21 */ bctrl -/* 8027A658 00277598 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A65C 0027759C 7C 08 03 A6 */ mtlr r0 -/* 8027A660 002775A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A664 002775A4 4E 80 00 20 */ blr - -.global next__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1Fv -next__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1Fv: -/* 8027A668 002775A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A66C 002775AC 7C 08 02 A6 */ mflr r0 -/* 8027A670 002775B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A674 002775B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A678 002775B8 7C 7F 1B 78 */ mr r31, r3 -/* 8027A67C 002775BC 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8027A680 002775C0 28 00 00 00 */ cmplwi r0, 0 -/* 8027A684 002775C4 40 82 00 24 */ bne lbl_8027A6A8 -/* 8027A688 002775C8 80 7F 00 08 */ lwz r3, 8(r31) -/* 8027A68C 002775CC 80 9F 00 04 */ lwz r4, 4(r31) -/* 8027A690 002775D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A694 002775D4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027A698 002775D8 7D 89 03 A6 */ mtctr r12 -/* 8027A69C 002775DC 4E 80 04 21 */ bctrl -/* 8027A6A0 002775E0 90 7F 00 04 */ stw r3, 4(r31) -/* 8027A6A4 002775E4 48 00 00 94 */ b lbl_8027A738 -lbl_8027A6A8: -/* 8027A6A8 002775E8 80 7F 00 08 */ lwz r3, 8(r31) -/* 8027A6AC 002775EC 80 9F 00 04 */ lwz r4, 4(r31) -/* 8027A6B0 002775F0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A6B4 002775F4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027A6B8 002775F8 7D 89 03 A6 */ mtctr r12 -/* 8027A6BC 002775FC 4E 80 04 21 */ bctrl -/* 8027A6C0 00277600 90 7F 00 04 */ stw r3, 4(r31) -/* 8027A6C4 00277604 48 00 00 58 */ b lbl_8027A71C -lbl_8027A6C8: -/* 8027A6C8 00277608 80 7F 00 08 */ lwz r3, 8(r31) -/* 8027A6CC 0027760C 80 9F 00 04 */ lwz r4, 4(r31) -/* 8027A6D0 00277610 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A6D4 00277614 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027A6D8 00277618 7D 89 03 A6 */ mtctr r12 -/* 8027A6DC 0027761C 4E 80 04 21 */ bctrl -/* 8027A6E0 00277620 7C 64 1B 78 */ mr r4, r3 -/* 8027A6E4 00277624 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8027A6E8 00277628 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A6EC 0027762C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027A6F0 00277630 7D 89 03 A6 */ mtctr r12 -/* 8027A6F4 00277634 4E 80 04 21 */ bctrl -/* 8027A6F8 00277638 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027A6FC 0027763C 40 82 00 3C */ bne lbl_8027A738 -/* 8027A700 00277640 80 7F 00 08 */ lwz r3, 8(r31) -/* 8027A704 00277644 80 9F 00 04 */ lwz r4, 4(r31) -/* 8027A708 00277648 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A70C 0027764C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027A710 00277650 7D 89 03 A6 */ mtctr r12 -/* 8027A714 00277654 4E 80 04 21 */ bctrl -/* 8027A718 00277658 90 7F 00 04 */ stw r3, 4(r31) -lbl_8027A71C: -/* 8027A71C 0027765C 7F E3 FB 78 */ mr r3, r31 -/* 8027A720 00277660 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027A724 00277664 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027A728 00277668 7D 89 03 A6 */ mtctr r12 -/* 8027A72C 0027766C 4E 80 04 21 */ bctrl -/* 8027A730 00277670 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027A734 00277674 41 82 FF 94 */ beq lbl_8027A6C8 -lbl_8027A738: -/* 8027A738 00277678 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A73C 0027767C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A740 00277680 7C 08 03 A6 */ mtlr r0 -/* 8027A744 00277684 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A748 00277688 4E 80 00 20 */ blr - -.global first__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1Fv -first__Q24Game34EnemyIterator$$0Q34Game7ElecBug3Obj$$1Fv: -/* 8027A74C 0027768C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A750 00277690 7C 08 02 A6 */ mflr r0 -/* 8027A754 00277694 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A758 00277698 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A75C 0027769C 7C 7F 1B 78 */ mr r31, r3 -/* 8027A760 002776A0 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8027A764 002776A4 28 00 00 00 */ cmplwi r0, 0 -/* 8027A768 002776A8 40 82 00 20 */ bne lbl_8027A788 -/* 8027A76C 002776AC 80 7F 00 08 */ lwz r3, 8(r31) -/* 8027A770 002776B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A774 002776B4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027A778 002776B8 7D 89 03 A6 */ mtctr r12 -/* 8027A77C 002776BC 4E 80 04 21 */ bctrl -/* 8027A780 002776C0 90 7F 00 04 */ stw r3, 4(r31) -/* 8027A784 002776C4 48 00 00 90 */ b lbl_8027A814 -lbl_8027A788: -/* 8027A788 002776C8 80 7F 00 08 */ lwz r3, 8(r31) -/* 8027A78C 002776CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A790 002776D0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027A794 002776D4 7D 89 03 A6 */ mtctr r12 -/* 8027A798 002776D8 4E 80 04 21 */ bctrl -/* 8027A79C 002776DC 90 7F 00 04 */ stw r3, 4(r31) -/* 8027A7A0 002776E0 48 00 00 58 */ b lbl_8027A7F8 -lbl_8027A7A4: -/* 8027A7A4 002776E4 80 7F 00 08 */ lwz r3, 8(r31) -/* 8027A7A8 002776E8 80 9F 00 04 */ lwz r4, 4(r31) -/* 8027A7AC 002776EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A7B0 002776F0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027A7B4 002776F4 7D 89 03 A6 */ mtctr r12 -/* 8027A7B8 002776F8 4E 80 04 21 */ bctrl -/* 8027A7BC 002776FC 7C 64 1B 78 */ mr r4, r3 -/* 8027A7C0 00277700 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8027A7C4 00277704 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A7C8 00277708 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027A7CC 0027770C 7D 89 03 A6 */ mtctr r12 -/* 8027A7D0 00277710 4E 80 04 21 */ bctrl -/* 8027A7D4 00277714 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027A7D8 00277718 40 82 00 3C */ bne lbl_8027A814 -/* 8027A7DC 0027771C 80 7F 00 08 */ lwz r3, 8(r31) -/* 8027A7E0 00277720 80 9F 00 04 */ lwz r4, 4(r31) -/* 8027A7E4 00277724 81 83 00 00 */ lwz r12, 0(r3) -/* 8027A7E8 00277728 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027A7EC 0027772C 7D 89 03 A6 */ mtctr r12 -/* 8027A7F0 00277730 4E 80 04 21 */ bctrl -/* 8027A7F4 00277734 90 7F 00 04 */ stw r3, 4(r31) -lbl_8027A7F8: -/* 8027A7F8 00277738 7F E3 FB 78 */ mr r3, r31 -/* 8027A7FC 0027773C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027A800 00277740 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027A804 00277744 7D 89 03 A6 */ mtctr r12 -/* 8027A808 00277748 4E 80 04 21 */ bctrl -/* 8027A80C 0027774C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027A810 00277750 41 82 FF 94 */ beq lbl_8027A7A4 -lbl_8027A814: -/* 8027A814 00277754 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A818 00277758 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A81C 0027775C 7C 08 03 A6 */ mtlr r0 -/* 8027A820 00277760 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A824 00277764 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game7ElecBug14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game7ElecBug14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8027A828 00277768 90 83 00 20 */ stw r4, 0x20(r3) -/* 8027A82C 0027776C 4E 80 00 20 */ blr - -.global getAnimator__Q34Game7ElecBug14ProperAnimatorFi -getAnimator__Q34Game7ElecBug14ProperAnimatorFi: -/* 8027A830 00277770 38 63 00 10 */ addi r3, r3, 0x10 -/* 8027A834 00277774 4E 80 00 20 */ blr - -.global __dt__Q34Game7ElecBug14ProperAnimatorFv -__dt__Q34Game7ElecBug14ProperAnimatorFv: -/* 8027A838 00277778 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A83C 0027777C 7C 08 02 A6 */ mflr r0 -/* 8027A840 00277780 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A844 00277784 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A848 00277788 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8027A84C 0027778C 41 82 00 30 */ beq lbl_8027A87C -/* 8027A850 00277790 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug14ProperAnimator@ha -/* 8027A854 00277794 38 03 7A 00 */ addi r0, r3, __vt__Q34Game7ElecBug14ProperAnimator@l -/* 8027A858 00277798 90 1F 00 00 */ stw r0, 0(r31) -/* 8027A85C 0027779C 41 82 00 10 */ beq lbl_8027A86C -/* 8027A860 002777A0 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 8027A864 002777A4 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 8027A868 002777A8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8027A86C: -/* 8027A86C 002777AC 7C 80 07 35 */ extsh. r0, r4 -/* 8027A870 002777B0 40 81 00 0C */ ble lbl_8027A87C -/* 8027A874 002777B4 7F E3 FB 78 */ mr r3, r31 -/* 8027A878 002777B8 4B DA 98 3D */ bl __dl__FPv -lbl_8027A87C: -/* 8027A87C 002777BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A880 002777C0 7F E3 FB 78 */ mr r3, r31 -/* 8027A884 002777C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A888 002777C8 7C 08 03 A6 */ mtlr r0 -/* 8027A88C 002777CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A890 002777D0 4E 80 00 20 */ blr - -.global getAnimator__Q34Game7ElecBug14ProperAnimatorFv -getAnimator__Q34Game7ElecBug14ProperAnimatorFv: -/* 8027A894 002777D4 38 63 00 10 */ addi r3, r3, 0x10 -/* 8027A898 002777D8 4E 80 00 20 */ blr - -.global __ct__Q34Game7ElecBug3MgrFiUc -__ct__Q34Game7ElecBug3MgrFiUc: -/* 8027A89C 002777DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A8A0 002777E0 7C 08 02 A6 */ mflr r0 -/* 8027A8A4 002777E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A8A8 002777E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A8AC 002777EC 7C 7F 1B 78 */ mr r31, r3 -/* 8027A8B0 002777F0 4B EB 43 E5 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8027A8B4 002777F4 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug3Mgr@ha -/* 8027A8B8 002777F8 3C 80 80 48 */ lis r4, lbl_80486D70@ha -/* 8027A8BC 002777FC 38 A3 7A 34 */ addi r5, r3, __vt__Q34Game7ElecBug3Mgr@l -/* 8027A8C0 00277800 7F E3 FB 78 */ mr r3, r31 -/* 8027A8C4 00277804 90 BF 00 00 */ stw r5, 0(r31) -/* 8027A8C8 00277808 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8027A8CC 0027780C 38 04 6D 70 */ addi r0, r4, lbl_80486D70@l -/* 8027A8D0 00277810 90 BF 00 04 */ stw r5, 4(r31) -/* 8027A8D4 00277814 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8027A8D8 00277818 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A8DC 0027781C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A8E0 00277820 7C 08 03 A6 */ mtlr r0 -/* 8027A8E4 00277824 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A8E8 00277828 4E 80 00 20 */ blr - -.global doAlloc__Q34Game7ElecBug3MgrFv -doAlloc__Q34Game7ElecBug3MgrFv: -/* 8027A8EC 0027782C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A8F0 00277830 7C 08 02 A6 */ mflr r0 -/* 8027A8F4 00277834 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A8F8 00277838 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A8FC 0027783C 7C 7F 1B 78 */ mr r31, r3 -/* 8027A900 00277840 38 60 08 80 */ li r3, 0x880 -/* 8027A904 00277844 4B DA 95 A1 */ bl __nw__FUl -/* 8027A908 00277848 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027A90C 0027784C 41 82 00 0C */ beq lbl_8027A918 -/* 8027A910 00277850 48 00 00 25 */ bl __ct__Q34Game7ElecBug5ParmsFv -/* 8027A914 00277854 7C 64 1B 78 */ mr r4, r3 -lbl_8027A918: -/* 8027A918 00277858 7F E3 FB 78 */ mr r3, r31 -/* 8027A91C 0027785C 4B EB 4F 81 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8027A920 00277860 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027A924 00277864 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027A928 00277868 7C 08 03 A6 */ mtlr r0 -/* 8027A92C 0027786C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027A930 00277870 4E 80 00 20 */ blr - -.global __ct__Q34Game7ElecBug5ParmsFv -__ct__Q34Game7ElecBug5ParmsFv: -/* 8027A934 00277874 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027A938 00277878 7C 08 02 A6 */ mflr r0 -/* 8027A93C 0027787C 3C 80 80 48 */ lis r4, lbl_80486D60@ha -/* 8027A940 00277880 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027A944 00277884 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027A948 00277888 3B E4 6D 60 */ addi r31, r4, lbl_80486D60@l -/* 8027A94C 0027788C 93 C1 00 08 */ stw r30, 8(r1) -/* 8027A950 00277890 7C 7E 1B 78 */ mr r30, r3 -/* 8027A954 00277894 4B E8 EE 49 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8027A958 00277898 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug5Parms@ha -/* 8027A95C 0027789C 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8027A960 002778A0 38 03 7A 28 */ addi r0, r3, __vt__Q34Game7ElecBug5Parms@l -/* 8027A964 002778A4 38 9E 08 7C */ addi r4, r30, 0x87c -/* 8027A968 002778A8 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 8027A96C 002778AC 38 E0 00 00 */ li r7, 0 -/* 8027A970 002778B0 38 1F 00 28 */ addi r0, r31, 0x28 -/* 8027A974 002778B4 38 7E 08 04 */ addi r3, r30, 0x804 -/* 8027A978 002778B8 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 8027A97C 002778BC 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8027A980 002778C0 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 8027A984 002778C4 38 DF 00 38 */ addi r6, r31, 0x38 -/* 8027A988 002778C8 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 8027A98C 002778CC 90 1E 08 00 */ stw r0, 0x800(r30) -/* 8027A990 002778D0 48 19 8C C9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027A994 002778D4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027A998 002778D8 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 8027A99C 002778DC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8027A9A0 002778E0 C0 02 D1 68 */ lfs f0, lbl_8051B4C8@sda21(r2) -/* 8027A9A4 002778E4 90 1E 08 04 */ stw r0, 0x804(r30) -/* 8027A9A8 002778E8 38 7E 08 2C */ addi r3, r30, 0x82c -/* 8027A9AC 002778EC C0 22 D1 6C */ lfs f1, lbl_8051B4CC@sda21(r2) -/* 8027A9B0 002778F0 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8027A9B4 002778F4 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 8027A9B8 002778F8 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 8027A9BC 002778FC C0 02 D1 70 */ lfs f0, lbl_8051B4D0@sda21(r2) -/* 8027A9C0 00277900 38 DF 00 4C */ addi r6, r31, 0x4c -/* 8027A9C4 00277904 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 8027A9C8 00277908 D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 8027A9CC 0027790C 48 19 8C 8D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027A9D0 00277910 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027A9D4 00277914 3C A0 66 70 */ lis r5, 0x66703131@ha -/* 8027A9D8 00277918 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8027A9DC 0027791C C0 02 D1 74 */ lfs f0, lbl_8051B4D4@sda21(r2) -/* 8027A9E0 00277920 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 8027A9E4 00277924 38 7E 08 54 */ addi r3, r30, 0x854 -/* 8027A9E8 00277928 C0 22 D1 6C */ lfs f1, lbl_8051B4CC@sda21(r2) -/* 8027A9EC 0027792C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8027A9F0 00277930 D0 1E 08 44 */ stfs f0, 0x844(r30) -/* 8027A9F4 00277934 38 A5 31 31 */ addi r5, r5, 0x66703131@l -/* 8027A9F8 00277938 C0 02 D1 70 */ lfs f0, lbl_8051B4D0@sda21(r2) -/* 8027A9FC 0027793C 38 DF 00 5C */ addi r6, r31, 0x5c -/* 8027AA00 00277940 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 8027AA04 00277944 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 8027AA08 00277948 48 19 8C 51 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027AA0C 0027794C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027AA10 00277950 C0 42 D1 78 */ lfs f2, lbl_8051B4D8@sda21(r2) -/* 8027AA14 00277954 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8027AA18 00277958 C0 22 D1 6C */ lfs f1, lbl_8051B4CC@sda21(r2) -/* 8027AA1C 0027795C 90 1E 08 54 */ stw r0, 0x854(r30) -/* 8027AA20 00277960 7F C3 F3 78 */ mr r3, r30 -/* 8027AA24 00277964 C0 02 D1 70 */ lfs f0, lbl_8051B4D0@sda21(r2) -/* 8027AA28 00277968 D0 5E 08 6C */ stfs f2, 0x86c(r30) -/* 8027AA2C 0027796C D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 8027AA30 00277970 D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 8027AA34 00277974 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027AA38 00277978 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027AA3C 0027797C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AA40 00277980 7C 08 03 A6 */ mtlr r0 -/* 8027AA44 00277984 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AA48 00277988 4E 80 00 20 */ blr - -.global createObj__Q34Game7ElecBug3MgrFi -createObj__Q34Game7ElecBug3MgrFi: -/* 8027AA4C 0027798C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AA50 00277990 7C 08 02 A6 */ mflr r0 -/* 8027AA54 00277994 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AA58 00277998 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027AA5C 0027799C 7C 9F 23 78 */ mr r31, r4 -/* 8027AA60 002779A0 93 C1 00 08 */ stw r30, 8(r1) -/* 8027AA64 002779A4 7C 7E 1B 78 */ mr r30, r3 -/* 8027AA68 002779A8 1C 7F 02 F0 */ mulli r3, r31, 0x2f0 -/* 8027AA6C 002779AC 38 63 00 10 */ addi r3, r3, 0x10 -/* 8027AA70 002779B0 4B DA 95 3D */ bl __nwa__FUl -/* 8027AA74 002779B4 3C 80 80 28 */ lis r4, __ct__Q34Game7ElecBug3ObjFv@ha -/* 8027AA78 002779B8 3C A0 80 28 */ lis r5, __dt__Q34Game7ElecBug3ObjFv@ha -/* 8027AA7C 002779BC 38 84 AC 88 */ addi r4, r4, __ct__Q34Game7ElecBug3ObjFv@l -/* 8027AA80 002779C0 7F E7 FB 78 */ mr r7, r31 -/* 8027AA84 002779C4 38 A5 AA AC */ addi r5, r5, __dt__Q34Game7ElecBug3ObjFv@l -/* 8027AA88 002779C8 38 C0 02 F0 */ li r6, 0x2f0 -/* 8027AA8C 002779CC 4B E4 6F 65 */ bl __construct_new_array -/* 8027AA90 002779D0 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8027AA94 002779D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AA98 002779D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027AA9C 002779DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027AAA0 002779E0 7C 08 03 A6 */ mtlr r0 -/* 8027AAA4 002779E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AAA8 002779E8 4E 80 00 20 */ blr - -.global __dt__Q34Game7ElecBug3ObjFv -__dt__Q34Game7ElecBug3ObjFv: -/* 8027AAAC 002779EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AAB0 002779F0 7C 08 02 A6 */ mflr r0 -/* 8027AAB4 002779F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AAB8 002779F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027AABC 002779FC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8027AAC0 00277A00 93 C1 00 08 */ stw r30, 8(r1) -/* 8027AAC4 00277A04 7C 9E 23 78 */ mr r30, r4 -/* 8027AAC8 00277A08 41 82 00 84 */ beq lbl_8027AB4C -/* 8027AACC 00277A0C 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug3Obj@ha -/* 8027AAD0 00277A10 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 8027AAD4 00277A14 38 83 7B B0 */ addi r4, r3, __vt__Q34Game7ElecBug3Obj@l -/* 8027AAD8 00277A18 90 9F 00 00 */ stw r4, 0(r31) -/* 8027AADC 00277A1C 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8027AAE0 00277A20 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8027AAE4 00277A24 90 7F 01 78 */ stw r3, 0x178(r31) -/* 8027AAE8 00277A28 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8027AAEC 00277A2C 90 83 00 00 */ stw r4, 0(r3) -/* 8027AAF0 00277A30 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8027AAF4 00277A34 7C 03 00 50 */ subf r0, r3, r0 -/* 8027AAF8 00277A38 90 03 00 0C */ stw r0, 0xc(r3) -/* 8027AAFC 00277A3C 41 82 00 40 */ beq lbl_8027AB3C -/* 8027AB00 00277A40 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8027AB04 00277A44 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 8027AB08 00277A48 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8027AB0C 00277A4C 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8027AB10 00277A50 90 9F 00 00 */ stw r4, 0(r31) -/* 8027AB14 00277A54 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8027AB18 00277A58 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8027AB1C 00277A5C 38 80 FF FF */ li r4, -1 -/* 8027AB20 00277A60 90 BF 01 78 */ stw r5, 0x178(r31) -/* 8027AB24 00277A64 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8027AB28 00277A68 90 C5 00 00 */ stw r6, 0(r5) -/* 8027AB2C 00277A6C 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8027AB30 00277A70 7C 05 00 50 */ subf r0, r5, r0 -/* 8027AB34 00277A74 90 05 00 0C */ stw r0, 0xc(r5) -/* 8027AB38 00277A78 48 19 6A 51 */ bl __dt__5CNodeFv -lbl_8027AB3C: -/* 8027AB3C 00277A7C 7F C0 07 35 */ extsh. r0, r30 -/* 8027AB40 00277A80 40 81 00 0C */ ble lbl_8027AB4C -/* 8027AB44 00277A84 7F E3 FB 78 */ mr r3, r31 -/* 8027AB48 00277A88 4B DA 95 6D */ bl __dl__FPv -lbl_8027AB4C: -/* 8027AB4C 00277A8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AB50 00277A90 7F E3 FB 78 */ mr r3, r31 -/* 8027AB54 00277A94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027AB58 00277A98 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027AB5C 00277A9C 7C 08 03 A6 */ mtlr r0 -/* 8027AB60 00277AA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AB64 00277AA4 4E 80 00 20 */ blr - -.global getEnemy__Q34Game7ElecBug3MgrFi -getEnemy__Q34Game7ElecBug3MgrFi: -/* 8027AB68 00277AA8 1C 04 02 F0 */ mulli r0, r4, 0x2f0 -/* 8027AB6C 00277AAC 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8027AB70 00277AB0 7C 63 02 14 */ add r3, r3, r0 -/* 8027AB74 00277AB4 4E 80 00 20 */ blr - -.global read__Q34Game7ElecBug5ParmsFR6Stream -read__Q34Game7ElecBug5ParmsFR6Stream: -/* 8027AB78 00277AB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AB7C 00277ABC 7C 08 02 A6 */ mflr r0 -/* 8027AB80 00277AC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AB84 00277AC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027AB88 00277AC8 7C 9F 23 78 */ mr r31, r4 -/* 8027AB8C 00277ACC 93 C1 00 08 */ stw r30, 8(r1) -/* 8027AB90 00277AD0 7C 7E 1B 78 */ mr r30, r3 -/* 8027AB94 00277AD4 48 19 8C 61 */ bl read__10ParametersFR6Stream -/* 8027AB98 00277AD8 7F E4 FB 78 */ mr r4, r31 -/* 8027AB9C 00277ADC 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8027ABA0 00277AE0 48 19 8C 55 */ bl read__10ParametersFR6Stream -/* 8027ABA4 00277AE4 7F E4 FB 78 */ mr r4, r31 -/* 8027ABA8 00277AE8 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8027ABAC 00277AEC 48 19 8C 49 */ bl read__10ParametersFR6Stream -/* 8027ABB0 00277AF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027ABB4 00277AF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027ABB8 00277AF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027ABBC 00277AFC 7C 08 03 A6 */ mtlr r0 -/* 8027ABC0 00277B00 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027ABC4 00277B04 4E 80 00 20 */ blr - -.global __dt__Q34Game7ElecBug3MgrFv -__dt__Q34Game7ElecBug3MgrFv: -/* 8027ABC8 00277B08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027ABCC 00277B0C 7C 08 02 A6 */ mflr r0 -/* 8027ABD0 00277B10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027ABD4 00277B14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027ABD8 00277B18 7C 9F 23 78 */ mr r31, r4 -/* 8027ABDC 00277B1C 93 C1 00 08 */ stw r30, 8(r1) -/* 8027ABE0 00277B20 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027ABE4 00277B24 41 82 00 78 */ beq lbl_8027AC5C -/* 8027ABE8 00277B28 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug3Mgr@ha -/* 8027ABEC 00277B2C 38 63 7A 34 */ addi r3, r3, __vt__Q34Game7ElecBug3Mgr@l -/* 8027ABF0 00277B30 90 7E 00 00 */ stw r3, 0(r30) -/* 8027ABF4 00277B34 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027ABF8 00277B38 90 1E 00 04 */ stw r0, 4(r30) -/* 8027ABFC 00277B3C 41 82 00 50 */ beq lbl_8027AC4C -/* 8027AC00 00277B40 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8027AC04 00277B44 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8027AC08 00277B48 90 7E 00 00 */ stw r3, 0(r30) -/* 8027AC0C 00277B4C 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027AC10 00277B50 90 1E 00 04 */ stw r0, 4(r30) -/* 8027AC14 00277B54 41 82 00 38 */ beq lbl_8027AC4C -/* 8027AC18 00277B58 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8027AC1C 00277B5C 34 1E 00 04 */ addic. r0, r30, 4 -/* 8027AC20 00277B60 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8027AC24 00277B64 90 7E 00 00 */ stw r3, 0(r30) -/* 8027AC28 00277B68 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027AC2C 00277B6C 90 1E 00 04 */ stw r0, 4(r30) -/* 8027AC30 00277B70 41 82 00 1C */ beq lbl_8027AC4C -/* 8027AC34 00277B74 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8027AC38 00277B78 38 7E 00 04 */ addi r3, r30, 4 -/* 8027AC3C 00277B7C 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8027AC40 00277B80 38 80 00 00 */ li r4, 0 -/* 8027AC44 00277B84 90 1E 00 04 */ stw r0, 4(r30) -/* 8027AC48 00277B88 48 19 69 41 */ bl __dt__5CNodeFv -lbl_8027AC4C: -/* 8027AC4C 00277B8C 7F E0 07 35 */ extsh. r0, r31 -/* 8027AC50 00277B90 40 81 00 0C */ ble lbl_8027AC5C -/* 8027AC54 00277B94 7F C3 F3 78 */ mr r3, r30 -/* 8027AC58 00277B98 4B DA 94 5D */ bl __dl__FPv -lbl_8027AC5C: -/* 8027AC5C 00277B9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AC60 00277BA0 7F C3 F3 78 */ mr r3, r30 -/* 8027AC64 00277BA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027AC68 00277BA8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027AC6C 00277BAC 7C 08 03 A6 */ mtlr r0 -/* 8027AC70 00277BB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AC74 00277BB4 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7ElecBug3MgrFv -getEnemyTypeID__Q34Game7ElecBug3MgrFv: -/* 8027AC78 00277BB8 38 60 00 1C */ li r3, 0x1c -/* 8027AC7C 00277BBC 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game7ElecBug3MgrFv -$$24$$2__dt__Q34Game7ElecBug3MgrFv: -/* 8027AC80 00277BC0 38 63 FF FC */ addi r3, r3, -4 -/* 8027AC84 00277BC4 4B FF FF 44 */ b __dt__Q34Game7ElecBug3MgrFv - -.global __ct__Q34Game7ElecBug3ObjFv -__ct__Q34Game7ElecBug3ObjFv: -/* 8027AC88 00277BC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AC8C 00277BCC 7C 08 02 A6 */ mflr r0 -/* 8027AC90 00277BD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AC94 00277BD4 7C 80 07 35 */ extsh. r0, r4 -/* 8027AC98 00277BD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027AC9C 00277BDC 7C 7F 1B 78 */ mr r31, r3 -/* 8027ACA0 00277BE0 93 C1 00 08 */ stw r30, 8(r1) -/* 8027ACA4 00277BE4 41 82 00 24 */ beq lbl_8027ACC8 -/* 8027ACA8 00277BE8 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 8027ACAC 00277BEC 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8027ACB0 00277BF0 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8027ACB4 00277BF4 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8027ACB8 00277BF8 38 00 00 00 */ li r0, 0 -/* 8027ACBC 00277BFC 90 7F 02 E0 */ stw r3, 0x2e0(r31) -/* 8027ACC0 00277C00 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8027ACC4 00277C04 90 1F 02 E8 */ stw r0, 0x2e8(r31) -lbl_8027ACC8: -/* 8027ACC8 00277C08 7F E3 FB 78 */ mr r3, r31 -/* 8027ACCC 00277C0C 38 80 00 00 */ li r4, 0 -/* 8027ACD0 00277C10 4B E8 66 D1 */ bl __ct__Q24Game9EnemyBaseFv -/* 8027ACD4 00277C14 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug3Obj@ha -/* 8027ACD8 00277C18 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 8027ACDC 00277C1C 38 A3 7B B0 */ addi r5, r3, __vt__Q34Game7ElecBug3Obj@l -/* 8027ACE0 00277C20 38 60 00 2C */ li r3, 0x2c -/* 8027ACE4 00277C24 90 BF 00 00 */ stw r5, 0(r31) -/* 8027ACE8 00277C28 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8027ACEC 00277C2C 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 8027ACF0 00277C30 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8027ACF4 00277C34 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027ACF8 00277C38 90 A4 00 00 */ stw r5, 0(r4) -/* 8027ACFC 00277C3C 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027AD00 00277C40 7C 04 00 50 */ subf r0, r4, r0 -/* 8027AD04 00277C44 90 04 00 0C */ stw r0, 0xc(r4) -/* 8027AD08 00277C48 4B DA 91 9D */ bl __nw__FUl -/* 8027AD0C 00277C4C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027AD10 00277C50 41 82 00 44 */ beq lbl_8027AD54 -/* 8027AD14 00277C54 4B EA CC 61 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8027AD18 00277C58 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug14ProperAnimator@ha -/* 8027AD1C 00277C5C 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8027AD20 00277C60 38 03 7A 00 */ addi r0, r3, __vt__Q34Game7ElecBug14ProperAnimator@l -/* 8027AD24 00277C64 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8027AD28 00277C68 90 1E 00 00 */ stw r0, 0(r30) -/* 8027AD2C 00277C6C 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8027AD30 00277C70 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8027AD34 00277C74 38 00 00 00 */ li r0, 0 -/* 8027AD38 00277C78 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8027AD3C 00277C7C 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8027AD40 00277C80 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8027AD44 00277C84 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8027AD48 00277C88 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8027AD4C 00277C8C 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8027AD50 00277C90 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8027AD54: -/* 8027AD54 00277C94 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8027AD58 00277C98 38 60 00 1C */ li r3, 0x1c -/* 8027AD5C 00277C9C 4B DA 91 49 */ bl __nw__FUl -/* 8027AD60 00277CA0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027AD64 00277CA4 41 82 00 24 */ beq lbl_8027AD88 -/* 8027AD68 00277CA8 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8027AD6C 00277CAC 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug3FSM@ha -/* 8027AD70 00277CB0 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8027AD74 00277CB4 38 A0 FF FF */ li r5, -1 -/* 8027AD78 00277CB8 90 04 00 00 */ stw r0, 0(r4) -/* 8027AD7C 00277CBC 38 03 79 DC */ addi r0, r3, __vt__Q34Game7ElecBug3FSM@l -/* 8027AD80 00277CC0 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8027AD84 00277CC4 90 04 00 00 */ stw r0, 0(r4) -lbl_8027AD88: -/* 8027AD88 00277CC8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027AD8C 00277CCC 7F E3 FB 78 */ mr r3, r31 -/* 8027AD90 00277CD0 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8027AD94 00277CD4 7D 89 03 A6 */ mtctr r12 -/* 8027AD98 00277CD8 4E 80 04 21 */ bctrl -/* 8027AD9C 00277CDC 7F E3 FB 78 */ mr r3, r31 -/* 8027ADA0 00277CE0 48 00 0A C5 */ bl createEffect__Q34Game7ElecBug3ObjFv -/* 8027ADA4 00277CE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027ADA8 00277CE8 7F E3 FB 78 */ mr r3, r31 -/* 8027ADAC 00277CEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027ADB0 00277CF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027ADB4 00277CF4 7C 08 03 A6 */ mtlr r0 -/* 8027ADB8 00277CF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027ADBC 00277CFC 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game7ElecBug3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game7ElecBug3ObjFPQ24Game21EnemyInitialParamBase: -/* 8027ADC0 00277D00 4E 80 00 20 */ blr - -.global onInit__Q34Game7ElecBug3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game7ElecBug3ObjFPQ24Game15CreatureInitArg: -/* 8027ADC4 00277D04 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027ADC8 00277D08 7C 08 02 A6 */ mflr r0 -/* 8027ADCC 00277D0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027ADD0 00277D10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027ADD4 00277D14 7C 7F 1B 78 */ mr r31, r3 -/* 8027ADD8 00277D18 4B E8 6C 81 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8027ADDC 00277D1C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8027ADE0 00277D20 60 00 00 01 */ ori r0, r0, 1 -/* 8027ADE4 00277D24 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8027ADE8 00277D28 4B E4 E7 B9 */ bl rand -/* 8027ADEC 00277D2C 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8027ADF0 00277D30 3C 80 43 30 */ lis r4, 0x4330 -/* 8027ADF4 00277D34 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027ADF8 00277D38 38 00 00 00 */ li r0, 0 -/* 8027ADFC 00277D3C C8 62 D1 90 */ lfd f3, lbl_8051B4F0@sda21(r2) -/* 8027AE00 00277D40 7F E3 FB 78 */ mr r3, r31 -/* 8027AE04 00277D44 90 81 00 08 */ stw r4, 8(r1) -/* 8027AE08 00277D48 C0 42 D1 80 */ lfs f2, lbl_8051B4E0@sda21(r2) -/* 8027AE0C 00277D4C C8 01 00 08 */ lfd f0, 8(r1) -/* 8027AE10 00277D50 C0 22 D1 84 */ lfs f1, lbl_8051B4E4@sda21(r2) -/* 8027AE14 00277D54 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8027AE18 00277D58 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2) -/* 8027AE1C 00277D5C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8027AE20 00277D60 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8027AE24 00277D64 D0 3F 02 C0 */ stfs f1, 0x2c0(r31) -/* 8027AE28 00277D68 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8027AE2C 00277D6C 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 8027AE30 00277D70 48 00 0E 21 */ bl setupEffect__Q34Game7ElecBug3ObjFv -/* 8027AE34 00277D74 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8027AE38 00277D78 7F E4 FB 78 */ mr r4, r31 -/* 8027AE3C 00277D7C 38 A0 00 02 */ li r5, 2 -/* 8027AE40 00277D80 38 C0 00 00 */ li r6, 0 -/* 8027AE44 00277D84 81 83 00 00 */ lwz r12, 0(r3) -/* 8027AE48 00277D88 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027AE4C 00277D8C 7D 89 03 A6 */ mtctr r12 -/* 8027AE50 00277D90 4E 80 04 21 */ bctrl -/* 8027AE54 00277D94 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027AE58 00277D98 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027AE5C 00277D9C 7C 08 03 A6 */ mtlr r0 -/* 8027AE60 00277DA0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027AE64 00277DA4 4E 80 00 20 */ blr - -.global onKill__Q34Game7ElecBug3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game7ElecBug3ObjFPQ24Game15CreatureKillArg: -/* 8027AE68 00277DA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AE6C 00277DAC 7C 08 02 A6 */ mflr r0 -/* 8027AE70 00277DB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AE74 00277DB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027AE78 00277DB8 7C 9F 23 78 */ mr r31, r4 -/* 8027AE7C 00277DBC 93 C1 00 08 */ stw r30, 8(r1) -/* 8027AE80 00277DC0 7C 7E 1B 78 */ mr r30, r3 -/* 8027AE84 00277DC4 48 00 0E DD */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 8027AE88 00277DC8 7F C3 F3 78 */ mr r3, r30 -/* 8027AE8C 00277DCC 7F E4 FB 78 */ mr r4, r31 -/* 8027AE90 00277DD0 4B E8 70 59 */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 8027AE94 00277DD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AE98 00277DD8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027AE9C 00277DDC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027AEA0 00277DE0 7C 08 03 A6 */ mtlr r0 -/* 8027AEA4 00277DE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AEA8 00277DE8 4E 80 00 20 */ blr - -.global doUpdate__Q34Game7ElecBug3ObjFv -doUpdate__Q34Game7ElecBug3ObjFv: -/* 8027AEAC 00277DEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AEB0 00277DF0 7C 08 02 A6 */ mflr r0 -/* 8027AEB4 00277DF4 7C 64 1B 78 */ mr r4, r3 -/* 8027AEB8 00277DF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AEBC 00277DFC 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 8027AEC0 00277E00 C0 23 02 C0 */ lfs f1, 0x2c0(r3) -/* 8027AEC4 00277E04 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 8027AEC8 00277E08 EC 01 00 2A */ fadds f0, f1, f0 -/* 8027AECC 00277E0C D0 03 02 C0 */ stfs f0, 0x2c0(r3) -/* 8027AED0 00277E10 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8027AED4 00277E14 81 83 00 00 */ lwz r12, 0(r3) -/* 8027AED8 00277E18 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027AEDC 00277E1C 7D 89 03 A6 */ mtctr r12 -/* 8027AEE0 00277E20 4E 80 04 21 */ bctrl -/* 8027AEE4 00277E24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AEE8 00277E28 7C 08 03 A6 */ mtlr r0 -/* 8027AEEC 00277E2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AEF0 00277E30 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game7ElecBug3ObjFR8Graphics -doDirectDraw__Q34Game7ElecBug3ObjFR8Graphics: -/* 8027AEF4 00277E34 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game7ElecBug3ObjFR8Graphics -doDebugDraw__Q34Game7ElecBug3ObjFR8Graphics: -/* 8027AEF8 00277E38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AEFC 00277E3C 7C 08 02 A6 */ mflr r0 -/* 8027AF00 00277E40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AF04 00277E44 4B E8 AF 69 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8027AF08 00277E48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AF0C 00277E4C 7C 08 03 A6 */ mtlr r0 -/* 8027AF10 00277E50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AF14 00277E54 4E 80 00 20 */ blr - -.global setFSM__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3FSM -setFSM__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3FSM: -/* 8027AF18 00277E58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AF1C 00277E5C 7C 08 02 A6 */ mflr r0 -/* 8027AF20 00277E60 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AF24 00277E64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027AF28 00277E68 7C 7F 1B 78 */ mr r31, r3 -/* 8027AF2C 00277E6C 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 8027AF30 00277E70 7F E4 FB 78 */ mr r4, r31 -/* 8027AF34 00277E74 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8027AF38 00277E78 81 83 00 00 */ lwz r12, 0(r3) -/* 8027AF3C 00277E7C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027AF40 00277E80 7D 89 03 A6 */ mtctr r12 -/* 8027AF44 00277E84 4E 80 04 21 */ bctrl -/* 8027AF48 00277E88 38 00 00 00 */ li r0, 0 -/* 8027AF4C 00277E8C 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8027AF50 00277E90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AF54 00277E94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027AF58 00277E98 7C 08 03 A6 */ mtlr r0 -/* 8027AF5C 00277E9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AF60 00277EA0 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game7ElecBug3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game7ElecBug3ObjFRQ24Game11ShadowParam: -/* 8027AF64 00277EA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027AF68 00277EA8 7C 08 02 A6 */ mflr r0 -/* 8027AF6C 00277EAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027AF70 00277EB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027AF74 00277EB4 7C 9F 23 78 */ mr r31, r4 -/* 8027AF78 00277EB8 38 82 D1 98 */ addi r4, r2, lbl_8051B4F8@sda21 -/* 8027AF7C 00277EBC 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8027AF80 00277EC0 48 1C 40 65 */ bl getJoint__Q28SysShape5ModelFPc -/* 8027AF84 00277EC4 48 1A E9 1D */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027AF88 00277EC8 C0 83 00 2C */ lfs f4, 0x2c(r3) -/* 8027AF8C 00277ECC C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8027AF90 00277ED0 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8027AF94 00277ED4 C0 62 D1 A0 */ lfs f3, lbl_8051B500@sda21(r2) -/* 8027AF98 00277ED8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8027AF9C 00277EDC C0 42 D1 88 */ lfs f2, lbl_8051B4E8@sda21(r2) -/* 8027AFA0 00277EE0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8027AFA4 00277EE4 C0 22 D1 A4 */ lfs f1, lbl_8051B504@sda21(r2) -/* 8027AFA8 00277EE8 D0 9F 00 08 */ stfs f4, 8(r31) -/* 8027AFAC 00277EEC C0 02 D1 A8 */ lfs f0, lbl_8051B508@sda21(r2) -/* 8027AFB0 00277EF0 C0 9F 00 04 */ lfs f4, 4(r31) -/* 8027AFB4 00277EF4 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8027AFB8 00277EF8 D0 7F 00 04 */ stfs f3, 4(r31) -/* 8027AFBC 00277EFC D0 5F 00 0C */ stfs f2, 0xc(r31) -/* 8027AFC0 00277F00 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 8027AFC4 00277F04 D0 5F 00 14 */ stfs f2, 0x14(r31) -/* 8027AFC8 00277F08 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8027AFCC 00277F0C D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8027AFD0 00277F10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027AFD4 00277F14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027AFD8 00277F18 7C 08 03 A6 */ mtlr r0 -/* 8027AFDC 00277F1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027AFE0 00277F20 4E 80 00 20 */ blr - -.global collisionCallback__Q34Game7ElecBug3ObjFRQ24Game9CollEvent -collisionCallback__Q34Game7ElecBug3ObjFRQ24Game9CollEvent: -/* 8027AFE4 00277F24 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8027AFE8 00277F28 7C 08 02 A6 */ mflr r0 -/* 8027AFEC 00277F2C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8027AFF0 00277F30 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8027AFF4 00277F34 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8027AFF8 00277F38 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8027AFFC 00277F3C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8027B000 00277F40 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8027B004 00277F44 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 8027B008 00277F48 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8027B00C 00277F4C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8027B010 00277F50 7C 9F 23 78 */ mr r31, r4 -/* 8027B014 00277F54 7C 7E 1B 78 */ mr r30, r3 -/* 8027B018 00277F58 80 04 00 00 */ lwz r0, 0(r4) -/* 8027B01C 00277F5C 28 00 00 00 */ cmplwi r0, 0 -/* 8027B020 00277F60 41 82 01 60 */ beq lbl_8027B180 -/* 8027B024 00277F64 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 8027B028 00277F68 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8027B02C 00277F6C 40 82 01 54 */ bne lbl_8027B180 -/* 8027B030 00277F70 4B E8 C3 C5 */ bl getStateID__Q24Game9EnemyBaseFv -/* 8027B034 00277F74 2C 03 00 05 */ cmpwi r3, 5 -/* 8027B038 00277F78 41 82 00 0C */ beq lbl_8027B044 -/* 8027B03C 00277F7C 2C 03 00 07 */ cmpwi r3, 7 -/* 8027B040 00277F80 40 82 01 40 */ bne lbl_8027B180 -lbl_8027B044: -/* 8027B044 00277F84 80 7F 00 00 */ lwz r3, 0(r31) -/* 8027B048 00277F88 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B04C 00277F8C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027B050 00277F90 7D 89 03 A6 */ mtctr r12 -/* 8027B054 00277F94 4E 80 04 21 */ bctrl -/* 8027B058 00277F98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027B05C 00277F9C 40 82 00 20 */ bne lbl_8027B07C -/* 8027B060 00277FA0 80 7F 00 00 */ lwz r3, 0(r31) -/* 8027B064 00277FA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B068 00277FA8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027B06C 00277FAC 7D 89 03 A6 */ mtctr r12 -/* 8027B070 00277FB0 4E 80 04 21 */ bctrl -/* 8027B074 00277FB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027B078 00277FB8 41 82 01 08 */ beq lbl_8027B180 -lbl_8027B07C: -/* 8027B07C 00277FBC 80 9F 00 00 */ lwz r4, 0(r31) -/* 8027B080 00277FC0 38 61 00 08 */ addi r3, r1, 8 -/* 8027B084 00277FC4 81 84 00 00 */ lwz r12, 0(r4) -/* 8027B088 00277FC8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027B08C 00277FCC 7D 89 03 A6 */ mtctr r12 -/* 8027B090 00277FD0 4E 80 04 21 */ bctrl -/* 8027B094 00277FD4 C0 61 00 08 */ lfs f3, 8(r1) -/* 8027B098 00277FD8 C0 3E 01 8C */ lfs f1, 0x18c(r30) -/* 8027B09C 00277FDC C0 81 00 10 */ lfs f4, 0x10(r1) -/* 8027B0A0 00277FE0 C0 1E 01 94 */ lfs f0, 0x194(r30) -/* 8027B0A4 00277FE4 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8027B0A8 00277FE8 C0 22 D1 88 */ lfs f1, lbl_8051B4E8@sda21(r2) -/* 8027B0AC 00277FEC EC 84 00 28 */ fsubs f4, f4, f0 -/* 8027B0B0 00277FF0 EC 03 08 FA */ fmadds f0, f3, f3, f1 -/* 8027B0B4 00277FF4 EC 44 01 32 */ fmuls f2, f4, f4 -/* 8027B0B8 00277FF8 EC 42 00 2A */ fadds f2, f2, f0 -/* 8027B0BC 00277FFC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8027B0C0 00278000 40 81 00 14 */ ble lbl_8027B0D4 -/* 8027B0C4 00278004 40 81 00 14 */ ble lbl_8027B0D8 -/* 8027B0C8 00278008 FC 00 10 34 */ frsqrte f0, f2 -/* 8027B0CC 0027800C EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8027B0D0 00278010 48 00 00 08 */ b lbl_8027B0D8 -lbl_8027B0D4: -/* 8027B0D4 00278014 FC 40 08 90 */ fmr f2, f1 -lbl_8027B0D8: -/* 8027B0D8 00278018 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2) -/* 8027B0DC 0027801C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8027B0E0 00278020 40 81 00 14 */ ble lbl_8027B0F4 -/* 8027B0E4 00278024 C0 02 D1 A4 */ lfs f0, lbl_8051B504@sda21(r2) -/* 8027B0E8 00278028 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8027B0EC 0027802C EC 63 00 32 */ fmuls f3, f3, f0 -/* 8027B0F0 00278030 EC 84 00 32 */ fmuls f4, f4, f0 -lbl_8027B0F4: -/* 8027B0F4 00278034 80 7F 00 00 */ lwz r3, 0(r31) -/* 8027B0F8 00278038 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 8027B0FC 0027803C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B100 00278040 C0 04 04 4C */ lfs f0, 0x44c(r4) -/* 8027B104 00278044 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027B108 00278048 EF C4 00 32 */ fmuls f30, f4, f0 -/* 8027B10C 0027804C C3 A4 04 74 */ lfs f29, 0x474(r4) -/* 8027B110 00278050 EF E3 00 32 */ fmuls f31, f3, f0 -/* 8027B114 00278054 7D 89 03 A6 */ mtctr r12 -/* 8027B118 00278058 4E 80 04 21 */ bctrl -/* 8027B11C 0027805C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027B120 00278060 41 82 00 08 */ beq lbl_8027B128 -/* 8027B124 00278064 C3 A2 D1 88 */ lfs f29, lbl_8051B4E8@sda21(r2) -lbl_8027B128: -/* 8027B128 00278068 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 8027B12C 0027806C 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 8027B130 00278070 3C 80 80 4B */ lis r4, __vt__Q24Game12InteractWind@ha -/* 8027B134 00278074 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractDenki@ha -/* 8027B138 00278078 C0 06 06 04 */ lfs f0, 0x604(r6) -/* 8027B13C 0027807C 38 C5 A3 00 */ addi r6, r5, __vt__Q24Game11Interaction@l -/* 8027B140 00278080 38 A4 49 74 */ addi r5, r4, __vt__Q24Game12InteractWind@l -/* 8027B144 00278084 38 03 49 08 */ addi r0, r3, __vt__Q24Game13InteractDenki@l -/* 8027B148 00278088 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8027B14C 0027808C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027B150 00278090 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8027B154 00278094 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027B158 00278098 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8027B15C 0027809C D3 E1 00 20 */ stfs f31, 0x20(r1) -/* 8027B160 002780A0 D3 A1 00 24 */ stfs f29, 0x24(r1) -/* 8027B164 002780A4 D3 C1 00 28 */ stfs f30, 0x28(r1) -/* 8027B168 002780A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B16C 002780AC 80 7F 00 00 */ lwz r3, 0(r31) -/* 8027B170 002780B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B174 002780B4 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8027B178 002780B8 7D 89 03 A6 */ mtctr r12 -/* 8027B17C 002780BC 4E 80 04 21 */ bctrl -lbl_8027B180: -/* 8027B180 002780C0 7F C3 F3 78 */ mr r3, r30 -/* 8027B184 002780C4 7F E4 FB 78 */ mr r4, r31 -/* 8027B188 002780C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027B18C 002780CC 81 8C 02 40 */ lwz r12, 0x240(r12) -/* 8027B190 002780D0 7D 89 03 A6 */ mtctr r12 -/* 8027B194 002780D4 4E 80 04 21 */ bctrl -/* 8027B198 002780D8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8027B19C 002780DC CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8027B1A0 002780E0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8027B1A4 002780E4 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8027B1A8 002780E8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8027B1AC 002780EC CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8027B1B0 002780F0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8027B1B4 002780F4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8027B1B8 002780F8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8027B1BC 002780FC 7C 08 03 A6 */ mtlr r0 -/* 8027B1C0 00278100 38 21 00 70 */ addi r1, r1, 0x70 -/* 8027B1C4 00278104 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart: -/* 8027B1C8 00278108 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8027B1CC 0027810C 7C 08 02 A6 */ mflr r0 -/* 8027B1D0 00278110 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027B1D4 00278114 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8027B1D8 00278118 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8027B1DC 0027811C 7C 9E 23 78 */ mr r30, r4 -/* 8027B1E0 00278120 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8027B1E4 00278124 7C 7D 1B 78 */ mr r29, r3 -/* 8027B1E8 00278128 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B1EC 0027812C 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8027B1F0 00278130 7D 89 03 A6 */ mtctr r12 -/* 8027B1F4 00278134 4E 80 04 21 */ bctrl -/* 8027B1F8 00278138 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027B1FC 0027813C 41 82 01 68 */ beq lbl_8027B364 -/* 8027B200 00278140 80 1D 01 E0 */ lwz r0, 0x1e0(r29) -/* 8027B204 00278144 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8027B208 00278148 40 82 01 5C */ bne lbl_8027B364 -/* 8027B20C 0027814C 28 1E 00 00 */ cmplwi r30, 0 -/* 8027B210 00278150 41 82 01 54 */ beq lbl_8027B364 -/* 8027B214 00278154 7F C3 F3 78 */ mr r3, r30 -/* 8027B218 00278158 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027B21C 0027815C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027B220 00278160 7D 89 03 A6 */ mtctr r12 -/* 8027B224 00278164 4E 80 04 21 */ bctrl -/* 8027B228 00278168 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027B22C 0027816C 41 82 01 38 */ beq lbl_8027B364 -/* 8027B230 00278170 7F A3 EB 78 */ mr r3, r29 -/* 8027B234 00278174 4B E8 C1 C1 */ bl getStateID__Q24Game9EnemyBaseFv -/* 8027B238 00278178 7C 7F 1B 78 */ mr r31, r3 -/* 8027B23C 0027817C 2C 1F 00 01 */ cmpwi r31, 1 -/* 8027B240 00278180 41 80 01 24 */ blt lbl_8027B364 -/* 8027B244 00278184 2C 1F 00 07 */ cmpwi r31, 7 -/* 8027B248 00278188 41 81 01 1C */ bgt lbl_8027B364 -/* 8027B24C 0027818C 80 7D 02 BC */ lwz r3, 0x2bc(r29) -/* 8027B250 00278190 7F A4 EB 78 */ mr r4, r29 -/* 8027B254 00278194 38 A0 00 08 */ li r5, 8 -/* 8027B258 00278198 38 C0 00 00 */ li r6, 0 -/* 8027B25C 0027819C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B260 002781A0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027B264 002781A4 7D 89 03 A6 */ mtctr r12 -/* 8027B268 002781A8 4E 80 04 21 */ bctrl -/* 8027B26C 002781AC 2C 1F 00 05 */ cmpwi r31, 5 -/* 8027B270 002781B0 41 82 00 0C */ beq lbl_8027B27C -/* 8027B274 002781B4 2C 1F 00 07 */ cmpwi r31, 7 -/* 8027B278 002781B8 40 82 00 E4 */ bne lbl_8027B35C -lbl_8027B27C: -/* 8027B27C 002781BC 7F C4 F3 78 */ mr r4, r30 -/* 8027B280 002781C0 38 61 00 08 */ addi r3, r1, 8 -/* 8027B284 002781C4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027B288 002781C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027B28C 002781CC 7D 89 03 A6 */ mtctr r12 -/* 8027B290 002781D0 4E 80 04 21 */ bctrl -/* 8027B294 002781D4 C0 81 00 08 */ lfs f4, 8(r1) -/* 8027B298 002781D8 C0 3D 01 8C */ lfs f1, 0x18c(r29) -/* 8027B29C 002781DC C0 A1 00 10 */ lfs f5, 0x10(r1) -/* 8027B2A0 002781E0 C0 1D 01 94 */ lfs f0, 0x194(r29) -/* 8027B2A4 002781E4 EC 84 08 28 */ fsubs f4, f4, f1 -/* 8027B2A8 002781E8 C0 22 D1 88 */ lfs f1, lbl_8051B4E8@sda21(r2) -/* 8027B2AC 002781EC EC A5 00 28 */ fsubs f5, f5, f0 -/* 8027B2B0 002781F0 EC 04 09 3A */ fmadds f0, f4, f4, f1 -/* 8027B2B4 002781F4 EC 45 01 72 */ fmuls f2, f5, f5 -/* 8027B2B8 002781F8 EC 42 00 2A */ fadds f2, f2, f0 -/* 8027B2BC 002781FC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8027B2C0 00278200 40 81 00 14 */ ble lbl_8027B2D4 -/* 8027B2C4 00278204 40 81 00 14 */ ble lbl_8027B2D8 -/* 8027B2C8 00278208 FC 00 10 34 */ frsqrte f0, f2 -/* 8027B2CC 0027820C EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8027B2D0 00278210 48 00 00 08 */ b lbl_8027B2D8 -lbl_8027B2D4: -/* 8027B2D4 00278214 FC 40 08 90 */ fmr f2, f1 -lbl_8027B2D8: -/* 8027B2D8 00278218 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2) -/* 8027B2DC 0027821C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8027B2E0 00278220 40 81 00 14 */ ble lbl_8027B2F4 -/* 8027B2E4 00278224 C0 02 D1 A4 */ lfs f0, lbl_8051B504@sda21(r2) -/* 8027B2E8 00278228 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8027B2EC 0027822C EC 84 00 32 */ fmuls f4, f4, f0 -/* 8027B2F0 00278230 EC A5 00 32 */ fmuls f5, f5, f0 -lbl_8027B2F4: -/* 8027B2F4 00278234 80 FD 00 C0 */ lwz r7, 0xc0(r29) -/* 8027B2F8 00278238 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 8027B2FC 0027823C 3C 80 80 4B */ lis r4, __vt__Q24Game12InteractWind@ha -/* 8027B300 00278240 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractDenki@ha -/* 8027B304 00278244 C0 07 04 4C */ lfs f0, 0x44c(r7) -/* 8027B308 00278248 38 C5 A3 00 */ addi r6, r5, __vt__Q24Game11Interaction@l -/* 8027B30C 0027824C C0 27 04 74 */ lfs f1, 0x474(r7) -/* 8027B310 00278250 38 A4 49 74 */ addi r5, r4, __vt__Q24Game12InteractWind@l -/* 8027B314 00278254 C0 67 06 04 */ lfs f3, 0x604(r7) -/* 8027B318 00278258 EC 45 00 32 */ fmuls f2, f5, f0 -/* 8027B31C 0027825C EC 04 00 32 */ fmuls f0, f4, f0 -/* 8027B320 00278260 38 03 49 08 */ addi r0, r3, __vt__Q24Game13InteractDenki@l -/* 8027B324 00278264 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8027B328 00278268 7F C3 F3 78 */ mr r3, r30 -/* 8027B32C 0027826C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027B330 00278270 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8027B334 00278274 93 A1 00 18 */ stw r29, 0x18(r1) -/* 8027B338 00278278 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8027B33C 0027827C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8027B340 00278280 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8027B344 00278284 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8027B348 00278288 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B34C 0027828C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027B350 00278290 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8027B354 00278294 7D 89 03 A6 */ mtctr r12 -/* 8027B358 00278298 4E 80 04 21 */ bctrl -lbl_8027B35C: -/* 8027B35C 0027829C 38 60 00 01 */ li r3, 1 -/* 8027B360 002782A0 48 00 00 08 */ b lbl_8027B368 -lbl_8027B364: -/* 8027B364 002782A4 38 60 00 00 */ li r3, 0 -lbl_8027B368: -/* 8027B368 002782A8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8027B36C 002782AC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8027B370 002782B0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8027B374 002782B4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8027B378 002782B8 7C 08 03 A6 */ mtlr r0 -/* 8027B37C 002782BC 38 21 00 40 */ addi r1, r1, 0x40 -/* 8027B380 002782C0 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart: -/* 8027B384 002782C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B388 002782C8 7C 08 02 A6 */ mflr r0 -/* 8027B38C 002782CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B390 002782D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B394 002782D4 81 8C 02 7C */ lwz r12, 0x27c(r12) -/* 8027B398 002782D8 7D 89 03 A6 */ mtctr r12 -/* 8027B39C 002782DC 4E 80 04 21 */ bctrl -/* 8027B3A0 002782E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B3A4 002782E4 7C 08 03 A6 */ mtlr r0 -/* 8027B3A8 002782E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B3AC 002782EC 4E 80 00 20 */ blr - -.global earthquakeCallBack__Q34Game7ElecBug3ObjFPQ24Game8Creaturef -earthquakeCallBack__Q34Game7ElecBug3ObjFPQ24Game8Creaturef: -/* 8027B3B0 002782F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B3B4 002782F4 7C 08 02 A6 */ mflr r0 -/* 8027B3B8 002782F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B3BC 002782FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027B3C0 00278300 7C 9F 23 78 */ mr r31, r4 -/* 8027B3C4 00278304 93 C1 00 08 */ stw r30, 8(r1) -/* 8027B3C8 00278308 7C 7E 1B 78 */ mr r30, r3 -/* 8027B3CC 0027830C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B3D0 00278310 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8027B3D4 00278314 7D 89 03 A6 */ mtctr r12 -/* 8027B3D8 00278318 4E 80 04 21 */ bctrl -/* 8027B3DC 0027831C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027B3E0 00278320 41 82 00 74 */ beq lbl_8027B454 -/* 8027B3E4 00278324 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 8027B3E8 00278328 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8027B3EC 0027832C 40 82 00 68 */ bne lbl_8027B454 -/* 8027B3F0 00278330 28 1F 00 00 */ cmplwi r31, 0 -/* 8027B3F4 00278334 41 82 00 60 */ beq lbl_8027B454 -/* 8027B3F8 00278338 7F E3 FB 78 */ mr r3, r31 -/* 8027B3FC 0027833C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027B400 00278340 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027B404 00278344 7D 89 03 A6 */ mtctr r12 -/* 8027B408 00278348 4E 80 04 21 */ bctrl -/* 8027B40C 0027834C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027B410 00278350 41 82 00 44 */ beq lbl_8027B454 -/* 8027B414 00278354 7F C3 F3 78 */ mr r3, r30 -/* 8027B418 00278358 4B E8 BF DD */ bl getStateID__Q24Game9EnemyBaseFv -/* 8027B41C 0027835C 2C 03 00 01 */ cmpwi r3, 1 -/* 8027B420 00278360 41 80 00 34 */ blt lbl_8027B454 -/* 8027B424 00278364 2C 03 00 07 */ cmpwi r3, 7 -/* 8027B428 00278368 41 81 00 2C */ bgt lbl_8027B454 -/* 8027B42C 0027836C 80 7E 02 BC */ lwz r3, 0x2bc(r30) -/* 8027B430 00278370 7F C4 F3 78 */ mr r4, r30 -/* 8027B434 00278374 38 A0 00 08 */ li r5, 8 -/* 8027B438 00278378 38 C0 00 00 */ li r6, 0 -/* 8027B43C 0027837C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B440 00278380 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027B444 00278384 7D 89 03 A6 */ mtctr r12 -/* 8027B448 00278388 4E 80 04 21 */ bctrl -/* 8027B44C 0027838C 38 60 00 01 */ li r3, 1 -/* 8027B450 00278390 48 00 00 08 */ b lbl_8027B458 -lbl_8027B454: -/* 8027B454 00278394 38 60 00 00 */ li r3, 0 -lbl_8027B458: -/* 8027B458 00278398 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B45C 0027839C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027B460 002783A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027B464 002783A4 7C 08 03 A6 */ mtlr r0 -/* 8027B468 002783A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B46C 002783AC 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game7ElecBug3ObjFv -doStartStoneState__Q34Game7ElecBug3ObjFv: -/* 8027B470 002783B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B474 002783B4 7C 08 02 A6 */ mflr r0 -/* 8027B478 002783B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B47C 002783BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027B480 002783C0 7C 7F 1B 78 */ mr r31, r3 -/* 8027B484 002783C4 4B E8 7A 71 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 8027B488 002783C8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8027B48C 002783CC 7F E3 FB 78 */ mr r3, r31 -/* 8027B490 002783D0 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 8027B494 002783D4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8027B498 002783D8 48 00 08 C9 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -/* 8027B49C 002783DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B4A0 002783E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027B4A4 002783E4 7C 08 03 A6 */ mtlr r0 -/* 8027B4A8 002783E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B4AC 002783EC 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game7ElecBug3ObjFv -doFinishStoneState__Q34Game7ElecBug3ObjFv: -/* 8027B4B0 002783F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B4B4 002783F4 7C 08 02 A6 */ mflr r0 -/* 8027B4B8 002783F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B4BC 002783FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027B4C0 00278400 7C 7F 1B 78 */ mr r31, r3 -/* 8027B4C4 00278404 4B E8 BF 31 */ bl getStateID__Q24Game9EnemyBaseFv -/* 8027B4C8 00278408 2C 03 00 08 */ cmpwi r3, 8 -/* 8027B4CC 0027840C 41 82 00 10 */ beq lbl_8027B4DC -/* 8027B4D0 00278410 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8027B4D4 00278414 60 00 00 01 */ ori r0, r0, 1 -/* 8027B4D8 00278418 90 1F 01 E0 */ stw r0, 0x1e0(r31) -lbl_8027B4DC: -/* 8027B4DC 0027841C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B4E0 00278420 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027B4E4 00278424 7C 08 03 A6 */ mtlr r0 -/* 8027B4E8 00278428 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B4EC 0027842C 4E 80 00 20 */ blr - -.global doStartWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv -doStartWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv: -/* 8027B4F0 00278430 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B4F4 00278434 7C 08 02 A6 */ mflr r0 -/* 8027B4F8 00278438 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B4FC 0027843C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027B500 00278440 7C 7F 1B 78 */ mr r31, r3 -/* 8027B504 00278444 4B E8 C4 95 */ bl doStartWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8027B508 00278448 7F E3 FB 78 */ mr r3, r31 -/* 8027B50C 0027844C 48 00 09 85 */ bl effectDrawOff__Q34Game7ElecBug3ObjFv -/* 8027B510 00278450 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B514 00278454 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027B518 00278458 7C 08 03 A6 */ mtlr r0 -/* 8027B51C 0027845C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B520 00278460 4E 80 00 20 */ blr - -.global doFinishWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv -doFinishWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv: -/* 8027B524 00278464 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B528 00278468 7C 08 02 A6 */ mflr r0 -/* 8027B52C 0027846C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B530 00278470 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027B534 00278474 7C 7F 1B 78 */ mr r31, r3 -/* 8027B538 00278478 4B E8 C4 91 */ bl doFinishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8027B53C 0027847C 7F E3 FB 78 */ mr r3, r31 -/* 8027B540 00278480 48 00 08 C5 */ bl effectDrawOn__Q34Game7ElecBug3ObjFv -/* 8027B544 00278484 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B548 00278488 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027B54C 0027848C 7C 08 03 A6 */ mtlr r0 -/* 8027B550 00278490 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B554 00278494 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game7ElecBug3ObjFv -startCarcassMotion__Q34Game7ElecBug3ObjFv: -/* 8027B558 00278498 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B55C 0027849C 7C 08 02 A6 */ mflr r0 -/* 8027B560 002784A0 38 80 00 07 */ li r4, 7 -/* 8027B564 002784A4 38 A0 00 00 */ li r5, 0 -/* 8027B568 002784A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B56C 002784AC 4B E8 9A 99 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8027B570 002784B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B574 002784B4 7C 08 03 A6 */ mtlr r0 -/* 8027B578 002784B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B57C 002784BC 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game7ElecBug3ObjFv -doStartMovie__Q34Game7ElecBug3ObjFv: -/* 8027B580 002784C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B584 002784C4 7C 08 02 A6 */ mflr r0 -/* 8027B588 002784C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B58C 002784CC 48 00 09 05 */ bl effectDrawOff__Q34Game7ElecBug3ObjFv -/* 8027B590 002784D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B594 002784D4 7C 08 03 A6 */ mtlr r0 -/* 8027B598 002784D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B59C 002784DC 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game7ElecBug3ObjFv -doEndMovie__Q34Game7ElecBug3ObjFv: -/* 8027B5A0 002784E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B5A4 002784E4 7C 08 02 A6 */ mflr r0 -/* 8027B5A8 002784E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B5AC 002784EC 48 00 08 59 */ bl effectDrawOn__Q34Game7ElecBug3ObjFv -/* 8027B5B0 002784F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B5B4 002784F4 7C 08 03 A6 */ mtlr r0 -/* 8027B5B8 002784F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B5BC 002784FC 4E 80 00 20 */ blr - -.global setTargetPosition__Q34Game7ElecBug3ObjFv -setTargetPosition__Q34Game7ElecBug3ObjFv: -/* 8027B5C0 00278500 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8027B5C4 00278504 7C 08 02 A6 */ mflr r0 -/* 8027B5C8 00278508 90 01 00 94 */ stw r0, 0x94(r1) -/* 8027B5CC 0027850C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8027B5D0 00278510 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8027B5D4 00278514 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8027B5D8 00278518 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8027B5DC 0027851C DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8027B5E0 00278520 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8027B5E4 00278524 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 8027B5E8 00278528 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 8027B5EC 0027852C DB 61 00 40 */ stfd f27, 0x40(r1) -/* 8027B5F0 00278530 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 -/* 8027B5F4 00278534 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8027B5F8 00278538 7C 7F 1B 78 */ mr r31, r3 -/* 8027B5FC 0027853C C3 C3 01 98 */ lfs f30, 0x198(r3) -/* 8027B600 00278540 C3 A3 01 9C */ lfs f29, 0x19c(r3) -/* 8027B604 00278544 C3 83 01 A0 */ lfs f28, 0x1a0(r3) -/* 8027B608 00278548 4B E4 DF 99 */ bl rand -/* 8027B60C 0027854C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027B610 00278550 3C 00 43 30 */ lis r0, 0x4330 -/* 8027B614 00278554 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027B618 00278558 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8027B61C 0027855C 90 01 00 08 */ stw r0, 8(r1) -/* 8027B620 00278560 C8 22 D1 90 */ lfd f1, lbl_8051B4F0@sda21(r2) -/* 8027B624 00278564 C8 01 00 08 */ lfd f0, 8(r1) -/* 8027B628 00278568 C0 62 D1 AC */ lfs f3, lbl_8051B50C@sda21(r2) -/* 8027B62C 0027856C EC 80 08 28 */ fsubs f4, f0, f1 -/* 8027B630 00278570 C0 42 D1 84 */ lfs f2, lbl_8051B4E4@sda21(r2) -/* 8027B634 00278574 C0 23 03 5C */ lfs f1, 0x35c(r3) -/* 8027B638 00278578 C0 03 03 84 */ lfs f0, 0x384(r3) -/* 8027B63C 0027857C EC 63 01 32 */ fmuls f3, f3, f4 -/* 8027B640 00278580 EF 61 00 28 */ fsubs f27, f1, f0 -/* 8027B644 00278584 EF E3 10 24 */ fdivs f31, f3, f2 -/* 8027B648 00278588 4B E4 DF 59 */ bl rand -/* 8027B64C 0027858C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027B650 00278590 3C 00 43 30 */ lis r0, 0x4330 -/* 8027B654 00278594 90 61 00 14 */ stw r3, 0x14(r1) -/* 8027B658 00278598 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8027B65C 0027859C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8027B660 002785A0 C8 42 D1 90 */ lfd f2, lbl_8051B4F0@sda21(r2) -/* 8027B664 002785A4 C8 21 00 10 */ lfd f1, 0x10(r1) -/* 8027B668 002785A8 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2) -/* 8027B66C 002785AC EC 61 10 28 */ fsubs f3, f1, f2 -/* 8027B670 002785B0 C0 42 D1 84 */ lfs f2, lbl_8051B4E4@sda21(r2) -/* 8027B674 002785B4 C0 23 03 84 */ lfs f1, 0x384(r3) -/* 8027B678 002785B8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8027B67C 002785BC EC 1B 00 F2 */ fmuls f0, f27, f3 -/* 8027B680 002785C0 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8027B684 002785C4 EC 41 00 2A */ fadds f2, f1, f0 -/* 8027B688 002785C8 40 80 00 30 */ bge lbl_8027B6B8 -/* 8027B68C 002785CC C0 02 D1 B0 */ lfs f0, lbl_8051B510@sda21(r2) -/* 8027B690 002785D0 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8027B694 002785D4 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8027B698 002785D8 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8027B69C 002785DC FC 00 00 1E */ fctiwz f0, f0 -/* 8027B6A0 002785E0 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8027B6A4 002785E4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8027B6A8 002785E8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027B6AC 002785EC 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8027B6B0 002785F0 FC 00 00 50 */ fneg f0, f0 -/* 8027B6B4 002785F4 48 00 00 28 */ b lbl_8027B6DC -lbl_8027B6B8: -/* 8027B6B8 002785F8 C0 02 D1 B4 */ lfs f0, lbl_8051B514@sda21(r2) -/* 8027B6BC 002785FC 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8027B6C0 00278600 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8027B6C4 00278604 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8027B6C8 00278608 FC 00 00 1E */ fctiwz f0, f0 -/* 8027B6CC 0027860C D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8027B6D0 00278610 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027B6D4 00278614 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027B6D8 00278618 7C 03 04 2E */ lfsx f0, r3, r0 -lbl_8027B6DC: -/* 8027B6DC 0027861C EC 22 F0 3A */ fmadds f1, f2, f0, f30 -/* 8027B6E0 00278620 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2) -/* 8027B6E4 00278624 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8027B6E8 00278628 D0 3F 02 C8 */ stfs f1, 0x2c8(r31) -/* 8027B6EC 0027862C D3 BF 02 CC */ stfs f29, 0x2cc(r31) -/* 8027B6F0 00278630 40 80 00 08 */ bge lbl_8027B6F8 -/* 8027B6F4 00278634 FF E0 F8 50 */ fneg f31, f31 -lbl_8027B6F8: -/* 8027B6F8 00278638 C0 02 D1 B4 */ lfs f0, lbl_8051B514@sda21(r2) -/* 8027B6FC 0027863C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8027B700 00278640 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8027B704 00278644 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8027B708 00278648 FC 00 00 1E */ fctiwz f0, f0 -/* 8027B70C 0027864C D8 01 00 28 */ stfd f0, 0x28(r1) -/* 8027B710 00278650 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8027B714 00278654 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027B718 00278658 7C 63 02 14 */ add r3, r3, r0 -/* 8027B71C 0027865C C0 03 00 04 */ lfs f0, 4(r3) -/* 8027B720 00278660 EC 02 E0 3A */ fmadds f0, f2, f0, f28 -/* 8027B724 00278664 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 8027B728 00278668 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8027B72C 0027866C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8027B730 00278670 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8027B734 00278674 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8027B738 00278678 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8027B73C 0027867C CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8027B740 00278680 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8027B744 00278684 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8027B748 00278688 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 -/* 8027B74C 0027868C CB 61 00 40 */ lfd f27, 0x40(r1) -/* 8027B750 00278690 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8027B754 00278694 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8027B758 00278698 7C 08 03 A6 */ mtlr r0 -/* 8027B75C 0027869C 38 21 00 90 */ addi r1, r1, 0x90 -/* 8027B760 002786A0 4E 80 00 20 */ blr - -.global resetPartnerPtr__Q34Game7ElecBug3ObjFv -resetPartnerPtr__Q34Game7ElecBug3ObjFv: -/* 8027B764 002786A4 80 83 02 D8 */ lwz r4, 0x2d8(r3) -/* 8027B768 002786A8 28 04 00 00 */ cmplwi r4, 0 -/* 8027B76C 002786AC 4D 82 00 20 */ beqlr -/* 8027B770 002786B0 38 00 00 00 */ li r0, 0 -/* 8027B774 002786B4 90 04 02 D8 */ stw r0, 0x2d8(r4) -/* 8027B778 002786B8 90 03 02 D8 */ stw r0, 0x2d8(r3) -/* 8027B77C 002786BC 4E 80 00 20 */ blr - -.global isBecomeChargeState__Q34Game7ElecBug3ObjFv -isBecomeChargeState__Q34Game7ElecBug3ObjFv: -/* 8027B780 002786C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B784 002786C4 7C 08 02 A6 */ mflr r0 -/* 8027B788 002786C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B78C 002786CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027B790 002786D0 7C 7F 1B 78 */ mr r31, r3 -/* 8027B794 002786D4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B798 002786D8 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8027B79C 002786DC 7D 89 03 A6 */ mtctr r12 -/* 8027B7A0 002786E0 4E 80 04 21 */ bctrl -/* 8027B7A4 002786E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027B7A8 002786E8 41 82 00 30 */ beq lbl_8027B7D8 -/* 8027B7AC 002786EC 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8027B7B0 002786F0 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8027B7B4 002786F4 40 82 00 24 */ bne lbl_8027B7D8 -/* 8027B7B8 002786F8 7F E3 FB 78 */ mr r3, r31 -/* 8027B7BC 002786FC 4B E8 BC 39 */ bl getStateID__Q24Game9EnemyBaseFv -/* 8027B7C0 00278700 2C 03 00 01 */ cmpwi r3, 1 -/* 8027B7C4 00278704 41 80 00 14 */ blt lbl_8027B7D8 -/* 8027B7C8 00278708 2C 03 00 03 */ cmpwi r3, 3 -/* 8027B7CC 0027870C 41 81 00 0C */ bgt lbl_8027B7D8 -/* 8027B7D0 00278710 38 60 00 01 */ li r3, 1 -/* 8027B7D4 00278714 48 00 00 08 */ b lbl_8027B7DC -lbl_8027B7D8: -/* 8027B7D8 00278718 38 60 00 00 */ li r3, 0 -lbl_8027B7DC: -/* 8027B7DC 0027871C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B7E0 00278720 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027B7E4 00278724 7C 08 03 A6 */ mtlr r0 -/* 8027B7E8 00278728 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B7EC 0027872C 4E 80 00 20 */ blr - -.global startChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj -startChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj: -/* 8027B7F0 00278730 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B7F4 00278734 7C 08 02 A6 */ mflr r0 -/* 8027B7F8 00278738 7C 65 1B 78 */ mr r5, r3 -/* 8027B7FC 0027873C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B800 00278740 90 83 02 D8 */ stw r4, 0x2d8(r3) -/* 8027B804 00278744 7C 83 23 78 */ mr r3, r4 -/* 8027B808 00278748 7C A4 2B 78 */ mr r4, r5 -/* 8027B80C 0027874C 48 00 00 15 */ bl startChildChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj -/* 8027B810 00278750 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B814 00278754 7C 08 03 A6 */ mtlr r0 -/* 8027B818 00278758 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B81C 0027875C 4E 80 00 20 */ blr - -.global startChildChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj -startChildChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj: -/* 8027B820 00278760 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B824 00278764 7C 08 02 A6 */ mflr r0 -/* 8027B828 00278768 38 A0 00 06 */ li r5, 6 -/* 8027B82C 0027876C 38 C0 00 00 */ li r6, 0 -/* 8027B830 00278770 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B834 00278774 90 83 02 D8 */ stw r4, 0x2d8(r3) -/* 8027B838 00278778 7C 64 1B 78 */ mr r4, r3 -/* 8027B83C 0027877C 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8027B840 00278780 81 83 00 00 */ lwz r12, 0(r3) -/* 8027B844 00278784 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027B848 00278788 7D 89 03 A6 */ mtctr r12 -/* 8027B84C 0027878C 4E 80 04 21 */ bctrl -/* 8027B850 00278790 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B854 00278794 38 60 00 01 */ li r3, 1 -/* 8027B858 00278798 7C 08 03 A6 */ mtlr r0 -/* 8027B85C 0027879C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B860 002787A0 4E 80 00 20 */ blr - -.global createEffect__Q34Game7ElecBug3ObjFv -createEffect__Q34Game7ElecBug3ObjFv: -/* 8027B864 002787A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027B868 002787A8 7C 08 02 A6 */ mflr r0 -/* 8027B86C 002787AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027B870 002787B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027B874 002787B4 7C 7F 1B 78 */ mr r31, r3 -/* 8027B878 002787B8 38 60 00 74 */ li r3, 0x74 -/* 8027B87C 002787BC 4B DA 86 29 */ bl __nw__FUl -/* 8027B880 002787C0 7C 60 1B 79 */ or. r0, r3, r3 -/* 8027B884 002787C4 41 82 00 0C */ beq lbl_8027B890 -/* 8027B888 002787C8 48 00 00 21 */ bl __ct__Q23efx12TDnkmsEffectFv -/* 8027B88C 002787CC 7C 60 1B 78 */ mr r0, r3 -lbl_8027B890: -/* 8027B890 002787D0 90 1F 02 DC */ stw r0, 0x2dc(r31) -/* 8027B894 002787D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027B898 002787D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027B89C 002787DC 7C 08 03 A6 */ mtlr r0 -/* 8027B8A0 002787E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027B8A4 002787E4 4E 80 00 20 */ blr - -.global __ct__Q23efx12TDnkmsEffectFv -__ct__Q23efx12TDnkmsEffectFv: -/* 8027B8A8 002787E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027B8AC 002787EC 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8027B8B0 002787F0 3C C0 80 4A */ lis r6, __vt__18JPAEmitterCallBack@ha -/* 8027B8B4 002787F4 3C A0 80 4E */ lis r5, __vt__Q23efx5TSync@ha -/* 8027B8B8 002787F8 BE C1 00 08 */ stmw r22, 8(r1) -/* 8027B8BC 002787FC 3B 24 A7 F8 */ addi r25, r4, __vt__Q23efx5TBase@l -/* 8027B8C0 00278800 3B 65 69 8C */ addi r27, r5, __vt__Q23efx5TSync@l -/* 8027B8C4 00278804 3C 80 80 4E */ lis r4, __vt__Q23efx9TChasePos@ha -/* 8027B8C8 00278808 3B C4 69 40 */ addi r30, r4, __vt__Q23efx9TChasePos@l -/* 8027B8CC 0027880C 3B 46 E2 7C */ addi r26, r6, __vt__18JPAEmitterCallBack@l -/* 8027B8D0 00278810 3C 80 80 4C */ lis r4, __vt__Q23efx13TDnkmsHoudenA@ha -/* 8027B8D4 00278814 3B 1B 00 14 */ addi r24, r27, 0x14 -/* 8027B8D8 00278818 39 84 7B 64 */ addi r12, r4, __vt__Q23efx13TDnkmsHoudenA@l -/* 8027B8DC 0027881C 3B 80 00 00 */ li r28, 0 -/* 8027B8E0 00278820 3C 80 80 4C */ lis r4, __vt__Q23efx13TDnkmsHoudenB@ha -/* 8027B8E4 00278824 3B A0 02 B2 */ li r29, 0x2b2 -/* 8027B8E8 00278828 39 44 7B 18 */ addi r10, r4, __vt__Q23efx13TDnkmsHoudenB@l -/* 8027B8EC 0027882C 3A FE 00 14 */ addi r23, r30, 0x14 -/* 8027B8F0 00278830 3C 80 80 4E */ lis r4, __vt__Q23efx14TDnkmsThunderA@ha -/* 8027B8F4 00278834 3B E0 00 33 */ li r31, 0x33 -/* 8027B8F8 00278838 38 E4 6C 00 */ addi r7, r4, __vt__Q23efx14TDnkmsThunderA@l -/* 8027B8FC 0027883C 3A CC 00 14 */ addi r22, r12, 0x14 -/* 8027B900 00278840 3C 80 80 4E */ lis r4, __vt__Q23efx14TDnkmsThunderB@ha -/* 8027B904 00278844 39 60 00 34 */ li r11, 0x34 -/* 8027B908 00278848 38 84 6B B4 */ addi r4, r4, __vt__Q23efx14TDnkmsThunderB@l -/* 8027B90C 0027884C 39 2A 00 14 */ addi r9, r10, 0x14 -/* 8027B910 00278850 39 00 00 35 */ li r8, 0x35 -/* 8027B914 00278854 38 C7 00 14 */ addi r6, r7, 0x14 -/* 8027B918 00278858 93 23 00 08 */ stw r25, 8(r3) -/* 8027B91C 0027885C 38 A0 00 36 */ li r5, 0x36 -/* 8027B920 00278860 38 04 00 14 */ addi r0, r4, 0x14 -/* 8027B924 00278864 93 43 00 0C */ stw r26, 0xc(r3) -/* 8027B928 00278868 93 63 00 08 */ stw r27, 8(r3) -/* 8027B92C 0027886C 93 03 00 0C */ stw r24, 0xc(r3) -/* 8027B930 00278870 93 83 00 10 */ stw r28, 0x10(r3) -/* 8027B934 00278874 B3 A3 00 14 */ sth r29, 0x14(r3) -/* 8027B938 00278878 9B 83 00 16 */ stb r28, 0x16(r3) -/* 8027B93C 0027887C 93 C3 00 08 */ stw r30, 8(r3) -/* 8027B940 00278880 92 E3 00 0C */ stw r23, 0xc(r3) -/* 8027B944 00278884 93 83 00 18 */ stw r28, 0x18(r3) -/* 8027B948 00278888 B3 E3 00 14 */ sth r31, 0x14(r3) -/* 8027B94C 0027888C 91 83 00 08 */ stw r12, 8(r3) -/* 8027B950 00278890 92 C3 00 0C */ stw r22, 0xc(r3) -/* 8027B954 00278894 93 23 00 1C */ stw r25, 0x1c(r3) -/* 8027B958 00278898 93 43 00 20 */ stw r26, 0x20(r3) -/* 8027B95C 0027889C 93 63 00 1C */ stw r27, 0x1c(r3) -/* 8027B960 002788A0 93 03 00 20 */ stw r24, 0x20(r3) -/* 8027B964 002788A4 93 83 00 24 */ stw r28, 0x24(r3) -/* 8027B968 002788A8 B3 A3 00 28 */ sth r29, 0x28(r3) -/* 8027B96C 002788AC 9B 83 00 2A */ stb r28, 0x2a(r3) -/* 8027B970 002788B0 93 C3 00 1C */ stw r30, 0x1c(r3) -/* 8027B974 002788B4 92 E3 00 20 */ stw r23, 0x20(r3) -/* 8027B978 002788B8 93 83 00 2C */ stw r28, 0x2c(r3) -/* 8027B97C 002788BC B3 E3 00 28 */ sth r31, 0x28(r3) -/* 8027B980 002788C0 91 83 00 1C */ stw r12, 0x1c(r3) -/* 8027B984 002788C4 92 C3 00 20 */ stw r22, 0x20(r3) -/* 8027B988 002788C8 93 23 00 30 */ stw r25, 0x30(r3) -/* 8027B98C 002788CC 93 43 00 34 */ stw r26, 0x34(r3) -/* 8027B990 002788D0 93 63 00 30 */ stw r27, 0x30(r3) -/* 8027B994 002788D4 93 03 00 34 */ stw r24, 0x34(r3) -/* 8027B998 002788D8 93 83 00 38 */ stw r28, 0x38(r3) -/* 8027B99C 002788DC B3 A3 00 3C */ sth r29, 0x3c(r3) -/* 8027B9A0 002788E0 9B 83 00 3E */ stb r28, 0x3e(r3) -/* 8027B9A4 002788E4 93 C3 00 30 */ stw r30, 0x30(r3) -/* 8027B9A8 002788E8 92 E3 00 34 */ stw r23, 0x34(r3) -/* 8027B9AC 002788EC 93 83 00 40 */ stw r28, 0x40(r3) -/* 8027B9B0 002788F0 B1 63 00 3C */ sth r11, 0x3c(r3) -/* 8027B9B4 002788F4 91 43 00 30 */ stw r10, 0x30(r3) -/* 8027B9B8 002788F8 91 23 00 34 */ stw r9, 0x34(r3) -/* 8027B9BC 002788FC 93 23 00 44 */ stw r25, 0x44(r3) -/* 8027B9C0 00278900 93 43 00 48 */ stw r26, 0x48(r3) -/* 8027B9C4 00278904 93 63 00 44 */ stw r27, 0x44(r3) -/* 8027B9C8 00278908 93 03 00 48 */ stw r24, 0x48(r3) -/* 8027B9CC 0027890C 93 83 00 4C */ stw r28, 0x4c(r3) -/* 8027B9D0 00278910 B1 03 00 50 */ sth r8, 0x50(r3) -/* 8027B9D4 00278914 9B 83 00 52 */ stb r28, 0x52(r3) -/* 8027B9D8 00278918 90 E3 00 44 */ stw r7, 0x44(r3) -/* 8027B9DC 0027891C 90 C3 00 48 */ stw r6, 0x48(r3) -/* 8027B9E0 00278920 93 23 00 5C */ stw r25, 0x5c(r3) -/* 8027B9E4 00278924 93 43 00 60 */ stw r26, 0x60(r3) -/* 8027B9E8 00278928 93 63 00 5C */ stw r27, 0x5c(r3) -/* 8027B9EC 0027892C 93 03 00 60 */ stw r24, 0x60(r3) -/* 8027B9F0 00278930 93 83 00 64 */ stw r28, 0x64(r3) -/* 8027B9F4 00278934 B0 A3 00 68 */ sth r5, 0x68(r3) -/* 8027B9F8 00278938 9B 83 00 6A */ stb r28, 0x6a(r3) -/* 8027B9FC 0027893C 90 83 00 5C */ stw r4, 0x5c(r3) -/* 8027BA00 00278940 90 03 00 60 */ stw r0, 0x60(r3) -/* 8027BA04 00278944 BA C1 00 08 */ lmw r22, 8(r1) -/* 8027BA08 00278948 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027BA0C 0027894C 4E 80 00 20 */ blr - -.global __dt__Q23efx14TDnkmsThunderBFv -__dt__Q23efx14TDnkmsThunderBFv: -/* 8027BA10 00278950 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BA14 00278954 7C 08 02 A6 */ mflr r0 -/* 8027BA18 00278958 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BA1C 0027895C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027BA20 00278960 7C 9F 23 78 */ mr r31, r4 -/* 8027BA24 00278964 93 C1 00 08 */ stw r30, 8(r1) -/* 8027BA28 00278968 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027BA2C 0027896C 41 82 00 4C */ beq lbl_8027BA78 -/* 8027BA30 00278970 3C 60 80 4E */ lis r3, __vt__Q23efx14TDnkmsThunderB@ha -/* 8027BA34 00278974 38 63 6B B4 */ addi r3, r3, __vt__Q23efx14TDnkmsThunderB@l -/* 8027BA38 00278978 90 7E 00 00 */ stw r3, 0(r30) -/* 8027BA3C 0027897C 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027BA40 00278980 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BA44 00278984 41 82 00 24 */ beq lbl_8027BA68 -/* 8027BA48 00278988 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8027BA4C 0027898C 38 7E 00 04 */ addi r3, r30, 4 -/* 8027BA50 00278990 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8027BA54 00278994 38 80 00 00 */ li r4, 0 -/* 8027BA58 00278998 90 BE 00 00 */ stw r5, 0(r30) -/* 8027BA5C 0027899C 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027BA60 002789A0 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BA64 002789A4 4B E1 42 39 */ bl __dt__18JPAEmitterCallBackFv -lbl_8027BA68: -/* 8027BA68 002789A8 7F E0 07 35 */ extsh. r0, r31 -/* 8027BA6C 002789AC 40 81 00 0C */ ble lbl_8027BA78 -/* 8027BA70 002789B0 7F C3 F3 78 */ mr r3, r30 -/* 8027BA74 002789B4 4B DA 86 41 */ bl __dl__FPv -lbl_8027BA78: -/* 8027BA78 002789B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BA7C 002789BC 7F C3 F3 78 */ mr r3, r30 -/* 8027BA80 002789C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027BA84 002789C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027BA88 002789C8 7C 08 03 A6 */ mtlr r0 -/* 8027BA8C 002789CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BA90 002789D0 4E 80 00 20 */ blr - -.global __dt__Q23efx14TDnkmsThunderAFv -__dt__Q23efx14TDnkmsThunderAFv: -/* 8027BA94 002789D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BA98 002789D8 7C 08 02 A6 */ mflr r0 -/* 8027BA9C 002789DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BAA0 002789E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027BAA4 002789E4 7C 9F 23 78 */ mr r31, r4 -/* 8027BAA8 002789E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8027BAAC 002789EC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027BAB0 002789F0 41 82 00 4C */ beq lbl_8027BAFC -/* 8027BAB4 002789F4 3C 60 80 4E */ lis r3, __vt__Q23efx14TDnkmsThunderA@ha -/* 8027BAB8 002789F8 38 63 6C 00 */ addi r3, r3, __vt__Q23efx14TDnkmsThunderA@l -/* 8027BABC 002789FC 90 7E 00 00 */ stw r3, 0(r30) -/* 8027BAC0 00278A00 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027BAC4 00278A04 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BAC8 00278A08 41 82 00 24 */ beq lbl_8027BAEC -/* 8027BACC 00278A0C 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8027BAD0 00278A10 38 7E 00 04 */ addi r3, r30, 4 -/* 8027BAD4 00278A14 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8027BAD8 00278A18 38 80 00 00 */ li r4, 0 -/* 8027BADC 00278A1C 90 BE 00 00 */ stw r5, 0(r30) -/* 8027BAE0 00278A20 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027BAE4 00278A24 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BAE8 00278A28 4B E1 41 B5 */ bl __dt__18JPAEmitterCallBackFv -lbl_8027BAEC: -/* 8027BAEC 00278A2C 7F E0 07 35 */ extsh. r0, r31 -/* 8027BAF0 00278A30 40 81 00 0C */ ble lbl_8027BAFC -/* 8027BAF4 00278A34 7F C3 F3 78 */ mr r3, r30 -/* 8027BAF8 00278A38 4B DA 85 BD */ bl __dl__FPv -lbl_8027BAFC: -/* 8027BAFC 00278A3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BB00 00278A40 7F C3 F3 78 */ mr r3, r30 -/* 8027BB04 00278A44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027BB08 00278A48 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027BB0C 00278A4C 7C 08 03 A6 */ mtlr r0 -/* 8027BB10 00278A50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BB14 00278A54 4E 80 00 20 */ blr - -.global __dt__Q23efx13TDnkmsHoudenBFv -__dt__Q23efx13TDnkmsHoudenBFv: -/* 8027BB18 00278A58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BB1C 00278A5C 7C 08 02 A6 */ mflr r0 -/* 8027BB20 00278A60 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BB24 00278A64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027BB28 00278A68 7C 9F 23 78 */ mr r31, r4 -/* 8027BB2C 00278A6C 93 C1 00 08 */ stw r30, 8(r1) -/* 8027BB30 00278A70 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027BB34 00278A74 41 82 00 64 */ beq lbl_8027BB98 -/* 8027BB38 00278A78 3C 60 80 4C */ lis r3, __vt__Q23efx13TDnkmsHoudenB@ha -/* 8027BB3C 00278A7C 38 63 7B 18 */ addi r3, r3, __vt__Q23efx13TDnkmsHoudenB@l -/* 8027BB40 00278A80 90 7E 00 00 */ stw r3, 0(r30) -/* 8027BB44 00278A84 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027BB48 00278A88 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BB4C 00278A8C 41 82 00 3C */ beq lbl_8027BB88 -/* 8027BB50 00278A90 3C 60 80 4E */ lis r3, __vt__Q23efx9TChasePos@ha -/* 8027BB54 00278A94 38 63 69 40 */ addi r3, r3, __vt__Q23efx9TChasePos@l -/* 8027BB58 00278A98 90 7E 00 00 */ stw r3, 0(r30) -/* 8027BB5C 00278A9C 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027BB60 00278AA0 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BB64 00278AA4 41 82 00 24 */ beq lbl_8027BB88 -/* 8027BB68 00278AA8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8027BB6C 00278AAC 38 7E 00 04 */ addi r3, r30, 4 -/* 8027BB70 00278AB0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8027BB74 00278AB4 38 80 00 00 */ li r4, 0 -/* 8027BB78 00278AB8 90 BE 00 00 */ stw r5, 0(r30) -/* 8027BB7C 00278ABC 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027BB80 00278AC0 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BB84 00278AC4 4B E1 41 19 */ bl __dt__18JPAEmitterCallBackFv -lbl_8027BB88: -/* 8027BB88 00278AC8 7F E0 07 35 */ extsh. r0, r31 -/* 8027BB8C 00278ACC 40 81 00 0C */ ble lbl_8027BB98 -/* 8027BB90 00278AD0 7F C3 F3 78 */ mr r3, r30 -/* 8027BB94 00278AD4 4B DA 85 21 */ bl __dl__FPv -lbl_8027BB98: -/* 8027BB98 00278AD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BB9C 00278ADC 7F C3 F3 78 */ mr r3, r30 -/* 8027BBA0 00278AE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027BBA4 00278AE4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027BBA8 00278AE8 7C 08 03 A6 */ mtlr r0 -/* 8027BBAC 00278AEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BBB0 00278AF0 4E 80 00 20 */ blr - -.global __dt__Q23efx13TDnkmsHoudenAFv -__dt__Q23efx13TDnkmsHoudenAFv: -/* 8027BBB4 00278AF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BBB8 00278AF8 7C 08 02 A6 */ mflr r0 -/* 8027BBBC 00278AFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BBC0 00278B00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027BBC4 00278B04 7C 9F 23 78 */ mr r31, r4 -/* 8027BBC8 00278B08 93 C1 00 08 */ stw r30, 8(r1) -/* 8027BBCC 00278B0C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027BBD0 00278B10 41 82 00 64 */ beq lbl_8027BC34 -/* 8027BBD4 00278B14 3C 60 80 4C */ lis r3, __vt__Q23efx13TDnkmsHoudenA@ha -/* 8027BBD8 00278B18 38 63 7B 64 */ addi r3, r3, __vt__Q23efx13TDnkmsHoudenA@l -/* 8027BBDC 00278B1C 90 7E 00 00 */ stw r3, 0(r30) -/* 8027BBE0 00278B20 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027BBE4 00278B24 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BBE8 00278B28 41 82 00 3C */ beq lbl_8027BC24 -/* 8027BBEC 00278B2C 3C 60 80 4E */ lis r3, __vt__Q23efx9TChasePos@ha -/* 8027BBF0 00278B30 38 63 69 40 */ addi r3, r3, __vt__Q23efx9TChasePos@l -/* 8027BBF4 00278B34 90 7E 00 00 */ stw r3, 0(r30) -/* 8027BBF8 00278B38 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027BBFC 00278B3C 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BC00 00278B40 41 82 00 24 */ beq lbl_8027BC24 -/* 8027BC04 00278B44 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8027BC08 00278B48 38 7E 00 04 */ addi r3, r30, 4 -/* 8027BC0C 00278B4C 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8027BC10 00278B50 38 80 00 00 */ li r4, 0 -/* 8027BC14 00278B54 90 BE 00 00 */ stw r5, 0(r30) -/* 8027BC18 00278B58 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027BC1C 00278B5C 90 1E 00 04 */ stw r0, 4(r30) -/* 8027BC20 00278B60 4B E1 40 7D */ bl __dt__18JPAEmitterCallBackFv -lbl_8027BC24: -/* 8027BC24 00278B64 7F E0 07 35 */ extsh. r0, r31 -/* 8027BC28 00278B68 40 81 00 0C */ ble lbl_8027BC34 -/* 8027BC2C 00278B6C 7F C3 F3 78 */ mr r3, r30 -/* 8027BC30 00278B70 4B DA 84 85 */ bl __dl__FPv -lbl_8027BC34: -/* 8027BC34 00278B74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BC38 00278B78 7F C3 F3 78 */ mr r3, r30 -/* 8027BC3C 00278B7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027BC40 00278B80 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027BC44 00278B84 7C 08 03 A6 */ mtlr r0 -/* 8027BC48 00278B88 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BC4C 00278B8C 4E 80 00 20 */ blr - -.global setupEffect__Q34Game7ElecBug3ObjFv -setupEffect__Q34Game7ElecBug3ObjFv: -/* 8027BC50 00278B90 80 83 02 DC */ lwz r4, 0x2dc(r3) -/* 8027BC54 00278B94 38 03 01 8C */ addi r0, r3, 0x18c -/* 8027BC58 00278B98 90 04 00 00 */ stw r0, 0(r4) -/* 8027BC5C 00278B9C 4E 80 00 20 */ blr - -.global startChargeEffect__Q34Game7ElecBug3ObjFv -startChargeEffect__Q34Game7ElecBug3ObjFv: -/* 8027BC60 00278BA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BC64 00278BA4 7C 08 02 A6 */ mflr r0 -/* 8027BC68 00278BA8 38 80 00 00 */ li r4, 0 -/* 8027BC6C 00278BAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BC70 00278BB0 80 A3 02 DC */ lwz r5, 0x2dc(r3) -/* 8027BC74 00278BB4 80 05 00 00 */ lwz r0, 0(r5) -/* 8027BC78 00278BB8 38 65 00 30 */ addi r3, r5, 0x30 -/* 8027BC7C 00278BBC 90 05 00 40 */ stw r0, 0x40(r5) -/* 8027BC80 00278BC0 81 85 00 30 */ lwz r12, 0x30(r5) -/* 8027BC84 00278BC4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BC88 00278BC8 7D 89 03 A6 */ mtctr r12 -/* 8027BC8C 00278BCC 4E 80 04 21 */ bctrl -/* 8027BC90 00278BD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BC94 00278BD4 7C 08 03 A6 */ mtlr r0 -/* 8027BC98 00278BD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BC9C 00278BDC 4E 80 00 20 */ blr - -.global startDischargeEffect__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj -startDischargeEffect__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj: -/* 8027BCA0 00278BE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BCA4 00278BE4 7C 08 02 A6 */ mflr r0 -/* 8027BCA8 00278BE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BCAC 00278BEC 38 04 01 8C */ addi r0, r4, 0x18c -/* 8027BCB0 00278BF0 38 80 00 00 */ li r4, 0 -/* 8027BCB4 00278BF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027BCB8 00278BF8 83 E3 02 DC */ lwz r31, 0x2dc(r3) -/* 8027BCBC 00278BFC 90 1F 00 04 */ stw r0, 4(r31) -/* 8027BCC0 00278C00 38 7F 00 08 */ addi r3, r31, 8 -/* 8027BCC4 00278C04 80 1F 00 00 */ lwz r0, 0(r31) -/* 8027BCC8 00278C08 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8027BCCC 00278C0C 81 9F 00 08 */ lwz r12, 8(r31) -/* 8027BCD0 00278C10 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BCD4 00278C14 7D 89 03 A6 */ mtctr r12 -/* 8027BCD8 00278C18 4E 80 04 21 */ bctrl -/* 8027BCDC 00278C1C 80 1F 00 04 */ lwz r0, 4(r31) -/* 8027BCE0 00278C20 38 7F 00 1C */ addi r3, r31, 0x1c -/* 8027BCE4 00278C24 38 80 00 00 */ li r4, 0 -/* 8027BCE8 00278C28 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 8027BCEC 00278C2C 81 9F 00 1C */ lwz r12, 0x1c(r31) -/* 8027BCF0 00278C30 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BCF4 00278C34 7D 89 03 A6 */ mtctr r12 -/* 8027BCF8 00278C38 4E 80 04 21 */ bctrl -/* 8027BCFC 00278C3C 80 BF 00 04 */ lwz r5, 4(r31) -/* 8027BD00 00278C40 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8027BD04 00278C44 80 1F 00 00 */ lwz r0, 0(r31) -/* 8027BD08 00278C48 38 80 00 00 */ li r4, 0 -/* 8027BD0C 00278C4C 90 1F 00 54 */ stw r0, 0x54(r31) -/* 8027BD10 00278C50 90 BF 00 58 */ stw r5, 0x58(r31) -/* 8027BD14 00278C54 80 BF 00 04 */ lwz r5, 4(r31) -/* 8027BD18 00278C58 80 1F 00 00 */ lwz r0, 0(r31) -/* 8027BD1C 00278C5C 90 1F 00 6C */ stw r0, 0x6c(r31) -/* 8027BD20 00278C60 90 BF 00 70 */ stw r5, 0x70(r31) -/* 8027BD24 00278C64 81 9F 00 44 */ lwz r12, 0x44(r31) -/* 8027BD28 00278C68 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BD2C 00278C6C 7D 89 03 A6 */ mtctr r12 -/* 8027BD30 00278C70 4E 80 04 21 */ bctrl -/* 8027BD34 00278C74 38 7F 00 5C */ addi r3, r31, 0x5c -/* 8027BD38 00278C78 38 80 00 00 */ li r4, 0 -/* 8027BD3C 00278C7C 81 9F 00 5C */ lwz r12, 0x5c(r31) -/* 8027BD40 00278C80 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BD44 00278C84 7D 89 03 A6 */ mtctr r12 -/* 8027BD48 00278C88 4E 80 04 21 */ bctrl -/* 8027BD4C 00278C8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BD50 00278C90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027BD54 00278C94 7C 08 03 A6 */ mtlr r0 -/* 8027BD58 00278C98 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BD5C 00278C9C 4E 80 00 20 */ blr - -.global finishPartnerAndEffect__Q34Game7ElecBug3ObjFv -finishPartnerAndEffect__Q34Game7ElecBug3ObjFv: -/* 8027BD60 00278CA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BD64 00278CA4 7C 08 02 A6 */ mflr r0 -/* 8027BD68 00278CA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BD6C 00278CAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027BD70 00278CB0 80 83 02 D8 */ lwz r4, 0x2d8(r3) -/* 8027BD74 00278CB4 28 04 00 00 */ cmplwi r4, 0 -/* 8027BD78 00278CB8 41 82 00 10 */ beq lbl_8027BD88 -/* 8027BD7C 00278CBC 38 00 00 00 */ li r0, 0 -/* 8027BD80 00278CC0 90 04 02 D8 */ stw r0, 0x2d8(r4) -/* 8027BD84 00278CC4 90 03 02 D8 */ stw r0, 0x2d8(r3) -lbl_8027BD88: -/* 8027BD88 00278CC8 83 E3 02 DC */ lwz r31, 0x2dc(r3) -/* 8027BD8C 00278CCC 38 7F 00 08 */ addi r3, r31, 8 -/* 8027BD90 00278CD0 81 9F 00 08 */ lwz r12, 8(r31) -/* 8027BD94 00278CD4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027BD98 00278CD8 7D 89 03 A6 */ mtctr r12 -/* 8027BD9C 00278CDC 4E 80 04 21 */ bctrl -/* 8027BDA0 00278CE0 38 7F 00 1C */ addi r3, r31, 0x1c -/* 8027BDA4 00278CE4 81 9F 00 1C */ lwz r12, 0x1c(r31) -/* 8027BDA8 00278CE8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027BDAC 00278CEC 7D 89 03 A6 */ mtctr r12 -/* 8027BDB0 00278CF0 4E 80 04 21 */ bctrl -/* 8027BDB4 00278CF4 38 7F 00 30 */ addi r3, r31, 0x30 -/* 8027BDB8 00278CF8 81 9F 00 30 */ lwz r12, 0x30(r31) -/* 8027BDBC 00278CFC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027BDC0 00278D00 7D 89 03 A6 */ mtctr r12 -/* 8027BDC4 00278D04 4E 80 04 21 */ bctrl -/* 8027BDC8 00278D08 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8027BDCC 00278D0C 81 9F 00 44 */ lwz r12, 0x44(r31) -/* 8027BDD0 00278D10 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027BDD4 00278D14 7D 89 03 A6 */ mtctr r12 -/* 8027BDD8 00278D18 4E 80 04 21 */ bctrl -/* 8027BDDC 00278D1C 38 7F 00 5C */ addi r3, r31, 0x5c -/* 8027BDE0 00278D20 81 9F 00 5C */ lwz r12, 0x5c(r31) -/* 8027BDE4 00278D24 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027BDE8 00278D28 7D 89 03 A6 */ mtctr r12 -/* 8027BDEC 00278D2C 4E 80 04 21 */ bctrl -/* 8027BDF0 00278D30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BDF4 00278D34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027BDF8 00278D38 7C 08 03 A6 */ mtlr r0 -/* 8027BDFC 00278D3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BE00 00278D40 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game7ElecBug3ObjFv -effectDrawOn__Q34Game7ElecBug3ObjFv: -/* 8027BE04 00278D44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BE08 00278D48 7C 08 02 A6 */ mflr r0 -/* 8027BE0C 00278D4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BE10 00278D50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027BE14 00278D54 83 E3 02 DC */ lwz r31, 0x2dc(r3) -/* 8027BE18 00278D58 81 9F 00 08 */ lwz r12, 8(r31) -/* 8027BE1C 00278D5C 38 7F 00 08 */ addi r3, r31, 8 -/* 8027BE20 00278D60 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8027BE24 00278D64 7D 89 03 A6 */ mtctr r12 -/* 8027BE28 00278D68 4E 80 04 21 */ bctrl -/* 8027BE2C 00278D6C 38 7F 00 1C */ addi r3, r31, 0x1c -/* 8027BE30 00278D70 81 9F 00 1C */ lwz r12, 0x1c(r31) -/* 8027BE34 00278D74 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8027BE38 00278D78 7D 89 03 A6 */ mtctr r12 -/* 8027BE3C 00278D7C 4E 80 04 21 */ bctrl -/* 8027BE40 00278D80 38 7F 00 30 */ addi r3, r31, 0x30 -/* 8027BE44 00278D84 81 9F 00 30 */ lwz r12, 0x30(r31) -/* 8027BE48 00278D88 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8027BE4C 00278D8C 7D 89 03 A6 */ mtctr r12 -/* 8027BE50 00278D90 4E 80 04 21 */ bctrl -/* 8027BE54 00278D94 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8027BE58 00278D98 81 9F 00 44 */ lwz r12, 0x44(r31) -/* 8027BE5C 00278D9C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8027BE60 00278DA0 7D 89 03 A6 */ mtctr r12 -/* 8027BE64 00278DA4 4E 80 04 21 */ bctrl -/* 8027BE68 00278DA8 38 7F 00 5C */ addi r3, r31, 0x5c -/* 8027BE6C 00278DAC 81 9F 00 5C */ lwz r12, 0x5c(r31) -/* 8027BE70 00278DB0 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8027BE74 00278DB4 7D 89 03 A6 */ mtctr r12 -/* 8027BE78 00278DB8 4E 80 04 21 */ bctrl -/* 8027BE7C 00278DBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BE80 00278DC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027BE84 00278DC4 7C 08 03 A6 */ mtlr r0 -/* 8027BE88 00278DC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BE8C 00278DCC 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game7ElecBug3ObjFv -effectDrawOff__Q34Game7ElecBug3ObjFv: -/* 8027BE90 00278DD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027BE94 00278DD4 7C 08 02 A6 */ mflr r0 -/* 8027BE98 00278DD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027BE9C 00278DDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027BEA0 00278DE0 83 E3 02 DC */ lwz r31, 0x2dc(r3) -/* 8027BEA4 00278DE4 81 9F 00 08 */ lwz r12, 8(r31) -/* 8027BEA8 00278DE8 38 7F 00 08 */ addi r3, r31, 8 -/* 8027BEAC 00278DEC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8027BEB0 00278DF0 7D 89 03 A6 */ mtctr r12 -/* 8027BEB4 00278DF4 4E 80 04 21 */ bctrl -/* 8027BEB8 00278DF8 38 7F 00 1C */ addi r3, r31, 0x1c -/* 8027BEBC 00278DFC 81 9F 00 1C */ lwz r12, 0x1c(r31) -/* 8027BEC0 00278E00 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8027BEC4 00278E04 7D 89 03 A6 */ mtctr r12 -/* 8027BEC8 00278E08 4E 80 04 21 */ bctrl -/* 8027BECC 00278E0C 38 7F 00 30 */ addi r3, r31, 0x30 -/* 8027BED0 00278E10 81 9F 00 30 */ lwz r12, 0x30(r31) -/* 8027BED4 00278E14 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8027BED8 00278E18 7D 89 03 A6 */ mtctr r12 -/* 8027BEDC 00278E1C 4E 80 04 21 */ bctrl -/* 8027BEE0 00278E20 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8027BEE4 00278E24 81 9F 00 44 */ lwz r12, 0x44(r31) -/* 8027BEE8 00278E28 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8027BEEC 00278E2C 7D 89 03 A6 */ mtctr r12 -/* 8027BEF0 00278E30 4E 80 04 21 */ bctrl -/* 8027BEF4 00278E34 38 7F 00 5C */ addi r3, r31, 0x5c -/* 8027BEF8 00278E38 81 9F 00 5C */ lwz r12, 0x5c(r31) -/* 8027BEFC 00278E3C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8027BF00 00278E40 7D 89 03 A6 */ mtctr r12 -/* 8027BF04 00278E44 4E 80 04 21 */ bctrl -/* 8027BF08 00278E48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027BF0C 00278E4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027BF10 00278E50 7C 08 03 A6 */ mtlr r0 -/* 8027BF14 00278E54 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027BF18 00278E58 4E 80 00 20 */ blr - -.global checkInteract__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj -checkInteract__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj: -/* 8027BF1C 00278E5C 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 8027BF20 00278E60 7C 08 02 A6 */ mflr r0 -/* 8027BF24 00278E64 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 8027BF28 00278E68 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 8027BF2C 00278E6C F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 8027BF30 00278E70 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 8027BF34 00278E74 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 8027BF38 00278E78 DB A1 01 A0 */ stfd f29, 0x1a0(r1) -/* 8027BF3C 00278E7C F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 -/* 8027BF40 00278E80 DB 81 01 90 */ stfd f28, 0x190(r1) -/* 8027BF44 00278E84 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 -/* 8027BF48 00278E88 DB 61 01 80 */ stfd f27, 0x180(r1) -/* 8027BF4C 00278E8C F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0 -/* 8027BF50 00278E90 DB 41 01 70 */ stfd f26, 0x170(r1) -/* 8027BF54 00278E94 F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0 -/* 8027BF58 00278E98 DB 21 01 60 */ stfd f25, 0x160(r1) -/* 8027BF5C 00278E9C F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0 -/* 8027BF60 00278EA0 DB 01 01 50 */ stfd f24, 0x150(r1) -/* 8027BF64 00278EA4 F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0 -/* 8027BF68 00278EA8 DA E1 01 40 */ stfd f23, 0x140(r1) -/* 8027BF6C 00278EAC F2 E1 01 48 */ psq_st f23, 328(r1), 0, qr0 -/* 8027BF70 00278EB0 DA C1 01 30 */ stfd f22, 0x130(r1) -/* 8027BF74 00278EB4 F2 C1 01 38 */ psq_st f22, 312(r1), 0, qr0 -/* 8027BF78 00278EB8 DA A1 01 20 */ stfd f21, 0x120(r1) -/* 8027BF7C 00278EBC F2 A1 01 28 */ psq_st f21, 296(r1), 0, qr0 -/* 8027BF80 00278EC0 DA 81 01 10 */ stfd f20, 0x110(r1) -/* 8027BF84 00278EC4 F2 81 01 18 */ psq_st f20, 280(r1), 0, qr0 -/* 8027BF88 00278EC8 DA 61 01 00 */ stfd f19, 0x100(r1) -/* 8027BF8C 00278ECC F2 61 01 08 */ psq_st f19, 264(r1), 0, qr0 -/* 8027BF90 00278ED0 DA 41 00 F0 */ stfd f18, 0xf0(r1) -/* 8027BF94 00278ED4 F2 41 00 F8 */ psq_st f18, 248(r1), 0, qr0 -/* 8027BF98 00278ED8 DA 21 00 E0 */ stfd f17, 0xe0(r1) -/* 8027BF9C 00278EDC F2 21 00 E8 */ psq_st f17, 232(r1), 0, qr0 -/* 8027BFA0 00278EE0 DA 01 00 D0 */ stfd f16, 0xd0(r1) -/* 8027BFA4 00278EE4 F2 01 00 D8 */ psq_st f16, 216(r1), 0, qr0 -/* 8027BFA8 00278EE8 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 8027BFAC 00278EEC 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 8027BFB0 00278EF0 7C 7E 1B 78 */ mr r30, r3 -/* 8027BFB4 00278EF4 7C 9F 23 78 */ mr r31, r4 -/* 8027BFB8 00278EF8 7F C4 F3 78 */ mr r4, r30 -/* 8027BFBC 00278EFC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027BFC0 00278F00 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027BFC4 00278F04 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BFC8 00278F08 7D 89 03 A6 */ mtctr r12 -/* 8027BFCC 00278F0C 4E 80 04 21 */ bctrl -/* 8027BFD0 00278F10 7F E4 FB 78 */ mr r4, r31 -/* 8027BFD4 00278F14 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027BFD8 00278F18 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027BFDC 00278F1C C2 61 00 20 */ lfs f19, 0x20(r1) -/* 8027BFE0 00278F20 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027BFE4 00278F24 C2 81 00 24 */ lfs f20, 0x24(r1) -/* 8027BFE8 00278F28 C2 C1 00 28 */ lfs f22, 0x28(r1) -/* 8027BFEC 00278F2C 7D 89 03 A6 */ mtctr r12 -/* 8027BFF0 00278F30 4E 80 04 21 */ bctrl -/* 8027BFF4 00278F34 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8027BFF8 00278F38 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8027BFFC 00278F3C EF A2 A0 28 */ fsubs f29, f2, f20 -/* 8027C000 00278F40 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8027C004 00278F44 EF C1 98 28 */ fsubs f30, f1, f19 -/* 8027C008 00278F48 C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2) -/* 8027C00C 00278F4C EF E0 B0 28 */ fsubs f31, f0, f22 -/* 8027C010 00278F50 EC 9D 07 72 */ fmuls f4, f29, f29 -/* 8027C014 00278F54 EC BF 07 F2 */ fmuls f5, f31, f31 -/* 8027C018 00278F58 EC 9E 27 BA */ fmadds f4, f30, f30, f4 -/* 8027C01C 00278F5C EC 85 20 2A */ fadds f4, f5, f4 -/* 8027C020 00278F60 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8027C024 00278F64 40 81 00 14 */ ble lbl_8027C038 -/* 8027C028 00278F68 40 81 00 14 */ ble lbl_8027C03C -/* 8027C02C 00278F6C FC 60 20 34 */ frsqrte f3, f4 -/* 8027C030 00278F70 EC 83 01 32 */ fmuls f4, f3, f4 -/* 8027C034 00278F74 48 00 00 08 */ b lbl_8027C03C -lbl_8027C038: -/* 8027C038 00278F78 FC 80 18 90 */ fmr f4, f3 -lbl_8027C03C: -/* 8027C03C 00278F7C C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2) -/* 8027C040 00278F80 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8027C044 00278F84 40 81 00 18 */ ble lbl_8027C05C -/* 8027C048 00278F88 C0 62 D1 A4 */ lfs f3, lbl_8051B504@sda21(r2) -/* 8027C04C 00278F8C EC 63 20 24 */ fdivs f3, f3, f4 -/* 8027C050 00278F90 EF DE 00 F2 */ fmuls f30, f30, f3 -/* 8027C054 00278F94 EF BD 00 F2 */ fmuls f29, f29, f3 -/* 8027C058 00278F98 EF FF 00 F2 */ fmuls f31, f31, f3 -lbl_8027C05C: -/* 8027C05C 00278F9C C0 82 D1 88 */ lfs f4, lbl_8051B4E8@sda21(r2) -/* 8027C060 00278FA0 C0 A2 D1 A4 */ lfs f5, lbl_8051B504@sda21(r2) -/* 8027C064 00278FA4 EC 64 07 F2 */ fmuls f3, f4, f31 -/* 8027C068 00278FA8 EC C4 07 72 */ fmuls f6, f4, f29 -/* 8027C06C 00278FAC EF 64 1F B8 */ fmsubs f27, f4, f30, f3 -/* 8027C070 00278FB0 EF 45 37 BC */ fnmsubs f26, f5, f30, f6 -/* 8027C074 00278FB4 EF 85 37 F8 */ fmsubs f28, f5, f31, f6 -/* 8027C078 00278FB8 EC 7B 06 F2 */ fmuls f3, f27, f27 -/* 8027C07C 00278FBC EC BA 06 B2 */ fmuls f5, f26, f26 -/* 8027C080 00278FC0 EC 7C 1F 3A */ fmadds f3, f28, f28, f3 -/* 8027C084 00278FC4 EC A5 18 2A */ fadds f5, f5, f3 -/* 8027C088 00278FC8 FC 05 20 40 */ fcmpo cr0, f5, f4 -/* 8027C08C 00278FCC 40 81 00 14 */ ble lbl_8027C0A0 -/* 8027C090 00278FD0 40 81 00 14 */ ble lbl_8027C0A4 -/* 8027C094 00278FD4 FC 60 28 34 */ frsqrte f3, f5 -/* 8027C098 00278FD8 EC A3 01 72 */ fmuls f5, f3, f5 -/* 8027C09C 00278FDC 48 00 00 08 */ b lbl_8027C0A4 -lbl_8027C0A0: -/* 8027C0A0 00278FE0 FC A0 20 90 */ fmr f5, f4 -lbl_8027C0A4: -/* 8027C0A4 00278FE4 C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2) -/* 8027C0A8 00278FE8 FC 05 18 40 */ fcmpo cr0, f5, f3 -/* 8027C0AC 00278FEC 40 81 00 18 */ ble lbl_8027C0C4 -/* 8027C0B0 00278FF0 C0 62 D1 A4 */ lfs f3, lbl_8051B504@sda21(r2) -/* 8027C0B4 00278FF4 EC 63 28 24 */ fdivs f3, f3, f5 -/* 8027C0B8 00278FF8 EF 9C 00 F2 */ fmuls f28, f28, f3 -/* 8027C0BC 00278FFC EF 7B 00 F2 */ fmuls f27, f27, f3 -/* 8027C0C0 00279000 EF 5A 00 F2 */ fmuls f26, f26, f3 -lbl_8027C0C4: -/* 8027C0C4 00279004 EC BE 06 B2 */ fmuls f5, f30, f26 -/* 8027C0C8 00279008 C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2) -/* 8027C0CC 0027900C EC DF 06 F2 */ fmuls f6, f31, f27 -/* 8027C0D0 00279010 EC 9D 07 32 */ fmuls f4, f29, f28 -/* 8027C0D4 00279014 EF 3F 2F 38 */ fmsubs f25, f31, f28, f5 -/* 8027C0D8 00279018 EE FD 36 B8 */ fmsubs f23, f29, f26, f6 -/* 8027C0DC 0027901C EF 1E 26 F8 */ fmsubs f24, f30, f27, f4 -/* 8027C0E0 00279020 EC 99 06 72 */ fmuls f4, f25, f25 -/* 8027C0E4 00279024 EC B8 06 32 */ fmuls f5, f24, f24 -/* 8027C0E8 00279028 EC 97 25 FA */ fmadds f4, f23, f23, f4 -/* 8027C0EC 0027902C EC 85 20 2A */ fadds f4, f5, f4 -/* 8027C0F0 00279030 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8027C0F4 00279034 40 81 00 14 */ ble lbl_8027C108 -/* 8027C0F8 00279038 40 81 00 14 */ ble lbl_8027C10C -/* 8027C0FC 0027903C FC 60 20 34 */ frsqrte f3, f4 -/* 8027C100 00279040 EC 83 01 32 */ fmuls f4, f3, f4 -/* 8027C104 00279044 48 00 00 08 */ b lbl_8027C10C -lbl_8027C108: -/* 8027C108 00279048 FC 80 18 90 */ fmr f4, f3 -lbl_8027C10C: -/* 8027C10C 0027904C C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2) -/* 8027C110 00279050 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8027C114 00279054 40 81 00 18 */ ble lbl_8027C12C -/* 8027C118 00279058 C0 62 D1 A4 */ lfs f3, lbl_8051B504@sda21(r2) -/* 8027C11C 0027905C EC 63 20 24 */ fdivs f3, f3, f4 -/* 8027C120 00279060 EE F7 00 F2 */ fmuls f23, f23, f3 -/* 8027C124 00279064 EF 39 00 F2 */ fmuls f25, f25, f3 -/* 8027C128 00279068 EF 18 00 F2 */ fmuls f24, f24, f3 -lbl_8027C12C: -/* 8027C12C 0027906C EC B4 10 28 */ fsubs f5, f20, f2 -/* 8027C130 00279070 C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2) -/* 8027C134 00279074 EC 96 00 28 */ fsubs f4, f22, f0 -/* 8027C138 00279078 EC D3 08 28 */ fsubs f6, f19, f1 -/* 8027C13C 0027907C EC A5 01 72 */ fmuls f5, f5, f5 -/* 8027C140 00279080 EC E4 01 32 */ fmuls f7, f4, f4 -/* 8027C144 00279084 EC 86 29 BA */ fmadds f4, f6, f6, f5 -/* 8027C148 00279088 EE A7 20 2A */ fadds f21, f7, f4 -/* 8027C14C 0027908C FC 15 18 40 */ fcmpo cr0, f21, f3 -/* 8027C150 00279090 40 81 00 14 */ ble lbl_8027C164 -/* 8027C154 00279094 40 81 00 14 */ ble lbl_8027C168 -/* 8027C158 00279098 FC 60 A8 34 */ frsqrte f3, f21 -/* 8027C15C 0027909C EE A3 05 72 */ fmuls f21, f3, f21 -/* 8027C160 002790A0 48 00 00 08 */ b lbl_8027C168 -lbl_8027C164: -/* 8027C164 002790A4 FE A0 18 90 */ fmr f21, f3 -lbl_8027C168: -/* 8027C168 002790A8 EC 73 08 2A */ fadds f3, f19, f1 -/* 8027C16C 002790AC 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8027C170 002790B0 C0 82 D1 B8 */ lfs f4, lbl_8051B518@sda21(r2) -/* 8027C174 002790B4 EC 34 10 2A */ fadds f1, f20, f2 -/* 8027C178 002790B8 EC 16 00 2A */ fadds f0, f22, f0 -/* 8027C17C 002790BC C0 A3 04 4C */ lfs f5, 0x44c(r3) -/* 8027C180 002790C0 C2 23 04 74 */ lfs f17, 0x474(r3) -/* 8027C184 002790C4 EC 44 00 F2 */ fmuls f2, f4, f3 -/* 8027C188 002790C8 EC 24 00 72 */ fmuls f1, f4, f1 -/* 8027C18C 002790CC 38 61 00 54 */ addi r3, r1, 0x54 -/* 8027C190 002790D0 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8027C194 002790D4 D2 A1 00 38 */ stfs f21, 0x38(r1) -/* 8027C198 002790D8 EE 5A 01 72 */ fmuls f18, f26, f5 -/* 8027C19C 002790DC EE 1C 01 72 */ fmuls f16, f28, f5 -/* 8027C1A0 002790E0 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8027C1A4 002790E4 38 81 00 2C */ addi r4, r1, 0x2c -/* 8027C1A8 002790E8 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8027C1AC 002790EC D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8027C1B0 002790F0 4B FB 21 F1 */ bl __ct__Q24Game15CellIteratorArgFRQ23Sys6Sphere -/* 8027C1B4 002790F4 38 00 00 01 */ li r0, 1 -/* 8027C1B8 002790F8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8027C1BC 002790FC 98 01 00 70 */ stb r0, 0x70(r1) -/* 8027C1C0 00279100 38 81 00 54 */ addi r4, r1, 0x54 -/* 8027C1C4 00279104 4B FB 22 1D */ bl __ct__Q24Game12CellIteratorFRQ24Game15CellIteratorArg -/* 8027C1C8 00279108 38 61 00 74 */ addi r3, r1, 0x74 -/* 8027C1CC 0027910C 4B FB 22 91 */ bl first__Q24Game12CellIteratorFv -/* 8027C1D0 00279110 48 00 01 74 */ b lbl_8027C344 -lbl_8027C1D4: -/* 8027C1D4 00279114 38 61 00 74 */ addi r3, r1, 0x74 -/* 8027C1D8 00279118 4B FB 23 6D */ bl __ml__Q24Game12CellIteratorFv -/* 8027C1DC 0027911C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027C1E0 00279120 7C 7F 1B 78 */ mr r31, r3 -/* 8027C1E4 00279124 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8027C1E8 00279128 7D 89 03 A6 */ mtctr r12 -/* 8027C1EC 0027912C 4E 80 04 21 */ bctrl -/* 8027C1F0 00279130 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027C1F4 00279134 41 82 01 48 */ beq lbl_8027C33C -/* 8027C1F8 00279138 7F E3 FB 78 */ mr r3, r31 -/* 8027C1FC 0027913C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027C200 00279140 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027C204 00279144 7D 89 03 A6 */ mtctr r12 -/* 8027C208 00279148 4E 80 04 21 */ bctrl -/* 8027C20C 0027914C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027C210 00279150 40 82 00 20 */ bne lbl_8027C230 -/* 8027C214 00279154 7F E3 FB 78 */ mr r3, r31 -/* 8027C218 00279158 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027C21C 0027915C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027C220 00279160 7D 89 03 A6 */ mtctr r12 -/* 8027C224 00279164 4E 80 04 21 */ bctrl -/* 8027C228 00279168 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027C22C 0027916C 41 82 01 10 */ beq lbl_8027C33C -lbl_8027C230: -/* 8027C230 00279170 7F E4 FB 78 */ mr r4, r31 -/* 8027C234 00279174 38 61 00 08 */ addi r3, r1, 8 -/* 8027C238 00279178 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027C23C 0027917C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027C240 00279180 7D 89 03 A6 */ mtctr r12 -/* 8027C244 00279184 4E 80 04 21 */ bctrl -/* 8027C248 00279188 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8027C24C 0027918C C0 01 00 08 */ lfs f0, 8(r1) -/* 8027C250 00279190 EC 21 A0 28 */ fsubs f1, f1, f20 -/* 8027C254 00279194 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8027C258 00279198 EC 00 98 28 */ fsubs f0, f0, f19 -/* 8027C25C 0027919C C0 82 D1 88 */ lfs f4, lbl_8051B4E8@sda21(r2) -/* 8027C260 002791A0 EC 42 B0 28 */ fsubs f2, f2, f22 -/* 8027C264 002791A4 EC 7B 00 72 */ fmuls f3, f27, f1 -/* 8027C268 002791A8 EC 7C 18 3A */ fmadds f3, f28, f0, f3 -/* 8027C26C 002791AC EC 7A 18 BA */ fmadds f3, f26, f2, f3 -/* 8027C270 002791B0 FC 03 20 40 */ fcmpo cr0, f3, f4 -/* 8027C274 002791B4 40 81 00 0C */ ble lbl_8027C280 -/* 8027C278 002791B8 FC 80 18 90 */ fmr f4, f3 -/* 8027C27C 002791BC 48 00 00 08 */ b lbl_8027C284 -lbl_8027C280: -/* 8027C280 002791C0 FC 80 18 50 */ fneg f4, f3 -lbl_8027C284: -/* 8027C284 002791C4 C0 A2 D1 80 */ lfs f5, lbl_8051B4E0@sda21(r2) -/* 8027C288 002791C8 FC 04 28 40 */ fcmpo cr0, f4, f5 -/* 8027C28C 002791CC 40 80 00 B0 */ bge lbl_8027C33C -/* 8027C290 002791D0 EC BD 00 72 */ fmuls f5, f29, f1 -/* 8027C294 002791D4 EC BE 28 3A */ fmadds f5, f30, f0, f5 -/* 8027C298 002791D8 EC DF 28 BA */ fmadds f6, f31, f2, f5 -/* 8027C29C 002791DC FC 06 A8 40 */ fcmpo cr0, f6, f21 -/* 8027C2A0 002791E0 40 80 00 9C */ bge lbl_8027C33C -/* 8027C2A4 002791E4 C0 A2 D1 88 */ lfs f5, lbl_8051B4E8@sda21(r2) -/* 8027C2A8 002791E8 FC 06 28 40 */ fcmpo cr0, f6, f5 -/* 8027C2AC 002791EC 40 81 00 90 */ ble lbl_8027C33C -/* 8027C2B0 002791F0 EC 39 00 72 */ fmuls f1, f25, f1 -/* 8027C2B4 002791F4 EC 17 08 3A */ fmadds f0, f23, f0, f1 -/* 8027C2B8 002791F8 EC 38 00 BA */ fmadds f1, f24, f2, f0 -/* 8027C2BC 002791FC FC 01 28 40 */ fcmpo cr0, f1, f5 -/* 8027C2C0 00279200 40 81 00 08 */ ble lbl_8027C2C8 -/* 8027C2C4 00279204 48 00 00 08 */ b lbl_8027C2CC -lbl_8027C2C8: -/* 8027C2C8 00279208 FC 20 08 50 */ fneg f1, f1 -lbl_8027C2CC: -/* 8027C2CC 0027920C C0 02 D1 A8 */ lfs f0, lbl_8051B508@sda21(r2) -/* 8027C2D0 00279210 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027C2D4 00279214 40 80 00 68 */ bge lbl_8027C33C -/* 8027C2D8 00279218 EC 03 20 24 */ fdivs f0, f3, f4 -/* 8027C2DC 0027921C 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8027C2E0 00279220 3C 60 80 4B */ lis r3, __vt__Q24Game11Interaction@ha -/* 8027C2E4 00279224 3C 80 80 4B */ lis r4, __vt__Q24Game12InteractWind@ha -/* 8027C2E8 00279228 C0 45 06 04 */ lfs f2, 0x604(r5) -/* 8027C2EC 0027922C 38 03 A3 00 */ addi r0, r3, __vt__Q24Game11Interaction@l -/* 8027C2F0 00279230 EC 20 04 32 */ fmuls f1, f0, f16 -/* 8027C2F4 00279234 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractDenki@ha -/* 8027C2F8 00279238 EC 00 04 B2 */ fmuls f0, f0, f18 -/* 8027C2FC 0027923C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8027C300 00279240 38 84 49 74 */ addi r4, r4, __vt__Q24Game12InteractWind@l -/* 8027C304 00279244 38 03 49 08 */ addi r0, r3, __vt__Q24Game13InteractDenki@l -/* 8027C308 00279248 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8027C30C 0027924C 7F E3 FB 78 */ mr r3, r31 -/* 8027C310 00279250 38 81 00 3C */ addi r4, r1, 0x3c -/* 8027C314 00279254 93 C1 00 40 */ stw r30, 0x40(r1) -/* 8027C318 00279258 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8027C31C 0027925C D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8027C320 00279260 D2 21 00 4C */ stfs f17, 0x4c(r1) -/* 8027C324 00279264 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8027C328 00279268 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8027C32C 0027926C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027C330 00279270 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8027C334 00279274 7D 89 03 A6 */ mtctr r12 -/* 8027C338 00279278 4E 80 04 21 */ bctrl -lbl_8027C33C: -/* 8027C33C 0027927C 38 61 00 74 */ addi r3, r1, 0x74 -/* 8027C340 00279280 4B FB 21 C1 */ bl next__Q24Game12CellIteratorFv -lbl_8027C344: -/* 8027C344 00279284 38 61 00 74 */ addi r3, r1, 0x74 -/* 8027C348 00279288 4B FB 21 ED */ bl isDone__Q24Game12CellIteratorFv -/* 8027C34C 0027928C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027C350 00279290 41 82 FE 84 */ beq lbl_8027C1D4 -/* 8027C354 00279294 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 8027C358 00279298 CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 8027C35C 0027929C E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 8027C360 002792A0 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 8027C364 002792A4 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 -/* 8027C368 002792A8 CB A1 01 A0 */ lfd f29, 0x1a0(r1) -/* 8027C36C 002792AC E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 -/* 8027C370 002792B0 CB 81 01 90 */ lfd f28, 0x190(r1) -/* 8027C374 002792B4 E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0 -/* 8027C378 002792B8 CB 61 01 80 */ lfd f27, 0x180(r1) -/* 8027C37C 002792BC E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0 -/* 8027C380 002792C0 CB 41 01 70 */ lfd f26, 0x170(r1) -/* 8027C384 002792C4 E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0 -/* 8027C388 002792C8 CB 21 01 60 */ lfd f25, 0x160(r1) -/* 8027C38C 002792CC E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0 -/* 8027C390 002792D0 CB 01 01 50 */ lfd f24, 0x150(r1) -/* 8027C394 002792D4 E2 E1 01 48 */ psq_l f23, 328(r1), 0, qr0 -/* 8027C398 002792D8 CA E1 01 40 */ lfd f23, 0x140(r1) -/* 8027C39C 002792DC E2 C1 01 38 */ psq_l f22, 312(r1), 0, qr0 -/* 8027C3A0 002792E0 CA C1 01 30 */ lfd f22, 0x130(r1) -/* 8027C3A4 002792E4 E2 A1 01 28 */ psq_l f21, 296(r1), 0, qr0 -/* 8027C3A8 002792E8 CA A1 01 20 */ lfd f21, 0x120(r1) -/* 8027C3AC 002792EC E2 81 01 18 */ psq_l f20, 280(r1), 0, qr0 -/* 8027C3B0 002792F0 CA 81 01 10 */ lfd f20, 0x110(r1) -/* 8027C3B4 002792F4 E2 61 01 08 */ psq_l f19, 264(r1), 0, qr0 -/* 8027C3B8 002792F8 CA 61 01 00 */ lfd f19, 0x100(r1) -/* 8027C3BC 002792FC E2 41 00 F8 */ psq_l f18, 248(r1), 0, qr0 -/* 8027C3C0 00279300 CA 41 00 F0 */ lfd f18, 0xf0(r1) -/* 8027C3C4 00279304 E2 21 00 E8 */ psq_l f17, 232(r1), 0, qr0 -/* 8027C3C8 00279308 CA 21 00 E0 */ lfd f17, 0xe0(r1) -/* 8027C3CC 0027930C E2 01 00 D8 */ psq_l f16, 216(r1), 0, qr0 -/* 8027C3D0 00279310 CA 01 00 D0 */ lfd f16, 0xd0(r1) -/* 8027C3D4 00279314 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 8027C3D8 00279318 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 8027C3DC 0027931C 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 8027C3E0 00279320 7C 08 03 A6 */ mtlr r0 -/* 8027C3E4 00279324 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 8027C3E8 00279328 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game7ElecBug3ObjFv -getDownSmokeScale__Q34Game7ElecBug3ObjFv: -/* 8027C3EC 0027932C C0 22 D1 BC */ lfs f1, lbl_8051B51C@sda21(r2) -/* 8027C3F0 00279330 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7ElecBug3ObjFv -getEnemyTypeID__Q34Game7ElecBug3ObjFv: -/* 8027C3F4 00279334 38 60 00 1C */ li r3, 0x1c -/* 8027C3F8 00279338 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q23efx13TDnkmsHoudenAFv -$$24$$2__dt__Q23efx13TDnkmsHoudenAFv: -/* 8027C3FC 0027933C 38 63 FF FC */ addi r3, r3, -4 -/* 8027C400 00279340 4B FF F7 B4 */ b __dt__Q23efx13TDnkmsHoudenAFv - -.global $$24$$2__dt__Q23efx13TDnkmsHoudenBFv -$$24$$2__dt__Q23efx13TDnkmsHoudenBFv: -/* 8027C404 00279344 38 63 FF FC */ addi r3, r3, -4 -/* 8027C408 00279348 4B FF F7 10 */ b __dt__Q23efx13TDnkmsHoudenBFv - -.global __ct__Q34Game5Wtank3MgrFiUc -__ct__Q34Game5Wtank3MgrFiUc: -/* 8027C40C 0027934C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C410 00279350 7C 08 02 A6 */ mflr r0 -/* 8027C414 00279354 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C418 00279358 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C41C 0027935C 7C 7F 1B 78 */ mr r31, r3 -/* 8027C420 00279360 4B FF 95 F9 */ bl __ct__Q34Game4Tank3MgrFiUc -/* 8027C424 00279364 3C 60 80 4C */ lis r3, __vt__Q34Game5Wtank3Mgr@ha -/* 8027C428 00279368 3C 80 80 48 */ lis r4, lbl_804870B4@ha -/* 8027C42C 0027936C 38 A3 7E E0 */ addi r5, r3, __vt__Q34Game5Wtank3Mgr@l -/* 8027C430 00279370 7F E3 FB 78 */ mr r3, r31 -/* 8027C434 00279374 90 BF 00 00 */ stw r5, 0(r31) -/* 8027C438 00279378 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8027C43C 0027937C 38 04 70 B4 */ addi r0, r4, lbl_804870B4@l -/* 8027C440 00279380 90 BF 00 04 */ stw r5, 4(r31) -/* 8027C444 00279384 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8027C448 00279388 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C44C 0027938C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C450 00279390 7C 08 03 A6 */ mtlr r0 -/* 8027C454 00279394 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C458 00279398 4E 80 00 20 */ blr - -.global doAlloc__Q34Game5Wtank3MgrFv -doAlloc__Q34Game5Wtank3MgrFv: -/* 8027C45C 0027939C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C460 002793A0 7C 08 02 A6 */ mflr r0 -/* 8027C464 002793A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C468 002793A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C46C 002793AC 7C 7F 1B 78 */ mr r31, r3 -/* 8027C470 002793B0 38 60 08 08 */ li r3, 0x808 -/* 8027C474 002793B4 4B DA 7A 31 */ bl __nw__FUl -/* 8027C478 002793B8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027C47C 002793BC 41 82 00 0C */ beq lbl_8027C488 -/* 8027C480 002793C0 48 00 00 25 */ bl __ct__Q34Game4Tank5ParmsFv -/* 8027C484 002793C4 7C 64 1B 78 */ mr r4, r3 -lbl_8027C488: -/* 8027C488 002793C8 7F E3 FB 78 */ mr r3, r31 -/* 8027C48C 002793CC 4B EB 34 11 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8027C490 002793D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C494 002793D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C498 002793D8 7C 08 03 A6 */ mtlr r0 -/* 8027C49C 002793DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C4A0 002793E0 4E 80 00 20 */ blr - -.global __ct__Q34Game4Tank5ParmsFv -__ct__Q34Game4Tank5ParmsFv: -/* 8027C4A4 002793E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C4A8 002793E8 7C 08 02 A6 */ mflr r0 -/* 8027C4AC 002793EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C4B0 002793F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C4B4 002793F4 7C 7F 1B 78 */ mr r31, r3 -/* 8027C4B8 002793F8 4B E8 D2 E5 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8027C4BC 002793FC 3C 80 80 4C */ lis r4, __vt__Q34Game4Tank5Parms@ha -/* 8027C4C0 00279400 3C 60 80 48 */ lis r3, lbl_804870D0@ha -/* 8027C4C4 00279404 38 04 7F C4 */ addi r0, r4, __vt__Q34Game4Tank5Parms@l -/* 8027C4C8 00279408 38 BF 08 04 */ addi r5, r31, 0x804 -/* 8027C4CC 0027940C 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 8027C4D0 00279410 38 80 00 00 */ li r4, 0 -/* 8027C4D4 00279414 38 03 70 D0 */ addi r0, r3, lbl_804870D0@l -/* 8027C4D8 00279418 7F E3 FB 78 */ mr r3, r31 -/* 8027C4DC 0027941C 90 BF 07 F8 */ stw r5, 0x7f8(r31) -/* 8027C4E0 00279420 90 9F 07 FC */ stw r4, 0x7fc(r31) -/* 8027C4E4 00279424 90 1F 08 00 */ stw r0, 0x800(r31) -/* 8027C4E8 00279428 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C4EC 0027942C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C4F0 00279430 7C 08 03 A6 */ mtlr r0 -/* 8027C4F4 00279434 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C4F8 00279438 4E 80 00 20 */ blr - -.global createObj__Q34Game5Wtank3MgrFi -createObj__Q34Game5Wtank3MgrFi: -/* 8027C4FC 0027943C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C500 00279440 7C 08 02 A6 */ mflr r0 -/* 8027C504 00279444 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C508 00279448 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C50C 0027944C 7C 9F 23 78 */ mr r31, r4 -/* 8027C510 00279450 93 C1 00 08 */ stw r30, 8(r1) -/* 8027C514 00279454 7C 7E 1B 78 */ mr r30, r3 -/* 8027C518 00279458 1C 7F 03 1C */ mulli r3, r31, 0x31c -/* 8027C51C 0027945C 38 63 00 10 */ addi r3, r3, 0x10 -/* 8027C520 00279460 4B DA 7A 8D */ bl __nwa__FUl -/* 8027C524 00279464 3C 80 80 28 */ lis r4, __ct__Q34Game5Wtank3ObjFv@ha -/* 8027C528 00279468 3C A0 80 28 */ lis r5, __dt__Q34Game5Wtank3ObjFv@ha -/* 8027C52C 0027946C 38 84 C8 0C */ addi r4, r4, __ct__Q34Game5Wtank3ObjFv@l -/* 8027C530 00279470 7F E7 FB 78 */ mr r7, r31 -/* 8027C534 00279474 38 A5 C5 5C */ addi r5, r5, __dt__Q34Game5Wtank3ObjFv@l -/* 8027C538 00279478 38 C0 03 1C */ li r6, 0x31c -/* 8027C53C 0027947C 4B E4 54 B5 */ bl __construct_new_array -/* 8027C540 00279480 90 7E 00 48 */ stw r3, 0x48(r30) -/* 8027C544 00279484 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C548 00279488 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C54C 0027948C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027C550 00279490 7C 08 03 A6 */ mtlr r0 -/* 8027C554 00279494 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C558 00279498 4E 80 00 20 */ blr - -.global __dt__Q34Game5Wtank3ObjFv -__dt__Q34Game5Wtank3ObjFv: -/* 8027C55C 0027949C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C560 002794A0 7C 08 02 A6 */ mflr r0 -/* 8027C564 002794A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C568 002794A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C56C 002794AC 7C 9F 23 78 */ mr r31, r4 -/* 8027C570 002794B0 93 C1 00 08 */ stw r30, 8(r1) -/* 8027C574 002794B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027C578 002794B8 41 82 00 B8 */ beq lbl_8027C630 -/* 8027C57C 002794BC 3C 60 80 4D */ lis r3, __vt__Q34Game5Wtank3Obj@ha -/* 8027C580 002794C0 38 1E 03 0C */ addi r0, r30, 0x30c -/* 8027C584 002794C4 38 83 80 94 */ addi r4, r3, __vt__Q34Game5Wtank3Obj@l -/* 8027C588 002794C8 90 9E 00 00 */ stw r4, 0(r30) -/* 8027C58C 002794CC 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8027C590 002794D0 38 84 03 28 */ addi r4, r4, 0x328 -/* 8027C594 002794D4 90 7E 01 78 */ stw r3, 0x178(r30) -/* 8027C598 002794D8 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8027C59C 002794DC 90 83 00 00 */ stw r4, 0(r3) -/* 8027C5A0 002794E0 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8027C5A4 002794E4 7C 03 00 50 */ subf r0, r3, r0 -/* 8027C5A8 002794E8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8027C5AC 002794EC 41 82 00 74 */ beq lbl_8027C620 -/* 8027C5B0 002794F0 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank3Obj@ha -/* 8027C5B4 002794F4 38 1E 03 08 */ addi r0, r30, 0x308 -/* 8027C5B8 002794F8 38 83 6B 50 */ addi r4, r3, __vt__Q34Game4Tank3Obj@l -/* 8027C5BC 002794FC 90 9E 00 00 */ stw r4, 0(r30) -/* 8027C5C0 00279500 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8027C5C4 00279504 38 84 03 28 */ addi r4, r4, 0x328 -/* 8027C5C8 00279508 90 7E 01 78 */ stw r3, 0x178(r30) -/* 8027C5CC 0027950C 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8027C5D0 00279510 90 83 00 00 */ stw r4, 0(r3) -/* 8027C5D4 00279514 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8027C5D8 00279518 7C 03 00 50 */ subf r0, r3, r0 -/* 8027C5DC 0027951C 90 03 00 0C */ stw r0, 0xc(r3) -/* 8027C5E0 00279520 41 82 00 40 */ beq lbl_8027C620 -/* 8027C5E4 00279524 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8027C5E8 00279528 38 1E 02 BC */ addi r0, r30, 0x2bc -/* 8027C5EC 0027952C 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8027C5F0 00279530 38 7E 02 90 */ addi r3, r30, 0x290 -/* 8027C5F4 00279534 90 9E 00 00 */ stw r4, 0(r30) -/* 8027C5F8 00279538 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8027C5FC 0027953C 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8027C600 00279540 38 80 FF FF */ li r4, -1 -/* 8027C604 00279544 90 BE 01 78 */ stw r5, 0x178(r30) -/* 8027C608 00279548 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8027C60C 0027954C 90 C5 00 00 */ stw r6, 0(r5) -/* 8027C610 00279550 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8027C614 00279554 7C 05 00 50 */ subf r0, r5, r0 -/* 8027C618 00279558 90 05 00 0C */ stw r0, 0xc(r5) -/* 8027C61C 0027955C 48 19 4F 6D */ bl __dt__5CNodeFv -lbl_8027C620: -/* 8027C620 00279560 7F E0 07 35 */ extsh. r0, r31 -/* 8027C624 00279564 40 81 00 0C */ ble lbl_8027C630 -/* 8027C628 00279568 7F C3 F3 78 */ mr r3, r30 -/* 8027C62C 0027956C 4B DA 7A 89 */ bl __dl__FPv -lbl_8027C630: -/* 8027C630 00279570 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C634 00279574 7F C3 F3 78 */ mr r3, r30 -/* 8027C638 00279578 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C63C 0027957C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027C640 00279580 7C 08 03 A6 */ mtlr r0 -/* 8027C644 00279584 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C648 00279588 4E 80 00 20 */ blr - -.global getEnemy__Q34Game5Wtank3MgrFi -getEnemy__Q34Game5Wtank3MgrFi: -/* 8027C64C 0027958C 1C 04 03 1C */ mulli r0, r4, 0x31c -/* 8027C650 00279590 80 63 00 48 */ lwz r3, 0x48(r3) -/* 8027C654 00279594 7C 63 02 14 */ add r3, r3, r0 -/* 8027C658 00279598 4E 80 00 20 */ blr - -.global loadTexData__Q34Game5Wtank3MgrFv -loadTexData__Q34Game5Wtank3MgrFv: -/* 8027C65C 0027959C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8027C660 002795A0 7C 08 02 A6 */ mflr r0 -/* 8027C664 002795A4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027C668 002795A8 38 00 00 00 */ li r0, 0 -/* 8027C66C 002795AC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8027C670 002795B0 7C 7F 1B 78 */ mr r31, r3 -/* 8027C674 002795B4 90 03 00 44 */ stw r0, 0x44(r3) -/* 8027C678 002795B8 38 61 00 08 */ addi r3, r1, 8 -/* 8027C67C 002795BC 80 8D 84 90 */ lwz r4, cTankChangeTexName__Q34Game5Wtank22$$2unnamed$$2WtankMgr_cpp$$2@sda21(r13) -/* 8027C680 002795C0 48 1C FF 59 */ bl __ct__Q212LoadResource3ArgFPCc -/* 8027C684 002795C4 80 6D 9C 28 */ lwz r3, gLoadResourceMgr@sda21(r13) -/* 8027C688 002795C8 38 81 00 08 */ addi r4, r1, 8 -/* 8027C68C 002795CC 48 1D 01 15 */ bl load__Q212LoadResource3MgrFRQ212LoadResource3Arg -/* 8027C690 002795D0 28 03 00 00 */ cmplwi r3, 0 -/* 8027C694 002795D4 41 82 00 0C */ beq lbl_8027C6A0 -/* 8027C698 002795D8 80 03 00 30 */ lwz r0, 0x30(r3) -/* 8027C69C 002795DC 90 1F 00 44 */ stw r0, 0x44(r31) -lbl_8027C6A0: -/* 8027C6A0 002795E0 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8027C6A4 002795E4 28 00 00 00 */ cmplwi r0, 0 -/* 8027C6A8 002795E8 40 82 00 20 */ bne lbl_8027C6C8 -/* 8027C6AC 002795EC 3C 60 80 48 */ lis r3, lbl_804870DC@ha -/* 8027C6B0 002795F0 3C A0 80 48 */ lis r5, lbl_804870EC@ha -/* 8027C6B4 002795F4 38 63 70 DC */ addi r3, r3, lbl_804870DC@l -/* 8027C6B8 002795F8 38 80 00 52 */ li r4, 0x52 -/* 8027C6BC 002795FC 38 A5 70 EC */ addi r5, r5, lbl_804870EC@l -/* 8027C6C0 00279600 4C C6 31 82 */ crclr 6 -/* 8027C6C4 00279604 4B DA DF 7D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8027C6C8: -/* 8027C6C8 00279608 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8027C6CC 0027960C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8027C6D0 00279610 7C 08 03 A6 */ mtlr r0 -/* 8027C6D4 00279614 38 21 00 40 */ addi r1, r1, 0x40 -/* 8027C6D8 00279618 4E 80 00 20 */ blr - -.global __dt__Q34Game5Wtank3MgrFv -__dt__Q34Game5Wtank3MgrFv: -/* 8027C6DC 0027961C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C6E0 00279620 7C 08 02 A6 */ mflr r0 -/* 8027C6E4 00279624 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C6E8 00279628 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C6EC 0027962C 7C 9F 23 78 */ mr r31, r4 -/* 8027C6F0 00279630 93 C1 00 08 */ stw r30, 8(r1) -/* 8027C6F4 00279634 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027C6F8 00279638 41 82 00 90 */ beq lbl_8027C788 -/* 8027C6FC 0027963C 3C 60 80 4C */ lis r3, __vt__Q34Game5Wtank3Mgr@ha -/* 8027C700 00279640 38 63 7E E0 */ addi r3, r3, __vt__Q34Game5Wtank3Mgr@l -/* 8027C704 00279644 90 7E 00 00 */ stw r3, 0(r30) -/* 8027C708 00279648 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027C70C 0027964C 90 1E 00 04 */ stw r0, 4(r30) -/* 8027C710 00279650 41 82 00 68 */ beq lbl_8027C778 -/* 8027C714 00279654 3C 60 80 4C */ lis r3, __vt__Q34Game4Tank3Mgr@ha -/* 8027C718 00279658 38 63 6A 68 */ addi r3, r3, __vt__Q34Game4Tank3Mgr@l -/* 8027C71C 0027965C 90 7E 00 00 */ stw r3, 0(r30) -/* 8027C720 00279660 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027C724 00279664 90 1E 00 04 */ stw r0, 4(r30) -/* 8027C728 00279668 41 82 00 50 */ beq lbl_8027C778 -/* 8027C72C 0027966C 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8027C730 00279670 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8027C734 00279674 90 7E 00 00 */ stw r3, 0(r30) -/* 8027C738 00279678 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027C73C 0027967C 90 1E 00 04 */ stw r0, 4(r30) -/* 8027C740 00279680 41 82 00 38 */ beq lbl_8027C778 -/* 8027C744 00279684 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8027C748 00279688 34 1E 00 04 */ addic. r0, r30, 4 -/* 8027C74C 0027968C 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8027C750 00279690 90 7E 00 00 */ stw r3, 0(r30) -/* 8027C754 00279694 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027C758 00279698 90 1E 00 04 */ stw r0, 4(r30) -/* 8027C75C 0027969C 41 82 00 1C */ beq lbl_8027C778 -/* 8027C760 002796A0 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8027C764 002796A4 38 7E 00 04 */ addi r3, r30, 4 -/* 8027C768 002796A8 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8027C76C 002796AC 38 80 00 00 */ li r4, 0 -/* 8027C770 002796B0 90 1E 00 04 */ stw r0, 4(r30) -/* 8027C774 002796B4 48 19 4E 15 */ bl __dt__5CNodeFv -lbl_8027C778: -/* 8027C778 002796B8 7F E0 07 35 */ extsh. r0, r31 -/* 8027C77C 002796BC 40 81 00 0C */ ble lbl_8027C788 -/* 8027C780 002796C0 7F C3 F3 78 */ mr r3, r30 -/* 8027C784 002796C4 4B DA 79 31 */ bl __dl__FPv -lbl_8027C788: -/* 8027C788 002796C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C78C 002796CC 7F C3 F3 78 */ mr r3, r30 -/* 8027C790 002796D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C794 002796D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027C798 002796D8 7C 08 03 A6 */ mtlr r0 -/* 8027C79C 002796DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C7A0 002796E0 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Wtank3MgrFv -getEnemyTypeID__Q34Game5Wtank3MgrFv: -/* 8027C7A4 002796E4 38 60 00 19 */ li r3, 0x19 -/* 8027C7A8 002796E8 4E 80 00 20 */ blr - -.global getChangeTexture__Q34Game5Wtank3MgrFv -getChangeTexture__Q34Game5Wtank3MgrFv: -/* 8027C7AC 002796EC 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8027C7B0 002796F0 4E 80 00 20 */ blr - -.global read__Q34Game4Tank5ParmsFR6Stream -read__Q34Game4Tank5ParmsFR6Stream: -/* 8027C7B4 002796F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C7B8 002796F8 7C 08 02 A6 */ mflr r0 -/* 8027C7BC 002796FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C7C0 00279700 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C7C4 00279704 7C 9F 23 78 */ mr r31, r4 -/* 8027C7C8 00279708 93 C1 00 08 */ stw r30, 8(r1) -/* 8027C7CC 0027970C 7C 7E 1B 78 */ mr r30, r3 -/* 8027C7D0 00279710 48 19 70 25 */ bl read__10ParametersFR6Stream -/* 8027C7D4 00279714 7F E4 FB 78 */ mr r4, r31 -/* 8027C7D8 00279718 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8027C7DC 0027971C 48 19 70 19 */ bl read__10ParametersFR6Stream -/* 8027C7E0 00279720 7F E4 FB 78 */ mr r4, r31 -/* 8027C7E4 00279724 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8027C7E8 00279728 48 19 70 0D */ bl read__10ParametersFR6Stream -/* 8027C7EC 0027972C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C7F0 00279730 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C7F4 00279734 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027C7F8 00279738 7C 08 03 A6 */ mtlr r0 -/* 8027C7FC 0027973C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C800 00279740 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game5Wtank3MgrFv -$$24$$2__dt__Q34Game5Wtank3MgrFv: -/* 8027C804 00279744 38 63 FF FC */ addi r3, r3, -4 -/* 8027C808 00279748 4B FF FE D4 */ b __dt__Q34Game5Wtank3MgrFv - -.global __ct__Q34Game5Wtank3ObjFv -__ct__Q34Game5Wtank3ObjFv: -/* 8027C80C 0027974C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027C810 00279750 7C 08 02 A6 */ mflr r0 -/* 8027C814 00279754 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027C818 00279758 7C 80 07 35 */ extsh. r0, r4 -/* 8027C81C 0027975C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027C820 00279760 7C 7F 1B 78 */ mr r31, r3 -/* 8027C824 00279764 41 82 00 24 */ beq lbl_8027C848 -/* 8027C828 00279768 38 1F 03 0C */ addi r0, r31, 0x30c -/* 8027C82C 0027976C 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8027C830 00279770 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8027C834 00279774 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8027C838 00279778 38 00 00 00 */ li r0, 0 -/* 8027C83C 0027977C 90 7F 03 0C */ stw r3, 0x30c(r31) -/* 8027C840 00279780 90 1F 03 10 */ stw r0, 0x310(r31) -/* 8027C844 00279784 90 1F 03 14 */ stw r0, 0x314(r31) -lbl_8027C848: -/* 8027C848 00279788 7F E3 FB 78 */ mr r3, r31 -/* 8027C84C 0027978C 38 80 00 00 */ li r4, 0 -/* 8027C850 00279790 4B FF 95 3D */ bl __ct__Q34Game4Tank3ObjFv -/* 8027C854 00279794 3C 60 80 4D */ lis r3, __vt__Q34Game5Wtank3Obj@ha -/* 8027C858 00279798 38 1F 03 0C */ addi r0, r31, 0x30c -/* 8027C85C 0027979C 38 A3 80 94 */ addi r5, r3, __vt__Q34Game5Wtank3Obj@l -/* 8027C860 002797A0 7F E3 FB 78 */ mr r3, r31 -/* 8027C864 002797A4 90 BF 00 00 */ stw r5, 0(r31) -/* 8027C868 002797A8 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8027C86C 002797AC 38 A5 03 28 */ addi r5, r5, 0x328 -/* 8027C870 002797B0 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8027C874 002797B4 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027C878 002797B8 90 A4 00 00 */ stw r5, 0(r4) -/* 8027C87C 002797BC 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027C880 002797C0 7C 04 00 50 */ subf r0, r4, r0 -/* 8027C884 002797C4 90 04 00 0C */ stw r0, 0xc(r4) -/* 8027C888 002797C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027C88C 002797CC 81 8C 02 FC */ lwz r12, 0x2fc(r12) -/* 8027C890 002797D0 7D 89 03 A6 */ mtctr r12 -/* 8027C894 002797D4 4E 80 04 21 */ bctrl -/* 8027C898 002797D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027C89C 002797DC 7F E3 FB 78 */ mr r3, r31 -/* 8027C8A0 002797E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027C8A4 002797E4 7C 08 03 A6 */ mtlr r0 -/* 8027C8A8 002797E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027C8AC 002797EC 4E 80 00 20 */ blr - -.global changeMaterial__Q34Game5Wtank3ObjFv -changeMaterial__Q34Game5Wtank3ObjFv: -/* 8027C8B0 002797F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027C8B4 002797F4 7C 08 02 A6 */ mflr r0 -/* 8027C8B8 002797F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027C8BC 002797FC BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8027C8C0 00279800 7C 7B 1B 78 */ mr r27, r3 -/* 8027C8C4 00279804 80 63 01 80 */ lwz r3, 0x180(r3) -/* 8027C8C8 00279808 80 9B 01 74 */ lwz r4, 0x174(r27) -/* 8027C8CC 0027980C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027C8D0 00279810 83 A4 00 08 */ lwz r29, 8(r4) -/* 8027C8D4 00279814 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 8027C8D8 00279818 83 DD 00 04 */ lwz r30, 4(r29) -/* 8027C8DC 0027981C 7D 89 03 A6 */ mtctr r12 -/* 8027C8E0 00279820 4E 80 04 21 */ bctrl -/* 8027C8E4 00279824 7C 7F 1B 78 */ mr r31, r3 -/* 8027C8E8 00279828 7F A3 EB 78 */ mr r3, r29 -/* 8027C8EC 0027982C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027C8F0 00279830 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027C8F4 00279834 7D 89 03 A6 */ mtctr r12 -/* 8027C8F8 00279838 4E 80 04 21 */ bctrl -/* 8027C8FC 0027983C 80 9B 01 74 */ lwz r4, 0x174(r27) -/* 8027C900 00279840 3C 60 80 51 */ lis r3, j3dSys@ha -/* 8027C904 00279844 88 1F 00 00 */ lbz r0, 0(r31) -/* 8027C908 00279848 3B 63 F2 30 */ addi r27, r3, j3dSys@l -/* 8027C90C 0027984C 80 64 00 08 */ lwz r3, 8(r4) -/* 8027C910 00279850 3B 80 00 00 */ li r28, 0 -/* 8027C914 00279854 80 63 00 04 */ lwz r3, 4(r3) -/* 8027C918 00279858 80 83 00 6C */ lwz r4, 0x6c(r3) -/* 8027C91C 0027985C 80 64 00 04 */ lwz r3, 4(r4) -/* 8027C920 00279860 98 03 00 00 */ stb r0, 0(r3) -/* 8027C924 00279864 88 1F 00 01 */ lbz r0, 1(r31) -/* 8027C928 00279868 98 03 00 01 */ stb r0, 1(r3) -/* 8027C92C 0027986C A0 1F 00 02 */ lhz r0, 2(r31) -/* 8027C930 00279870 B0 03 00 02 */ sth r0, 2(r3) -/* 8027C934 00279874 A0 1F 00 04 */ lhz r0, 4(r31) -/* 8027C938 00279878 B0 03 00 04 */ sth r0, 4(r3) -/* 8027C93C 0027987C 88 1F 00 06 */ lbz r0, 6(r31) -/* 8027C940 00279880 98 03 00 06 */ stb r0, 6(r3) -/* 8027C944 00279884 88 1F 00 07 */ lbz r0, 7(r31) -/* 8027C948 00279888 98 03 00 07 */ stb r0, 7(r3) -/* 8027C94C 0027988C 88 1F 00 08 */ lbz r0, 8(r31) -/* 8027C950 00279890 98 03 00 08 */ stb r0, 8(r3) -/* 8027C954 00279894 88 1F 00 09 */ lbz r0, 9(r31) -/* 8027C958 00279898 98 03 00 09 */ stb r0, 9(r3) -/* 8027C95C 0027989C A0 1F 00 0A */ lhz r0, 0xa(r31) -/* 8027C960 002798A0 B0 03 00 0A */ sth r0, 0xa(r3) -/* 8027C964 002798A4 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8027C968 002798A8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8027C96C 002798AC 88 1F 00 10 */ lbz r0, 0x10(r31) -/* 8027C970 002798B0 98 03 00 10 */ stb r0, 0x10(r3) -/* 8027C974 002798B4 88 1F 00 11 */ lbz r0, 0x11(r31) -/* 8027C978 002798B8 98 03 00 11 */ stb r0, 0x11(r3) -/* 8027C97C 002798BC 88 1F 00 12 */ lbz r0, 0x12(r31) -/* 8027C980 002798C0 98 03 00 12 */ stb r0, 0x12(r3) -/* 8027C984 002798C4 88 1F 00 13 */ lbz r0, 0x13(r31) -/* 8027C988 002798C8 98 03 00 13 */ stb r0, 0x13(r3) -/* 8027C98C 002798CC 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 8027C990 002798D0 98 03 00 14 */ stb r0, 0x14(r3) -/* 8027C994 002798D4 88 1F 00 15 */ lbz r0, 0x15(r31) -/* 8027C998 002798D8 98 03 00 15 */ stb r0, 0x15(r3) -/* 8027C99C 002798DC 88 1F 00 16 */ lbz r0, 0x16(r31) -/* 8027C9A0 002798E0 98 03 00 16 */ stb r0, 0x16(r3) -/* 8027C9A4 002798E4 88 1F 00 17 */ lbz r0, 0x17(r31) -/* 8027C9A8 002798E8 98 03 00 17 */ stb r0, 0x17(r3) -/* 8027C9AC 002798EC 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 8027C9B0 002798F0 98 03 00 18 */ stb r0, 0x18(r3) -/* 8027C9B4 002798F4 88 1F 00 19 */ lbz r0, 0x19(r31) -/* 8027C9B8 002798F8 98 03 00 19 */ stb r0, 0x19(r3) -/* 8027C9BC 002798FC A8 1F 00 1A */ lha r0, 0x1a(r31) -/* 8027C9C0 00279900 B0 03 00 1A */ sth r0, 0x1a(r3) -/* 8027C9C4 00279904 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8027C9C8 00279908 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8027C9CC 0027990C 80 64 00 04 */ lwz r3, 4(r4) -/* 8027C9D0 00279910 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8027C9D4 00279914 7C 1F 02 14 */ add r0, r31, r0 -/* 8027C9D8 00279918 7C 03 00 50 */ subf r0, r3, r0 -/* 8027C9DC 0027991C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8027C9E0 00279920 80 64 00 04 */ lwz r3, 4(r4) -/* 8027C9E4 00279924 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8027C9E8 00279928 7C 1F 02 14 */ add r0, r31, r0 -/* 8027C9EC 0027992C 7C 03 00 50 */ subf r0, r3, r0 -/* 8027C9F0 00279930 90 03 00 0C */ stw r0, 0xc(r3) -/* 8027C9F4 00279934 48 00 00 3C */ b lbl_8027CA30 -lbl_8027C9F8: -/* 8027C9F8 00279938 80 9D 00 C0 */ lwz r4, 0xc0(r29) -/* 8027C9FC 0027993C 57 83 32 B2 */ rlwinm r3, r28, 6, 0xa, 0x19 -/* 8027CA00 00279940 57 80 13 BA */ rlwinm r0, r28, 2, 0xe, 0x1d -/* 8027CA04 00279944 7C 84 1A 14 */ add r4, r4, r3 -/* 8027CA08 00279948 90 9B 00 3C */ stw r4, 0x3c(r27) -/* 8027CA0C 0027994C 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 8027CA10 00279950 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 8027CA14 00279954 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8027CA18 00279958 80 84 00 34 */ lwz r4, 0x34(r4) -/* 8027CA1C 0027995C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027CA20 00279960 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8027CA24 00279964 7D 89 03 A6 */ mtctr r12 -/* 8027CA28 00279968 4E 80 04 21 */ bctrl -/* 8027CA2C 0027996C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8027CA30: -/* 8027CA30 00279970 A0 1E 00 5C */ lhz r0, 0x5c(r30) -/* 8027CA34 00279974 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 8027CA38 00279978 7C 03 00 40 */ cmplw r3, r0 -/* 8027CA3C 0027997C 41 80 FF BC */ blt lbl_8027C9F8 -/* 8027CA40 00279980 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8027CA44 00279984 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027CA48 00279988 7C 08 03 A6 */ mtlr r0 -/* 8027CA4C 0027998C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027CA50 00279990 4E 80 00 20 */ blr - -.global createEffect__Q34Game5Wtank3ObjFv -createEffect__Q34Game5Wtank3ObjFv: -/* 8027CA54 00279994 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027CA58 00279998 7C 08 02 A6 */ mflr r0 -/* 8027CA5C 0027999C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027CA60 002799A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027CA64 002799A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027CA68 002799A8 7C 7E 1B 78 */ mr r30, r3 -/* 8027CA6C 002799AC 38 60 00 90 */ li r3, 0x90 -/* 8027CA70 002799B0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8027CA74 002799B4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8027CA78 002799B8 4B DA 74 2D */ bl __nw__FUl -/* 8027CA7C 002799BC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8027CA80 002799C0 41 82 01 4C */ beq lbl_8027CBCC -/* 8027CA84 002799C4 38 80 00 00 */ li r4, 0 -/* 8027CA88 002799C8 38 A0 01 B6 */ li r5, 0x1b6 -/* 8027CA8C 002799CC 38 C0 01 B7 */ li r6, 0x1b7 -/* 8027CA90 002799D0 38 E0 01 B8 */ li r7, 0x1b8 -/* 8027CA94 002799D4 39 00 01 B9 */ li r8, 0x1b9 -/* 8027CA98 002799D8 48 13 3B C5 */ bl __ct__Q23efx10TChaseMtx4FPA4_fUsUsUsUs -/* 8027CA9C 002799DC 3C 60 80 4E */ lis r3, __vt__Q23efx8TTankWat@ha -/* 8027CAA0 002799E0 3C C0 80 4B */ lis r6, __vt__Q23efx5TBase@ha -/* 8027CAA4 002799E4 38 03 6C 4C */ addi r0, r3, __vt__Q23efx8TTankWat@l -/* 8027CAA8 002799E8 3C 80 80 4A */ lis r4, __vt__19JPAParticleCallBack@ha -/* 8027CAAC 002799EC 90 1F 00 00 */ stw r0, 0(r31) -/* 8027CAB0 002799F0 38 04 33 58 */ addi r0, r4, __vt__19JPAParticleCallBack@l -/* 8027CAB4 002799F4 3C 60 80 4E */ lis r3, __vt__Q23efx26TParticleCallBack_TankFire@ha -/* 8027CAB8 002799F8 C0 02 D1 C0 */ lfs f0, lbl_8051B520@sda21(r2) -/* 8027CABC 002799FC 90 1F 00 54 */ stw r0, 0x54(r31) -/* 8027CAC0 00279A00 38 03 6C E4 */ addi r0, r3, __vt__Q23efx26TParticleCallBack_TankFire@l -/* 8027CAC4 00279A04 3C 60 80 4E */ lis r3, __vt__Q23efx17TOneEmitterSimple@ha -/* 8027CAC8 00279A08 39 00 00 00 */ li r8, 0 -/* 8027CACC 00279A0C 90 1F 00 54 */ stw r0, 0x54(r31) -/* 8027CAD0 00279A10 38 A3 6A 8C */ addi r5, r3, __vt__Q23efx17TOneEmitterSimple@l -/* 8027CAD4 00279A14 38 E6 A7 F8 */ addi r7, r6, __vt__Q23efx5TBase@l -/* 8027CAD8 00279A18 3C 80 80 4A */ lis r4, __vt__18JPAEmitterCallBack@ha -/* 8027CADC 00279A1C D0 1F 00 58 */ stfs f0, 0x58(r31) -/* 8027CAE0 00279A20 38 C4 E2 7C */ addi r6, r4, __vt__18JPAEmitterCallBack@l -/* 8027CAE4 00279A24 38 85 00 14 */ addi r4, r5, 0x14 -/* 8027CAE8 00279A28 38 60 01 BA */ li r3, 0x1ba -/* 8027CAEC 00279A2C 91 1F 00 5C */ stw r8, 0x5c(r31) -/* 8027CAF0 00279A30 38 00 00 0A */ li r0, 0xa -/* 8027CAF4 00279A34 3B BF 00 60 */ addi r29, r31, 0x60 -/* 8027CAF8 00279A38 90 FF 00 60 */ stw r7, 0x60(r31) -/* 8027CAFC 00279A3C 90 DF 00 64 */ stw r6, 0x64(r31) -/* 8027CB00 00279A40 90 BF 00 60 */ stw r5, 0x60(r31) -/* 8027CB04 00279A44 90 9F 00 64 */ stw r4, 0x64(r31) -/* 8027CB08 00279A48 91 1F 00 68 */ stw r8, 0x68(r31) -/* 8027CB0C 00279A4C B0 7F 00 6C */ sth r3, 0x6c(r31) -/* 8027CB10 00279A50 91 1F 00 74 */ stw r8, 0x74(r31) -/* 8027CB14 00279A54 90 1F 00 78 */ stw r0, 0x78(r31) -/* 8027CB18 00279A58 83 9F 00 78 */ lwz r28, 0x78(r31) -/* 8027CB1C 00279A5C 1C 7C 00 0C */ mulli r3, r28, 0xc -/* 8027CB20 00279A60 38 63 00 10 */ addi r3, r3, 0x10 -/* 8027CB24 00279A64 4B DA 74 89 */ bl __nwa__FUl -/* 8027CB28 00279A68 3C 80 80 12 */ lis r4, __ct__10Vector3$$0f$$1Fv@ha -/* 8027CB2C 00279A6C 7F 87 E3 78 */ mr r7, r28 -/* 8027CB30 00279A70 38 84 F3 48 */ addi r4, r4, __ct__10Vector3$$0f$$1Fv@l -/* 8027CB34 00279A74 38 A0 00 00 */ li r5, 0 -/* 8027CB38 00279A78 38 C0 00 0C */ li r6, 0xc -/* 8027CB3C 00279A7C 4B E4 4E B5 */ bl __construct_new_array -/* 8027CB40 00279A80 3C 80 80 4D */ lis r4, __vt__Q23efx11TTankWatHit@ha -/* 8027CB44 00279A84 90 7D 00 10 */ stw r3, 0x10(r29) -/* 8027CB48 00279A88 38 64 80 54 */ addi r3, r4, __vt__Q23efx11TTankWatHit@l -/* 8027CB4C 00279A8C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8027CB50 00279A90 90 7D 00 00 */ stw r3, 0(r29) -/* 8027CB54 00279A94 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027CB58 00279A98 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8027CB5C 00279A9C 3C 60 80 4E */ lis r3, __vt__Q23efx5TSync@ha -/* 8027CB60 00279AA0 90 1D 00 04 */ stw r0, 4(r29) -/* 8027CB64 00279AA4 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8027CB68 00279AA8 38 83 69 8C */ addi r4, r3, __vt__Q23efx5TSync@l -/* 8027CB6C 00279AAC 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 8027CB70 00279AB0 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 8027CB74 00279AB4 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8027CB78 00279AB8 38 C3 68 A8 */ addi r6, r3, __vt__Q23efx9TChaseMtx@l -/* 8027CB7C 00279ABC 3C 60 80 4D */ lis r3, __vt__Q23efx14TTankWatYodare@ha -/* 8027CB80 00279AC0 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8027CB84 00279AC4 38 63 80 08 */ addi r3, r3, __vt__Q23efx14TTankWatYodare@l -/* 8027CB88 00279AC8 38 04 00 14 */ addi r0, r4, 0x14 -/* 8027CB8C 00279ACC 39 00 00 00 */ li r8, 0 -/* 8027CB90 00279AD0 90 9F 00 7C */ stw r4, 0x7c(r31) -/* 8027CB94 00279AD4 38 E0 02 B2 */ li r7, 0x2b2 -/* 8027CB98 00279AD8 38 A6 00 14 */ addi r5, r6, 0x14 -/* 8027CB9C 00279ADC 38 80 01 BB */ li r4, 0x1bb -/* 8027CBA0 00279AE0 90 1F 00 80 */ stw r0, 0x80(r31) -/* 8027CBA4 00279AE4 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027CBA8 00279AE8 91 1F 00 84 */ stw r8, 0x84(r31) -/* 8027CBAC 00279AEC B0 FF 00 88 */ sth r7, 0x88(r31) -/* 8027CBB0 00279AF0 99 1F 00 8A */ stb r8, 0x8a(r31) -/* 8027CBB4 00279AF4 90 DF 00 7C */ stw r6, 0x7c(r31) -/* 8027CBB8 00279AF8 90 BF 00 80 */ stw r5, 0x80(r31) -/* 8027CBBC 00279AFC 91 1F 00 8C */ stw r8, 0x8c(r31) -/* 8027CBC0 00279B00 B0 9F 00 88 */ sth r4, 0x88(r31) -/* 8027CBC4 00279B04 90 7F 00 7C */ stw r3, 0x7c(r31) -/* 8027CBC8 00279B08 90 1F 00 80 */ stw r0, 0x80(r31) -lbl_8027CBCC: -/* 8027CBCC 00279B0C 93 FE 03 08 */ stw r31, 0x308(r30) -/* 8027CBD0 00279B10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027CBD4 00279B14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027CBD8 00279B18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027CBDC 00279B1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8027CBE0 00279B20 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8027CBE4 00279B24 7C 08 03 A6 */ mtlr r0 -/* 8027CBE8 00279B28 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027CBEC 00279B2C 4E 80 00 20 */ blr - -.global __dt__Q23efx14TTankWatYodareFv -__dt__Q23efx14TTankWatYodareFv: -/* 8027CBF0 00279B30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CBF4 00279B34 7C 08 02 A6 */ mflr r0 -/* 8027CBF8 00279B38 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CBFC 00279B3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CC00 00279B40 7C 9F 23 78 */ mr r31, r4 -/* 8027CC04 00279B44 93 C1 00 08 */ stw r30, 8(r1) -/* 8027CC08 00279B48 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027CC0C 00279B4C 41 82 00 64 */ beq lbl_8027CC70 -/* 8027CC10 00279B50 3C 60 80 4D */ lis r3, __vt__Q23efx14TTankWatYodare@ha -/* 8027CC14 00279B54 38 63 80 08 */ addi r3, r3, __vt__Q23efx14TTankWatYodare@l -/* 8027CC18 00279B58 90 7E 00 00 */ stw r3, 0(r30) -/* 8027CC1C 00279B5C 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027CC20 00279B60 90 1E 00 04 */ stw r0, 4(r30) -/* 8027CC24 00279B64 41 82 00 3C */ beq lbl_8027CC60 -/* 8027CC28 00279B68 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 8027CC2C 00279B6C 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 8027CC30 00279B70 90 7E 00 00 */ stw r3, 0(r30) -/* 8027CC34 00279B74 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027CC38 00279B78 90 1E 00 04 */ stw r0, 4(r30) -/* 8027CC3C 00279B7C 41 82 00 24 */ beq lbl_8027CC60 -/* 8027CC40 00279B80 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8027CC44 00279B84 38 7E 00 04 */ addi r3, r30, 4 -/* 8027CC48 00279B88 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8027CC4C 00279B8C 38 80 00 00 */ li r4, 0 -/* 8027CC50 00279B90 90 BE 00 00 */ stw r5, 0(r30) -/* 8027CC54 00279B94 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027CC58 00279B98 90 1E 00 04 */ stw r0, 4(r30) -/* 8027CC5C 00279B9C 4B E1 30 41 */ bl __dt__18JPAEmitterCallBackFv -lbl_8027CC60: -/* 8027CC60 00279BA0 7F E0 07 35 */ extsh. r0, r31 -/* 8027CC64 00279BA4 40 81 00 0C */ ble lbl_8027CC70 -/* 8027CC68 00279BA8 7F C3 F3 78 */ mr r3, r30 -/* 8027CC6C 00279BAC 4B DA 74 49 */ bl __dl__FPv -lbl_8027CC70: -/* 8027CC70 00279BB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CC74 00279BB4 7F C3 F3 78 */ mr r3, r30 -/* 8027CC78 00279BB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CC7C 00279BBC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027CC80 00279BC0 7C 08 03 A6 */ mtlr r0 -/* 8027CC84 00279BC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CC88 00279BC8 4E 80 00 20 */ blr - -.global __dt__Q23efx11TTankWatHitFv -__dt__Q23efx11TTankWatHitFv: -/* 8027CC8C 00279BCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CC90 00279BD0 7C 08 02 A6 */ mflr r0 -/* 8027CC94 00279BD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CC98 00279BD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CC9C 00279BDC 7C 9F 23 78 */ mr r31, r4 -/* 8027CCA0 00279BE0 93 C1 00 08 */ stw r30, 8(r1) -/* 8027CCA4 00279BE4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027CCA8 00279BE8 41 82 00 4C */ beq lbl_8027CCF4 -/* 8027CCAC 00279BEC 3C 60 80 4D */ lis r3, __vt__Q23efx11TTankWatHit@ha -/* 8027CCB0 00279BF0 38 63 80 54 */ addi r3, r3, __vt__Q23efx11TTankWatHit@l -/* 8027CCB4 00279BF4 90 7E 00 00 */ stw r3, 0(r30) -/* 8027CCB8 00279BF8 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027CCBC 00279BFC 90 1E 00 04 */ stw r0, 4(r30) -/* 8027CCC0 00279C00 41 82 00 24 */ beq lbl_8027CCE4 -/* 8027CCC4 00279C04 3C 80 80 4E */ lis r4, __vt__Q23efx17TOneEmitterSimple@ha -/* 8027CCC8 00279C08 38 7E 00 04 */ addi r3, r30, 4 -/* 8027CCCC 00279C0C 38 A4 6A 8C */ addi r5, r4, __vt__Q23efx17TOneEmitterSimple@l -/* 8027CCD0 00279C10 38 80 00 00 */ li r4, 0 -/* 8027CCD4 00279C14 90 BE 00 00 */ stw r5, 0(r30) -/* 8027CCD8 00279C18 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027CCDC 00279C1C 90 1E 00 04 */ stw r0, 4(r30) -/* 8027CCE0 00279C20 4B E1 2F BD */ bl __dt__18JPAEmitterCallBackFv -lbl_8027CCE4: -/* 8027CCE4 00279C24 7F E0 07 35 */ extsh. r0, r31 -/* 8027CCE8 00279C28 40 81 00 0C */ ble lbl_8027CCF4 -/* 8027CCEC 00279C2C 7F C3 F3 78 */ mr r3, r30 -/* 8027CCF0 00279C30 4B DA 73 C5 */ bl __dl__FPv -lbl_8027CCF4: -/* 8027CCF4 00279C34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CCF8 00279C38 7F C3 F3 78 */ mr r3, r30 -/* 8027CCFC 00279C3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CD00 00279C40 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027CD04 00279C44 7C 08 03 A6 */ mtlr r0 -/* 8027CD08 00279C48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CD0C 00279C4C 4E 80 00 20 */ blr - -.global __dt__Q23efx17TOneEmitterSimpleFv -__dt__Q23efx17TOneEmitterSimpleFv: -/* 8027CD10 00279C50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CD14 00279C54 7C 08 02 A6 */ mflr r0 -/* 8027CD18 00279C58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CD1C 00279C5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CD20 00279C60 7C 9F 23 78 */ mr r31, r4 -/* 8027CD24 00279C64 93 C1 00 08 */ stw r30, 8(r1) -/* 8027CD28 00279C68 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027CD2C 00279C6C 41 82 00 34 */ beq lbl_8027CD60 -/* 8027CD30 00279C70 3C 80 80 4E */ lis r4, __vt__Q23efx17TOneEmitterSimple@ha -/* 8027CD34 00279C74 38 7E 00 04 */ addi r3, r30, 4 -/* 8027CD38 00279C78 38 A4 6A 8C */ addi r5, r4, __vt__Q23efx17TOneEmitterSimple@l -/* 8027CD3C 00279C7C 38 80 00 00 */ li r4, 0 -/* 8027CD40 00279C80 90 BE 00 00 */ stw r5, 0(r30) -/* 8027CD44 00279C84 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027CD48 00279C88 90 1E 00 04 */ stw r0, 4(r30) -/* 8027CD4C 00279C8C 4B E1 2F 51 */ bl __dt__18JPAEmitterCallBackFv -/* 8027CD50 00279C90 7F E0 07 35 */ extsh. r0, r31 -/* 8027CD54 00279C94 40 81 00 0C */ ble lbl_8027CD60 -/* 8027CD58 00279C98 7F C3 F3 78 */ mr r3, r30 -/* 8027CD5C 00279C9C 4B DA 73 59 */ bl __dl__FPv -lbl_8027CD60: -/* 8027CD60 00279CA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CD64 00279CA4 7F C3 F3 78 */ mr r3, r30 -/* 8027CD68 00279CA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CD6C 00279CAC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027CD70 00279CB0 7C 08 03 A6 */ mtlr r0 -/* 8027CD74 00279CB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CD78 00279CB8 4E 80 00 20 */ blr - -.global __dt__Q23efx26TParticleCallBack_TankFireFv -__dt__Q23efx26TParticleCallBack_TankFireFv: -/* 8027CD7C 00279CBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CD80 00279CC0 7C 08 02 A6 */ mflr r0 -/* 8027CD84 00279CC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CD88 00279CC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CD8C 00279CCC 7C 9F 23 78 */ mr r31, r4 -/* 8027CD90 00279CD0 93 C1 00 08 */ stw r30, 8(r1) -/* 8027CD94 00279CD4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027CD98 00279CD8 41 82 00 28 */ beq lbl_8027CDC0 -/* 8027CD9C 00279CDC 3C A0 80 4E */ lis r5, __vt__Q23efx26TParticleCallBack_TankFire@ha -/* 8027CDA0 00279CE0 38 80 00 00 */ li r4, 0 -/* 8027CDA4 00279CE4 38 05 6C E4 */ addi r0, r5, __vt__Q23efx26TParticleCallBack_TankFire@l -/* 8027CDA8 00279CE8 90 1E 00 00 */ stw r0, 0(r30) -/* 8027CDAC 00279CEC 4B E1 72 7D */ bl __dt__19JPAParticleCallBackFv -/* 8027CDB0 00279CF0 7F E0 07 35 */ extsh. r0, r31 -/* 8027CDB4 00279CF4 40 81 00 0C */ ble lbl_8027CDC0 -/* 8027CDB8 00279CF8 7F C3 F3 78 */ mr r3, r30 -/* 8027CDBC 00279CFC 4B DA 72 F9 */ bl __dl__FPv -lbl_8027CDC0: -/* 8027CDC0 00279D00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CDC4 00279D04 7F C3 F3 78 */ mr r3, r30 -/* 8027CDC8 00279D08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CDCC 00279D0C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027CDD0 00279D10 7C 08 03 A6 */ mtlr r0 -/* 8027CDD4 00279D14 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CDD8 00279D18 4E 80 00 20 */ blr - -.global setupEffect__Q34Game5Wtank3ObjFv -setupEffect__Q34Game5Wtank3ObjFv: -/* 8027CDDC 00279D1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CDE0 00279D20 7C 08 02 A6 */ mflr r0 -/* 8027CDE4 00279D24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CDE8 00279D28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CDEC 00279D2C 93 C1 00 08 */ stw r30, 8(r1) -/* 8027CDF0 00279D30 7C 7E 1B 78 */ mr r30, r3 -/* 8027CDF4 00279D34 80 63 02 C0 */ lwz r3, 0x2c0(r3) -/* 8027CDF8 00279D38 48 1A CA A9 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027CDFC 00279D3C 83 FE 03 08 */ lwz r31, 0x308(r30) -/* 8027CE00 00279D40 7C 7E 1B 78 */ mr r30, r3 -/* 8027CE04 00279D44 7F C4 F3 78 */ mr r4, r30 -/* 8027CE08 00279D48 7F E3 FB 78 */ mr r3, r31 -/* 8027CE0C 00279D4C 48 13 38 FD */ bl setMtxptr__Q23efx10TChaseMtx4FPA4_f -/* 8027CE10 00279D50 93 DF 00 8C */ stw r30, 0x8c(r31) -/* 8027CE14 00279D54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CE18 00279D58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CE1C 00279D5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027CE20 00279D60 7C 08 03 A6 */ mtlr r0 -/* 8027CE24 00279D64 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CE28 00279D68 4E 80 00 20 */ blr - -.global startEffect__Q34Game5Wtank3ObjFv -startEffect__Q34Game5Wtank3ObjFv: -/* 8027CE2C 00279D6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CE30 00279D70 7C 08 02 A6 */ mflr r0 -/* 8027CE34 00279D74 38 80 00 00 */ li r4, 0 -/* 8027CE38 00279D78 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CE3C 00279D7C 80 63 03 08 */ lwz r3, 0x308(r3) -/* 8027CE40 00279D80 81 83 00 00 */ lwz r12, 0(r3) -/* 8027CE44 00279D84 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027CE48 00279D88 7D 89 03 A6 */ mtctr r12 -/* 8027CE4C 00279D8C 4E 80 04 21 */ bctrl -/* 8027CE50 00279D90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CE54 00279D94 7C 08 03 A6 */ mtlr r0 -/* 8027CE58 00279D98 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CE5C 00279D9C 4E 80 00 20 */ blr - -.global startYodare__Q34Game5Wtank3ObjFv -startYodare__Q34Game5Wtank3ObjFv: -/* 8027CE60 00279DA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CE64 00279DA4 7C 08 02 A6 */ mflr r0 -/* 8027CE68 00279DA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CE6C 00279DAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CE70 00279DB0 83 E3 03 08 */ lwz r31, 0x308(r3) -/* 8027CE74 00279DB4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027CE78 00279DB8 7F E3 FB 78 */ mr r3, r31 -/* 8027CE7C 00279DBC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027CE80 00279DC0 7D 89 03 A6 */ mtctr r12 -/* 8027CE84 00279DC4 4E 80 04 21 */ bctrl -/* 8027CE88 00279DC8 38 7F 00 7C */ addi r3, r31, 0x7c -/* 8027CE8C 00279DCC 38 80 00 00 */ li r4, 0 -/* 8027CE90 00279DD0 81 9F 00 7C */ lwz r12, 0x7c(r31) -/* 8027CE94 00279DD4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027CE98 00279DD8 7D 89 03 A6 */ mtctr r12 -/* 8027CE9C 00279DDC 4E 80 04 21 */ bctrl -/* 8027CEA0 00279DE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CEA4 00279DE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CEA8 00279DE8 7C 08 03 A6 */ mtlr r0 -/* 8027CEAC 00279DEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CEB0 00279DF0 4E 80 00 20 */ blr - -.global fade__Q23efx8TTankWatFv -fade__Q23efx8TTankWatFv: -/* 8027CEB4 00279DF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CEB8 00279DF8 7C 08 02 A6 */ mflr r0 -/* 8027CEBC 00279DFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CEC0 00279E00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CEC4 00279E04 7C 7F 1B 78 */ mr r31, r3 -/* 8027CEC8 00279E08 48 13 44 7D */ bl fade__Q23efx29TSyncGroup4$$0Q23efx9TChaseMtx$$1Fv -/* 8027CECC 00279E0C 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 8027CED0 00279E10 28 03 00 00 */ cmplwi r3, 0 -/* 8027CED4 00279E14 41 82 00 14 */ beq lbl_8027CEE8 -/* 8027CED8 00279E18 81 83 00 00 */ lwz r12, 0(r3) -/* 8027CEDC 00279E1C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027CEE0 00279E20 7D 89 03 A6 */ mtctr r12 -/* 8027CEE4 00279E24 4E 80 04 21 */ bctrl -lbl_8027CEE8: -/* 8027CEE8 00279E28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CEEC 00279E2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CEF0 00279E30 7C 08 03 A6 */ mtlr r0 -/* 8027CEF4 00279E34 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CEF8 00279E38 4E 80 00 20 */ blr - -.global fade__Q23efx17TOneEmitterSimpleFv -fade__Q23efx17TOneEmitterSimpleFv: -/* 8027CEFC 00279E3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CF00 00279E40 7C 08 02 A6 */ mflr r0 -/* 8027CF04 00279E44 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CF08 00279E48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CF0C 00279E4C 7C 7F 1B 78 */ mr r31, r3 -/* 8027CF10 00279E50 80 83 00 08 */ lwz r4, 8(r3) -/* 8027CF14 00279E54 28 04 00 00 */ cmplwi r4, 0 -/* 8027CF18 00279E58 41 82 00 14 */ beq lbl_8027CF2C -/* 8027CF1C 00279E5C 80 6D 9A 18 */ lwz r3, particleMgr@sda21(r13) -/* 8027CF20 00279E60 48 13 EB 8D */ bl fade__11ParticleMgrFP14JPABaseEmitter -/* 8027CF24 00279E64 38 00 00 00 */ li r0, 0 -/* 8027CF28 00279E68 90 1F 00 08 */ stw r0, 8(r31) -lbl_8027CF2C: -/* 8027CF2C 00279E6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CF30 00279E70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CF34 00279E74 7C 08 03 A6 */ mtlr r0 -/* 8027CF38 00279E78 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CF3C 00279E7C 4E 80 00 20 */ blr - -.global finishEffect__Q34Game5Wtank3ObjFv -finishEffect__Q34Game5Wtank3ObjFv: -/* 8027CF40 00279E80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CF44 00279E84 7C 08 02 A6 */ mflr r0 -/* 8027CF48 00279E88 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CF4C 00279E8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CF50 00279E90 83 E3 03 08 */ lwz r31, 0x308(r3) -/* 8027CF54 00279E94 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027CF58 00279E98 7F E3 FB 78 */ mr r3, r31 -/* 8027CF5C 00279E9C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027CF60 00279EA0 7D 89 03 A6 */ mtctr r12 -/* 8027CF64 00279EA4 4E 80 04 21 */ bctrl -/* 8027CF68 00279EA8 38 7F 00 7C */ addi r3, r31, 0x7c -/* 8027CF6C 00279EAC 81 9F 00 7C */ lwz r12, 0x7c(r31) -/* 8027CF70 00279EB0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027CF74 00279EB4 7D 89 03 A6 */ mtctr r12 -/* 8027CF78 00279EB8 4E 80 04 21 */ bctrl -/* 8027CF7C 00279EBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CF80 00279EC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CF84 00279EC4 7C 08 03 A6 */ mtlr r0 -/* 8027CF88 00279EC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CF8C 00279ECC 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game5Wtank3ObjFv -effectDrawOn__Q34Game5Wtank3ObjFv: -/* 8027CF90 00279ED0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CF94 00279ED4 7C 08 02 A6 */ mflr r0 -/* 8027CF98 00279ED8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CF9C 00279EDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CFA0 00279EE0 83 E3 03 08 */ lwz r31, 0x308(r3) -/* 8027CFA4 00279EE4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027CFA8 00279EE8 7F E3 FB 78 */ mr r3, r31 -/* 8027CFAC 00279EEC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027CFB0 00279EF0 7D 89 03 A6 */ mtctr r12 -/* 8027CFB4 00279EF4 4E 80 04 21 */ bctrl -/* 8027CFB8 00279EF8 38 7F 00 7C */ addi r3, r31, 0x7c -/* 8027CFBC 00279EFC 81 9F 00 7C */ lwz r12, 0x7c(r31) -/* 8027CFC0 00279F00 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8027CFC4 00279F04 7D 89 03 A6 */ mtctr r12 -/* 8027CFC8 00279F08 4E 80 04 21 */ bctrl -/* 8027CFCC 00279F0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027CFD0 00279F10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027CFD4 00279F14 7C 08 03 A6 */ mtlr r0 -/* 8027CFD8 00279F18 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027CFDC 00279F1C 4E 80 00 20 */ blr - -.global endDemoDrawOn__Q23efx8TTankWatFv -endDemoDrawOn__Q23efx8TTankWatFv: -/* 8027CFE0 00279F20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027CFE4 00279F24 7C 08 02 A6 */ mflr r0 -/* 8027CFE8 00279F28 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027CFEC 00279F2C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027CFF0 00279F30 7C 7F 1B 78 */ mr r31, r3 -/* 8027CFF4 00279F34 48 13 44 59 */ bl endDemoDrawOn__Q23efx29TSyncGroup4$$0Q23efx9TChaseMtx$$1Fv -/* 8027CFF8 00279F38 38 7F 00 60 */ addi r3, r31, 0x60 -/* 8027CFFC 00279F3C 81 9F 00 60 */ lwz r12, 0x60(r31) -/* 8027D000 00279F40 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8027D004 00279F44 7D 89 03 A6 */ mtctr r12 -/* 8027D008 00279F48 4E 80 04 21 */ bctrl -/* 8027D00C 00279F4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D010 00279F50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D014 00279F54 7C 08 03 A6 */ mtlr r0 -/* 8027D018 00279F58 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D01C 00279F5C 4E 80 00 20 */ blr - -.global endDemoDrawOn__Q23efx17TOneEmitterSimpleFv -endDemoDrawOn__Q23efx17TOneEmitterSimpleFv: -/* 8027D020 00279F60 80 63 00 08 */ lwz r3, 8(r3) -/* 8027D024 00279F64 28 03 00 00 */ cmplwi r3, 0 -/* 8027D028 00279F68 4D 82 00 20 */ beqlr -/* 8027D02C 00279F6C 80 03 00 F4 */ lwz r0, 0xf4(r3) -/* 8027D030 00279F70 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 8027D034 00279F74 90 03 00 F4 */ stw r0, 0xf4(r3) -/* 8027D038 00279F78 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game5Wtank3ObjFv -effectDrawOff__Q34Game5Wtank3ObjFv: -/* 8027D03C 00279F7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D040 00279F80 7C 08 02 A6 */ mflr r0 -/* 8027D044 00279F84 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D048 00279F88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D04C 00279F8C 83 E3 03 08 */ lwz r31, 0x308(r3) -/* 8027D050 00279F90 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027D054 00279F94 7F E3 FB 78 */ mr r3, r31 -/* 8027D058 00279F98 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027D05C 00279F9C 7D 89 03 A6 */ mtctr r12 -/* 8027D060 00279FA0 4E 80 04 21 */ bctrl -/* 8027D064 00279FA4 38 7F 00 7C */ addi r3, r31, 0x7c -/* 8027D068 00279FA8 81 9F 00 7C */ lwz r12, 0x7c(r31) -/* 8027D06C 00279FAC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8027D070 00279FB0 7D 89 03 A6 */ mtctr r12 -/* 8027D074 00279FB4 4E 80 04 21 */ bctrl -/* 8027D078 00279FB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D07C 00279FBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D080 00279FC0 7C 08 03 A6 */ mtlr r0 -/* 8027D084 00279FC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D088 00279FC8 4E 80 00 20 */ blr - -.global startDemoDrawOff__Q23efx8TTankWatFv -startDemoDrawOff__Q23efx8TTankWatFv: -/* 8027D08C 00279FCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D090 00279FD0 7C 08 02 A6 */ mflr r0 -/* 8027D094 00279FD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D098 00279FD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D09C 00279FDC 7C 7F 1B 78 */ mr r31, r3 -/* 8027D0A0 00279FE0 48 13 43 55 */ bl startDemoDrawOff__Q23efx29TSyncGroup4$$0Q23efx9TChaseMtx$$1Fv -/* 8027D0A4 00279FE4 38 7F 00 60 */ addi r3, r31, 0x60 -/* 8027D0A8 00279FE8 81 9F 00 60 */ lwz r12, 0x60(r31) -/* 8027D0AC 00279FEC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8027D0B0 00279FF0 7D 89 03 A6 */ mtctr r12 -/* 8027D0B4 00279FF4 4E 80 04 21 */ bctrl -/* 8027D0B8 00279FF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D0BC 00279FFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D0C0 0027A000 7C 08 03 A6 */ mtlr r0 -/* 8027D0C4 0027A004 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D0C8 0027A008 4E 80 00 20 */ blr - -.global startDemoDrawOff__Q23efx17TOneEmitterSimpleFv -startDemoDrawOff__Q23efx17TOneEmitterSimpleFv: -/* 8027D0CC 0027A00C 80 63 00 08 */ lwz r3, 8(r3) -/* 8027D0D0 0027A010 28 03 00 00 */ cmplwi r3, 0 -/* 8027D0D4 0027A014 4D 82 00 20 */ beqlr -/* 8027D0D8 0027A018 80 03 00 F4 */ lwz r0, 0xf4(r3) -/* 8027D0DC 0027A01C 60 00 00 04 */ ori r0, r0, 4 -/* 8027D0E0 0027A020 90 03 00 F4 */ stw r0, 0xf4(r3) -/* 8027D0E4 0027A024 4E 80 00 20 */ blr - -.global interactCreature__Q34Game5Wtank3ObjFPQ24Game8Creature -interactCreature__Q34Game5Wtank3ObjFPQ24Game8Creature: -/* 8027D0E8 0027A028 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027D0EC 0027A02C 7C 08 02 A6 */ mflr r0 -/* 8027D0F0 0027A030 3C C0 80 4B */ lis r6, __vt__Q24Game11Interaction@ha -/* 8027D0F4 0027A034 7C 88 23 78 */ mr r8, r4 -/* 8027D0F8 0027A038 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027D0FC 0027A03C 3C A0 80 4B */ lis r5, __vt__Q24Game14InteractBubble@ha -/* 8027D100 0027A040 38 C6 A3 00 */ addi r6, r6, __vt__Q24Game11Interaction@l -/* 8027D104 0027A044 38 81 00 08 */ addi r4, r1, 8 -/* 8027D108 0027A048 80 E3 00 C0 */ lwz r7, 0xc0(r3) -/* 8027D10C 0027A04C 38 05 48 30 */ addi r0, r5, __vt__Q24Game14InteractBubble@l -/* 8027D110 0027A050 C0 07 06 04 */ lfs f0, 0x604(r7) -/* 8027D114 0027A054 90 C1 00 08 */ stw r6, 8(r1) -/* 8027D118 0027A058 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027D11C 0027A05C 7D 03 43 78 */ mr r3, r8 -/* 8027D120 0027A060 90 01 00 08 */ stw r0, 8(r1) -/* 8027D124 0027A064 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8027D128 0027A068 81 88 00 00 */ lwz r12, 0(r8) -/* 8027D12C 0027A06C 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8027D130 0027A070 7D 89 03 A6 */ mtctr r12 -/* 8027D134 0027A074 4E 80 04 21 */ bctrl -/* 8027D138 0027A078 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027D13C 0027A07C 7C 08 03 A6 */ mtlr r0 -/* 8027D140 0027A080 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027D144 0027A084 4E 80 00 20 */ blr - -.global stopEffectRadius__Q34Game5Wtank3ObjFf -stopEffectRadius__Q34Game5Wtank3ObjFf: -/* 8027D148 0027A088 80 63 03 08 */ lwz r3, 0x308(r3) -/* 8027D14C 0027A08C D0 23 00 58 */ stfs f1, 0x58(r3) -/* 8027D150 0027A090 4E 80 00 20 */ blr - -.global createChargeSE__Q34Game5Wtank3ObjFv -createChargeSE__Q34Game5Wtank3ObjFv: -/* 8027D154 0027A094 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D158 0027A098 7C 08 02 A6 */ mflr r0 -/* 8027D15C 0027A09C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D160 0027A0A0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D164 0027A0A4 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8027D168 0027A0A8 7D 89 03 A6 */ mtctr r12 -/* 8027D16C 0027A0AC 4E 80 04 21 */ bctrl -/* 8027D170 0027A0B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D174 0027A0B4 38 80 59 63 */ li r4, 0x5963 -/* 8027D178 0027A0B8 38 A0 00 00 */ li r5, 0 -/* 8027D17C 0027A0BC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027D180 0027A0C0 7D 89 03 A6 */ mtctr r12 -/* 8027D184 0027A0C4 4E 80 04 21 */ bctrl -/* 8027D188 0027A0C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D18C 0027A0CC 7C 08 03 A6 */ mtlr r0 -/* 8027D190 0027A0D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D194 0027A0D4 4E 80 00 20 */ blr - -.global createDisChargeSE__Q34Game5Wtank3ObjFv -createDisChargeSE__Q34Game5Wtank3ObjFv: -/* 8027D198 0027A0D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D19C 0027A0DC 7C 08 02 A6 */ mflr r0 -/* 8027D1A0 0027A0E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D1A4 0027A0E4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D1A8 0027A0E8 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8027D1AC 0027A0EC 7D 89 03 A6 */ mtctr r12 -/* 8027D1B0 0027A0F0 4E 80 04 21 */ bctrl -/* 8027D1B4 0027A0F4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D1B8 0027A0F8 38 80 50 AA */ li r4, 0x50aa -/* 8027D1BC 0027A0FC 38 A0 00 00 */ li r5, 0 -/* 8027D1C0 0027A100 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027D1C4 0027A104 7D 89 03 A6 */ mtctr r12 -/* 8027D1C8 0027A108 4E 80 04 21 */ bctrl -/* 8027D1CC 0027A10C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D1D0 0027A110 7C 08 03 A6 */ mtlr r0 -/* 8027D1D4 0027A114 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D1D8 0027A118 4E 80 00 20 */ blr - -.global forceKill__Q23efx17TOneEmitterSimpleFv -forceKill__Q23efx17TOneEmitterSimpleFv: -/* 8027D1DC 0027A11C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D1E0 0027A120 7C 08 02 A6 */ mflr r0 -/* 8027D1E4 0027A124 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D1E8 0027A128 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D1EC 0027A12C 7C 7F 1B 78 */ mr r31, r3 -/* 8027D1F0 0027A130 80 83 00 08 */ lwz r4, 8(r3) -/* 8027D1F4 0027A134 28 04 00 00 */ cmplwi r4, 0 -/* 8027D1F8 0027A138 41 82 00 14 */ beq lbl_8027D20C -/* 8027D1FC 0027A13C 80 6D 9A 18 */ lwz r3, particleMgr@sda21(r13) -/* 8027D200 0027A140 48 13 E8 81 */ bl forceKill__11ParticleMgrFP14JPABaseEmitter -/* 8027D204 0027A144 38 00 00 00 */ li r0, 0 -/* 8027D208 0027A148 90 1F 00 08 */ stw r0, 8(r31) -lbl_8027D20C: -/* 8027D20C 0027A14C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D210 0027A150 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D214 0027A154 7C 08 03 A6 */ mtlr r0 -/* 8027D218 0027A158 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D21C 0027A15C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Wtank3ObjFv -getEnemyTypeID__Q34Game5Wtank3ObjFv: -/* 8027D220 0027A160 38 60 00 19 */ li r3, 0x19 -/* 8027D224 0027A164 4E 80 00 20 */ blr - -.global $$2780$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2780$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 8027D228 0027A168 39 60 00 0C */ li r11, 0xc -/* 8027D22C 0027A16C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8027D230 0027A170 7C 63 5A 14 */ add r3, r3, r11 -/* 8027D234 0027A174 38 63 FC F4 */ addi r3, r3, -780 -/* 8027D238 0027A178 4B E8 96 E4 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2780$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2780$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 8027D23C 0027A17C 39 60 00 0C */ li r11, 0xc -/* 8027D240 0027A180 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8027D244 0027A184 7C 63 5A 14 */ add r3, r3, r11 -/* 8027D248 0027A188 38 63 FC F4 */ addi r3, r3, -780 -/* 8027D24C 0027A18C 4B E8 94 5C */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2780$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2780$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 8027D250 0027A190 39 60 00 0C */ li r11, 0xc -/* 8027D254 0027A194 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8027D258 0027A198 7C 63 5A 14 */ add r3, r3, r11 -/* 8027D25C 0027A19C 38 63 FC F4 */ addi r3, r3, -780 -/* 8027D260 0027A1A0 4B E8 94 68 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2780$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2780$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 8027D264 0027A1A4 39 60 00 0C */ li r11, 0xc -/* 8027D268 0027A1A8 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8027D26C 0027A1AC 7C 63 5A 14 */ add r3, r3, r11 -/* 8027D270 0027A1B0 38 63 FC F4 */ addi r3, r3, -780 -/* 8027D274 0027A1B4 4B E8 98 04 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2780$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2780$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 8027D278 0027A1B8 39 60 00 0C */ li r11, 0xc -/* 8027D27C 0027A1BC 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8027D280 0027A1C0 7C 63 5A 14 */ add r3, r3, r11 -/* 8027D284 0027A1C4 38 63 FC F4 */ addi r3, r3, -780 -/* 8027D288 0027A1C8 4B E8 97 C4 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2780$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2780$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 8027D28C 0027A1CC 39 60 00 0C */ li r11, 0xc -/* 8027D290 0027A1D0 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8027D294 0027A1D4 7C 63 5A 14 */ add r3, r3, r11 -/* 8027D298 0027A1D8 38 63 FC F4 */ addi r3, r3, -780 -/* 8027D29C 0027A1DC 4B E8 94 04 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2executeAfter__Q23efx17TOneEmitterSimpleFP14JPABaseEmitter -$$24$$2executeAfter__Q23efx17TOneEmitterSimpleFP14JPABaseEmitter: -/* 8027D2A0 0027A1E0 38 63 FF FC */ addi r3, r3, -4 -/* 8027D2A4 0027A1E4 48 13 1B D4 */ b executeAfter__Q23efx17TOneEmitterSimpleFP14JPABaseEmitter - -.global $$24$$2__dt__Q23efx11TTankWatHitFv -$$24$$2__dt__Q23efx11TTankWatHitFv: -/* 8027D2A8 0027A1E8 38 63 FF FC */ addi r3, r3, -4 -/* 8027D2AC 0027A1EC 4B FF F9 E0 */ b __dt__Q23efx11TTankWatHitFv - -.global $$24$$2__dt__Q23efx14TTankWatYodareFv -$$24$$2__dt__Q23efx14TTankWatYodareFv: -/* 8027D2B0 0027A1F0 38 63 FF FC */ addi r3, r3, -4 -/* 8027D2B4 0027A1F4 4B FF F9 3C */ b __dt__Q23efx14TTankWatYodareFv - -.global __ct__Q34Game5Armor3MgrFiUc -__ct__Q34Game5Armor3MgrFiUc: -/* 8027D2B8 0027A1F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D2BC 0027A1FC 7C 08 02 A6 */ mflr r0 -/* 8027D2C0 0027A200 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D2C4 0027A204 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D2C8 0027A208 7C 7F 1B 78 */ mr r31, r3 -/* 8027D2CC 0027A20C 4B EB 19 C9 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8027D2D0 0027A210 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor3Mgr@ha -/* 8027D2D4 0027A214 3C 80 80 48 */ lis r4, lbl_80487108@ha -/* 8027D2D8 0027A218 38 A3 83 FC */ addi r5, r3, __vt__Q34Game5Armor3Mgr@l -/* 8027D2DC 0027A21C 7F E3 FB 78 */ mr r3, r31 -/* 8027D2E0 0027A220 90 BF 00 00 */ stw r5, 0(r31) -/* 8027D2E4 0027A224 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8027D2E8 0027A228 38 04 71 08 */ addi r0, r4, lbl_80487108@l -/* 8027D2EC 0027A22C 90 BF 00 04 */ stw r5, 4(r31) -/* 8027D2F0 0027A230 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8027D2F4 0027A234 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D2F8 0027A238 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D2FC 0027A23C 7C 08 03 A6 */ mtlr r0 -/* 8027D300 0027A240 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D304 0027A244 4E 80 00 20 */ blr - -.global doAlloc__Q34Game5Armor3MgrFv -doAlloc__Q34Game5Armor3MgrFv: -/* 8027D308 0027A248 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D30C 0027A24C 7C 08 02 A6 */ mflr r0 -/* 8027D310 0027A250 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D314 0027A254 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D318 0027A258 7C 7F 1B 78 */ mr r31, r3 -/* 8027D31C 0027A25C 38 60 08 80 */ li r3, 0x880 -/* 8027D320 0027A260 4B DA 6B 85 */ bl __nw__FUl -/* 8027D324 0027A264 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027D328 0027A268 41 82 00 0C */ beq lbl_8027D334 -/* 8027D32C 0027A26C 48 00 00 25 */ bl __ct__Q34Game5Armor5ParmsFv -/* 8027D330 0027A270 7C 64 1B 78 */ mr r4, r3 -lbl_8027D334: -/* 8027D334 0027A274 7F E3 FB 78 */ mr r3, r31 -/* 8027D338 0027A278 4B EB 25 65 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8027D33C 0027A27C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D340 0027A280 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D344 0027A284 7C 08 03 A6 */ mtlr r0 -/* 8027D348 0027A288 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D34C 0027A28C 4E 80 00 20 */ blr - -.global __ct__Q34Game5Armor5ParmsFv -__ct__Q34Game5Armor5ParmsFv: -/* 8027D350 0027A290 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D354 0027A294 7C 08 02 A6 */ mflr r0 -/* 8027D358 0027A298 3C 80 80 48 */ lis r4, lbl_804870F8@ha -/* 8027D35C 0027A29C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D360 0027A2A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D364 0027A2A4 3B E4 70 F8 */ addi r31, r4, lbl_804870F8@l -/* 8027D368 0027A2A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8027D36C 0027A2AC 7C 7E 1B 78 */ mr r30, r3 -/* 8027D370 0027A2B0 4B E8 C4 2D */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8027D374 0027A2B4 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor5Parms@ha -/* 8027D378 0027A2B8 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8027D37C 0027A2BC 38 03 83 F0 */ addi r0, r3, __vt__Q34Game5Armor5Parms@l -/* 8027D380 0027A2C0 38 9E 08 7C */ addi r4, r30, 0x87c -/* 8027D384 0027A2C4 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 8027D388 0027A2C8 38 E0 00 00 */ li r7, 0 -/* 8027D38C 0027A2CC 38 1F 00 28 */ addi r0, r31, 0x28 -/* 8027D390 0027A2D0 38 7E 08 04 */ addi r3, r30, 0x804 -/* 8027D394 0027A2D4 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 8027D398 0027A2D8 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8027D39C 0027A2DC 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 8027D3A0 0027A2E0 38 DF 00 38 */ addi r6, r31, 0x38 -/* 8027D3A4 0027A2E4 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 8027D3A8 0027A2E8 90 1E 08 00 */ stw r0, 0x800(r30) -/* 8027D3AC 0027A2EC 48 19 62 AD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027D3B0 0027A2F0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027D3B4 0027A2F4 3C A0 66 70 */ lis r5, 0x66703131@ha -/* 8027D3B8 0027A2F8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8027D3BC 0027A2FC C0 02 D1 C8 */ lfs f0, lbl_8051B528@sda21(r2) -/* 8027D3C0 0027A300 90 1E 08 04 */ stw r0, 0x804(r30) -/* 8027D3C4 0027A304 38 7E 08 2C */ addi r3, r30, 0x82c -/* 8027D3C8 0027A308 C0 22 D1 CC */ lfs f1, lbl_8051B52C@sda21(r2) -/* 8027D3CC 0027A30C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8027D3D0 0027A310 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 8027D3D4 0027A314 38 A5 31 31 */ addi r5, r5, 0x66703131@l -/* 8027D3D8 0027A318 C0 02 D1 D0 */ lfs f0, lbl_8051B530@sda21(r2) -/* 8027D3DC 0027A31C 38 DF 00 44 */ addi r6, r31, 0x44 -/* 8027D3E0 0027A320 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 8027D3E4 0027A324 D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 8027D3E8 0027A328 48 19 62 71 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027D3EC 0027A32C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027D3F0 0027A330 3C A0 66 70 */ lis r5, 0x66703132@ha -/* 8027D3F4 0027A334 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8027D3F8 0027A338 C0 22 D1 CC */ lfs f1, lbl_8051B52C@sda21(r2) -/* 8027D3FC 0027A33C 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 8027D400 0027A340 38 7E 08 54 */ addi r3, r30, 0x854 -/* 8027D404 0027A344 C0 02 D1 D4 */ lfs f0, lbl_8051B534@sda21(r2) -/* 8027D408 0027A348 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8027D40C 0027A34C D0 3E 08 44 */ stfs f1, 0x844(r30) -/* 8027D410 0027A350 38 A5 31 32 */ addi r5, r5, 0x66703132@l -/* 8027D414 0027A354 38 DF 00 54 */ addi r6, r31, 0x54 -/* 8027D418 0027A358 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 8027D41C 0027A35C D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 8027D420 0027A360 48 19 62 39 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8027D424 0027A364 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8027D428 0027A368 C0 22 D1 D8 */ lfs f1, lbl_8051B538@sda21(r2) -/* 8027D42C 0027A36C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8027D430 0027A370 C0 02 D1 CC */ lfs f0, lbl_8051B52C@sda21(r2) -/* 8027D434 0027A374 90 1E 08 54 */ stw r0, 0x854(r30) -/* 8027D438 0027A378 7F C3 F3 78 */ mr r3, r30 -/* 8027D43C 0027A37C D0 3E 08 6C */ stfs f1, 0x86c(r30) -/* 8027D440 0027A380 D0 1E 08 74 */ stfs f0, 0x874(r30) -/* 8027D444 0027A384 D0 3E 08 78 */ stfs f1, 0x878(r30) -/* 8027D448 0027A388 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D44C 0027A38C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027D450 0027A390 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D454 0027A394 7C 08 03 A6 */ mtlr r0 -/* 8027D458 0027A398 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D45C 0027A39C 4E 80 00 20 */ blr - -.global createObj__Q34Game5Armor3MgrFi -createObj__Q34Game5Armor3MgrFi: -/* 8027D460 0027A3A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D464 0027A3A4 7C 08 02 A6 */ mflr r0 -/* 8027D468 0027A3A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D46C 0027A3AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D470 0027A3B0 7C 9F 23 78 */ mr r31, r4 -/* 8027D474 0027A3B4 93 C1 00 08 */ stw r30, 8(r1) -/* 8027D478 0027A3B8 7C 7E 1B 78 */ mr r30, r3 -/* 8027D47C 0027A3BC 1C 7F 02 F4 */ mulli r3, r31, 0x2f4 -/* 8027D480 0027A3C0 38 63 00 10 */ addi r3, r3, 0x10 -/* 8027D484 0027A3C4 4B DA 6B 29 */ bl __nwa__FUl -/* 8027D488 0027A3C8 3C 80 80 28 */ lis r4, __ct__Q34Game5Armor3ObjFv@ha -/* 8027D48C 0027A3CC 3C A0 80 28 */ lis r5, __dt__Q34Game5Armor3ObjFv@ha -/* 8027D490 0027A3D0 38 84 D6 9C */ addi r4, r4, __ct__Q34Game5Armor3ObjFv@l -/* 8027D494 0027A3D4 7F E7 FB 78 */ mr r7, r31 -/* 8027D498 0027A3D8 38 A5 D4 C0 */ addi r5, r5, __dt__Q34Game5Armor3ObjFv@l -/* 8027D49C 0027A3DC 38 C0 02 F4 */ li r6, 0x2f4 -/* 8027D4A0 0027A3E0 4B E4 45 51 */ bl __construct_new_array -/* 8027D4A4 0027A3E4 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8027D4A8 0027A3E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D4AC 0027A3EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D4B0 0027A3F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027D4B4 0027A3F4 7C 08 03 A6 */ mtlr r0 -/* 8027D4B8 0027A3F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D4BC 0027A3FC 4E 80 00 20 */ blr - -.global __dt__Q34Game5Armor3ObjFv -__dt__Q34Game5Armor3ObjFv: -/* 8027D4C0 0027A400 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D4C4 0027A404 7C 08 02 A6 */ mflr r0 -/* 8027D4C8 0027A408 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D4CC 0027A40C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D4D0 0027A410 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8027D4D4 0027A414 93 C1 00 08 */ stw r30, 8(r1) -/* 8027D4D8 0027A418 7C 9E 23 78 */ mr r30, r4 -/* 8027D4DC 0027A41C 41 82 00 84 */ beq lbl_8027D560 -/* 8027D4E0 0027A420 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor3Obj@ha -/* 8027D4E4 0027A424 38 1F 02 E4 */ addi r0, r31, 0x2e4 -/* 8027D4E8 0027A428 38 83 85 7C */ addi r4, r3, __vt__Q34Game5Armor3Obj@l -/* 8027D4EC 0027A42C 90 9F 00 00 */ stw r4, 0(r31) -/* 8027D4F0 0027A430 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8027D4F4 0027A434 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8027D4F8 0027A438 90 7F 01 78 */ stw r3, 0x178(r31) -/* 8027D4FC 0027A43C 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8027D500 0027A440 90 83 00 00 */ stw r4, 0(r3) -/* 8027D504 0027A444 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8027D508 0027A448 7C 03 00 50 */ subf r0, r3, r0 -/* 8027D50C 0027A44C 90 03 00 0C */ stw r0, 0xc(r3) -/* 8027D510 0027A450 41 82 00 40 */ beq lbl_8027D550 -/* 8027D514 0027A454 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8027D518 0027A458 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 8027D51C 0027A45C 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8027D520 0027A460 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8027D524 0027A464 90 9F 00 00 */ stw r4, 0(r31) -/* 8027D528 0027A468 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8027D52C 0027A46C 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8027D530 0027A470 38 80 FF FF */ li r4, -1 -/* 8027D534 0027A474 90 BF 01 78 */ stw r5, 0x178(r31) -/* 8027D538 0027A478 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8027D53C 0027A47C 90 C5 00 00 */ stw r6, 0(r5) -/* 8027D540 0027A480 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8027D544 0027A484 7C 05 00 50 */ subf r0, r5, r0 -/* 8027D548 0027A488 90 05 00 0C */ stw r0, 0xc(r5) -/* 8027D54C 0027A48C 48 19 40 3D */ bl __dt__5CNodeFv -lbl_8027D550: -/* 8027D550 0027A490 7F C0 07 35 */ extsh. r0, r30 -/* 8027D554 0027A494 40 81 00 0C */ ble lbl_8027D560 -/* 8027D558 0027A498 7F E3 FB 78 */ mr r3, r31 -/* 8027D55C 0027A49C 4B DA 6B 59 */ bl __dl__FPv -lbl_8027D560: -/* 8027D560 0027A4A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D564 0027A4A4 7F E3 FB 78 */ mr r3, r31 -/* 8027D568 0027A4A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D56C 0027A4AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027D570 0027A4B0 7C 08 03 A6 */ mtlr r0 -/* 8027D574 0027A4B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D578 0027A4B8 4E 80 00 20 */ blr - -.global getEnemy__Q34Game5Armor3MgrFi -getEnemy__Q34Game5Armor3MgrFi: -/* 8027D57C 0027A4BC 1C 04 02 F4 */ mulli r0, r4, 0x2f4 -/* 8027D580 0027A4C0 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8027D584 0027A4C4 7C 63 02 14 */ add r3, r3, r0 -/* 8027D588 0027A4C8 4E 80 00 20 */ blr - -.global read__Q34Game5Armor5ParmsFR6Stream -read__Q34Game5Armor5ParmsFR6Stream: -/* 8027D58C 0027A4CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D590 0027A4D0 7C 08 02 A6 */ mflr r0 -/* 8027D594 0027A4D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D598 0027A4D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D59C 0027A4DC 7C 9F 23 78 */ mr r31, r4 -/* 8027D5A0 0027A4E0 93 C1 00 08 */ stw r30, 8(r1) -/* 8027D5A4 0027A4E4 7C 7E 1B 78 */ mr r30, r3 -/* 8027D5A8 0027A4E8 48 19 62 4D */ bl read__10ParametersFR6Stream -/* 8027D5AC 0027A4EC 7F E4 FB 78 */ mr r4, r31 -/* 8027D5B0 0027A4F0 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8027D5B4 0027A4F4 48 19 62 41 */ bl read__10ParametersFR6Stream -/* 8027D5B8 0027A4F8 7F E4 FB 78 */ mr r4, r31 -/* 8027D5BC 0027A4FC 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8027D5C0 0027A500 48 19 62 35 */ bl read__10ParametersFR6Stream -/* 8027D5C4 0027A504 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D5C8 0027A508 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D5CC 0027A50C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027D5D0 0027A510 7C 08 03 A6 */ mtlr r0 -/* 8027D5D4 0027A514 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D5D8 0027A518 4E 80 00 20 */ blr - -.global __dt__Q34Game5Armor3MgrFv -__dt__Q34Game5Armor3MgrFv: -/* 8027D5DC 0027A51C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D5E0 0027A520 7C 08 02 A6 */ mflr r0 -/* 8027D5E4 0027A524 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D5E8 0027A528 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D5EC 0027A52C 7C 9F 23 78 */ mr r31, r4 -/* 8027D5F0 0027A530 93 C1 00 08 */ stw r30, 8(r1) -/* 8027D5F4 0027A534 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027D5F8 0027A538 41 82 00 78 */ beq lbl_8027D670 -/* 8027D5FC 0027A53C 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor3Mgr@ha -/* 8027D600 0027A540 38 63 83 FC */ addi r3, r3, __vt__Q34Game5Armor3Mgr@l -/* 8027D604 0027A544 90 7E 00 00 */ stw r3, 0(r30) -/* 8027D608 0027A548 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027D60C 0027A54C 90 1E 00 04 */ stw r0, 4(r30) -/* 8027D610 0027A550 41 82 00 50 */ beq lbl_8027D660 -/* 8027D614 0027A554 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8027D618 0027A558 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8027D61C 0027A55C 90 7E 00 00 */ stw r3, 0(r30) -/* 8027D620 0027A560 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027D624 0027A564 90 1E 00 04 */ stw r0, 4(r30) -/* 8027D628 0027A568 41 82 00 38 */ beq lbl_8027D660 -/* 8027D62C 0027A56C 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8027D630 0027A570 34 1E 00 04 */ addic. r0, r30, 4 -/* 8027D634 0027A574 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8027D638 0027A578 90 7E 00 00 */ stw r3, 0(r30) -/* 8027D63C 0027A57C 38 03 00 38 */ addi r0, r3, 0x38 -/* 8027D640 0027A580 90 1E 00 04 */ stw r0, 4(r30) -/* 8027D644 0027A584 41 82 00 1C */ beq lbl_8027D660 -/* 8027D648 0027A588 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8027D64C 0027A58C 38 7E 00 04 */ addi r3, r30, 4 -/* 8027D650 0027A590 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8027D654 0027A594 38 80 00 00 */ li r4, 0 -/* 8027D658 0027A598 90 1E 00 04 */ stw r0, 4(r30) -/* 8027D65C 0027A59C 48 19 3F 2D */ bl __dt__5CNodeFv -lbl_8027D660: -/* 8027D660 0027A5A0 7F E0 07 35 */ extsh. r0, r31 -/* 8027D664 0027A5A4 40 81 00 0C */ ble lbl_8027D670 -/* 8027D668 0027A5A8 7F C3 F3 78 */ mr r3, r30 -/* 8027D66C 0027A5AC 4B DA 6A 49 */ bl __dl__FPv -lbl_8027D670: -/* 8027D670 0027A5B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D674 0027A5B4 7F C3 F3 78 */ mr r3, r30 -/* 8027D678 0027A5B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D67C 0027A5BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027D680 0027A5C0 7C 08 03 A6 */ mtlr r0 -/* 8027D684 0027A5C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D688 0027A5C8 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Armor3MgrFv -getEnemyTypeID__Q34Game5Armor3MgrFv: -/* 8027D68C 0027A5CC 38 60 00 0F */ li r3, 0xf -/* 8027D690 0027A5D0 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game5Armor3MgrFv -$$24$$2__dt__Q34Game5Armor3MgrFv: -/* 8027D694 0027A5D4 38 63 FF FC */ addi r3, r3, -4 -/* 8027D698 0027A5D8 4B FF FF 44 */ b __dt__Q34Game5Armor3MgrFv - -.global __ct__Q34Game5Armor3ObjFv -__ct__Q34Game5Armor3ObjFv: -/* 8027D69C 0027A5DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D6A0 0027A5E0 7C 08 02 A6 */ mflr r0 -/* 8027D6A4 0027A5E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D6A8 0027A5E8 7C 80 07 35 */ extsh. r0, r4 -/* 8027D6AC 0027A5EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D6B0 0027A5F0 7C 7F 1B 78 */ mr r31, r3 -/* 8027D6B4 0027A5F4 93 C1 00 08 */ stw r30, 8(r1) -/* 8027D6B8 0027A5F8 41 82 00 24 */ beq lbl_8027D6DC -/* 8027D6BC 0027A5FC 38 1F 02 E4 */ addi r0, r31, 0x2e4 -/* 8027D6C0 0027A600 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8027D6C4 0027A604 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8027D6C8 0027A608 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8027D6CC 0027A60C 38 00 00 00 */ li r0, 0 -/* 8027D6D0 0027A610 90 7F 02 E4 */ stw r3, 0x2e4(r31) -/* 8027D6D4 0027A614 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8027D6D8 0027A618 90 1F 02 EC */ stw r0, 0x2ec(r31) -lbl_8027D6DC: -/* 8027D6DC 0027A61C 7F E3 FB 78 */ mr r3, r31 -/* 8027D6E0 0027A620 38 80 00 00 */ li r4, 0 -/* 8027D6E4 0027A624 4B E8 3C BD */ bl __ct__Q24Game9EnemyBaseFv -/* 8027D6E8 0027A628 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor3Obj@ha -/* 8027D6EC 0027A62C 38 1F 02 E4 */ addi r0, r31, 0x2e4 -/* 8027D6F0 0027A630 38 A3 85 7C */ addi r5, r3, __vt__Q34Game5Armor3Obj@l -/* 8027D6F4 0027A634 38 7F 02 CC */ addi r3, r31, 0x2cc -/* 8027D6F8 0027A638 90 BF 00 00 */ stw r5, 0(r31) -/* 8027D6FC 0027A63C 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8027D700 0027A640 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 8027D704 0027A644 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8027D708 0027A648 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027D70C 0027A64C 90 A4 00 00 */ stw r5, 0(r4) -/* 8027D710 0027A650 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027D714 0027A654 7C 04 00 50 */ subf r0, r4, r0 -/* 8027D718 0027A658 90 04 00 0C */ stw r0, 0xc(r4) -/* 8027D71C 0027A65C 4B EB AE 2D */ bl __ct__10MouthSlotsFv -/* 8027D720 0027A660 38 60 00 2C */ li r3, 0x2c -/* 8027D724 0027A664 4B DA 67 81 */ bl __nw__FUl -/* 8027D728 0027A668 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027D72C 0027A66C 41 82 00 44 */ beq lbl_8027D770 -/* 8027D730 0027A670 4B EA A2 45 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8027D734 0027A674 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor14ProperAnimator@ha -/* 8027D738 0027A678 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8027D73C 0027A67C 38 03 9A 90 */ addi r0, r3, __vt__Q34Game5Armor14ProperAnimator@l -/* 8027D740 0027A680 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8027D744 0027A684 90 1E 00 00 */ stw r0, 0(r30) -/* 8027D748 0027A688 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8027D74C 0027A68C 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8027D750 0027A690 38 00 00 00 */ li r0, 0 -/* 8027D754 0027A694 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8027D758 0027A698 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8027D75C 0027A69C 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8027D760 0027A6A0 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8027D764 0027A6A4 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8027D768 0027A6A8 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8027D76C 0027A6AC 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8027D770: -/* 8027D770 0027A6B0 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8027D774 0027A6B4 38 60 00 1C */ li r3, 0x1c -/* 8027D778 0027A6B8 4B DA 67 2D */ bl __nw__FUl -/* 8027D77C 0027A6BC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027D780 0027A6C0 41 82 00 24 */ beq lbl_8027D7A4 -/* 8027D784 0027A6C4 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8027D788 0027A6C8 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor3FSM@ha -/* 8027D78C 0027A6CC 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8027D790 0027A6D0 38 A0 FF FF */ li r5, -1 -/* 8027D794 0027A6D4 90 04 00 00 */ stw r0, 0(r4) -/* 8027D798 0027A6D8 38 03 9A 6C */ addi r0, r3, __vt__Q34Game5Armor3FSM@l -/* 8027D79C 0027A6DC 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8027D7A0 0027A6E0 90 04 00 00 */ stw r0, 0(r4) -lbl_8027D7A4: -/* 8027D7A4 0027A6E4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027D7A8 0027A6E8 7F E3 FB 78 */ mr r3, r31 -/* 8027D7AC 0027A6EC 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8027D7B0 0027A6F0 7D 89 03 A6 */ mtctr r12 -/* 8027D7B4 0027A6F4 4E 80 04 21 */ bctrl -/* 8027D7B8 0027A6F8 7F E3 FB 78 */ mr r3, r31 -/* 8027D7BC 0027A6FC 48 00 19 71 */ bl createEffect__Q34Game5Armor3ObjFv -/* 8027D7C0 0027A700 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D7C4 0027A704 7F E3 FB 78 */ mr r3, r31 -/* 8027D7C8 0027A708 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D7CC 0027A70C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027D7D0 0027A710 7C 08 03 A6 */ mtlr r0 -/* 8027D7D4 0027A714 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D7D8 0027A718 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game5Armor3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game5Armor3ObjFPQ24Game21EnemyInitialParamBase: -/* 8027D7DC 0027A71C 4E 80 00 20 */ blr - -.global onInit__Q34Game5Armor3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game5Armor3ObjFPQ24Game15CreatureInitArg: -/* 8027D7E0 0027A720 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D7E4 0027A724 7C 08 02 A6 */ mflr r0 -/* 8027D7E8 0027A728 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D7EC 0027A72C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D7F0 0027A730 7C 7F 1B 78 */ mr r31, r3 -/* 8027D7F4 0027A734 4B E8 42 65 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8027D7F8 0027A738 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8027D7FC 0027A73C 38 00 FF FF */ li r0, -1 -/* 8027D800 0027A740 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027D804 0027A744 7F E3 FB 78 */ mr r3, r31 -/* 8027D808 0027A748 54 84 05 66 */ rlwinm r4, r4, 0, 0x15, 0x13 -/* 8027D80C 0027A74C 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8027D810 0027A750 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8027D814 0027A754 54 84 06 B0 */ rlwinm r4, r4, 0, 0x1a, 0x18 -/* 8027D818 0027A758 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8027D81C 0027A75C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8027D820 0027A760 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 8027D824 0027A764 48 00 0B 59 */ bl resetBridgeSearch__Q34Game5Armor3ObjFv -/* 8027D828 0027A768 7F E3 FB 78 */ mr r3, r31 -/* 8027D82C 0027A76C 48 00 19 B1 */ bl setupEffect__Q34Game5Armor3ObjFv -/* 8027D830 0027A770 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8027D834 0027A774 7F E4 FB 78 */ mr r4, r31 -/* 8027D838 0027A778 38 A0 00 01 */ li r5, 1 -/* 8027D83C 0027A77C 38 C0 00 00 */ li r6, 0 -/* 8027D840 0027A780 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D844 0027A784 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027D848 0027A788 7D 89 03 A6 */ mtctr r12 -/* 8027D84C 0027A78C 4E 80 04 21 */ bctrl -/* 8027D850 0027A790 7F E3 FB 78 */ mr r3, r31 -/* 8027D854 0027A794 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027D858 0027A798 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 8027D85C 0027A79C 7D 89 03 A6 */ mtctr r12 -/* 8027D860 0027A7A0 4E 80 04 21 */ bctrl -/* 8027D864 0027A7A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D868 0027A7A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D86C 0027A7AC 7C 08 03 A6 */ mtlr r0 -/* 8027D870 0027A7B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D874 0027A7B4 4E 80 00 20 */ blr - -.global doUpdate__Q34Game5Armor3ObjFv -doUpdate__Q34Game5Armor3ObjFv: -/* 8027D878 0027A7B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D87C 0027A7BC 7C 08 02 A6 */ mflr r0 -/* 8027D880 0027A7C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D884 0027A7C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D888 0027A7C8 7C 7F 1B 78 */ mr r31, r3 -/* 8027D88C 0027A7CC 7F E4 FB 78 */ mr r4, r31 -/* 8027D890 0027A7D0 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8027D894 0027A7D4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D898 0027A7D8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027D89C 0027A7DC 7D 89 03 A6 */ mtctr r12 -/* 8027D8A0 0027A7E0 4E 80 04 21 */ bctrl -/* 8027D8A4 0027A7E4 38 7F 02 CC */ addi r3, r31, 0x2cc -/* 8027D8A8 0027A7E8 4B EB AD 85 */ bl update__10MouthSlotsFv -/* 8027D8AC 0027A7EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D8B0 0027A7F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D8B4 0027A7F4 7C 08 03 A6 */ mtlr r0 -/* 8027D8B8 0027A7F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D8BC 0027A7FC 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game5Armor3ObjFR8Graphics -doDirectDraw__Q34Game5Armor3ObjFR8Graphics: -/* 8027D8C0 0027A800 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game5Armor3ObjFR8Graphics -doDebugDraw__Q34Game5Armor3ObjFR8Graphics: -/* 8027D8C4 0027A804 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D8C8 0027A808 7C 08 02 A6 */ mflr r0 -/* 8027D8CC 0027A80C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D8D0 0027A810 4B E8 85 9D */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8027D8D4 0027A814 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D8D8 0027A818 7C 08 03 A6 */ mtlr r0 -/* 8027D8DC 0027A81C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D8E0 0027A820 4E 80 00 20 */ blr - -.global setFSM__Q34Game5Armor3ObjFPQ34Game5Armor3FSM -setFSM__Q34Game5Armor3ObjFPQ34Game5Armor3FSM: -/* 8027D8E4 0027A824 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027D8E8 0027A828 7C 08 02 A6 */ mflr r0 -/* 8027D8EC 0027A82C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027D8F0 0027A830 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027D8F4 0027A834 7C 7F 1B 78 */ mr r31, r3 -/* 8027D8F8 0027A838 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 8027D8FC 0027A83C 7F E4 FB 78 */ mr r4, r31 -/* 8027D900 0027A840 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8027D904 0027A844 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D908 0027A848 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027D90C 0027A84C 7D 89 03 A6 */ mtctr r12 -/* 8027D910 0027A850 4E 80 04 21 */ bctrl -/* 8027D914 0027A854 38 00 00 00 */ li r0, 0 -/* 8027D918 0027A858 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8027D91C 0027A85C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027D920 0027A860 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027D924 0027A864 7C 08 03 A6 */ mtlr r0 -/* 8027D928 0027A868 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027D92C 0027A86C 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game5Armor3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game5Armor3ObjFRQ24Game11ShadowParam: -/* 8027D930 0027A870 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027D934 0027A874 7C 08 02 A6 */ mflr r0 -/* 8027D938 0027A878 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027D93C 0027A87C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027D940 0027A880 7C 9F 23 78 */ mr r31, r4 -/* 8027D944 0027A884 38 81 00 08 */ addi r4, r1, 8 -/* 8027D948 0027A888 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027D94C 0027A88C 7C 7E 1B 78 */ mr r30, r3 -/* 8027D950 0027A890 81 83 00 00 */ lwz r12, 0(r3) -/* 8027D954 0027A894 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027D958 0027A898 7D 89 03 A6 */ mtctr r12 -/* 8027D95C 0027A89C 4E 80 04 21 */ bctrl -/* 8027D960 0027A8A0 80 9E 01 E0 */ lwz r4, 0x1e0(r30) -/* 8027D964 0027A8A4 38 60 00 00 */ li r3, 0 -/* 8027D968 0027A8A8 54 80 05 6B */ rlwinm. r0, r4, 0, 0x15, 0x15 -/* 8027D96C 0027A8AC 40 82 00 0C */ bne lbl_8027D978 -/* 8027D970 0027A8B0 54 80 03 5B */ rlwinm. r0, r4, 0, 0xd, 0xd -/* 8027D974 0027A8B4 41 82 00 08 */ beq lbl_8027D97C -lbl_8027D978: -/* 8027D978 0027A8B8 38 60 00 01 */ li r3, 1 -lbl_8027D97C: -/* 8027D97C 0027A8BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027D980 0027A8C0 41 82 00 28 */ beq lbl_8027D9A8 -/* 8027D984 0027A8C4 C0 21 00 08 */ lfs f1, 8(r1) -/* 8027D988 0027A8C8 C0 02 D1 E4 */ lfs f0, lbl_8051B544@sda21(r2) -/* 8027D98C 0027A8CC D0 3F 00 00 */ stfs f1, 0(r31) -/* 8027D990 0027A8D0 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8027D994 0027A8D4 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8027D998 0027A8D8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8027D99C 0027A8DC D0 3F 00 08 */ stfs f1, 8(r31) -/* 8027D9A0 0027A8E0 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8027D9A4 0027A8E4 48 00 00 44 */ b lbl_8027D9E8 -lbl_8027D9A8: -/* 8027D9A8 0027A8E8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8027D9AC 0027A8EC C0 22 D1 E8 */ lfs f1, lbl_8051B548@sda21(r2) -/* 8027D9B0 0027A8F0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8027D9B4 0027A8F4 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 8027D9B8 0027A8F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8027D9BC 0027A8FC D0 1F 00 04 */ stfs f0, 4(r31) -/* 8027D9C0 0027A900 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8027D9C4 0027A904 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8027D9C8 0027A908 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 8027D9CC 0027A90C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8027D9D0 0027A910 41 82 00 10 */ beq lbl_8027D9E0 -/* 8027D9D4 0027A914 C0 02 D1 E4 */ lfs f0, lbl_8051B544@sda21(r2) -/* 8027D9D8 0027A918 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8027D9DC 0027A91C 48 00 00 0C */ b lbl_8027D9E8 -lbl_8027D9E0: -/* 8027D9E0 0027A920 C0 02 D1 EC */ lfs f0, lbl_8051B54C@sda21(r2) -/* 8027D9E4 0027A924 D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_8027D9E8: -/* 8027D9E8 0027A928 C0 42 D1 E0 */ lfs f2, lbl_8051B540@sda21(r2) -/* 8027D9EC 0027A92C C0 22 D1 F0 */ lfs f1, lbl_8051B550@sda21(r2) -/* 8027D9F0 0027A930 D0 5F 00 0C */ stfs f2, 0xc(r31) -/* 8027D9F4 0027A934 C0 02 D1 EC */ lfs f0, lbl_8051B54C@sda21(r2) -/* 8027D9F8 0027A938 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 8027D9FC 0027A93C D0 5F 00 14 */ stfs f2, 0x14(r31) -/* 8027DA00 0027A940 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8027DA04 0027A944 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027DA08 0027A948 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027DA0C 0027A94C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027DA10 0027A950 7C 08 03 A6 */ mtlr r0 -/* 8027DA14 0027A954 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027DA18 0027A958 4E 80 00 20 */ blr - -.global damageCallBack__Q34Game5Armor3ObjFPQ24Game8CreaturefP8CollPart -damageCallBack__Q34Game5Armor3ObjFPQ24Game8CreaturefP8CollPart: -/* 8027DA1C 0027A95C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027DA20 0027A960 7C 08 02 A6 */ mflr r0 -/* 8027DA24 0027A964 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027DA28 0027A968 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8027DA2C 0027A96C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8027DA30 0027A970 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027DA34 0027A974 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8027DA38 0027A978 FF E0 08 90 */ fmr f31, f1 -/* 8027DA3C 0027A97C 7C 7F 1B 78 */ mr r31, r3 -/* 8027DA40 0027A980 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8027DA44 0027A984 41 82 00 14 */ beq lbl_8027DA58 -/* 8027DA48 0027A988 C0 42 D1 F0 */ lfs f2, lbl_8051B550@sda21(r2) -/* 8027DA4C 0027A98C 4B E8 85 E1 */ bl addDamage__Q24Game9EnemyBaseFff -/* 8027DA50 0027A990 38 60 00 01 */ li r3, 1 -/* 8027DA54 0027A994 48 00 00 40 */ b lbl_8027DA94 -lbl_8027DA58: -/* 8027DA58 0027A998 28 05 00 00 */ cmplwi r5, 0 -/* 8027DA5C 0027A99C 41 82 00 34 */ beq lbl_8027DA90 -/* 8027DA60 0027A9A0 3C 80 64 6D */ lis r4, 0x646D6731@ha -/* 8027DA64 0027A9A4 38 65 00 30 */ addi r3, r5, 0x30 -/* 8027DA68 0027A9A8 38 84 67 31 */ addi r4, r4, 0x646D6731@l -/* 8027DA6C 0027A9AC 48 19 59 C9 */ bl __eq__4ID32FUl -/* 8027DA70 0027A9B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DA74 0027A9B4 41 82 00 1C */ beq lbl_8027DA90 -/* 8027DA78 0027A9B8 FC 20 F8 90 */ fmr f1, f31 -/* 8027DA7C 0027A9BC C0 42 D1 F0 */ lfs f2, lbl_8051B550@sda21(r2) -/* 8027DA80 0027A9C0 7F E3 FB 78 */ mr r3, r31 -/* 8027DA84 0027A9C4 4B E8 85 A9 */ bl addDamage__Q24Game9EnemyBaseFff -/* 8027DA88 0027A9C8 38 60 00 01 */ li r3, 1 -/* 8027DA8C 0027A9CC 48 00 00 08 */ b lbl_8027DA94 -lbl_8027DA90: -/* 8027DA90 0027A9D0 38 60 00 00 */ li r3, 0 -lbl_8027DA94: -/* 8027DA94 0027A9D4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8027DA98 0027A9D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027DA9C 0027A9DC CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8027DAA0 0027A9E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027DAA4 0027A9E4 7C 08 03 A6 */ mtlr r0 -/* 8027DAA8 0027A9E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027DAAC 0027A9EC 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game5Armor3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game5Armor3ObjFPQ24Game8CreaturefP8CollPart: -/* 8027DAB0 0027A9F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027DAB4 0027A9F4 7C 08 02 A6 */ mflr r0 -/* 8027DAB8 0027A9F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DABC 0027A9FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027DAC0 0027AA00 7C 7F 1B 78 */ mr r31, r3 -/* 8027DAC4 0027AA04 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DAC8 0027AA08 80 C3 00 C0 */ lwz r6, 0xc0(r3) -/* 8027DACC 0027AA0C 81 8C 02 78 */ lwz r12, 0x278(r12) -/* 8027DAD0 0027AA10 C0 26 06 7C */ lfs f1, 0x67c(r6) -/* 8027DAD4 0027AA14 7D 89 03 A6 */ mtctr r12 -/* 8027DAD8 0027AA18 4E 80 04 21 */ bctrl -/* 8027DADC 0027AA1C 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 8027DAE0 0027AA20 54 80 05 AD */ rlwinm. r0, r4, 0, 0x16, 0x16 -/* 8027DAE4 0027AA24 40 82 00 14 */ bne lbl_8027DAF8 -/* 8027DAE8 0027AA28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DAEC 0027AA2C 41 82 00 0C */ beq lbl_8027DAF8 -/* 8027DAF0 0027AA30 64 80 00 08 */ oris r0, r4, 8 -/* 8027DAF4 0027AA34 90 1F 01 E0 */ stw r0, 0x1e0(r31) -lbl_8027DAF8: -/* 8027DAF8 0027AA38 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8027DAFC 0027AA3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027DB00 0027AA40 7C 00 00 34 */ cntlzw r0, r0 -/* 8027DB04 0027AA44 54 03 D9 7E */ srwi r3, r0, 5 -/* 8027DB08 0027AA48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DB0C 0027AA4C 7C 08 03 A6 */ mtlr r0 -/* 8027DB10 0027AA50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027DB14 0027AA54 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game5Armor3ObjFv -doStartStoneState__Q34Game5Armor3ObjFv: -/* 8027DB18 0027AA58 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8027DB1C 0027AA5C 7C 08 02 A6 */ mflr r0 -/* 8027DB20 0027AA60 90 01 00 54 */ stw r0, 0x54(r1) -/* 8027DB24 0027AA64 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8027DB28 0027AA68 7C 7F 1B 78 */ mr r31, r3 -/* 8027DB2C 0027AA6C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8027DB30 0027AA70 4B E8 53 C5 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 8027DB34 0027AA74 7F E4 FB 78 */ mr r4, r31 -/* 8027DB38 0027AA78 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027DB3C 0027AA7C 4B F2 21 21 */ bl __ct__Q24Game8StickersFPQ24Game8Creature -/* 8027DB40 0027AA80 38 00 00 00 */ li r0, 0 -/* 8027DB44 0027AA84 3C 60 80 4B */ lis r3, __vt__26Iterator$$0Q24Game8Creature$$1@ha -/* 8027DB48 0027AA88 38 83 BC 84 */ addi r4, r3, __vt__26Iterator$$0Q24Game8Creature$$1@l -/* 8027DB4C 0027AA8C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027DB50 0027AA90 28 00 00 00 */ cmplwi r0, 0 -/* 8027DB54 0027AA94 90 81 00 08 */ stw r4, 8(r1) -/* 8027DB58 0027AA98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DB5C 0027AA9C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8027DB60 0027AAA0 90 61 00 10 */ stw r3, 0x10(r1) -/* 8027DB64 0027AAA4 40 82 00 1C */ bne lbl_8027DB80 -/* 8027DB68 0027AAA8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DB6C 0027AAAC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027DB70 0027AAB0 7D 89 03 A6 */ mtctr r12 -/* 8027DB74 0027AAB4 4E 80 04 21 */ bctrl -/* 8027DB78 0027AAB8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027DB7C 0027AABC 48 00 01 B8 */ b lbl_8027DD34 -lbl_8027DB80: -/* 8027DB80 0027AAC0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DB84 0027AAC4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027DB88 0027AAC8 7D 89 03 A6 */ mtctr r12 -/* 8027DB8C 0027AACC 4E 80 04 21 */ bctrl -/* 8027DB90 0027AAD0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027DB94 0027AAD4 48 00 00 58 */ b lbl_8027DBEC -lbl_8027DB98: -/* 8027DB98 0027AAD8 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8027DB9C 0027AADC 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8027DBA0 0027AAE0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DBA4 0027AAE4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027DBA8 0027AAE8 7D 89 03 A6 */ mtctr r12 -/* 8027DBAC 0027AAEC 4E 80 04 21 */ bctrl -/* 8027DBB0 0027AAF0 7C 64 1B 78 */ mr r4, r3 -/* 8027DBB4 0027AAF4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8027DBB8 0027AAF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DBBC 0027AAFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027DBC0 0027AB00 7D 89 03 A6 */ mtctr r12 -/* 8027DBC4 0027AB04 4E 80 04 21 */ bctrl -/* 8027DBC8 0027AB08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DBCC 0027AB0C 40 82 01 68 */ bne lbl_8027DD34 -/* 8027DBD0 0027AB10 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8027DBD4 0027AB14 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8027DBD8 0027AB18 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DBDC 0027AB1C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027DBE0 0027AB20 7D 89 03 A6 */ mtctr r12 -/* 8027DBE4 0027AB24 4E 80 04 21 */ bctrl -/* 8027DBE8 0027AB28 90 61 00 0C */ stw r3, 0xc(r1) -lbl_8027DBEC: -/* 8027DBEC 0027AB2C 81 81 00 08 */ lwz r12, 8(r1) -/* 8027DBF0 0027AB30 38 61 00 08 */ addi r3, r1, 8 -/* 8027DBF4 0027AB34 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027DBF8 0027AB38 7D 89 03 A6 */ mtctr r12 -/* 8027DBFC 0027AB3C 4E 80 04 21 */ bctrl -/* 8027DC00 0027AB40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DC04 0027AB44 41 82 FF 94 */ beq lbl_8027DB98 -/* 8027DC08 0027AB48 48 00 01 2C */ b lbl_8027DD34 -lbl_8027DC0C: -/* 8027DC0C 0027AB4C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8027DC10 0027AB50 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DC14 0027AB54 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027DC18 0027AB58 7D 89 03 A6 */ mtctr r12 -/* 8027DC1C 0027AB5C 4E 80 04 21 */ bctrl -/* 8027DC20 0027AB60 7C 7E 1B 78 */ mr r30, r3 -/* 8027DC24 0027AB64 4B F2 19 65 */ bl isStickToMouth__Q24Game8CreatureFv -/* 8027DC28 0027AB68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DC2C 0027AB6C 41 82 00 4C */ beq lbl_8027DC78 -/* 8027DC30 0027AB70 3C 60 80 4B */ lis r3, __vt__Q24Game11Interaction@ha -/* 8027DC34 0027AB74 C0 22 D1 E0 */ lfs f1, lbl_8051B540@sda21(r2) -/* 8027DC38 0027AB78 38 03 A3 00 */ addi r0, r3, __vt__Q24Game11Interaction@l -/* 8027DC3C 0027AB7C C0 02 D1 F4 */ lfs f0, lbl_8051B554@sda21(r2) -/* 8027DC40 0027AB80 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractFlick@ha -/* 8027DC44 0027AB84 90 01 00 18 */ stw r0, 0x18(r1) -/* 8027DC48 0027AB88 38 03 4E 04 */ addi r0, r3, __vt__Q24Game13InteractFlick@l -/* 8027DC4C 0027AB8C 7F C3 F3 78 */ mr r3, r30 -/* 8027DC50 0027AB90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027DC54 0027AB94 38 81 00 18 */ addi r4, r1, 0x18 -/* 8027DC58 0027AB98 90 01 00 18 */ stw r0, 0x18(r1) -/* 8027DC5C 0027AB9C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8027DC60 0027ABA0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8027DC64 0027ABA4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027DC68 0027ABA8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027DC6C 0027ABAC 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8027DC70 0027ABB0 7D 89 03 A6 */ mtctr r12 -/* 8027DC74 0027ABB4 4E 80 04 21 */ bctrl -lbl_8027DC78: -/* 8027DC78 0027ABB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DC7C 0027ABBC 28 00 00 00 */ cmplwi r0, 0 -/* 8027DC80 0027ABC0 40 82 00 24 */ bne lbl_8027DCA4 -/* 8027DC84 0027ABC4 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8027DC88 0027ABC8 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8027DC8C 0027ABCC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DC90 0027ABD0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027DC94 0027ABD4 7D 89 03 A6 */ mtctr r12 -/* 8027DC98 0027ABD8 4E 80 04 21 */ bctrl -/* 8027DC9C 0027ABDC 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027DCA0 0027ABE0 48 00 00 94 */ b lbl_8027DD34 -lbl_8027DCA4: -/* 8027DCA4 0027ABE4 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8027DCA8 0027ABE8 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8027DCAC 0027ABEC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DCB0 0027ABF0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027DCB4 0027ABF4 7D 89 03 A6 */ mtctr r12 -/* 8027DCB8 0027ABF8 4E 80 04 21 */ bctrl -/* 8027DCBC 0027ABFC 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027DCC0 0027AC00 48 00 00 58 */ b lbl_8027DD18 -lbl_8027DCC4: -/* 8027DCC4 0027AC04 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8027DCC8 0027AC08 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8027DCCC 0027AC0C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DCD0 0027AC10 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027DCD4 0027AC14 7D 89 03 A6 */ mtctr r12 -/* 8027DCD8 0027AC18 4E 80 04 21 */ bctrl -/* 8027DCDC 0027AC1C 7C 64 1B 78 */ mr r4, r3 -/* 8027DCE0 0027AC20 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8027DCE4 0027AC24 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DCE8 0027AC28 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027DCEC 0027AC2C 7D 89 03 A6 */ mtctr r12 -/* 8027DCF0 0027AC30 4E 80 04 21 */ bctrl -/* 8027DCF4 0027AC34 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DCF8 0027AC38 40 82 00 3C */ bne lbl_8027DD34 -/* 8027DCFC 0027AC3C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8027DD00 0027AC40 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8027DD04 0027AC44 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DD08 0027AC48 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027DD0C 0027AC4C 7D 89 03 A6 */ mtctr r12 -/* 8027DD10 0027AC50 4E 80 04 21 */ bctrl -/* 8027DD14 0027AC54 90 61 00 0C */ stw r3, 0xc(r1) -lbl_8027DD18: -/* 8027DD18 0027AC58 81 81 00 08 */ lwz r12, 8(r1) -/* 8027DD1C 0027AC5C 38 61 00 08 */ addi r3, r1, 8 -/* 8027DD20 0027AC60 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027DD24 0027AC64 7D 89 03 A6 */ mtctr r12 -/* 8027DD28 0027AC68 4E 80 04 21 */ bctrl -/* 8027DD2C 0027AC6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DD30 0027AC70 41 82 FF 94 */ beq lbl_8027DCC4 -lbl_8027DD34: -/* 8027DD34 0027AC74 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8027DD38 0027AC78 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DD3C 0027AC7C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027DD40 0027AC80 7D 89 03 A6 */ mtctr r12 -/* 8027DD44 0027AC84 4E 80 04 21 */ bctrl -/* 8027DD48 0027AC88 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8027DD4C 0027AC8C 7C 04 18 40 */ cmplw r4, r3 -/* 8027DD50 0027AC90 40 82 FE BC */ bne lbl_8027DC0C -/* 8027DD54 0027AC94 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027DD58 0027AC98 38 80 FF FF */ li r4, -1 -/* 8027DD5C 0027AC9C 4B F2 20 09 */ bl __dt__Q24Game8StickersFv -/* 8027DD60 0027ACA0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8027DD64 0027ACA4 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027DD68 0027ACA8 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8027DD6C 0027ACAC 7C 08 03 A6 */ mtlr r0 -/* 8027DD70 0027ACB0 38 21 00 50 */ addi r1, r1, 0x50 -/* 8027DD74 0027ACB4 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game5Armor3ObjFv -doFinishStoneState__Q34Game5Armor3ObjFv: -/* 8027DD78 0027ACB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027DD7C 0027ACBC 7C 08 02 A6 */ mflr r0 -/* 8027DD80 0027ACC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DD84 0027ACC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027DD88 0027ACC8 7C 7F 1B 78 */ mr r31, r3 -/* 8027DD8C 0027ACCC 4B E8 51 7D */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 8027DD90 0027ACD0 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027DD94 0027ACD4 D0 1F 02 0C */ stfs f0, 0x20c(r31) -/* 8027DD98 0027ACD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DD9C 0027ACDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027DDA0 0027ACE0 7C 08 03 A6 */ mtlr r0 -/* 8027DDA4 0027ACE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027DDA8 0027ACE8 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game5Armor3ObjFv -startCarcassMotion__Q34Game5Armor3ObjFv: -/* 8027DDAC 0027ACEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027DDB0 0027ACF0 7C 08 02 A6 */ mflr r0 -/* 8027DDB4 0027ACF4 38 80 00 09 */ li r4, 9 -/* 8027DDB8 0027ACF8 38 A0 00 00 */ li r5, 0 -/* 8027DDBC 0027ACFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DDC0 0027AD00 4B E8 72 45 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8027DDC4 0027AD04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DDC8 0027AD08 7C 08 03 A6 */ mtlr r0 -/* 8027DDCC 0027AD0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027DDD0 0027AD10 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game5Armor3ObjFv -doStartMovie__Q34Game5Armor3ObjFv: -/* 8027DDD4 0027AD14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027DDD8 0027AD18 7C 08 02 A6 */ mflr r0 -/* 8027DDDC 0027AD1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DDE0 0027AD20 48 00 16 49 */ bl effectDrawOff__Q34Game5Armor3ObjFv -/* 8027DDE4 0027AD24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DDE8 0027AD28 7C 08 03 A6 */ mtlr r0 -/* 8027DDEC 0027AD2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027DDF0 0027AD30 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game5Armor3ObjFv -doEndMovie__Q34Game5Armor3ObjFv: -/* 8027DDF4 0027AD34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027DDF8 0027AD38 7C 08 02 A6 */ mflr r0 -/* 8027DDFC 0027AD3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027DE00 0027AD40 48 00 15 F9 */ bl effectDrawOn__Q34Game5Armor3ObjFv -/* 8027DE04 0027AD44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027DE08 0027AD48 7C 08 03 A6 */ mtlr r0 -/* 8027DE0C 0027AD4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027DE10 0027AD50 4E 80 00 20 */ blr - -.global initMouthSlots__Q34Game5Armor3ObjFv -initMouthSlots__Q34Game5Armor3ObjFv: -/* 8027DE14 0027AD54 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027DE18 0027AD58 7C 08 02 A6 */ mflr r0 -/* 8027DE1C 0027AD5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027DE20 0027AD60 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8027DE24 0027AD64 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8027DE28 0027AD68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027DE2C 0027AD6C 93 C1 00 08 */ stw r30, 8(r1) -/* 8027DE30 0027AD70 7C 7E 1B 78 */ mr r30, r3 -/* 8027DE34 0027AD74 38 80 00 01 */ li r4, 1 -/* 8027DE38 0027AD78 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 8027DE3C 0027AD7C 4B EB A7 1D */ bl alloc__10MouthSlotsFi -/* 8027DE40 0027AD80 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 8027DE44 0027AD84 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 8027DE48 0027AD88 38 80 00 00 */ li r4, 0 -/* 8027DE4C 0027AD8C 38 C2 D1 F8 */ addi r6, r2, lbl_8051B558@sda21 -/* 8027DE50 0027AD90 4B EB A8 41 */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 8027DE54 0027AD94 C3 E2 D1 EC */ lfs f31, lbl_8051B54C@sda21(r2) -/* 8027DE58 0027AD98 3B E0 00 00 */ li r31, 0 -/* 8027DE5C 0027AD9C 48 00 00 18 */ b lbl_8027DE74 -lbl_8027DE60: -/* 8027DE60 0027ADA0 7F E4 FB 78 */ mr r4, r31 -/* 8027DE64 0027ADA4 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 8027DE68 0027ADA8 4B EB A9 11 */ bl getSlot__10MouthSlotsFi -/* 8027DE6C 0027ADAC D3 E3 00 1C */ stfs f31, 0x1c(r3) -/* 8027DE70 0027ADB0 3B FF 00 01 */ addi r31, r31, 1 -lbl_8027DE74: -/* 8027DE74 0027ADB4 80 1E 02 CC */ lwz r0, 0x2cc(r30) -/* 8027DE78 0027ADB8 7C 1F 00 00 */ cmpw r31, r0 -/* 8027DE7C 0027ADBC 41 80 FF E4 */ blt lbl_8027DE60 -/* 8027DE80 0027ADC0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8027DE84 0027ADC4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027DE88 0027ADC8 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8027DE8C 0027ADCC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027DE90 0027ADD0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027DE94 0027ADD4 7C 08 03 A6 */ mtlr r0 -/* 8027DE98 0027ADD8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027DE9C 0027ADDC 4E 80 00 20 */ blr - -.global lifeIncrement__Q34Game5Armor3ObjFv -lifeIncrement__Q34Game5Armor3ObjFv: -/* 8027DEA0 0027ADE0 C0 22 D1 E0 */ lfs f1, lbl_8051B540@sda21(r2) -/* 8027DEA4 0027ADE4 D0 23 02 08 */ stfs f1, 0x208(r3) -/* 8027DEA8 0027ADE8 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8027DEAC 0027ADEC 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d -/* 8027DEB0 0027ADF0 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 8027DEB4 0027ADF4 C0 03 02 00 */ lfs f0, 0x200(r3) -/* 8027DEB8 0027ADF8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8027DEBC 0027ADFC 4C 40 13 82 */ cror 2, 0, 2 -/* 8027DEC0 0027AE00 4C 82 00 20 */ bnelr -/* 8027DEC4 0027AE04 C0 02 D1 F0 */ lfs f0, lbl_8051B550@sda21(r2) -/* 8027DEC8 0027AE08 D0 03 02 00 */ stfs f0, 0x200(r3) -/* 8027DECC 0027AE0C 4E 80 00 20 */ blr - -.global attackPikmin__Q34Game5Armor3ObjFv -attackPikmin__Q34Game5Armor3ObjFv: -/* 8027DED0 0027AE10 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8027DED4 0027AE14 7C 08 02 A6 */ mflr r0 -/* 8027DED8 0027AE18 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8027DEDC 0027AE1C DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8027DEE0 0027AE20 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8027DEE4 0027AE24 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8027DEE8 0027AE28 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8027DEEC 0027AE2C DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8027DEF0 0027AE30 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8027DEF4 0027AE34 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8027DEF8 0027AE38 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8027DEFC 0027AE3C 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8027DF00 0027AE40 93 81 00 60 */ stw r28, 0x60(r1) -/* 8027DF04 0027AE44 38 80 00 00 */ li r4, 0 -/* 8027DF08 0027AE48 80 0D 92 F4 */ lwz r0, pikiMgr__4Game@sda21(r13) -/* 8027DF0C 0027AE4C 3C A0 80 4B */ lis r5, __vt__22Iterator$$0Q24Game4Piki$$1@ha -/* 8027DF10 0027AE50 90 81 00 48 */ stw r4, 0x48(r1) -/* 8027DF14 0027AE54 38 A5 BC 9C */ addi r5, r5, __vt__22Iterator$$0Q24Game4Piki$$1@l -/* 8027DF18 0027AE58 28 04 00 00 */ cmplwi r4, 0 -/* 8027DF1C 0027AE5C 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8027DF20 0027AE60 7C 7F 1B 78 */ mr r31, r3 -/* 8027DF24 0027AE64 90 81 00 40 */ stw r4, 0x40(r1) -/* 8027DF28 0027AE68 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027DF2C 0027AE6C 40 82 00 20 */ bne lbl_8027DF4C -/* 8027DF30 0027AE70 7C 03 03 78 */ mr r3, r0 -/* 8027DF34 0027AE74 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DF38 0027AE78 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027DF3C 0027AE7C 7D 89 03 A6 */ mtctr r12 -/* 8027DF40 0027AE80 4E 80 04 21 */ bctrl -/* 8027DF44 0027AE84 90 61 00 40 */ stw r3, 0x40(r1) -/* 8027DF48 0027AE88 48 00 03 1C */ b lbl_8027E264 -lbl_8027DF4C: -/* 8027DF4C 0027AE8C 7C 03 03 78 */ mr r3, r0 -/* 8027DF50 0027AE90 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DF54 0027AE94 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027DF58 0027AE98 7D 89 03 A6 */ mtctr r12 -/* 8027DF5C 0027AE9C 4E 80 04 21 */ bctrl -/* 8027DF60 0027AEA0 90 61 00 40 */ stw r3, 0x40(r1) -/* 8027DF64 0027AEA4 48 00 00 58 */ b lbl_8027DFBC -lbl_8027DF68: -/* 8027DF68 0027AEA8 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8027DF6C 0027AEAC 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8027DF70 0027AEB0 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DF74 0027AEB4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027DF78 0027AEB8 7D 89 03 A6 */ mtctr r12 -/* 8027DF7C 0027AEBC 4E 80 04 21 */ bctrl -/* 8027DF80 0027AEC0 7C 64 1B 78 */ mr r4, r3 -/* 8027DF84 0027AEC4 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8027DF88 0027AEC8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DF8C 0027AECC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027DF90 0027AED0 7D 89 03 A6 */ mtctr r12 -/* 8027DF94 0027AED4 4E 80 04 21 */ bctrl -/* 8027DF98 0027AED8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DF9C 0027AEDC 40 82 02 C8 */ bne lbl_8027E264 -/* 8027DFA0 0027AEE0 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8027DFA4 0027AEE4 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8027DFA8 0027AEE8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DFAC 0027AEEC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027DFB0 0027AEF0 7D 89 03 A6 */ mtctr r12 -/* 8027DFB4 0027AEF4 4E 80 04 21 */ bctrl -/* 8027DFB8 0027AEF8 90 61 00 40 */ stw r3, 0x40(r1) -lbl_8027DFBC: -/* 8027DFBC 0027AEFC 81 81 00 3C */ lwz r12, 0x3c(r1) -/* 8027DFC0 0027AF00 38 61 00 3C */ addi r3, r1, 0x3c -/* 8027DFC4 0027AF04 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027DFC8 0027AF08 7D 89 03 A6 */ mtctr r12 -/* 8027DFCC 0027AF0C 4E 80 04 21 */ bctrl -/* 8027DFD0 0027AF10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027DFD4 0027AF14 41 82 FF 94 */ beq lbl_8027DF68 -/* 8027DFD8 0027AF18 48 00 02 8C */ b lbl_8027E264 -lbl_8027DFDC: -/* 8027DFDC 0027AF1C 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8027DFE0 0027AF20 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DFE4 0027AF24 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027DFE8 0027AF28 7D 89 03 A6 */ mtctr r12 -/* 8027DFEC 0027AF2C 4E 80 04 21 */ bctrl -/* 8027DFF0 0027AF30 81 83 00 00 */ lwz r12, 0(r3) -/* 8027DFF4 0027AF34 7C 7D 1B 78 */ mr r29, r3 -/* 8027DFF8 0027AF38 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8027DFFC 0027AF3C 7D 89 03 A6 */ mtctr r12 -/* 8027E000 0027AF40 4E 80 04 21 */ bctrl -/* 8027E004 0027AF44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E008 0027AF48 41 82 01 A0 */ beq lbl_8027E1A8 -/* 8027E00C 0027AF4C 7F A3 EB 78 */ mr r3, r29 -/* 8027E010 0027AF50 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027E014 0027AF54 81 8C 01 C0 */ lwz r12, 0x1c0(r12) -/* 8027E018 0027AF58 7D 89 03 A6 */ mtctr r12 -/* 8027E01C 0027AF5C 4E 80 04 21 */ bctrl -/* 8027E020 0027AF60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E024 0027AF64 41 82 01 84 */ beq lbl_8027E1A8 -/* 8027E028 0027AF68 80 1D 00 F4 */ lwz r0, 0xf4(r29) -/* 8027E02C 0027AF6C 7C 00 F8 40 */ cmplw r0, r31 -/* 8027E030 0027AF70 41 82 01 78 */ beq lbl_8027E1A8 -/* 8027E034 0027AF74 3B 80 00 00 */ li r28, 0 -/* 8027E038 0027AF78 48 00 01 64 */ b lbl_8027E19C -lbl_8027E03C: -/* 8027E03C 0027AF7C 7F 84 E3 78 */ mr r4, r28 -/* 8027E040 0027AF80 38 7F 02 CC */ addi r3, r31, 0x2cc -/* 8027E044 0027AF84 4B EB A7 35 */ bl getSlot__10MouthSlotsFi -/* 8027E048 0027AF88 7C 7E 1B 78 */ mr r30, r3 -/* 8027E04C 0027AF8C 80 03 00 64 */ lwz r0, 0x64(r3) -/* 8027E050 0027AF90 28 00 00 00 */ cmplwi r0, 0 -/* 8027E054 0027AF94 40 82 01 44 */ bne lbl_8027E198 -/* 8027E058 0027AF98 38 81 00 30 */ addi r4, r1, 0x30 -/* 8027E05C 0027AF9C 4B EB A4 6D */ bl getPosition__13MouthCollPartFR10Vector3$$0f$$1 -/* 8027E060 0027AFA0 7F A4 EB 78 */ mr r4, r29 -/* 8027E064 0027AFA4 38 61 00 08 */ addi r3, r1, 8 -/* 8027E068 0027AFA8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027E06C 0027AFAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027E070 0027AFB0 7D 89 03 A6 */ mtctr r12 -/* 8027E074 0027AFB4 4E 80 04 21 */ bctrl -/* 8027E078 0027AFB8 C3 E1 00 0C */ lfs f31, 0xc(r1) -/* 8027E07C 0027AFBC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8027E080 0027AFC0 C3 A1 00 08 */ lfs f29, 8(r1) -/* 8027E084 0027AFC4 EC 40 F8 28 */ fsubs f2, f0, f31 -/* 8027E088 0027AFC8 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8027E08C 0027AFCC C3 C1 00 10 */ lfs f30, 0x10(r1) -/* 8027E090 0027AFD0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8027E094 0027AFD4 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 8027E098 0027AFD8 EC 62 00 B2 */ fmuls f3, f2, f2 -/* 8027E09C 0027AFDC EC 40 F0 28 */ fsubs f2, f0, f30 -/* 8027E0A0 0027AFE0 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027E0A4 0027AFE4 EC 21 18 7A */ fmadds f1, f1, f1, f3 -/* 8027E0A8 0027AFE8 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8027E0AC 0027AFEC EC 22 08 2A */ fadds f1, f2, f1 -/* 8027E0B0 0027AFF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027E0B4 0027AFF4 40 81 00 14 */ ble lbl_8027E0C8 -/* 8027E0B8 0027AFF8 40 81 00 14 */ ble lbl_8027E0CC -/* 8027E0BC 0027AFFC FC 00 08 34 */ frsqrte f0, f1 -/* 8027E0C0 0027B000 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8027E0C4 0027B004 48 00 00 08 */ b lbl_8027E0CC -lbl_8027E0C8: -/* 8027E0C8 0027B008 FC 20 00 90 */ fmr f1, f0 -lbl_8027E0CC: -/* 8027E0CC 0027B00C C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 8027E0D0 0027B010 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027E0D4 0027B014 40 80 00 C4 */ bge lbl_8027E198 -/* 8027E0D8 0027B018 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 8027E0DC 0027B01C 3C 60 80 4B */ lis r3, __vt__Q24Game14InteractAttack@ha -/* 8027E0E0 0027B020 38 04 A3 00 */ addi r0, r4, __vt__Q24Game11Interaction@l -/* 8027E0E4 0027B024 38 80 00 00 */ li r4, 0 -/* 8027E0E8 0027B028 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8027E0EC 0027B02C 38 03 4D E0 */ addi r0, r3, __vt__Q24Game14InteractAttack@l -/* 8027E0F0 0027B030 C0 02 D1 F0 */ lfs f0, lbl_8051B550@sda21(r2) -/* 8027E0F4 0027B034 3C 60 80 4B */ lis r3, __vt__Q24Game15InteractSwallow@ha -/* 8027E0F8 0027B038 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8027E0FC 0027B03C 38 A3 4D BC */ addi r5, r3, __vt__Q24Game15InteractSwallow@l -/* 8027E100 0027B040 38 00 00 01 */ li r0, 1 -/* 8027E104 0027B044 7F A3 EB 78 */ mr r3, r29 -/* 8027E108 0027B048 90 81 00 5C */ stw r4, 0x5c(r1) -/* 8027E10C 0027B04C 38 81 00 4C */ addi r4, r1, 0x4c -/* 8027E110 0027B050 93 E1 00 50 */ stw r31, 0x50(r1) -/* 8027E114 0027B054 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8027E118 0027B058 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8027E11C 0027B05C 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 8027E120 0027B060 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8027E124 0027B064 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027E128 0027B068 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8027E12C 0027B06C 7D 89 03 A6 */ mtctr r12 -/* 8027E130 0027B070 4E 80 04 21 */ bctrl -/* 8027E134 0027B074 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E138 0027B078 41 82 00 60 */ beq lbl_8027E198 -/* 8027E13C 0027B07C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8027E140 0027B080 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 8027E144 0027B084 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8027E148 0027B088 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 8027E14C 0027B08C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027E150 0027B090 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 8027E154 0027B094 3C 60 80 4D */ lis r3, __vt__Q23efx15TYoroiAttackhit@ha -/* 8027E158 0027B098 38 84 A7 EC */ addi r4, r4, __vt__Q23efx3Arg@l -/* 8027E15C 0027B09C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027E160 0027B0A0 38 03 85 68 */ addi r0, r3, __vt__Q23efx15TYoroiAttackhit@l -/* 8027E164 0027B0A4 38 C0 01 ED */ li r6, 0x1ed -/* 8027E168 0027B0A8 38 A0 00 00 */ li r5, 0 -/* 8027E16C 0027B0AC 90 81 00 20 */ stw r4, 0x20(r1) -/* 8027E170 0027B0B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027E174 0027B0B4 38 81 00 20 */ addi r4, r1, 0x20 -/* 8027E178 0027B0B8 D3 A1 00 24 */ stfs f29, 0x24(r1) -/* 8027E17C 0027B0BC D3 E1 00 28 */ stfs f31, 0x28(r1) -/* 8027E180 0027B0C0 D3 C1 00 2C */ stfs f30, 0x2c(r1) -/* 8027E184 0027B0C4 B0 C1 00 18 */ sth r6, 0x18(r1) -/* 8027E188 0027B0C8 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8027E18C 0027B0CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027E190 0027B0D0 48 13 0D F5 */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 8027E194 0027B0D4 48 00 00 14 */ b lbl_8027E1A8 -lbl_8027E198: -/* 8027E198 0027B0D8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8027E19C: -/* 8027E19C 0027B0DC 80 1F 02 CC */ lwz r0, 0x2cc(r31) -/* 8027E1A0 0027B0E0 7C 1C 00 00 */ cmpw r28, r0 -/* 8027E1A4 0027B0E4 41 80 FE 98 */ blt lbl_8027E03C -lbl_8027E1A8: -/* 8027E1A8 0027B0E8 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8027E1AC 0027B0EC 28 00 00 00 */ cmplwi r0, 0 -/* 8027E1B0 0027B0F0 40 82 00 24 */ bne lbl_8027E1D4 -/* 8027E1B4 0027B0F4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8027E1B8 0027B0F8 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8027E1BC 0027B0FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E1C0 0027B100 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027E1C4 0027B104 7D 89 03 A6 */ mtctr r12 -/* 8027E1C8 0027B108 4E 80 04 21 */ bctrl -/* 8027E1CC 0027B10C 90 61 00 40 */ stw r3, 0x40(r1) -/* 8027E1D0 0027B110 48 00 00 94 */ b lbl_8027E264 -lbl_8027E1D4: -/* 8027E1D4 0027B114 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8027E1D8 0027B118 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8027E1DC 0027B11C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E1E0 0027B120 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027E1E4 0027B124 7D 89 03 A6 */ mtctr r12 -/* 8027E1E8 0027B128 4E 80 04 21 */ bctrl -/* 8027E1EC 0027B12C 90 61 00 40 */ stw r3, 0x40(r1) -/* 8027E1F0 0027B130 48 00 00 58 */ b lbl_8027E248 -lbl_8027E1F4: -/* 8027E1F4 0027B134 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8027E1F8 0027B138 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8027E1FC 0027B13C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E200 0027B140 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027E204 0027B144 7D 89 03 A6 */ mtctr r12 -/* 8027E208 0027B148 4E 80 04 21 */ bctrl -/* 8027E20C 0027B14C 7C 64 1B 78 */ mr r4, r3 -/* 8027E210 0027B150 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8027E214 0027B154 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E218 0027B158 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027E21C 0027B15C 7D 89 03 A6 */ mtctr r12 -/* 8027E220 0027B160 4E 80 04 21 */ bctrl -/* 8027E224 0027B164 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E228 0027B168 40 82 00 3C */ bne lbl_8027E264 -/* 8027E22C 0027B16C 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8027E230 0027B170 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8027E234 0027B174 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E238 0027B178 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027E23C 0027B17C 7D 89 03 A6 */ mtctr r12 -/* 8027E240 0027B180 4E 80 04 21 */ bctrl -/* 8027E244 0027B184 90 61 00 40 */ stw r3, 0x40(r1) -lbl_8027E248: -/* 8027E248 0027B188 81 81 00 3C */ lwz r12, 0x3c(r1) -/* 8027E24C 0027B18C 38 61 00 3C */ addi r3, r1, 0x3c -/* 8027E250 0027B190 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027E254 0027B194 7D 89 03 A6 */ mtctr r12 -/* 8027E258 0027B198 4E 80 04 21 */ bctrl -/* 8027E25C 0027B19C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E260 0027B1A0 41 82 FF 94 */ beq lbl_8027E1F4 -lbl_8027E264: -/* 8027E264 0027B1A4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8027E268 0027B1A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E26C 0027B1AC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027E270 0027B1B0 7D 89 03 A6 */ mtctr r12 -/* 8027E274 0027B1B4 4E 80 04 21 */ bctrl -/* 8027E278 0027B1B8 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8027E27C 0027B1BC 7C 04 18 40 */ cmplw r4, r3 -/* 8027E280 0027B1C0 40 82 FD 5C */ bne lbl_8027DFDC -/* 8027E284 0027B1C4 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8027E288 0027B1C8 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8027E28C 0027B1CC E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8027E290 0027B1D0 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8027E294 0027B1D4 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8027E298 0027B1D8 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8027E29C 0027B1DC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8027E2A0 0027B1E0 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8027E2A4 0027B1E4 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8027E2A8 0027B1E8 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8027E2AC 0027B1EC 83 81 00 60 */ lwz r28, 0x60(r1) -/* 8027E2B0 0027B1F0 7C 08 03 A6 */ mtlr r0 -/* 8027E2B4 0027B1F4 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8027E2B8 0027B1F8 4E 80 00 20 */ blr - -.global getSlotPikiNum__Q34Game5Armor3ObjFv -getSlotPikiNum__Q34Game5Armor3ObjFv: -/* 8027E2BC 0027B1FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027E2C0 0027B200 7C 08 02 A6 */ mflr r0 -/* 8027E2C4 0027B204 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027E2C8 0027B208 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027E2CC 0027B20C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027E2D0 0027B210 3B C0 00 00 */ li r30, 0 -/* 8027E2D4 0027B214 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8027E2D8 0027B218 93 81 00 10 */ stw r28, 0x10(r1) -/* 8027E2DC 0027B21C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E2E0 0027B220 81 8C 02 5C */ lwz r12, 0x25c(r12) -/* 8027E2E4 0027B224 7D 89 03 A6 */ mtctr r12 -/* 8027E2E8 0027B228 4E 80 04 21 */ bctrl -/* 8027E2EC 0027B22C 83 E3 00 00 */ lwz r31, 0(r3) -/* 8027E2F0 0027B230 3B 80 00 00 */ li r28, 0 -/* 8027E2F4 0027B234 7C 7D 1B 78 */ mr r29, r3 -/* 8027E2F8 0027B238 48 00 00 24 */ b lbl_8027E31C -lbl_8027E2FC: -/* 8027E2FC 0027B23C 7F A3 EB 78 */ mr r3, r29 -/* 8027E300 0027B240 7F 84 E3 78 */ mr r4, r28 -/* 8027E304 0027B244 4B EB A4 75 */ bl getSlot__10MouthSlotsFi -/* 8027E308 0027B248 80 03 00 64 */ lwz r0, 0x64(r3) -/* 8027E30C 0027B24C 28 00 00 00 */ cmplwi r0, 0 -/* 8027E310 0027B250 41 82 00 08 */ beq lbl_8027E318 -/* 8027E314 0027B254 3B DE 00 01 */ addi r30, r30, 1 -lbl_8027E318: -/* 8027E318 0027B258 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8027E31C: -/* 8027E31C 0027B25C 7C 1C F8 00 */ cmpw r28, r31 -/* 8027E320 0027B260 41 80 FF DC */ blt lbl_8027E2FC -/* 8027E324 0027B264 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027E328 0027B268 7F C3 F3 78 */ mr r3, r30 -/* 8027E32C 0027B26C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027E330 0027B270 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027E334 0027B274 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8027E338 0027B278 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8027E33C 0027B27C 7C 08 03 A6 */ mtlr r0 -/* 8027E340 0027B280 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027E344 0027B284 4E 80 00 20 */ blr - -.global getMouthSlots__Q34Game5Armor3ObjFv -getMouthSlots__Q34Game5Armor3ObjFv: -/* 8027E348 0027B288 38 63 02 CC */ addi r3, r3, 0x2cc -/* 8027E34C 0027B28C 4E 80 00 20 */ blr - -.global killSlotPiki__Q34Game5Armor3ObjFv -killSlotPiki__Q34Game5Armor3ObjFv: -/* 8027E350 0027B290 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027E354 0027B294 7C 08 02 A6 */ mflr r0 -/* 8027E358 0027B298 38 80 00 00 */ li r4, 0 -/* 8027E35C 0027B29C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027E360 0027B2A0 80 A3 00 C0 */ lwz r5, 0xc0(r3) -/* 8027E364 0027B2A4 C0 25 08 1C */ lfs f1, 0x81c(r5) -/* 8027E368 0027B2A8 4B E9 5B 1D */ bl swallowPikmin__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Piki$$1 -/* 8027E36C 0027B2AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027E370 0027B2B0 7C 08 03 A6 */ mtlr r0 -/* 8027E374 0027B2B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027E378 0027B2B8 4E 80 00 20 */ blr - -.global resetBridgeSearch__Q34Game5Armor3ObjFv -resetBridgeSearch__Q34Game5Armor3ObjFv: -/* 8027E37C 0027B2BC 38 80 00 01 */ li r4, 1 -/* 8027E380 0027B2C0 38 00 00 00 */ li r0, 0 -/* 8027E384 0027B2C4 98 83 02 C0 */ stb r4, 0x2c0(r3) -/* 8027E388 0027B2C8 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027E38C 0027B2CC 90 03 02 D8 */ stw r0, 0x2d8(r3) -/* 8027E390 0027B2D0 D0 03 02 DC */ stfs f0, 0x2dc(r3) -/* 8027E394 0027B2D4 D0 03 02 E0 */ stfs f0, 0x2e0(r3) -/* 8027E398 0027B2D8 4E 80 00 20 */ blr - -.global setBridgeSearch__Q34Game5Armor3ObjFv -setBridgeSearch__Q34Game5Armor3ObjFv: -/* 8027E39C 0027B2DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027E3A0 0027B2E0 7C 08 02 A6 */ mflr r0 -/* 8027E3A4 0027B2E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027E3A8 0027B2E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027E3AC 0027B2EC 7C 7F 1B 78 */ mr r31, r3 -/* 8027E3B0 0027B2F0 88 03 02 C0 */ lbz r0, 0x2c0(r3) -/* 8027E3B4 0027B2F4 28 00 00 00 */ cmplwi r0, 0 -/* 8027E3B8 0027B2F8 41 82 00 18 */ beq lbl_8027E3D0 -/* 8027E3BC 0027B2FC 38 00 00 00 */ li r0, 0 -/* 8027E3C0 0027B300 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 8027E3C4 0027B304 48 00 00 21 */ bl setNearestBridge__Q34Game5Armor3ObjFv -/* 8027E3C8 0027B308 7F E3 FB 78 */ mr r3, r31 -/* 8027E3CC 0027B30C 48 00 02 D9 */ bl setCullingCheck__Q34Game5Armor3ObjFv -lbl_8027E3D0: -/* 8027E3D0 0027B310 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027E3D4 0027B314 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027E3D8 0027B318 7C 08 03 A6 */ mtlr r0 -/* 8027E3DC 0027B31C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027E3E0 0027B320 4E 80 00 20 */ blr - -.global setNearestBridge__Q34Game5Armor3ObjFv -setNearestBridge__Q34Game5Armor3ObjFv: -/* 8027E3E4 0027B324 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8027E3E8 0027B328 7C 08 02 A6 */ mflr r0 -/* 8027E3EC 0027B32C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8027E3F0 0027B330 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8027E3F4 0027B334 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8027E3F8 0027B338 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8027E3FC 0027B33C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8027E400 0027B340 7C 7F 1B 78 */ mr r31, r3 -/* 8027E404 0027B344 38 00 00 00 */ li r0, 0 -/* 8027E408 0027B348 90 03 02 D8 */ stw r0, 0x2d8(r3) -/* 8027E40C 0027B34C C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027E410 0027B350 D0 03 02 DC */ stfs f0, 0x2dc(r3) -/* 8027E414 0027B354 D0 03 02 E0 */ stfs f0, 0x2e0(r3) -/* 8027E418 0027B358 80 6D 94 B8 */ lwz r3, mgr__Q24Game10ItemBridge@sda21(r13) -/* 8027E41C 0027B35C 28 03 00 00 */ cmplwi r3, 0 -/* 8027E420 0027B360 41 82 02 14 */ beq lbl_8027E634 -/* 8027E424 0027B364 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8027E428 0027B368 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 8027E42C 0027B36C EF E0 00 32 */ fmuls f31, f0, f0 -/* 8027E430 0027B370 41 82 00 08 */ beq lbl_8027E438 -/* 8027E434 0027B374 38 63 00 30 */ addi r3, r3, 0x30 -lbl_8027E438: -/* 8027E438 0027B378 38 00 00 00 */ li r0, 0 -/* 8027E43C 0027B37C 3C 80 80 4B */ lis r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@ha -/* 8027E440 0027B380 38 84 05 60 */ addi r4, r4, __vt__26Iterator$$0Q24Game8BaseItem$$1@l -/* 8027E444 0027B384 90 01 00 20 */ stw r0, 0x20(r1) -/* 8027E448 0027B388 28 00 00 00 */ cmplwi r0, 0 -/* 8027E44C 0027B38C 90 81 00 14 */ stw r4, 0x14(r1) -/* 8027E450 0027B390 90 01 00 18 */ stw r0, 0x18(r1) -/* 8027E454 0027B394 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8027E458 0027B398 40 82 00 1C */ bne lbl_8027E474 -/* 8027E45C 0027B39C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E460 0027B3A0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027E464 0027B3A4 7D 89 03 A6 */ mtctr r12 -/* 8027E468 0027B3A8 4E 80 04 21 */ bctrl -/* 8027E46C 0027B3AC 90 61 00 18 */ stw r3, 0x18(r1) -/* 8027E470 0027B3B0 48 00 01 A4 */ b lbl_8027E614 -lbl_8027E474: -/* 8027E474 0027B3B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E478 0027B3B8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8027E47C 0027B3BC 7D 89 03 A6 */ mtctr r12 -/* 8027E480 0027B3C0 4E 80 04 21 */ bctrl -/* 8027E484 0027B3C4 90 61 00 18 */ stw r3, 0x18(r1) -/* 8027E488 0027B3C8 48 00 00 58 */ b lbl_8027E4E0 -lbl_8027E48C: -/* 8027E48C 0027B3CC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8027E490 0027B3D0 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8027E494 0027B3D4 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E498 0027B3D8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027E49C 0027B3DC 7D 89 03 A6 */ mtctr r12 -/* 8027E4A0 0027B3E0 4E 80 04 21 */ bctrl -/* 8027E4A4 0027B3E4 7C 64 1B 78 */ mr r4, r3 -/* 8027E4A8 0027B3E8 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8027E4AC 0027B3EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E4B0 0027B3F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027E4B4 0027B3F4 7D 89 03 A6 */ mtctr r12 -/* 8027E4B8 0027B3F8 4E 80 04 21 */ bctrl -/* 8027E4BC 0027B3FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E4C0 0027B400 40 82 01 54 */ bne lbl_8027E614 -/* 8027E4C4 0027B404 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8027E4C8 0027B408 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8027E4CC 0027B40C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E4D0 0027B410 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027E4D4 0027B414 7D 89 03 A6 */ mtctr r12 -/* 8027E4D8 0027B418 4E 80 04 21 */ bctrl -/* 8027E4DC 0027B41C 90 61 00 18 */ stw r3, 0x18(r1) -lbl_8027E4E0: -/* 8027E4E0 0027B420 81 81 00 14 */ lwz r12, 0x14(r1) -/* 8027E4E4 0027B424 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027E4E8 0027B428 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027E4EC 0027B42C 7D 89 03 A6 */ mtctr r12 -/* 8027E4F0 0027B430 4E 80 04 21 */ bctrl -/* 8027E4F4 0027B434 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E4F8 0027B438 41 82 FF 94 */ beq lbl_8027E48C -/* 8027E4FC 0027B43C 48 00 01 18 */ b lbl_8027E614 -lbl_8027E500: -/* 8027E500 0027B440 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8027E504 0027B444 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E508 0027B448 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027E50C 0027B44C 7D 89 03 A6 */ mtctr r12 -/* 8027E510 0027B450 4E 80 04 21 */ bctrl -/* 8027E514 0027B454 7C 60 1B 78 */ mr r0, r3 -/* 8027E518 0027B458 38 61 00 08 */ addi r3, r1, 8 -/* 8027E51C 0027B45C 7C 1E 03 78 */ mr r30, r0 -/* 8027E520 0027B460 7F C4 F3 78 */ mr r4, r30 -/* 8027E524 0027B464 4B F7 0A 11 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8027E528 0027B468 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8027E52C 0027B46C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8027E530 0027B470 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8027E534 0027B474 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8027E538 0027B478 C0 01 00 08 */ lfs f0, 8(r1) -/* 8027E53C 0027B47C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8027E540 0027B480 EC 01 00 72 */ fmuls f0, f1, f1 -/* 8027E544 0027B484 EC 02 00 BA */ fmadds f0, f2, f2, f0 -/* 8027E548 0027B488 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8027E54C 0027B48C 40 80 00 0C */ bge lbl_8027E558 -/* 8027E550 0027B490 93 DF 02 D8 */ stw r30, 0x2d8(r31) -/* 8027E554 0027B494 FF E0 00 90 */ fmr f31, f0 -lbl_8027E558: -/* 8027E558 0027B498 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8027E55C 0027B49C 28 00 00 00 */ cmplwi r0, 0 -/* 8027E560 0027B4A0 40 82 00 24 */ bne lbl_8027E584 -/* 8027E564 0027B4A4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8027E568 0027B4A8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8027E56C 0027B4AC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E570 0027B4B0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027E574 0027B4B4 7D 89 03 A6 */ mtctr r12 -/* 8027E578 0027B4B8 4E 80 04 21 */ bctrl -/* 8027E57C 0027B4BC 90 61 00 18 */ stw r3, 0x18(r1) -/* 8027E580 0027B4C0 48 00 00 94 */ b lbl_8027E614 -lbl_8027E584: -/* 8027E584 0027B4C4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8027E588 0027B4C8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8027E58C 0027B4CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E590 0027B4D0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027E594 0027B4D4 7D 89 03 A6 */ mtctr r12 -/* 8027E598 0027B4D8 4E 80 04 21 */ bctrl -/* 8027E59C 0027B4DC 90 61 00 18 */ stw r3, 0x18(r1) -/* 8027E5A0 0027B4E0 48 00 00 58 */ b lbl_8027E5F8 -lbl_8027E5A4: -/* 8027E5A4 0027B4E4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8027E5A8 0027B4E8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8027E5AC 0027B4EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E5B0 0027B4F0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8027E5B4 0027B4F4 7D 89 03 A6 */ mtctr r12 -/* 8027E5B8 0027B4F8 4E 80 04 21 */ bctrl -/* 8027E5BC 0027B4FC 7C 64 1B 78 */ mr r4, r3 -/* 8027E5C0 0027B500 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8027E5C4 0027B504 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E5C8 0027B508 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027E5CC 0027B50C 7D 89 03 A6 */ mtctr r12 -/* 8027E5D0 0027B510 4E 80 04 21 */ bctrl -/* 8027E5D4 0027B514 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E5D8 0027B518 40 82 00 3C */ bne lbl_8027E614 -/* 8027E5DC 0027B51C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8027E5E0 0027B520 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8027E5E4 0027B524 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E5E8 0027B528 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027E5EC 0027B52C 7D 89 03 A6 */ mtctr r12 -/* 8027E5F0 0027B530 4E 80 04 21 */ bctrl -/* 8027E5F4 0027B534 90 61 00 18 */ stw r3, 0x18(r1) -lbl_8027E5F8: -/* 8027E5F8 0027B538 81 81 00 14 */ lwz r12, 0x14(r1) -/* 8027E5FC 0027B53C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027E600 0027B540 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027E604 0027B544 7D 89 03 A6 */ mtctr r12 -/* 8027E608 0027B548 4E 80 04 21 */ bctrl -/* 8027E60C 0027B54C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027E610 0027B550 41 82 FF 94 */ beq lbl_8027E5A4 -lbl_8027E614: -/* 8027E614 0027B554 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8027E618 0027B558 81 83 00 00 */ lwz r12, 0(r3) -/* 8027E61C 0027B55C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8027E620 0027B560 7D 89 03 A6 */ mtctr r12 -/* 8027E624 0027B564 4E 80 04 21 */ bctrl -/* 8027E628 0027B568 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8027E62C 0027B56C 7C 04 18 40 */ cmplw r4, r3 -/* 8027E630 0027B570 40 82 FE D0 */ bne lbl_8027E500 -lbl_8027E634: -/* 8027E634 0027B574 80 7F 02 D8 */ lwz r3, 0x2d8(r31) -/* 8027E638 0027B578 28 03 00 00 */ cmplwi r3, 0 -/* 8027E63C 0027B57C 41 82 00 48 */ beq lbl_8027E684 -/* 8027E640 0027B580 4B F7 09 F1 */ bl getStageWidth__Q34Game10ItemBridge4ItemFv -/* 8027E644 0027B584 C0 02 D1 E4 */ lfs f0, lbl_8051B544@sda21(r2) -/* 8027E648 0027B588 EF E1 00 28 */ fsubs f31, f1, f0 -/* 8027E64C 0027B58C 4B E4 AF 55 */ bl rand -/* 8027E650 0027B590 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027E654 0027B594 3C 00 43 30 */ lis r0, 0x4330 -/* 8027E658 0027B598 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8027E65C 0027B59C C8 62 D2 08 */ lfd f3, lbl_8051B568@sda21(r2) -/* 8027E660 0027B5A0 90 01 00 28 */ stw r0, 0x28(r1) -/* 8027E664 0027B5A4 C0 22 D2 00 */ lfs f1, lbl_8051B560@sda21(r2) -/* 8027E668 0027B5A8 C8 41 00 28 */ lfd f2, 0x28(r1) -/* 8027E66C 0027B5AC C0 02 D2 04 */ lfs f0, lbl_8051B564@sda21(r2) -/* 8027E670 0027B5B0 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8027E674 0027B5B4 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8027E678 0027B5B8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8027E67C 0027B5BC EC 00 0F FC */ fnmsubs f0, f0, f31, f1 -/* 8027E680 0027B5C0 D0 1F 02 DC */ stfs f0, 0x2dc(r31) -lbl_8027E684: -/* 8027E684 0027B5C4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8027E688 0027B5C8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8027E68C 0027B5CC CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8027E690 0027B5D0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8027E694 0027B5D4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8027E698 0027B5D8 7C 08 03 A6 */ mtlr r0 -/* 8027E69C 0027B5DC 38 21 00 50 */ addi r1, r1, 0x50 -/* 8027E6A0 0027B5E0 4E 80 00 20 */ blr - -.global setCullingCheck__Q34Game5Armor3ObjFv -setCullingCheck__Q34Game5Armor3ObjFv: -/* 8027E6A4 0027B5E4 4E 80 00 20 */ blr - -.global checkBreakOrMove__Q34Game5Armor3ObjFv -checkBreakOrMove__Q34Game5Armor3ObjFv: -/* 8027E6A8 0027B5E8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8027E6AC 0027B5EC 7C 08 02 A6 */ mflr r0 -/* 8027E6B0 0027B5F0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8027E6B4 0027B5F4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8027E6B8 0027B5F8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8027E6BC 0027B5FC DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8027E6C0 0027B600 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8027E6C4 0027B604 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8027E6C8 0027B608 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8027E6CC 0027B60C DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8027E6D0 0027B610 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8027E6D4 0027B614 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 8027E6D8 0027B618 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 8027E6DC 0027B61C DB 41 00 40 */ stfd f26, 0x40(r1) -/* 8027E6E0 0027B620 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 -/* 8027E6E4 0027B624 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8027E6E8 0027B628 7C 7F 1B 78 */ mr r31, r3 -/* 8027E6EC 0027B62C 80 83 02 D8 */ lwz r4, 0x2d8(r3) -/* 8027E6F0 0027B630 28 04 00 00 */ cmplwi r4, 0 -/* 8027E6F4 0027B634 41 82 01 20 */ beq lbl_8027E814 -/* 8027E6F8 0027B638 38 61 00 20 */ addi r3, r1, 0x20 -/* 8027E6FC 0027B63C 4B F7 09 3D */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8027E700 0027B640 C3 81 00 20 */ lfs f28, 0x20(r1) -/* 8027E704 0027B644 38 61 00 14 */ addi r3, r1, 0x14 -/* 8027E708 0027B648 C3 A1 00 24 */ lfs f29, 0x24(r1) -/* 8027E70C 0027B64C C3 61 00 28 */ lfs f27, 0x28(r1) -/* 8027E710 0027B650 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 8027E714 0027B654 4B F7 08 21 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8027E718 0027B658 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8027E71C 0027B65C C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8027E720 0027B660 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8027E724 0027B664 EF C2 00 28 */ fsubs f30, f2, f0 -/* 8027E728 0027B668 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 8027E72C 0027B66C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8027E730 0027B670 EF E1 00 28 */ fsubs f31, f1, f0 -/* 8027E734 0027B674 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8027E738 0027B678 EC 3D 07 B2 */ fmuls f1, f29, f30 -/* 8027E73C 0027B67C EF A2 00 28 */ fsubs f29, f2, f0 -/* 8027E740 0027B680 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027E744 0027B684 EC 3C 0F FA */ fmadds f1, f28, f31, f1 -/* 8027E748 0027B688 EC 3B 0F 7A */ fmadds f1, f27, f29, f1 -/* 8027E74C 0027B68C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027E750 0027B690 40 81 00 0C */ ble lbl_8027E75C -/* 8027E754 0027B694 38 60 00 06 */ li r3, 6 -/* 8027E758 0027B698 48 00 00 C0 */ b lbl_8027E818 -lbl_8027E75C: -/* 8027E75C 0027B69C 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 8027E760 0027B6A0 38 61 00 08 */ addi r3, r1, 8 -/* 8027E764 0027B6A4 4B F7 09 79 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8027E768 0027B6A8 C3 61 00 08 */ lfs f27, 8(r1) -/* 8027E76C 0027B6AC C3 81 00 0C */ lfs f28, 0xc(r1) -/* 8027E770 0027B6B0 C3 41 00 10 */ lfs f26, 0x10(r1) -/* 8027E774 0027B6B4 80 7F 02 D8 */ lwz r3, 0x2d8(r31) -/* 8027E778 0027B6B8 4B F7 08 B9 */ bl getStageWidth__Q34Game10ItemBridge4ItemFv -/* 8027E77C 0027B6BC EC 7C 07 B2 */ fmuls f3, f28, f30 -/* 8027E780 0027B6C0 C0 02 D2 04 */ lfs f0, lbl_8051B564@sda21(r2) -/* 8027E784 0027B6C4 C0 42 D1 E4 */ lfs f2, lbl_8051B544@sda21(r2) -/* 8027E788 0027B6C8 EC 80 00 72 */ fmuls f4, f0, f1 -/* 8027E78C 0027B6CC C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027E790 0027B6D0 EC 3B 1F FA */ fmadds f1, f27, f31, f3 -/* 8027E794 0027B6D4 EC 42 20 2A */ fadds f2, f2, f4 -/* 8027E798 0027B6D8 EC 3A 0F 7A */ fmadds f1, f26, f29, f1 -/* 8027E79C 0027B6DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027E7A0 0027B6E0 40 80 00 0C */ bge lbl_8027E7AC -/* 8027E7A4 0027B6E4 D0 5F 02 E0 */ stfs f2, 0x2e0(r31) -/* 8027E7A8 0027B6E8 48 00 00 0C */ b lbl_8027E7B4 -lbl_8027E7AC: -/* 8027E7AC 0027B6EC FC 00 10 50 */ fneg f0, f2 -/* 8027E7B0 0027B6F0 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -lbl_8027E7B4: -/* 8027E7B4 0027B6F4 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027E7B8 0027B6F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027E7BC 0027B6FC 40 81 00 08 */ ble lbl_8027E7C4 -/* 8027E7C0 0027B700 48 00 00 08 */ b lbl_8027E7C8 -lbl_8027E7C4: -/* 8027E7C4 0027B704 FC 20 08 50 */ fneg f1, f1 -lbl_8027E7C8: -/* 8027E7C8 0027B708 FC 01 20 40 */ fcmpo cr0, f1, f4 -/* 8027E7CC 0027B70C 40 81 00 0C */ ble lbl_8027E7D8 -/* 8027E7D0 0027B710 38 60 00 05 */ li r3, 5 -/* 8027E7D4 0027B714 48 00 00 44 */ b lbl_8027E818 -lbl_8027E7D8: -/* 8027E7D8 0027B718 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 8027E7DC 0027B71C 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8027E7E0 0027B720 81 83 00 04 */ lwz r12, 4(r3) -/* 8027E7E4 0027B724 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8027E7E8 0027B728 7D 89 03 A6 */ mtctr r12 -/* 8027E7EC 0027B72C 4E 80 04 21 */ bctrl -/* 8027E7F0 0027B730 C0 02 D2 10 */ lfs f0, lbl_8051B570@sda21(r2) -/* 8027E7F4 0027B734 C0 5F 01 90 */ lfs f2, 0x190(r31) -/* 8027E7F8 0027B738 EC 00 08 2A */ fadds f0, f0, f1 -/* 8027E7FC 0027B73C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8027E800 0027B740 40 81 00 0C */ ble lbl_8027E80C -/* 8027E804 0027B744 38 60 00 07 */ li r3, 7 -/* 8027E808 0027B748 48 00 00 10 */ b lbl_8027E818 -lbl_8027E80C: -/* 8027E80C 0027B74C 38 60 00 05 */ li r3, 5 -/* 8027E810 0027B750 48 00 00 08 */ b lbl_8027E818 -lbl_8027E814: -/* 8027E814 0027B754 38 60 00 06 */ li r3, 6 -lbl_8027E818: -/* 8027E818 0027B758 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8027E81C 0027B75C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8027E820 0027B760 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8027E824 0027B764 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8027E828 0027B768 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8027E82C 0027B76C CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8027E830 0027B770 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8027E834 0027B774 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8027E838 0027B778 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 8027E83C 0027B77C CB 61 00 50 */ lfd f27, 0x50(r1) -/* 8027E840 0027B780 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 -/* 8027E844 0027B784 CB 41 00 40 */ lfd f26, 0x40(r1) -/* 8027E848 0027B788 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8027E84C 0027B78C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8027E850 0027B790 7C 08 03 A6 */ mtlr r0 -/* 8027E854 0027B794 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8027E858 0027B798 4E 80 00 20 */ blr - -.global isBreakBridge__Q34Game5Armor3ObjFv -isBreakBridge__Q34Game5Armor3ObjFv: -/* 8027E85C 0027B79C 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 8027E860 0027B7A0 28 03 00 00 */ cmplwi r3, 0 -/* 8027E864 0027B7A4 41 82 00 18 */ beq lbl_8027E87C -/* 8027E868 0027B7A8 80 03 02 18 */ lwz r0, 0x218(r3) -/* 8027E86C 0027B7AC 2C 00 00 00 */ cmpwi r0, 0 -/* 8027E870 0027B7B0 41 82 00 0C */ beq lbl_8027E87C -/* 8027E874 0027B7B4 38 60 00 01 */ li r3, 1 -/* 8027E878 0027B7B8 4E 80 00 20 */ blr -lbl_8027E87C: -/* 8027E87C 0027B7BC 38 60 00 00 */ li r3, 0 -/* 8027E880 0027B7C0 4E 80 00 20 */ blr - -.global moveBridgeSide__Q34Game5Armor3ObjFv -moveBridgeSide__Q34Game5Armor3ObjFv: -/* 8027E884 0027B7C4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8027E888 0027B7C8 7C 08 02 A6 */ mflr r0 -/* 8027E88C 0027B7CC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8027E890 0027B7D0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8027E894 0027B7D4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8027E898 0027B7D8 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8027E89C 0027B7DC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8027E8A0 0027B7E0 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8027E8A4 0027B7E4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8027E8A8 0027B7E8 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8027E8AC 0027B7EC F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8027E8B0 0027B7F0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8027E8B4 0027B7F4 7C 7F 1B 78 */ mr r31, r3 -/* 8027E8B8 0027B7F8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8027E8BC 0027B7FC 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 8027E8C0 0027B800 4B F7 06 75 */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8027E8C4 0027B804 C3 A1 00 44 */ lfs f29, 0x44(r1) -/* 8027E8C8 0027B808 38 61 00 38 */ addi r3, r1, 0x38 -/* 8027E8CC 0027B80C C3 81 00 4C */ lfs f28, 0x4c(r1) -/* 8027E8D0 0027B810 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 8027E8D4 0027B814 4B F7 08 09 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8027E8D8 0027B818 C3 C1 00 38 */ lfs f30, 0x38(r1) -/* 8027E8DC 0027B81C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027E8E0 0027B820 C3 E1 00 40 */ lfs f31, 0x40(r1) -/* 8027E8E4 0027B824 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 8027E8E8 0027B828 4B F7 07 51 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8027E8EC 0027B82C C0 3F 02 E0 */ lfs f1, 0x2e0(r31) -/* 8027E8F0 0027B830 C0 81 00 34 */ lfs f4, 0x34(r1) -/* 8027E8F4 0027B834 EF FF 00 72 */ fmuls f31, f31, f1 -/* 8027E8F8 0027B838 C0 02 D2 14 */ lfs f0, lbl_8051B574@sda21(r2) -/* 8027E8FC 0027B83C EF DE 00 72 */ fmuls f30, f30, f1 -/* 8027E900 0027B840 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 8027E904 0027B844 EC 84 00 32 */ fmuls f4, f4, f0 -/* 8027E908 0027B848 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8027E90C 0027B84C EF 9C F8 2A */ fadds f28, f28, f31 -/* 8027E910 0027B850 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8027E914 0027B854 EC 63 00 32 */ fmuls f3, f3, f0 -/* 8027E918 0027B858 C0 02 D2 18 */ lfs f0, lbl_8051B578@sda21(r2) -/* 8027E91C 0027B85C EF BD F0 2A */ fadds f29, f29, f30 -/* 8027E920 0027B860 EF 9C 20 2A */ fadds f28, f28, f4 -/* 8027E924 0027B864 EF BD 18 2A */ fadds f29, f29, f3 -/* 8027E928 0027B868 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8027E92C 0027B86C EC 42 E8 28 */ fsubs f2, f2, f29 -/* 8027E930 0027B870 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8027E934 0027B874 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8027E938 0027B878 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027E93C 0027B87C 40 80 00 80 */ bge lbl_8027E9BC -/* 8027E940 0027B880 7F E3 FB 78 */ mr r3, r31 -/* 8027E944 0027B884 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8027E948 0027B888 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027E94C 0027B88C C0 22 D2 1C */ lfs f1, lbl_8051B57C@sda21(r2) -/* 8027E950 0027B890 C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 8027E954 0027B894 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027E958 0027B898 EF C1 00 32 */ fmuls f30, f1, f0 -/* 8027E95C 0027B89C 7D 89 03 A6 */ mtctr r12 -/* 8027E960 0027B8A0 4E 80 04 21 */ bctrl -/* 8027E964 0027B8A4 4B E5 0E B9 */ bl sin -/* 8027E968 0027B8A8 7F E3 FB 78 */ mr r3, r31 -/* 8027E96C 0027B8AC C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8027E970 0027B8B0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027E974 0027B8B4 FF A0 08 18 */ frsp f29, f1 -/* 8027E978 0027B8B8 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8027E97C 0027B8BC C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8027E980 0027B8C0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027E984 0027B8C4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8027E988 0027B8C8 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 8027E98C 0027B8CC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027E990 0027B8D0 7D 89 03 A6 */ mtctr r12 -/* 8027E994 0027B8D4 4E 80 04 21 */ bctrl -/* 8027E998 0027B8D8 4B E5 09 1D */ bl cos -/* 8027E99C 0027B8DC EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8027E9A0 0027B8E0 38 60 00 01 */ li r3, 1 -/* 8027E9A4 0027B8E4 FC 20 08 18 */ frsp f1, f1 -/* 8027E9A8 0027B8E8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8027E9AC 0027B8EC EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8027E9B0 0027B8F0 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8027E9B4 0027B8F4 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8027E9B8 0027B8F8 48 00 01 40 */ b lbl_8027EAF8 -lbl_8027E9BC: -/* 8027E9BC 0027B8FC 7F E4 FB 78 */ mr r4, r31 -/* 8027E9C0 0027B900 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8027E9C4 0027B904 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027E9C8 0027B908 38 61 00 08 */ addi r3, r1, 8 -/* 8027E9CC 0027B90C C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 8027E9D0 0027B910 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027E9D4 0027B914 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 8027E9D8 0027B918 7D 89 03 A6 */ mtctr r12 -/* 8027E9DC 0027B91C 4E 80 04 21 */ bctrl -/* 8027E9E0 0027B920 C0 21 00 08 */ lfs f1, 8(r1) -/* 8027E9E4 0027B924 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8027E9E8 0027B928 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8027E9EC 0027B92C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8027E9F0 0027B930 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8027E9F4 0027B934 EC 5C 00 28 */ fsubs f2, f28, f0 -/* 8027E9F8 0027B938 4B DB 67 11 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8027E9FC 0027B93C 48 19 31 D5 */ bl roundAng__Ff -/* 8027EA00 0027B940 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027EA04 0027B944 FF A0 08 90 */ fmr f29, f1 -/* 8027EA08 0027B948 7F E3 FB 78 */ mr r3, r31 -/* 8027EA0C 0027B94C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EA10 0027B950 7D 89 03 A6 */ mtctr r12 -/* 8027EA14 0027B954 4E 80 04 21 */ bctrl -/* 8027EA18 0027B958 FC 40 08 90 */ fmr f2, f1 -/* 8027EA1C 0027B95C FC 20 E8 90 */ fmr f1, f29 -/* 8027EA20 0027B960 48 19 31 DD */ bl angDist__Fff -/* 8027EA24 0027B964 EF C1 07 B2 */ fmuls f30, f1, f30 -/* 8027EA28 0027B968 C0 02 D2 24 */ lfs f0, lbl_8051B584@sda21(r2) -/* 8027EA2C 0027B96C C0 22 D2 20 */ lfs f1, lbl_8051B580@sda21(r2) -/* 8027EA30 0027B970 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8027EA34 0027B974 FC 40 F2 10 */ fabs f2, f30 -/* 8027EA38 0027B978 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8027EA3C 0027B97C FC 00 10 18 */ frsp f0, f2 -/* 8027EA40 0027B980 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8027EA44 0027B984 40 81 00 1C */ ble lbl_8027EA60 -/* 8027EA48 0027B988 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027EA4C 0027B98C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8027EA50 0027B990 40 81 00 0C */ ble lbl_8027EA5C -/* 8027EA54 0027B994 FF C0 08 90 */ fmr f30, f1 -/* 8027EA58 0027B998 48 00 00 08 */ b lbl_8027EA60 -lbl_8027EA5C: -/* 8027EA5C 0027B99C FF C0 08 50 */ fneg f30, f1 -lbl_8027EA60: -/* 8027EA60 0027B9A0 7F E3 FB 78 */ mr r3, r31 -/* 8027EA64 0027B9A4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027EA68 0027B9A8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EA6C 0027B9AC 7D 89 03 A6 */ mtctr r12 -/* 8027EA70 0027B9B0 4E 80 04 21 */ bctrl -/* 8027EA74 0027B9B4 EC 3E 08 2A */ fadds f1, f30, f1 -/* 8027EA78 0027B9B8 48 19 31 59 */ bl roundAng__Ff -/* 8027EA7C 0027B9BC D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8027EA80 0027B9C0 7F E3 FB 78 */ mr r3, r31 -/* 8027EA84 0027B9C4 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8027EA88 0027B9C8 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8027EA8C 0027B9CC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027EA90 0027B9D0 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8027EA94 0027B9D4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EA98 0027B9D8 C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 8027EA9C 0027B9DC 7D 89 03 A6 */ mtctr r12 -/* 8027EAA0 0027B9E0 4E 80 04 21 */ bctrl -/* 8027EAA4 0027B9E4 4B E5 0D 79 */ bl sin -/* 8027EAA8 0027B9E8 7F E3 FB 78 */ mr r3, r31 -/* 8027EAAC 0027B9EC C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8027EAB0 0027B9F0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027EAB4 0027B9F4 FF A0 08 18 */ frsp f29, f1 -/* 8027EAB8 0027B9F8 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8027EABC 0027B9FC C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8027EAC0 0027BA00 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EAC4 0027BA04 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8027EAC8 0027BA08 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 8027EACC 0027BA0C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8027EAD0 0027BA10 7D 89 03 A6 */ mtctr r12 -/* 8027EAD4 0027BA14 4E 80 04 21 */ bctrl -/* 8027EAD8 0027BA18 4B E5 07 DD */ bl cos -/* 8027EADC 0027BA1C EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8027EAE0 0027BA20 38 60 00 00 */ li r3, 0 -/* 8027EAE4 0027BA24 FC 20 08 18 */ frsp f1, f1 -/* 8027EAE8 0027BA28 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8027EAEC 0027BA2C EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8027EAF0 0027BA30 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8027EAF4 0027BA34 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8027EAF8: -/* 8027EAF8 0027BA38 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8027EAFC 0027BA3C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8027EB00 0027BA40 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8027EB04 0027BA44 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8027EB08 0027BA48 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8027EB0C 0027BA4C CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8027EB10 0027BA50 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8027EB14 0027BA54 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8027EB18 0027BA58 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8027EB1C 0027BA5C 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8027EB20 0027BA60 7C 08 03 A6 */ mtlr r0 -/* 8027EB24 0027BA64 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8027EB28 0027BA68 4E 80 00 20 */ blr - -.global moveBridgeCentre__Q34Game5Armor3ObjFv -moveBridgeCentre__Q34Game5Armor3ObjFv: -/* 8027EB2C 0027BA6C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8027EB30 0027BA70 7C 08 02 A6 */ mflr r0 -/* 8027EB34 0027BA74 90 01 00 94 */ stw r0, 0x94(r1) -/* 8027EB38 0027BA78 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8027EB3C 0027BA7C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8027EB40 0027BA80 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8027EB44 0027BA84 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8027EB48 0027BA88 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8027EB4C 0027BA8C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8027EB50 0027BA90 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 8027EB54 0027BA94 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 8027EB58 0027BA98 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8027EB5C 0027BA9C 7C 7F 1B 78 */ mr r31, r3 -/* 8027EB60 0027BAA0 38 61 00 38 */ addi r3, r1, 0x38 -/* 8027EB64 0027BAA4 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 8027EB68 0027BAA8 4B F7 03 CD */ bl getStartPos__Q34Game10ItemBridge4ItemFv -/* 8027EB6C 0027BAAC C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 8027EB70 0027BAB0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027EB74 0027BAB4 C3 81 00 40 */ lfs f28, 0x40(r1) -/* 8027EB78 0027BAB8 80 9F 02 D8 */ lwz r4, 0x2d8(r31) -/* 8027EB7C 0027BABC 4B F7 05 61 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8027EB80 0027BAC0 C0 22 D2 28 */ lfs f1, lbl_8051B588@sda21(r2) -/* 8027EB84 0027BAC4 C0 1F 02 DC */ lfs f0, 0x2dc(r31) -/* 8027EB88 0027BAC8 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 8027EB8C 0027BACC EC 61 00 32 */ fmuls f3, f1, f0 -/* 8027EB90 0027BAD0 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 8027EB94 0027BAD4 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8027EB98 0027BAD8 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8027EB9C 0027BADC EC A5 00 F2 */ fmuls f5, f5, f3 -/* 8027EBA0 0027BAE0 C0 02 D2 18 */ lfs f0, lbl_8051B578@sda21(r2) -/* 8027EBA4 0027BAE4 EC 84 00 F2 */ fmuls f4, f4, f3 -/* 8027EBA8 0027BAE8 EF 9C 28 2A */ fadds f28, f28, f5 -/* 8027EBAC 0027BAEC EF BD 20 2A */ fadds f29, f29, f4 -/* 8027EBB0 0027BAF0 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8027EBB4 0027BAF4 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 8027EBB8 0027BAF8 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8027EBBC 0027BAFC EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8027EBC0 0027BB00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027EBC4 0027BB04 40 80 00 80 */ bge lbl_8027EC44 -/* 8027EBC8 0027BB08 7F E3 FB 78 */ mr r3, r31 -/* 8027EBCC 0027BB0C 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8027EBD0 0027BB10 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027EBD4 0027BB14 C0 22 D2 1C */ lfs f1, lbl_8051B57C@sda21(r2) -/* 8027EBD8 0027BB18 C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 8027EBDC 0027BB1C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EBE0 0027BB20 EF C1 00 32 */ fmuls f30, f1, f0 -/* 8027EBE4 0027BB24 7D 89 03 A6 */ mtctr r12 -/* 8027EBE8 0027BB28 4E 80 04 21 */ bctrl -/* 8027EBEC 0027BB2C 4B E5 0C 31 */ bl sin -/* 8027EBF0 0027BB30 7F E3 FB 78 */ mr r3, r31 -/* 8027EBF4 0027BB34 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8027EBF8 0027BB38 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027EBFC 0027BB3C FF A0 08 18 */ frsp f29, f1 -/* 8027EC00 0027BB40 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8027EC04 0027BB44 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8027EC08 0027BB48 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EC0C 0027BB4C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8027EC10 0027BB50 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 8027EC14 0027BB54 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027EC18 0027BB58 7D 89 03 A6 */ mtctr r12 -/* 8027EC1C 0027BB5C 4E 80 04 21 */ bctrl -/* 8027EC20 0027BB60 4B E5 06 95 */ bl cos -/* 8027EC24 0027BB64 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8027EC28 0027BB68 38 60 00 01 */ li r3, 1 -/* 8027EC2C 0027BB6C FC 20 08 18 */ frsp f1, f1 -/* 8027EC30 0027BB70 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8027EC34 0027BB74 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8027EC38 0027BB78 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8027EC3C 0027BB7C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8027EC40 0027BB80 48 00 01 40 */ b lbl_8027ED80 -lbl_8027EC44: -/* 8027EC44 0027BB84 7F E4 FB 78 */ mr r4, r31 -/* 8027EC48 0027BB88 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8027EC4C 0027BB8C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027EC50 0027BB90 38 61 00 08 */ addi r3, r1, 8 -/* 8027EC54 0027BB94 C3 E5 03 34 */ lfs f31, 0x334(r5) -/* 8027EC58 0027BB98 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027EC5C 0027BB9C C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 8027EC60 0027BBA0 7D 89 03 A6 */ mtctr r12 -/* 8027EC64 0027BBA4 4E 80 04 21 */ bctrl -/* 8027EC68 0027BBA8 C0 21 00 08 */ lfs f1, 8(r1) -/* 8027EC6C 0027BBAC 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8027EC70 0027BBB0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8027EC74 0027BBB4 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8027EC78 0027BBB8 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8027EC7C 0027BBBC EC 5C 00 28 */ fsubs f2, f28, f0 -/* 8027EC80 0027BBC0 4B DB 64 89 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8027EC84 0027BBC4 48 19 2F 4D */ bl roundAng__Ff -/* 8027EC88 0027BBC8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027EC8C 0027BBCC FF A0 08 90 */ fmr f29, f1 -/* 8027EC90 0027BBD0 7F E3 FB 78 */ mr r3, r31 -/* 8027EC94 0027BBD4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EC98 0027BBD8 7D 89 03 A6 */ mtctr r12 -/* 8027EC9C 0027BBDC 4E 80 04 21 */ bctrl -/* 8027ECA0 0027BBE0 FC 40 08 90 */ fmr f2, f1 -/* 8027ECA4 0027BBE4 FC 20 E8 90 */ fmr f1, f29 -/* 8027ECA8 0027BBE8 48 19 2F 55 */ bl angDist__Fff -/* 8027ECAC 0027BBEC EF C1 07 B2 */ fmuls f30, f1, f30 -/* 8027ECB0 0027BBF0 C0 02 D2 24 */ lfs f0, lbl_8051B584@sda21(r2) -/* 8027ECB4 0027BBF4 C0 22 D2 20 */ lfs f1, lbl_8051B580@sda21(r2) -/* 8027ECB8 0027BBF8 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8027ECBC 0027BBFC FC 40 F2 10 */ fabs f2, f30 -/* 8027ECC0 0027BC00 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8027ECC4 0027BC04 FC 00 10 18 */ frsp f0, f2 -/* 8027ECC8 0027BC08 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8027ECCC 0027BC0C 40 81 00 1C */ ble lbl_8027ECE8 -/* 8027ECD0 0027BC10 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027ECD4 0027BC14 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8027ECD8 0027BC18 40 81 00 0C */ ble lbl_8027ECE4 -/* 8027ECDC 0027BC1C FF C0 08 90 */ fmr f30, f1 -/* 8027ECE0 0027BC20 48 00 00 08 */ b lbl_8027ECE8 -lbl_8027ECE4: -/* 8027ECE4 0027BC24 FF C0 08 50 */ fneg f30, f1 -lbl_8027ECE8: -/* 8027ECE8 0027BC28 7F E3 FB 78 */ mr r3, r31 -/* 8027ECEC 0027BC2C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027ECF0 0027BC30 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027ECF4 0027BC34 7D 89 03 A6 */ mtctr r12 -/* 8027ECF8 0027BC38 4E 80 04 21 */ bctrl -/* 8027ECFC 0027BC3C EC 3E 08 2A */ fadds f1, f30, f1 -/* 8027ED00 0027BC40 48 19 2E D1 */ bl roundAng__Ff -/* 8027ED04 0027BC44 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8027ED08 0027BC48 7F E3 FB 78 */ mr r3, r31 -/* 8027ED0C 0027BC4C C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8027ED10 0027BC50 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 8027ED14 0027BC54 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027ED18 0027BC58 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8027ED1C 0027BC5C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027ED20 0027BC60 C3 C4 02 E4 */ lfs f30, 0x2e4(r4) -/* 8027ED24 0027BC64 7D 89 03 A6 */ mtctr r12 -/* 8027ED28 0027BC68 4E 80 04 21 */ bctrl -/* 8027ED2C 0027BC6C 4B E5 0A F1 */ bl sin -/* 8027ED30 0027BC70 7F E3 FB 78 */ mr r3, r31 -/* 8027ED34 0027BC74 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8027ED38 0027BC78 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027ED3C 0027BC7C FF A0 08 18 */ frsp f29, f1 -/* 8027ED40 0027BC80 C3 FF 01 D8 */ lfs f31, 0x1d8(r31) -/* 8027ED44 0027BC84 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 8027ED48 0027BC88 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027ED4C 0027BC8C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8027ED50 0027BC90 D3 E1 00 18 */ stfs f31, 0x18(r1) -/* 8027ED54 0027BC94 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8027ED58 0027BC98 7D 89 03 A6 */ mtctr r12 -/* 8027ED5C 0027BC9C 4E 80 04 21 */ bctrl -/* 8027ED60 0027BCA0 4B E5 05 55 */ bl cos -/* 8027ED64 0027BCA4 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 8027ED68 0027BCA8 38 60 00 00 */ li r3, 0 -/* 8027ED6C 0027BCAC FC 20 08 18 */ frsp f1, f1 -/* 8027ED70 0027BCB0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8027ED74 0027BCB4 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 8027ED78 0027BCB8 D3 FF 01 D8 */ stfs f31, 0x1d8(r31) -/* 8027ED7C 0027BCBC D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8027ED80: -/* 8027ED80 0027BCC0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8027ED84 0027BCC4 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8027ED88 0027BCC8 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8027ED8C 0027BCCC CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8027ED90 0027BCD0 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8027ED94 0027BCD4 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8027ED98 0027BCD8 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8027ED9C 0027BCDC CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8027EDA0 0027BCE0 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8027EDA4 0027BCE4 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027EDA8 0027BCE8 7C 08 03 A6 */ mtlr r0 -/* 8027EDAC 0027BCEC 38 21 00 90 */ addi r1, r1, 0x90 -/* 8027EDB0 0027BCF0 4E 80 00 20 */ blr - -.global moveBridgeTop__Q34Game5Armor3ObjFv -moveBridgeTop__Q34Game5Armor3ObjFv: -/* 8027EDB4 0027BCF4 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8027EDB8 0027BCF8 7C 08 02 A6 */ mflr r0 -/* 8027EDBC 0027BCFC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8027EDC0 0027BD00 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8027EDC4 0027BD04 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8027EDC8 0027BD08 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8027EDCC 0027BD0C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8027EDD0 0027BD10 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 8027EDD4 0027BD14 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 8027EDD8 0027BD18 DB 81 00 80 */ stfd f28, 0x80(r1) -/* 8027EDDC 0027BD1C F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 8027EDE0 0027BD20 DB 61 00 70 */ stfd f27, 0x70(r1) -/* 8027EDE4 0027BD24 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 -/* 8027EDE8 0027BD28 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8027EDEC 0027BD2C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8027EDF0 0027BD30 7C 7E 1B 78 */ mr r30, r3 -/* 8027EDF4 0027BD34 38 61 00 50 */ addi r3, r1, 0x50 -/* 8027EDF8 0027BD38 80 9E 02 D8 */ lwz r4, 0x2d8(r30) -/* 8027EDFC 0027BD3C 80 A4 02 18 */ lwz r5, 0x218(r4) -/* 8027EE00 0027BD40 3B E5 FF FF */ addi r31, r5, -1 -/* 8027EE04 0027BD44 7F E5 FB 78 */ mr r5, r31 -/* 8027EE08 0027BD48 4B F7 00 45 */ bl getStagePos__Q34Game10ItemBridge4ItemFi -/* 8027EE0C 0027BD4C C3 E1 00 50 */ lfs f31, 0x50(r1) -/* 8027EE10 0027BD50 38 61 00 44 */ addi r3, r1, 0x44 -/* 8027EE14 0027BD54 C3 C1 00 58 */ lfs f30, 0x58(r1) -/* 8027EE18 0027BD58 80 9E 02 D8 */ lwz r4, 0x2d8(r30) -/* 8027EE1C 0027BD5C 4B F7 02 C1 */ bl getBridgeXVec__Q34Game10ItemBridge4ItemFv -/* 8027EE20 0027BD60 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 8027EE24 0027BD64 2C 1F 00 00 */ cmpwi r31, 0 -/* 8027EE28 0027BD68 C0 1E 02 DC */ lfs f0, 0x2dc(r30) -/* 8027EE2C 0027BD6C C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 8027EE30 0027BD70 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8027EE34 0027BD74 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8027EE38 0027BD78 EF FF 08 2A */ fadds f31, f31, f1 -/* 8027EE3C 0027BD7C EF DE 10 2A */ fadds f30, f30, f2 -/* 8027EE40 0027BD80 40 81 00 30 */ ble lbl_8027EE70 -/* 8027EE44 0027BD84 80 9E 02 D8 */ lwz r4, 0x2d8(r30) -/* 8027EE48 0027BD88 38 61 00 38 */ addi r3, r1, 0x38 -/* 8027EE4C 0027BD8C 4B F7 01 ED */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8027EE50 0027BD90 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8027EE54 0027BD94 C0 02 D2 14 */ lfs f0, lbl_8051B574@sda21(r2) -/* 8027EE58 0027BD98 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 8027EE5C 0027BD9C EC 21 00 32 */ fmuls f1, f1, f0 -/* 8027EE60 0027BDA0 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8027EE64 0027BDA4 EF FF 08 2A */ fadds f31, f31, f1 -/* 8027EE68 0027BDA8 EF DE 10 2A */ fadds f30, f30, f2 -/* 8027EE6C 0027BDAC 48 00 00 2C */ b lbl_8027EE98 -lbl_8027EE70: -/* 8027EE70 0027BDB0 80 9E 02 D8 */ lwz r4, 0x2d8(r30) -/* 8027EE74 0027BDB4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8027EE78 0027BDB8 4B F7 01 C1 */ bl getBridgeZVec__Q34Game10ItemBridge4ItemFv -/* 8027EE7C 0027BDBC C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8027EE80 0027BDC0 C0 02 D2 2C */ lfs f0, lbl_8051B58C@sda21(r2) -/* 8027EE84 0027BDC4 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 8027EE88 0027BDC8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8027EE8C 0027BDCC EC 42 00 32 */ fmuls f2, f2, f0 -/* 8027EE90 0027BDD0 EF FF 08 2A */ fadds f31, f31, f1 -/* 8027EE94 0027BDD4 EF DE 10 2A */ fadds f30, f30, f2 -lbl_8027EE98: -/* 8027EE98 0027BDD8 7F C4 F3 78 */ mr r4, r30 -/* 8027EE9C 0027BDDC 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8027EEA0 0027BDE0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027EEA4 0027BDE4 38 61 00 08 */ addi r3, r1, 8 -/* 8027EEA8 0027BDE8 C3 85 03 34 */ lfs f28, 0x334(r5) -/* 8027EEAC 0027BDEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027EEB0 0027BDF0 C3 A5 03 0C */ lfs f29, 0x30c(r5) -/* 8027EEB4 0027BDF4 7D 89 03 A6 */ mtctr r12 -/* 8027EEB8 0027BDF8 4E 80 04 21 */ bctrl -/* 8027EEBC 0027BDFC C0 21 00 08 */ lfs f1, 8(r1) -/* 8027EEC0 0027BE00 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8027EEC4 0027BE04 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8027EEC8 0027BE08 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8027EECC 0027BE0C EC 3F 08 28 */ fsubs f1, f31, f1 -/* 8027EED0 0027BE10 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 8027EED4 0027BE14 4B DB 62 35 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8027EED8 0027BE18 48 19 2C F9 */ bl roundAng__Ff -/* 8027EEDC 0027BE1C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027EEE0 0027BE20 FF 60 08 90 */ fmr f27, f1 -/* 8027EEE4 0027BE24 7F C3 F3 78 */ mr r3, r30 -/* 8027EEE8 0027BE28 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EEEC 0027BE2C 7D 89 03 A6 */ mtctr r12 -/* 8027EEF0 0027BE30 4E 80 04 21 */ bctrl -/* 8027EEF4 0027BE34 FC 40 08 90 */ fmr f2, f1 -/* 8027EEF8 0027BE38 FC 20 D8 90 */ fmr f1, f27 -/* 8027EEFC 0027BE3C 48 19 2D 01 */ bl angDist__Fff -/* 8027EF00 0027BE40 EF A1 07 72 */ fmuls f29, f1, f29 -/* 8027EF04 0027BE44 C0 02 D2 24 */ lfs f0, lbl_8051B584@sda21(r2) -/* 8027EF08 0027BE48 C0 22 D2 20 */ lfs f1, lbl_8051B580@sda21(r2) -/* 8027EF0C 0027BE4C EC 00 07 32 */ fmuls f0, f0, f28 -/* 8027EF10 0027BE50 FC 40 EA 10 */ fabs f2, f29 -/* 8027EF14 0027BE54 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8027EF18 0027BE58 FC 00 10 18 */ frsp f0, f2 -/* 8027EF1C 0027BE5C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8027EF20 0027BE60 40 81 00 1C */ ble lbl_8027EF3C -/* 8027EF24 0027BE64 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027EF28 0027BE68 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8027EF2C 0027BE6C 40 81 00 0C */ ble lbl_8027EF38 -/* 8027EF30 0027BE70 FF A0 08 90 */ fmr f29, f1 -/* 8027EF34 0027BE74 48 00 00 08 */ b lbl_8027EF3C -lbl_8027EF38: -/* 8027EF38 0027BE78 FF A0 08 50 */ fneg f29, f1 -lbl_8027EF3C: -/* 8027EF3C 0027BE7C 7F C3 F3 78 */ mr r3, r30 -/* 8027EF40 0027BE80 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027EF44 0027BE84 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EF48 0027BE88 7D 89 03 A6 */ mtctr r12 -/* 8027EF4C 0027BE8C 4E 80 04 21 */ bctrl -/* 8027EF50 0027BE90 EC 3D 08 2A */ fadds f1, f29, f1 -/* 8027EF54 0027BE94 48 19 2C 7D */ bl roundAng__Ff -/* 8027EF58 0027BE98 D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 8027EF5C 0027BE9C C0 02 D1 E4 */ lfs f0, lbl_8051B544@sda21(r2) -/* 8027EF60 0027BEA0 C0 3E 01 FC */ lfs f1, 0x1fc(r30) -/* 8027EF64 0027BEA4 D0 3E 01 A8 */ stfs f1, 0x1a8(r30) -/* 8027EF68 0027BEA8 C0 3E 01 94 */ lfs f1, 0x194(r30) -/* 8027EF6C 0027BEAC C0 5E 01 8C */ lfs f2, 0x18c(r30) -/* 8027EF70 0027BEB0 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 8027EF74 0027BEB4 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8027EF78 0027BEB8 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8027EF7C 0027BEBC EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8027EF80 0027BEC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027EF84 0027BEC4 40 80 00 1C */ bge lbl_8027EFA0 -/* 8027EF88 0027BEC8 C0 02 D1 E0 */ lfs f0, lbl_8051B540@sda21(r2) -/* 8027EF8C 0027BECC 38 60 00 01 */ li r3, 1 -/* 8027EF90 0027BED0 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8027EF94 0027BED4 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 8027EF98 0027BED8 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 8027EF9C 0027BEDC 48 00 00 F4 */ b lbl_8027F090 -lbl_8027EFA0: -/* 8027EFA0 0027BEE0 C0 02 D2 30 */ lfs f0, lbl_8051B590@sda21(r2) -/* 8027EFA4 0027BEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027EFA8 0027BEE8 40 80 00 78 */ bge lbl_8027F020 -/* 8027EFAC 0027BEEC 7F C3 F3 78 */ mr r3, r30 -/* 8027EFB0 0027BEF0 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 8027EFB4 0027BEF4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027EFB8 0027BEF8 C3 84 02 E4 */ lfs f28, 0x2e4(r4) -/* 8027EFBC 0027BEFC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EFC0 0027BF00 7D 89 03 A6 */ mtctr r12 -/* 8027EFC4 0027BF04 4E 80 04 21 */ bctrl -/* 8027EFC8 0027BF08 4B E5 08 55 */ bl sin -/* 8027EFCC 0027BF0C 7F C3 F3 78 */ mr r3, r30 -/* 8027EFD0 0027BF10 C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8027EFD4 0027BF14 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027EFD8 0027BF18 FF 60 08 18 */ frsp f27, f1 -/* 8027EFDC 0027BF1C C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8027EFE0 0027BF20 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8027EFE4 0027BF24 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027EFE8 0027BF28 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8027EFEC 0027BF2C D3 C1 00 24 */ stfs f30, 0x24(r1) -/* 8027EFF0 0027BF30 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8027EFF4 0027BF34 7D 89 03 A6 */ mtctr r12 -/* 8027EFF8 0027BF38 4E 80 04 21 */ bctrl -/* 8027EFFC 0027BF3C 4B E5 02 B9 */ bl cos -/* 8027F000 0027BF40 EC 1C 06 F2 */ fmuls f0, f28, f27 -/* 8027F004 0027BF44 38 60 00 01 */ li r3, 1 -/* 8027F008 0027BF48 FC 20 08 18 */ frsp f1, f1 -/* 8027F00C 0027BF4C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8027F010 0027BF50 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8027F014 0027BF54 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 8027F018 0027BF58 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 8027F01C 0027BF5C 48 00 00 74 */ b lbl_8027F090 -lbl_8027F020: -/* 8027F020 0027BF60 7F C3 F3 78 */ mr r3, r30 -/* 8027F024 0027BF64 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 8027F028 0027BF68 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027F02C 0027BF6C C3 84 02 E4 */ lfs f28, 0x2e4(r4) -/* 8027F030 0027BF70 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027F034 0027BF74 7D 89 03 A6 */ mtctr r12 -/* 8027F038 0027BF78 4E 80 04 21 */ bctrl -/* 8027F03C 0027BF7C 4B E5 07 E1 */ bl sin -/* 8027F040 0027BF80 7F C3 F3 78 */ mr r3, r30 -/* 8027F044 0027BF84 C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8027F048 0027BF88 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027F04C 0027BF8C FF 60 08 18 */ frsp f27, f1 -/* 8027F050 0027BF90 C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8027F054 0027BF94 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8027F058 0027BF98 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8027F05C 0027BF9C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8027F060 0027BFA0 D3 C1 00 18 */ stfs f30, 0x18(r1) -/* 8027F064 0027BFA4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8027F068 0027BFA8 7D 89 03 A6 */ mtctr r12 -/* 8027F06C 0027BFAC 4E 80 04 21 */ bctrl -/* 8027F070 0027BFB0 4B E5 02 45 */ bl cos -/* 8027F074 0027BFB4 EC 1C 06 F2 */ fmuls f0, f28, f27 -/* 8027F078 0027BFB8 38 60 00 00 */ li r3, 0 -/* 8027F07C 0027BFBC FC 20 08 18 */ frsp f1, f1 -/* 8027F080 0027BFC0 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8027F084 0027BFC4 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8027F088 0027BFC8 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 8027F08C 0027BFCC D0 1E 01 DC */ stfs f0, 0x1dc(r30) -lbl_8027F090: -/* 8027F090 0027BFD0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8027F094 0027BFD4 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8027F098 0027BFD8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8027F09C 0027BFDC CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8027F0A0 0027BFE0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 8027F0A4 0027BFE4 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8027F0A8 0027BFE8 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 8027F0AC 0027BFEC CB 81 00 80 */ lfd f28, 0x80(r1) -/* 8027F0B0 0027BFF0 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 -/* 8027F0B4 0027BFF4 CB 61 00 70 */ lfd f27, 0x70(r1) -/* 8027F0B8 0027BFF8 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8027F0BC 0027BFFC 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8027F0C0 0027C000 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8027F0C4 0027C004 7C 08 03 A6 */ mtlr r0 -/* 8027F0C8 0027C008 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8027F0CC 0027C00C 4E 80 00 20 */ blr - -.global breakTargetBridge__Q34Game5Armor3ObjFv -breakTargetBridge__Q34Game5Armor3ObjFv: -/* 8027F0D0 0027C010 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027F0D4 0027C014 7C 08 02 A6 */ mflr r0 -/* 8027F0D8 0027C018 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 8027F0DC 0027C01C 3C A0 80 4B */ lis r5, __vt__Q24Game19InteractBreakBridge@ha -/* 8027F0E0 0027C020 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027F0E4 0027C024 38 C4 A3 00 */ addi r6, r4, __vt__Q24Game11Interaction@l -/* 8027F0E8 0027C028 38 05 74 9C */ addi r0, r5, __vt__Q24Game19InteractBreakBridge@l -/* 8027F0EC 0027C02C 38 81 00 08 */ addi r4, r1, 8 -/* 8027F0F0 0027C030 80 E3 00 C0 */ lwz r7, 0xc0(r3) -/* 8027F0F4 0027C034 C0 07 08 6C */ lfs f0, 0x86c(r7) -/* 8027F0F8 0027C038 90 C1 00 08 */ stw r6, 8(r1) -/* 8027F0FC 0027C03C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8027F100 0027C040 90 01 00 08 */ stw r0, 8(r1) -/* 8027F104 0027C044 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8027F108 0027C048 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 8027F10C 0027C04C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F110 0027C050 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8027F114 0027C054 7D 89 03 A6 */ mtctr r12 -/* 8027F118 0027C058 4E 80 04 21 */ bctrl -/* 8027F11C 0027C05C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027F120 0027C060 7C 08 03 A6 */ mtlr r0 -/* 8027F124 0027C064 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027F128 0027C068 4E 80 00 20 */ blr - -.global createEffect__Q34Game5Armor3ObjFv -createEffect__Q34Game5Armor3ObjFv: -/* 8027F12C 0027C06C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F130 0027C070 7C 08 02 A6 */ mflr r0 -/* 8027F134 0027C074 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F138 0027C078 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F13C 0027C07C 7C 7F 1B 78 */ mr r31, r3 -/* 8027F140 0027C080 38 60 00 14 */ li r3, 0x14 -/* 8027F144 0027C084 4B DA 4D 61 */ bl __nw__FUl -/* 8027F148 0027C088 28 03 00 00 */ cmplwi r3, 0 -/* 8027F14C 0027C08C 41 82 00 78 */ beq lbl_8027F1C4 -/* 8027F150 0027C090 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8027F154 0027C094 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8027F158 0027C098 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8027F15C 0027C09C 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8027F160 0027C0A0 90 03 00 00 */ stw r0, 0(r3) -/* 8027F164 0027C0A4 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8027F168 0027C0A8 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8027F16C 0027C0AC 3C 80 80 4E */ lis r4, __vt__Q23efx9TChaseMtx@ha -/* 8027F170 0027C0B0 90 03 00 04 */ stw r0, 4(r3) -/* 8027F174 0027C0B4 38 E4 68 A8 */ addi r7, r4, __vt__Q23efx9TChaseMtx@l -/* 8027F178 0027C0B8 3C 80 80 4D */ lis r4, __vt__Q23efx12TYoroiAttack@ha -/* 8027F17C 0027C0BC 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027F180 0027C0C0 90 A3 00 00 */ stw r5, 0(r3) -/* 8027F184 0027C0C4 38 84 85 1C */ addi r4, r4, __vt__Q23efx12TYoroiAttack@l -/* 8027F188 0027C0C8 39 20 00 00 */ li r9, 0 -/* 8027F18C 0027C0CC 39 00 02 B2 */ li r8, 0x2b2 -/* 8027F190 0027C0D0 90 03 00 04 */ stw r0, 4(r3) -/* 8027F194 0027C0D4 38 C7 00 14 */ addi r6, r7, 0x14 -/* 8027F198 0027C0D8 38 A0 01 EC */ li r5, 0x1ec -/* 8027F19C 0027C0DC 38 04 00 14 */ addi r0, r4, 0x14 -/* 8027F1A0 0027C0E0 91 23 00 08 */ stw r9, 8(r3) -/* 8027F1A4 0027C0E4 B1 03 00 0C */ sth r8, 0xc(r3) -/* 8027F1A8 0027C0E8 99 23 00 0E */ stb r9, 0xe(r3) -/* 8027F1AC 0027C0EC 90 E3 00 00 */ stw r7, 0(r3) -/* 8027F1B0 0027C0F0 90 C3 00 04 */ stw r6, 4(r3) -/* 8027F1B4 0027C0F4 91 23 00 10 */ stw r9, 0x10(r3) -/* 8027F1B8 0027C0F8 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8027F1BC 0027C0FC 90 83 00 00 */ stw r4, 0(r3) -/* 8027F1C0 0027C100 90 03 00 04 */ stw r0, 4(r3) -lbl_8027F1C4: -/* 8027F1C4 0027C104 90 7F 02 D4 */ stw r3, 0x2d4(r31) -/* 8027F1C8 0027C108 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F1CC 0027C10C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F1D0 0027C110 7C 08 03 A6 */ mtlr r0 -/* 8027F1D4 0027C114 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F1D8 0027C118 4E 80 00 20 */ blr - -.global setupEffect__Q34Game5Armor3ObjFv -setupEffect__Q34Game5Armor3ObjFv: -/* 8027F1DC 0027C11C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F1E0 0027C120 7C 08 02 A6 */ mflr r0 -/* 8027F1E4 0027C124 38 82 D1 F8 */ addi r4, r2, lbl_8051B558@sda21 -/* 8027F1E8 0027C128 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F1EC 0027C12C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F1F0 0027C130 7C 7F 1B 78 */ mr r31, r3 -/* 8027F1F4 0027C134 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8027F1F8 0027C138 48 1B FD ED */ bl getJoint__Q28SysShape5ModelFPc -/* 8027F1FC 0027C13C 48 1A A6 A5 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027F200 0027C140 80 9F 02 D4 */ lwz r4, 0x2d4(r31) -/* 8027F204 0027C144 90 64 00 10 */ stw r3, 0x10(r4) -/* 8027F208 0027C148 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F20C 0027C14C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F210 0027C150 7C 08 03 A6 */ mtlr r0 -/* 8027F214 0027C154 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F218 0027C158 4E 80 00 20 */ blr - -.global createAttackEffect__Q34Game5Armor3ObjFv -createAttackEffect__Q34Game5Armor3ObjFv: -/* 8027F21C 0027C15C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F220 0027C160 7C 08 02 A6 */ mflr r0 -/* 8027F224 0027C164 38 80 00 00 */ li r4, 0 -/* 8027F228 0027C168 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F22C 0027C16C 80 63 02 D4 */ lwz r3, 0x2d4(r3) -/* 8027F230 0027C170 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F234 0027C174 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027F238 0027C178 7D 89 03 A6 */ mtctr r12 -/* 8027F23C 0027C17C 4E 80 04 21 */ bctrl -/* 8027F240 0027C180 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F244 0027C184 7C 08 03 A6 */ mtlr r0 -/* 8027F248 0027C188 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F24C 0027C18C 4E 80 00 20 */ blr - -.global createAppearEffect__Q34Game5Armor3ObjFv -createAppearEffect__Q34Game5Armor3ObjFv: -/* 8027F250 0027C190 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027F254 0027C194 7C 08 02 A6 */ mflr r0 -/* 8027F258 0027C198 3C 80 80 48 */ lis r4, lbl_80487418@ha -/* 8027F25C 0027C19C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027F260 0027C1A0 38 84 74 18 */ addi r4, r4, lbl_80487418@l -/* 8027F264 0027C1A4 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8027F268 0027C1A8 48 1B FD 7D */ bl getJoint__Q28SysShape5ModelFPc -/* 8027F26C 0027C1AC 48 1A A6 35 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027F270 0027C1B0 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8027F274 0027C1B4 38 C0 00 00 */ li r6, 0 -/* 8027F278 0027C1B8 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8027F27C 0027C1BC 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 8027F280 0027C1C0 90 01 00 08 */ stw r0, 8(r1) -/* 8027F284 0027C1C4 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 8027F288 0027C1C8 3C A0 80 4E */ lis r5, __vt__Q23efx11TSimpleMtx2@ha -/* 8027F28C 0027C1CC 3C 80 80 4D */ lis r4, __vt__Q23efx8TYoroiAp@ha -/* 8027F290 0027C1D0 90 01 00 08 */ stw r0, 8(r1) -/* 8027F294 0027C1D4 38 05 6A 00 */ addi r0, r5, __vt__Q23efx11TSimpleMtx2@l -/* 8027F298 0027C1D8 38 E0 01 EA */ li r7, 0x1ea -/* 8027F29C 0027C1DC 38 A0 01 EB */ li r5, 0x1eb -/* 8027F2A0 0027C1E0 90 01 00 08 */ stw r0, 8(r1) -/* 8027F2A4 0027C1E4 38 04 85 08 */ addi r0, r4, __vt__Q23efx8TYoroiAp@l -/* 8027F2A8 0027C1E8 38 80 00 00 */ li r4, 0 -/* 8027F2AC 0027C1EC 90 61 00 18 */ stw r3, 0x18(r1) -/* 8027F2B0 0027C1F0 38 61 00 08 */ addi r3, r1, 8 -/* 8027F2B4 0027C1F4 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 8027F2B8 0027C1F8 B0 A1 00 0E */ sth r5, 0xe(r1) -/* 8027F2BC 0027C1FC 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8027F2C0 0027C200 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8027F2C4 0027C204 90 01 00 08 */ stw r0, 8(r1) -/* 8027F2C8 0027C208 48 13 00 D1 */ bl create__Q23efx11TSimpleMtx2FPQ23efx3Arg -/* 8027F2CC 0027C20C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027F2D0 0027C210 7C 08 03 A6 */ mtlr r0 -/* 8027F2D4 0027C214 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027F2D8 0027C218 4E 80 00 20 */ blr - -.global createDisAppearEffect__Q34Game5Armor3ObjFv -createDisAppearEffect__Q34Game5Armor3ObjFv: -/* 8027F2DC 0027C21C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027F2E0 0027C220 7C 08 02 A6 */ mflr r0 -/* 8027F2E4 0027C224 3C 80 80 48 */ lis r4, lbl_80487418@ha -/* 8027F2E8 0027C228 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027F2EC 0027C22C 38 84 74 18 */ addi r4, r4, lbl_80487418@l -/* 8027F2F0 0027C230 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8027F2F4 0027C234 48 1B FC F1 */ bl getJoint__Q28SysShape5ModelFPc -/* 8027F2F8 0027C238 48 1A A5 A9 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027F2FC 0027C23C 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8027F300 0027C240 38 C0 00 00 */ li r6, 0 -/* 8027F304 0027C244 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8027F308 0027C248 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 8027F30C 0027C24C 90 01 00 08 */ stw r0, 8(r1) -/* 8027F310 0027C250 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 8027F314 0027C254 3C A0 80 4E */ lis r5, __vt__Q23efx11TSimpleMtx2@ha -/* 8027F318 0027C258 3C 80 80 4D */ lis r4, __vt__Q23efx8TYoroiHd@ha -/* 8027F31C 0027C25C 90 01 00 08 */ stw r0, 8(r1) -/* 8027F320 0027C260 38 05 6A 00 */ addi r0, r5, __vt__Q23efx11TSimpleMtx2@l -/* 8027F324 0027C264 38 E0 01 EE */ li r7, 0x1ee -/* 8027F328 0027C268 38 A0 01 EF */ li r5, 0x1ef -/* 8027F32C 0027C26C 90 01 00 08 */ stw r0, 8(r1) -/* 8027F330 0027C270 38 04 84 F4 */ addi r0, r4, __vt__Q23efx8TYoroiHd@l -/* 8027F334 0027C274 38 80 00 00 */ li r4, 0 -/* 8027F338 0027C278 90 61 00 18 */ stw r3, 0x18(r1) -/* 8027F33C 0027C27C 38 61 00 08 */ addi r3, r1, 8 -/* 8027F340 0027C280 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 8027F344 0027C284 B0 A1 00 0E */ sth r5, 0xe(r1) -/* 8027F348 0027C288 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8027F34C 0027C28C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8027F350 0027C290 90 01 00 08 */ stw r0, 8(r1) -/* 8027F354 0027C294 48 13 00 45 */ bl create__Q23efx11TSimpleMtx2FPQ23efx3Arg -/* 8027F358 0027C298 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027F35C 0027C29C 7C 08 03 A6 */ mtlr r0 -/* 8027F360 0027C2A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027F364 0027C2A4 4E 80 00 20 */ blr - -.global createBridgeEffect__Q34Game5Armor3ObjFv -createBridgeEffect__Q34Game5Armor3ObjFv: -/* 8027F368 0027C2A8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8027F36C 0027C2AC 7C 08 02 A6 */ mflr r0 -/* 8027F370 0027C2B0 38 82 D1 F8 */ addi r4, r2, lbl_8051B558@sda21 -/* 8027F374 0027C2B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8027F378 0027C2B8 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8027F37C 0027C2BC 48 1B FC 69 */ bl getJoint__Q28SysShape5ModelFPc -/* 8027F380 0027C2C0 48 1A A5 21 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027F384 0027C2C4 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8027F388 0027C2C8 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8027F38C 0027C2CC C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8027F390 0027C2D0 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 8027F394 0027C2D4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8027F398 0027C2D8 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 8027F39C 0027C2DC 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 8027F3A0 0027C2E0 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 8027F3A4 0027C2E4 90 81 00 08 */ stw r4, 8(r1) -/* 8027F3A8 0027C2E8 3C 60 80 4D */ lis r3, __vt__Q23efx9TYoroiEat@ha -/* 8027F3AC 0027C2EC 38 85 A7 EC */ addi r4, r5, __vt__Q23efx3Arg@l -/* 8027F3B0 0027C2F0 38 C0 02 5F */ li r6, 0x25f -/* 8027F3B4 0027C2F4 38 A0 00 00 */ li r5, 0 -/* 8027F3B8 0027C2F8 90 01 00 08 */ stw r0, 8(r1) -/* 8027F3BC 0027C2FC 38 03 84 E0 */ addi r0, r3, __vt__Q23efx9TYoroiEat@l -/* 8027F3C0 0027C300 38 61 00 08 */ addi r3, r1, 8 -/* 8027F3C4 0027C304 90 81 00 14 */ stw r4, 0x14(r1) -/* 8027F3C8 0027C308 38 81 00 14 */ addi r4, r1, 0x14 -/* 8027F3CC 0027C30C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8027F3D0 0027C310 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8027F3D4 0027C314 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8027F3D8 0027C318 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8027F3DC 0027C31C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8027F3E0 0027C320 90 01 00 08 */ stw r0, 8(r1) -/* 8027F3E4 0027C324 48 12 FB A1 */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 8027F3E8 0027C328 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027F3EC 0027C32C 7C 08 03 A6 */ mtlr r0 -/* 8027F3F0 0027C330 38 21 00 30 */ addi r1, r1, 0x30 -/* 8027F3F4 0027C334 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game5Armor3ObjFv -effectDrawOn__Q34Game5Armor3ObjFv: -/* 8027F3F8 0027C338 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F3FC 0027C33C 7C 08 02 A6 */ mflr r0 -/* 8027F400 0027C340 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F404 0027C344 80 63 02 D4 */ lwz r3, 0x2d4(r3) -/* 8027F408 0027C348 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F40C 0027C34C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8027F410 0027C350 7D 89 03 A6 */ mtctr r12 -/* 8027F414 0027C354 4E 80 04 21 */ bctrl -/* 8027F418 0027C358 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F41C 0027C35C 7C 08 03 A6 */ mtlr r0 -/* 8027F420 0027C360 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F424 0027C364 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game5Armor3ObjFv -effectDrawOff__Q34Game5Armor3ObjFv: -/* 8027F428 0027C368 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F42C 0027C36C 7C 08 02 A6 */ mflr r0 -/* 8027F430 0027C370 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F434 0027C374 80 63 02 D4 */ lwz r3, 0x2d4(r3) -/* 8027F438 0027C378 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F43C 0027C37C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8027F440 0027C380 7D 89 03 A6 */ mtctr r12 -/* 8027F444 0027C384 4E 80 04 21 */ bctrl -/* 8027F448 0027C388 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F44C 0027C38C 7C 08 03 A6 */ mtlr r0 -/* 8027F450 0027C390 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F454 0027C394 4E 80 00 20 */ blr - -.global __dt__Q23efx12TYoroiAttackFv -__dt__Q23efx12TYoroiAttackFv: -/* 8027F458 0027C398 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F45C 0027C39C 7C 08 02 A6 */ mflr r0 -/* 8027F460 0027C3A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F464 0027C3A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F468 0027C3A8 7C 9F 23 78 */ mr r31, r4 -/* 8027F46C 0027C3AC 93 C1 00 08 */ stw r30, 8(r1) -/* 8027F470 0027C3B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027F474 0027C3B4 41 82 00 64 */ beq lbl_8027F4D8 -/* 8027F478 0027C3B8 3C 60 80 4D */ lis r3, __vt__Q23efx12TYoroiAttack@ha -/* 8027F47C 0027C3BC 38 63 85 1C */ addi r3, r3, __vt__Q23efx12TYoroiAttack@l -/* 8027F480 0027C3C0 90 7E 00 00 */ stw r3, 0(r30) -/* 8027F484 0027C3C4 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027F488 0027C3C8 90 1E 00 04 */ stw r0, 4(r30) -/* 8027F48C 0027C3CC 41 82 00 3C */ beq lbl_8027F4C8 -/* 8027F490 0027C3D0 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 8027F494 0027C3D4 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 8027F498 0027C3D8 90 7E 00 00 */ stw r3, 0(r30) -/* 8027F49C 0027C3DC 38 03 00 14 */ addi r0, r3, 0x14 -/* 8027F4A0 0027C3E0 90 1E 00 04 */ stw r0, 4(r30) -/* 8027F4A4 0027C3E4 41 82 00 24 */ beq lbl_8027F4C8 -/* 8027F4A8 0027C3E8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8027F4AC 0027C3EC 38 7E 00 04 */ addi r3, r30, 4 -/* 8027F4B0 0027C3F0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8027F4B4 0027C3F4 38 80 00 00 */ li r4, 0 -/* 8027F4B8 0027C3F8 90 BE 00 00 */ stw r5, 0(r30) -/* 8027F4BC 0027C3FC 38 05 00 14 */ addi r0, r5, 0x14 -/* 8027F4C0 0027C400 90 1E 00 04 */ stw r0, 4(r30) -/* 8027F4C4 0027C404 4B E1 07 D9 */ bl __dt__18JPAEmitterCallBackFv -lbl_8027F4C8: -/* 8027F4C8 0027C408 7F E0 07 35 */ extsh. r0, r31 -/* 8027F4CC 0027C40C 40 81 00 0C */ ble lbl_8027F4D8 -/* 8027F4D0 0027C410 7F C3 F3 78 */ mr r3, r30 -/* 8027F4D4 0027C414 4B DA 4B E1 */ bl __dl__FPv -lbl_8027F4D8: -/* 8027F4D8 0027C418 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F4DC 0027C41C 7F C3 F3 78 */ mr r3, r30 -/* 8027F4E0 0027C420 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F4E4 0027C424 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027F4E8 0027C428 7C 08 03 A6 */ mtlr r0 -/* 8027F4EC 0027C42C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F4F0 0027C430 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game5Armor3ObjFv -getDownSmokeScale__Q34Game5Armor3ObjFv: -/* 8027F4F4 0027C434 C0 22 D2 34 */ lfs f1, lbl_8051B594@sda21(r2) -/* 8027F4F8 0027C438 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Armor3ObjFv -getEnemyTypeID__Q34Game5Armor3ObjFv: -/* 8027F4FC 0027C43C 38 60 00 0F */ li r3, 0xf -/* 8027F500 0027C440 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q23efx12TYoroiAttackFv -$$24$$2__dt__Q23efx12TYoroiAttackFv: -/* 8027F504 0027C444 38 63 FF FC */ addi r3, r3, -4 -/* 8027F508 0027C448 4B FF FF 50 */ b __dt__Q23efx12TYoroiAttackFv - -.global __ct__Q34Game3Mar3ObjFv -__ct__Q34Game3Mar3ObjFv: -/* 8027F50C 0027C44C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F510 0027C450 7C 08 02 A6 */ mflr r0 -/* 8027F514 0027C454 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F518 0027C458 7C 80 07 35 */ extsh. r0, r4 -/* 8027F51C 0027C45C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F520 0027C460 7C 7F 1B 78 */ mr r31, r3 -/* 8027F524 0027C464 93 C1 00 08 */ stw r30, 8(r1) -/* 8027F528 0027C468 41 82 00 24 */ beq lbl_8027F54C -/* 8027F52C 0027C46C 38 1F 03 24 */ addi r0, r31, 0x324 -/* 8027F530 0027C470 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8027F534 0027C474 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8027F538 0027C478 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8027F53C 0027C47C 38 00 00 00 */ li r0, 0 -/* 8027F540 0027C480 90 7F 03 24 */ stw r3, 0x324(r31) -/* 8027F544 0027C484 90 1F 03 28 */ stw r0, 0x328(r31) -/* 8027F548 0027C488 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_8027F54C: -/* 8027F54C 0027C48C 7F E3 FB 78 */ mr r3, r31 -/* 8027F550 0027C490 38 80 00 00 */ li r4, 0 -/* 8027F554 0027C494 4B E8 1E 4D */ bl __ct__Q24Game9EnemyBaseFv -/* 8027F558 0027C498 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar3Obj@ha -/* 8027F55C 0027C49C 38 1F 03 24 */ addi r0, r31, 0x324 -/* 8027F560 0027C4A0 38 A3 89 48 */ addi r5, r3, __vt__Q34Game3Mar3Obj@l -/* 8027F564 0027C4A4 38 60 00 2C */ li r3, 0x2c -/* 8027F568 0027C4A8 90 BF 00 00 */ stw r5, 0(r31) -/* 8027F56C 0027C4AC 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8027F570 0027C4B0 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 8027F574 0027C4B4 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8027F578 0027C4B8 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027F57C 0027C4BC 90 A4 00 00 */ stw r5, 0(r4) -/* 8027F580 0027C4C0 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8027F584 0027C4C4 7C 04 00 50 */ subf r0, r4, r0 -/* 8027F588 0027C4C8 90 04 00 0C */ stw r0, 0xc(r4) -/* 8027F58C 0027C4CC 4B DA 49 19 */ bl __nw__FUl -/* 8027F590 0027C4D0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8027F594 0027C4D4 41 82 00 44 */ beq lbl_8027F5D8 -/* 8027F598 0027C4D8 4B EA 83 DD */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8027F59C 0027C4DC 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar14ProperAnimator@ha -/* 8027F5A0 0027C4E0 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8027F5A4 0027C4E4 38 03 8C 78 */ addi r0, r3, __vt__Q34Game3Mar14ProperAnimator@l -/* 8027F5A8 0027C4E8 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8027F5AC 0027C4EC 90 1E 00 00 */ stw r0, 0(r30) -/* 8027F5B0 0027C4F0 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8027F5B4 0027C4F4 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8027F5B8 0027C4F8 38 00 00 00 */ li r0, 0 -/* 8027F5BC 0027C4FC 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8027F5C0 0027C500 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8027F5C4 0027C504 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8027F5C8 0027C508 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8027F5CC 0027C50C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8027F5D0 0027C510 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8027F5D4 0027C514 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8027F5D8: -/* 8027F5D8 0027C518 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8027F5DC 0027C51C 38 60 00 1C */ li r3, 0x1c -/* 8027F5E0 0027C520 4B DA 48 C5 */ bl __nw__FUl -/* 8027F5E4 0027C524 7C 64 1B 79 */ or. r4, r3, r3 -/* 8027F5E8 0027C528 41 82 00 24 */ beq lbl_8027F60C -/* 8027F5EC 0027C52C 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8027F5F0 0027C530 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar3FSM@ha -/* 8027F5F4 0027C534 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8027F5F8 0027C538 38 A0 FF FF */ li r5, -1 -/* 8027F5FC 0027C53C 90 04 00 00 */ stw r0, 0(r4) -/* 8027F600 0027C540 38 03 8F 64 */ addi r0, r3, __vt__Q34Game3Mar3FSM@l -/* 8027F604 0027C544 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8027F608 0027C548 90 04 00 00 */ stw r0, 0(r4) -lbl_8027F60C: -/* 8027F60C 0027C54C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027F610 0027C550 7F E3 FB 78 */ mr r3, r31 -/* 8027F614 0027C554 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8027F618 0027C558 7D 89 03 A6 */ mtctr r12 -/* 8027F61C 0027C55C 4E 80 04 21 */ bctrl -/* 8027F620 0027C560 7F E3 FB 78 */ mr r3, r31 -/* 8027F624 0027C564 48 00 21 CD */ bl createEffect__Q34Game3Mar3ObjFv -/* 8027F628 0027C568 38 60 00 28 */ li r3, 0x28 -/* 8027F62C 0027C56C 4B DA 49 81 */ bl __nwa__FUl -/* 8027F630 0027C570 3C 80 80 16 */ lis r4, __ct__Q23Sys15MatLoopAnimatorFv@ha -/* 8027F634 0027C574 38 A0 00 00 */ li r5, 0 -/* 8027F638 0027C578 38 84 38 EC */ addi r4, r4, __ct__Q23Sys15MatLoopAnimatorFv@l -/* 8027F63C 0027C57C 38 C0 00 0C */ li r6, 0xc -/* 8027F640 0027C580 38 E0 00 02 */ li r7, 2 -/* 8027F644 0027C584 4B E4 23 AD */ bl __construct_new_array -/* 8027F648 0027C588 90 7F 03 20 */ stw r3, 0x320(r31) -/* 8027F64C 0027C58C 7F E3 FB 78 */ mr r3, r31 -/* 8027F650 0027C590 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F654 0027C594 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F658 0027C598 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027F65C 0027C59C 7C 08 03 A6 */ mtlr r0 -/* 8027F660 0027C5A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F664 0027C5A4 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game3Mar3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game3Mar3ObjFPQ24Game21EnemyInitialParamBase: -/* 8027F668 0027C5A8 4E 80 00 20 */ blr - -.global onInit__Q34Game3Mar3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game3Mar3ObjFPQ24Game15CreatureInitArg: -/* 8027F66C 0027C5AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F670 0027C5B0 7C 08 02 A6 */ mflr r0 -/* 8027F674 0027C5B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F678 0027C5B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F67C 0027C5BC 7C 7F 1B 78 */ mr r31, r3 -/* 8027F680 0027C5C0 4B E8 23 D9 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8027F684 0027C5C4 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8027F688 0027C5C8 7F E3 FB 78 */ mr r3, r31 -/* 8027F68C 0027C5CC C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8027F690 0027C5D0 54 00 06 6E */ rlwinm r0, r0, 0, 0x19, 0x17 -/* 8027F694 0027C5D4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8027F698 0027C5D8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8027F69C 0027C5DC 60 00 00 04 */ ori r0, r0, 4 -/* 8027F6A0 0027C5E0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8027F6A4 0027C5E4 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 8027F6A8 0027C5E8 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8027F6AC 0027C5EC 48 00 08 E5 */ bl resetShadowOffset__Q34Game3Mar3ObjFv -/* 8027F6B0 0027C5F0 7F E3 FB 78 */ mr r3, r31 -/* 8027F6B4 0027C5F4 48 00 09 45 */ bl resetShadowRadius__Q34Game3Mar3ObjFv -/* 8027F6B8 0027C5F8 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8027F6BC 0027C5FC 38 00 00 00 */ li r0, 0 -/* 8027F6C0 0027C600 38 82 D2 3C */ addi r4, r2, lbl_8051B59C@sda21 -/* 8027F6C4 0027C604 D0 1F 03 0C */ stfs f0, 0x30c(r31) -/* 8027F6C8 0027C608 98 1F 03 08 */ stb r0, 0x308(r31) -/* 8027F6CC 0027C60C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 8027F6D0 0027C610 48 1B F9 15 */ bl getJoint__Q28SysShape5ModelFPc -/* 8027F6D4 0027C614 48 1A A1 CD */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027F6D8 0027C618 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 8027F6DC 0027C61C 7F E3 FB 78 */ mr r3, r31 -/* 8027F6E0 0027C620 48 00 22 61 */ bl setupEffect__Q34Game3Mar3ObjFv -/* 8027F6E4 0027C624 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8027F6E8 0027C628 7F E4 FB 78 */ mr r4, r31 -/* 8027F6EC 0027C62C 38 A0 00 01 */ li r5, 1 -/* 8027F6F0 0027C630 38 C0 00 00 */ li r6, 0 -/* 8027F6F4 0027C634 D0 1F 03 04 */ stfs f0, 0x304(r31) -/* 8027F6F8 0027C638 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8027F6FC 0027C63C 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F700 0027C640 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8027F704 0027C644 7D 89 03 A6 */ mtctr r12 -/* 8027F708 0027C648 4E 80 04 21 */ bctrl -/* 8027F70C 0027C64C 80 7F 03 20 */ lwz r3, 0x320(r31) -/* 8027F710 0027C650 80 9F 01 80 */ lwz r4, 0x180(r31) -/* 8027F714 0027C654 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F718 0027C658 80 84 00 44 */ lwz r4, 0x44(r4) -/* 8027F71C 0027C65C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027F720 0027C660 7D 89 03 A6 */ mtctr r12 -/* 8027F724 0027C664 4E 80 04 21 */ bctrl -/* 8027F728 0027C668 80 7F 03 20 */ lwz r3, 0x320(r31) -/* 8027F72C 0027C66C 85 83 00 0C */ lwzu r12, 0xc(r3) -/* 8027F730 0027C670 80 9F 01 80 */ lwz r4, 0x180(r31) -/* 8027F734 0027C674 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027F738 0027C678 80 84 00 48 */ lwz r4, 0x48(r4) -/* 8027F73C 0027C67C 7D 89 03 A6 */ mtctr r12 -/* 8027F740 0027C680 4E 80 04 21 */ bctrl -/* 8027F744 0027C684 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F748 0027C688 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F74C 0027C68C 7C 08 03 A6 */ mtlr r0 -/* 8027F750 0027C690 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F754 0027C694 4E 80 00 20 */ blr - -.global onKill__Q34Game3Mar3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game3Mar3ObjFPQ24Game15CreatureKillArg: -/* 8027F758 0027C698 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F75C 0027C69C 7C 08 02 A6 */ mflr r0 -/* 8027F760 0027C6A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F764 0027C6A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F768 0027C6A8 7C 9F 23 78 */ mr r31, r4 -/* 8027F76C 0027C6AC 93 C1 00 08 */ stw r30, 8(r1) -/* 8027F770 0027C6B0 7C 7E 1B 78 */ mr r30, r3 -/* 8027F774 0027C6B4 48 00 23 59 */ bl finishWindEffect__Q34Game3Mar3ObjFv -/* 8027F778 0027C6B8 7F C3 F3 78 */ mr r3, r30 -/* 8027F77C 0027C6BC 7F E4 FB 78 */ mr r4, r31 -/* 8027F780 0027C6C0 4B E8 27 69 */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 8027F784 0027C6C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F788 0027C6C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F78C 0027C6CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027F790 0027C6D0 7C 08 03 A6 */ mtlr r0 -/* 8027F794 0027C6D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F798 0027C6D8 4E 80 00 20 */ blr - -.global doUpdate__Q34Game3Mar3ObjFv -doUpdate__Q34Game3Mar3ObjFv: -/* 8027F79C 0027C6DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F7A0 0027C6E0 7C 08 02 A6 */ mflr r0 -/* 8027F7A4 0027C6E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F7A8 0027C6E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F7AC 0027C6EC 7C 7F 1B 78 */ mr r31, r3 -/* 8027F7B0 0027C6F0 7F E4 FB 78 */ mr r4, r31 -/* 8027F7B4 0027C6F4 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8027F7B8 0027C6F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F7BC 0027C6FC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8027F7C0 0027C700 7D 89 03 A6 */ mtctr r12 -/* 8027F7C4 0027C704 4E 80 04 21 */ bctrl -/* 8027F7C8 0027C708 7F E3 FB 78 */ mr r3, r31 -/* 8027F7CC 0027C70C 48 00 08 69 */ bl updateFallTimer__Q34Game3Mar3ObjFv -/* 8027F7D0 0027C710 7F E3 FB 78 */ mr r3, r31 -/* 8027F7D4 0027C714 48 00 13 95 */ bl updateEmit__Q34Game3Mar3ObjFv -/* 8027F7D8 0027C718 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F7DC 0027C71C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F7E0 0027C720 7C 08 03 A6 */ mtlr r0 -/* 8027F7E4 0027C724 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F7E8 0027C728 4E 80 00 20 */ blr - -.global changeMaterial__Q34Game3Mar3ObjFv -changeMaterial__Q34Game3Mar3ObjFv: -/* 8027F7EC 0027C72C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027F7F0 0027C730 7C 08 02 A6 */ mflr r0 -/* 8027F7F4 0027C734 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027F7F8 0027C738 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027F7FC 0027C73C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027F800 0027C740 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8027F804 0027C744 93 81 00 10 */ stw r28, 0x10(r1) -/* 8027F808 0027C748 7C 7C 1B 78 */ mr r28, r3 -/* 8027F80C 0027C74C 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8027F810 0027C750 83 A3 00 08 */ lwz r29, 8(r3) -/* 8027F814 0027C754 81 9D 00 00 */ lwz r12, 0(r29) -/* 8027F818 0027C758 7F A3 EB 78 */ mr r3, r29 -/* 8027F81C 0027C75C 83 DD 00 04 */ lwz r30, 4(r29) -/* 8027F820 0027C760 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027F824 0027C764 7D 89 03 A6 */ mtctr r12 -/* 8027F828 0027C768 4E 80 04 21 */ bctrl -/* 8027F82C 0027C76C 80 7C 03 20 */ lwz r3, 0x320(r28) -/* 8027F830 0027C770 C0 22 D2 44 */ lfs f1, lbl_8051B5A4@sda21(r2) -/* 8027F834 0027C774 48 1B 4D 19 */ bl animate__Q23Sys15MatBaseAnimatorFf -/* 8027F838 0027C778 80 7C 03 20 */ lwz r3, 0x320(r28) -/* 8027F83C 0027C77C C0 22 D2 44 */ lfs f1, lbl_8051B5A4@sda21(r2) -/* 8027F840 0027C780 38 63 00 0C */ addi r3, r3, 0xc -/* 8027F844 0027C784 48 1B 4D 09 */ bl animate__Q23Sys15MatBaseAnimatorFf -/* 8027F848 0027C788 3C 60 80 51 */ lis r3, j3dSys@ha -/* 8027F84C 0027C78C 3B 80 00 00 */ li r28, 0 -/* 8027F850 0027C790 3B E3 F2 30 */ addi r31, r3, j3dSys@l -/* 8027F854 0027C794 48 00 00 3C */ b lbl_8027F890 -lbl_8027F858: -/* 8027F858 0027C798 80 9D 00 C0 */ lwz r4, 0xc0(r29) -/* 8027F85C 0027C79C 57 83 32 B2 */ rlwinm r3, r28, 6, 0xa, 0x19 -/* 8027F860 0027C7A0 57 80 13 BA */ rlwinm r0, r28, 2, 0xe, 0x1d -/* 8027F864 0027C7A4 7C 84 1A 14 */ add r4, r4, r3 -/* 8027F868 0027C7A8 90 9F 00 3C */ stw r4, 0x3c(r31) -/* 8027F86C 0027C7AC 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 8027F870 0027C7B0 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 8027F874 0027C7B4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8027F878 0027C7B8 80 84 00 34 */ lwz r4, 0x34(r4) -/* 8027F87C 0027C7BC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F880 0027C7C0 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8027F884 0027C7C4 7D 89 03 A6 */ mtctr r12 -/* 8027F888 0027C7C8 4E 80 04 21 */ bctrl -/* 8027F88C 0027C7CC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8027F890: -/* 8027F890 0027C7D0 A0 1E 00 5C */ lhz r0, 0x5c(r30) -/* 8027F894 0027C7D4 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 8027F898 0027C7D8 7C 03 00 40 */ cmplw r3, r0 -/* 8027F89C 0027C7DC 41 80 FF BC */ blt lbl_8027F858 -/* 8027F8A0 0027C7E0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027F8A4 0027C7E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027F8A8 0027C7E8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027F8AC 0027C7EC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8027F8B0 0027C7F0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8027F8B4 0027C7F4 7C 08 03 A6 */ mtlr r0 -/* 8027F8B8 0027C7F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027F8BC 0027C7FC 4E 80 00 20 */ blr - -.global setFSM__Q34Game3Mar3ObjFPQ34Game3Mar3FSM -setFSM__Q34Game3Mar3ObjFPQ34Game3Mar3FSM: -/* 8027F8C0 0027C800 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F8C4 0027C804 7C 08 02 A6 */ mflr r0 -/* 8027F8C8 0027C808 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F8CC 0027C80C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F8D0 0027C810 7C 7F 1B 78 */ mr r31, r3 -/* 8027F8D4 0027C814 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 8027F8D8 0027C818 7F E4 FB 78 */ mr r4, r31 -/* 8027F8DC 0027C81C 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8027F8E0 0027C820 81 83 00 00 */ lwz r12, 0(r3) -/* 8027F8E4 0027C824 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027F8E8 0027C828 7D 89 03 A6 */ mtctr r12 -/* 8027F8EC 0027C82C 4E 80 04 21 */ bctrl -/* 8027F8F0 0027C830 38 00 00 00 */ li r0, 0 -/* 8027F8F4 0027C834 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8027F8F8 0027C838 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F8FC 0027C83C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F900 0027C840 7C 08 03 A6 */ mtlr r0 -/* 8027F904 0027C844 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F908 0027C848 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game3Mar3ObjFR8Graphics -doDirectDraw__Q34Game3Mar3ObjFR8Graphics: -/* 8027F90C 0027C84C 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game3Mar3ObjFR8Graphics -doDebugDraw__Q34Game3Mar3ObjFR8Graphics: -/* 8027F910 0027C850 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F914 0027C854 7C 08 02 A6 */ mflr r0 -/* 8027F918 0027C858 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F91C 0027C85C 4B E8 65 51 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8027F920 0027C860 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F924 0027C864 7C 08 03 A6 */ mtlr r0 -/* 8027F928 0027C868 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F92C 0027C86C 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game3Mar3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game3Mar3ObjFRQ24Game11ShadowParam: -/* 8027F930 0027C870 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027F934 0027C874 7C 08 02 A6 */ mflr r0 -/* 8027F938 0027C878 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027F93C 0027C87C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027F940 0027C880 7C 9F 23 78 */ mr r31, r4 -/* 8027F944 0027C884 38 82 D2 48 */ addi r4, r2, lbl_8051B5A8@sda21 -/* 8027F948 0027C888 93 C1 00 08 */ stw r30, 8(r1) -/* 8027F94C 0027C88C 7C 7E 1B 78 */ mr r30, r3 -/* 8027F950 0027C890 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8027F954 0027C894 48 1B F6 91 */ bl getJoint__Q28SysShape5ModelFPc -/* 8027F958 0027C898 48 1A 9F 49 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027F95C 0027C89C C0 63 00 2C */ lfs f3, 0x2c(r3) -/* 8027F960 0027C8A0 C0 43 00 1C */ lfs f2, 0x1c(r3) -/* 8027F964 0027C8A4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8027F968 0027C8A8 7F C3 F3 78 */ mr r3, r30 -/* 8027F96C 0027C8AC C0 22 D2 38 */ lfs f1, lbl_8051B598@sda21(r2) -/* 8027F970 0027C8B0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8027F974 0027C8B4 C0 02 D2 50 */ lfs f0, lbl_8051B5B0@sda21(r2) -/* 8027F978 0027C8B8 D0 5F 00 04 */ stfs f2, 4(r31) -/* 8027F97C 0027C8BC D0 7F 00 08 */ stfs f3, 8(r31) -/* 8027F980 0027C8C0 C0 7E 01 90 */ lfs f3, 0x190(r30) -/* 8027F984 0027C8C4 C0 5E 02 C8 */ lfs f2, 0x2c8(r30) -/* 8027F988 0027C8C8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8027F98C 0027C8CC D0 5F 00 04 */ stfs f2, 4(r31) -/* 8027F990 0027C8D0 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 8027F994 0027C8D4 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8027F998 0027C8D8 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 8027F99C 0027C8DC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8027F9A0 0027C8E0 81 8C 00 CC */ lwz r12, 0xcc(r12) -/* 8027F9A4 0027C8E4 7D 89 03 A6 */ mtctr r12 -/* 8027F9A8 0027C8E8 4E 80 04 21 */ bctrl -/* 8027F9AC 0027C8EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8027F9B0 0027C8F0 40 82 00 10 */ bne lbl_8027F9C0 -/* 8027F9B4 0027C8F4 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 8027F9B8 0027C8F8 28 00 00 00 */ cmplwi r0, 0 -/* 8027F9BC 0027C8FC 40 82 00 1C */ bne lbl_8027F9D8 -lbl_8027F9C0: -/* 8027F9C0 0027C900 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8027F9C4 0027C904 C0 22 D2 54 */ lfs f1, lbl_8051B5B4@sda21(r2) -/* 8027F9C8 0027C908 C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 8027F9CC 0027C90C EC 01 00 2A */ fadds f0, f1, f0 -/* 8027F9D0 0027C910 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8027F9D4 0027C914 48 00 00 0C */ b lbl_8027F9E0 -lbl_8027F9D8: -/* 8027F9D8 0027C918 C0 02 D2 58 */ lfs f0, lbl_8051B5B8@sda21(r2) -/* 8027F9DC 0027C91C D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_8027F9E0: -/* 8027F9E0 0027C920 C0 1E 02 CC */ lfs f0, 0x2cc(r30) -/* 8027F9E4 0027C924 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8027F9E8 0027C928 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027F9EC 0027C92C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027F9F0 0027C930 83 C1 00 08 */ lwz r30, 8(r1) -/* 8027F9F4 0027C934 7C 08 03 A6 */ mtlr r0 -/* 8027F9F8 0027C938 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027F9FC 0027C93C 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game3Mar3ObjFv -doStartStoneState__Q34Game3Mar3ObjFv: -/* 8027FA00 0027C940 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FA04 0027C944 7C 08 02 A6 */ mflr r0 -/* 8027FA08 0027C948 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FA0C 0027C94C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027FA10 0027C950 7C 7F 1B 78 */ mr r31, r3 -/* 8027FA14 0027C954 4B E8 34 E1 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 8027FA18 0027C958 7F E3 FB 78 */ mr r3, r31 -/* 8027FA1C 0027C95C 48 00 20 B1 */ bl finishWindEffect__Q34Game3Mar3ObjFv -/* 8027FA20 0027C960 7F E3 FB 78 */ mr r3, r31 -/* 8027FA24 0027C964 48 00 05 79 */ bl setShadowOffsetMax__Q34Game3Mar3ObjFv -/* 8027FA28 0027C968 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FA2C 0027C96C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027FA30 0027C970 7C 08 03 A6 */ mtlr r0 -/* 8027FA34 0027C974 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FA38 0027C978 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game3Mar3ObjFv -doFinishStoneState__Q34Game3Mar3ObjFv: -/* 8027FA3C 0027C97C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FA40 0027C980 7C 08 02 A6 */ mflr r0 -/* 8027FA44 0027C984 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FA48 0027C988 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027FA4C 0027C98C 7C 7F 1B 78 */ mr r31, r3 -/* 8027FA50 0027C990 4B E8 34 B9 */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 8027FA54 0027C994 7F E3 FB 78 */ mr r3, r31 -/* 8027FA58 0027C998 4B E8 79 9D */ bl getStateID__Q24Game9EnemyBaseFv -/* 8027FA5C 0027C99C 2C 03 00 01 */ cmpwi r3, 1 -/* 8027FA60 0027C9A0 41 80 00 0C */ blt lbl_8027FA6C -/* 8027FA64 0027C9A4 2C 03 00 06 */ cmpwi r3, 6 -/* 8027FA68 0027C9A8 40 81 00 14 */ ble lbl_8027FA7C -lbl_8027FA6C: -/* 8027FA6C 0027C9AC 2C 03 00 09 */ cmpwi r3, 9 -/* 8027FA70 0027C9B0 41 80 00 2C */ blt lbl_8027FA9C -/* 8027FA74 0027C9B4 2C 03 00 0A */ cmpwi r3, 0xa -/* 8027FA78 0027C9B8 41 81 00 24 */ bgt lbl_8027FA9C -lbl_8027FA7C: -/* 8027FA7C 0027C9BC 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8027FA80 0027C9C0 7F E4 FB 78 */ mr r4, r31 -/* 8027FA84 0027C9C4 38 A0 00 09 */ li r5, 9 -/* 8027FA88 0027C9C8 38 C0 00 00 */ li r6, 0 -/* 8027FA8C 0027C9CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8027FA90 0027C9D0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8027FA94 0027C9D4 7D 89 03 A6 */ mtctr r12 -/* 8027FA98 0027C9D8 4E 80 04 21 */ bctrl -lbl_8027FA9C: -/* 8027FA9C 0027C9DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FAA0 0027C9E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027FAA4 0027C9E4 7C 08 03 A6 */ mtlr r0 -/* 8027FAA8 0027C9E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FAAC 0027C9EC 4E 80 00 20 */ blr - -.global doStartWaitingBirthTypeDrop__Q34Game3Mar3ObjFv -doStartWaitingBirthTypeDrop__Q34Game3Mar3ObjFv: -/* 8027FAB0 0027C9F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FAB4 0027C9F4 7C 08 02 A6 */ mflr r0 -/* 8027FAB8 0027C9F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FABC 0027C9FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027FAC0 0027CA00 7C 7F 1B 78 */ mr r31, r3 -/* 8027FAC4 0027CA04 4B E8 7E D5 */ bl doStartWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8027FAC8 0027CA08 7F E3 FB 78 */ mr r3, r31 -/* 8027FACC 0027CA0C 48 00 21 6D */ bl effectDrawOff__Q34Game3Mar3ObjFv -/* 8027FAD0 0027CA10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FAD4 0027CA14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027FAD8 0027CA18 7C 08 03 A6 */ mtlr r0 -/* 8027FADC 0027CA1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FAE0 0027CA20 4E 80 00 20 */ blr - -.global doFinishWaitingBirthTypeDrop__Q34Game3Mar3ObjFv -doFinishWaitingBirthTypeDrop__Q34Game3Mar3ObjFv: -/* 8027FAE4 0027CA24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FAE8 0027CA28 7C 08 02 A6 */ mflr r0 -/* 8027FAEC 0027CA2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FAF0 0027CA30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027FAF4 0027CA34 7C 7F 1B 78 */ mr r31, r3 -/* 8027FAF8 0027CA38 4B E8 7E D1 */ bl doFinishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8027FAFC 0027CA3C 7F E3 FB 78 */ mr r3, r31 -/* 8027FB00 0027CA40 48 00 20 C1 */ bl effectDrawOn__Q34Game3Mar3ObjFv -/* 8027FB04 0027CA44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FB08 0027CA48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027FB0C 0027CA4C 7C 08 03 A6 */ mtlr r0 -/* 8027FB10 0027CA50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FB14 0027CA54 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game3Mar3ObjFv -doStartMovie__Q34Game3Mar3ObjFv: -/* 8027FB18 0027CA58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FB1C 0027CA5C 7C 08 02 A6 */ mflr r0 -/* 8027FB20 0027CA60 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FB24 0027CA64 48 00 21 15 */ bl effectDrawOff__Q34Game3Mar3ObjFv -/* 8027FB28 0027CA68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FB2C 0027CA6C 7C 08 03 A6 */ mtlr r0 -/* 8027FB30 0027CA70 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FB34 0027CA74 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game3Mar3ObjFv -doEndMovie__Q34Game3Mar3ObjFv: -/* 8027FB38 0027CA78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FB3C 0027CA7C 7C 08 02 A6 */ mflr r0 -/* 8027FB40 0027CA80 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FB44 0027CA84 48 00 20 7D */ bl effectDrawOn__Q34Game3Mar3ObjFv -/* 8027FB48 0027CA88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FB4C 0027CA8C 7C 08 03 A6 */ mtlr r0 -/* 8027FB50 0027CA90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FB54 0027CA94 4E 80 00 20 */ blr - -.global getOffsetForMapCollision__Q34Game3Mar3ObjFv -getOffsetForMapCollision__Q34Game3Mar3ObjFv: -/* 8027FB58 0027CA98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8027FB5C 0027CA9C 7C 08 02 A6 */ mflr r0 -/* 8027FB60 0027CAA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8027FB64 0027CAA4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027FB68 0027CAA8 7C 9F 23 78 */ mr r31, r4 -/* 8027FB6C 0027CAAC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8027FB70 0027CAB0 7C 7E 1B 78 */ mr r30, r3 -/* 8027FB74 0027CAB4 38 61 00 08 */ addi r3, r1, 8 -/* 8027FB78 0027CAB8 48 00 00 D5 */ bl getHeadJointPos__Q34Game3Mar3ObjFv -/* 8027FB7C 0027CABC C0 41 00 08 */ lfs f2, 8(r1) -/* 8027FB80 0027CAC0 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 8027FB84 0027CAC4 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8027FB88 0027CAC8 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8027FB8C 0027CACC EC 42 00 28 */ fsubs f2, f2, f0 -/* 8027FB90 0027CAD0 C0 02 D2 5C */ lfs f0, lbl_8051B5BC@sda21(r2) -/* 8027FB94 0027CAD4 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8027FB98 0027CAD8 D0 5E 00 00 */ stfs f2, 0(r30) -/* 8027FB9C 0027CADC D0 1E 00 04 */ stfs f0, 4(r30) -/* 8027FBA0 0027CAE0 D0 7E 00 08 */ stfs f3, 8(r30) -/* 8027FBA4 0027CAE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027FBA8 0027CAE8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8027FBAC 0027CAEC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8027FBB0 0027CAF0 7C 08 03 A6 */ mtlr r0 -/* 8027FBB4 0027CAF4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8027FBB8 0027CAF8 4E 80 00 20 */ blr - -.global getThrowupItemPosition__Q34Game3Mar3ObjFP10Vector3$$0f$$1 -getThrowupItemPosition__Q34Game3Mar3ObjFP10Vector3$$0f$$1: -/* 8027FBBC 0027CAFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FBC0 0027CB00 7C 08 02 A6 */ mflr r0 -/* 8027FBC4 0027CB04 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FBC8 0027CB08 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8027FBCC 0027CB0C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8027FBD0 0027CB10 41 82 00 0C */ beq lbl_8027FBDC -/* 8027FBD4 0027CB14 4B E8 5D 79 */ bl getThrowupItemPosition__Q24Game9EnemyBaseFP10Vector3$$0f$$1 -/* 8027FBD8 0027CB18 48 00 00 24 */ b lbl_8027FBFC -lbl_8027FBDC: -/* 8027FBDC 0027CB1C C0 42 D2 60 */ lfs f2, lbl_8051B5C0@sda21(r2) -/* 8027FBE0 0027CB20 C0 23 01 90 */ lfs f1, 0x190(r3) -/* 8027FBE4 0027CB24 C0 63 01 94 */ lfs f3, 0x194(r3) -/* 8027FBE8 0027CB28 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8027FBEC 0027CB2C EC 22 08 2A */ fadds f1, f2, f1 -/* 8027FBF0 0027CB30 D0 04 00 00 */ stfs f0, 0(r4) -/* 8027FBF4 0027CB34 D0 24 00 04 */ stfs f1, 4(r4) -/* 8027FBF8 0027CB38 D0 64 00 08 */ stfs f3, 8(r4) -lbl_8027FBFC: -/* 8027FBFC 0027CB3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FC00 0027CB40 7C 08 03 A6 */ mtlr r0 -/* 8027FC04 0027CB44 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FC08 0027CB48 4E 80 00 20 */ blr - -.global getThrowupItemVelocity__Q34Game3Mar3ObjFP10Vector3$$0f$$1 -getThrowupItemVelocity__Q34Game3Mar3ObjFP10Vector3$$0f$$1: -/* 8027FC0C 0027CB4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FC10 0027CB50 7C 08 02 A6 */ mflr r0 -/* 8027FC14 0027CB54 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FC18 0027CB58 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 8027FC1C 0027CB5C 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8027FC20 0027CB60 41 82 00 0C */ beq lbl_8027FC2C -/* 8027FC24 0027CB64 4B E8 5D 7D */ bl getThrowupItemVelocity__Q24Game9EnemyBaseFP10Vector3$$0f$$1 -/* 8027FC28 0027CB68 48 00 00 14 */ b lbl_8027FC3C -lbl_8027FC2C: -/* 8027FC2C 0027CB6C C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8027FC30 0027CB70 D0 04 00 08 */ stfs f0, 8(r4) -/* 8027FC34 0027CB74 D0 04 00 04 */ stfs f0, 4(r4) -/* 8027FC38 0027CB78 D0 04 00 00 */ stfs f0, 0(r4) -lbl_8027FC3C: -/* 8027FC3C 0027CB7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FC40 0027CB80 7C 08 03 A6 */ mtlr r0 -/* 8027FC44 0027CB84 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FC48 0027CB88 4E 80 00 20 */ blr - -.global getHeadJointPos__Q34Game3Mar3ObjFv -getHeadJointPos__Q34Game3Mar3ObjFv: -/* 8027FC4C 0027CB8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8027FC50 0027CB90 7C 08 02 A6 */ mflr r0 -/* 8027FC54 0027CB94 90 01 00 14 */ stw r0, 0x14(r1) -/* 8027FC58 0027CB98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8027FC5C 0027CB9C 7C 7F 1B 78 */ mr r31, r3 -/* 8027FC60 0027CBA0 80 64 01 74 */ lwz r3, 0x174(r4) -/* 8027FC64 0027CBA4 38 82 D2 64 */ addi r4, r2, lbl_8051B5C4@sda21 -/* 8027FC68 0027CBA8 48 1B F3 7D */ bl getJoint__Q28SysShape5ModelFPc -/* 8027FC6C 0027CBAC 48 1A 9C 35 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8027FC70 0027CBB0 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8027FC74 0027CBB4 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8027FC78 0027CBB8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8027FC7C 0027CBBC D0 1F 00 00 */ stfs f0, 0(r31) -/* 8027FC80 0027CBC0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8027FC84 0027CBC4 D0 5F 00 08 */ stfs f2, 8(r31) -/* 8027FC88 0027CBC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FC8C 0027CBCC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8027FC90 0027CBD0 7C 08 03 A6 */ mtlr r0 -/* 8027FC94 0027CBD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8027FC98 0027CBD8 4E 80 00 20 */ blr - -.global setHeightVelocity__Q34Game3Mar3ObjFv -setHeightVelocity__Q34Game3Mar3ObjFv: -/* 8027FC9C 0027CBDC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8027FCA0 0027CBE0 7C 08 02 A6 */ mflr r0 -/* 8027FCA4 0027CBE4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8027FCA8 0027CBE8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8027FCAC 0027CBEC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8027FCB0 0027CBF0 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8027FCB4 0027CBF4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8027FCB8 0027CBF8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8027FCBC 0027CBFC 7C 7F 1B 78 */ mr r31, r3 -/* 8027FCC0 0027CC00 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 8027FCC4 0027CC04 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8027FCC8 0027CC08 81 83 00 04 */ lwz r12, 4(r3) -/* 8027FCCC 0027CC0C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8027FCD0 0027CC10 7D 89 03 A6 */ mtctr r12 -/* 8027FCD4 0027CC14 4E 80 04 21 */ bctrl -/* 8027FCD8 0027CC18 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8027FCDC 0027CC1C FF E0 08 90 */ fmr f31, f1 -/* 8027FCE0 0027CC20 C0 3F 01 90 */ lfs f1, 0x190(r31) -/* 8027FCE4 0027CC24 C3 C3 08 1C */ lfs f30, 0x81c(r3) -/* 8027FCE8 0027CC28 C0 03 09 34 */ lfs f0, 0x934(r3) -/* 8027FCEC 0027CC2C EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8027FCF0 0027CC30 EC 1E 00 28 */ fsubs f0, f30, f0 -/* 8027FCF4 0027CC34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027FCF8 0027CC38 40 81 00 78 */ ble lbl_8027FD70 -/* 8027FCFC 0027CC3C 7F E3 FB 78 */ mr r3, r31 -/* 8027FD00 0027CC40 48 00 04 09 */ bl addPitchRatio__Q34Game3Mar3ObjFv -/* 8027FD04 0027CC44 C0 5F 03 0C */ lfs f2, 0x30c(r31) -/* 8027FD08 0027CC48 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8027FD0C 0027CC4C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8027FD10 0027CC50 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8027FD14 0027CC54 C0 23 09 34 */ lfs f1, 0x934(r3) -/* 8027FD18 0027CC58 40 80 00 30 */ bge lbl_8027FD48 -/* 8027FD1C 0027CC5C C0 02 D2 6C */ lfs f0, lbl_8051B5CC@sda21(r2) -/* 8027FD20 0027CC60 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8027FD24 0027CC64 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8027FD28 0027CC68 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8027FD2C 0027CC6C FC 00 00 1E */ fctiwz f0, f0 -/* 8027FD30 0027CC70 D8 01 00 08 */ stfd f0, 8(r1) -/* 8027FD34 0027CC74 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8027FD38 0027CC78 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027FD3C 0027CC7C 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8027FD40 0027CC80 FC 00 00 50 */ fneg f0, f0 -/* 8027FD44 0027CC84 48 00 00 28 */ b lbl_8027FD6C -lbl_8027FD48: -/* 8027FD48 0027CC88 C0 02 D2 70 */ lfs f0, lbl_8051B5D0@sda21(r2) -/* 8027FD4C 0027CC8C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8027FD50 0027CC90 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8027FD54 0027CC94 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8027FD58 0027CC98 FC 00 00 1E */ fctiwz f0, f0 -/* 8027FD5C 0027CC9C D8 01 00 10 */ stfd f0, 0x10(r1) -/* 8027FD60 0027CCA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8027FD64 0027CCA4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027FD68 0027CCA8 7C 03 04 2E */ lfsx f0, r3, r0 -lbl_8027FD6C: -/* 8027FD6C 0027CCAC EF C1 F0 3A */ fmadds f30, f1, f0, f30 -lbl_8027FD70: -/* 8027FD70 0027CCB0 EC 3F F0 2A */ fadds f1, f31, f30 -/* 8027FD74 0027CCB4 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8027FD78 0027CCB8 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8027FD7C 0027CCBC EC 21 00 28 */ fsubs f1, f1, f0 -/* 8027FD80 0027CCC0 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 8027FD84 0027CCC4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8027FD88 0027CCC8 D0 1F 01 CC */ stfs f0, 0x1cc(r31) -/* 8027FD8C 0027CCCC C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8027FD90 0027CCD0 EC 20 F8 28 */ fsubs f1, f0, f31 -/* 8027FD94 0027CCD4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8027FD98 0027CCD8 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8027FD9C 0027CCDC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8027FDA0 0027CCE0 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8027FDA4 0027CCE4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8027FDA8 0027CCE8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8027FDAC 0027CCEC 7C 08 03 A6 */ mtlr r0 -/* 8027FDB0 0027CCF0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8027FDB4 0027CCF4 4E 80 00 20 */ blr - -.global setRandTarget__Q34Game3Mar3ObjFv -setRandTarget__Q34Game3Mar3ObjFv: -/* 8027FDB8 0027CCF8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8027FDBC 0027CCFC 7C 08 02 A6 */ mflr r0 -/* 8027FDC0 0027CD00 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8027FDC4 0027CD04 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8027FDC8 0027CD08 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8027FDCC 0027CD0C DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8027FDD0 0027CD10 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8027FDD4 0027CD14 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8027FDD8 0027CD18 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8027FDDC 0027CD1C DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8027FDE0 0027CD20 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8027FDE4 0027CD24 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 8027FDE8 0027CD28 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 8027FDEC 0027CD2C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8027FDF0 0027CD30 7C 7F 1B 78 */ mr r31, r3 -/* 8027FDF4 0027CD34 80 63 00 C0 */ lwz r3, 0xc0(r3) -/* 8027FDF8 0027CD38 C0 23 03 5C */ lfs f1, 0x35c(r3) -/* 8027FDFC 0027CD3C C0 03 03 84 */ lfs f0, 0x384(r3) -/* 8027FE00 0027CD40 EF 61 00 28 */ fsubs f27, f1, f0 -/* 8027FE04 0027CD44 4B E4 97 9D */ bl rand -/* 8027FE08 0027CD48 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027FE0C 0027CD4C 3C 00 43 30 */ lis r0, 0x4330 -/* 8027FE10 0027CD50 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8027FE14 0027CD54 7F E4 FB 78 */ mr r4, r31 -/* 8027FE18 0027CD58 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8027FE1C 0027CD5C 38 61 00 08 */ addi r3, r1, 8 -/* 8027FE20 0027CD60 90 01 00 18 */ stw r0, 0x18(r1) -/* 8027FE24 0027CD64 C8 22 D2 80 */ lfd f1, lbl_8051B5E0@sda21(r2) -/* 8027FE28 0027CD68 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8027FE2C 0027CD6C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8027FE30 0027CD70 EC 40 08 28 */ fsubs f2, f0, f1 -/* 8027FE34 0027CD74 C0 22 D2 74 */ lfs f1, lbl_8051B5D4@sda21(r2) -/* 8027FE38 0027CD78 C0 05 03 84 */ lfs f0, 0x384(r5) -/* 8027FE3C 0027CD7C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8027FE40 0027CD80 EC 5B 00 B2 */ fmuls f2, f27, f2 -/* 8027FE44 0027CD84 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8027FE48 0027CD88 EF 80 08 2A */ fadds f28, f0, f1 -/* 8027FE4C 0027CD8C 7D 89 03 A6 */ mtctr r12 -/* 8027FE50 0027CD90 4E 80 04 21 */ bctrl -/* 8027FE54 0027CD94 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 8027FE58 0027CD98 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8027FE5C 0027CD9C C0 21 00 08 */ lfs f1, 8(r1) -/* 8027FE60 0027CDA0 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8027FE64 0027CDA4 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 8027FE68 0027CDA8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8027FE6C 0027CDAC EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8027FE70 0027CDB0 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 8027FE74 0027CDB4 EC 40 E8 28 */ fsubs f2, f0, f29 -/* 8027FE78 0027CDB8 4B DB 52 91 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8027FE7C 0027CDBC FF 60 08 90 */ fmr f27, f1 -/* 8027FE80 0027CDC0 4B E4 97 21 */ bl rand -/* 8027FE84 0027CDC4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8027FE88 0027CDC8 3C 00 43 30 */ lis r0, 0x4330 -/* 8027FE8C 0027CDCC 90 61 00 24 */ stw r3, 0x24(r1) -/* 8027FE90 0027CDD0 C8 42 D2 80 */ lfd f2, lbl_8051B5E0@sda21(r2) -/* 8027FE94 0027CDD4 90 01 00 20 */ stw r0, 0x20(r1) -/* 8027FE98 0027CDD8 C0 62 D2 78 */ lfs f3, lbl_8051B5D8@sda21(r2) -/* 8027FE9C 0027CDDC C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8027FEA0 0027CDE0 C0 22 D2 74 */ lfs f1, lbl_8051B5D4@sda21(r2) -/* 8027FEA4 0027CDE4 EC 80 10 28 */ fsubs f4, f0, f2 -/* 8027FEA8 0027CDE8 C0 42 D2 7C */ lfs f2, lbl_8051B5DC@sda21(r2) -/* 8027FEAC 0027CDEC C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8027FEB0 0027CDF0 EC 63 01 32 */ fmuls f3, f3, f4 -/* 8027FEB4 0027CDF4 EC 23 08 24 */ fdivs f1, f3, f1 -/* 8027FEB8 0027CDF8 EC 3B 08 2A */ fadds f1, f27, f1 -/* 8027FEBC 0027CDFC EC 62 08 2A */ fadds f3, f2, f1 -/* 8027FEC0 0027CE00 FC 20 18 90 */ fmr f1, f3 -/* 8027FEC4 0027CE04 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8027FEC8 0027CE08 40 80 00 08 */ bge lbl_8027FED0 -/* 8027FECC 0027CE0C FC 20 18 50 */ fneg f1, f3 -lbl_8027FED0: -/* 8027FED0 0027CE10 C0 42 D2 70 */ lfs f2, lbl_8051B5D0@sda21(r2) -/* 8027FED4 0027CE14 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8027FED8 0027CE18 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8027FEDC 0027CE1C 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8027FEE0 0027CE20 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8027FEE4 0027CE24 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8027FEE8 0027CE28 FC 00 08 1E */ fctiwz f0, f1 -/* 8027FEEC 0027CE2C D8 01 00 28 */ stfd f0, 0x28(r1) -/* 8027FEF0 0027CE30 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8027FEF4 0027CE34 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027FEF8 0027CE38 7C 64 02 14 */ add r3, r4, r0 -/* 8027FEFC 0027CE3C C0 03 00 04 */ lfs f0, 4(r3) -/* 8027FF00 0027CE40 EC 3C E8 3A */ fmadds f1, f28, f0, f29 -/* 8027FF04 0027CE44 40 80 00 28 */ bge lbl_8027FF2C -/* 8027FF08 0027CE48 C0 02 D2 6C */ lfs f0, lbl_8051B5CC@sda21(r2) -/* 8027FF0C 0027CE4C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8027FF10 0027CE50 FC 00 00 1E */ fctiwz f0, f0 -/* 8027FF14 0027CE54 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 8027FF18 0027CE58 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8027FF1C 0027CE5C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027FF20 0027CE60 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8027FF24 0027CE64 FC 00 00 50 */ fneg f0, f0 -/* 8027FF28 0027CE68 48 00 00 1C */ b lbl_8027FF44 -lbl_8027FF2C: -/* 8027FF2C 0027CE6C EC 03 00 B2 */ fmuls f0, f3, f2 -/* 8027FF30 0027CE70 FC 00 00 1E */ fctiwz f0, f0 -/* 8027FF34 0027CE74 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 8027FF38 0027CE78 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8027FF3C 0027CE7C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8027FF40 0027CE80 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_8027FF44: -/* 8027FF44 0027CE84 EC 1C F8 3A */ fmadds f0, f28, f0, f31 -/* 8027FF48 0027CE88 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 8027FF4C 0027CE8C D3 DF 02 D4 */ stfs f30, 0x2d4(r31) -/* 8027FF50 0027CE90 D0 3F 02 D8 */ stfs f1, 0x2d8(r31) -/* 8027FF54 0027CE94 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8027FF58 0027CE98 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8027FF5C 0027CE9C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8027FF60 0027CEA0 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8027FF64 0027CEA4 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8027FF68 0027CEA8 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8027FF6C 0027CEAC E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8027FF70 0027CEB0 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8027FF74 0027CEB4 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 8027FF78 0027CEB8 CB 61 00 50 */ lfd f27, 0x50(r1) -/* 8027FF7C 0027CEBC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8027FF80 0027CEC0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8027FF84 0027CEC4 7C 08 03 A6 */ mtlr r0 -/* 8027FF88 0027CEC8 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8027FF8C 0027CECC 4E 80 00 20 */ blr - -.global resetShadowOffset__Q34Game3Mar3ObjFv -resetShadowOffset__Q34Game3Mar3ObjFv: -/* 8027FF90 0027CED0 C0 02 D2 5C */ lfs f0, lbl_8051B5BC@sda21(r2) -/* 8027FF94 0027CED4 D0 03 02 C8 */ stfs f0, 0x2c8(r3) -/* 8027FF98 0027CED8 4E 80 00 20 */ blr - -.global setShadowOffsetMax__Q34Game3Mar3ObjFv -setShadowOffsetMax__Q34Game3Mar3ObjFv: -/* 8027FF9C 0027CEDC C0 02 D2 88 */ lfs f0, lbl_8051B5E8@sda21(r2) -/* 8027FFA0 0027CEE0 D0 03 02 C8 */ stfs f0, 0x2c8(r3) -/* 8027FFA4 0027CEE4 4E 80 00 20 */ blr - -.global addShadowOffset__Q34Game3Mar3ObjFv -addShadowOffset__Q34Game3Mar3ObjFv: -/* 8027FFA8 0027CEE8 C0 43 02 C8 */ lfs f2, 0x2c8(r3) -/* 8027FFAC 0027CEEC C0 22 D2 50 */ lfs f1, lbl_8051B5B0@sda21(r2) -/* 8027FFB0 0027CEF0 C0 02 D2 88 */ lfs f0, lbl_8051B5E8@sda21(r2) -/* 8027FFB4 0027CEF4 EC 22 08 2A */ fadds f1, f2, f1 -/* 8027FFB8 0027CEF8 D0 23 02 C8 */ stfs f1, 0x2c8(r3) -/* 8027FFBC 0027CEFC C0 23 02 C8 */ lfs f1, 0x2c8(r3) -/* 8027FFC0 0027CF00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027FFC4 0027CF04 4C 81 00 20 */ blelr -/* 8027FFC8 0027CF08 D0 03 02 C8 */ stfs f0, 0x2c8(r3) -/* 8027FFCC 0027CF0C 4E 80 00 20 */ blr - -.global subShadowOffset__Q34Game3Mar3ObjFv -subShadowOffset__Q34Game3Mar3ObjFv: -/* 8027FFD0 0027CF10 C0 43 02 C8 */ lfs f2, 0x2c8(r3) -/* 8027FFD4 0027CF14 C0 22 D2 50 */ lfs f1, lbl_8051B5B0@sda21(r2) -/* 8027FFD8 0027CF18 C0 02 D2 5C */ lfs f0, lbl_8051B5BC@sda21(r2) -/* 8027FFDC 0027CF1C EC 22 08 28 */ fsubs f1, f2, f1 -/* 8027FFE0 0027CF20 D0 23 02 C8 */ stfs f1, 0x2c8(r3) -/* 8027FFE4 0027CF24 C0 23 02 C8 */ lfs f1, 0x2c8(r3) -/* 8027FFE8 0027CF28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8027FFEC 0027CF2C 4C 80 00 20 */ bgelr -/* 8027FFF0 0027CF30 D0 03 02 C8 */ stfs f0, 0x2c8(r3) -/* 8027FFF4 0027CF34 4E 80 00 20 */ blr - -.global resetShadowRadius__Q34Game3Mar3ObjFv -resetShadowRadius__Q34Game3Mar3ObjFv: -/* 8027FFF8 0027CF38 C0 02 D2 8C */ lfs f0, lbl_8051B5EC@sda21(r2) -/* 8027FFFC 0027CF3C D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 80280000 0027CF40 4E 80 00 20 */ blr - -.global subShadowRadius__Q34Game3Mar3ObjFv -subShadowRadius__Q34Game3Mar3ObjFv: -/* 80280004 0027CF44 C0 43 02 CC */ lfs f2, 0x2cc(r3) -/* 80280008 0027CF48 C0 22 D2 50 */ lfs f1, lbl_8051B5B0@sda21(r2) -/* 8028000C 0027CF4C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80280010 0027CF50 4C 81 00 20 */ blelr -/* 80280014 0027CF54 C0 02 D2 90 */ lfs f0, lbl_8051B5F0@sda21(r2) -/* 80280018 0027CF58 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8028001C 0027CF5C D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 80280020 0027CF60 C0 03 02 CC */ lfs f0, 0x2cc(r3) -/* 80280024 0027CF64 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80280028 0027CF68 4C 80 00 20 */ bgelr -/* 8028002C 0027CF6C D0 23 02 CC */ stfs f1, 0x2cc(r3) -/* 80280030 0027CF70 4E 80 00 20 */ blr - -.global updateFallTimer__Q34Game3Mar3ObjFv -updateFallTimer__Q34Game3Mar3ObjFv: -/* 80280034 0027CF74 80 03 01 F4 */ lwz r0, 0x1f4(r3) -/* 80280038 0027CF78 2C 00 00 00 */ cmpwi r0, 0 -/* 8028003C 0027CF7C 41 82 00 1C */ beq lbl_80280058 -/* 80280040 0027CF80 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 80280044 0027CF84 C0 23 02 C4 */ lfs f1, 0x2c4(r3) -/* 80280048 0027CF88 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 8028004C 0027CF8C EC 01 00 2A */ fadds f0, f1, f0 -/* 80280050 0027CF90 D0 03 02 C4 */ stfs f0, 0x2c4(r3) -/* 80280054 0027CF94 4E 80 00 20 */ blr -lbl_80280058: -/* 80280058 0027CF98 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8028005C 0027CF9C D0 03 02 C4 */ stfs f0, 0x2c4(r3) -/* 80280060 0027CFA0 4E 80 00 20 */ blr - -.global getFlyingNextState__Q34Game3Mar3ObjFv -getFlyingNextState__Q34Game3Mar3ObjFv: -/* 80280064 0027CFA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80280068 0027CFA8 7C 08 02 A6 */ mflr r0 -/* 8028006C 0027CFAC C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 80280070 0027CFB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80280074 0027CFB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80280078 0027CFB8 7C 7F 1B 78 */ mr r31, r3 -/* 8028007C 0027CFBC C0 23 02 00 */ lfs f1, 0x200(r3) -/* 80280080 0027CFC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80280084 0027CFC4 4C 40 13 82 */ cror 2, 0, 2 -/* 80280088 0027CFC8 40 82 00 0C */ bne lbl_80280094 -/* 8028008C 0027CFCC 38 60 00 00 */ li r3, 0 -/* 80280090 0027CFD0 48 00 00 64 */ b lbl_802800F4 -lbl_80280094: -/* 80280094 0027CFD4 38 80 00 03 */ li r4, 3 -/* 80280098 0027CFD8 4B E9 51 1D */ bl getStickPikminColorNum__Q24Game9EnemyFuncFPQ24Game8Creaturei -/* 8028009C 0027CFDC 2C 03 00 00 */ cmpwi r3, 0 -/* 802800A0 0027CFE0 40 81 00 0C */ ble lbl_802800AC -/* 802800A4 0027CFE4 38 60 00 06 */ li r3, 6 -/* 802800A8 0027CFE8 48 00 00 4C */ b lbl_802800F4 -lbl_802800AC: -/* 802800AC 0027CFEC 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 802800B0 0027CFF0 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 802800B4 0027CFF4 C0 04 08 BC */ lfs f0, 0x8bc(r4) -/* 802800B8 0027CFF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802800BC 0027CFFC 41 81 00 14 */ bgt lbl_802800D0 -/* 802800C0 0027D000 80 7F 01 F4 */ lwz r3, 0x1f4(r31) -/* 802800C4 0027D004 80 04 08 E4 */ lwz r0, 0x8e4(r4) -/* 802800C8 0027D008 7C 03 00 00 */ cmpw r3, r0 -/* 802800CC 0027D00C 41 80 00 24 */ blt lbl_802800F0 -lbl_802800D0: -/* 802800D0 0027D010 80 7F 01 F4 */ lwz r3, 0x1f4(r31) -/* 802800D4 0027D014 80 04 08 E4 */ lwz r0, 0x8e4(r4) -/* 802800D8 0027D018 7C 03 00 00 */ cmpw r3, r0 -/* 802800DC 0027D01C 40 80 00 0C */ bge lbl_802800E8 -/* 802800E0 0027D020 38 60 00 0A */ li r3, 0xa -/* 802800E4 0027D024 48 00 00 10 */ b lbl_802800F4 -lbl_802800E8: -/* 802800E8 0027D028 38 60 00 06 */ li r3, 6 -/* 802800EC 0027D02C 48 00 00 08 */ b lbl_802800F4 -lbl_802800F0: -/* 802800F0 0027D030 38 60 FF FF */ li r3, -1 -lbl_802800F4: -/* 802800F4 0027D034 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802800F8 0027D038 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802800FC 0027D03C 7C 08 03 A6 */ mtlr r0 -/* 80280100 0027D040 38 21 00 10 */ addi r1, r1, 0x10 -/* 80280104 0027D044 4E 80 00 20 */ blr - -.global addPitchRatio__Q34Game3Mar3ObjFv -addPitchRatio__Q34Game3Mar3ObjFv: -/* 80280108 0027D048 80 A3 00 C0 */ lwz r5, 0xc0(r3) -/* 8028010C 0027D04C 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 80280110 0027D050 C0 65 09 0C */ lfs f3, 0x90c(r5) -/* 80280114 0027D054 C0 44 00 54 */ lfs f2, 0x54(r4) -/* 80280118 0027D058 C0 23 03 0C */ lfs f1, 0x30c(r3) -/* 8028011C 0027D05C C0 02 D2 94 */ lfs f0, lbl_8051B5F4@sda21(r2) -/* 80280120 0027D060 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 80280124 0027D064 D0 23 03 0C */ stfs f1, 0x30c(r3) -/* 80280128 0027D068 C0 23 03 0C */ lfs f1, 0x30c(r3) -/* 8028012C 0027D06C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80280130 0027D070 4C 81 00 20 */ blelr -/* 80280134 0027D074 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80280138 0027D078 D0 03 03 0C */ stfs f0, 0x30c(r3) -/* 8028013C 0027D07C 4E 80 00 20 */ blr - -.global getSearchedPikmin__Q34Game3Mar3ObjFv -getSearchedPikmin__Q34Game3Mar3ObjFv: -/* 80280140 0027D080 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80280144 0027D084 7C 08 02 A6 */ mflr r0 -/* 80280148 0027D088 90 01 00 94 */ stw r0, 0x94(r1) -/* 8028014C 0027D08C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80280150 0027D090 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80280154 0027D094 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80280158 0027D098 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8028015C 0027D09C DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80280160 0027D0A0 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80280164 0027D0A4 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80280168 0027D0A8 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8028016C 0027D0AC 7C 7F 1B 78 */ mr r31, r3 -/* 80280170 0027D0B0 C3 E2 D2 78 */ lfs f31, lbl_8051B5D8@sda21(r2) -/* 80280174 0027D0B4 80 63 00 C0 */ lwz r3, 0xc0(r3) -/* 80280178 0027D0B8 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 8028017C 0027D0BC C0 03 03 D4 */ lfs f0, 0x3d4(r3) -/* 80280180 0027D0C0 2C 00 00 00 */ cmpwi r0, 0 -/* 80280184 0027D0C4 EF C0 00 32 */ fmuls f30, f0, f0 -/* 80280188 0027D0C8 40 82 00 14 */ bne lbl_8028019C -/* 8028018C 0027D0CC C0 22 D2 98 */ lfs f1, lbl_8051B5F8@sda21(r2) -/* 80280190 0027D0D0 C0 03 04 24 */ lfs f0, 0x424(r3) -/* 80280194 0027D0D4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80280198 0027D0D8 EF FF 00 32 */ fmuls f31, f31, f0 -lbl_8028019C: -/* 8028019C 0027D0DC 38 00 00 00 */ li r0, 0 -/* 802801A0 0027D0E0 80 6D 92 F4 */ lwz r3, pikiMgr__4Game@sda21(r13) -/* 802801A4 0027D0E4 3C 80 80 4B */ lis r4, __vt__22Iterator$$0Q24Game4Piki$$1@ha -/* 802801A8 0027D0E8 90 01 00 50 */ stw r0, 0x50(r1) -/* 802801AC 0027D0EC 38 84 BC 9C */ addi r4, r4, __vt__22Iterator$$0Q24Game4Piki$$1@l -/* 802801B0 0027D0F0 28 00 00 00 */ cmplwi r0, 0 -/* 802801B4 0027D0F4 90 81 00 44 */ stw r4, 0x44(r1) -/* 802801B8 0027D0F8 90 01 00 48 */ stw r0, 0x48(r1) -/* 802801BC 0027D0FC 90 61 00 4C */ stw r3, 0x4c(r1) -/* 802801C0 0027D100 40 82 00 1C */ bne lbl_802801DC -/* 802801C4 0027D104 81 83 00 00 */ lwz r12, 0(r3) -/* 802801C8 0027D108 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802801CC 0027D10C 7D 89 03 A6 */ mtctr r12 -/* 802801D0 0027D110 4E 80 04 21 */ bctrl -/* 802801D4 0027D114 90 61 00 48 */ stw r3, 0x48(r1) -/* 802801D8 0027D118 48 00 02 C0 */ b lbl_80280498 -lbl_802801DC: -/* 802801DC 0027D11C 81 83 00 00 */ lwz r12, 0(r3) -/* 802801E0 0027D120 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802801E4 0027D124 7D 89 03 A6 */ mtctr r12 -/* 802801E8 0027D128 4E 80 04 21 */ bctrl -/* 802801EC 0027D12C 90 61 00 48 */ stw r3, 0x48(r1) -/* 802801F0 0027D130 48 00 00 58 */ b lbl_80280248 -lbl_802801F4: -/* 802801F4 0027D134 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 802801F8 0027D138 80 81 00 48 */ lwz r4, 0x48(r1) -/* 802801FC 0027D13C 81 83 00 00 */ lwz r12, 0(r3) -/* 80280200 0027D140 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80280204 0027D144 7D 89 03 A6 */ mtctr r12 -/* 80280208 0027D148 4E 80 04 21 */ bctrl -/* 8028020C 0027D14C 7C 64 1B 78 */ mr r4, r3 -/* 80280210 0027D150 80 61 00 50 */ lwz r3, 0x50(r1) -/* 80280214 0027D154 81 83 00 00 */ lwz r12, 0(r3) -/* 80280218 0027D158 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028021C 0027D15C 7D 89 03 A6 */ mtctr r12 -/* 80280220 0027D160 4E 80 04 21 */ bctrl -/* 80280224 0027D164 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280228 0027D168 40 82 02 70 */ bne lbl_80280498 -/* 8028022C 0027D16C 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80280230 0027D170 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80280234 0027D174 81 83 00 00 */ lwz r12, 0(r3) -/* 80280238 0027D178 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028023C 0027D17C 7D 89 03 A6 */ mtctr r12 -/* 80280240 0027D180 4E 80 04 21 */ bctrl -/* 80280244 0027D184 90 61 00 48 */ stw r3, 0x48(r1) -lbl_80280248: -/* 80280248 0027D188 81 81 00 44 */ lwz r12, 0x44(r1) -/* 8028024C 0027D18C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80280250 0027D190 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80280254 0027D194 7D 89 03 A6 */ mtctr r12 -/* 80280258 0027D198 4E 80 04 21 */ bctrl -/* 8028025C 0027D19C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280260 0027D1A0 41 82 FF 94 */ beq lbl_802801F4 -/* 80280264 0027D1A4 48 00 02 34 */ b lbl_80280498 -lbl_80280268: -/* 80280268 0027D1A8 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8028026C 0027D1AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80280270 0027D1B0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80280274 0027D1B4 7D 89 03 A6 */ mtctr r12 -/* 80280278 0027D1B8 4E 80 04 21 */ bctrl -/* 8028027C 0027D1BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80280280 0027D1C0 7C 7E 1B 78 */ mr r30, r3 -/* 80280284 0027D1C4 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80280288 0027D1C8 7D 89 03 A6 */ mtctr r12 -/* 8028028C 0027D1CC 4E 80 04 21 */ bctrl -/* 80280290 0027D1D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280294 0027D1D4 41 82 01 48 */ beq lbl_802803DC -/* 80280298 0027D1D8 7F C3 F3 78 */ mr r3, r30 -/* 8028029C 0027D1DC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802802A0 0027D1E0 81 8C 01 C0 */ lwz r12, 0x1c0(r12) -/* 802802A4 0027D1E4 7D 89 03 A6 */ mtctr r12 -/* 802802A8 0027D1E8 4E 80 04 21 */ bctrl -/* 802802AC 0027D1EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802802B0 0027D1F0 41 82 01 2C */ beq lbl_802803DC -/* 802802B4 0027D1F4 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 802802B8 0027D1F8 28 00 00 00 */ cmplwi r0, 0 -/* 802802BC 0027D1FC 41 82 01 20 */ beq lbl_802803DC -/* 802802C0 0027D200 7F C3 F3 78 */ mr r3, r30 -/* 802802C4 0027D204 4B F1 F2 C5 */ bl isStickToMouth__Q24Game8CreatureFv -/* 802802C8 0027D208 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802802CC 0027D20C 40 82 01 10 */ bne lbl_802803DC -/* 802802D0 0027D210 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 802802D4 0027D214 7C 00 F8 40 */ cmplw r0, r31 -/* 802802D8 0027D218 41 82 01 04 */ beq lbl_802803DC -/* 802802DC 0027D21C 7F C4 F3 78 */ mr r4, r30 -/* 802802E0 0027D220 38 61 00 20 */ addi r3, r1, 0x20 -/* 802802E4 0027D224 81 9E 00 00 */ lwz r12, 0(r30) -/* 802802E8 0027D228 81 8C 00 08 */ lwz r12, 8(r12) -/* 802802EC 0027D22C 7D 89 03 A6 */ mtctr r12 -/* 802802F0 0027D230 4E 80 04 21 */ bctrl -/* 802802F4 0027D234 7F E4 FB 78 */ mr r4, r31 -/* 802802F8 0027D238 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 802802FC 0027D23C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80280300 0027D240 38 61 00 2C */ addi r3, r1, 0x2c -/* 80280304 0027D244 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80280308 0027D248 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8028030C 0027D24C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80280310 0027D250 D0 41 00 08 */ stfs f2, 8(r1) -/* 80280314 0027D254 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80280318 0027D258 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8028031C 0027D25C 7D 89 03 A6 */ mtctr r12 -/* 80280320 0027D260 4E 80 04 21 */ bctrl -/* 80280324 0027D264 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 80280328 0027D268 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8028032C 0027D26C C0 61 00 34 */ lfs f3, 0x34(r1) -/* 80280330 0027D270 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80280334 0027D274 C0 21 00 08 */ lfs f1, 8(r1) -/* 80280338 0027D278 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8028033C 0027D27C C0 81 00 30 */ lfs f4, 0x30(r1) -/* 80280340 0027D280 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80280344 0027D284 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80280348 0027D288 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8028034C 0027D28C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80280350 0027D290 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80280354 0027D294 4B DB 4D B5 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80280358 0027D298 48 19 18 79 */ bl roundAng__Ff -/* 8028035C 0027D29C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80280360 0027D2A0 FF A0 08 90 */ fmr f29, f1 -/* 80280364 0027D2A4 7F E3 FB 78 */ mr r3, r31 -/* 80280368 0027D2A8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028036C 0027D2AC 7D 89 03 A6 */ mtctr r12 -/* 80280370 0027D2B0 4E 80 04 21 */ bctrl -/* 80280374 0027D2B4 FC 40 08 90 */ fmr f2, f1 -/* 80280378 0027D2B8 FC 20 E8 90 */ fmr f1, f29 -/* 8028037C 0027D2BC 48 19 18 81 */ bl angDist__Fff -/* 80280380 0027D2C0 FC 00 0A 10 */ fabs f0, f1 -/* 80280384 0027D2C4 FC 00 00 18 */ frsp f0, f0 -/* 80280388 0027D2C8 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8028038C 0027D2CC 4C 40 13 82 */ cror 2, 0, 2 -/* 80280390 0027D2D0 40 82 00 4C */ bne lbl_802803DC -/* 80280394 0027D2D4 7F C4 F3 78 */ mr r4, r30 -/* 80280398 0027D2D8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028039C 0027D2DC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802803A0 0027D2E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802803A4 0027D2E4 7D 89 03 A6 */ mtctr r12 -/* 802803A8 0027D2E8 4E 80 04 21 */ bctrl -/* 802803AC 0027D2EC C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 802803B0 0027D2F0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802803B4 0027D2F4 C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 802803B8 0027D2F8 EC 21 00 28 */ fsubs f1, f1, f0 -/* 802803BC 0027D2FC C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802803C0 0027D300 EC 42 00 28 */ fsubs f2, f2, f0 -/* 802803C4 0027D304 EC 01 00 72 */ fmuls f0, f1, f1 -/* 802803C8 0027D308 EC 02 00 BA */ fmadds f0, f2, f2, f0 -/* 802803CC 0027D30C FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 802803D0 0027D310 40 80 00 0C */ bge lbl_802803DC -/* 802803D4 0027D314 7F C3 F3 78 */ mr r3, r30 -/* 802803D8 0027D318 48 00 00 E4 */ b lbl_802804BC -lbl_802803DC: -/* 802803DC 0027D31C 80 01 00 50 */ lwz r0, 0x50(r1) -/* 802803E0 0027D320 28 00 00 00 */ cmplwi r0, 0 -/* 802803E4 0027D324 40 82 00 24 */ bne lbl_80280408 -/* 802803E8 0027D328 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 802803EC 0027D32C 80 81 00 48 */ lwz r4, 0x48(r1) -/* 802803F0 0027D330 81 83 00 00 */ lwz r12, 0(r3) -/* 802803F4 0027D334 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802803F8 0027D338 7D 89 03 A6 */ mtctr r12 -/* 802803FC 0027D33C 4E 80 04 21 */ bctrl -/* 80280400 0027D340 90 61 00 48 */ stw r3, 0x48(r1) -/* 80280404 0027D344 48 00 00 94 */ b lbl_80280498 -lbl_80280408: -/* 80280408 0027D348 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8028040C 0027D34C 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80280410 0027D350 81 83 00 00 */ lwz r12, 0(r3) -/* 80280414 0027D354 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80280418 0027D358 7D 89 03 A6 */ mtctr r12 -/* 8028041C 0027D35C 4E 80 04 21 */ bctrl -/* 80280420 0027D360 90 61 00 48 */ stw r3, 0x48(r1) -/* 80280424 0027D364 48 00 00 58 */ b lbl_8028047C -lbl_80280428: -/* 80280428 0027D368 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8028042C 0027D36C 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80280430 0027D370 81 83 00 00 */ lwz r12, 0(r3) -/* 80280434 0027D374 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80280438 0027D378 7D 89 03 A6 */ mtctr r12 -/* 8028043C 0027D37C 4E 80 04 21 */ bctrl -/* 80280440 0027D380 7C 64 1B 78 */ mr r4, r3 -/* 80280444 0027D384 80 61 00 50 */ lwz r3, 0x50(r1) -/* 80280448 0027D388 81 83 00 00 */ lwz r12, 0(r3) -/* 8028044C 0027D38C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80280450 0027D390 7D 89 03 A6 */ mtctr r12 -/* 80280454 0027D394 4E 80 04 21 */ bctrl -/* 80280458 0027D398 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028045C 0027D39C 40 82 00 3C */ bne lbl_80280498 -/* 80280460 0027D3A0 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80280464 0027D3A4 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80280468 0027D3A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028046C 0027D3AC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80280470 0027D3B0 7D 89 03 A6 */ mtctr r12 -/* 80280474 0027D3B4 4E 80 04 21 */ bctrl -/* 80280478 0027D3B8 90 61 00 48 */ stw r3, 0x48(r1) -lbl_8028047C: -/* 8028047C 0027D3BC 81 81 00 44 */ lwz r12, 0x44(r1) -/* 80280480 0027D3C0 38 61 00 44 */ addi r3, r1, 0x44 -/* 80280484 0027D3C4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80280488 0027D3C8 7D 89 03 A6 */ mtctr r12 -/* 8028048C 0027D3CC 4E 80 04 21 */ bctrl -/* 80280490 0027D3D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280494 0027D3D4 41 82 FF 94 */ beq lbl_80280428 -lbl_80280498: -/* 80280498 0027D3D8 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8028049C 0027D3DC 81 83 00 00 */ lwz r12, 0(r3) -/* 802804A0 0027D3E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802804A4 0027D3E4 7D 89 03 A6 */ mtctr r12 -/* 802804A8 0027D3E8 4E 80 04 21 */ bctrl -/* 802804AC 0027D3EC 80 81 00 48 */ lwz r4, 0x48(r1) -/* 802804B0 0027D3F0 7C 04 18 40 */ cmplw r4, r3 -/* 802804B4 0027D3F4 40 82 FD B4 */ bne lbl_80280268 -/* 802804B8 0027D3F8 38 60 00 00 */ li r3, 0 -lbl_802804BC: -/* 802804BC 0027D3FC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 802804C0 0027D400 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 802804C4 0027D404 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 802804C8 0027D408 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 802804CC 0027D40C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 802804D0 0027D410 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 802804D4 0027D414 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 802804D8 0027D418 80 01 00 94 */ lwz r0, 0x94(r1) -/* 802804DC 0027D41C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 802804E0 0027D420 7C 08 03 A6 */ mtlr r0 -/* 802804E4 0027D424 38 21 00 90 */ addi r1, r1, 0x90 -/* 802804E8 0027D428 4E 80 00 20 */ blr - -.global isTargetLost__Q34Game3Mar3ObjFv -isTargetLost__Q34Game3Mar3ObjFv: -/* 802804EC 0027D42C 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 802804F0 0027D430 7C 08 02 A6 */ mflr r0 -/* 802804F4 0027D434 90 01 01 04 */ stw r0, 0x104(r1) -/* 802804F8 0027D438 DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 802804FC 0027D43C F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 80280500 0027D440 DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 80280504 0027D444 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 80280508 0027D448 DB A1 00 D0 */ stfd f29, 0xd0(r1) -/* 8028050C 0027D44C F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0 -/* 80280510 0027D450 DB 81 00 C0 */ stfd f28, 0xc0(r1) -/* 80280514 0027D454 F3 81 00 C8 */ psq_st f28, 200(r1), 0, qr0 -/* 80280518 0027D458 DB 61 00 B0 */ stfd f27, 0xb0(r1) -/* 8028051C 0027D45C F3 61 00 B8 */ psq_st f27, 184(r1), 0, qr0 -/* 80280520 0027D460 DB 41 00 A0 */ stfd f26, 0xa0(r1) -/* 80280524 0027D464 F3 41 00 A8 */ psq_st f26, 168(r1), 0, qr0 -/* 80280528 0027D468 DB 21 00 90 */ stfd f25, 0x90(r1) -/* 8028052C 0027D46C F3 21 00 98 */ psq_st f25, 152(r1), 0, qr0 -/* 80280530 0027D470 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80280534 0027D474 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80280538 0027D478 7C 7E 1B 78 */ mr r30, r3 -/* 8028053C 0027D47C 83 E3 02 30 */ lwz r31, 0x230(r3) -/* 80280540 0027D480 28 1F 00 00 */ cmplwi r31, 0 -/* 80280544 0027D484 41 82 02 44 */ beq lbl_80280788 -/* 80280548 0027D488 7F E3 FB 78 */ mr r3, r31 -/* 8028054C 0027D48C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80280550 0027D490 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80280554 0027D494 7D 89 03 A6 */ mtctr r12 -/* 80280558 0027D498 4E 80 04 21 */ bctrl -/* 8028055C 0027D49C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280560 0027D4A0 41 82 02 28 */ beq lbl_80280788 -/* 80280564 0027D4A4 7F E3 FB 78 */ mr r3, r31 -/* 80280568 0027D4A8 4B F1 F0 21 */ bl isStickToMouth__Q24Game8CreatureFv -/* 8028056C 0027D4AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280570 0027D4B0 40 82 02 18 */ bne lbl_80280788 -/* 80280574 0027D4B4 80 1F 00 F4 */ lwz r0, 0xf4(r31) -/* 80280578 0027D4B8 7C 00 F0 40 */ cmplw r0, r30 -/* 8028057C 0027D4BC 41 82 02 0C */ beq lbl_80280788 -/* 80280580 0027D4C0 80 1E 01 F4 */ lwz r0, 0x1f4(r30) -/* 80280584 0027D4C4 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 80280588 0027D4C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8028058C 0027D4CC C3 A5 04 24 */ lfs f29, 0x424(r5) -/* 80280590 0027D4D0 41 82 00 08 */ beq lbl_80280598 -/* 80280594 0027D4D4 C3 A2 D2 9C */ lfs f29, lbl_8051B5FC@sda21(r2) -lbl_80280598: -/* 80280598 0027D4D8 7F E4 FB 78 */ mr r4, r31 -/* 8028059C 0027D4DC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802805A0 0027D4E0 81 9F 00 00 */ lwz r12, 0(r31) -/* 802805A4 0027D4E4 C3 C5 03 D4 */ lfs f30, 0x3d4(r5) -/* 802805A8 0027D4E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802805AC 0027D4EC C3 E5 03 AC */ lfs f31, 0x3ac(r5) -/* 802805B0 0027D4F0 7D 89 03 A6 */ mtctr r12 -/* 802805B4 0027D4F4 4E 80 04 21 */ bctrl -/* 802805B8 0027D4F8 7F C4 F3 78 */ mr r4, r30 -/* 802805BC 0027D4FC C0 41 00 20 */ lfs f2, 0x20(r1) -/* 802805C0 0027D500 81 9E 00 00 */ lwz r12, 0(r30) -/* 802805C4 0027D504 38 61 00 2C */ addi r3, r1, 0x2c -/* 802805C8 0027D508 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802805CC 0027D50C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802805D0 0027D510 81 8C 00 08 */ lwz r12, 8(r12) -/* 802805D4 0027D514 D0 41 00 08 */ stfs f2, 8(r1) -/* 802805D8 0027D518 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802805DC 0027D51C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802805E0 0027D520 7D 89 03 A6 */ mtctr r12 -/* 802805E4 0027D524 4E 80 04 21 */ bctrl -/* 802805E8 0027D528 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 802805EC 0027D52C 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802805F0 0027D530 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 802805F4 0027D534 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 802805F8 0027D538 C0 21 00 08 */ lfs f1, 8(r1) -/* 802805FC 0027D53C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80280600 0027D540 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 80280604 0027D544 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80280608 0027D548 EC 40 18 28 */ fsubs f2, f0, f3 -/* 8028060C 0027D54C D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80280610 0027D550 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80280614 0027D554 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80280618 0027D558 4B DB 4A F1 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8028061C 0027D55C 48 19 15 B5 */ bl roundAng__Ff -/* 80280620 0027D560 81 9E 00 00 */ lwz r12, 0(r30) -/* 80280624 0027D564 FF 20 08 90 */ fmr f25, f1 -/* 80280628 0027D568 7F C3 F3 78 */ mr r3, r30 -/* 8028062C 0027D56C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80280630 0027D570 7D 89 03 A6 */ mtctr r12 -/* 80280634 0027D574 4E 80 04 21 */ bctrl -/* 80280638 0027D578 FC 40 08 90 */ fmr f2, f1 -/* 8028063C 0027D57C FC 20 C8 90 */ fmr f1, f25 -/* 80280640 0027D580 48 19 15 BD */ bl angDist__Fff -/* 80280644 0027D584 7F C4 F3 78 */ mr r4, r30 -/* 80280648 0027D588 FF 60 08 90 */ fmr f27, f1 -/* 8028064C 0027D58C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80280650 0027D590 38 61 00 44 */ addi r3, r1, 0x44 -/* 80280654 0027D594 81 8C 00 08 */ lwz r12, 8(r12) -/* 80280658 0027D598 7D 89 03 A6 */ mtctr r12 -/* 8028065C 0027D59C 4E 80 04 21 */ bctrl -/* 80280660 0027D5A0 7F E4 FB 78 */ mr r4, r31 -/* 80280664 0027D5A4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80280668 0027D5A8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028066C 0027D5AC C3 81 00 44 */ lfs f28, 0x44(r1) -/* 80280670 0027D5B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80280674 0027D5B4 7D 89 03 A6 */ mtctr r12 -/* 80280678 0027D5B8 4E 80 04 21 */ bctrl -/* 8028067C 0027D5BC 7F C4 F3 78 */ mr r4, r30 -/* 80280680 0027D5C0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80280684 0027D5C4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80280688 0027D5C8 38 61 00 5C */ addi r3, r1, 0x5c -/* 8028068C 0027D5CC EF 20 E0 28 */ fsubs f25, f0, f28 -/* 80280690 0027D5D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80280694 0027D5D4 7D 89 03 A6 */ mtctr r12 -/* 80280698 0027D5D8 4E 80 04 21 */ bctrl -/* 8028069C 0027D5DC 7F E4 FB 78 */ mr r4, r31 -/* 802806A0 0027D5E0 38 61 00 50 */ addi r3, r1, 0x50 -/* 802806A4 0027D5E4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802806A8 0027D5E8 C3 81 00 60 */ lfs f28, 0x60(r1) -/* 802806AC 0027D5EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802806B0 0027D5F0 7D 89 03 A6 */ mtctr r12 -/* 802806B4 0027D5F4 4E 80 04 21 */ bctrl -/* 802806B8 0027D5F8 7F C4 F3 78 */ mr r4, r30 -/* 802806BC 0027D5FC C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802806C0 0027D600 81 9E 00 00 */ lwz r12, 0(r30) -/* 802806C4 0027D604 38 61 00 74 */ addi r3, r1, 0x74 -/* 802806C8 0027D608 EF 40 E0 28 */ fsubs f26, f0, f28 -/* 802806CC 0027D60C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802806D0 0027D610 7D 89 03 A6 */ mtctr r12 -/* 802806D4 0027D614 4E 80 04 21 */ bctrl -/* 802806D8 0027D618 7F E4 FB 78 */ mr r4, r31 -/* 802806DC 0027D61C 38 61 00 68 */ addi r3, r1, 0x68 -/* 802806E0 0027D620 81 9F 00 00 */ lwz r12, 0(r31) -/* 802806E4 0027D624 C3 81 00 7C */ lfs f28, 0x7c(r1) -/* 802806E8 0027D628 81 8C 00 08 */ lwz r12, 8(r12) -/* 802806EC 0027D62C 7D 89 03 A6 */ mtctr r12 -/* 802806F0 0027D630 4E 80 04 21 */ bctrl -/* 802806F4 0027D634 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 802806F8 0027D638 EC 3F 07 F2 */ fmuls f1, f31, f31 -/* 802806FC 0027D63C EC 5E 07 B2 */ fmuls f2, f30, f30 -/* 80280700 0027D640 38 60 00 01 */ li r3, 1 -/* 80280704 0027D644 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80280708 0027D648 38 80 00 00 */ li r4, 0 -/* 8028070C 0027D64C EC 00 00 32 */ fmuls f0, f0, f0 -/* 80280710 0027D650 EC 19 06 7A */ fmadds f0, f25, f25, f0 -/* 80280714 0027D654 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80280718 0027D658 40 81 00 34 */ ble lbl_8028074C -/* 8028071C 0027D65C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80280720 0027D660 7C 80 23 78 */ mr r0, r4 -/* 80280724 0027D664 40 81 00 1C */ ble lbl_80280740 -/* 80280728 0027D668 FC 20 D2 10 */ fabs f1, f26 -/* 8028072C 0027D66C C0 02 D2 A0 */ lfs f0, lbl_8051B600@sda21(r2) -/* 80280730 0027D670 FC 20 08 18 */ frsp f1, f1 -/* 80280734 0027D674 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80280738 0027D678 40 80 00 08 */ bge lbl_80280740 -/* 8028073C 0027D67C 7C 60 1B 78 */ mr r0, r3 -lbl_80280740: -/* 80280740 0027D680 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80280744 0027D684 41 82 00 08 */ beq lbl_8028074C -/* 80280748 0027D688 38 80 00 01 */ li r4, 1 -lbl_8028074C: -/* 8028074C 0027D68C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80280750 0027D690 40 82 00 3C */ bne lbl_8028078C -/* 80280754 0027D694 C0 02 D2 98 */ lfs f0, lbl_8051B5F8@sda21(r2) -/* 80280758 0027D698 FC 40 DA 10 */ fabs f2, f27 -/* 8028075C 0027D69C C0 22 D2 78 */ lfs f1, lbl_8051B5D8@sda21(r2) -/* 80280760 0027D6A0 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80280764 0027D6A4 FC 40 10 18 */ frsp f2, f2 -/* 80280768 0027D6A8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8028076C 0027D6AC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80280770 0027D6B0 4C 40 13 82 */ cror 2, 0, 2 -/* 80280774 0027D6B4 7C 00 00 26 */ mfcr r0 -/* 80280778 0027D6B8 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f -/* 8028077C 0027D6BC 41 82 00 10 */ beq lbl_8028078C -/* 80280780 0027D6C0 38 60 00 00 */ li r3, 0 -/* 80280784 0027D6C4 48 00 00 08 */ b lbl_8028078C -lbl_80280788: -/* 80280788 0027D6C8 38 60 00 01 */ li r3, 1 -lbl_8028078C: -/* 8028078C 0027D6CC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 80280790 0027D6D0 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 80280794 0027D6D4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 80280798 0027D6D8 CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 8028079C 0027D6DC E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0 -/* 802807A0 0027D6E0 CB A1 00 D0 */ lfd f29, 0xd0(r1) -/* 802807A4 0027D6E4 E3 81 00 C8 */ psq_l f28, 200(r1), 0, qr0 -/* 802807A8 0027D6E8 CB 81 00 C0 */ lfd f28, 0xc0(r1) -/* 802807AC 0027D6EC E3 61 00 B8 */ psq_l f27, 184(r1), 0, qr0 -/* 802807B0 0027D6F0 CB 61 00 B0 */ lfd f27, 0xb0(r1) -/* 802807B4 0027D6F4 E3 41 00 A8 */ psq_l f26, 168(r1), 0, qr0 -/* 802807B8 0027D6F8 CB 41 00 A0 */ lfd f26, 0xa0(r1) -/* 802807BC 0027D6FC E3 21 00 98 */ psq_l f25, 152(r1), 0, qr0 -/* 802807C0 0027D700 CB 21 00 90 */ lfd f25, 0x90(r1) -/* 802807C4 0027D704 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802807C8 0027D708 80 01 01 04 */ lwz r0, 0x104(r1) -/* 802807CC 0027D70C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802807D0 0027D710 7C 08 03 A6 */ mtlr r0 -/* 802807D4 0027D714 38 21 01 00 */ addi r1, r1, 0x100 -/* 802807D8 0027D718 4E 80 00 20 */ blr - -.global isAttackable__Q34Game3Mar3ObjFv -isAttackable__Q34Game3Mar3ObjFv: -/* 802807DC 0027D71C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802807E0 0027D720 7C 08 02 A6 */ mflr r0 -/* 802807E4 0027D724 90 01 00 84 */ stw r0, 0x84(r1) -/* 802807E8 0027D728 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 802807EC 0027D72C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 802807F0 0027D730 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 802807F4 0027D734 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 802807F8 0027D738 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 802807FC 0027D73C F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80280800 0027D740 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80280804 0027D744 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80280808 0027D748 81 83 00 00 */ lwz r12, 0(r3) -/* 8028080C 0027D74C 7C 7F 1B 78 */ mr r31, r3 -/* 80280810 0027D750 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80280814 0027D754 7D 89 03 A6 */ mtctr r12 -/* 80280818 0027D758 4E 80 04 21 */ bctrl -/* 8028081C 0027D75C FC 40 08 90 */ fmr f2, f1 -/* 80280820 0027D760 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 80280824 0027D764 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80280828 0027D768 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028082C 0027D76C 40 80 00 08 */ bge lbl_80280834 -/* 80280830 0027D770 FC 40 10 50 */ fneg f2, f2 -lbl_80280834: -/* 80280834 0027D774 C0 62 D2 70 */ lfs f3, lbl_8051B5D0@sda21(r2) -/* 80280838 0027D778 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028083C 0027D77C C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 80280840 0027D780 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80280844 0027D784 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80280848 0027D788 C0 85 05 64 */ lfs f4, 0x564(r5) -/* 8028084C 0027D78C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80280850 0027D790 FC 00 10 1E */ fctiwz f0, f2 -/* 80280854 0027D794 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 80280858 0027D798 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028085C 0027D79C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80280860 0027D7A0 7C 64 02 14 */ add r3, r4, r0 -/* 80280864 0027D7A4 C0 03 00 04 */ lfs f0, 4(r3) -/* 80280868 0027D7A8 EF E4 00 32 */ fmuls f31, f4, f0 -/* 8028086C 0027D7AC 40 80 00 28 */ bge lbl_80280894 -/* 80280870 0027D7B0 C0 02 D2 6C */ lfs f0, lbl_8051B5CC@sda21(r2) -/* 80280874 0027D7B4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80280878 0027D7B8 FC 00 00 1E */ fctiwz f0, f0 -/* 8028087C 0027D7BC D8 01 00 38 */ stfd f0, 0x38(r1) -/* 80280880 0027D7C0 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80280884 0027D7C4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80280888 0027D7C8 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8028088C 0027D7CC FC 00 00 50 */ fneg f0, f0 -/* 80280890 0027D7D0 48 00 00 1C */ b lbl_802808AC -lbl_80280894: -/* 80280894 0027D7D4 EC 01 00 F2 */ fmuls f0, f1, f3 -/* 80280898 0027D7D8 FC 00 00 1E */ fctiwz f0, f0 -/* 8028089C 0027D7DC D8 01 00 40 */ stfd f0, 0x40(r1) -/* 802808A0 0027D7E0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802808A4 0027D7E4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802808A8 0027D7E8 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_802808AC: -/* 802808AC 0027D7EC 7F E4 FB 78 */ mr r4, r31 -/* 802808B0 0027D7F0 EF C4 00 32 */ fmuls f30, f4, f0 -/* 802808B4 0027D7F4 81 9F 00 00 */ lwz r12, 0(r31) -/* 802808B8 0027D7F8 38 61 00 14 */ addi r3, r1, 0x14 -/* 802808BC 0027D7FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802808C0 0027D800 7D 89 03 A6 */ mtctr r12 -/* 802808C4 0027D804 4E 80 04 21 */ bctrl -/* 802808C8 0027D808 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 802808CC 0027D80C 3C 60 80 4B */ lis r3, __vt__22Iterator$$0Q24Game4Piki$$1@ha -/* 802808D0 0027D810 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 802808D4 0027D814 38 00 00 00 */ li r0, 0 -/* 802808D8 0027D818 C0 04 05 8C */ lfs f0, 0x58c(r4) -/* 802808DC 0027D81C 38 83 BC 9C */ addi r4, r3, __vt__22Iterator$$0Q24Game4Piki$$1@l -/* 802808E0 0027D820 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 802808E4 0027D824 28 00 00 00 */ cmplwi r0, 0 -/* 802808E8 0027D828 80 6D 92 F4 */ lwz r3, pikiMgr__4Game@sda21(r13) -/* 802808EC 0027D82C EF DE 10 2A */ fadds f30, f30, f2 -/* 802808F0 0027D830 EF FF 08 2A */ fadds f31, f31, f1 -/* 802808F4 0027D834 90 81 00 20 */ stw r4, 0x20(r1) -/* 802808F8 0027D838 EF A0 00 32 */ fmuls f29, f0, f0 -/* 802808FC 0027D83C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80280900 0027D840 90 01 00 24 */ stw r0, 0x24(r1) -/* 80280904 0027D844 90 61 00 28 */ stw r3, 0x28(r1) -/* 80280908 0027D848 40 82 00 1C */ bne lbl_80280924 -/* 8028090C 0027D84C 81 83 00 00 */ lwz r12, 0(r3) -/* 80280910 0027D850 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80280914 0027D854 7D 89 03 A6 */ mtctr r12 -/* 80280918 0027D858 4E 80 04 21 */ bctrl -/* 8028091C 0027D85C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80280920 0027D860 48 00 01 F4 */ b lbl_80280B14 -lbl_80280924: -/* 80280924 0027D864 81 83 00 00 */ lwz r12, 0(r3) -/* 80280928 0027D868 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028092C 0027D86C 7D 89 03 A6 */ mtctr r12 -/* 80280930 0027D870 4E 80 04 21 */ bctrl -/* 80280934 0027D874 90 61 00 24 */ stw r3, 0x24(r1) -/* 80280938 0027D878 48 00 00 58 */ b lbl_80280990 -lbl_8028093C: -/* 8028093C 0027D87C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80280940 0027D880 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80280944 0027D884 81 83 00 00 */ lwz r12, 0(r3) -/* 80280948 0027D888 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028094C 0027D88C 7D 89 03 A6 */ mtctr r12 -/* 80280950 0027D890 4E 80 04 21 */ bctrl -/* 80280954 0027D894 7C 64 1B 78 */ mr r4, r3 -/* 80280958 0027D898 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8028095C 0027D89C 81 83 00 00 */ lwz r12, 0(r3) -/* 80280960 0027D8A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80280964 0027D8A4 7D 89 03 A6 */ mtctr r12 -/* 80280968 0027D8A8 4E 80 04 21 */ bctrl -/* 8028096C 0027D8AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280970 0027D8B0 40 82 01 A4 */ bne lbl_80280B14 -/* 80280974 0027D8B4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80280978 0027D8B8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8028097C 0027D8BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80280980 0027D8C0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80280984 0027D8C4 7D 89 03 A6 */ mtctr r12 -/* 80280988 0027D8C8 4E 80 04 21 */ bctrl -/* 8028098C 0027D8CC 90 61 00 24 */ stw r3, 0x24(r1) -lbl_80280990: -/* 80280990 0027D8D0 81 81 00 20 */ lwz r12, 0x20(r1) -/* 80280994 0027D8D4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80280998 0027D8D8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028099C 0027D8DC 7D 89 03 A6 */ mtctr r12 -/* 802809A0 0027D8E0 4E 80 04 21 */ bctrl -/* 802809A4 0027D8E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802809A8 0027D8E8 41 82 FF 94 */ beq lbl_8028093C -/* 802809AC 0027D8EC 48 00 01 68 */ b lbl_80280B14 -lbl_802809B0: -/* 802809B0 0027D8F0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802809B4 0027D8F4 81 83 00 00 */ lwz r12, 0(r3) -/* 802809B8 0027D8F8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802809BC 0027D8FC 7D 89 03 A6 */ mtctr r12 -/* 802809C0 0027D900 4E 80 04 21 */ bctrl -/* 802809C4 0027D904 81 83 00 00 */ lwz r12, 0(r3) -/* 802809C8 0027D908 7C 7E 1B 78 */ mr r30, r3 -/* 802809CC 0027D90C 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802809D0 0027D910 7D 89 03 A6 */ mtctr r12 -/* 802809D4 0027D914 4E 80 04 21 */ bctrl -/* 802809D8 0027D918 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802809DC 0027D91C 41 82 00 7C */ beq lbl_80280A58 -/* 802809E0 0027D920 7F C3 F3 78 */ mr r3, r30 -/* 802809E4 0027D924 81 9E 00 00 */ lwz r12, 0(r30) -/* 802809E8 0027D928 81 8C 01 C0 */ lwz r12, 0x1c0(r12) -/* 802809EC 0027D92C 7D 89 03 A6 */ mtctr r12 -/* 802809F0 0027D930 4E 80 04 21 */ bctrl -/* 802809F4 0027D934 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802809F8 0027D938 41 82 00 60 */ beq lbl_80280A58 -/* 802809FC 0027D93C 7F C3 F3 78 */ mr r3, r30 -/* 80280A00 0027D940 4B F1 EB 89 */ bl isStickToMouth__Q24Game8CreatureFv -/* 80280A04 0027D944 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280A08 0027D948 40 82 00 50 */ bne lbl_80280A58 -/* 80280A0C 0027D94C 80 1E 00 F4 */ lwz r0, 0xf4(r30) -/* 80280A10 0027D950 7C 00 F8 40 */ cmplw r0, r31 -/* 80280A14 0027D954 41 82 00 44 */ beq lbl_80280A58 -/* 80280A18 0027D958 7F C4 F3 78 */ mr r4, r30 -/* 80280A1C 0027D95C 38 61 00 08 */ addi r3, r1, 8 -/* 80280A20 0027D960 81 9E 00 00 */ lwz r12, 0(r30) -/* 80280A24 0027D964 81 8C 00 08 */ lwz r12, 8(r12) -/* 80280A28 0027D968 7D 89 03 A6 */ mtctr r12 -/* 80280A2C 0027D96C 4E 80 04 21 */ bctrl -/* 80280A30 0027D970 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80280A34 0027D974 C0 21 00 08 */ lfs f1, 8(r1) -/* 80280A38 0027D978 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80280A3C 0027D97C EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80280A40 0027D980 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80280A44 0027D984 EC 01 00 7A */ fmadds f0, f1, f1, f0 -/* 80280A48 0027D988 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 80280A4C 0027D98C 40 80 00 0C */ bge lbl_80280A58 -/* 80280A50 0027D990 7F C3 F3 78 */ mr r3, r30 -/* 80280A54 0027D994 48 00 00 E4 */ b lbl_80280B38 -lbl_80280A58: -/* 80280A58 0027D998 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80280A5C 0027D99C 28 00 00 00 */ cmplwi r0, 0 -/* 80280A60 0027D9A0 40 82 00 24 */ bne lbl_80280A84 -/* 80280A64 0027D9A4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80280A68 0027D9A8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80280A6C 0027D9AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80280A70 0027D9B0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80280A74 0027D9B4 7D 89 03 A6 */ mtctr r12 -/* 80280A78 0027D9B8 4E 80 04 21 */ bctrl -/* 80280A7C 0027D9BC 90 61 00 24 */ stw r3, 0x24(r1) -/* 80280A80 0027D9C0 48 00 00 94 */ b lbl_80280B14 -lbl_80280A84: -/* 80280A84 0027D9C4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80280A88 0027D9C8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80280A8C 0027D9CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80280A90 0027D9D0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80280A94 0027D9D4 7D 89 03 A6 */ mtctr r12 -/* 80280A98 0027D9D8 4E 80 04 21 */ bctrl -/* 80280A9C 0027D9DC 90 61 00 24 */ stw r3, 0x24(r1) -/* 80280AA0 0027D9E0 48 00 00 58 */ b lbl_80280AF8 -lbl_80280AA4: -/* 80280AA4 0027D9E4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80280AA8 0027D9E8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80280AAC 0027D9EC 81 83 00 00 */ lwz r12, 0(r3) -/* 80280AB0 0027D9F0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80280AB4 0027D9F4 7D 89 03 A6 */ mtctr r12 -/* 80280AB8 0027D9F8 4E 80 04 21 */ bctrl -/* 80280ABC 0027D9FC 7C 64 1B 78 */ mr r4, r3 -/* 80280AC0 0027DA00 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80280AC4 0027DA04 81 83 00 00 */ lwz r12, 0(r3) -/* 80280AC8 0027DA08 81 8C 00 08 */ lwz r12, 8(r12) -/* 80280ACC 0027DA0C 7D 89 03 A6 */ mtctr r12 -/* 80280AD0 0027DA10 4E 80 04 21 */ bctrl -/* 80280AD4 0027DA14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280AD8 0027DA18 40 82 00 3C */ bne lbl_80280B14 -/* 80280ADC 0027DA1C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80280AE0 0027DA20 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80280AE4 0027DA24 81 83 00 00 */ lwz r12, 0(r3) -/* 80280AE8 0027DA28 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80280AEC 0027DA2C 7D 89 03 A6 */ mtctr r12 -/* 80280AF0 0027DA30 4E 80 04 21 */ bctrl -/* 80280AF4 0027DA34 90 61 00 24 */ stw r3, 0x24(r1) -lbl_80280AF8: -/* 80280AF8 0027DA38 81 81 00 20 */ lwz r12, 0x20(r1) -/* 80280AFC 0027DA3C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80280B00 0027DA40 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80280B04 0027DA44 7D 89 03 A6 */ mtctr r12 -/* 80280B08 0027DA48 4E 80 04 21 */ bctrl -/* 80280B0C 0027DA4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80280B10 0027DA50 41 82 FF 94 */ beq lbl_80280AA4 -lbl_80280B14: -/* 80280B14 0027DA54 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80280B18 0027DA58 81 83 00 00 */ lwz r12, 0(r3) -/* 80280B1C 0027DA5C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80280B20 0027DA60 7D 89 03 A6 */ mtctr r12 -/* 80280B24 0027DA64 4E 80 04 21 */ bctrl -/* 80280B28 0027DA68 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80280B2C 0027DA6C 7C 04 18 40 */ cmplw r4, r3 -/* 80280B30 0027DA70 40 82 FE 80 */ bne lbl_802809B0 -/* 80280B34 0027DA74 38 60 00 00 */ li r3, 0 -lbl_80280B38: -/* 80280B38 0027DA78 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80280B3C 0027DA7C CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80280B40 0027DA80 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80280B44 0027DA84 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80280B48 0027DA88 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80280B4C 0027DA8C CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80280B50 0027DA90 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80280B54 0027DA94 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80280B58 0027DA98 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80280B5C 0027DA9C 7C 08 03 A6 */ mtlr r0 -/* 80280B60 0027DAA0 38 21 00 80 */ addi r1, r1, 0x80 -/* 80280B64 0027DAA4 4E 80 00 20 */ blr - -.global updateEmit__Q34Game3Mar3ObjFv -updateEmit__Q34Game3Mar3ObjFv: -/* 80280B68 0027DAA8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80280B6C 0027DAAC 7C 08 02 A6 */ mflr r0 -/* 80280B70 0027DAB0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80280B74 0027DAB4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80280B78 0027DAB8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80280B7C 0027DABC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80280B80 0027DAC0 7C 7F 1B 78 */ mr r31, r3 -/* 80280B84 0027DAC4 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 80280B88 0027DAC8 28 03 00 00 */ cmplwi r3, 0 -/* 80280B8C 0027DACC 41 82 00 1C */ beq lbl_80280BA8 -/* 80280B90 0027DAD0 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80280B94 0027DAD4 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -/* 80280B98 0027DAD8 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80280B9C 0027DADC D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 80280BA0 0027DAE0 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80280BA4 0027DAE4 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -lbl_80280BA8: -/* 80280BA8 0027DAE8 7F E3 FB 78 */ mr r3, r31 -/* 80280BAC 0027DAEC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80280BB0 0027DAF0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80280BB4 0027DAF4 7D 89 03 A6 */ mtctr r12 -/* 80280BB8 0027DAF8 4E 80 04 21 */ bctrl -/* 80280BBC 0027DAFC C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 80280BC0 0027DB00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80280BC4 0027DB04 40 80 00 08 */ bge lbl_80280BCC -/* 80280BC8 0027DB08 FC 20 08 50 */ fneg f1, f1 -lbl_80280BCC: -/* 80280BCC 0027DB0C C0 02 D2 70 */ lfs f0, lbl_8051B5D0@sda21(r2) -/* 80280BD0 0027DB10 3C 80 80 50 */ lis r4, sincosTable___5JMath@ha -/* 80280BD4 0027DB14 81 9F 00 00 */ lwz r12, 0(r31) -/* 80280BD8 0027DB18 38 84 71 A0 */ addi r4, r4, sincosTable___5JMath@l -/* 80280BDC 0027DB1C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80280BE0 0027DB20 7F E3 FB 78 */ mr r3, r31 -/* 80280BE4 0027DB24 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80280BE8 0027DB28 FC 00 00 1E */ fctiwz f0, f0 -/* 80280BEC 0027DB2C D8 01 00 08 */ stfd f0, 8(r1) -/* 80280BF0 0027DB30 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80280BF4 0027DB34 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80280BF8 0027DB38 7C 84 02 14 */ add r4, r4, r0 -/* 80280BFC 0027DB3C C3 E4 00 04 */ lfs f31, 4(r4) -/* 80280C00 0027DB40 7D 89 03 A6 */ mtctr r12 -/* 80280C04 0027DB44 4E 80 04 21 */ bctrl -/* 80280C08 0027DB48 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 80280C0C 0027DB4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80280C10 0027DB50 40 80 00 30 */ bge lbl_80280C40 -/* 80280C14 0027DB54 C0 02 D2 6C */ lfs f0, lbl_8051B5CC@sda21(r2) -/* 80280C18 0027DB58 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80280C1C 0027DB5C 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80280C20 0027DB60 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80280C24 0027DB64 FC 00 00 1E */ fctiwz f0, f0 -/* 80280C28 0027DB68 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 80280C2C 0027DB6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80280C30 0027DB70 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80280C34 0027DB74 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80280C38 0027DB78 FC 00 00 50 */ fneg f0, f0 -/* 80280C3C 0027DB7C 48 00 00 28 */ b lbl_80280C64 -lbl_80280C40: -/* 80280C40 0027DB80 C0 02 D2 70 */ lfs f0, lbl_8051B5D0@sda21(r2) -/* 80280C44 0027DB84 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80280C48 0027DB88 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80280C4C 0027DB8C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80280C50 0027DB90 FC 00 00 1E */ fctiwz f0, f0 -/* 80280C54 0027DB94 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 80280C58 0027DB98 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80280C5C 0027DB9C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80280C60 0027DBA0 7C 03 04 2E */ lfsx f0, r3, r0 -lbl_80280C64: -/* 80280C64 0027DBA4 D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80280C68 0027DBA8 C0 02 D2 A4 */ lfs f0, lbl_8051B604@sda21(r2) -/* 80280C6C 0027DBAC C0 22 D2 38 */ lfs f1, lbl_8051B598@sda21(r2) -/* 80280C70 0027DBB0 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -/* 80280C74 0027DBB4 D3 FF 02 F4 */ stfs f31, 0x2f4(r31) -/* 80280C78 0027DBB8 C0 7F 02 EC */ lfs f3, 0x2ec(r31) -/* 80280C7C 0027DBBC C0 5F 02 F0 */ lfs f2, 0x2f0(r31) -/* 80280C80 0027DBC0 C0 9F 02 F4 */ lfs f4, 0x2f4(r31) -/* 80280C84 0027DBC4 EC 03 00 F2 */ fmuls f0, f3, f3 -/* 80280C88 0027DBC8 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80280C8C 0027DBCC EC 84 01 32 */ fmuls f4, f4, f4 -/* 80280C90 0027DBD0 EC 00 10 2A */ fadds f0, f0, f2 -/* 80280C94 0027DBD4 EC 04 00 2A */ fadds f0, f4, f0 -/* 80280C98 0027DBD8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80280C9C 0027DBDC 40 81 00 20 */ ble lbl_80280CBC -/* 80280CA0 0027DBE0 EC 03 10 FA */ fmadds f0, f3, f3, f2 -/* 80280CA4 0027DBE4 EC 44 00 2A */ fadds f2, f4, f0 -/* 80280CA8 0027DBE8 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80280CAC 0027DBEC 40 81 00 14 */ ble lbl_80280CC0 -/* 80280CB0 0027DBF0 FC 00 10 34 */ frsqrte f0, f2 -/* 80280CB4 0027DBF4 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 80280CB8 0027DBF8 48 00 00 08 */ b lbl_80280CC0 -lbl_80280CBC: -/* 80280CBC 0027DBFC FC 40 08 90 */ fmr f2, f1 -lbl_80280CC0: -/* 80280CC0 0027DC00 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 80280CC4 0027DC04 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80280CC8 0027DC08 40 81 00 30 */ ble lbl_80280CF8 -/* 80280CCC 0027DC0C C0 22 D2 50 */ lfs f1, lbl_8051B5B0@sda21(r2) -/* 80280CD0 0027DC10 C0 1F 02 EC */ lfs f0, 0x2ec(r31) -/* 80280CD4 0027DC14 EC 21 10 24 */ fdivs f1, f1, f2 -/* 80280CD8 0027DC18 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80280CDC 0027DC1C D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80280CE0 0027DC20 C0 1F 02 F0 */ lfs f0, 0x2f0(r31) -/* 80280CE4 0027DC24 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80280CE8 0027DC28 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -/* 80280CEC 0027DC2C C0 1F 02 F4 */ lfs f0, 0x2f4(r31) -/* 80280CF0 0027DC30 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80280CF4 0027DC34 D0 1F 02 F4 */ stfs f0, 0x2f4(r31) -lbl_80280CF8: -/* 80280CF8 0027DC38 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80280CFC 0027DC3C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80280D00 0027DC40 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80280D04 0027DC44 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80280D08 0027DC48 7C 08 03 A6 */ mtlr r0 -/* 80280D0C 0027DC4C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80280D10 0027DC50 4E 80 00 20 */ blr - -.global getAttackPosition__Q34Game3Mar3ObjFv -getAttackPosition__Q34Game3Mar3ObjFv: -/* 80280D14 0027DC54 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80280D18 0027DC58 7C 08 02 A6 */ mflr r0 -/* 80280D1C 0027DC5C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80280D20 0027DC60 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 80280D24 0027DC64 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80280D28 0027DC68 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80280D2C 0027DC6C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 80280D30 0027DC70 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 80280D34 0027DC74 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 80280D38 0027DC78 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 80280D3C 0027DC7C F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 80280D40 0027DC80 DB 61 00 90 */ stfd f27, 0x90(r1) -/* 80280D44 0027DC84 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 80280D48 0027DC88 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 80280D4C 0027DC8C F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 80280D50 0027DC90 DB 21 00 70 */ stfd f25, 0x70(r1) -/* 80280D54 0027DC94 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 -/* 80280D58 0027DC98 DB 01 00 60 */ stfd f24, 0x60(r1) -/* 80280D5C 0027DC9C F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0 -/* 80280D60 0027DCA0 DA E1 00 50 */ stfd f23, 0x50(r1) -/* 80280D64 0027DCA4 F2 E1 00 58 */ psq_st f23, 88(r1), 0, qr0 -/* 80280D68 0027DCA8 DA C1 00 40 */ stfd f22, 0x40(r1) -/* 80280D6C 0027DCAC F2 C1 00 48 */ psq_st f22, 72(r1), 0, qr0 -/* 80280D70 0027DCB0 DA A1 00 30 */ stfd f21, 0x30(r1) -/* 80280D74 0027DCB4 F2 A1 00 38 */ psq_st f21, 56(r1), 0, qr0 -/* 80280D78 0027DCB8 DA 81 00 20 */ stfd f20, 0x20(r1) -/* 80280D7C 0027DCBC F2 81 00 28 */ psq_st f20, 40(r1), 0, qr0 -/* 80280D80 0027DCC0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80280D84 0027DCC4 80 A4 00 C0 */ lwz r5, 0xc0(r4) -/* 80280D88 0027DCC8 7C 7F 1B 78 */ mr r31, r3 -/* 80280D8C 0027DCCC C0 02 D2 54 */ lfs f0, lbl_8051B5B4@sda21(r2) -/* 80280D90 0027DCD0 C0 45 05 B4 */ lfs f2, 0x5b4(r5) -/* 80280D94 0027DCD4 C0 22 D2 A8 */ lfs f1, lbl_8051B608@sda21(r2) -/* 80280D98 0027DCD8 EC 60 10 24 */ fdivs f3, f0, f2 -/* 80280D9C 0027DCDC C3 64 02 EC */ lfs f27, 0x2ec(r4) -/* 80280DA0 0027DCE0 C3 44 02 F0 */ lfs f26, 0x2f0(r4) -/* 80280DA4 0027DCE4 C3 24 02 F4 */ lfs f25, 0x2f4(r4) -/* 80280DA8 0027DCE8 C3 E2 D2 50 */ lfs f31, lbl_8051B5B0@sda21(r2) -/* 80280DAC 0027DCEC C3 C4 02 E0 */ lfs f30, 0x2e0(r4) -/* 80280DB0 0027DCF0 EF 7B 00 B2 */ fmuls f27, f27, f2 -/* 80280DB4 0027DCF4 C3 A4 02 E4 */ lfs f29, 0x2e4(r4) -/* 80280DB8 0027DCF8 EF 5A 00 B2 */ fmuls f26, f26, f2 -/* 80280DBC 0027DCFC C3 84 02 E8 */ lfs f28, 0x2e8(r4) -/* 80280DC0 0027DD00 EF 39 00 B2 */ fmuls f25, f25, f2 -/* 80280DC4 0027DD04 EF 7B F0 2A */ fadds f27, f27, f30 -/* 80280DC8 0027DD08 EF 5A E8 2A */ fadds f26, f26, f29 -/* 80280DCC 0027DD0C EF 39 E0 2A */ fadds f25, f25, f28 -/* 80280DD0 0027DD10 EE A1 10 24 */ fdivs f21, f1, f2 -/* 80280DD4 0027DD14 EC 9F 18 28 */ fsubs f4, f31, f3 -/* 80280DD8 0027DD18 EC 5B 00 F2 */ fmuls f2, f27, f3 -/* 80280DDC 0027DD1C EC 3A 00 F2 */ fmuls f1, f26, f3 -/* 80280DE0 0027DD20 EC 19 00 F2 */ fmuls f0, f25, f3 -/* 80280DE4 0027DD24 FE 80 18 90 */ fmr f20, f3 -/* 80280DE8 0027DD28 EF 1E 11 3A */ fmadds f24, f30, f4, f2 -/* 80280DEC 0027DD2C EE FD 09 3A */ fmadds f23, f29, f4, f1 -/* 80280DF0 0027DD30 EE DC 01 3A */ fmadds f22, f28, f4, f0 -/* 80280DF4 0027DD34 48 00 00 74 */ b lbl_80280E68 -lbl_80280DF8: -/* 80280DF8 0027DD38 EC 7F A0 28 */ fsubs f3, f31, f20 -/* 80280DFC 0027DD3C 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80280E00 0027DD40 EC 5B 05 32 */ fmuls f2, f27, f20 -/* 80280E04 0027DD44 38 81 00 08 */ addi r4, r1, 8 -/* 80280E08 0027DD48 EC 3A 05 32 */ fmuls f1, f26, f20 -/* 80280E0C 0027DD4C EC 19 05 32 */ fmuls f0, f25, f20 -/* 80280E10 0027DD50 EC 5E 10 FA */ fmadds f2, f30, f3, f2 -/* 80280E14 0027DD54 EC 3D 08 FA */ fmadds f1, f29, f3, f1 -/* 80280E18 0027DD58 EC 1C 00 FA */ fmadds f0, f28, f3, f0 -/* 80280E1C 0027DD5C D0 41 00 08 */ stfs f2, 8(r1) -/* 80280E20 0027DD60 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80280E24 0027DD64 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80280E28 0027DD68 81 83 00 04 */ lwz r12, 4(r3) -/* 80280E2C 0027DD6C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80280E30 0027DD70 7D 89 03 A6 */ mtctr r12 -/* 80280E34 0027DD74 4E 80 04 21 */ bctrl -/* 80280E38 0027DD78 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80280E3C 0027DD7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80280E40 0027DD80 40 81 00 14 */ ble lbl_80280E54 -/* 80280E44 0027DD84 D3 1F 00 00 */ stfs f24, 0(r31) -/* 80280E48 0027DD88 D2 FF 00 04 */ stfs f23, 4(r31) -/* 80280E4C 0027DD8C D2 DF 00 08 */ stfs f22, 8(r31) -/* 80280E50 0027DD90 48 00 00 38 */ b lbl_80280E88 -lbl_80280E54: -/* 80280E54 0027DD94 FE E0 08 18 */ frsp f23, f1 -/* 80280E58 0027DD98 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80280E5C 0027DD9C EE 94 A8 2A */ fadds f20, f20, f21 -/* 80280E60 0027DDA0 C3 01 00 08 */ lfs f24, 8(r1) -/* 80280E64 0027DDA4 C2 C1 00 10 */ lfs f22, 0x10(r1) -lbl_80280E68: -/* 80280E68 0027DDA8 FC 14 F8 40 */ fcmpo cr0, f20, f31 -/* 80280E6C 0027DDAC 41 80 FF 8C */ blt lbl_80280DF8 -/* 80280E70 0027DDB0 C0 01 00 08 */ lfs f0, 8(r1) -/* 80280E74 0027DDB4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80280E78 0027DDB8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80280E7C 0027DDBC D0 1F 00 04 */ stfs f0, 4(r31) -/* 80280E80 0027DDC0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80280E84 0027DDC4 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_80280E88: -/* 80280E88 0027DDC8 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80280E8C 0027DDCC CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80280E90 0027DDD0 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 80280E94 0027DDD4 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 80280E98 0027DDD8 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 80280E9C 0027DDDC CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 80280EA0 0027DDE0 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 80280EA4 0027DDE4 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 80280EA8 0027DDE8 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 80280EAC 0027DDEC CB 61 00 90 */ lfd f27, 0x90(r1) -/* 80280EB0 0027DDF0 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 80280EB4 0027DDF4 CB 41 00 80 */ lfd f26, 0x80(r1) -/* 80280EB8 0027DDF8 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 -/* 80280EBC 0027DDFC CB 21 00 70 */ lfd f25, 0x70(r1) -/* 80280EC0 0027DE00 E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0 -/* 80280EC4 0027DE04 CB 01 00 60 */ lfd f24, 0x60(r1) -/* 80280EC8 0027DE08 E2 E1 00 58 */ psq_l f23, 88(r1), 0, qr0 -/* 80280ECC 0027DE0C CA E1 00 50 */ lfd f23, 0x50(r1) -/* 80280ED0 0027DE10 E2 C1 00 48 */ psq_l f22, 72(r1), 0, qr0 -/* 80280ED4 0027DE14 CA C1 00 40 */ lfd f22, 0x40(r1) -/* 80280ED8 0027DE18 E2 A1 00 38 */ psq_l f21, 56(r1), 0, qr0 -/* 80280EDC 0027DE1C CA A1 00 30 */ lfd f21, 0x30(r1) -/* 80280EE0 0027DE20 E2 81 00 28 */ psq_l f20, 40(r1), 0, qr0 -/* 80280EE4 0027DE24 CA 81 00 20 */ lfd f20, 0x20(r1) -/* 80280EE8 0027DE28 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80280EEC 0027DE2C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80280EF0 0027DE30 7C 08 03 A6 */ mtlr r0 -/* 80280EF4 0027DE34 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80280EF8 0027DE38 4E 80 00 20 */ blr - -.global windTarget__Q34Game3Mar3ObjFv -windTarget__Q34Game3Mar3ObjFv: -/* 80280EFC 0027DE3C 94 21 FE 70 */ stwu r1, -0x190(r1) -/* 80280F00 0027DE40 7C 08 02 A6 */ mflr r0 -/* 80280F04 0027DE44 90 01 01 94 */ stw r0, 0x194(r1) -/* 80280F08 0027DE48 DB E1 01 80 */ stfd f31, 0x180(r1) -/* 80280F0C 0027DE4C F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 -/* 80280F10 0027DE50 DB C1 01 70 */ stfd f30, 0x170(r1) -/* 80280F14 0027DE54 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 -/* 80280F18 0027DE58 DB A1 01 60 */ stfd f29, 0x160(r1) -/* 80280F1C 0027DE5C F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 -/* 80280F20 0027DE60 DB 81 01 50 */ stfd f28, 0x150(r1) -/* 80280F24 0027DE64 F3 81 01 58 */ psq_st f28, 344(r1), 0, qr0 -/* 80280F28 0027DE68 DB 61 01 40 */ stfd f27, 0x140(r1) -/* 80280F2C 0027DE6C F3 61 01 48 */ psq_st f27, 328(r1), 0, qr0 -/* 80280F30 0027DE70 DB 41 01 30 */ stfd f26, 0x130(r1) -/* 80280F34 0027DE74 F3 41 01 38 */ psq_st f26, 312(r1), 0, qr0 -/* 80280F38 0027DE78 DB 21 01 20 */ stfd f25, 0x120(r1) -/* 80280F3C 0027DE7C F3 21 01 28 */ psq_st f25, 296(r1), 0, qr0 -/* 80280F40 0027DE80 DB 01 01 10 */ stfd f24, 0x110(r1) -/* 80280F44 0027DE84 F3 01 01 18 */ psq_st f24, 280(r1), 0, qr0 -/* 80280F48 0027DE88 DA E1 01 00 */ stfd f23, 0x100(r1) -/* 80280F4C 0027DE8C F2 E1 01 08 */ psq_st f23, 264(r1), 0, qr0 -/* 80280F50 0027DE90 DA C1 00 F0 */ stfd f22, 0xf0(r1) -/* 80280F54 0027DE94 F2 C1 00 F8 */ psq_st f22, 248(r1), 0, qr0 -/* 80280F58 0027DE98 DA A1 00 E0 */ stfd f21, 0xe0(r1) -/* 80280F5C 0027DE9C F2 A1 00 E8 */ psq_st f21, 232(r1), 0, qr0 -/* 80280F60 0027DEA0 DA 81 00 D0 */ stfd f20, 0xd0(r1) -/* 80280F64 0027DEA4 F2 81 00 D8 */ psq_st f20, 216(r1), 0, qr0 -/* 80280F68 0027DEA8 DA 61 00 C0 */ stfd f19, 0xc0(r1) -/* 80280F6C 0027DEAC F2 61 00 C8 */ psq_st f19, 200(r1), 0, qr0 -/* 80280F70 0027DEB0 DA 41 00 B0 */ stfd f18, 0xb0(r1) -/* 80280F74 0027DEB4 F2 41 00 B8 */ psq_st f18, 184(r1), 0, qr0 -/* 80280F78 0027DEB8 DA 21 00 A0 */ stfd f17, 0xa0(r1) -/* 80280F7C 0027DEBC F2 21 00 A8 */ psq_st f17, 168(r1), 0, qr0 -/* 80280F80 0027DEC0 DA 01 00 90 */ stfd f16, 0x90(r1) -/* 80280F84 0027DEC4 F2 01 00 98 */ psq_st f16, 152(r1), 0, qr0 -/* 80280F88 0027DEC8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80280F8C 0027DECC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80280F90 0027DED0 7C 7F 1B 78 */ mr r31, r3 -/* 80280F94 0027DED4 C0 42 D2 50 */ lfs f2, lbl_8051B5B0@sda21(r2) -/* 80280F98 0027DED8 C0 63 03 04 */ lfs f3, 0x304(r3) -/* 80280F9C 0027DEDC FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80280FA0 0027DEE0 40 80 00 28 */ bge lbl_80280FC8 -/* 80280FA4 0027DEE4 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80280FA8 0027DEE8 C0 22 D2 AC */ lfs f1, lbl_8051B60C@sda21(r2) -/* 80280FAC 0027DEEC C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80280FB0 0027DEF0 EC 01 18 3A */ fmadds f0, f1, f0, f3 -/* 80280FB4 0027DEF4 D0 1F 03 04 */ stfs f0, 0x304(r31) -/* 80280FB8 0027DEF8 C0 1F 03 04 */ lfs f0, 0x304(r31) -/* 80280FBC 0027DEFC FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80280FC0 0027DF00 40 81 00 08 */ ble lbl_80280FC8 -/* 80280FC4 0027DF04 D0 5F 03 04 */ stfs f2, 0x304(r31) -lbl_80280FC8: -/* 80280FC8 0027DF08 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80280FCC 0027DF0C C0 22 D2 98 */ lfs f1, lbl_8051B5F8@sda21(r2) -/* 80280FD0 0027DF10 C0 03 05 DC */ lfs f0, 0x5dc(r3) -/* 80280FD4 0027DF14 C0 7F 03 04 */ lfs f3, 0x304(r31) -/* 80280FD8 0027DF18 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80280FDC 0027DF1C C0 43 05 B4 */ lfs f2, 0x5b4(r3) -/* 80280FE0 0027DF20 C0 22 D2 78 */ lfs f1, lbl_8051B5D8@sda21(r2) -/* 80280FE4 0027DF24 EE 63 00 B2 */ fmuls f19, f3, f2 -/* 80280FE8 0027DF28 C2 1F 02 E0 */ lfs f16, 0x2e0(r31) -/* 80280FEC 0027DF2C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80280FF0 0027DF30 C2 3F 02 E4 */ lfs f17, 0x2e4(r31) -/* 80280FF4 0027DF34 C2 5F 02 E8 */ lfs f18, 0x2e8(r31) -/* 80280FF8 0027DF38 C3 BF 02 EC */ lfs f29, 0x2ec(r31) -/* 80280FFC 0027DF3C C2 BF 02 F0 */ lfs f21, 0x2f0(r31) -/* 80281000 0027DF40 C3 9F 02 F4 */ lfs f28, 0x2f4(r31) -/* 80281004 0027DF44 4B E4 E8 F1 */ bl tan -/* 80281008 0027DF48 FF 60 E0 50 */ fneg f27, f28 -/* 8028100C 0027DF4C C3 E2 D2 38 */ lfs f31, lbl_8051B598@sda21(r2) -/* 80281010 0027DF50 EC 1D 07 72 */ fmuls f0, f29, f29 -/* 80281014 0027DF54 FF C0 E8 90 */ fmr f30, f29 -/* 80281018 0027DF58 EC 5B FE FA */ fmadds f2, f27, f27, f31 -/* 8028101C 0027DF5C FE 80 08 18 */ frsp f20, f1 -/* 80281020 0027DF60 EC 40 10 2A */ fadds f2, f0, f2 -/* 80281024 0027DF64 FC 02 F8 40 */ fcmpo cr0, f2, f31 -/* 80281028 0027DF68 40 81 00 14 */ ble lbl_8028103C -/* 8028102C 0027DF6C 40 81 00 14 */ ble lbl_80281040 -/* 80281030 0027DF70 FC 20 10 34 */ frsqrte f1, f2 -/* 80281034 0027DF74 EC 41 00 B2 */ fmuls f2, f1, f2 -/* 80281038 0027DF78 48 00 00 08 */ b lbl_80281040 -lbl_8028103C: -/* 8028103C 0027DF7C FC 40 F8 90 */ fmr f2, f31 -lbl_80281040: -/* 80281040 0027DF80 C0 22 D2 38 */ lfs f1, lbl_8051B598@sda21(r2) -/* 80281044 0027DF84 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80281048 0027DF88 40 81 00 18 */ ble lbl_80281060 -/* 8028104C 0027DF8C C0 22 D2 50 */ lfs f1, lbl_8051B5B0@sda21(r2) -/* 80281050 0027DF90 EC 21 10 24 */ fdivs f1, f1, f2 -/* 80281054 0027DF94 EF 7B 00 72 */ fmuls f27, f27, f1 -/* 80281058 0027DF98 EF FF 00 72 */ fmuls f31, f31, f1 -/* 8028105C 0027DF9C EF DE 00 72 */ fmuls f30, f30, f1 -lbl_80281060: -/* 80281060 0027DFA0 EC 7B 07 32 */ fmuls f3, f27, f28 -/* 80281064 0027DFA4 C0 22 D2 38 */ lfs f1, lbl_8051B598@sda21(r2) -/* 80281068 0027DFA8 EC 9E 05 72 */ fmuls f4, f30, f21 -/* 8028106C 0027DFAC EC 5F 07 72 */ fmuls f2, f31, f29 -/* 80281070 0027DFB0 EF 3E 1F 78 */ fmsubs f25, f30, f29, f3 -/* 80281074 0027DFB4 EF 5F 27 38 */ fmsubs f26, f31, f28, f4 -/* 80281078 0027DFB8 EF 1B 15 78 */ fmsubs f24, f27, f21, f2 -/* 8028107C 0027DFBC EC 59 06 72 */ fmuls f2, f25, f25 -/* 80281080 0027DFC0 EC 78 06 32 */ fmuls f3, f24, f24 -/* 80281084 0027DFC4 EC 5A 16 BA */ fmadds f2, f26, f26, f2 -/* 80281088 0027DFC8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8028108C 0027DFCC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80281090 0027DFD0 40 81 00 14 */ ble lbl_802810A4 -/* 80281094 0027DFD4 40 81 00 14 */ ble lbl_802810A8 -/* 80281098 0027DFD8 FC 20 10 34 */ frsqrte f1, f2 -/* 8028109C 0027DFDC EC 41 00 B2 */ fmuls f2, f1, f2 -/* 802810A0 0027DFE0 48 00 00 08 */ b lbl_802810A8 -lbl_802810A4: -/* 802810A4 0027DFE4 FC 40 08 90 */ fmr f2, f1 -lbl_802810A8: -/* 802810A8 0027DFE8 C0 22 D2 38 */ lfs f1, lbl_8051B598@sda21(r2) -/* 802810AC 0027DFEC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802810B0 0027DFF0 40 81 00 18 */ ble lbl_802810C8 -/* 802810B4 0027DFF4 C0 22 D2 50 */ lfs f1, lbl_8051B5B0@sda21(r2) -/* 802810B8 0027DFF8 EC 21 10 24 */ fdivs f1, f1, f2 -/* 802810BC 0027DFFC EF 5A 00 72 */ fmuls f26, f26, f1 -/* 802810C0 0027E000 EF 39 00 72 */ fmuls f25, f25, f1 -/* 802810C4 0027E004 EF 18 00 72 */ fmuls f24, f24, f1 -lbl_802810C8: -/* 802810C8 0027E008 C0 22 D2 38 */ lfs f1, lbl_8051B598@sda21(r2) -/* 802810CC 0027E00C EC 5C 07 32 */ fmuls f2, f28, f28 -/* 802810D0 0027E010 FE C0 E8 90 */ fmr f22, f29 -/* 802810D4 0027E014 EC 00 08 2A */ fadds f0, f0, f1 -/* 802810D8 0027E018 FE E0 E0 90 */ fmr f23, f28 -/* 802810DC 0027E01C EC 02 00 2A */ fadds f0, f2, f0 -/* 802810E0 0027E020 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 802810E4 0027E024 40 81 00 20 */ ble lbl_80281104 -/* 802810E8 0027E028 EC 1D 0F 7A */ fmadds f0, f29, f29, f1 -/* 802810EC 0027E02C EC 42 00 2A */ fadds f2, f2, f0 -/* 802810F0 0027E030 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 802810F4 0027E034 40 81 00 14 */ ble lbl_80281108 -/* 802810F8 0027E038 FC 00 10 34 */ frsqrte f0, f2 -/* 802810FC 0027E03C EC 40 00 B2 */ fmuls f2, f0, f2 -/* 80281100 0027E040 48 00 00 08 */ b lbl_80281108 -lbl_80281104: -/* 80281104 0027E044 FC 40 08 90 */ fmr f2, f1 -lbl_80281108: -/* 80281108 0027E048 C0 02 D2 38 */ lfs f0, lbl_8051B598@sda21(r2) -/* 8028110C 0027E04C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80281110 0027E050 40 81 00 14 */ ble lbl_80281124 -/* 80281114 0027E054 C0 02 D2 50 */ lfs f0, lbl_8051B5B0@sda21(r2) -/* 80281118 0027E058 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8028111C 0027E05C EE D6 00 32 */ fmuls f22, f22, f0 -/* 80281120 0027E060 EE F7 00 32 */ fmuls f23, f23, f0 -lbl_80281124: -/* 80281124 0027E064 38 00 00 00 */ li r0, 0 -/* 80281128 0027E068 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 8028112C 0027E06C 3C 80 80 4B */ lis r4, __vt__22Iterator$$0Q24Game4Navi$$1@ha -/* 80281130 0027E070 90 01 00 48 */ stw r0, 0x48(r1) -/* 80281134 0027E074 38 84 BC B4 */ addi r4, r4, __vt__22Iterator$$0Q24Game4Navi$$1@l -/* 80281138 0027E078 28 00 00 00 */ cmplwi r0, 0 -/* 8028113C 0027E07C 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80281140 0027E080 90 01 00 40 */ stw r0, 0x40(r1) -/* 80281144 0027E084 90 61 00 44 */ stw r3, 0x44(r1) -/* 80281148 0027E088 40 82 00 1C */ bne lbl_80281164 -/* 8028114C 0027E08C 81 83 00 00 */ lwz r12, 0(r3) -/* 80281150 0027E090 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80281154 0027E094 7D 89 03 A6 */ mtctr r12 -/* 80281158 0027E098 4E 80 04 21 */ bctrl -/* 8028115C 0027E09C 90 61 00 40 */ stw r3, 0x40(r1) -/* 80281160 0027E0A0 48 00 02 94 */ b lbl_802813F4 -lbl_80281164: -/* 80281164 0027E0A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80281168 0027E0A8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028116C 0027E0AC 7D 89 03 A6 */ mtctr r12 -/* 80281170 0027E0B0 4E 80 04 21 */ bctrl -/* 80281174 0027E0B4 90 61 00 40 */ stw r3, 0x40(r1) -/* 80281178 0027E0B8 48 00 00 58 */ b lbl_802811D0 -lbl_8028117C: -/* 8028117C 0027E0BC 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80281180 0027E0C0 80 81 00 40 */ lwz r4, 0x40(r1) -/* 80281184 0027E0C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80281188 0027E0C8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028118C 0027E0CC 7D 89 03 A6 */ mtctr r12 -/* 80281190 0027E0D0 4E 80 04 21 */ bctrl -/* 80281194 0027E0D4 7C 64 1B 78 */ mr r4, r3 -/* 80281198 0027E0D8 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8028119C 0027E0DC 81 83 00 00 */ lwz r12, 0(r3) -/* 802811A0 0027E0E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802811A4 0027E0E4 7D 89 03 A6 */ mtctr r12 -/* 802811A8 0027E0E8 4E 80 04 21 */ bctrl -/* 802811AC 0027E0EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802811B0 0027E0F0 40 82 02 44 */ bne lbl_802813F4 -/* 802811B4 0027E0F4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 802811B8 0027E0F8 80 81 00 40 */ lwz r4, 0x40(r1) -/* 802811BC 0027E0FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802811C0 0027E100 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802811C4 0027E104 7D 89 03 A6 */ mtctr r12 -/* 802811C8 0027E108 4E 80 04 21 */ bctrl -/* 802811CC 0027E10C 90 61 00 40 */ stw r3, 0x40(r1) -lbl_802811D0: -/* 802811D0 0027E110 81 81 00 3C */ lwz r12, 0x3c(r1) -/* 802811D4 0027E114 38 61 00 3C */ addi r3, r1, 0x3c -/* 802811D8 0027E118 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802811DC 0027E11C 7D 89 03 A6 */ mtctr r12 -/* 802811E0 0027E120 4E 80 04 21 */ bctrl -/* 802811E4 0027E124 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802811E8 0027E128 41 82 FF 94 */ beq lbl_8028117C -/* 802811EC 0027E12C 48 00 02 08 */ b lbl_802813F4 -lbl_802811F0: -/* 802811F0 0027E130 80 61 00 44 */ lwz r3, 0x44(r1) -/* 802811F4 0027E134 81 83 00 00 */ lwz r12, 0(r3) -/* 802811F8 0027E138 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802811FC 0027E13C 7D 89 03 A6 */ mtctr r12 -/* 80281200 0027E140 4E 80 04 21 */ bctrl -/* 80281204 0027E144 81 83 00 00 */ lwz r12, 0(r3) -/* 80281208 0027E148 7C 7E 1B 78 */ mr r30, r3 -/* 8028120C 0027E14C 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80281210 0027E150 7D 89 03 A6 */ mtctr r12 -/* 80281214 0027E154 4E 80 04 21 */ bctrl -/* 80281218 0027E158 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028121C 0027E15C 41 82 01 1C */ beq lbl_80281338 -/* 80281220 0027E160 7F C4 F3 78 */ mr r4, r30 -/* 80281224 0027E164 38 61 00 20 */ addi r3, r1, 0x20 -/* 80281228 0027E168 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028122C 0027E16C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80281230 0027E170 7D 89 03 A6 */ mtctr r12 -/* 80281234 0027E174 4E 80 04 21 */ bctrl -/* 80281238 0027E178 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8028123C 0027E17C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80281240 0027E180 EC 41 88 28 */ fsubs f2, f1, f17 -/* 80281244 0027E184 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80281248 0027E188 EC 80 80 28 */ fsubs f4, f0, f16 -/* 8028124C 0027E18C EC 01 90 28 */ fsubs f0, f1, f18 -/* 80281250 0027E190 EC 35 00 B2 */ fmuls f1, f21, f2 -/* 80281254 0027E194 EC 3D 09 3A */ fmadds f1, f29, f4, f1 -/* 80281258 0027E198 EC BC 08 3A */ fmadds f5, f28, f0, f1 -/* 8028125C 0027E19C FC 05 98 40 */ fcmpo cr0, f5, f19 -/* 80281260 0027E1A0 40 80 00 D8 */ bge lbl_80281338 -/* 80281264 0027E1A4 C0 C2 D2 38 */ lfs f6, lbl_8051B598@sda21(r2) -/* 80281268 0027E1A8 FC 05 30 40 */ fcmpo cr0, f5, f6 -/* 8028126C 0027E1AC 40 81 00 CC */ ble lbl_80281338 -/* 80281270 0027E1B0 EC 79 00 B2 */ fmuls f3, f25, f2 -/* 80281274 0027E1B4 EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 80281278 0027E1B8 EC 45 05 32 */ fmuls f2, f5, f20 -/* 8028127C 0027E1BC EC BA 19 3A */ fmadds f5, f26, f4, f3 -/* 80281280 0027E1C0 EC 9B 09 3A */ fmadds f4, f27, f4, f1 -/* 80281284 0027E1C4 EC 62 00 B2 */ fmuls f3, f2, f2 -/* 80281288 0027E1C8 EC 38 28 3A */ fmadds f1, f24, f0, f5 -/* 8028128C 0027E1CC EC 1E 20 3A */ fmadds f0, f30, f0, f4 -/* 80281290 0027E1D0 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80281294 0027E1D4 EC 80 20 3A */ fmadds f4, f0, f0, f4 -/* 80281298 0027E1D8 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8028129C 0027E1DC 40 80 00 9C */ bge lbl_80281338 -/* 802812A0 0027E1E0 FC 04 30 40 */ fcmpo cr0, f4, f6 -/* 802812A4 0027E1E4 40 81 00 18 */ ble lbl_802812BC -/* 802812A8 0027E1E8 40 81 00 10 */ ble lbl_802812B8 -/* 802812AC 0027E1EC FC 60 20 34 */ frsqrte f3, f4 -/* 802812B0 0027E1F0 EC C3 01 32 */ fmuls f6, f3, f4 -/* 802812B4 0027E1F4 48 00 00 08 */ b lbl_802812BC -lbl_802812B8: -/* 802812B8 0027E1F8 FC C0 20 90 */ fmr f6, f4 -lbl_802812BC: -/* 802812BC 0027E1FC EC E6 10 24 */ fdivs f7, f6, f2 -/* 802812C0 0027E200 C0 42 D2 50 */ lfs f2, lbl_8051B5B0@sda21(r2) -/* 802812C4 0027E204 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802812C8 0027E208 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 802812CC 0027E20C 3C 60 80 4B */ lis r3, __vt__Q24Game12InteractWind@ha -/* 802812D0 0027E210 C0 A2 D2 88 */ lfs f5, lbl_8051B5E8@sda21(r2) -/* 802812D4 0027E214 EC 82 38 28 */ fsubs f4, f2, f7 -/* 802812D8 0027E218 C0 C5 06 04 */ lfs f6, 0x604(r5) -/* 802812DC 0027E21C EC 7B 00 32 */ fmuls f3, f27, f0 -/* 802812E0 0027E220 38 04 A3 00 */ addi r0, r4, __vt__Q24Game11Interaction@l -/* 802812E4 0027E224 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 802812E8 0027E228 C0 42 D2 38 */ lfs f2, lbl_8051B598@sda21(r2) -/* 802812EC 0027E22C EC 85 39 3A */ fmadds f4, f5, f4, f7 -/* 802812F0 0027E230 90 01 00 64 */ stw r0, 0x64(r1) -/* 802812F4 0027E234 EC 76 18 7A */ fmadds f3, f22, f1, f3 -/* 802812F8 0027E238 38 03 49 74 */ addi r0, r3, __vt__Q24Game12InteractWind@l -/* 802812FC 0027E23C EC 17 00 7A */ fmadds f0, f23, f1, f0 -/* 80281300 0027E240 93 E1 00 68 */ stw r31, 0x68(r1) -/* 80281304 0027E244 EC 24 00 F2 */ fmuls f1, f4, f3 -/* 80281308 0027E248 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028130C 0027E24C EC 04 00 32 */ fmuls f0, f4, f0 -/* 80281310 0027E250 7F C3 F3 78 */ mr r3, r30 -/* 80281314 0027E254 D0 C1 00 6C */ stfs f6, 0x6c(r1) -/* 80281318 0027E258 38 81 00 64 */ addi r4, r1, 0x64 -/* 8028131C 0027E25C D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80281320 0027E260 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80281324 0027E264 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80281328 0027E268 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028132C 0027E26C 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80281330 0027E270 7D 89 03 A6 */ mtctr r12 -/* 80281334 0027E274 4E 80 04 21 */ bctrl -lbl_80281338: -/* 80281338 0027E278 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8028133C 0027E27C 28 00 00 00 */ cmplwi r0, 0 -/* 80281340 0027E280 40 82 00 24 */ bne lbl_80281364 -/* 80281344 0027E284 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80281348 0027E288 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8028134C 0027E28C 81 83 00 00 */ lwz r12, 0(r3) -/* 80281350 0027E290 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80281354 0027E294 7D 89 03 A6 */ mtctr r12 -/* 80281358 0027E298 4E 80 04 21 */ bctrl -/* 8028135C 0027E29C 90 61 00 40 */ stw r3, 0x40(r1) -/* 80281360 0027E2A0 48 00 00 94 */ b lbl_802813F4 -lbl_80281364: -/* 80281364 0027E2A4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80281368 0027E2A8 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8028136C 0027E2AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80281370 0027E2B0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80281374 0027E2B4 7D 89 03 A6 */ mtctr r12 -/* 80281378 0027E2B8 4E 80 04 21 */ bctrl -/* 8028137C 0027E2BC 90 61 00 40 */ stw r3, 0x40(r1) -/* 80281380 0027E2C0 48 00 00 58 */ b lbl_802813D8 -lbl_80281384: -/* 80281384 0027E2C4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80281388 0027E2C8 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8028138C 0027E2CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80281390 0027E2D0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80281394 0027E2D4 7D 89 03 A6 */ mtctr r12 -/* 80281398 0027E2D8 4E 80 04 21 */ bctrl -/* 8028139C 0027E2DC 7C 64 1B 78 */ mr r4, r3 -/* 802813A0 0027E2E0 80 61 00 48 */ lwz r3, 0x48(r1) -/* 802813A4 0027E2E4 81 83 00 00 */ lwz r12, 0(r3) -/* 802813A8 0027E2E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802813AC 0027E2EC 7D 89 03 A6 */ mtctr r12 -/* 802813B0 0027E2F0 4E 80 04 21 */ bctrl -/* 802813B4 0027E2F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802813B8 0027E2F8 40 82 00 3C */ bne lbl_802813F4 -/* 802813BC 0027E2FC 80 61 00 44 */ lwz r3, 0x44(r1) -/* 802813C0 0027E300 80 81 00 40 */ lwz r4, 0x40(r1) -/* 802813C4 0027E304 81 83 00 00 */ lwz r12, 0(r3) -/* 802813C8 0027E308 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802813CC 0027E30C 7D 89 03 A6 */ mtctr r12 -/* 802813D0 0027E310 4E 80 04 21 */ bctrl -/* 802813D4 0027E314 90 61 00 40 */ stw r3, 0x40(r1) -lbl_802813D8: -/* 802813D8 0027E318 81 81 00 3C */ lwz r12, 0x3c(r1) -/* 802813DC 0027E31C 38 61 00 3C */ addi r3, r1, 0x3c -/* 802813E0 0027E320 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802813E4 0027E324 7D 89 03 A6 */ mtctr r12 -/* 802813E8 0027E328 4E 80 04 21 */ bctrl -/* 802813EC 0027E32C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802813F0 0027E330 41 82 FF 94 */ beq lbl_80281384 -lbl_802813F4: -/* 802813F4 0027E334 80 61 00 44 */ lwz r3, 0x44(r1) -/* 802813F8 0027E338 81 83 00 00 */ lwz r12, 0(r3) -/* 802813FC 0027E33C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80281400 0027E340 7D 89 03 A6 */ mtctr r12 -/* 80281404 0027E344 4E 80 04 21 */ bctrl -/* 80281408 0027E348 80 81 00 40 */ lwz r4, 0x40(r1) -/* 8028140C 0027E34C 7C 04 18 40 */ cmplw r4, r3 -/* 80281410 0027E350 40 82 FD E0 */ bne lbl_802811F0 -/* 80281414 0027E354 38 00 00 00 */ li r0, 0 -/* 80281418 0027E358 80 6D 92 F4 */ lwz r3, pikiMgr__4Game@sda21(r13) -/* 8028141C 0027E35C 3C 80 80 4B */ lis r4, __vt__22Iterator$$0Q24Game4Piki$$1@ha -/* 80281420 0027E360 90 01 00 38 */ stw r0, 0x38(r1) -/* 80281424 0027E364 38 84 BC 9C */ addi r4, r4, __vt__22Iterator$$0Q24Game4Piki$$1@l -/* 80281428 0027E368 28 00 00 00 */ cmplwi r0, 0 -/* 8028142C 0027E36C 90 81 00 2C */ stw r4, 0x2c(r1) -/* 80281430 0027E370 90 01 00 30 */ stw r0, 0x30(r1) -/* 80281434 0027E374 90 61 00 34 */ stw r3, 0x34(r1) -/* 80281438 0027E378 40 82 00 1C */ bne lbl_80281454 -/* 8028143C 0027E37C 81 83 00 00 */ lwz r12, 0(r3) -/* 80281440 0027E380 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80281444 0027E384 7D 89 03 A6 */ mtctr r12 -/* 80281448 0027E388 4E 80 04 21 */ bctrl -/* 8028144C 0027E38C 90 61 00 30 */ stw r3, 0x30(r1) -/* 80281450 0027E390 48 00 02 C4 */ b lbl_80281714 -lbl_80281454: -/* 80281454 0027E394 81 83 00 00 */ lwz r12, 0(r3) -/* 80281458 0027E398 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028145C 0027E39C 7D 89 03 A6 */ mtctr r12 -/* 80281460 0027E3A0 4E 80 04 21 */ bctrl -/* 80281464 0027E3A4 90 61 00 30 */ stw r3, 0x30(r1) -/* 80281468 0027E3A8 48 00 00 58 */ b lbl_802814C0 -lbl_8028146C: -/* 8028146C 0027E3AC 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80281470 0027E3B0 80 81 00 30 */ lwz r4, 0x30(r1) -/* 80281474 0027E3B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80281478 0027E3B8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028147C 0027E3BC 7D 89 03 A6 */ mtctr r12 -/* 80281480 0027E3C0 4E 80 04 21 */ bctrl -/* 80281484 0027E3C4 7C 64 1B 78 */ mr r4, r3 -/* 80281488 0027E3C8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8028148C 0027E3CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80281490 0027E3D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80281494 0027E3D4 7D 89 03 A6 */ mtctr r12 -/* 80281498 0027E3D8 4E 80 04 21 */ bctrl -/* 8028149C 0027E3DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802814A0 0027E3E0 40 82 02 74 */ bne lbl_80281714 -/* 802814A4 0027E3E4 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802814A8 0027E3E8 80 81 00 30 */ lwz r4, 0x30(r1) -/* 802814AC 0027E3EC 81 83 00 00 */ lwz r12, 0(r3) -/* 802814B0 0027E3F0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802814B4 0027E3F4 7D 89 03 A6 */ mtctr r12 -/* 802814B8 0027E3F8 4E 80 04 21 */ bctrl -/* 802814BC 0027E3FC 90 61 00 30 */ stw r3, 0x30(r1) -lbl_802814C0: -/* 802814C0 0027E400 81 81 00 2C */ lwz r12, 0x2c(r1) -/* 802814C4 0027E404 38 61 00 2C */ addi r3, r1, 0x2c -/* 802814C8 0027E408 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802814CC 0027E40C 7D 89 03 A6 */ mtctr r12 -/* 802814D0 0027E410 4E 80 04 21 */ bctrl -/* 802814D4 0027E414 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802814D8 0027E418 41 82 FF 94 */ beq lbl_8028146C -/* 802814DC 0027E41C 48 00 02 38 */ b lbl_80281714 -lbl_802814E0: -/* 802814E0 0027E420 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802814E4 0027E424 81 83 00 00 */ lwz r12, 0(r3) -/* 802814E8 0027E428 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802814EC 0027E42C 7D 89 03 A6 */ mtctr r12 -/* 802814F0 0027E430 4E 80 04 21 */ bctrl -/* 802814F4 0027E434 81 83 00 00 */ lwz r12, 0(r3) -/* 802814F8 0027E438 7C 7E 1B 78 */ mr r30, r3 -/* 802814FC 0027E43C 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80281500 0027E440 7D 89 03 A6 */ mtctr r12 -/* 80281504 0027E444 4E 80 04 21 */ bctrl -/* 80281508 0027E448 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028150C 0027E44C 41 82 01 4C */ beq lbl_80281658 -/* 80281510 0027E450 7F C3 F3 78 */ mr r3, r30 -/* 80281514 0027E454 81 9E 00 00 */ lwz r12, 0(r30) -/* 80281518 0027E458 81 8C 01 C0 */ lwz r12, 0x1c0(r12) -/* 8028151C 0027E45C 7D 89 03 A6 */ mtctr r12 -/* 80281520 0027E460 4E 80 04 21 */ bctrl -/* 80281524 0027E464 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80281528 0027E468 41 82 01 30 */ beq lbl_80281658 -/* 8028152C 0027E46C 7F C4 F3 78 */ mr r4, r30 -/* 80281530 0027E470 38 61 00 14 */ addi r3, r1, 0x14 -/* 80281534 0027E474 81 9E 00 00 */ lwz r12, 0(r30) -/* 80281538 0027E478 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028153C 0027E47C 7D 89 03 A6 */ mtctr r12 -/* 80281540 0027E480 4E 80 04 21 */ bctrl -/* 80281544 0027E484 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80281548 0027E488 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8028154C 0027E48C EC 41 88 28 */ fsubs f2, f1, f17 -/* 80281550 0027E490 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80281554 0027E494 EC 60 80 28 */ fsubs f3, f0, f16 -/* 80281558 0027E498 EC 81 90 28 */ fsubs f4, f1, f18 -/* 8028155C 0027E49C EC 15 00 B2 */ fmuls f0, f21, f2 -/* 80281560 0027E4A0 EC 1D 00 FA */ fmadds f0, f29, f3, f0 -/* 80281564 0027E4A4 EC DC 01 3A */ fmadds f6, f28, f4, f0 -/* 80281568 0027E4A8 FC 06 98 40 */ fcmpo cr0, f6, f19 -/* 8028156C 0027E4AC 40 80 00 EC */ bge lbl_80281658 -/* 80281570 0027E4B0 C0 A2 D2 38 */ lfs f5, lbl_8051B598@sda21(r2) -/* 80281574 0027E4B4 FC 06 28 40 */ fcmpo cr0, f6, f5 -/* 80281578 0027E4B8 40 81 00 E0 */ ble lbl_80281658 -/* 8028157C 0027E4BC EC 39 00 B2 */ fmuls f1, f25, f2 -/* 80281580 0027E4C0 EC 1F 00 B2 */ fmuls f0, f31, f2 -/* 80281584 0027E4C4 EC 46 05 32 */ fmuls f2, f6, f20 -/* 80281588 0027E4C8 EC 3A 08 FA */ fmadds f1, f26, f3, f1 -/* 8028158C 0027E4CC EC 1B 00 FA */ fmadds f0, f27, f3, f0 -/* 80281590 0027E4D0 EC 62 00 B2 */ fmuls f3, f2, f2 -/* 80281594 0027E4D4 EC 38 09 3A */ fmadds f1, f24, f4, f1 -/* 80281598 0027E4D8 EC 1E 01 3A */ fmadds f0, f30, f4, f0 -/* 8028159C 0027E4DC EC 81 00 72 */ fmuls f4, f1, f1 -/* 802815A0 0027E4E0 EC 80 20 3A */ fmadds f4, f0, f0, f4 -/* 802815A4 0027E4E4 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 802815A8 0027E4E8 40 80 00 B0 */ bge lbl_80281658 -/* 802815AC 0027E4EC FC 04 28 40 */ fcmpo cr0, f4, f5 -/* 802815B0 0027E4F0 40 81 00 14 */ ble lbl_802815C4 -/* 802815B4 0027E4F4 40 81 00 14 */ ble lbl_802815C8 -/* 802815B8 0027E4F8 FC 60 20 34 */ frsqrte f3, f4 -/* 802815BC 0027E4FC EC 83 01 32 */ fmuls f4, f3, f4 -/* 802815C0 0027E500 48 00 00 08 */ b lbl_802815C8 -lbl_802815C4: -/* 802815C4 0027E504 FC 80 28 90 */ fmr f4, f5 -lbl_802815C8: -/* 802815C8 0027E508 ED 24 10 24 */ fdivs f9, f4, f2 -/* 802815CC 0027E50C C0 42 D2 50 */ lfs f2, lbl_8051B5B0@sda21(r2) -/* 802815D0 0027E510 C0 E2 D2 90 */ lfs f7, lbl_8051B5F0@sda21(r2) -/* 802815D4 0027E514 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 802815D8 0027E518 C0 82 D2 58 */ lfs f4, lbl_8051B5B8@sda21(r2) -/* 802815DC 0027E51C 3C 60 80 4B */ lis r3, __vt__Q24Game12InteractWind@ha -/* 802815E0 0027E520 EC DB 00 32 */ fmuls f6, f27, f0 -/* 802815E4 0027E524 C1 02 D2 B0 */ lfs f8, lbl_8051B610@sda21(r2) -/* 802815E8 0027E528 EC 7E 00 32 */ fmuls f3, f30, f0 -/* 802815EC 0027E52C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802815F0 0027E530 EC 42 48 28 */ fsubs f2, f2, f9 -/* 802815F4 0027E534 C0 A2 D2 60 */ lfs f5, lbl_8051B5C0@sda21(r2) -/* 802815F8 0027E538 C0 05 06 04 */ lfs f0, 0x604(r5) -/* 802815FC 0027E53C EC E7 02 72 */ fmuls f7, f7, f9 -/* 80281600 0027E540 EC 84 02 72 */ fmuls f4, f4, f9 -/* 80281604 0027E544 38 04 A3 00 */ addi r0, r4, __vt__Q24Game11Interaction@l -/* 80281608 0027E548 EC D6 30 7A */ fmadds f6, f22, f1, f6 -/* 8028160C 0027E54C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80281610 0027E550 EC E8 38 BA */ fmadds f7, f8, f2, f7 -/* 80281614 0027E554 EC 37 18 7A */ fmadds f1, f23, f1, f3 -/* 80281618 0027E558 EC 45 20 BA */ fmadds f2, f5, f2, f4 -/* 8028161C 0027E55C 38 03 49 74 */ addi r0, r3, __vt__Q24Game12InteractWind@l -/* 80281620 0027E560 EC 67 01 B2 */ fmuls f3, f7, f6 -/* 80281624 0027E564 93 E1 00 50 */ stw r31, 0x50(r1) -/* 80281628 0027E568 EC 27 00 72 */ fmuls f1, f7, f1 -/* 8028162C 0027E56C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80281630 0027E570 7F C3 F3 78 */ mr r3, r30 -/* 80281634 0027E574 38 81 00 4C */ addi r4, r1, 0x4c -/* 80281638 0027E578 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8028163C 0027E57C D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80281640 0027E580 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 80281644 0027E584 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80281648 0027E588 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028164C 0027E58C 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80281650 0027E590 7D 89 03 A6 */ mtctr r12 -/* 80281654 0027E594 4E 80 04 21 */ bctrl -lbl_80281658: -/* 80281658 0027E598 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8028165C 0027E59C 28 00 00 00 */ cmplwi r0, 0 -/* 80281660 0027E5A0 40 82 00 24 */ bne lbl_80281684 -/* 80281664 0027E5A4 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80281668 0027E5A8 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8028166C 0027E5AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80281670 0027E5B0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80281674 0027E5B4 7D 89 03 A6 */ mtctr r12 -/* 80281678 0027E5B8 4E 80 04 21 */ bctrl -/* 8028167C 0027E5BC 90 61 00 30 */ stw r3, 0x30(r1) -/* 80281680 0027E5C0 48 00 00 94 */ b lbl_80281714 -lbl_80281684: -/* 80281684 0027E5C4 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80281688 0027E5C8 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8028168C 0027E5CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80281690 0027E5D0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80281694 0027E5D4 7D 89 03 A6 */ mtctr r12 -/* 80281698 0027E5D8 4E 80 04 21 */ bctrl -/* 8028169C 0027E5DC 90 61 00 30 */ stw r3, 0x30(r1) -/* 802816A0 0027E5E0 48 00 00 58 */ b lbl_802816F8 -lbl_802816A4: -/* 802816A4 0027E5E4 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802816A8 0027E5E8 80 81 00 30 */ lwz r4, 0x30(r1) -/* 802816AC 0027E5EC 81 83 00 00 */ lwz r12, 0(r3) -/* 802816B0 0027E5F0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802816B4 0027E5F4 7D 89 03 A6 */ mtctr r12 -/* 802816B8 0027E5F8 4E 80 04 21 */ bctrl -/* 802816BC 0027E5FC 7C 64 1B 78 */ mr r4, r3 -/* 802816C0 0027E600 80 61 00 38 */ lwz r3, 0x38(r1) -/* 802816C4 0027E604 81 83 00 00 */ lwz r12, 0(r3) -/* 802816C8 0027E608 81 8C 00 08 */ lwz r12, 8(r12) -/* 802816CC 0027E60C 7D 89 03 A6 */ mtctr r12 -/* 802816D0 0027E610 4E 80 04 21 */ bctrl -/* 802816D4 0027E614 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802816D8 0027E618 40 82 00 3C */ bne lbl_80281714 -/* 802816DC 0027E61C 80 61 00 34 */ lwz r3, 0x34(r1) -/* 802816E0 0027E620 80 81 00 30 */ lwz r4, 0x30(r1) -/* 802816E4 0027E624 81 83 00 00 */ lwz r12, 0(r3) -/* 802816E8 0027E628 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802816EC 0027E62C 7D 89 03 A6 */ mtctr r12 -/* 802816F0 0027E630 4E 80 04 21 */ bctrl -/* 802816F4 0027E634 90 61 00 30 */ stw r3, 0x30(r1) -lbl_802816F8: -/* 802816F8 0027E638 81 81 00 2C */ lwz r12, 0x2c(r1) -/* 802816FC 0027E63C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80281700 0027E640 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80281704 0027E644 7D 89 03 A6 */ mtctr r12 -/* 80281708 0027E648 4E 80 04 21 */ bctrl -/* 8028170C 0027E64C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80281710 0027E650 41 82 FF 94 */ beq lbl_802816A4 -lbl_80281714: -/* 80281714 0027E654 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80281718 0027E658 81 83 00 00 */ lwz r12, 0(r3) -/* 8028171C 0027E65C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80281720 0027E660 7D 89 03 A6 */ mtctr r12 -/* 80281724 0027E664 4E 80 04 21 */ bctrl -/* 80281728 0027E668 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8028172C 0027E66C 7C 04 18 40 */ cmplw r4, r3 -/* 80281730 0027E670 40 82 FD B0 */ bne lbl_802814E0 -/* 80281734 0027E674 7F E4 FB 78 */ mr r4, r31 -/* 80281738 0027E678 38 61 00 08 */ addi r3, r1, 8 -/* 8028173C 0027E67C 4B FF F5 D9 */ bl getAttackPosition__Q34Game3Mar3ObjFv -/* 80281740 0027E680 C0 01 00 08 */ lfs f0, 8(r1) -/* 80281744 0027E684 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -/* 80281748 0027E688 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8028174C 0027E68C D0 1F 02 FC */ stfs f0, 0x2fc(r31) -/* 80281750 0027E690 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80281754 0027E694 D0 1F 03 00 */ stfs f0, 0x300(r31) -/* 80281758 0027E698 E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 -/* 8028175C 0027E69C CB E1 01 80 */ lfd f31, 0x180(r1) -/* 80281760 0027E6A0 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 -/* 80281764 0027E6A4 CB C1 01 70 */ lfd f30, 0x170(r1) -/* 80281768 0027E6A8 E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 -/* 8028176C 0027E6AC CB A1 01 60 */ lfd f29, 0x160(r1) -/* 80281770 0027E6B0 E3 81 01 58 */ psq_l f28, 344(r1), 0, qr0 -/* 80281774 0027E6B4 CB 81 01 50 */ lfd f28, 0x150(r1) -/* 80281778 0027E6B8 E3 61 01 48 */ psq_l f27, 328(r1), 0, qr0 -/* 8028177C 0027E6BC CB 61 01 40 */ lfd f27, 0x140(r1) -/* 80281780 0027E6C0 E3 41 01 38 */ psq_l f26, 312(r1), 0, qr0 -/* 80281784 0027E6C4 CB 41 01 30 */ lfd f26, 0x130(r1) -/* 80281788 0027E6C8 E3 21 01 28 */ psq_l f25, 296(r1), 0, qr0 -/* 8028178C 0027E6CC CB 21 01 20 */ lfd f25, 0x120(r1) -/* 80281790 0027E6D0 E3 01 01 18 */ psq_l f24, 280(r1), 0, qr0 -/* 80281794 0027E6D4 CB 01 01 10 */ lfd f24, 0x110(r1) -/* 80281798 0027E6D8 E2 E1 01 08 */ psq_l f23, 264(r1), 0, qr0 -/* 8028179C 0027E6DC CA E1 01 00 */ lfd f23, 0x100(r1) -/* 802817A0 0027E6E0 E2 C1 00 F8 */ psq_l f22, 248(r1), 0, qr0 -/* 802817A4 0027E6E4 CA C1 00 F0 */ lfd f22, 0xf0(r1) -/* 802817A8 0027E6E8 E2 A1 00 E8 */ psq_l f21, 232(r1), 0, qr0 -/* 802817AC 0027E6EC CA A1 00 E0 */ lfd f21, 0xe0(r1) -/* 802817B0 0027E6F0 E2 81 00 D8 */ psq_l f20, 216(r1), 0, qr0 -/* 802817B4 0027E6F4 CA 81 00 D0 */ lfd f20, 0xd0(r1) -/* 802817B8 0027E6F8 E2 61 00 C8 */ psq_l f19, 200(r1), 0, qr0 -/* 802817BC 0027E6FC CA 61 00 C0 */ lfd f19, 0xc0(r1) -/* 802817C0 0027E700 E2 41 00 B8 */ psq_l f18, 184(r1), 0, qr0 -/* 802817C4 0027E704 CA 41 00 B0 */ lfd f18, 0xb0(r1) -/* 802817C8 0027E708 E2 21 00 A8 */ psq_l f17, 168(r1), 0, qr0 -/* 802817CC 0027E70C CA 21 00 A0 */ lfd f17, 0xa0(r1) -/* 802817D0 0027E710 E2 01 00 98 */ psq_l f16, 152(r1), 0, qr0 -/* 802817D4 0027E714 CA 01 00 90 */ lfd f16, 0x90(r1) -/* 802817D8 0027E718 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 802817DC 0027E71C 80 01 01 94 */ lwz r0, 0x194(r1) -/* 802817E0 0027E720 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 802817E4 0027E724 7C 08 03 A6 */ mtlr r0 -/* 802817E8 0027E728 38 21 01 90 */ addi r1, r1, 0x190 -/* 802817EC 0027E72C 4E 80 00 20 */ blr - -.global createEffect__Q34Game3Mar3ObjFv -createEffect__Q34Game3Mar3ObjFv: -/* 802817F0 0027E730 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802817F4 0027E734 7C 08 02 A6 */ mflr r0 -/* 802817F8 0027E738 90 01 00 14 */ stw r0, 0x14(r1) -/* 802817FC 0027E73C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281800 0027E740 7C 7F 1B 78 */ mr r31, r3 -/* 80281804 0027E744 38 60 00 2C */ li r3, 0x2c -/* 80281808 0027E748 93 C1 00 08 */ stw r30, 8(r1) -/* 8028180C 0027E74C 4B DA 26 99 */ bl __nw__FUl -/* 80281810 0027E750 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80281814 0027E754 41 82 00 20 */ beq lbl_80281834 -/* 80281818 0027E758 38 80 00 00 */ li r4, 0 -/* 8028181C 0027E75C 38 A0 00 71 */ li r5, 0x71 -/* 80281820 0027E760 38 C0 00 72 */ li r6, 0x72 -/* 80281824 0027E764 48 12 EC 79 */ bl __ct__Q23efx10TChaseMtx2FPA4_fUsUs -/* 80281828 0027E768 3C 60 80 4D */ lis r3, __vt__Q23efx10TFusenDead@ha -/* 8028182C 0027E76C 38 03 89 2C */ addi r0, r3, __vt__Q23efx10TFusenDead@l -/* 80281830 0027E770 90 1E 00 00 */ stw r0, 0(r30) -lbl_80281834: -/* 80281834 0027E774 93 DF 03 10 */ stw r30, 0x310(r31) -/* 80281838 0027E778 38 60 00 34 */ li r3, 0x34 -/* 8028183C 0027E77C 4B DA 26 69 */ bl __nw__FUl -/* 80281840 0027E780 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80281844 0027E784 41 82 00 24 */ beq lbl_80281868 -/* 80281848 0027E788 38 9F 02 F8 */ addi r4, r31, 0x2f8 -/* 8028184C 0027E78C 38 BF 01 FC */ addi r5, r31, 0x1fc -/* 80281850 0027E790 38 C0 00 6C */ li r6, 0x6c -/* 80281854 0027E794 38 E0 00 6D */ li r7, 0x6d -/* 80281858 0027E798 48 12 F1 75 */ bl __ct__Q23efx14TChasePosYRot2FP10Vector3$$0f$$1PfUsUs -/* 8028185C 0027E79C 3C 60 80 4D */ lis r3, __vt__Q23efx12TFusenAirhit@ha -/* 80281860 0027E7A0 38 03 89 10 */ addi r0, r3, __vt__Q23efx12TFusenAirhit@l -/* 80281864 0027E7A4 90 1E 00 00 */ stw r0, 0(r30) -lbl_80281868: -/* 80281868 0027E7A8 93 DF 03 14 */ stw r30, 0x314(r31) -/* 8028186C 0027E7AC 38 60 00 40 */ li r3, 0x40 -/* 80281870 0027E7B0 4B DA 26 35 */ bl __nw__FUl -/* 80281874 0027E7B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80281878 0027E7B8 41 82 00 24 */ beq lbl_8028189C -/* 8028187C 0027E7BC 38 80 00 00 */ li r4, 0 -/* 80281880 0027E7C0 38 A0 00 6E */ li r5, 0x6e -/* 80281884 0027E7C4 38 C0 00 6F */ li r6, 0x6f -/* 80281888 0027E7C8 38 E0 00 70 */ li r7, 0x70 -/* 8028188C 0027E7CC 48 12 ED 21 */ bl __ct__Q23efx10TChaseMtx3FPA4_fUsUsUs -/* 80281890 0027E7D0 3C 60 80 4D */ lis r3, __vt__Q23efx9TFusenAir@ha -/* 80281894 0027E7D4 38 03 88 F4 */ addi r0, r3, __vt__Q23efx9TFusenAir@l -/* 80281898 0027E7D8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8028189C: -/* 8028189C 0027E7DC 93 DF 03 18 */ stw r30, 0x318(r31) -/* 802818A0 0027E7E0 38 60 00 14 */ li r3, 0x14 -/* 802818A4 0027E7E4 4B DA 26 01 */ bl __nw__FUl -/* 802818A8 0027E7E8 28 03 00 00 */ cmplwi r3, 0 -/* 802818AC 0027E7EC 41 82 00 78 */ beq lbl_80281924 -/* 802818B0 0027E7F0 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 802818B4 0027E7F4 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 802818B8 0027E7F8 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 802818BC 0027E7FC 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 802818C0 0027E800 90 03 00 00 */ stw r0, 0(r3) -/* 802818C4 0027E804 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 802818C8 0027E808 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 802818CC 0027E80C 3C 80 80 4E */ lis r4, __vt__Q23efx9TChaseMtx@ha -/* 802818D0 0027E810 90 03 00 04 */ stw r0, 4(r3) -/* 802818D4 0027E814 38 E4 68 A8 */ addi r7, r4, __vt__Q23efx9TChaseMtx@l -/* 802818D8 0027E818 3C 80 80 4D */ lis r4, __vt__Q23efx9TFusenSui@ha -/* 802818DC 0027E81C 38 05 00 14 */ addi r0, r5, 0x14 -/* 802818E0 0027E820 90 A3 00 00 */ stw r5, 0(r3) -/* 802818E4 0027E824 38 84 88 A8 */ addi r4, r4, __vt__Q23efx9TFusenSui@l -/* 802818E8 0027E828 39 20 00 00 */ li r9, 0 -/* 802818EC 0027E82C 39 00 02 B2 */ li r8, 0x2b2 -/* 802818F0 0027E830 90 03 00 04 */ stw r0, 4(r3) -/* 802818F4 0027E834 38 C7 00 14 */ addi r6, r7, 0x14 -/* 802818F8 0027E838 38 A0 00 73 */ li r5, 0x73 -/* 802818FC 0027E83C 38 04 00 14 */ addi r0, r4, 0x14 -/* 80281900 0027E840 91 23 00 08 */ stw r9, 8(r3) -/* 80281904 0027E844 B1 03 00 0C */ sth r8, 0xc(r3) -/* 80281908 0027E848 99 23 00 0E */ stb r9, 0xe(r3) -/* 8028190C 0027E84C 90 E3 00 00 */ stw r7, 0(r3) -/* 80281910 0027E850 90 C3 00 04 */ stw r6, 4(r3) -/* 80281914 0027E854 91 23 00 10 */ stw r9, 0x10(r3) -/* 80281918 0027E858 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028191C 0027E85C 90 83 00 00 */ stw r4, 0(r3) -/* 80281920 0027E860 90 03 00 04 */ stw r0, 4(r3) -lbl_80281924: -/* 80281924 0027E864 90 7F 03 1C */ stw r3, 0x31c(r31) -/* 80281928 0027E868 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028192C 0027E86C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281930 0027E870 83 C1 00 08 */ lwz r30, 8(r1) -/* 80281934 0027E874 7C 08 03 A6 */ mtlr r0 -/* 80281938 0027E878 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028193C 0027E87C 4E 80 00 20 */ blr - -.global setupEffect__Q34Game3Mar3ObjFv -setupEffect__Q34Game3Mar3ObjFv: -/* 80281940 0027E880 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281944 0027E884 7C 08 02 A6 */ mflr r0 -/* 80281948 0027E888 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028194C 0027E88C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281950 0027E890 7C 7F 1B 78 */ mr r31, r3 -/* 80281954 0027E894 80 63 03 10 */ lwz r3, 0x310(r3) -/* 80281958 0027E898 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 8028195C 0027E89C 48 12 EC 45 */ bl setMtxptr__Q23efx10TChaseMtx2FPA4_f -/* 80281960 0027E8A0 80 7F 03 18 */ lwz r3, 0x318(r31) -/* 80281964 0027E8A4 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 80281968 0027E8A8 48 12 EC E5 */ bl setMtxptr__Q23efx10TChaseMtx3FPA4_f -/* 8028196C 0027E8AC 80 1F 02 DC */ lwz r0, 0x2dc(r31) -/* 80281970 0027E8B0 80 7F 03 1C */ lwz r3, 0x31c(r31) -/* 80281974 0027E8B4 90 03 00 10 */ stw r0, 0x10(r3) -/* 80281978 0027E8B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028197C 0027E8BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281980 0027E8C0 7C 08 03 A6 */ mtlr r0 -/* 80281984 0027E8C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281988 0027E8C8 4E 80 00 20 */ blr - -.global startDeadEffect__Q34Game3Mar3ObjFv -startDeadEffect__Q34Game3Mar3ObjFv: -/* 8028198C 0027E8CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281990 0027E8D0 7C 08 02 A6 */ mflr r0 -/* 80281994 0027E8D4 38 80 00 00 */ li r4, 0 -/* 80281998 0027E8D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028199C 0027E8DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802819A0 0027E8E0 7C 7F 1B 78 */ mr r31, r3 -/* 802819A4 0027E8E4 80 63 03 10 */ lwz r3, 0x310(r3) -/* 802819A8 0027E8E8 81 83 00 00 */ lwz r12, 0(r3) -/* 802819AC 0027E8EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802819B0 0027E8F0 7D 89 03 A6 */ mtctr r12 -/* 802819B4 0027E8F4 4E 80 04 21 */ bctrl -/* 802819B8 0027E8F8 80 7F 03 14 */ lwz r3, 0x314(r31) -/* 802819BC 0027E8FC 81 83 00 00 */ lwz r12, 0(r3) -/* 802819C0 0027E900 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802819C4 0027E904 7D 89 03 A6 */ mtctr r12 -/* 802819C8 0027E908 4E 80 04 21 */ bctrl -/* 802819CC 0027E90C 80 7F 03 18 */ lwz r3, 0x318(r31) -/* 802819D0 0027E910 81 83 00 00 */ lwz r12, 0(r3) -/* 802819D4 0027E914 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802819D8 0027E918 7D 89 03 A6 */ mtctr r12 -/* 802819DC 0027E91C 4E 80 04 21 */ bctrl -/* 802819E0 0027E920 80 7F 03 1C */ lwz r3, 0x31c(r31) -/* 802819E4 0027E924 81 83 00 00 */ lwz r12, 0(r3) -/* 802819E8 0027E928 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802819EC 0027E92C 7D 89 03 A6 */ mtctr r12 -/* 802819F0 0027E930 4E 80 04 21 */ bctrl -/* 802819F4 0027E934 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802819F8 0027E938 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802819FC 0027E93C 7C 08 03 A6 */ mtlr r0 -/* 80281A00 0027E940 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281A04 0027E944 4E 80 00 20 */ blr - -.global createSuckEffect__Q34Game3Mar3ObjFv -createSuckEffect__Q34Game3Mar3ObjFv: -/* 80281A08 0027E948 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281A0C 0027E94C 7C 08 02 A6 */ mflr r0 -/* 80281A10 0027E950 38 80 00 00 */ li r4, 0 -/* 80281A14 0027E954 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281A18 0027E958 80 63 03 1C */ lwz r3, 0x31c(r3) -/* 80281A1C 0027E95C 81 83 00 00 */ lwz r12, 0(r3) -/* 80281A20 0027E960 81 8C 00 08 */ lwz r12, 8(r12) -/* 80281A24 0027E964 7D 89 03 A6 */ mtctr r12 -/* 80281A28 0027E968 4E 80 04 21 */ bctrl -/* 80281A2C 0027E96C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281A30 0027E970 7C 08 03 A6 */ mtlr r0 -/* 80281A34 0027E974 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281A38 0027E978 4E 80 00 20 */ blr - -.global startWindEffect__Q34Game3Mar3ObjFv -startWindEffect__Q34Game3Mar3ObjFv: -/* 80281A3C 0027E97C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80281A40 0027E980 7C 08 02 A6 */ mflr r0 -/* 80281A44 0027E984 90 01 00 24 */ stw r0, 0x24(r1) -/* 80281A48 0027E988 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80281A4C 0027E98C 7C 7F 1B 78 */ mr r31, r3 -/* 80281A50 0027E990 38 61 00 08 */ addi r3, r1, 8 -/* 80281A54 0027E994 7F E4 FB 78 */ mr r4, r31 -/* 80281A58 0027E998 4B FF F2 BD */ bl getAttackPosition__Q34Game3Mar3ObjFv -/* 80281A5C 0027E99C C0 01 00 08 */ lfs f0, 8(r1) -/* 80281A60 0027E9A0 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -/* 80281A64 0027E9A4 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80281A68 0027E9A8 D0 1F 02 FC */ stfs f0, 0x2fc(r31) -/* 80281A6C 0027E9AC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80281A70 0027E9B0 D0 1F 03 00 */ stfs f0, 0x300(r31) -/* 80281A74 0027E9B4 80 7F 03 1C */ lwz r3, 0x31c(r31) -/* 80281A78 0027E9B8 81 83 00 00 */ lwz r12, 0(r3) -/* 80281A7C 0027E9BC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80281A80 0027E9C0 7D 89 03 A6 */ mtctr r12 -/* 80281A84 0027E9C4 4E 80 04 21 */ bctrl -/* 80281A88 0027E9C8 80 7F 03 18 */ lwz r3, 0x318(r31) -/* 80281A8C 0027E9CC 38 80 00 00 */ li r4, 0 -/* 80281A90 0027E9D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80281A94 0027E9D4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80281A98 0027E9D8 7D 89 03 A6 */ mtctr r12 -/* 80281A9C 0027E9DC 4E 80 04 21 */ bctrl -/* 80281AA0 0027E9E0 80 7F 03 14 */ lwz r3, 0x314(r31) -/* 80281AA4 0027E9E4 38 80 00 00 */ li r4, 0 -/* 80281AA8 0027E9E8 81 83 00 00 */ lwz r12, 0(r3) -/* 80281AAC 0027E9EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80281AB0 0027E9F0 7D 89 03 A6 */ mtctr r12 -/* 80281AB4 0027E9F4 4E 80 04 21 */ bctrl -/* 80281AB8 0027E9F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80281ABC 0027E9FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80281AC0 0027EA00 7C 08 03 A6 */ mtlr r0 -/* 80281AC4 0027EA04 38 21 00 20 */ addi r1, r1, 0x20 -/* 80281AC8 0027EA08 4E 80 00 20 */ blr - -.global finishWindEffect__Q34Game3Mar3ObjFv -finishWindEffect__Q34Game3Mar3ObjFv: -/* 80281ACC 0027EA0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281AD0 0027EA10 7C 08 02 A6 */ mflr r0 -/* 80281AD4 0027EA14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281AD8 0027EA18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281ADC 0027EA1C 7C 7F 1B 78 */ mr r31, r3 -/* 80281AE0 0027EA20 80 63 03 10 */ lwz r3, 0x310(r3) -/* 80281AE4 0027EA24 81 83 00 00 */ lwz r12, 0(r3) -/* 80281AE8 0027EA28 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80281AEC 0027EA2C 7D 89 03 A6 */ mtctr r12 -/* 80281AF0 0027EA30 4E 80 04 21 */ bctrl -/* 80281AF4 0027EA34 80 7F 03 14 */ lwz r3, 0x314(r31) -/* 80281AF8 0027EA38 81 83 00 00 */ lwz r12, 0(r3) -/* 80281AFC 0027EA3C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80281B00 0027EA40 7D 89 03 A6 */ mtctr r12 -/* 80281B04 0027EA44 4E 80 04 21 */ bctrl -/* 80281B08 0027EA48 80 7F 03 18 */ lwz r3, 0x318(r31) -/* 80281B0C 0027EA4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80281B10 0027EA50 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80281B14 0027EA54 7D 89 03 A6 */ mtctr r12 -/* 80281B18 0027EA58 4E 80 04 21 */ bctrl -/* 80281B1C 0027EA5C 80 7F 03 1C */ lwz r3, 0x31c(r31) -/* 80281B20 0027EA60 81 83 00 00 */ lwz r12, 0(r3) -/* 80281B24 0027EA64 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80281B28 0027EA68 7D 89 03 A6 */ mtctr r12 -/* 80281B2C 0027EA6C 4E 80 04 21 */ bctrl -/* 80281B30 0027EA70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281B34 0027EA74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281B38 0027EA78 7C 08 03 A6 */ mtlr r0 -/* 80281B3C 0027EA7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281B40 0027EA80 4E 80 00 20 */ blr - -.global createDownEffect__Q34Game3Mar3ObjFv -createDownEffect__Q34Game3Mar3ObjFv: -/* 80281B44 0027EA84 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80281B48 0027EA88 7C 08 02 A6 */ mflr r0 -/* 80281B4C 0027EA8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80281B50 0027EA90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80281B54 0027EA94 7C 7F 1B 78 */ mr r31, r3 -/* 80281B58 0027EA98 C0 23 01 94 */ lfs f1, 0x194(r3) -/* 80281B5C 0027EA9C C0 03 02 48 */ lfs f0, 0x248(r3) -/* 80281B60 0027EAA0 C0 63 01 90 */ lfs f3, 0x190(r3) -/* 80281B64 0027EAA4 EC 81 00 2A */ fadds f4, f1, f0 -/* 80281B68 0027EAA8 C0 43 02 44 */ lfs f2, 0x244(r3) -/* 80281B6C 0027EAAC C0 23 01 8C */ lfs f1, 0x18c(r3) -/* 80281B70 0027EAB0 C0 03 02 40 */ lfs f0, 0x240(r3) -/* 80281B74 0027EAB4 EC 43 10 2A */ fadds f2, f3, f2 -/* 80281B78 0027EAB8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80281B7C 0027EABC D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80281B80 0027EAC0 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80281B84 0027EAC4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80281B88 0027EAC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80281B8C 0027EACC 81 8C 02 EC */ lwz r12, 0x2ec(r12) -/* 80281B90 0027EAD0 7D 89 03 A6 */ mtctr r12 -/* 80281B94 0027EAD4 4E 80 04 21 */ bctrl -/* 80281B98 0027EAD8 7F E3 FB 78 */ mr r3, r31 -/* 80281B9C 0027EADC 38 81 00 08 */ addi r4, r1, 8 -/* 80281BA0 0027EAE0 4B E8 1F B1 */ bl createBounceEffect__Q24Game9EnemyBaseFRC10Vector3$$0f$$1f -/* 80281BA4 0027EAE4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80281BA8 0027EAE8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80281BAC 0027EAEC 7C 08 03 A6 */ mtlr r0 -/* 80281BB0 0027EAF0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80281BB4 0027EAF4 4E 80 00 20 */ blr - -.global getDownSmokeScale__Q34Game3Mar3ObjFv -getDownSmokeScale__Q34Game3Mar3ObjFv: -/* 80281BB8 0027EAF8 C0 22 D2 B4 */ lfs f1, lbl_8051B614@sda21(r2) -/* 80281BBC 0027EAFC 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game3Mar3ObjFv -effectDrawOn__Q34Game3Mar3ObjFv: -/* 80281BC0 0027EB00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281BC4 0027EB04 7C 08 02 A6 */ mflr r0 -/* 80281BC8 0027EB08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281BCC 0027EB0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281BD0 0027EB10 7C 7F 1B 78 */ mr r31, r3 -/* 80281BD4 0027EB14 80 63 03 10 */ lwz r3, 0x310(r3) -/* 80281BD8 0027EB18 81 83 00 00 */ lwz r12, 0(r3) -/* 80281BDC 0027EB1C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80281BE0 0027EB20 7D 89 03 A6 */ mtctr r12 -/* 80281BE4 0027EB24 4E 80 04 21 */ bctrl -/* 80281BE8 0027EB28 80 7F 03 14 */ lwz r3, 0x314(r31) -/* 80281BEC 0027EB2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80281BF0 0027EB30 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80281BF4 0027EB34 7D 89 03 A6 */ mtctr r12 -/* 80281BF8 0027EB38 4E 80 04 21 */ bctrl -/* 80281BFC 0027EB3C 80 7F 03 18 */ lwz r3, 0x318(r31) -/* 80281C00 0027EB40 81 83 00 00 */ lwz r12, 0(r3) -/* 80281C04 0027EB44 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80281C08 0027EB48 7D 89 03 A6 */ mtctr r12 -/* 80281C0C 0027EB4C 4E 80 04 21 */ bctrl -/* 80281C10 0027EB50 80 7F 03 1C */ lwz r3, 0x31c(r31) -/* 80281C14 0027EB54 81 83 00 00 */ lwz r12, 0(r3) -/* 80281C18 0027EB58 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80281C1C 0027EB5C 7D 89 03 A6 */ mtctr r12 -/* 80281C20 0027EB60 4E 80 04 21 */ bctrl -/* 80281C24 0027EB64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281C28 0027EB68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281C2C 0027EB6C 7C 08 03 A6 */ mtlr r0 -/* 80281C30 0027EB70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281C34 0027EB74 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game3Mar3ObjFv -effectDrawOff__Q34Game3Mar3ObjFv: -/* 80281C38 0027EB78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281C3C 0027EB7C 7C 08 02 A6 */ mflr r0 -/* 80281C40 0027EB80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281C44 0027EB84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281C48 0027EB88 7C 7F 1B 78 */ mr r31, r3 -/* 80281C4C 0027EB8C 80 63 03 10 */ lwz r3, 0x310(r3) -/* 80281C50 0027EB90 81 83 00 00 */ lwz r12, 0(r3) -/* 80281C54 0027EB94 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80281C58 0027EB98 7D 89 03 A6 */ mtctr r12 -/* 80281C5C 0027EB9C 4E 80 04 21 */ bctrl -/* 80281C60 0027EBA0 80 7F 03 14 */ lwz r3, 0x314(r31) -/* 80281C64 0027EBA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80281C68 0027EBA8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80281C6C 0027EBAC 7D 89 03 A6 */ mtctr r12 -/* 80281C70 0027EBB0 4E 80 04 21 */ bctrl -/* 80281C74 0027EBB4 80 7F 03 18 */ lwz r3, 0x318(r31) -/* 80281C78 0027EBB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80281C7C 0027EBBC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80281C80 0027EBC0 7D 89 03 A6 */ mtctr r12 -/* 80281C84 0027EBC4 4E 80 04 21 */ bctrl -/* 80281C88 0027EBC8 80 7F 03 1C */ lwz r3, 0x31c(r31) -/* 80281C8C 0027EBCC 81 83 00 00 */ lwz r12, 0(r3) -/* 80281C90 0027EBD0 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80281C94 0027EBD4 7D 89 03 A6 */ mtctr r12 -/* 80281C98 0027EBD8 4E 80 04 21 */ bctrl -/* 80281C9C 0027EBDC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281CA0 0027EBE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281CA4 0027EBE4 7C 08 03 A6 */ mtlr r0 -/* 80281CA8 0027EBE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281CAC 0027EBEC 4E 80 00 20 */ blr - -.global __dt__Q23efx9TFusenSuiFv -__dt__Q23efx9TFusenSuiFv: -/* 80281CB0 0027EBF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281CB4 0027EBF4 7C 08 02 A6 */ mflr r0 -/* 80281CB8 0027EBF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281CBC 0027EBFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281CC0 0027EC00 7C 9F 23 78 */ mr r31, r4 -/* 80281CC4 0027EC04 93 C1 00 08 */ stw r30, 8(r1) -/* 80281CC8 0027EC08 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80281CCC 0027EC0C 41 82 00 64 */ beq lbl_80281D30 -/* 80281CD0 0027EC10 3C 60 80 4D */ lis r3, __vt__Q23efx9TFusenSui@ha -/* 80281CD4 0027EC14 38 63 88 A8 */ addi r3, r3, __vt__Q23efx9TFusenSui@l -/* 80281CD8 0027EC18 90 7E 00 00 */ stw r3, 0(r30) -/* 80281CDC 0027EC1C 38 03 00 14 */ addi r0, r3, 0x14 -/* 80281CE0 0027EC20 90 1E 00 04 */ stw r0, 4(r30) -/* 80281CE4 0027EC24 41 82 00 3C */ beq lbl_80281D20 -/* 80281CE8 0027EC28 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 80281CEC 0027EC2C 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 80281CF0 0027EC30 90 7E 00 00 */ stw r3, 0(r30) -/* 80281CF4 0027EC34 38 03 00 14 */ addi r0, r3, 0x14 -/* 80281CF8 0027EC38 90 1E 00 04 */ stw r0, 4(r30) -/* 80281CFC 0027EC3C 41 82 00 24 */ beq lbl_80281D20 -/* 80281D00 0027EC40 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80281D04 0027EC44 38 7E 00 04 */ addi r3, r30, 4 -/* 80281D08 0027EC48 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80281D0C 0027EC4C 38 80 00 00 */ li r4, 0 -/* 80281D10 0027EC50 90 BE 00 00 */ stw r5, 0(r30) -/* 80281D14 0027EC54 38 05 00 14 */ addi r0, r5, 0x14 -/* 80281D18 0027EC58 90 1E 00 04 */ stw r0, 4(r30) -/* 80281D1C 0027EC5C 4B E0 DF 81 */ bl __dt__18JPAEmitterCallBackFv -lbl_80281D20: -/* 80281D20 0027EC60 7F E0 07 35 */ extsh. r0, r31 -/* 80281D24 0027EC64 40 81 00 0C */ ble lbl_80281D30 -/* 80281D28 0027EC68 7F C3 F3 78 */ mr r3, r30 -/* 80281D2C 0027EC6C 4B DA 23 89 */ bl __dl__FPv -lbl_80281D30: -/* 80281D30 0027EC70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281D34 0027EC74 7F C3 F3 78 */ mr r3, r30 -/* 80281D38 0027EC78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281D3C 0027EC7C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80281D40 0027EC80 7C 08 03 A6 */ mtlr r0 -/* 80281D44 0027EC84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281D48 0027EC88 4E 80 00 20 */ blr - -.global __dt__Q34Game3Mar3ObjFv -__dt__Q34Game3Mar3ObjFv: -/* 80281D4C 0027EC8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281D50 0027EC90 7C 08 02 A6 */ mflr r0 -/* 80281D54 0027EC94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281D58 0027EC98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281D5C 0027EC9C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80281D60 0027ECA0 93 C1 00 08 */ stw r30, 8(r1) -/* 80281D64 0027ECA4 7C 9E 23 78 */ mr r30, r4 -/* 80281D68 0027ECA8 41 82 00 84 */ beq lbl_80281DEC -/* 80281D6C 0027ECAC 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar3Obj@ha -/* 80281D70 0027ECB0 38 1F 03 24 */ addi r0, r31, 0x324 -/* 80281D74 0027ECB4 38 83 89 48 */ addi r4, r3, __vt__Q34Game3Mar3Obj@l -/* 80281D78 0027ECB8 90 9F 00 00 */ stw r4, 0(r31) -/* 80281D7C 0027ECBC 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80281D80 0027ECC0 38 84 02 FC */ addi r4, r4, 0x2fc -/* 80281D84 0027ECC4 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80281D88 0027ECC8 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80281D8C 0027ECCC 90 83 00 00 */ stw r4, 0(r3) -/* 80281D90 0027ECD0 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80281D94 0027ECD4 7C 03 00 50 */ subf r0, r3, r0 -/* 80281D98 0027ECD8 90 03 00 0C */ stw r0, 0xc(r3) -/* 80281D9C 0027ECDC 41 82 00 40 */ beq lbl_80281DDC -/* 80281DA0 0027ECE0 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80281DA4 0027ECE4 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 80281DA8 0027ECE8 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80281DAC 0027ECEC 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80281DB0 0027ECF0 90 9F 00 00 */ stw r4, 0(r31) -/* 80281DB4 0027ECF4 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80281DB8 0027ECF8 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80281DBC 0027ECFC 38 80 FF FF */ li r4, -1 -/* 80281DC0 0027ED00 90 BF 01 78 */ stw r5, 0x178(r31) -/* 80281DC4 0027ED04 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80281DC8 0027ED08 90 C5 00 00 */ stw r6, 0(r5) -/* 80281DCC 0027ED0C 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80281DD0 0027ED10 7C 05 00 50 */ subf r0, r5, r0 -/* 80281DD4 0027ED14 90 05 00 0C */ stw r0, 0xc(r5) -/* 80281DD8 0027ED18 48 18 F7 B1 */ bl __dt__5CNodeFv -lbl_80281DDC: -/* 80281DDC 0027ED1C 7F C0 07 35 */ extsh. r0, r30 -/* 80281DE0 0027ED20 40 81 00 0C */ ble lbl_80281DEC -/* 80281DE4 0027ED24 7F E3 FB 78 */ mr r3, r31 -/* 80281DE8 0027ED28 4B DA 22 CD */ bl __dl__FPv -lbl_80281DEC: -/* 80281DEC 0027ED2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281DF0 0027ED30 7F E3 FB 78 */ mr r3, r31 -/* 80281DF4 0027ED34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281DF8 0027ED38 83 C1 00 08 */ lwz r30, 8(r1) -/* 80281DFC 0027ED3C 7C 08 03 A6 */ mtlr r0 -/* 80281E00 0027ED40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281E04 0027ED44 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game3Mar3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game3Mar3ObjFPQ24Game8WaterBox: -/* 80281E08 0027ED48 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game3Mar3ObjFv -outWaterCallback__Q34Game3Mar3ObjFv: -/* 80281E0C 0027ED4C 4E 80 00 20 */ blr - -.global throwupItemInDeathProcedure__Q34Game3Mar3ObjFv -throwupItemInDeathProcedure__Q34Game3Mar3ObjFv: -/* 80281E10 0027ED50 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game3Mar3ObjFv -getEnemyTypeID__Q34Game3Mar3ObjFv: -/* 80281E14 0027ED54 38 60 00 1D */ li r3, 0x1d -/* 80281E18 0027ED58 4E 80 00 20 */ blr - -.global $$2804$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2804$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 80281E1C 0027ED5C 39 60 00 0C */ li r11, 0xc -/* 80281E20 0027ED60 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80281E24 0027ED64 7C 63 5A 14 */ add r3, r3, r11 -/* 80281E28 0027ED68 38 63 FC DC */ addi r3, r3, -804 -/* 80281E2C 0027ED6C 4B E8 4A F0 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2804$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2804$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 80281E30 0027ED70 39 60 00 0C */ li r11, 0xc -/* 80281E34 0027ED74 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80281E38 0027ED78 7C 63 5A 14 */ add r3, r3, r11 -/* 80281E3C 0027ED7C 38 63 FC DC */ addi r3, r3, -804 -/* 80281E40 0027ED80 4B E8 48 68 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2804$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2804$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 80281E44 0027ED84 39 60 00 0C */ li r11, 0xc -/* 80281E48 0027ED88 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80281E4C 0027ED8C 7C 63 5A 14 */ add r3, r3, r11 -/* 80281E50 0027ED90 38 63 FC DC */ addi r3, r3, -804 -/* 80281E54 0027ED94 4B E8 48 74 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2804$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2804$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 80281E58 0027ED98 39 60 00 0C */ li r11, 0xc -/* 80281E5C 0027ED9C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80281E60 0027EDA0 7C 63 5A 14 */ add r3, r3, r11 -/* 80281E64 0027EDA4 38 63 FC DC */ addi r3, r3, -804 -/* 80281E68 0027EDA8 4B E8 4C 10 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2804$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2804$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 80281E6C 0027EDAC 39 60 00 0C */ li r11, 0xc -/* 80281E70 0027EDB0 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80281E74 0027EDB4 7C 63 5A 14 */ add r3, r3, r11 -/* 80281E78 0027EDB8 38 63 FC DC */ addi r3, r3, -804 -/* 80281E7C 0027EDBC 4B E8 4B D0 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2804$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2804$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 80281E80 0027EDC0 39 60 00 0C */ li r11, 0xc -/* 80281E84 0027EDC4 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80281E88 0027EDC8 7C 63 5A 14 */ add r3, r3, r11 -/* 80281E8C 0027EDCC 38 63 FC DC */ addi r3, r3, -804 -/* 80281E90 0027EDD0 4B E8 48 10 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2__dt__Q23efx9TFusenSuiFv -$$24$$2__dt__Q23efx9TFusenSuiFv: -/* 80281E94 0027EDD4 38 63 FF FC */ addi r3, r3, -4 -/* 80281E98 0027EDD8 4B FF FE 18 */ b __dt__Q23efx9TFusenSuiFv - -.global setAnimMgr__Q34Game3Mar14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game3Mar14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 80281E9C 0027EDDC 90 83 00 20 */ stw r4, 0x20(r3) -/* 80281EA0 0027EDE0 4E 80 00 20 */ blr - -.global getAnimator__Q34Game3Mar14ProperAnimatorFi -getAnimator__Q34Game3Mar14ProperAnimatorFi: -/* 80281EA4 0027EDE4 38 63 00 10 */ addi r3, r3, 0x10 -/* 80281EA8 0027EDE8 4E 80 00 20 */ blr - -.global __dt__Q34Game3Mar14ProperAnimatorFv -__dt__Q34Game3Mar14ProperAnimatorFv: -/* 80281EAC 0027EDEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281EB0 0027EDF0 7C 08 02 A6 */ mflr r0 -/* 80281EB4 0027EDF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281EB8 0027EDF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281EBC 0027EDFC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80281EC0 0027EE00 41 82 00 30 */ beq lbl_80281EF0 -/* 80281EC4 0027EE04 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar14ProperAnimator@ha -/* 80281EC8 0027EE08 38 03 8C 78 */ addi r0, r3, __vt__Q34Game3Mar14ProperAnimator@l -/* 80281ECC 0027EE0C 90 1F 00 00 */ stw r0, 0(r31) -/* 80281ED0 0027EE10 41 82 00 10 */ beq lbl_80281EE0 -/* 80281ED4 0027EE14 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 80281ED8 0027EE18 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 80281EDC 0027EE1C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80281EE0: -/* 80281EE0 0027EE20 7C 80 07 35 */ extsh. r0, r4 -/* 80281EE4 0027EE24 40 81 00 0C */ ble lbl_80281EF0 -/* 80281EE8 0027EE28 7F E3 FB 78 */ mr r3, r31 -/* 80281EEC 0027EE2C 4B DA 21 C9 */ bl __dl__FPv -lbl_80281EF0: -/* 80281EF0 0027EE30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281EF4 0027EE34 7F E3 FB 78 */ mr r3, r31 -/* 80281EF8 0027EE38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281EFC 0027EE3C 7C 08 03 A6 */ mtlr r0 -/* 80281F00 0027EE40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281F04 0027EE44 4E 80 00 20 */ blr - -.global getAnimator__Q34Game3Mar14ProperAnimatorFv -getAnimator__Q34Game3Mar14ProperAnimatorFv: -/* 80281F08 0027EE48 38 63 00 10 */ addi r3, r3, 0x10 -/* 80281F0C 0027EE4C 4E 80 00 20 */ blr - -.global __ct__Q34Game3Mar3MgrFiUc -__ct__Q34Game3Mar3MgrFiUc: -/* 80281F10 0027EE50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281F14 0027EE54 7C 08 02 A6 */ mflr r0 -/* 80281F18 0027EE58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281F1C 0027EE5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281F20 0027EE60 7C 7F 1B 78 */ mr r31, r3 -/* 80281F24 0027EE64 4B EA CD 71 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80281F28 0027EE68 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar3Mgr@ha -/* 80281F2C 0027EE6C 3C 80 80 48 */ lis r4, lbl_8048747C@ha -/* 80281F30 0027EE70 38 A3 8C A0 */ addi r5, r3, __vt__Q34Game3Mar3Mgr@l -/* 80281F34 0027EE74 7F E3 FB 78 */ mr r3, r31 -/* 80281F38 0027EE78 90 BF 00 00 */ stw r5, 0(r31) -/* 80281F3C 0027EE7C 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80281F40 0027EE80 38 04 74 7C */ addi r0, r4, lbl_8048747C@l -/* 80281F44 0027EE84 90 BF 00 04 */ stw r5, 4(r31) -/* 80281F48 0027EE88 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80281F4C 0027EE8C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281F50 0027EE90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281F54 0027EE94 7C 08 03 A6 */ mtlr r0 -/* 80281F58 0027EE98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281F5C 0027EE9C 4E 80 00 20 */ blr - -.global doAlloc__Q34Game3Mar3MgrFv -doAlloc__Q34Game3Mar3MgrFv: -/* 80281F60 0027EEA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281F64 0027EEA4 7C 08 02 A6 */ mflr r0 -/* 80281F68 0027EEA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281F6C 0027EEAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281F70 0027EEB0 7C 7F 1B 78 */ mr r31, r3 -/* 80281F74 0027EEB4 38 60 09 48 */ li r3, 0x948 -/* 80281F78 0027EEB8 4B DA 1F 2D */ bl __nw__FUl -/* 80281F7C 0027EEBC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80281F80 0027EEC0 41 82 00 0C */ beq lbl_80281F8C -/* 80281F84 0027EEC4 48 00 00 25 */ bl __ct__Q34Game3Mar5ParmsFv -/* 80281F88 0027EEC8 7C 64 1B 78 */ mr r4, r3 -lbl_80281F8C: -/* 80281F8C 0027EECC 7F E3 FB 78 */ mr r3, r31 -/* 80281F90 0027EED0 4B EA D9 0D */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80281F94 0027EED4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281F98 0027EED8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281F9C 0027EEDC 7C 08 03 A6 */ mtlr r0 -/* 80281FA0 0027EEE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281FA4 0027EEE4 4E 80 00 20 */ blr - -.global __ct__Q34Game3Mar5ParmsFv -__ct__Q34Game3Mar5ParmsFv: -/* 80281FA8 0027EEE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281FAC 0027EEEC 7C 08 02 A6 */ mflr r0 -/* 80281FB0 0027EEF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281FB4 0027EEF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80281FB8 0027EEF8 7C 7F 1B 78 */ mr r31, r3 -/* 80281FBC 0027EEFC 4B E8 77 E1 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80281FC0 0027EF00 3C 80 80 4D */ lis r4, __vt__Q34Game3Mar5Parms@ha -/* 80281FC4 0027EF04 38 7F 07 F8 */ addi r3, r31, 0x7f8 -/* 80281FC8 0027EF08 38 04 8D 80 */ addi r0, r4, __vt__Q34Game3Mar5Parms@l -/* 80281FCC 0027EF0C 38 80 00 01 */ li r4, 1 -/* 80281FD0 0027EF10 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 80281FD4 0027EF14 48 00 00 1D */ bl __ct__Q44Game3Mar5Parms11ProperParmsFv -/* 80281FD8 0027EF18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80281FDC 0027EF1C 7F E3 FB 78 */ mr r3, r31 -/* 80281FE0 0027EF20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80281FE4 0027EF24 7C 08 03 A6 */ mtlr r0 -/* 80281FE8 0027EF28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80281FEC 0027EF2C 4E 80 00 20 */ blr - -.global __ct__Q44Game3Mar5Parms11ProperParmsFv -__ct__Q44Game3Mar5Parms11ProperParmsFv: -/* 80281FF0 0027EF30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80281FF4 0027EF34 7C 08 02 A6 */ mflr r0 -/* 80281FF8 0027EF38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80281FFC 0027EF3C 7C 80 07 35 */ extsh. r0, r4 -/* 80282000 0027EF40 3C 80 80 48 */ lis r4, lbl_80487428@ha -/* 80282004 0027EF44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80282008 0027EF48 3B E4 74 28 */ addi r31, r4, lbl_80487428@l -/* 8028200C 0027EF4C 93 C1 00 08 */ stw r30, 8(r1) -/* 80282010 0027EF50 7C 7E 1B 78 */ mr r30, r3 -/* 80282014 0027EF54 41 82 00 0C */ beq lbl_80282020 -/* 80282018 0027EF58 38 1E 01 4C */ addi r0, r30, 0x14c -/* 8028201C 0027EF5C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80282020: -/* 80282020 0027EF60 38 00 00 00 */ li r0, 0 -/* 80282024 0027EF64 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 80282028 0027EF68 90 1E 00 04 */ stw r0, 4(r30) -/* 8028202C 0027EF6C 38 1F 00 70 */ addi r0, r31, 0x70 -/* 80282030 0027EF70 7F C4 F3 78 */ mr r4, r30 -/* 80282034 0027EF74 38 7E 00 0C */ addi r3, r30, 0xc -/* 80282038 0027EF78 90 1E 00 08 */ stw r0, 8(r30) -/* 8028203C 0027EF7C 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80282040 0027EF80 38 DF 00 80 */ addi r6, r31, 0x80 -/* 80282044 0027EF84 48 19 16 15 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80282048 0027EF88 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8028204C 0027EF8C 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 80282050 0027EF90 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80282054 0027EF94 C0 02 D2 B8 */ lfs f0, lbl_8051B618@sda21(r2) -/* 80282058 0027EF98 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8028205C 0027EF9C 7F C4 F3 78 */ mr r4, r30 -/* 80282060 0027EFA0 C0 22 D2 BC */ lfs f1, lbl_8051B61C@sda21(r2) -/* 80282064 0027EFA4 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80282068 0027EFA8 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 8028206C 0027EFAC 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 80282070 0027EFB0 C0 02 D2 C0 */ lfs f0, lbl_8051B620@sda21(r2) -/* 80282074 0027EFB4 38 DF 00 90 */ addi r6, r31, 0x90 -/* 80282078 0027EFB8 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 8028207C 0027EFBC D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 80282080 0027EFC0 48 19 15 D9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80282084 0027EFC4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80282088 0027EFC8 3C A0 66 70 */ lis r5, 0x66703033@ha -/* 8028208C 0027EFCC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80282090 0027EFD0 C0 02 D2 C4 */ lfs f0, lbl_8051B624@sda21(r2) -/* 80282094 0027EFD4 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80282098 0027EFD8 7F C4 F3 78 */ mr r4, r30 -/* 8028209C 0027EFDC C0 22 D2 BC */ lfs f1, lbl_8051B61C@sda21(r2) -/* 802820A0 0027EFE0 38 7E 00 5C */ addi r3, r30, 0x5c -/* 802820A4 0027EFE4 D0 1E 00 4C */ stfs f0, 0x4c(r30) -/* 802820A8 0027EFE8 38 A5 30 33 */ addi r5, r5, 0x66703033@l -/* 802820AC 0027EFEC C0 02 D2 C8 */ lfs f0, lbl_8051B628@sda21(r2) -/* 802820B0 0027EFF0 38 DF 00 9C */ addi r6, r31, 0x9c -/* 802820B4 0027EFF4 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 802820B8 0027EFF8 D0 1E 00 58 */ stfs f0, 0x58(r30) -/* 802820BC 0027EFFC 48 19 15 9D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802820C0 0027F000 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802820C4 0027F004 3C A0 66 70 */ lis r5, 0x66703130@ha -/* 802820C8 0027F008 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802820CC 0027F00C C0 02 D2 CC */ lfs f0, lbl_8051B62C@sda21(r2) -/* 802820D0 0027F010 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 802820D4 0027F014 7F C4 F3 78 */ mr r4, r30 -/* 802820D8 0027F018 C0 22 D2 BC */ lfs f1, lbl_8051B61C@sda21(r2) -/* 802820DC 0027F01C 38 7E 00 84 */ addi r3, r30, 0x84 -/* 802820E0 0027F020 D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 802820E4 0027F024 38 A5 31 30 */ addi r5, r5, 0x66703130@l -/* 802820E8 0027F028 C0 02 D2 C8 */ lfs f0, lbl_8051B628@sda21(r2) -/* 802820EC 0027F02C 38 DF 00 B0 */ addi r6, r31, 0xb0 -/* 802820F0 0027F030 D0 3E 00 7C */ stfs f1, 0x7c(r30) -/* 802820F4 0027F034 D0 1E 00 80 */ stfs f0, 0x80(r30) -/* 802820F8 0027F038 48 19 15 61 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802820FC 0027F03C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80282100 0027F040 3C A0 66 70 */ lis r5, 0x66703034@ha -/* 80282104 0027F044 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80282108 0027F048 C0 02 D2 CC */ lfs f0, lbl_8051B62C@sda21(r2) -/* 8028210C 0027F04C 90 1E 00 84 */ stw r0, 0x84(r30) -/* 80282110 0027F050 7F C4 F3 78 */ mr r4, r30 -/* 80282114 0027F054 C0 22 D2 BC */ lfs f1, lbl_8051B61C@sda21(r2) -/* 80282118 0027F058 38 7E 00 AC */ addi r3, r30, 0xac -/* 8028211C 0027F05C D0 1E 00 9C */ stfs f0, 0x9c(r30) -/* 80282120 0027F060 38 A5 30 34 */ addi r5, r5, 0x66703034@l -/* 80282124 0027F064 C0 02 D2 C8 */ lfs f0, lbl_8051B628@sda21(r2) -/* 80282128 0027F068 38 DF 00 C4 */ addi r6, r31, 0xc4 -/* 8028212C 0027F06C D0 3E 00 A4 */ stfs f1, 0xa4(r30) -/* 80282130 0027F070 D0 1E 00 A8 */ stfs f0, 0xa8(r30) -/* 80282134 0027F074 48 19 15 25 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80282138 0027F078 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8028213C 0027F07C 3C A0 69 70 */ lis r5, 0x69703031@ha -/* 80282140 0027F080 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80282144 0027F084 C0 02 D2 CC */ lfs f0, lbl_8051B62C@sda21(r2) -/* 80282148 0027F088 90 1E 00 AC */ stw r0, 0xac(r30) -/* 8028214C 0027F08C 7F C4 F3 78 */ mr r4, r30 -/* 80282150 0027F090 C0 22 D2 BC */ lfs f1, lbl_8051B61C@sda21(r2) -/* 80282154 0027F094 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 80282158 0027F098 D0 1E 00 C4 */ stfs f0, 0xc4(r30) -/* 8028215C 0027F09C 38 A5 30 31 */ addi r5, r5, 0x69703031@l -/* 80282160 0027F0A0 C0 02 D2 C8 */ lfs f0, lbl_8051B628@sda21(r2) -/* 80282164 0027F0A4 38 DF 00 D4 */ addi r6, r31, 0xd4 -/* 80282168 0027F0A8 D0 3E 00 CC */ stfs f1, 0xcc(r30) -/* 8028216C 0027F0AC D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 80282170 0027F0B0 48 19 14 E9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80282174 0027F0B4 3C 60 80 4B */ lis r3, __vt__7Parm$$0i$$1@ha -/* 80282178 0027F0B8 3C A0 66 70 */ lis r5, 0x66703035@ha -/* 8028217C 0027F0BC 38 03 AC 90 */ addi r0, r3, __vt__7Parm$$0i$$1@l -/* 80282180 0027F0C0 38 60 00 0A */ li r3, 0xa -/* 80282184 0027F0C4 90 1E 00 D4 */ stw r0, 0xd4(r30) -/* 80282188 0027F0C8 38 E0 00 01 */ li r7, 1 -/* 8028218C 0027F0CC 38 00 00 32 */ li r0, 0x32 -/* 80282190 0027F0D0 7F C4 F3 78 */ mr r4, r30 -/* 80282194 0027F0D4 90 7E 00 EC */ stw r3, 0xec(r30) -/* 80282198 0027F0D8 38 7E 00 FC */ addi r3, r30, 0xfc -/* 8028219C 0027F0DC 38 A5 30 35 */ addi r5, r5, 0x66703035@l -/* 802821A0 0027F0E0 38 DF 00 E4 */ addi r6, r31, 0xe4 -/* 802821A4 0027F0E4 90 FE 00 F4 */ stw r7, 0xf4(r30) -/* 802821A8 0027F0E8 90 1E 00 F8 */ stw r0, 0xf8(r30) -/* 802821AC 0027F0EC 48 19 14 AD */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802821B0 0027F0F0 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802821B4 0027F0F4 3C A0 66 70 */ lis r5, 0x66703036@ha -/* 802821B8 0027F0F8 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802821BC 0027F0FC C0 02 D2 D0 */ lfs f0, lbl_8051B630@sda21(r2) -/* 802821C0 0027F100 90 1E 00 FC */ stw r0, 0xfc(r30) -/* 802821C4 0027F104 7F C4 F3 78 */ mr r4, r30 -/* 802821C8 0027F108 C0 22 D2 BC */ lfs f1, lbl_8051B61C@sda21(r2) -/* 802821CC 0027F10C 38 7E 01 24 */ addi r3, r30, 0x124 -/* 802821D0 0027F110 D0 1E 01 14 */ stfs f0, 0x114(r30) -/* 802821D4 0027F114 38 A5 30 36 */ addi r5, r5, 0x66703036@l -/* 802821D8 0027F118 C0 02 D2 C8 */ lfs f0, lbl_8051B628@sda21(r2) -/* 802821DC 0027F11C 38 DF 00 F4 */ addi r6, r31, 0xf4 -/* 802821E0 0027F120 D0 3E 01 1C */ stfs f1, 0x11c(r30) -/* 802821E4 0027F124 D0 1E 01 20 */ stfs f0, 0x120(r30) -/* 802821E8 0027F128 48 19 14 71 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802821EC 0027F12C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802821F0 0027F130 C0 42 D2 D4 */ lfs f2, lbl_8051B634@sda21(r2) -/* 802821F4 0027F134 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802821F8 0027F138 C0 22 D2 BC */ lfs f1, lbl_8051B61C@sda21(r2) -/* 802821FC 0027F13C 90 1E 01 24 */ stw r0, 0x124(r30) -/* 80282200 0027F140 7F C3 F3 78 */ mr r3, r30 -/* 80282204 0027F144 C0 02 D2 C8 */ lfs f0, lbl_8051B628@sda21(r2) -/* 80282208 0027F148 D0 5E 01 3C */ stfs f2, 0x13c(r30) -/* 8028220C 0027F14C D0 3E 01 44 */ stfs f1, 0x144(r30) -/* 80282210 0027F150 D0 1E 01 48 */ stfs f0, 0x148(r30) -/* 80282214 0027F154 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80282218 0027F158 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028221C 0027F15C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282220 0027F160 7C 08 03 A6 */ mtlr r0 -/* 80282224 0027F164 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282228 0027F168 4E 80 00 20 */ blr - -.global createObj__Q34Game3Mar3MgrFi -createObj__Q34Game3Mar3MgrFi: -/* 8028222C 0027F16C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282230 0027F170 7C 08 02 A6 */ mflr r0 -/* 80282234 0027F174 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282238 0027F178 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028223C 0027F17C 7C 9F 23 78 */ mr r31, r4 -/* 80282240 0027F180 93 C1 00 08 */ stw r30, 8(r1) -/* 80282244 0027F184 7C 7E 1B 78 */ mr r30, r3 -/* 80282248 0027F188 1C 7F 03 34 */ mulli r3, r31, 0x334 -/* 8028224C 0027F18C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80282250 0027F190 4B DA 1D 5D */ bl __nwa__FUl -/* 80282254 0027F194 3C 80 80 28 */ lis r4, __ct__Q34Game3Mar3ObjFv@ha -/* 80282258 0027F198 3C A0 80 28 */ lis r5, __dt__Q34Game3Mar3ObjFv@ha -/* 8028225C 0027F19C 38 84 F5 0C */ addi r4, r4, __ct__Q34Game3Mar3ObjFv@l -/* 80282260 0027F1A0 7F E7 FB 78 */ mr r7, r31 -/* 80282264 0027F1A4 38 A5 1D 4C */ addi r5, r5, __dt__Q34Game3Mar3ObjFv@l -/* 80282268 0027F1A8 38 C0 03 34 */ li r6, 0x334 -/* 8028226C 0027F1AC 4B E3 F7 85 */ bl __construct_new_array -/* 80282270 0027F1B0 90 7E 00 4C */ stw r3, 0x4c(r30) -/* 80282274 0027F1B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282278 0027F1B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028227C 0027F1BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80282280 0027F1C0 7C 08 03 A6 */ mtlr r0 -/* 80282284 0027F1C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282288 0027F1C8 4E 80 00 20 */ blr - -.global getEnemy__Q34Game3Mar3MgrFi -getEnemy__Q34Game3Mar3MgrFi: -/* 8028228C 0027F1CC 1C 04 03 34 */ mulli r0, r4, 0x334 -/* 80282290 0027F1D0 80 63 00 4C */ lwz r3, 0x4c(r3) -/* 80282294 0027F1D4 7C 63 02 14 */ add r3, r3, r0 -/* 80282298 0027F1D8 4E 80 00 20 */ blr - -.global loadTexData__Q34Game3Mar3MgrFv -loadTexData__Q34Game3Mar3MgrFv: -/* 8028229C 0027F1DC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 802822A0 0027F1E0 7C 08 02 A6 */ mflr r0 -/* 802822A4 0027F1E4 38 80 00 00 */ li r4, 0 -/* 802822A8 0027F1E8 90 01 00 74 */ stw r0, 0x74(r1) -/* 802822AC 0027F1EC 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802822B0 0027F1F0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802822B4 0027F1F4 7C 7E 1B 78 */ mr r30, r3 -/* 802822B8 0027F1F8 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 802822BC 0027F1FC 48 1B BF E1 */ bl enableMaterialAnim__Q28SysShape5ModelFP12J3DModelDatai -/* 802822C0 0027F200 80 8D 84 98 */ lwz r4, cMatAnimBtkTexName__Q34Game3Mar20$$2unnamed$$2MarMgr_cpp$$2@sda21(r13) -/* 802822C4 0027F204 38 61 00 38 */ addi r3, r1, 0x38 -/* 802822C8 0027F208 3B E0 00 00 */ li r31, 0 -/* 802822CC 0027F20C 48 1C A3 0D */ bl __ct__Q212LoadResource3ArgFPCc -/* 802822D0 0027F210 80 6D 9C 28 */ lwz r3, gLoadResourceMgr@sda21(r13) -/* 802822D4 0027F214 38 81 00 38 */ addi r4, r1, 0x38 -/* 802822D8 0027F218 48 1C A4 C9 */ bl load__Q212LoadResource3MgrFRQ212LoadResource3Arg -/* 802822DC 0027F21C 28 03 00 00 */ cmplwi r3, 0 -/* 802822E0 0027F220 41 82 00 08 */ beq lbl_802822E8 -/* 802822E4 0027F224 83 E3 00 30 */ lwz r31, 0x30(r3) -lbl_802822E8: -/* 802822E8 0027F228 28 1F 00 00 */ cmplwi r31, 0 -/* 802822EC 0027F22C 40 82 00 20 */ bne lbl_8028230C -/* 802822F0 0027F230 3C 60 80 48 */ lis r3, lbl_804877E4@ha -/* 802822F4 0027F234 3C A0 80 48 */ lis r5, lbl_804877F0@ha -/* 802822F8 0027F238 38 63 77 E4 */ addi r3, r3, lbl_804877E4@l -/* 802822FC 0027F23C 38 80 00 58 */ li r4, 0x58 -/* 80282300 0027F240 38 A5 77 F0 */ addi r5, r5, lbl_804877F0@l -/* 80282304 0027F244 4C C6 31 82 */ crclr 6 -/* 80282308 0027F248 4B DA 83 39 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028230C: -/* 8028230C 0027F24C 38 60 00 10 */ li r3, 0x10 -/* 80282310 0027F250 4B DA 1B 95 */ bl __nw__FUl -/* 80282314 0027F254 7C 60 1B 79 */ or. r0, r3, r3 -/* 80282318 0027F258 41 82 00 0C */ beq lbl_80282324 -/* 8028231C 0027F25C 48 1B 1E 19 */ bl __ct__Q23Sys15MatTexAnimationFv -/* 80282320 0027F260 7C 60 1B 78 */ mr r0, r3 -lbl_80282324: -/* 80282324 0027F264 90 1E 00 44 */ stw r0, 0x44(r30) -/* 80282328 0027F268 7F E4 FB 78 */ mr r4, r31 -/* 8028232C 0027F26C 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 80282330 0027F270 80 BE 00 1C */ lwz r5, 0x1c(r30) -/* 80282334 0027F274 48 1B 1C ED */ bl attachResource__Q23Sys16MatBaseAnimationFPvP12J3DModelData -/* 80282338 0027F278 80 8D 84 9C */ lwz r4, cMatAnimBrkTexName__Q34Game3Mar20$$2unnamed$$2MarMgr_cpp$$2@sda21(r13) -/* 8028233C 0027F27C 38 61 00 08 */ addi r3, r1, 8 -/* 80282340 0027F280 3B E0 00 00 */ li r31, 0 -/* 80282344 0027F284 48 1C A2 95 */ bl __ct__Q212LoadResource3ArgFPCc -/* 80282348 0027F288 80 6D 9C 28 */ lwz r3, gLoadResourceMgr@sda21(r13) -/* 8028234C 0027F28C 38 81 00 08 */ addi r4, r1, 8 -/* 80282350 0027F290 48 1C A4 51 */ bl load__Q212LoadResource3MgrFRQ212LoadResource3Arg -/* 80282354 0027F294 28 03 00 00 */ cmplwi r3, 0 -/* 80282358 0027F298 41 82 00 08 */ beq lbl_80282360 -/* 8028235C 0027F29C 83 E3 00 30 */ lwz r31, 0x30(r3) -lbl_80282360: -/* 80282360 0027F2A0 28 1F 00 00 */ cmplwi r31, 0 -/* 80282364 0027F2A4 40 82 00 20 */ bne lbl_80282384 -/* 80282368 0027F2A8 3C 60 80 48 */ lis r3, lbl_804877E4@ha -/* 8028236C 0027F2AC 3C A0 80 48 */ lis r5, lbl_804877F0@ha -/* 80282370 0027F2B0 38 63 77 E4 */ addi r3, r3, lbl_804877E4@l -/* 80282374 0027F2B4 38 80 00 60 */ li r4, 0x60 -/* 80282378 0027F2B8 38 A5 77 F0 */ addi r5, r5, lbl_804877F0@l -/* 8028237C 0027F2BC 4C C6 31 82 */ crclr 6 -/* 80282380 0027F2C0 4B DA 82 C1 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80282384: -/* 80282384 0027F2C4 38 60 00 14 */ li r3, 0x14 -/* 80282388 0027F2C8 4B DA 1B 1D */ bl __nw__FUl -/* 8028238C 0027F2CC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80282390 0027F2D0 41 82 00 0C */ beq lbl_8028239C -/* 80282394 0027F2D4 48 1B 1E AD */ bl __ct__Q23Sys18MatTevRegAnimationFv -/* 80282398 0027F2D8 7C 60 1B 78 */ mr r0, r3 -lbl_8028239C: -/* 8028239C 0027F2DC 90 1E 00 48 */ stw r0, 0x48(r30) -/* 802823A0 0027F2E0 7F E4 FB 78 */ mr r4, r31 -/* 802823A4 0027F2E4 80 7E 00 48 */ lwz r3, 0x48(r30) -/* 802823A8 0027F2E8 80 BE 00 1C */ lwz r5, 0x1c(r30) -/* 802823AC 0027F2EC 48 1B 1C 75 */ bl attachResource__Q23Sys16MatBaseAnimationFPvP12J3DModelData -/* 802823B0 0027F2F0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 802823B4 0027F2F4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 802823B8 0027F2F8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 802823BC 0027F2FC 7C 08 03 A6 */ mtlr r0 -/* 802823C0 0027F300 38 21 00 70 */ addi r1, r1, 0x70 -/* 802823C4 0027F304 4E 80 00 20 */ blr - -.global createModel__Q34Game3Mar3MgrFv -createModel__Q34Game3Mar3MgrFv: -/* 802823C8 0027F308 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 802823CC 0027F30C 7C 08 02 A6 */ mflr r0 -/* 802823D0 0027F310 90 01 00 54 */ stw r0, 0x54(r1) -/* 802823D4 0027F314 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 802823D8 0027F318 93 C1 00 48 */ stw r30, 0x48(r1) -/* 802823DC 0027F31C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 802823E0 0027F320 93 81 00 40 */ stw r28, 0x40(r1) -/* 802823E4 0027F324 7C 7C 1B 78 */ mr r28, r3 -/* 802823E8 0027F328 38 60 00 14 */ li r3, 0x14 -/* 802823EC 0027F32C 4B DA 1A B9 */ bl __nw__FUl -/* 802823F0 0027F330 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802823F4 0027F334 41 82 00 18 */ beq lbl_8028240C -/* 802823F8 0027F338 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 802823FC 0027F33C 3C A0 00 08 */ lis r5, 8 -/* 80282400 0027F340 88 DC 00 24 */ lbz r6, 0x24(r28) -/* 80282404 0027F344 48 1B BD D5 */ bl __ct__Q28SysShape5ModelFP12J3DModelDataUlUl -/* 80282408 0027F348 7C 7E 1B 78 */ mr r30, r3 -lbl_8028240C: -/* 8028240C 0027F34C 28 1E 00 00 */ cmplwi r30, 0 -/* 80282410 0027F350 40 82 00 20 */ bne lbl_80282430 -/* 80282414 0027F354 3C 60 80 48 */ lis r3, lbl_804877E4@ha -/* 80282418 0027F358 3C A0 80 48 */ lis r5, lbl_804877F0@ha -/* 8028241C 0027F35C 38 63 77 E4 */ addi r3, r3, lbl_804877E4@l -/* 80282420 0027F360 38 80 00 79 */ li r4, 0x79 -/* 80282424 0027F364 38 A5 77 F0 */ addi r5, r5, lbl_804877F0@l -/* 80282428 0027F368 4C C6 31 82 */ crclr 6 -/* 8028242C 0027F36C 4B DA 82 15 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80282430: -/* 80282430 0027F370 3B A0 00 00 */ li r29, 0 -/* 80282434 0027F374 3F E0 01 00 */ lis r31, 0x100 -/* 80282438 0027F378 48 00 00 40 */ b lbl_80282478 -lbl_8028243C: -/* 8028243C 0027F37C 80 64 00 64 */ lwz r3, 0x64(r4) -/* 80282440 0027F380 7F A4 EB 78 */ mr r4, r29 -/* 80282444 0027F384 4B DA C9 D9 */ bl getName__10JUTNameTabCFUs -/* 80282448 0027F388 38 82 D2 D8 */ addi r4, r2, lbl_8051B638@sda21 -/* 8028244C 0027F38C 4B E4 82 75 */ bl strcmp -/* 80282450 0027F390 2C 03 00 00 */ cmpwi r3, 0 -/* 80282454 0027F394 40 82 00 20 */ bne lbl_80282474 -/* 80282458 0027F398 80 9E 00 08 */ lwz r4, 8(r30) -/* 8028245C 0027F39C 57 A3 32 B2 */ rlwinm r3, r29, 6, 0xa, 0x19 -/* 80282460 0027F3A0 38 03 00 2C */ addi r0, r3, 0x2c -/* 80282464 0027F3A4 80 64 00 C0 */ lwz r3, 0xc0(r4) -/* 80282468 0027F3A8 38 9F 02 00 */ addi r4, r31, 0x200 -/* 8028246C 0027F3AC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80282470 0027F3B0 4B DD DE 69 */ bl newDifferedDisplayList__14J3DShapePacketFUl -lbl_80282474: -/* 80282474 0027F3B4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80282478: -/* 80282478 0027F3B8 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 8028247C 0027F3BC 57 A0 04 3E */ clrlwi r0, r29, 0x10 -/* 80282480 0027F3C0 A0 64 00 5C */ lhz r3, 0x5c(r4) -/* 80282484 0027F3C4 7C 00 18 40 */ cmplw r0, r3 -/* 80282488 0027F3C8 41 80 FF B4 */ blt lbl_8028243C -/* 8028248C 0027F3CC 38 61 00 08 */ addi r3, r1, 8 -/* 80282490 0027F3D0 4B E6 7E 11 */ bl PSMTXIdentity -/* 80282494 0027F3D4 3C 80 80 51 */ lis r4, j3dSys@ha -/* 80282498 0027F3D8 38 61 00 08 */ addi r3, r1, 8 -/* 8028249C 0027F3DC 38 84 F2 30 */ addi r4, r4, j3dSys@l -/* 802824A0 0027F3E0 4B E6 7E 2D */ bl PSMTXCopy -/* 802824A4 0027F3E4 83 FE 00 08 */ lwz r31, 8(r30) -/* 802824A8 0027F3E8 7F E3 FB 78 */ mr r3, r31 -/* 802824AC 0027F3EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802824B0 0027F3F0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802824B4 0027F3F4 7D 89 03 A6 */ mtctr r12 -/* 802824B8 0027F3F8 4E 80 04 21 */ bctrl -/* 802824BC 0027F3FC 7F E3 FB 78 */ mr r3, r31 -/* 802824C0 0027F400 81 9F 00 00 */ lwz r12, 0(r31) -/* 802824C4 0027F404 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802824C8 0027F408 7D 89 03 A6 */ mtctr r12 -/* 802824CC 0027F40C 4E 80 04 21 */ bctrl -/* 802824D0 0027F410 7F E3 FB 78 */ mr r3, r31 -/* 802824D4 0027F414 4B DE 44 51 */ bl makeDL__8J3DModelFv -/* 802824D8 0027F418 7F E3 FB 78 */ mr r3, r31 -/* 802824DC 0027F41C 4B DE 43 19 */ bl lock__8J3DModelFv -/* 802824E0 0027F420 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802824E4 0027F424 7F C3 F3 78 */ mr r3, r30 -/* 802824E8 0027F428 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 802824EC 0027F42C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 802824F0 0027F430 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 802824F4 0027F434 83 81 00 40 */ lwz r28, 0x40(r1) -/* 802824F8 0027F438 7C 08 03 A6 */ mtlr r0 -/* 802824FC 0027F43C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80282500 0027F440 4E 80 00 20 */ blr - -.global __dt__Q34Game3Mar3MgrFv -__dt__Q34Game3Mar3MgrFv: -/* 80282504 0027F444 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282508 0027F448 7C 08 02 A6 */ mflr r0 -/* 8028250C 0027F44C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282510 0027F450 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80282514 0027F454 7C 9F 23 78 */ mr r31, r4 -/* 80282518 0027F458 93 C1 00 08 */ stw r30, 8(r1) -/* 8028251C 0027F45C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80282520 0027F460 41 82 00 78 */ beq lbl_80282598 -/* 80282524 0027F464 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar3Mgr@ha -/* 80282528 0027F468 38 63 8C A0 */ addi r3, r3, __vt__Q34Game3Mar3Mgr@l -/* 8028252C 0027F46C 90 7E 00 00 */ stw r3, 0(r30) -/* 80282530 0027F470 38 03 00 38 */ addi r0, r3, 0x38 -/* 80282534 0027F474 90 1E 00 04 */ stw r0, 4(r30) -/* 80282538 0027F478 41 82 00 50 */ beq lbl_80282588 -/* 8028253C 0027F47C 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80282540 0027F480 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80282544 0027F484 90 7E 00 00 */ stw r3, 0(r30) -/* 80282548 0027F488 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028254C 0027F48C 90 1E 00 04 */ stw r0, 4(r30) -/* 80282550 0027F490 41 82 00 38 */ beq lbl_80282588 -/* 80282554 0027F494 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80282558 0027F498 34 1E 00 04 */ addic. r0, r30, 4 -/* 8028255C 0027F49C 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80282560 0027F4A0 90 7E 00 00 */ stw r3, 0(r30) -/* 80282564 0027F4A4 38 03 00 38 */ addi r0, r3, 0x38 -/* 80282568 0027F4A8 90 1E 00 04 */ stw r0, 4(r30) -/* 8028256C 0027F4AC 41 82 00 1C */ beq lbl_80282588 -/* 80282570 0027F4B0 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80282574 0027F4B4 38 7E 00 04 */ addi r3, r30, 4 -/* 80282578 0027F4B8 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8028257C 0027F4BC 38 80 00 00 */ li r4, 0 -/* 80282580 0027F4C0 90 1E 00 04 */ stw r0, 4(r30) -/* 80282584 0027F4C4 48 18 F0 05 */ bl __dt__5CNodeFv -lbl_80282588: -/* 80282588 0027F4C8 7F E0 07 35 */ extsh. r0, r31 -/* 8028258C 0027F4CC 40 81 00 0C */ ble lbl_80282598 -/* 80282590 0027F4D0 7F C3 F3 78 */ mr r3, r30 -/* 80282594 0027F4D4 4B DA 1B 21 */ bl __dl__FPv -lbl_80282598: -/* 80282598 0027F4D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028259C 0027F4DC 7F C3 F3 78 */ mr r3, r30 -/* 802825A0 0027F4E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802825A4 0027F4E4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802825A8 0027F4E8 7C 08 03 A6 */ mtlr r0 -/* 802825AC 0027F4EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802825B0 0027F4F0 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game3Mar3MgrFv -getEnemyTypeID__Q34Game3Mar3MgrFv: -/* 802825B4 0027F4F4 38 60 00 1D */ li r3, 0x1d -/* 802825B8 0027F4F8 4E 80 00 20 */ blr - -.global read__Q34Game3Mar5ParmsFR6Stream -read__Q34Game3Mar5ParmsFR6Stream: -/* 802825BC 0027F4FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802825C0 0027F500 7C 08 02 A6 */ mflr r0 -/* 802825C4 0027F504 90 01 00 14 */ stw r0, 0x14(r1) -/* 802825C8 0027F508 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802825CC 0027F50C 7C 9F 23 78 */ mr r31, r4 -/* 802825D0 0027F510 93 C1 00 08 */ stw r30, 8(r1) -/* 802825D4 0027F514 7C 7E 1B 78 */ mr r30, r3 -/* 802825D8 0027F518 48 19 12 1D */ bl read__10ParametersFR6Stream -/* 802825DC 0027F51C 7F E4 FB 78 */ mr r4, r31 -/* 802825E0 0027F520 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 802825E4 0027F524 48 19 12 11 */ bl read__10ParametersFR6Stream -/* 802825E8 0027F528 7F E4 FB 78 */ mr r4, r31 -/* 802825EC 0027F52C 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 802825F0 0027F530 48 19 12 05 */ bl read__10ParametersFR6Stream -/* 802825F4 0027F534 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802825F8 0027F538 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802825FC 0027F53C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80282600 0027F540 7C 08 03 A6 */ mtlr r0 -/* 80282604 0027F544 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282608 0027F548 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game3Mar3MgrFv -$$24$$2__dt__Q34Game3Mar3MgrFv: -/* 8028260C 0027F54C 38 63 FF FC */ addi r3, r3, -4 -/* 80282610 0027F550 4B FF FE F4 */ b __dt__Q34Game3Mar3MgrFv - -.global init__Q34Game3Mar3FSMFPQ24Game9EnemyBase -init__Q34Game3Mar3FSMFPQ24Game9EnemyBase: -/* 80282614 0027F554 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282618 0027F558 7C 08 02 A6 */ mflr r0 -/* 8028261C 0027F55C 3C 80 80 48 */ lis r4, lbl_80487800@ha -/* 80282620 0027F560 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282624 0027F564 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80282628 0027F568 7C 7F 1B 78 */ mr r31, r3 -/* 8028262C 0027F56C 93 C1 00 08 */ stw r30, 8(r1) -/* 80282630 0027F570 3B C4 78 00 */ addi r30, r4, lbl_80487800@l -/* 80282634 0027F574 38 80 00 0C */ li r4, 0xc -/* 80282638 0027F578 4B EA E2 2D */ bl create__Q24Game17EnemyStateMachineFi -/* 8028263C 0027F57C 38 60 00 10 */ li r3, 0x10 -/* 80282640 0027F580 4B DA 18 65 */ bl __nw__FUl -/* 80282644 0027F584 7C 64 1B 79 */ or. r4, r3, r3 -/* 80282648 0027F588 41 82 00 3C */ beq lbl_80282684 -/* 8028264C 0027F58C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80282650 0027F590 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 80282654 0027F594 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80282658 0027F598 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar9StateDead@ha -/* 8028265C 0027F59C 90 04 00 00 */ stw r0, 0(r4) -/* 80282660 0027F5A0 38 E0 00 00 */ li r7, 0 -/* 80282664 0027F5A4 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 80282668 0027F5A8 38 A2 D2 E0 */ addi r5, r2, lbl_8051B640@sda21 -/* 8028266C 0027F5AC 90 E4 00 04 */ stw r7, 4(r4) -/* 80282670 0027F5B0 38 03 8F 1C */ addi r0, r3, __vt__Q34Game3Mar9StateDead@l -/* 80282674 0027F5B4 90 E4 00 08 */ stw r7, 8(r4) -/* 80282678 0027F5B8 90 C4 00 00 */ stw r6, 0(r4) -/* 8028267C 0027F5BC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80282680 0027F5C0 90 04 00 00 */ stw r0, 0(r4) -lbl_80282684: -/* 80282684 0027F5C4 7F E3 FB 78 */ mr r3, r31 -/* 80282688 0027F5C8 4B EA E2 81 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8028268C 0027F5CC 38 60 00 10 */ li r3, 0x10 -/* 80282690 0027F5D0 4B DA 18 15 */ bl __nw__FUl -/* 80282694 0027F5D4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80282698 0027F5D8 41 82 00 40 */ beq lbl_802826D8 -/* 8028269C 0027F5DC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802826A0 0027F5E0 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 802826A4 0027F5E4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802826A8 0027F5E8 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar9StateWait@ha -/* 802826AC 0027F5EC 90 04 00 00 */ stw r0, 0(r4) -/* 802826B0 0027F5F0 38 00 00 01 */ li r0, 1 -/* 802826B4 0027F5F4 38 E0 00 00 */ li r7, 0 -/* 802826B8 0027F5F8 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 802826BC 0027F5FC 90 04 00 04 */ stw r0, 4(r4) -/* 802826C0 0027F600 38 A2 D2 E8 */ addi r5, r2, lbl_8051B648@sda21 -/* 802826C4 0027F604 38 03 8E F8 */ addi r0, r3, __vt__Q34Game3Mar9StateWait@l -/* 802826C8 0027F608 90 E4 00 08 */ stw r7, 8(r4) -/* 802826CC 0027F60C 90 C4 00 00 */ stw r6, 0(r4) -/* 802826D0 0027F610 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802826D4 0027F614 90 04 00 00 */ stw r0, 0(r4) -lbl_802826D8: -/* 802826D8 0027F618 7F E3 FB 78 */ mr r3, r31 -/* 802826DC 0027F61C 4B EA E2 2D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802826E0 0027F620 38 60 00 10 */ li r3, 0x10 -/* 802826E4 0027F624 4B DA 17 C1 */ bl __nw__FUl -/* 802826E8 0027F628 7C 64 1B 79 */ or. r4, r3, r3 -/* 802826EC 0027F62C 41 82 00 40 */ beq lbl_8028272C -/* 802826F0 0027F630 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802826F4 0027F634 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 802826F8 0027F638 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802826FC 0027F63C 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar9StateMove@ha -/* 80282700 0027F640 90 04 00 00 */ stw r0, 0(r4) -/* 80282704 0027F644 38 00 00 02 */ li r0, 2 -/* 80282708 0027F648 38 E0 00 00 */ li r7, 0 -/* 8028270C 0027F64C 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 80282710 0027F650 90 04 00 04 */ stw r0, 4(r4) -/* 80282714 0027F654 38 A2 D2 F0 */ addi r5, r2, lbl_8051B650@sda21 -/* 80282718 0027F658 38 03 8E D4 */ addi r0, r3, __vt__Q34Game3Mar9StateMove@l -/* 8028271C 0027F65C 90 E4 00 08 */ stw r7, 8(r4) -/* 80282720 0027F660 90 C4 00 00 */ stw r6, 0(r4) -/* 80282724 0027F664 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80282728 0027F668 90 04 00 00 */ stw r0, 0(r4) -lbl_8028272C: -/* 8028272C 0027F66C 7F E3 FB 78 */ mr r3, r31 -/* 80282730 0027F670 4B EA E1 D9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80282734 0027F674 38 60 00 10 */ li r3, 0x10 -/* 80282738 0027F678 4B DA 17 6D */ bl __nw__FUl -/* 8028273C 0027F67C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80282740 0027F680 41 82 00 40 */ beq lbl_80282780 -/* 80282744 0027F684 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80282748 0027F688 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 8028274C 0027F68C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80282750 0027F690 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar10StateChase@ha -/* 80282754 0027F694 90 04 00 00 */ stw r0, 0(r4) -/* 80282758 0027F698 38 00 00 03 */ li r0, 3 -/* 8028275C 0027F69C 38 E0 00 00 */ li r7, 0 -/* 80282760 0027F6A0 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 80282764 0027F6A4 90 04 00 04 */ stw r0, 4(r4) -/* 80282768 0027F6A8 38 A2 D2 F8 */ addi r5, r2, lbl_8051B658@sda21 -/* 8028276C 0027F6AC 38 03 8E B0 */ addi r0, r3, __vt__Q34Game3Mar10StateChase@l -/* 80282770 0027F6B0 90 E4 00 08 */ stw r7, 8(r4) -/* 80282774 0027F6B4 90 C4 00 00 */ stw r6, 0(r4) -/* 80282778 0027F6B8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8028277C 0027F6BC 90 04 00 00 */ stw r0, 0(r4) -lbl_80282780: -/* 80282780 0027F6C0 7F E3 FB 78 */ mr r3, r31 -/* 80282784 0027F6C4 4B EA E1 85 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80282788 0027F6C8 38 60 00 10 */ li r3, 0x10 -/* 8028278C 0027F6CC 4B DA 17 19 */ bl __nw__FUl -/* 80282790 0027F6D0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80282794 0027F6D4 41 82 00 40 */ beq lbl_802827D4 -/* 80282798 0027F6D8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8028279C 0027F6DC 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 802827A0 0027F6E0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802827A4 0027F6E4 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar16StateChaseInside@ha -/* 802827A8 0027F6E8 90 04 00 00 */ stw r0, 0(r4) -/* 802827AC 0027F6EC 38 00 00 04 */ li r0, 4 -/* 802827B0 0027F6F0 38 E0 00 00 */ li r7, 0 -/* 802827B4 0027F6F4 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 802827B8 0027F6F8 90 04 00 04 */ stw r0, 4(r4) -/* 802827BC 0027F6FC 38 BE 00 10 */ addi r5, r30, 0x10 -/* 802827C0 0027F700 38 03 8E 8C */ addi r0, r3, __vt__Q34Game3Mar16StateChaseInside@l -/* 802827C4 0027F704 90 E4 00 08 */ stw r7, 8(r4) -/* 802827C8 0027F708 90 C4 00 00 */ stw r6, 0(r4) -/* 802827CC 0027F70C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802827D0 0027F710 90 04 00 00 */ stw r0, 0(r4) -lbl_802827D4: -/* 802827D4 0027F714 7F E3 FB 78 */ mr r3, r31 -/* 802827D8 0027F718 4B EA E1 31 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802827DC 0027F71C 38 60 00 10 */ li r3, 0x10 -/* 802827E0 0027F720 4B DA 16 C5 */ bl __nw__FUl -/* 802827E4 0027F724 7C 64 1B 79 */ or. r4, r3, r3 -/* 802827E8 0027F728 41 82 00 40 */ beq lbl_80282828 -/* 802827EC 0027F72C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802827F0 0027F730 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 802827F4 0027F734 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802827F8 0027F738 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar11StateAttack@ha -/* 802827FC 0027F73C 90 04 00 00 */ stw r0, 0(r4) -/* 80282800 0027F740 38 00 00 05 */ li r0, 5 -/* 80282804 0027F744 38 E0 00 00 */ li r7, 0 -/* 80282808 0027F748 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 8028280C 0027F74C 90 04 00 04 */ stw r0, 4(r4) -/* 80282810 0027F750 38 A2 D3 00 */ addi r5, r2, lbl_8051B660@sda21 -/* 80282814 0027F754 38 03 8E 68 */ addi r0, r3, __vt__Q34Game3Mar11StateAttack@l -/* 80282818 0027F758 90 E4 00 08 */ stw r7, 8(r4) -/* 8028281C 0027F75C 90 C4 00 00 */ stw r6, 0(r4) -/* 80282820 0027F760 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80282824 0027F764 90 04 00 00 */ stw r0, 0(r4) -lbl_80282828: -/* 80282828 0027F768 7F E3 FB 78 */ mr r3, r31 -/* 8028282C 0027F76C 4B EA E0 DD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80282830 0027F770 38 60 00 10 */ li r3, 0x10 -/* 80282834 0027F774 4B DA 16 71 */ bl __nw__FUl -/* 80282838 0027F778 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028283C 0027F77C 41 82 00 40 */ beq lbl_8028287C -/* 80282840 0027F780 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80282844 0027F784 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 80282848 0027F788 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028284C 0027F78C 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar9StateFall@ha -/* 80282850 0027F790 90 04 00 00 */ stw r0, 0(r4) -/* 80282854 0027F794 38 00 00 06 */ li r0, 6 -/* 80282858 0027F798 38 E0 00 00 */ li r7, 0 -/* 8028285C 0027F79C 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 80282860 0027F7A0 90 04 00 04 */ stw r0, 4(r4) -/* 80282864 0027F7A4 38 A2 D3 08 */ addi r5, r2, lbl_8051B668@sda21 -/* 80282868 0027F7A8 38 03 8E 44 */ addi r0, r3, __vt__Q34Game3Mar9StateFall@l -/* 8028286C 0027F7AC 90 E4 00 08 */ stw r7, 8(r4) -/* 80282870 0027F7B0 90 C4 00 00 */ stw r6, 0(r4) -/* 80282874 0027F7B4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80282878 0027F7B8 90 04 00 00 */ stw r0, 0(r4) -lbl_8028287C: -/* 8028287C 0027F7BC 7F E3 FB 78 */ mr r3, r31 -/* 80282880 0027F7C0 4B EA E0 89 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80282884 0027F7C4 38 60 00 10 */ li r3, 0x10 -/* 80282888 0027F7C8 4B DA 16 1D */ bl __nw__FUl -/* 8028288C 0027F7CC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80282890 0027F7D0 41 82 00 40 */ beq lbl_802828D0 -/* 80282894 0027F7D4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80282898 0027F7D8 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 8028289C 0027F7DC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802828A0 0027F7E0 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar9StateLand@ha -/* 802828A4 0027F7E4 90 04 00 00 */ stw r0, 0(r4) -/* 802828A8 0027F7E8 38 00 00 07 */ li r0, 7 -/* 802828AC 0027F7EC 38 E0 00 00 */ li r7, 0 -/* 802828B0 0027F7F0 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 802828B4 0027F7F4 90 04 00 04 */ stw r0, 4(r4) -/* 802828B8 0027F7F8 38 A2 D3 10 */ addi r5, r2, lbl_8051B670@sda21 -/* 802828BC 0027F7FC 38 03 8E 20 */ addi r0, r3, __vt__Q34Game3Mar9StateLand@l -/* 802828C0 0027F800 90 E4 00 08 */ stw r7, 8(r4) -/* 802828C4 0027F804 90 C4 00 00 */ stw r6, 0(r4) -/* 802828C8 0027F808 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802828CC 0027F80C 90 04 00 00 */ stw r0, 0(r4) -lbl_802828D0: -/* 802828D0 0027F810 7F E3 FB 78 */ mr r3, r31 -/* 802828D4 0027F814 4B EA E0 35 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802828D8 0027F818 38 60 00 10 */ li r3, 0x10 -/* 802828DC 0027F81C 4B DA 15 C9 */ bl __nw__FUl -/* 802828E0 0027F820 7C 64 1B 79 */ or. r4, r3, r3 -/* 802828E4 0027F824 41 82 00 40 */ beq lbl_80282924 -/* 802828E8 0027F828 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802828EC 0027F82C 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 802828F0 0027F830 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802828F4 0027F834 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar11StateGround@ha -/* 802828F8 0027F838 90 04 00 00 */ stw r0, 0(r4) -/* 802828FC 0027F83C 38 00 00 08 */ li r0, 8 -/* 80282900 0027F840 38 E0 00 00 */ li r7, 0 -/* 80282904 0027F844 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 80282908 0027F848 90 04 00 04 */ stw r0, 4(r4) -/* 8028290C 0027F84C 38 A2 D3 18 */ addi r5, r2, lbl_8051B678@sda21 -/* 80282910 0027F850 38 03 8D FC */ addi r0, r3, __vt__Q34Game3Mar11StateGround@l -/* 80282914 0027F854 90 E4 00 08 */ stw r7, 8(r4) -/* 80282918 0027F858 90 C4 00 00 */ stw r6, 0(r4) -/* 8028291C 0027F85C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80282920 0027F860 90 04 00 00 */ stw r0, 0(r4) -lbl_80282924: -/* 80282924 0027F864 7F E3 FB 78 */ mr r3, r31 -/* 80282928 0027F868 4B EA DF E1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8028292C 0027F86C 38 60 00 10 */ li r3, 0x10 -/* 80282930 0027F870 4B DA 15 75 */ bl __nw__FUl -/* 80282934 0027F874 7C 64 1B 79 */ or. r4, r3, r3 -/* 80282938 0027F878 41 82 00 40 */ beq lbl_80282978 -/* 8028293C 0027F87C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80282940 0027F880 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 80282944 0027F884 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80282948 0027F888 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar12StateTakeOff@ha -/* 8028294C 0027F88C 90 04 00 00 */ stw r0, 0(r4) -/* 80282950 0027F890 38 00 00 09 */ li r0, 9 -/* 80282954 0027F894 38 E0 00 00 */ li r7, 0 -/* 80282958 0027F898 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 8028295C 0027F89C 90 04 00 04 */ stw r0, 4(r4) -/* 80282960 0027F8A0 38 A2 D3 20 */ addi r5, r2, lbl_8051B680@sda21 -/* 80282964 0027F8A4 38 03 8D D8 */ addi r0, r3, __vt__Q34Game3Mar12StateTakeOff@l -/* 80282968 0027F8A8 90 E4 00 08 */ stw r7, 8(r4) -/* 8028296C 0027F8AC 90 C4 00 00 */ stw r6, 0(r4) -/* 80282970 0027F8B0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80282974 0027F8B4 90 04 00 00 */ stw r0, 0(r4) -lbl_80282978: -/* 80282978 0027F8B8 7F E3 FB 78 */ mr r3, r31 -/* 8028297C 0027F8BC 4B EA DF 8D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80282980 0027F8C0 38 60 00 10 */ li r3, 0x10 -/* 80282984 0027F8C4 4B DA 15 21 */ bl __nw__FUl -/* 80282988 0027F8C8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028298C 0027F8CC 41 82 00 40 */ beq lbl_802829CC -/* 80282990 0027F8D0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80282994 0027F8D4 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 80282998 0027F8D8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028299C 0027F8DC 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar13StateFlyFlick@ha -/* 802829A0 0027F8E0 90 04 00 00 */ stw r0, 0(r4) -/* 802829A4 0027F8E4 38 00 00 0A */ li r0, 0xa -/* 802829A8 0027F8E8 38 E0 00 00 */ li r7, 0 -/* 802829AC 0027F8EC 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 802829B0 0027F8F0 90 04 00 04 */ stw r0, 4(r4) -/* 802829B4 0027F8F4 38 BE 00 1C */ addi r5, r30, 0x1c -/* 802829B8 0027F8F8 38 03 8D B4 */ addi r0, r3, __vt__Q34Game3Mar13StateFlyFlick@l -/* 802829BC 0027F8FC 90 E4 00 08 */ stw r7, 8(r4) -/* 802829C0 0027F900 90 C4 00 00 */ stw r6, 0(r4) -/* 802829C4 0027F904 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802829C8 0027F908 90 04 00 00 */ stw r0, 0(r4) -lbl_802829CC: -/* 802829CC 0027F90C 7F E3 FB 78 */ mr r3, r31 -/* 802829D0 0027F910 4B EA DF 39 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802829D4 0027F914 38 60 00 10 */ li r3, 0x10 -/* 802829D8 0027F918 4B DA 14 CD */ bl __nw__FUl -/* 802829DC 0027F91C 7C 64 1B 79 */ or. r4, r3, r3 -/* 802829E0 0027F920 41 82 00 40 */ beq lbl_80282A20 -/* 802829E4 0027F924 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802829E8 0027F928 3C A0 80 4D */ lis r5, __vt__Q34Game3Mar5State@ha -/* 802829EC 0027F92C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802829F0 0027F930 3C 60 80 4D */ lis r3, __vt__Q34Game3Mar16StateGroundFlick@ha -/* 802829F4 0027F934 90 04 00 00 */ stw r0, 0(r4) -/* 802829F8 0027F938 38 00 00 0B */ li r0, 0xb -/* 802829FC 0027F93C 38 E0 00 00 */ li r7, 0 -/* 80282A00 0027F940 38 C5 8F 40 */ addi r6, r5, __vt__Q34Game3Mar5State@l -/* 80282A04 0027F944 90 04 00 04 */ stw r0, 4(r4) -/* 80282A08 0027F948 38 BE 00 28 */ addi r5, r30, 0x28 -/* 80282A0C 0027F94C 38 03 8D 90 */ addi r0, r3, __vt__Q34Game3Mar16StateGroundFlick@l -/* 80282A10 0027F950 90 E4 00 08 */ stw r7, 8(r4) -/* 80282A14 0027F954 90 C4 00 00 */ stw r6, 0(r4) -/* 80282A18 0027F958 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80282A1C 0027F95C 90 04 00 00 */ stw r0, 0(r4) -lbl_80282A20: -/* 80282A20 0027F960 7F E3 FB 78 */ mr r3, r31 -/* 80282A24 0027F964 4B EA DE E5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80282A28 0027F968 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282A2C 0027F96C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80282A30 0027F970 83 C1 00 08 */ lwz r30, 8(r1) -/* 80282A34 0027F974 7C 08 03 A6 */ mtlr r0 -/* 80282A38 0027F978 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282A3C 0027F97C 4E 80 00 20 */ blr - -.global init__Q34Game3Mar9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80282A40 0027F980 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282A44 0027F984 7C 08 02 A6 */ mflr r0 -/* 80282A48 0027F988 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80282A4C 0027F98C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282A50 0027F990 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80282A54 0027F994 7C 9F 23 78 */ mr r31, r4 -/* 80282A58 0027F998 7F E3 FB 78 */ mr r3, r31 -/* 80282A5C 0027F99C 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80282A60 0027F9A0 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80282A64 0027F9A4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80282A68 0027F9A8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80282A6C 0027F9AC 54 00 07 76 */ rlwinm r0, r0, 0, 0x1d, 0x1b -/* 80282A70 0027F9B0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80282A74 0027F9B4 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80282A78 0027F9B8 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80282A7C 0027F9BC D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80282A80 0027F9C0 4B E8 2C A1 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80282A84 0027F9C4 7F E3 FB 78 */ mr r3, r31 -/* 80282A88 0027F9C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80282A8C 0027F9CC 81 8C 00 CC */ lwz r12, 0xcc(r12) -/* 80282A90 0027F9D0 7D 89 03 A6 */ mtctr r12 -/* 80282A94 0027F9D4 4E 80 04 21 */ bctrl -/* 80282A98 0027F9D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80282A9C 0027F9DC 41 82 00 18 */ beq lbl_80282AB4 -/* 80282AA0 0027F9E0 7F E3 FB 78 */ mr r3, r31 -/* 80282AA4 0027F9E4 38 80 00 00 */ li r4, 0 -/* 80282AA8 0027F9E8 38 A0 00 00 */ li r5, 0 -/* 80282AAC 0027F9EC 4B E8 25 59 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80282AB0 0027F9F0 48 00 00 14 */ b lbl_80282AC4 -lbl_80282AB4: -/* 80282AB4 0027F9F4 7F E3 FB 78 */ mr r3, r31 -/* 80282AB8 0027F9F8 38 80 00 01 */ li r4, 1 -/* 80282ABC 0027F9FC 38 A0 00 00 */ li r5, 0 -/* 80282AC0 0027FA00 4B E8 25 45 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -lbl_80282AC4: -/* 80282AC4 0027FA04 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80282AC8 0027FA08 7F E3 FB 78 */ mr r3, r31 -/* 80282ACC 0027FA0C 60 00 00 04 */ ori r0, r0, 4 -/* 80282AD0 0027FA10 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80282AD4 0027FA14 4B FF EE B9 */ bl startDeadEffect__Q34Game3Mar3ObjFv -/* 80282AD8 0027FA18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282ADC 0027FA1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80282AE0 0027FA20 7C 08 03 A6 */ mtlr r0 -/* 80282AE4 0027FA24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282AE8 0027FA28 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar9StateDeadFPQ24Game9EnemyBase -exec__Q34Game3Mar9StateDeadFPQ24Game9EnemyBase: -/* 80282AEC 0027FA2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282AF0 0027FA30 7C 08 02 A6 */ mflr r0 -/* 80282AF4 0027FA34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282AF8 0027FA38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80282AFC 0027FA3C 7C 9F 23 78 */ mr r31, r4 -/* 80282B00 0027FA40 7F E3 FB 78 */ mr r3, r31 -/* 80282B04 0027FA44 4B E8 27 69 */ bl getMotionFrame__Q24Game9EnemyBaseFv -/* 80282B08 0027FA48 C0 02 D3 2C */ lfs f0, lbl_8051B68C@sda21(r2) -/* 80282B0C 0027FA4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80282B10 0027FA50 40 81 00 0C */ ble lbl_80282B1C -/* 80282B14 0027FA54 7F E3 FB 78 */ mr r3, r31 -/* 80282B18 0027FA58 4B FF D4 ED */ bl subShadowRadius__Q34Game3Mar3ObjFv -lbl_80282B1C: -/* 80282B1C 0027FA5C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80282B20 0027FA60 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80282B24 0027FA64 28 00 00 00 */ cmplwi r0, 0 -/* 80282B28 0027FA68 41 82 00 38 */ beq lbl_80282B60 -/* 80282B2C 0027FA6C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80282B30 0027FA70 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80282B34 0027FA74 40 82 00 2C */ bne lbl_80282B60 -/* 80282B38 0027FA78 7F E3 FB 78 */ mr r3, r31 -/* 80282B3C 0027FA7C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80282B40 0027FA80 81 8C 02 64 */ lwz r12, 0x264(r12) -/* 80282B44 0027FA84 7D 89 03 A6 */ mtctr r12 -/* 80282B48 0027FA88 4E 80 04 21 */ bctrl -/* 80282B4C 0027FA8C 7F E3 FB 78 */ mr r3, r31 -/* 80282B50 0027FA90 4B FF EF 7D */ bl finishWindEffect__Q34Game3Mar3ObjFv -/* 80282B54 0027FA94 7F E3 FB 78 */ mr r3, r31 -/* 80282B58 0027FA98 38 80 00 00 */ li r4, 0 -/* 80282B5C 0027FA9C 4B EB 85 95 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80282B60: -/* 80282B60 0027FAA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282B64 0027FAA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80282B68 0027FAA8 7C 08 03 A6 */ mtlr r0 -/* 80282B6C 0027FAAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282B70 0027FAB0 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game3Mar9StateDeadFPQ24Game9EnemyBase: -/* 80282B74 0027FAB4 4E 80 00 20 */ blr - -.global init__Q34Game3Mar9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80282B78 0027FAB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282B7C 0027FABC 7C 08 02 A6 */ mflr r0 -/* 80282B80 0027FAC0 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80282B84 0027FAC4 7C 83 23 78 */ mr r3, r4 -/* 80282B88 0027FAC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282B8C 0027FACC 38 00 00 00 */ li r0, 0 -/* 80282B90 0027FAD0 38 A0 00 00 */ li r5, 0 -/* 80282B94 0027FAD4 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 80282B98 0027FAD8 38 80 00 05 */ li r4, 5 -/* 80282B9C 0027FADC D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80282BA0 0027FAE0 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80282BA4 0027FAE4 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80282BA8 0027FAE8 90 03 02 30 */ stw r0, 0x230(r3) -/* 80282BAC 0027FAEC 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80282BB0 0027FAF0 60 00 00 04 */ ori r0, r0, 4 -/* 80282BB4 0027FAF4 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80282BB8 0027FAF8 4B E8 24 4D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80282BBC 0027FAFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282BC0 0027FB00 7C 08 03 A6 */ mtlr r0 -/* 80282BC4 0027FB04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282BC8 0027FB08 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar9StateWaitFPQ24Game9EnemyBase -exec__Q34Game3Mar9StateWaitFPQ24Game9EnemyBase: -/* 80282BCC 0027FB0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282BD0 0027FB10 7C 08 02 A6 */ mflr r0 -/* 80282BD4 0027FB14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282BD8 0027FB18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80282BDC 0027FB1C 7C 9F 23 78 */ mr r31, r4 -/* 80282BE0 0027FB20 93 C1 00 08 */ stw r30, 8(r1) -/* 80282BE4 0027FB24 7C 7E 1B 78 */ mr r30, r3 -/* 80282BE8 0027FB28 7F E3 FB 78 */ mr r3, r31 -/* 80282BEC 0027FB2C 4B FF D0 B1 */ bl setHeightVelocity__Q34Game3Mar3ObjFv -/* 80282BF0 0027FB30 7F E3 FB 78 */ mr r3, r31 -/* 80282BF4 0027FB34 4B FF D5 4D */ bl getSearchedPikmin__Q34Game3Mar3ObjFv -/* 80282BF8 0027FB38 28 03 00 00 */ cmplwi r3, 0 -/* 80282BFC 0027FB3C 40 82 00 0C */ bne lbl_80282C08 -/* 80282C00 0027FB40 7F E3 FB 78 */ mr r3, r31 -/* 80282C04 0027FB44 4B FF DB D9 */ bl isAttackable__Q34Game3Mar3ObjFv -lbl_80282C08: -/* 80282C08 0027FB48 28 03 00 00 */ cmplwi r3, 0 -/* 80282C0C 0027FB4C 41 82 00 2C */ beq lbl_80282C38 -/* 80282C10 0027FB50 90 7F 02 30 */ stw r3, 0x230(r31) -/* 80282C14 0027FB54 7F C3 F3 78 */ mr r3, r30 -/* 80282C18 0027FB58 7F E4 FB 78 */ mr r4, r31 -/* 80282C1C 0027FB5C 38 A0 00 03 */ li r5, 3 -/* 80282C20 0027FB60 81 9E 00 00 */ lwz r12, 0(r30) -/* 80282C24 0027FB64 38 C0 00 00 */ li r6, 0 -/* 80282C28 0027FB68 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80282C2C 0027FB6C 7D 89 03 A6 */ mtctr r12 -/* 80282C30 0027FB70 4E 80 04 21 */ bctrl -/* 80282C34 0027FB74 48 00 00 38 */ b lbl_80282C6C -lbl_80282C38: -/* 80282C38 0027FB78 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80282C3C 0027FB7C C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80282C40 0027FB80 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 80282C44 0027FB84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80282C48 0027FB88 40 81 00 24 */ ble lbl_80282C6C -/* 80282C4C 0027FB8C 7F C3 F3 78 */ mr r3, r30 -/* 80282C50 0027FB90 7F E4 FB 78 */ mr r4, r31 -/* 80282C54 0027FB94 81 9E 00 00 */ lwz r12, 0(r30) -/* 80282C58 0027FB98 38 A0 00 02 */ li r5, 2 -/* 80282C5C 0027FB9C 38 C0 00 00 */ li r6, 0 -/* 80282C60 0027FBA0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80282C64 0027FBA4 7D 89 03 A6 */ mtctr r12 -/* 80282C68 0027FBA8 4E 80 04 21 */ bctrl -lbl_80282C6C: -/* 80282C6C 0027FBAC 7F E3 FB 78 */ mr r3, r31 -/* 80282C70 0027FBB0 4B FF D3 F5 */ bl getFlyingNextState__Q34Game3Mar3ObjFv -/* 80282C74 0027FBB4 7C 65 1B 79 */ or. r5, r3, r3 -/* 80282C78 0027FBB8 41 80 00 24 */ blt lbl_80282C9C -/* 80282C7C 0027FBBC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80282C80 0027FBC0 7F C3 F3 78 */ mr r3, r30 -/* 80282C84 0027FBC4 7F E4 FB 78 */ mr r4, r31 -/* 80282C88 0027FBC8 38 C0 00 00 */ li r6, 0 -/* 80282C8C 0027FBCC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80282C90 0027FBD0 7D 89 03 A6 */ mtctr r12 -/* 80282C94 0027FBD4 4E 80 04 21 */ bctrl -/* 80282C98 0027FBD8 48 00 00 54 */ b lbl_80282CEC -lbl_80282C9C: -/* 80282C9C 0027FBDC 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80282CA0 0027FBE0 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80282CA4 0027FBE4 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80282CA8 0027FBE8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80282CAC 0027FBEC D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80282CB0 0027FBF0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80282CB4 0027FBF4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80282CB8 0027FBF8 28 00 00 00 */ cmplwi r0, 0 -/* 80282CBC 0027FBFC 41 82 00 30 */ beq lbl_80282CEC -/* 80282CC0 0027FC00 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80282CC4 0027FC04 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80282CC8 0027FC08 40 82 00 24 */ bne lbl_80282CEC -/* 80282CCC 0027FC0C 7F C3 F3 78 */ mr r3, r30 -/* 80282CD0 0027FC10 7F E4 FB 78 */ mr r4, r31 -/* 80282CD4 0027FC14 81 9E 00 00 */ lwz r12, 0(r30) -/* 80282CD8 0027FC18 38 A0 00 01 */ li r5, 1 -/* 80282CDC 0027FC1C 38 C0 00 00 */ li r6, 0 -/* 80282CE0 0027FC20 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80282CE4 0027FC24 7D 89 03 A6 */ mtctr r12 -/* 80282CE8 0027FC28 4E 80 04 21 */ bctrl -lbl_80282CEC: -/* 80282CEC 0027FC2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282CF0 0027FC30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80282CF4 0027FC34 83 C1 00 08 */ lwz r30, 8(r1) -/* 80282CF8 0027FC38 7C 08 03 A6 */ mtlr r0 -/* 80282CFC 0027FC3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282D00 0027FC40 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game3Mar9StateWaitFPQ24Game9EnemyBase: -/* 80282D04 0027FC44 4E 80 00 20 */ blr - -.global init__Q34Game3Mar9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80282D08 0027FC48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282D0C 0027FC4C 7C 08 02 A6 */ mflr r0 -/* 80282D10 0027FC50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282D14 0027FC54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80282D18 0027FC58 7C 9F 23 78 */ mr r31, r4 -/* 80282D1C 0027FC5C 7F E3 FB 78 */ mr r3, r31 -/* 80282D20 0027FC60 4B FF D0 99 */ bl setRandTarget__Q34Game3Mar3ObjFv -/* 80282D24 0027FC64 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80282D28 0027FC68 38 00 00 00 */ li r0, 0 -/* 80282D2C 0027FC6C D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80282D30 0027FC70 90 1F 02 30 */ stw r0, 0x230(r31) -/* 80282D34 0027FC74 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80282D38 0027FC78 60 00 00 04 */ ori r0, r0, 4 -/* 80282D3C 0027FC7C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80282D40 0027FC80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80282D44 0027FC84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282D48 0027FC88 7C 08 03 A6 */ mtlr r0 -/* 80282D4C 0027FC8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282D50 0027FC90 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar9StateMoveFPQ24Game9EnemyBase -exec__Q34Game3Mar9StateMoveFPQ24Game9EnemyBase: -/* 80282D54 0027FC94 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80282D58 0027FC98 7C 08 02 A6 */ mflr r0 -/* 80282D5C 0027FC9C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80282D60 0027FCA0 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80282D64 0027FCA4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80282D68 0027FCA8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80282D6C 0027FCAC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80282D70 0027FCB0 7C 9F 23 78 */ mr r31, r4 -/* 80282D74 0027FCB4 7C 7E 1B 78 */ mr r30, r3 -/* 80282D78 0027FCB8 7F E3 FB 78 */ mr r3, r31 -/* 80282D7C 0027FCBC 4B FF CF 21 */ bl setHeightVelocity__Q34Game3Mar3ObjFv -/* 80282D80 0027FCC0 7F E4 FB 78 */ mr r4, r31 -/* 80282D84 0027FCC4 38 61 00 08 */ addi r3, r1, 8 -/* 80282D88 0027FCC8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80282D8C 0027FCCC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80282D90 0027FCD0 7D 89 03 A6 */ mtctr r12 -/* 80282D94 0027FCD4 4E 80 04 21 */ bctrl -/* 80282D98 0027FCD8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80282D9C 0027FCDC 7F E3 FB 78 */ mr r3, r31 -/* 80282DA0 0027FCE0 C0 BF 02 D8 */ lfs f5, 0x2d8(r31) -/* 80282DA4 0027FCE4 C0 3F 02 D0 */ lfs f1, 0x2d0(r31) -/* 80282DA8 0027FCE8 EC 40 28 28 */ fsubs f2, f0, f5 -/* 80282DAC 0027FCEC C0 01 00 08 */ lfs f0, 8(r1) -/* 80282DB0 0027FCF0 C0 9F 02 D4 */ lfs f4, 0x2d4(r31) -/* 80282DB4 0027FCF4 EC 60 08 28 */ fsubs f3, f0, f1 -/* 80282DB8 0027FCF8 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80282DBC 0027FCFC D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80282DC0 0027FD00 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80282DC4 0027FD04 EF E3 00 FA */ fmadds f31, f3, f3, f0 -/* 80282DC8 0027FD08 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 80282DCC 0027FD0C 4B FF D3 75 */ bl getSearchedPikmin__Q34Game3Mar3ObjFv -/* 80282DD0 0027FD10 28 03 00 00 */ cmplwi r3, 0 -/* 80282DD4 0027FD14 41 82 00 2C */ beq lbl_80282E00 -/* 80282DD8 0027FD18 90 7F 02 30 */ stw r3, 0x230(r31) -/* 80282DDC 0027FD1C 7F C3 F3 78 */ mr r3, r30 -/* 80282DE0 0027FD20 7F E4 FB 78 */ mr r4, r31 -/* 80282DE4 0027FD24 38 A0 00 03 */ li r5, 3 -/* 80282DE8 0027FD28 81 9E 00 00 */ lwz r12, 0(r30) -/* 80282DEC 0027FD2C 38 C0 00 00 */ li r6, 0 -/* 80282DF0 0027FD30 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80282DF4 0027FD34 7D 89 03 A6 */ mtctr r12 -/* 80282DF8 0027FD38 4E 80 04 21 */ bctrl -/* 80282DFC 0027FD3C 48 00 00 58 */ b lbl_80282E54 -lbl_80282E00: -/* 80282E00 0027FD40 C0 02 D3 30 */ lfs f0, lbl_8051B690@sda21(r2) -/* 80282E04 0027FD44 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80282E08 0027FD48 41 80 00 14 */ blt lbl_80282E1C -/* 80282E0C 0027FD4C C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80282E10 0027FD50 C0 02 D3 34 */ lfs f0, lbl_8051B694@sda21(r2) -/* 80282E14 0027FD54 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80282E18 0027FD58 40 81 00 20 */ ble lbl_80282E38 -lbl_80282E1C: -/* 80282E1C 0027FD5C C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80282E20 0027FD60 7F E3 FB 78 */ mr r3, r31 -/* 80282E24 0027FD64 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80282E28 0027FD68 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80282E2C 0027FD6C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80282E30 0027FD70 4B E8 24 71 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80282E34 0027FD74 48 00 00 20 */ b lbl_80282E54 -lbl_80282E38: -/* 80282E38 0027FD78 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80282E3C 0027FD7C 7F E3 FB 78 */ mr r3, r31 -/* 80282E40 0027FD80 38 81 00 14 */ addi r4, r1, 0x14 -/* 80282E44 0027FD84 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 80282E48 0027FD88 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 80282E4C 0027FD8C C0 65 03 34 */ lfs f3, 0x334(r5) -/* 80282E50 0027FD90 4B E9 27 8D */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -lbl_80282E54: -/* 80282E54 0027FD94 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 80282E58 0027FD98 7F E3 FB 78 */ mr r3, r31 -/* 80282E5C 0027FD9C C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80282E60 0027FDA0 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 80282E64 0027FDA4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80282E68 0027FDA8 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 80282E6C 0027FDAC 4B FF D1 F9 */ bl getFlyingNextState__Q34Game3Mar3ObjFv -/* 80282E70 0027FDB0 7C 65 1B 79 */ or. r5, r3, r3 -/* 80282E74 0027FDB4 41 80 00 24 */ blt lbl_80282E98 -/* 80282E78 0027FDB8 81 9E 00 00 */ lwz r12, 0(r30) -/* 80282E7C 0027FDBC 7F C3 F3 78 */ mr r3, r30 -/* 80282E80 0027FDC0 7F E4 FB 78 */ mr r4, r31 -/* 80282E84 0027FDC4 38 C0 00 00 */ li r6, 0 -/* 80282E88 0027FDC8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80282E8C 0027FDCC 7D 89 03 A6 */ mtctr r12 -/* 80282E90 0027FDD0 4E 80 04 21 */ bctrl -/* 80282E94 0027FDD4 48 00 00 40 */ b lbl_80282ED4 -lbl_80282E98: -/* 80282E98 0027FDD8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80282E9C 0027FDDC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80282EA0 0027FDE0 28 00 00 00 */ cmplwi r0, 0 -/* 80282EA4 0027FDE4 41 82 00 30 */ beq lbl_80282ED4 -/* 80282EA8 0027FDE8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80282EAC 0027FDEC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80282EB0 0027FDF0 40 82 00 24 */ bne lbl_80282ED4 -/* 80282EB4 0027FDF4 7F C3 F3 78 */ mr r3, r30 -/* 80282EB8 0027FDF8 7F E4 FB 78 */ mr r4, r31 -/* 80282EBC 0027FDFC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80282EC0 0027FE00 38 A0 00 01 */ li r5, 1 -/* 80282EC4 0027FE04 38 C0 00 00 */ li r6, 0 -/* 80282EC8 0027FE08 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80282ECC 0027FE0C 7D 89 03 A6 */ mtctr r12 -/* 80282ED0 0027FE10 4E 80 04 21 */ bctrl -lbl_80282ED4: -/* 80282ED4 0027FE14 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80282ED8 0027FE18 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80282EDC 0027FE1C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80282EE0 0027FE20 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80282EE4 0027FE24 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80282EE8 0027FE28 7C 08 03 A6 */ mtlr r0 -/* 80282EEC 0027FE2C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80282EF0 0027FE30 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game3Mar9StateMoveFPQ24Game9EnemyBase: -/* 80282EF4 0027FE34 4E 80 00 20 */ blr - -.global init__Q34Game3Mar10StateChaseFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar10StateChaseFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80282EF8 0027FE38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80282EFC 0027FE3C 7C 08 02 A6 */ mflr r0 -/* 80282F00 0027FE40 7C 83 23 78 */ mr r3, r4 -/* 80282F04 0027FE44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80282F08 0027FE48 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80282F0C 0027FE4C 60 00 00 04 */ ori r0, r0, 4 -/* 80282F10 0027FE50 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80282F14 0027FE54 4B E7 EA B9 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80282F18 0027FE58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80282F1C 0027FE5C 7C 08 03 A6 */ mtlr r0 -/* 80282F20 0027FE60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80282F24 0027FE64 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar10StateChaseFPQ24Game9EnemyBase -exec__Q34Game3Mar10StateChaseFPQ24Game9EnemyBase: -/* 80282F28 0027FE68 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80282F2C 0027FE6C 7C 08 02 A6 */ mflr r0 -/* 80282F30 0027FE70 90 01 01 34 */ stw r0, 0x134(r1) -/* 80282F34 0027FE74 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 80282F38 0027FE78 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 80282F3C 0027FE7C DB C1 01 10 */ stfd f30, 0x110(r1) -/* 80282F40 0027FE80 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 80282F44 0027FE84 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 80282F48 0027FE88 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 80282F4C 0027FE8C DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 80282F50 0027FE90 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 80282F54 0027FE94 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 80282F58 0027FE98 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 80282F5C 0027FE9C DB 41 00 D0 */ stfd f26, 0xd0(r1) -/* 80282F60 0027FEA0 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 -/* 80282F64 0027FEA4 DB 21 00 C0 */ stfd f25, 0xc0(r1) -/* 80282F68 0027FEA8 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 -/* 80282F6C 0027FEAC DB 01 00 B0 */ stfd f24, 0xb0(r1) -/* 80282F70 0027FEB0 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 -/* 80282F74 0027FEB4 DA E1 00 A0 */ stfd f23, 0xa0(r1) -/* 80282F78 0027FEB8 F2 E1 00 A8 */ psq_st f23, 168(r1), 0, qr0 -/* 80282F7C 0027FEBC DA C1 00 90 */ stfd f22, 0x90(r1) -/* 80282F80 0027FEC0 F2 C1 00 98 */ psq_st f22, 152(r1), 0, qr0 -/* 80282F84 0027FEC4 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80282F88 0027FEC8 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80282F8C 0027FECC 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80282F90 0027FED0 7C 9F 23 78 */ mr r31, r4 -/* 80282F94 0027FED4 7C 7E 1B 78 */ mr r30, r3 -/* 80282F98 0027FED8 7F E3 FB 78 */ mr r3, r31 -/* 80282F9C 0027FEDC 4B FF CD 01 */ bl setHeightVelocity__Q34Game3Mar3ObjFv -/* 80282FA0 0027FEE0 7F E3 FB 78 */ mr r3, r31 -/* 80282FA4 0027FEE4 4B E8 43 5D */ bl isFinishMotion__Q24Game9EnemyBaseFv -/* 80282FA8 0027FEE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80282FAC 0027FEEC 40 82 03 A4 */ bne lbl_80283350 -/* 80282FB0 0027FEF0 83 BF 02 30 */ lwz r29, 0x230(r31) -/* 80282FB4 0027FEF4 28 1D 00 00 */ cmplwi r29, 0 -/* 80282FB8 0027FEF8 41 82 03 6C */ beq lbl_80283324 -/* 80282FBC 0027FEFC 7F E4 FB 78 */ mr r4, r31 -/* 80282FC0 0027FF00 38 61 00 50 */ addi r3, r1, 0x50 -/* 80282FC4 0027FF04 81 9F 00 00 */ lwz r12, 0(r31) -/* 80282FC8 0027FF08 C3 9F 01 98 */ lfs f28, 0x198(r31) -/* 80282FCC 0027FF0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80282FD0 0027FF10 C3 7F 01 A0 */ lfs f27, 0x1a0(r31) -/* 80282FD4 0027FF14 7D 89 03 A6 */ mtctr r12 -/* 80282FD8 0027FF18 4E 80 04 21 */ bctrl -/* 80282FDC 0027FF1C 7F A4 EB 78 */ mr r4, r29 -/* 80282FE0 0027FF20 38 61 00 44 */ addi r3, r1, 0x44 -/* 80282FE4 0027FF24 81 9D 00 00 */ lwz r12, 0(r29) -/* 80282FE8 0027FF28 C3 41 00 50 */ lfs f26, 0x50(r1) -/* 80282FEC 0027FF2C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80282FF0 0027FF30 C3 21 00 58 */ lfs f25, 0x58(r1) -/* 80282FF4 0027FF34 7D 89 03 A6 */ mtctr r12 -/* 80282FF8 0027FF38 4E 80 04 21 */ bctrl -/* 80282FFC 0027FF3C C0 A1 00 44 */ lfs f5, 0x44(r1) -/* 80283000 0027FF40 C0 C1 00 4C */ lfs f6, 0x4c(r1) -/* 80283004 0027FF44 EC 7A 28 28 */ fsubs f3, f26, f5 -/* 80283008 0027FF48 C0 22 D3 28 */ lfs f1, lbl_8051B688@sda21(r2) -/* 8028300C 0027FF4C EC 99 30 28 */ fsubs f4, f25, f6 -/* 80283010 0027FF50 EC 03 08 FA */ fmadds f0, f3, f3, f1 -/* 80283014 0027FF54 EC 44 01 32 */ fmuls f2, f4, f4 -/* 80283018 0027FF58 EC 42 00 2A */ fadds f2, f2, f0 -/* 8028301C 0027FF5C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80283020 0027FF60 40 81 00 14 */ ble lbl_80283034 -/* 80283024 0027FF64 40 81 00 14 */ ble lbl_80283038 -/* 80283028 0027FF68 FC 00 10 34 */ frsqrte f0, f2 -/* 8028302C 0027FF6C EC 40 00 B2 */ fmuls f2, f0, f2 -/* 80283030 0027FF70 48 00 00 08 */ b lbl_80283038 -lbl_80283034: -/* 80283034 0027FF74 FC 40 08 90 */ fmr f2, f1 -lbl_80283038: -/* 80283038 0027FF78 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 8028303C 0027FF7C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80283040 0027FF80 40 81 00 14 */ ble lbl_80283054 -/* 80283044 0027FF84 C0 02 D3 38 */ lfs f0, lbl_8051B698@sda21(r2) -/* 80283048 0027FF88 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8028304C 0027FF8C EC 63 00 32 */ fmuls f3, f3, f0 -/* 80283050 0027FF90 EC 84 00 32 */ fmuls f4, f4, f0 -lbl_80283054: -/* 80283054 0027FF94 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80283058 0027FF98 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8028305C 0027FF9C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80283060 0027FFA0 C0 04 05 64 */ lfs f0, 0x564(r4) -/* 80283064 0027FFA4 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80283068 0027FFA8 EC 84 00 32 */ fmuls f4, f4, f0 -/* 8028306C 0027FFAC EF 05 18 2A */ fadds f24, f5, f3 -/* 80283070 0027FFB0 EE E6 20 2A */ fadds f23, f6, f4 -/* 80283074 0027FFB4 EC 38 D0 28 */ fsubs f1, f24, f26 -/* 80283078 0027FFB8 EC 57 C8 28 */ fsubs f2, f23, f25 -/* 8028307C 0027FFBC 4B DB 20 8D */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80283080 0027FFC0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80283084 0027FFC4 FF A0 08 90 */ fmr f29, f1 -/* 80283088 0027FFC8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8028308C 0027FFCC 7F A4 EB 78 */ mr r4, r29 -/* 80283090 0027FFD0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80283094 0027FFD4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80283098 0027FFD8 C3 C5 03 34 */ lfs f30, 0x334(r5) -/* 8028309C 0027FFDC C3 E5 03 0C */ lfs f31, 0x30c(r5) -/* 802830A0 0027FFE0 7D 89 03 A6 */ mtctr r12 -/* 802830A4 0027FFE4 4E 80 04 21 */ bctrl -/* 802830A8 0027FFE8 7F E4 FB 78 */ mr r4, r31 -/* 802830AC 0027FFEC C0 41 00 20 */ lfs f2, 0x20(r1) -/* 802830B0 0027FFF0 81 9F 00 00 */ lwz r12, 0(r31) -/* 802830B4 0027FFF4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802830B8 0027FFF8 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802830BC 0027FFFC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802830C0 00280000 81 8C 00 08 */ lwz r12, 8(r12) -/* 802830C4 00280004 D0 41 00 08 */ stfs f2, 8(r1) -/* 802830C8 00280008 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802830CC 0028000C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802830D0 00280010 7D 89 03 A6 */ mtctr r12 -/* 802830D4 00280014 4E 80 04 21 */ bctrl -/* 802830D8 00280018 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 802830DC 0028001C 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802830E0 00280020 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 802830E4 00280024 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 802830E8 00280028 C0 21 00 08 */ lfs f1, 8(r1) -/* 802830EC 0028002C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802830F0 00280030 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 802830F4 00280034 EC 21 28 28 */ fsubs f1, f1, f5 -/* 802830F8 00280038 EC 40 18 28 */ fsubs f2, f0, f3 -/* 802830FC 0028003C D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80283100 00280040 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80283104 00280044 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80283108 00280048 4B DB 20 01 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8028310C 0028004C 48 18 EA C5 */ bl roundAng__Ff -/* 80283110 00280050 81 9F 00 00 */ lwz r12, 0(r31) -/* 80283114 00280054 FE C0 08 90 */ fmr f22, f1 -/* 80283118 00280058 7F E3 FB 78 */ mr r3, r31 -/* 8028311C 0028005C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80283120 00280060 7D 89 03 A6 */ mtctr r12 -/* 80283124 00280064 4E 80 04 21 */ bctrl -/* 80283128 00280068 FC 40 08 90 */ fmr f2, f1 -/* 8028312C 0028006C FC 20 B0 90 */ fmr f1, f22 -/* 80283130 00280070 48 18 EA CD */ bl angDist__Fff -/* 80283134 00280074 EF E1 07 F2 */ fmuls f31, f1, f31 -/* 80283138 00280078 C0 02 D3 40 */ lfs f0, lbl_8051B6A0@sda21(r2) -/* 8028313C 0028007C C0 22 D3 3C */ lfs f1, lbl_8051B69C@sda21(r2) -/* 80283140 00280080 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80283144 00280084 FC 40 FA 10 */ fabs f2, f31 -/* 80283148 00280088 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8028314C 0028008C FC 00 10 18 */ frsp f0, f2 -/* 80283150 00280090 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80283154 00280094 40 81 00 1C */ ble lbl_80283170 -/* 80283158 00280098 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 8028315C 0028009C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80283160 002800A0 40 81 00 0C */ ble lbl_8028316C -/* 80283164 002800A4 FF E0 08 90 */ fmr f31, f1 -/* 80283168 002800A8 48 00 00 08 */ b lbl_80283170 -lbl_8028316C: -/* 8028316C 002800AC FF E0 08 50 */ fneg f31, f1 -lbl_80283170: -/* 80283170 002800B0 7F E3 FB 78 */ mr r3, r31 -/* 80283174 002800B4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80283178 002800B8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028317C 002800BC 7D 89 03 A6 */ mtctr r12 -/* 80283180 002800C0 4E 80 04 21 */ bctrl -/* 80283184 002800C4 EC 3F 08 2A */ fadds f1, f31, f1 -/* 80283188 002800C8 48 18 EA 49 */ bl roundAng__Ff -/* 8028318C 002800CC EC 79 B8 28 */ fsubs f3, f25, f23 -/* 80283190 002800D0 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80283194 002800D4 EC 9A C0 28 */ fsubs f4, f26, f24 -/* 80283198 002800D8 C0 02 D3 44 */ lfs f0, lbl_8051B6A4@sda21(r2) -/* 8028319C 002800DC C0 5F 01 FC */ lfs f2, 0x1fc(r31) -/* 802831A0 002800E0 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 802831A4 002800E4 D0 5F 01 A8 */ stfs f2, 0x1a8(r31) -/* 802831A8 002800E8 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 802831AC 002800EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802831B0 002800F0 40 81 00 D4 */ ble lbl_80283284 -/* 802831B4 002800F4 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 802831B8 002800F8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 802831BC 002800FC FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 802831C0 00280100 C0 64 02 E4 */ lfs f3, 0x2e4(r4) -/* 802831C4 00280104 40 80 00 30 */ bge lbl_802831F4 -/* 802831C8 00280108 C0 02 D3 48 */ lfs f0, lbl_8051B6A8@sda21(r2) -/* 802831CC 0028010C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 802831D0 00280110 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 802831D4 00280114 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 802831D8 00280118 FC 00 00 1E */ fctiwz f0, f0 -/* 802831DC 0028011C D8 01 00 60 */ stfd f0, 0x60(r1) -/* 802831E0 00280120 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802831E4 00280124 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802831E8 00280128 7C 03 04 2E */ lfsx f0, r3, r0 -/* 802831EC 0028012C FC 40 00 50 */ fneg f2, f0 -/* 802831F0 00280130 48 00 00 28 */ b lbl_80283218 -lbl_802831F4: -/* 802831F4 00280134 C0 02 D3 4C */ lfs f0, lbl_8051B6AC@sda21(r2) -/* 802831F8 00280138 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 802831FC 0028013C 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80283200 00280140 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 80283204 00280144 FC 00 00 1E */ fctiwz f0, f0 -/* 80283208 00280148 D8 01 00 68 */ stfd f0, 0x68(r1) -/* 8028320C 0028014C 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 80283210 00280150 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80283214 00280154 7C 43 04 2E */ lfsx f2, r3, r0 -lbl_80283218: -/* 80283218 00280158 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 8028321C 0028015C EC 63 00 B2 */ fmuls f3, f3, f2 -/* 80283220 00280160 C0 3F 01 D4 */ lfs f1, 0x1d4(r31) -/* 80283224 00280164 C0 5F 01 D8 */ lfs f2, 0x1d8(r31) -/* 80283228 00280168 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8028322C 0028016C C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80283230 00280170 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80283234 00280174 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80283238 00280178 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8028323C 0028017C 40 80 00 08 */ bge lbl_80283244 -/* 80283240 00280180 FF A0 E8 50 */ fneg f29, f29 -lbl_80283244: -/* 80283244 00280184 C0 02 D3 4C */ lfs f0, lbl_8051B6AC@sda21(r2) -/* 80283248 00280188 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028324C 0028018C 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80283250 00280190 C0 24 02 E4 */ lfs f1, 0x2e4(r4) -/* 80283254 00280194 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 80283258 00280198 FC 00 00 1E */ fctiwz f0, f0 -/* 8028325C 0028019C D8 01 00 70 */ stfd f0, 0x70(r1) -/* 80283260 002801A0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80283264 002801A4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80283268 002801A8 7C 63 02 14 */ add r3, r3, r0 -/* 8028326C 002801AC C0 03 00 04 */ lfs f0, 4(r3) -/* 80283270 002801B0 D0 7F 01 D4 */ stfs f3, 0x1d4(r31) -/* 80283274 002801B4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80283278 002801B8 D0 5F 01 D8 */ stfs f2, 0x1d8(r31) -/* 8028327C 002801BC D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80283280 002801C0 48 00 00 14 */ b lbl_80283294 -lbl_80283284: -/* 80283284 002801C4 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283288 002801C8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8028328C 002801CC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80283290 002801D0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_80283294: -/* 80283294 002801D4 EC 39 D8 28 */ fsubs f1, f25, f27 -/* 80283298 002801D8 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8028329C 002801DC EC 5A E0 28 */ fsubs f2, f26, f28 -/* 802832A0 002801E0 C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 802832A4 002801E4 EC 21 00 72 */ fmuls f1, f1, f1 -/* 802832A8 002801E8 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802832AC 002801EC EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 802832B0 002801F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802832B4 002801F4 40 81 00 28 */ ble lbl_802832DC -/* 802832B8 002801F8 7F C3 F3 78 */ mr r3, r30 -/* 802832BC 002801FC 7F E4 FB 78 */ mr r4, r31 -/* 802832C0 00280200 81 9E 00 00 */ lwz r12, 0(r30) -/* 802832C4 00280204 38 A0 00 04 */ li r5, 4 -/* 802832C8 00280208 38 C0 00 00 */ li r6, 0 -/* 802832CC 0028020C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802832D0 00280210 7D 89 03 A6 */ mtctr r12 -/* 802832D4 00280214 4E 80 04 21 */ bctrl -/* 802832D8 00280218 48 00 00 4C */ b lbl_80283324 -lbl_802832DC: -/* 802832DC 0028021C 7F E3 FB 78 */ mr r3, r31 -/* 802832E0 00280220 4B FF D2 0D */ bl isTargetLost__Q34Game3Mar3ObjFv -/* 802832E4 00280224 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802832E8 00280228 41 82 00 3C */ beq lbl_80283324 -/* 802832EC 0028022C 7F E3 FB 78 */ mr r3, r31 -/* 802832F0 00280230 4B FF CE 51 */ bl getSearchedPikmin__Q34Game3Mar3ObjFv -/* 802832F4 00280234 28 03 00 00 */ cmplwi r3, 0 -/* 802832F8 00280238 41 82 00 0C */ beq lbl_80283304 -/* 802832FC 0028023C 90 7F 02 30 */ stw r3, 0x230(r31) -/* 80283300 00280240 48 00 00 24 */ b lbl_80283324 -lbl_80283304: -/* 80283304 00280244 7F C3 F3 78 */ mr r3, r30 -/* 80283308 00280248 7F E4 FB 78 */ mr r4, r31 -/* 8028330C 0028024C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283310 00280250 38 A0 00 01 */ li r5, 1 -/* 80283314 00280254 38 C0 00 00 */ li r6, 0 -/* 80283318 00280258 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028331C 0028025C 7D 89 03 A6 */ mtctr r12 -/* 80283320 00280260 4E 80 04 21 */ bctrl -lbl_80283324: -/* 80283324 00280264 7F E3 FB 78 */ mr r3, r31 -/* 80283328 00280268 4B FF D4 B5 */ bl isAttackable__Q34Game3Mar3ObjFv -/* 8028332C 0028026C 28 03 00 00 */ cmplwi r3, 0 -/* 80283330 00280270 41 82 00 20 */ beq lbl_80283350 -/* 80283334 00280274 90 7F 02 30 */ stw r3, 0x230(r31) -/* 80283338 00280278 7F E3 FB 78 */ mr r3, r31 -/* 8028333C 0028027C C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283340 00280280 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80283344 00280284 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80283348 00280288 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8028334C 0028028C 4B E8 1F 55 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80283350: -/* 80283350 00280290 7F E3 FB 78 */ mr r3, r31 -/* 80283354 00280294 4B FF CD 11 */ bl getFlyingNextState__Q34Game3Mar3ObjFv -/* 80283358 00280298 7C 65 1B 79 */ or. r5, r3, r3 -/* 8028335C 0028029C 41 80 00 24 */ blt lbl_80283380 -/* 80283360 002802A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283364 002802A4 7F C3 F3 78 */ mr r3, r30 -/* 80283368 002802A8 7F E4 FB 78 */ mr r4, r31 -/* 8028336C 002802AC 38 C0 00 00 */ li r6, 0 -/* 80283370 002802B0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283374 002802B4 7D 89 03 A6 */ mtctr r12 -/* 80283378 002802B8 4E 80 04 21 */ bctrl -/* 8028337C 002802BC 48 00 00 70 */ b lbl_802833EC -lbl_80283380: -/* 80283380 002802C0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80283384 002802C4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80283388 002802C8 28 00 00 00 */ cmplwi r0, 0 -/* 8028338C 002802CC 41 82 00 60 */ beq lbl_802833EC -/* 80283390 002802D0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80283394 002802D4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80283398 002802D8 40 82 00 54 */ bne lbl_802833EC -/* 8028339C 002802DC 80 1F 02 30 */ lwz r0, 0x230(r31) -/* 802833A0 002802E0 28 00 00 00 */ cmplwi r0, 0 -/* 802833A4 002802E4 41 82 00 28 */ beq lbl_802833CC -/* 802833A8 002802E8 7F C3 F3 78 */ mr r3, r30 -/* 802833AC 002802EC 7F E4 FB 78 */ mr r4, r31 -/* 802833B0 002802F0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802833B4 002802F4 38 A0 00 05 */ li r5, 5 -/* 802833B8 002802F8 38 C0 00 00 */ li r6, 0 -/* 802833BC 002802FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802833C0 00280300 7D 89 03 A6 */ mtctr r12 -/* 802833C4 00280304 4E 80 04 21 */ bctrl -/* 802833C8 00280308 48 00 00 24 */ b lbl_802833EC -lbl_802833CC: -/* 802833CC 0028030C 7F C3 F3 78 */ mr r3, r30 -/* 802833D0 00280310 7F E4 FB 78 */ mr r4, r31 -/* 802833D4 00280314 81 9E 00 00 */ lwz r12, 0(r30) -/* 802833D8 00280318 38 A0 00 01 */ li r5, 1 -/* 802833DC 0028031C 38 C0 00 00 */ li r6, 0 -/* 802833E0 00280320 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802833E4 00280324 7D 89 03 A6 */ mtctr r12 -/* 802833E8 00280328 4E 80 04 21 */ bctrl -lbl_802833EC: -/* 802833EC 0028032C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 802833F0 00280330 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 802833F4 00280334 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 802833F8 00280338 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 802833FC 0028033C E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 80283400 00280340 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 80283404 00280344 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 80283408 00280348 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 8028340C 0028034C E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 80283410 00280350 CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 80283414 00280354 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 -/* 80283418 00280358 CB 41 00 D0 */ lfd f26, 0xd0(r1) -/* 8028341C 0028035C E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 -/* 80283420 00280360 CB 21 00 C0 */ lfd f25, 0xc0(r1) -/* 80283424 00280364 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 -/* 80283428 00280368 CB 01 00 B0 */ lfd f24, 0xb0(r1) -/* 8028342C 0028036C E2 E1 00 A8 */ psq_l f23, 168(r1), 0, qr0 -/* 80283430 00280370 CA E1 00 A0 */ lfd f23, 0xa0(r1) -/* 80283434 00280374 E2 C1 00 98 */ psq_l f22, 152(r1), 0, qr0 -/* 80283438 00280378 CA C1 00 90 */ lfd f22, 0x90(r1) -/* 8028343C 0028037C 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80283440 00280380 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80283444 00280384 80 01 01 34 */ lwz r0, 0x134(r1) -/* 80283448 00280388 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8028344C 0028038C 7C 08 03 A6 */ mtlr r0 -/* 80283450 00280390 38 21 01 30 */ addi r1, r1, 0x130 -/* 80283454 00280394 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar10StateChaseFPQ24Game9EnemyBase -cleanup__Q34Game3Mar10StateChaseFPQ24Game9EnemyBase: -/* 80283458 00280398 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028345C 0028039C 7C 08 02 A6 */ mflr r0 -/* 80283460 002803A0 7C 83 23 78 */ mr r3, r4 -/* 80283464 002803A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283468 002803A8 4B E7 E5 15 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 8028346C 002803AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283470 002803B0 7C 08 03 A6 */ mtlr r0 -/* 80283474 002803B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283478 002803B8 4E 80 00 20 */ blr - -.global init__Q34Game3Mar16StateChaseInsideFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar16StateChaseInsideFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028347C 002803BC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80283480 002803C0 7C 08 02 A6 */ mflr r0 -/* 80283484 002803C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80283488 002803C8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8028348C 002803CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80283490 002803D0 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80283494 002803D4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80283498 002803D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028349C 002803DC 7C 9F 23 78 */ mr r31, r4 -/* 802834A0 002803E0 80 84 02 30 */ lwz r4, 0x230(r4) -/* 802834A4 002803E4 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 802834A8 002803E8 28 04 00 00 */ cmplwi r4, 0 -/* 802834AC 002803EC C0 1F 01 9C */ lfs f0, 0x19c(r31) -/* 802834B0 002803F0 C3 DF 01 A0 */ lfs f30, 0x1a0(r31) -/* 802834B4 002803F4 41 82 00 A8 */ beq lbl_8028355C -/* 802834B8 002803F8 81 84 00 00 */ lwz r12, 0(r4) -/* 802834BC 002803FC 38 61 00 08 */ addi r3, r1, 8 -/* 802834C0 00280400 81 8C 00 08 */ lwz r12, 8(r12) -/* 802834C4 00280404 7D 89 03 A6 */ mtctr r12 -/* 802834C8 00280408 4E 80 04 21 */ bctrl -/* 802834CC 0028040C C0 C1 00 08 */ lfs f6, 8(r1) -/* 802834D0 00280410 C0 E1 00 10 */ lfs f7, 0x10(r1) -/* 802834D4 00280414 EC 7F 30 28 */ fsubs f3, f31, f6 -/* 802834D8 00280418 C0 82 D3 28 */ lfs f4, lbl_8051B688@sda21(r2) -/* 802834DC 0028041C EC BE 38 28 */ fsubs f5, f30, f7 -/* 802834E0 00280420 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 802834E4 00280424 EC 03 20 FA */ fmadds f0, f3, f3, f4 -/* 802834E8 00280428 EC 25 01 72 */ fmuls f1, f5, f5 -/* 802834EC 0028042C EC 21 00 2A */ fadds f1, f1, f0 -/* 802834F0 00280430 FC 01 20 40 */ fcmpo cr0, f1, f4 -/* 802834F4 00280434 40 81 00 14 */ ble lbl_80283508 -/* 802834F8 00280438 40 81 00 14 */ ble lbl_8028350C -/* 802834FC 0028043C FC 00 08 34 */ frsqrte f0, f1 -/* 80283500 00280440 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80283504 00280444 48 00 00 08 */ b lbl_8028350C -lbl_80283508: -/* 80283508 00280448 FC 20 20 90 */ fmr f1, f4 -lbl_8028350C: -/* 8028350C 0028044C C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283510 00280450 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283514 00280454 40 81 00 18 */ ble lbl_8028352C -/* 80283518 00280458 C0 02 D3 38 */ lfs f0, lbl_8051B698@sda21(r2) -/* 8028351C 0028045C EC 00 08 24 */ fdivs f0, f0, f1 -/* 80283520 00280460 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80283524 00280464 EC 84 00 32 */ fmuls f4, f4, f0 -/* 80283528 00280468 EC A5 00 32 */ fmuls f5, f5, f0 -lbl_8028352C: -/* 8028352C 0028046C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80283530 00280470 C0 03 03 D4 */ lfs f0, 0x3d4(r3) -/* 80283534 00280474 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80283538 00280478 EC 84 00 32 */ fmuls f4, f4, f0 -/* 8028353C 0028047C EC A5 00 32 */ fmuls f5, f5, f0 -/* 80283540 00280480 EC 06 18 2A */ fadds f0, f6, f3 -/* 80283544 00280484 EC 42 20 2A */ fadds f2, f2, f4 -/* 80283548 00280488 EC 27 28 2A */ fadds f1, f7, f5 -/* 8028354C 0028048C D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 80283550 00280490 D0 5F 02 D4 */ stfs f2, 0x2d4(r31) -/* 80283554 00280494 D0 3F 02 D8 */ stfs f1, 0x2d8(r31) -/* 80283558 00280498 48 00 00 10 */ b lbl_80283568 -lbl_8028355C: -/* 8028355C 0028049C D3 FF 02 D0 */ stfs f31, 0x2d0(r31) -/* 80283560 002804A0 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) -/* 80283564 002804A4 D3 DF 02 D8 */ stfs f30, 0x2d8(r31) -lbl_80283568: -/* 80283568 002804A8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8028356C 002804AC 7F E3 FB 78 */ mr r3, r31 -/* 80283570 002804B0 60 00 00 04 */ ori r0, r0, 4 -/* 80283574 002804B4 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80283578 002804B8 4B E7 E4 55 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 8028357C 002804BC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80283580 002804C0 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80283584 002804C4 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80283588 002804C8 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8028358C 002804CC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80283590 002804D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80283594 002804D4 7C 08 03 A6 */ mtlr r0 -/* 80283598 002804D8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8028359C 002804DC 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar16StateChaseInsideFPQ24Game9EnemyBase -exec__Q34Game3Mar16StateChaseInsideFPQ24Game9EnemyBase: -/* 802835A0 002804E0 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 802835A4 002804E4 7C 08 02 A6 */ mflr r0 -/* 802835A8 002804E8 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 802835AC 002804EC DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 802835B0 002804F0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 802835B4 002804F4 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 802835B8 002804F8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 802835BC 002804FC DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 802835C0 00280500 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 802835C4 00280504 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 802835C8 00280508 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 802835CC 0028050C DB 61 00 90 */ stfd f27, 0x90(r1) -/* 802835D0 00280510 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 802835D4 00280514 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 802835D8 00280518 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 802835DC 0028051C DB 21 00 70 */ stfd f25, 0x70(r1) -/* 802835E0 00280520 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 -/* 802835E4 00280524 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802835E8 00280528 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802835EC 0028052C 7C 9F 23 78 */ mr r31, r4 -/* 802835F0 00280530 7C 7E 1B 78 */ mr r30, r3 -/* 802835F4 00280534 7F E3 FB 78 */ mr r3, r31 -/* 802835F8 00280538 4B FF C6 A5 */ bl setHeightVelocity__Q34Game3Mar3ObjFv -/* 802835FC 0028053C 7F E4 FB 78 */ mr r4, r31 -/* 80283600 00280540 38 61 00 44 */ addi r3, r1, 0x44 -/* 80283604 00280544 81 9F 00 00 */ lwz r12, 0(r31) -/* 80283608 00280548 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028360C 0028054C 7D 89 03 A6 */ mtctr r12 -/* 80283610 00280550 4E 80 04 21 */ bctrl -/* 80283614 00280554 C3 E1 00 4C */ lfs f31, 0x4c(r1) -/* 80283618 00280558 C3 BF 02 D8 */ lfs f29, 0x2d8(r31) -/* 8028361C 0028055C C3 81 00 44 */ lfs f28, 0x44(r1) -/* 80283620 00280560 EC 3F E8 28 */ fsubs f1, f31, f29 -/* 80283624 00280564 C3 DF 02 D0 */ lfs f30, 0x2d0(r31) -/* 80283628 00280568 C0 02 D3 30 */ lfs f0, lbl_8051B690@sda21(r2) -/* 8028362C 0028056C EC 5C F0 28 */ fsubs f2, f28, f30 -/* 80283630 00280570 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80283634 00280574 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80283638 00280578 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028363C 0028057C 40 80 00 28 */ bge lbl_80283664 -/* 80283640 00280580 7F C3 F3 78 */ mr r3, r30 -/* 80283644 00280584 7F E4 FB 78 */ mr r4, r31 -/* 80283648 00280588 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028364C 0028058C 38 A0 00 03 */ li r5, 3 -/* 80283650 00280590 38 C0 00 00 */ li r6, 0 -/* 80283654 00280594 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283658 00280598 7D 89 03 A6 */ mtctr r12 -/* 8028365C 0028059C 4E 80 04 21 */ bctrl -/* 80283660 002805A0 48 00 02 00 */ b lbl_80283860 -lbl_80283664: -/* 80283664 002805A4 80 9F 02 30 */ lwz r4, 0x230(r31) -/* 80283668 002805A8 28 04 00 00 */ cmplwi r4, 0 -/* 8028366C 002805AC 41 82 01 14 */ beq lbl_80283780 -/* 80283670 002805B0 81 84 00 00 */ lwz r12, 0(r4) -/* 80283674 002805B4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80283678 002805B8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8028367C 002805BC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80283680 002805C0 C3 45 03 34 */ lfs f26, 0x334(r5) -/* 80283684 002805C4 C3 65 03 0C */ lfs f27, 0x30c(r5) -/* 80283688 002805C8 7D 89 03 A6 */ mtctr r12 -/* 8028368C 002805CC 4E 80 04 21 */ bctrl -/* 80283690 002805D0 7F E4 FB 78 */ mr r4, r31 -/* 80283694 002805D4 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80283698 002805D8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028369C 002805DC 38 61 00 2C */ addi r3, r1, 0x2c -/* 802836A0 002805E0 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802836A4 002805E4 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802836A8 002805E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802836AC 002805EC D0 41 00 08 */ stfs f2, 8(r1) -/* 802836B0 002805F0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 802836B4 002805F4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802836B8 002805F8 7D 89 03 A6 */ mtctr r12 -/* 802836BC 002805FC 4E 80 04 21 */ bctrl -/* 802836C0 00280600 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 802836C4 00280604 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802836C8 00280608 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 802836CC 0028060C 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 802836D0 00280610 C0 21 00 08 */ lfs f1, 8(r1) -/* 802836D4 00280614 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802836D8 00280618 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 802836DC 0028061C EC 21 28 28 */ fsubs f1, f1, f5 -/* 802836E0 00280620 EC 40 18 28 */ fsubs f2, f0, f3 -/* 802836E4 00280624 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 802836E8 00280628 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 802836EC 0028062C D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 802836F0 00280630 4B DB 1A 19 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 802836F4 00280634 48 18 E4 DD */ bl roundAng__Ff -/* 802836F8 00280638 81 9F 00 00 */ lwz r12, 0(r31) -/* 802836FC 0028063C FF 20 08 90 */ fmr f25, f1 -/* 80283700 00280640 7F E3 FB 78 */ mr r3, r31 -/* 80283704 00280644 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80283708 00280648 7D 89 03 A6 */ mtctr r12 -/* 8028370C 0028064C 4E 80 04 21 */ bctrl -/* 80283710 00280650 FC 40 08 90 */ fmr f2, f1 -/* 80283714 00280654 FC 20 C8 90 */ fmr f1, f25 -/* 80283718 00280658 48 18 E4 E5 */ bl angDist__Fff -/* 8028371C 0028065C EF 61 06 F2 */ fmuls f27, f1, f27 -/* 80283720 00280660 C0 02 D3 40 */ lfs f0, lbl_8051B6A0@sda21(r2) -/* 80283724 00280664 C0 22 D3 3C */ lfs f1, lbl_8051B69C@sda21(r2) -/* 80283728 00280668 EC 00 06 B2 */ fmuls f0, f0, f26 -/* 8028372C 0028066C FC 40 DA 10 */ fabs f2, f27 -/* 80283730 00280670 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80283734 00280674 FC 00 10 18 */ frsp f0, f2 -/* 80283738 00280678 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8028373C 0028067C 40 81 00 1C */ ble lbl_80283758 -/* 80283740 00280680 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283744 00280684 FC 1B 00 40 */ fcmpo cr0, f27, f0 -/* 80283748 00280688 40 81 00 0C */ ble lbl_80283754 -/* 8028374C 0028068C FF 60 08 90 */ fmr f27, f1 -/* 80283750 00280690 48 00 00 08 */ b lbl_80283758 -lbl_80283754: -/* 80283754 00280694 FF 60 08 50 */ fneg f27, f1 -lbl_80283758: -/* 80283758 00280698 7F E3 FB 78 */ mr r3, r31 -/* 8028375C 0028069C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80283760 002806A0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80283764 002806A4 7D 89 03 A6 */ mtctr r12 -/* 80283768 002806A8 4E 80 04 21 */ bctrl -/* 8028376C 002806AC EC 3B 08 2A */ fadds f1, f27, f1 -/* 80283770 002806B0 48 18 E4 61 */ bl roundAng__Ff -/* 80283774 002806B4 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80283778 002806B8 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8028377C 002806BC D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -lbl_80283780: -/* 80283780 002806C0 EC 3E E0 28 */ fsubs f1, f30, f28 -/* 80283784 002806C4 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80283788 002806C8 EC 5D F8 28 */ fsubs f2, f29, f31 -/* 8028378C 002806CC 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80283790 002806D0 4B DB 19 79 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80283794 002806D4 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283798 002806D8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8028379C 002806DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802837A0 002806E0 C0 84 02 E4 */ lfs f4, 0x2e4(r4) -/* 802837A4 002806E4 40 80 00 30 */ bge lbl_802837D4 -/* 802837A8 002806E8 C0 02 D3 48 */ lfs f0, lbl_8051B6A8@sda21(r2) -/* 802837AC 002806EC 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 802837B0 002806F0 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 802837B4 002806F4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802837B8 002806F8 FC 00 00 1E */ fctiwz f0, f0 -/* 802837BC 002806FC D8 01 00 50 */ stfd f0, 0x50(r1) -/* 802837C0 00280700 80 01 00 54 */ lwz r0, 0x54(r1) -/* 802837C4 00280704 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802837C8 00280708 7C 03 04 2E */ lfsx f0, r3, r0 -/* 802837CC 0028070C FC 60 00 50 */ fneg f3, f0 -/* 802837D0 00280710 48 00 00 28 */ b lbl_802837F8 -lbl_802837D4: -/* 802837D4 00280714 C0 02 D3 4C */ lfs f0, lbl_8051B6AC@sda21(r2) -/* 802837D8 00280718 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 802837DC 0028071C 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 802837E0 00280720 EC 01 00 32 */ fmuls f0, f1, f0 -/* 802837E4 00280724 FC 00 00 1E */ fctiwz f0, f0 -/* 802837E8 00280728 D8 01 00 58 */ stfd f0, 0x58(r1) -/* 802837EC 0028072C 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 802837F0 00280730 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802837F4 00280734 7C 63 04 2E */ lfsx f3, r3, r0 -lbl_802837F8: -/* 802837F8 00280738 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 802837FC 0028073C EC 84 00 F2 */ fmuls f4, f4, f3 -/* 80283800 00280740 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 80283804 00280744 C0 7F 01 D8 */ lfs f3, 0x1d8(r31) -/* 80283808 00280748 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028380C 0028074C C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80283810 00280750 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80283814 00280754 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 80283818 00280758 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8028381C 0028075C 40 80 00 08 */ bge lbl_80283824 -/* 80283820 00280760 FC 20 08 50 */ fneg f1, f1 -lbl_80283824: -/* 80283824 00280764 C0 02 D3 4C */ lfs f0, lbl_8051B6AC@sda21(r2) -/* 80283828 00280768 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028382C 0028076C 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80283830 00280770 C0 44 02 E4 */ lfs f2, 0x2e4(r4) -/* 80283834 00280774 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80283838 00280778 FC 00 00 1E */ fctiwz f0, f0 -/* 8028383C 0028077C D8 01 00 60 */ stfd f0, 0x60(r1) -/* 80283840 00280780 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80283844 00280784 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80283848 00280788 7C 63 02 14 */ add r3, r3, r0 -/* 8028384C 0028078C C0 03 00 04 */ lfs f0, 4(r3) -/* 80283850 00280790 D0 9F 01 D4 */ stfs f4, 0x1d4(r31) -/* 80283854 00280794 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80283858 00280798 D0 7F 01 D8 */ stfs f3, 0x1d8(r31) -/* 8028385C 0028079C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_80283860: -/* 80283860 002807A0 7F E3 FB 78 */ mr r3, r31 -/* 80283864 002807A4 4B FF C8 01 */ bl getFlyingNextState__Q34Game3Mar3ObjFv -/* 80283868 002807A8 7C 65 1B 79 */ or. r5, r3, r3 -/* 8028386C 002807AC 41 80 00 24 */ blt lbl_80283890 -/* 80283870 002807B0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283874 002807B4 7F C3 F3 78 */ mr r3, r30 -/* 80283878 002807B8 7F E4 FB 78 */ mr r4, r31 -/* 8028387C 002807BC 38 C0 00 00 */ li r6, 0 -/* 80283880 002807C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283884 002807C4 7D 89 03 A6 */ mtctr r12 -/* 80283888 002807C8 4E 80 04 21 */ bctrl -/* 8028388C 002807CC 48 00 00 40 */ b lbl_802838CC -lbl_80283890: -/* 80283890 002807D0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80283894 002807D4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80283898 002807D8 28 00 00 00 */ cmplwi r0, 0 -/* 8028389C 002807DC 41 82 00 30 */ beq lbl_802838CC -/* 802838A0 002807E0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802838A4 002807E4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802838A8 002807E8 40 82 00 24 */ bne lbl_802838CC -/* 802838AC 002807EC 7F C3 F3 78 */ mr r3, r30 -/* 802838B0 002807F0 7F E4 FB 78 */ mr r4, r31 -/* 802838B4 002807F4 81 9E 00 00 */ lwz r12, 0(r30) -/* 802838B8 002807F8 38 A0 00 01 */ li r5, 1 -/* 802838BC 002807FC 38 C0 00 00 */ li r6, 0 -/* 802838C0 00280800 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802838C4 00280804 7D 89 03 A6 */ mtctr r12 -/* 802838C8 00280808 4E 80 04 21 */ bctrl -lbl_802838CC: -/* 802838CC 0028080C E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 802838D0 00280810 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 802838D4 00280814 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 802838D8 00280818 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 802838DC 0028081C E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 802838E0 00280820 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 802838E4 00280824 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 802838E8 00280828 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 802838EC 0028082C E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 802838F0 00280830 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 802838F4 00280834 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 802838F8 00280838 CB 41 00 80 */ lfd f26, 0x80(r1) -/* 802838FC 0028083C E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 -/* 80283900 00280840 CB 21 00 70 */ lfd f25, 0x70(r1) -/* 80283904 00280844 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80283908 00280848 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8028390C 0028084C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80283910 00280850 7C 08 03 A6 */ mtlr r0 -/* 80283914 00280854 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80283918 00280858 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar16StateChaseInsideFPQ24Game9EnemyBase -cleanup__Q34Game3Mar16StateChaseInsideFPQ24Game9EnemyBase: -/* 8028391C 0028085C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283920 00280860 7C 08 02 A6 */ mflr r0 -/* 80283924 00280864 7C 83 23 78 */ mr r3, r4 -/* 80283928 00280868 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028392C 0028086C 4B E7 E0 51 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80283930 00280870 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283934 00280874 7C 08 03 A6 */ mtlr r0 -/* 80283938 00280878 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028393C 0028087C 4E 80 00 20 */ blr - -.global init__Q34Game3Mar11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80283940 00280880 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283944 00280884 7C 08 02 A6 */ mflr r0 -/* 80283948 00280888 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 8028394C 0028088C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283950 00280890 38 00 00 00 */ li r0, 0 -/* 80283954 00280894 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80283958 00280898 7C 9F 23 78 */ mr r31, r4 -/* 8028395C 0028089C 7F E3 FB 78 */ mr r3, r31 -/* 80283960 002808A0 80 84 01 E0 */ lwz r4, 0x1e0(r4) -/* 80283964 002808A4 54 84 06 B0 */ rlwinm r4, r4, 0, 0x1a, 0x18 -/* 80283968 002808A8 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 8028396C 002808AC 90 1F 02 30 */ stw r0, 0x230(r31) -/* 80283970 002808B0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80283974 002808B4 60 00 00 04 */ ori r0, r0, 4 -/* 80283978 002808B8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8028397C 002808BC D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80283980 002808C0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80283984 002808C4 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80283988 002808C8 4B E7 E0 45 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 8028398C 002808CC 7F E3 FB 78 */ mr r3, r31 -/* 80283990 002808D0 38 80 00 09 */ li r4, 9 -/* 80283994 002808D4 38 A0 00 00 */ li r5, 0 -/* 80283998 002808D8 4B E8 16 6D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028399C 002808DC 38 00 00 00 */ li r0, 0 -/* 802839A0 002808E0 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 802839A4 002808E4 98 1F 03 08 */ stb r0, 0x308(r31) -/* 802839A8 002808E8 7F E3 FB 78 */ mr r3, r31 -/* 802839AC 002808EC D0 1F 03 04 */ stfs f0, 0x304(r31) -/* 802839B0 002808F0 4B FF E0 59 */ bl createSuckEffect__Q34Game3Mar3ObjFv -/* 802839B4 002808F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802839B8 002808F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802839BC 002808FC 7C 08 03 A6 */ mtlr r0 -/* 802839C0 00280900 38 21 00 10 */ addi r1, r1, 0x10 -/* 802839C4 00280904 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar11StateAttackFPQ24Game9EnemyBase -exec__Q34Game3Mar11StateAttackFPQ24Game9EnemyBase: -/* 802839C8 00280908 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802839CC 0028090C 7C 08 02 A6 */ mflr r0 -/* 802839D0 00280910 90 01 00 14 */ stw r0, 0x14(r1) -/* 802839D4 00280914 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802839D8 00280918 7C 9F 23 78 */ mr r31, r4 -/* 802839DC 0028091C 93 C1 00 08 */ stw r30, 8(r1) -/* 802839E0 00280920 7C 7E 1B 78 */ mr r30, r3 -/* 802839E4 00280924 7F E3 FB 78 */ mr r3, r31 -/* 802839E8 00280928 4B FF C2 B5 */ bl setHeightVelocity__Q34Game3Mar3ObjFv -/* 802839EC 0028092C 88 1F 03 08 */ lbz r0, 0x308(r31) -/* 802839F0 00280930 28 00 00 00 */ cmplwi r0, 0 -/* 802839F4 00280934 41 82 00 0C */ beq lbl_80283A00 -/* 802839F8 00280938 7F E3 FB 78 */ mr r3, r31 -/* 802839FC 0028093C 4B FF D5 01 */ bl windTarget__Q34Game3Mar3ObjFv -lbl_80283A00: -/* 80283A00 00280940 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80283A04 00280944 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283A08 00280948 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283A0C 0028094C 4C 40 13 82 */ cror 2, 0, 2 -/* 80283A10 00280950 40 82 00 28 */ bne lbl_80283A38 -/* 80283A14 00280954 7F C3 F3 78 */ mr r3, r30 -/* 80283A18 00280958 7F E4 FB 78 */ mr r4, r31 -/* 80283A1C 0028095C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283A20 00280960 38 A0 00 00 */ li r5, 0 -/* 80283A24 00280964 38 C0 00 00 */ li r6, 0 -/* 80283A28 00280968 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283A2C 0028096C 7D 89 03 A6 */ mtctr r12 -/* 80283A30 00280970 4E 80 04 21 */ bctrl -/* 80283A34 00280974 48 00 00 5C */ b lbl_80283A90 -lbl_80283A38: -/* 80283A38 00280978 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80283A3C 0028097C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80283A40 00280980 28 00 00 00 */ cmplwi r0, 0 -/* 80283A44 00280984 41 82 00 4C */ beq lbl_80283A90 -/* 80283A48 00280988 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80283A4C 0028098C 28 00 00 02 */ cmplwi r0, 2 -/* 80283A50 00280990 40 82 00 18 */ bne lbl_80283A68 -/* 80283A54 00280994 38 00 00 01 */ li r0, 1 -/* 80283A58 00280998 7F E3 FB 78 */ mr r3, r31 -/* 80283A5C 0028099C 98 1F 03 08 */ stb r0, 0x308(r31) -/* 80283A60 002809A0 4B FF DF DD */ bl startWindEffect__Q34Game3Mar3ObjFv -/* 80283A64 002809A4 48 00 00 2C */ b lbl_80283A90 -lbl_80283A68: -/* 80283A68 002809A8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80283A6C 002809AC 40 82 00 24 */ bne lbl_80283A90 -/* 80283A70 002809B0 7F C3 F3 78 */ mr r3, r30 -/* 80283A74 002809B4 7F E4 FB 78 */ mr r4, r31 -/* 80283A78 002809B8 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283A7C 002809BC 38 A0 00 01 */ li r5, 1 -/* 80283A80 002809C0 38 C0 00 00 */ li r6, 0 -/* 80283A84 002809C4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283A88 002809C8 7D 89 03 A6 */ mtctr r12 -/* 80283A8C 002809CC 4E 80 04 21 */ bctrl -lbl_80283A90: -/* 80283A90 002809D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283A94 002809D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80283A98 002809D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80283A9C 002809DC 7C 08 03 A6 */ mtlr r0 -/* 80283AA0 002809E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283AA4 002809E4 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game3Mar11StateAttackFPQ24Game9EnemyBase: -/* 80283AA8 002809E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283AAC 002809EC 7C 08 02 A6 */ mflr r0 -/* 80283AB0 002809F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283AB4 002809F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80283AB8 002809F8 7C 9F 23 78 */ mr r31, r4 -/* 80283ABC 002809FC 7F E3 FB 78 */ mr r3, r31 -/* 80283AC0 00280A00 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80283AC4 00280A04 60 00 00 40 */ ori r0, r0, 0x40 -/* 80283AC8 00280A08 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80283ACC 00280A0C 4B E7 DE B1 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80283AD0 00280A10 38 00 00 00 */ li r0, 0 -/* 80283AD4 00280A14 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283AD8 00280A18 98 1F 03 08 */ stb r0, 0x308(r31) -/* 80283ADC 00280A1C 7F E3 FB 78 */ mr r3, r31 -/* 80283AE0 00280A20 D0 1F 03 04 */ stfs f0, 0x304(r31) -/* 80283AE4 00280A24 4B FF DF E9 */ bl finishWindEffect__Q34Game3Mar3ObjFv -/* 80283AE8 00280A28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283AEC 00280A2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80283AF0 00280A30 7C 08 03 A6 */ mtlr r0 -/* 80283AF4 00280A34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283AF8 00280A38 4E 80 00 20 */ blr - -.global init__Q34Game3Mar9StateFallFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar9StateFallFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80283AFC 00280A3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283B00 00280A40 7C 08 02 A6 */ mflr r0 -/* 80283B04 00280A44 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283B08 00280A48 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283B0C 00280A4C 38 00 00 00 */ li r0, 0 -/* 80283B10 00280A50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80283B14 00280A54 7C 9F 23 78 */ mr r31, r4 -/* 80283B18 00280A58 7F E3 FB 78 */ mr r3, r31 -/* 80283B1C 00280A5C D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 80283B20 00280A60 90 04 02 30 */ stw r0, 0x230(r4) -/* 80283B24 00280A64 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80283B28 00280A68 60 00 00 04 */ ori r0, r0, 4 -/* 80283B2C 00280A6C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80283B30 00280A70 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80283B34 00280A74 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80283B38 00280A78 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80283B3C 00280A7C 4B E7 DE 91 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80283B40 00280A80 7F E3 FB 78 */ mr r3, r31 -/* 80283B44 00280A84 38 80 00 08 */ li r4, 8 -/* 80283B48 00280A88 38 A0 00 00 */ li r5, 0 -/* 80283B4C 00280A8C 4B E8 14 B9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80283B50 00280A90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283B54 00280A94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80283B58 00280A98 7C 08 03 A6 */ mtlr r0 -/* 80283B5C 00280A9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283B60 00280AA0 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar9StateFallFPQ24Game9EnemyBase -exec__Q34Game3Mar9StateFallFPQ24Game9EnemyBase: -/* 80283B64 00280AA4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80283B68 00280AA8 7C 08 02 A6 */ mflr r0 -/* 80283B6C 00280AAC 90 01 00 54 */ stw r0, 0x54(r1) -/* 80283B70 00280AB0 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80283B74 00280AB4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80283B78 00280AB8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80283B7C 00280ABC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80283B80 00280AC0 7C 9F 23 78 */ mr r31, r4 -/* 80283B84 00280AC4 7C 7E 1B 78 */ mr r30, r3 -/* 80283B88 00280AC8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80283B8C 00280ACC 7F E3 FB 78 */ mr r3, r31 -/* 80283B90 00280AD0 81 8C 00 CC */ lwz r12, 0xcc(r12) -/* 80283B94 00280AD4 7D 89 03 A6 */ mtctr r12 -/* 80283B98 00280AD8 4E 80 04 21 */ bctrl -/* 80283B9C 00280ADC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80283BA0 00280AE0 41 82 00 10 */ beq lbl_80283BB0 -/* 80283BA4 00280AE4 7F E3 FB 78 */ mr r3, r31 -/* 80283BA8 00280AE8 4B FF C0 F5 */ bl setHeightVelocity__Q34Game3Mar3ObjFv -/* 80283BAC 00280AEC 48 00 00 98 */ b lbl_80283C44 -lbl_80283BB0: -/* 80283BB0 00280AF0 7F E4 FB 78 */ mr r4, r31 -/* 80283BB4 00280AF4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80283BB8 00280AF8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80283BBC 00280AFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80283BC0 00280B00 7D 89 03 A6 */ mtctr r12 -/* 80283BC4 00280B04 4E 80 04 21 */ bctrl -/* 80283BC8 00280B08 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80283BCC 00280B0C 7F E4 FB 78 */ mr r4, r31 -/* 80283BD0 00280B10 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80283BD4 00280B14 38 61 00 08 */ addi r3, r1, 8 -/* 80283BD8 00280B18 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80283BDC 00280B1C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80283BE0 00280B20 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80283BE4 00280B24 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80283BE8 00280B28 81 9F 00 00 */ lwz r12, 0(r31) -/* 80283BEC 00280B2C 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 80283BF0 00280B30 7D 89 03 A6 */ mtctr r12 -/* 80283BF4 00280B34 4E 80 04 21 */ bctrl -/* 80283BF8 00280B38 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80283BFC 00280B3C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80283C00 00280B40 C3 E1 00 0C */ lfs f31, 0xc(r1) -/* 80283C04 00280B44 81 83 00 04 */ lwz r12, 4(r3) -/* 80283C08 00280B48 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80283C0C 00280B4C 7D 89 03 A6 */ mtctr r12 -/* 80283C10 00280B50 4E 80 04 21 */ bctrl -/* 80283C14 00280B54 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80283C18 00280B58 C0 02 D3 50 */ lfs f0, lbl_8051B6B0@sda21(r2) -/* 80283C1C 00280B5C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80283C20 00280B60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283C24 00280B64 41 80 00 10 */ blt lbl_80283C34 -/* 80283C28 00280B68 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283C2C 00280B6C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80283C30 00280B70 40 81 00 0C */ ble lbl_80283C3C -lbl_80283C34: -/* 80283C34 00280B74 7F E3 FB 78 */ mr r3, r31 -/* 80283C38 00280B78 4B E8 16 69 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80283C3C: -/* 80283C3C 00280B7C 7F E3 FB 78 */ mr r3, r31 -/* 80283C40 00280B80 4B FF C3 69 */ bl addShadowOffset__Q34Game3Mar3ObjFv -lbl_80283C44: -/* 80283C44 00280B84 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80283C48 00280B88 C0 02 D3 54 */ lfs f0, lbl_8051B6B4@sda21(r2) -/* 80283C4C 00280B8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283C50 00280B90 40 81 00 10 */ ble lbl_80283C60 -/* 80283C54 00280B94 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80283C58 00280B98 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80283C5C 00280B9C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -lbl_80283C60: -/* 80283C60 00280BA0 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80283C64 00280BA4 C0 5F 02 C0 */ lfs f2, 0x2c0(r31) -/* 80283C68 00280BA8 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 80283C6C 00280BAC C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283C70 00280BB0 EC 22 08 2A */ fadds f1, f2, f1 -/* 80283C74 00280BB4 D0 3F 02 C0 */ stfs f1, 0x2c0(r31) -/* 80283C78 00280BB8 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80283C7C 00280BBC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283C80 00280BC0 4C 40 13 82 */ cror 2, 0, 2 -/* 80283C84 00280BC4 40 82 00 28 */ bne lbl_80283CAC -/* 80283C88 00280BC8 7F C3 F3 78 */ mr r3, r30 -/* 80283C8C 00280BCC 7F E4 FB 78 */ mr r4, r31 -/* 80283C90 00280BD0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283C94 00280BD4 38 A0 00 00 */ li r5, 0 -/* 80283C98 00280BD8 38 C0 00 00 */ li r6, 0 -/* 80283C9C 00280BDC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283CA0 00280BE0 7D 89 03 A6 */ mtctr r12 -/* 80283CA4 00280BE4 4E 80 04 21 */ bctrl -/* 80283CA8 00280BE8 48 00 00 40 */ b lbl_80283CE8 -lbl_80283CAC: -/* 80283CAC 00280BEC 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80283CB0 00280BF0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80283CB4 00280BF4 28 00 00 00 */ cmplwi r0, 0 -/* 80283CB8 00280BF8 41 82 00 30 */ beq lbl_80283CE8 -/* 80283CBC 00280BFC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80283CC0 00280C00 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80283CC4 00280C04 40 82 00 24 */ bne lbl_80283CE8 -/* 80283CC8 00280C08 7F C3 F3 78 */ mr r3, r30 -/* 80283CCC 00280C0C 7F E4 FB 78 */ mr r4, r31 -/* 80283CD0 00280C10 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283CD4 00280C14 38 A0 00 07 */ li r5, 7 -/* 80283CD8 00280C18 38 C0 00 00 */ li r6, 0 -/* 80283CDC 00280C1C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283CE0 00280C20 7D 89 03 A6 */ mtctr r12 -/* 80283CE4 00280C24 4E 80 04 21 */ bctrl -lbl_80283CE8: -/* 80283CE8 00280C28 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80283CEC 00280C2C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80283CF0 00280C30 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80283CF4 00280C34 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80283CF8 00280C38 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80283CFC 00280C3C 7C 08 03 A6 */ mtlr r0 -/* 80283D00 00280C40 38 21 00 50 */ addi r1, r1, 0x50 -/* 80283D04 00280C44 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar9StateFallFPQ24Game9EnemyBase -cleanup__Q34Game3Mar9StateFallFPQ24Game9EnemyBase: -/* 80283D08 00280C48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283D0C 00280C4C 7C 08 02 A6 */ mflr r0 -/* 80283D10 00280C50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283D14 00280C54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80283D18 00280C58 7C 9F 23 78 */ mr r31, r4 -/* 80283D1C 00280C5C 7F E3 FB 78 */ mr r3, r31 -/* 80283D20 00280C60 4B FF C2 7D */ bl setShadowOffsetMax__Q34Game3Mar3ObjFv -/* 80283D24 00280C64 7F E3 FB 78 */ mr r3, r31 -/* 80283D28 00280C68 4B E7 DC 55 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80283D2C 00280C6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283D30 00280C70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80283D34 00280C74 7C 08 03 A6 */ mtlr r0 -/* 80283D38 00280C78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283D3C 00280C7C 4E 80 00 20 */ blr - -.global init__Q34Game3Mar9StateLandFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar9StateLandFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80283D40 00280C80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283D44 00280C84 7C 08 02 A6 */ mflr r0 -/* 80283D48 00280C88 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283D4C 00280C8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283D50 00280C90 38 00 00 00 */ li r0, 0 -/* 80283D54 00280C94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80283D58 00280C98 7C 9F 23 78 */ mr r31, r4 -/* 80283D5C 00280C9C 7F E3 FB 78 */ mr r3, r31 -/* 80283D60 00280CA0 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 80283D64 00280CA4 90 04 02 30 */ stw r0, 0x230(r4) -/* 80283D68 00280CA8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80283D6C 00280CAC 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80283D70 00280CB0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80283D74 00280CB4 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80283D78 00280CB8 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80283D7C 00280CBC D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80283D80 00280CC0 4B E7 DC 4D */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80283D84 00280CC4 7F E3 FB 78 */ mr r3, r31 -/* 80283D88 00280CC8 38 80 00 06 */ li r4, 6 -/* 80283D8C 00280CCC 38 A0 00 00 */ li r5, 0 -/* 80283D90 00280CD0 4B E8 12 75 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80283D94 00280CD4 7F E3 FB 78 */ mr r3, r31 -/* 80283D98 00280CD8 4B FF DD AD */ bl createDownEffect__Q34Game3Mar3ObjFv -/* 80283D9C 00280CDC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283DA0 00280CE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80283DA4 00280CE4 7C 08 03 A6 */ mtlr r0 -/* 80283DA8 00280CE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283DAC 00280CEC 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar9StateLandFPQ24Game9EnemyBase -exec__Q34Game3Mar9StateLandFPQ24Game9EnemyBase: -/* 80283DB0 00280CF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283DB4 00280CF4 7C 08 02 A6 */ mflr r0 -/* 80283DB8 00280CF8 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283DBC 00280CFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283DC0 00280D00 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80283DC4 00280D04 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283DC8 00280D08 4C 40 13 82 */ cror 2, 0, 2 -/* 80283DCC 00280D0C 40 82 00 20 */ bne lbl_80283DEC -/* 80283DD0 00280D10 81 83 00 00 */ lwz r12, 0(r3) -/* 80283DD4 00280D14 38 A0 00 00 */ li r5, 0 -/* 80283DD8 00280D18 38 C0 00 00 */ li r6, 0 -/* 80283DDC 00280D1C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283DE0 00280D20 7D 89 03 A6 */ mtctr r12 -/* 80283DE4 00280D24 4E 80 04 21 */ bctrl -/* 80283DE8 00280D28 48 00 00 38 */ b lbl_80283E20 -lbl_80283DEC: -/* 80283DEC 00280D2C 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80283DF0 00280D30 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80283DF4 00280D34 28 00 00 00 */ cmplwi r0, 0 -/* 80283DF8 00280D38 41 82 00 28 */ beq lbl_80283E20 -/* 80283DFC 00280D3C 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80283E00 00280D40 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80283E04 00280D44 40 82 00 1C */ bne lbl_80283E20 -/* 80283E08 00280D48 81 83 00 00 */ lwz r12, 0(r3) -/* 80283E0C 00280D4C 38 A0 00 08 */ li r5, 8 -/* 80283E10 00280D50 38 C0 00 00 */ li r6, 0 -/* 80283E14 00280D54 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283E18 00280D58 7D 89 03 A6 */ mtctr r12 -/* 80283E1C 00280D5C 4E 80 04 21 */ bctrl -lbl_80283E20: -/* 80283E20 00280D60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283E24 00280D64 7C 08 03 A6 */ mtlr r0 -/* 80283E28 00280D68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283E2C 00280D6C 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar9StateLandFPQ24Game9EnemyBase -cleanup__Q34Game3Mar9StateLandFPQ24Game9EnemyBase: -/* 80283E30 00280D70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283E34 00280D74 7C 08 02 A6 */ mflr r0 -/* 80283E38 00280D78 7C 83 23 78 */ mr r3, r4 -/* 80283E3C 00280D7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283E40 00280D80 4B E7 DB 3D */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80283E44 00280D84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283E48 00280D88 7C 08 03 A6 */ mtlr r0 -/* 80283E4C 00280D8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283E50 00280D90 4E 80 00 20 */ blr - -.global init__Q34Game3Mar11StateGroundFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar11StateGroundFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80283E54 00280D94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283E58 00280D98 7C 08 02 A6 */ mflr r0 -/* 80283E5C 00280D9C C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283E60 00280DA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283E64 00280DA4 38 00 00 00 */ li r0, 0 -/* 80283E68 00280DA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80283E6C 00280DAC 7C 9F 23 78 */ mr r31, r4 -/* 80283E70 00280DB0 7F E3 FB 78 */ mr r3, r31 -/* 80283E74 00280DB4 D0 04 02 C0 */ stfs f0, 0x2c0(r4) -/* 80283E78 00280DB8 90 04 02 30 */ stw r0, 0x230(r4) -/* 80283E7C 00280DBC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80283E80 00280DC0 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80283E84 00280DC4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80283E88 00280DC8 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80283E8C 00280DCC D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80283E90 00280DD0 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80283E94 00280DD4 4B E7 DB 39 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80283E98 00280DD8 7F E3 FB 78 */ mr r3, r31 -/* 80283E9C 00280DDC 38 80 00 04 */ li r4, 4 -/* 80283EA0 00280DE0 38 A0 00 00 */ li r5, 0 -/* 80283EA4 00280DE4 4B E8 11 61 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80283EA8 00280DE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283EAC 00280DEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80283EB0 00280DF0 7C 08 03 A6 */ mtlr r0 -/* 80283EB4 00280DF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283EB8 00280DF8 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar11StateGroundFPQ24Game9EnemyBase -exec__Q34Game3Mar11StateGroundFPQ24Game9EnemyBase: -/* 80283EBC 00280DFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283EC0 00280E00 7C 08 02 A6 */ mflr r0 -/* 80283EC4 00280E04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283EC8 00280E08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80283ECC 00280E0C 7C 9F 23 78 */ mr r31, r4 -/* 80283ED0 00280E10 93 C1 00 08 */ stw r30, 8(r1) -/* 80283ED4 00280E14 7C 7E 1B 78 */ mr r30, r3 -/* 80283ED8 00280E18 80 04 01 F4 */ lwz r0, 0x1f4(r4) -/* 80283EDC 00280E1C 2C 00 00 00 */ cmpwi r0, 0 -/* 80283EE0 00280E20 41 82 00 18 */ beq lbl_80283EF8 -/* 80283EE4 00280E24 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80283EE8 00280E28 C0 3F 02 C0 */ lfs f1, 0x2c0(r31) -/* 80283EEC 00280E2C C0 03 08 94 */ lfs f0, 0x894(r3) -/* 80283EF0 00280E30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283EF4 00280E34 40 81 00 0C */ ble lbl_80283F00 -lbl_80283EF8: -/* 80283EF8 00280E38 7F E3 FB 78 */ mr r3, r31 -/* 80283EFC 00280E3C 4B E8 13 A5 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80283F00: -/* 80283F00 00280E40 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80283F04 00280E44 C0 5F 02 C0 */ lfs f2, 0x2c0(r31) -/* 80283F08 00280E48 C0 23 00 54 */ lfs f1, 0x54(r3) -/* 80283F0C 00280E4C C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80283F10 00280E50 EC 22 08 2A */ fadds f1, f2, f1 -/* 80283F14 00280E54 D0 3F 02 C0 */ stfs f1, 0x2c0(r31) -/* 80283F18 00280E58 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80283F1C 00280E5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80283F20 00280E60 4C 40 13 82 */ cror 2, 0, 2 -/* 80283F24 00280E64 40 82 00 28 */ bne lbl_80283F4C -/* 80283F28 00280E68 7F C3 F3 78 */ mr r3, r30 -/* 80283F2C 00280E6C 7F E4 FB 78 */ mr r4, r31 -/* 80283F30 00280E70 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283F34 00280E74 38 A0 00 00 */ li r5, 0 -/* 80283F38 00280E78 38 C0 00 00 */ li r6, 0 -/* 80283F3C 00280E7C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283F40 00280E80 7D 89 03 A6 */ mtctr r12 -/* 80283F44 00280E84 4E 80 04 21 */ bctrl -/* 80283F48 00280E88 48 00 00 70 */ b lbl_80283FB8 -lbl_80283F4C: -/* 80283F4C 00280E8C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80283F50 00280E90 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80283F54 00280E94 28 00 00 00 */ cmplwi r0, 0 -/* 80283F58 00280E98 41 82 00 60 */ beq lbl_80283FB8 -/* 80283F5C 00280E9C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80283F60 00280EA0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80283F64 00280EA4 40 82 00 54 */ bne lbl_80283FB8 -/* 80283F68 00280EA8 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 80283F6C 00280EAC 2C 00 00 00 */ cmpwi r0, 0 -/* 80283F70 00280EB0 41 82 00 28 */ beq lbl_80283F98 -/* 80283F74 00280EB4 7F C3 F3 78 */ mr r3, r30 -/* 80283F78 00280EB8 7F E4 FB 78 */ mr r4, r31 -/* 80283F7C 00280EBC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283F80 00280EC0 38 A0 00 0B */ li r5, 0xb -/* 80283F84 00280EC4 38 C0 00 00 */ li r6, 0 -/* 80283F88 00280EC8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283F8C 00280ECC 7D 89 03 A6 */ mtctr r12 -/* 80283F90 00280ED0 4E 80 04 21 */ bctrl -/* 80283F94 00280ED4 48 00 00 24 */ b lbl_80283FB8 -lbl_80283F98: -/* 80283F98 00280ED8 7F C3 F3 78 */ mr r3, r30 -/* 80283F9C 00280EDC 7F E4 FB 78 */ mr r4, r31 -/* 80283FA0 00280EE0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80283FA4 00280EE4 38 A0 00 09 */ li r5, 9 -/* 80283FA8 00280EE8 38 C0 00 00 */ li r6, 0 -/* 80283FAC 00280EEC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80283FB0 00280EF0 7D 89 03 A6 */ mtctr r12 -/* 80283FB4 00280EF4 4E 80 04 21 */ bctrl -lbl_80283FB8: -/* 80283FB8 00280EF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283FBC 00280EFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80283FC0 00280F00 83 C1 00 08 */ lwz r30, 8(r1) -/* 80283FC4 00280F04 7C 08 03 A6 */ mtlr r0 -/* 80283FC8 00280F08 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283FCC 00280F0C 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar11StateGroundFPQ24Game9EnemyBase -cleanup__Q34Game3Mar11StateGroundFPQ24Game9EnemyBase: -/* 80283FD0 00280F10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283FD4 00280F14 7C 08 02 A6 */ mflr r0 -/* 80283FD8 00280F18 7C 83 23 78 */ mr r3, r4 -/* 80283FDC 00280F1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80283FE0 00280F20 4B E7 D9 9D */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80283FE4 00280F24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80283FE8 00280F28 7C 08 03 A6 */ mtlr r0 -/* 80283FEC 00280F2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80283FF0 00280F30 4E 80 00 20 */ blr - -.global init__Q34Game3Mar12StateTakeOffFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar12StateTakeOffFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80283FF4 00280F34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80283FF8 00280F38 7C 08 02 A6 */ mflr r0 -/* 80283FFC 00280F3C C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80284000 00280F40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284004 00280F44 38 00 00 00 */ li r0, 0 -/* 80284008 00280F48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028400C 00280F4C 7C 9F 23 78 */ mr r31, r4 -/* 80284010 00280F50 7F E3 FB 78 */ mr r3, r31 -/* 80284014 00280F54 90 04 02 30 */ stw r0, 0x230(r4) -/* 80284018 00280F58 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8028401C 00280F5C 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80284020 00280F60 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80284024 00280F64 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80284028 00280F68 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 8028402C 00280F6C D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80284030 00280F70 4B E7 D9 9D */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80284034 00280F74 7F E3 FB 78 */ mr r3, r31 -/* 80284038 00280F78 38 80 00 07 */ li r4, 7 -/* 8028403C 00280F7C 38 A0 00 00 */ li r5, 0 -/* 80284040 00280F80 4B E8 0F C5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80284044 00280F84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284048 00280F88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028404C 00280F8C 7C 08 03 A6 */ mtlr r0 -/* 80284050 00280F90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284054 00280F94 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar12StateTakeOffFPQ24Game9EnemyBase -exec__Q34Game3Mar12StateTakeOffFPQ24Game9EnemyBase: -/* 80284058 00280F98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028405C 00280F9C 7C 08 02 A6 */ mflr r0 -/* 80284060 00280FA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284064 00280FA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284068 00280FA8 7C 9F 23 78 */ mr r31, r4 -/* 8028406C 00280FAC 93 C1 00 08 */ stw r30, 8(r1) -/* 80284070 00280FB0 7C 7E 1B 78 */ mr r30, r3 -/* 80284074 00280FB4 7F E3 FB 78 */ mr r3, r31 -/* 80284078 00280FB8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028407C 00280FBC 81 8C 00 CC */ lwz r12, 0xcc(r12) -/* 80284080 00280FC0 7D 89 03 A6 */ mtctr r12 -/* 80284084 00280FC4 4E 80 04 21 */ bctrl -/* 80284088 00280FC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028408C 00280FCC 41 82 00 14 */ beq lbl_802840A0 -/* 80284090 00280FD0 7F E3 FB 78 */ mr r3, r31 -/* 80284094 00280FD4 4B FF BC 09 */ bl setHeightVelocity__Q34Game3Mar3ObjFv -/* 80284098 00280FD8 7F E3 FB 78 */ mr r3, r31 -/* 8028409C 00280FDC 4B FF BF 35 */ bl subShadowOffset__Q34Game3Mar3ObjFv -lbl_802840A0: -/* 802840A0 00280FE0 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802840A4 00280FE4 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 802840A8 00280FE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802840AC 00280FEC 4C 40 13 82 */ cror 2, 0, 2 -/* 802840B0 00280FF0 40 82 00 28 */ bne lbl_802840D8 -/* 802840B4 00280FF4 7F C3 F3 78 */ mr r3, r30 -/* 802840B8 00280FF8 7F E4 FB 78 */ mr r4, r31 -/* 802840BC 00280FFC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802840C0 00281000 38 A0 00 00 */ li r5, 0 -/* 802840C4 00281004 38 C0 00 00 */ li r6, 0 -/* 802840C8 00281008 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802840CC 0028100C 7D 89 03 A6 */ mtctr r12 -/* 802840D0 00281010 4E 80 04 21 */ bctrl -/* 802840D4 00281014 48 00 00 58 */ b lbl_8028412C -lbl_802840D8: -/* 802840D8 00281018 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802840DC 0028101C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802840E0 00281020 28 00 00 00 */ cmplwi r0, 0 -/* 802840E4 00281024 41 82 00 48 */ beq lbl_8028412C -/* 802840E8 00281028 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802840EC 0028102C 28 00 00 02 */ cmplwi r0, 2 -/* 802840F0 00281030 40 82 00 14 */ bne lbl_80284104 -/* 802840F4 00281034 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802840F8 00281038 60 00 00 04 */ ori r0, r0, 4 -/* 802840FC 0028103C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80284100 00281040 48 00 00 2C */ b lbl_8028412C -lbl_80284104: -/* 80284104 00281044 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80284108 00281048 40 82 00 24 */ bne lbl_8028412C -/* 8028410C 0028104C 7F C3 F3 78 */ mr r3, r30 -/* 80284110 00281050 7F E4 FB 78 */ mr r4, r31 -/* 80284114 00281054 81 9E 00 00 */ lwz r12, 0(r30) -/* 80284118 00281058 38 A0 00 01 */ li r5, 1 -/* 8028411C 0028105C 38 C0 00 00 */ li r6, 0 -/* 80284120 00281060 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80284124 00281064 7D 89 03 A6 */ mtctr r12 -/* 80284128 00281068 4E 80 04 21 */ bctrl -lbl_8028412C: -/* 8028412C 0028106C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284130 00281070 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284134 00281074 83 C1 00 08 */ lwz r30, 8(r1) -/* 80284138 00281078 7C 08 03 A6 */ mtlr r0 -/* 8028413C 0028107C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284140 00281080 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar12StateTakeOffFPQ24Game9EnemyBase -cleanup__Q34Game3Mar12StateTakeOffFPQ24Game9EnemyBase: -/* 80284144 00281084 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284148 00281088 7C 08 02 A6 */ mflr r0 -/* 8028414C 0028108C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284150 00281090 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284154 00281094 7C 9F 23 78 */ mr r31, r4 -/* 80284158 00281098 7F E3 FB 78 */ mr r3, r31 -/* 8028415C 0028109C 4B FF BE 35 */ bl resetShadowOffset__Q34Game3Mar3ObjFv -/* 80284160 002810A0 7F E3 FB 78 */ mr r3, r31 -/* 80284164 002810A4 4B E7 D8 19 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80284168 002810A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028416C 002810AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284170 002810B0 7C 08 03 A6 */ mtlr r0 -/* 80284174 002810B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284178 002810B8 4E 80 00 20 */ blr - -.global init__Q34Game3Mar13StateFlyFlickFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar13StateFlyFlickFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028417C 002810BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284180 002810C0 7C 08 02 A6 */ mflr r0 -/* 80284184 002810C4 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80284188 002810C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028418C 002810CC 38 00 00 00 */ li r0, 0 -/* 80284190 002810D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284194 002810D4 7C 9F 23 78 */ mr r31, r4 -/* 80284198 002810D8 7F E3 FB 78 */ mr r3, r31 -/* 8028419C 002810DC 90 04 02 30 */ stw r0, 0x230(r4) -/* 802841A0 002810E0 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802841A4 002810E4 60 00 00 04 */ ori r0, r0, 4 -/* 802841A8 002810E8 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802841AC 002810EC D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 802841B0 002810F0 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 802841B4 002810F4 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 802841B8 002810F8 4B E7 D8 15 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 802841BC 002810FC 7F E3 FB 78 */ mr r3, r31 -/* 802841C0 00281100 38 80 00 02 */ li r4, 2 -/* 802841C4 00281104 38 A0 00 00 */ li r5, 0 -/* 802841C8 00281108 4B E8 0E 3D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802841CC 0028110C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802841D0 00281110 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802841D4 00281114 7C 08 03 A6 */ mtlr r0 -/* 802841D8 00281118 38 21 00 10 */ addi r1, r1, 0x10 -/* 802841DC 0028111C 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar13StateFlyFlickFPQ24Game9EnemyBase -exec__Q34Game3Mar13StateFlyFlickFPQ24Game9EnemyBase: -/* 802841E0 00281120 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802841E4 00281124 7C 08 02 A6 */ mflr r0 -/* 802841E8 00281128 90 01 00 14 */ stw r0, 0x14(r1) -/* 802841EC 0028112C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802841F0 00281130 7C 9F 23 78 */ mr r31, r4 -/* 802841F4 00281134 93 C1 00 08 */ stw r30, 8(r1) -/* 802841F8 00281138 7C 7E 1B 78 */ mr r30, r3 -/* 802841FC 0028113C 7F E3 FB 78 */ mr r3, r31 -/* 80284200 00281140 4B FF BA 9D */ bl setHeightVelocity__Q34Game3Mar3ObjFv -/* 80284204 00281144 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80284208 00281148 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 8028420C 0028114C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80284210 00281150 4C 40 13 82 */ cror 2, 0, 2 -/* 80284214 00281154 40 82 00 28 */ bne lbl_8028423C -/* 80284218 00281158 7F C3 F3 78 */ mr r3, r30 -/* 8028421C 0028115C 7F E4 FB 78 */ mr r4, r31 -/* 80284220 00281160 81 9E 00 00 */ lwz r12, 0(r30) -/* 80284224 00281164 38 A0 00 00 */ li r5, 0 -/* 80284228 00281168 38 C0 00 00 */ li r6, 0 -/* 8028422C 0028116C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80284230 00281170 7D 89 03 A6 */ mtctr r12 -/* 80284234 00281174 4E 80 04 21 */ bctrl -/* 80284238 00281178 48 00 00 74 */ b lbl_802842AC -lbl_8028423C: -/* 8028423C 0028117C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80284240 00281180 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80284244 00281184 28 00 00 00 */ cmplwi r0, 0 -/* 80284248 00281188 41 82 00 64 */ beq lbl_802842AC -/* 8028424C 0028118C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80284250 00281190 28 00 00 02 */ cmplwi r0, 2 -/* 80284254 00281194 40 82 00 30 */ bne lbl_80284284 -/* 80284258 00281198 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8028425C 0028119C 7F E3 FB 78 */ mr r3, r31 -/* 80284260 002811A0 C0 82 D3 58 */ lfs f4, lbl_8051B6B8@sda21(r2) -/* 80284264 002811A4 38 80 00 00 */ li r4, 0 -/* 80284268 002811A8 C0 25 05 3C */ lfs f1, 0x53c(r5) -/* 8028426C 002811AC C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 80284270 002811B0 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80284274 002811B4 4B E8 EE A9 */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 80284278 002811B8 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 8028427C 002811BC D0 1F 02 0C */ stfs f0, 0x20c(r31) -/* 80284280 002811C0 48 00 00 2C */ b lbl_802842AC -lbl_80284284: -/* 80284284 002811C4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80284288 002811C8 40 82 00 24 */ bne lbl_802842AC -/* 8028428C 002811CC 7F C3 F3 78 */ mr r3, r30 -/* 80284290 002811D0 7F E4 FB 78 */ mr r4, r31 -/* 80284294 002811D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80284298 002811D8 38 A0 00 01 */ li r5, 1 -/* 8028429C 002811DC 38 C0 00 00 */ li r6, 0 -/* 802842A0 002811E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802842A4 002811E4 7D 89 03 A6 */ mtctr r12 -/* 802842A8 002811E8 4E 80 04 21 */ bctrl -lbl_802842AC: -/* 802842AC 002811EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802842B0 002811F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802842B4 002811F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 802842B8 002811F8 7C 08 03 A6 */ mtlr r0 -/* 802842BC 002811FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802842C0 00281200 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar13StateFlyFlickFPQ24Game9EnemyBase -cleanup__Q34Game3Mar13StateFlyFlickFPQ24Game9EnemyBase: -/* 802842C4 00281204 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802842C8 00281208 7C 08 02 A6 */ mflr r0 -/* 802842CC 0028120C 7C 83 23 78 */ mr r3, r4 -/* 802842D0 00281210 90 01 00 14 */ stw r0, 0x14(r1) -/* 802842D4 00281214 4B E7 D6 A9 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 802842D8 00281218 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802842DC 0028121C 7C 08 03 A6 */ mtlr r0 -/* 802842E0 00281220 38 21 00 10 */ addi r1, r1, 0x10 -/* 802842E4 00281224 4E 80 00 20 */ blr - -.global init__Q34Game3Mar16StateGroundFlickFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game3Mar16StateGroundFlickFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802842E8 00281228 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802842EC 0028122C 7C 08 02 A6 */ mflr r0 -/* 802842F0 00281230 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 802842F4 00281234 90 01 00 14 */ stw r0, 0x14(r1) -/* 802842F8 00281238 38 00 00 00 */ li r0, 0 -/* 802842FC 0028123C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284300 00281240 7C 9F 23 78 */ mr r31, r4 -/* 80284304 00281244 7F E3 FB 78 */ mr r3, r31 -/* 80284308 00281248 90 04 02 30 */ stw r0, 0x230(r4) -/* 8028430C 0028124C 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80284310 00281250 54 00 07 B8 */ rlwinm r0, r0, 0, 0x1e, 0x1c -/* 80284314 00281254 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80284318 00281258 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 8028431C 0028125C D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80284320 00281260 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80284324 00281264 4B E7 D6 A9 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80284328 00281268 7F E3 FB 78 */ mr r3, r31 -/* 8028432C 0028126C 38 80 00 03 */ li r4, 3 -/* 80284330 00281270 38 A0 00 00 */ li r5, 0 -/* 80284334 00281274 4B E8 0C D1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80284338 00281278 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028433C 0028127C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284340 00281280 7C 08 03 A6 */ mtlr r0 -/* 80284344 00281284 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284348 00281288 4E 80 00 20 */ blr - -.global exec__Q34Game3Mar16StateGroundFlickFPQ24Game9EnemyBase -exec__Q34Game3Mar16StateGroundFlickFPQ24Game9EnemyBase: -/* 8028434C 0028128C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284350 00281290 7C 08 02 A6 */ mflr r0 -/* 80284354 00281294 C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80284358 00281298 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028435C 0028129C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284360 002812A0 7C 9F 23 78 */ mr r31, r4 -/* 80284364 002812A4 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80284368 002812A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028436C 002812AC 4C 40 13 82 */ cror 2, 0, 2 -/* 80284370 002812B0 40 82 00 20 */ bne lbl_80284390 -/* 80284374 002812B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80284378 002812B8 38 A0 00 00 */ li r5, 0 -/* 8028437C 002812BC 38 C0 00 00 */ li r6, 0 -/* 80284380 002812C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80284384 002812C4 7D 89 03 A6 */ mtctr r12 -/* 80284388 002812C8 4E 80 04 21 */ bctrl -/* 8028438C 002812CC 48 00 00 AC */ b lbl_80284438 -lbl_80284390: -/* 80284390 002812D0 80 BF 01 88 */ lwz r5, 0x188(r31) -/* 80284394 002812D4 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80284398 002812D8 28 00 00 00 */ cmplwi r0, 0 -/* 8028439C 002812DC 41 82 00 9C */ beq lbl_80284438 -/* 802843A0 002812E0 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 802843A4 002812E4 28 00 00 02 */ cmplwi r0, 2 -/* 802843A8 002812E8 40 82 00 70 */ bne lbl_80284418 -/* 802843AC 002812EC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802843B0 002812F0 7F E3 FB 78 */ mr r3, r31 -/* 802843B4 002812F4 C0 82 D3 58 */ lfs f4, lbl_8051B6B8@sda21(r2) -/* 802843B8 002812F8 38 80 00 00 */ li r4, 0 -/* 802843BC 002812FC C0 25 05 14 */ lfs f1, 0x514(r5) -/* 802843C0 00281300 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 802843C4 00281304 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 802843C8 00281308 4B E8 F3 C9 */ bl flickNearbyNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Navi$$1 -/* 802843CC 0028130C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802843D0 00281310 7F E3 FB 78 */ mr r3, r31 -/* 802843D4 00281314 C0 82 D3 58 */ lfs f4, lbl_8051B6B8@sda21(r2) -/* 802843D8 00281318 38 80 00 00 */ li r4, 0 -/* 802843DC 0028131C C0 25 05 14 */ lfs f1, 0x514(r5) -/* 802843E0 00281320 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 802843E4 00281324 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 802843E8 00281328 4B E8 F0 ED */ bl flickNearbyPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 802843EC 0028132C 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 802843F0 00281330 7F E3 FB 78 */ mr r3, r31 -/* 802843F4 00281334 C0 82 D3 58 */ lfs f4, lbl_8051B6B8@sda21(r2) -/* 802843F8 00281338 38 80 00 00 */ li r4, 0 -/* 802843FC 0028133C C0 25 05 3C */ lfs f1, 0x53c(r5) -/* 80284400 00281340 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 80284404 00281344 C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80284408 00281348 4B E8 ED 15 */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 8028440C 0028134C C0 02 D3 28 */ lfs f0, lbl_8051B688@sda21(r2) -/* 80284410 00281350 D0 1F 02 0C */ stfs f0, 0x20c(r31) -/* 80284414 00281354 48 00 00 24 */ b lbl_80284438 -lbl_80284418: -/* 80284418 00281358 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8028441C 0028135C 40 82 00 1C */ bne lbl_80284438 -/* 80284420 00281360 81 83 00 00 */ lwz r12, 0(r3) -/* 80284424 00281364 38 A0 00 09 */ li r5, 9 -/* 80284428 00281368 38 C0 00 00 */ li r6, 0 -/* 8028442C 0028136C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80284430 00281370 7D 89 03 A6 */ mtctr r12 -/* 80284434 00281374 4E 80 04 21 */ bctrl -lbl_80284438: -/* 80284438 00281378 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028443C 0028137C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284440 00281380 7C 08 03 A6 */ mtlr r0 -/* 80284444 00281384 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284448 00281388 4E 80 00 20 */ blr - -.global cleanup__Q34Game3Mar16StateGroundFlickFPQ24Game9EnemyBase -cleanup__Q34Game3Mar16StateGroundFlickFPQ24Game9EnemyBase: -/* 8028444C 0028138C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284450 00281390 7C 08 02 A6 */ mflr r0 -/* 80284454 00281394 7C 83 23 78 */ mr r3, r4 -/* 80284458 00281398 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028445C 0028139C 4B E7 D5 21 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80284460 002813A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284464 002813A4 7C 08 03 A6 */ mtlr r0 -/* 80284468 002813A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028446C 002813AC 4E 80 00 20 */ blr - -.global __ct__Q34Game7Wealthy3MgrFiUc -__ct__Q34Game7Wealthy3MgrFiUc: -/* 80284470 002813B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284474 002813B4 7C 08 02 A6 */ mflr r0 -/* 80284478 002813B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028447C 002813BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284480 002813C0 7C 7F 1B 78 */ mr r31, r3 -/* 80284484 002813C4 4B FD 94 15 */ bl __ct__Q34Game6Kogane3MgrFiUc -/* 80284488 002813C8 3C 60 80 4D */ lis r3, __vt__Q34Game7Wealthy3Mgr@ha -/* 8028448C 002813CC 3C 80 80 48 */ lis r4, lbl_8048786C@ha -/* 80284490 002813D0 38 A3 8F 94 */ addi r5, r3, __vt__Q34Game7Wealthy3Mgr@l -/* 80284494 002813D4 7F E3 FB 78 */ mr r3, r31 -/* 80284498 002813D8 90 BF 00 00 */ stw r5, 0(r31) -/* 8028449C 002813DC 38 A5 00 38 */ addi r5, r5, 0x38 -/* 802844A0 002813E0 38 04 78 6C */ addi r0, r4, lbl_8048786C@l -/* 802844A4 002813E4 90 BF 00 04 */ stw r5, 4(r31) -/* 802844A8 002813E8 90 1F 00 18 */ stw r0, 0x18(r31) -/* 802844AC 002813EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802844B0 002813F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802844B4 002813F4 7C 08 03 A6 */ mtlr r0 -/* 802844B8 002813F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802844BC 002813FC 4E 80 00 20 */ blr - -.global doAlloc__Q34Game7Wealthy3MgrFv -doAlloc__Q34Game7Wealthy3MgrFv: -/* 802844C0 00281400 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802844C4 00281404 7C 08 02 A6 */ mflr r0 -/* 802844C8 00281408 90 01 00 14 */ stw r0, 0x14(r1) -/* 802844CC 0028140C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802844D0 00281410 7C 7F 1B 78 */ mr r31, r3 -/* 802844D4 00281414 38 60 09 48 */ li r3, 0x948 -/* 802844D8 00281418 4B D9 F9 CD */ bl __nw__FUl -/* 802844DC 0028141C 7C 64 1B 79 */ or. r4, r3, r3 -/* 802844E0 00281420 41 82 00 0C */ beq lbl_802844EC -/* 802844E4 00281424 48 00 00 25 */ bl __ct__Q34Game6Kogane5ParmsFv -/* 802844E8 00281428 7C 64 1B 78 */ mr r4, r3 -lbl_802844EC: -/* 802844EC 0028142C 7F E3 FB 78 */ mr r3, r31 -/* 802844F0 00281430 4B EA B3 AD */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 802844F4 00281434 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802844F8 00281438 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802844FC 0028143C 7C 08 03 A6 */ mtlr r0 -/* 80284500 00281440 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284504 00281444 4E 80 00 20 */ blr - -.global __ct__Q34Game6Kogane5ParmsFv -__ct__Q34Game6Kogane5ParmsFv: -/* 80284508 00281448 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028450C 0028144C 7C 08 02 A6 */ mflr r0 -/* 80284510 00281450 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284514 00281454 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284518 00281458 7C 7F 1B 78 */ mr r31, r3 -/* 8028451C 0028145C 4B E8 52 81 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80284520 00281460 3C 80 80 4D */ lis r4, __vt__Q34Game6Kogane5Parms@ha -/* 80284524 00281464 38 7F 07 F8 */ addi r3, r31, 0x7f8 -/* 80284528 00281468 38 04 8F 88 */ addi r0, r4, __vt__Q34Game6Kogane5Parms@l -/* 8028452C 0028146C 38 80 00 01 */ li r4, 1 -/* 80284530 00281470 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 80284534 00281474 48 00 00 1D */ bl __ct__Q44Game6Kogane5Parms11ProperParmsFv -/* 80284538 00281478 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028453C 0028147C 7F E3 FB 78 */ mr r3, r31 -/* 80284540 00281480 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284544 00281484 7C 08 03 A6 */ mtlr r0 -/* 80284548 00281488 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028454C 0028148C 4E 80 00 20 */ blr - -.global __ct__Q44Game6Kogane5Parms11ProperParmsFv -__ct__Q44Game6Kogane5Parms11ProperParmsFv: -/* 80284550 00281490 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284554 00281494 7C 08 02 A6 */ mflr r0 -/* 80284558 00281498 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028455C 0028149C 7C 80 07 35 */ extsh. r0, r4 -/* 80284560 002814A0 3C 80 80 48 */ lis r4, lbl_80487838@ha -/* 80284564 002814A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284568 002814A8 3B E4 78 38 */ addi r31, r4, lbl_80487838@l -/* 8028456C 002814AC 93 C1 00 08 */ stw r30, 8(r1) -/* 80284570 002814B0 7C 7E 1B 78 */ mr r30, r3 -/* 80284574 002814B4 41 82 00 0C */ beq lbl_80284580 -/* 80284578 002814B8 38 1E 01 4C */ addi r0, r30, 0x14c -/* 8028457C 002814BC 90 1E 00 00 */ stw r0, 0(r30) -lbl_80284580: -/* 80284580 002814C0 38 00 00 00 */ li r0, 0 -/* 80284584 002814C4 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 80284588 002814C8 90 1E 00 04 */ stw r0, 4(r30) -/* 8028458C 002814CC 38 1F 00 4C */ addi r0, r31, 0x4c -/* 80284590 002814D0 7F C4 F3 78 */ mr r4, r30 -/* 80284594 002814D4 38 7E 00 0C */ addi r3, r30, 0xc -/* 80284598 002814D8 90 1E 00 08 */ stw r0, 8(r30) -/* 8028459C 002814DC 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 802845A0 002814E0 38 DF 00 5C */ addi r6, r31, 0x5c -/* 802845A4 002814E4 48 18 F0 B5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802845A8 002814E8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802845AC 002814EC 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 802845B0 002814F0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802845B4 002814F4 C0 02 D3 60 */ lfs f0, lbl_8051B6C0@sda21(r2) -/* 802845B8 002814F8 90 1E 00 0C */ stw r0, 0xc(r30) -/* 802845BC 002814FC 7F C4 F3 78 */ mr r4, r30 -/* 802845C0 00281500 C0 22 D3 64 */ lfs f1, lbl_8051B6C4@sda21(r2) -/* 802845C4 00281504 38 7E 00 34 */ addi r3, r30, 0x34 -/* 802845C8 00281508 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 802845CC 0028150C 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 802845D0 00281510 C0 02 D3 68 */ lfs f0, lbl_8051B6C8@sda21(r2) -/* 802845D4 00281514 38 DF 00 6C */ addi r6, r31, 0x6c -/* 802845D8 00281518 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 802845DC 0028151C D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 802845E0 00281520 48 18 F0 79 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802845E4 00281524 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802845E8 00281528 3C A0 66 70 */ lis r5, 0x66703130@ha -/* 802845EC 0028152C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802845F0 00281530 C0 02 D3 6C */ lfs f0, lbl_8051B6CC@sda21(r2) -/* 802845F4 00281534 90 1E 00 34 */ stw r0, 0x34(r30) -/* 802845F8 00281538 7F C4 F3 78 */ mr r4, r30 -/* 802845FC 0028153C C0 22 D3 64 */ lfs f1, lbl_8051B6C4@sda21(r2) -/* 80284600 00281540 38 7E 00 5C */ addi r3, r30, 0x5c -/* 80284604 00281544 D0 1E 00 4C */ stfs f0, 0x4c(r30) -/* 80284608 00281548 38 A5 31 30 */ addi r5, r5, 0x66703130@l -/* 8028460C 0028154C C0 02 D3 68 */ lfs f0, lbl_8051B6C8@sda21(r2) -/* 80284610 00281550 38 DF 00 7C */ addi r6, r31, 0x7c -/* 80284614 00281554 D0 3E 00 54 */ stfs f1, 0x54(r30) -/* 80284618 00281558 D0 1E 00 58 */ stfs f0, 0x58(r30) -/* 8028461C 0028155C 48 18 F0 3D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80284620 00281560 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80284624 00281564 3C A0 66 70 */ lis r5, 0x66703131@ha -/* 80284628 00281568 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8028462C 0028156C C0 02 D3 70 */ lfs f0, lbl_8051B6D0@sda21(r2) -/* 80284630 00281570 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 80284634 00281574 7F C4 F3 78 */ mr r4, r30 -/* 80284638 00281578 C0 22 D3 64 */ lfs f1, lbl_8051B6C4@sda21(r2) -/* 8028463C 0028157C 38 7E 00 84 */ addi r3, r30, 0x84 -/* 80284640 00281580 D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 80284644 00281584 38 A5 31 31 */ addi r5, r5, 0x66703131@l -/* 80284648 00281588 C0 02 D3 74 */ lfs f0, lbl_8051B6D4@sda21(r2) -/* 8028464C 0028158C 38 DF 00 8C */ addi r6, r31, 0x8c -/* 80284650 00281590 D0 3E 00 7C */ stfs f1, 0x7c(r30) -/* 80284654 00281594 D0 1E 00 80 */ stfs f0, 0x80(r30) -/* 80284658 00281598 48 18 F0 01 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8028465C 0028159C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80284660 002815A0 3C A0 66 70 */ lis r5, 0x66703230@ha -/* 80284664 002815A4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80284668 002815A8 C0 02 D3 78 */ lfs f0, lbl_8051B6D8@sda21(r2) -/* 8028466C 002815AC 90 1E 00 84 */ stw r0, 0x84(r30) -/* 80284670 002815B0 7F C4 F3 78 */ mr r4, r30 -/* 80284674 002815B4 C0 22 D3 64 */ lfs f1, lbl_8051B6C4@sda21(r2) -/* 80284678 002815B8 38 7E 00 AC */ addi r3, r30, 0xac -/* 8028467C 002815BC D0 1E 00 9C */ stfs f0, 0x9c(r30) -/* 80284680 002815C0 38 A5 32 30 */ addi r5, r5, 0x66703230@l -/* 80284684 002815C4 C0 02 D3 74 */ lfs f0, lbl_8051B6D4@sda21(r2) -/* 80284688 002815C8 38 DF 00 9C */ addi r6, r31, 0x9c -/* 8028468C 002815CC D0 3E 00 A4 */ stfs f1, 0xa4(r30) -/* 80284690 002815D0 D0 1E 00 A8 */ stfs f0, 0xa8(r30) -/* 80284694 002815D4 48 18 EF C5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80284698 002815D8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8028469C 002815DC 3C A0 66 70 */ lis r5, 0x66703231@ha -/* 802846A0 002815E0 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802846A4 002815E4 C0 02 D3 70 */ lfs f0, lbl_8051B6D0@sda21(r2) -/* 802846A8 002815E8 90 1E 00 AC */ stw r0, 0xac(r30) -/* 802846AC 002815EC 7F C4 F3 78 */ mr r4, r30 -/* 802846B0 002815F0 C0 22 D3 64 */ lfs f1, lbl_8051B6C4@sda21(r2) -/* 802846B4 002815F4 38 7E 00 D4 */ addi r3, r30, 0xd4 -/* 802846B8 002815F8 D0 1E 00 C4 */ stfs f0, 0xc4(r30) -/* 802846BC 002815FC 38 A5 32 31 */ addi r5, r5, 0x66703231@l -/* 802846C0 00281600 C0 02 D3 74 */ lfs f0, lbl_8051B6D4@sda21(r2) -/* 802846C4 00281604 38 DF 00 AC */ addi r6, r31, 0xac -/* 802846C8 00281608 D0 3E 00 CC */ stfs f1, 0xcc(r30) -/* 802846CC 0028160C D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 802846D0 00281610 48 18 EF 89 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 802846D4 00281614 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 802846D8 00281618 3C A0 66 70 */ lis r5, 0x66703330@ha -/* 802846DC 0028161C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 802846E0 00281620 C0 02 D3 78 */ lfs f0, lbl_8051B6D8@sda21(r2) -/* 802846E4 00281624 90 1E 00 D4 */ stw r0, 0xd4(r30) -/* 802846E8 00281628 7F C4 F3 78 */ mr r4, r30 -/* 802846EC 0028162C C0 22 D3 64 */ lfs f1, lbl_8051B6C4@sda21(r2) -/* 802846F0 00281630 38 7E 00 FC */ addi r3, r30, 0xfc -/* 802846F4 00281634 D0 1E 00 EC */ stfs f0, 0xec(r30) -/* 802846F8 00281638 38 A5 33 30 */ addi r5, r5, 0x66703330@l -/* 802846FC 0028163C C0 02 D3 74 */ lfs f0, lbl_8051B6D4@sda21(r2) -/* 80284700 00281640 38 DF 00 BC */ addi r6, r31, 0xbc -/* 80284704 00281644 D0 3E 00 F4 */ stfs f1, 0xf4(r30) -/* 80284708 00281648 D0 1E 00 F8 */ stfs f0, 0xf8(r30) -/* 8028470C 0028164C 48 18 EF 4D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80284710 00281650 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80284714 00281654 3C A0 66 70 */ lis r5, 0x66703430@ha -/* 80284718 00281658 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8028471C 0028165C C0 02 D3 7C */ lfs f0, lbl_8051B6DC@sda21(r2) -/* 80284720 00281660 90 1E 00 FC */ stw r0, 0xfc(r30) -/* 80284724 00281664 7F C4 F3 78 */ mr r4, r30 -/* 80284728 00281668 C0 22 D3 64 */ lfs f1, lbl_8051B6C4@sda21(r2) -/* 8028472C 0028166C 38 7E 01 24 */ addi r3, r30, 0x124 -/* 80284730 00281670 D0 1E 01 14 */ stfs f0, 0x114(r30) -/* 80284734 00281674 38 A5 34 30 */ addi r5, r5, 0x66703430@l -/* 80284738 00281678 C0 02 D3 80 */ lfs f0, lbl_8051B6E0@sda21(r2) -/* 8028473C 0028167C 38 DF 00 CC */ addi r6, r31, 0xcc -/* 80284740 00281680 D0 3E 01 1C */ stfs f1, 0x11c(r30) -/* 80284744 00281684 D0 1E 01 20 */ stfs f0, 0x120(r30) -/* 80284748 00281688 48 18 EF 11 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8028474C 0028168C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80284750 00281690 C0 42 D3 84 */ lfs f2, lbl_8051B6E4@sda21(r2) -/* 80284754 00281694 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80284758 00281698 C0 22 D3 64 */ lfs f1, lbl_8051B6C4@sda21(r2) -/* 8028475C 0028169C 90 1E 01 24 */ stw r0, 0x124(r30) -/* 80284760 002816A0 7F C3 F3 78 */ mr r3, r30 -/* 80284764 002816A4 C0 02 D3 88 */ lfs f0, lbl_8051B6E8@sda21(r2) -/* 80284768 002816A8 D0 5E 01 3C */ stfs f2, 0x13c(r30) -/* 8028476C 002816AC D0 3E 01 44 */ stfs f1, 0x144(r30) -/* 80284770 002816B0 D0 1E 01 48 */ stfs f0, 0x148(r30) -/* 80284774 002816B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284778 002816B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028477C 002816BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284780 002816C0 7C 08 03 A6 */ mtlr r0 -/* 80284784 002816C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284788 002816C8 4E 80 00 20 */ blr - -.global createObj__Q34Game7Wealthy3MgrFi -createObj__Q34Game7Wealthy3MgrFi: -/* 8028478C 002816CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284790 002816D0 7C 08 02 A6 */ mflr r0 -/* 80284794 002816D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284798 002816D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028479C 002816DC 7C 9F 23 78 */ mr r31, r4 -/* 802847A0 002816E0 93 C1 00 08 */ stw r30, 8(r1) -/* 802847A4 002816E4 7C 7E 1B 78 */ mr r30, r3 -/* 802847A8 002816E8 1C 7F 02 F0 */ mulli r3, r31, 0x2f0 -/* 802847AC 002816EC 38 63 00 10 */ addi r3, r3, 0x10 -/* 802847B0 002816F0 4B D9 F7 FD */ bl __nwa__FUl -/* 802847B4 002816F4 3C 80 80 28 */ lis r4, __ct__Q34Game7Wealthy3ObjFv@ha -/* 802847B8 002816F8 3C A0 80 28 */ lis r5, __dt__Q34Game7Wealthy3ObjFv@ha -/* 802847BC 002816FC 38 84 4A 9C */ addi r4, r4, __ct__Q34Game7Wealthy3ObjFv@l -/* 802847C0 00281700 7F E7 FB 78 */ mr r7, r31 -/* 802847C4 00281704 38 A5 47 EC */ addi r5, r5, __dt__Q34Game7Wealthy3ObjFv@l -/* 802847C8 00281708 38 C0 02 F0 */ li r6, 0x2f0 -/* 802847CC 0028170C 4B E3 D2 25 */ bl __construct_new_array -/* 802847D0 00281710 90 7E 00 48 */ stw r3, 0x48(r30) -/* 802847D4 00281714 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802847D8 00281718 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802847DC 0028171C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802847E0 00281720 7C 08 03 A6 */ mtlr r0 -/* 802847E4 00281724 38 21 00 10 */ addi r1, r1, 0x10 -/* 802847E8 00281728 4E 80 00 20 */ blr - -.global __dt__Q34Game7Wealthy3ObjFv -__dt__Q34Game7Wealthy3ObjFv: -/* 802847EC 0028172C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802847F0 00281730 7C 08 02 A6 */ mflr r0 -/* 802847F4 00281734 90 01 00 14 */ stw r0, 0x14(r1) -/* 802847F8 00281738 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802847FC 0028173C 7C 9F 23 78 */ mr r31, r4 -/* 80284800 00281740 93 C1 00 08 */ stw r30, 8(r1) -/* 80284804 00281744 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80284808 00281748 41 82 00 B8 */ beq lbl_802848C0 -/* 8028480C 0028174C 3C 60 80 4D */ lis r3, __vt__Q34Game7Wealthy3Obj@ha -/* 80284810 00281750 38 1E 02 E0 */ addi r0, r30, 0x2e0 -/* 80284814 00281754 38 83 90 C4 */ addi r4, r3, __vt__Q34Game7Wealthy3Obj@l -/* 80284818 00281758 90 9E 00 00 */ stw r4, 0(r30) -/* 8028481C 0028175C 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80284820 00281760 38 84 03 20 */ addi r4, r4, 0x320 -/* 80284824 00281764 90 7E 01 78 */ stw r3, 0x178(r30) -/* 80284828 00281768 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028482C 0028176C 90 83 00 00 */ stw r4, 0(r3) -/* 80284830 00281770 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80284834 00281774 7C 03 00 50 */ subf r0, r3, r0 -/* 80284838 00281778 90 03 00 0C */ stw r0, 0xc(r3) -/* 8028483C 0028177C 41 82 00 74 */ beq lbl_802848B0 -/* 80284840 00281780 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3Obj@ha -/* 80284844 00281784 38 1E 02 DC */ addi r0, r30, 0x2dc -/* 80284848 00281788 38 83 30 A8 */ addi r4, r3, __vt__Q34Game6Kogane3Obj@l -/* 8028484C 0028178C 90 9E 00 00 */ stw r4, 0(r30) -/* 80284850 00281790 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80284854 00281794 38 84 03 20 */ addi r4, r4, 0x320 -/* 80284858 00281798 90 7E 01 78 */ stw r3, 0x178(r30) -/* 8028485C 0028179C 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80284860 002817A0 90 83 00 00 */ stw r4, 0(r3) -/* 80284864 002817A4 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80284868 002817A8 7C 03 00 50 */ subf r0, r3, r0 -/* 8028486C 002817AC 90 03 00 0C */ stw r0, 0xc(r3) -/* 80284870 002817B0 41 82 00 40 */ beq lbl_802848B0 -/* 80284874 002817B4 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80284878 002817B8 38 1E 02 BC */ addi r0, r30, 0x2bc -/* 8028487C 002817BC 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80284880 002817C0 38 7E 02 90 */ addi r3, r30, 0x290 -/* 80284884 002817C4 90 9E 00 00 */ stw r4, 0(r30) -/* 80284888 002817C8 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8028488C 002817CC 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80284890 002817D0 38 80 FF FF */ li r4, -1 -/* 80284894 002817D4 90 BE 01 78 */ stw r5, 0x178(r30) -/* 80284898 002817D8 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8028489C 002817DC 90 C5 00 00 */ stw r6, 0(r5) -/* 802848A0 002817E0 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 802848A4 002817E4 7C 05 00 50 */ subf r0, r5, r0 -/* 802848A8 002817E8 90 05 00 0C */ stw r0, 0xc(r5) -/* 802848AC 002817EC 48 18 CC DD */ bl __dt__5CNodeFv -lbl_802848B0: -/* 802848B0 002817F0 7F E0 07 35 */ extsh. r0, r31 -/* 802848B4 002817F4 40 81 00 0C */ ble lbl_802848C0 -/* 802848B8 002817F8 7F C3 F3 78 */ mr r3, r30 -/* 802848BC 002817FC 4B D9 F7 F9 */ bl __dl__FPv -lbl_802848C0: -/* 802848C0 00281800 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802848C4 00281804 7F C3 F3 78 */ mr r3, r30 -/* 802848C8 00281808 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802848CC 0028180C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802848D0 00281810 7C 08 03 A6 */ mtlr r0 -/* 802848D4 00281814 38 21 00 10 */ addi r1, r1, 0x10 -/* 802848D8 00281818 4E 80 00 20 */ blr - -.global getEnemy__Q34Game7Wealthy3MgrFi -getEnemy__Q34Game7Wealthy3MgrFi: -/* 802848DC 0028181C 1C 04 02 F0 */ mulli r0, r4, 0x2f0 -/* 802848E0 00281820 80 63 00 48 */ lwz r3, 0x48(r3) -/* 802848E4 00281824 7C 63 02 14 */ add r3, r3, r0 -/* 802848E8 00281828 4E 80 00 20 */ blr - -.global loadTexData__Q34Game7Wealthy3MgrFv -loadTexData__Q34Game7Wealthy3MgrFv: -/* 802848EC 0028182C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802848F0 00281830 7C 08 02 A6 */ mflr r0 -/* 802848F4 00281834 90 01 00 44 */ stw r0, 0x44(r1) -/* 802848F8 00281838 38 00 00 00 */ li r0, 0 -/* 802848FC 0028183C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80284900 00281840 7C 7F 1B 78 */ mr r31, r3 -/* 80284904 00281844 90 03 00 44 */ stw r0, 0x44(r3) -/* 80284908 00281848 38 61 00 08 */ addi r3, r1, 8 -/* 8028490C 0028184C 80 8D 84 A0 */ lwz r4, cKoganeChangeTexName__Q34Game7Wealthy24$$2unnamed$$2WealthyMgr_cpp$$2@sda21(r13) -/* 80284910 00281850 48 1C 7C C9 */ bl __ct__Q212LoadResource3ArgFPCc -/* 80284914 00281854 80 6D 9C 28 */ lwz r3, gLoadResourceMgr@sda21(r13) -/* 80284918 00281858 38 81 00 08 */ addi r4, r1, 8 -/* 8028491C 0028185C 48 1C 7E 85 */ bl load__Q212LoadResource3MgrFRQ212LoadResource3Arg -/* 80284920 00281860 28 03 00 00 */ cmplwi r3, 0 -/* 80284924 00281864 41 82 00 0C */ beq lbl_80284930 -/* 80284928 00281868 80 03 00 30 */ lwz r0, 0x30(r3) -/* 8028492C 0028186C 90 1F 00 44 */ stw r0, 0x44(r31) -lbl_80284930: -/* 80284930 00281870 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 80284934 00281874 28 00 00 00 */ cmplwi r0, 0 -/* 80284938 00281878 40 82 00 20 */ bne lbl_80284958 -/* 8028493C 0028187C 3C 60 80 48 */ lis r3, lbl_80487BC8@ha -/* 80284940 00281880 3C A0 80 48 */ lis r5, lbl_80487BD8@ha -/* 80284944 00281884 38 63 7B C8 */ addi r3, r3, lbl_80487BC8@l -/* 80284948 00281888 38 80 00 53 */ li r4, 0x53 -/* 8028494C 0028188C 38 A5 7B D8 */ addi r5, r5, lbl_80487BD8@l -/* 80284950 00281890 4C C6 31 82 */ crclr 6 -/* 80284954 00281894 4B DA 5C ED */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80284958: -/* 80284958 00281898 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028495C 0028189C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80284960 002818A0 7C 08 03 A6 */ mtlr r0 -/* 80284964 002818A4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80284968 002818A8 4E 80 00 20 */ blr - -.global read__Q34Game6Kogane5ParmsFR6Stream -read__Q34Game6Kogane5ParmsFR6Stream: -/* 8028496C 002818AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284970 002818B0 7C 08 02 A6 */ mflr r0 -/* 80284974 002818B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284978 002818B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028497C 002818BC 7C 9F 23 78 */ mr r31, r4 -/* 80284980 002818C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80284984 002818C4 7C 7E 1B 78 */ mr r30, r3 -/* 80284988 002818C8 48 18 EE 6D */ bl read__10ParametersFR6Stream -/* 8028498C 002818CC 7F E4 FB 78 */ mr r4, r31 -/* 80284990 002818D0 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 80284994 002818D4 48 18 EE 61 */ bl read__10ParametersFR6Stream -/* 80284998 002818D8 7F E4 FB 78 */ mr r4, r31 -/* 8028499C 002818DC 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 802849A0 002818E0 48 18 EE 55 */ bl read__10ParametersFR6Stream -/* 802849A4 002818E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802849A8 002818E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802849AC 002818EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802849B0 002818F0 7C 08 03 A6 */ mtlr r0 -/* 802849B4 002818F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802849B8 002818F8 4E 80 00 20 */ blr - -.global __dt__Q34Game7Wealthy3MgrFv -__dt__Q34Game7Wealthy3MgrFv: -/* 802849BC 002818FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802849C0 00281900 7C 08 02 A6 */ mflr r0 -/* 802849C4 00281904 90 01 00 14 */ stw r0, 0x14(r1) -/* 802849C8 00281908 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802849CC 0028190C 7C 9F 23 78 */ mr r31, r4 -/* 802849D0 00281910 93 C1 00 08 */ stw r30, 8(r1) -/* 802849D4 00281914 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802849D8 00281918 41 82 00 90 */ beq lbl_80284A68 -/* 802849DC 0028191C 3C 60 80 4D */ lis r3, __vt__Q34Game7Wealthy3Mgr@ha -/* 802849E0 00281920 38 63 8F 94 */ addi r3, r3, __vt__Q34Game7Wealthy3Mgr@l -/* 802849E4 00281924 90 7E 00 00 */ stw r3, 0(r30) -/* 802849E8 00281928 38 03 00 38 */ addi r0, r3, 0x38 -/* 802849EC 0028192C 90 1E 00 04 */ stw r0, 4(r30) -/* 802849F0 00281930 41 82 00 68 */ beq lbl_80284A58 -/* 802849F4 00281934 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3Mgr@ha -/* 802849F8 00281938 38 63 2F C0 */ addi r3, r3, __vt__Q34Game6Kogane3Mgr@l -/* 802849FC 0028193C 90 7E 00 00 */ stw r3, 0(r30) -/* 80284A00 00281940 38 03 00 38 */ addi r0, r3, 0x38 -/* 80284A04 00281944 90 1E 00 04 */ stw r0, 4(r30) -/* 80284A08 00281948 41 82 00 50 */ beq lbl_80284A58 -/* 80284A0C 0028194C 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80284A10 00281950 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80284A14 00281954 90 7E 00 00 */ stw r3, 0(r30) -/* 80284A18 00281958 38 03 00 38 */ addi r0, r3, 0x38 -/* 80284A1C 0028195C 90 1E 00 04 */ stw r0, 4(r30) -/* 80284A20 00281960 41 82 00 38 */ beq lbl_80284A58 -/* 80284A24 00281964 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80284A28 00281968 34 1E 00 04 */ addic. r0, r30, 4 -/* 80284A2C 0028196C 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80284A30 00281970 90 7E 00 00 */ stw r3, 0(r30) -/* 80284A34 00281974 38 03 00 38 */ addi r0, r3, 0x38 -/* 80284A38 00281978 90 1E 00 04 */ stw r0, 4(r30) -/* 80284A3C 0028197C 41 82 00 1C */ beq lbl_80284A58 -/* 80284A40 00281980 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80284A44 00281984 38 7E 00 04 */ addi r3, r30, 4 -/* 80284A48 00281988 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80284A4C 0028198C 38 80 00 00 */ li r4, 0 -/* 80284A50 00281990 90 1E 00 04 */ stw r0, 4(r30) -/* 80284A54 00281994 48 18 CB 35 */ bl __dt__5CNodeFv -lbl_80284A58: -/* 80284A58 00281998 7F E0 07 35 */ extsh. r0, r31 -/* 80284A5C 0028199C 40 81 00 0C */ ble lbl_80284A68 -/* 80284A60 002819A0 7F C3 F3 78 */ mr r3, r30 -/* 80284A64 002819A4 4B D9 F6 51 */ bl __dl__FPv -lbl_80284A68: -/* 80284A68 002819A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284A6C 002819AC 7F C3 F3 78 */ mr r3, r30 -/* 80284A70 002819B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284A74 002819B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80284A78 002819B8 7C 08 03 A6 */ mtlr r0 -/* 80284A7C 002819BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284A80 002819C0 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7Wealthy3MgrFv -getEnemyTypeID__Q34Game7Wealthy3MgrFv: -/* 80284A84 002819C4 38 60 00 0A */ li r3, 0xa -/* 80284A88 002819C8 4E 80 00 20 */ blr - -.global getChangeTexture__Q34Game7Wealthy3MgrFv -getChangeTexture__Q34Game7Wealthy3MgrFv: -/* 80284A8C 002819CC 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80284A90 002819D0 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game7Wealthy3MgrFv -$$24$$2__dt__Q34Game7Wealthy3MgrFv: -/* 80284A94 002819D4 38 63 FF FC */ addi r3, r3, -4 -/* 80284A98 002819D8 4B FF FF 24 */ b __dt__Q34Game7Wealthy3MgrFv - -.global __ct__Q34Game7Wealthy3ObjFv -__ct__Q34Game7Wealthy3ObjFv: -/* 80284A9C 002819DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284AA0 002819E0 7C 08 02 A6 */ mflr r0 -/* 80284AA4 002819E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284AA8 002819E8 7C 80 07 35 */ extsh. r0, r4 -/* 80284AAC 002819EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284AB0 002819F0 7C 7F 1B 78 */ mr r31, r3 -/* 80284AB4 002819F4 41 82 00 24 */ beq lbl_80284AD8 -/* 80284AB8 002819F8 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 80284ABC 002819FC 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 80284AC0 00281A00 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80284AC4 00281A04 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80284AC8 00281A08 38 00 00 00 */ li r0, 0 -/* 80284ACC 00281A0C 90 7F 02 E0 */ stw r3, 0x2e0(r31) -/* 80284AD0 00281A10 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 80284AD4 00281A14 90 1F 02 E8 */ stw r0, 0x2e8(r31) -lbl_80284AD8: -/* 80284AD8 00281A18 7F E3 FB 78 */ mr r3, r31 -/* 80284ADC 00281A1C 38 80 00 00 */ li r4, 0 -/* 80284AE0 00281A20 4B FD 91 AD */ bl __ct__Q34Game6Kogane3ObjFv -/* 80284AE4 00281A24 3C 60 80 4D */ lis r3, __vt__Q34Game7Wealthy3Obj@ha -/* 80284AE8 00281A28 38 1F 02 E0 */ addi r0, r31, 0x2e0 -/* 80284AEC 00281A2C 38 A3 90 C4 */ addi r5, r3, __vt__Q34Game7Wealthy3Obj@l -/* 80284AF0 00281A30 7F E3 FB 78 */ mr r3, r31 -/* 80284AF4 00281A34 90 BF 00 00 */ stw r5, 0(r31) -/* 80284AF8 00281A38 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80284AFC 00281A3C 38 A5 03 20 */ addi r5, r5, 0x320 -/* 80284B00 00281A40 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80284B04 00281A44 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80284B08 00281A48 90 A4 00 00 */ stw r5, 0(r4) -/* 80284B0C 00281A4C 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80284B10 00281A50 7C 04 00 50 */ subf r0, r4, r0 -/* 80284B14 00281A54 90 04 00 0C */ stw r0, 0xc(r4) -/* 80284B18 00281A58 48 00 03 51 */ bl createEffect__Q34Game7Wealthy3ObjFv -/* 80284B1C 00281A5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284B20 00281A60 7F E3 FB 78 */ mr r3, r31 -/* 80284B24 00281A64 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284B28 00281A68 7C 08 03 A6 */ mtlr r0 -/* 80284B2C 00281A6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284B30 00281A70 4E 80 00 20 */ blr - -.global changeMaterial__Q34Game7Wealthy3ObjFv -changeMaterial__Q34Game7Wealthy3ObjFv: -/* 80284B34 00281A74 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80284B38 00281A78 7C 08 02 A6 */ mflr r0 -/* 80284B3C 00281A7C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80284B40 00281A80 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80284B44 00281A84 7C 7B 1B 78 */ mr r27, r3 -/* 80284B48 00281A88 80 63 01 80 */ lwz r3, 0x180(r3) -/* 80284B4C 00281A8C 80 9B 01 74 */ lwz r4, 0x174(r27) -/* 80284B50 00281A90 81 83 00 00 */ lwz r12, 0(r3) -/* 80284B54 00281A94 83 A4 00 08 */ lwz r29, 8(r4) -/* 80284B58 00281A98 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 80284B5C 00281A9C 83 DD 00 04 */ lwz r30, 4(r29) -/* 80284B60 00281AA0 7D 89 03 A6 */ mtctr r12 -/* 80284B64 00281AA4 4E 80 04 21 */ bctrl -/* 80284B68 00281AA8 7C 7F 1B 78 */ mr r31, r3 -/* 80284B6C 00281AAC 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80284B70 00281AB0 38 82 D3 90 */ addi r4, r2, lbl_8051B6F0@sda21 -/* 80284B74 00281AB4 4B DA A2 11 */ bl getIndex__10JUTNameTabCFPCc -/* 80284B78 00281AB8 80 BE 00 60 */ lwz r5, 0x60(r30) -/* 80284B7C 00281ABC 54 64 13 BA */ rlwinm r4, r3, 2, 0xe, 0x1d -/* 80284B80 00281AC0 38 60 00 64 */ li r3, 0x64 -/* 80284B84 00281AC4 38 00 00 FF */ li r0, 0xff -/* 80284B88 00281AC8 7C C5 20 2E */ lwzx r6, r5, r4 -/* 80284B8C 00281ACC 38 A1 00 08 */ addi r5, r1, 8 -/* 80284B90 00281AD0 38 80 00 00 */ li r4, 0 -/* 80284B94 00281AD4 98 61 00 08 */ stb r3, 8(r1) -/* 80284B98 00281AD8 98 61 00 09 */ stb r3, 9(r1) -/* 80284B9C 00281ADC 98 61 00 0A */ stb r3, 0xa(r1) -/* 80284BA0 00281AE0 98 01 00 0B */ stb r0, 0xb(r1) -/* 80284BA4 00281AE4 80 66 00 2C */ lwz r3, 0x2c(r6) -/* 80284BA8 00281AE8 81 83 00 00 */ lwz r12, 0(r3) -/* 80284BAC 00281AEC 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80284BB0 00281AF0 7D 89 03 A6 */ mtctr r12 -/* 80284BB4 00281AF4 4E 80 04 21 */ bctrl -/* 80284BB8 00281AF8 7F A3 EB 78 */ mr r3, r29 -/* 80284BBC 00281AFC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80284BC0 00281B00 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80284BC4 00281B04 7D 89 03 A6 */ mtctr r12 -/* 80284BC8 00281B08 4E 80 04 21 */ bctrl -/* 80284BCC 00281B0C 80 9B 01 74 */ lwz r4, 0x174(r27) -/* 80284BD0 00281B10 3C 60 80 51 */ lis r3, j3dSys@ha -/* 80284BD4 00281B14 88 1F 00 00 */ lbz r0, 0(r31) -/* 80284BD8 00281B18 3B 63 F2 30 */ addi r27, r3, j3dSys@l -/* 80284BDC 00281B1C 80 64 00 08 */ lwz r3, 8(r4) -/* 80284BE0 00281B20 3B 80 00 00 */ li r28, 0 -/* 80284BE4 00281B24 80 63 00 04 */ lwz r3, 4(r3) -/* 80284BE8 00281B28 80 83 00 6C */ lwz r4, 0x6c(r3) -/* 80284BEC 00281B2C 80 64 00 04 */ lwz r3, 4(r4) -/* 80284BF0 00281B30 98 03 00 00 */ stb r0, 0(r3) -/* 80284BF4 00281B34 88 1F 00 01 */ lbz r0, 1(r31) -/* 80284BF8 00281B38 98 03 00 01 */ stb r0, 1(r3) -/* 80284BFC 00281B3C A0 1F 00 02 */ lhz r0, 2(r31) -/* 80284C00 00281B40 B0 03 00 02 */ sth r0, 2(r3) -/* 80284C04 00281B44 A0 1F 00 04 */ lhz r0, 4(r31) -/* 80284C08 00281B48 B0 03 00 04 */ sth r0, 4(r3) -/* 80284C0C 00281B4C 88 1F 00 06 */ lbz r0, 6(r31) -/* 80284C10 00281B50 98 03 00 06 */ stb r0, 6(r3) -/* 80284C14 00281B54 88 1F 00 07 */ lbz r0, 7(r31) -/* 80284C18 00281B58 98 03 00 07 */ stb r0, 7(r3) -/* 80284C1C 00281B5C 88 1F 00 08 */ lbz r0, 8(r31) -/* 80284C20 00281B60 98 03 00 08 */ stb r0, 8(r3) -/* 80284C24 00281B64 88 1F 00 09 */ lbz r0, 9(r31) -/* 80284C28 00281B68 98 03 00 09 */ stb r0, 9(r3) -/* 80284C2C 00281B6C A0 1F 00 0A */ lhz r0, 0xa(r31) -/* 80284C30 00281B70 B0 03 00 0A */ sth r0, 0xa(r3) -/* 80284C34 00281B74 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80284C38 00281B78 90 03 00 0C */ stw r0, 0xc(r3) -/* 80284C3C 00281B7C 88 1F 00 10 */ lbz r0, 0x10(r31) -/* 80284C40 00281B80 98 03 00 10 */ stb r0, 0x10(r3) -/* 80284C44 00281B84 88 1F 00 11 */ lbz r0, 0x11(r31) -/* 80284C48 00281B88 98 03 00 11 */ stb r0, 0x11(r3) -/* 80284C4C 00281B8C 88 1F 00 12 */ lbz r0, 0x12(r31) -/* 80284C50 00281B90 98 03 00 12 */ stb r0, 0x12(r3) -/* 80284C54 00281B94 88 1F 00 13 */ lbz r0, 0x13(r31) -/* 80284C58 00281B98 98 03 00 13 */ stb r0, 0x13(r3) -/* 80284C5C 00281B9C 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 80284C60 00281BA0 98 03 00 14 */ stb r0, 0x14(r3) -/* 80284C64 00281BA4 88 1F 00 15 */ lbz r0, 0x15(r31) -/* 80284C68 00281BA8 98 03 00 15 */ stb r0, 0x15(r3) -/* 80284C6C 00281BAC 88 1F 00 16 */ lbz r0, 0x16(r31) -/* 80284C70 00281BB0 98 03 00 16 */ stb r0, 0x16(r3) -/* 80284C74 00281BB4 88 1F 00 17 */ lbz r0, 0x17(r31) -/* 80284C78 00281BB8 98 03 00 17 */ stb r0, 0x17(r3) -/* 80284C7C 00281BBC 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 80284C80 00281BC0 98 03 00 18 */ stb r0, 0x18(r3) -/* 80284C84 00281BC4 88 1F 00 19 */ lbz r0, 0x19(r31) -/* 80284C88 00281BC8 98 03 00 19 */ stb r0, 0x19(r3) -/* 80284C8C 00281BCC A8 1F 00 1A */ lha r0, 0x1a(r31) -/* 80284C90 00281BD0 B0 03 00 1A */ sth r0, 0x1a(r3) -/* 80284C94 00281BD4 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80284C98 00281BD8 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80284C9C 00281BDC 80 64 00 04 */ lwz r3, 4(r4) -/* 80284CA0 00281BE0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80284CA4 00281BE4 7C 1F 02 14 */ add r0, r31, r0 -/* 80284CA8 00281BE8 7C 03 00 50 */ subf r0, r3, r0 -/* 80284CAC 00281BEC 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80284CB0 00281BF0 80 64 00 04 */ lwz r3, 4(r4) -/* 80284CB4 00281BF4 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80284CB8 00281BF8 7C 1F 02 14 */ add r0, r31, r0 -/* 80284CBC 00281BFC 7C 03 00 50 */ subf r0, r3, r0 -/* 80284CC0 00281C00 90 03 00 0C */ stw r0, 0xc(r3) -/* 80284CC4 00281C04 48 00 00 3C */ b lbl_80284D00 -lbl_80284CC8: -/* 80284CC8 00281C08 80 9D 00 C0 */ lwz r4, 0xc0(r29) -/* 80284CCC 00281C0C 57 83 32 B2 */ rlwinm r3, r28, 6, 0xa, 0x19 -/* 80284CD0 00281C10 57 80 13 BA */ rlwinm r0, r28, 2, 0xe, 0x1d -/* 80284CD4 00281C14 7C 84 1A 14 */ add r4, r4, r3 -/* 80284CD8 00281C18 90 9B 00 3C */ stw r4, 0x3c(r27) -/* 80284CDC 00281C1C 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 80284CE0 00281C20 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 80284CE4 00281C24 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80284CE8 00281C28 80 84 00 34 */ lwz r4, 0x34(r4) -/* 80284CEC 00281C2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80284CF0 00281C30 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80284CF4 00281C34 7D 89 03 A6 */ mtctr r12 -/* 80284CF8 00281C38 4E 80 04 21 */ bctrl -/* 80284CFC 00281C3C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80284D00: -/* 80284D00 00281C40 A0 1E 00 5C */ lhz r0, 0x5c(r30) -/* 80284D04 00281C44 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 80284D08 00281C48 7C 03 00 40 */ cmplw r3, r0 -/* 80284D0C 00281C4C 41 80 FF BC */ blt lbl_80284CC8 -/* 80284D10 00281C50 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80284D14 00281C54 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80284D18 00281C58 7C 08 03 A6 */ mtlr r0 -/* 80284D1C 00281C5C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80284D20 00281C60 4E 80 00 20 */ blr - -.global createItem__Q34Game7Wealthy3ObjFv -createItem__Q34Game7Wealthy3ObjFv: -/* 80284D24 00281C64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284D28 00281C68 7C 08 02 A6 */ mflr r0 -/* 80284D2C 00281C6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284D30 00281C70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284D34 00281C74 93 C1 00 08 */ stw r30, 8(r1) -/* 80284D38 00281C78 7C 7E 1B 78 */ mr r30, r3 -/* 80284D3C 00281C7C 4B FD 9C 15 */ bl createTreasureItem__Q34Game6Kogane3ObjFv -/* 80284D40 00281C80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80284D44 00281C84 40 82 01 0C */ bne lbl_80284E50 -/* 80284D48 00281C88 80 1E 02 C0 */ lwz r0, 0x2c0(r30) -/* 80284D4C 00281C8C 3B E0 00 01 */ li r31, 1 -/* 80284D50 00281C90 38 80 00 00 */ li r4, 0 -/* 80284D54 00281C94 38 A0 00 00 */ li r5, 0 -/* 80284D58 00281C98 2C 00 00 01 */ cmpwi r0, 1 -/* 80284D5C 00281C9C 41 82 00 54 */ beq lbl_80284DB0 -/* 80284D60 00281CA0 40 80 00 10 */ bge lbl_80284D70 -/* 80284D64 00281CA4 2C 00 00 00 */ cmpwi r0, 0 -/* 80284D68 00281CA8 40 80 00 14 */ bge lbl_80284D7C -/* 80284D6C 00281CAC 48 00 00 B8 */ b lbl_80284E24 -lbl_80284D70: -/* 80284D70 00281CB0 2C 00 00 03 */ cmpwi r0, 3 -/* 80284D74 00281CB4 40 80 00 B0 */ bge lbl_80284E24 -/* 80284D78 00281CB8 48 00 00 70 */ b lbl_80284DE8 -lbl_80284D7C: -/* 80284D7C 00281CBC 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 80284D80 00281CC0 28 03 00 00 */ cmplwi r3, 0 -/* 80284D84 00281CC4 41 82 00 20 */ beq lbl_80284DA4 -/* 80284D88 00281CC8 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80284D8C 00281CCC 28 00 00 00 */ cmplwi r0, 0 -/* 80284D90 00281CD0 41 82 00 14 */ beq lbl_80284DA4 -/* 80284D94 00281CD4 3B E0 00 00 */ li r31, 0 -/* 80284D98 00281CD8 38 80 00 00 */ li r4, 0 -/* 80284D9C 00281CDC 38 A0 00 03 */ li r5, 3 -/* 80284DA0 00281CE0 48 00 00 84 */ b lbl_80284E24 -lbl_80284DA4: -/* 80284DA4 00281CE4 38 80 00 05 */ li r4, 5 -/* 80284DA8 00281CE8 38 A0 00 03 */ li r5, 3 -/* 80284DAC 00281CEC 48 00 00 78 */ b lbl_80284E24 -lbl_80284DB0: -/* 80284DB0 00281CF0 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 80284DB4 00281CF4 3B E0 00 00 */ li r31, 0 -/* 80284DB8 00281CF8 28 03 00 00 */ cmplwi r3, 0 -/* 80284DBC 00281CFC 41 82 00 20 */ beq lbl_80284DDC -/* 80284DC0 00281D00 38 80 00 1D */ li r4, 0x1d -/* 80284DC4 00281D04 4B F6 26 1D */ bl isDemoFlag__Q24Game8PlayDataFi -/* 80284DC8 00281D08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80284DCC 00281D0C 41 82 00 10 */ beq lbl_80284DDC -/* 80284DD0 00281D10 38 80 00 01 */ li r4, 1 -/* 80284DD4 00281D14 38 A0 00 01 */ li r5, 1 -/* 80284DD8 00281D18 48 00 00 4C */ b lbl_80284E24 -lbl_80284DDC: -/* 80284DDC 00281D1C 38 80 00 00 */ li r4, 0 -/* 80284DE0 00281D20 38 A0 00 03 */ li r5, 3 -/* 80284DE4 00281D24 48 00 00 40 */ b lbl_80284E24 -lbl_80284DE8: -/* 80284DE8 00281D28 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 80284DEC 00281D2C 3B E0 00 00 */ li r31, 0 -/* 80284DF0 00281D30 28 03 00 00 */ cmplwi r3, 0 -/* 80284DF4 00281D34 41 82 00 20 */ beq lbl_80284E14 -/* 80284DF8 00281D38 38 80 00 1D */ li r4, 0x1d -/* 80284DFC 00281D3C 4B F6 25 E5 */ bl isDemoFlag__Q24Game8PlayDataFi -/* 80284E00 00281D40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80284E04 00281D44 41 82 00 10 */ beq lbl_80284E14 -/* 80284E08 00281D48 38 80 00 01 */ li r4, 1 -/* 80284E0C 00281D4C 38 A0 00 01 */ li r5, 1 -/* 80284E10 00281D50 48 00 00 0C */ b lbl_80284E1C -lbl_80284E14: -/* 80284E14 00281D54 38 80 00 00 */ li r4, 0 -/* 80284E18 00281D58 38 A0 00 03 */ li r5, 3 -lbl_80284E1C: -/* 80284E1C 00281D5C C0 02 D3 98 */ lfs f0, lbl_8051B6F8@sda21(r2) -/* 80284E20 00281D60 D0 1E 02 C4 */ stfs f0, 0x2c4(r30) -lbl_80284E24: -/* 80284E24 00281D64 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80284E28 00281D68 41 82 00 10 */ beq lbl_80284E38 -/* 80284E2C 00281D6C 7F C3 F3 78 */ mr r3, r30 -/* 80284E30 00281D70 4B FD 9C B5 */ bl createPellet__Q34Game6Kogane3ObjFii -/* 80284E34 00281D74 48 00 00 10 */ b lbl_80284E44 -lbl_80284E38: -/* 80284E38 00281D78 7F C3 F3 78 */ mr r3, r30 -/* 80284E3C 00281D7C 54 84 06 3E */ clrlwi r4, r4, 0x18 -/* 80284E40 00281D80 4B FD 9F 39 */ bl createDoping__Q34Game6Kogane3ObjFUci -lbl_80284E44: -/* 80284E44 00281D84 80 7E 02 C0 */ lwz r3, 0x2c0(r30) -/* 80284E48 00281D88 38 03 00 01 */ addi r0, r3, 1 -/* 80284E4C 00281D8C 90 1E 02 C0 */ stw r0, 0x2c0(r30) -lbl_80284E50: -/* 80284E50 00281D90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284E54 00281D94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284E58 00281D98 83 C1 00 08 */ lwz r30, 8(r1) -/* 80284E5C 00281D9C 7C 08 03 A6 */ mtlr r0 -/* 80284E60 00281DA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284E64 00281DA4 4E 80 00 20 */ blr - -.global createEffect__Q34Game7Wealthy3ObjFv -createEffect__Q34Game7Wealthy3ObjFv: -/* 80284E68 00281DA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284E6C 00281DAC 7C 08 02 A6 */ mflr r0 -/* 80284E70 00281DB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284E74 00281DB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284E78 00281DB8 7C 7F 1B 78 */ mr r31, r3 -/* 80284E7C 00281DBC 38 60 00 14 */ li r3, 0x14 -/* 80284E80 00281DC0 4B D9 F0 25 */ bl __nw__FUl -/* 80284E84 00281DC4 28 03 00 00 */ cmplwi r3, 0 -/* 80284E88 00281DC8 41 82 00 78 */ beq lbl_80284F00 -/* 80284E8C 00281DCC 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80284E90 00281DD0 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80284E94 00281DD4 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80284E98 00281DD8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80284E9C 00281DDC 90 03 00 00 */ stw r0, 0(r3) -/* 80284EA0 00281DE0 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80284EA4 00281DE4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80284EA8 00281DE8 3C 80 80 4E */ lis r4, __vt__Q23efx9TChaseMtx@ha -/* 80284EAC 00281DEC 90 03 00 04 */ stw r0, 4(r3) -/* 80284EB0 00281DF0 38 E4 68 A8 */ addi r7, r4, __vt__Q23efx9TChaseMtx@l -/* 80284EB4 00281DF4 3C 80 80 4D */ lis r4, __vt__Q23efx11TOoganeKira@ha -/* 80284EB8 00281DF8 38 05 00 14 */ addi r0, r5, 0x14 -/* 80284EBC 00281DFC 90 A3 00 00 */ stw r5, 0(r3) -/* 80284EC0 00281E00 38 84 90 78 */ addi r4, r4, __vt__Q23efx11TOoganeKira@l -/* 80284EC4 00281E04 39 20 00 00 */ li r9, 0 -/* 80284EC8 00281E08 39 00 02 B2 */ li r8, 0x2b2 -/* 80284ECC 00281E0C 90 03 00 04 */ stw r0, 4(r3) -/* 80284ED0 00281E10 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80284ED4 00281E14 38 A0 02 5A */ li r5, 0x25a -/* 80284ED8 00281E18 38 04 00 14 */ addi r0, r4, 0x14 -/* 80284EDC 00281E1C 91 23 00 08 */ stw r9, 8(r3) -/* 80284EE0 00281E20 B1 03 00 0C */ sth r8, 0xc(r3) -/* 80284EE4 00281E24 99 23 00 0E */ stb r9, 0xe(r3) -/* 80284EE8 00281E28 90 E3 00 00 */ stw r7, 0(r3) -/* 80284EEC 00281E2C 90 C3 00 04 */ stw r6, 4(r3) -/* 80284EF0 00281E30 91 23 00 10 */ stw r9, 0x10(r3) -/* 80284EF4 00281E34 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 80284EF8 00281E38 90 83 00 00 */ stw r4, 0(r3) -/* 80284EFC 00281E3C 90 03 00 04 */ stw r0, 4(r3) -lbl_80284F00: -/* 80284F00 00281E40 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 80284F04 00281E44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284F08 00281E48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284F0C 00281E4C 7C 08 03 A6 */ mtlr r0 -/* 80284F10 00281E50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284F14 00281E54 4E 80 00 20 */ blr - -.global startBodyEffect__Q34Game7Wealthy3ObjFv -startBodyEffect__Q34Game7Wealthy3ObjFv: -/* 80284F18 00281E58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284F1C 00281E5C 7C 08 02 A6 */ mflr r0 -/* 80284F20 00281E60 38 82 D3 9C */ addi r4, r2, lbl_8051B6FC@sda21 -/* 80284F24 00281E64 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284F28 00281E68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80284F2C 00281E6C 7C 7F 1B 78 */ mr r31, r3 -/* 80284F30 00281E70 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80284F34 00281E74 48 1B A0 B1 */ bl getJoint__Q28SysShape5ModelFPc -/* 80284F38 00281E78 48 1A 49 69 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80284F3C 00281E7C 80 BF 02 DC */ lwz r5, 0x2dc(r31) -/* 80284F40 00281E80 38 80 00 00 */ li r4, 0 -/* 80284F44 00281E84 90 65 00 10 */ stw r3, 0x10(r5) -/* 80284F48 00281E88 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 80284F4C 00281E8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80284F50 00281E90 81 8C 00 08 */ lwz r12, 8(r12) -/* 80284F54 00281E94 7D 89 03 A6 */ mtctr r12 -/* 80284F58 00281E98 4E 80 04 21 */ bctrl -/* 80284F5C 00281E9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284F60 00281EA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80284F64 00281EA4 7C 08 03 A6 */ mtlr r0 -/* 80284F68 00281EA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284F6C 00281EAC 4E 80 00 20 */ blr - -.global finishBodyEffect__Q34Game7Wealthy3ObjFv -finishBodyEffect__Q34Game7Wealthy3ObjFv: -/* 80284F70 00281EB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284F74 00281EB4 7C 08 02 A6 */ mflr r0 -/* 80284F78 00281EB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284F7C 00281EBC 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 80284F80 00281EC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80284F84 00281EC4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80284F88 00281EC8 7D 89 03 A6 */ mtctr r12 -/* 80284F8C 00281ECC 4E 80 04 21 */ bctrl -/* 80284F90 00281ED0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284F94 00281ED4 7C 08 03 A6 */ mtlr r0 -/* 80284F98 00281ED8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284F9C 00281EDC 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game7Wealthy3ObjFv -effectDrawOn__Q34Game7Wealthy3ObjFv: -/* 80284FA0 00281EE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284FA4 00281EE4 7C 08 02 A6 */ mflr r0 -/* 80284FA8 00281EE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284FAC 00281EEC 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 80284FB0 00281EF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80284FB4 00281EF4 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80284FB8 00281EF8 7D 89 03 A6 */ mtctr r12 -/* 80284FBC 00281EFC 4E 80 04 21 */ bctrl -/* 80284FC0 00281F00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284FC4 00281F04 7C 08 03 A6 */ mtlr r0 -/* 80284FC8 00281F08 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284FCC 00281F0C 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game7Wealthy3ObjFv -effectDrawOff__Q34Game7Wealthy3ObjFv: -/* 80284FD0 00281F10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80284FD4 00281F14 7C 08 02 A6 */ mflr r0 -/* 80284FD8 00281F18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80284FDC 00281F1C 80 63 02 DC */ lwz r3, 0x2dc(r3) -/* 80284FE0 00281F20 81 83 00 00 */ lwz r12, 0(r3) -/* 80284FE4 00281F24 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80284FE8 00281F28 7D 89 03 A6 */ mtctr r12 -/* 80284FEC 00281F2C 4E 80 04 21 */ bctrl -/* 80284FF0 00281F30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80284FF4 00281F34 7C 08 03 A6 */ mtlr r0 -/* 80284FF8 00281F38 38 21 00 10 */ addi r1, r1, 0x10 -/* 80284FFC 00281F3C 4E 80 00 20 */ blr - -.global createPressSENormal__Q34Game7Wealthy3ObjFv -createPressSENormal__Q34Game7Wealthy3ObjFv: -/* 80285000 00281F40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285004 00281F44 7C 08 02 A6 */ mflr r0 -/* 80285008 00281F48 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028500C 00281F4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80285010 00281F50 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80285014 00281F54 7D 89 03 A6 */ mtctr r12 -/* 80285018 00281F58 4E 80 04 21 */ bctrl -/* 8028501C 00281F5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80285020 00281F60 38 80 58 80 */ li r4, 0x5880 -/* 80285024 00281F64 38 A0 00 00 */ li r5, 0 -/* 80285028 00281F68 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8028502C 00281F6C 7D 89 03 A6 */ mtctr r12 -/* 80285030 00281F70 4E 80 04 21 */ bctrl -/* 80285034 00281F74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285038 00281F78 7C 08 03 A6 */ mtlr r0 -/* 8028503C 00281F7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285040 00281F80 4E 80 00 20 */ blr - -.global __dt__Q23efx11TOoganeKiraFv -__dt__Q23efx11TOoganeKiraFv: -/* 80285044 00281F84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285048 00281F88 7C 08 02 A6 */ mflr r0 -/* 8028504C 00281F8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285050 00281F90 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285054 00281F94 7C 9F 23 78 */ mr r31, r4 -/* 80285058 00281F98 93 C1 00 08 */ stw r30, 8(r1) -/* 8028505C 00281F9C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80285060 00281FA0 41 82 00 64 */ beq lbl_802850C4 -/* 80285064 00281FA4 3C 60 80 4D */ lis r3, __vt__Q23efx11TOoganeKira@ha -/* 80285068 00281FA8 38 63 90 78 */ addi r3, r3, __vt__Q23efx11TOoganeKira@l -/* 8028506C 00281FAC 90 7E 00 00 */ stw r3, 0(r30) -/* 80285070 00281FB0 38 03 00 14 */ addi r0, r3, 0x14 -/* 80285074 00281FB4 90 1E 00 04 */ stw r0, 4(r30) -/* 80285078 00281FB8 41 82 00 3C */ beq lbl_802850B4 -/* 8028507C 00281FBC 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 80285080 00281FC0 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 80285084 00281FC4 90 7E 00 00 */ stw r3, 0(r30) -/* 80285088 00281FC8 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028508C 00281FCC 90 1E 00 04 */ stw r0, 4(r30) -/* 80285090 00281FD0 41 82 00 24 */ beq lbl_802850B4 -/* 80285094 00281FD4 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80285098 00281FD8 38 7E 00 04 */ addi r3, r30, 4 -/* 8028509C 00281FDC 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 802850A0 00281FE0 38 80 00 00 */ li r4, 0 -/* 802850A4 00281FE4 90 BE 00 00 */ stw r5, 0(r30) -/* 802850A8 00281FE8 38 05 00 14 */ addi r0, r5, 0x14 -/* 802850AC 00281FEC 90 1E 00 04 */ stw r0, 4(r30) -/* 802850B0 00281FF0 4B E0 AB ED */ bl __dt__18JPAEmitterCallBackFv -lbl_802850B4: -/* 802850B4 00281FF4 7F E0 07 35 */ extsh. r0, r31 -/* 802850B8 00281FF8 40 81 00 0C */ ble lbl_802850C4 -/* 802850BC 00281FFC 7F C3 F3 78 */ mr r3, r30 -/* 802850C0 00282000 4B D9 EF F5 */ bl __dl__FPv -lbl_802850C4: -/* 802850C4 00282004 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802850C8 00282008 7F C3 F3 78 */ mr r3, r30 -/* 802850CC 0028200C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802850D0 00282010 83 C1 00 08 */ lwz r30, 8(r1) -/* 802850D4 00282014 7C 08 03 A6 */ mtlr r0 -/* 802850D8 00282018 38 21 00 10 */ addi r1, r1, 0x10 -/* 802850DC 0028201C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game7Wealthy3ObjFv -getEnemyTypeID__Q34Game7Wealthy3ObjFv: -/* 802850E0 00282020 38 60 00 0A */ li r3, 0xa -/* 802850E4 00282024 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q23efx11TOoganeKiraFv -$$24$$2__dt__Q23efx11TOoganeKiraFv: -/* 802850E8 00282028 38 63 FF FC */ addi r3, r3, -4 -/* 802850EC 0028202C 4B FF FF 58 */ b __dt__Q23efx11TOoganeKiraFv - -.global __ct__Q34Game4Fart3MgrFiUc -__ct__Q34Game4Fart3MgrFiUc: -/* 802850F0 00282030 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802850F4 00282034 7C 08 02 A6 */ mflr r0 -/* 802850F8 00282038 90 01 00 14 */ stw r0, 0x14(r1) -/* 802850FC 0028203C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285100 00282040 7C 7F 1B 78 */ mr r31, r3 -/* 80285104 00282044 4B FD 87 95 */ bl __ct__Q34Game6Kogane3MgrFiUc -/* 80285108 00282048 3C 60 80 4D */ lis r3, __vt__Q34Game4Fart3Mgr@ha -/* 8028510C 0028204C 3C 80 80 48 */ lis r4, lbl_80487C10@ha -/* 80285110 00282050 38 A3 94 18 */ addi r5, r3, __vt__Q34Game4Fart3Mgr@l -/* 80285114 00282054 7F E3 FB 78 */ mr r3, r31 -/* 80285118 00282058 90 BF 00 00 */ stw r5, 0(r31) -/* 8028511C 0028205C 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80285120 00282060 38 04 7C 10 */ addi r0, r4, lbl_80487C10@l -/* 80285124 00282064 90 BF 00 04 */ stw r5, 4(r31) -/* 80285128 00282068 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8028512C 0028206C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80285130 00282070 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285134 00282074 7C 08 03 A6 */ mtlr r0 -/* 80285138 00282078 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028513C 0028207C 4E 80 00 20 */ blr - -.global doAlloc__Q34Game4Fart3MgrFv -doAlloc__Q34Game4Fart3MgrFv: -/* 80285140 00282080 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285144 00282084 7C 08 02 A6 */ mflr r0 -/* 80285148 00282088 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028514C 0028208C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285150 00282090 7C 7F 1B 78 */ mr r31, r3 -/* 80285154 00282094 38 60 09 48 */ li r3, 0x948 -/* 80285158 00282098 4B D9 ED 4D */ bl __nw__FUl -/* 8028515C 0028209C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80285160 002820A0 41 82 00 0C */ beq lbl_8028516C -/* 80285164 002820A4 4B FF F3 A5 */ bl __ct__Q34Game6Kogane5ParmsFv -/* 80285168 002820A8 7C 64 1B 78 */ mr r4, r3 -lbl_8028516C: -/* 8028516C 002820AC 7F E3 FB 78 */ mr r3, r31 -/* 80285170 002820B0 4B EA A7 2D */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80285174 002820B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285178 002820B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028517C 002820BC 7C 08 03 A6 */ mtlr r0 -/* 80285180 002820C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285184 002820C4 4E 80 00 20 */ blr - -.global createObj__Q34Game4Fart3MgrFi -createObj__Q34Game4Fart3MgrFi: -/* 80285188 002820C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028518C 002820CC 7C 08 02 A6 */ mflr r0 -/* 80285190 002820D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285194 002820D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285198 002820D8 7C 9F 23 78 */ mr r31, r4 -/* 8028519C 002820DC 93 C1 00 08 */ stw r30, 8(r1) -/* 802851A0 002820E0 7C 7E 1B 78 */ mr r30, r3 -/* 802851A4 002820E4 1C 7F 03 00 */ mulli r3, r31, 0x300 -/* 802851A8 002820E8 38 63 00 10 */ addi r3, r3, 0x10 -/* 802851AC 002820EC 4B D9 EE 01 */ bl __nwa__FUl -/* 802851B0 002820F0 3C 80 80 28 */ lis r4, __ct__Q34Game4Fart3ObjFv@ha -/* 802851B4 002820F4 3C A0 80 28 */ lis r5, __dt__Q34Game4Fart3ObjFv@ha -/* 802851B8 002820F8 38 84 54 48 */ addi r4, r4, __ct__Q34Game4Fart3ObjFv@l -/* 802851BC 002820FC 7F E7 FB 78 */ mr r7, r31 -/* 802851C0 00282100 38 A5 51 E8 */ addi r5, r5, __dt__Q34Game4Fart3ObjFv@l -/* 802851C4 00282104 38 C0 03 00 */ li r6, 0x300 -/* 802851C8 00282108 4B E3 C8 29 */ bl __construct_new_array -/* 802851CC 0028210C 90 7E 00 48 */ stw r3, 0x48(r30) -/* 802851D0 00282110 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802851D4 00282114 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802851D8 00282118 83 C1 00 08 */ lwz r30, 8(r1) -/* 802851DC 0028211C 7C 08 03 A6 */ mtlr r0 -/* 802851E0 00282120 38 21 00 10 */ addi r1, r1, 0x10 -/* 802851E4 00282124 4E 80 00 20 */ blr - -.global __dt__Q34Game4Fart3ObjFv -__dt__Q34Game4Fart3ObjFv: -/* 802851E8 00282128 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802851EC 0028212C 7C 08 02 A6 */ mflr r0 -/* 802851F0 00282130 90 01 00 14 */ stw r0, 0x14(r1) -/* 802851F4 00282134 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802851F8 00282138 7C 9F 23 78 */ mr r31, r4 -/* 802851FC 0028213C 93 C1 00 08 */ stw r30, 8(r1) -/* 80285200 00282140 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80285204 00282144 41 82 00 B8 */ beq lbl_802852BC -/* 80285208 00282148 3C 60 80 4D */ lis r3, __vt__Q34Game4Fart3Obj@ha -/* 8028520C 0028214C 38 1E 02 F0 */ addi r0, r30, 0x2f0 -/* 80285210 00282150 38 83 95 00 */ addi r4, r3, __vt__Q34Game4Fart3Obj@l -/* 80285214 00282154 90 9E 00 00 */ stw r4, 0(r30) -/* 80285218 00282158 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8028521C 0028215C 38 84 03 20 */ addi r4, r4, 0x320 -/* 80285220 00282160 90 7E 01 78 */ stw r3, 0x178(r30) -/* 80285224 00282164 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80285228 00282168 90 83 00 00 */ stw r4, 0(r3) -/* 8028522C 0028216C 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80285230 00282170 7C 03 00 50 */ subf r0, r3, r0 -/* 80285234 00282174 90 03 00 0C */ stw r0, 0xc(r3) -/* 80285238 00282178 41 82 00 74 */ beq lbl_802852AC -/* 8028523C 0028217C 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3Obj@ha -/* 80285240 00282180 38 1E 02 DC */ addi r0, r30, 0x2dc -/* 80285244 00282184 38 83 30 A8 */ addi r4, r3, __vt__Q34Game6Kogane3Obj@l -/* 80285248 00282188 90 9E 00 00 */ stw r4, 0(r30) -/* 8028524C 0028218C 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80285250 00282190 38 84 03 20 */ addi r4, r4, 0x320 -/* 80285254 00282194 90 7E 01 78 */ stw r3, 0x178(r30) -/* 80285258 00282198 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028525C 0028219C 90 83 00 00 */ stw r4, 0(r3) -/* 80285260 002821A0 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 80285264 002821A4 7C 03 00 50 */ subf r0, r3, r0 -/* 80285268 002821A8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8028526C 002821AC 41 82 00 40 */ beq lbl_802852AC -/* 80285270 002821B0 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80285274 002821B4 38 1E 02 BC */ addi r0, r30, 0x2bc -/* 80285278 002821B8 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8028527C 002821BC 38 7E 02 90 */ addi r3, r30, 0x290 -/* 80285280 002821C0 90 9E 00 00 */ stw r4, 0(r30) -/* 80285284 002821C4 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80285288 002821C8 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8028528C 002821CC 38 80 FF FF */ li r4, -1 -/* 80285290 002821D0 90 BE 01 78 */ stw r5, 0x178(r30) -/* 80285294 002821D4 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 80285298 002821D8 90 C5 00 00 */ stw r6, 0(r5) -/* 8028529C 002821DC 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 802852A0 002821E0 7C 05 00 50 */ subf r0, r5, r0 -/* 802852A4 002821E4 90 05 00 0C */ stw r0, 0xc(r5) -/* 802852A8 002821E8 48 18 C2 E1 */ bl __dt__5CNodeFv -lbl_802852AC: -/* 802852AC 002821EC 7F E0 07 35 */ extsh. r0, r31 -/* 802852B0 002821F0 40 81 00 0C */ ble lbl_802852BC -/* 802852B4 002821F4 7F C3 F3 78 */ mr r3, r30 -/* 802852B8 002821F8 4B D9 ED FD */ bl __dl__FPv -lbl_802852BC: -/* 802852BC 002821FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802852C0 00282200 7F C3 F3 78 */ mr r3, r30 -/* 802852C4 00282204 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802852C8 00282208 83 C1 00 08 */ lwz r30, 8(r1) -/* 802852CC 0028220C 7C 08 03 A6 */ mtlr r0 -/* 802852D0 00282210 38 21 00 10 */ addi r1, r1, 0x10 -/* 802852D4 00282214 4E 80 00 20 */ blr - -.global getEnemy__Q34Game4Fart3MgrFi -getEnemy__Q34Game4Fart3MgrFi: -/* 802852D8 00282218 1C 04 03 00 */ mulli r0, r4, 0x300 -/* 802852DC 0028221C 80 63 00 48 */ lwz r3, 0x48(r3) -/* 802852E0 00282220 7C 63 02 14 */ add r3, r3, r0 -/* 802852E4 00282224 4E 80 00 20 */ blr - -.global loadTexData__Q34Game4Fart3MgrFv -loadTexData__Q34Game4Fart3MgrFv: -/* 802852E8 00282228 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802852EC 0028222C 7C 08 02 A6 */ mflr r0 -/* 802852F0 00282230 90 01 00 44 */ stw r0, 0x44(r1) -/* 802852F4 00282234 38 00 00 00 */ li r0, 0 -/* 802852F8 00282238 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802852FC 0028223C 7C 7F 1B 78 */ mr r31, r3 -/* 80285300 00282240 90 03 00 44 */ stw r0, 0x44(r3) -/* 80285304 00282244 38 61 00 08 */ addi r3, r1, 8 -/* 80285308 00282248 80 8D 84 A8 */ lwz r4, cKoganeChangeTexName__Q34Game4Fart21$$2unnamed$$2FartMgr_cpp$$2@sda21(r13) -/* 8028530C 0028224C 48 1C 72 CD */ bl __ct__Q212LoadResource3ArgFPCc -/* 80285310 00282250 80 6D 9C 28 */ lwz r3, gLoadResourceMgr@sda21(r13) -/* 80285314 00282254 38 81 00 08 */ addi r4, r1, 8 -/* 80285318 00282258 48 1C 74 89 */ bl load__Q212LoadResource3MgrFRQ212LoadResource3Arg -/* 8028531C 0028225C 28 03 00 00 */ cmplwi r3, 0 -/* 80285320 00282260 41 82 00 0C */ beq lbl_8028532C -/* 80285324 00282264 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80285328 00282268 90 1F 00 44 */ stw r0, 0x44(r31) -lbl_8028532C: -/* 8028532C 0028226C 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 80285330 00282270 28 00 00 00 */ cmplwi r0, 0 -/* 80285334 00282274 40 82 00 20 */ bne lbl_80285354 -/* 80285338 00282278 3C 60 80 48 */ lis r3, lbl_80487C28@ha -/* 8028533C 0028227C 3C A0 80 48 */ lis r5, lbl_80487C34@ha -/* 80285340 00282280 38 63 7C 28 */ addi r3, r3, lbl_80487C28@l -/* 80285344 00282284 38 80 00 53 */ li r4, 0x53 -/* 80285348 00282288 38 A5 7C 34 */ addi r5, r5, lbl_80487C34@l -/* 8028534C 0028228C 4C C6 31 82 */ crclr 6 -/* 80285350 00282290 4B DA 52 F1 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80285354: -/* 80285354 00282294 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80285358 00282298 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8028535C 0028229C 7C 08 03 A6 */ mtlr r0 -/* 80285360 002822A0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80285364 002822A4 4E 80 00 20 */ blr - -.global __dt__Q34Game4Fart3MgrFv -__dt__Q34Game4Fart3MgrFv: -/* 80285368 002822A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028536C 002822AC 7C 08 02 A6 */ mflr r0 -/* 80285370 002822B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285374 002822B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285378 002822B8 7C 9F 23 78 */ mr r31, r4 -/* 8028537C 002822BC 93 C1 00 08 */ stw r30, 8(r1) -/* 80285380 002822C0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80285384 002822C4 41 82 00 90 */ beq lbl_80285414 -/* 80285388 002822C8 3C 60 80 4D */ lis r3, __vt__Q34Game4Fart3Mgr@ha -/* 8028538C 002822CC 38 63 94 18 */ addi r3, r3, __vt__Q34Game4Fart3Mgr@l -/* 80285390 002822D0 90 7E 00 00 */ stw r3, 0(r30) -/* 80285394 002822D4 38 03 00 38 */ addi r0, r3, 0x38 -/* 80285398 002822D8 90 1E 00 04 */ stw r0, 4(r30) -/* 8028539C 002822DC 41 82 00 68 */ beq lbl_80285404 -/* 802853A0 002822E0 3C 60 80 4C */ lis r3, __vt__Q34Game6Kogane3Mgr@ha -/* 802853A4 002822E4 38 63 2F C0 */ addi r3, r3, __vt__Q34Game6Kogane3Mgr@l -/* 802853A8 002822E8 90 7E 00 00 */ stw r3, 0(r30) -/* 802853AC 002822EC 38 03 00 38 */ addi r0, r3, 0x38 -/* 802853B0 002822F0 90 1E 00 04 */ stw r0, 4(r30) -/* 802853B4 002822F4 41 82 00 50 */ beq lbl_80285404 -/* 802853B8 002822F8 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 802853BC 002822FC 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 802853C0 00282300 90 7E 00 00 */ stw r3, 0(r30) -/* 802853C4 00282304 38 03 00 38 */ addi r0, r3, 0x38 -/* 802853C8 00282308 90 1E 00 04 */ stw r0, 4(r30) -/* 802853CC 0028230C 41 82 00 38 */ beq lbl_80285404 -/* 802853D0 00282310 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 802853D4 00282314 34 1E 00 04 */ addic. r0, r30, 4 -/* 802853D8 00282318 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 802853DC 0028231C 90 7E 00 00 */ stw r3, 0(r30) -/* 802853E0 00282320 38 03 00 38 */ addi r0, r3, 0x38 -/* 802853E4 00282324 90 1E 00 04 */ stw r0, 4(r30) -/* 802853E8 00282328 41 82 00 1C */ beq lbl_80285404 -/* 802853EC 0028232C 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 802853F0 00282330 38 7E 00 04 */ addi r3, r30, 4 -/* 802853F4 00282334 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 802853F8 00282338 38 80 00 00 */ li r4, 0 -/* 802853FC 0028233C 90 1E 00 04 */ stw r0, 4(r30) -/* 80285400 00282340 48 18 C1 89 */ bl __dt__5CNodeFv -lbl_80285404: -/* 80285404 00282344 7F E0 07 35 */ extsh. r0, r31 -/* 80285408 00282348 40 81 00 0C */ ble lbl_80285414 -/* 8028540C 0028234C 7F C3 F3 78 */ mr r3, r30 -/* 80285410 00282350 4B D9 EC A5 */ bl __dl__FPv -lbl_80285414: -/* 80285414 00282354 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285418 00282358 7F C3 F3 78 */ mr r3, r30 -/* 8028541C 0028235C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80285420 00282360 83 C1 00 08 */ lwz r30, 8(r1) -/* 80285424 00282364 7C 08 03 A6 */ mtlr r0 -/* 80285428 00282368 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028542C 0028236C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Fart3MgrFv -getEnemyTypeID__Q34Game4Fart3MgrFv: -/* 80285430 00282370 38 60 00 0B */ li r3, 0xb -/* 80285434 00282374 4E 80 00 20 */ blr - -.global getChangeTexture__Q34Game4Fart3MgrFv -getChangeTexture__Q34Game4Fart3MgrFv: -/* 80285438 00282378 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8028543C 0028237C 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game4Fart3MgrFv -$$24$$2__dt__Q34Game4Fart3MgrFv: -/* 80285440 00282380 38 63 FF FC */ addi r3, r3, -4 -/* 80285444 00282384 4B FF FF 24 */ b __dt__Q34Game4Fart3MgrFv - -.global __ct__Q34Game4Fart3ObjFv -__ct__Q34Game4Fart3ObjFv: -/* 80285448 00282388 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028544C 0028238C 7C 08 02 A6 */ mflr r0 -/* 80285450 00282390 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285454 00282394 7C 80 07 35 */ extsh. r0, r4 -/* 80285458 00282398 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028545C 0028239C 7C 7F 1B 78 */ mr r31, r3 -/* 80285460 002823A0 41 82 00 24 */ beq lbl_80285484 -/* 80285464 002823A4 38 1F 02 F0 */ addi r0, r31, 0x2f0 -/* 80285468 002823A8 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8028546C 002823AC 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80285470 002823B0 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80285474 002823B4 38 00 00 00 */ li r0, 0 -/* 80285478 002823B8 90 7F 02 F0 */ stw r3, 0x2f0(r31) -/* 8028547C 002823BC 90 1F 02 F4 */ stw r0, 0x2f4(r31) -/* 80285480 002823C0 90 1F 02 F8 */ stw r0, 0x2f8(r31) -lbl_80285484: -/* 80285484 002823C4 7F E3 FB 78 */ mr r3, r31 -/* 80285488 002823C8 38 80 00 00 */ li r4, 0 -/* 8028548C 002823CC 4B FD 88 01 */ bl __ct__Q34Game6Kogane3ObjFv -/* 80285490 002823D0 3C 60 80 4D */ lis r3, __vt__Q34Game4Fart3Obj@ha -/* 80285494 002823D4 38 1F 02 F0 */ addi r0, r31, 0x2f0 -/* 80285498 002823D8 38 A3 95 00 */ addi r5, r3, __vt__Q34Game4Fart3Obj@l -/* 8028549C 002823DC 7F E3 FB 78 */ mr r3, r31 -/* 802854A0 002823E0 90 BF 00 00 */ stw r5, 0(r31) -/* 802854A4 002823E4 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 802854A8 002823E8 38 A5 03 20 */ addi r5, r5, 0x320 -/* 802854AC 002823EC 90 9F 01 78 */ stw r4, 0x178(r31) -/* 802854B0 002823F0 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 802854B4 002823F4 90 A4 00 00 */ stw r5, 0(r4) -/* 802854B8 002823F8 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 802854BC 002823FC 7C 04 00 50 */ subf r0, r4, r0 -/* 802854C0 00282400 90 04 00 0C */ stw r0, 0xc(r4) -/* 802854C4 00282404 48 00 05 B1 */ bl createEffect__Q34Game4Fart3ObjFv -/* 802854C8 00282408 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802854CC 0028240C 7F E3 FB 78 */ mr r3, r31 -/* 802854D0 00282410 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802854D4 00282414 7C 08 03 A6 */ mtlr r0 -/* 802854D8 00282418 38 21 00 10 */ addi r1, r1, 0x10 -/* 802854DC 0028241C 4E 80 00 20 */ blr - -.global doUpdateCommon__Q34Game4Fart3ObjFv -doUpdateCommon__Q34Game4Fart3ObjFv: -/* 802854E0 00282420 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802854E4 00282424 7C 08 02 A6 */ mflr r0 -/* 802854E8 00282428 90 01 00 14 */ stw r0, 0x14(r1) -/* 802854EC 0028242C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802854F0 00282430 7C 7F 1B 78 */ mr r31, r3 -/* 802854F4 00282434 4B E7 DA 21 */ bl doUpdateCommon__Q24Game9EnemyBaseFv -/* 802854F8 00282438 7F E3 FB 78 */ mr r3, r31 -/* 802854FC 0028243C 48 00 02 65 */ bl interactFartGasAttack__Q34Game4Fart3ObjFv -/* 80285500 00282440 7F E3 FB 78 */ mr r3, r31 -/* 80285504 00282444 4B E8 1E F1 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80285508 00282448 2C 03 00 02 */ cmpwi r3, 2 -/* 8028550C 0028244C 41 80 00 30 */ blt lbl_8028553C -/* 80285510 00282450 7F E3 FB 78 */ mr r3, r31 -/* 80285514 00282454 81 9F 00 00 */ lwz r12, 0(r31) -/* 80285518 00282458 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8028551C 0028245C 7D 89 03 A6 */ mtctr r12 -/* 80285520 00282460 4E 80 04 21 */ bctrl -/* 80285524 00282464 81 83 00 00 */ lwz r12, 0(r3) -/* 80285528 00282468 38 80 51 62 */ li r4, 0x5162 -/* 8028552C 0028246C 38 A0 00 00 */ li r5, 0 -/* 80285530 00282470 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80285534 00282474 7D 89 03 A6 */ mtctr r12 -/* 80285538 00282478 4E 80 04 21 */ bctrl -lbl_8028553C: -/* 8028553C 0028247C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285540 00282480 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80285544 00282484 7C 08 03 A6 */ mtlr r0 -/* 80285548 00282488 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028554C 0028248C 4E 80 00 20 */ blr - -.global changeMaterial__Q34Game4Fart3ObjFv -changeMaterial__Q34Game4Fart3ObjFv: -/* 80285550 00282490 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80285554 00282494 7C 08 02 A6 */ mflr r0 -/* 80285558 00282498 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028555C 0028249C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80285560 002824A0 7C 7B 1B 78 */ mr r27, r3 -/* 80285564 002824A4 80 63 01 80 */ lwz r3, 0x180(r3) -/* 80285568 002824A8 80 9B 01 74 */ lwz r4, 0x174(r27) -/* 8028556C 002824AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80285570 002824B0 83 A4 00 08 */ lwz r29, 8(r4) -/* 80285574 002824B4 81 8C 00 E0 */ lwz r12, 0xe0(r12) -/* 80285578 002824B8 83 DD 00 04 */ lwz r30, 4(r29) -/* 8028557C 002824BC 7D 89 03 A6 */ mtctr r12 -/* 80285580 002824C0 4E 80 04 21 */ bctrl -/* 80285584 002824C4 7C 7F 1B 78 */ mr r31, r3 -/* 80285588 002824C8 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 8028558C 002824CC 38 82 D3 A8 */ addi r4, r2, lbl_8051B708@sda21 -/* 80285590 002824D0 4B DA 97 F5 */ bl getIndex__10JUTNameTabCFPCc -/* 80285594 002824D4 80 BE 00 60 */ lwz r5, 0x60(r30) -/* 80285598 002824D8 54 64 13 BA */ rlwinm r4, r3, 2, 0xe, 0x1d -/* 8028559C 002824DC 38 60 00 0F */ li r3, 0xf -/* 802855A0 002824E0 38 00 00 FF */ li r0, 0xff -/* 802855A4 002824E4 7C C5 20 2E */ lwzx r6, r5, r4 -/* 802855A8 002824E8 38 A1 00 08 */ addi r5, r1, 8 -/* 802855AC 002824EC 38 80 00 00 */ li r4, 0 -/* 802855B0 002824F0 98 61 00 08 */ stb r3, 8(r1) -/* 802855B4 002824F4 98 61 00 09 */ stb r3, 9(r1) -/* 802855B8 002824F8 98 61 00 0A */ stb r3, 0xa(r1) -/* 802855BC 002824FC 98 01 00 0B */ stb r0, 0xb(r1) -/* 802855C0 00282500 80 66 00 2C */ lwz r3, 0x2c(r6) -/* 802855C4 00282504 81 83 00 00 */ lwz r12, 0(r3) -/* 802855C8 00282508 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 802855CC 0028250C 7D 89 03 A6 */ mtctr r12 -/* 802855D0 00282510 4E 80 04 21 */ bctrl -/* 802855D4 00282514 7F A3 EB 78 */ mr r3, r29 -/* 802855D8 00282518 81 9D 00 00 */ lwz r12, 0(r29) -/* 802855DC 0028251C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802855E0 00282520 7D 89 03 A6 */ mtctr r12 -/* 802855E4 00282524 4E 80 04 21 */ bctrl -/* 802855E8 00282528 80 9B 01 74 */ lwz r4, 0x174(r27) -/* 802855EC 0028252C 3C 60 80 51 */ lis r3, j3dSys@ha -/* 802855F0 00282530 88 1F 00 00 */ lbz r0, 0(r31) -/* 802855F4 00282534 3B 63 F2 30 */ addi r27, r3, j3dSys@l -/* 802855F8 00282538 80 64 00 08 */ lwz r3, 8(r4) -/* 802855FC 0028253C 3B 80 00 00 */ li r28, 0 -/* 80285600 00282540 80 63 00 04 */ lwz r3, 4(r3) -/* 80285604 00282544 80 83 00 6C */ lwz r4, 0x6c(r3) -/* 80285608 00282548 80 64 00 04 */ lwz r3, 4(r4) -/* 8028560C 0028254C 98 03 00 00 */ stb r0, 0(r3) -/* 80285610 00282550 88 1F 00 01 */ lbz r0, 1(r31) -/* 80285614 00282554 98 03 00 01 */ stb r0, 1(r3) -/* 80285618 00282558 A0 1F 00 02 */ lhz r0, 2(r31) -/* 8028561C 0028255C B0 03 00 02 */ sth r0, 2(r3) -/* 80285620 00282560 A0 1F 00 04 */ lhz r0, 4(r31) -/* 80285624 00282564 B0 03 00 04 */ sth r0, 4(r3) -/* 80285628 00282568 88 1F 00 06 */ lbz r0, 6(r31) -/* 8028562C 0028256C 98 03 00 06 */ stb r0, 6(r3) -/* 80285630 00282570 88 1F 00 07 */ lbz r0, 7(r31) -/* 80285634 00282574 98 03 00 07 */ stb r0, 7(r3) -/* 80285638 00282578 88 1F 00 08 */ lbz r0, 8(r31) -/* 8028563C 0028257C 98 03 00 08 */ stb r0, 8(r3) -/* 80285640 00282580 88 1F 00 09 */ lbz r0, 9(r31) -/* 80285644 00282584 98 03 00 09 */ stb r0, 9(r3) -/* 80285648 00282588 A0 1F 00 0A */ lhz r0, 0xa(r31) -/* 8028564C 0028258C B0 03 00 0A */ sth r0, 0xa(r3) -/* 80285650 00282590 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80285654 00282594 90 03 00 0C */ stw r0, 0xc(r3) -/* 80285658 00282598 88 1F 00 10 */ lbz r0, 0x10(r31) -/* 8028565C 0028259C 98 03 00 10 */ stb r0, 0x10(r3) -/* 80285660 002825A0 88 1F 00 11 */ lbz r0, 0x11(r31) -/* 80285664 002825A4 98 03 00 11 */ stb r0, 0x11(r3) -/* 80285668 002825A8 88 1F 00 12 */ lbz r0, 0x12(r31) -/* 8028566C 002825AC 98 03 00 12 */ stb r0, 0x12(r3) -/* 80285670 002825B0 88 1F 00 13 */ lbz r0, 0x13(r31) -/* 80285674 002825B4 98 03 00 13 */ stb r0, 0x13(r3) -/* 80285678 002825B8 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 8028567C 002825BC 98 03 00 14 */ stb r0, 0x14(r3) -/* 80285680 002825C0 88 1F 00 15 */ lbz r0, 0x15(r31) -/* 80285684 002825C4 98 03 00 15 */ stb r0, 0x15(r3) -/* 80285688 002825C8 88 1F 00 16 */ lbz r0, 0x16(r31) -/* 8028568C 002825CC 98 03 00 16 */ stb r0, 0x16(r3) -/* 80285690 002825D0 88 1F 00 17 */ lbz r0, 0x17(r31) -/* 80285694 002825D4 98 03 00 17 */ stb r0, 0x17(r3) -/* 80285698 002825D8 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 8028569C 002825DC 98 03 00 18 */ stb r0, 0x18(r3) -/* 802856A0 002825E0 88 1F 00 19 */ lbz r0, 0x19(r31) -/* 802856A4 002825E4 98 03 00 19 */ stb r0, 0x19(r3) -/* 802856A8 002825E8 A8 1F 00 1A */ lha r0, 0x1a(r31) -/* 802856AC 002825EC B0 03 00 1A */ sth r0, 0x1a(r3) -/* 802856B0 002825F0 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 802856B4 002825F4 90 03 00 1C */ stw r0, 0x1c(r3) -/* 802856B8 002825F8 80 64 00 04 */ lwz r3, 4(r4) -/* 802856BC 002825FC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802856C0 00282600 7C 1F 02 14 */ add r0, r31, r0 -/* 802856C4 00282604 7C 03 00 50 */ subf r0, r3, r0 -/* 802856C8 00282608 90 03 00 1C */ stw r0, 0x1c(r3) -/* 802856CC 0028260C 80 64 00 04 */ lwz r3, 4(r4) -/* 802856D0 00282610 80 03 00 0C */ lwz r0, 0xc(r3) -/* 802856D4 00282614 7C 1F 02 14 */ add r0, r31, r0 -/* 802856D8 00282618 7C 03 00 50 */ subf r0, r3, r0 -/* 802856DC 0028261C 90 03 00 0C */ stw r0, 0xc(r3) -/* 802856E0 00282620 48 00 00 3C */ b lbl_8028571C -lbl_802856E4: -/* 802856E4 00282624 80 9D 00 C0 */ lwz r4, 0xc0(r29) -/* 802856E8 00282628 57 83 32 B2 */ rlwinm r3, r28, 6, 0xa, 0x19 -/* 802856EC 0028262C 57 80 13 BA */ rlwinm r0, r28, 2, 0xe, 0x1d -/* 802856F0 00282630 7C 84 1A 14 */ add r4, r4, r3 -/* 802856F4 00282634 90 9B 00 3C */ stw r4, 0x3c(r27) -/* 802856F8 00282638 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 802856FC 0028263C 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 80285700 00282640 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80285704 00282644 80 84 00 34 */ lwz r4, 0x34(r4) -/* 80285708 00282648 81 83 00 00 */ lwz r12, 0(r3) -/* 8028570C 0028264C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80285710 00282650 7D 89 03 A6 */ mtctr r12 -/* 80285714 00282654 4E 80 04 21 */ bctrl -/* 80285718 00282658 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8028571C: -/* 8028571C 0028265C A0 1E 00 5C */ lhz r0, 0x5c(r30) -/* 80285720 00282660 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 80285724 00282664 7C 03 00 40 */ cmplw r3, r0 -/* 80285728 00282668 41 80 FF BC */ blt lbl_802856E4 -/* 8028572C 0028266C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80285730 00282670 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80285734 00282674 7C 08 03 A6 */ mtlr r0 -/* 80285738 00282678 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028573C 0028267C 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Fart3ObjFR8Graphics -doDebugDraw__Q34Game4Fart3ObjFR8Graphics: -/* 80285740 00282680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285744 00282684 7C 08 02 A6 */ mflr r0 -/* 80285748 00282688 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028574C 0028268C 4B E8 07 21 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80285750 00282690 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285754 00282694 7C 08 03 A6 */ mtlr r0 -/* 80285758 00282698 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028575C 0028269C 4E 80 00 20 */ blr - -.global interactFartGasAttack__Q34Game4Fart3ObjFv -interactFartGasAttack__Q34Game4Fart3ObjFv: -/* 80285760 002826A0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80285764 002826A4 7C 08 02 A6 */ mflr r0 -/* 80285768 002826A8 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8028576C 002826AC DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80285770 002826B0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80285774 002826B4 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80285778 002826B8 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8028577C 002826BC DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 80285780 002826C0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 80285784 002826C4 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 80285788 002826C8 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8028578C 002826CC 7C 7E 1B 78 */ mr r30, r3 -/* 80285790 002826D0 C0 02 D3 B0 */ lfs f0, lbl_8051B710@sda21(r2) -/* 80285794 002826D4 C0 23 02 DC */ lfs f1, 0x2dc(r3) -/* 80285798 002826D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028579C 002826DC 40 80 01 88 */ bge lbl_80285924 -/* 802857A0 002826E0 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 802857A4 002826E4 38 61 00 30 */ addi r3, r1, 0x30 -/* 802857A8 002826E8 38 81 00 20 */ addi r4, r1, 0x20 -/* 802857AC 002826EC C0 05 00 54 */ lfs f0, 0x54(r5) -/* 802857B0 002826F0 EC 01 00 2A */ fadds f0, f1, f0 -/* 802857B4 002826F4 D0 1E 02 DC */ stfs f0, 0x2dc(r30) -/* 802857B8 002826F8 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 802857BC 002826FC C0 5E 02 E4 */ lfs f2, 0x2e4(r30) -/* 802857C0 00282700 C0 25 05 B4 */ lfs f1, 0x5b4(r5) -/* 802857C4 00282704 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) -/* 802857C8 00282708 EF E2 08 2A */ fadds f31, f2, f1 -/* 802857CC 0028270C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 802857D0 00282710 EF C2 08 28 */ fsubs f30, f2, f1 -/* 802857D4 00282714 EF A1 00 72 */ fmuls f29, f1, f1 -/* 802857D8 00282718 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) -/* 802857DC 0028271C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 802857E0 00282720 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) -/* 802857E4 00282724 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802857E8 00282728 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 802857EC 0028272C 4B FA 8B B5 */ bl __ct__Q24Game15CellIteratorArgFRQ23Sys6Sphere -/* 802857F0 00282730 38 00 00 01 */ li r0, 1 -/* 802857F4 00282734 38 61 00 50 */ addi r3, r1, 0x50 -/* 802857F8 00282738 98 01 00 4C */ stb r0, 0x4c(r1) -/* 802857FC 0028273C 38 81 00 30 */ addi r4, r1, 0x30 -/* 80285800 00282740 4B FA 8B E1 */ bl __ct__Q24Game12CellIteratorFRQ24Game15CellIteratorArg -/* 80285804 00282744 38 61 00 50 */ addi r3, r1, 0x50 -/* 80285808 00282748 4B FA 8C 55 */ bl first__Q24Game12CellIteratorFv -/* 8028580C 0028274C 48 00 00 FC */ b lbl_80285908 -lbl_80285810: -/* 80285810 00282750 38 61 00 50 */ addi r3, r1, 0x50 -/* 80285814 00282754 4B FA 8D 31 */ bl __ml__Q24Game12CellIteratorFv -/* 80285818 00282758 81 83 00 00 */ lwz r12, 0(r3) -/* 8028581C 0028275C 7C 7F 1B 78 */ mr r31, r3 -/* 80285820 00282760 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80285824 00282764 7D 89 03 A6 */ mtctr r12 -/* 80285828 00282768 4E 80 04 21 */ bctrl -/* 8028582C 0028276C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285830 00282770 41 82 00 D0 */ beq lbl_80285900 -/* 80285834 00282774 7F E3 FB 78 */ mr r3, r31 -/* 80285838 00282778 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028583C 0028277C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80285840 00282780 7D 89 03 A6 */ mtctr r12 -/* 80285844 00282784 4E 80 04 21 */ bctrl -/* 80285848 00282788 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028584C 0028278C 40 82 00 20 */ bne lbl_8028586C -/* 80285850 00282790 7F E3 FB 78 */ mr r3, r31 -/* 80285854 00282794 81 9F 00 00 */ lwz r12, 0(r31) -/* 80285858 00282798 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028585C 0028279C 7D 89 03 A6 */ mtctr r12 -/* 80285860 002827A0 4E 80 04 21 */ bctrl -/* 80285864 002827A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285868 002827A8 41 82 00 98 */ beq lbl_80285900 -lbl_8028586C: -/* 8028586C 002827AC 7F E4 FB 78 */ mr r4, r31 -/* 80285870 002827B0 38 61 00 08 */ addi r3, r1, 8 -/* 80285874 002827B4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80285878 002827B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028587C 002827BC 7D 89 03 A6 */ mtctr r12 -/* 80285880 002827C0 4E 80 04 21 */ bctrl -/* 80285884 002827C4 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80285888 002827C8 C0 41 00 08 */ lfs f2, 8(r1) -/* 8028588C 002827CC FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80285890 002827D0 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 80285894 002827D4 40 80 00 6C */ bge lbl_80285900 -/* 80285898 002827D8 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8028589C 002827DC 40 81 00 64 */ ble lbl_80285900 -/* 802858A0 002827E0 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) -/* 802858A4 002827E4 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) -/* 802858A8 002827E8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 802858AC 002827EC EC 21 10 28 */ fsubs f1, f1, f2 -/* 802858B0 002827F0 EC 00 00 32 */ fmuls f0, f0, f0 -/* 802858B4 002827F4 EC 01 00 7A */ fmadds f0, f1, f1, f0 -/* 802858B8 002827F8 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 802858BC 002827FC 40 80 00 44 */ bge lbl_80285900 -/* 802858C0 00282800 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 802858C4 00282804 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 802858C8 00282808 3C 80 80 4B */ lis r4, __vt__Q24Game11InteractGas@ha -/* 802858CC 0028280C 7F E3 FB 78 */ mr r3, r31 -/* 802858D0 00282810 C0 06 06 04 */ lfs f0, 0x604(r6) -/* 802858D4 00282814 38 A5 A3 00 */ addi r5, r5, __vt__Q24Game11Interaction@l -/* 802858D8 00282818 38 04 48 0C */ addi r0, r4, __vt__Q24Game11InteractGas@l -/* 802858DC 0028281C 38 81 00 14 */ addi r4, r1, 0x14 -/* 802858E0 00282820 90 A1 00 14 */ stw r5, 0x14(r1) -/* 802858E4 00282824 93 C1 00 18 */ stw r30, 0x18(r1) -/* 802858E8 00282828 90 01 00 14 */ stw r0, 0x14(r1) -/* 802858EC 0028282C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802858F0 00282830 81 9F 00 00 */ lwz r12, 0(r31) -/* 802858F4 00282834 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 802858F8 00282838 7D 89 03 A6 */ mtctr r12 -/* 802858FC 0028283C 4E 80 04 21 */ bctrl -lbl_80285900: -/* 80285900 00282840 38 61 00 50 */ addi r3, r1, 0x50 -/* 80285904 00282844 4B FA 8B FD */ bl next__Q24Game12CellIteratorFv -lbl_80285908: -/* 80285908 00282848 38 61 00 50 */ addi r3, r1, 0x50 -/* 8028590C 0028284C 4B FA 8C 29 */ bl isDone__Q24Game12CellIteratorFv -/* 80285910 00282850 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285914 00282854 41 82 FE FC */ beq lbl_80285810 -/* 80285918 00282858 38 9E 02 E0 */ addi r4, r30, 0x2e0 -/* 8028591C 0028285C 38 60 51 64 */ li r3, 0x5164 -/* 80285920 00282860 48 1E 87 95 */ bl PSStartSoundVec__FUlP3Vec -lbl_80285924: -/* 80285924 00282864 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80285928 00282868 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8028592C 0028286C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80285930 00282870 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80285934 00282874 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 80285938 00282878 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8028593C 0028287C 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80285940 00282880 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80285944 00282884 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 80285948 00282888 7C 08 03 A6 */ mtlr r0 -/* 8028594C 0028288C 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80285950 00282890 4E 80 00 20 */ blr - -.global createItem__Q34Game4Fart3ObjFv -createItem__Q34Game4Fart3ObjFv: -/* 80285954 00282894 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285958 00282898 7C 08 02 A6 */ mflr r0 -/* 8028595C 0028289C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285960 002828A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285964 002828A4 93 C1 00 08 */ stw r30, 8(r1) -/* 80285968 002828A8 7C 7E 1B 78 */ mr r30, r3 -/* 8028596C 002828AC 4B FD 8F E5 */ bl createTreasureItem__Q34Game6Kogane3ObjFv -/* 80285970 002828B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285974 002828B4 40 82 00 E8 */ bne lbl_80285A5C -/* 80285978 002828B8 80 1E 02 C0 */ lwz r0, 0x2c0(r30) -/* 8028597C 002828BC 3B E0 00 01 */ li r31, 1 -/* 80285980 002828C0 38 80 00 00 */ li r4, 0 -/* 80285984 002828C4 38 A0 00 00 */ li r5, 0 -/* 80285988 002828C8 2C 00 00 01 */ cmpwi r0, 1 -/* 8028598C 002828CC 41 82 00 30 */ beq lbl_802859BC -/* 80285990 002828D0 40 80 00 10 */ bge lbl_802859A0 -/* 80285994 002828D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80285998 002828D8 40 80 00 14 */ bge lbl_802859AC -/* 8028599C 002828DC 48 00 00 94 */ b lbl_80285A30 -lbl_802859A0: -/* 802859A0 002828E0 2C 00 00 03 */ cmpwi r0, 3 -/* 802859A4 002828E4 40 80 00 8C */ bge lbl_80285A30 -/* 802859A8 002828E8 48 00 00 4C */ b lbl_802859F4 -lbl_802859AC: -/* 802859AC 002828EC 3B E0 00 00 */ li r31, 0 -/* 802859B0 002828F0 38 80 00 00 */ li r4, 0 -/* 802859B4 002828F4 38 A0 00 03 */ li r5, 3 -/* 802859B8 002828F8 48 00 00 78 */ b lbl_80285A30 -lbl_802859BC: -/* 802859BC 002828FC 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 802859C0 00282900 3B E0 00 00 */ li r31, 0 -/* 802859C4 00282904 28 03 00 00 */ cmplwi r3, 0 -/* 802859C8 00282908 41 82 00 20 */ beq lbl_802859E8 -/* 802859CC 0028290C 38 80 00 1E */ li r4, 0x1e -/* 802859D0 00282910 4B F6 1A 11 */ bl isDemoFlag__Q24Game8PlayDataFi -/* 802859D4 00282914 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802859D8 00282918 41 82 00 10 */ beq lbl_802859E8 -/* 802859DC 0028291C 38 80 00 02 */ li r4, 2 -/* 802859E0 00282920 38 A0 00 01 */ li r5, 1 -/* 802859E4 00282924 48 00 00 4C */ b lbl_80285A30 -lbl_802859E8: -/* 802859E8 00282928 38 80 00 00 */ li r4, 0 -/* 802859EC 0028292C 38 A0 00 03 */ li r5, 3 -/* 802859F0 00282930 48 00 00 40 */ b lbl_80285A30 -lbl_802859F4: -/* 802859F4 00282934 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13) -/* 802859F8 00282938 3B E0 00 00 */ li r31, 0 -/* 802859FC 0028293C 28 03 00 00 */ cmplwi r3, 0 -/* 80285A00 00282940 41 82 00 20 */ beq lbl_80285A20 -/* 80285A04 00282944 38 80 00 1E */ li r4, 0x1e -/* 80285A08 00282948 4B F6 19 D9 */ bl isDemoFlag__Q24Game8PlayDataFi -/* 80285A0C 0028294C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80285A10 00282950 41 82 00 10 */ beq lbl_80285A20 -/* 80285A14 00282954 38 80 00 02 */ li r4, 2 -/* 80285A18 00282958 38 A0 00 01 */ li r5, 1 -/* 80285A1C 0028295C 48 00 00 0C */ b lbl_80285A28 -lbl_80285A20: -/* 80285A20 00282960 38 80 00 00 */ li r4, 0 -/* 80285A24 00282964 38 A0 00 03 */ li r5, 3 -lbl_80285A28: -/* 80285A28 00282968 C0 02 D3 B4 */ lfs f0, lbl_8051B714@sda21(r2) -/* 80285A2C 0028296C D0 1E 02 C4 */ stfs f0, 0x2c4(r30) -lbl_80285A30: -/* 80285A30 00282970 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80285A34 00282974 41 82 00 10 */ beq lbl_80285A44 -/* 80285A38 00282978 7F C3 F3 78 */ mr r3, r30 -/* 80285A3C 0028297C 4B FD 90 A9 */ bl createPellet__Q34Game6Kogane3ObjFii -/* 80285A40 00282980 48 00 00 10 */ b lbl_80285A50 -lbl_80285A44: -/* 80285A44 00282984 7F C3 F3 78 */ mr r3, r30 -/* 80285A48 00282988 54 84 06 3E */ clrlwi r4, r4, 0x18 -/* 80285A4C 0028298C 4B FD 93 2D */ bl createDoping__Q34Game6Kogane3ObjFUci -lbl_80285A50: -/* 80285A50 00282990 80 7E 02 C0 */ lwz r3, 0x2c0(r30) -/* 80285A54 00282994 38 03 00 01 */ addi r0, r3, 1 -/* 80285A58 00282998 90 1E 02 C0 */ stw r0, 0x2c0(r30) -lbl_80285A5C: -/* 80285A5C 0028299C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285A60 002829A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80285A64 002829A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80285A68 002829A8 7C 08 03 A6 */ mtlr r0 -/* 80285A6C 002829AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285A70 002829B0 4E 80 00 20 */ blr - -.global createEffect__Q34Game4Fart3ObjFv -createEffect__Q34Game4Fart3ObjFv: -/* 80285A74 002829B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285A78 002829B8 7C 08 02 A6 */ mflr r0 -/* 80285A7C 002829BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285A80 002829C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285A84 002829C4 7C 7F 1B 78 */ mr r31, r3 -/* 80285A88 002829C8 38 60 00 14 */ li r3, 0x14 -/* 80285A8C 002829CC 4B D9 E4 19 */ bl __nw__FUl -/* 80285A90 002829D0 28 03 00 00 */ cmplwi r3, 0 -/* 80285A94 002829D4 41 82 00 78 */ beq lbl_80285B0C -/* 80285A98 002829D8 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80285A9C 002829DC 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80285AA0 002829E0 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80285AA4 002829E4 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80285AA8 002829E8 90 03 00 00 */ stw r0, 0(r3) -/* 80285AAC 002829EC 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80285AB0 002829F0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80285AB4 002829F4 3C 80 80 4E */ lis r4, __vt__Q23efx9TChasePos@ha -/* 80285AB8 002829F8 90 03 00 04 */ stw r0, 4(r3) -/* 80285ABC 002829FC 38 E4 69 40 */ addi r7, r4, __vt__Q23efx9TChasePos@l -/* 80285AC0 00282A00 3C 80 80 4E */ lis r4, __vt__Q23efx14TBabaFly_ver01@ha -/* 80285AC4 00282A04 38 05 00 14 */ addi r0, r5, 0x14 -/* 80285AC8 00282A08 90 A3 00 00 */ stw r5, 0(r3) -/* 80285ACC 00282A0C 38 84 6D 38 */ addi r4, r4, __vt__Q23efx14TBabaFly_ver01@l -/* 80285AD0 00282A10 39 20 00 00 */ li r9, 0 -/* 80285AD4 00282A14 39 00 02 B2 */ li r8, 0x2b2 -/* 80285AD8 00282A18 90 03 00 04 */ stw r0, 4(r3) -/* 80285ADC 00282A1C 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80285AE0 00282A20 38 BF 01 8C */ addi r5, r31, 0x18c -/* 80285AE4 00282A24 38 04 00 14 */ addi r0, r4, 0x14 -/* 80285AE8 00282A28 91 23 00 08 */ stw r9, 8(r3) -/* 80285AEC 00282A2C B1 03 00 0C */ sth r8, 0xc(r3) -/* 80285AF0 00282A30 99 23 00 0E */ stb r9, 0xe(r3) -/* 80285AF4 00282A34 90 E3 00 00 */ stw r7, 0(r3) -/* 80285AF8 00282A38 90 C3 00 04 */ stw r6, 4(r3) -/* 80285AFC 00282A3C 90 A3 00 10 */ stw r5, 0x10(r3) -/* 80285B00 00282A40 B1 23 00 0C */ sth r9, 0xc(r3) -/* 80285B04 00282A44 90 83 00 00 */ stw r4, 0(r3) -/* 80285B08 00282A48 90 03 00 04 */ stw r0, 4(r3) -lbl_80285B0C: -/* 80285B0C 00282A4C 90 7F 02 EC */ stw r3, 0x2ec(r31) -/* 80285B10 00282A50 C0 02 D3 B0 */ lfs f0, lbl_8051B710@sda21(r2) -/* 80285B14 00282A54 D0 1F 02 DC */ stfs f0, 0x2dc(r31) -/* 80285B18 00282A58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80285B1C 00282A5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285B20 00282A60 7C 08 03 A6 */ mtlr r0 -/* 80285B24 00282A64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285B28 00282A68 4E 80 00 20 */ blr - -.global resetFartTimer__Q34Game4Fart3ObjFv -resetFartTimer__Q34Game4Fart3ObjFv: -/* 80285B2C 00282A6C C0 02 D3 B0 */ lfs f0, lbl_8051B710@sda21(r2) -/* 80285B30 00282A70 D0 03 02 DC */ stfs f0, 0x2dc(r3) -/* 80285B34 00282A74 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 80285B38 00282A78 D0 03 02 E0 */ stfs f0, 0x2e0(r3) -/* 80285B3C 00282A7C C0 03 01 90 */ lfs f0, 0x190(r3) -/* 80285B40 00282A80 D0 03 02 E4 */ stfs f0, 0x2e4(r3) -/* 80285B44 00282A84 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 80285B48 00282A88 D0 03 02 E8 */ stfs f0, 0x2e8(r3) -/* 80285B4C 00282A8C 4E 80 00 20 */ blr - -.global startBodyEffect__Q34Game4Fart3ObjFv -startBodyEffect__Q34Game4Fart3ObjFv: -/* 80285B50 00282A90 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80285B54 00282A94 7C 08 02 A6 */ mflr r0 -/* 80285B58 00282A98 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80285B5C 00282A9C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80285B60 00282AA0 38 A4 A7 EC */ addi r5, r4, __vt__Q23efx3Arg@l -/* 80285B64 00282AA4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80285B68 00282AA8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80285B6C 00282AAC 7C 7F 1B 78 */ mr r31, r3 -/* 80285B70 00282AB0 81 03 00 C0 */ lwz r8, 0xc0(r3) -/* 80285B74 00282AB4 3C 60 80 4B */ lis r3, __vt__Q23efx8ArgScale@ha -/* 80285B78 00282AB8 80 FF 01 8C */ lwz r7, 0x18c(r31) -/* 80285B7C 00282ABC 38 03 A2 DC */ addi r0, r3, __vt__Q23efx8ArgScale@l -/* 80285B80 00282AC0 80 DF 01 90 */ lwz r6, 0x190(r31) -/* 80285B84 00282AC4 80 7F 01 94 */ lwz r3, 0x194(r31) -/* 80285B88 00282AC8 C0 68 09 34 */ lfs f3, 0x934(r8) -/* 80285B8C 00282ACC 90 E1 00 08 */ stw r7, 8(r1) -/* 80285B90 00282AD0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80285B94 00282AD4 C0 41 00 08 */ lfs f2, 8(r1) -/* 80285B98 00282AD8 90 61 00 10 */ stw r3, 0x10(r1) -/* 80285B9C 00282ADC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80285BA0 00282AE0 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80285BA4 00282AE4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80285BA8 00282AE8 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80285BAC 00282AEC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80285BB0 00282AF0 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80285BB4 00282AF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285BB8 00282AF8 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80285BBC 00282AFC 80 7F 02 EC */ lwz r3, 0x2ec(r31) -/* 80285BC0 00282B00 81 83 00 00 */ lwz r12, 0(r3) -/* 80285BC4 00282B04 81 8C 00 08 */ lwz r12, 8(r12) -/* 80285BC8 00282B08 7D 89 03 A6 */ mtctr r12 -/* 80285BCC 00282B0C 4E 80 04 21 */ bctrl -/* 80285BD0 00282B10 7F E3 FB 78 */ mr r3, r31 -/* 80285BD4 00282B14 81 9F 00 00 */ lwz r12, 0(r31) -/* 80285BD8 00282B18 81 8C 03 00 */ lwz r12, 0x300(r12) -/* 80285BDC 00282B1C 7D 89 03 A6 */ mtctr r12 -/* 80285BE0 00282B20 4E 80 04 21 */ bctrl -/* 80285BE4 00282B24 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80285BE8 00282B28 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80285BEC 00282B2C 7C 08 03 A6 */ mtlr r0 -/* 80285BF0 00282B30 38 21 00 30 */ addi r1, r1, 0x30 -/* 80285BF4 00282B34 4E 80 00 20 */ blr - -.global finishBodyEffect__Q34Game4Fart3ObjFv -finishBodyEffect__Q34Game4Fart3ObjFv: -/* 80285BF8 00282B38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285BFC 00282B3C 7C 08 02 A6 */ mflr r0 -/* 80285C00 00282B40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285C04 00282B44 80 63 02 EC */ lwz r3, 0x2ec(r3) -/* 80285C08 00282B48 81 83 00 00 */ lwz r12, 0(r3) -/* 80285C0C 00282B4C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80285C10 00282B50 7D 89 03 A6 */ mtctr r12 -/* 80285C14 00282B54 4E 80 04 21 */ bctrl -/* 80285C18 00282B58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285C1C 00282B5C 7C 08 03 A6 */ mtlr r0 -/* 80285C20 00282B60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285C24 00282B64 4E 80 00 20 */ blr - -.global createFartEffect__Q34Game4Fart3ObjFv -createFartEffect__Q34Game4Fart3ObjFv: -/* 80285C28 00282B68 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80285C2C 00282B6C 7C 08 02 A6 */ mflr r0 -/* 80285C30 00282B70 90 01 00 94 */ stw r0, 0x94(r1) -/* 80285C34 00282B74 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80285C38 00282B78 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80285C3C 00282B7C DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80285C40 00282B80 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80285C44 00282B84 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80285C48 00282B88 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80285C4C 00282B8C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80285C50 00282B90 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 80285C54 00282B94 38 A0 00 00 */ li r5, 0 -/* 80285C58 00282B98 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80285C5C 00282B9C 3C 80 80 4E */ lis r4, __vt__Q23efx8TSimple2@ha -/* 80285C60 00282BA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285C64 00282BA4 38 04 6A 64 */ addi r0, r4, __vt__Q23efx8TSimple2@l -/* 80285C68 00282BA8 3C 80 80 4E */ lis r4, __vt__Q23efx7TBabaHe@ha -/* 80285C6C 00282BAC 38 C0 00 01 */ li r6, 1 -/* 80285C70 00282BB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285C74 00282BB4 38 04 6D 24 */ addi r0, r4, __vt__Q23efx7TBabaHe@l -/* 80285C78 00282BB8 38 80 00 02 */ li r4, 2 -/* 80285C7C 00282BBC 7C 7F 1B 78 */ mr r31, r3 -/* 80285C80 00282BC0 B0 C1 00 18 */ sth r6, 0x18(r1) -/* 80285C84 00282BC4 B0 81 00 1A */ sth r4, 0x1a(r1) -/* 80285C88 00282BC8 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80285C8C 00282BCC 90 A1 00 20 */ stw r5, 0x20(r1) -/* 80285C90 00282BD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285C94 00282BD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80285C98 00282BD8 C3 C3 01 8C */ lfs f30, 0x18c(r3) -/* 80285C9C 00282BDC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80285CA0 00282BE0 C3 E3 01 90 */ lfs f31, 0x190(r3) -/* 80285CA4 00282BE4 C3 A3 01 94 */ lfs f29, 0x194(r3) -/* 80285CA8 00282BE8 7D 89 03 A6 */ mtctr r12 -/* 80285CAC 00282BEC 4E 80 04 21 */ bctrl -/* 80285CB0 00282BF0 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80285CB4 00282BF4 3C 60 80 4B */ lis r3, __vt__Q23efx7ArgRotY@ha -/* 80285CB8 00282BF8 38 84 A7 EC */ addi r4, r4, __vt__Q23efx3Arg@l -/* 80285CBC 00282BFC D3 C1 00 28 */ stfs f30, 0x28(r1) -/* 80285CC0 00282C00 38 03 69 60 */ addi r0, r3, __vt__Q23efx7ArgRotY@l -/* 80285CC4 00282C04 38 61 00 14 */ addi r3, r1, 0x14 -/* 80285CC8 00282C08 90 81 00 24 */ stw r4, 0x24(r1) -/* 80285CCC 00282C0C 38 81 00 24 */ addi r4, r1, 0x24 -/* 80285CD0 00282C10 D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 80285CD4 00282C14 D3 A1 00 30 */ stfs f29, 0x30(r1) -/* 80285CD8 00282C18 90 01 00 24 */ stw r0, 0x24(r1) -/* 80285CDC 00282C1C D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80285CE0 00282C20 48 12 E3 75 */ bl create__Q23efx7TBabaHeFPQ23efx3Arg -/* 80285CE4 00282C24 C0 42 D3 B8 */ lfs f2, lbl_8051B718@sda21(r2) -/* 80285CE8 00282C28 D0 5F 02 DC */ stfs f2, 0x2dc(r31) -/* 80285CEC 00282C2C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80285CF0 00282C30 C0 9F 01 FC */ lfs f4, 0x1fc(r31) -/* 80285CF4 00282C34 C0 23 09 34 */ lfs f1, 0x934(r3) -/* 80285CF8 00282C38 C0 03 05 64 */ lfs f0, 0x564(r3) -/* 80285CFC 00282C3C FC 60 20 90 */ fmr f3, f4 -/* 80285D00 00282C40 FC 04 10 40 */ fcmpo cr0, f4, f2 -/* 80285D04 00282C44 EF A1 00 32 */ fmuls f29, f1, f0 -/* 80285D08 00282C48 40 80 00 08 */ bge lbl_80285D10 -/* 80285D0C 00282C4C FC 60 20 50 */ fneg f3, f4 -lbl_80285D10: -/* 80285D10 00282C50 C0 42 D3 BC */ lfs f2, lbl_8051B71C@sda21(r2) -/* 80285D14 00282C54 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80285D18 00282C58 C0 02 D3 B8 */ lfs f0, lbl_8051B718@sda21(r2) -/* 80285D1C 00282C5C 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80285D20 00282C60 EC 23 00 B2 */ fmuls f1, f3, f2 -/* 80285D24 00282C64 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80285D28 00282C68 FC 00 08 1E */ fctiwz f0, f1 -/* 80285D2C 00282C6C D8 01 00 38 */ stfd f0, 0x38(r1) -/* 80285D30 00282C70 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80285D34 00282C74 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80285D38 00282C78 7C 64 02 14 */ add r3, r4, r0 -/* 80285D3C 00282C7C C0 03 00 04 */ lfs f0, 4(r3) -/* 80285D40 00282C80 EF FD 00 32 */ fmuls f31, f29, f0 -/* 80285D44 00282C84 40 80 00 28 */ bge lbl_80285D6C -/* 80285D48 00282C88 C0 02 D3 C0 */ lfs f0, lbl_8051B720@sda21(r2) -/* 80285D4C 00282C8C EC 04 00 32 */ fmuls f0, f4, f0 -/* 80285D50 00282C90 FC 00 00 1E */ fctiwz f0, f0 -/* 80285D54 00282C94 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 80285D58 00282C98 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80285D5C 00282C9C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80285D60 00282CA0 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80285D64 00282CA4 FF C0 00 50 */ fneg f30, f0 -/* 80285D68 00282CA8 48 00 00 1C */ b lbl_80285D84 -lbl_80285D6C: -/* 80285D6C 00282CAC EC 04 00 B2 */ fmuls f0, f4, f2 -/* 80285D70 00282CB0 FC 00 00 1E */ fctiwz f0, f0 -/* 80285D74 00282CB4 D8 01 00 48 */ stfd f0, 0x48(r1) -/* 80285D78 00282CB8 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80285D7C 00282CBC 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80285D80 00282CC0 7F C4 04 2E */ lfsx f30, r4, r0 -lbl_80285D84: -/* 80285D84 00282CC4 7F E4 FB 78 */ mr r4, r31 -/* 80285D88 00282CC8 38 61 00 08 */ addi r3, r1, 8 -/* 80285D8C 00282CCC 4B FD 87 1D */ bl getBodyJointPos__Q34Game6Kogane3ObjFv -/* 80285D90 00282CD0 C0 41 00 08 */ lfs f2, 8(r1) -/* 80285D94 00282CD4 EC 3D 07 B2 */ fmuls f1, f29, f30 -/* 80285D98 00282CD8 C0 02 D3 B8 */ lfs f0, lbl_8051B718@sda21(r2) -/* 80285D9C 00282CDC 7F E3 FB 78 */ mr r3, r31 -/* 80285DA0 00282CE0 D0 5F 02 E0 */ stfs f2, 0x2e0(r31) -/* 80285DA4 00282CE4 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80285DA8 00282CE8 D0 5F 02 E4 */ stfs f2, 0x2e4(r31) -/* 80285DAC 00282CEC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80285DB0 00282CF0 D0 5F 02 E8 */ stfs f2, 0x2e8(r31) -/* 80285DB4 00282CF4 C0 5F 02 E0 */ lfs f2, 0x2e0(r31) -/* 80285DB8 00282CF8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80285DBC 00282CFC D0 3F 02 E0 */ stfs f1, 0x2e0(r31) -/* 80285DC0 00282D00 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 80285DC4 00282D04 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80285DC8 00282D08 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 80285DCC 00282D0C C0 1F 02 E8 */ lfs f0, 0x2e8(r31) -/* 80285DD0 00282D10 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80285DD4 00282D14 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -/* 80285DD8 00282D18 81 9F 00 00 */ lwz r12, 0(r31) -/* 80285DDC 00282D1C 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80285DE0 00282D20 7D 89 03 A6 */ mtctr r12 -/* 80285DE4 00282D24 4E 80 04 21 */ bctrl -/* 80285DE8 00282D28 81 83 00 00 */ lwz r12, 0(r3) -/* 80285DEC 00282D2C 38 80 59 60 */ li r4, 0x5960 -/* 80285DF0 00282D30 38 A0 00 00 */ li r5, 0 -/* 80285DF4 00282D34 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80285DF8 00282D38 7D 89 03 A6 */ mtctr r12 -/* 80285DFC 00282D3C 4E 80 04 21 */ bctrl -/* 80285E00 00282D40 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80285E04 00282D44 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80285E08 00282D48 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80285E0C 00282D4C CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80285E10 00282D50 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80285E14 00282D54 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80285E18 00282D58 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80285E1C 00282D5C 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80285E20 00282D60 7C 08 03 A6 */ mtlr r0 -/* 80285E24 00282D64 38 21 00 90 */ addi r1, r1, 0x90 -/* 80285E28 00282D68 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game4Fart3ObjFv -effectDrawOn__Q34Game4Fart3ObjFv: -/* 80285E2C 00282D6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285E30 00282D70 7C 08 02 A6 */ mflr r0 -/* 80285E34 00282D74 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285E38 00282D78 80 63 02 EC */ lwz r3, 0x2ec(r3) -/* 80285E3C 00282D7C 81 83 00 00 */ lwz r12, 0(r3) -/* 80285E40 00282D80 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80285E44 00282D84 7D 89 03 A6 */ mtctr r12 -/* 80285E48 00282D88 4E 80 04 21 */ bctrl -/* 80285E4C 00282D8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285E50 00282D90 7C 08 03 A6 */ mtlr r0 -/* 80285E54 00282D94 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285E58 00282D98 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game4Fart3ObjFv -effectDrawOff__Q34Game4Fart3ObjFv: -/* 80285E5C 00282D9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285E60 00282DA0 7C 08 02 A6 */ mflr r0 -/* 80285E64 00282DA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285E68 00282DA8 80 63 02 EC */ lwz r3, 0x2ec(r3) -/* 80285E6C 00282DAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80285E70 00282DB0 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80285E74 00282DB4 7D 89 03 A6 */ mtctr r12 -/* 80285E78 00282DB8 4E 80 04 21 */ bctrl -/* 80285E7C 00282DBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285E80 00282DC0 7C 08 03 A6 */ mtlr r0 -/* 80285E84 00282DC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285E88 00282DC8 4E 80 00 20 */ blr - -.global createPressSESpecial__Q34Game4Fart3ObjFv -createPressSESpecial__Q34Game4Fart3ObjFv: -/* 80285E8C 00282DCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285E90 00282DD0 7C 08 02 A6 */ mflr r0 -/* 80285E94 00282DD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285E98 00282DD8 81 83 00 00 */ lwz r12, 0(r3) -/* 80285E9C 00282DDC 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80285EA0 00282DE0 7D 89 03 A6 */ mtctr r12 -/* 80285EA4 00282DE4 4E 80 04 21 */ bctrl -/* 80285EA8 00282DE8 81 83 00 00 */ lwz r12, 0(r3) -/* 80285EAC 00282DEC 38 80 59 61 */ li r4, 0x5961 -/* 80285EB0 00282DF0 38 A0 00 00 */ li r5, 0 -/* 80285EB4 00282DF4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80285EB8 00282DF8 7D 89 03 A6 */ mtctr r12 -/* 80285EBC 00282DFC 4E 80 04 21 */ bctrl -/* 80285EC0 00282E00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80285EC4 00282E04 7C 08 03 A6 */ mtlr r0 -/* 80285EC8 00282E08 38 21 00 10 */ addi r1, r1, 0x10 -/* 80285ECC 00282E0C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Fart3ObjFv -getEnemyTypeID__Q34Game4Fart3ObjFv: -/* 80285ED0 00282E10 38 60 00 0B */ li r3, 0xb -/* 80285ED4 00282E14 4E 80 00 20 */ blr - -.global init__Q34Game5Armor3FSMFPQ24Game9EnemyBase -init__Q34Game5Armor3FSMFPQ24Game9EnemyBase: -/* 80285ED8 00282E18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80285EDC 00282E1C 7C 08 02 A6 */ mflr r0 -/* 80285EE0 00282E20 38 80 00 0E */ li r4, 0xe -/* 80285EE4 00282E24 90 01 00 14 */ stw r0, 0x14(r1) -/* 80285EE8 00282E28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80285EEC 00282E2C 7C 7F 1B 78 */ mr r31, r3 -/* 80285EF0 00282E30 4B EA A9 75 */ bl create__Q24Game17EnemyStateMachineFi -/* 80285EF4 00282E34 38 60 00 10 */ li r3, 0x10 -/* 80285EF8 00282E38 4B D9 DF AD */ bl __nw__FUl -/* 80285EFC 00282E3C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80285F00 00282E40 41 82 00 3C */ beq lbl_80285F3C -/* 80285F04 00282E44 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80285F08 00282E48 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80285F0C 00282E4C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80285F10 00282E50 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor9StateDead@ha -/* 80285F14 00282E54 90 04 00 00 */ stw r0, 0(r4) -/* 80285F18 00282E58 38 E0 00 00 */ li r7, 0 -/* 80285F1C 00282E5C 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 80285F20 00282E60 38 A2 D3 C8 */ addi r5, r2, lbl_8051B728@sda21 -/* 80285F24 00282E64 90 E4 00 04 */ stw r7, 4(r4) -/* 80285F28 00282E68 38 03 9A 24 */ addi r0, r3, __vt__Q34Game5Armor9StateDead@l -/* 80285F2C 00282E6C 90 E4 00 08 */ stw r7, 8(r4) -/* 80285F30 00282E70 90 C4 00 00 */ stw r6, 0(r4) -/* 80285F34 00282E74 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80285F38 00282E78 90 04 00 00 */ stw r0, 0(r4) -lbl_80285F3C: -/* 80285F3C 00282E7C 7F E3 FB 78 */ mr r3, r31 -/* 80285F40 00282E80 4B EA A9 C9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80285F44 00282E84 38 60 00 10 */ li r3, 0x10 -/* 80285F48 00282E88 4B D9 DF 5D */ bl __nw__FUl -/* 80285F4C 00282E8C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80285F50 00282E90 41 82 00 40 */ beq lbl_80285F90 -/* 80285F54 00282E94 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80285F58 00282E98 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80285F5C 00282E9C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80285F60 00282EA0 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor9StateStay@ha -/* 80285F64 00282EA4 90 04 00 00 */ stw r0, 0(r4) -/* 80285F68 00282EA8 38 00 00 01 */ li r0, 1 -/* 80285F6C 00282EAC 38 E0 00 00 */ li r7, 0 -/* 80285F70 00282EB0 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 80285F74 00282EB4 90 04 00 04 */ stw r0, 4(r4) -/* 80285F78 00282EB8 38 A2 D3 D0 */ addi r5, r2, lbl_8051B730@sda21 -/* 80285F7C 00282EBC 38 03 9A 00 */ addi r0, r3, __vt__Q34Game5Armor9StateStay@l -/* 80285F80 00282EC0 90 E4 00 08 */ stw r7, 8(r4) -/* 80285F84 00282EC4 90 C4 00 00 */ stw r6, 0(r4) -/* 80285F88 00282EC8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80285F8C 00282ECC 90 04 00 00 */ stw r0, 0(r4) -lbl_80285F90: -/* 80285F90 00282ED0 7F E3 FB 78 */ mr r3, r31 -/* 80285F94 00282ED4 4B EA A9 75 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80285F98 00282ED8 38 60 00 10 */ li r3, 0x10 -/* 80285F9C 00282EDC 4B D9 DF 09 */ bl __nw__FUl -/* 80285FA0 00282EE0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80285FA4 00282EE4 41 82 00 40 */ beq lbl_80285FE4 -/* 80285FA8 00282EE8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80285FAC 00282EEC 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80285FB0 00282EF0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80285FB4 00282EF4 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor11StateAppear@ha -/* 80285FB8 00282EF8 90 04 00 00 */ stw r0, 0(r4) -/* 80285FBC 00282EFC 38 00 00 02 */ li r0, 2 -/* 80285FC0 00282F00 38 E0 00 00 */ li r7, 0 -/* 80285FC4 00282F04 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 80285FC8 00282F08 90 04 00 04 */ stw r0, 4(r4) -/* 80285FCC 00282F0C 38 A2 D3 D8 */ addi r5, r2, lbl_8051B738@sda21 -/* 80285FD0 00282F10 38 03 99 DC */ addi r0, r3, __vt__Q34Game5Armor11StateAppear@l -/* 80285FD4 00282F14 90 E4 00 08 */ stw r7, 8(r4) -/* 80285FD8 00282F18 90 C4 00 00 */ stw r6, 0(r4) -/* 80285FDC 00282F1C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80285FE0 00282F20 90 04 00 00 */ stw r0, 0(r4) -lbl_80285FE4: -/* 80285FE4 00282F24 7F E3 FB 78 */ mr r3, r31 -/* 80285FE8 00282F28 4B EA A9 21 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80285FEC 00282F2C 38 60 00 10 */ li r3, 0x10 -/* 80285FF0 00282F30 4B D9 DE B5 */ bl __nw__FUl -/* 80285FF4 00282F34 7C 64 1B 79 */ or. r4, r3, r3 -/* 80285FF8 00282F38 41 82 00 40 */ beq lbl_80286038 -/* 80285FFC 00282F3C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80286000 00282F40 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80286004 00282F44 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80286008 00282F48 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor9StateDive@ha -/* 8028600C 00282F4C 90 04 00 00 */ stw r0, 0(r4) -/* 80286010 00282F50 38 00 00 03 */ li r0, 3 -/* 80286014 00282F54 38 E0 00 00 */ li r7, 0 -/* 80286018 00282F58 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 8028601C 00282F5C 90 04 00 04 */ stw r0, 4(r4) -/* 80286020 00282F60 38 A2 D3 E0 */ addi r5, r2, lbl_8051B740@sda21 -/* 80286024 00282F64 38 03 99 B8 */ addi r0, r3, __vt__Q34Game5Armor9StateDive@l -/* 80286028 00282F68 90 E4 00 08 */ stw r7, 8(r4) -/* 8028602C 00282F6C 90 C4 00 00 */ stw r6, 0(r4) -/* 80286030 00282F70 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80286034 00282F74 90 04 00 00 */ stw r0, 0(r4) -lbl_80286038: -/* 80286038 00282F78 7F E3 FB 78 */ mr r3, r31 -/* 8028603C 00282F7C 4B EA A8 CD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80286040 00282F80 38 60 00 10 */ li r3, 0x10 -/* 80286044 00282F84 4B D9 DE 61 */ bl __nw__FUl -/* 80286048 00282F88 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028604C 00282F8C 41 82 00 40 */ beq lbl_8028608C -/* 80286050 00282F90 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80286054 00282F94 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80286058 00282F98 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028605C 00282F9C 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor9StateMove@ha -/* 80286060 00282FA0 90 04 00 00 */ stw r0, 0(r4) -/* 80286064 00282FA4 38 00 00 04 */ li r0, 4 -/* 80286068 00282FA8 38 E0 00 00 */ li r7, 0 -/* 8028606C 00282FAC 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 80286070 00282FB0 90 04 00 04 */ stw r0, 4(r4) -/* 80286074 00282FB4 38 A2 D3 E8 */ addi r5, r2, lbl_8051B748@sda21 -/* 80286078 00282FB8 38 03 99 94 */ addi r0, r3, __vt__Q34Game5Armor9StateMove@l -/* 8028607C 00282FBC 90 E4 00 08 */ stw r7, 8(r4) -/* 80286080 00282FC0 90 C4 00 00 */ stw r6, 0(r4) -/* 80286084 00282FC4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80286088 00282FC8 90 04 00 00 */ stw r0, 0(r4) -lbl_8028608C: -/* 8028608C 00282FCC 7F E3 FB 78 */ mr r3, r31 -/* 80286090 00282FD0 4B EA A8 79 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80286094 00282FD4 38 60 00 10 */ li r3, 0x10 -/* 80286098 00282FD8 4B D9 DE 0D */ bl __nw__FUl -/* 8028609C 00282FDC 7C 64 1B 79 */ or. r4, r3, r3 -/* 802860A0 00282FE0 41 82 00 44 */ beq lbl_802860E4 -/* 802860A4 00282FE4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802860A8 00282FE8 3C C0 80 4D */ lis r6, __vt__Q34Game5Armor5State@ha -/* 802860AC 00282FEC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802860B0 00282FF0 3C A0 80 48 */ lis r5, lbl_80487C40@ha -/* 802860B4 00282FF4 90 04 00 00 */ stw r0, 0(r4) -/* 802860B8 00282FF8 38 00 00 05 */ li r0, 5 -/* 802860BC 00282FFC 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor13StateMoveSide@ha -/* 802860C0 00283000 38 E0 00 00 */ li r7, 0 -/* 802860C4 00283004 90 04 00 04 */ stw r0, 4(r4) -/* 802860C8 00283008 38 C6 9A 48 */ addi r6, r6, __vt__Q34Game5Armor5State@l -/* 802860CC 0028300C 38 A5 7C 40 */ addi r5, r5, lbl_80487C40@l -/* 802860D0 00283010 38 03 99 70 */ addi r0, r3, __vt__Q34Game5Armor13StateMoveSide@l -/* 802860D4 00283014 90 E4 00 08 */ stw r7, 8(r4) -/* 802860D8 00283018 90 C4 00 00 */ stw r6, 0(r4) -/* 802860DC 0028301C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802860E0 00283020 90 04 00 00 */ stw r0, 0(r4) -lbl_802860E4: -/* 802860E4 00283024 7F E3 FB 78 */ mr r3, r31 -/* 802860E8 00283028 4B EA A8 21 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802860EC 0028302C 38 60 00 10 */ li r3, 0x10 -/* 802860F0 00283030 4B D9 DD B5 */ bl __nw__FUl -/* 802860F4 00283034 7C 64 1B 79 */ or. r4, r3, r3 -/* 802860F8 00283038 41 82 00 44 */ beq lbl_8028613C -/* 802860FC 0028303C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80286100 00283040 3C C0 80 4D */ lis r6, __vt__Q34Game5Armor5State@ha -/* 80286104 00283044 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80286108 00283048 3C A0 80 48 */ lis r5, lbl_80487C4C@ha -/* 8028610C 0028304C 90 04 00 00 */ stw r0, 0(r4) -/* 80286110 00283050 38 00 00 06 */ li r0, 6 -/* 80286114 00283054 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor15StateMoveCentre@ha -/* 80286118 00283058 38 E0 00 00 */ li r7, 0 -/* 8028611C 0028305C 90 04 00 04 */ stw r0, 4(r4) -/* 80286120 00283060 38 C6 9A 48 */ addi r6, r6, __vt__Q34Game5Armor5State@l -/* 80286124 00283064 38 A5 7C 4C */ addi r5, r5, lbl_80487C4C@l -/* 80286128 00283068 38 03 99 4C */ addi r0, r3, __vt__Q34Game5Armor15StateMoveCentre@l -/* 8028612C 0028306C 90 E4 00 08 */ stw r7, 8(r4) -/* 80286130 00283070 90 C4 00 00 */ stw r6, 0(r4) -/* 80286134 00283074 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80286138 00283078 90 04 00 00 */ stw r0, 0(r4) -lbl_8028613C: -/* 8028613C 0028307C 7F E3 FB 78 */ mr r3, r31 -/* 80286140 00283080 4B EA A7 C9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80286144 00283084 38 60 00 10 */ li r3, 0x10 -/* 80286148 00283088 4B D9 DD 5D */ bl __nw__FUl -/* 8028614C 0028308C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80286150 00283090 41 82 00 40 */ beq lbl_80286190 -/* 80286154 00283094 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80286158 00283098 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 8028615C 0028309C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80286160 002830A0 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor12StateMoveTop@ha -/* 80286164 002830A4 90 04 00 00 */ stw r0, 0(r4) -/* 80286168 002830A8 38 00 00 07 */ li r0, 7 -/* 8028616C 002830AC 38 E0 00 00 */ li r7, 0 -/* 80286170 002830B0 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 80286174 002830B4 90 04 00 04 */ stw r0, 4(r4) -/* 80286178 002830B8 38 A2 D3 F0 */ addi r5, r2, lbl_8051B750@sda21 -/* 8028617C 002830BC 38 03 99 28 */ addi r0, r3, __vt__Q34Game5Armor12StateMoveTop@l -/* 80286180 002830C0 90 E4 00 08 */ stw r7, 8(r4) -/* 80286184 002830C4 90 C4 00 00 */ stw r6, 0(r4) -/* 80286188 002830C8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8028618C 002830CC 90 04 00 00 */ stw r0, 0(r4) -lbl_80286190: -/* 80286190 002830D0 7F E3 FB 78 */ mr r3, r31 -/* 80286194 002830D4 4B EA A7 75 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80286198 002830D8 38 60 00 10 */ li r3, 0x10 -/* 8028619C 002830DC 4B D9 DD 09 */ bl __nw__FUl -/* 802861A0 002830E0 7C 64 1B 79 */ or. r4, r3, r3 -/* 802861A4 002830E4 41 82 00 40 */ beq lbl_802861E4 -/* 802861A8 002830E8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802861AC 002830EC 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 802861B0 002830F0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802861B4 002830F4 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor11StateGoHome@ha -/* 802861B8 002830F8 90 04 00 00 */ stw r0, 0(r4) -/* 802861BC 002830FC 38 00 00 08 */ li r0, 8 -/* 802861C0 00283100 38 E0 00 00 */ li r7, 0 -/* 802861C4 00283104 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 802861C8 00283108 90 04 00 04 */ stw r0, 4(r4) -/* 802861CC 0028310C 38 A2 D3 F8 */ addi r5, r2, lbl_8051B758@sda21 -/* 802861D0 00283110 38 03 99 04 */ addi r0, r3, __vt__Q34Game5Armor11StateGoHome@l -/* 802861D4 00283114 90 E4 00 08 */ stw r7, 8(r4) -/* 802861D8 00283118 90 C4 00 00 */ stw r6, 0(r4) -/* 802861DC 0028311C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802861E0 00283120 90 04 00 00 */ stw r0, 0(r4) -lbl_802861E4: -/* 802861E4 00283124 7F E3 FB 78 */ mr r3, r31 -/* 802861E8 00283128 4B EA A7 21 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802861EC 0028312C 38 60 00 10 */ li r3, 0x10 -/* 802861F0 00283130 4B D9 DC B5 */ bl __nw__FUl -/* 802861F4 00283134 7C 64 1B 79 */ or. r4, r3, r3 -/* 802861F8 00283138 41 82 00 40 */ beq lbl_80286238 -/* 802861FC 0028313C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80286200 00283140 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80286204 00283144 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80286208 00283148 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor12StateAttack1@ha -/* 8028620C 0028314C 90 04 00 00 */ stw r0, 0(r4) -/* 80286210 00283150 38 00 00 09 */ li r0, 9 -/* 80286214 00283154 38 E0 00 00 */ li r7, 0 -/* 80286218 00283158 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 8028621C 0028315C 90 04 00 04 */ stw r0, 4(r4) -/* 80286220 00283160 38 A2 D4 00 */ addi r5, r2, lbl_8051B760@sda21 -/* 80286224 00283164 38 03 98 E0 */ addi r0, r3, __vt__Q34Game5Armor12StateAttack1@l -/* 80286228 00283168 90 E4 00 08 */ stw r7, 8(r4) -/* 8028622C 0028316C 90 C4 00 00 */ stw r6, 0(r4) -/* 80286230 00283170 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80286234 00283174 90 04 00 00 */ stw r0, 0(r4) -lbl_80286238: -/* 80286238 00283178 7F E3 FB 78 */ mr r3, r31 -/* 8028623C 0028317C 4B EA A6 CD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80286240 00283180 38 60 00 10 */ li r3, 0x10 -/* 80286244 00283184 4B D9 DC 61 */ bl __nw__FUl -/* 80286248 00283188 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028624C 0028318C 41 82 00 40 */ beq lbl_8028628C -/* 80286250 00283190 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80286254 00283194 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80286258 00283198 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028625C 0028319C 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor12StateAttack2@ha -/* 80286260 002831A0 90 04 00 00 */ stw r0, 0(r4) -/* 80286264 002831A4 38 00 00 0A */ li r0, 0xa -/* 80286268 002831A8 38 E0 00 00 */ li r7, 0 -/* 8028626C 002831AC 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 80286270 002831B0 90 04 00 04 */ stw r0, 4(r4) -/* 80286274 002831B4 38 A2 D4 08 */ addi r5, r2, lbl_8051B768@sda21 -/* 80286278 002831B8 38 03 98 BC */ addi r0, r3, __vt__Q34Game5Armor12StateAttack2@l -/* 8028627C 002831BC 90 E4 00 08 */ stw r7, 8(r4) -/* 80286280 002831C0 90 C4 00 00 */ stw r6, 0(r4) -/* 80286284 002831C4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80286288 002831C8 90 04 00 00 */ stw r0, 0(r4) -lbl_8028628C: -/* 8028628C 002831CC 7F E3 FB 78 */ mr r3, r31 -/* 80286290 002831D0 4B EA A6 79 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80286294 002831D4 38 60 00 10 */ li r3, 0x10 -/* 80286298 002831D8 4B D9 DC 0D */ bl __nw__FUl -/* 8028629C 002831DC 7C 64 1B 79 */ or. r4, r3, r3 -/* 802862A0 002831E0 41 82 00 40 */ beq lbl_802862E0 -/* 802862A4 002831E4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802862A8 002831E8 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 802862AC 002831EC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802862B0 002831F0 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor8StateEat@ha -/* 802862B4 002831F4 90 04 00 00 */ stw r0, 0(r4) -/* 802862B8 002831F8 38 00 00 0B */ li r0, 0xb -/* 802862BC 002831FC 38 E0 00 00 */ li r7, 0 -/* 802862C0 00283200 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 802862C4 00283204 90 04 00 04 */ stw r0, 4(r4) -/* 802862C8 00283208 38 A2 D4 10 */ addi r5, r2, lbl_8051B770@sda21 -/* 802862CC 0028320C 38 03 98 98 */ addi r0, r3, __vt__Q34Game5Armor8StateEat@l -/* 802862D0 00283210 90 E4 00 08 */ stw r7, 8(r4) -/* 802862D4 00283214 90 C4 00 00 */ stw r6, 0(r4) -/* 802862D8 00283218 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802862DC 0028321C 90 04 00 00 */ stw r0, 0(r4) -lbl_802862E0: -/* 802862E0 00283220 7F E3 FB 78 */ mr r3, r31 -/* 802862E4 00283224 4B EA A6 25 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802862E8 00283228 38 60 00 10 */ li r3, 0x10 -/* 802862EC 0028322C 4B D9 DB B9 */ bl __nw__FUl -/* 802862F0 00283230 7C 64 1B 79 */ or. r4, r3, r3 -/* 802862F4 00283234 41 82 00 40 */ beq lbl_80286334 -/* 802862F8 00283238 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802862FC 0028323C 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80286300 00283240 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80286304 00283244 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor10StateFlick@ha -/* 80286308 00283248 90 04 00 00 */ stw r0, 0(r4) -/* 8028630C 0028324C 38 00 00 0C */ li r0, 0xc -/* 80286310 00283250 38 E0 00 00 */ li r7, 0 -/* 80286314 00283254 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 80286318 00283258 90 04 00 04 */ stw r0, 4(r4) -/* 8028631C 0028325C 38 A2 D4 14 */ addi r5, r2, lbl_8051B774@sda21 -/* 80286320 00283260 38 03 98 74 */ addi r0, r3, __vt__Q34Game5Armor10StateFlick@l -/* 80286324 00283264 90 E4 00 08 */ stw r7, 8(r4) -/* 80286328 00283268 90 C4 00 00 */ stw r6, 0(r4) -/* 8028632C 0028326C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80286330 00283270 90 04 00 00 */ stw r0, 0(r4) -lbl_80286334: -/* 80286334 00283274 7F E3 FB 78 */ mr r3, r31 -/* 80286338 00283278 4B EA A5 D1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8028633C 0028327C 38 60 00 10 */ li r3, 0x10 -/* 80286340 00283280 4B D9 DB 65 */ bl __nw__FUl -/* 80286344 00283284 7C 64 1B 79 */ or. r4, r3, r3 -/* 80286348 00283288 41 82 00 40 */ beq lbl_80286388 -/* 8028634C 0028328C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80286350 00283290 3C A0 80 4D */ lis r5, __vt__Q34Game5Armor5State@ha -/* 80286354 00283294 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80286358 00283298 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor9StateFail@ha -/* 8028635C 0028329C 90 04 00 00 */ stw r0, 0(r4) -/* 80286360 002832A0 38 00 00 0D */ li r0, 0xd -/* 80286364 002832A4 38 E0 00 00 */ li r7, 0 -/* 80286368 002832A8 38 C5 9A 48 */ addi r6, r5, __vt__Q34Game5Armor5State@l -/* 8028636C 002832AC 90 04 00 04 */ stw r0, 4(r4) -/* 80286370 002832B0 38 A2 D4 1C */ addi r5, r2, lbl_8051B77C@sda21 -/* 80286374 002832B4 38 03 98 50 */ addi r0, r3, __vt__Q34Game5Armor9StateFail@l -/* 80286378 002832B8 90 E4 00 08 */ stw r7, 8(r4) -/* 8028637C 002832BC 90 C4 00 00 */ stw r6, 0(r4) -/* 80286380 002832C0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80286384 002832C4 90 04 00 00 */ stw r0, 0(r4) -lbl_80286388: -/* 80286388 002832C8 7F E3 FB 78 */ mr r3, r31 -/* 8028638C 002832CC 4B EA A5 7D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80286390 002832D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80286394 002832D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80286398 002832D8 7C 08 03 A6 */ mtlr r0 -/* 8028639C 002832DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802863A0 002832E0 4E 80 00 20 */ blr - -.global init__Q34Game5Armor9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802863A4 002832E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802863A8 002832E8 7C 08 02 A6 */ mflr r0 -/* 802863AC 002832EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802863B0 002832F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802863B4 002832F4 7C 9F 23 78 */ mr r31, r4 -/* 802863B8 002832F8 7F E3 FB 78 */ mr r3, r31 -/* 802863BC 002832FC 4B E7 F3 65 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 802863C0 00283300 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802863C4 00283304 7F E3 FB 78 */ mr r3, r31 -/* 802863C8 00283308 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 802863CC 0028330C 38 80 00 00 */ li r4, 0 -/* 802863D0 00283310 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 802863D4 00283314 38 A0 00 00 */ li r5, 0 -/* 802863D8 00283318 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802863DC 0028331C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802863E0 00283320 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802863E4 00283324 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802863E8 00283328 4B E7 EC 1D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802863EC 0028332C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802863F0 00283330 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802863F4 00283334 7C 08 03 A6 */ mtlr r0 -/* 802863F8 00283338 38 21 00 10 */ addi r1, r1, 0x10 -/* 802863FC 0028333C 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor9StateDeadFPQ24Game9EnemyBase -exec__Q34Game5Armor9StateDeadFPQ24Game9EnemyBase: -/* 80286400 00283340 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80286404 00283344 7C 08 02 A6 */ mflr r0 -/* 80286408 00283348 7C 83 23 78 */ mr r3, r4 -/* 8028640C 0028334C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80286410 00283350 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80286414 00283354 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80286418 00283358 28 00 00 00 */ cmplwi r0, 0 -/* 8028641C 0028335C 41 82 00 64 */ beq lbl_80286480 -/* 80286420 00283360 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80286424 00283364 28 00 00 02 */ cmplwi r0, 2 -/* 80286428 00283368 40 82 00 48 */ bne lbl_80286470 -/* 8028642C 0028336C 81 84 00 00 */ lwz r12, 0(r4) -/* 80286430 00283370 38 61 00 08 */ addi r3, r1, 8 -/* 80286434 00283374 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286438 00283378 7D 89 03 A6 */ mtctr r12 -/* 8028643C 0028337C 4E 80 04 21 */ bctrl -/* 80286440 00283380 C0 41 00 08 */ lfs f2, 8(r1) -/* 80286444 00283384 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80286448 00283388 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8028644C 0028338C 38 80 00 09 */ li r4, 9 -/* 80286450 00283390 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80286454 00283394 38 C0 00 02 */ li r6, 2 -/* 80286458 00283398 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8028645C 0028339C 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80286460 002833A0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80286464 002833A4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80286468 002833A8 4B FC D3 19 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 8028646C 002833AC 48 00 00 14 */ b lbl_80286480 -lbl_80286470: -/* 80286470 002833B0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80286474 002833B4 40 82 00 0C */ bne lbl_80286480 -/* 80286478 002833B8 38 80 00 00 */ li r4, 0 -/* 8028647C 002833BC 4B EB 4C 75 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80286480: -/* 80286480 002833C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80286484 002833C4 7C 08 03 A6 */ mtlr r0 -/* 80286488 002833C8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028648C 002833CC 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game5Armor9StateDeadFPQ24Game9EnemyBase: -/* 80286490 002833D0 4E 80 00 20 */ blr - -.global init__Q34Game5Armor9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80286494 002833D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80286498 002833D8 7C 08 02 A6 */ mflr r0 -/* 8028649C 002833DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802864A0 002833E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802864A4 002833E4 7C 9F 23 78 */ mr r31, r4 -/* 802864A8 002833E8 7F E3 FB 78 */ mr r3, r31 -/* 802864AC 002833EC 4B E8 12 D1 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 802864B0 002833F0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802864B4 002833F4 7F E3 FB 78 */ mr r3, r31 -/* 802864B8 002833F8 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 802864BC 002833FC 38 80 00 01 */ li r4, 1 -/* 802864C0 00283400 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 802864C4 00283404 38 A0 00 00 */ li r5, 0 -/* 802864C8 00283408 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802864CC 0028340C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802864D0 00283410 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf -/* 802864D4 00283414 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802864D8 00283418 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802864DC 0028341C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802864E0 00283420 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802864E4 00283424 4B E7 EB 21 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802864E8 00283428 7F E3 FB 78 */ mr r3, r31 -/* 802864EC 0028342C 4B E8 0D F5 */ bl stopMotion__Q24Game9EnemyBaseFv -/* 802864F0 00283430 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802864F4 00283434 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802864F8 00283438 7C 08 03 A6 */ mtlr r0 -/* 802864FC 0028343C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80286500 00283440 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor9StateStayFPQ24Game9EnemyBase -exec__Q34Game5Armor9StateStayFPQ24Game9EnemyBase: -/* 80286504 00283444 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80286508 00283448 7C 08 02 A6 */ mflr r0 -/* 8028650C 0028344C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80286510 00283450 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80286514 00283454 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80286518 00283458 7C 9E 23 78 */ mr r30, r4 -/* 8028651C 0028345C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80286520 00283460 7C 7D 1B 78 */ mr r29, r3 -/* 80286524 00283464 7F C3 F3 78 */ mr r3, r30 -/* 80286528 00283468 4B FF 7E 75 */ bl setBridgeSearch__Q34Game5Armor3ObjFv -/* 8028652C 0028346C 80 FE 00 C0 */ lwz r7, 0xc0(r30) -/* 80286530 00283470 7F C3 F3 78 */ mr r3, r30 -/* 80286534 00283474 38 80 00 00 */ li r4, 0 -/* 80286538 00283478 38 A0 00 00 */ li r5, 0 -/* 8028653C 0028347C C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80286540 00283480 38 C0 00 00 */ li r6, 0 -/* 80286544 00283484 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80286548 00283488 4B E8 CB 09 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8028654C 0028348C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80286550 00283490 40 82 00 14 */ bne lbl_80286564 -/* 80286554 00283494 7F C3 F3 78 */ mr r3, r30 -/* 80286558 00283498 4B FF 83 05 */ bl isBreakBridge__Q34Game5Armor3ObjFv -/* 8028655C 0028349C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286560 002834A0 41 82 00 28 */ beq lbl_80286588 -lbl_80286564: -/* 80286564 002834A4 93 FE 02 30 */ stw r31, 0x230(r30) -/* 80286568 002834A8 7F A3 EB 78 */ mr r3, r29 -/* 8028656C 002834AC 7F C4 F3 78 */ mr r4, r30 -/* 80286570 002834B0 38 A0 00 02 */ li r5, 2 -/* 80286574 002834B4 81 9D 00 00 */ lwz r12, 0(r29) -/* 80286578 002834B8 38 C0 00 00 */ li r6, 0 -/* 8028657C 002834BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80286580 002834C0 7D 89 03 A6 */ mtctr r12 -/* 80286584 002834C4 4E 80 04 21 */ bctrl -lbl_80286588: -/* 80286588 002834C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028658C 002834CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80286590 002834D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80286594 002834D4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80286598 002834D8 7C 08 03 A6 */ mtlr r0 -/* 8028659C 002834DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 802865A0 002834E0 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor9StateStayFPQ24Game9EnemyBase -cleanup__Q34Game5Armor9StateStayFPQ24Game9EnemyBase: -/* 802865A4 002834E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802865A8 002834E8 7C 08 02 A6 */ mflr r0 -/* 802865AC 002834EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802865B0 002834F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802865B4 002834F4 7C 9F 23 78 */ mr r31, r4 -/* 802865B8 002834F8 7F E3 FB 78 */ mr r3, r31 -/* 802865BC 002834FC 4B E8 11 D9 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 802865C0 00283500 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802865C4 00283504 60 00 80 00 */ ori r0, r0, 0x8000 -/* 802865C8 00283508 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802865CC 0028350C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802865D0 00283510 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802865D4 00283514 7C 08 03 A6 */ mtlr r0 -/* 802865D8 00283518 38 21 00 10 */ addi r1, r1, 0x10 -/* 802865DC 0028351C 4E 80 00 20 */ blr - -.global init__Q34Game5Armor11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor11StateAppearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802865E0 00283520 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802865E4 00283524 7C 08 02 A6 */ mflr r0 -/* 802865E8 00283528 90 01 00 34 */ stw r0, 0x34(r1) -/* 802865EC 0028352C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802865F0 00283530 7C 9F 23 78 */ mr r31, r4 -/* 802865F4 00283534 7F E3 FB 78 */ mr r3, r31 -/* 802865F8 00283538 4B FF 78 A9 */ bl lifeIncrement__Q34Game5Armor3ObjFv -/* 802865FC 0028353C 7F E3 FB 78 */ mr r3, r31 -/* 80286600 00283540 4B E8 11 7D */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80286604 00283544 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80286608 00283548 7F E3 FB 78 */ mr r3, r31 -/* 8028660C 0028354C C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80286610 00283550 60 00 08 00 */ ori r0, r0, 0x800 -/* 80286614 00283554 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80286618 00283558 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8028661C 0028355C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80286620 00283560 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80286624 00283564 4B E7 B3 A9 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80286628 00283568 7F E3 FB 78 */ mr r3, r31 -/* 8028662C 0028356C 38 80 00 01 */ li r4, 1 -/* 80286630 00283570 38 A0 00 00 */ li r5, 0 -/* 80286634 00283574 4B E7 E9 D1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80286638 00283578 7F E3 FB 78 */ mr r3, r31 -/* 8028663C 0028357C 4B FF 8C 15 */ bl createAppearEffect__Q34Game5Armor3ObjFv -/* 80286640 00283580 7F E4 FB 78 */ mr r4, r31 -/* 80286644 00283584 38 61 00 08 */ addi r3, r1, 8 -/* 80286648 00283588 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028664C 0028358C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286650 00283590 7D 89 03 A6 */ mtctr r12 -/* 80286654 00283594 4E 80 04 21 */ bctrl -/* 80286658 00283598 C0 41 00 08 */ lfs f2, 8(r1) -/* 8028665C 0028359C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80286660 002835A0 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80286664 002835A4 38 80 00 0A */ li r4, 0xa -/* 80286668 002835A8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8028666C 002835AC 38 C0 00 02 */ li r6, 2 -/* 80286670 002835B0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80286674 002835B4 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80286678 002835B8 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8028667C 002835BC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80286680 002835C0 4B FC D1 01 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80286684 002835C4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80286688 002835C8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028668C 002835CC 7C 08 03 A6 */ mtlr r0 -/* 80286690 002835D0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80286694 002835D4 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor11StateAppearFPQ24Game9EnemyBase -exec__Q34Game5Armor11StateAppearFPQ24Game9EnemyBase: -/* 80286698 002835D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028669C 002835DC 7C 08 02 A6 */ mflr r0 -/* 802866A0 002835E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802866A4 002835E4 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 802866A8 002835E8 88 05 00 24 */ lbz r0, 0x24(r5) -/* 802866AC 002835EC 28 00 00 00 */ cmplwi r0, 0 -/* 802866B0 002835F0 41 82 00 A4 */ beq lbl_80286754 -/* 802866B4 002835F4 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 802866B8 002835F8 28 00 00 02 */ cmplwi r0, 2 -/* 802866BC 002835FC 40 82 00 48 */ bne lbl_80286704 -/* 802866C0 00283600 81 84 00 00 */ lwz r12, 0(r4) -/* 802866C4 00283604 38 61 00 08 */ addi r3, r1, 8 -/* 802866C8 00283608 81 8C 00 08 */ lwz r12, 8(r12) -/* 802866CC 0028360C 7D 89 03 A6 */ mtctr r12 -/* 802866D0 00283610 4E 80 04 21 */ bctrl -/* 802866D4 00283614 C0 41 00 08 */ lfs f2, 8(r1) -/* 802866D8 00283618 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802866DC 0028361C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802866E0 00283620 38 80 00 09 */ li r4, 9 -/* 802866E4 00283624 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802866E8 00283628 38 C0 00 02 */ li r6, 2 -/* 802866EC 0028362C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802866F0 00283630 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 802866F4 00283634 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802866F8 00283638 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802866FC 0028363C 4B FC D0 85 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80286700 00283640 48 00 00 54 */ b lbl_80286754 -lbl_80286704: -/* 80286704 00283644 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80286708 00283648 40 82 00 4C */ bne lbl_80286754 -/* 8028670C 0028364C C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80286710 00283650 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80286714 00283654 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286718 00283658 4C 40 13 82 */ cror 2, 0, 2 -/* 8028671C 0028365C 40 82 00 20 */ bne lbl_8028673C -/* 80286720 00283660 81 83 00 00 */ lwz r12, 0(r3) -/* 80286724 00283664 38 A0 00 00 */ li r5, 0 -/* 80286728 00283668 38 C0 00 00 */ li r6, 0 -/* 8028672C 0028366C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80286730 00283670 7D 89 03 A6 */ mtctr r12 -/* 80286734 00283674 4E 80 04 21 */ bctrl -/* 80286738 00283678 48 00 00 1C */ b lbl_80286754 -lbl_8028673C: -/* 8028673C 0028367C 81 83 00 00 */ lwz r12, 0(r3) -/* 80286740 00283680 38 A0 00 04 */ li r5, 4 -/* 80286744 00283684 38 C0 00 00 */ li r6, 0 -/* 80286748 00283688 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028674C 0028368C 7D 89 03 A6 */ mtctr r12 -/* 80286750 00283690 4E 80 04 21 */ bctrl -lbl_80286754: -/* 80286754 00283694 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80286758 00283698 7C 08 03 A6 */ mtlr r0 -/* 8028675C 0028369C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80286760 002836A0 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor11StateAppearFPQ24Game9EnemyBase -cleanup__Q34Game5Armor11StateAppearFPQ24Game9EnemyBase: -/* 80286764 002836A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80286768 002836A8 7C 08 02 A6 */ mflr r0 -/* 8028676C 002836AC 7C 83 23 78 */ mr r3, r4 -/* 80286770 002836B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80286774 002836B4 4B E8 10 21 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80286778 002836B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028677C 002836BC 7C 08 03 A6 */ mtlr r0 -/* 80286780 002836C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80286784 002836C4 4E 80 00 20 */ blr - -.global init__Q34Game5Armor9StateDiveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor9StateDiveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80286788 002836C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028678C 002836CC 7C 08 02 A6 */ mflr r0 -/* 80286790 002836D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80286794 002836D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80286798 002836D8 7C 9F 23 78 */ mr r31, r4 -/* 8028679C 002836DC 7F E3 FB 78 */ mr r3, r31 -/* 802867A0 002836E0 4B E8 0F DD */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 802867A4 002836E4 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 802867A8 002836E8 7F E3 FB 78 */ mr r3, r31 -/* 802867AC 002836EC D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802867B0 002836F0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802867B4 002836F4 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802867B8 002836F8 4B E7 B1 C5 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 802867BC 002836FC 7F E3 FB 78 */ mr r3, r31 -/* 802867C0 00283700 38 80 00 02 */ li r4, 2 -/* 802867C4 00283704 38 A0 00 00 */ li r5, 0 -/* 802867C8 00283708 4B E7 E8 3D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802867CC 0028370C 7F E3 FB 78 */ mr r3, r31 -/* 802867D0 00283710 4B FF 8B 0D */ bl createDisAppearEffect__Q34Game5Armor3ObjFv -/* 802867D4 00283714 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802867D8 00283718 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802867DC 0028371C 7C 08 03 A6 */ mtlr r0 -/* 802867E0 00283720 38 21 00 10 */ addi r1, r1, 0x10 -/* 802867E4 00283724 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor9StateDiveFPQ24Game9EnemyBase -exec__Q34Game5Armor9StateDiveFPQ24Game9EnemyBase: -/* 802867E8 00283728 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802867EC 0028372C 7C 08 02 A6 */ mflr r0 -/* 802867F0 00283730 90 01 00 24 */ stw r0, 0x24(r1) -/* 802867F4 00283734 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 802867F8 00283738 88 05 00 24 */ lbz r0, 0x24(r5) -/* 802867FC 0028373C 28 00 00 00 */ cmplwi r0, 0 -/* 80286800 00283740 41 82 00 74 */ beq lbl_80286874 -/* 80286804 00283744 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80286808 00283748 28 00 00 02 */ cmplwi r0, 2 -/* 8028680C 0028374C 40 82 00 48 */ bne lbl_80286854 -/* 80286810 00283750 81 84 00 00 */ lwz r12, 0(r4) -/* 80286814 00283754 38 61 00 08 */ addi r3, r1, 8 -/* 80286818 00283758 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028681C 0028375C 7D 89 03 A6 */ mtctr r12 -/* 80286820 00283760 4E 80 04 21 */ bctrl -/* 80286824 00283764 C0 41 00 08 */ lfs f2, 8(r1) -/* 80286828 00283768 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8028682C 0028376C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80286830 00283770 38 80 00 0A */ li r4, 0xa -/* 80286834 00283774 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80286838 00283778 38 C0 00 02 */ li r6, 2 -/* 8028683C 0028377C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80286840 00283780 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80286844 00283784 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80286848 00283788 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8028684C 0028378C 4B FC CF 35 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80286850 00283790 48 00 00 24 */ b lbl_80286874 -lbl_80286854: -/* 80286854 00283794 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80286858 00283798 40 82 00 1C */ bne lbl_80286874 -/* 8028685C 0028379C 81 83 00 00 */ lwz r12, 0(r3) -/* 80286860 002837A0 38 A0 00 01 */ li r5, 1 -/* 80286864 002837A4 38 C0 00 00 */ li r6, 0 -/* 80286868 002837A8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028686C 002837AC 7D 89 03 A6 */ mtctr r12 -/* 80286870 002837B0 4E 80 04 21 */ bctrl -lbl_80286874: -/* 80286874 002837B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80286878 002837B8 7C 08 03 A6 */ mtlr r0 -/* 8028687C 002837BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80286880 002837C0 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor9StateDiveFPQ24Game9EnemyBase -cleanup__Q34Game5Armor9StateDiveFPQ24Game9EnemyBase: -/* 80286884 002837C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80286888 002837C8 7C 08 02 A6 */ mflr r0 -/* 8028688C 002837CC 7C 83 23 78 */ mr r3, r4 -/* 80286890 002837D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80286894 002837D4 4B E8 0F 01 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80286898 002837D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028689C 002837DC 7C 08 03 A6 */ mtlr r0 -/* 802868A0 002837E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802868A4 002837E4 4E 80 00 20 */ blr - -.global init__Q34Game5Armor9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802868A8 002837E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802868AC 002837EC 7C 08 02 A6 */ mflr r0 -/* 802868B0 002837F0 7C 83 23 78 */ mr r3, r4 -/* 802868B4 002837F4 38 80 00 03 */ li r4, 3 -/* 802868B8 002837F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802868BC 002837FC 38 00 FF FF */ li r0, -1 -/* 802868C0 00283800 38 A0 00 00 */ li r5, 0 -/* 802868C4 00283804 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 802868C8 00283808 4B E7 E7 3D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802868CC 0028380C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802868D0 00283810 7C 08 03 A6 */ mtlr r0 -/* 802868D4 00283814 38 21 00 10 */ addi r1, r1, 0x10 -/* 802868D8 00283818 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor9StateMoveFPQ24Game9EnemyBase -exec__Q34Game5Armor9StateMoveFPQ24Game9EnemyBase: -/* 802868DC 0028381C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 802868E0 00283820 7C 08 02 A6 */ mflr r0 -/* 802868E4 00283824 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 802868E8 00283828 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 802868EC 0028382C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 802868F0 00283830 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 802868F4 00283834 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 802868F8 00283838 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 802868FC 0028383C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 80286900 00283840 DB 81 00 B0 */ stfd f28, 0xb0(r1) -/* 80286904 00283844 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 -/* 80286908 00283848 DB 61 00 A0 */ stfd f27, 0xa0(r1) -/* 8028690C 0028384C F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 -/* 80286910 00283850 DB 41 00 90 */ stfd f26, 0x90(r1) -/* 80286914 00283854 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 -/* 80286918 00283858 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8028691C 0028385C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80286920 00283860 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80286924 00283864 93 81 00 80 */ stw r28, 0x80(r1) -/* 80286928 00283868 7C 9F 23 78 */ mr r31, r4 -/* 8028692C 0028386C 7C 7E 1B 78 */ mr r30, r3 -/* 80286930 00283870 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80286934 00283874 38 80 00 00 */ li r4, 0 -/* 80286938 00283878 7F E3 FB 78 */ mr r3, r31 -/* 8028693C 0028387C 38 A0 00 00 */ li r5, 0 -/* 80286940 00283880 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80286944 00283884 38 C0 00 00 */ li r6, 0 -/* 80286948 00283888 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 8028694C 0028388C 4B E8 C7 05 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80286950 00283890 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80286954 00283894 41 82 03 4C */ beq lbl_80286CA0 -/* 80286958 00283898 93 9F 02 30 */ stw r28, 0x230(r31) -/* 8028695C 0028389C 7F 84 E3 78 */ mr r4, r28 -/* 80286960 002838A0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80286964 002838A4 81 9C 00 00 */ lwz r12, 0(r28) -/* 80286968 002838A8 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8028696C 002838AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286970 002838B0 C3 A5 03 34 */ lfs f29, 0x334(r5) -/* 80286974 002838B4 C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 80286978 002838B8 7D 89 03 A6 */ mtctr r12 -/* 8028697C 002838BC 4E 80 04 21 */ bctrl -/* 80286980 002838C0 7F E4 FB 78 */ mr r4, r31 -/* 80286984 002838C4 38 61 00 5C */ addi r3, r1, 0x5c -/* 80286988 002838C8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028698C 002838CC C3 41 00 50 */ lfs f26, 0x50(r1) -/* 80286990 002838D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286994 002838D4 C3 61 00 58 */ lfs f27, 0x58(r1) -/* 80286998 002838D8 7D 89 03 A6 */ mtctr r12 -/* 8028699C 002838DC 4E 80 04 21 */ bctrl -/* 802869A0 002838E0 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 802869A4 002838E4 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802869A8 002838E8 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 802869AC 002838EC 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 802869B0 002838F0 EC 3A 08 28 */ fsubs f1, f26, f1 -/* 802869B4 002838F4 EC 5B 00 28 */ fsubs f2, f27, f0 -/* 802869B8 002838F8 4B DA E7 51 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 802869BC 002838FC 48 18 B2 15 */ bl roundAng__Ff -/* 802869C0 00283900 81 9F 00 00 */ lwz r12, 0(r31) -/* 802869C4 00283904 FF 40 08 90 */ fmr f26, f1 -/* 802869C8 00283908 7F E3 FB 78 */ mr r3, r31 -/* 802869CC 0028390C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802869D0 00283910 7D 89 03 A6 */ mtctr r12 -/* 802869D4 00283914 4E 80 04 21 */ bctrl -/* 802869D8 00283918 FC 40 08 90 */ fmr f2, f1 -/* 802869DC 0028391C FC 20 D0 90 */ fmr f1, f26 -/* 802869E0 00283920 48 18 B2 1D */ bl angDist__Fff -/* 802869E4 00283924 FF E0 08 90 */ fmr f31, f1 -/* 802869E8 00283928 C0 02 D4 2C */ lfs f0, lbl_8051B78C@sda21(r2) -/* 802869EC 0028392C C0 22 D4 28 */ lfs f1, lbl_8051B788@sda21(r2) -/* 802869F0 00283930 EC 00 07 72 */ fmuls f0, f0, f29 -/* 802869F4 00283934 EF 9F 07 B2 */ fmuls f28, f31, f30 -/* 802869F8 00283938 EC 21 00 32 */ fmuls f1, f1, f0 -/* 802869FC 0028393C FC 00 E2 10 */ fabs f0, f28 -/* 80286A00 00283940 FC 00 00 18 */ frsp f0, f0 -/* 80286A04 00283944 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80286A08 00283948 40 81 00 1C */ ble lbl_80286A24 -/* 80286A0C 0028394C C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80286A10 00283950 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80286A14 00283954 40 81 00 0C */ ble lbl_80286A20 -/* 80286A18 00283958 FF 80 08 90 */ fmr f28, f1 -/* 80286A1C 0028395C 48 00 00 08 */ b lbl_80286A24 -lbl_80286A20: -/* 80286A20 00283960 FF 80 08 50 */ fneg f28, f1 -lbl_80286A24: -/* 80286A24 00283964 7F E3 FB 78 */ mr r3, r31 -/* 80286A28 00283968 81 9F 00 00 */ lwz r12, 0(r31) -/* 80286A2C 0028396C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80286A30 00283970 7D 89 03 A6 */ mtctr r12 -/* 80286A34 00283974 4E 80 04 21 */ bctrl -/* 80286A38 00283978 EC 3C 08 2A */ fadds f1, f28, f1 -/* 80286A3C 0028397C 48 18 B1 95 */ bl roundAng__Ff -/* 80286A40 00283980 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 80286A44 00283984 7F E3 FB 78 */ mr r3, r31 -/* 80286A48 00283988 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80286A4C 0028398C D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80286A50 00283990 81 9F 00 00 */ lwz r12, 0(r31) -/* 80286A54 00283994 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80286A58 00283998 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80286A5C 0028399C C3 A4 02 E4 */ lfs f29, 0x2e4(r4) -/* 80286A60 002839A0 7D 89 03 A6 */ mtctr r12 -/* 80286A64 002839A4 4E 80 04 21 */ bctrl -/* 80286A68 002839A8 4B E4 8D B5 */ bl sin -/* 80286A6C 002839AC 7F E3 FB 78 */ mr r3, r31 -/* 80286A70 002839B0 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 80286A74 002839B4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80286A78 002839B8 FF 40 08 18 */ frsp f26, f1 -/* 80286A7C 002839BC C3 DF 01 D8 */ lfs f30, 0x1d8(r31) -/* 80286A80 002839C0 C0 1F 01 DC */ lfs f0, 0x1dc(r31) -/* 80286A84 002839C4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80286A88 002839C8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80286A8C 002839CC D3 C1 00 78 */ stfs f30, 0x78(r1) -/* 80286A90 002839D0 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80286A94 002839D4 7D 89 03 A6 */ mtctr r12 -/* 80286A98 002839D8 4E 80 04 21 */ bctrl -/* 80286A9C 002839DC 4B E4 88 19 */ bl cos -/* 80286AA0 002839E0 EC 1D 06 B2 */ fmuls f0, f29, f26 -/* 80286AA4 002839E4 7F E4 FB 78 */ mr r4, r31 -/* 80286AA8 002839E8 FC 20 08 18 */ frsp f1, f1 -/* 80286AAC 002839EC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80286AB0 002839F0 3B A0 00 00 */ li r29, 0 -/* 80286AB4 002839F4 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80286AB8 002839F8 EC 1D 00 72 */ fmuls f0, f29, f1 -/* 80286ABC 002839FC D3 DF 01 D8 */ stfs f30, 0x1d8(r31) -/* 80286AC0 00283A00 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80286AC4 00283A04 81 9F 00 00 */ lwz r12, 0(r31) -/* 80286AC8 00283A08 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80286ACC 00283A0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286AD0 00283A10 C3 85 05 8C */ lfs f28, 0x58c(r5) -/* 80286AD4 00283A14 C3 A5 05 64 */ lfs f29, 0x564(r5) -/* 80286AD8 00283A18 7D 89 03 A6 */ mtctr r12 -/* 80286ADC 00283A1C 4E 80 04 21 */ bctrl -/* 80286AE0 00283A20 7F 84 E3 78 */ mr r4, r28 -/* 80286AE4 00283A24 38 61 00 08 */ addi r3, r1, 8 -/* 80286AE8 00283A28 81 9C 00 00 */ lwz r12, 0(r28) -/* 80286AEC 00283A2C C3 C1 00 14 */ lfs f30, 0x14(r1) -/* 80286AF0 00283A30 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286AF4 00283A34 7D 89 03 A6 */ mtctr r12 -/* 80286AF8 00283A38 4E 80 04 21 */ bctrl -/* 80286AFC 00283A3C 7F E4 FB 78 */ mr r4, r31 -/* 80286B00 00283A40 C0 01 00 08 */ lfs f0, 8(r1) -/* 80286B04 00283A44 81 9F 00 00 */ lwz r12, 0(r31) -/* 80286B08 00283A48 38 61 00 2C */ addi r3, r1, 0x2c -/* 80286B0C 00283A4C EF 40 F0 28 */ fsubs f26, f0, f30 -/* 80286B10 00283A50 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286B14 00283A54 7D 89 03 A6 */ mtctr r12 -/* 80286B18 00283A58 4E 80 04 21 */ bctrl -/* 80286B1C 00283A5C 7F 84 E3 78 */ mr r4, r28 -/* 80286B20 00283A60 38 61 00 20 */ addi r3, r1, 0x20 -/* 80286B24 00283A64 81 9C 00 00 */ lwz r12, 0(r28) -/* 80286B28 00283A68 C3 C1 00 30 */ lfs f30, 0x30(r1) -/* 80286B2C 00283A6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286B30 00283A70 7D 89 03 A6 */ mtctr r12 -/* 80286B34 00283A74 4E 80 04 21 */ bctrl -/* 80286B38 00283A78 7F E4 FB 78 */ mr r4, r31 -/* 80286B3C 00283A7C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80286B40 00283A80 81 9F 00 00 */ lwz r12, 0(r31) -/* 80286B44 00283A84 38 61 00 44 */ addi r3, r1, 0x44 -/* 80286B48 00283A88 EF 60 F0 28 */ fsubs f27, f0, f30 -/* 80286B4C 00283A8C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286B50 00283A90 7D 89 03 A6 */ mtctr r12 -/* 80286B54 00283A94 4E 80 04 21 */ bctrl -/* 80286B58 00283A98 7F 84 E3 78 */ mr r4, r28 -/* 80286B5C 00283A9C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80286B60 00283AA0 81 9C 00 00 */ lwz r12, 0(r28) -/* 80286B64 00283AA4 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 80286B68 00283AA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286B6C 00283AAC 7D 89 03 A6 */ mtctr r12 -/* 80286B70 00283AB0 4E 80 04 21 */ bctrl -/* 80286B74 00283AB4 EC 3B 06 F2 */ fmuls f1, f27, f27 -/* 80286B78 00283AB8 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80286B7C 00283ABC EC 1D 07 72 */ fmuls f0, f29, f29 -/* 80286B80 00283AC0 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 80286B84 00283AC4 EC 3A 0E BA */ fmadds f1, f26, f26, f1 -/* 80286B88 00283AC8 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80286B8C 00283ACC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286B90 00283AD0 40 80 00 2C */ bge lbl_80286BBC -/* 80286B94 00283AD4 C0 02 D4 2C */ lfs f0, lbl_8051B78C@sda21(r2) -/* 80286B98 00283AD8 FC 40 FA 10 */ fabs f2, f31 -/* 80286B9C 00283ADC C0 22 D4 28 */ lfs f1, lbl_8051B788@sda21(r2) -/* 80286BA0 00283AE0 EC 00 07 32 */ fmuls f0, f0, f28 -/* 80286BA4 00283AE4 FC 40 10 18 */ frsp f2, f2 -/* 80286BA8 00283AE8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80286BAC 00283AEC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80286BB0 00283AF0 4C 40 13 82 */ cror 2, 0, 2 -/* 80286BB4 00283AF4 40 82 00 08 */ bne lbl_80286BBC -/* 80286BB8 00283AF8 3B A0 00 01 */ li r29, 1 -lbl_80286BBC: -/* 80286BBC 00283AFC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80286BC0 00283B00 41 82 00 18 */ beq lbl_80286BD8 -/* 80286BC4 00283B04 38 00 00 0A */ li r0, 0xa -/* 80286BC8 00283B08 7F E3 FB 78 */ mr r3, r31 -/* 80286BCC 00283B0C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286BD0 00283B10 4B E7 E6 D1 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80286BD4 00283B14 48 00 01 04 */ b lbl_80286CD8 -lbl_80286BD8: -/* 80286BD8 00283B18 7F E4 FB 78 */ mr r4, r31 -/* 80286BDC 00283B1C 38 61 00 68 */ addi r3, r1, 0x68 -/* 80286BE0 00283B20 81 9F 00 00 */ lwz r12, 0(r31) -/* 80286BE4 00283B24 C3 5F 01 98 */ lfs f26, 0x198(r31) -/* 80286BE8 00283B28 81 8C 00 08 */ lwz r12, 8(r12) -/* 80286BEC 00283B2C C3 7F 01 9C */ lfs f27, 0x19c(r31) -/* 80286BF0 00283B30 C3 9F 01 A0 */ lfs f28, 0x1a0(r31) -/* 80286BF4 00283B34 7D 89 03 A6 */ mtctr r12 -/* 80286BF8 00283B38 4E 80 04 21 */ bctrl -/* 80286BFC 00283B3C C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80286C00 00283B40 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 80286C04 00283B44 EC 60 D8 28 */ fsubs f3, f0, f27 -/* 80286C08 00283B48 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 80286C0C 00283B4C EC 42 D0 28 */ fsubs f2, f2, f26 -/* 80286C10 00283B50 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80286C14 00283B54 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80286C18 00283B58 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80286C1C 00283B5C EC 81 00 72 */ fmuls f4, f1, f1 -/* 80286C20 00283B60 EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 80286C24 00283B64 EC 24 08 2A */ fadds f1, f4, f1 -/* 80286C28 00283B68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286C2C 00283B6C 40 81 00 14 */ ble lbl_80286C40 -/* 80286C30 00283B70 40 81 00 14 */ ble lbl_80286C44 -/* 80286C34 00283B74 FC 00 08 34 */ frsqrte f0, f1 -/* 80286C38 00283B78 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80286C3C 00283B7C 48 00 00 08 */ b lbl_80286C44 -lbl_80286C40: -/* 80286C40 00283B80 FC 20 00 90 */ fmr f1, f0 -lbl_80286C44: -/* 80286C44 00283B84 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 80286C48 00283B88 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 80286C4C 00283B8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286C50 00283B90 40 81 00 18 */ ble lbl_80286C68 -/* 80286C54 00283B94 38 00 00 08 */ li r0, 8 -/* 80286C58 00283B98 7F E3 FB 78 */ mr r3, r31 -/* 80286C5C 00283B9C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286C60 00283BA0 4B E7 E6 41 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80286C64 00283BA4 48 00 00 74 */ b lbl_80286CD8 -lbl_80286C68: -/* 80286C68 00283BA8 C0 24 05 8C */ lfs f1, 0x58c(r4) -/* 80286C6C 00283BAC 7F E3 FB 78 */ mr r3, r31 -/* 80286C70 00283BB0 C0 44 05 64 */ lfs f2, 0x564(r4) -/* 80286C74 00283BB4 38 80 00 00 */ li r4, 0 -/* 80286C78 00283BB8 38 A0 00 00 */ li r5, 0 -/* 80286C7C 00283BBC 38 C0 00 00 */ li r6, 0 -/* 80286C80 00283BC0 4B E8 C3 D1 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80286C84 00283BC4 28 03 00 00 */ cmplwi r3, 0 -/* 80286C88 00283BC8 41 82 00 50 */ beq lbl_80286CD8 -/* 80286C8C 00283BCC 38 00 00 0A */ li r0, 0xa -/* 80286C90 00283BD0 7F E3 FB 78 */ mr r3, r31 -/* 80286C94 00283BD4 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286C98 00283BD8 4B E7 E6 09 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80286C9C 00283BDC 48 00 00 3C */ b lbl_80286CD8 -lbl_80286CA0: -/* 80286CA0 00283BE0 7F E3 FB 78 */ mr r3, r31 -/* 80286CA4 00283BE4 4B FF 7B B9 */ bl isBreakBridge__Q34Game5Armor3ObjFv -/* 80286CA8 00283BE8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286CAC 00283BEC 41 82 00 1C */ beq lbl_80286CC8 -/* 80286CB0 00283BF0 7F E3 FB 78 */ mr r3, r31 -/* 80286CB4 00283BF4 4B FF 79 F5 */ bl checkBreakOrMove__Q34Game5Armor3ObjFv -/* 80286CB8 00283BF8 90 7F 02 C4 */ stw r3, 0x2c4(r31) -/* 80286CBC 00283BFC 7F E3 FB 78 */ mr r3, r31 -/* 80286CC0 00283C00 4B E7 E5 E1 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80286CC4 00283C04 48 00 00 14 */ b lbl_80286CD8 -lbl_80286CC8: -/* 80286CC8 00283C08 38 00 00 08 */ li r0, 8 -/* 80286CCC 00283C0C 7F E3 FB 78 */ mr r3, r31 -/* 80286CD0 00283C10 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286CD4 00283C14 4B E7 E5 CD */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80286CD8: -/* 80286CD8 00283C18 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80286CDC 00283C1C C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80286CE0 00283C20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286CE4 00283C24 4C 40 13 82 */ cror 2, 0, 2 -/* 80286CE8 00283C28 40 82 00 28 */ bne lbl_80286D10 -/* 80286CEC 00283C2C 7F C3 F3 78 */ mr r3, r30 -/* 80286CF0 00283C30 7F E4 FB 78 */ mr r4, r31 -/* 80286CF4 00283C34 81 9E 00 00 */ lwz r12, 0(r30) -/* 80286CF8 00283C38 38 A0 00 00 */ li r5, 0 -/* 80286CFC 00283C3C 38 C0 00 00 */ li r6, 0 -/* 80286D00 00283C40 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80286D04 00283C44 7D 89 03 A6 */ mtctr r12 -/* 80286D08 00283C48 4E 80 04 21 */ bctrl -/* 80286D0C 00283C4C 48 00 00 78 */ b lbl_80286D84 -lbl_80286D10: -/* 80286D10 00283C50 7F E3 FB 78 */ mr r3, r31 -/* 80286D14 00283C54 38 80 00 01 */ li r4, 1 -/* 80286D18 00283C58 4B E8 D9 41 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80286D1C 00283C5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286D20 00283C60 41 82 00 28 */ beq lbl_80286D48 -/* 80286D24 00283C64 7F C3 F3 78 */ mr r3, r30 -/* 80286D28 00283C68 7F E4 FB 78 */ mr r4, r31 -/* 80286D2C 00283C6C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80286D30 00283C70 38 A0 00 0C */ li r5, 0xc -/* 80286D34 00283C74 38 C0 00 00 */ li r6, 0 -/* 80286D38 00283C78 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80286D3C 00283C7C 7D 89 03 A6 */ mtctr r12 -/* 80286D40 00283C80 4E 80 04 21 */ bctrl -/* 80286D44 00283C84 48 00 00 40 */ b lbl_80286D84 -lbl_80286D48: -/* 80286D48 00283C88 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80286D4C 00283C8C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80286D50 00283C90 28 00 00 00 */ cmplwi r0, 0 -/* 80286D54 00283C94 41 82 00 30 */ beq lbl_80286D84 -/* 80286D58 00283C98 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80286D5C 00283C9C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80286D60 00283CA0 40 82 00 24 */ bne lbl_80286D84 -/* 80286D64 00283CA4 7F C3 F3 78 */ mr r3, r30 -/* 80286D68 00283CA8 7F E4 FB 78 */ mr r4, r31 -/* 80286D6C 00283CAC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80286D70 00283CB0 38 C0 00 00 */ li r6, 0 -/* 80286D74 00283CB4 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80286D78 00283CB8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80286D7C 00283CBC 7D 89 03 A6 */ mtctr r12 -/* 80286D80 00283CC0 4E 80 04 21 */ bctrl -lbl_80286D84: -/* 80286D84 00283CC4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 80286D88 00283CC8 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 80286D8C 00283CCC E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 80286D90 00283CD0 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 80286D94 00283CD4 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 80286D98 00283CD8 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 80286D9C 00283CDC E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 -/* 80286DA0 00283CE0 CB 81 00 B0 */ lfd f28, 0xb0(r1) -/* 80286DA4 00283CE4 E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 -/* 80286DA8 00283CE8 CB 61 00 A0 */ lfd f27, 0xa0(r1) -/* 80286DAC 00283CEC E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 -/* 80286DB0 00283CF0 CB 41 00 90 */ lfd f26, 0x90(r1) -/* 80286DB4 00283CF4 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80286DB8 00283CF8 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80286DBC 00283CFC 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 80286DC0 00283D00 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80286DC4 00283D04 83 81 00 80 */ lwz r28, 0x80(r1) -/* 80286DC8 00283D08 7C 08 03 A6 */ mtlr r0 -/* 80286DCC 00283D0C 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 80286DD0 00283D10 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game5Armor9StateMoveFPQ24Game9EnemyBase: -/* 80286DD4 00283D14 4E 80 00 20 */ blr - -.global init__Q34Game5Armor13StateMoveSideFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor13StateMoveSideFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80286DD8 00283D18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80286DDC 00283D1C 7C 08 02 A6 */ mflr r0 -/* 80286DE0 00283D20 7C 83 23 78 */ mr r3, r4 -/* 80286DE4 00283D24 38 80 00 03 */ li r4, 3 -/* 80286DE8 00283D28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80286DEC 00283D2C 38 00 FF FF */ li r0, -1 -/* 80286DF0 00283D30 38 A0 00 00 */ li r5, 0 -/* 80286DF4 00283D34 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 80286DF8 00283D38 4B E7 E2 0D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80286DFC 00283D3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80286E00 00283D40 7C 08 03 A6 */ mtlr r0 -/* 80286E04 00283D44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80286E08 00283D48 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor13StateMoveSideFPQ24Game9EnemyBase -exec__Q34Game5Armor13StateMoveSideFPQ24Game9EnemyBase: -/* 80286E0C 00283D4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80286E10 00283D50 7C 08 02 A6 */ mflr r0 -/* 80286E14 00283D54 38 A0 00 00 */ li r5, 0 -/* 80286E18 00283D58 38 C0 00 00 */ li r6, 0 -/* 80286E1C 00283D5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80286E20 00283D60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80286E24 00283D64 7C 9F 23 78 */ mr r31, r4 -/* 80286E28 00283D68 38 80 00 00 */ li r4, 0 -/* 80286E2C 00283D6C 93 C1 00 08 */ stw r30, 8(r1) -/* 80286E30 00283D70 7C 7E 1B 78 */ mr r30, r3 -/* 80286E34 00283D74 7F E3 FB 78 */ mr r3, r31 -/* 80286E38 00283D78 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80286E3C 00283D7C C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80286E40 00283D80 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80286E44 00283D84 4B E8 C2 0D */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80286E48 00283D88 28 03 00 00 */ cmplwi r3, 0 -/* 80286E4C 00283D8C 41 82 00 18 */ beq lbl_80286E64 -/* 80286E50 00283D90 38 00 00 04 */ li r0, 4 -/* 80286E54 00283D94 7F E3 FB 78 */ mr r3, r31 -/* 80286E58 00283D98 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286E5C 00283D9C 4B E7 E4 45 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80286E60 00283DA0 48 00 00 48 */ b lbl_80286EA8 -lbl_80286E64: -/* 80286E64 00283DA4 7F E3 FB 78 */ mr r3, r31 -/* 80286E68 00283DA8 4B FF 79 F5 */ bl isBreakBridge__Q34Game5Armor3ObjFv -/* 80286E6C 00283DAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286E70 00283DB0 41 82 00 28 */ beq lbl_80286E98 -/* 80286E74 00283DB4 7F E3 FB 78 */ mr r3, r31 -/* 80286E78 00283DB8 4B FF 7A 0D */ bl moveBridgeSide__Q34Game5Armor3ObjFv -/* 80286E7C 00283DBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286E80 00283DC0 41 82 00 28 */ beq lbl_80286EA8 -/* 80286E84 00283DC4 38 00 00 06 */ li r0, 6 -/* 80286E88 00283DC8 7F E3 FB 78 */ mr r3, r31 -/* 80286E8C 00283DCC 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286E90 00283DD0 4B E7 E4 11 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80286E94 00283DD4 48 00 00 14 */ b lbl_80286EA8 -lbl_80286E98: -/* 80286E98 00283DD8 38 00 00 08 */ li r0, 8 -/* 80286E9C 00283DDC 7F E3 FB 78 */ mr r3, r31 -/* 80286EA0 00283DE0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286EA4 00283DE4 4B E7 E3 FD */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80286EA8: -/* 80286EA8 00283DE8 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80286EAC 00283DEC C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80286EB0 00283DF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80286EB4 00283DF4 4C 40 13 82 */ cror 2, 0, 2 -/* 80286EB8 00283DF8 40 82 00 28 */ bne lbl_80286EE0 -/* 80286EBC 00283DFC 7F C3 F3 78 */ mr r3, r30 -/* 80286EC0 00283E00 7F E4 FB 78 */ mr r4, r31 -/* 80286EC4 00283E04 81 9E 00 00 */ lwz r12, 0(r30) -/* 80286EC8 00283E08 38 A0 00 00 */ li r5, 0 -/* 80286ECC 00283E0C 38 C0 00 00 */ li r6, 0 -/* 80286ED0 00283E10 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80286ED4 00283E14 7D 89 03 A6 */ mtctr r12 -/* 80286ED8 00283E18 4E 80 04 21 */ bctrl -/* 80286EDC 00283E1C 48 00 00 40 */ b lbl_80286F1C -lbl_80286EE0: -/* 80286EE0 00283E20 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80286EE4 00283E24 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80286EE8 00283E28 28 00 00 00 */ cmplwi r0, 0 -/* 80286EEC 00283E2C 41 82 00 30 */ beq lbl_80286F1C -/* 80286EF0 00283E30 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80286EF4 00283E34 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80286EF8 00283E38 40 82 00 24 */ bne lbl_80286F1C -/* 80286EFC 00283E3C 7F C3 F3 78 */ mr r3, r30 -/* 80286F00 00283E40 7F E4 FB 78 */ mr r4, r31 -/* 80286F04 00283E44 81 9E 00 00 */ lwz r12, 0(r30) -/* 80286F08 00283E48 38 C0 00 00 */ li r6, 0 -/* 80286F0C 00283E4C 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80286F10 00283E50 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80286F14 00283E54 7D 89 03 A6 */ mtctr r12 -/* 80286F18 00283E58 4E 80 04 21 */ bctrl -lbl_80286F1C: -/* 80286F1C 00283E5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80286F20 00283E60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80286F24 00283E64 83 C1 00 08 */ lwz r30, 8(r1) -/* 80286F28 00283E68 7C 08 03 A6 */ mtlr r0 -/* 80286F2C 00283E6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80286F30 00283E70 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor13StateMoveSideFPQ24Game9EnemyBase -cleanup__Q34Game5Armor13StateMoveSideFPQ24Game9EnemyBase: -/* 80286F34 00283E74 4E 80 00 20 */ blr - -.global init__Q34Game5Armor15StateMoveCentreFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor15StateMoveCentreFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80286F38 00283E78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80286F3C 00283E7C 7C 08 02 A6 */ mflr r0 -/* 80286F40 00283E80 7C 83 23 78 */ mr r3, r4 -/* 80286F44 00283E84 38 80 00 03 */ li r4, 3 -/* 80286F48 00283E88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80286F4C 00283E8C 38 00 FF FF */ li r0, -1 -/* 80286F50 00283E90 38 A0 00 00 */ li r5, 0 -/* 80286F54 00283E94 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 80286F58 00283E98 4B E7 E0 AD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80286F5C 00283E9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80286F60 00283EA0 7C 08 03 A6 */ mtlr r0 -/* 80286F64 00283EA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80286F68 00283EA8 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor15StateMoveCentreFPQ24Game9EnemyBase -exec__Q34Game5Armor15StateMoveCentreFPQ24Game9EnemyBase: -/* 80286F6C 00283EAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80286F70 00283EB0 7C 08 02 A6 */ mflr r0 -/* 80286F74 00283EB4 38 A0 00 00 */ li r5, 0 -/* 80286F78 00283EB8 38 C0 00 00 */ li r6, 0 -/* 80286F7C 00283EBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80286F80 00283EC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80286F84 00283EC4 7C 9F 23 78 */ mr r31, r4 -/* 80286F88 00283EC8 38 80 00 00 */ li r4, 0 -/* 80286F8C 00283ECC 93 C1 00 08 */ stw r30, 8(r1) -/* 80286F90 00283ED0 7C 7E 1B 78 */ mr r30, r3 -/* 80286F94 00283ED4 7F E3 FB 78 */ mr r3, r31 -/* 80286F98 00283ED8 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80286F9C 00283EDC C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80286FA0 00283EE0 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80286FA4 00283EE4 4B E8 C0 AD */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80286FA8 00283EE8 28 03 00 00 */ cmplwi r3, 0 -/* 80286FAC 00283EEC 41 82 00 18 */ beq lbl_80286FC4 -/* 80286FB0 00283EF0 38 00 00 04 */ li r0, 4 -/* 80286FB4 00283EF4 7F E3 FB 78 */ mr r3, r31 -/* 80286FB8 00283EF8 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286FBC 00283EFC 4B E7 E2 E5 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80286FC0 00283F00 48 00 00 48 */ b lbl_80287008 -lbl_80286FC4: -/* 80286FC4 00283F04 7F E3 FB 78 */ mr r3, r31 -/* 80286FC8 00283F08 4B FF 78 95 */ bl isBreakBridge__Q34Game5Armor3ObjFv -/* 80286FCC 00283F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286FD0 00283F10 41 82 00 28 */ beq lbl_80286FF8 -/* 80286FD4 00283F14 7F E3 FB 78 */ mr r3, r31 -/* 80286FD8 00283F18 4B FF 7B 55 */ bl moveBridgeCentre__Q34Game5Armor3ObjFv -/* 80286FDC 00283F1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80286FE0 00283F20 41 82 00 28 */ beq lbl_80287008 -/* 80286FE4 00283F24 38 00 00 07 */ li r0, 7 -/* 80286FE8 00283F28 7F E3 FB 78 */ mr r3, r31 -/* 80286FEC 00283F2C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80286FF0 00283F30 4B E7 E2 B1 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80286FF4 00283F34 48 00 00 14 */ b lbl_80287008 -lbl_80286FF8: -/* 80286FF8 00283F38 38 00 00 08 */ li r0, 8 -/* 80286FFC 00283F3C 7F E3 FB 78 */ mr r3, r31 -/* 80287000 00283F40 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80287004 00283F44 4B E7 E2 9D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80287008: -/* 80287008 00283F48 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8028700C 00283F4C C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287010 00283F50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287014 00283F54 4C 40 13 82 */ cror 2, 0, 2 -/* 80287018 00283F58 40 82 00 28 */ bne lbl_80287040 -/* 8028701C 00283F5C 7F C3 F3 78 */ mr r3, r30 -/* 80287020 00283F60 7F E4 FB 78 */ mr r4, r31 -/* 80287024 00283F64 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287028 00283F68 38 A0 00 00 */ li r5, 0 -/* 8028702C 00283F6C 38 C0 00 00 */ li r6, 0 -/* 80287030 00283F70 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287034 00283F74 7D 89 03 A6 */ mtctr r12 -/* 80287038 00283F78 4E 80 04 21 */ bctrl -/* 8028703C 00283F7C 48 00 00 40 */ b lbl_8028707C -lbl_80287040: -/* 80287040 00283F80 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80287044 00283F84 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80287048 00283F88 28 00 00 00 */ cmplwi r0, 0 -/* 8028704C 00283F8C 41 82 00 30 */ beq lbl_8028707C -/* 80287050 00283F90 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80287054 00283F94 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80287058 00283F98 40 82 00 24 */ bne lbl_8028707C -/* 8028705C 00283F9C 7F C3 F3 78 */ mr r3, r30 -/* 80287060 00283FA0 7F E4 FB 78 */ mr r4, r31 -/* 80287064 00283FA4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287068 00283FA8 38 C0 00 00 */ li r6, 0 -/* 8028706C 00283FAC 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80287070 00283FB0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287074 00283FB4 7D 89 03 A6 */ mtctr r12 -/* 80287078 00283FB8 4E 80 04 21 */ bctrl -lbl_8028707C: -/* 8028707C 00283FBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287080 00283FC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80287084 00283FC4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80287088 00283FC8 7C 08 03 A6 */ mtlr r0 -/* 8028708C 00283FCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287090 00283FD0 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor15StateMoveCentreFPQ24Game9EnemyBase -cleanup__Q34Game5Armor15StateMoveCentreFPQ24Game9EnemyBase: -/* 80287094 00283FD4 4E 80 00 20 */ blr - -.global init__Q34Game5Armor12StateMoveTopFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor12StateMoveTopFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80287098 00283FD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028709C 00283FDC 7C 08 02 A6 */ mflr r0 -/* 802870A0 00283FE0 7C 83 23 78 */ mr r3, r4 -/* 802870A4 00283FE4 38 80 00 03 */ li r4, 3 -/* 802870A8 00283FE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802870AC 00283FEC 38 00 FF FF */ li r0, -1 -/* 802870B0 00283FF0 38 A0 00 00 */ li r5, 0 -/* 802870B4 00283FF4 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 802870B8 00283FF8 4B E7 DF 4D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802870BC 00283FFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802870C0 00284000 7C 08 03 A6 */ mtlr r0 -/* 802870C4 00284004 38 21 00 10 */ addi r1, r1, 0x10 -/* 802870C8 00284008 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor12StateMoveTopFPQ24Game9EnemyBase -exec__Q34Game5Armor12StateMoveTopFPQ24Game9EnemyBase: -/* 802870CC 0028400C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802870D0 00284010 7C 08 02 A6 */ mflr r0 -/* 802870D4 00284014 38 A0 00 00 */ li r5, 0 -/* 802870D8 00284018 38 C0 00 00 */ li r6, 0 -/* 802870DC 0028401C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802870E0 00284020 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802870E4 00284024 7C 9F 23 78 */ mr r31, r4 -/* 802870E8 00284028 38 80 00 00 */ li r4, 0 -/* 802870EC 0028402C 93 C1 00 08 */ stw r30, 8(r1) -/* 802870F0 00284030 7C 7E 1B 78 */ mr r30, r3 -/* 802870F4 00284034 7F E3 FB 78 */ mr r3, r31 -/* 802870F8 00284038 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 802870FC 0028403C C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80287100 00284040 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80287104 00284044 4B E8 BF 4D */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80287108 00284048 28 03 00 00 */ cmplwi r3, 0 -/* 8028710C 0028404C 41 82 00 18 */ beq lbl_80287124 -/* 80287110 00284050 38 00 00 04 */ li r0, 4 -/* 80287114 00284054 7F E3 FB 78 */ mr r3, r31 -/* 80287118 00284058 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8028711C 0028405C 4B E7 E1 85 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80287120 00284060 48 00 00 48 */ b lbl_80287168 -lbl_80287124: -/* 80287124 00284064 7F E3 FB 78 */ mr r3, r31 -/* 80287128 00284068 4B FF 77 35 */ bl isBreakBridge__Q34Game5Armor3ObjFv -/* 8028712C 0028406C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287130 00284070 41 82 00 28 */ beq lbl_80287158 -/* 80287134 00284074 7F E3 FB 78 */ mr r3, r31 -/* 80287138 00284078 4B FF 7C 7D */ bl moveBridgeTop__Q34Game5Armor3ObjFv -/* 8028713C 0028407C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287140 00284080 41 82 00 28 */ beq lbl_80287168 -/* 80287144 00284084 38 00 00 09 */ li r0, 9 -/* 80287148 00284088 7F E3 FB 78 */ mr r3, r31 -/* 8028714C 0028408C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80287150 00284090 4B E7 E1 51 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80287154 00284094 48 00 00 14 */ b lbl_80287168 -lbl_80287158: -/* 80287158 00284098 38 00 00 08 */ li r0, 8 -/* 8028715C 0028409C 7F E3 FB 78 */ mr r3, r31 -/* 80287160 002840A0 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80287164 002840A4 4B E7 E1 3D */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80287168: -/* 80287168 002840A8 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8028716C 002840AC C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287170 002840B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287174 002840B4 4C 40 13 82 */ cror 2, 0, 2 -/* 80287178 002840B8 40 82 00 28 */ bne lbl_802871A0 -/* 8028717C 002840BC 7F C3 F3 78 */ mr r3, r30 -/* 80287180 002840C0 7F E4 FB 78 */ mr r4, r31 -/* 80287184 002840C4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287188 002840C8 38 A0 00 00 */ li r5, 0 -/* 8028718C 002840CC 38 C0 00 00 */ li r6, 0 -/* 80287190 002840D0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287194 002840D4 7D 89 03 A6 */ mtctr r12 -/* 80287198 002840D8 4E 80 04 21 */ bctrl -/* 8028719C 002840DC 48 00 00 40 */ b lbl_802871DC -lbl_802871A0: -/* 802871A0 002840E0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802871A4 002840E4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802871A8 002840E8 28 00 00 00 */ cmplwi r0, 0 -/* 802871AC 002840EC 41 82 00 30 */ beq lbl_802871DC -/* 802871B0 002840F0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802871B4 002840F4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802871B8 002840F8 40 82 00 24 */ bne lbl_802871DC -/* 802871BC 002840FC 7F C3 F3 78 */ mr r3, r30 -/* 802871C0 00284100 7F E4 FB 78 */ mr r4, r31 -/* 802871C4 00284104 81 9E 00 00 */ lwz r12, 0(r30) -/* 802871C8 00284108 38 C0 00 00 */ li r6, 0 -/* 802871CC 0028410C 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 802871D0 00284110 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802871D4 00284114 7D 89 03 A6 */ mtctr r12 -/* 802871D8 00284118 4E 80 04 21 */ bctrl -lbl_802871DC: -/* 802871DC 0028411C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802871E0 00284120 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802871E4 00284124 83 C1 00 08 */ lwz r30, 8(r1) -/* 802871E8 00284128 7C 08 03 A6 */ mtlr r0 -/* 802871EC 0028412C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802871F0 00284130 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor12StateMoveTopFPQ24Game9EnemyBase -cleanup__Q34Game5Armor12StateMoveTopFPQ24Game9EnemyBase: -/* 802871F4 00284134 4E 80 00 20 */ blr - -.global init__Q34Game5Armor11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor11StateGoHomeFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802871F8 00284138 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802871FC 0028413C 7C 08 02 A6 */ mflr r0 -/* 80287200 00284140 7C 83 23 78 */ mr r3, r4 -/* 80287204 00284144 38 80 00 03 */ li r4, 3 -/* 80287208 00284148 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028720C 0028414C 38 00 FF FF */ li r0, -1 -/* 80287210 00284150 38 A0 00 00 */ li r5, 0 -/* 80287214 00284154 90 03 02 C4 */ stw r0, 0x2c4(r3) -/* 80287218 00284158 4B E7 DD ED */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028721C 0028415C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287220 00284160 7C 08 03 A6 */ mtlr r0 -/* 80287224 00284164 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287228 00284168 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor11StateGoHomeFPQ24Game9EnemyBase -exec__Q34Game5Armor11StateGoHomeFPQ24Game9EnemyBase: -/* 8028722C 0028416C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80287230 00284170 7C 08 02 A6 */ mflr r0 -/* 80287234 00284174 90 01 00 74 */ stw r0, 0x74(r1) -/* 80287238 00284178 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8028723C 0028417C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80287240 00284180 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80287244 00284184 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80287248 00284188 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8028724C 0028418C F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80287250 00284190 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80287254 00284194 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80287258 00284198 81 84 00 00 */ lwz r12, 0(r4) -/* 8028725C 0028419C 7C 7E 1B 78 */ mr r30, r3 -/* 80287260 002841A0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80287264 002841A4 7C 9F 23 78 */ mr r31, r4 -/* 80287268 002841A8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028726C 002841AC 7D 89 03 A6 */ mtctr r12 -/* 80287270 002841B0 4E 80 04 21 */ bctrl -/* 80287274 002841B4 C0 3F 01 9C */ lfs f1, 0x19c(r31) -/* 80287278 002841B8 7F E3 FB 78 */ mr r3, r31 -/* 8028727C 002841BC C0 5F 01 A0 */ lfs f2, 0x1a0(r31) -/* 80287280 002841C0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80287284 002841C4 C0 1F 01 98 */ lfs f0, 0x198(r31) -/* 80287288 002841C8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8028728C 002841CC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80287290 002841D0 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80287294 002841D4 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80287298 002841D8 C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 8028729C 002841DC C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 802872A0 002841E0 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 802872A4 002841E4 4B E8 E3 39 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 802872A8 002841E8 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 802872AC 002841EC 7F E3 FB 78 */ mr r3, r31 -/* 802872B0 002841F0 38 80 00 00 */ li r4, 0 -/* 802872B4 002841F4 38 A0 00 00 */ li r5, 0 -/* 802872B8 002841F8 C0 27 05 64 */ lfs f1, 0x564(r7) -/* 802872BC 002841FC 38 C0 00 00 */ li r6, 0 -/* 802872C0 00284200 C0 47 05 8C */ lfs f2, 0x58c(r7) -/* 802872C4 00284204 4B E8 BD 8D */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 802872C8 00284208 28 03 00 00 */ cmplwi r3, 0 -/* 802872CC 0028420C 41 82 00 18 */ beq lbl_802872E4 -/* 802872D0 00284210 38 00 00 0A */ li r0, 0xa -/* 802872D4 00284214 7F E3 FB 78 */ mr r3, r31 -/* 802872D8 00284218 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802872DC 0028421C 4B E7 DF C5 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 802872E0 00284220 48 00 00 90 */ b lbl_80287370 -lbl_802872E4: -/* 802872E4 00284224 7F E4 FB 78 */ mr r4, r31 -/* 802872E8 00284228 38 61 00 08 */ addi r3, r1, 8 -/* 802872EC 0028422C 81 9F 00 00 */ lwz r12, 0(r31) -/* 802872F0 00284230 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 802872F4 00284234 81 8C 00 08 */ lwz r12, 8(r12) -/* 802872F8 00284238 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 802872FC 0028423C C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 80287300 00284240 7D 89 03 A6 */ mtctr r12 -/* 80287304 00284244 4E 80 04 21 */ bctrl -/* 80287308 00284248 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8028730C 0028424C C0 41 00 08 */ lfs f2, 8(r1) -/* 80287310 00284250 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 80287314 00284254 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80287318 00284258 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 8028731C 0028425C C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287320 00284260 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80287324 00284264 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80287328 00284268 EC 81 00 72 */ fmuls f4, f1, f1 -/* 8028732C 0028426C EC 22 18 BA */ fmadds f1, f2, f2, f3 -/* 80287330 00284270 EC 24 08 2A */ fadds f1, f4, f1 -/* 80287334 00284274 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287338 00284278 40 81 00 14 */ ble lbl_8028734C -/* 8028733C 0028427C 40 81 00 14 */ ble lbl_80287350 -/* 80287340 00284280 FC 00 08 34 */ frsqrte f0, f1 -/* 80287344 00284284 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80287348 00284288 48 00 00 08 */ b lbl_80287350 -lbl_8028734C: -/* 8028734C 0028428C FC 20 00 90 */ fmr f1, f0 -lbl_80287350: -/* 80287350 00284290 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80287354 00284294 C0 03 03 84 */ lfs f0, 0x384(r3) -/* 80287358 00284298 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028735C 0028429C 40 80 00 14 */ bge lbl_80287370 -/* 80287360 002842A0 38 00 00 03 */ li r0, 3 -/* 80287364 002842A4 7F E3 FB 78 */ mr r3, r31 -/* 80287368 002842A8 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8028736C 002842AC 4B E7 DF 35 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80287370: -/* 80287370 002842B0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80287374 002842B4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80287378 002842B8 28 00 00 00 */ cmplwi r0, 0 -/* 8028737C 002842BC 41 82 00 30 */ beq lbl_802873AC -/* 80287380 002842C0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80287384 002842C4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80287388 002842C8 40 82 00 24 */ bne lbl_802873AC -/* 8028738C 002842CC 7F C3 F3 78 */ mr r3, r30 -/* 80287390 002842D0 7F E4 FB 78 */ mr r4, r31 -/* 80287394 002842D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287398 002842D8 38 C0 00 00 */ li r6, 0 -/* 8028739C 002842DC 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 802873A0 002842E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802873A4 002842E4 7D 89 03 A6 */ mtctr r12 -/* 802873A8 002842E8 4E 80 04 21 */ bctrl -lbl_802873AC: -/* 802873AC 002842EC C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802873B0 002842F0 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 802873B4 002842F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802873B8 002842F8 4C 40 13 82 */ cror 2, 0, 2 -/* 802873BC 002842FC 40 82 00 28 */ bne lbl_802873E4 -/* 802873C0 00284300 7F C3 F3 78 */ mr r3, r30 -/* 802873C4 00284304 7F E4 FB 78 */ mr r4, r31 -/* 802873C8 00284308 81 9E 00 00 */ lwz r12, 0(r30) -/* 802873CC 0028430C 38 A0 00 00 */ li r5, 0 -/* 802873D0 00284310 38 C0 00 00 */ li r6, 0 -/* 802873D4 00284314 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802873D8 00284318 7D 89 03 A6 */ mtctr r12 -/* 802873DC 0028431C 4E 80 04 21 */ bctrl -/* 802873E0 00284320 48 00 00 38 */ b lbl_80287418 -lbl_802873E4: -/* 802873E4 00284324 7F E3 FB 78 */ mr r3, r31 -/* 802873E8 00284328 38 80 00 01 */ li r4, 1 -/* 802873EC 0028432C 4B E8 D2 6D */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 802873F0 00284330 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802873F4 00284334 41 82 00 24 */ beq lbl_80287418 -/* 802873F8 00284338 7F C3 F3 78 */ mr r3, r30 -/* 802873FC 0028433C 7F E4 FB 78 */ mr r4, r31 -/* 80287400 00284340 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287404 00284344 38 A0 00 0C */ li r5, 0xc -/* 80287408 00284348 38 C0 00 00 */ li r6, 0 -/* 8028740C 0028434C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287410 00284350 7D 89 03 A6 */ mtctr r12 -/* 80287414 00284354 4E 80 04 21 */ bctrl -lbl_80287418: -/* 80287418 00284358 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8028741C 0028435C CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80287420 00284360 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80287424 00284364 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80287428 00284368 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8028742C 0028436C CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80287430 00284370 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80287434 00284374 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80287438 00284378 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8028743C 0028437C 7C 08 03 A6 */ mtlr r0 -/* 80287440 00284380 38 21 00 70 */ addi r1, r1, 0x70 -/* 80287444 00284384 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor11StateGoHomeFPQ24Game9EnemyBase -cleanup__Q34Game5Armor11StateGoHomeFPQ24Game9EnemyBase: -/* 80287448 00284388 4E 80 00 20 */ blr - -.global init__Q34Game5Armor12StateAttack1FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor12StateAttack1FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028744C 0028438C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287450 00284390 7C 08 02 A6 */ mflr r0 -/* 80287454 00284394 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287458 00284398 38 A0 00 00 */ li r5, 0 -/* 8028745C 0028439C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287460 002843A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80287464 002843A4 7C 9F 23 78 */ mr r31, r4 -/* 80287468 002843A8 38 80 00 04 */ li r4, 4 -/* 8028746C 002843AC D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80287470 002843B0 7F E3 FB 78 */ mr r3, r31 -/* 80287474 002843B4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80287478 002843B8 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8028747C 002843BC 4B E7 DB 89 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80287480 002843C0 38 00 FF FF */ li r0, -1 -/* 80287484 002843C4 7F E3 FB 78 */ mr r3, r31 -/* 80287488 002843C8 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8028748C 002843CC 4B FF 7E DD */ bl createBridgeEffect__Q34Game5Armor3ObjFv -/* 80287490 002843D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287494 002843D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80287498 002843D8 7C 08 03 A6 */ mtlr r0 -/* 8028749C 002843DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802874A0 002843E0 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor12StateAttack1FPQ24Game9EnemyBase -exec__Q34Game5Armor12StateAttack1FPQ24Game9EnemyBase: -/* 802874A4 002843E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802874A8 002843E8 7C 08 02 A6 */ mflr r0 -/* 802874AC 002843EC 38 A0 00 00 */ li r5, 0 -/* 802874B0 002843F0 38 C0 00 00 */ li r6, 0 -/* 802874B4 002843F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802874B8 002843F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802874BC 002843FC 7C 9F 23 78 */ mr r31, r4 -/* 802874C0 00284400 38 80 00 00 */ li r4, 0 -/* 802874C4 00284404 93 C1 00 08 */ stw r30, 8(r1) -/* 802874C8 00284408 7C 7E 1B 78 */ mr r30, r3 -/* 802874CC 0028440C 7F E3 FB 78 */ mr r3, r31 -/* 802874D0 00284410 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 802874D4 00284414 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 802874D8 00284418 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 802874DC 0028441C 4B E8 BB 75 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 802874E0 00284420 28 03 00 00 */ cmplwi r3, 0 -/* 802874E4 00284424 41 82 00 10 */ beq lbl_802874F4 -/* 802874E8 00284428 38 00 00 04 */ li r0, 4 -/* 802874EC 0028442C 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 802874F0 00284430 48 00 00 44 */ b lbl_80287534 -lbl_802874F4: -/* 802874F4 00284434 7F E3 FB 78 */ mr r3, r31 -/* 802874F8 00284438 4B FF 73 65 */ bl isBreakBridge__Q34Game5Armor3ObjFv -/* 802874FC 0028443C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287500 00284440 41 82 00 2C */ beq lbl_8028752C -/* 80287504 00284444 7F E3 FB 78 */ mr r3, r31 -/* 80287508 00284448 4B FF 78 AD */ bl moveBridgeTop__Q34Game5Armor3ObjFv -/* 8028750C 0028444C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287510 00284450 41 82 00 10 */ beq lbl_80287520 -/* 80287514 00284454 38 00 00 09 */ li r0, 9 -/* 80287518 00284458 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 8028751C 0028445C 48 00 00 18 */ b lbl_80287534 -lbl_80287520: -/* 80287520 00284460 38 00 00 07 */ li r0, 7 -/* 80287524 00284464 90 1F 02 C4 */ stw r0, 0x2c4(r31) -/* 80287528 00284468 48 00 00 0C */ b lbl_80287534 -lbl_8028752C: -/* 8028752C 0028446C 38 00 00 08 */ li r0, 8 -/* 80287530 00284470 90 1F 02 C4 */ stw r0, 0x2c4(r31) -lbl_80287534: -/* 80287534 00284474 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80287538 00284478 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8028753C 0028447C 28 00 00 00 */ cmplwi r0, 0 -/* 80287540 00284480 41 82 00 54 */ beq lbl_80287594 -/* 80287544 00284484 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80287548 00284488 28 00 00 02 */ cmplwi r0, 2 -/* 8028754C 0028448C 40 82 00 20 */ bne lbl_8028756C -/* 80287550 00284490 7F E3 FB 78 */ mr r3, r31 -/* 80287554 00284494 4B FF 73 09 */ bl isBreakBridge__Q34Game5Armor3ObjFv -/* 80287558 00284498 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028755C 0028449C 41 82 00 38 */ beq lbl_80287594 -/* 80287560 002844A0 7F E3 FB 78 */ mr r3, r31 -/* 80287564 002844A4 4B FF 7B 6D */ bl breakTargetBridge__Q34Game5Armor3ObjFv -/* 80287568 002844A8 48 00 00 2C */ b lbl_80287594 -lbl_8028756C: -/* 8028756C 002844AC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80287570 002844B0 40 82 00 24 */ bne lbl_80287594 -/* 80287574 002844B4 7F C3 F3 78 */ mr r3, r30 -/* 80287578 002844B8 7F E4 FB 78 */ mr r4, r31 -/* 8028757C 002844BC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287580 002844C0 38 C0 00 00 */ li r6, 0 -/* 80287584 002844C4 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 80287588 002844C8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028758C 002844CC 7D 89 03 A6 */ mtctr r12 -/* 80287590 002844D0 4E 80 04 21 */ bctrl -lbl_80287594: -/* 80287594 002844D4 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80287598 002844D8 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 8028759C 002844DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802875A0 002844E0 4C 40 13 82 */ cror 2, 0, 2 -/* 802875A4 002844E4 40 82 00 24 */ bne lbl_802875C8 -/* 802875A8 002844E8 7F C3 F3 78 */ mr r3, r30 -/* 802875AC 002844EC 7F E4 FB 78 */ mr r4, r31 -/* 802875B0 002844F0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802875B4 002844F4 38 A0 00 00 */ li r5, 0 -/* 802875B8 002844F8 38 C0 00 00 */ li r6, 0 -/* 802875BC 002844FC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802875C0 00284500 7D 89 03 A6 */ mtctr r12 -/* 802875C4 00284504 4E 80 04 21 */ bctrl -lbl_802875C8: -/* 802875C8 00284508 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802875CC 0028450C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802875D0 00284510 83 C1 00 08 */ lwz r30, 8(r1) -/* 802875D4 00284514 7C 08 03 A6 */ mtlr r0 -/* 802875D8 00284518 38 21 00 10 */ addi r1, r1, 0x10 -/* 802875DC 0028451C 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor12StateAttack1FPQ24Game9EnemyBase -cleanup__Q34Game5Armor12StateAttack1FPQ24Game9EnemyBase: -/* 802875E0 00284520 4E 80 00 20 */ blr - -.global init__Q34Game5Armor12StateAttack2FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor12StateAttack2FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802875E4 00284524 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802875E8 00284528 7C 08 02 A6 */ mflr r0 -/* 802875EC 0028452C 7C 83 23 78 */ mr r3, r4 -/* 802875F0 00284530 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 802875F4 00284534 90 01 00 14 */ stw r0, 0x14(r1) -/* 802875F8 00284538 38 80 00 05 */ li r4, 5 -/* 802875FC 0028453C 38 A0 00 00 */ li r5, 0 -/* 80287600 00284540 D0 03 02 C8 */ stfs f0, 0x2c8(r3) -/* 80287604 00284544 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80287608 00284548 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 8028760C 0028454C D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80287610 00284550 4B E7 D9 F5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80287614 00284554 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287618 00284558 7C 08 03 A6 */ mtlr r0 -/* 8028761C 0028455C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287620 00284560 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor12StateAttack2FPQ24Game9EnemyBase -exec__Q34Game5Armor12StateAttack2FPQ24Game9EnemyBase: -/* 80287624 00284564 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80287628 00284568 7C 08 02 A6 */ mflr r0 -/* 8028762C 0028456C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80287630 00284570 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80287634 00284574 7C 9F 23 78 */ mr r31, r4 -/* 80287638 00284578 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8028763C 0028457C 7C 7E 1B 78 */ mr r30, r3 -/* 80287640 00284580 7F E3 FB 78 */ mr r3, r31 -/* 80287644 00284584 4B E7 DC 29 */ bl getMotionFrame__Q24Game9EnemyBaseFv -/* 80287648 00284588 C0 02 D4 30 */ lfs f0, lbl_8051B790@sda21(r2) -/* 8028764C 0028458C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287650 00284590 40 81 00 18 */ ble lbl_80287668 -/* 80287654 00284594 C0 02 D4 34 */ lfs f0, lbl_8051B794@sda21(r2) -/* 80287658 00284598 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028765C 0028459C 40 80 00 0C */ bge lbl_80287668 -/* 80287660 002845A0 7F E3 FB 78 */ mr r3, r31 -/* 80287664 002845A4 4B FF 68 6D */ bl attackPikmin__Q34Game5Armor3ObjFv -lbl_80287668: -/* 80287668 002845A8 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8028766C 002845AC C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 80287670 002845B0 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 80287674 002845B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287678 002845B8 40 81 00 0C */ ble lbl_80287684 -/* 8028767C 002845BC 7F E3 FB 78 */ mr r3, r31 -/* 80287680 002845C0 4B E7 DC 21 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80287684: -/* 80287684 002845C4 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80287688 002845C8 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8028768C 002845CC C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80287690 002845D0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80287694 002845D4 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 80287698 002845D8 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8028769C 002845DC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802876A0 002845E0 28 00 00 00 */ cmplwi r0, 0 -/* 802876A4 002845E4 41 82 01 20 */ beq lbl_802877C4 -/* 802876A8 002845E8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802876AC 002845EC 28 00 00 02 */ cmplwi r0, 2 -/* 802876B0 002845F0 40 82 00 10 */ bne lbl_802876C0 -/* 802876B4 002845F4 7F E3 FB 78 */ mr r3, r31 -/* 802876B8 002845F8 4B FF 7B 65 */ bl createAttackEffect__Q34Game5Armor3ObjFv -/* 802876BC 002845FC 48 00 01 08 */ b lbl_802877C4 -lbl_802876C0: -/* 802876C0 00284600 28 00 00 03 */ cmplwi r0, 3 -/* 802876C4 00284604 40 82 00 6C */ bne lbl_80287730 -/* 802876C8 00284608 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 802876CC 0028460C 7F E3 FB 78 */ mr r3, r31 -/* 802876D0 00284610 38 80 00 00 */ li r4, 0 -/* 802876D4 00284614 38 A0 00 00 */ li r5, 0 -/* 802876D8 00284618 C0 26 05 B4 */ lfs f1, 0x5b4(r6) -/* 802876DC 0028461C C0 46 05 DC */ lfs f2, 0x5dc(r6) -/* 802876E0 00284620 C0 66 06 04 */ lfs f3, 0x604(r6) -/* 802876E4 00284624 4B E8 CB 7D */ bl attackNavi__Q24Game9EnemyFuncFPQ24Game8CreaturefffP8CollPartP23Condition$$0Q24Game4Navi$$1 -/* 802876E8 00284628 7F E4 FB 78 */ mr r4, r31 -/* 802876EC 0028462C 38 61 00 08 */ addi r3, r1, 8 -/* 802876F0 00284630 81 9F 00 00 */ lwz r12, 0(r31) -/* 802876F4 00284634 81 8C 00 08 */ lwz r12, 8(r12) -/* 802876F8 00284638 7D 89 03 A6 */ mtctr r12 -/* 802876FC 0028463C 4E 80 04 21 */ bctrl -/* 80287700 00284640 C0 41 00 08 */ lfs f2, 8(r1) -/* 80287704 00284644 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80287708 00284648 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8028770C 0028464C 38 80 00 09 */ li r4, 9 -/* 80287710 00284650 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80287714 00284654 38 C0 00 02 */ li r6, 2 -/* 80287718 00284658 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8028771C 0028465C 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80287720 00284660 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80287724 00284664 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80287728 00284668 4B FC C0 59 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 8028772C 0028466C 48 00 00 98 */ b lbl_802877C4 -lbl_80287730: -/* 80287730 00284670 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80287734 00284674 40 82 00 90 */ bne lbl_802877C4 -/* 80287738 00284678 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8028773C 0028467C C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287740 00284680 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287744 00284684 4C 40 13 82 */ cror 2, 0, 2 -/* 80287748 00284688 40 82 00 28 */ bne lbl_80287770 -/* 8028774C 0028468C 7F C3 F3 78 */ mr r3, r30 -/* 80287750 00284690 7F E4 FB 78 */ mr r4, r31 -/* 80287754 00284694 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287758 00284698 38 A0 00 00 */ li r5, 0 -/* 8028775C 0028469C 38 C0 00 00 */ li r6, 0 -/* 80287760 002846A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287764 002846A4 7D 89 03 A6 */ mtctr r12 -/* 80287768 002846A8 4E 80 04 21 */ bctrl -/* 8028776C 002846AC 48 00 00 58 */ b lbl_802877C4 -lbl_80287770: -/* 80287770 002846B0 7F E3 FB 78 */ mr r3, r31 -/* 80287774 002846B4 4B FF 6B 49 */ bl getSlotPikiNum__Q34Game5Armor3ObjFv -/* 80287778 002846B8 2C 03 00 00 */ cmpwi r3, 0 -/* 8028777C 002846BC 41 82 00 28 */ beq lbl_802877A4 -/* 80287780 002846C0 7F C3 F3 78 */ mr r3, r30 -/* 80287784 002846C4 7F E4 FB 78 */ mr r4, r31 -/* 80287788 002846C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028778C 002846CC 38 A0 00 0B */ li r5, 0xb -/* 80287790 002846D0 38 C0 00 00 */ li r6, 0 -/* 80287794 002846D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287798 002846D8 7D 89 03 A6 */ mtctr r12 -/* 8028779C 002846DC 4E 80 04 21 */ bctrl -/* 802877A0 002846E0 48 00 00 24 */ b lbl_802877C4 -lbl_802877A4: -/* 802877A4 002846E4 7F C3 F3 78 */ mr r3, r30 -/* 802877A8 002846E8 7F E4 FB 78 */ mr r4, r31 -/* 802877AC 002846EC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802877B0 002846F0 38 A0 00 0D */ li r5, 0xd -/* 802877B4 002846F4 38 C0 00 00 */ li r6, 0 -/* 802877B8 002846F8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802877BC 002846FC 7D 89 03 A6 */ mtctr r12 -/* 802877C0 00284700 4E 80 04 21 */ bctrl -lbl_802877C4: -/* 802877C4 00284704 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802877C8 00284708 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 802877CC 0028470C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 802877D0 00284710 7C 08 03 A6 */ mtlr r0 -/* 802877D4 00284714 38 21 00 30 */ addi r1, r1, 0x30 -/* 802877D8 00284718 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor12StateAttack2FPQ24Game9EnemyBase -cleanup__Q34Game5Armor12StateAttack2FPQ24Game9EnemyBase: -/* 802877DC 0028471C 4E 80 00 20 */ blr - -.global init__Q34Game5Armor8StateEatFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor8StateEatFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802877E0 00284720 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802877E4 00284724 7C 08 02 A6 */ mflr r0 -/* 802877E8 00284728 7C 83 23 78 */ mr r3, r4 -/* 802877EC 0028472C C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 802877F0 00284730 90 01 00 14 */ stw r0, 0x14(r1) -/* 802877F4 00284734 38 80 00 06 */ li r4, 6 -/* 802877F8 00284738 38 A0 00 00 */ li r5, 0 -/* 802877FC 0028473C D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80287800 00284740 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80287804 00284744 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80287808 00284748 4B E7 D7 FD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028780C 0028474C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287810 00284750 7C 08 03 A6 */ mtlr r0 -/* 80287814 00284754 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287818 00284758 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor8StateEatFPQ24Game9EnemyBase -exec__Q34Game5Armor8StateEatFPQ24Game9EnemyBase: -/* 8028781C 0028475C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287820 00284760 7C 08 02 A6 */ mflr r0 -/* 80287824 00284764 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287828 00284768 7C 86 23 78 */ mr r6, r4 -/* 8028782C 0028476C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287830 00284770 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80287834 00284774 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287838 00284778 4C 40 13 82 */ cror 2, 0, 2 -/* 8028783C 0028477C 40 82 00 20 */ bne lbl_8028785C -/* 80287840 00284780 81 83 00 00 */ lwz r12, 0(r3) -/* 80287844 00284784 38 A0 00 00 */ li r5, 0 -/* 80287848 00284788 38 C0 00 00 */ li r6, 0 -/* 8028784C 0028478C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287850 00284790 7D 89 03 A6 */ mtctr r12 -/* 80287854 00284794 4E 80 04 21 */ bctrl -/* 80287858 00284798 48 00 00 4C */ b lbl_802878A4 -lbl_8028785C: -/* 8028785C 0028479C 80 A6 01 88 */ lwz r5, 0x188(r6) -/* 80287860 002847A0 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80287864 002847A4 28 00 00 00 */ cmplwi r0, 0 -/* 80287868 002847A8 41 82 00 3C */ beq lbl_802878A4 -/* 8028786C 002847AC 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80287870 002847B0 28 00 00 02 */ cmplwi r0, 2 -/* 80287874 002847B4 40 82 00 10 */ bne lbl_80287884 -/* 80287878 002847B8 7C C3 33 78 */ mr r3, r6 -/* 8028787C 002847BC 4B FF 6A D5 */ bl killSlotPiki__Q34Game5Armor3ObjFv -/* 80287880 002847C0 48 00 00 24 */ b lbl_802878A4 -lbl_80287884: -/* 80287884 002847C4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80287888 002847C8 40 82 00 1C */ bne lbl_802878A4 -/* 8028788C 002847CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80287890 002847D0 38 A0 00 04 */ li r5, 4 -/* 80287894 002847D4 38 C0 00 00 */ li r6, 0 -/* 80287898 002847D8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028789C 002847DC 7D 89 03 A6 */ mtctr r12 -/* 802878A0 002847E0 4E 80 04 21 */ bctrl -lbl_802878A4: -/* 802878A4 002847E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802878A8 002847E8 7C 08 03 A6 */ mtlr r0 -/* 802878AC 002847EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802878B0 002847F0 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor8StateEatFPQ24Game9EnemyBase -cleanup__Q34Game5Armor8StateEatFPQ24Game9EnemyBase: -/* 802878B4 002847F4 4E 80 00 20 */ blr - -.global init__Q34Game5Armor10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802878B8 002847F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802878BC 002847FC 7C 08 02 A6 */ mflr r0 -/* 802878C0 00284800 7C 83 23 78 */ mr r3, r4 -/* 802878C4 00284804 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 802878C8 00284808 90 01 00 14 */ stw r0, 0x14(r1) -/* 802878CC 0028480C 38 80 00 07 */ li r4, 7 -/* 802878D0 00284810 38 A0 00 00 */ li r5, 0 -/* 802878D4 00284814 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 802878D8 00284818 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 802878DC 0028481C D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 802878E0 00284820 4B E7 D7 25 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802878E4 00284824 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802878E8 00284828 7C 08 03 A6 */ mtlr r0 -/* 802878EC 0028482C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802878F0 00284830 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor10StateFlickFPQ24Game9EnemyBase -exec__Q34Game5Armor10StateFlickFPQ24Game9EnemyBase: -/* 802878F4 00284834 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802878F8 00284838 7C 08 02 A6 */ mflr r0 -/* 802878FC 0028483C C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287900 00284840 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287904 00284844 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80287908 00284848 93 C1 00 08 */ stw r30, 8(r1) -/* 8028790C 0028484C 7C 9E 23 78 */ mr r30, r4 -/* 80287910 00284850 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80287914 00284854 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287918 00284858 4C 40 13 82 */ cror 2, 0, 2 -/* 8028791C 0028485C 40 82 00 20 */ bne lbl_8028793C -/* 80287920 00284860 81 83 00 00 */ lwz r12, 0(r3) -/* 80287924 00284864 38 A0 00 00 */ li r5, 0 -/* 80287928 00284868 38 C0 00 00 */ li r6, 0 -/* 8028792C 0028486C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287930 00284870 7D 89 03 A6 */ mtctr r12 -/* 80287934 00284874 4E 80 04 21 */ bctrl -/* 80287938 00284878 48 00 00 E8 */ b lbl_80287A20 -lbl_8028793C: -/* 8028793C 0028487C 80 BE 01 88 */ lwz r5, 0x188(r30) -/* 80287940 00284880 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80287944 00284884 28 00 00 00 */ cmplwi r0, 0 -/* 80287948 00284888 41 82 00 D8 */ beq lbl_80287A20 -/* 8028794C 0028488C 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80287950 00284890 28 00 00 02 */ cmplwi r0, 2 -/* 80287954 00284894 40 82 00 AC */ bne lbl_80287A00 -/* 80287958 00284898 7F C3 F3 78 */ mr r3, r30 -/* 8028795C 0028489C 83 FE 00 C0 */ lwz r31, 0xc0(r30) -/* 80287960 002848A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287964 002848A4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80287968 002848A8 7D 89 03 A6 */ mtctr r12 -/* 8028796C 002848AC 4E 80 04 21 */ bctrl -/* 80287970 002848B0 FC 80 08 90 */ fmr f4, f1 -/* 80287974 002848B4 C0 3F 05 14 */ lfs f1, 0x514(r31) -/* 80287978 002848B8 C0 5F 04 C4 */ lfs f2, 0x4c4(r31) -/* 8028797C 002848BC 7F C3 F3 78 */ mr r3, r30 -/* 80287980 002848C0 C0 7F 04 EC */ lfs f3, 0x4ec(r31) -/* 80287984 002848C4 38 80 00 00 */ li r4, 0 -/* 80287988 002848C8 4B E8 BE 09 */ bl flickNearbyNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Navi$$1 -/* 8028798C 002848CC 7F C3 F3 78 */ mr r3, r30 -/* 80287990 002848D0 83 FE 00 C0 */ lwz r31, 0xc0(r30) -/* 80287994 002848D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80287998 002848D8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028799C 002848DC 7D 89 03 A6 */ mtctr r12 -/* 802879A0 002848E0 4E 80 04 21 */ bctrl -/* 802879A4 002848E4 FC 80 08 90 */ fmr f4, f1 -/* 802879A8 002848E8 C0 3F 05 14 */ lfs f1, 0x514(r31) -/* 802879AC 002848EC C0 5F 04 C4 */ lfs f2, 0x4c4(r31) -/* 802879B0 002848F0 7F C3 F3 78 */ mr r3, r30 -/* 802879B4 002848F4 C0 7F 04 EC */ lfs f3, 0x4ec(r31) -/* 802879B8 002848F8 38 80 00 00 */ li r4, 0 -/* 802879BC 002848FC 4B E8 BB 19 */ bl flickNearbyPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 802879C0 00284900 7F C3 F3 78 */ mr r3, r30 -/* 802879C4 00284904 83 FE 00 C0 */ lwz r31, 0xc0(r30) -/* 802879C8 00284908 81 9E 00 00 */ lwz r12, 0(r30) -/* 802879CC 0028490C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802879D0 00284910 7D 89 03 A6 */ mtctr r12 -/* 802879D4 00284914 4E 80 04 21 */ bctrl -/* 802879D8 00284918 FC 80 08 90 */ fmr f4, f1 -/* 802879DC 0028491C C0 3F 05 3C */ lfs f1, 0x53c(r31) -/* 802879E0 00284920 C0 5F 04 C4 */ lfs f2, 0x4c4(r31) -/* 802879E4 00284924 7F C3 F3 78 */ mr r3, r30 -/* 802879E8 00284928 C0 7F 04 EC */ lfs f3, 0x4ec(r31) -/* 802879EC 0028492C 38 80 00 00 */ li r4, 0 -/* 802879F0 00284930 4B E8 B7 2D */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 802879F4 00284934 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 802879F8 00284938 D0 1E 02 0C */ stfs f0, 0x20c(r30) -/* 802879FC 0028493C 48 00 00 24 */ b lbl_80287A20 -lbl_80287A00: -/* 80287A00 00284940 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80287A04 00284944 40 82 00 1C */ bne lbl_80287A20 -/* 80287A08 00284948 81 83 00 00 */ lwz r12, 0(r3) -/* 80287A0C 0028494C 38 A0 00 04 */ li r5, 4 -/* 80287A10 00284950 38 C0 00 00 */ li r6, 0 -/* 80287A14 00284954 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287A18 00284958 7D 89 03 A6 */ mtctr r12 -/* 80287A1C 0028495C 4E 80 04 21 */ bctrl -lbl_80287A20: -/* 80287A20 00284960 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287A24 00284964 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80287A28 00284968 83 C1 00 08 */ lwz r30, 8(r1) -/* 80287A2C 0028496C 7C 08 03 A6 */ mtlr r0 -/* 80287A30 00284970 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287A34 00284974 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor10StateFlickFPQ24Game9EnemyBase -cleanup__Q34Game5Armor10StateFlickFPQ24Game9EnemyBase: -/* 80287A38 00284978 4E 80 00 20 */ blr - -.global init__Q34Game5Armor9StateFailFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Armor9StateFailFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80287A3C 0028497C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287A40 00284980 7C 08 02 A6 */ mflr r0 -/* 80287A44 00284984 7C 83 23 78 */ mr r3, r4 -/* 80287A48 00284988 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287A4C 0028498C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287A50 00284990 38 80 00 08 */ li r4, 8 -/* 80287A54 00284994 38 A0 00 00 */ li r5, 0 -/* 80287A58 00284998 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80287A5C 0028499C D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80287A60 002849A0 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80287A64 002849A4 4B E7 D5 A1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80287A68 002849A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287A6C 002849AC 7C 08 03 A6 */ mtlr r0 -/* 80287A70 002849B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287A74 002849B4 4E 80 00 20 */ blr - -.global exec__Q34Game5Armor9StateFailFPQ24Game9EnemyBase -exec__Q34Game5Armor9StateFailFPQ24Game9EnemyBase: -/* 80287A78 002849B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287A7C 002849BC 7C 08 02 A6 */ mflr r0 -/* 80287A80 002849C0 C0 02 D4 24 */ lfs f0, lbl_8051B784@sda21(r2) -/* 80287A84 002849C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287A88 002849C8 C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80287A8C 002849CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287A90 002849D0 4C 40 13 82 */ cror 2, 0, 2 -/* 80287A94 002849D4 40 82 00 20 */ bne lbl_80287AB4 -/* 80287A98 002849D8 81 83 00 00 */ lwz r12, 0(r3) -/* 80287A9C 002849DC 38 A0 00 00 */ li r5, 0 -/* 80287AA0 002849E0 38 C0 00 00 */ li r6, 0 -/* 80287AA4 002849E4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287AA8 002849E8 7D 89 03 A6 */ mtctr r12 -/* 80287AAC 002849EC 4E 80 04 21 */ bctrl -/* 80287AB0 002849F0 48 00 00 38 */ b lbl_80287AE8 -lbl_80287AB4: -/* 80287AB4 002849F4 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80287AB8 002849F8 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80287ABC 002849FC 28 00 00 00 */ cmplwi r0, 0 -/* 80287AC0 00284A00 41 82 00 28 */ beq lbl_80287AE8 -/* 80287AC4 00284A04 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80287AC8 00284A08 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80287ACC 00284A0C 40 82 00 1C */ bne lbl_80287AE8 -/* 80287AD0 00284A10 81 83 00 00 */ lwz r12, 0(r3) -/* 80287AD4 00284A14 38 A0 00 04 */ li r5, 4 -/* 80287AD8 00284A18 38 C0 00 00 */ li r6, 0 -/* 80287ADC 00284A1C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80287AE0 00284A20 7D 89 03 A6 */ mtctr r12 -/* 80287AE4 00284A24 4E 80 04 21 */ bctrl -lbl_80287AE8: -/* 80287AE8 00284A28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287AEC 00284A2C 7C 08 03 A6 */ mtlr r0 -/* 80287AF0 00284A30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287AF4 00284A34 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Armor9StateFailFPQ24Game9EnemyBase -cleanup__Q34Game5Armor9StateFailFPQ24Game9EnemyBase: -/* 80287AF8 00284A38 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game5Armor14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game5Armor14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 80287AFC 00284A3C 90 83 00 20 */ stw r4, 0x20(r3) -/* 80287B00 00284A40 4E 80 00 20 */ blr - -.global getAnimator__Q34Game5Armor14ProperAnimatorFi -getAnimator__Q34Game5Armor14ProperAnimatorFi: -/* 80287B04 00284A44 38 63 00 10 */ addi r3, r3, 0x10 -/* 80287B08 00284A48 4E 80 00 20 */ blr - -.global __dt__Q34Game5Armor14ProperAnimatorFv -__dt__Q34Game5Armor14ProperAnimatorFv: -/* 80287B0C 00284A4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287B10 00284A50 7C 08 02 A6 */ mflr r0 -/* 80287B14 00284A54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287B18 00284A58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80287B1C 00284A5C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80287B20 00284A60 41 82 00 30 */ beq lbl_80287B50 -/* 80287B24 00284A64 3C 60 80 4D */ lis r3, __vt__Q34Game5Armor14ProperAnimator@ha -/* 80287B28 00284A68 38 03 9A 90 */ addi r0, r3, __vt__Q34Game5Armor14ProperAnimator@l -/* 80287B2C 00284A6C 90 1F 00 00 */ stw r0, 0(r31) -/* 80287B30 00284A70 41 82 00 10 */ beq lbl_80287B40 -/* 80287B34 00284A74 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 80287B38 00284A78 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 80287B3C 00284A7C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80287B40: -/* 80287B40 00284A80 7C 80 07 35 */ extsh. r0, r4 -/* 80287B44 00284A84 40 81 00 0C */ ble lbl_80287B50 -/* 80287B48 00284A88 7F E3 FB 78 */ mr r3, r31 -/* 80287B4C 00284A8C 4B D9 C5 69 */ bl __dl__FPv -lbl_80287B50: -/* 80287B50 00284A90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287B54 00284A94 7F E3 FB 78 */ mr r3, r31 -/* 80287B58 00284A98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80287B5C 00284A9C 7C 08 03 A6 */ mtlr r0 -/* 80287B60 00284AA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287B64 00284AA4 4E 80 00 20 */ blr - -.global getAnimator__Q34Game5Armor14ProperAnimatorFv -getAnimator__Q34Game5Armor14ProperAnimatorFv: -/* 80287B68 00284AA8 38 63 00 10 */ addi r3, r3, 0x10 -/* 80287B6C 00284AAC 4E 80 00 20 */ blr - -.global init__Q34Game5Queen3FSMFPQ24Game9EnemyBase -init__Q34Game5Queen3FSMFPQ24Game9EnemyBase: -/* 80287B70 00284AB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287B74 00284AB4 7C 08 02 A6 */ mflr r0 -/* 80287B78 00284AB8 38 80 00 07 */ li r4, 7 -/* 80287B7C 00284ABC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287B80 00284AC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80287B84 00284AC4 7C 7F 1B 78 */ mr r31, r3 -/* 80287B88 00284AC8 4B EA 8C DD */ bl create__Q24Game17EnemyStateMachineFi -/* 80287B8C 00284ACC 38 60 00 10 */ li r3, 0x10 -/* 80287B90 00284AD0 4B D9 C3 15 */ bl __nw__FUl -/* 80287B94 00284AD4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80287B98 00284AD8 41 82 00 3C */ beq lbl_80287BD4 -/* 80287B9C 00284ADC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80287BA0 00284AE0 3C A0 80 4D */ lis r5, __vt__Q34Game5Queen5State@ha -/* 80287BA4 00284AE4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80287BA8 00284AE8 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen9StateDead@ha -/* 80287BAC 00284AEC 90 04 00 00 */ stw r0, 0(r4) -/* 80287BB0 00284AF0 38 E0 00 00 */ li r7, 0 -/* 80287BB4 00284AF4 38 C5 9B C0 */ addi r6, r5, __vt__Q34Game5Queen5State@l -/* 80287BB8 00284AF8 38 A2 D4 38 */ addi r5, r2, lbl_8051B798@sda21 -/* 80287BBC 00284AFC 90 E4 00 04 */ stw r7, 4(r4) -/* 80287BC0 00284B00 38 03 9B 9C */ addi r0, r3, __vt__Q34Game5Queen9StateDead@l -/* 80287BC4 00284B04 90 E4 00 08 */ stw r7, 8(r4) -/* 80287BC8 00284B08 90 C4 00 00 */ stw r6, 0(r4) -/* 80287BCC 00284B0C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80287BD0 00284B10 90 04 00 00 */ stw r0, 0(r4) -lbl_80287BD4: -/* 80287BD4 00284B14 7F E3 FB 78 */ mr r3, r31 -/* 80287BD8 00284B18 4B EA 8D 31 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80287BDC 00284B1C 38 60 00 10 */ li r3, 0x10 -/* 80287BE0 00284B20 4B D9 C2 C5 */ bl __nw__FUl -/* 80287BE4 00284B24 7C 64 1B 79 */ or. r4, r3, r3 -/* 80287BE8 00284B28 41 82 00 40 */ beq lbl_80287C28 -/* 80287BEC 00284B2C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80287BF0 00284B30 3C A0 80 4D */ lis r5, __vt__Q34Game5Queen5State@ha -/* 80287BF4 00284B34 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80287BF8 00284B38 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen10StateSleep@ha -/* 80287BFC 00284B3C 90 04 00 00 */ stw r0, 0(r4) -/* 80287C00 00284B40 38 00 00 01 */ li r0, 1 -/* 80287C04 00284B44 38 E0 00 00 */ li r7, 0 -/* 80287C08 00284B48 38 C5 9B C0 */ addi r6, r5, __vt__Q34Game5Queen5State@l -/* 80287C0C 00284B4C 90 04 00 04 */ stw r0, 4(r4) -/* 80287C10 00284B50 38 A2 D4 40 */ addi r5, r2, lbl_8051B7A0@sda21 -/* 80287C14 00284B54 38 03 9B 78 */ addi r0, r3, __vt__Q34Game5Queen10StateSleep@l -/* 80287C18 00284B58 90 E4 00 08 */ stw r7, 8(r4) -/* 80287C1C 00284B5C 90 C4 00 00 */ stw r6, 0(r4) -/* 80287C20 00284B60 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80287C24 00284B64 90 04 00 00 */ stw r0, 0(r4) -lbl_80287C28: -/* 80287C28 00284B68 7F E3 FB 78 */ mr r3, r31 -/* 80287C2C 00284B6C 4B EA 8C DD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80287C30 00284B70 38 60 00 10 */ li r3, 0x10 -/* 80287C34 00284B74 4B D9 C2 71 */ bl __nw__FUl -/* 80287C38 00284B78 7C 64 1B 79 */ or. r4, r3, r3 -/* 80287C3C 00284B7C 41 82 00 40 */ beq lbl_80287C7C -/* 80287C40 00284B80 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80287C44 00284B84 3C A0 80 4D */ lis r5, __vt__Q34Game5Queen5State@ha -/* 80287C48 00284B88 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80287C4C 00284B8C 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen9StateWait@ha -/* 80287C50 00284B90 90 04 00 00 */ stw r0, 0(r4) -/* 80287C54 00284B94 38 00 00 02 */ li r0, 2 -/* 80287C58 00284B98 38 E0 00 00 */ li r7, 0 -/* 80287C5C 00284B9C 38 C5 9B C0 */ addi r6, r5, __vt__Q34Game5Queen5State@l -/* 80287C60 00284BA0 90 04 00 04 */ stw r0, 4(r4) -/* 80287C64 00284BA4 38 A2 D4 48 */ addi r5, r2, lbl_8051B7A8@sda21 -/* 80287C68 00284BA8 38 03 9B 54 */ addi r0, r3, __vt__Q34Game5Queen9StateWait@l -/* 80287C6C 00284BAC 90 E4 00 08 */ stw r7, 8(r4) -/* 80287C70 00284BB0 90 C4 00 00 */ stw r6, 0(r4) -/* 80287C74 00284BB4 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80287C78 00284BB8 90 04 00 00 */ stw r0, 0(r4) -lbl_80287C7C: -/* 80287C7C 00284BBC 7F E3 FB 78 */ mr r3, r31 -/* 80287C80 00284BC0 4B EA 8C 89 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80287C84 00284BC4 38 60 00 10 */ li r3, 0x10 -/* 80287C88 00284BC8 4B D9 C2 1D */ bl __nw__FUl -/* 80287C8C 00284BCC 7C 64 1B 79 */ or. r4, r3, r3 -/* 80287C90 00284BD0 41 82 00 40 */ beq lbl_80287CD0 -/* 80287C94 00284BD4 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80287C98 00284BD8 3C A0 80 4D */ lis r5, __vt__Q34Game5Queen5State@ha -/* 80287C9C 00284BDC 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80287CA0 00284BE0 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen11StateDamage@ha -/* 80287CA4 00284BE4 90 04 00 00 */ stw r0, 0(r4) -/* 80287CA8 00284BE8 38 00 00 03 */ li r0, 3 -/* 80287CAC 00284BEC 38 E0 00 00 */ li r7, 0 -/* 80287CB0 00284BF0 38 C5 9B C0 */ addi r6, r5, __vt__Q34Game5Queen5State@l -/* 80287CB4 00284BF4 90 04 00 04 */ stw r0, 4(r4) -/* 80287CB8 00284BF8 38 A2 D4 50 */ addi r5, r2, lbl_8051B7B0@sda21 -/* 80287CBC 00284BFC 38 03 9B 30 */ addi r0, r3, __vt__Q34Game5Queen11StateDamage@l -/* 80287CC0 00284C00 90 E4 00 08 */ stw r7, 8(r4) -/* 80287CC4 00284C04 90 C4 00 00 */ stw r6, 0(r4) -/* 80287CC8 00284C08 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80287CCC 00284C0C 90 04 00 00 */ stw r0, 0(r4) -lbl_80287CD0: -/* 80287CD0 00284C10 7F E3 FB 78 */ mr r3, r31 -/* 80287CD4 00284C14 4B EA 8C 35 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80287CD8 00284C18 38 60 00 10 */ li r3, 0x10 -/* 80287CDC 00284C1C 4B D9 C1 C9 */ bl __nw__FUl -/* 80287CE0 00284C20 7C 64 1B 79 */ or. r4, r3, r3 -/* 80287CE4 00284C24 41 82 00 40 */ beq lbl_80287D24 -/* 80287CE8 00284C28 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80287CEC 00284C2C 3C A0 80 4D */ lis r5, __vt__Q34Game5Queen5State@ha -/* 80287CF0 00284C30 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80287CF4 00284C34 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen10StateFlick@ha -/* 80287CF8 00284C38 90 04 00 00 */ stw r0, 0(r4) -/* 80287CFC 00284C3C 38 00 00 04 */ li r0, 4 -/* 80287D00 00284C40 38 E0 00 00 */ li r7, 0 -/* 80287D04 00284C44 38 C5 9B C0 */ addi r6, r5, __vt__Q34Game5Queen5State@l -/* 80287D08 00284C48 90 04 00 04 */ stw r0, 4(r4) -/* 80287D0C 00284C4C 38 A2 D4 58 */ addi r5, r2, lbl_8051B7B8@sda21 -/* 80287D10 00284C50 38 03 9B 0C */ addi r0, r3, __vt__Q34Game5Queen10StateFlick@l -/* 80287D14 00284C54 90 E4 00 08 */ stw r7, 8(r4) -/* 80287D18 00284C58 90 C4 00 00 */ stw r6, 0(r4) -/* 80287D1C 00284C5C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80287D20 00284C60 90 04 00 00 */ stw r0, 0(r4) -lbl_80287D24: -/* 80287D24 00284C64 7F E3 FB 78 */ mr r3, r31 -/* 80287D28 00284C68 4B EA 8B E1 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80287D2C 00284C6C 38 60 00 10 */ li r3, 0x10 -/* 80287D30 00284C70 4B D9 C1 75 */ bl __nw__FUl -/* 80287D34 00284C74 7C 64 1B 79 */ or. r4, r3, r3 -/* 80287D38 00284C78 41 82 00 40 */ beq lbl_80287D78 -/* 80287D3C 00284C7C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80287D40 00284C80 3C A0 80 4D */ lis r5, __vt__Q34Game5Queen5State@ha -/* 80287D44 00284C84 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80287D48 00284C88 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen12StateRolling@ha -/* 80287D4C 00284C8C 90 04 00 00 */ stw r0, 0(r4) -/* 80287D50 00284C90 38 00 00 05 */ li r0, 5 -/* 80287D54 00284C94 38 E0 00 00 */ li r7, 0 -/* 80287D58 00284C98 38 C5 9B C0 */ addi r6, r5, __vt__Q34Game5Queen5State@l -/* 80287D5C 00284C9C 90 04 00 04 */ stw r0, 4(r4) -/* 80287D60 00284CA0 38 A2 D4 60 */ addi r5, r2, lbl_8051B7C0@sda21 -/* 80287D64 00284CA4 38 03 9A E8 */ addi r0, r3, __vt__Q34Game5Queen12StateRolling@l -/* 80287D68 00284CA8 90 E4 00 08 */ stw r7, 8(r4) -/* 80287D6C 00284CAC 90 C4 00 00 */ stw r6, 0(r4) -/* 80287D70 00284CB0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80287D74 00284CB4 90 04 00 00 */ stw r0, 0(r4) -lbl_80287D78: -/* 80287D78 00284CB8 7F E3 FB 78 */ mr r3, r31 -/* 80287D7C 00284CBC 4B EA 8B 8D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80287D80 00284CC0 38 60 00 10 */ li r3, 0x10 -/* 80287D84 00284CC4 4B D9 C1 21 */ bl __nw__FUl -/* 80287D88 00284CC8 7C 64 1B 79 */ or. r4, r3, r3 -/* 80287D8C 00284CCC 41 82 00 40 */ beq lbl_80287DCC -/* 80287D90 00284CD0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80287D94 00284CD4 3C A0 80 4D */ lis r5, __vt__Q34Game5Queen5State@ha -/* 80287D98 00284CD8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80287D9C 00284CDC 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen9StateBorn@ha -/* 80287DA0 00284CE0 90 04 00 00 */ stw r0, 0(r4) -/* 80287DA4 00284CE4 38 00 00 06 */ li r0, 6 -/* 80287DA8 00284CE8 38 E0 00 00 */ li r7, 0 -/* 80287DAC 00284CEC 38 C5 9B C0 */ addi r6, r5, __vt__Q34Game5Queen5State@l -/* 80287DB0 00284CF0 90 04 00 04 */ stw r0, 4(r4) -/* 80287DB4 00284CF4 38 A2 D4 68 */ addi r5, r2, lbl_8051B7C8@sda21 -/* 80287DB8 00284CF8 38 03 9A C4 */ addi r0, r3, __vt__Q34Game5Queen9StateBorn@l -/* 80287DBC 00284CFC 90 E4 00 08 */ stw r7, 8(r4) -/* 80287DC0 00284D00 90 C4 00 00 */ stw r6, 0(r4) -/* 80287DC4 00284D04 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80287DC8 00284D08 90 04 00 00 */ stw r0, 0(r4) -lbl_80287DCC: -/* 80287DCC 00284D0C 7F E3 FB 78 */ mr r3, r31 -/* 80287DD0 00284D10 4B EA 8B 39 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80287DD4 00284D14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287DD8 00284D18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80287DDC 00284D1C 7C 08 03 A6 */ mtlr r0 -/* 80287DE0 00284D20 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287DE4 00284D24 4E 80 00 20 */ blr - -.global init__Q34Game5Queen9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Queen9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80287DE8 00284D28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287DEC 00284D2C 7C 08 02 A6 */ mflr r0 -/* 80287DF0 00284D30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287DF4 00284D34 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80287DF8 00284D38 7C 9F 23 78 */ mr r31, r4 -/* 80287DFC 00284D3C 7F E3 FB 78 */ mr r3, r31 -/* 80287E00 00284D40 48 00 3D 5D */ bl createDeadEffect__Q34Game5Queen3ObjFv -/* 80287E04 00284D44 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80287E08 00284D48 7F E3 FB 78 */ mr r3, r31 -/* 80287E0C 00284D4C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80287E10 00284D50 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80287E14 00284D54 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80287E18 00284D58 4B E7 D9 09 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80287E1C 00284D5C 7F E3 FB 78 */ mr r3, r31 -/* 80287E20 00284D60 38 80 00 00 */ li r4, 0 -/* 80287E24 00284D64 38 A0 00 00 */ li r5, 0 -/* 80287E28 00284D68 4B E7 D1 DD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80287E2C 00284D6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287E30 00284D70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80287E34 00284D74 7C 08 03 A6 */ mtlr r0 -/* 80287E38 00284D78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287E3C 00284D7C 4E 80 00 20 */ blr - -.global exec__Q34Game5Queen9StateDeadFPQ24Game9EnemyBase -exec__Q34Game5Queen9StateDeadFPQ24Game9EnemyBase: -/* 80287E40 00284D80 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80287E44 00284D84 7C 08 02 A6 */ mflr r0 -/* 80287E48 00284D88 90 01 00 34 */ stw r0, 0x34(r1) -/* 80287E4C 00284D8C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80287E50 00284D90 7C 9F 23 78 */ mr r31, r4 -/* 80287E54 00284D94 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80287E58 00284D98 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80287E5C 00284D9C 28 00 00 00 */ cmplwi r0, 0 -/* 80287E60 00284DA0 41 82 00 84 */ beq lbl_80287EE4 -/* 80287E64 00284DA4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80287E68 00284DA8 28 00 00 02 */ cmplwi r0, 2 -/* 80287E6C 00284DAC 40 82 00 5C */ bne lbl_80287EC8 -/* 80287E70 00284DB0 81 84 00 00 */ lwz r12, 0(r4) -/* 80287E74 00284DB4 38 61 00 08 */ addi r3, r1, 8 -/* 80287E78 00284DB8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80287E7C 00284DBC 7D 89 03 A6 */ mtctr r12 -/* 80287E80 00284DC0 4E 80 04 21 */ bctrl -/* 80287E84 00284DC4 C0 41 00 08 */ lfs f2, 8(r1) -/* 80287E88 00284DC8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80287E8C 00284DCC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80287E90 00284DD0 38 80 00 06 */ li r4, 6 -/* 80287E94 00284DD4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80287E98 00284DD8 38 C0 00 02 */ li r6, 2 -/* 80287E9C 00284DDC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80287EA0 00284DE0 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80287EA4 00284DE4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80287EA8 00284DE8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80287EAC 00284DEC 4B FC A3 91 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80287EB0 00284DF0 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80287EB4 00284DF4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80287EB8 00284DF8 38 80 00 0E */ li r4, 0xe -/* 80287EBC 00284DFC 38 C0 00 02 */ li r6, 2 -/* 80287EC0 00284E00 4B FC B8 C1 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80287EC4 00284E04 48 00 00 20 */ b lbl_80287EE4 -lbl_80287EC8: -/* 80287EC8 00284E08 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80287ECC 00284E0C 40 82 00 18 */ bne lbl_80287EE4 -/* 80287ED0 00284E10 7F E3 FB 78 */ mr r3, r31 -/* 80287ED4 00284E14 48 00 2D C5 */ bl releaseJointShadow__Q34Game5Queen3ObjFv -/* 80287ED8 00284E18 7F E3 FB 78 */ mr r3, r31 -/* 80287EDC 00284E1C 38 80 00 00 */ li r4, 0 -/* 80287EE0 00284E20 4B EB 32 11 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80287EE4: -/* 80287EE4 00284E24 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80287EE8 00284E28 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80287EEC 00284E2C 7C 08 03 A6 */ mtlr r0 -/* 80287EF0 00284E30 38 21 00 30 */ addi r1, r1, 0x30 -/* 80287EF4 00284E34 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Queen9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game5Queen9StateDeadFPQ24Game9EnemyBase: -/* 80287EF8 00284E38 4E 80 00 20 */ blr - -.global init__Q34Game5Queen10StateSleepFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Queen10StateSleepFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80287EFC 00284E3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287F00 00284E40 7C 08 02 A6 */ mflr r0 -/* 80287F04 00284E44 38 60 FF FF */ li r3, -1 -/* 80287F08 00284E48 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80287F0C 00284E4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287F10 00284E50 38 00 00 00 */ li r0, 0 -/* 80287F14 00284E54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80287F18 00284E58 7C 9F 23 78 */ mr r31, r4 -/* 80287F1C 00284E5C 90 64 02 D4 */ stw r3, 0x2d4(r4) -/* 80287F20 00284E60 7F E3 FB 78 */ mr r3, r31 -/* 80287F24 00284E64 98 04 02 C5 */ stb r0, 0x2c5(r4) -/* 80287F28 00284E68 D0 04 02 C8 */ stfs f0, 0x2c8(r4) -/* 80287F2C 00284E6C C0 04 02 0C */ lfs f0, 0x20c(r4) -/* 80287F30 00284E70 D0 04 02 D0 */ stfs f0, 0x2d0(r4) -/* 80287F34 00284E74 4B E7 F8 49 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80287F38 00284E78 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80287F3C 00284E7C 7F E3 FB 78 */ mr r3, r31 -/* 80287F40 00284E80 38 80 00 01 */ li r4, 1 -/* 80287F44 00284E84 38 A0 00 00 */ li r5, 0 -/* 80287F48 00284E88 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80287F4C 00284E8C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80287F50 00284E90 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80287F54 00284E94 4B E7 D0 B1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80287F58 00284E98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80287F5C 00284E9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80287F60 00284EA0 7C 08 03 A6 */ mtlr r0 -/* 80287F64 00284EA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80287F68 00284EA8 4E 80 00 20 */ blr - -.global exec__Q34Game5Queen10StateSleepFPQ24Game9EnemyBase -exec__Q34Game5Queen10StateSleepFPQ24Game9EnemyBase: -/* 80287F6C 00284EAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80287F70 00284EB0 7C 08 02 A6 */ mflr r0 -/* 80287F74 00284EB4 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80287F78 00284EB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80287F7C 00284EBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80287F80 00284EC0 7C 9F 23 78 */ mr r31, r4 -/* 80287F84 00284EC4 93 C1 00 08 */ stw r30, 8(r1) -/* 80287F88 00284EC8 7C 7E 1B 78 */ mr r30, r3 -/* 80287F8C 00284ECC C0 24 02 00 */ lfs f1, 0x200(r4) -/* 80287F90 00284ED0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287F94 00284ED4 4C 40 13 82 */ cror 2, 0, 2 -/* 80287F98 00284ED8 41 82 00 24 */ beq lbl_80287FBC -/* 80287F9C 00284EDC 7F E3 FB 78 */ mr r3, r31 -/* 80287FA0 00284EE0 48 00 2C B9 */ bl isHitCounterUp__Q34Game5Queen3ObjFv -/* 80287FA4 00284EE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287FA8 00284EE8 40 82 00 14 */ bne lbl_80287FBC -/* 80287FAC 00284EEC 7F E3 FB 78 */ mr r3, r31 -/* 80287FB0 00284EF0 48 00 2C 6D */ bl isCreateBaby__Q34Game5Queen3ObjFv -/* 80287FB4 00284EF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287FB8 00284EF8 41 82 00 0C */ beq lbl_80287FC4 -lbl_80287FBC: -/* 80287FBC 00284EFC 7F E3 FB 78 */ mr r3, r31 -/* 80287FC0 00284F00 4B E7 D2 E1 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80287FC4: -/* 80287FC4 00284F04 7F E3 FB 78 */ mr r3, r31 -/* 80287FC8 00284F08 4B E7 F3 39 */ bl isFinishMotion__Q24Game9EnemyBaseFv -/* 80287FCC 00284F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80287FD0 00284F10 41 82 00 64 */ beq lbl_80288034 -/* 80287FD4 00284F14 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80287FD8 00284F18 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80287FDC 00284F1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80287FE0 00284F20 4C 40 13 82 */ cror 2, 0, 2 -/* 80287FE4 00284F24 40 82 00 10 */ bne lbl_80287FF4 -/* 80287FE8 00284F28 38 00 00 00 */ li r0, 0 -/* 80287FEC 00284F2C 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80287FF0 00284F30 48 00 00 44 */ b lbl_80288034 -lbl_80287FF4: -/* 80287FF4 00284F34 7F E3 FB 78 */ mr r3, r31 -/* 80287FF8 00284F38 38 80 00 00 */ li r4, 0 -/* 80287FFC 00284F3C 4B E8 C6 5D */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80288000 00284F40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80288004 00284F44 41 82 00 10 */ beq lbl_80288014 -/* 80288008 00284F48 38 00 00 04 */ li r0, 4 -/* 8028800C 00284F4C 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80288010 00284F50 48 00 00 24 */ b lbl_80288034 -lbl_80288014: -/* 80288014 00284F54 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 80288018 00284F58 2C 00 00 00 */ cmpwi r0, 0 -/* 8028801C 00284F5C 41 82 00 10 */ beq lbl_8028802C -/* 80288020 00284F60 38 00 00 03 */ li r0, 3 -/* 80288024 00284F64 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80288028 00284F68 48 00 00 0C */ b lbl_80288034 -lbl_8028802C: -/* 8028802C 00284F6C 38 00 00 02 */ li r0, 2 -/* 80288030 00284F70 90 1F 02 D4 */ stw r0, 0x2d4(r31) -lbl_80288034: -/* 80288034 00284F74 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80288038 00284F78 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8028803C 00284F7C 28 00 00 00 */ cmplwi r0, 0 -/* 80288040 00284F80 41 82 00 68 */ beq lbl_802880A8 -/* 80288044 00284F84 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80288048 00284F88 28 00 00 00 */ cmplwi r0, 0 -/* 8028804C 00284F8C 40 82 00 10 */ bne lbl_8028805C -/* 80288050 00284F90 7F E3 FB 78 */ mr r3, r31 -/* 80288054 00284F94 48 00 3B 71 */ bl startSleepEffect__Q34Game5Queen3ObjFv -/* 80288058 00284F98 48 00 00 50 */ b lbl_802880A8 -lbl_8028805C: -/* 8028805C 00284F9C 28 00 00 02 */ cmplwi r0, 2 -/* 80288060 00284FA0 40 82 00 20 */ bne lbl_80288080 -/* 80288064 00284FA4 7F E3 FB 78 */ mr r3, r31 -/* 80288068 00284FA8 48 00 3B 91 */ bl finishSleepEffect__Q34Game5Queen3ObjFv -/* 8028806C 00284FAC 7F E3 FB 78 */ mr r3, r31 -/* 80288070 00284FB0 48 00 3B 21 */ bl createWakeUpEffect__Q34Game5Queen3ObjFv -/* 80288074 00284FB4 7F E3 FB 78 */ mr r3, r31 -/* 80288078 00284FB8 48 00 32 29 */ bl setMidBossAppearBGM__Q34Game5Queen3ObjFv -/* 8028807C 00284FBC 48 00 00 2C */ b lbl_802880A8 -lbl_80288080: -/* 80288080 00284FC0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80288084 00284FC4 40 82 00 24 */ bne lbl_802880A8 -/* 80288088 00284FC8 7F C3 F3 78 */ mr r3, r30 -/* 8028808C 00284FCC 7F E4 FB 78 */ mr r4, r31 -/* 80288090 00284FD0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80288094 00284FD4 38 C0 00 00 */ li r6, 0 -/* 80288098 00284FD8 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 8028809C 00284FDC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802880A0 00284FE0 7D 89 03 A6 */ mtctr r12 -/* 802880A4 00284FE4 4E 80 04 21 */ bctrl -lbl_802880A8: -/* 802880A8 00284FE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802880AC 00284FEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802880B0 00284FF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802880B4 00284FF4 7C 08 03 A6 */ mtlr r0 -/* 802880B8 00284FF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802880BC 00284FFC 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Queen10StateSleepFPQ24Game9EnemyBase -cleanup__Q34Game5Queen10StateSleepFPQ24Game9EnemyBase: -/* 802880C0 00285000 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802880C4 00285004 7C 08 02 A6 */ mflr r0 -/* 802880C8 00285008 90 01 00 14 */ stw r0, 0x14(r1) -/* 802880CC 0028500C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802880D0 00285010 7C 9F 23 78 */ mr r31, r4 -/* 802880D4 00285014 7F E3 FB 78 */ mr r3, r31 -/* 802880D8 00285018 4B E7 F6 BD */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 802880DC 0028501C 7F E3 FB 78 */ mr r3, r31 -/* 802880E0 00285020 48 00 3B 19 */ bl finishSleepEffect__Q34Game5Queen3ObjFv -/* 802880E4 00285024 7F E3 FB 78 */ mr r3, r31 -/* 802880E8 00285028 48 00 31 B9 */ bl setMidBossAppearBGM__Q34Game5Queen3ObjFv -/* 802880EC 0028502C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802880F0 00285030 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802880F4 00285034 7C 08 03 A6 */ mtlr r0 -/* 802880F8 00285038 38 21 00 10 */ addi r1, r1, 0x10 -/* 802880FC 0028503C 4E 80 00 20 */ blr - -.global init__Q34Game5Queen9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Queen9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80288100 00285040 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288104 00285044 7C 08 02 A6 */ mflr r0 -/* 80288108 00285048 38 60 FF FF */ li r3, -1 -/* 8028810C 0028504C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288110 00285050 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288114 00285054 38 00 00 00 */ li r0, 0 -/* 80288118 00285058 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028811C 0028505C 7C 9F 23 78 */ mr r31, r4 -/* 80288120 00285060 90 64 02 D4 */ stw r3, 0x2d4(r4) -/* 80288124 00285064 7F E3 FB 78 */ mr r3, r31 -/* 80288128 00285068 98 04 02 C5 */ stb r0, 0x2c5(r4) -/* 8028812C 0028506C D0 04 02 C8 */ stfs f0, 0x2c8(r4) -/* 80288130 00285070 C0 04 02 0C */ lfs f0, 0x20c(r4) -/* 80288134 00285074 D0 04 02 D0 */ stfs f0, 0x2d0(r4) -/* 80288138 00285078 4B E7 F6 45 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8028813C 0028507C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288140 00285080 7F E3 FB 78 */ mr r3, r31 -/* 80288144 00285084 38 80 00 02 */ li r4, 2 -/* 80288148 00285088 38 A0 00 00 */ li r5, 0 -/* 8028814C 0028508C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80288150 00285090 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80288154 00285094 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80288158 00285098 4B E7 CE AD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028815C 0028509C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288160 002850A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288164 002850A4 7C 08 03 A6 */ mtlr r0 -/* 80288168 002850A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028816C 002850AC 4E 80 00 20 */ blr - -.global exec__Q34Game5Queen9StateWaitFPQ24Game9EnemyBase -exec__Q34Game5Queen9StateWaitFPQ24Game9EnemyBase: -/* 80288170 002850B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288174 002850B4 7C 08 02 A6 */ mflr r0 -/* 80288178 002850B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028817C 002850BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288180 002850C0 7C 9F 23 78 */ mr r31, r4 -/* 80288184 002850C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80288188 002850C8 7C 7E 1B 78 */ mr r30, r3 -/* 8028818C 002850CC 7F E3 FB 78 */ mr r3, r31 -/* 80288190 002850D0 48 00 2A 8D */ bl isCreateBaby__Q34Game5Queen3ObjFv -/* 80288194 002850D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80288198 002850D8 40 82 00 24 */ bne lbl_802881BC -/* 8028819C 002850DC C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 802881A0 002850E0 C0 02 D4 74 */ lfs f0, lbl_8051B7D4@sda21(r2) -/* 802881A4 002850E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802881A8 002850E8 40 81 00 14 */ ble lbl_802881BC -/* 802881AC 002850EC 38 00 00 01 */ li r0, 1 -/* 802881B0 002850F0 7F E3 FB 78 */ mr r3, r31 -/* 802881B4 002850F4 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 802881B8 002850F8 4B E7 D0 E9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802881BC: -/* 802881BC 002850FC 7F E3 FB 78 */ mr r3, r31 -/* 802881C0 00285100 48 00 2A 99 */ bl isHitCounterUp__Q34Game5Queen3ObjFv -/* 802881C4 00285104 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802881C8 00285108 41 82 00 14 */ beq lbl_802881DC -/* 802881CC 0028510C 38 00 00 03 */ li r0, 3 -/* 802881D0 00285110 7F E3 FB 78 */ mr r3, r31 -/* 802881D4 00285114 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 802881D8 00285118 4B E7 D0 C9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802881DC: -/* 802881DC 0028511C 7F E3 FB 78 */ mr r3, r31 -/* 802881E0 00285120 48 00 2A 3D */ bl isCreateBaby__Q34Game5Queen3ObjFv -/* 802881E4 00285124 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802881E8 00285128 41 82 00 14 */ beq lbl_802881FC -/* 802881EC 0028512C 38 00 00 06 */ li r0, 6 -/* 802881F0 00285130 7F E3 FB 78 */ mr r3, r31 -/* 802881F4 00285134 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 802881F8 00285138 4B E7 D0 A9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802881FC: -/* 802881FC 0028513C 7F E3 FB 78 */ mr r3, r31 -/* 80288200 00285140 38 80 00 00 */ li r4, 0 -/* 80288204 00285144 4B E8 C4 55 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80288208 00285148 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028820C 0028514C 41 82 00 14 */ beq lbl_80288220 -/* 80288210 00285150 38 00 00 04 */ li r0, 4 -/* 80288214 00285154 7F E3 FB 78 */ mr r3, r31 -/* 80288218 00285158 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 8028821C 0028515C 4B E7 D0 85 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80288220: -/* 80288220 00285160 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80288224 00285164 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288228 00285168 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028822C 0028516C 4C 40 13 82 */ cror 2, 0, 2 -/* 80288230 00285170 40 82 00 14 */ bne lbl_80288244 -/* 80288234 00285174 38 00 00 00 */ li r0, 0 -/* 80288238 00285178 7F E3 FB 78 */ mr r3, r31 -/* 8028823C 0028517C 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80288240 00285180 4B E7 D0 61 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80288244: -/* 80288244 00285184 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 80288248 00285188 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8028824C 0028518C C0 03 00 54 */ lfs f0, 0x54(r3) -/* 80288250 00285190 EC 01 00 2A */ fadds f0, f1, f0 -/* 80288254 00285194 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 80288258 00285198 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8028825C 0028519C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80288260 002851A0 28 00 00 00 */ cmplwi r0, 0 -/* 80288264 002851A4 41 82 00 30 */ beq lbl_80288294 -/* 80288268 002851A8 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8028826C 002851AC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80288270 002851B0 40 82 00 24 */ bne lbl_80288294 -/* 80288274 002851B4 7F C3 F3 78 */ mr r3, r30 -/* 80288278 002851B8 7F E4 FB 78 */ mr r4, r31 -/* 8028827C 002851BC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80288280 002851C0 38 C0 00 00 */ li r6, 0 -/* 80288284 002851C4 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 80288288 002851C8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028828C 002851CC 7D 89 03 A6 */ mtctr r12 -/* 80288290 002851D0 4E 80 04 21 */ bctrl -lbl_80288294: -/* 80288294 002851D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288298 002851D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028829C 002851DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802882A0 002851E0 7C 08 03 A6 */ mtlr r0 -/* 802882A4 002851E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802882A8 002851E8 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Queen9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game5Queen9StateWaitFPQ24Game9EnemyBase: -/* 802882AC 002851EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802882B0 002851F0 7C 08 02 A6 */ mflr r0 -/* 802882B4 002851F4 7C 83 23 78 */ mr r3, r4 -/* 802882B8 002851F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802882BC 002851FC 4B E7 F4 D9 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 802882C0 00285200 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802882C4 00285204 7C 08 03 A6 */ mtlr r0 -/* 802882C8 00285208 38 21 00 10 */ addi r1, r1, 0x10 -/* 802882CC 0028520C 4E 80 00 20 */ blr - -.global init__Q34Game5Queen11StateDamageFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Queen11StateDamageFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802882D0 00285210 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802882D4 00285214 7C 08 02 A6 */ mflr r0 -/* 802882D8 00285218 38 60 FF FF */ li r3, -1 -/* 802882DC 0028521C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 802882E0 00285220 90 01 00 14 */ stw r0, 0x14(r1) -/* 802882E4 00285224 38 00 00 00 */ li r0, 0 -/* 802882E8 00285228 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802882EC 0028522C 7C 9F 23 78 */ mr r31, r4 -/* 802882F0 00285230 90 64 02 D4 */ stw r3, 0x2d4(r4) -/* 802882F4 00285234 7F E3 FB 78 */ mr r3, r31 -/* 802882F8 00285238 98 04 02 C5 */ stb r0, 0x2c5(r4) -/* 802882FC 0028523C D0 04 02 C8 */ stfs f0, 0x2c8(r4) -/* 80288300 00285240 48 00 37 C5 */ bl startDamageEffect__Q34Game5Queen3ObjFv -/* 80288304 00285244 7F E3 FB 78 */ mr r3, r31 -/* 80288308 00285248 4B E7 F4 75 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 8028830C 0028524C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288310 00285250 7F E3 FB 78 */ mr r3, r31 -/* 80288314 00285254 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80288318 00285258 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8028831C 0028525C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80288320 00285260 4B E7 96 AD */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80288324 00285264 7F E3 FB 78 */ mr r3, r31 -/* 80288328 00285268 38 80 00 03 */ li r4, 3 -/* 8028832C 0028526C 38 A0 00 00 */ li r5, 0 -/* 80288330 00285270 4B E7 CC D5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80288334 00285274 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288338 00285278 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028833C 0028527C 7C 08 03 A6 */ mtlr r0 -/* 80288340 00285280 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288344 00285284 4E 80 00 20 */ blr - -.global exec__Q34Game5Queen11StateDamageFPQ24Game9EnemyBase -exec__Q34Game5Queen11StateDamageFPQ24Game9EnemyBase: -/* 80288348 00285288 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028834C 0028528C 7C 08 02 A6 */ mflr r0 -/* 80288350 00285290 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288354 00285294 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288358 00285298 7C 9F 23 78 */ mr r31, r4 -/* 8028835C 0028529C 93 C1 00 08 */ stw r30, 8(r1) -/* 80288360 002852A0 7C 7E 1B 78 */ mr r30, r3 -/* 80288364 002852A4 7F E3 FB 78 */ mr r3, r31 -/* 80288368 002852A8 48 00 28 B5 */ bl isCreateBaby__Q34Game5Queen3ObjFv -/* 8028836C 002852AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80288370 002852B0 41 82 00 14 */ beq lbl_80288384 -/* 80288374 002852B4 38 00 00 06 */ li r0, 6 -/* 80288378 002852B8 7F E3 FB 78 */ mr r3, r31 -/* 8028837C 002852BC 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80288380 002852C0 4B E7 CF 21 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_80288384: -/* 80288384 002852C4 80 1F 01 F4 */ lwz r0, 0x1f4(r31) -/* 80288388 002852C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8028838C 002852CC 40 82 00 14 */ bne lbl_802883A0 -/* 80288390 002852D0 38 00 00 02 */ li r0, 2 -/* 80288394 002852D4 7F E3 FB 78 */ mr r3, r31 -/* 80288398 002852D8 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 8028839C 002852DC 4B E7 CF 05 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802883A0: -/* 802883A0 002852E0 7F E3 FB 78 */ mr r3, r31 -/* 802883A4 002852E4 38 80 00 00 */ li r4, 0 -/* 802883A8 002852E8 4B E8 C2 B1 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 802883AC 002852EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802883B0 002852F0 41 82 00 14 */ beq lbl_802883C4 -/* 802883B4 002852F4 38 00 00 04 */ li r0, 4 -/* 802883B8 002852F8 7F E3 FB 78 */ mr r3, r31 -/* 802883BC 002852FC 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 802883C0 00285300 4B E7 CE E1 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802883C4: -/* 802883C4 00285304 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802883C8 00285308 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 802883CC 0028530C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802883D0 00285310 4C 40 13 82 */ cror 2, 0, 2 -/* 802883D4 00285314 40 82 00 14 */ bne lbl_802883E8 -/* 802883D8 00285318 38 00 00 00 */ li r0, 0 -/* 802883DC 0028531C 7F E3 FB 78 */ mr r3, r31 -/* 802883E0 00285320 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 802883E4 00285324 4B E7 CE BD */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802883E8: -/* 802883E8 00285328 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802883EC 0028532C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802883F0 00285330 28 00 00 00 */ cmplwi r0, 0 -/* 802883F4 00285334 41 82 00 30 */ beq lbl_80288424 -/* 802883F8 00285338 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802883FC 0028533C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80288400 00285340 40 82 00 24 */ bne lbl_80288424 -/* 80288404 00285344 7F C3 F3 78 */ mr r3, r30 -/* 80288408 00285348 7F E4 FB 78 */ mr r4, r31 -/* 8028840C 0028534C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80288410 00285350 38 C0 00 00 */ li r6, 0 -/* 80288414 00285354 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 80288418 00285358 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028841C 0028535C 7D 89 03 A6 */ mtctr r12 -/* 80288420 00285360 4E 80 04 21 */ bctrl -lbl_80288424: -/* 80288424 00285364 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288428 00285368 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028842C 0028536C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80288430 00285370 7C 08 03 A6 */ mtlr r0 -/* 80288434 00285374 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288438 00285378 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Queen11StateDamageFPQ24Game9EnemyBase -cleanup__Q34Game5Queen11StateDamageFPQ24Game9EnemyBase: -/* 8028843C 0028537C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288440 00285380 7C 08 02 A6 */ mflr r0 -/* 80288444 00285384 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288448 00285388 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028844C 0028538C 7C 9F 23 78 */ mr r31, r4 -/* 80288450 00285390 7F E3 FB 78 */ mr r3, r31 -/* 80288454 00285394 4B E7 F3 41 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80288458 00285398 7F E3 FB 78 */ mr r3, r31 -/* 8028845C 0028539C 48 00 36 9D */ bl finishDamageEffect__Q34Game5Queen3ObjFv -/* 80288460 002853A0 7F E3 FB 78 */ mr r3, r31 -/* 80288464 002853A4 4B E7 95 19 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80288468 002853A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028846C 002853AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288470 002853B0 7C 08 03 A6 */ mtlr r0 -/* 80288474 002853B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288478 002853B8 4E 80 00 20 */ blr - -.global init__Q34Game5Queen10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Queen10StateFlickFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028847C 002853BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288480 002853C0 7C 08 02 A6 */ mflr r0 -/* 80288484 002853C4 38 60 FF FF */ li r3, -1 -/* 80288488 002853C8 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 8028848C 002853CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288490 002853D0 38 00 00 00 */ li r0, 0 -/* 80288494 002853D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288498 002853D8 7C 9F 23 78 */ mr r31, r4 -/* 8028849C 002853DC 90 64 02 D4 */ stw r3, 0x2d4(r4) -/* 802884A0 002853E0 7F E3 FB 78 */ mr r3, r31 -/* 802884A4 002853E4 98 04 02 C5 */ stb r0, 0x2c5(r4) -/* 802884A8 002853E8 D0 04 02 C8 */ stfs f0, 0x2c8(r4) -/* 802884AC 002853EC 48 00 36 7D */ bl createFlickEffect__Q34Game5Queen3ObjFv -/* 802884B0 002853F0 7F E3 FB 78 */ mr r3, r31 -/* 802884B4 002853F4 4B E7 F2 C9 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 802884B8 002853F8 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 802884BC 002853FC 7F E3 FB 78 */ mr r3, r31 -/* 802884C0 00285400 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 802884C4 00285404 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 802884C8 00285408 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 802884CC 0028540C 4B E7 95 01 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 802884D0 00285410 7F E3 FB 78 */ mr r3, r31 -/* 802884D4 00285414 38 80 00 04 */ li r4, 4 -/* 802884D8 00285418 38 A0 00 00 */ li r5, 0 -/* 802884DC 0028541C 4B E7 CB 29 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802884E0 00285420 7F E3 FB 78 */ mr r3, r31 -/* 802884E4 00285424 48 00 27 F5 */ bl startBossChargeBGM__Q34Game5Queen3ObjFv -/* 802884E8 00285428 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802884EC 0028542C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802884F0 00285430 7C 08 03 A6 */ mtlr r0 -/* 802884F4 00285434 38 21 00 10 */ addi r1, r1, 0x10 -/* 802884F8 00285438 4E 80 00 20 */ blr - -.global exec__Q34Game5Queen10StateFlickFPQ24Game9EnemyBase -exec__Q34Game5Queen10StateFlickFPQ24Game9EnemyBase: -/* 802884FC 0028543C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288500 00285440 7C 08 02 A6 */ mflr r0 -/* 80288504 00285444 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288508 00285448 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028850C 0028544C 7C 9F 23 78 */ mr r31, r4 -/* 80288510 00285450 93 C1 00 08 */ stw r30, 8(r1) -/* 80288514 00285454 7C 7E 1B 78 */ mr r30, r3 -/* 80288518 00285458 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 8028851C 0028545C 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80288520 00285460 28 00 00 00 */ cmplwi r0, 0 -/* 80288524 00285464 41 82 00 BC */ beq lbl_802885E0 -/* 80288528 00285468 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8028852C 0028546C 28 00 00 02 */ cmplwi r0, 2 -/* 80288530 00285470 40 82 00 24 */ bne lbl_80288554 -/* 80288534 00285474 7F E3 FB 78 */ mr r3, r31 -/* 80288538 00285478 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028853C 0028547C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80288540 00285480 7D 89 03 A6 */ mtctr r12 -/* 80288544 00285484 4E 80 04 21 */ bctrl -/* 80288548 00285488 7F E3 FB 78 */ mr r3, r31 -/* 8028854C 0028548C 48 00 1A 51 */ bl flickPikmin__Q34Game5Queen3ObjFf -/* 80288550 00285490 48 00 00 90 */ b lbl_802885E0 -lbl_80288554: -/* 80288554 00285494 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80288558 00285498 40 82 00 88 */ bne lbl_802885E0 -/* 8028855C 0028549C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80288560 002854A0 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288564 002854A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288568 002854A8 4C 40 13 82 */ cror 2, 0, 2 -/* 8028856C 002854AC 40 82 00 20 */ bne lbl_8028858C -/* 80288570 002854B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80288574 002854B4 38 A0 00 00 */ li r5, 0 -/* 80288578 002854B8 38 C0 00 00 */ li r6, 0 -/* 8028857C 002854BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80288580 002854C0 7D 89 03 A6 */ mtctr r12 -/* 80288584 002854C4 4E 80 04 21 */ bctrl -/* 80288588 002854C8 48 00 00 58 */ b lbl_802885E0 -lbl_8028858C: -/* 8028858C 002854CC 7F E3 FB 78 */ mr r3, r31 -/* 80288590 002854D0 48 00 1D B5 */ bl isRollingAttackLeft__Q34Game5Queen3ObjFv -/* 80288594 002854D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80288598 002854D8 41 82 00 28 */ beq lbl_802885C0 -/* 8028859C 002854DC 7F C3 F3 78 */ mr r3, r30 -/* 802885A0 002854E0 7F E4 FB 78 */ mr r4, r31 -/* 802885A4 002854E4 81 9E 00 00 */ lwz r12, 0(r30) -/* 802885A8 002854E8 38 A0 00 05 */ li r5, 5 -/* 802885AC 002854EC 38 C2 D4 78 */ addi r6, r2, lbl_8051B7D8@sda21 -/* 802885B0 002854F0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802885B4 002854F4 7D 89 03 A6 */ mtctr r12 -/* 802885B8 002854F8 4E 80 04 21 */ bctrl -/* 802885BC 002854FC 48 00 00 24 */ b lbl_802885E0 -lbl_802885C0: -/* 802885C0 00285500 7F C3 F3 78 */ mr r3, r30 -/* 802885C4 00285504 7F E4 FB 78 */ mr r4, r31 -/* 802885C8 00285508 81 9E 00 00 */ lwz r12, 0(r30) -/* 802885CC 0028550C 38 A0 00 05 */ li r5, 5 -/* 802885D0 00285510 38 C0 00 00 */ li r6, 0 -/* 802885D4 00285514 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802885D8 00285518 7D 89 03 A6 */ mtctr r12 -/* 802885DC 0028551C 4E 80 04 21 */ bctrl -lbl_802885E0: -/* 802885E0 00285520 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802885E4 00285524 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802885E8 00285528 83 C1 00 08 */ lwz r30, 8(r1) -/* 802885EC 0028552C 7C 08 03 A6 */ mtlr r0 -/* 802885F0 00285530 38 21 00 10 */ addi r1, r1, 0x10 -/* 802885F4 00285534 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Queen10StateFlickFPQ24Game9EnemyBase -cleanup__Q34Game5Queen10StateFlickFPQ24Game9EnemyBase: -/* 802885F8 00285538 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802885FC 0028553C 7C 08 02 A6 */ mflr r0 -/* 80288600 00285540 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288604 00285544 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288608 00285548 7C 9F 23 78 */ mr r31, r4 -/* 8028860C 0028554C 7F E3 FB 78 */ mr r3, r31 -/* 80288610 00285550 4B E7 F1 85 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80288614 00285554 7F E3 FB 78 */ mr r3, r31 -/* 80288618 00285558 4B E7 93 65 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 8028861C 0028555C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288620 00285560 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288624 00285564 7C 08 03 A6 */ mtlr r0 -/* 80288628 00285568 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028862C 0028556C 4E 80 00 20 */ blr - -.global init__Q34Game5Queen12StateRollingFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Queen12StateRollingFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80288630 00285570 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288634 00285574 7C 08 02 A6 */ mflr r0 -/* 80288638 00285578 38 60 FF FF */ li r3, -1 -/* 8028863C 0028557C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288640 00285580 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288644 00285584 38 00 00 00 */ li r0, 0 -/* 80288648 00285588 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028864C 0028558C 7C 9F 23 78 */ mr r31, r4 -/* 80288650 00285590 93 C1 00 08 */ stw r30, 8(r1) -/* 80288654 00285594 7C BE 2B 78 */ mr r30, r5 -/* 80288658 00285598 90 64 02 D4 */ stw r3, 0x2d4(r4) -/* 8028865C 0028559C 7F E3 FB 78 */ mr r3, r31 -/* 80288660 002855A0 98 04 02 C2 */ stb r0, 0x2c2(r4) -/* 80288664 002855A4 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80288668 002855A8 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 8028866C 002855AC D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80288670 002855B0 4B E7 93 5D */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80288674 002855B4 28 1E 00 00 */ cmplwi r30, 0 -/* 80288678 002855B8 41 82 00 18 */ beq lbl_80288690 -/* 8028867C 002855BC 7F E3 FB 78 */ mr r3, r31 -/* 80288680 002855C0 38 80 00 05 */ li r4, 5 -/* 80288684 002855C4 38 A0 00 00 */ li r5, 0 -/* 80288688 002855C8 4B E7 C9 7D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028868C 002855CC 48 00 00 14 */ b lbl_802886A0 -lbl_80288690: -/* 80288690 002855D0 7F E3 FB 78 */ mr r3, r31 -/* 80288694 002855D4 38 80 00 06 */ li r4, 6 -/* 80288698 002855D8 38 A0 00 00 */ li r5, 0 -/* 8028869C 002855DC 4B E7 C9 69 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -lbl_802886A0: -/* 802886A0 002855E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802886A4 002855E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802886A8 002855E8 83 C1 00 08 */ lwz r30, 8(r1) -/* 802886AC 002855EC 7C 08 03 A6 */ mtlr r0 -/* 802886B0 002855F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 802886B4 002855F4 4E 80 00 20 */ blr - -.global exec__Q34Game5Queen12StateRollingFPQ24Game9EnemyBase -exec__Q34Game5Queen12StateRollingFPQ24Game9EnemyBase: -/* 802886B8 002855F8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 802886BC 002855FC 7C 08 02 A6 */ mflr r0 -/* 802886C0 00285600 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 802886C4 00285604 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 802886C8 00285608 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 802886CC 0028560C DB C1 00 80 */ stfd f30, 0x80(r1) -/* 802886D0 00285610 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 802886D4 00285614 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 802886D8 00285618 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 802886DC 0028561C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 802886E0 00285620 93 C1 00 68 */ stw r30, 0x68(r1) -/* 802886E4 00285624 88 04 02 C2 */ lbz r0, 0x2c2(r4) -/* 802886E8 00285628 7C 7E 1B 78 */ mr r30, r3 -/* 802886EC 0028562C 7C 9F 23 78 */ mr r31, r4 -/* 802886F0 00285630 28 00 00 00 */ cmplwi r0, 0 -/* 802886F4 00285634 41 82 02 08 */ beq lbl_802888FC -/* 802886F8 00285638 7F E3 FB 78 */ mr r3, r31 -/* 802886FC 0028563C 4B E7 EC 4D */ bl getCurrAnimIndex__Q24Game9EnemyBaseFv -/* 80288700 00285640 2C 03 00 05 */ cmpwi r3, 5 -/* 80288704 00285644 40 82 00 0C */ bne lbl_80288710 -/* 80288708 00285648 C3 C2 D4 80 */ lfs f30, lbl_8051B7E0@sda21(r2) -/* 8028870C 0028564C 48 00 00 08 */ b lbl_80288714 -lbl_80288710: -/* 80288710 00285650 C3 C2 D4 84 */ lfs f30, lbl_8051B7E4@sda21(r2) -lbl_80288714: -/* 80288714 00285654 7F E3 FB 78 */ mr r3, r31 -/* 80288718 00285658 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028871C 0028565C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80288720 00285660 7D 89 03 A6 */ mtctr r12 -/* 80288724 00285664 4E 80 04 21 */ bctrl -/* 80288728 00285668 EC 7E 08 2A */ fadds f3, f30, f1 -/* 8028872C 0028566C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288730 00285670 FC 20 18 90 */ fmr f1, f3 -/* 80288734 00285674 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80288738 00285678 40 80 00 08 */ bge lbl_80288740 -/* 8028873C 0028567C FC 20 18 50 */ fneg f1, f3 -lbl_80288740: -/* 80288740 00285680 C0 42 D4 88 */ lfs f2, lbl_8051B7E8@sda21(r2) -/* 80288744 00285684 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80288748 00285688 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 8028874C 0028568C 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80288750 00285690 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80288754 00285694 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80288758 00285698 FC 00 08 1E */ fctiwz f0, f1 -/* 8028875C 0028569C D8 01 00 50 */ stfd f0, 0x50(r1) -/* 80288760 002856A0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80288764 002856A4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80288768 002856A8 7C 64 02 14 */ add r3, r4, r0 -/* 8028876C 002856AC C3 E3 00 04 */ lfs f31, 4(r3) -/* 80288770 002856B0 40 80 00 28 */ bge lbl_80288798 -/* 80288774 002856B4 C0 02 D4 8C */ lfs f0, lbl_8051B7EC@sda21(r2) -/* 80288778 002856B8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8028877C 002856BC FC 00 00 1E */ fctiwz f0, f0 -/* 80288780 002856C0 D8 01 00 58 */ stfd f0, 0x58(r1) -/* 80288784 002856C4 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 80288788 002856C8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028878C 002856CC 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80288790 002856D0 FF C0 00 50 */ fneg f30, f0 -/* 80288794 002856D4 48 00 00 1C */ b lbl_802887B0 -lbl_80288798: -/* 80288798 002856D8 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 8028879C 002856DC FC 00 00 1E */ fctiwz f0, f0 -/* 802887A0 002856E0 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 802887A4 002856E4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802887A8 002856E8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802887AC 002856EC 7F C4 04 2E */ lfsx f30, r4, r0 -lbl_802887B0: -/* 802887B0 002856F0 7F E4 FB 78 */ mr r4, r31 -/* 802887B4 002856F4 38 61 00 2C */ addi r3, r1, 0x2c -/* 802887B8 002856F8 81 9F 00 00 */ lwz r12, 0(r31) -/* 802887BC 002856FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802887C0 00285700 7D 89 03 A6 */ mtctr r12 -/* 802887C4 00285704 4E 80 04 21 */ bctrl -/* 802887C8 00285708 C1 01 00 2C */ lfs f8, 0x2c(r1) -/* 802887CC 0028570C C0 BF 01 98 */ lfs f5, 0x198(r31) -/* 802887D0 00285710 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802887D4 00285714 EC 08 28 28 */ fsubs f0, f8, f5 -/* 802887D8 00285718 C0 E2 D4 70 */ lfs f7, lbl_8051B7D0@sda21(r2) -/* 802887DC 0028571C C0 81 00 34 */ lfs f4, 0x34(r1) -/* 802887E0 00285720 C0 DF 01 A0 */ lfs f6, 0x1a0(r31) -/* 802887E4 00285724 EC 00 3F BA */ fmadds f0, f0, f30, f7 -/* 802887E8 00285728 C0 63 03 5C */ lfs f3, 0x35c(r3) -/* 802887EC 0028572C EC 24 30 28 */ fsubs f1, f4, f6 -/* 802887F0 00285730 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 802887F4 00285734 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 802887F8 00285738 40 81 00 14 */ ble lbl_8028880C -/* 802887FC 0028573C D0 FF 01 D4 */ stfs f7, 0x1d4(r31) -/* 80288800 00285740 D0 FF 01 D8 */ stfs f7, 0x1d8(r31) -/* 80288804 00285744 D0 FF 01 DC */ stfs f7, 0x1dc(r31) -/* 80288808 00285748 48 00 00 84 */ b lbl_8028888C -lbl_8028880C: -/* 8028880C 0028574C C0 42 D4 90 */ lfs f2, lbl_8051B7F0@sda21(r2) -/* 80288810 00285750 EC 25 40 28 */ fsubs f1, f5, f8 -/* 80288814 00285754 EC 06 20 28 */ fsubs f0, f6, f4 -/* 80288818 00285758 EC 62 18 2A */ fadds f3, f2, f3 -/* 8028881C 0028575C EC 5E 00 F2 */ fmuls f2, f30, f3 -/* 80288820 00285760 EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 80288824 00285764 EC 42 08 2A */ fadds f2, f2, f1 -/* 80288828 00285768 EC 63 00 2A */ fadds f3, f3, f0 -/* 8028882C 0028576C EC 02 38 BA */ fmadds f0, f2, f2, f7 -/* 80288830 00285770 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 80288834 00285774 EC 21 00 2A */ fadds f1, f1, f0 -/* 80288838 00285778 FC 01 38 40 */ fcmpo cr0, f1, f7 -/* 8028883C 0028577C 40 81 00 14 */ ble lbl_80288850 -/* 80288840 00285780 40 81 00 14 */ ble lbl_80288854 -/* 80288844 00285784 FC 00 08 34 */ frsqrte f0, f1 -/* 80288848 00285788 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8028884C 0028578C 48 00 00 08 */ b lbl_80288854 -lbl_80288850: -/* 80288850 00285790 FC 20 38 90 */ fmr f1, f7 -lbl_80288854: -/* 80288854 00285794 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288858 00285798 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028885C 0028579C 40 81 00 18 */ ble lbl_80288874 -/* 80288860 002857A0 C0 02 D4 94 */ lfs f0, lbl_8051B7F4@sda21(r2) -/* 80288864 002857A4 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80288868 002857A8 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8028886C 002857AC EC E7 00 32 */ fmuls f7, f7, f0 -/* 80288870 002857B0 EC 63 00 32 */ fmuls f3, f3, f0 -lbl_80288874: -/* 80288874 002857B4 C0 03 02 E4 */ lfs f0, 0x2e4(r3) -/* 80288878 002857B8 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8028887C 002857BC EC 63 00 32 */ fmuls f3, f3, f0 -/* 80288880 002857C0 D0 5F 01 D4 */ stfs f2, 0x1d4(r31) -/* 80288884 002857C4 D0 FF 01 D8 */ stfs f7, 0x1d8(r31) -/* 80288888 002857C8 D0 7F 01 DC */ stfs f3, 0x1dc(r31) -lbl_8028888C: -/* 8028888C 002857CC C0 22 D4 98 */ lfs f1, lbl_8051B7F8@sda21(r2) -/* 80288890 002857D0 7F E3 FB 78 */ mr r3, r31 -/* 80288894 002857D4 48 00 17 09 */ bl flickPikmin__Q34Game5Queen3ObjFf -/* 80288898 002857D8 7F E3 FB 78 */ mr r3, r31 -/* 8028889C 002857DC 48 00 14 15 */ bl rollingAttack__Q34Game5Queen3ObjFv -/* 802888A0 002857E0 80 AD 9A EC */ lwz r5, sys@sda21(r13) -/* 802888A4 002857E4 7F E4 FB 78 */ mr r4, r31 -/* 802888A8 002857E8 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 802888AC 002857EC 38 61 00 20 */ addi r3, r1, 0x20 -/* 802888B0 002857F0 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 802888B4 002857F4 EC 01 00 2A */ fadds f0, f1, f0 -/* 802888B8 002857F8 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 802888BC 002857FC 81 9F 00 00 */ lwz r12, 0(r31) -/* 802888C0 00285800 81 8C 00 08 */ lwz r12, 8(r12) -/* 802888C4 00285804 7D 89 03 A6 */ mtctr r12 -/* 802888C8 00285808 4E 80 04 21 */ bctrl -/* 802888CC 0028580C C0 41 00 20 */ lfs f2, 0x20(r1) -/* 802888D0 00285810 38 A1 00 44 */ addi r5, r1, 0x44 -/* 802888D4 00285814 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 802888D8 00285818 38 80 00 0F */ li r4, 0xf -/* 802888DC 0028581C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 802888E0 00285820 38 C0 00 02 */ li r6, 2 -/* 802888E4 00285824 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 802888E8 00285828 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 802888EC 0028582C D0 21 00 48 */ stfs f1, 0x48(r1) -/* 802888F0 00285830 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 802888F4 00285834 4B FC 99 49 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 802888F8 00285838 48 00 00 14 */ b lbl_8028890C -lbl_802888FC: -/* 802888FC 0028583C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288900 00285840 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80288904 00285844 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80288908 00285848 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8028890C: -/* 8028890C 0028584C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80288910 00285850 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288914 00285854 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288918 00285858 4C 40 13 82 */ cror 2, 0, 2 -/* 8028891C 0028585C 40 82 00 2C */ bne lbl_80288948 -/* 80288920 00285860 38 00 00 00 */ li r0, 0 -/* 80288924 00285864 7F E3 FB 78 */ mr r3, r31 -/* 80288928 00285868 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 8028892C 0028586C 98 1F 02 C2 */ stb r0, 0x2c2(r31) -/* 80288930 00285870 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80288934 00285874 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80288938 00285878 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8028893C 0028587C 4B E7 C9 65 */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80288940 00285880 7F E3 FB 78 */ mr r3, r31 -/* 80288944 00285884 48 00 25 39 */ bl finishBossAttackLoopBGM__Q34Game5Queen3ObjFv -lbl_80288948: -/* 80288948 00285888 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8028894C 0028588C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80288950 00285890 28 00 00 00 */ cmplwi r0, 0 -/* 80288954 00285894 41 82 02 F0 */ beq lbl_80288C44 -/* 80288958 00285898 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8028895C 0028589C 28 00 00 02 */ cmplwi r0, 2 -/* 80288960 002858A0 40 82 02 58 */ bne lbl_80288BB8 -/* 80288964 002858A4 7F E3 FB 78 */ mr r3, r31 -/* 80288968 002858A8 4B E7 E9 E1 */ bl getCurrAnimIndex__Q24Game9EnemyBaseFv -/* 8028896C 002858AC 2C 03 00 05 */ cmpwi r3, 5 -/* 80288970 002858B0 40 82 00 0C */ bne lbl_8028897C -/* 80288974 002858B4 C3 C2 D4 80 */ lfs f30, lbl_8051B7E0@sda21(r2) -/* 80288978 002858B8 48 00 00 08 */ b lbl_80288980 -lbl_8028897C: -/* 8028897C 002858BC C3 C2 D4 84 */ lfs f30, lbl_8051B7E4@sda21(r2) -lbl_80288980: -/* 80288980 002858C0 7F E3 FB 78 */ mr r3, r31 -/* 80288984 002858C4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80288988 002858C8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028898C 002858CC 7D 89 03 A6 */ mtctr r12 -/* 80288990 002858D0 4E 80 04 21 */ bctrl -/* 80288994 002858D4 EC 7E 08 2A */ fadds f3, f30, f1 -/* 80288998 002858D8 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 8028899C 002858DC FC 20 18 90 */ fmr f1, f3 -/* 802889A0 002858E0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802889A4 002858E4 40 80 00 08 */ bge lbl_802889AC -/* 802889A8 002858E8 FC 20 18 50 */ fneg f1, f3 -lbl_802889AC: -/* 802889AC 002858EC C0 42 D4 88 */ lfs f2, lbl_8051B7E8@sda21(r2) -/* 802889B0 002858F0 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 802889B4 002858F4 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 802889B8 002858F8 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 802889BC 002858FC EC 21 00 B2 */ fmuls f1, f1, f2 -/* 802889C0 00285900 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802889C4 00285904 FC 00 08 1E */ fctiwz f0, f1 -/* 802889C8 00285908 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 802889CC 0028590C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 802889D0 00285910 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802889D4 00285914 7C 64 02 14 */ add r3, r4, r0 -/* 802889D8 00285918 C3 E3 00 04 */ lfs f31, 4(r3) -/* 802889DC 0028591C 40 80 00 28 */ bge lbl_80288A04 -/* 802889E0 00285920 C0 02 D4 8C */ lfs f0, lbl_8051B7EC@sda21(r2) -/* 802889E4 00285924 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802889E8 00285928 FC 00 00 1E */ fctiwz f0, f0 -/* 802889EC 0028592C D8 01 00 58 */ stfd f0, 0x58(r1) -/* 802889F0 00285930 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 802889F4 00285934 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802889F8 00285938 7C 04 04 2E */ lfsx f0, r4, r0 -/* 802889FC 0028593C FF C0 00 50 */ fneg f30, f0 -/* 80288A00 00285940 48 00 00 1C */ b lbl_80288A1C -lbl_80288A04: -/* 80288A04 00285944 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 80288A08 00285948 FC 00 00 1E */ fctiwz f0, f0 -/* 80288A0C 0028594C D8 01 00 50 */ stfd f0, 0x50(r1) -/* 80288A10 00285950 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80288A14 00285954 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80288A18 00285958 7F C4 04 2E */ lfsx f30, r4, r0 -lbl_80288A1C: -/* 80288A1C 0028595C 7F E4 FB 78 */ mr r4, r31 -/* 80288A20 00285960 38 61 00 14 */ addi r3, r1, 0x14 -/* 80288A24 00285964 81 9F 00 00 */ lwz r12, 0(r31) -/* 80288A28 00285968 81 8C 00 08 */ lwz r12, 8(r12) -/* 80288A2C 0028596C 7D 89 03 A6 */ mtctr r12 -/* 80288A30 00285970 4E 80 04 21 */ bctrl -/* 80288A34 00285974 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80288A38 00285978 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80288A3C 0028597C C0 1F 01 98 */ lfs f0, 0x198(r31) -/* 80288A40 00285980 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 80288A44 00285984 C0 5F 01 A0 */ lfs f2, 0x1a0(r31) -/* 80288A48 00285988 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80288A4C 0028598C C0 62 D4 70 */ lfs f3, lbl_8051B7D0@sda21(r2) -/* 80288A50 00285990 C0 1F 02 00 */ lfs f0, 0x200(r31) -/* 80288A54 00285994 EC A4 10 28 */ fsubs f5, f4, f2 -/* 80288A58 00285998 EC 81 1F BA */ fmadds f4, f1, f30, f3 -/* 80288A5C 0028599C C0 42 D4 9C */ lfs f2, lbl_8051B7FC@sda21(r2) -/* 80288A60 002859A0 C0 23 03 84 */ lfs f1, 0x384(r3) -/* 80288A64 002859A4 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80288A68 002859A8 C0 63 03 5C */ lfs f3, 0x35c(r3) -/* 80288A6C 002859AC EC 02 08 2A */ fadds f0, f2, f1 -/* 80288A70 002859B0 EF C5 27 FA */ fmadds f30, f5, f31, f4 -/* 80288A74 002859B4 EF E3 10 28 */ fsubs f31, f3, f2 -/* 80288A78 002859B8 FF A0 00 50 */ fneg f29, f0 -/* 80288A7C 002859BC 4C 40 13 82 */ cror 2, 0, 2 -/* 80288A80 002859C0 40 82 00 0C */ bne lbl_80288A8C -/* 80288A84 002859C4 7F E3 FB 78 */ mr r3, r31 -/* 80288A88 002859C8 48 00 23 F5 */ bl finishBossAttackLoopBGM__Q34Game5Queen3ObjFv -lbl_80288A8C: -/* 80288A8C 002859CC FC 1E F8 40 */ fcmpo cr0, f30, f31 -/* 80288A90 002859D0 40 81 00 C4 */ ble lbl_80288B54 -/* 80288A94 002859D4 88 1F 02 C2 */ lbz r0, 0x2c2(r31) -/* 80288A98 002859D8 28 00 00 00 */ cmplwi r0, 0 -/* 80288A9C 002859DC 41 82 00 64 */ beq lbl_80288B00 -/* 80288AA0 002859E0 7F E3 FB 78 */ mr r3, r31 -/* 80288AA4 002859E4 48 00 1A 49 */ bl createCrashFallRock__Q34Game5Queen3ObjFv -/* 80288AA8 002859E8 7F E4 FB 78 */ mr r4, r31 -/* 80288AAC 002859EC 38 61 00 08 */ addi r3, r1, 8 -/* 80288AB0 002859F0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80288AB4 002859F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80288AB8 002859F8 7D 89 03 A6 */ mtctr r12 -/* 80288ABC 002859FC 4E 80 04 21 */ bctrl -/* 80288AC0 00285A00 C0 41 00 08 */ lfs f2, 8(r1) -/* 80288AC4 00285A04 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80288AC8 00285A08 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80288ACC 00285A0C 38 80 00 1B */ li r4, 0x1b -/* 80288AD0 00285A10 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80288AD4 00285A14 38 C0 00 02 */ li r6, 2 -/* 80288AD8 00285A18 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80288ADC 00285A1C 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80288AE0 00285A20 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80288AE4 00285A24 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80288AE8 00285A28 4B FC 97 55 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80288AEC 00285A2C 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80288AF0 00285A30 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80288AF4 00285A34 38 80 00 0F */ li r4, 0xf -/* 80288AF8 00285A38 38 C0 00 02 */ li r6, 2 -/* 80288AFC 00285A3C 4B FC AC 85 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -lbl_80288B00: -/* 80288B00 00285A40 38 60 00 00 */ li r3, 0 -/* 80288B04 00285A44 38 00 00 05 */ li r0, 5 -/* 80288B08 00285A48 98 7F 02 C2 */ stb r3, 0x2c2(r31) -/* 80288B0C 00285A4C 7F E3 FB 78 */ mr r3, r31 -/* 80288B10 00285A50 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80288B14 00285A54 4B E7 C7 8D */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80288B18 00285A58 7F E3 FB 78 */ mr r3, r31 -/* 80288B1C 00285A5C 38 80 00 01 */ li r4, 1 -/* 80288B20 00285A60 48 00 2E 61 */ bl finishRollingEffect__Q34Game5Queen3ObjFb -/* 80288B24 00285A64 7F E3 FB 78 */ mr r3, r31 -/* 80288B28 00285A68 81 9F 00 00 */ lwz r12, 0(r31) -/* 80288B2C 00285A6C 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 80288B30 00285A70 7D 89 03 A6 */ mtctr r12 -/* 80288B34 00285A74 4E 80 04 21 */ bctrl -/* 80288B38 00285A78 81 83 00 00 */ lwz r12, 0(r3) -/* 80288B3C 00285A7C 38 80 58 BA */ li r4, 0x58ba -/* 80288B40 00285A80 38 A0 00 00 */ li r5, 0 -/* 80288B44 00285A84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80288B48 00285A88 7D 89 03 A6 */ mtctr r12 -/* 80288B4C 00285A8C 4E 80 04 21 */ bctrl -/* 80288B50 00285A90 48 00 00 F4 */ b lbl_80288C44 -lbl_80288B54: -/* 80288B54 00285A94 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80288B58 00285A98 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 80288B5C 00285A9C C0 03 08 1C */ lfs f0, 0x81c(r3) -/* 80288B60 00285AA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288B64 00285AA4 40 81 00 E0 */ ble lbl_80288C44 -/* 80288B68 00285AA8 FC 1E E8 40 */ fcmpo cr0, f30, f29 -/* 80288B6C 00285AAC 40 81 00 D8 */ ble lbl_80288C44 -/* 80288B70 00285AB0 C0 02 D4 9C */ lfs f0, lbl_8051B7FC@sda21(r2) -/* 80288B74 00285AB4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80288B78 00285AB8 40 80 00 CC */ bge lbl_80288C44 -/* 80288B7C 00285ABC 88 1F 02 C2 */ lbz r0, 0x2c2(r31) -/* 80288B80 00285AC0 28 00 00 00 */ cmplwi r0, 0 -/* 80288B84 00285AC4 41 82 00 0C */ beq lbl_80288B90 -/* 80288B88 00285AC8 7F E3 FB 78 */ mr r3, r31 -/* 80288B8C 00285ACC 48 00 22 F1 */ bl finishBossAttackLoopBGM__Q34Game5Queen3ObjFv -lbl_80288B90: -/* 80288B90 00285AD0 38 60 00 00 */ li r3, 0 -/* 80288B94 00285AD4 38 00 00 02 */ li r0, 2 -/* 80288B98 00285AD8 98 7F 02 C2 */ stb r3, 0x2c2(r31) -/* 80288B9C 00285ADC 7F E3 FB 78 */ mr r3, r31 -/* 80288BA0 00285AE0 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 80288BA4 00285AE4 4B E7 C6 FD */ bl finishMotion__Q24Game9EnemyBaseFv -/* 80288BA8 00285AE8 7F E3 FB 78 */ mr r3, r31 -/* 80288BAC 00285AEC 38 80 00 00 */ li r4, 0 -/* 80288BB0 00285AF0 48 00 2D D1 */ bl finishRollingEffect__Q34Game5Queen3ObjFb -/* 80288BB4 00285AF4 48 00 00 90 */ b lbl_80288C44 -lbl_80288BB8: -/* 80288BB8 00285AF8 28 00 00 00 */ cmplwi r0, 0 -/* 80288BBC 00285AFC 40 82 00 2C */ bne lbl_80288BE8 -/* 80288BC0 00285B00 88 1F 02 C2 */ lbz r0, 0x2c2(r31) -/* 80288BC4 00285B04 28 00 00 00 */ cmplwi r0, 0 -/* 80288BC8 00285B08 40 82 00 7C */ bne lbl_80288C44 -/* 80288BCC 00285B0C 38 00 00 01 */ li r0, 1 -/* 80288BD0 00285B10 7F E3 FB 78 */ mr r3, r31 -/* 80288BD4 00285B14 98 1F 02 C2 */ stb r0, 0x2c2(r31) -/* 80288BD8 00285B18 48 00 2D 29 */ bl startRollingEffect__Q34Game5Queen3ObjFv -/* 80288BDC 00285B1C 7F E3 FB 78 */ mr r3, r31 -/* 80288BE0 00285B20 48 00 21 C1 */ bl startBossAttackLoopBGM__Q34Game5Queen3ObjFv -/* 80288BE4 00285B24 48 00 00 60 */ b lbl_80288C44 -lbl_80288BE8: -/* 80288BE8 00285B28 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80288BEC 00285B2C 40 82 00 58 */ bne lbl_80288C44 -/* 80288BF0 00285B30 7F E3 FB 78 */ mr r3, r31 -/* 80288BF4 00285B34 4B E7 E7 55 */ bl getCurrAnimIndex__Q24Game9EnemyBaseFv -/* 80288BF8 00285B38 2C 03 00 06 */ cmpwi r3, 6 -/* 80288BFC 00285B3C 40 82 00 28 */ bne lbl_80288C24 -/* 80288C00 00285B40 7F C3 F3 78 */ mr r3, r30 -/* 80288C04 00285B44 7F E4 FB 78 */ mr r4, r31 -/* 80288C08 00285B48 81 9E 00 00 */ lwz r12, 0(r30) -/* 80288C0C 00285B4C 38 C2 D4 78 */ addi r6, r2, lbl_8051B7D8@sda21 -/* 80288C10 00285B50 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 80288C14 00285B54 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80288C18 00285B58 7D 89 03 A6 */ mtctr r12 -/* 80288C1C 00285B5C 4E 80 04 21 */ bctrl -/* 80288C20 00285B60 48 00 00 24 */ b lbl_80288C44 -lbl_80288C24: -/* 80288C24 00285B64 7F C3 F3 78 */ mr r3, r30 -/* 80288C28 00285B68 7F E4 FB 78 */ mr r4, r31 -/* 80288C2C 00285B6C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80288C30 00285B70 38 C0 00 00 */ li r6, 0 -/* 80288C34 00285B74 80 BF 02 D4 */ lwz r5, 0x2d4(r31) -/* 80288C38 00285B78 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80288C3C 00285B7C 7D 89 03 A6 */ mtctr r12 -/* 80288C40 00285B80 4E 80 04 21 */ bctrl -lbl_80288C44: -/* 80288C44 00285B84 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80288C48 00285B88 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80288C4C 00285B8C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80288C50 00285B90 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80288C54 00285B94 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80288C58 00285B98 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80288C5C 00285B9C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80288C60 00285BA0 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80288C64 00285BA4 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80288C68 00285BA8 7C 08 03 A6 */ mtlr r0 -/* 80288C6C 00285BAC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80288C70 00285BB0 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Queen12StateRollingFPQ24Game9EnemyBase -cleanup__Q34Game5Queen12StateRollingFPQ24Game9EnemyBase: -/* 80288C74 00285BB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288C78 00285BB8 7C 08 02 A6 */ mflr r0 -/* 80288C7C 00285BBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288C80 00285BC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288C84 00285BC4 7C 9F 23 78 */ mr r31, r4 -/* 80288C88 00285BC8 7F E3 FB 78 */ mr r3, r31 -/* 80288C8C 00285BCC 4B E7 8C F1 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80288C90 00285BD0 7F E3 FB 78 */ mr r3, r31 -/* 80288C94 00285BD4 48 00 2D CD */ bl forceFinishRollingEffect__Q34Game5Queen3ObjFv -/* 80288C98 00285BD8 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288C9C 00285BDC 38 00 00 00 */ li r0, 0 -/* 80288CA0 00285BE0 D0 1F 02 0C */ stfs f0, 0x20c(r31) -/* 80288CA4 00285BE4 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 80288CA8 00285BE8 98 1F 02 C2 */ stb r0, 0x2c2(r31) -/* 80288CAC 00285BEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288CB0 00285BF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288CB4 00285BF4 7C 08 03 A6 */ mtlr r0 -/* 80288CB8 00285BF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288CBC 00285BFC 4E 80 00 20 */ blr - -.global init__Q34Game5Queen9StateBornFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game5Queen9StateBornFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80288CC0 00285C00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288CC4 00285C04 7C 08 02 A6 */ mflr r0 -/* 80288CC8 00285C08 38 60 FF FF */ li r3, -1 -/* 80288CCC 00285C0C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288CD0 00285C10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288CD4 00285C14 38 00 00 00 */ li r0, 0 -/* 80288CD8 00285C18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288CDC 00285C1C 7C 9F 23 78 */ mr r31, r4 -/* 80288CE0 00285C20 90 64 02 D4 */ stw r3, 0x2d4(r4) -/* 80288CE4 00285C24 7F E3 FB 78 */ mr r3, r31 -/* 80288CE8 00285C28 98 04 02 C5 */ stb r0, 0x2c5(r4) -/* 80288CEC 00285C2C D0 04 02 C8 */ stfs f0, 0x2c8(r4) -/* 80288CF0 00285C30 4B E7 EA 8D */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80288CF4 00285C34 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288CF8 00285C38 7F E3 FB 78 */ mr r3, r31 -/* 80288CFC 00285C3C 38 80 00 07 */ li r4, 7 -/* 80288D00 00285C40 38 A0 00 00 */ li r5, 0 -/* 80288D04 00285C44 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80288D08 00285C48 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80288D0C 00285C4C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80288D10 00285C50 4B E7 C2 F5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80288D14 00285C54 7F E3 FB 78 */ mr r3, r31 -/* 80288D18 00285C58 4B E7 8C B5 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80288D1C 00285C5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288D20 00285C60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288D24 00285C64 7C 08 03 A6 */ mtlr r0 -/* 80288D28 00285C68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288D2C 00285C6C 4E 80 00 20 */ blr - -.global exec__Q34Game5Queen9StateBornFPQ24Game9EnemyBase -exec__Q34Game5Queen9StateBornFPQ24Game9EnemyBase: -/* 80288D30 00285C70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288D34 00285C74 7C 08 02 A6 */ mflr r0 -/* 80288D38 00285C78 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288D3C 00285C7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288D40 00285C80 7C 9F 23 78 */ mr r31, r4 -/* 80288D44 00285C84 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80288D48 00285C88 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80288D4C 00285C8C 28 00 00 00 */ cmplwi r0, 0 -/* 80288D50 00285C90 41 82 00 74 */ beq lbl_80288DC4 -/* 80288D54 00285C94 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80288D58 00285C98 28 00 00 02 */ cmplwi r0, 2 -/* 80288D5C 00285C9C 40 82 00 18 */ bne lbl_80288D74 -/* 80288D60 00285CA0 7F E3 FB 78 */ mr r3, r31 -/* 80288D64 00285CA4 48 00 1A 5D */ bl createBabyChappy__Q34Game5Queen3ObjFv -/* 80288D68 00285CA8 7F E3 FB 78 */ mr r3, r31 -/* 80288D6C 00285CAC 48 00 2B 61 */ bl createBornEffect__Q34Game5Queen3ObjFv -/* 80288D70 00285CB0 48 00 00 54 */ b lbl_80288DC4 -lbl_80288D74: -/* 80288D74 00285CB4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80288D78 00285CB8 40 82 00 4C */ bne lbl_80288DC4 -/* 80288D7C 00285CBC C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80288D80 00285CC0 C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288D84 00285CC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80288D88 00285CC8 4C 40 13 82 */ cror 2, 0, 2 -/* 80288D8C 00285CCC 40 82 00 20 */ bne lbl_80288DAC -/* 80288D90 00285CD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80288D94 00285CD4 38 A0 00 00 */ li r5, 0 -/* 80288D98 00285CD8 38 C0 00 00 */ li r6, 0 -/* 80288D9C 00285CDC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80288DA0 00285CE0 7D 89 03 A6 */ mtctr r12 -/* 80288DA4 00285CE4 4E 80 04 21 */ bctrl -/* 80288DA8 00285CE8 48 00 00 1C */ b lbl_80288DC4 -lbl_80288DAC: -/* 80288DAC 00285CEC 81 83 00 00 */ lwz r12, 0(r3) -/* 80288DB0 00285CF0 38 A0 00 02 */ li r5, 2 -/* 80288DB4 00285CF4 38 C0 00 00 */ li r6, 0 -/* 80288DB8 00285CF8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80288DBC 00285CFC 7D 89 03 A6 */ mtctr r12 -/* 80288DC0 00285D00 4E 80 04 21 */ bctrl -lbl_80288DC4: -/* 80288DC4 00285D04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288DC8 00285D08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288DCC 00285D0C 7C 08 03 A6 */ mtlr r0 -/* 80288DD0 00285D10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288DD4 00285D14 4E 80 00 20 */ blr - -.global cleanup__Q34Game5Queen9StateBornFPQ24Game9EnemyBase -cleanup__Q34Game5Queen9StateBornFPQ24Game9EnemyBase: -/* 80288DD8 00285D18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288DDC 00285D1C 7C 08 02 A6 */ mflr r0 -/* 80288DE0 00285D20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288DE4 00285D24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288DE8 00285D28 7C 9F 23 78 */ mr r31, r4 -/* 80288DEC 00285D2C 7F E3 FB 78 */ mr r3, r31 -/* 80288DF0 00285D30 4B E7 E9 A5 */ bl hardConstraintOff__Q24Game9EnemyBaseFv -/* 80288DF4 00285D34 7F E3 FB 78 */ mr r3, r31 -/* 80288DF8 00285D38 4B E7 8B 85 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80288DFC 00285D3C C0 02 D4 70 */ lfs f0, lbl_8051B7D0@sda21(r2) -/* 80288E00 00285D40 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 80288E04 00285D44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288E08 00285D48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288E0C 00285D4C 7C 08 03 A6 */ mtlr r0 -/* 80288E10 00285D50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288E14 00285D54 4E 80 00 20 */ blr - -.global __sinit_QueenState_cpp -__sinit_QueenState_cpp: -/* 80288E18 00285D58 3C 80 80 51 */ lis r4, __float_nan@ha -/* 80288E1C 00285D5C 38 00 FF FF */ li r0, -1 -/* 80288E20 00285D60 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 80288E24 00285D64 3C 60 80 4D */ lis r3, lbl_804C9AB8@ha -/* 80288E28 00285D68 90 0D 96 C8 */ stw r0, lbl_80515D48@sda21(r13) -/* 80288E2C 00285D6C D4 03 9A B8 */ stfsu f0, lbl_804C9AB8@l(r3) -/* 80288E30 00285D70 D0 0D 96 CC */ stfs f0, lbl_80515D4C@sda21(r13) -/* 80288E34 00285D74 D0 03 00 04 */ stfs f0, 4(r3) -/* 80288E38 00285D78 D0 03 00 08 */ stfs f0, 8(r3) -/* 80288E3C 00285D7C 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game5Queen14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game5Queen14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 80288E40 00285D80 90 83 00 20 */ stw r4, 0x20(r3) -/* 80288E44 00285D84 4E 80 00 20 */ blr - -.global getAnimator__Q34Game5Queen14ProperAnimatorFi -getAnimator__Q34Game5Queen14ProperAnimatorFi: -/* 80288E48 00285D88 38 63 00 10 */ addi r3, r3, 0x10 -/* 80288E4C 00285D8C 4E 80 00 20 */ blr - -.global __dt__Q34Game5Queen14ProperAnimatorFv -__dt__Q34Game5Queen14ProperAnimatorFv: -/* 80288E50 00285D90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288E54 00285D94 7C 08 02 A6 */ mflr r0 -/* 80288E58 00285D98 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288E5C 00285D9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288E60 00285DA0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80288E64 00285DA4 41 82 00 30 */ beq lbl_80288E94 -/* 80288E68 00285DA8 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen14ProperAnimator@ha -/* 80288E6C 00285DAC 38 03 9C 08 */ addi r0, r3, __vt__Q34Game5Queen14ProperAnimator@l -/* 80288E70 00285DB0 90 1F 00 00 */ stw r0, 0(r31) -/* 80288E74 00285DB4 41 82 00 10 */ beq lbl_80288E84 -/* 80288E78 00285DB8 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 80288E7C 00285DBC 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 80288E80 00285DC0 90 1F 00 00 */ stw r0, 0(r31) -lbl_80288E84: -/* 80288E84 00285DC4 7C 80 07 35 */ extsh. r0, r4 -/* 80288E88 00285DC8 40 81 00 0C */ ble lbl_80288E94 -/* 80288E8C 00285DCC 7F E3 FB 78 */ mr r3, r31 -/* 80288E90 00285DD0 4B D9 B2 25 */ bl __dl__FPv -lbl_80288E94: -/* 80288E94 00285DD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288E98 00285DD8 7F E3 FB 78 */ mr r3, r31 -/* 80288E9C 00285DDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288EA0 00285DE0 7C 08 03 A6 */ mtlr r0 -/* 80288EA4 00285DE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288EA8 00285DE8 4E 80 00 20 */ blr - -.global getAnimator__Q34Game5Queen14ProperAnimatorFv -getAnimator__Q34Game5Queen14ProperAnimatorFv: -/* 80288EAC 00285DEC 38 63 00 10 */ addi r3, r3, 0x10 -/* 80288EB0 00285DF0 4E 80 00 20 */ blr - -.global __ct__Q34Game5Queen3MgrFiUc -__ct__Q34Game5Queen3MgrFiUc: -/* 80288EB4 00285DF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288EB8 00285DF8 7C 08 02 A6 */ mflr r0 -/* 80288EBC 00285DFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288EC0 00285E00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288EC4 00285E04 7C 7F 1B 78 */ mr r31, r3 -/* 80288EC8 00285E08 4B EA 5D CD */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80288ECC 00285E0C 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen3Mgr@ha -/* 80288ED0 00285E10 3C 80 80 48 */ lis r4, lbl_80487C90@ha -/* 80288ED4 00285E14 38 A3 9C 30 */ addi r5, r3, __vt__Q34Game5Queen3Mgr@l -/* 80288ED8 00285E18 7F E3 FB 78 */ mr r3, r31 -/* 80288EDC 00285E1C 90 BF 00 00 */ stw r5, 0(r31) -/* 80288EE0 00285E20 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80288EE4 00285E24 38 04 7C 90 */ addi r0, r4, lbl_80487C90@l -/* 80288EE8 00285E28 90 BF 00 04 */ stw r5, 4(r31) -/* 80288EEC 00285E2C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80288EF0 00285E30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288EF4 00285E34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288EF8 00285E38 7C 08 03 A6 */ mtlr r0 -/* 80288EFC 00285E3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288F00 00285E40 4E 80 00 20 */ blr - -.global doAlloc__Q34Game5Queen3MgrFv -doAlloc__Q34Game5Queen3MgrFv: -/* 80288F04 00285E44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288F08 00285E48 7C 08 02 A6 */ mflr r0 -/* 80288F0C 00285E4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288F10 00285E50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288F14 00285E54 7C 7F 1B 78 */ mr r31, r3 -/* 80288F18 00285E58 38 60 08 D0 */ li r3, 0x8d0 -/* 80288F1C 00285E5C 4B D9 AF 89 */ bl __nw__FUl -/* 80288F20 00285E60 7C 64 1B 79 */ or. r4, r3, r3 -/* 80288F24 00285E64 41 82 00 0C */ beq lbl_80288F30 -/* 80288F28 00285E68 48 00 00 25 */ bl __ct__Q34Game5Queen5ParmsFv -/* 80288F2C 00285E6C 7C 64 1B 78 */ mr r4, r3 -lbl_80288F30: -/* 80288F30 00285E70 7F E3 FB 78 */ mr r3, r31 -/* 80288F34 00285E74 4B EA 69 69 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80288F38 00285E78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80288F3C 00285E7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80288F40 00285E80 7C 08 03 A6 */ mtlr r0 -/* 80288F44 00285E84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80288F48 00285E88 4E 80 00 20 */ blr - -.global __ct__Q34Game5Queen5ParmsFv -__ct__Q34Game5Queen5ParmsFv: -/* 80288F4C 00285E8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80288F50 00285E90 7C 08 02 A6 */ mflr r0 -/* 80288F54 00285E94 3C 80 80 48 */ lis r4, lbl_80487C58@ha -/* 80288F58 00285E98 90 01 00 14 */ stw r0, 0x14(r1) -/* 80288F5C 00285E9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80288F60 00285EA0 3B E4 7C 58 */ addi r31, r4, lbl_80487C58@l -/* 80288F64 00285EA4 93 C1 00 08 */ stw r30, 8(r1) -/* 80288F68 00285EA8 7C 7E 1B 78 */ mr r30, r3 -/* 80288F6C 00285EAC 4B E8 08 31 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80288F70 00285EB0 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen5Parms@ha -/* 80288F74 00285EB4 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 80288F78 00285EB8 38 03 9D 10 */ addi r0, r3, __vt__Q34Game5Queen5Parms@l -/* 80288F7C 00285EBC 38 9E 08 CC */ addi r4, r30, 0x8cc -/* 80288F80 00285EC0 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 80288F84 00285EC4 38 E0 00 00 */ li r7, 0 -/* 80288F88 00285EC8 38 1F 00 58 */ addi r0, r31, 0x58 -/* 80288F8C 00285ECC 38 7E 08 04 */ addi r3, r30, 0x804 -/* 80288F90 00285ED0 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 80288F94 00285ED4 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80288F98 00285ED8 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80288F9C 00285EDC 38 DF 00 64 */ addi r6, r31, 0x64 -/* 80288FA0 00285EE0 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 80288FA4 00285EE4 90 1E 08 00 */ stw r0, 0x800(r30) -/* 80288FA8 00285EE8 48 18 A6 B1 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80288FAC 00285EEC 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80288FB0 00285EF0 3C A0 66 70 */ lis r5, 0x66703032@ha -/* 80288FB4 00285EF4 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80288FB8 00285EF8 C0 02 D4 A0 */ lfs f0, lbl_8051B800@sda21(r2) -/* 80288FBC 00285EFC 90 1E 08 04 */ stw r0, 0x804(r30) -/* 80288FC0 00285F00 38 7E 08 2C */ addi r3, r30, 0x82c -/* 80288FC4 00285F04 C0 22 D4 A4 */ lfs f1, lbl_8051B804@sda21(r2) -/* 80288FC8 00285F08 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80288FCC 00285F0C D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 80288FD0 00285F10 38 A5 30 32 */ addi r5, r5, 0x66703032@l -/* 80288FD4 00285F14 C0 02 D4 A8 */ lfs f0, lbl_8051B808@sda21(r2) -/* 80288FD8 00285F18 38 DF 00 74 */ addi r6, r31, 0x74 -/* 80288FDC 00285F1C D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 80288FE0 00285F20 D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 80288FE4 00285F24 48 18 A6 75 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80288FE8 00285F28 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80288FEC 00285F2C 3C A0 66 70 */ lis r5, 0x66703131@ha -/* 80288FF0 00285F30 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80288FF4 00285F34 C0 22 D4 A4 */ lfs f1, lbl_8051B804@sda21(r2) -/* 80288FF8 00285F38 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 80288FFC 00285F3C 38 7E 08 54 */ addi r3, r30, 0x854 -/* 80289000 00285F40 C0 02 D4 A0 */ lfs f0, lbl_8051B800@sda21(r2) -/* 80289004 00285F44 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80289008 00285F48 D0 3E 08 44 */ stfs f1, 0x844(r30) -/* 8028900C 00285F4C 38 A5 31 31 */ addi r5, r5, 0x66703131@l -/* 80289010 00285F50 38 DF 00 88 */ addi r6, r31, 0x88 -/* 80289014 00285F54 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 80289018 00285F58 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 8028901C 00285F5C 48 18 A6 3D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80289020 00285F60 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80289024 00285F64 3C A0 69 70 */ lis r5, 0x69703031@ha -/* 80289028 00285F68 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8028902C 00285F6C C0 02 D4 AC */ lfs f0, lbl_8051B80C@sda21(r2) -/* 80289030 00285F70 90 1E 08 54 */ stw r0, 0x854(r30) -/* 80289034 00285F74 38 7E 08 7C */ addi r3, r30, 0x87c -/* 80289038 00285F78 C0 22 D4 A4 */ lfs f1, lbl_8051B804@sda21(r2) -/* 8028903C 00285F7C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80289040 00285F80 D0 1E 08 6C */ stfs f0, 0x86c(r30) -/* 80289044 00285F84 38 A5 30 31 */ addi r5, r5, 0x69703031@l -/* 80289048 00285F88 C0 02 D4 B0 */ lfs f0, lbl_8051B810@sda21(r2) -/* 8028904C 00285F8C 38 DF 00 98 */ addi r6, r31, 0x98 -/* 80289050 00285F90 D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 80289054 00285F94 D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 80289058 00285F98 48 18 A6 01 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8028905C 00285F9C 3C 60 80 4B */ lis r3, __vt__7Parm$$0i$$1@ha -/* 80289060 00285FA0 3C A0 69 70 */ lis r5, 0x69703032@ha -/* 80289064 00285FA4 38 03 AC 90 */ addi r0, r3, __vt__7Parm$$0i$$1@l -/* 80289068 00285FA8 38 E0 00 32 */ li r7, 0x32 -/* 8028906C 00285FAC 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 80289070 00285FB0 38 00 00 00 */ li r0, 0 -/* 80289074 00285FB4 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 80289078 00285FB8 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8028907C 00285FBC 90 FE 08 94 */ stw r7, 0x894(r30) -/* 80289080 00285FC0 38 A5 30 32 */ addi r5, r5, 0x69703032@l -/* 80289084 00285FC4 38 DF 00 A8 */ addi r6, r31, 0xa8 -/* 80289088 00285FC8 90 1E 08 9C */ stw r0, 0x89c(r30) -/* 8028908C 00285FCC 90 FE 08 A0 */ stw r7, 0x8a0(r30) -/* 80289090 00285FD0 48 18 A5 C9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80289094 00285FD4 3C 60 80 4B */ lis r3, __vt__7Parm$$0i$$1@ha -/* 80289098 00285FD8 38 A0 00 19 */ li r5, 0x19 -/* 8028909C 00285FDC 38 03 AC 90 */ addi r0, r3, __vt__7Parm$$0i$$1@l -/* 802890A0 00285FE0 38 80 00 00 */ li r4, 0 -/* 802890A4 00285FE4 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 802890A8 00285FE8 38 00 00 32 */ li r0, 0x32 -/* 802890AC 00285FEC 7F C3 F3 78 */ mr r3, r30 -/* 802890B0 00285FF0 90 BE 08 BC */ stw r5, 0x8bc(r30) -/* 802890B4 00285FF4 90 9E 08 C4 */ stw r4, 0x8c4(r30) -/* 802890B8 00285FF8 90 1E 08 C8 */ stw r0, 0x8c8(r30) -/* 802890BC 00285FFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802890C0 00286000 83 C1 00 08 */ lwz r30, 8(r1) -/* 802890C4 00286004 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802890C8 00286008 7C 08 03 A6 */ mtlr r0 -/* 802890CC 0028600C 38 21 00 10 */ addi r1, r1, 0x10 -/* 802890D0 00286010 4E 80 00 20 */ blr - -.global createObj__Q34Game5Queen3MgrFi -createObj__Q34Game5Queen3MgrFi: -/* 802890D4 00286014 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802890D8 00286018 7C 08 02 A6 */ mflr r0 -/* 802890DC 0028601C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802890E0 00286020 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802890E4 00286024 7C 9F 23 78 */ mr r31, r4 -/* 802890E8 00286028 93 C1 00 08 */ stw r30, 8(r1) -/* 802890EC 0028602C 7C 7E 1B 78 */ mr r30, r3 -/* 802890F0 00286030 1C 7F 03 20 */ mulli r3, r31, 0x320 -/* 802890F4 00286034 38 63 00 10 */ addi r3, r3, 0x10 -/* 802890F8 00286038 4B D9 AE B5 */ bl __nwa__FUl -/* 802890FC 0028603C 3C 80 80 29 */ lis r4, __ct__Q34Game5Queen3ObjFv@ha -/* 80289100 00286040 3C A0 80 29 */ lis r5, __dt__Q34Game5Queen3ObjFv@ha -/* 80289104 00286044 38 84 94 D4 */ addi r4, r4, __ct__Q34Game5Queen3ObjFv@l -/* 80289108 00286048 7F E7 FB 78 */ mr r7, r31 -/* 8028910C 0028604C 38 A5 91 34 */ addi r5, r5, __dt__Q34Game5Queen3ObjFv@l -/* 80289110 00286050 38 C0 03 20 */ li r6, 0x320 -/* 80289114 00286054 4B E3 88 DD */ bl __construct_new_array -/* 80289118 00286058 90 7E 00 48 */ stw r3, 0x48(r30) -/* 8028911C 0028605C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289120 00286060 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289124 00286064 83 C1 00 08 */ lwz r30, 8(r1) -/* 80289128 00286068 7C 08 03 A6 */ mtlr r0 -/* 8028912C 0028606C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289130 00286070 4E 80 00 20 */ blr - -.global __dt__Q34Game5Queen3ObjFv -__dt__Q34Game5Queen3ObjFv: -/* 80289134 00286074 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289138 00286078 7C 08 02 A6 */ mflr r0 -/* 8028913C 0028607C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289140 00286080 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289144 00286084 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80289148 00286088 93 C1 00 08 */ stw r30, 8(r1) -/* 8028914C 0028608C 7C 9E 23 78 */ mr r30, r4 -/* 80289150 00286090 41 82 00 84 */ beq lbl_802891D4 -/* 80289154 00286094 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen3Obj@ha -/* 80289158 00286098 38 1F 03 10 */ addi r0, r31, 0x310 -/* 8028915C 0028609C 38 83 A0 1C */ addi r4, r3, __vt__Q34Game5Queen3Obj@l -/* 80289160 002860A0 90 9F 00 00 */ stw r4, 0(r31) -/* 80289164 002860A4 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80289168 002860A8 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8028916C 002860AC 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80289170 002860B0 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80289174 002860B4 90 83 00 00 */ stw r4, 0(r3) -/* 80289178 002860B8 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8028917C 002860BC 7C 03 00 50 */ subf r0, r3, r0 -/* 80289180 002860C0 90 03 00 0C */ stw r0, 0xc(r3) -/* 80289184 002860C4 41 82 00 40 */ beq lbl_802891C4 -/* 80289188 002860C8 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8028918C 002860CC 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 80289190 002860D0 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80289194 002860D4 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80289198 002860D8 90 9F 00 00 */ stw r4, 0(r31) -/* 8028919C 002860DC 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 802891A0 002860E0 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 802891A4 002860E4 38 80 FF FF */ li r4, -1 -/* 802891A8 002860E8 90 BF 01 78 */ stw r5, 0x178(r31) -/* 802891AC 002860EC 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 802891B0 002860F0 90 C5 00 00 */ stw r6, 0(r5) -/* 802891B4 002860F4 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 802891B8 002860F8 7C 05 00 50 */ subf r0, r5, r0 -/* 802891BC 002860FC 90 05 00 0C */ stw r0, 0xc(r5) -/* 802891C0 00286100 48 18 83 C9 */ bl __dt__5CNodeFv -lbl_802891C4: -/* 802891C4 00286104 7F C0 07 35 */ extsh. r0, r30 -/* 802891C8 00286108 40 81 00 0C */ ble lbl_802891D4 -/* 802891CC 0028610C 7F E3 FB 78 */ mr r3, r31 -/* 802891D0 00286110 4B D9 AE E5 */ bl __dl__FPv -lbl_802891D4: -/* 802891D4 00286114 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802891D8 00286118 7F E3 FB 78 */ mr r3, r31 -/* 802891DC 0028611C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802891E0 00286120 83 C1 00 08 */ lwz r30, 8(r1) -/* 802891E4 00286124 7C 08 03 A6 */ mtlr r0 -/* 802891E8 00286128 38 21 00 10 */ addi r1, r1, 0x10 -/* 802891EC 0028612C 4E 80 00 20 */ blr - -.global getEnemy__Q34Game5Queen3MgrFi -getEnemy__Q34Game5Queen3MgrFi: -/* 802891F0 00286130 1C 04 03 20 */ mulli r0, r4, 0x320 -/* 802891F4 00286134 80 63 00 48 */ lwz r3, 0x48(r3) -/* 802891F8 00286138 7C 63 02 14 */ add r3, r3, r0 -/* 802891FC 0028613C 4E 80 00 20 */ blr - -.global loadModelData__Q34Game5Queen3MgrFv -loadModelData__Q34Game5Queen3MgrFv: -/* 80289200 00286140 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289204 00286144 7C 08 02 A6 */ mflr r0 -/* 80289208 00286148 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028920C 0028614C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289210 00286150 7C 7F 1B 78 */ mr r31, r3 -/* 80289214 00286154 4B EA 6E F9 */ bl loadModelData__Q24Game12EnemyMgrBaseFv -/* 80289218 00286158 38 A0 00 00 */ li r5, 0 -/* 8028921C 0028615C 48 00 00 24 */ b lbl_80289240 -lbl_80289220: -/* 80289220 00286160 80 64 00 80 */ lwz r3, 0x80(r4) -/* 80289224 00286164 54 A0 13 BA */ rlwinm r0, r5, 2, 0xe, 0x1d -/* 80289228 00286168 38 A5 00 01 */ addi r5, r5, 1 -/* 8028922C 0028616C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80289230 00286170 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80289234 00286174 54 00 05 1E */ rlwinm r0, r0, 0, 0x14, 0xf -/* 80289238 00286178 60 00 20 00 */ ori r0, r0, 0x2000 -/* 8028923C 0028617C 90 03 00 0C */ stw r0, 0xc(r3) -lbl_80289240: -/* 80289240 00286180 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80289244 00286184 54 A0 04 3E */ clrlwi r0, r5, 0x10 -/* 80289248 00286188 A0 64 00 7C */ lhz r3, 0x7c(r4) -/* 8028924C 0028618C 7C 00 18 40 */ cmplw r0, r3 -/* 80289250 00286190 41 80 FF D0 */ blt lbl_80289220 -/* 80289254 00286194 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289258 00286198 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028925C 0028619C 7C 08 03 A6 */ mtlr r0 -/* 80289260 002861A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289264 002861A4 4E 80 00 20 */ blr - -.global loadTexData__Q34Game5Queen3MgrFv -loadTexData__Q34Game5Queen3MgrFv: -/* 80289268 002861A8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8028926C 002861AC 7C 08 02 A6 */ mflr r0 -/* 80289270 002861B0 38 80 00 00 */ li r4, 0 -/* 80289274 002861B4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80289278 002861B8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8028927C 002861BC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80289280 002861C0 7C 7E 1B 78 */ mr r30, r3 -/* 80289284 002861C4 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80289288 002861C8 48 1B 50 15 */ bl enableMaterialAnim__Q28SysShape5ModelFP12J3DModelDatai -/* 8028928C 002861CC 80 8D 84 B0 */ lwz r4, cMatAnimBtkTexName__Q34Game5Queen22$$2unnamed$$2QueenMgr_cpp$$2@sda21(r13) -/* 80289290 002861D0 38 61 00 08 */ addi r3, r1, 8 -/* 80289294 002861D4 3B E0 00 00 */ li r31, 0 -/* 80289298 002861D8 48 1C 33 41 */ bl __ct__Q212LoadResource3ArgFPCc -/* 8028929C 002861DC 80 6D 9C 28 */ lwz r3, gLoadResourceMgr@sda21(r13) -/* 802892A0 002861E0 38 81 00 08 */ addi r4, r1, 8 -/* 802892A4 002861E4 48 1C 34 FD */ bl load__Q212LoadResource3MgrFRQ212LoadResource3Arg -/* 802892A8 002861E8 28 03 00 00 */ cmplwi r3, 0 -/* 802892AC 002861EC 41 82 00 08 */ beq lbl_802892B4 -/* 802892B0 002861F0 83 E3 00 30 */ lwz r31, 0x30(r3) -lbl_802892B4: -/* 802892B4 002861F4 28 1F 00 00 */ cmplwi r31, 0 -/* 802892B8 002861F8 40 82 00 20 */ bne lbl_802892D8 -/* 802892BC 002861FC 3C 60 80 48 */ lis r3, lbl_80487FD8@ha -/* 802892C0 00286200 3C A0 80 48 */ lis r5, lbl_80487FE8@ha -/* 802892C4 00286204 38 63 7F D8 */ addi r3, r3, lbl_80487FD8@l -/* 802892C8 00286208 38 80 00 6C */ li r4, 0x6c -/* 802892CC 0028620C 38 A5 7F E8 */ addi r5, r5, lbl_80487FE8@l -/* 802892D0 00286210 4C C6 31 82 */ crclr 6 -/* 802892D4 00286214 4B DA 13 6D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_802892D8: -/* 802892D8 00286218 38 60 00 10 */ li r3, 0x10 -/* 802892DC 0028621C 4B D9 AB C9 */ bl __nw__FUl -/* 802892E0 00286220 7C 60 1B 79 */ or. r0, r3, r3 -/* 802892E4 00286224 41 82 00 0C */ beq lbl_802892F0 -/* 802892E8 00286228 48 1A AE 4D */ bl __ct__Q23Sys15MatTexAnimationFv -/* 802892EC 0028622C 7C 60 1B 78 */ mr r0, r3 -lbl_802892F0: -/* 802892F0 00286230 90 1E 00 44 */ stw r0, 0x44(r30) -/* 802892F4 00286234 7F E4 FB 78 */ mr r4, r31 -/* 802892F8 00286238 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 802892FC 0028623C 80 BE 00 1C */ lwz r5, 0x1c(r30) -/* 80289300 00286240 48 1A AD 21 */ bl attachResource__Q23Sys16MatBaseAnimationFPvP12J3DModelData -/* 80289304 00286244 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80289308 00286248 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8028930C 0028624C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80289310 00286250 7C 08 03 A6 */ mtlr r0 -/* 80289314 00286254 38 21 00 40 */ addi r1, r1, 0x40 -/* 80289318 00286258 4E 80 00 20 */ blr - -.global createModel__Q34Game5Queen3MgrFv -createModel__Q34Game5Queen3MgrFv: -/* 8028931C 0028625C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289320 00286260 7C 08 02 A6 */ mflr r0 -/* 80289324 00286264 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289328 00286268 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028932C 0028626C 93 C1 00 08 */ stw r30, 8(r1) -/* 80289330 00286270 7C 7E 1B 78 */ mr r30, r3 -/* 80289334 00286274 38 60 00 14 */ li r3, 0x14 -/* 80289338 00286278 4B D9 AB 6D */ bl __nw__FUl -/* 8028933C 0028627C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80289340 00286280 41 82 00 18 */ beq lbl_80289358 -/* 80289344 00286284 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 80289348 00286288 3C A0 00 04 */ lis r5, 4 -/* 8028934C 0028628C 88 DE 00 24 */ lbz r6, 0x24(r30) -/* 80289350 00286290 48 1B 4E 89 */ bl __ct__Q28SysShape5ModelFP12J3DModelDataUlUl -/* 80289354 00286294 7C 7F 1B 78 */ mr r31, r3 -lbl_80289358: -/* 80289358 00286298 28 1F 00 00 */ cmplwi r31, 0 -/* 8028935C 0028629C 40 82 00 20 */ bne lbl_8028937C -/* 80289360 002862A0 3C 60 80 48 */ lis r3, lbl_80487FD8@ha -/* 80289364 002862A4 3C A0 80 48 */ lis r5, lbl_80487FE8@ha -/* 80289368 002862A8 38 63 7F D8 */ addi r3, r3, lbl_80487FD8@l -/* 8028936C 002862AC 38 80 00 86 */ li r4, 0x86 -/* 80289370 002862B0 38 A5 7F E8 */ addi r5, r5, lbl_80487FE8@l -/* 80289374 002862B4 4C C6 31 82 */ crclr 6 -/* 80289378 002862B8 4B DA 12 C9 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028937C: -/* 8028937C 002862BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289380 002862C0 7F E3 FB 78 */ mr r3, r31 -/* 80289384 002862C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289388 002862C8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028938C 002862CC 7C 08 03 A6 */ mtlr r0 -/* 80289390 002862D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289394 002862D4 4E 80 00 20 */ blr - -.global __dt__Q34Game5Queen3MgrFv -__dt__Q34Game5Queen3MgrFv: -/* 80289398 002862D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028939C 002862DC 7C 08 02 A6 */ mflr r0 -/* 802893A0 002862E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802893A4 002862E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802893A8 002862E8 7C 9F 23 78 */ mr r31, r4 -/* 802893AC 002862EC 93 C1 00 08 */ stw r30, 8(r1) -/* 802893B0 002862F0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802893B4 002862F4 41 82 00 78 */ beq lbl_8028942C -/* 802893B8 002862F8 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen3Mgr@ha -/* 802893BC 002862FC 38 63 9C 30 */ addi r3, r3, __vt__Q34Game5Queen3Mgr@l -/* 802893C0 00286300 90 7E 00 00 */ stw r3, 0(r30) -/* 802893C4 00286304 38 03 00 38 */ addi r0, r3, 0x38 -/* 802893C8 00286308 90 1E 00 04 */ stw r0, 4(r30) -/* 802893CC 0028630C 41 82 00 50 */ beq lbl_8028941C -/* 802893D0 00286310 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 802893D4 00286314 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 802893D8 00286318 90 7E 00 00 */ stw r3, 0(r30) -/* 802893DC 0028631C 38 03 00 38 */ addi r0, r3, 0x38 -/* 802893E0 00286320 90 1E 00 04 */ stw r0, 4(r30) -/* 802893E4 00286324 41 82 00 38 */ beq lbl_8028941C -/* 802893E8 00286328 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 802893EC 0028632C 34 1E 00 04 */ addic. r0, r30, 4 -/* 802893F0 00286330 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 802893F4 00286334 90 7E 00 00 */ stw r3, 0(r30) -/* 802893F8 00286338 38 03 00 38 */ addi r0, r3, 0x38 -/* 802893FC 0028633C 90 1E 00 04 */ stw r0, 4(r30) -/* 80289400 00286340 41 82 00 1C */ beq lbl_8028941C -/* 80289404 00286344 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80289408 00286348 38 7E 00 04 */ addi r3, r30, 4 -/* 8028940C 0028634C 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80289410 00286350 38 80 00 00 */ li r4, 0 -/* 80289414 00286354 90 1E 00 04 */ stw r0, 4(r30) -/* 80289418 00286358 48 18 81 71 */ bl __dt__5CNodeFv -lbl_8028941C: -/* 8028941C 0028635C 7F E0 07 35 */ extsh. r0, r31 -/* 80289420 00286360 40 81 00 0C */ ble lbl_8028942C -/* 80289424 00286364 7F C3 F3 78 */ mr r3, r30 -/* 80289428 00286368 4B D9 AC 8D */ bl __dl__FPv -lbl_8028942C: -/* 8028942C 0028636C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289430 00286370 7F C3 F3 78 */ mr r3, r30 -/* 80289434 00286374 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289438 00286378 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028943C 0028637C 7C 08 03 A6 */ mtlr r0 -/* 80289440 00286380 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289444 00286384 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Queen3MgrFv -getEnemyTypeID__Q34Game5Queen3MgrFv: -/* 80289448 00286388 38 60 00 1E */ li r3, 0x1e -/* 8028944C 0028638C 4E 80 00 20 */ blr - -.global doLoadBmd__Q34Game5Queen3MgrFPv -doLoadBmd__Q34Game5Queen3MgrFPv: -/* 80289450 00286390 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289454 00286394 7C 08 02 A6 */ mflr r0 -/* 80289458 00286398 3C A0 01 24 */ lis r5, 0x01240030@ha -/* 8028945C 0028639C 7C 83 23 78 */ mr r3, r4 -/* 80289460 002863A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289464 002863A4 38 85 00 30 */ addi r4, r5, 0x01240030@l -/* 80289468 002863A8 4B DE 64 2D */ bl load__22J3DModelLoaderDataBaseFPCvUl -/* 8028946C 002863AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289470 002863B0 7C 08 03 A6 */ mtlr r0 -/* 80289474 002863B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289478 002863B8 4E 80 00 20 */ blr - -.global read__Q34Game5Queen5ParmsFR6Stream -read__Q34Game5Queen5ParmsFR6Stream: -/* 8028947C 002863BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289480 002863C0 7C 08 02 A6 */ mflr r0 -/* 80289484 002863C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289488 002863C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028948C 002863CC 7C 9F 23 78 */ mr r31, r4 -/* 80289490 002863D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80289494 002863D4 7C 7E 1B 78 */ mr r30, r3 -/* 80289498 002863D8 48 18 A3 5D */ bl read__10ParametersFR6Stream -/* 8028949C 002863DC 7F E4 FB 78 */ mr r4, r31 -/* 802894A0 002863E0 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 802894A4 002863E4 48 18 A3 51 */ bl read__10ParametersFR6Stream -/* 802894A8 002863E8 7F E4 FB 78 */ mr r4, r31 -/* 802894AC 002863EC 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 802894B0 002863F0 48 18 A3 45 */ bl read__10ParametersFR6Stream -/* 802894B4 002863F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802894B8 002863F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802894BC 002863FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802894C0 00286400 7C 08 03 A6 */ mtlr r0 -/* 802894C4 00286404 38 21 00 10 */ addi r1, r1, 0x10 -/* 802894C8 00286408 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game5Queen3MgrFv -$$24$$2__dt__Q34Game5Queen3MgrFv: -/* 802894CC 0028640C 38 63 FF FC */ addi r3, r3, -4 -/* 802894D0 00286410 4B FF FE C8 */ b __dt__Q34Game5Queen3MgrFv - -.global __ct__Q34Game5Queen3ObjFv -__ct__Q34Game5Queen3ObjFv: -/* 802894D4 00286414 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802894D8 00286418 7C 08 02 A6 */ mflr r0 -/* 802894DC 0028641C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802894E0 00286420 7C 80 07 35 */ extsh. r0, r4 -/* 802894E4 00286424 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802894E8 00286428 7C 7F 1B 78 */ mr r31, r3 -/* 802894EC 0028642C 93 C1 00 08 */ stw r30, 8(r1) -/* 802894F0 00286430 41 82 00 24 */ beq lbl_80289514 -/* 802894F4 00286434 38 1F 03 10 */ addi r0, r31, 0x310 -/* 802894F8 00286438 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 802894FC 0028643C 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80289500 00286440 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 80289504 00286444 38 00 00 00 */ li r0, 0 -/* 80289508 00286448 90 7F 03 10 */ stw r3, 0x310(r31) -/* 8028950C 0028644C 90 1F 03 14 */ stw r0, 0x314(r31) -/* 80289510 00286450 90 1F 03 18 */ stw r0, 0x318(r31) -lbl_80289514: -/* 80289514 00286454 7F E3 FB 78 */ mr r3, r31 -/* 80289518 00286458 38 80 00 00 */ li r4, 0 -/* 8028951C 0028645C 4B E7 7E 85 */ bl __ct__Q24Game9EnemyBaseFv -/* 80289520 00286460 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen3Obj@ha -/* 80289524 00286464 38 1F 03 10 */ addi r0, r31, 0x310 -/* 80289528 00286468 38 A3 A0 1C */ addi r5, r3, __vt__Q34Game5Queen3Obj@l -/* 8028952C 0028646C 38 60 00 2C */ li r3, 0x2c -/* 80289530 00286470 90 BF 00 00 */ stw r5, 0(r31) -/* 80289534 00286474 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 80289538 00286478 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 8028953C 0028647C 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80289540 00286480 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80289544 00286484 90 A4 00 00 */ stw r5, 0(r4) -/* 80289548 00286488 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8028954C 0028648C 7C 04 00 50 */ subf r0, r4, r0 -/* 80289550 00286490 90 04 00 0C */ stw r0, 0xc(r4) -/* 80289554 00286494 4B D9 A9 51 */ bl __nw__FUl -/* 80289558 00286498 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028955C 0028649C 41 82 00 44 */ beq lbl_802895A0 -/* 80289560 002864A0 4B E9 E4 15 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80289564 002864A4 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen14ProperAnimator@ha -/* 80289568 002864A8 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8028956C 002864AC 38 03 9C 08 */ addi r0, r3, __vt__Q34Game5Queen14ProperAnimator@l -/* 80289570 002864B0 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80289574 002864B4 90 1E 00 00 */ stw r0, 0(r30) -/* 80289578 002864B8 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8028957C 002864BC 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 80289580 002864C0 38 00 00 00 */ li r0, 0 -/* 80289584 002864C4 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80289588 002864C8 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8028958C 002864CC 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80289590 002864D0 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80289594 002864D4 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80289598 002864D8 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8028959C 002864DC 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_802895A0: -/* 802895A0 002864E0 93 DF 01 84 */ stw r30, 0x184(r31) -/* 802895A4 002864E4 38 60 00 1C */ li r3, 0x1c -/* 802895A8 002864E8 4B D9 A8 FD */ bl __nw__FUl -/* 802895AC 002864EC 7C 64 1B 79 */ or. r4, r3, r3 -/* 802895B0 002864F0 41 82 00 24 */ beq lbl_802895D4 -/* 802895B4 002864F4 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 802895B8 002864F8 3C 60 80 4D */ lis r3, __vt__Q34Game5Queen3FSM@ha -/* 802895BC 002864FC 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 802895C0 00286500 38 A0 FF FF */ li r5, -1 -/* 802895C4 00286504 90 04 00 00 */ stw r0, 0(r4) -/* 802895C8 00286508 38 03 9B E4 */ addi r0, r3, __vt__Q34Game5Queen3FSM@l -/* 802895CC 0028650C 90 A4 00 18 */ stw r5, 0x18(r4) -/* 802895D0 00286510 90 04 00 00 */ stw r0, 0(r4) -lbl_802895D4: -/* 802895D4 00286514 81 9F 00 00 */ lwz r12, 0(r31) -/* 802895D8 00286518 7F E3 FB 78 */ mr r3, r31 -/* 802895DC 0028651C 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 802895E0 00286520 7D 89 03 A6 */ mtctr r12 -/* 802895E4 00286524 4E 80 04 21 */ bctrl -/* 802895E8 00286528 38 60 00 0C */ li r3, 0xc -/* 802895EC 0028652C 4B D9 A8 B9 */ bl __nw__FUl -/* 802895F0 00286530 7C 60 1B 79 */ or. r0, r3, r3 -/* 802895F4 00286534 41 82 00 10 */ beq lbl_80289604 -/* 802895F8 00286538 7F E4 FB 78 */ mr r4, r31 -/* 802895FC 0028653C 48 00 57 19 */ bl __ct__Q34Game5Queen14QueenShadowMgrFPQ34Game5Queen3Obj -/* 80289600 00286540 7C 60 1B 78 */ mr r0, r3 -lbl_80289604: -/* 80289604 00286544 90 1F 02 D8 */ stw r0, 0x2d8(r31) -/* 80289608 00286548 38 60 00 0C */ li r3, 0xc -/* 8028960C 0028654C 4B D9 A8 99 */ bl __nw__FUl -/* 80289610 00286550 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80289614 00286554 41 82 00 14 */ beq lbl_80289628 -/* 80289618 00286558 48 1A AD 3D */ bl __ct__Q23Sys15MatBaseAnimatorFv -/* 8028961C 0028655C 3C 60 80 4F */ lis r3, __vt__Q23Sys15MatLoopAnimator@ha -/* 80289620 00286560 38 03 C4 8C */ addi r0, r3, __vt__Q23Sys15MatLoopAnimator@l -/* 80289624 00286564 90 1E 00 00 */ stw r0, 0(r30) -lbl_80289628: -/* 80289628 00286568 93 DF 02 DC */ stw r30, 0x2dc(r31) -/* 8028962C 0028656C 7F E3 FB 78 */ mr r3, r31 -/* 80289630 00286570 48 00 1C F1 */ bl createEffect__Q34Game5Queen3ObjFv -/* 80289634 00286574 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289638 00286578 7F E3 FB 78 */ mr r3, r31 -/* 8028963C 0028657C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289640 00286580 83 C1 00 08 */ lwz r30, 8(r1) -/* 80289644 00286584 7C 08 03 A6 */ mtlr r0 -/* 80289648 00286588 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028964C 0028658C 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game5Queen3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game5Queen3ObjFPQ24Game21EnemyInitialParamBase: -/* 80289650 00286590 4E 80 00 20 */ blr - -.global onInit__Q34Game5Queen3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game5Queen3ObjFPQ24Game15CreatureInitArg: -/* 80289654 00286594 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289658 00286598 7C 08 02 A6 */ mflr r0 -/* 8028965C 0028659C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289660 002865A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289664 002865A4 7C 7F 1B 78 */ mr r31, r3 -/* 80289668 002865A8 4B E7 83 F1 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8028966C 002865AC 80 7F 01 E0 */ lwz r3, 0x1e0(r31) -/* 80289670 002865B0 38 80 FF FF */ li r4, -1 -/* 80289674 002865B4 38 00 00 00 */ li r0, 0 -/* 80289678 002865B8 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 8028967C 002865BC 54 65 05 24 */ rlwinm r5, r3, 0, 0x14, 0x12 -/* 80289680 002865C0 7F E3 FB 78 */ mr r3, r31 -/* 80289684 002865C4 90 BF 01 E0 */ stw r5, 0x1e0(r31) -/* 80289688 002865C8 80 BF 01 E0 */ lwz r5, 0x1e0(r31) -/* 8028968C 002865CC 54 A5 06 B0 */ rlwinm r5, r5, 0, 0x1a, 0x18 -/* 80289690 002865D0 90 BF 01 E0 */ stw r5, 0x1e0(r31) -/* 80289694 002865D4 90 9F 02 D4 */ stw r4, 0x2d4(r31) -/* 80289698 002865D8 98 1F 02 C2 */ stb r0, 0x2c2(r31) -/* 8028969C 002865DC D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 802896A0 002865E0 98 1F 02 C1 */ stb r0, 0x2c1(r31) -/* 802896A4 002865E4 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 802896A8 002865E8 D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -/* 802896AC 002865EC 48 00 15 C5 */ bl resetJointShadow__Q34Game5Queen3ObjFv -/* 802896B0 002865F0 80 7F 02 D8 */ lwz r3, 0x2d8(r31) -/* 802896B4 002865F4 48 00 57 15 */ bl init__Q34Game5Queen14QueenShadowMgrFv -/* 802896B8 002865F8 7F E3 FB 78 */ mr r3, r31 -/* 802896BC 002865FC 48 00 21 99 */ bl setupEffect__Q34Game5Queen3ObjFv -/* 802896C0 00286600 38 00 00 00 */ li r0, 0 -/* 802896C4 00286604 7F E3 FB 78 */ mr r3, r31 -/* 802896C8 00286608 98 1F 02 C4 */ stb r0, 0x2c4(r31) -/* 802896CC 0028660C 98 1F 02 C5 */ stb r0, 0x2c5(r31) -/* 802896D0 00286610 48 00 1B 29 */ bl resetMidBossAppearBGM__Q34Game5Queen3ObjFv -/* 802896D4 00286614 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 802896D8 00286618 80 9F 01 80 */ lwz r4, 0x180(r31) -/* 802896DC 0028661C 81 83 00 00 */ lwz r12, 0(r3) -/* 802896E0 00286620 80 84 00 44 */ lwz r4, 0x44(r4) -/* 802896E4 00286624 81 8C 00 08 */ lwz r12, 8(r12) -/* 802896E8 00286628 7D 89 03 A6 */ mtctr r12 -/* 802896EC 0028662C 4E 80 04 21 */ bctrl -/* 802896F0 00286630 88 1F 02 C0 */ lbz r0, 0x2c0(r31) -/* 802896F4 00286634 28 00 00 00 */ cmplwi r0, 0 -/* 802896F8 00286638 41 82 00 28 */ beq lbl_80289720 -/* 802896FC 0028663C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80289700 00286640 7F E4 FB 78 */ mr r4, r31 -/* 80289704 00286644 38 A0 00 02 */ li r5, 2 -/* 80289708 00286648 38 C0 00 00 */ li r6, 0 -/* 8028970C 0028664C 81 83 00 00 */ lwz r12, 0(r3) -/* 80289710 00286650 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80289714 00286654 7D 89 03 A6 */ mtctr r12 -/* 80289718 00286658 4E 80 04 21 */ bctrl -/* 8028971C 0028665C 48 00 00 24 */ b lbl_80289740 -lbl_80289720: -/* 80289720 00286660 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 80289724 00286664 7F E4 FB 78 */ mr r4, r31 -/* 80289728 00286668 38 A0 00 01 */ li r5, 1 -/* 8028972C 0028666C 38 C0 00 00 */ li r6, 0 -/* 80289730 00286670 81 83 00 00 */ lwz r12, 0(r3) -/* 80289734 00286674 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80289738 00286678 7D 89 03 A6 */ mtctr r12 -/* 8028973C 0028667C 4E 80 04 21 */ bctrl -lbl_80289740: -/* 80289740 00286680 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289744 00286684 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289748 00286688 7C 08 03 A6 */ mtlr r0 -/* 8028974C 0028668C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289750 00286690 4E 80 00 20 */ blr - -.global onKill__Q34Game5Queen3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game5Queen3ObjFPQ24Game15CreatureKillArg: -/* 80289754 00286694 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289758 00286698 7C 08 02 A6 */ mflr r0 -/* 8028975C 0028669C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289760 002866A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289764 002866A4 7C 9F 23 78 */ mr r31, r4 -/* 80289768 002866A8 38 80 00 00 */ li r4, 0 -/* 8028976C 002866AC 93 C1 00 08 */ stw r30, 8(r1) -/* 80289770 002866B0 7C 7E 1B 78 */ mr r30, r3 -/* 80289774 002866B4 48 00 22 0D */ bl finishRollingEffect__Q34Game5Queen3ObjFb -/* 80289778 002866B8 7F C3 F3 78 */ mr r3, r30 -/* 8028977C 002866BC 48 00 23 7D */ bl finishDamageEffect__Q34Game5Queen3ObjFv -/* 80289780 002866C0 7F C3 F3 78 */ mr r3, r30 -/* 80289784 002866C4 48 00 24 75 */ bl finishSleepEffect__Q34Game5Queen3ObjFv -/* 80289788 002866C8 7F C3 F3 78 */ mr r3, r30 -/* 8028978C 002866CC 7F E4 FB 78 */ mr r4, r31 -/* 80289790 002866D0 4B E7 87 59 */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 80289794 002866D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289798 002866D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028979C 002866DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 802897A0 002866E0 7C 08 03 A6 */ mtlr r0 -/* 802897A4 002866E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802897A8 002866E8 4E 80 00 20 */ blr - -.global setParameters__Q34Game5Queen3ObjFv -setParameters__Q34Game5Queen3ObjFv: -/* 802897AC 002866EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802897B0 002866F0 7C 08 02 A6 */ mflr r0 -/* 802897B4 002866F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802897B8 002866F8 38 00 00 01 */ li r0, 1 -/* 802897BC 002866FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802897C0 00286700 7C 7F 1B 78 */ mr r31, r3 -/* 802897C4 00286704 98 03 02 C0 */ stb r0, 0x2c0(r3) -/* 802897C8 00286708 38 00 00 00 */ li r0, 0 -/* 802897CC 0028670C 98 03 02 C3 */ stb r0, 0x2c3(r3) -/* 802897D0 00286710 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 802897D4 00286714 28 03 00 00 */ cmplwi r3, 0 -/* 802897D8 00286718 41 82 00 70 */ beq lbl_80289848 -/* 802897DC 0028671C 80 83 00 44 */ lwz r4, 0x44(r3) -/* 802897E0 00286720 2C 04 00 04 */ cmpwi r4, 4 -/* 802897E4 00286724 40 82 00 0C */ bne lbl_802897F0 -/* 802897E8 00286728 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 802897EC 0028672C 48 00 00 5C */ b lbl_80289848 -lbl_802897F0: -/* 802897F0 00286730 88 03 00 48 */ lbz r0, 0x48(r3) -/* 802897F4 00286734 28 00 00 00 */ cmplwi r0, 0 -/* 802897F8 00286738 41 82 00 50 */ beq lbl_80289848 -/* 802897FC 0028673C 2C 04 00 00 */ cmpwi r4, 0 -/* 80289800 00286740 40 82 00 48 */ bne lbl_80289848 -/* 80289804 00286744 80 63 00 58 */ lwz r3, 0x58(r3) -/* 80289808 00286748 28 03 00 00 */ cmplwi r3, 0 -/* 8028980C 0028674C 41 82 00 3C */ beq lbl_80289848 -/* 80289810 00286750 81 83 00 00 */ lwz r12, 0(r3) -/* 80289814 00286754 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 80289818 00286758 7D 89 03 A6 */ mtctr r12 -/* 8028981C 0028675C 4E 80 04 21 */ bctrl -/* 80289820 00286760 3C 03 99 A1 */ addis r0, r3, 0x99a1 -/* 80289824 00286764 28 00 30 31 */ cmplwi r0, 0x3031 -/* 80289828 00286768 40 82 00 20 */ bne lbl_80289848 -/* 8028982C 0028676C 38 60 00 00 */ li r3, 0 -/* 80289830 00286770 38 00 00 01 */ li r0, 1 -/* 80289834 00286774 98 7F 02 C0 */ stb r3, 0x2c0(r31) -/* 80289838 00286778 98 1F 02 C3 */ stb r0, 0x2c3(r31) -/* 8028983C 0028677C 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80289840 00286780 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 80289844 00286784 D0 03 01 04 */ stfs f0, 0x104(r3) -lbl_80289848: -/* 80289848 00286788 7F E3 FB 78 */ mr r3, r31 -/* 8028984C 0028678C 4B E7 93 8D */ bl setParameters__Q24Game9EnemyBaseFv -/* 80289850 00286790 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289854 00286794 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289858 00286798 7C 08 03 A6 */ mtlr r0 -/* 8028985C 0028679C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289860 002867A0 4E 80 00 20 */ blr - -.global doUpdate__Q34Game5Queen3ObjFv -doUpdate__Q34Game5Queen3ObjFv: -/* 80289864 002867A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289868 002867A8 7C 08 02 A6 */ mflr r0 -/* 8028986C 002867AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289870 002867B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289874 002867B4 7C 7F 1B 78 */ mr r31, r3 -/* 80289878 002867B8 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 8028987C 002867BC 48 00 57 F1 */ bl update__Q34Game5Queen14QueenShadowMgrFv -/* 80289880 002867C0 7F E3 FB 78 */ mr r3, r31 -/* 80289884 002867C4 48 00 11 25 */ bl updateCreateBaby__Q34Game5Queen3ObjFv -/* 80289888 002867C8 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8028988C 002867CC 7F E4 FB 78 */ mr r4, r31 -/* 80289890 002867D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80289894 002867D4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80289898 002867D8 7D 89 03 A6 */ mtctr r12 -/* 8028989C 002867DC 4E 80 04 21 */ bctrl -/* 802898A0 002867E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802898A4 002867E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802898A8 002867E8 7C 08 03 A6 */ mtlr r0 -/* 802898AC 002867EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802898B0 002867F0 4E 80 00 20 */ blr - -.global doUpdateCommon__Q34Game5Queen3ObjFv -doUpdateCommon__Q34Game5Queen3ObjFv: -/* 802898B4 002867F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802898B8 002867F8 7C 08 02 A6 */ mflr r0 -/* 802898BC 002867FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802898C0 00286800 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802898C4 00286804 7C 7F 1B 78 */ mr r31, r3 -/* 802898C8 00286808 4B E7 96 4D */ bl doUpdateCommon__Q24Game9EnemyBaseFv -/* 802898CC 0028680C 7F E3 FB 78 */ mr r3, r31 -/* 802898D0 00286810 48 00 18 2D */ bl updateBossBGM__Q34Game5Queen3ObjFv -/* 802898D4 00286814 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802898D8 00286818 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802898DC 0028681C 7C 08 03 A6 */ mtlr r0 -/* 802898E0 00286820 38 21 00 10 */ addi r1, r1, 0x10 -/* 802898E4 00286824 4E 80 00 20 */ blr - -.global doAnimationCullingOff__Q34Game5Queen3ObjFv -doAnimationCullingOff__Q34Game5Queen3ObjFv: -/* 802898E8 00286828 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802898EC 0028682C 7C 08 02 A6 */ mflr r0 -/* 802898F0 00286830 90 01 00 14 */ stw r0, 0x14(r1) -/* 802898F4 00286834 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802898F8 00286838 7C 7F 1B 78 */ mr r31, r3 -/* 802898FC 0028683C 4B E7 97 85 */ bl doAnimationCullingOff__Q24Game9EnemyBaseFv -/* 80289900 00286840 7F E3 FB 78 */ mr r3, r31 -/* 80289904 00286844 81 9F 00 00 */ lwz r12, 0(r31) -/* 80289908 00286848 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8028990C 0028684C 7D 89 03 A6 */ mtctr r12 -/* 80289910 00286850 4E 80 04 21 */ bctrl -/* 80289914 00286854 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80289918 00286858 41 82 00 10 */ beq lbl_80289928 -/* 8028991C 0028685C 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 80289920 00286860 C0 22 D4 BC */ lfs f1, lbl_8051B81C@sda21(r2) -/* 80289924 00286864 48 1A AC 29 */ bl animate__Q23Sys15MatBaseAnimatorFf -lbl_80289928: -/* 80289928 00286868 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028992C 0028686C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289930 00286870 7C 08 03 A6 */ mtlr r0 -/* 80289934 00286874 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289938 00286878 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game5Queen3ObjFR8Graphics -doDirectDraw__Q34Game5Queen3ObjFR8Graphics: -/* 8028993C 0028687C 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game5Queen3ObjFR8Graphics -doDebugDraw__Q34Game5Queen3ObjFR8Graphics: -/* 80289940 00286880 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289944 00286884 7C 08 02 A6 */ mflr r0 -/* 80289948 00286888 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028994C 0028688C 4B E7 C5 21 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 80289950 00286890 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289954 00286894 7C 08 03 A6 */ mtlr r0 -/* 80289958 00286898 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028995C 0028689C 4E 80 00 20 */ blr - -.global setFSM__Q34Game5Queen3ObjFPQ34Game5Queen3FSM -setFSM__Q34Game5Queen3ObjFPQ34Game5Queen3FSM: -/* 80289960 002868A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289964 002868A4 7C 08 02 A6 */ mflr r0 -/* 80289968 002868A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028996C 002868AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289970 002868B0 7C 7F 1B 78 */ mr r31, r3 -/* 80289974 002868B4 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80289978 002868B8 7F E4 FB 78 */ mr r4, r31 -/* 8028997C 002868BC 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80289980 002868C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80289984 002868C4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80289988 002868C8 7D 89 03 A6 */ mtctr r12 -/* 8028998C 002868CC 4E 80 04 21 */ bctrl -/* 80289990 002868D0 38 00 00 00 */ li r0, 0 -/* 80289994 002868D4 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80289998 002868D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028999C 002868DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802899A0 002868E0 7C 08 03 A6 */ mtlr r0 -/* 802899A4 002868E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802899A8 002868E8 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game5Queen3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game5Queen3ObjFRQ24Game11ShadowParam: -/* 802899AC 002868EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802899B0 002868F0 7C 08 02 A6 */ mflr r0 -/* 802899B4 002868F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 802899B8 002868F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 802899BC 002868FC 7C 9F 23 78 */ mr r31, r4 -/* 802899C0 00286900 7C 64 1B 78 */ mr r4, r3 -/* 802899C4 00286904 38 61 00 08 */ addi r3, r1, 8 -/* 802899C8 00286908 81 84 00 00 */ lwz r12, 0(r4) -/* 802899CC 0028690C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802899D0 00286910 7D 89 03 A6 */ mtctr r12 -/* 802899D4 00286914 4E 80 04 21 */ bctrl -/* 802899D8 00286918 C0 01 00 08 */ lfs f0, 8(r1) -/* 802899DC 0028691C C0 82 D4 C0 */ lfs f4, lbl_8051B820@sda21(r2) -/* 802899E0 00286920 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802899E4 00286924 C0 62 D4 B8 */ lfs f3, lbl_8051B818@sda21(r2) -/* 802899E8 00286928 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802899EC 0028692C C0 42 D4 C4 */ lfs f2, lbl_8051B824@sda21(r2) -/* 802899F0 00286930 D0 1F 00 04 */ stfs f0, 4(r31) -/* 802899F4 00286934 C0 22 D4 C8 */ lfs f1, lbl_8051B828@sda21(r2) -/* 802899F8 00286938 C0 A1 00 10 */ lfs f5, 0x10(r1) -/* 802899FC 0028693C C0 02 D4 CC */ lfs f0, lbl_8051B82C@sda21(r2) -/* 80289A00 00286940 D0 BF 00 08 */ stfs f5, 8(r31) -/* 80289A04 00286944 C0 BF 00 04 */ lfs f5, 4(r31) -/* 80289A08 00286948 EC 85 20 2A */ fadds f4, f5, f4 -/* 80289A0C 0028694C D0 9F 00 04 */ stfs f4, 4(r31) -/* 80289A10 00286950 D0 7F 00 0C */ stfs f3, 0xc(r31) -/* 80289A14 00286954 D0 5F 00 10 */ stfs f2, 0x10(r31) -/* 80289A18 00286958 D0 7F 00 14 */ stfs f3, 0x14(r31) -/* 80289A1C 0028695C D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 80289A20 00286960 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80289A24 00286964 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80289A28 00286968 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80289A2C 0028696C 7C 08 03 A6 */ mtlr r0 -/* 80289A30 00286970 38 21 00 20 */ addi r1, r1, 0x20 -/* 80289A34 00286974 4E 80 00 20 */ blr - -.global damageCallBack__Q34Game5Queen3ObjFPQ24Game8CreaturefP8CollPart -damageCallBack__Q34Game5Queen3ObjFPQ24Game8CreaturefP8CollPart: -/* 80289A38 00286978 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80289A3C 0028697C 7C 08 02 A6 */ mflr r0 -/* 80289A40 00286980 90 01 00 24 */ stw r0, 0x24(r1) -/* 80289A44 00286984 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80289A48 00286988 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80289A4C 0028698C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289A50 00286990 FF E0 08 90 */ fmr f31, f1 -/* 80289A54 00286994 28 05 00 00 */ cmplwi r5, 0 -/* 80289A58 00286998 7C 7F 1B 78 */ mr r31, r3 -/* 80289A5C 0028699C 41 82 00 6C */ beq lbl_80289AC8 -/* 80289A60 002869A0 28 04 00 00 */ cmplwi r4, 0 -/* 80289A64 002869A4 41 82 00 64 */ beq lbl_80289AC8 -/* 80289A68 002869A8 7C 83 23 78 */ mr r3, r4 -/* 80289A6C 002869AC 81 84 00 00 */ lwz r12, 0(r4) -/* 80289A70 002869B0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80289A74 002869B4 7D 89 03 A6 */ mtctr r12 -/* 80289A78 002869B8 4E 80 04 21 */ bctrl -/* 80289A7C 002869BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80289A80 002869C0 41 82 00 48 */ beq lbl_80289AC8 -/* 80289A84 002869C4 7F E3 FB 78 */ mr r3, r31 -/* 80289A88 002869C8 4B E7 D9 6D */ bl getStateID__Q24Game9EnemyBaseFv -/* 80289A8C 002869CC 2C 03 00 01 */ cmpwi r3, 1 -/* 80289A90 002869D0 40 82 00 10 */ bne lbl_80289AA0 -/* 80289A94 002869D4 C0 02 D4 D0 */ lfs f0, lbl_8051B830@sda21(r2) -/* 80289A98 002869D8 EF FF 00 32 */ fmuls f31, f31, f0 -/* 80289A9C 002869DC 48 00 00 14 */ b lbl_80289AB0 -lbl_80289AA0: -/* 80289AA0 002869E0 2C 03 00 04 */ cmpwi r3, 4 -/* 80289AA4 002869E4 40 82 00 0C */ bne lbl_80289AB0 -/* 80289AA8 002869E8 C0 02 D4 D4 */ lfs f0, lbl_8051B834@sda21(r2) -/* 80289AAC 002869EC EF FF 00 32 */ fmuls f31, f31, f0 -lbl_80289AB0: -/* 80289AB0 002869F0 FC 20 F8 90 */ fmr f1, f31 -/* 80289AB4 002869F4 C0 42 D4 C4 */ lfs f2, lbl_8051B824@sda21(r2) -/* 80289AB8 002869F8 7F E3 FB 78 */ mr r3, r31 -/* 80289ABC 002869FC 4B E7 C5 71 */ bl addDamage__Q24Game9EnemyBaseFff -/* 80289AC0 00286A00 38 60 00 01 */ li r3, 1 -/* 80289AC4 00286A04 48 00 00 08 */ b lbl_80289ACC -lbl_80289AC8: -/* 80289AC8 00286A08 38 60 00 00 */ li r3, 0 -lbl_80289ACC: -/* 80289ACC 00286A0C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80289AD0 00286A10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80289AD4 00286A14 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80289AD8 00286A18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289ADC 00286A1C 7C 08 03 A6 */ mtlr r0 -/* 80289AE0 00286A20 38 21 00 20 */ addi r1, r1, 0x20 -/* 80289AE4 00286A24 4E 80 00 20 */ blr - -.global earthquakeCallBack__Q34Game5Queen3ObjFPQ24Game8Creaturef -earthquakeCallBack__Q34Game5Queen3ObjFPQ24Game8Creaturef: -/* 80289AE8 00286A28 38 60 00 00 */ li r3, 0 -/* 80289AEC 00286A2C 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game5Queen3ObjFv -doStartStoneState__Q34Game5Queen3ObjFv: -/* 80289AF0 00286A30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289AF4 00286A34 7C 08 02 A6 */ mflr r0 -/* 80289AF8 00286A38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289AFC 00286A3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289B00 00286A40 7C 7F 1B 78 */ mr r31, r3 -/* 80289B04 00286A44 4B E7 93 F1 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 80289B08 00286A48 7F E3 FB 78 */ mr r3, r31 -/* 80289B0C 00286A4C 48 00 20 ED */ bl finishSleepEffect__Q34Game5Queen3ObjFv -/* 80289B10 00286A50 7F E3 FB 78 */ mr r3, r31 -/* 80289B14 00286A54 48 00 1F E5 */ bl finishDamageEffect__Q34Game5Queen3ObjFv -/* 80289B18 00286A58 7F E3 FB 78 */ mr r3, r31 -/* 80289B1C 00286A5C 48 00 1F 45 */ bl forceFinishRollingEffect__Q34Game5Queen3ObjFv -/* 80289B20 00286A60 7F E3 FB 78 */ mr r3, r31 -/* 80289B24 00286A64 48 00 14 31 */ bl startStoneStateBossAttackLoopBGM__Q34Game5Queen3ObjFv -/* 80289B28 00286A68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289B2C 00286A6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289B30 00286A70 7C 08 03 A6 */ mtlr r0 -/* 80289B34 00286A74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289B38 00286A78 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game5Queen3ObjFv -doFinishStoneState__Q34Game5Queen3ObjFv: -/* 80289B3C 00286A7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289B40 00286A80 7C 08 02 A6 */ mflr r0 -/* 80289B44 00286A84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289B48 00286A88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289B4C 00286A8C 7C 7F 1B 78 */ mr r31, r3 -/* 80289B50 00286A90 4B E7 93 B9 */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 80289B54 00286A94 C0 22 D4 C4 */ lfs f1, lbl_8051B824@sda21(r2) -/* 80289B58 00286A98 7F E3 FB 78 */ mr r3, r31 -/* 80289B5C 00286A9C C0 42 D4 D8 */ lfs f2, lbl_8051B838@sda21(r2) -/* 80289B60 00286AA0 38 80 00 00 */ li r4, 0 -/* 80289B64 00286AA4 C0 62 D4 B8 */ lfs f3, lbl_8051B818@sda21(r2) -/* 80289B68 00286AA8 C0 82 D4 DC */ lfs f4, lbl_8051B83C@sda21(r2) -/* 80289B6C 00286AAC 4B E8 95 B1 */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 80289B70 00286AB0 7F E3 FB 78 */ mr r3, r31 -/* 80289B74 00286AB4 4B E7 D8 81 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80289B78 00286AB8 2C 03 00 03 */ cmpwi r3, 3 -/* 80289B7C 00286ABC 40 82 00 10 */ bne lbl_80289B8C -/* 80289B80 00286AC0 7F E3 FB 78 */ mr r3, r31 -/* 80289B84 00286AC4 48 00 1F 41 */ bl startDamageEffect__Q34Game5Queen3ObjFv -/* 80289B88 00286AC8 48 00 00 20 */ b lbl_80289BA8 -lbl_80289B8C: -/* 80289B8C 00286ACC 2C 03 00 05 */ cmpwi r3, 5 -/* 80289B90 00286AD0 40 82 00 18 */ bne lbl_80289BA8 -/* 80289B94 00286AD4 88 1F 02 C2 */ lbz r0, 0x2c2(r31) -/* 80289B98 00286AD8 28 00 00 00 */ cmplwi r0, 0 -/* 80289B9C 00286ADC 41 82 00 0C */ beq lbl_80289BA8 -/* 80289BA0 00286AE0 7F E3 FB 78 */ mr r3, r31 -/* 80289BA4 00286AE4 48 00 1D 5D */ bl startRollingEffect__Q34Game5Queen3ObjFv -lbl_80289BA8: -/* 80289BA8 00286AE8 7F E3 FB 78 */ mr r3, r31 -/* 80289BAC 00286AEC 48 00 14 7D */ bl finishStoneStateBossAttackLoopBGM__Q34Game5Queen3ObjFv -/* 80289BB0 00286AF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289BB4 00286AF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289BB8 00286AF8 7C 08 03 A6 */ mtlr r0 -/* 80289BBC 00286AFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289BC0 00286B00 4E 80 00 20 */ blr - -.global ignoreAtari__Q34Game5Queen3ObjFPQ24Game8Creature -ignoreAtari__Q34Game5Queen3ObjFPQ24Game8Creature: -/* 80289BC4 00286B04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289BC8 00286B08 7C 08 02 A6 */ mflr r0 -/* 80289BCC 00286B0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289BD0 00286B10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80289BD4 00286B14 7C 9F 23 78 */ mr r31, r4 -/* 80289BD8 00286B18 88 03 02 C2 */ lbz r0, 0x2c2(r3) -/* 80289BDC 00286B1C 28 00 00 00 */ cmplwi r0, 0 -/* 80289BE0 00286B20 41 82 00 50 */ beq lbl_80289C30 -/* 80289BE4 00286B24 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80289BE8 00286B28 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 80289BEC 00286B2C 40 82 00 44 */ bne lbl_80289C30 -/* 80289BF0 00286B30 7F E3 FB 78 */ mr r3, r31 -/* 80289BF4 00286B34 81 9F 00 00 */ lwz r12, 0(r31) -/* 80289BF8 00286B38 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80289BFC 00286B3C 7D 89 03 A6 */ mtctr r12 -/* 80289C00 00286B40 4E 80 04 21 */ bctrl -/* 80289C04 00286B44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80289C08 00286B48 40 82 00 20 */ bne lbl_80289C28 -/* 80289C0C 00286B4C 7F E3 FB 78 */ mr r3, r31 -/* 80289C10 00286B50 81 9F 00 00 */ lwz r12, 0(r31) -/* 80289C14 00286B54 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 80289C18 00286B58 7D 89 03 A6 */ mtctr r12 -/* 80289C1C 00286B5C 4E 80 04 21 */ bctrl -/* 80289C20 00286B60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80289C24 00286B64 41 82 00 0C */ beq lbl_80289C30 -lbl_80289C28: -/* 80289C28 00286B68 38 60 00 01 */ li r3, 1 -/* 80289C2C 00286B6C 48 00 00 08 */ b lbl_80289C34 -lbl_80289C30: -/* 80289C30 00286B70 38 60 00 00 */ li r3, 0 -lbl_80289C34: -/* 80289C34 00286B74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289C38 00286B78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80289C3C 00286B7C 7C 08 03 A6 */ mtlr r0 -/* 80289C40 00286B80 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289C44 00286B84 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game5Queen3ObjFv -startCarcassMotion__Q34Game5Queen3ObjFv: -/* 80289C48 00286B88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289C4C 00286B8C 7C 08 02 A6 */ mflr r0 -/* 80289C50 00286B90 38 80 00 08 */ li r4, 8 -/* 80289C54 00286B94 38 A0 00 00 */ li r5, 0 -/* 80289C58 00286B98 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289C5C 00286B9C 4B E7 B3 A9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80289C60 00286BA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289C64 00286BA4 7C 08 03 A6 */ mtlr r0 -/* 80289C68 00286BA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289C6C 00286BAC 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game5Queen3ObjFv -doStartMovie__Q34Game5Queen3ObjFv: -/* 80289C70 00286BB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289C74 00286BB4 7C 08 02 A6 */ mflr r0 -/* 80289C78 00286BB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289C7C 00286BBC 48 00 20 C5 */ bl effectDrawOff__Q34Game5Queen3ObjFv -/* 80289C80 00286BC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289C84 00286BC4 7C 08 03 A6 */ mtlr r0 -/* 80289C88 00286BC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289C8C 00286BCC 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game5Queen3ObjFv -doEndMovie__Q34Game5Queen3ObjFv: -/* 80289C90 00286BD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80289C94 00286BD4 7C 08 02 A6 */ mflr r0 -/* 80289C98 00286BD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289C9C 00286BDC 48 00 1F 8D */ bl effectDrawOn__Q34Game5Queen3ObjFv -/* 80289CA0 00286BE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80289CA4 00286BE4 7C 08 03 A6 */ mtlr r0 -/* 80289CA8 00286BE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80289CAC 00286BEC 4E 80 00 20 */ blr - -.global rollingAttack__Q34Game5Queen3ObjFv -rollingAttack__Q34Game5Queen3ObjFv: -/* 80289CB0 00286BF0 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 80289CB4 00286BF4 7C 08 02 A6 */ mflr r0 -/* 80289CB8 00286BF8 90 01 01 54 */ stw r0, 0x154(r1) -/* 80289CBC 00286BFC DB E1 01 40 */ stfd f31, 0x140(r1) -/* 80289CC0 00286C00 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 80289CC4 00286C04 DB C1 01 30 */ stfd f30, 0x130(r1) -/* 80289CC8 00286C08 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 -/* 80289CCC 00286C0C DB A1 01 20 */ stfd f29, 0x120(r1) -/* 80289CD0 00286C10 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 -/* 80289CD4 00286C14 DB 81 01 10 */ stfd f28, 0x110(r1) -/* 80289CD8 00286C18 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 -/* 80289CDC 00286C1C DB 61 01 00 */ stfd f27, 0x100(r1) -/* 80289CE0 00286C20 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 -/* 80289CE4 00286C24 DB 41 00 F0 */ stfd f26, 0xf0(r1) -/* 80289CE8 00286C28 F3 41 00 F8 */ psq_st f26, 248(r1), 0, qr0 -/* 80289CEC 00286C2C DB 21 00 E0 */ stfd f25, 0xe0(r1) -/* 80289CF0 00286C30 F3 21 00 E8 */ psq_st f25, 232(r1), 0, qr0 -/* 80289CF4 00286C34 DB 01 00 D0 */ stfd f24, 0xd0(r1) -/* 80289CF8 00286C38 F3 01 00 D8 */ psq_st f24, 216(r1), 0, qr0 -/* 80289CFC 00286C3C 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 80289D00 00286C40 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 80289D04 00286C44 7C 7F 1B 78 */ mr r31, r3 -/* 80289D08 00286C48 38 61 00 14 */ addi r3, r1, 0x14 -/* 80289D0C 00286C4C 7F E4 FB 78 */ mr r4, r31 -/* 80289D10 00286C50 81 9F 00 00 */ lwz r12, 0(r31) -/* 80289D14 00286C54 81 8C 00 08 */ lwz r12, 8(r12) -/* 80289D18 00286C58 7D 89 03 A6 */ mtctr r12 -/* 80289D1C 00286C5C 4E 80 04 21 */ bctrl -/* 80289D20 00286C60 7F E3 FB 78 */ mr r3, r31 -/* 80289D24 00286C64 C3 81 00 14 */ lfs f28, 0x14(r1) -/* 80289D28 00286C68 81 9F 00 00 */ lwz r12, 0(r31) -/* 80289D2C 00286C6C C3 61 00 18 */ lfs f27, 0x18(r1) -/* 80289D30 00286C70 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80289D34 00286C74 C3 41 00 1C */ lfs f26, 0x1c(r1) -/* 80289D38 00286C78 7D 89 03 A6 */ mtctr r12 -/* 80289D3C 00286C7C 4E 80 04 21 */ bctrl -/* 80289D40 00286C80 FC 40 08 90 */ fmr f2, f1 -/* 80289D44 00286C84 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80289D48 00286C88 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 80289D4C 00286C8C C3 23 05 B4 */ lfs f25, 0x5b4(r3) -/* 80289D50 00286C90 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80289D54 00286C94 C3 03 05 DC */ lfs f24, 0x5dc(r3) -/* 80289D58 00286C98 40 80 00 08 */ bge lbl_80289D60 -/* 80289D5C 00286C9C FC 40 10 50 */ fneg f2, f2 -lbl_80289D60: -/* 80289D60 00286CA0 C0 62 D4 E0 */ lfs f3, lbl_8051B840@sda21(r2) -/* 80289D64 00286CA4 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80289D68 00286CA8 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 80289D6C 00286CAC 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80289D70 00286CB0 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80289D74 00286CB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80289D78 00286CB8 FC 00 10 1E */ fctiwz f0, f2 -/* 80289D7C 00286CBC D8 01 00 A8 */ stfd f0, 0xa8(r1) -/* 80289D80 00286CC0 80 01 00 AC */ lwz r0, 0xac(r1) -/* 80289D84 00286CC4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80289D88 00286CC8 7C 64 02 14 */ add r3, r4, r0 -/* 80289D8C 00286CCC C3 C3 00 04 */ lfs f30, 4(r3) -/* 80289D90 00286CD0 40 80 00 28 */ bge lbl_80289DB8 -/* 80289D94 00286CD4 C0 02 D4 E4 */ lfs f0, lbl_8051B844@sda21(r2) -/* 80289D98 00286CD8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80289D9C 00286CDC FC 00 00 1E */ fctiwz f0, f0 -/* 80289DA0 00286CE0 D8 01 00 B0 */ stfd f0, 0xb0(r1) -/* 80289DA4 00286CE4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80289DA8 00286CE8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80289DAC 00286CEC 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80289DB0 00286CF0 FF A0 00 50 */ fneg f29, f0 -/* 80289DB4 00286CF4 48 00 00 1C */ b lbl_80289DD0 -lbl_80289DB8: -/* 80289DB8 00286CF8 EC 01 00 F2 */ fmuls f0, f1, f3 -/* 80289DBC 00286CFC FC 00 00 1E */ fctiwz f0, f0 -/* 80289DC0 00286D00 D8 01 00 B8 */ stfd f0, 0xb8(r1) -/* 80289DC4 00286D04 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 80289DC8 00286D08 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80289DCC 00286D0C 7F A4 04 2E */ lfsx f29, r4, r0 -lbl_80289DD0: -/* 80289DD0 00286D10 C0 3F 01 8C */ lfs f1, 0x18c(r31) -/* 80289DD4 00286D14 FF E0 F0 50 */ fneg f31, f30 -/* 80289DD8 00286D18 C0 02 D4 E8 */ lfs f0, lbl_8051B848@sda21(r2) -/* 80289DDC 00286D1C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80289DE0 00286D20 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80289DE4 00286D24 38 81 00 30 */ addi r4, r1, 0x30 -/* 80289DE8 00286D28 C0 3F 01 90 */ lfs f1, 0x190(r31) -/* 80289DEC 00286D2C D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80289DF0 00286D30 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 80289DF4 00286D34 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80289DF8 00286D38 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80289DFC 00286D3C 4B FA 45 A5 */ bl __ct__Q24Game15CellIteratorArgFRQ23Sys6Sphere -/* 80289E00 00286D40 38 00 00 01 */ li r0, 1 -/* 80289E04 00286D44 38 61 00 60 */ addi r3, r1, 0x60 -/* 80289E08 00286D48 98 01 00 5C */ stb r0, 0x5c(r1) -/* 80289E0C 00286D4C 38 81 00 40 */ addi r4, r1, 0x40 -/* 80289E10 00286D50 4B FA 45 D1 */ bl __ct__Q24Game12CellIteratorFRQ24Game15CellIteratorArg -/* 80289E14 00286D54 38 61 00 60 */ addi r3, r1, 0x60 -/* 80289E18 00286D58 4B FA 46 45 */ bl first__Q24Game12CellIteratorFv -/* 80289E1C 00286D5C 48 00 01 18 */ b lbl_80289F34 -lbl_80289E20: -/* 80289E20 00286D60 38 61 00 60 */ addi r3, r1, 0x60 -/* 80289E24 00286D64 4B FA 47 21 */ bl __ml__Q24Game12CellIteratorFv -/* 80289E28 00286D68 81 83 00 00 */ lwz r12, 0(r3) -/* 80289E2C 00286D6C 7C 7E 1B 78 */ mr r30, r3 -/* 80289E30 00286D70 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80289E34 00286D74 7D 89 03 A6 */ mtctr r12 -/* 80289E38 00286D78 4E 80 04 21 */ bctrl -/* 80289E3C 00286D7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80289E40 00286D80 41 82 00 EC */ beq lbl_80289F2C -/* 80289E44 00286D84 7F C4 F3 78 */ mr r4, r30 -/* 80289E48 00286D88 38 61 00 08 */ addi r3, r1, 8 -/* 80289E4C 00286D8C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80289E50 00286D90 81 8C 00 08 */ lwz r12, 8(r12) -/* 80289E54 00286D94 7D 89 03 A6 */ mtctr r12 -/* 80289E58 00286D98 4E 80 04 21 */ bctrl -/* 80289E5C 00286D9C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80289E60 00286DA0 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80289E64 00286DA4 EC 60 D8 28 */ fsubs f3, f0, f27 -/* 80289E68 00286DA8 C0 21 00 08 */ lfs f1, 8(r1) -/* 80289E6C 00286DAC C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 80289E70 00286DB0 EC 82 D0 28 */ fsubs f4, f2, f26 -/* 80289E74 00286DB4 EC 41 E0 28 */ fsubs f2, f1, f28 -/* 80289E78 00286DB8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80289E7C 00286DBC 40 81 00 0C */ ble lbl_80289E88 -/* 80289E80 00286DC0 FC 20 18 90 */ fmr f1, f3 -/* 80289E84 00286DC4 48 00 00 08 */ b lbl_80289E8C -lbl_80289E88: -/* 80289E88 00286DC8 FC 20 18 50 */ fneg f1, f3 -lbl_80289E8C: -/* 80289E8C 00286DCC C0 02 D4 C8 */ lfs f0, lbl_8051B828@sda21(r2) -/* 80289E90 00286DD0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80289E94 00286DD4 40 80 00 98 */ bge lbl_80289F2C -/* 80289E98 00286DD8 C0 22 D4 B8 */ lfs f1, lbl_8051B818@sda21(r2) -/* 80289E9C 00286DDC EC 61 00 F2 */ fmuls f3, f1, f3 -/* 80289EA0 00286DE0 EC 1F 18 BA */ fmadds f0, f31, f2, f3 -/* 80289EA4 00286DE4 EC 1D 01 3A */ fmadds f0, f29, f4, f0 -/* 80289EA8 00286DE8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80289EAC 00286DEC 40 81 00 08 */ ble lbl_80289EB4 -/* 80289EB0 00286DF0 48 00 00 08 */ b lbl_80289EB8 -lbl_80289EB4: -/* 80289EB4 00286DF4 FC 00 00 50 */ fneg f0, f0 -lbl_80289EB8: -/* 80289EB8 00286DF8 FC 00 C0 40 */ fcmpo cr0, f0, f24 -/* 80289EBC 00286DFC 40 80 00 70 */ bge lbl_80289F2C -/* 80289EC0 00286E00 EC 3D 18 BA */ fmadds f1, f29, f2, f3 -/* 80289EC4 00286E04 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 80289EC8 00286E08 EC 3E 09 3A */ fmadds f1, f30, f4, f1 -/* 80289ECC 00286E0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80289ED0 00286E10 40 81 00 08 */ ble lbl_80289ED8 -/* 80289ED4 00286E14 48 00 00 08 */ b lbl_80289EDC -lbl_80289ED8: -/* 80289ED8 00286E18 FC 20 08 50 */ fneg f1, f1 -lbl_80289EDC: -/* 80289EDC 00286E1C FC 01 C8 40 */ fcmpo cr0, f1, f25 -/* 80289EE0 00286E20 40 80 00 4C */ bge lbl_80289F2C -/* 80289EE4 00286E24 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80289EE8 00286E28 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 80289EEC 00286E2C 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractPress@ha -/* 80289EF0 00286E30 38 00 00 00 */ li r0, 0 -/* 80289EF4 00286E34 C0 05 06 04 */ lfs f0, 0x604(r5) -/* 80289EF8 00286E38 38 84 A3 00 */ addi r4, r4, __vt__Q24Game11Interaction@l -/* 80289EFC 00286E3C 38 A3 B3 20 */ addi r5, r3, __vt__Q24Game13InteractPress@l -/* 80289F00 00286E40 7F C3 F3 78 */ mr r3, r30 -/* 80289F04 00286E44 90 81 00 20 */ stw r4, 0x20(r1) -/* 80289F08 00286E48 38 81 00 20 */ addi r4, r1, 0x20 -/* 80289F0C 00286E4C 93 E1 00 24 */ stw r31, 0x24(r1) -/* 80289F10 00286E50 90 A1 00 20 */ stw r5, 0x20(r1) -/* 80289F14 00286E54 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80289F18 00286E58 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80289F1C 00286E5C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80289F20 00286E60 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80289F24 00286E64 7D 89 03 A6 */ mtctr r12 -/* 80289F28 00286E68 4E 80 04 21 */ bctrl -lbl_80289F2C: -/* 80289F2C 00286E6C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80289F30 00286E70 4B FA 45 D1 */ bl next__Q24Game12CellIteratorFv -lbl_80289F34: -/* 80289F34 00286E74 38 61 00 60 */ addi r3, r1, 0x60 -/* 80289F38 00286E78 4B FA 45 FD */ bl isDone__Q24Game12CellIteratorFv -/* 80289F3C 00286E7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80289F40 00286E80 41 82 FE E0 */ beq lbl_80289E20 -/* 80289F44 00286E84 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 80289F48 00286E88 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 80289F4C 00286E8C E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 -/* 80289F50 00286E90 CB C1 01 30 */ lfd f30, 0x130(r1) -/* 80289F54 00286E94 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 -/* 80289F58 00286E98 CB A1 01 20 */ lfd f29, 0x120(r1) -/* 80289F5C 00286E9C E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 -/* 80289F60 00286EA0 CB 81 01 10 */ lfd f28, 0x110(r1) -/* 80289F64 00286EA4 E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 -/* 80289F68 00286EA8 CB 61 01 00 */ lfd f27, 0x100(r1) -/* 80289F6C 00286EAC E3 41 00 F8 */ psq_l f26, 248(r1), 0, qr0 -/* 80289F70 00286EB0 CB 41 00 F0 */ lfd f26, 0xf0(r1) -/* 80289F74 00286EB4 E3 21 00 E8 */ psq_l f25, 232(r1), 0, qr0 -/* 80289F78 00286EB8 CB 21 00 E0 */ lfd f25, 0xe0(r1) -/* 80289F7C 00286EBC E3 01 00 D8 */ psq_l f24, 216(r1), 0, qr0 -/* 80289F80 00286EC0 CB 01 00 D0 */ lfd f24, 0xd0(r1) -/* 80289F84 00286EC4 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 80289F88 00286EC8 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80289F8C 00286ECC 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 80289F90 00286ED0 7C 08 03 A6 */ mtlr r0 -/* 80289F94 00286ED4 38 21 01 50 */ addi r1, r1, 0x150 -/* 80289F98 00286ED8 4E 80 00 20 */ blr - -.global flickPikmin__Q34Game5Queen3ObjFf -flickPikmin__Q34Game5Queen3ObjFf: -/* 80289F9C 00286EDC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80289FA0 00286EE0 7C 08 02 A6 */ mflr r0 -/* 80289FA4 00286EE4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80289FA8 00286EE8 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80289FAC 00286EEC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80289FB0 00286EF0 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80289FB4 00286EF4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80289FB8 00286EF8 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80289FBC 00286EFC 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80289FC0 00286F00 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80289FC4 00286F04 FF C0 08 90 */ fmr f30, f1 -/* 80289FC8 00286F08 7C 7E 1B 78 */ mr r30, r3 -/* 80289FCC 00286F0C C0 02 D4 EC */ lfs f0, lbl_8051B84C@sda21(r2) -/* 80289FD0 00286F10 7F C4 F3 78 */ mr r4, r30 -/* 80289FD4 00286F14 38 61 00 54 */ addi r3, r1, 0x54 -/* 80289FD8 00286F18 EF E0 F0 2A */ fadds f31, f0, f30 -/* 80289FDC 00286F1C 4B F1 5C 81 */ bl __ct__Q24Game8StickersFPQ24Game8Creature -/* 80289FE0 00286F20 38 00 00 00 */ li r0, 0 -/* 80289FE4 00286F24 3C 60 80 4B */ lis r3, __vt__26Iterator$$0Q24Game8Creature$$1@ha -/* 80289FE8 00286F28 38 83 BC 84 */ addi r4, r3, __vt__26Iterator$$0Q24Game8Creature$$1@l -/* 80289FEC 00286F2C 38 61 00 54 */ addi r3, r1, 0x54 -/* 80289FF0 00286F30 28 00 00 00 */ cmplwi r0, 0 -/* 80289FF4 00286F34 90 81 00 08 */ stw r4, 8(r1) -/* 80289FF8 00286F38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80289FFC 00286F3C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028A000 00286F40 90 61 00 10 */ stw r3, 0x10(r1) -/* 8028A004 00286F44 40 82 00 1C */ bne lbl_8028A020 -/* 8028A008 00286F48 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A00C 00286F4C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028A010 00286F50 7D 89 03 A6 */ mtctr r12 -/* 8028A014 00286F54 4E 80 04 21 */ bctrl -/* 8028A018 00286F58 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028A01C 00286F5C 48 00 02 D0 */ b lbl_8028A2EC -lbl_8028A020: -/* 8028A020 00286F60 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A024 00286F64 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028A028 00286F68 7D 89 03 A6 */ mtctr r12 -/* 8028A02C 00286F6C 4E 80 04 21 */ bctrl -/* 8028A030 00286F70 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028A034 00286F74 48 00 00 58 */ b lbl_8028A08C -lbl_8028A038: -/* 8028A038 00286F78 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028A03C 00286F7C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028A040 00286F80 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A044 00286F84 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028A048 00286F88 7D 89 03 A6 */ mtctr r12 -/* 8028A04C 00286F8C 4E 80 04 21 */ bctrl -/* 8028A050 00286F90 7C 64 1B 78 */ mr r4, r3 -/* 8028A054 00286F94 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8028A058 00286F98 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A05C 00286F9C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028A060 00286FA0 7D 89 03 A6 */ mtctr r12 -/* 8028A064 00286FA4 4E 80 04 21 */ bctrl -/* 8028A068 00286FA8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A06C 00286FAC 40 82 02 80 */ bne lbl_8028A2EC -/* 8028A070 00286FB0 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028A074 00286FB4 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028A078 00286FB8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A07C 00286FBC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028A080 00286FC0 7D 89 03 A6 */ mtctr r12 -/* 8028A084 00286FC4 4E 80 04 21 */ bctrl -/* 8028A088 00286FC8 90 61 00 0C */ stw r3, 0xc(r1) -lbl_8028A08C: -/* 8028A08C 00286FCC 81 81 00 08 */ lwz r12, 8(r1) -/* 8028A090 00286FD0 38 61 00 08 */ addi r3, r1, 8 -/* 8028A094 00286FD4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028A098 00286FD8 7D 89 03 A6 */ mtctr r12 -/* 8028A09C 00286FDC 4E 80 04 21 */ bctrl -/* 8028A0A0 00286FE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A0A4 00286FE4 41 82 FF 94 */ beq lbl_8028A038 -/* 8028A0A8 00286FE8 48 00 02 44 */ b lbl_8028A2EC -lbl_8028A0AC: -/* 8028A0AC 00286FEC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028A0B0 00286FF0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A0B4 00286FF4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028A0B8 00286FF8 7D 89 03 A6 */ mtctr r12 -/* 8028A0BC 00286FFC 4E 80 04 21 */ bctrl -/* 8028A0C0 00287000 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A0C4 00287004 7C 7F 1B 78 */ mr r31, r3 -/* 8028A0C8 00287008 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8028A0CC 0028700C 7D 89 03 A6 */ mtctr r12 -/* 8028A0D0 00287010 4E 80 04 21 */ bctrl -/* 8028A0D4 00287014 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A0D8 00287018 41 82 01 58 */ beq lbl_8028A230 -/* 8028A0DC 0028701C 83 BF 00 F8 */ lwz r29, 0xf8(r31) -/* 8028A0E0 00287020 28 1D 00 00 */ cmplwi r29, 0 -/* 8028A0E4 00287024 41 82 01 4C */ beq lbl_8028A230 -/* 8028A0E8 00287028 3C 80 6E 6F */ lis r4, 0x6E6F7365@ha -/* 8028A0EC 0028702C 38 7D 00 30 */ addi r3, r29, 0x30 -/* 8028A0F0 00287030 38 84 73 65 */ addi r4, r4, 0x6E6F7365@l -/* 8028A0F4 00287034 48 18 93 41 */ bl __eq__4ID32FUl -/* 8028A0F8 00287038 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A0FC 0028703C 40 82 00 34 */ bne lbl_8028A130 -/* 8028A100 00287040 3C 80 68 65 */ lis r4, 0x68656164@ha -/* 8028A104 00287044 38 7D 00 30 */ addi r3, r29, 0x30 -/* 8028A108 00287048 38 84 61 64 */ addi r4, r4, 0x68656164@l -/* 8028A10C 0028704C 48 18 93 29 */ bl __eq__4ID32FUl -/* 8028A110 00287050 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A114 00287054 40 82 00 1C */ bne lbl_8028A130 -/* 8028A118 00287058 3C 80 62 6F */ lis r4, 0x626F6431@ha -/* 8028A11C 0028705C 38 7D 00 30 */ addi r3, r29, 0x30 -/* 8028A120 00287060 38 84 64 31 */ addi r4, r4, 0x626F6431@l -/* 8028A124 00287064 48 18 93 11 */ bl __eq__4ID32FUl -/* 8028A128 00287068 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A12C 0028706C 41 82 00 54 */ beq lbl_8028A180 -lbl_8028A130: -/* 8028A130 00287070 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 8028A134 00287074 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 8028A138 00287078 3C 80 80 4B */ lis r4, __vt__Q24Game13InteractFlick@ha -/* 8028A13C 0028707C 7F E3 FB 78 */ mr r3, r31 -/* 8028A140 00287080 C0 26 04 EC */ lfs f1, 0x4ec(r6) -/* 8028A144 00287084 38 A5 A3 00 */ addi r5, r5, __vt__Q24Game11Interaction@l -/* 8028A148 00287088 C0 06 04 C4 */ lfs f0, 0x4c4(r6) -/* 8028A14C 0028708C 38 04 4E 04 */ addi r0, r4, __vt__Q24Game13InteractFlick@l -/* 8028A150 00287090 38 81 00 40 */ addi r4, r1, 0x40 -/* 8028A154 00287094 90 A1 00 40 */ stw r5, 0x40(r1) -/* 8028A158 00287098 93 C1 00 44 */ stw r30, 0x44(r1) -/* 8028A15C 0028709C 90 01 00 40 */ stw r0, 0x40(r1) -/* 8028A160 002870A0 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8028A164 002870A4 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8028A168 002870A8 D3 C1 00 50 */ stfs f30, 0x50(r1) -/* 8028A16C 002870AC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028A170 002870B0 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8028A174 002870B4 7D 89 03 A6 */ mtctr r12 -/* 8028A178 002870B8 4E 80 04 21 */ bctrl -/* 8028A17C 002870BC 48 00 00 B4 */ b lbl_8028A230 -lbl_8028A180: -/* 8028A180 002870C0 3C 80 62 6F */ lis r4, 0x626F6435@ha -/* 8028A184 002870C4 38 7D 00 30 */ addi r3, r29, 0x30 -/* 8028A188 002870C8 38 84 64 35 */ addi r4, r4, 0x626F6435@l -/* 8028A18C 002870CC 48 18 92 A9 */ bl __eq__4ID32FUl -/* 8028A190 002870D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A194 002870D4 41 82 00 54 */ beq lbl_8028A1E8 -/* 8028A198 002870D8 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 8028A19C 002870DC 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 8028A1A0 002870E0 3C 80 80 4B */ lis r4, __vt__Q24Game13InteractFlick@ha -/* 8028A1A4 002870E4 7F E3 FB 78 */ mr r3, r31 -/* 8028A1A8 002870E8 C0 26 04 EC */ lfs f1, 0x4ec(r6) -/* 8028A1AC 002870EC 38 A5 A3 00 */ addi r5, r5, __vt__Q24Game11Interaction@l -/* 8028A1B0 002870F0 C0 06 04 C4 */ lfs f0, 0x4c4(r6) -/* 8028A1B4 002870F4 38 04 4E 04 */ addi r0, r4, __vt__Q24Game13InteractFlick@l -/* 8028A1B8 002870F8 38 81 00 2C */ addi r4, r1, 0x2c -/* 8028A1BC 002870FC 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8028A1C0 00287100 93 C1 00 30 */ stw r30, 0x30(r1) -/* 8028A1C4 00287104 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8028A1C8 00287108 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8028A1CC 0028710C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8028A1D0 00287110 D3 E1 00 3C */ stfs f31, 0x3c(r1) -/* 8028A1D4 00287114 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028A1D8 00287118 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8028A1DC 0028711C 7D 89 03 A6 */ mtctr r12 -/* 8028A1E0 00287120 4E 80 04 21 */ bctrl -/* 8028A1E4 00287124 48 00 00 4C */ b lbl_8028A230 -lbl_8028A1E8: -/* 8028A1E8 00287128 3C 60 80 4B */ lis r3, __vt__Q24Game11Interaction@ha -/* 8028A1EC 0028712C C0 22 D4 B8 */ lfs f1, lbl_8051B818@sda21(r2) -/* 8028A1F0 00287130 38 03 A3 00 */ addi r0, r3, __vt__Q24Game11Interaction@l -/* 8028A1F4 00287134 C0 02 D4 DC */ lfs f0, lbl_8051B83C@sda21(r2) -/* 8028A1F8 00287138 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractFlick@ha -/* 8028A1FC 0028713C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028A200 00287140 38 03 4E 04 */ addi r0, r3, __vt__Q24Game13InteractFlick@l -/* 8028A204 00287144 7F E3 FB 78 */ mr r3, r31 -/* 8028A208 00287148 93 C1 00 1C */ stw r30, 0x1c(r1) -/* 8028A20C 0028714C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8028A210 00287150 90 01 00 18 */ stw r0, 0x18(r1) -/* 8028A214 00287154 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8028A218 00287158 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8028A21C 0028715C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8028A220 00287160 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028A224 00287164 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8028A228 00287168 7D 89 03 A6 */ mtctr r12 -/* 8028A22C 0028716C 4E 80 04 21 */ bctrl -lbl_8028A230: -/* 8028A230 00287170 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028A234 00287174 28 00 00 00 */ cmplwi r0, 0 -/* 8028A238 00287178 40 82 00 24 */ bne lbl_8028A25C -/* 8028A23C 0028717C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028A240 00287180 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028A244 00287184 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A248 00287188 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028A24C 0028718C 7D 89 03 A6 */ mtctr r12 -/* 8028A250 00287190 4E 80 04 21 */ bctrl -/* 8028A254 00287194 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028A258 00287198 48 00 00 94 */ b lbl_8028A2EC -lbl_8028A25C: -/* 8028A25C 0028719C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028A260 002871A0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028A264 002871A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A268 002871A8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028A26C 002871AC 7D 89 03 A6 */ mtctr r12 -/* 8028A270 002871B0 4E 80 04 21 */ bctrl -/* 8028A274 002871B4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028A278 002871B8 48 00 00 58 */ b lbl_8028A2D0 -lbl_8028A27C: -/* 8028A27C 002871BC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028A280 002871C0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028A284 002871C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A288 002871C8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028A28C 002871CC 7D 89 03 A6 */ mtctr r12 -/* 8028A290 002871D0 4E 80 04 21 */ bctrl -/* 8028A294 002871D4 7C 64 1B 78 */ mr r4, r3 -/* 8028A298 002871D8 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8028A29C 002871DC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A2A0 002871E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028A2A4 002871E4 7D 89 03 A6 */ mtctr r12 -/* 8028A2A8 002871E8 4E 80 04 21 */ bctrl -/* 8028A2AC 002871EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A2B0 002871F0 40 82 00 3C */ bne lbl_8028A2EC -/* 8028A2B4 002871F4 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028A2B8 002871F8 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028A2BC 002871FC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A2C0 00287200 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028A2C4 00287204 7D 89 03 A6 */ mtctr r12 -/* 8028A2C8 00287208 4E 80 04 21 */ bctrl -/* 8028A2CC 0028720C 90 61 00 0C */ stw r3, 0xc(r1) -lbl_8028A2D0: -/* 8028A2D0 00287210 81 81 00 08 */ lwz r12, 8(r1) -/* 8028A2D4 00287214 38 61 00 08 */ addi r3, r1, 8 -/* 8028A2D8 00287218 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028A2DC 0028721C 7D 89 03 A6 */ mtctr r12 -/* 8028A2E0 00287220 4E 80 04 21 */ bctrl -/* 8028A2E4 00287224 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028A2E8 00287228 41 82 FF 94 */ beq lbl_8028A27C -lbl_8028A2EC: -/* 8028A2EC 0028722C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028A2F0 00287230 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A2F4 00287234 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028A2F8 00287238 7D 89 03 A6 */ mtctr r12 -/* 8028A2FC 0028723C 4E 80 04 21 */ bctrl -/* 8028A300 00287240 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028A304 00287244 7C 04 18 40 */ cmplw r4, r3 -/* 8028A308 00287248 40 82 FD A4 */ bne lbl_8028A0AC -/* 8028A30C 0028724C 38 61 00 54 */ addi r3, r1, 0x54 -/* 8028A310 00287250 38 80 FF FF */ li r4, -1 -/* 8028A314 00287254 4B F1 5A 51 */ bl __dt__Q24Game8StickersFv -/* 8028A318 00287258 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8028A31C 0028725C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8028A320 00287260 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8028A324 00287264 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8028A328 00287268 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8028A32C 0028726C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8028A330 00287270 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8028A334 00287274 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8028A338 00287278 7C 08 03 A6 */ mtlr r0 -/* 8028A33C 0028727C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8028A340 00287280 4E 80 00 20 */ blr - -.global isRollingAttackLeft__Q34Game5Queen3ObjFv -isRollingAttackLeft__Q34Game5Queen3ObjFv: -/* 8028A344 00287284 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028A348 00287288 7C 08 02 A6 */ mflr r0 -/* 8028A34C 0028728C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028A350 00287290 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8028A354 00287294 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8028A358 00287298 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8028A35C 0028729C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8028A360 002872A0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8028A364 002872A4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8028A368 002872A8 7C 7E 1B 78 */ mr r30, r3 -/* 8028A36C 002872AC 88 03 02 C3 */ lbz r0, 0x2c3(r3) -/* 8028A370 002872B0 28 00 00 00 */ cmplwi r0, 0 -/* 8028A374 002872B4 41 82 01 10 */ beq lbl_8028A484 -/* 8028A378 002872B8 38 00 00 00 */ li r0, 0 -/* 8028A37C 002872BC 98 1E 02 C3 */ stb r0, 0x2c3(r30) -/* 8028A380 002872C0 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 8028A384 002872C4 4B ED 08 9D */ bl getActiveNavi__Q24Game7NaviMgrFv -/* 8028A388 002872C8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028A38C 002872CC 41 82 00 F0 */ beq lbl_8028A47C -/* 8028A390 002872D0 7F C3 F3 78 */ mr r3, r30 -/* 8028A394 002872D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028A398 002872D8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028A39C 002872DC 7D 89 03 A6 */ mtctr r12 -/* 8028A3A0 002872E0 4E 80 04 21 */ bctrl -/* 8028A3A4 002872E4 C0 42 D4 F0 */ lfs f2, lbl_8051B850@sda21(r2) -/* 8028A3A8 002872E8 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 8028A3AC 002872EC EC 62 08 2A */ fadds f3, f2, f1 -/* 8028A3B0 002872F0 FC 20 18 90 */ fmr f1, f3 -/* 8028A3B4 002872F4 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8028A3B8 002872F8 40 80 00 08 */ bge lbl_8028A3C0 -/* 8028A3BC 002872FC FC 20 18 50 */ fneg f1, f3 -lbl_8028A3C0: -/* 8028A3C0 00287300 C0 42 D4 E0 */ lfs f2, lbl_8051B840@sda21(r2) -/* 8028A3C4 00287304 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028A3C8 00287308 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 8028A3CC 0028730C 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8028A3D0 00287310 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8028A3D4 00287314 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8028A3D8 00287318 FC 00 08 1E */ fctiwz f0, f1 -/* 8028A3DC 0028731C D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8028A3E0 00287320 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8028A3E4 00287324 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A3E8 00287328 7C 64 02 14 */ add r3, r4, r0 -/* 8028A3EC 0028732C C3 E3 00 04 */ lfs f31, 4(r3) -/* 8028A3F0 00287330 40 80 00 28 */ bge lbl_8028A418 -/* 8028A3F4 00287334 C0 02 D4 E4 */ lfs f0, lbl_8051B844@sda21(r2) -/* 8028A3F8 00287338 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8028A3FC 0028733C FC 00 00 1E */ fctiwz f0, f0 -/* 8028A400 00287340 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8028A404 00287344 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028A408 00287348 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A40C 0028734C 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8028A410 00287350 FF C0 00 50 */ fneg f30, f0 -/* 8028A414 00287354 48 00 00 1C */ b lbl_8028A430 -lbl_8028A418: -/* 8028A418 00287358 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 8028A41C 0028735C FC 00 00 1E */ fctiwz f0, f0 -/* 8028A420 00287360 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 8028A424 00287364 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8028A428 00287368 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A42C 0028736C 7F C4 04 2E */ lfsx f30, r4, r0 -lbl_8028A430: -/* 8028A430 00287370 7F E4 FB 78 */ mr r4, r31 -/* 8028A434 00287374 38 61 00 08 */ addi r3, r1, 8 -/* 8028A438 00287378 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028A43C 0028737C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028A440 00287380 7D 89 03 A6 */ mtctr r12 -/* 8028A444 00287384 4E 80 04 21 */ bctrl -/* 8028A448 00287388 C0 21 00 08 */ lfs f1, 8(r1) -/* 8028A44C 0028738C C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 8028A450 00287390 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8028A454 00287394 C0 5E 01 94 */ lfs f2, 0x194(r30) -/* 8028A458 00287398 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8028A45C 0028739C C0 22 D4 B8 */ lfs f1, lbl_8051B818@sda21(r2) -/* 8028A460 002873A0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8028A464 002873A4 EC 1E 08 3A */ fmadds f0, f30, f0, f1 -/* 8028A468 002873A8 EC 1F 00 BA */ fmadds f0, f31, f2, f0 -/* 8028A46C 002873AC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8028A470 002873B0 40 81 00 0C */ ble lbl_8028A47C -/* 8028A474 002873B4 38 60 00 00 */ li r3, 0 -/* 8028A478 002873B8 48 00 00 4C */ b lbl_8028A4C4 -lbl_8028A47C: -/* 8028A47C 002873BC 38 60 00 01 */ li r3, 1 -/* 8028A480 002873C0 48 00 00 44 */ b lbl_8028A4C4 -lbl_8028A484: -/* 8028A484 002873C4 4B E3 F1 1D */ bl rand -/* 8028A488 002873C8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8028A48C 002873CC 3C 00 43 30 */ lis r0, 0x4330 -/* 8028A490 002873D0 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8028A494 002873D4 C8 62 D5 00 */ lfd f3, lbl_8051B860@sda21(r2) -/* 8028A498 002873D8 90 01 00 28 */ stw r0, 0x28(r1) -/* 8028A49C 002873DC C0 42 D4 C4 */ lfs f2, lbl_8051B824@sda21(r2) -/* 8028A4A0 002873E0 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8028A4A4 002873E4 C0 22 D4 F4 */ lfs f1, lbl_8051B854@sda21(r2) -/* 8028A4A8 002873E8 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8028A4AC 002873EC C0 02 D4 F8 */ lfs f0, lbl_8051B858@sda21(r2) -/* 8028A4B0 002873F0 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8028A4B4 002873F4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8028A4B8 002873F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028A4BC 002873FC 7C 00 00 26 */ mfcr r0 -/* 8028A4C0 00287400 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_8028A4C4: -/* 8028A4C4 00287404 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8028A4C8 00287408 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8028A4CC 0028740C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8028A4D0 00287410 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8028A4D4 00287414 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8028A4D8 00287418 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028A4DC 0028741C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8028A4E0 00287420 7C 08 03 A6 */ mtlr r0 -/* 8028A4E4 00287424 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028A4E8 00287428 4E 80 00 20 */ blr - -.global createCrashFallRock__Q34Game5Queen3ObjFv -createCrashFallRock__Q34Game5Queen3ObjFv: -/* 8028A4EC 0028742C 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8028A4F0 00287430 7C 08 02 A6 */ mflr r0 -/* 8028A4F4 00287434 90 01 01 44 */ stw r0, 0x144(r1) -/* 8028A4F8 00287438 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8028A4FC 0028743C F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8028A500 00287440 DB C1 01 20 */ stfd f30, 0x120(r1) -/* 8028A504 00287444 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 8028A508 00287448 DB A1 01 10 */ stfd f29, 0x110(r1) -/* 8028A50C 0028744C F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 8028A510 00287450 DB 81 01 00 */ stfd f28, 0x100(r1) -/* 8028A514 00287454 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 8028A518 00287458 DB 61 00 F0 */ stfd f27, 0xf0(r1) -/* 8028A51C 0028745C F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 -/* 8028A520 00287460 DB 41 00 E0 */ stfd f26, 0xe0(r1) -/* 8028A524 00287464 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 -/* 8028A528 00287468 DB 21 00 D0 */ stfd f25, 0xd0(r1) -/* 8028A52C 0028746C F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0 -/* 8028A530 00287470 DB 01 00 C0 */ stfd f24, 0xc0(r1) -/* 8028A534 00287474 F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0 -/* 8028A538 00287478 DA E1 00 B0 */ stfd f23, 0xb0(r1) -/* 8028A53C 0028747C F2 E1 00 B8 */ psq_st f23, 184(r1), 0, qr0 -/* 8028A540 00287480 DA C1 00 A0 */ stfd f22, 0xa0(r1) -/* 8028A544 00287484 F2 C1 00 A8 */ psq_st f22, 168(r1), 0, qr0 -/* 8028A548 00287488 DA A1 00 90 */ stfd f21, 0x90(r1) -/* 8028A54C 0028748C F2 A1 00 98 */ psq_st f21, 152(r1), 0, qr0 -/* 8028A550 00287490 DA 81 00 80 */ stfd f20, 0x80(r1) -/* 8028A554 00287494 F2 81 00 88 */ psq_st f20, 136(r1), 0, qr0 -/* 8028A558 00287498 DA 61 00 70 */ stfd f19, 0x70(r1) -/* 8028A55C 0028749C F2 61 00 78 */ psq_st f19, 120(r1), 0, qr0 -/* 8028A560 002874A0 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 8028A564 002874A4 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8028A568 002874A8 7C 7F 1B 78 */ mr r31, r3 -/* 8028A56C 002874AC 28 04 00 00 */ cmplwi r4, 0 -/* 8028A570 002874B0 41 82 01 D4 */ beq lbl_8028A744 -/* 8028A574 002874B4 88 04 00 48 */ lbz r0, 0x48(r4) -/* 8028A578 002874B8 28 00 00 00 */ cmplwi r0, 0 -/* 8028A57C 002874BC 41 82 01 C8 */ beq lbl_8028A744 -/* 8028A580 002874C0 80 04 00 44 */ lwz r0, 0x44(r4) -/* 8028A584 002874C4 2C 00 00 00 */ cmpwi r0, 0 -/* 8028A588 002874C8 40 82 01 BC */ bne lbl_8028A744 -/* 8028A58C 002874CC 80 64 00 58 */ lwz r3, 0x58(r4) -/* 8028A590 002874D0 28 03 00 00 */ cmplwi r3, 0 -/* 8028A594 002874D4 41 82 01 B0 */ beq lbl_8028A744 -/* 8028A598 002874D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A59C 002874DC 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 8028A5A0 002874E0 7D 89 03 A6 */ mtctr r12 -/* 8028A5A4 002874E4 4E 80 04 21 */ bctrl -/* 8028A5A8 002874E8 3C 03 93 A1 */ addis r0, r3, 0x93a1 -/* 8028A5AC 002874EC 28 00 30 32 */ cmplwi r0, 0x3032 -/* 8028A5B0 002874F0 40 82 01 94 */ bne lbl_8028A744 -/* 8028A5B4 002874F4 C0 7F 01 FC */ lfs f3, 0x1fc(r31) -/* 8028A5B8 002874F8 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 8028A5BC 002874FC FC 20 18 90 */ fmr f1, f3 -/* 8028A5C0 00287500 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8028A5C4 00287504 40 80 00 08 */ bge lbl_8028A5CC -/* 8028A5C8 00287508 FC 20 18 50 */ fneg f1, f3 -lbl_8028A5CC: -/* 8028A5CC 0028750C C0 42 D4 E0 */ lfs f2, lbl_8051B840@sda21(r2) -/* 8028A5D0 00287510 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028A5D4 00287514 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 8028A5D8 00287518 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8028A5DC 0028751C EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8028A5E0 00287520 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8028A5E4 00287524 FC 00 08 1E */ fctiwz f0, f1 -/* 8028A5E8 00287528 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 8028A5EC 0028752C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028A5F0 00287530 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A5F4 00287534 7C 64 02 14 */ add r3, r4, r0 -/* 8028A5F8 00287538 C3 03 00 04 */ lfs f24, 4(r3) -/* 8028A5FC 0028753C 40 80 00 28 */ bge lbl_8028A624 -/* 8028A600 00287540 C0 02 D4 E4 */ lfs f0, lbl_8051B844@sda21(r2) -/* 8028A604 00287544 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8028A608 00287548 FC 00 00 1E */ fctiwz f0, f0 -/* 8028A60C 0028754C D8 01 00 48 */ stfd f0, 0x48(r1) -/* 8028A610 00287550 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8028A614 00287554 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A618 00287558 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8028A61C 0028755C FE E0 00 50 */ fneg f23, f0 -/* 8028A620 00287560 48 00 00 1C */ b lbl_8028A63C -lbl_8028A624: -/* 8028A624 00287564 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 8028A628 00287568 FC 00 00 1E */ fctiwz f0, f0 -/* 8028A62C 0028756C D8 01 00 50 */ stfd f0, 0x50(r1) -/* 8028A630 00287570 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8028A634 00287574 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A638 00287578 7E E4 04 2E */ lfsx f23, r4, r0 -lbl_8028A63C: -/* 8028A63C 0028757C C0 42 D5 08 */ lfs f2, lbl_8051B868@sda21(r2) -/* 8028A640 00287580 FF 60 B8 50 */ fneg f27, f23 -/* 8028A644 00287584 C0 3F 01 A0 */ lfs f1, 0x1a0(r31) -/* 8028A648 00287588 38 80 00 13 */ li r4, 0x13 -/* 8028A64C 0028758C C0 1F 01 98 */ lfs f0, 0x198(r31) -/* 8028A650 00287590 EF 22 0E 3A */ fmadds f25, f2, f24, f1 -/* 8028A654 00287594 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 8028A658 00287598 EF 42 05 FA */ fmadds f26, f2, f23, f0 -/* 8028A65C 0028759C 4B E8 36 49 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi -/* 8028A660 002875A0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8028A664 002875A4 41 82 00 E0 */ beq lbl_8028A744 -/* 8028A668 002875A8 CB 82 D5 00 */ lfd f28, lbl_8051B860@sda21(r2) -/* 8028A66C 002875AC 3B 60 00 00 */ li r27, 0 -/* 8028A670 002875B0 C3 A2 D5 0C */ lfs f29, lbl_8051B86C@sda21(r2) -/* 8028A674 002875B4 3F A0 43 30 */ lis r29, 0x4330 -/* 8028A678 002875B8 C3 C2 D4 F4 */ lfs f30, lbl_8051B854@sda21(r2) -/* 8028A67C 002875BC C3 E2 D4 C8 */ lfs f31, lbl_8051B828@sda21(r2) -/* 8028A680 002875C0 C2 A2 D4 B8 */ lfs f21, lbl_8051B818@sda21(r2) -/* 8028A684 002875C4 C2 C2 D4 BC */ lfs f22, lbl_8051B81C@sda21(r2) -lbl_8028A688: -/* 8028A688 002875C8 4B E3 EF 19 */ bl rand -/* 8028A68C 002875CC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8028A690 002875D0 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 8028A694 002875D4 90 61 00 54 */ stw r3, 0x54(r1) -/* 8028A698 002875D8 38 61 00 08 */ addi r3, r1, 8 -/* 8028A69C 002875DC 93 A1 00 50 */ stw r29, 0x50(r1) -/* 8028A6A0 002875E0 C8 01 00 50 */ lfd f0, 0x50(r1) -/* 8028A6A4 002875E4 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8028A6A8 002875E8 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 8028A6AC 002875EC 93 A1 00 48 */ stw r29, 0x48(r1) -/* 8028A6B0 002875F0 EC 3D 00 32 */ fmuls f1, f29, f0 -/* 8028A6B4 002875F4 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 8028A6B8 002875F8 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 8028A6BC 002875FC EE 81 F0 24 */ fdivs f20, f1, f30 -/* 8028A6C0 00287600 EE 7F E8 38 */ fmsubs f19, f31, f0, f29 -/* 8028A6C4 00287604 4B EA 45 61 */ bl __ct__Q24Game13EnemyBirthArgFv -/* 8028A6C8 00287608 EC 37 D5 3A */ fmadds f1, f23, f20, f26 -/* 8028A6CC 0028760C 38 00 00 13 */ li r0, 0x13 -/* 8028A6D0 00287610 EC 18 CD 3A */ fmadds f0, f24, f20, f25 -/* 8028A6D4 00287614 90 01 00 30 */ stw r0, 0x30(r1) -/* 8028A6D8 00287618 7F 83 E3 78 */ mr r3, r28 -/* 8028A6DC 0028761C 38 81 00 08 */ addi r4, r1, 8 -/* 8028A6E0 00287620 EC 38 0C FA */ fmadds f1, f24, f19, f1 -/* 8028A6E4 00287624 D2 A1 00 0C */ stfs f21, 0xc(r1) -/* 8028A6E8 00287628 EC 1B 04 FA */ fmadds f0, f27, f19, f0 -/* 8028A6EC 0028762C D0 21 00 08 */ stfs f1, 8(r1) -/* 8028A6F0 00287630 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8028A6F4 00287634 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8028A6F8 00287638 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8028A6FC 0028763C D2 C1 00 34 */ stfs f22, 0x34(r1) -/* 8028A700 00287640 81 9C 00 00 */ lwz r12, 0(r28) -/* 8028A704 00287644 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8028A708 00287648 7D 89 03 A6 */ mtctr r12 -/* 8028A70C 0028764C 4E 80 04 21 */ bctrl -/* 8028A710 00287650 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028A714 00287654 41 82 00 24 */ beq lbl_8028A738 -/* 8028A718 00287658 38 80 00 00 */ li r4, 0 -/* 8028A71C 0028765C 4B EB 08 AD */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -/* 8028A720 00287660 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 8028A724 00287664 C0 02 D5 10 */ lfs f0, lbl_8051B870@sda21(r2) -/* 8028A728 00287668 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8028A72C 0028766C 90 1E 01 E0 */ stw r0, 0x1e0(r30) -/* 8028A730 00287670 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8028A734 00287674 D0 03 03 D4 */ stfs f0, 0x3d4(r3) -lbl_8028A738: -/* 8028A738 00287678 3B 7B 00 01 */ addi r27, r27, 1 -/* 8028A73C 0028767C 2C 1B 00 07 */ cmpwi r27, 7 -/* 8028A740 00287680 41 80 FF 48 */ blt lbl_8028A688 -lbl_8028A744: -/* 8028A744 00287684 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8028A748 00287688 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8028A74C 0028768C E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 8028A750 00287690 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 8028A754 00287694 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 8028A758 00287698 CB A1 01 10 */ lfd f29, 0x110(r1) -/* 8028A75C 0028769C E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 8028A760 002876A0 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 8028A764 002876A4 E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 -/* 8028A768 002876A8 CB 61 00 F0 */ lfd f27, 0xf0(r1) -/* 8028A76C 002876AC E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 -/* 8028A770 002876B0 CB 41 00 E0 */ lfd f26, 0xe0(r1) -/* 8028A774 002876B4 E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0 -/* 8028A778 002876B8 CB 21 00 D0 */ lfd f25, 0xd0(r1) -/* 8028A77C 002876BC E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0 -/* 8028A780 002876C0 CB 01 00 C0 */ lfd f24, 0xc0(r1) -/* 8028A784 002876C4 E2 E1 00 B8 */ psq_l f23, 184(r1), 0, qr0 -/* 8028A788 002876C8 CA E1 00 B0 */ lfd f23, 0xb0(r1) -/* 8028A78C 002876CC E2 C1 00 A8 */ psq_l f22, 168(r1), 0, qr0 -/* 8028A790 002876D0 CA C1 00 A0 */ lfd f22, 0xa0(r1) -/* 8028A794 002876D4 E2 A1 00 98 */ psq_l f21, 152(r1), 0, qr0 -/* 8028A798 002876D8 CA A1 00 90 */ lfd f21, 0x90(r1) -/* 8028A79C 002876DC E2 81 00 88 */ psq_l f20, 136(r1), 0, qr0 -/* 8028A7A0 002876E0 CA 81 00 80 */ lfd f20, 0x80(r1) -/* 8028A7A4 002876E4 E2 61 00 78 */ psq_l f19, 120(r1), 0, qr0 -/* 8028A7A8 002876E8 CA 61 00 70 */ lfd f19, 0x70(r1) -/* 8028A7AC 002876EC BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 8028A7B0 002876F0 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8028A7B4 002876F4 7C 08 03 A6 */ mtlr r0 -/* 8028A7B8 002876F8 38 21 01 40 */ addi r1, r1, 0x140 -/* 8028A7BC 002876FC 4E 80 00 20 */ blr - -.global createBabyChappy__Q34Game5Queen3ObjFv -createBabyChappy__Q34Game5Queen3ObjFv: -/* 8028A7C0 00287700 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8028A7C4 00287704 7C 08 02 A6 */ mflr r0 -/* 8028A7C8 00287708 38 80 00 1F */ li r4, 0x1f -/* 8028A7CC 0028770C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8028A7D0 00287710 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8028A7D4 00287714 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8028A7D8 00287718 7C 7E 1B 78 */ mr r30, r3 -/* 8028A7DC 0028771C 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 8028A7E0 00287720 4B E8 34 C5 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi -/* 8028A7E4 00287724 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028A7E8 00287728 41 82 01 5C */ beq lbl_8028A944 -/* 8028A7EC 0028772C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028A7F0 00287730 4B EA 44 35 */ bl __ct__Q24Game13EnemyBirthArgFv -/* 8028A7F4 00287734 3C 80 80 48 */ lis r4, lbl_80487FF8@ha -/* 8028A7F8 00287738 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 8028A7FC 0028773C 38 84 7F F8 */ addi r4, r4, lbl_80487FF8@l -/* 8028A800 00287740 48 1B 47 E5 */ bl getJoint__Q28SysShape5ModelFPc -/* 8028A804 00287744 48 19 F0 9D */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8028A808 00287748 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 8028A80C 0028774C C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8028A810 00287750 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8028A814 00287754 7F C3 F3 78 */ mr r3, r30 -/* 8028A818 00287758 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8028A81C 0028775C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8028A820 00287760 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028A824 00287764 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028A828 00287768 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028A82C 0028776C 7D 89 03 A6 */ mtctr r12 -/* 8028A830 00287770 4E 80 04 21 */ bctrl -/* 8028A834 00287774 C0 02 D4 EC */ lfs f0, lbl_8051B84C@sda21(r2) -/* 8028A838 00287778 7F E3 FB 78 */ mr r3, r31 -/* 8028A83C 0028777C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8028A840 00287780 EC 00 08 2A */ fadds f0, f0, f1 -/* 8028A844 00287784 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8028A848 00287788 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028A84C 0028778C 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8028A850 00287790 7D 89 03 A6 */ mtctr r12 -/* 8028A854 00287794 4E 80 04 21 */ bctrl -/* 8028A858 00287798 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028A85C 0028779C 41 82 00 E8 */ beq lbl_8028A944 -/* 8028A860 002877A0 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 8028A864 002877A4 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 8028A868 002877A8 FC 20 28 90 */ fmr f1, f5 -/* 8028A86C 002877AC 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8028A870 002877B0 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 8028A874 002877B4 40 80 00 08 */ bge lbl_8028A87C -/* 8028A878 002877B8 FC 20 28 50 */ fneg f1, f5 -lbl_8028A87C: -/* 8028A87C 002877BC C0 42 D4 E0 */ lfs f2, lbl_8051B840@sda21(r2) -/* 8028A880 002877C0 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028A884 002877C4 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 8028A888 002877C8 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 8028A88C 002877CC EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8028A890 002877D0 C0 65 04 4C */ lfs f3, 0x44c(r5) -/* 8028A894 002877D4 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 8028A898 002877D8 FC 00 08 1E */ fctiwz f0, f1 -/* 8028A89C 002877DC D8 01 00 48 */ stfd f0, 0x48(r1) -/* 8028A8A0 002877E0 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8028A8A4 002877E4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A8A8 002877E8 7C 64 02 14 */ add r3, r4, r0 -/* 8028A8AC 002877EC C0 03 00 04 */ lfs f0, 4(r3) -/* 8028A8B0 002877F0 EC 83 00 32 */ fmuls f4, f3, f0 -/* 8028A8B4 002877F4 40 80 00 28 */ bge lbl_8028A8DC -/* 8028A8B8 002877F8 C0 02 D4 E4 */ lfs f0, lbl_8051B844@sda21(r2) -/* 8028A8BC 002877FC EC 05 00 32 */ fmuls f0, f5, f0 -/* 8028A8C0 00287800 FC 00 00 1E */ fctiwz f0, f0 -/* 8028A8C4 00287804 D8 01 00 50 */ stfd f0, 0x50(r1) -/* 8028A8C8 00287808 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8028A8CC 0028780C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A8D0 00287810 7C 04 04 2E */ lfsx f0, r4, r0 -/* 8028A8D4 00287814 FC 00 00 50 */ fneg f0, f0 -/* 8028A8D8 00287818 48 00 00 1C */ b lbl_8028A8F4 -lbl_8028A8DC: -/* 8028A8DC 0028781C EC 05 00 B2 */ fmuls f0, f5, f2 -/* 8028A8E0 00287820 FC 00 00 1E */ fctiwz f0, f0 -/* 8028A8E4 00287824 D8 01 00 58 */ stfd f0, 0x58(r1) -/* 8028A8E8 00287828 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8028A8EC 0028782C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028A8F0 00287830 7C 04 04 2E */ lfsx f0, r4, r0 -lbl_8028A8F4: -/* 8028A8F4 00287834 EC 23 00 32 */ fmuls f1, f3, f0 -/* 8028A8F8 00287838 C0 02 D4 B8 */ lfs f0, lbl_8051B818@sda21(r2) -/* 8028A8FC 0028783C D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8028A900 00287840 7F E3 FB 78 */ mr r3, r31 -/* 8028A904 00287844 38 80 00 00 */ li r4, 0 -/* 8028A908 00287848 D0 21 00 08 */ stfs f1, 8(r1) -/* 8028A90C 0028784C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8028A910 00287850 4B EB 06 B9 */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -/* 8028A914 00287854 7F E3 FB 78 */ mr r3, r31 -/* 8028A918 00287858 38 81 00 08 */ addi r4, r1, 8 -/* 8028A91C 0028785C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028A920 00287860 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8028A924 00287864 7D 89 03 A6 */ mtctr r12 -/* 8028A928 00287868 4E 80 04 21 */ bctrl -/* 8028A92C 0028786C C0 01 00 08 */ lfs f0, 8(r1) -/* 8028A930 00287870 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8028A934 00287874 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8028A938 00287878 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8028A93C 0028787C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8028A940 00287880 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8028A944: -/* 8028A944 00287884 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8028A948 00287888 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8028A94C 0028788C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8028A950 00287890 7C 08 03 A6 */ mtlr r0 -/* 8028A954 00287894 38 21 00 70 */ addi r1, r1, 0x70 -/* 8028A958 00287898 4E 80 00 20 */ blr - -.global isDone__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1Fv -isDone__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1Fv: -/* 8028A95C 0028789C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028A960 002878A0 7C 08 02 A6 */ mflr r0 -/* 8028A964 002878A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028A968 002878A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028A96C 002878AC 7C 7F 1B 78 */ mr r31, r3 -/* 8028A970 002878B0 80 63 00 08 */ lwz r3, 8(r3) -/* 8028A974 002878B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028A978 002878B8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028A97C 002878BC 7D 89 03 A6 */ mtctr r12 -/* 8028A980 002878C0 4E 80 04 21 */ bctrl -/* 8028A984 002878C4 80 1F 00 04 */ lwz r0, 4(r31) -/* 8028A988 002878C8 7C 00 18 50 */ subf r0, r0, r3 -/* 8028A98C 002878CC 7C 00 00 34 */ cntlzw r0, r0 -/* 8028A990 002878D0 54 03 D9 7E */ srwi r3, r0, 5 -/* 8028A994 002878D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028A998 002878D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028A99C 002878DC 7C 08 03 A6 */ mtlr r0 -/* 8028A9A0 002878E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028A9A4 002878E4 4E 80 00 20 */ blr - -.global updateCreateBaby__Q34Game5Queen3ObjFv -updateCreateBaby__Q34Game5Queen3ObjFv: -/* 8028A9A8 002878E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028A9AC 002878EC 7C 08 02 A6 */ mflr r0 -/* 8028A9B0 002878F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028A9B4 002878F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028A9B8 002878F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028A9BC 002878FC 7C 7E 1B 78 */ mr r30, r3 -/* 8028A9C0 00287900 88 03 02 C0 */ lbz r0, 0x2c0(r3) -/* 8028A9C4 00287904 28 00 00 00 */ cmplwi r0, 0 -/* 8028A9C8 00287908 41 82 02 3C */ beq lbl_8028AC04 -/* 8028A9CC 0028790C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 8028A9D0 00287910 3B E0 00 00 */ li r31, 0 -/* 8028A9D4 00287914 C0 3E 02 CC */ lfs f1, 0x2cc(r30) -/* 8028A9D8 00287918 38 80 00 1F */ li r4, 0x1f -/* 8028A9DC 0028791C C0 03 00 54 */ lfs f0, 0x54(r3) -/* 8028A9E0 00287920 EC 01 00 2A */ fadds f0, f1, f0 -/* 8028A9E4 00287924 D0 1E 02 CC */ stfs f0, 0x2cc(r30) -/* 8028A9E8 00287928 80 6D 91 E0 */ lwz r3, generalEnemyMgr__4Game@sda21(r13) -/* 8028A9EC 0028792C 4B E8 32 B9 */ bl getEnemyMgr__Q24Game15GeneralEnemyMgrFi -/* 8028A9F0 00287930 28 03 00 00 */ cmplwi r3, 0 -/* 8028A9F4 00287934 41 82 01 E0 */ beq lbl_8028ABD4 -/* 8028A9F8 00287938 41 82 00 08 */ beq lbl_8028AA00 -/* 8028A9FC 0028793C 38 63 00 04 */ addi r3, r3, 4 -lbl_8028AA00: -/* 8028AA00 00287940 38 00 00 00 */ li r0, 0 -/* 8028AA04 00287944 3C 80 80 4D */ lis r4, __vt__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1@ha -/* 8028AA08 00287948 38 84 A0 04 */ addi r4, r4, __vt__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1@l -/* 8028AA0C 0028794C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028AA10 00287950 28 00 00 00 */ cmplwi r0, 0 -/* 8028AA14 00287954 90 81 00 08 */ stw r4, 8(r1) -/* 8028AA18 00287958 90 01 00 0C */ stw r0, 0xc(r1) -/* 8028AA1C 0028795C 90 61 00 10 */ stw r3, 0x10(r1) -/* 8028AA20 00287960 40 82 00 1C */ bne lbl_8028AA3C -/* 8028AA24 00287964 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AA28 00287968 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028AA2C 0028796C 7D 89 03 A6 */ mtctr r12 -/* 8028AA30 00287970 4E 80 04 21 */ bctrl -/* 8028AA34 00287974 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028AA38 00287978 48 00 01 7C */ b lbl_8028ABB4 -lbl_8028AA3C: -/* 8028AA3C 0028797C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AA40 00287980 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028AA44 00287984 7D 89 03 A6 */ mtctr r12 -/* 8028AA48 00287988 4E 80 04 21 */ bctrl -/* 8028AA4C 0028798C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028AA50 00287990 48 00 00 58 */ b lbl_8028AAA8 -lbl_8028AA54: -/* 8028AA54 00287994 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028AA58 00287998 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028AA5C 0028799C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AA60 002879A0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028AA64 002879A4 7D 89 03 A6 */ mtctr r12 -/* 8028AA68 002879A8 4E 80 04 21 */ bctrl -/* 8028AA6C 002879AC 7C 64 1B 78 */ mr r4, r3 -/* 8028AA70 002879B0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8028AA74 002879B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AA78 002879B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028AA7C 002879BC 7D 89 03 A6 */ mtctr r12 -/* 8028AA80 002879C0 4E 80 04 21 */ bctrl -/* 8028AA84 002879C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028AA88 002879C8 40 82 01 2C */ bne lbl_8028ABB4 -/* 8028AA8C 002879CC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028AA90 002879D0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028AA94 002879D4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AA98 002879D8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028AA9C 002879DC 7D 89 03 A6 */ mtctr r12 -/* 8028AAA0 002879E0 4E 80 04 21 */ bctrl -/* 8028AAA4 002879E4 90 61 00 0C */ stw r3, 0xc(r1) -lbl_8028AAA8: -/* 8028AAA8 002879E8 81 81 00 08 */ lwz r12, 8(r1) -/* 8028AAAC 002879EC 38 61 00 08 */ addi r3, r1, 8 -/* 8028AAB0 002879F0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028AAB4 002879F4 7D 89 03 A6 */ mtctr r12 -/* 8028AAB8 002879F8 4E 80 04 21 */ bctrl -/* 8028AABC 002879FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028AAC0 00287A00 41 82 FF 94 */ beq lbl_8028AA54 -/* 8028AAC4 00287A04 48 00 00 F0 */ b lbl_8028ABB4 -lbl_8028AAC8: -/* 8028AAC8 00287A08 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028AACC 00287A0C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AAD0 00287A10 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028AAD4 00287A14 7D 89 03 A6 */ mtctr r12 -/* 8028AAD8 00287A18 4E 80 04 21 */ bctrl -/* 8028AADC 00287A1C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AAE0 00287A20 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8028AAE4 00287A24 7D 89 03 A6 */ mtctr r12 -/* 8028AAE8 00287A28 4E 80 04 21 */ bctrl -/* 8028AAEC 00287A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028AAF0 00287A30 41 82 00 08 */ beq lbl_8028AAF8 -/* 8028AAF4 00287A34 3B FF 00 01 */ addi r31, r31, 1 -lbl_8028AAF8: -/* 8028AAF8 00287A38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028AAFC 00287A3C 28 00 00 00 */ cmplwi r0, 0 -/* 8028AB00 00287A40 40 82 00 24 */ bne lbl_8028AB24 -/* 8028AB04 00287A44 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028AB08 00287A48 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028AB0C 00287A4C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AB10 00287A50 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028AB14 00287A54 7D 89 03 A6 */ mtctr r12 -/* 8028AB18 00287A58 4E 80 04 21 */ bctrl -/* 8028AB1C 00287A5C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028AB20 00287A60 48 00 00 94 */ b lbl_8028ABB4 -lbl_8028AB24: -/* 8028AB24 00287A64 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028AB28 00287A68 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028AB2C 00287A6C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AB30 00287A70 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028AB34 00287A74 7D 89 03 A6 */ mtctr r12 -/* 8028AB38 00287A78 4E 80 04 21 */ bctrl -/* 8028AB3C 00287A7C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028AB40 00287A80 48 00 00 58 */ b lbl_8028AB98 -lbl_8028AB44: -/* 8028AB44 00287A84 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028AB48 00287A88 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028AB4C 00287A8C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AB50 00287A90 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028AB54 00287A94 7D 89 03 A6 */ mtctr r12 -/* 8028AB58 00287A98 4E 80 04 21 */ bctrl -/* 8028AB5C 00287A9C 7C 64 1B 78 */ mr r4, r3 -/* 8028AB60 00287AA0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8028AB64 00287AA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AB68 00287AA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028AB6C 00287AAC 7D 89 03 A6 */ mtctr r12 -/* 8028AB70 00287AB0 4E 80 04 21 */ bctrl -/* 8028AB74 00287AB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028AB78 00287AB8 40 82 00 3C */ bne lbl_8028ABB4 -/* 8028AB7C 00287ABC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028AB80 00287AC0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028AB84 00287AC4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028AB88 00287AC8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028AB8C 00287ACC 7D 89 03 A6 */ mtctr r12 -/* 8028AB90 00287AD0 4E 80 04 21 */ bctrl -/* 8028AB94 00287AD4 90 61 00 0C */ stw r3, 0xc(r1) -lbl_8028AB98: -/* 8028AB98 00287AD8 81 81 00 08 */ lwz r12, 8(r1) -/* 8028AB9C 00287ADC 38 61 00 08 */ addi r3, r1, 8 -/* 8028ABA0 00287AE0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028ABA4 00287AE4 7D 89 03 A6 */ mtctr r12 -/* 8028ABA8 00287AE8 4E 80 04 21 */ bctrl -/* 8028ABAC 00287AEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028ABB0 00287AF0 41 82 FF 94 */ beq lbl_8028AB44 -lbl_8028ABB4: -/* 8028ABB4 00287AF4 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8028ABB8 00287AF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028ABBC 00287AFC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028ABC0 00287B00 7D 89 03 A6 */ mtctr r12 -/* 8028ABC4 00287B04 4E 80 04 21 */ bctrl -/* 8028ABC8 00287B08 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8028ABCC 00287B0C 7C 04 18 40 */ cmplw r4, r3 -/* 8028ABD0 00287B10 40 82 FE F8 */ bne lbl_8028AAC8 -lbl_8028ABD4: -/* 8028ABD4 00287B14 80 7E 00 C0 */ lwz r3, 0xc0(r30) -/* 8028ABD8 00287B18 80 03 08 94 */ lwz r0, 0x894(r3) -/* 8028ABDC 00287B1C 7C 1F 00 00 */ cmpw r31, r0 -/* 8028ABE0 00287B20 41 80 00 10 */ blt lbl_8028ABF0 -/* 8028ABE4 00287B24 38 00 00 00 */ li r0, 0 -/* 8028ABE8 00287B28 98 1E 02 C1 */ stb r0, 0x2c1(r30) -/* 8028ABEC 00287B2C 48 00 00 18 */ b lbl_8028AC04 -lbl_8028ABF0: -/* 8028ABF0 00287B30 80 03 08 BC */ lwz r0, 0x8bc(r3) -/* 8028ABF4 00287B34 7C 1F 00 00 */ cmpw r31, r0 -/* 8028ABF8 00287B38 41 81 00 0C */ bgt lbl_8028AC04 -/* 8028ABFC 00287B3C 38 00 00 01 */ li r0, 1 -/* 8028AC00 00287B40 98 1E 02 C1 */ stb r0, 0x2c1(r30) -lbl_8028AC04: -/* 8028AC04 00287B44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028AC08 00287B48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028AC0C 00287B4C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028AC10 00287B50 7C 08 03 A6 */ mtlr r0 -/* 8028AC14 00287B54 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028AC18 00287B58 4E 80 00 20 */ blr - -.global isCreateBaby__Q34Game5Queen3ObjFv -isCreateBaby__Q34Game5Queen3ObjFv: -/* 8028AC1C 00287B5C 88 03 02 C0 */ lbz r0, 0x2c0(r3) -/* 8028AC20 00287B60 28 00 00 00 */ cmplwi r0, 0 -/* 8028AC24 00287B64 41 82 00 2C */ beq lbl_8028AC50 -/* 8028AC28 00287B68 88 03 02 C1 */ lbz r0, 0x2c1(r3) -/* 8028AC2C 00287B6C 28 00 00 00 */ cmplwi r0, 0 -/* 8028AC30 00287B70 41 82 00 20 */ beq lbl_8028AC50 -/* 8028AC34 00287B74 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 8028AC38 00287B78 C0 23 02 CC */ lfs f1, 0x2cc(r3) -/* 8028AC3C 00287B7C C0 04 08 44 */ lfs f0, 0x844(r4) -/* 8028AC40 00287B80 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028AC44 00287B84 40 81 00 0C */ ble lbl_8028AC50 -/* 8028AC48 00287B88 38 60 00 01 */ li r3, 1 -/* 8028AC4C 00287B8C 4E 80 00 20 */ blr -lbl_8028AC50: -/* 8028AC50 00287B90 38 60 00 00 */ li r3, 0 -/* 8028AC54 00287B94 4E 80 00 20 */ blr - -.global isHitCounterUp__Q34Game5Queen3ObjFv -isHitCounterUp__Q34Game5Queen3ObjFv: -/* 8028AC58 00287B98 C0 23 02 0C */ lfs f1, 0x20c(r3) -/* 8028AC5C 00287B9C C0 03 02 D0 */ lfs f0, 0x2d0(r3) -/* 8028AC60 00287BA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028AC64 00287BA4 7C 00 00 26 */ mfcr r0 -/* 8028AC68 00287BA8 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 8028AC6C 00287BAC 4E 80 00 20 */ blr - -.global resetJointShadow__Q34Game5Queen3ObjFv -resetJointShadow__Q34Game5Queen3ObjFv: -/* 8028AC70 00287BB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028AC74 00287BB4 7C 08 02 A6 */ mflr r0 -/* 8028AC78 00287BB8 7C 64 1B 78 */ mr r4, r3 -/* 8028AC7C 00287BBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028AC80 00287BC0 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 8028AC84 00287BC4 4B FB 72 15 */ bl delNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8028AC88 00287BC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028AC8C 00287BCC 7C 08 03 A6 */ mtlr r0 -/* 8028AC90 00287BD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028AC94 00287BD4 4E 80 00 20 */ blr - -.global releaseJointShadow__Q34Game5Queen3ObjFv -releaseJointShadow__Q34Game5Queen3ObjFv: -/* 8028AC98 00287BD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028AC9C 00287BDC 7C 08 02 A6 */ mflr r0 -/* 8028ACA0 00287BE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028ACA4 00287BE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028ACA8 00287BE8 7C 7F 1B 78 */ mr r31, r3 -/* 8028ACAC 00287BEC 7F E4 FB 78 */ mr r4, r31 -/* 8028ACB0 00287BF0 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 8028ACB4 00287BF4 4B FB 70 81 */ bl addNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8028ACB8 00287BF8 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 8028ACBC 00287BFC 7F E4 FB 78 */ mr r4, r31 -/* 8028ACC0 00287C00 4B FB 72 45 */ bl delJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8028ACC4 00287C04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028ACC8 00287C08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028ACCC 00287C0C 7C 08 03 A6 */ mtlr r0 -/* 8028ACD0 00287C10 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028ACD4 00287C14 4E 80 00 20 */ blr - -.global startBossChargeBGM__Q34Game5Queen3ObjFv -startBossChargeBGM__Q34Game5Queen3ObjFv: -/* 8028ACD8 00287C18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028ACDC 00287C1C 7C 08 02 A6 */ mflr r0 -/* 8028ACE0 00287C20 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028ACE4 00287C24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028ACE8 00287C28 3B E0 00 00 */ li r31, 0 -/* 8028ACEC 00287C2C 93 C1 00 08 */ stw r30, 8(r1) -/* 8028ACF0 00287C30 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 8028ACF4 00287C34 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028ACF8 00287C38 7F C3 F3 78 */ mr r3, r30 -/* 8028ACFC 00287C3C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AD00 00287C40 7D 89 03 A6 */ mtctr r12 -/* 8028AD04 00287C44 4E 80 04 21 */ bctrl -/* 8028AD08 00287C48 2C 03 00 05 */ cmpwi r3, 5 -/* 8028AD0C 00287C4C 41 82 00 3C */ beq lbl_8028AD48 -/* 8028AD10 00287C50 7F C3 F3 78 */ mr r3, r30 -/* 8028AD14 00287C54 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AD18 00287C58 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AD1C 00287C5C 7D 89 03 A6 */ mtctr r12 -/* 8028AD20 00287C60 4E 80 04 21 */ bctrl -/* 8028AD24 00287C64 2C 03 00 06 */ cmpwi r3, 6 -/* 8028AD28 00287C68 41 82 00 20 */ beq lbl_8028AD48 -/* 8028AD2C 00287C6C 7F C3 F3 78 */ mr r3, r30 -/* 8028AD30 00287C70 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AD34 00287C74 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AD38 00287C78 7D 89 03 A6 */ mtctr r12 -/* 8028AD3C 00287C7C 4E 80 04 21 */ bctrl -/* 8028AD40 00287C80 2C 03 00 07 */ cmpwi r3, 7 -/* 8028AD44 00287C84 40 82 00 08 */ bne lbl_8028AD4C -lbl_8028AD48: -/* 8028AD48 00287C88 3B E0 00 01 */ li r31, 1 -lbl_8028AD4C: -/* 8028AD4C 00287C8C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028AD50 00287C90 40 82 00 20 */ bne lbl_8028AD70 -/* 8028AD54 00287C94 3C 60 80 49 */ lis r3, lbl_80488004@ha -/* 8028AD58 00287C98 3C A0 80 49 */ lis r5, lbl_8048801C@ha -/* 8028AD5C 00287C9C 38 63 80 04 */ addi r3, r3, lbl_80488004@l -/* 8028AD60 00287CA0 38 80 04 54 */ li r4, 0x454 -/* 8028AD64 00287CA4 38 A5 80 1C */ addi r5, r5, lbl_8048801C@l -/* 8028AD68 00287CA8 4C C6 31 82 */ crclr 6 -/* 8028AD6C 00287CAC 4B D9 F8 D5 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028AD70: -/* 8028AD70 00287CB0 7F C3 F3 78 */ mr r3, r30 -/* 8028AD74 00287CB4 38 80 00 02 */ li r4, 2 -/* 8028AD78 00287CB8 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AD7C 00287CBC 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 8028AD80 00287CC0 7D 89 03 A6 */ mtctr r12 -/* 8028AD84 00287CC4 4E 80 04 21 */ bctrl -/* 8028AD88 00287CC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028AD8C 00287CCC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028AD90 00287CD0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028AD94 00287CD4 7C 08 03 A6 */ mtlr r0 -/* 8028AD98 00287CD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028AD9C 00287CDC 4E 80 00 20 */ blr - -.global startBossAttackLoopBGM__Q34Game5Queen3ObjFv -startBossAttackLoopBGM__Q34Game5Queen3ObjFv: -/* 8028ADA0 00287CE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028ADA4 00287CE4 7C 08 02 A6 */ mflr r0 -/* 8028ADA8 00287CE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028ADAC 00287CEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028ADB0 00287CF0 93 C1 00 08 */ stw r30, 8(r1) -/* 8028ADB4 00287CF4 88 03 02 C5 */ lbz r0, 0x2c5(r3) -/* 8028ADB8 00287CF8 28 00 00 00 */ cmplwi r0, 0 -/* 8028ADBC 00287CFC 40 82 00 A8 */ bne lbl_8028AE64 -/* 8028ADC0 00287D00 38 00 00 01 */ li r0, 1 -/* 8028ADC4 00287D04 3B E0 00 00 */ li r31, 0 -/* 8028ADC8 00287D08 98 03 02 C5 */ stb r0, 0x2c5(r3) -/* 8028ADCC 00287D0C 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 8028ADD0 00287D10 7F C3 F3 78 */ mr r3, r30 -/* 8028ADD4 00287D14 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028ADD8 00287D18 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028ADDC 00287D1C 7D 89 03 A6 */ mtctr r12 -/* 8028ADE0 00287D20 4E 80 04 21 */ bctrl -/* 8028ADE4 00287D24 2C 03 00 05 */ cmpwi r3, 5 -/* 8028ADE8 00287D28 41 82 00 3C */ beq lbl_8028AE24 -/* 8028ADEC 00287D2C 7F C3 F3 78 */ mr r3, r30 -/* 8028ADF0 00287D30 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028ADF4 00287D34 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028ADF8 00287D38 7D 89 03 A6 */ mtctr r12 -/* 8028ADFC 00287D3C 4E 80 04 21 */ bctrl -/* 8028AE00 00287D40 2C 03 00 06 */ cmpwi r3, 6 -/* 8028AE04 00287D44 41 82 00 20 */ beq lbl_8028AE24 -/* 8028AE08 00287D48 7F C3 F3 78 */ mr r3, r30 -/* 8028AE0C 00287D4C 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AE10 00287D50 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AE14 00287D54 7D 89 03 A6 */ mtctr r12 -/* 8028AE18 00287D58 4E 80 04 21 */ bctrl -/* 8028AE1C 00287D5C 2C 03 00 07 */ cmpwi r3, 7 -/* 8028AE20 00287D60 40 82 00 08 */ bne lbl_8028AE28 -lbl_8028AE24: -/* 8028AE24 00287D64 3B E0 00 01 */ li r31, 1 -lbl_8028AE28: -/* 8028AE28 00287D68 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028AE2C 00287D6C 40 82 00 20 */ bne lbl_8028AE4C -/* 8028AE30 00287D70 3C 60 80 49 */ lis r3, lbl_80488004@ha -/* 8028AE34 00287D74 3C A0 80 49 */ lis r5, lbl_8048801C@ha -/* 8028AE38 00287D78 38 63 80 04 */ addi r3, r3, lbl_80488004@l -/* 8028AE3C 00287D7C 38 80 04 54 */ li r4, 0x454 -/* 8028AE40 00287D80 38 A5 80 1C */ addi r5, r5, lbl_8048801C@l -/* 8028AE44 00287D84 4C C6 31 82 */ crclr 6 -/* 8028AE48 00287D88 4B D9 F7 F9 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028AE4C: -/* 8028AE4C 00287D8C 7F C3 F3 78 */ mr r3, r30 -/* 8028AE50 00287D90 38 80 00 08 */ li r4, 8 -/* 8028AE54 00287D94 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AE58 00287D98 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 8028AE5C 00287D9C 7D 89 03 A6 */ mtctr r12 -/* 8028AE60 00287DA0 4E 80 04 21 */ bctrl -lbl_8028AE64: -/* 8028AE64 00287DA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028AE68 00287DA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028AE6C 00287DAC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028AE70 00287DB0 7C 08 03 A6 */ mtlr r0 -/* 8028AE74 00287DB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028AE78 00287DB8 4E 80 00 20 */ blr - -.global finishBossAttackLoopBGM__Q34Game5Queen3ObjFv -finishBossAttackLoopBGM__Q34Game5Queen3ObjFv: -/* 8028AE7C 00287DBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028AE80 00287DC0 7C 08 02 A6 */ mflr r0 -/* 8028AE84 00287DC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028AE88 00287DC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028AE8C 00287DCC 93 C1 00 08 */ stw r30, 8(r1) -/* 8028AE90 00287DD0 88 03 02 C5 */ lbz r0, 0x2c5(r3) -/* 8028AE94 00287DD4 28 00 00 00 */ cmplwi r0, 0 -/* 8028AE98 00287DD8 41 82 00 A4 */ beq lbl_8028AF3C -/* 8028AE9C 00287DDC 3B E0 00 00 */ li r31, 0 -/* 8028AEA0 00287DE0 9B E3 02 C5 */ stb r31, 0x2c5(r3) -/* 8028AEA4 00287DE4 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 8028AEA8 00287DE8 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AEAC 00287DEC 7F C3 F3 78 */ mr r3, r30 -/* 8028AEB0 00287DF0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AEB4 00287DF4 7D 89 03 A6 */ mtctr r12 -/* 8028AEB8 00287DF8 4E 80 04 21 */ bctrl -/* 8028AEBC 00287DFC 2C 03 00 05 */ cmpwi r3, 5 -/* 8028AEC0 00287E00 41 82 00 3C */ beq lbl_8028AEFC -/* 8028AEC4 00287E04 7F C3 F3 78 */ mr r3, r30 -/* 8028AEC8 00287E08 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AECC 00287E0C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AED0 00287E10 7D 89 03 A6 */ mtctr r12 -/* 8028AED4 00287E14 4E 80 04 21 */ bctrl -/* 8028AED8 00287E18 2C 03 00 06 */ cmpwi r3, 6 -/* 8028AEDC 00287E1C 41 82 00 20 */ beq lbl_8028AEFC -/* 8028AEE0 00287E20 7F C3 F3 78 */ mr r3, r30 -/* 8028AEE4 00287E24 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AEE8 00287E28 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AEEC 00287E2C 7D 89 03 A6 */ mtctr r12 -/* 8028AEF0 00287E30 4E 80 04 21 */ bctrl -/* 8028AEF4 00287E34 2C 03 00 07 */ cmpwi r3, 7 -/* 8028AEF8 00287E38 40 82 00 08 */ bne lbl_8028AF00 -lbl_8028AEFC: -/* 8028AEFC 00287E3C 3B E0 00 01 */ li r31, 1 -lbl_8028AF00: -/* 8028AF00 00287E40 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028AF04 00287E44 40 82 00 20 */ bne lbl_8028AF24 -/* 8028AF08 00287E48 3C 60 80 49 */ lis r3, lbl_80488004@ha -/* 8028AF0C 00287E4C 3C A0 80 49 */ lis r5, lbl_8048801C@ha -/* 8028AF10 00287E50 38 63 80 04 */ addi r3, r3, lbl_80488004@l -/* 8028AF14 00287E54 38 80 04 54 */ li r4, 0x454 -/* 8028AF18 00287E58 38 A5 80 1C */ addi r5, r5, lbl_8048801C@l -/* 8028AF1C 00287E5C 4C C6 31 82 */ crclr 6 -/* 8028AF20 00287E60 4B D9 F7 21 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028AF24: -/* 8028AF24 00287E64 7F C3 F3 78 */ mr r3, r30 -/* 8028AF28 00287E68 38 80 00 01 */ li r4, 1 -/* 8028AF2C 00287E6C 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AF30 00287E70 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 8028AF34 00287E74 7D 89 03 A6 */ mtctr r12 -/* 8028AF38 00287E78 4E 80 04 21 */ bctrl -lbl_8028AF3C: -/* 8028AF3C 00287E7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028AF40 00287E80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028AF44 00287E84 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028AF48 00287E88 7C 08 03 A6 */ mtlr r0 -/* 8028AF4C 00287E8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028AF50 00287E90 4E 80 00 20 */ blr - -.global startStoneStateBossAttackLoopBGM__Q34Game5Queen3ObjFv -startStoneStateBossAttackLoopBGM__Q34Game5Queen3ObjFv: -/* 8028AF54 00287E94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028AF58 00287E98 7C 08 02 A6 */ mflr r0 -/* 8028AF5C 00287E9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028AF60 00287EA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028AF64 00287EA4 93 C1 00 08 */ stw r30, 8(r1) -/* 8028AF68 00287EA8 88 03 02 C5 */ lbz r0, 0x2c5(r3) -/* 8028AF6C 00287EAC 28 00 00 00 */ cmplwi r0, 0 -/* 8028AF70 00287EB0 41 82 00 A0 */ beq lbl_8028B010 -/* 8028AF74 00287EB4 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 8028AF78 00287EB8 3B E0 00 00 */ li r31, 0 -/* 8028AF7C 00287EBC 7F C3 F3 78 */ mr r3, r30 -/* 8028AF80 00287EC0 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AF84 00287EC4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AF88 00287EC8 7D 89 03 A6 */ mtctr r12 -/* 8028AF8C 00287ECC 4E 80 04 21 */ bctrl -/* 8028AF90 00287ED0 2C 03 00 05 */ cmpwi r3, 5 -/* 8028AF94 00287ED4 41 82 00 3C */ beq lbl_8028AFD0 -/* 8028AF98 00287ED8 7F C3 F3 78 */ mr r3, r30 -/* 8028AF9C 00287EDC 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AFA0 00287EE0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AFA4 00287EE4 7D 89 03 A6 */ mtctr r12 -/* 8028AFA8 00287EE8 4E 80 04 21 */ bctrl -/* 8028AFAC 00287EEC 2C 03 00 06 */ cmpwi r3, 6 -/* 8028AFB0 00287EF0 41 82 00 20 */ beq lbl_8028AFD0 -/* 8028AFB4 00287EF4 7F C3 F3 78 */ mr r3, r30 -/* 8028AFB8 00287EF8 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028AFBC 00287EFC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028AFC0 00287F00 7D 89 03 A6 */ mtctr r12 -/* 8028AFC4 00287F04 4E 80 04 21 */ bctrl -/* 8028AFC8 00287F08 2C 03 00 07 */ cmpwi r3, 7 -/* 8028AFCC 00287F0C 40 82 00 08 */ bne lbl_8028AFD4 -lbl_8028AFD0: -/* 8028AFD0 00287F10 3B E0 00 01 */ li r31, 1 -lbl_8028AFD4: -/* 8028AFD4 00287F14 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028AFD8 00287F18 40 82 00 20 */ bne lbl_8028AFF8 -/* 8028AFDC 00287F1C 3C 60 80 49 */ lis r3, lbl_80488004@ha -/* 8028AFE0 00287F20 3C A0 80 49 */ lis r5, lbl_8048801C@ha -/* 8028AFE4 00287F24 38 63 80 04 */ addi r3, r3, lbl_80488004@l -/* 8028AFE8 00287F28 38 80 04 54 */ li r4, 0x454 -/* 8028AFEC 00287F2C 38 A5 80 1C */ addi r5, r5, lbl_8048801C@l -/* 8028AFF0 00287F30 4C C6 31 82 */ crclr 6 -/* 8028AFF4 00287F34 4B D9 F6 4D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028AFF8: -/* 8028AFF8 00287F38 7F C3 F3 78 */ mr r3, r30 -/* 8028AFFC 00287F3C 38 80 00 01 */ li r4, 1 -/* 8028B000 00287F40 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B004 00287F44 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 8028B008 00287F48 7D 89 03 A6 */ mtctr r12 -/* 8028B00C 00287F4C 4E 80 04 21 */ bctrl -lbl_8028B010: -/* 8028B010 00287F50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B014 00287F54 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B018 00287F58 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028B01C 00287F5C 7C 08 03 A6 */ mtlr r0 -/* 8028B020 00287F60 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B024 00287F64 4E 80 00 20 */ blr - -.global finishStoneStateBossAttackLoopBGM__Q34Game5Queen3ObjFv -finishStoneStateBossAttackLoopBGM__Q34Game5Queen3ObjFv: -/* 8028B028 00287F68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B02C 00287F6C 7C 08 02 A6 */ mflr r0 -/* 8028B030 00287F70 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B034 00287F74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B038 00287F78 93 C1 00 08 */ stw r30, 8(r1) -/* 8028B03C 00287F7C 88 03 02 C5 */ lbz r0, 0x2c5(r3) -/* 8028B040 00287F80 28 00 00 00 */ cmplwi r0, 0 -/* 8028B044 00287F84 41 82 00 A0 */ beq lbl_8028B0E4 -/* 8028B048 00287F88 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 8028B04C 00287F8C 3B E0 00 00 */ li r31, 0 -/* 8028B050 00287F90 7F C3 F3 78 */ mr r3, r30 -/* 8028B054 00287F94 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B058 00287F98 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B05C 00287F9C 7D 89 03 A6 */ mtctr r12 -/* 8028B060 00287FA0 4E 80 04 21 */ bctrl -/* 8028B064 00287FA4 2C 03 00 05 */ cmpwi r3, 5 -/* 8028B068 00287FA8 41 82 00 3C */ beq lbl_8028B0A4 -/* 8028B06C 00287FAC 7F C3 F3 78 */ mr r3, r30 -/* 8028B070 00287FB0 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B074 00287FB4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B078 00287FB8 7D 89 03 A6 */ mtctr r12 -/* 8028B07C 00287FBC 4E 80 04 21 */ bctrl -/* 8028B080 00287FC0 2C 03 00 06 */ cmpwi r3, 6 -/* 8028B084 00287FC4 41 82 00 20 */ beq lbl_8028B0A4 -/* 8028B088 00287FC8 7F C3 F3 78 */ mr r3, r30 -/* 8028B08C 00287FCC 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B090 00287FD0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B094 00287FD4 7D 89 03 A6 */ mtctr r12 -/* 8028B098 00287FD8 4E 80 04 21 */ bctrl -/* 8028B09C 00287FDC 2C 03 00 07 */ cmpwi r3, 7 -/* 8028B0A0 00287FE0 40 82 00 08 */ bne lbl_8028B0A8 -lbl_8028B0A4: -/* 8028B0A4 00287FE4 3B E0 00 01 */ li r31, 1 -lbl_8028B0A8: -/* 8028B0A8 00287FE8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028B0AC 00287FEC 40 82 00 20 */ bne lbl_8028B0CC -/* 8028B0B0 00287FF0 3C 60 80 49 */ lis r3, lbl_80488004@ha -/* 8028B0B4 00287FF4 3C A0 80 49 */ lis r5, lbl_8048801C@ha -/* 8028B0B8 00287FF8 38 63 80 04 */ addi r3, r3, lbl_80488004@l -/* 8028B0BC 00287FFC 38 80 04 54 */ li r4, 0x454 -/* 8028B0C0 00288000 38 A5 80 1C */ addi r5, r5, lbl_8048801C@l -/* 8028B0C4 00288004 4C C6 31 82 */ crclr 6 -/* 8028B0C8 00288008 4B D9 F5 79 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028B0CC: -/* 8028B0CC 0028800C 7F C3 F3 78 */ mr r3, r30 -/* 8028B0D0 00288010 38 80 00 08 */ li r4, 8 -/* 8028B0D4 00288014 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B0D8 00288018 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 8028B0DC 0028801C 7D 89 03 A6 */ mtctr r12 -/* 8028B0E0 00288020 4E 80 04 21 */ bctrl -lbl_8028B0E4: -/* 8028B0E4 00288024 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B0E8 00288028 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B0EC 0028802C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028B0F0 00288030 7C 08 03 A6 */ mtlr r0 -/* 8028B0F4 00288034 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B0F8 00288038 4E 80 00 20 */ blr - -.global updateBossBGM__Q34Game5Queen3ObjFv -updateBossBGM__Q34Game5Queen3ObjFv: -/* 8028B0FC 0028803C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028B100 00288040 7C 08 02 A6 */ mflr r0 -/* 8028B104 00288044 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028B108 00288048 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028B10C 0028804C 3B E0 00 00 */ li r31, 0 -/* 8028B110 00288050 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028B114 00288054 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8028B118 00288058 7C 7D 1B 78 */ mr r29, r3 -/* 8028B11C 0028805C 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 8028B120 00288060 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B124 00288064 7F C3 F3 78 */ mr r3, r30 -/* 8028B128 00288068 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B12C 0028806C 7D 89 03 A6 */ mtctr r12 -/* 8028B130 00288070 4E 80 04 21 */ bctrl -/* 8028B134 00288074 2C 03 00 05 */ cmpwi r3, 5 -/* 8028B138 00288078 41 82 00 3C */ beq lbl_8028B174 -/* 8028B13C 0028807C 7F C3 F3 78 */ mr r3, r30 -/* 8028B140 00288080 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B144 00288084 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B148 00288088 7D 89 03 A6 */ mtctr r12 -/* 8028B14C 0028808C 4E 80 04 21 */ bctrl -/* 8028B150 00288090 2C 03 00 06 */ cmpwi r3, 6 -/* 8028B154 00288094 41 82 00 20 */ beq lbl_8028B174 -/* 8028B158 00288098 7F C3 F3 78 */ mr r3, r30 -/* 8028B15C 0028809C 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B160 002880A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B164 002880A4 7D 89 03 A6 */ mtctr r12 -/* 8028B168 002880A8 4E 80 04 21 */ bctrl -/* 8028B16C 002880AC 2C 03 00 07 */ cmpwi r3, 7 -/* 8028B170 002880B0 40 82 00 08 */ bne lbl_8028B178 -lbl_8028B174: -/* 8028B174 002880B4 3B E0 00 01 */ li r31, 1 -lbl_8028B178: -/* 8028B178 002880B8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028B17C 002880BC 40 82 00 20 */ bne lbl_8028B19C -/* 8028B180 002880C0 3C 60 80 49 */ lis r3, lbl_80488004@ha -/* 8028B184 002880C4 3C A0 80 49 */ lis r5, lbl_8048801C@ha -/* 8028B188 002880C8 38 63 80 04 */ addi r3, r3, lbl_80488004@l -/* 8028B18C 002880CC 38 80 04 54 */ li r4, 0x454 -/* 8028B190 002880D0 38 A5 80 1C */ addi r5, r5, lbl_8048801C@l -/* 8028B194 002880D4 4C C6 31 82 */ crclr 6 -/* 8028B198 002880D8 4B D9 F4 A9 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028B19C: -/* 8028B19C 002880DC 80 1D 01 F4 */ lwz r0, 0x1f4(r29) -/* 8028B1A0 002880E0 2C 00 00 00 */ cmpwi r0, 0 -/* 8028B1A4 002880E4 41 82 00 20 */ beq lbl_8028B1C4 -/* 8028B1A8 002880E8 7F C3 F3 78 */ mr r3, r30 -/* 8028B1AC 002880EC 38 80 00 01 */ li r4, 1 -/* 8028B1B0 002880F0 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B1B4 002880F4 81 8C 00 D8 */ lwz r12, 0xd8(r12) -/* 8028B1B8 002880F8 7D 89 03 A6 */ mtctr r12 -/* 8028B1BC 002880FC 4E 80 04 21 */ bctrl -/* 8028B1C0 00288100 48 00 00 1C */ b lbl_8028B1DC -lbl_8028B1C4: -/* 8028B1C4 00288104 7F C3 F3 78 */ mr r3, r30 -/* 8028B1C8 00288108 38 80 00 00 */ li r4, 0 -/* 8028B1CC 0028810C 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8028B1D0 00288110 81 8C 00 D8 */ lwz r12, 0xd8(r12) -/* 8028B1D4 00288114 7D 89 03 A6 */ mtctr r12 -/* 8028B1D8 00288118 4E 80 04 21 */ bctrl -lbl_8028B1DC: -/* 8028B1DC 0028811C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028B1E0 00288120 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028B1E4 00288124 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028B1E8 00288128 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8028B1EC 0028812C 7C 08 03 A6 */ mtlr r0 -/* 8028B1F0 00288130 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028B1F4 00288134 4E 80 00 20 */ blr - -.global resetMidBossAppearBGM__Q34Game5Queen3ObjFv -resetMidBossAppearBGM__Q34Game5Queen3ObjFv: -/* 8028B1F8 00288138 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B1FC 0028813C 7C 08 02 A6 */ mflr r0 -/* 8028B200 00288140 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B204 00288144 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B208 00288148 93 C1 00 08 */ stw r30, 8(r1) -/* 8028B20C 0028814C 7C 7E 1B 78 */ mr r30, r3 -/* 8028B210 00288150 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8028B214 00288154 28 04 00 00 */ cmplwi r4, 0 -/* 8028B218 00288158 41 82 00 70 */ beq lbl_8028B288 -/* 8028B21C 0028815C 88 04 00 48 */ lbz r0, 0x48(r4) -/* 8028B220 00288160 28 00 00 00 */ cmplwi r0, 0 -/* 8028B224 00288164 41 82 00 64 */ beq lbl_8028B288 -/* 8028B228 00288168 83 FE 02 8C */ lwz r31, 0x28c(r30) -/* 8028B22C 0028816C 7F E3 FB 78 */ mr r3, r31 -/* 8028B230 00288170 81 9F 00 28 */ lwz r12, 0x28(r31) -/* 8028B234 00288174 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B238 00288178 7D 89 03 A6 */ mtctr r12 -/* 8028B23C 0028817C 4E 80 04 21 */ bctrl -/* 8028B240 00288180 2C 03 00 06 */ cmpwi r3, 6 -/* 8028B244 00288184 41 82 00 20 */ beq lbl_8028B264 -/* 8028B248 00288188 3C 60 80 49 */ lis r3, lbl_80488004@ha -/* 8028B24C 0028818C 3C A0 80 49 */ lis r5, lbl_8048801C@ha -/* 8028B250 00288190 38 63 80 04 */ addi r3, r3, lbl_80488004@l -/* 8028B254 00288194 38 80 04 5A */ li r4, 0x45a -/* 8028B258 00288198 38 A5 80 1C */ addi r5, r5, lbl_8048801C@l -/* 8028B25C 0028819C 4C C6 31 82 */ crclr 6 -/* 8028B260 002881A0 4B D9 F3 E1 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028B264: -/* 8028B264 002881A4 7F E3 FB 78 */ mr r3, r31 -/* 8028B268 002881A8 38 80 00 00 */ li r4, 0 -/* 8028B26C 002881AC 48 1D 47 85 */ bl setAppearFlag__Q23PSM9EnemyBossFb -/* 8028B270 002881B0 88 1E 02 C0 */ lbz r0, 0x2c0(r30) -/* 8028B274 002881B4 28 00 00 00 */ cmplwi r0, 0 -/* 8028B278 002881B8 41 82 00 10 */ beq lbl_8028B288 -/* 8028B27C 002881BC 38 00 00 01 */ li r0, 1 -/* 8028B280 002881C0 98 1E 02 C4 */ stb r0, 0x2c4(r30) -/* 8028B284 002881C4 98 1F 01 18 */ stb r0, 0x118(r31) -lbl_8028B288: -/* 8028B288 002881C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B28C 002881CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B290 002881D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028B294 002881D4 7C 08 03 A6 */ mtlr r0 -/* 8028B298 002881D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B29C 002881DC 4E 80 00 20 */ blr - -.global setMidBossAppearBGM__Q34Game5Queen3ObjFv -setMidBossAppearBGM__Q34Game5Queen3ObjFv: -/* 8028B2A0 002881E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B2A4 002881E4 7C 08 02 A6 */ mflr r0 -/* 8028B2A8 002881E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B2AC 002881EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B2B0 002881F0 88 03 02 C4 */ lbz r0, 0x2c4(r3) -/* 8028B2B4 002881F4 28 00 00 00 */ cmplwi r0, 0 -/* 8028B2B8 002881F8 40 82 00 54 */ bne lbl_8028B30C -/* 8028B2BC 002881FC 38 00 00 01 */ li r0, 1 -/* 8028B2C0 00288200 98 03 02 C4 */ stb r0, 0x2c4(r3) -/* 8028B2C4 00288204 83 E3 02 8C */ lwz r31, 0x28c(r3) -/* 8028B2C8 00288208 7F E3 FB 78 */ mr r3, r31 -/* 8028B2CC 0028820C 81 9F 00 28 */ lwz r12, 0x28(r31) -/* 8028B2D0 00288210 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028B2D4 00288214 7D 89 03 A6 */ mtctr r12 -/* 8028B2D8 00288218 4E 80 04 21 */ bctrl -/* 8028B2DC 0028821C 2C 03 00 06 */ cmpwi r3, 6 -/* 8028B2E0 00288220 41 82 00 20 */ beq lbl_8028B300 -/* 8028B2E4 00288224 3C 60 80 49 */ lis r3, lbl_80488004@ha -/* 8028B2E8 00288228 3C A0 80 49 */ lis r5, lbl_8048801C@ha -/* 8028B2EC 0028822C 38 63 80 04 */ addi r3, r3, lbl_80488004@l -/* 8028B2F0 00288230 38 80 04 5A */ li r4, 0x45a -/* 8028B2F4 00288234 38 A5 80 1C */ addi r5, r5, lbl_8048801C@l -/* 8028B2F8 00288238 4C C6 31 82 */ crclr 6 -/* 8028B2FC 0028823C 4B D9 F3 45 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028B300: -/* 8028B300 00288240 7F E3 FB 78 */ mr r3, r31 -/* 8028B304 00288244 38 80 00 01 */ li r4, 1 -/* 8028B308 00288248 48 1D 46 E9 */ bl setAppearFlag__Q23PSM9EnemyBossFb -lbl_8028B30C: -/* 8028B30C 0028824C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B310 00288250 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B314 00288254 7C 08 03 A6 */ mtlr r0 -/* 8028B318 00288258 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B31C 0028825C 4E 80 00 20 */ blr - -.global createEffect__Q34Game5Queen3ObjFv -createEffect__Q34Game5Queen3ObjFv: -/* 8028B320 00288260 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B324 00288264 7C 08 02 A6 */ mflr r0 -/* 8028B328 00288268 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B32C 0028826C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B330 00288270 7C 7F 1B 78 */ mr r31, r3 -/* 8028B334 00288274 38 60 00 14 */ li r3, 0x14 -/* 8028B338 00288278 93 C1 00 08 */ stw r30, 8(r1) -/* 8028B33C 0028827C 4B D9 8B 69 */ bl __nw__FUl -/* 8028B340 00288280 28 03 00 00 */ cmplwi r3, 0 -/* 8028B344 00288284 41 82 00 78 */ beq lbl_8028B3BC -/* 8028B348 00288288 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028B34C 0028828C 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028B350 00288290 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028B354 00288294 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028B358 00288298 90 03 00 00 */ stw r0, 0(r3) -/* 8028B35C 0028829C 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028B360 002882A0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028B364 002882A4 3C 80 80 4E */ lis r4, __vt__Q23efx9TChaseMtx@ha -/* 8028B368 002882A8 90 03 00 04 */ stw r0, 4(r3) -/* 8028B36C 002882AC 38 E4 68 A8 */ addi r7, r4, __vt__Q23efx9TChaseMtx@l -/* 8028B370 002882B0 3C 80 80 4D */ lis r4, __vt__Q23efx9TQueenLay@ha -/* 8028B374 002882B4 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028B378 002882B8 90 A3 00 00 */ stw r5, 0(r3) -/* 8028B37C 002882BC 38 84 9F B8 */ addi r4, r4, __vt__Q23efx9TQueenLay@l -/* 8028B380 002882C0 39 20 00 00 */ li r9, 0 -/* 8028B384 002882C4 39 00 02 B2 */ li r8, 0x2b2 -/* 8028B388 002882C8 90 03 00 04 */ stw r0, 4(r3) -/* 8028B38C 002882CC 38 C7 00 14 */ addi r6, r7, 0x14 -/* 8028B390 002882D0 38 A0 01 97 */ li r5, 0x197 -/* 8028B394 002882D4 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028B398 002882D8 91 23 00 08 */ stw r9, 8(r3) -/* 8028B39C 002882DC B1 03 00 0C */ sth r8, 0xc(r3) -/* 8028B3A0 002882E0 99 23 00 0E */ stb r9, 0xe(r3) -/* 8028B3A4 002882E4 90 E3 00 00 */ stw r7, 0(r3) -/* 8028B3A8 002882E8 90 C3 00 04 */ stw r6, 4(r3) -/* 8028B3AC 002882EC 91 23 00 10 */ stw r9, 0x10(r3) -/* 8028B3B0 002882F0 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028B3B4 002882F4 90 83 00 00 */ stw r4, 0(r3) -/* 8028B3B8 002882F8 90 03 00 04 */ stw r0, 4(r3) -lbl_8028B3BC: -/* 8028B3BC 002882FC 90 7F 02 E0 */ stw r3, 0x2e0(r31) -/* 8028B3C0 00288300 38 60 00 4C */ li r3, 0x4c -/* 8028B3C4 00288304 4B D9 8A E1 */ bl __nw__FUl -/* 8028B3C8 00288308 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028B3CC 0028830C 41 82 00 28 */ beq lbl_8028B3F4 -/* 8028B3D0 00288310 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8028B3D4 00288314 38 BF 01 FC */ addi r5, r31, 0x1fc -/* 8028B3D8 00288318 38 C0 01 9B */ li r6, 0x19b -/* 8028B3DC 0028831C 38 E0 01 9D */ li r7, 0x19d -/* 8028B3E0 00288320 39 00 01 9F */ li r8, 0x19f -/* 8028B3E4 00288324 48 12 56 E1 */ bl __ct__Q23efx14TChasePosYRot3FP10Vector3$$0f$$1PfUsUsUs -/* 8028B3E8 00288328 3C 60 80 4D */ lis r3, __vt__Q23efx12TQueenRollCR@ha -/* 8028B3EC 0028832C 38 03 9F 9C */ addi r0, r3, __vt__Q23efx12TQueenRollCR@l -/* 8028B3F0 00288330 90 1E 00 00 */ stw r0, 0(r30) -lbl_8028B3F4: -/* 8028B3F4 00288334 93 DF 02 E4 */ stw r30, 0x2e4(r31) -/* 8028B3F8 00288338 38 60 00 4C */ li r3, 0x4c -/* 8028B3FC 0028833C 4B D9 8A A9 */ bl __nw__FUl -/* 8028B400 00288340 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028B404 00288344 41 82 00 28 */ beq lbl_8028B42C -/* 8028B408 00288348 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8028B40C 0028834C 38 BF 01 FC */ addi r5, r31, 0x1fc -/* 8028B410 00288350 38 C0 01 9A */ li r6, 0x19a -/* 8028B414 00288354 38 E0 01 9C */ li r7, 0x19c -/* 8028B418 00288358 39 00 01 9E */ li r8, 0x19e -/* 8028B41C 0028835C 48 12 56 A9 */ bl __ct__Q23efx14TChasePosYRot3FP10Vector3$$0f$$1PfUsUsUs -/* 8028B420 00288360 3C 60 80 4D */ lis r3, __vt__Q23efx12TQueenRollCL@ha -/* 8028B424 00288364 38 03 9F 80 */ addi r0, r3, __vt__Q23efx12TQueenRollCL@l -/* 8028B428 00288368 90 1E 00 00 */ stw r0, 0(r30) -lbl_8028B42C: -/* 8028B42C 0028836C 93 DF 02 E8 */ stw r30, 0x2e8(r31) -/* 8028B430 00288370 38 60 00 34 */ li r3, 0x34 -/* 8028B434 00288374 4B D9 8A 71 */ bl __nw__FUl -/* 8028B438 00288378 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028B43C 0028837C 41 82 00 24 */ beq lbl_8028B460 -/* 8028B440 00288380 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8028B444 00288384 38 BF 01 FC */ addi r5, r31, 0x1fc -/* 8028B448 00288388 38 C0 01 98 */ li r6, 0x198 -/* 8028B44C 0028838C 38 E0 01 99 */ li r7, 0x199 -/* 8028B450 00288390 48 12 55 7D */ bl __ct__Q23efx14TChasePosYRot2FP10Vector3$$0f$$1PfUsUs -/* 8028B454 00288394 3C 60 80 4D */ lis r3, __vt__Q23efx10TQueenRoll@ha -/* 8028B458 00288398 38 03 9F 64 */ addi r0, r3, __vt__Q23efx10TQueenRoll@l -/* 8028B45C 0028839C 90 1E 00 00 */ stw r0, 0(r30) -lbl_8028B460: -/* 8028B460 002883A0 93 DF 02 EC */ stw r30, 0x2ec(r31) -/* 8028B464 002883A4 38 60 00 18 */ li r3, 0x18 -/* 8028B468 002883A8 4B D9 8A 3D */ bl __nw__FUl -/* 8028B46C 002883AC 28 03 00 00 */ cmplwi r3, 0 -/* 8028B470 002883B0 41 82 00 84 */ beq lbl_8028B4F4 -/* 8028B474 002883B4 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028B478 002883B8 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028B47C 002883BC 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028B480 002883C0 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028B484 002883C4 90 03 00 00 */ stw r0, 0(r3) -/* 8028B488 002883C8 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028B48C 002883CC 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028B490 002883D0 3C 80 80 4E */ lis r4, __vt__Q23efx13TChasePosYRot@ha -/* 8028B494 002883D4 90 03 00 04 */ stw r0, 4(r3) -/* 8028B498 002883D8 39 24 68 F4 */ addi r9, r4, __vt__Q23efx13TChasePosYRot@l -/* 8028B49C 002883DC 3C 80 80 4D */ lis r4, __vt__Q23efx12TQueenCrashR@ha -/* 8028B4A0 002883E0 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028B4A4 002883E4 90 A3 00 00 */ stw r5, 0(r3) -/* 8028B4A8 002883E8 38 84 9F 18 */ addi r4, r4, __vt__Q23efx12TQueenCrashR@l -/* 8028B4AC 002883EC 39 60 00 00 */ li r11, 0 -/* 8028B4B0 002883F0 39 40 02 B2 */ li r10, 0x2b2 -/* 8028B4B4 002883F4 90 03 00 04 */ stw r0, 4(r3) -/* 8028B4B8 002883F8 39 09 00 14 */ addi r8, r9, 0x14 -/* 8028B4BC 002883FC 38 FF 01 8C */ addi r7, r31, 0x18c -/* 8028B4C0 00288400 38 DF 01 FC */ addi r6, r31, 0x1fc -/* 8028B4C4 00288404 91 63 00 08 */ stw r11, 8(r3) -/* 8028B4C8 00288408 38 A0 01 8D */ li r5, 0x18d -/* 8028B4CC 0028840C 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028B4D0 00288410 B1 43 00 0C */ sth r10, 0xc(r3) -/* 8028B4D4 00288414 99 63 00 0E */ stb r11, 0xe(r3) -/* 8028B4D8 00288418 91 23 00 00 */ stw r9, 0(r3) -/* 8028B4DC 0028841C 91 03 00 04 */ stw r8, 4(r3) -/* 8028B4E0 00288420 90 E3 00 10 */ stw r7, 0x10(r3) -/* 8028B4E4 00288424 90 C3 00 14 */ stw r6, 0x14(r3) -/* 8028B4E8 00288428 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028B4EC 0028842C 90 83 00 00 */ stw r4, 0(r3) -/* 8028B4F0 00288430 90 03 00 04 */ stw r0, 4(r3) -lbl_8028B4F4: -/* 8028B4F4 00288434 90 7F 02 F0 */ stw r3, 0x2f0(r31) -/* 8028B4F8 00288438 38 60 00 18 */ li r3, 0x18 -/* 8028B4FC 0028843C 4B D9 89 A9 */ bl __nw__FUl -/* 8028B500 00288440 28 03 00 00 */ cmplwi r3, 0 -/* 8028B504 00288444 41 82 00 84 */ beq lbl_8028B588 -/* 8028B508 00288448 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028B50C 0028844C 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028B510 00288450 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028B514 00288454 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028B518 00288458 90 03 00 00 */ stw r0, 0(r3) -/* 8028B51C 0028845C 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028B520 00288460 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028B524 00288464 3C 80 80 4E */ lis r4, __vt__Q23efx13TChasePosYRot@ha -/* 8028B528 00288468 90 03 00 04 */ stw r0, 4(r3) -/* 8028B52C 0028846C 39 24 68 F4 */ addi r9, r4, __vt__Q23efx13TChasePosYRot@l -/* 8028B530 00288470 3C 80 80 4D */ lis r4, __vt__Q23efx12TQueenCrashL@ha -/* 8028B534 00288474 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028B538 00288478 90 A3 00 00 */ stw r5, 0(r3) -/* 8028B53C 0028847C 38 84 9E CC */ addi r4, r4, __vt__Q23efx12TQueenCrashL@l -/* 8028B540 00288480 39 60 00 00 */ li r11, 0 -/* 8028B544 00288484 39 40 02 B2 */ li r10, 0x2b2 -/* 8028B548 00288488 90 03 00 04 */ stw r0, 4(r3) -/* 8028B54C 0028848C 39 09 00 14 */ addi r8, r9, 0x14 -/* 8028B550 00288490 38 FF 01 8C */ addi r7, r31, 0x18c -/* 8028B554 00288494 38 DF 01 FC */ addi r6, r31, 0x1fc -/* 8028B558 00288498 91 63 00 08 */ stw r11, 8(r3) -/* 8028B55C 0028849C 38 A0 01 8C */ li r5, 0x18c -/* 8028B560 002884A0 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028B564 002884A4 B1 43 00 0C */ sth r10, 0xc(r3) -/* 8028B568 002884A8 99 63 00 0E */ stb r11, 0xe(r3) -/* 8028B56C 002884AC 91 23 00 00 */ stw r9, 0(r3) -/* 8028B570 002884B0 91 03 00 04 */ stw r8, 4(r3) -/* 8028B574 002884B4 90 E3 00 10 */ stw r7, 0x10(r3) -/* 8028B578 002884B8 90 C3 00 14 */ stw r6, 0x14(r3) -/* 8028B57C 002884BC B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028B580 002884C0 90 83 00 00 */ stw r4, 0(r3) -/* 8028B584 002884C4 90 03 00 04 */ stw r0, 4(r3) -lbl_8028B588: -/* 8028B588 002884C8 90 7F 02 F4 */ stw r3, 0x2f4(r31) -/* 8028B58C 002884CC 38 60 00 18 */ li r3, 0x18 -/* 8028B590 002884D0 4B D9 89 15 */ bl __nw__FUl -/* 8028B594 002884D4 28 03 00 00 */ cmplwi r3, 0 -/* 8028B598 002884D8 41 82 00 84 */ beq lbl_8028B61C -/* 8028B59C 002884DC 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028B5A0 002884E0 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028B5A4 002884E4 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028B5A8 002884E8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028B5AC 002884EC 90 03 00 00 */ stw r0, 0(r3) -/* 8028B5B0 002884F0 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028B5B4 002884F4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028B5B8 002884F8 3C 80 80 4E */ lis r4, __vt__Q23efx13TChasePosYRot@ha -/* 8028B5BC 002884FC 90 03 00 04 */ stw r0, 4(r3) -/* 8028B5C0 00288500 39 24 68 F4 */ addi r9, r4, __vt__Q23efx13TChasePosYRot@l -/* 8028B5C4 00288504 3C 80 80 4D */ lis r4, __vt__Q23efx15TQueenCrashRock@ha -/* 8028B5C8 00288508 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028B5CC 0028850C 90 A3 00 00 */ stw r5, 0(r3) -/* 8028B5D0 00288510 38 84 9E 80 */ addi r4, r4, __vt__Q23efx15TQueenCrashRock@l -/* 8028B5D4 00288514 39 60 00 00 */ li r11, 0 -/* 8028B5D8 00288518 39 40 02 B2 */ li r10, 0x2b2 -/* 8028B5DC 0028851C 90 03 00 04 */ stw r0, 4(r3) -/* 8028B5E0 00288520 39 09 00 14 */ addi r8, r9, 0x14 -/* 8028B5E4 00288524 38 FF 01 8C */ addi r7, r31, 0x18c -/* 8028B5E8 00288528 38 DF 01 FC */ addi r6, r31, 0x1fc -/* 8028B5EC 0028852C 91 63 00 08 */ stw r11, 8(r3) -/* 8028B5F0 00288530 38 A0 01 8E */ li r5, 0x18e -/* 8028B5F4 00288534 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028B5F8 00288538 B1 43 00 0C */ sth r10, 0xc(r3) -/* 8028B5FC 0028853C 99 63 00 0E */ stb r11, 0xe(r3) -/* 8028B600 00288540 91 23 00 00 */ stw r9, 0(r3) -/* 8028B604 00288544 91 03 00 04 */ stw r8, 4(r3) -/* 8028B608 00288548 90 E3 00 10 */ stw r7, 0x10(r3) -/* 8028B60C 0028854C 90 C3 00 14 */ stw r6, 0x14(r3) -/* 8028B610 00288550 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028B614 00288554 90 83 00 00 */ stw r4, 0(r3) -/* 8028B618 00288558 90 03 00 04 */ stw r0, 4(r3) -lbl_8028B61C: -/* 8028B61C 0028855C 90 7F 02 F8 */ stw r3, 0x2f8(r31) -/* 8028B620 00288560 38 60 00 18 */ li r3, 0x18 -/* 8028B624 00288564 4B D9 88 81 */ bl __nw__FUl -/* 8028B628 00288568 28 03 00 00 */ cmplwi r3, 0 -/* 8028B62C 0028856C 41 82 00 84 */ beq lbl_8028B6B0 -/* 8028B630 00288570 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028B634 00288574 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028B638 00288578 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028B63C 0028857C 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028B640 00288580 90 03 00 00 */ stw r0, 0(r3) -/* 8028B644 00288584 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028B648 00288588 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028B64C 0028858C 3C 80 80 4E */ lis r4, __vt__Q23efx13TChasePosYRot@ha -/* 8028B650 00288590 90 03 00 04 */ stw r0, 4(r3) -/* 8028B654 00288594 39 24 68 F4 */ addi r9, r4, __vt__Q23efx13TChasePosYRot@l -/* 8028B658 00288598 3C 80 80 4D */ lis r4, __vt__Q23efx12TQueenDamage@ha -/* 8028B65C 0028859C 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028B660 002885A0 90 A3 00 00 */ stw r5, 0(r3) -/* 8028B664 002885A4 38 84 9E 34 */ addi r4, r4, __vt__Q23efx12TQueenDamage@l -/* 8028B668 002885A8 39 60 00 00 */ li r11, 0 -/* 8028B66C 002885AC 39 40 02 B2 */ li r10, 0x2b2 -/* 8028B670 002885B0 90 03 00 04 */ stw r0, 4(r3) -/* 8028B674 002885B4 39 09 00 14 */ addi r8, r9, 0x14 -/* 8028B678 002885B8 38 FF 01 8C */ addi r7, r31, 0x18c -/* 8028B67C 002885BC 38 DF 01 FC */ addi r6, r31, 0x1fc -/* 8028B680 002885C0 91 63 00 08 */ stw r11, 8(r3) -/* 8028B684 002885C4 38 A0 01 8F */ li r5, 0x18f -/* 8028B688 002885C8 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028B68C 002885CC B1 43 00 0C */ sth r10, 0xc(r3) -/* 8028B690 002885D0 99 63 00 0E */ stb r11, 0xe(r3) -/* 8028B694 002885D4 91 23 00 00 */ stw r9, 0(r3) -/* 8028B698 002885D8 91 03 00 04 */ stw r8, 4(r3) -/* 8028B69C 002885DC 90 E3 00 10 */ stw r7, 0x10(r3) -/* 8028B6A0 002885E0 90 C3 00 14 */ stw r6, 0x14(r3) -/* 8028B6A4 002885E4 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028B6A8 002885E8 90 83 00 00 */ stw r4, 0(r3) -/* 8028B6AC 002885EC 90 03 00 04 */ stw r0, 4(r3) -lbl_8028B6B0: -/* 8028B6B0 002885F0 90 7F 02 FC */ stw r3, 0x2fc(r31) -/* 8028B6B4 002885F4 38 60 00 34 */ li r3, 0x34 -/* 8028B6B8 002885F8 4B D9 87 ED */ bl __nw__FUl -/* 8028B6BC 002885FC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028B6C0 00288600 41 82 00 24 */ beq lbl_8028B6E4 -/* 8028B6C4 00288604 38 9F 01 8C */ addi r4, r31, 0x18c -/* 8028B6C8 00288608 38 BF 01 FC */ addi r5, r31, 0x1fc -/* 8028B6CC 0028860C 38 C0 01 94 */ li r6, 0x194 -/* 8028B6D0 00288610 38 E0 01 95 */ li r7, 0x195 -/* 8028B6D4 00288614 48 12 52 F9 */ bl __ct__Q23efx14TChasePosYRot2FP10Vector3$$0f$$1PfUsUs -/* 8028B6D8 00288618 3C 60 80 4D */ lis r3, __vt__Q23efx11TQueenFlick@ha -/* 8028B6DC 0028861C 38 03 9E 18 */ addi r0, r3, __vt__Q23efx11TQueenFlick@l -/* 8028B6E0 00288620 90 1E 00 00 */ stw r0, 0(r30) -lbl_8028B6E4: -/* 8028B6E4 00288624 93 DF 03 00 */ stw r30, 0x300(r31) -/* 8028B6E8 00288628 38 60 00 54 */ li r3, 0x54 -/* 8028B6EC 0028862C 4B D9 87 B9 */ bl __nw__FUl -/* 8028B6F0 00288630 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028B6F4 00288634 41 82 00 28 */ beq lbl_8028B71C -/* 8028B6F8 00288638 38 80 00 00 */ li r4, 0 -/* 8028B6FC 0028863C 38 A0 01 90 */ li r5, 0x190 -/* 8028B700 00288640 38 C0 01 91 */ li r6, 0x191 -/* 8028B704 00288644 38 E0 01 92 */ li r7, 0x192 -/* 8028B708 00288648 39 00 01 93 */ li r8, 0x193 -/* 8028B70C 0028864C 48 12 4F 51 */ bl __ct__Q23efx10TChaseMtx4FPA4_fUsUsUsUs -/* 8028B710 00288650 3C 60 80 4D */ lis r3, __vt__Q23efx10TQueenDead@ha -/* 8028B714 00288654 38 03 9D FC */ addi r0, r3, __vt__Q23efx10TQueenDead@l -/* 8028B718 00288658 90 1E 00 00 */ stw r0, 0(r30) -lbl_8028B71C: -/* 8028B71C 0028865C 93 DF 03 04 */ stw r30, 0x304(r31) -/* 8028B720 00288660 38 60 00 18 */ li r3, 0x18 -/* 8028B724 00288664 4B D9 87 81 */ bl __nw__FUl -/* 8028B728 00288668 28 03 00 00 */ cmplwi r3, 0 -/* 8028B72C 0028866C 41 82 00 84 */ beq lbl_8028B7B0 -/* 8028B730 00288670 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028B734 00288674 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028B738 00288678 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028B73C 0028867C 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028B740 00288680 90 03 00 00 */ stw r0, 0(r3) -/* 8028B744 00288684 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028B748 00288688 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028B74C 0028868C 3C 80 80 4E */ lis r4, __vt__Q23efx13TChasePosYRot@ha -/* 8028B750 00288690 90 03 00 04 */ stw r0, 4(r3) -/* 8028B754 00288694 39 24 68 F4 */ addi r9, r4, __vt__Q23efx13TChasePosYRot@l -/* 8028B758 00288698 3C 80 80 4D */ lis r4, __vt__Q23efx12TQueenWakeup@ha -/* 8028B75C 0028869C 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028B760 002886A0 90 A3 00 00 */ stw r5, 0(r3) -/* 8028B764 002886A4 38 84 9D B0 */ addi r4, r4, __vt__Q23efx12TQueenWakeup@l -/* 8028B768 002886A8 39 60 00 00 */ li r11, 0 -/* 8028B76C 002886AC 39 40 02 B2 */ li r10, 0x2b2 -/* 8028B770 002886B0 90 03 00 04 */ stw r0, 4(r3) -/* 8028B774 002886B4 39 09 00 14 */ addi r8, r9, 0x14 -/* 8028B778 002886B8 38 FF 01 8C */ addi r7, r31, 0x18c -/* 8028B77C 002886BC 38 DF 01 FC */ addi r6, r31, 0x1fc -/* 8028B780 002886C0 91 63 00 08 */ stw r11, 8(r3) -/* 8028B784 002886C4 38 A0 01 A0 */ li r5, 0x1a0 -/* 8028B788 002886C8 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028B78C 002886CC B1 43 00 0C */ sth r10, 0xc(r3) -/* 8028B790 002886D0 99 63 00 0E */ stb r11, 0xe(r3) -/* 8028B794 002886D4 91 23 00 00 */ stw r9, 0(r3) -/* 8028B798 002886D8 91 03 00 04 */ stw r8, 4(r3) -/* 8028B79C 002886DC 90 E3 00 10 */ stw r7, 0x10(r3) -/* 8028B7A0 002886E0 90 C3 00 14 */ stw r6, 0x14(r3) -/* 8028B7A4 002886E4 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028B7A8 002886E8 90 83 00 00 */ stw r4, 0(r3) -/* 8028B7AC 002886EC 90 03 00 04 */ stw r0, 4(r3) -lbl_8028B7B0: -/* 8028B7B0 002886F0 90 7F 03 08 */ stw r3, 0x308(r31) -/* 8028B7B4 002886F4 38 60 00 14 */ li r3, 0x14 -/* 8028B7B8 002886F8 4B D9 86 ED */ bl __nw__FUl -/* 8028B7BC 002886FC 28 03 00 00 */ cmplwi r3, 0 -/* 8028B7C0 00288700 41 82 00 78 */ beq lbl_8028B838 -/* 8028B7C4 00288704 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028B7C8 00288708 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028B7CC 0028870C 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028B7D0 00288710 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028B7D4 00288714 90 03 00 00 */ stw r0, 0(r3) -/* 8028B7D8 00288718 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028B7DC 0028871C 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028B7E0 00288720 3C 80 80 4E */ lis r4, __vt__Q23efx9TChaseMtx@ha -/* 8028B7E4 00288724 90 03 00 04 */ stw r0, 4(r3) -/* 8028B7E8 00288728 38 E4 68 A8 */ addi r7, r4, __vt__Q23efx9TChaseMtx@l -/* 8028B7EC 0028872C 3C 80 80 4D */ lis r4, __vt__Q23efx13TQueenHanacho@ha -/* 8028B7F0 00288730 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028B7F4 00288734 90 A3 00 00 */ stw r5, 0(r3) -/* 8028B7F8 00288738 38 84 9D 64 */ addi r4, r4, __vt__Q23efx13TQueenHanacho@l -/* 8028B7FC 0028873C 39 20 00 00 */ li r9, 0 -/* 8028B800 00288740 39 00 02 B2 */ li r8, 0x2b2 -/* 8028B804 00288744 90 03 00 04 */ stw r0, 4(r3) -/* 8028B808 00288748 38 C7 00 14 */ addi r6, r7, 0x14 -/* 8028B80C 0028874C 38 A0 01 96 */ li r5, 0x196 -/* 8028B810 00288750 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028B814 00288754 91 23 00 08 */ stw r9, 8(r3) -/* 8028B818 00288758 B1 03 00 0C */ sth r8, 0xc(r3) -/* 8028B81C 0028875C 99 23 00 0E */ stb r9, 0xe(r3) -/* 8028B820 00288760 90 E3 00 00 */ stw r7, 0(r3) -/* 8028B824 00288764 90 C3 00 04 */ stw r6, 4(r3) -/* 8028B828 00288768 91 23 00 10 */ stw r9, 0x10(r3) -/* 8028B82C 0028876C B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028B830 00288770 90 83 00 00 */ stw r4, 0(r3) -/* 8028B834 00288774 90 03 00 04 */ stw r0, 4(r3) -lbl_8028B838: -/* 8028B838 00288778 90 7F 03 0C */ stw r3, 0x30c(r31) -/* 8028B83C 0028877C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B840 00288780 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B844 00288784 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028B848 00288788 7C 08 03 A6 */ mtlr r0 -/* 8028B84C 0028878C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B850 00288790 4E 80 00 20 */ blr - -.global setupEffect__Q34Game5Queen3ObjFv -setupEffect__Q34Game5Queen3ObjFv: -/* 8028B854 00288794 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B858 00288798 7C 08 02 A6 */ mflr r0 -/* 8028B85C 0028879C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B860 002887A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B864 002887A4 7C 7F 1B 78 */ mr r31, r3 -/* 8028B868 002887A8 3C 60 80 48 */ lis r3, lbl_80487FF8@ha -/* 8028B86C 002887AC 38 83 7F F8 */ addi r4, r3, lbl_80487FF8@l -/* 8028B870 002887B0 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 8028B874 002887B4 48 1B 37 71 */ bl getJoint__Q28SysShape5ModelFPc -/* 8028B878 002887B8 48 19 E0 29 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8028B87C 002887BC 80 BF 02 E0 */ lwz r5, 0x2e0(r31) -/* 8028B880 002887C0 38 82 D5 14 */ addi r4, r2, lbl_8051B874@sda21 -/* 8028B884 002887C4 90 65 00 10 */ stw r3, 0x10(r5) -/* 8028B888 002887C8 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 8028B88C 002887CC 48 1B 37 59 */ bl getJoint__Q28SysShape5ModelFPc -/* 8028B890 002887D0 48 19 E0 11 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8028B894 002887D4 7C 64 1B 78 */ mr r4, r3 -/* 8028B898 002887D8 80 7F 03 04 */ lwz r3, 0x304(r31) -/* 8028B89C 002887DC 48 12 4E 6D */ bl setMtxptr__Q23efx10TChaseMtx4FPA4_f -/* 8028B8A0 002887E0 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 8028B8A4 002887E4 38 82 D5 1C */ addi r4, r2, lbl_8051B87C@sda21 -/* 8028B8A8 002887E8 48 1B 37 3D */ bl getJoint__Q28SysShape5ModelFPc -/* 8028B8AC 002887EC 48 19 DF F5 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8028B8B0 002887F0 80 9F 03 0C */ lwz r4, 0x30c(r31) -/* 8028B8B4 002887F4 90 64 00 10 */ stw r3, 0x10(r4) -/* 8028B8B8 002887F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B8BC 002887FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B8C0 00288800 7C 08 03 A6 */ mtlr r0 -/* 8028B8C4 00288804 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B8C8 00288808 4E 80 00 20 */ blr - -.global createBornEffect__Q34Game5Queen3ObjFv -createBornEffect__Q34Game5Queen3ObjFv: -/* 8028B8CC 0028880C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B8D0 00288810 7C 08 02 A6 */ mflr r0 -/* 8028B8D4 00288814 38 80 00 00 */ li r4, 0 -/* 8028B8D8 00288818 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B8DC 0028881C 80 63 02 E0 */ lwz r3, 0x2e0(r3) -/* 8028B8E0 00288820 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B8E4 00288824 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028B8E8 00288828 7D 89 03 A6 */ mtctr r12 -/* 8028B8EC 0028882C 4E 80 04 21 */ bctrl -/* 8028B8F0 00288830 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B8F4 00288834 7C 08 03 A6 */ mtlr r0 -/* 8028B8F8 00288838 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B8FC 0028883C 4E 80 00 20 */ blr - -.global startRollingEffect__Q34Game5Queen3ObjFv -startRollingEffect__Q34Game5Queen3ObjFv: -/* 8028B900 00288840 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B904 00288844 7C 08 02 A6 */ mflr r0 -/* 8028B908 00288848 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B90C 0028884C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B910 00288850 7C 7F 1B 78 */ mr r31, r3 -/* 8028B914 00288854 4B E7 BA 35 */ bl getCurrAnimIndex__Q24Game9EnemyBaseFv -/* 8028B918 00288858 2C 03 00 06 */ cmpwi r3, 6 -/* 8028B91C 0028885C 40 82 00 20 */ bne lbl_8028B93C -/* 8028B920 00288860 80 7F 02 E4 */ lwz r3, 0x2e4(r31) -/* 8028B924 00288864 38 80 00 00 */ li r4, 0 -/* 8028B928 00288868 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B92C 0028886C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028B930 00288870 7D 89 03 A6 */ mtctr r12 -/* 8028B934 00288874 4E 80 04 21 */ bctrl -/* 8028B938 00288878 48 00 00 1C */ b lbl_8028B954 -lbl_8028B93C: -/* 8028B93C 0028887C 80 7F 02 E8 */ lwz r3, 0x2e8(r31) -/* 8028B940 00288880 38 80 00 00 */ li r4, 0 -/* 8028B944 00288884 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B948 00288888 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028B94C 0028888C 7D 89 03 A6 */ mtctr r12 -/* 8028B950 00288890 4E 80 04 21 */ bctrl -lbl_8028B954: -/* 8028B954 00288894 80 7F 02 EC */ lwz r3, 0x2ec(r31) -/* 8028B958 00288898 38 80 00 00 */ li r4, 0 -/* 8028B95C 0028889C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B960 002888A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028B964 002888A4 7D 89 03 A6 */ mtctr r12 -/* 8028B968 002888A8 4E 80 04 21 */ bctrl -/* 8028B96C 002888AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028B970 002888B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028B974 002888B4 7C 08 03 A6 */ mtlr r0 -/* 8028B978 002888B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028B97C 002888BC 4E 80 00 20 */ blr - -.global finishRollingEffect__Q34Game5Queen3ObjFb -finishRollingEffect__Q34Game5Queen3ObjFb: -/* 8028B980 002888C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028B984 002888C4 7C 08 02 A6 */ mflr r0 -/* 8028B988 002888C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028B98C 002888CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028B990 002888D0 7C 9F 23 78 */ mr r31, r4 -/* 8028B994 002888D4 93 C1 00 08 */ stw r30, 8(r1) -/* 8028B998 002888D8 7C 7E 1B 78 */ mr r30, r3 -/* 8028B99C 002888DC 4B E7 B9 AD */ bl getCurrAnimIndex__Q24Game9EnemyBaseFv -/* 8028B9A0 002888E0 2C 03 00 06 */ cmpwi r3, 6 -/* 8028B9A4 002888E4 40 82 00 3C */ bne lbl_8028B9E0 -/* 8028B9A8 002888E8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028B9AC 002888EC 41 82 00 1C */ beq lbl_8028B9C8 -/* 8028B9B0 002888F0 80 7E 02 F0 */ lwz r3, 0x2f0(r30) -/* 8028B9B4 002888F4 38 80 00 00 */ li r4, 0 -/* 8028B9B8 002888F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B9BC 002888FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028B9C0 00288900 7D 89 03 A6 */ mtctr r12 -/* 8028B9C4 00288904 4E 80 04 21 */ bctrl -lbl_8028B9C8: -/* 8028B9C8 00288908 80 7E 02 E4 */ lwz r3, 0x2e4(r30) -/* 8028B9CC 0028890C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B9D0 00288910 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028B9D4 00288914 7D 89 03 A6 */ mtctr r12 -/* 8028B9D8 00288918 4E 80 04 21 */ bctrl -/* 8028B9DC 0028891C 48 00 00 38 */ b lbl_8028BA14 -lbl_8028B9E0: -/* 8028B9E0 00288920 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028B9E4 00288924 41 82 00 1C */ beq lbl_8028BA00 -/* 8028B9E8 00288928 80 7E 02 F4 */ lwz r3, 0x2f4(r30) -/* 8028B9EC 0028892C 38 80 00 00 */ li r4, 0 -/* 8028B9F0 00288930 81 83 00 00 */ lwz r12, 0(r3) -/* 8028B9F4 00288934 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028B9F8 00288938 7D 89 03 A6 */ mtctr r12 -/* 8028B9FC 0028893C 4E 80 04 21 */ bctrl -lbl_8028BA00: -/* 8028BA00 00288940 80 7E 02 E8 */ lwz r3, 0x2e8(r30) -/* 8028BA04 00288944 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BA08 00288948 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028BA0C 0028894C 7D 89 03 A6 */ mtctr r12 -/* 8028BA10 00288950 4E 80 04 21 */ bctrl -lbl_8028BA14: -/* 8028BA14 00288954 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028BA18 00288958 41 82 00 1C */ beq lbl_8028BA34 -/* 8028BA1C 0028895C 80 7E 02 F8 */ lwz r3, 0x2f8(r30) -/* 8028BA20 00288960 38 80 00 00 */ li r4, 0 -/* 8028BA24 00288964 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BA28 00288968 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028BA2C 0028896C 7D 89 03 A6 */ mtctr r12 -/* 8028BA30 00288970 4E 80 04 21 */ bctrl -lbl_8028BA34: -/* 8028BA34 00288974 80 7E 02 EC */ lwz r3, 0x2ec(r30) -/* 8028BA38 00288978 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BA3C 0028897C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028BA40 00288980 7D 89 03 A6 */ mtctr r12 -/* 8028BA44 00288984 4E 80 04 21 */ bctrl -/* 8028BA48 00288988 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BA4C 0028898C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028BA50 00288990 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028BA54 00288994 7C 08 03 A6 */ mtlr r0 -/* 8028BA58 00288998 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BA5C 0028899C 4E 80 00 20 */ blr - -.global forceFinishRollingEffect__Q34Game5Queen3ObjFv -forceFinishRollingEffect__Q34Game5Queen3ObjFv: -/* 8028BA60 002889A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BA64 002889A4 7C 08 02 A6 */ mflr r0 -/* 8028BA68 002889A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BA6C 002889AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028BA70 002889B0 7C 7F 1B 78 */ mr r31, r3 -/* 8028BA74 002889B4 80 63 02 E4 */ lwz r3, 0x2e4(r3) -/* 8028BA78 002889B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BA7C 002889BC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028BA80 002889C0 7D 89 03 A6 */ mtctr r12 -/* 8028BA84 002889C4 4E 80 04 21 */ bctrl -/* 8028BA88 002889C8 80 7F 02 E8 */ lwz r3, 0x2e8(r31) -/* 8028BA8C 002889CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BA90 002889D0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028BA94 002889D4 7D 89 03 A6 */ mtctr r12 -/* 8028BA98 002889D8 4E 80 04 21 */ bctrl -/* 8028BA9C 002889DC 80 7F 02 EC */ lwz r3, 0x2ec(r31) -/* 8028BAA0 002889E0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BAA4 002889E4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028BAA8 002889E8 7D 89 03 A6 */ mtctr r12 -/* 8028BAAC 002889EC 4E 80 04 21 */ bctrl -/* 8028BAB0 002889F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BAB4 002889F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028BAB8 002889F8 7C 08 03 A6 */ mtlr r0 -/* 8028BABC 002889FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BAC0 00288A00 4E 80 00 20 */ blr - -.global startDamageEffect__Q34Game5Queen3ObjFv -startDamageEffect__Q34Game5Queen3ObjFv: -/* 8028BAC4 00288A04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BAC8 00288A08 7C 08 02 A6 */ mflr r0 -/* 8028BACC 00288A0C 38 80 00 00 */ li r4, 0 -/* 8028BAD0 00288A10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BAD4 00288A14 80 63 02 FC */ lwz r3, 0x2fc(r3) -/* 8028BAD8 00288A18 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BADC 00288A1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028BAE0 00288A20 7D 89 03 A6 */ mtctr r12 -/* 8028BAE4 00288A24 4E 80 04 21 */ bctrl -/* 8028BAE8 00288A28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BAEC 00288A2C 7C 08 03 A6 */ mtlr r0 -/* 8028BAF0 00288A30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BAF4 00288A34 4E 80 00 20 */ blr - -.global finishDamageEffect__Q34Game5Queen3ObjFv -finishDamageEffect__Q34Game5Queen3ObjFv: -/* 8028BAF8 00288A38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BAFC 00288A3C 7C 08 02 A6 */ mflr r0 -/* 8028BB00 00288A40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BB04 00288A44 80 63 02 FC */ lwz r3, 0x2fc(r3) -/* 8028BB08 00288A48 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BB0C 00288A4C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028BB10 00288A50 7D 89 03 A6 */ mtctr r12 -/* 8028BB14 00288A54 4E 80 04 21 */ bctrl -/* 8028BB18 00288A58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BB1C 00288A5C 7C 08 03 A6 */ mtlr r0 -/* 8028BB20 00288A60 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BB24 00288A64 4E 80 00 20 */ blr - -.global createFlickEffect__Q34Game5Queen3ObjFv -createFlickEffect__Q34Game5Queen3ObjFv: -/* 8028BB28 00288A68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BB2C 00288A6C 7C 08 02 A6 */ mflr r0 -/* 8028BB30 00288A70 38 80 00 00 */ li r4, 0 -/* 8028BB34 00288A74 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BB38 00288A78 80 63 03 00 */ lwz r3, 0x300(r3) -/* 8028BB3C 00288A7C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BB40 00288A80 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028BB44 00288A84 7D 89 03 A6 */ mtctr r12 -/* 8028BB48 00288A88 4E 80 04 21 */ bctrl -/* 8028BB4C 00288A8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BB50 00288A90 7C 08 03 A6 */ mtlr r0 -/* 8028BB54 00288A94 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BB58 00288A98 4E 80 00 20 */ blr - -.global createDeadEffect__Q34Game5Queen3ObjFv -createDeadEffect__Q34Game5Queen3ObjFv: -/* 8028BB5C 00288A9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BB60 00288AA0 7C 08 02 A6 */ mflr r0 -/* 8028BB64 00288AA4 38 80 00 00 */ li r4, 0 -/* 8028BB68 00288AA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BB6C 00288AAC 80 63 03 04 */ lwz r3, 0x304(r3) -/* 8028BB70 00288AB0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BB74 00288AB4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028BB78 00288AB8 7D 89 03 A6 */ mtctr r12 -/* 8028BB7C 00288ABC 4E 80 04 21 */ bctrl -/* 8028BB80 00288AC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BB84 00288AC4 7C 08 03 A6 */ mtlr r0 -/* 8028BB88 00288AC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BB8C 00288ACC 4E 80 00 20 */ blr - -.global createWakeUpEffect__Q34Game5Queen3ObjFv -createWakeUpEffect__Q34Game5Queen3ObjFv: -/* 8028BB90 00288AD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BB94 00288AD4 7C 08 02 A6 */ mflr r0 -/* 8028BB98 00288AD8 38 80 00 00 */ li r4, 0 -/* 8028BB9C 00288ADC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BBA0 00288AE0 80 63 03 08 */ lwz r3, 0x308(r3) -/* 8028BBA4 00288AE4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BBA8 00288AE8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028BBAC 00288AEC 7D 89 03 A6 */ mtctr r12 -/* 8028BBB0 00288AF0 4E 80 04 21 */ bctrl -/* 8028BBB4 00288AF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BBB8 00288AF8 7C 08 03 A6 */ mtlr r0 -/* 8028BBBC 00288AFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BBC0 00288B00 4E 80 00 20 */ blr - -.global startSleepEffect__Q34Game5Queen3ObjFv -startSleepEffect__Q34Game5Queen3ObjFv: -/* 8028BBC4 00288B04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BBC8 00288B08 7C 08 02 A6 */ mflr r0 -/* 8028BBCC 00288B0C 38 80 00 00 */ li r4, 0 -/* 8028BBD0 00288B10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BBD4 00288B14 80 63 03 0C */ lwz r3, 0x30c(r3) -/* 8028BBD8 00288B18 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BBDC 00288B1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028BBE0 00288B20 7D 89 03 A6 */ mtctr r12 -/* 8028BBE4 00288B24 4E 80 04 21 */ bctrl -/* 8028BBE8 00288B28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BBEC 00288B2C 7C 08 03 A6 */ mtlr r0 -/* 8028BBF0 00288B30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BBF4 00288B34 4E 80 00 20 */ blr - -.global finishSleepEffect__Q34Game5Queen3ObjFv -finishSleepEffect__Q34Game5Queen3ObjFv: -/* 8028BBF8 00288B38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BBFC 00288B3C 7C 08 02 A6 */ mflr r0 -/* 8028BC00 00288B40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BC04 00288B44 80 63 03 0C */ lwz r3, 0x30c(r3) -/* 8028BC08 00288B48 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BC0C 00288B4C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028BC10 00288B50 7D 89 03 A6 */ mtctr r12 -/* 8028BC14 00288B54 4E 80 04 21 */ bctrl -/* 8028BC18 00288B58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BC1C 00288B5C 7C 08 03 A6 */ mtlr r0 -/* 8028BC20 00288B60 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BC24 00288B64 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game5Queen3ObjFv -effectDrawOn__Q34Game5Queen3ObjFv: -/* 8028BC28 00288B68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BC2C 00288B6C 7C 08 02 A6 */ mflr r0 -/* 8028BC30 00288B70 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BC34 00288B74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028BC38 00288B78 7C 7F 1B 78 */ mr r31, r3 -/* 8028BC3C 00288B7C 80 63 02 E0 */ lwz r3, 0x2e0(r3) -/* 8028BC40 00288B80 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BC44 00288B84 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028BC48 00288B88 7D 89 03 A6 */ mtctr r12 -/* 8028BC4C 00288B8C 4E 80 04 21 */ bctrl -/* 8028BC50 00288B90 80 7F 02 E4 */ lwz r3, 0x2e4(r31) -/* 8028BC54 00288B94 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BC58 00288B98 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028BC5C 00288B9C 7D 89 03 A6 */ mtctr r12 -/* 8028BC60 00288BA0 4E 80 04 21 */ bctrl -/* 8028BC64 00288BA4 80 7F 02 E8 */ lwz r3, 0x2e8(r31) -/* 8028BC68 00288BA8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BC6C 00288BAC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028BC70 00288BB0 7D 89 03 A6 */ mtctr r12 -/* 8028BC74 00288BB4 4E 80 04 21 */ bctrl -/* 8028BC78 00288BB8 80 7F 02 EC */ lwz r3, 0x2ec(r31) -/* 8028BC7C 00288BBC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BC80 00288BC0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028BC84 00288BC4 7D 89 03 A6 */ mtctr r12 -/* 8028BC88 00288BC8 4E 80 04 21 */ bctrl -/* 8028BC8C 00288BCC 80 7F 02 F0 */ lwz r3, 0x2f0(r31) -/* 8028BC90 00288BD0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BC94 00288BD4 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028BC98 00288BD8 7D 89 03 A6 */ mtctr r12 -/* 8028BC9C 00288BDC 4E 80 04 21 */ bctrl -/* 8028BCA0 00288BE0 80 7F 02 F4 */ lwz r3, 0x2f4(r31) -/* 8028BCA4 00288BE4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BCA8 00288BE8 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028BCAC 00288BEC 7D 89 03 A6 */ mtctr r12 -/* 8028BCB0 00288BF0 4E 80 04 21 */ bctrl -/* 8028BCB4 00288BF4 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8028BCB8 00288BF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BCBC 00288BFC 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028BCC0 00288C00 7D 89 03 A6 */ mtctr r12 -/* 8028BCC4 00288C04 4E 80 04 21 */ bctrl -/* 8028BCC8 00288C08 80 7F 02 FC */ lwz r3, 0x2fc(r31) -/* 8028BCCC 00288C0C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BCD0 00288C10 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028BCD4 00288C14 7D 89 03 A6 */ mtctr r12 -/* 8028BCD8 00288C18 4E 80 04 21 */ bctrl -/* 8028BCDC 00288C1C 80 7F 03 00 */ lwz r3, 0x300(r31) -/* 8028BCE0 00288C20 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BCE4 00288C24 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028BCE8 00288C28 7D 89 03 A6 */ mtctr r12 -/* 8028BCEC 00288C2C 4E 80 04 21 */ bctrl -/* 8028BCF0 00288C30 80 7F 03 04 */ lwz r3, 0x304(r31) -/* 8028BCF4 00288C34 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BCF8 00288C38 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028BCFC 00288C3C 7D 89 03 A6 */ mtctr r12 -/* 8028BD00 00288C40 4E 80 04 21 */ bctrl -/* 8028BD04 00288C44 80 7F 03 08 */ lwz r3, 0x308(r31) -/* 8028BD08 00288C48 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BD0C 00288C4C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028BD10 00288C50 7D 89 03 A6 */ mtctr r12 -/* 8028BD14 00288C54 4E 80 04 21 */ bctrl -/* 8028BD18 00288C58 80 7F 03 0C */ lwz r3, 0x30c(r31) -/* 8028BD1C 00288C5C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BD20 00288C60 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028BD24 00288C64 7D 89 03 A6 */ mtctr r12 -/* 8028BD28 00288C68 4E 80 04 21 */ bctrl -/* 8028BD2C 00288C6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BD30 00288C70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028BD34 00288C74 7C 08 03 A6 */ mtlr r0 -/* 8028BD38 00288C78 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BD3C 00288C7C 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game5Queen3ObjFv -effectDrawOff__Q34Game5Queen3ObjFv: -/* 8028BD40 00288C80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BD44 00288C84 7C 08 02 A6 */ mflr r0 -/* 8028BD48 00288C88 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BD4C 00288C8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028BD50 00288C90 7C 7F 1B 78 */ mr r31, r3 -/* 8028BD54 00288C94 80 63 02 E0 */ lwz r3, 0x2e0(r3) -/* 8028BD58 00288C98 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BD5C 00288C9C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8028BD60 00288CA0 7D 89 03 A6 */ mtctr r12 -/* 8028BD64 00288CA4 4E 80 04 21 */ bctrl -/* 8028BD68 00288CA8 80 7F 02 E4 */ lwz r3, 0x2e4(r31) -/* 8028BD6C 00288CAC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BD70 00288CB0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028BD74 00288CB4 7D 89 03 A6 */ mtctr r12 -/* 8028BD78 00288CB8 4E 80 04 21 */ bctrl -/* 8028BD7C 00288CBC 80 7F 02 E8 */ lwz r3, 0x2e8(r31) -/* 8028BD80 00288CC0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BD84 00288CC4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028BD88 00288CC8 7D 89 03 A6 */ mtctr r12 -/* 8028BD8C 00288CCC 4E 80 04 21 */ bctrl -/* 8028BD90 00288CD0 80 7F 02 EC */ lwz r3, 0x2ec(r31) -/* 8028BD94 00288CD4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BD98 00288CD8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028BD9C 00288CDC 7D 89 03 A6 */ mtctr r12 -/* 8028BDA0 00288CE0 4E 80 04 21 */ bctrl -/* 8028BDA4 00288CE4 80 7F 02 F0 */ lwz r3, 0x2f0(r31) -/* 8028BDA8 00288CE8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BDAC 00288CEC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8028BDB0 00288CF0 7D 89 03 A6 */ mtctr r12 -/* 8028BDB4 00288CF4 4E 80 04 21 */ bctrl -/* 8028BDB8 00288CF8 80 7F 02 F4 */ lwz r3, 0x2f4(r31) -/* 8028BDBC 00288CFC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BDC0 00288D00 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8028BDC4 00288D04 7D 89 03 A6 */ mtctr r12 -/* 8028BDC8 00288D08 4E 80 04 21 */ bctrl -/* 8028BDCC 00288D0C 80 7F 02 F8 */ lwz r3, 0x2f8(r31) -/* 8028BDD0 00288D10 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BDD4 00288D14 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8028BDD8 00288D18 7D 89 03 A6 */ mtctr r12 -/* 8028BDDC 00288D1C 4E 80 04 21 */ bctrl -/* 8028BDE0 00288D20 80 7F 02 FC */ lwz r3, 0x2fc(r31) -/* 8028BDE4 00288D24 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BDE8 00288D28 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8028BDEC 00288D2C 7D 89 03 A6 */ mtctr r12 -/* 8028BDF0 00288D30 4E 80 04 21 */ bctrl -/* 8028BDF4 00288D34 80 7F 03 00 */ lwz r3, 0x300(r31) -/* 8028BDF8 00288D38 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BDFC 00288D3C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028BE00 00288D40 7D 89 03 A6 */ mtctr r12 -/* 8028BE04 00288D44 4E 80 04 21 */ bctrl -/* 8028BE08 00288D48 80 7F 03 04 */ lwz r3, 0x304(r31) -/* 8028BE0C 00288D4C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BE10 00288D50 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028BE14 00288D54 7D 89 03 A6 */ mtctr r12 -/* 8028BE18 00288D58 4E 80 04 21 */ bctrl -/* 8028BE1C 00288D5C 80 7F 03 08 */ lwz r3, 0x308(r31) -/* 8028BE20 00288D60 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BE24 00288D64 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8028BE28 00288D68 7D 89 03 A6 */ mtctr r12 -/* 8028BE2C 00288D6C 4E 80 04 21 */ bctrl -/* 8028BE30 00288D70 80 7F 03 0C */ lwz r3, 0x30c(r31) -/* 8028BE34 00288D74 81 83 00 00 */ lwz r12, 0(r3) -/* 8028BE38 00288D78 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8028BE3C 00288D7C 7D 89 03 A6 */ mtctr r12 -/* 8028BE40 00288D80 4E 80 04 21 */ bctrl -/* 8028BE44 00288D84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BE48 00288D88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028BE4C 00288D8C 7C 08 03 A6 */ mtlr r0 -/* 8028BE50 00288D90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BE54 00288D94 4E 80 00 20 */ blr - -.global __dt__Q23efx13TQueenHanachoFv -__dt__Q23efx13TQueenHanachoFv: -/* 8028BE58 00288D98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BE5C 00288D9C 7C 08 02 A6 */ mflr r0 -/* 8028BE60 00288DA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BE64 00288DA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028BE68 00288DA8 7C 9F 23 78 */ mr r31, r4 -/* 8028BE6C 00288DAC 93 C1 00 08 */ stw r30, 8(r1) -/* 8028BE70 00288DB0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028BE74 00288DB4 41 82 00 64 */ beq lbl_8028BED8 -/* 8028BE78 00288DB8 3C 60 80 4D */ lis r3, __vt__Q23efx13TQueenHanacho@ha -/* 8028BE7C 00288DBC 38 63 9D 64 */ addi r3, r3, __vt__Q23efx13TQueenHanacho@l -/* 8028BE80 00288DC0 90 7E 00 00 */ stw r3, 0(r30) -/* 8028BE84 00288DC4 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028BE88 00288DC8 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BE8C 00288DCC 41 82 00 3C */ beq lbl_8028BEC8 -/* 8028BE90 00288DD0 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 8028BE94 00288DD4 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 8028BE98 00288DD8 90 7E 00 00 */ stw r3, 0(r30) -/* 8028BE9C 00288DDC 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028BEA0 00288DE0 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BEA4 00288DE4 41 82 00 24 */ beq lbl_8028BEC8 -/* 8028BEA8 00288DE8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028BEAC 00288DEC 38 7E 00 04 */ addi r3, r30, 4 -/* 8028BEB0 00288DF0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028BEB4 00288DF4 38 80 00 00 */ li r4, 0 -/* 8028BEB8 00288DF8 90 BE 00 00 */ stw r5, 0(r30) -/* 8028BEBC 00288DFC 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028BEC0 00288E00 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BEC4 00288E04 4B E0 3D D9 */ bl __dt__18JPAEmitterCallBackFv -lbl_8028BEC8: -/* 8028BEC8 00288E08 7F E0 07 35 */ extsh. r0, r31 -/* 8028BECC 00288E0C 40 81 00 0C */ ble lbl_8028BED8 -/* 8028BED0 00288E10 7F C3 F3 78 */ mr r3, r30 -/* 8028BED4 00288E14 4B D9 81 E1 */ bl __dl__FPv -lbl_8028BED8: -/* 8028BED8 00288E18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BEDC 00288E1C 7F C3 F3 78 */ mr r3, r30 -/* 8028BEE0 00288E20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028BEE4 00288E24 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028BEE8 00288E28 7C 08 03 A6 */ mtlr r0 -/* 8028BEEC 00288E2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BEF0 00288E30 4E 80 00 20 */ blr - -.global __dt__Q23efx12TQueenWakeupFv -__dt__Q23efx12TQueenWakeupFv: -/* 8028BEF4 00288E34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BEF8 00288E38 7C 08 02 A6 */ mflr r0 -/* 8028BEFC 00288E3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BF00 00288E40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028BF04 00288E44 7C 9F 23 78 */ mr r31, r4 -/* 8028BF08 00288E48 93 C1 00 08 */ stw r30, 8(r1) -/* 8028BF0C 00288E4C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028BF10 00288E50 41 82 00 64 */ beq lbl_8028BF74 -/* 8028BF14 00288E54 3C 60 80 4D */ lis r3, __vt__Q23efx12TQueenWakeup@ha -/* 8028BF18 00288E58 38 63 9D B0 */ addi r3, r3, __vt__Q23efx12TQueenWakeup@l -/* 8028BF1C 00288E5C 90 7E 00 00 */ stw r3, 0(r30) -/* 8028BF20 00288E60 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028BF24 00288E64 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BF28 00288E68 41 82 00 3C */ beq lbl_8028BF64 -/* 8028BF2C 00288E6C 3C 60 80 4E */ lis r3, __vt__Q23efx13TChasePosYRot@ha -/* 8028BF30 00288E70 38 63 68 F4 */ addi r3, r3, __vt__Q23efx13TChasePosYRot@l -/* 8028BF34 00288E74 90 7E 00 00 */ stw r3, 0(r30) -/* 8028BF38 00288E78 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028BF3C 00288E7C 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BF40 00288E80 41 82 00 24 */ beq lbl_8028BF64 -/* 8028BF44 00288E84 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028BF48 00288E88 38 7E 00 04 */ addi r3, r30, 4 -/* 8028BF4C 00288E8C 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028BF50 00288E90 38 80 00 00 */ li r4, 0 -/* 8028BF54 00288E94 90 BE 00 00 */ stw r5, 0(r30) -/* 8028BF58 00288E98 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028BF5C 00288E9C 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BF60 00288EA0 4B E0 3D 3D */ bl __dt__18JPAEmitterCallBackFv -lbl_8028BF64: -/* 8028BF64 00288EA4 7F E0 07 35 */ extsh. r0, r31 -/* 8028BF68 00288EA8 40 81 00 0C */ ble lbl_8028BF74 -/* 8028BF6C 00288EAC 7F C3 F3 78 */ mr r3, r30 -/* 8028BF70 00288EB0 4B D9 81 45 */ bl __dl__FPv -lbl_8028BF74: -/* 8028BF74 00288EB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028BF78 00288EB8 7F C3 F3 78 */ mr r3, r30 -/* 8028BF7C 00288EBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028BF80 00288EC0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028BF84 00288EC4 7C 08 03 A6 */ mtlr r0 -/* 8028BF88 00288EC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028BF8C 00288ECC 4E 80 00 20 */ blr - -.global __dt__Q23efx12TQueenDamageFv -__dt__Q23efx12TQueenDamageFv: -/* 8028BF90 00288ED0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028BF94 00288ED4 7C 08 02 A6 */ mflr r0 -/* 8028BF98 00288ED8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028BF9C 00288EDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028BFA0 00288EE0 7C 9F 23 78 */ mr r31, r4 -/* 8028BFA4 00288EE4 93 C1 00 08 */ stw r30, 8(r1) -/* 8028BFA8 00288EE8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028BFAC 00288EEC 41 82 00 64 */ beq lbl_8028C010 -/* 8028BFB0 00288EF0 3C 60 80 4D */ lis r3, __vt__Q23efx12TQueenDamage@ha -/* 8028BFB4 00288EF4 38 63 9E 34 */ addi r3, r3, __vt__Q23efx12TQueenDamage@l -/* 8028BFB8 00288EF8 90 7E 00 00 */ stw r3, 0(r30) -/* 8028BFBC 00288EFC 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028BFC0 00288F00 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BFC4 00288F04 41 82 00 3C */ beq lbl_8028C000 -/* 8028BFC8 00288F08 3C 60 80 4E */ lis r3, __vt__Q23efx13TChasePosYRot@ha -/* 8028BFCC 00288F0C 38 63 68 F4 */ addi r3, r3, __vt__Q23efx13TChasePosYRot@l -/* 8028BFD0 00288F10 90 7E 00 00 */ stw r3, 0(r30) -/* 8028BFD4 00288F14 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028BFD8 00288F18 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BFDC 00288F1C 41 82 00 24 */ beq lbl_8028C000 -/* 8028BFE0 00288F20 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028BFE4 00288F24 38 7E 00 04 */ addi r3, r30, 4 -/* 8028BFE8 00288F28 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028BFEC 00288F2C 38 80 00 00 */ li r4, 0 -/* 8028BFF0 00288F30 90 BE 00 00 */ stw r5, 0(r30) -/* 8028BFF4 00288F34 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028BFF8 00288F38 90 1E 00 04 */ stw r0, 4(r30) -/* 8028BFFC 00288F3C 4B E0 3C A1 */ bl __dt__18JPAEmitterCallBackFv -lbl_8028C000: -/* 8028C000 00288F40 7F E0 07 35 */ extsh. r0, r31 -/* 8028C004 00288F44 40 81 00 0C */ ble lbl_8028C010 -/* 8028C008 00288F48 7F C3 F3 78 */ mr r3, r30 -/* 8028C00C 00288F4C 4B D9 80 A9 */ bl __dl__FPv -lbl_8028C010: -/* 8028C010 00288F50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C014 00288F54 7F C3 F3 78 */ mr r3, r30 -/* 8028C018 00288F58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C01C 00288F5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028C020 00288F60 7C 08 03 A6 */ mtlr r0 -/* 8028C024 00288F64 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C028 00288F68 4E 80 00 20 */ blr - -.global __dt__Q23efx15TQueenCrashRockFv -__dt__Q23efx15TQueenCrashRockFv: -/* 8028C02C 00288F6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C030 00288F70 7C 08 02 A6 */ mflr r0 -/* 8028C034 00288F74 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C038 00288F78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C03C 00288F7C 7C 9F 23 78 */ mr r31, r4 -/* 8028C040 00288F80 93 C1 00 08 */ stw r30, 8(r1) -/* 8028C044 00288F84 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028C048 00288F88 41 82 00 64 */ beq lbl_8028C0AC -/* 8028C04C 00288F8C 3C 60 80 4D */ lis r3, __vt__Q23efx15TQueenCrashRock@ha -/* 8028C050 00288F90 38 63 9E 80 */ addi r3, r3, __vt__Q23efx15TQueenCrashRock@l -/* 8028C054 00288F94 90 7E 00 00 */ stw r3, 0(r30) -/* 8028C058 00288F98 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028C05C 00288F9C 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C060 00288FA0 41 82 00 3C */ beq lbl_8028C09C -/* 8028C064 00288FA4 3C 60 80 4E */ lis r3, __vt__Q23efx13TChasePosYRot@ha -/* 8028C068 00288FA8 38 63 68 F4 */ addi r3, r3, __vt__Q23efx13TChasePosYRot@l -/* 8028C06C 00288FAC 90 7E 00 00 */ stw r3, 0(r30) -/* 8028C070 00288FB0 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028C074 00288FB4 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C078 00288FB8 41 82 00 24 */ beq lbl_8028C09C -/* 8028C07C 00288FBC 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028C080 00288FC0 38 7E 00 04 */ addi r3, r30, 4 -/* 8028C084 00288FC4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028C088 00288FC8 38 80 00 00 */ li r4, 0 -/* 8028C08C 00288FCC 90 BE 00 00 */ stw r5, 0(r30) -/* 8028C090 00288FD0 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028C094 00288FD4 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C098 00288FD8 4B E0 3C 05 */ bl __dt__18JPAEmitterCallBackFv -lbl_8028C09C: -/* 8028C09C 00288FDC 7F E0 07 35 */ extsh. r0, r31 -/* 8028C0A0 00288FE0 40 81 00 0C */ ble lbl_8028C0AC -/* 8028C0A4 00288FE4 7F C3 F3 78 */ mr r3, r30 -/* 8028C0A8 00288FE8 4B D9 80 0D */ bl __dl__FPv -lbl_8028C0AC: -/* 8028C0AC 00288FEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C0B0 00288FF0 7F C3 F3 78 */ mr r3, r30 -/* 8028C0B4 00288FF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C0B8 00288FF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028C0BC 00288FFC 7C 08 03 A6 */ mtlr r0 -/* 8028C0C0 00289000 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C0C4 00289004 4E 80 00 20 */ blr - -.global __dt__Q23efx12TQueenCrashLFv -__dt__Q23efx12TQueenCrashLFv: -/* 8028C0C8 00289008 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C0CC 0028900C 7C 08 02 A6 */ mflr r0 -/* 8028C0D0 00289010 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C0D4 00289014 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C0D8 00289018 7C 9F 23 78 */ mr r31, r4 -/* 8028C0DC 0028901C 93 C1 00 08 */ stw r30, 8(r1) -/* 8028C0E0 00289020 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028C0E4 00289024 41 82 00 64 */ beq lbl_8028C148 -/* 8028C0E8 00289028 3C 60 80 4D */ lis r3, __vt__Q23efx12TQueenCrashL@ha -/* 8028C0EC 0028902C 38 63 9E CC */ addi r3, r3, __vt__Q23efx12TQueenCrashL@l -/* 8028C0F0 00289030 90 7E 00 00 */ stw r3, 0(r30) -/* 8028C0F4 00289034 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028C0F8 00289038 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C0FC 0028903C 41 82 00 3C */ beq lbl_8028C138 -/* 8028C100 00289040 3C 60 80 4E */ lis r3, __vt__Q23efx13TChasePosYRot@ha -/* 8028C104 00289044 38 63 68 F4 */ addi r3, r3, __vt__Q23efx13TChasePosYRot@l -/* 8028C108 00289048 90 7E 00 00 */ stw r3, 0(r30) -/* 8028C10C 0028904C 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028C110 00289050 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C114 00289054 41 82 00 24 */ beq lbl_8028C138 -/* 8028C118 00289058 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028C11C 0028905C 38 7E 00 04 */ addi r3, r30, 4 -/* 8028C120 00289060 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028C124 00289064 38 80 00 00 */ li r4, 0 -/* 8028C128 00289068 90 BE 00 00 */ stw r5, 0(r30) -/* 8028C12C 0028906C 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028C130 00289070 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C134 00289074 4B E0 3B 69 */ bl __dt__18JPAEmitterCallBackFv -lbl_8028C138: -/* 8028C138 00289078 7F E0 07 35 */ extsh. r0, r31 -/* 8028C13C 0028907C 40 81 00 0C */ ble lbl_8028C148 -/* 8028C140 00289080 7F C3 F3 78 */ mr r3, r30 -/* 8028C144 00289084 4B D9 7F 71 */ bl __dl__FPv -lbl_8028C148: -/* 8028C148 00289088 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C14C 0028908C 7F C3 F3 78 */ mr r3, r30 -/* 8028C150 00289090 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C154 00289094 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028C158 00289098 7C 08 03 A6 */ mtlr r0 -/* 8028C15C 0028909C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C160 002890A0 4E 80 00 20 */ blr - -.global __dt__Q23efx12TQueenCrashRFv -__dt__Q23efx12TQueenCrashRFv: -/* 8028C164 002890A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C168 002890A8 7C 08 02 A6 */ mflr r0 -/* 8028C16C 002890AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C170 002890B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C174 002890B4 7C 9F 23 78 */ mr r31, r4 -/* 8028C178 002890B8 93 C1 00 08 */ stw r30, 8(r1) -/* 8028C17C 002890BC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028C180 002890C0 41 82 00 64 */ beq lbl_8028C1E4 -/* 8028C184 002890C4 3C 60 80 4D */ lis r3, __vt__Q23efx12TQueenCrashR@ha -/* 8028C188 002890C8 38 63 9F 18 */ addi r3, r3, __vt__Q23efx12TQueenCrashR@l -/* 8028C18C 002890CC 90 7E 00 00 */ stw r3, 0(r30) -/* 8028C190 002890D0 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028C194 002890D4 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C198 002890D8 41 82 00 3C */ beq lbl_8028C1D4 -/* 8028C19C 002890DC 3C 60 80 4E */ lis r3, __vt__Q23efx13TChasePosYRot@ha -/* 8028C1A0 002890E0 38 63 68 F4 */ addi r3, r3, __vt__Q23efx13TChasePosYRot@l -/* 8028C1A4 002890E4 90 7E 00 00 */ stw r3, 0(r30) -/* 8028C1A8 002890E8 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028C1AC 002890EC 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C1B0 002890F0 41 82 00 24 */ beq lbl_8028C1D4 -/* 8028C1B4 002890F4 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028C1B8 002890F8 38 7E 00 04 */ addi r3, r30, 4 -/* 8028C1BC 002890FC 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028C1C0 00289100 38 80 00 00 */ li r4, 0 -/* 8028C1C4 00289104 90 BE 00 00 */ stw r5, 0(r30) -/* 8028C1C8 00289108 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028C1CC 0028910C 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C1D0 00289110 4B E0 3A CD */ bl __dt__18JPAEmitterCallBackFv -lbl_8028C1D4: -/* 8028C1D4 00289114 7F E0 07 35 */ extsh. r0, r31 -/* 8028C1D8 00289118 40 81 00 0C */ ble lbl_8028C1E4 -/* 8028C1DC 0028911C 7F C3 F3 78 */ mr r3, r30 -/* 8028C1E0 00289120 4B D9 7E D5 */ bl __dl__FPv -lbl_8028C1E4: -/* 8028C1E4 00289124 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C1E8 00289128 7F C3 F3 78 */ mr r3, r30 -/* 8028C1EC 0028912C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C1F0 00289130 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028C1F4 00289134 7C 08 03 A6 */ mtlr r0 -/* 8028C1F8 00289138 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C1FC 0028913C 4E 80 00 20 */ blr - -.global __dt__Q23efx9TQueenLayFv -__dt__Q23efx9TQueenLayFv: -/* 8028C200 00289140 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C204 00289144 7C 08 02 A6 */ mflr r0 -/* 8028C208 00289148 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C20C 0028914C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C210 00289150 7C 9F 23 78 */ mr r31, r4 -/* 8028C214 00289154 93 C1 00 08 */ stw r30, 8(r1) -/* 8028C218 00289158 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028C21C 0028915C 41 82 00 64 */ beq lbl_8028C280 -/* 8028C220 00289160 3C 60 80 4D */ lis r3, __vt__Q23efx9TQueenLay@ha -/* 8028C224 00289164 38 63 9F B8 */ addi r3, r3, __vt__Q23efx9TQueenLay@l -/* 8028C228 00289168 90 7E 00 00 */ stw r3, 0(r30) -/* 8028C22C 0028916C 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028C230 00289170 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C234 00289174 41 82 00 3C */ beq lbl_8028C270 -/* 8028C238 00289178 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 8028C23C 0028917C 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 8028C240 00289180 90 7E 00 00 */ stw r3, 0(r30) -/* 8028C244 00289184 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028C248 00289188 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C24C 0028918C 41 82 00 24 */ beq lbl_8028C270 -/* 8028C250 00289190 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028C254 00289194 38 7E 00 04 */ addi r3, r30, 4 -/* 8028C258 00289198 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028C25C 0028919C 38 80 00 00 */ li r4, 0 -/* 8028C260 002891A0 90 BE 00 00 */ stw r5, 0(r30) -/* 8028C264 002891A4 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028C268 002891A8 90 1E 00 04 */ stw r0, 4(r30) -/* 8028C26C 002891AC 4B E0 3A 31 */ bl __dt__18JPAEmitterCallBackFv -lbl_8028C270: -/* 8028C270 002891B0 7F E0 07 35 */ extsh. r0, r31 -/* 8028C274 002891B4 40 81 00 0C */ ble lbl_8028C280 -/* 8028C278 002891B8 7F C3 F3 78 */ mr r3, r30 -/* 8028C27C 002891BC 4B D9 7E 39 */ bl __dl__FPv -lbl_8028C280: -/* 8028C280 002891C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C284 002891C4 7F C3 F3 78 */ mr r3, r30 -/* 8028C288 002891C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C28C 002891CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028C290 002891D0 7C 08 03 A6 */ mtlr r0 -/* 8028C294 002891D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C298 002891D8 4E 80 00 20 */ blr - -.global __ml__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1Fv -__ml__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1Fv: -/* 8028C29C 002891DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C2A0 002891E0 7C 08 02 A6 */ mflr r0 -/* 8028C2A4 002891E4 7C 64 1B 78 */ mr r4, r3 -/* 8028C2A8 002891E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C2AC 002891EC 80 63 00 08 */ lwz r3, 8(r3) -/* 8028C2B0 002891F0 80 84 00 04 */ lwz r4, 4(r4) -/* 8028C2B4 002891F4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C2B8 002891F8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028C2BC 002891FC 7D 89 03 A6 */ mtctr r12 -/* 8028C2C0 00289200 4E 80 04 21 */ bctrl -/* 8028C2C4 00289204 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C2C8 00289208 7C 08 03 A6 */ mtlr r0 -/* 8028C2CC 0028920C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C2D0 00289210 4E 80 00 20 */ blr - -.global next__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1Fv -next__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1Fv: -/* 8028C2D4 00289214 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C2D8 00289218 7C 08 02 A6 */ mflr r0 -/* 8028C2DC 0028921C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C2E0 00289220 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C2E4 00289224 7C 7F 1B 78 */ mr r31, r3 -/* 8028C2E8 00289228 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8028C2EC 0028922C 28 00 00 00 */ cmplwi r0, 0 -/* 8028C2F0 00289230 40 82 00 24 */ bne lbl_8028C314 -/* 8028C2F4 00289234 80 7F 00 08 */ lwz r3, 8(r31) -/* 8028C2F8 00289238 80 9F 00 04 */ lwz r4, 4(r31) -/* 8028C2FC 0028923C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C300 00289240 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028C304 00289244 7D 89 03 A6 */ mtctr r12 -/* 8028C308 00289248 4E 80 04 21 */ bctrl -/* 8028C30C 0028924C 90 7F 00 04 */ stw r3, 4(r31) -/* 8028C310 00289250 48 00 00 94 */ b lbl_8028C3A4 -lbl_8028C314: -/* 8028C314 00289254 80 7F 00 08 */ lwz r3, 8(r31) -/* 8028C318 00289258 80 9F 00 04 */ lwz r4, 4(r31) -/* 8028C31C 0028925C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C320 00289260 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028C324 00289264 7D 89 03 A6 */ mtctr r12 -/* 8028C328 00289268 4E 80 04 21 */ bctrl -/* 8028C32C 0028926C 90 7F 00 04 */ stw r3, 4(r31) -/* 8028C330 00289270 48 00 00 58 */ b lbl_8028C388 -lbl_8028C334: -/* 8028C334 00289274 80 7F 00 08 */ lwz r3, 8(r31) -/* 8028C338 00289278 80 9F 00 04 */ lwz r4, 4(r31) -/* 8028C33C 0028927C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C340 00289280 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028C344 00289284 7D 89 03 A6 */ mtctr r12 -/* 8028C348 00289288 4E 80 04 21 */ bctrl -/* 8028C34C 0028928C 7C 64 1B 78 */ mr r4, r3 -/* 8028C350 00289290 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8028C354 00289294 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C358 00289298 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028C35C 0028929C 7D 89 03 A6 */ mtctr r12 -/* 8028C360 002892A0 4E 80 04 21 */ bctrl -/* 8028C364 002892A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028C368 002892A8 40 82 00 3C */ bne lbl_8028C3A4 -/* 8028C36C 002892AC 80 7F 00 08 */ lwz r3, 8(r31) -/* 8028C370 002892B0 80 9F 00 04 */ lwz r4, 4(r31) -/* 8028C374 002892B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C378 002892B8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028C37C 002892BC 7D 89 03 A6 */ mtctr r12 -/* 8028C380 002892C0 4E 80 04 21 */ bctrl -/* 8028C384 002892C4 90 7F 00 04 */ stw r3, 4(r31) -lbl_8028C388: -/* 8028C388 002892C8 7F E3 FB 78 */ mr r3, r31 -/* 8028C38C 002892CC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028C390 002892D0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028C394 002892D4 7D 89 03 A6 */ mtctr r12 -/* 8028C398 002892D8 4E 80 04 21 */ bctrl -/* 8028C39C 002892DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028C3A0 002892E0 41 82 FF 94 */ beq lbl_8028C334 -lbl_8028C3A4: -/* 8028C3A4 002892E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C3A8 002892E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C3AC 002892EC 7C 08 03 A6 */ mtlr r0 -/* 8028C3B0 002892F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C3B4 002892F4 4E 80 00 20 */ blr - -.global first__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1Fv -first__Q24Game31EnemyIterator$$0Q34Game4Baby3Obj$$1Fv: -/* 8028C3B8 002892F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C3BC 002892FC 7C 08 02 A6 */ mflr r0 -/* 8028C3C0 00289300 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C3C4 00289304 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C3C8 00289308 7C 7F 1B 78 */ mr r31, r3 -/* 8028C3CC 0028930C 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8028C3D0 00289310 28 00 00 00 */ cmplwi r0, 0 -/* 8028C3D4 00289314 40 82 00 20 */ bne lbl_8028C3F4 -/* 8028C3D8 00289318 80 7F 00 08 */ lwz r3, 8(r31) -/* 8028C3DC 0028931C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C3E0 00289320 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028C3E4 00289324 7D 89 03 A6 */ mtctr r12 -/* 8028C3E8 00289328 4E 80 04 21 */ bctrl -/* 8028C3EC 0028932C 90 7F 00 04 */ stw r3, 4(r31) -/* 8028C3F0 00289330 48 00 00 90 */ b lbl_8028C480 -lbl_8028C3F4: -/* 8028C3F4 00289334 80 7F 00 08 */ lwz r3, 8(r31) -/* 8028C3F8 00289338 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C3FC 0028933C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028C400 00289340 7D 89 03 A6 */ mtctr r12 -/* 8028C404 00289344 4E 80 04 21 */ bctrl -/* 8028C408 00289348 90 7F 00 04 */ stw r3, 4(r31) -/* 8028C40C 0028934C 48 00 00 58 */ b lbl_8028C464 -lbl_8028C410: -/* 8028C410 00289350 80 7F 00 08 */ lwz r3, 8(r31) -/* 8028C414 00289354 80 9F 00 04 */ lwz r4, 4(r31) -/* 8028C418 00289358 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C41C 0028935C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028C420 00289360 7D 89 03 A6 */ mtctr r12 -/* 8028C424 00289364 4E 80 04 21 */ bctrl -/* 8028C428 00289368 7C 64 1B 78 */ mr r4, r3 -/* 8028C42C 0028936C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8028C430 00289370 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C434 00289374 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028C438 00289378 7D 89 03 A6 */ mtctr r12 -/* 8028C43C 0028937C 4E 80 04 21 */ bctrl -/* 8028C440 00289380 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028C444 00289384 40 82 00 3C */ bne lbl_8028C480 -/* 8028C448 00289388 80 7F 00 08 */ lwz r3, 8(r31) -/* 8028C44C 0028938C 80 9F 00 04 */ lwz r4, 4(r31) -/* 8028C450 00289390 81 83 00 00 */ lwz r12, 0(r3) -/* 8028C454 00289394 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028C458 00289398 7D 89 03 A6 */ mtctr r12 -/* 8028C45C 0028939C 4E 80 04 21 */ bctrl -/* 8028C460 002893A0 90 7F 00 04 */ stw r3, 4(r31) -lbl_8028C464: -/* 8028C464 002893A4 7F E3 FB 78 */ mr r3, r31 -/* 8028C468 002893A8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028C46C 002893AC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028C470 002893B0 7D 89 03 A6 */ mtctr r12 -/* 8028C474 002893B4 4E 80 04 21 */ bctrl -/* 8028C478 002893B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028C47C 002893BC 41 82 FF 94 */ beq lbl_8028C410 -lbl_8028C480: -/* 8028C480 002893C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C484 002893C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C488 002893C8 7C 08 03 A6 */ mtlr r0 -/* 8028C48C 002893CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C490 002893D0 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game5Queen3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game5Queen3ObjFPQ24Game8WaterBox: -/* 8028C494 002893D4 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game5Queen3ObjFv -outWaterCallback__Q34Game5Queen3ObjFv: -/* 8028C498 002893D8 4E 80 00 20 */ blr - -.global getDamageCoeStoneState__Q34Game5Queen3ObjFv -getDamageCoeStoneState__Q34Game5Queen3ObjFv: -/* 8028C49C 002893DC C0 22 D5 24 */ lfs f1, lbl_8051B884@sda21(r2) -/* 8028C4A0 002893E0 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Queen3ObjFv -getEnemyTypeID__Q34Game5Queen3ObjFv: -/* 8028C4A4 002893E4 38 60 00 1E */ li r3, 0x1e -/* 8028C4A8 002893E8 4E 80 00 20 */ blr - -.global __sinit_Queen_cpp -__sinit_Queen_cpp: -/* 8028C4AC 002893EC 3C 80 80 51 */ lis r4, __float_nan@ha -/* 8028C4B0 002893F0 38 00 FF FF */ li r0, -1 -/* 8028C4B4 002893F4 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 8028C4B8 002893F8 3C 60 80 4D */ lis r3, lbl_804C9D20@ha -/* 8028C4BC 002893FC 90 0D 96 D0 */ stw r0, lbl_80515D50@sda21(r13) -/* 8028C4C0 00289400 D4 03 9D 20 */ stfsu f0, lbl_804C9D20@l(r3) -/* 8028C4C4 00289404 D0 0D 96 D4 */ stfs f0, lbl_80515D54@sda21(r13) -/* 8028C4C8 00289408 D0 03 00 04 */ stfs f0, 4(r3) -/* 8028C4CC 0028940C D0 03 00 08 */ stfs f0, 8(r3) -/* 8028C4D0 00289410 4E 80 00 20 */ blr - -.global $$2784$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2784$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 8028C4D4 00289414 39 60 00 0C */ li r11, 0xc -/* 8028C4D8 00289418 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8028C4DC 0028941C 7C 63 5A 14 */ add r3, r3, r11 -/* 8028C4E0 00289420 38 63 FC F0 */ addi r3, r3, -784 -/* 8028C4E4 00289424 4B E7 A4 38 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2784$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2784$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 8028C4E8 00289428 39 60 00 0C */ li r11, 0xc -/* 8028C4EC 0028942C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8028C4F0 00289430 7C 63 5A 14 */ add r3, r3, r11 -/* 8028C4F4 00289434 38 63 FC F0 */ addi r3, r3, -784 -/* 8028C4F8 00289438 4B E7 A1 B0 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2784$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2784$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 8028C4FC 0028943C 39 60 00 0C */ li r11, 0xc -/* 8028C500 00289440 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8028C504 00289444 7C 63 5A 14 */ add r3, r3, r11 -/* 8028C508 00289448 38 63 FC F0 */ addi r3, r3, -784 -/* 8028C50C 0028944C 4B E7 A1 BC */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2784$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2784$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 8028C510 00289450 39 60 00 0C */ li r11, 0xc -/* 8028C514 00289454 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8028C518 00289458 7C 63 5A 14 */ add r3, r3, r11 -/* 8028C51C 0028945C 38 63 FC F0 */ addi r3, r3, -784 -/* 8028C520 00289460 4B E7 A5 58 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2784$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2784$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 8028C524 00289464 39 60 00 0C */ li r11, 0xc -/* 8028C528 00289468 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8028C52C 0028946C 7C 63 5A 14 */ add r3, r3, r11 -/* 8028C530 00289470 38 63 FC F0 */ addi r3, r3, -784 -/* 8028C534 00289474 4B E7 A5 18 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2784$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2784$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 8028C538 00289478 39 60 00 0C */ li r11, 0xc -/* 8028C53C 0028947C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 8028C540 00289480 7C 63 5A 14 */ add r3, r3, r11 -/* 8028C544 00289484 38 63 FC F0 */ addi r3, r3, -784 -/* 8028C548 00289488 4B E7 A1 58 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2__dt__Q23efx9TQueenLayFv -$$24$$2__dt__Q23efx9TQueenLayFv: -/* 8028C54C 0028948C 38 63 FF FC */ addi r3, r3, -4 -/* 8028C550 00289490 4B FF FC B0 */ b __dt__Q23efx9TQueenLayFv - -.global $$24$$2__dt__Q23efx12TQueenCrashRFv -$$24$$2__dt__Q23efx12TQueenCrashRFv: -/* 8028C554 00289494 38 63 FF FC */ addi r3, r3, -4 -/* 8028C558 00289498 4B FF FC 0C */ b __dt__Q23efx12TQueenCrashRFv - -.global $$24$$2__dt__Q23efx12TQueenCrashLFv -$$24$$2__dt__Q23efx12TQueenCrashLFv: -/* 8028C55C 0028949C 38 63 FF FC */ addi r3, r3, -4 -/* 8028C560 002894A0 4B FF FB 68 */ b __dt__Q23efx12TQueenCrashLFv - -.global $$24$$2__dt__Q23efx15TQueenCrashRockFv -$$24$$2__dt__Q23efx15TQueenCrashRockFv: -/* 8028C564 002894A4 38 63 FF FC */ addi r3, r3, -4 -/* 8028C568 002894A8 4B FF FA C4 */ b __dt__Q23efx15TQueenCrashRockFv - -.global $$24$$2__dt__Q23efx12TQueenDamageFv -$$24$$2__dt__Q23efx12TQueenDamageFv: -/* 8028C56C 002894AC 38 63 FF FC */ addi r3, r3, -4 -/* 8028C570 002894B0 4B FF FA 20 */ b __dt__Q23efx12TQueenDamageFv - -.global $$24$$2__dt__Q23efx12TQueenWakeupFv -$$24$$2__dt__Q23efx12TQueenWakeupFv: -/* 8028C574 002894B4 38 63 FF FC */ addi r3, r3, -4 -/* 8028C578 002894B8 4B FF F9 7C */ b __dt__Q23efx12TQueenWakeupFv - -.global $$24$$2__dt__Q23efx13TQueenHanachoFv -$$24$$2__dt__Q23efx13TQueenHanachoFv: -/* 8028C57C 002894BC 38 63 FF FC */ addi r3, r3, -4 -/* 8028C580 002894C0 4B FF F8 D8 */ b __dt__Q23efx13TQueenHanachoFv - -.global init__Q34Game4Baby3FSMFPQ24Game9EnemyBase -init__Q34Game4Baby3FSMFPQ24Game9EnemyBase: -/* 8028C584 002894C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C588 002894C8 7C 08 02 A6 */ mflr r0 -/* 8028C58C 002894CC 38 80 00 05 */ li r4, 5 -/* 8028C590 002894D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C594 002894D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C598 002894D8 7C 7F 1B 78 */ mr r31, r3 -/* 8028C59C 002894DC 4B EA 42 C9 */ bl create__Q24Game17EnemyStateMachineFi -/* 8028C5A0 002894E0 38 60 00 10 */ li r3, 0x10 -/* 8028C5A4 002894E4 4B D9 79 01 */ bl __nw__FUl -/* 8028C5A8 002894E8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028C5AC 002894EC 41 82 00 3C */ beq lbl_8028C5E8 -/* 8028C5B0 002894F0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8028C5B4 002894F4 3C A0 80 4D */ lis r5, __vt__Q34Game4Baby5State@ha -/* 8028C5B8 002894F8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028C5BC 002894FC 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby9StateDead@ha -/* 8028C5C0 00289500 90 04 00 00 */ stw r0, 0(r4) -/* 8028C5C4 00289504 38 E0 00 00 */ li r7, 0 -/* 8028C5C8 00289508 38 C5 A4 10 */ addi r6, r5, __vt__Q34Game4Baby5State@l -/* 8028C5CC 0028950C 38 A2 D5 28 */ addi r5, r2, lbl_8051B888@sda21 -/* 8028C5D0 00289510 90 E4 00 04 */ stw r7, 4(r4) -/* 8028C5D4 00289514 38 03 A3 EC */ addi r0, r3, __vt__Q34Game4Baby9StateDead@l -/* 8028C5D8 00289518 90 E4 00 08 */ stw r7, 8(r4) -/* 8028C5DC 0028951C 90 C4 00 00 */ stw r6, 0(r4) -/* 8028C5E0 00289520 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8028C5E4 00289524 90 04 00 00 */ stw r0, 0(r4) -lbl_8028C5E8: -/* 8028C5E8 00289528 7F E3 FB 78 */ mr r3, r31 -/* 8028C5EC 0028952C 4B EA 43 1D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8028C5F0 00289530 38 60 00 10 */ li r3, 0x10 -/* 8028C5F4 00289534 4B D9 78 B1 */ bl __nw__FUl -/* 8028C5F8 00289538 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028C5FC 0028953C 41 82 00 40 */ beq lbl_8028C63C -/* 8028C600 00289540 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8028C604 00289544 3C A0 80 4D */ lis r5, __vt__Q34Game4Baby5State@ha -/* 8028C608 00289548 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028C60C 0028954C 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby10StatePress@ha -/* 8028C610 00289550 90 04 00 00 */ stw r0, 0(r4) -/* 8028C614 00289554 38 00 00 01 */ li r0, 1 -/* 8028C618 00289558 38 E0 00 00 */ li r7, 0 -/* 8028C61C 0028955C 38 C5 A4 10 */ addi r6, r5, __vt__Q34Game4Baby5State@l -/* 8028C620 00289560 90 04 00 04 */ stw r0, 4(r4) -/* 8028C624 00289564 38 A2 D5 30 */ addi r5, r2, lbl_8051B890@sda21 -/* 8028C628 00289568 38 03 A3 C8 */ addi r0, r3, __vt__Q34Game4Baby10StatePress@l -/* 8028C62C 0028956C 90 E4 00 08 */ stw r7, 8(r4) -/* 8028C630 00289570 90 C4 00 00 */ stw r6, 0(r4) -/* 8028C634 00289574 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8028C638 00289578 90 04 00 00 */ stw r0, 0(r4) -lbl_8028C63C: -/* 8028C63C 0028957C 7F E3 FB 78 */ mr r3, r31 -/* 8028C640 00289580 4B EA 42 C9 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8028C644 00289584 38 60 00 10 */ li r3, 0x10 -/* 8028C648 00289588 4B D9 78 5D */ bl __nw__FUl -/* 8028C64C 0028958C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028C650 00289590 41 82 00 40 */ beq lbl_8028C690 -/* 8028C654 00289594 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8028C658 00289598 3C A0 80 4D */ lis r5, __vt__Q34Game4Baby5State@ha -/* 8028C65C 0028959C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028C660 002895A0 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby9StateBorn@ha -/* 8028C664 002895A4 90 04 00 00 */ stw r0, 0(r4) -/* 8028C668 002895A8 38 00 00 02 */ li r0, 2 -/* 8028C66C 002895AC 38 E0 00 00 */ li r7, 0 -/* 8028C670 002895B0 38 C5 A4 10 */ addi r6, r5, __vt__Q34Game4Baby5State@l -/* 8028C674 002895B4 90 04 00 04 */ stw r0, 4(r4) -/* 8028C678 002895B8 38 A2 D5 38 */ addi r5, r2, lbl_8051B898@sda21 -/* 8028C67C 002895BC 38 03 A3 90 */ addi r0, r3, __vt__Q34Game4Baby9StateBorn@l -/* 8028C680 002895C0 90 E4 00 08 */ stw r7, 8(r4) -/* 8028C684 002895C4 90 C4 00 00 */ stw r6, 0(r4) -/* 8028C688 002895C8 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8028C68C 002895CC 90 04 00 00 */ stw r0, 0(r4) -lbl_8028C690: -/* 8028C690 002895D0 7F E3 FB 78 */ mr r3, r31 -/* 8028C694 002895D4 4B EA 42 75 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8028C698 002895D8 38 60 00 10 */ li r3, 0x10 -/* 8028C69C 002895DC 4B D9 78 09 */ bl __nw__FUl -/* 8028C6A0 002895E0 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028C6A4 002895E4 41 82 00 40 */ beq lbl_8028C6E4 -/* 8028C6A8 002895E8 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8028C6AC 002895EC 3C A0 80 4D */ lis r5, __vt__Q34Game4Baby5State@ha -/* 8028C6B0 002895F0 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028C6B4 002895F4 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby9StateMove@ha -/* 8028C6B8 002895F8 90 04 00 00 */ stw r0, 0(r4) -/* 8028C6BC 002895FC 38 00 00 03 */ li r0, 3 -/* 8028C6C0 00289600 38 E0 00 00 */ li r7, 0 -/* 8028C6C4 00289604 38 C5 A4 10 */ addi r6, r5, __vt__Q34Game4Baby5State@l -/* 8028C6C8 00289608 90 04 00 04 */ stw r0, 4(r4) -/* 8028C6CC 0028960C 38 A2 D5 40 */ addi r5, r2, lbl_8051B8A0@sda21 -/* 8028C6D0 00289610 38 03 A3 6C */ addi r0, r3, __vt__Q34Game4Baby9StateMove@l -/* 8028C6D4 00289614 90 E4 00 08 */ stw r7, 8(r4) -/* 8028C6D8 00289618 90 C4 00 00 */ stw r6, 0(r4) -/* 8028C6DC 0028961C 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8028C6E0 00289620 90 04 00 00 */ stw r0, 0(r4) -lbl_8028C6E4: -/* 8028C6E4 00289624 7F E3 FB 78 */ mr r3, r31 -/* 8028C6E8 00289628 4B EA 42 21 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8028C6EC 0028962C 38 60 00 10 */ li r3, 0x10 -/* 8028C6F0 00289630 4B D9 77 B5 */ bl __nw__FUl -/* 8028C6F4 00289634 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028C6F8 00289638 41 82 00 40 */ beq lbl_8028C738 -/* 8028C6FC 0028963C 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8028C700 00289640 3C A0 80 4D */ lis r5, __vt__Q34Game4Baby5State@ha -/* 8028C704 00289644 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8028C708 00289648 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby11StateAttack@ha -/* 8028C70C 0028964C 90 04 00 00 */ stw r0, 0(r4) -/* 8028C710 00289650 38 00 00 04 */ li r0, 4 -/* 8028C714 00289654 38 E0 00 00 */ li r7, 0 -/* 8028C718 00289658 38 C5 A4 10 */ addi r6, r5, __vt__Q34Game4Baby5State@l -/* 8028C71C 0028965C 90 04 00 04 */ stw r0, 4(r4) -/* 8028C720 00289660 38 A2 D5 48 */ addi r5, r2, lbl_8051B8A8@sda21 -/* 8028C724 00289664 38 03 A3 48 */ addi r0, r3, __vt__Q34Game4Baby11StateAttack@l -/* 8028C728 00289668 90 E4 00 08 */ stw r7, 8(r4) -/* 8028C72C 0028966C 90 C4 00 00 */ stw r6, 0(r4) -/* 8028C730 00289670 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8028C734 00289674 90 04 00 00 */ stw r0, 0(r4) -lbl_8028C738: -/* 8028C738 00289678 7F E3 FB 78 */ mr r3, r31 -/* 8028C73C 0028967C 4B EA 41 CD */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8028C740 00289680 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C744 00289684 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C748 00289688 7C 08 03 A6 */ mtlr r0 -/* 8028C74C 0028968C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C750 00289690 4E 80 00 20 */ blr - -.global init__Q34Game4Baby9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Baby9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028C754 00289694 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C758 00289698 7C 08 02 A6 */ mflr r0 -/* 8028C75C 0028969C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C760 002896A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C764 002896A4 7C 9F 23 78 */ mr r31, r4 -/* 8028C768 002896A8 7F E3 FB 78 */ mr r3, r31 -/* 8028C76C 002896AC 48 00 15 E9 */ bl createHoney__Q34Game4Baby3ObjFv -/* 8028C770 002896B0 7F E3 FB 78 */ mr r3, r31 -/* 8028C774 002896B4 4B E7 8F AD */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 8028C778 002896B8 C0 02 D5 50 */ lfs f0, lbl_8051B8B0@sda21(r2) -/* 8028C77C 002896BC 7F E3 FB 78 */ mr r3, r31 -/* 8028C780 002896C0 38 80 00 00 */ li r4, 0 -/* 8028C784 002896C4 38 A0 00 00 */ li r5, 0 -/* 8028C788 002896C8 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8028C78C 002896CC D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8028C790 002896D0 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8028C794 002896D4 4B E7 88 71 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028C798 002896D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C79C 002896DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C7A0 002896E0 7C 08 03 A6 */ mtlr r0 -/* 8028C7A4 002896E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C7A8 002896E8 4E 80 00 20 */ blr - -.global exec__Q34Game4Baby9StateDeadFPQ24Game9EnemyBase -exec__Q34Game4Baby9StateDeadFPQ24Game9EnemyBase: -/* 8028C7AC 002896EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C7B0 002896F0 7C 08 02 A6 */ mflr r0 -/* 8028C7B4 002896F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C7B8 002896F8 80 64 01 88 */ lwz r3, 0x188(r4) -/* 8028C7BC 002896FC 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8028C7C0 00289700 28 00 00 00 */ cmplwi r0, 0 -/* 8028C7C4 00289704 41 82 00 1C */ beq lbl_8028C7E0 -/* 8028C7C8 00289708 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8028C7CC 0028970C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8028C7D0 00289710 40 82 00 10 */ bne lbl_8028C7E0 -/* 8028C7D4 00289714 7C 83 23 78 */ mr r3, r4 -/* 8028C7D8 00289718 38 80 00 00 */ li r4, 0 -/* 8028C7DC 0028971C 4B EA E9 15 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_8028C7E0: -/* 8028C7E0 00289720 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C7E4 00289724 7C 08 03 A6 */ mtlr r0 -/* 8028C7E8 00289728 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C7EC 0028972C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Baby9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game4Baby9StateDeadFPQ24Game9EnemyBase: -/* 8028C7F0 00289730 4E 80 00 20 */ blr - -.global init__Q34Game4Baby10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Baby10StatePressFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028C7F4 00289734 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8028C7F8 00289738 7C 08 02 A6 */ mflr r0 -/* 8028C7FC 0028973C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028C800 00289740 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8028C804 00289744 7C 9F 23 78 */ mr r31, r4 -/* 8028C808 00289748 7F E3 FB 78 */ mr r3, r31 -/* 8028C80C 0028974C 48 00 15 49 */ bl createHoney__Q34Game4Baby3ObjFv -/* 8028C810 00289750 C0 02 D5 50 */ lfs f0, lbl_8051B8B0@sda21(r2) -/* 8028C814 00289754 7F E3 FB 78 */ mr r3, r31 -/* 8028C818 00289758 D0 1F 02 00 */ stfs f0, 0x200(r31) -/* 8028C81C 0028975C 4B E7 8F 05 */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 8028C820 00289760 C0 02 D5 50 */ lfs f0, lbl_8051B8B0@sda21(r2) -/* 8028C824 00289764 7F E3 FB 78 */ mr r3, r31 -/* 8028C828 00289768 38 80 00 01 */ li r4, 1 -/* 8028C82C 0028976C 38 A0 00 00 */ li r5, 0 -/* 8028C830 00289770 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8028C834 00289774 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8028C838 00289778 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 8028C83C 0028977C 4B E7 87 C9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028C840 00289780 7F E4 FB 78 */ mr r4, r31 -/* 8028C844 00289784 38 61 00 08 */ addi r3, r1, 8 -/* 8028C848 00289788 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028C84C 0028978C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028C850 00289790 7D 89 03 A6 */ mtctr r12 -/* 8028C854 00289794 4E 80 04 21 */ bctrl -/* 8028C858 00289798 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028C85C 0028979C 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 8028C860 002897A0 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028C864 002897A4 C0 41 00 08 */ lfs f2, 8(r1) -/* 8028C868 002897A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C86C 002897AC 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 8028C870 002897B0 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8028C874 002897B4 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 8028C878 002897B8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8028C87C 002897BC 3C 60 80 4D */ lis r3, __vt__Q23efx10TBabyBecha@ha -/* 8028C880 002897C0 38 84 A7 EC */ addi r4, r4, __vt__Q23efx3Arg@l -/* 8028C884 002897C4 38 C0 00 03 */ li r6, 3 -/* 8028C888 002897C8 38 A0 00 00 */ li r5, 0 -/* 8028C88C 002897CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C890 002897D0 38 03 A3 B4 */ addi r0, r3, __vt__Q23efx10TBabyBecha@l -/* 8028C894 002897D4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028C898 002897D8 90 81 00 20 */ stw r4, 0x20(r1) -/* 8028C89C 002897DC 38 81 00 20 */ addi r4, r1, 0x20 -/* 8028C8A0 002897E0 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8028C8A4 002897E4 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8028C8A8 002897E8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8028C8AC 002897EC B0 C1 00 18 */ sth r6, 0x18(r1) -/* 8028C8B0 002897F0 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8028C8B4 002897F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C8B8 002897F8 48 12 26 CD */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 8028C8BC 002897FC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028C8C0 00289800 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8028C8C4 00289804 7C 08 03 A6 */ mtlr r0 -/* 8028C8C8 00289808 38 21 00 40 */ addi r1, r1, 0x40 -/* 8028C8CC 0028980C 4E 80 00 20 */ blr - -.global exec__Q34Game4Baby10StatePressFPQ24Game9EnemyBase -exec__Q34Game4Baby10StatePressFPQ24Game9EnemyBase: -/* 8028C8D0 00289810 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C8D4 00289814 7C 08 02 A6 */ mflr r0 -/* 8028C8D8 00289818 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C8DC 0028981C 80 64 01 88 */ lwz r3, 0x188(r4) -/* 8028C8E0 00289820 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8028C8E4 00289824 28 00 00 00 */ cmplwi r0, 0 -/* 8028C8E8 00289828 41 82 00 1C */ beq lbl_8028C904 -/* 8028C8EC 0028982C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8028C8F0 00289830 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8028C8F4 00289834 40 82 00 10 */ bne lbl_8028C904 -/* 8028C8F8 00289838 7C 83 23 78 */ mr r3, r4 -/* 8028C8FC 0028983C 38 80 00 00 */ li r4, 0 -/* 8028C900 00289840 4B EA E7 F1 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_8028C904: -/* 8028C904 00289844 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C908 00289848 7C 08 03 A6 */ mtlr r0 -/* 8028C90C 0028984C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C910 00289850 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Baby10StatePressFPQ24Game9EnemyBase -cleanup__Q34Game4Baby10StatePressFPQ24Game9EnemyBase: -/* 8028C914 00289854 4E 80 00 20 */ blr - -.global init__Q34Game4Baby9StateBornFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Baby9StateBornFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028C918 00289858 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C91C 0028985C 7C 08 02 A6 */ mflr r0 -/* 8028C920 00289860 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C924 00289864 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C928 00289868 7C 9F 23 78 */ mr r31, r4 -/* 8028C92C 0028986C 7F E3 FB 78 */ mr r3, r31 -/* 8028C930 00289870 48 00 15 D1 */ bl createBornEffect__Q34Game4Baby3ObjFv -/* 8028C934 00289874 7F E3 FB 78 */ mr r3, r31 -/* 8028C938 00289878 38 80 00 05 */ li r4, 5 -/* 8028C93C 0028987C 38 A0 00 00 */ li r5, 0 -/* 8028C940 00289880 4B E7 86 C5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028C944 00289884 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028C948 00289888 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028C94C 0028988C 7C 08 03 A6 */ mtlr r0 -/* 8028C950 00289890 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028C954 00289894 4E 80 00 20 */ blr - -.global exec__Q34Game4Baby9StateBornFPQ24Game9EnemyBase -exec__Q34Game4Baby9StateBornFPQ24Game9EnemyBase: -/* 8028C958 00289898 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028C95C 0028989C 7C 08 02 A6 */ mflr r0 -/* 8028C960 002898A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028C964 002898A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028C968 002898A8 7C 9F 23 78 */ mr r31, r4 -/* 8028C96C 002898AC 93 C1 00 08 */ stw r30, 8(r1) -/* 8028C970 002898B0 7C 7E 1B 78 */ mr r30, r3 -/* 8028C974 002898B4 80 04 00 C8 */ lwz r0, 0xc8(r4) -/* 8028C978 002898B8 28 00 00 00 */ cmplwi r0, 0 -/* 8028C97C 002898BC 41 82 00 28 */ beq lbl_8028C9A4 -/* 8028C980 002898C0 C0 5F 01 D4 */ lfs f2, 0x1d4(r31) -/* 8028C984 002898C4 7F E3 FB 78 */ mr r3, r31 -/* 8028C988 002898C8 C0 02 D5 54 */ lfs f0, lbl_8051B8B4@sda21(r2) -/* 8028C98C 002898CC C0 7F 01 DC */ lfs f3, 0x1dc(r31) -/* 8028C990 002898D0 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8028C994 002898D4 EC 63 00 32 */ fmuls f3, f3, f0 -/* 8028C998 002898D8 D0 5F 01 D4 */ stfs f2, 0x1d4(r31) -/* 8028C99C 002898DC D0 7F 01 DC */ stfs f3, 0x1dc(r31) -/* 8028C9A0 002898E0 4B E7 89 01 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8028C9A4: -/* 8028C9A4 002898E4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8028C9A8 002898E8 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8028C9AC 002898EC 28 00 00 00 */ cmplwi r0, 0 -/* 8028C9B0 002898F0 41 82 00 68 */ beq lbl_8028CA18 -/* 8028C9B4 002898F4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8028C9B8 002898F8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8028C9BC 002898FC 40 82 00 5C */ bne lbl_8028CA18 -/* 8028C9C0 00289900 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8028C9C4 00289904 C0 02 D5 50 */ lfs f0, lbl_8051B8B0@sda21(r2) -/* 8028C9C8 00289908 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028C9CC 0028990C 4C 40 13 82 */ cror 2, 0, 2 -/* 8028C9D0 00289910 40 82 00 28 */ bne lbl_8028C9F8 -/* 8028C9D4 00289914 7F C3 F3 78 */ mr r3, r30 -/* 8028C9D8 00289918 7F E4 FB 78 */ mr r4, r31 -/* 8028C9DC 0028991C 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028C9E0 00289920 38 A0 00 00 */ li r5, 0 -/* 8028C9E4 00289924 38 C0 00 00 */ li r6, 0 -/* 8028C9E8 00289928 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028C9EC 0028992C 7D 89 03 A6 */ mtctr r12 -/* 8028C9F0 00289930 4E 80 04 21 */ bctrl -/* 8028C9F4 00289934 48 00 00 24 */ b lbl_8028CA18 -lbl_8028C9F8: -/* 8028C9F8 00289938 7F C3 F3 78 */ mr r3, r30 -/* 8028C9FC 0028993C 7F E4 FB 78 */ mr r4, r31 -/* 8028CA00 00289940 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CA04 00289944 38 A0 00 03 */ li r5, 3 -/* 8028CA08 00289948 38 C0 00 00 */ li r6, 0 -/* 8028CA0C 0028994C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028CA10 00289950 7D 89 03 A6 */ mtctr r12 -/* 8028CA14 00289954 4E 80 04 21 */ bctrl -lbl_8028CA18: -/* 8028CA18 00289958 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028CA1C 0028995C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028CA20 00289960 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028CA24 00289964 7C 08 03 A6 */ mtlr r0 -/* 8028CA28 00289968 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028CA2C 0028996C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Baby9StateBornFPQ24Game9EnemyBase -cleanup__Q34Game4Baby9StateBornFPQ24Game9EnemyBase: -/* 8028CA30 00289970 4E 80 00 20 */ blr - -.global init__Q34Game4Baby9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Baby9StateMoveFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028CA34 00289974 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028CA38 00289978 7C 08 02 A6 */ mflr r0 -/* 8028CA3C 0028997C 7C 83 23 78 */ mr r3, r4 -/* 8028CA40 00289980 38 80 00 02 */ li r4, 2 -/* 8028CA44 00289984 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028CA48 00289988 38 00 00 00 */ li r0, 0 -/* 8028CA4C 0028998C 38 A0 00 00 */ li r5, 0 -/* 8028CA50 00289990 90 03 02 30 */ stw r0, 0x230(r3) -/* 8028CA54 00289994 4B E7 85 B1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028CA58 00289998 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028CA5C 0028999C 7C 08 03 A6 */ mtlr r0 -/* 8028CA60 002899A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028CA64 002899A4 4E 80 00 20 */ blr - -.global exec__Q34Game4Baby9StateMoveFPQ24Game9EnemyBase -exec__Q34Game4Baby9StateMoveFPQ24Game9EnemyBase: -/* 8028CA68 002899A8 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8028CA6C 002899AC 7C 08 02 A6 */ mflr r0 -/* 8028CA70 002899B0 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8028CA74 002899B4 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8028CA78 002899B8 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8028CA7C 002899BC DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 8028CA80 002899C0 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8028CA84 002899C4 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 8028CA88 002899C8 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 8028CA8C 002899CC DB 81 00 B0 */ stfd f28, 0xb0(r1) -/* 8028CA90 002899D0 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 -/* 8028CA94 002899D4 DB 61 00 A0 */ stfd f27, 0xa0(r1) -/* 8028CA98 002899D8 F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 -/* 8028CA9C 002899DC DB 41 00 90 */ stfd f26, 0x90(r1) -/* 8028CAA0 002899E0 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 -/* 8028CAA4 002899E4 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8028CAA8 002899E8 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8028CAAC 002899EC 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8028CAB0 002899F0 93 81 00 80 */ stw r28, 0x80(r1) -/* 8028CAB4 002899F4 C0 02 D5 50 */ lfs f0, lbl_8051B8B0@sda21(r2) -/* 8028CAB8 002899F8 7C 9E 23 78 */ mr r30, r4 -/* 8028CABC 002899FC C0 24 02 00 */ lfs f1, 0x200(r4) -/* 8028CAC0 00289A00 7C 7C 1B 78 */ mr r28, r3 -/* 8028CAC4 00289A04 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028CAC8 00289A08 4C 40 13 82 */ cror 2, 0, 2 -/* 8028CACC 00289A0C 40 82 00 20 */ bne lbl_8028CAEC -/* 8028CAD0 00289A10 81 83 00 00 */ lwz r12, 0(r3) -/* 8028CAD4 00289A14 38 A0 00 00 */ li r5, 0 -/* 8028CAD8 00289A18 38 C0 00 00 */ li r6, 0 -/* 8028CADC 00289A1C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028CAE0 00289A20 7D 89 03 A6 */ mtctr r12 -/* 8028CAE4 00289A24 4E 80 04 21 */ bctrl -/* 8028CAE8 00289A28 48 00 03 98 */ b lbl_8028CE80 -lbl_8028CAEC: -/* 8028CAEC 00289A2C 80 FE 00 C0 */ lwz r7, 0xc0(r30) -/* 8028CAF0 00289A30 7F C3 F3 78 */ mr r3, r30 -/* 8028CAF4 00289A34 38 80 00 00 */ li r4, 0 -/* 8028CAF8 00289A38 38 A0 00 00 */ li r5, 0 -/* 8028CAFC 00289A3C C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8028CB00 00289A40 38 C0 00 00 */ li r6, 0 -/* 8028CB04 00289A44 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 8028CB08 00289A48 4B E8 65 49 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 8028CB0C 00289A4C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8028CB10 00289A50 41 82 03 2C */ beq lbl_8028CE3C -/* 8028CB14 00289A54 7F A4 EB 78 */ mr r4, r29 -/* 8028CB18 00289A58 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8028CB1C 00289A5C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8028CB20 00289A60 38 61 00 50 */ addi r3, r1, 0x50 -/* 8028CB24 00289A64 C3 A5 03 34 */ lfs f29, 0x334(r5) -/* 8028CB28 00289A68 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028CB2C 00289A6C C3 C5 03 0C */ lfs f30, 0x30c(r5) -/* 8028CB30 00289A70 7D 89 03 A6 */ mtctr r12 -/* 8028CB34 00289A74 4E 80 04 21 */ bctrl -/* 8028CB38 00289A78 7F C4 F3 78 */ mr r4, r30 -/* 8028CB3C 00289A7C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8028CB40 00289A80 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CB44 00289A84 C3 41 00 50 */ lfs f26, 0x50(r1) -/* 8028CB48 00289A88 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028CB4C 00289A8C C3 61 00 58 */ lfs f27, 0x58(r1) -/* 8028CB50 00289A90 7D 89 03 A6 */ mtctr r12 -/* 8028CB54 00289A94 4E 80 04 21 */ bctrl -/* 8028CB58 00289A98 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8028CB5C 00289A9C 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8028CB60 00289AA0 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8028CB64 00289AA4 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8028CB68 00289AA8 EC 3A 08 28 */ fsubs f1, f26, f1 -/* 8028CB6C 00289AAC EC 5B 00 28 */ fsubs f2, f27, f0 -/* 8028CB70 00289AB0 4B DA 85 99 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8028CB74 00289AB4 48 18 50 5D */ bl roundAng__Ff -/* 8028CB78 00289AB8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CB7C 00289ABC FF 40 08 90 */ fmr f26, f1 -/* 8028CB80 00289AC0 7F C3 F3 78 */ mr r3, r30 -/* 8028CB84 00289AC4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028CB88 00289AC8 7D 89 03 A6 */ mtctr r12 -/* 8028CB8C 00289ACC 4E 80 04 21 */ bctrl -/* 8028CB90 00289AD0 FC 40 08 90 */ fmr f2, f1 -/* 8028CB94 00289AD4 FC 20 D0 90 */ fmr f1, f26 -/* 8028CB98 00289AD8 48 18 50 65 */ bl angDist__Fff -/* 8028CB9C 00289ADC FF E0 08 90 */ fmr f31, f1 -/* 8028CBA0 00289AE0 C0 02 D5 5C */ lfs f0, lbl_8051B8BC@sda21(r2) -/* 8028CBA4 00289AE4 C0 22 D5 58 */ lfs f1, lbl_8051B8B8@sda21(r2) -/* 8028CBA8 00289AE8 EC 00 07 72 */ fmuls f0, f0, f29 -/* 8028CBAC 00289AEC EF 9F 07 B2 */ fmuls f28, f31, f30 -/* 8028CBB0 00289AF0 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8028CBB4 00289AF4 FC 00 E2 10 */ fabs f0, f28 -/* 8028CBB8 00289AF8 FC 00 00 18 */ frsp f0, f0 -/* 8028CBBC 00289AFC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8028CBC0 00289B00 40 81 00 1C */ ble lbl_8028CBDC -/* 8028CBC4 00289B04 C0 02 D5 50 */ lfs f0, lbl_8051B8B0@sda21(r2) -/* 8028CBC8 00289B08 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8028CBCC 00289B0C 40 81 00 0C */ ble lbl_8028CBD8 -/* 8028CBD0 00289B10 FF 80 08 90 */ fmr f28, f1 -/* 8028CBD4 00289B14 48 00 00 08 */ b lbl_8028CBDC -lbl_8028CBD8: -/* 8028CBD8 00289B18 FF 80 08 50 */ fneg f28, f1 -lbl_8028CBDC: -/* 8028CBDC 00289B1C 7F C3 F3 78 */ mr r3, r30 -/* 8028CBE0 00289B20 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CBE4 00289B24 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028CBE8 00289B28 7D 89 03 A6 */ mtctr r12 -/* 8028CBEC 00289B2C 4E 80 04 21 */ bctrl -/* 8028CBF0 00289B30 EC 3C 08 2A */ fadds f1, f28, f1 -/* 8028CBF4 00289B34 48 18 4F DD */ bl roundAng__Ff -/* 8028CBF8 00289B38 D0 3E 01 FC */ stfs f1, 0x1fc(r30) -/* 8028CBFC 00289B3C FC 40 FA 10 */ fabs f2, f31 -/* 8028CC00 00289B40 C0 02 D5 5C */ lfs f0, lbl_8051B8BC@sda21(r2) -/* 8028CC04 00289B44 C0 7E 01 FC */ lfs f3, 0x1fc(r30) -/* 8028CC08 00289B48 C0 22 D5 58 */ lfs f1, lbl_8051B8B8@sda21(r2) -/* 8028CC0C 00289B4C FC 40 10 18 */ frsp f2, f2 -/* 8028CC10 00289B50 D0 7E 01 A8 */ stfs f3, 0x1a8(r30) -/* 8028CC14 00289B54 80 9E 00 C0 */ lwz r4, 0xc0(r30) -/* 8028CC18 00289B58 C0 64 05 8C */ lfs f3, 0x58c(r4) -/* 8028CC1C 00289B5C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8028CC20 00289B60 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8028CC24 00289B64 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028CC28 00289B68 4C 40 13 82 */ cror 2, 0, 2 -/* 8028CC2C 00289B6C 40 82 00 70 */ bne lbl_8028CC9C -/* 8028CC30 00289B70 7F C3 F3 78 */ mr r3, r30 -/* 8028CC34 00289B74 C3 A4 02 E4 */ lfs f29, 0x2e4(r4) -/* 8028CC38 00289B78 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CC3C 00289B7C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028CC40 00289B80 7D 89 03 A6 */ mtctr r12 -/* 8028CC44 00289B84 4E 80 04 21 */ bctrl -/* 8028CC48 00289B88 4B E4 2B D5 */ bl sin -/* 8028CC4C 00289B8C 7F C3 F3 78 */ mr r3, r30 -/* 8028CC50 00289B90 C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8028CC54 00289B94 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CC58 00289B98 FF 40 08 18 */ frsp f26, f1 -/* 8028CC5C 00289B9C C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8028CC60 00289BA0 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8028CC64 00289BA4 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028CC68 00289BA8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8028CC6C 00289BAC D3 C1 00 78 */ stfs f30, 0x78(r1) -/* 8028CC70 00289BB0 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8028CC74 00289BB4 7D 89 03 A6 */ mtctr r12 -/* 8028CC78 00289BB8 4E 80 04 21 */ bctrl -/* 8028CC7C 00289BBC 4B E4 26 39 */ bl cos -/* 8028CC80 00289BC0 EC 1D 06 B2 */ fmuls f0, f29, f26 -/* 8028CC84 00289BC4 FC 20 08 18 */ frsp f1, f1 -/* 8028CC88 00289BC8 D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8028CC8C 00289BCC EC 1D 00 72 */ fmuls f0, f29, f1 -/* 8028CC90 00289BD0 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 8028CC94 00289BD4 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -/* 8028CC98 00289BD8 48 00 00 74 */ b lbl_8028CD0C -lbl_8028CC9C: -/* 8028CC9C 00289BDC 7F C3 F3 78 */ mr r3, r30 -/* 8028CCA0 00289BE0 C0 22 D5 60 */ lfs f1, lbl_8051B8C0@sda21(r2) -/* 8028CCA4 00289BE4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CCA8 00289BE8 C0 04 02 E4 */ lfs f0, 0x2e4(r4) -/* 8028CCAC 00289BEC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028CCB0 00289BF0 EF A1 00 32 */ fmuls f29, f1, f0 -/* 8028CCB4 00289BF4 7D 89 03 A6 */ mtctr r12 -/* 8028CCB8 00289BF8 4E 80 04 21 */ bctrl -/* 8028CCBC 00289BFC 4B E4 2B 61 */ bl sin -/* 8028CCC0 00289C00 7F C3 F3 78 */ mr r3, r30 -/* 8028CCC4 00289C04 C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8028CCC8 00289C08 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CCCC 00289C0C FF 40 08 18 */ frsp f26, f1 -/* 8028CCD0 00289C10 C3 DE 01 D8 */ lfs f30, 0x1d8(r30) -/* 8028CCD4 00289C14 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8028CCD8 00289C18 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028CCDC 00289C1C D0 41 00 68 */ stfs f2, 0x68(r1) -/* 8028CCE0 00289C20 D3 C1 00 6C */ stfs f30, 0x6c(r1) -/* 8028CCE4 00289C24 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8028CCE8 00289C28 7D 89 03 A6 */ mtctr r12 -/* 8028CCEC 00289C2C 4E 80 04 21 */ bctrl -/* 8028CCF0 00289C30 4B E4 25 C5 */ bl cos -/* 8028CCF4 00289C34 EC 1D 06 B2 */ fmuls f0, f29, f26 -/* 8028CCF8 00289C38 FC 20 08 18 */ frsp f1, f1 -/* 8028CCFC 00289C3C D0 1E 01 D4 */ stfs f0, 0x1d4(r30) -/* 8028CD00 00289C40 EC 1D 00 72 */ fmuls f0, f29, f1 -/* 8028CD04 00289C44 D3 DE 01 D8 */ stfs f30, 0x1d8(r30) -/* 8028CD08 00289C48 D0 1E 01 DC */ stfs f0, 0x1dc(r30) -lbl_8028CD0C: -/* 8028CD0C 00289C4C 7F C4 F3 78 */ mr r4, r30 -/* 8028CD10 00289C50 80 BE 00 C0 */ lwz r5, 0xc0(r30) -/* 8028CD14 00289C54 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CD18 00289C58 38 61 00 14 */ addi r3, r1, 0x14 -/* 8028CD1C 00289C5C C3 85 05 8C */ lfs f28, 0x58c(r5) -/* 8028CD20 00289C60 3B E0 00 00 */ li r31, 0 -/* 8028CD24 00289C64 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028CD28 00289C68 C3 A5 05 64 */ lfs f29, 0x564(r5) -/* 8028CD2C 00289C6C 7D 89 03 A6 */ mtctr r12 -/* 8028CD30 00289C70 4E 80 04 21 */ bctrl -/* 8028CD34 00289C74 7F A4 EB 78 */ mr r4, r29 -/* 8028CD38 00289C78 38 61 00 08 */ addi r3, r1, 8 -/* 8028CD3C 00289C7C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8028CD40 00289C80 C3 C1 00 14 */ lfs f30, 0x14(r1) -/* 8028CD44 00289C84 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028CD48 00289C88 7D 89 03 A6 */ mtctr r12 -/* 8028CD4C 00289C8C 4E 80 04 21 */ bctrl -/* 8028CD50 00289C90 7F C4 F3 78 */ mr r4, r30 -/* 8028CD54 00289C94 C0 01 00 08 */ lfs f0, 8(r1) -/* 8028CD58 00289C98 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CD5C 00289C9C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8028CD60 00289CA0 EF 40 F0 28 */ fsubs f26, f0, f30 -/* 8028CD64 00289CA4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028CD68 00289CA8 7D 89 03 A6 */ mtctr r12 -/* 8028CD6C 00289CAC 4E 80 04 21 */ bctrl -/* 8028CD70 00289CB0 7F A4 EB 78 */ mr r4, r29 -/* 8028CD74 00289CB4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028CD78 00289CB8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8028CD7C 00289CBC C3 C1 00 30 */ lfs f30, 0x30(r1) -/* 8028CD80 00289CC0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028CD84 00289CC4 7D 89 03 A6 */ mtctr r12 -/* 8028CD88 00289CC8 4E 80 04 21 */ bctrl -/* 8028CD8C 00289CCC 7F C4 F3 78 */ mr r4, r30 -/* 8028CD90 00289CD0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8028CD94 00289CD4 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028CD98 00289CD8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8028CD9C 00289CDC EF 60 F0 28 */ fsubs f27, f0, f30 -/* 8028CDA0 00289CE0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028CDA4 00289CE4 7D 89 03 A6 */ mtctr r12 -/* 8028CDA8 00289CE8 4E 80 04 21 */ bctrl -/* 8028CDAC 00289CEC 7F A4 EB 78 */ mr r4, r29 -/* 8028CDB0 00289CF0 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028CDB4 00289CF4 81 9D 00 00 */ lwz r12, 0(r29) -/* 8028CDB8 00289CF8 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 8028CDBC 00289CFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028CDC0 00289D00 7D 89 03 A6 */ mtctr r12 -/* 8028CDC4 00289D04 4E 80 04 21 */ bctrl -/* 8028CDC8 00289D08 EC 3B 06 F2 */ fmuls f1, f27, f27 -/* 8028CDCC 00289D0C C0 41 00 40 */ lfs f2, 0x40(r1) -/* 8028CDD0 00289D10 EC 1D 07 72 */ fmuls f0, f29, f29 -/* 8028CDD4 00289D14 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 8028CDD8 00289D18 EC 3A 0E BA */ fmadds f1, f26, f26, f1 -/* 8028CDDC 00289D1C EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8028CDE0 00289D20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028CDE4 00289D24 40 80 00 2C */ bge lbl_8028CE10 -/* 8028CDE8 00289D28 C0 02 D5 5C */ lfs f0, lbl_8051B8BC@sda21(r2) -/* 8028CDEC 00289D2C FC 40 FA 10 */ fabs f2, f31 -/* 8028CDF0 00289D30 C0 22 D5 58 */ lfs f1, lbl_8051B8B8@sda21(r2) -/* 8028CDF4 00289D34 EC 00 07 32 */ fmuls f0, f0, f28 -/* 8028CDF8 00289D38 FC 40 10 18 */ frsp f2, f2 -/* 8028CDFC 00289D3C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8028CE00 00289D40 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8028CE04 00289D44 4C 40 13 82 */ cror 2, 0, 2 -/* 8028CE08 00289D48 40 82 00 08 */ bne lbl_8028CE10 -/* 8028CE0C 00289D4C 3B E0 00 01 */ li r31, 1 -lbl_8028CE10: -/* 8028CE10 00289D50 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028CE14 00289D54 41 82 00 30 */ beq lbl_8028CE44 -/* 8028CE18 00289D58 7F 83 E3 78 */ mr r3, r28 -/* 8028CE1C 00289D5C 7F C4 F3 78 */ mr r4, r30 -/* 8028CE20 00289D60 81 9C 00 00 */ lwz r12, 0(r28) -/* 8028CE24 00289D64 38 A0 00 04 */ li r5, 4 -/* 8028CE28 00289D68 38 C0 00 00 */ li r6, 0 -/* 8028CE2C 00289D6C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028CE30 00289D70 7D 89 03 A6 */ mtctr r12 -/* 8028CE34 00289D74 4E 80 04 21 */ bctrl -/* 8028CE38 00289D78 48 00 00 0C */ b lbl_8028CE44 -lbl_8028CE3C: -/* 8028CE3C 00289D7C 7F C3 F3 78 */ mr r3, r30 -/* 8028CE40 00289D80 48 00 0D 09 */ bl moveNoTarget__Q34Game4Baby3ObjFv -lbl_8028CE44: -/* 8028CE44 00289D84 80 7E 01 88 */ lwz r3, 0x188(r30) -/* 8028CE48 00289D88 88 03 00 24 */ lbz r0, 0x24(r3) -/* 8028CE4C 00289D8C 28 00 00 00 */ cmplwi r0, 0 -/* 8028CE50 00289D90 41 82 00 30 */ beq lbl_8028CE80 -/* 8028CE54 00289D94 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8028CE58 00289D98 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8028CE5C 00289D9C 40 82 00 24 */ bne lbl_8028CE80 -/* 8028CE60 00289DA0 7F 83 E3 78 */ mr r3, r28 -/* 8028CE64 00289DA4 7F C4 F3 78 */ mr r4, r30 -/* 8028CE68 00289DA8 81 9C 00 00 */ lwz r12, 0(r28) -/* 8028CE6C 00289DAC 38 A0 00 03 */ li r5, 3 -/* 8028CE70 00289DB0 38 C0 00 00 */ li r6, 0 -/* 8028CE74 00289DB4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028CE78 00289DB8 7D 89 03 A6 */ mtctr r12 -/* 8028CE7C 00289DBC 4E 80 04 21 */ bctrl -lbl_8028CE80: -/* 8028CE80 00289DC0 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8028CE84 00289DC4 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8028CE88 00289DC8 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 8028CE8C 00289DCC CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 8028CE90 00289DD0 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 8028CE94 00289DD4 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 8028CE98 00289DD8 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 -/* 8028CE9C 00289DDC CB 81 00 B0 */ lfd f28, 0xb0(r1) -/* 8028CEA0 00289DE0 E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 -/* 8028CEA4 00289DE4 CB 61 00 A0 */ lfd f27, 0xa0(r1) -/* 8028CEA8 00289DE8 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 -/* 8028CEAC 00289DEC CB 41 00 90 */ lfd f26, 0x90(r1) -/* 8028CEB0 00289DF0 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8028CEB4 00289DF4 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8028CEB8 00289DF8 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8028CEBC 00289DFC 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8028CEC0 00289E00 83 81 00 80 */ lwz r28, 0x80(r1) -/* 8028CEC4 00289E04 7C 08 03 A6 */ mtlr r0 -/* 8028CEC8 00289E08 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8028CECC 00289E0C 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Baby9StateMoveFPQ24Game9EnemyBase -cleanup__Q34Game4Baby9StateMoveFPQ24Game9EnemyBase: -/* 8028CED0 00289E10 4E 80 00 20 */ blr - -.global init__Q34Game4Baby11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game4Baby11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8028CED4 00289E14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028CED8 00289E18 7C 08 02 A6 */ mflr r0 -/* 8028CEDC 00289E1C C0 02 D5 50 */ lfs f0, lbl_8051B8B0@sda21(r2) -/* 8028CEE0 00289E20 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028CEE4 00289E24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028CEE8 00289E28 7C 9F 23 78 */ mr r31, r4 -/* 8028CEEC 00289E2C 7F E3 FB 78 */ mr r3, r31 -/* 8028CEF0 00289E30 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 8028CEF4 00289E34 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 8028CEF8 00289E38 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 8028CEFC 00289E3C 4B E7 4A D1 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 8028CF00 00289E40 7F E3 FB 78 */ mr r3, r31 -/* 8028CF04 00289E44 38 80 00 03 */ li r4, 3 -/* 8028CF08 00289E48 38 A0 00 00 */ li r5, 0 -/* 8028CF0C 00289E4C 4B E7 80 F9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028CF10 00289E50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028CF14 00289E54 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028CF18 00289E58 7C 08 03 A6 */ mtlr r0 -/* 8028CF1C 00289E5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028CF20 00289E60 4E 80 00 20 */ blr - -.global exec__Q34Game4Baby11StateAttackFPQ24Game9EnemyBase -exec__Q34Game4Baby11StateAttackFPQ24Game9EnemyBase: -/* 8028CF24 00289E64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028CF28 00289E68 7C 08 02 A6 */ mflr r0 -/* 8028CF2C 00289E6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028CF30 00289E70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028CF34 00289E74 7C 9F 23 78 */ mr r31, r4 -/* 8028CF38 00289E78 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 8028CF3C 00289E7C 88 05 00 24 */ lbz r0, 0x24(r5) -/* 8028CF40 00289E80 28 00 00 00 */ cmplwi r0, 0 -/* 8028CF44 00289E84 41 82 00 D0 */ beq lbl_8028D014 -/* 8028CF48 00289E88 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8028CF4C 00289E8C 28 00 00 02 */ cmplwi r0, 2 -/* 8028CF50 00289E90 40 82 00 54 */ bne lbl_8028CFA4 -/* 8028CF54 00289E94 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 8028CF58 00289E98 7F E3 FB 78 */ mr r3, r31 -/* 8028CF5C 00289E9C 38 80 00 00 */ li r4, 0 -/* 8028CF60 00289EA0 38 A0 00 00 */ li r5, 0 -/* 8028CF64 00289EA4 C0 26 05 B4 */ lfs f1, 0x5b4(r6) -/* 8028CF68 00289EA8 C0 46 05 DC */ lfs f2, 0x5dc(r6) -/* 8028CF6C 00289EAC C0 66 06 04 */ lfs f3, 0x604(r6) -/* 8028CF70 00289EB0 4B E8 72 F1 */ bl attackNavi__Q24Game9EnemyFuncFPQ24Game8CreaturefffP8CollPartP23Condition$$0Q24Game4Navi$$1 -/* 8028CF74 00289EB4 7F E3 FB 78 */ mr r3, r31 -/* 8028CF78 00289EB8 38 80 00 00 */ li r4, 0 -/* 8028CF7C 00289EBC 4B E8 6B B9 */ bl eatPikmin__Q24Game9EnemyFuncFPQ24Game9EnemyBaseP23Condition$$0Q24Game4Piki$$1 -/* 8028CF80 00289EC0 7F E3 FB 78 */ mr r3, r31 -/* 8028CF84 00289EC4 48 00 0A A1 */ bl getSlotPikiNum__Q34Game4Baby3ObjFv -/* 8028CF88 00289EC8 2C 03 00 00 */ cmpwi r3, 0 -/* 8028CF8C 00289ECC 40 82 00 88 */ bne lbl_8028D014 -/* 8028CF90 00289ED0 7F E3 FB 78 */ mr r3, r31 -/* 8028CF94 00289ED4 38 80 00 04 */ li r4, 4 -/* 8028CF98 00289ED8 38 A0 00 00 */ li r5, 0 -/* 8028CF9C 00289EDC 4B E7 80 69 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8028CFA0 00289EE0 48 00 00 74 */ b lbl_8028D014 -lbl_8028CFA4: -/* 8028CFA4 00289EE4 28 00 00 03 */ cmplwi r0, 3 -/* 8028CFA8 00289EE8 40 82 00 1C */ bne lbl_8028CFC4 -/* 8028CFAC 00289EEC 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8028CFB0 00289EF0 7F E3 FB 78 */ mr r3, r31 -/* 8028CFB4 00289EF4 38 80 00 00 */ li r4, 0 -/* 8028CFB8 00289EF8 C0 25 08 1C */ lfs f1, 0x81c(r5) -/* 8028CFBC 00289EFC 4B E8 6E C9 */ bl swallowPikmin__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Piki$$1 -/* 8028CFC0 00289F00 48 00 00 54 */ b lbl_8028D014 -lbl_8028CFC4: -/* 8028CFC4 00289F04 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8028CFC8 00289F08 40 82 00 4C */ bne lbl_8028D014 -/* 8028CFCC 00289F0C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8028CFD0 00289F10 C0 02 D5 50 */ lfs f0, lbl_8051B8B0@sda21(r2) -/* 8028CFD4 00289F14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028CFD8 00289F18 4C 40 13 82 */ cror 2, 0, 2 -/* 8028CFDC 00289F1C 40 82 00 20 */ bne lbl_8028CFFC -/* 8028CFE0 00289F20 81 83 00 00 */ lwz r12, 0(r3) -/* 8028CFE4 00289F24 38 A0 00 00 */ li r5, 0 -/* 8028CFE8 00289F28 38 C0 00 00 */ li r6, 0 -/* 8028CFEC 00289F2C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028CFF0 00289F30 7D 89 03 A6 */ mtctr r12 -/* 8028CFF4 00289F34 4E 80 04 21 */ bctrl -/* 8028CFF8 00289F38 48 00 00 1C */ b lbl_8028D014 -lbl_8028CFFC: -/* 8028CFFC 00289F3C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028D000 00289F40 38 A0 00 03 */ li r5, 3 -/* 8028D004 00289F44 38 C0 00 00 */ li r6, 0 -/* 8028D008 00289F48 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028D00C 00289F4C 7D 89 03 A6 */ mtctr r12 -/* 8028D010 00289F50 4E 80 04 21 */ bctrl -lbl_8028D014: -/* 8028D014 00289F54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D018 00289F58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D01C 00289F5C 7C 08 03 A6 */ mtlr r0 -/* 8028D020 00289F60 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D024 00289F64 4E 80 00 20 */ blr - -.global cleanup__Q34Game4Baby11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game4Baby11StateAttackFPQ24Game9EnemyBase: -/* 8028D028 00289F68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D02C 00289F6C 7C 08 02 A6 */ mflr r0 -/* 8028D030 00289F70 7C 83 23 78 */ mr r3, r4 -/* 8028D034 00289F74 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D038 00289F78 4B E7 49 45 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 8028D03C 00289F7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D040 00289F80 7C 08 03 A6 */ mtlr r0 -/* 8028D044 00289F84 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D048 00289F88 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game4Baby14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game4Baby14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 8028D04C 00289F8C 90 83 00 20 */ stw r4, 0x20(r3) -/* 8028D050 00289F90 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Baby14ProperAnimatorFi -getAnimator__Q34Game4Baby14ProperAnimatorFi: -/* 8028D054 00289F94 38 63 00 10 */ addi r3, r3, 0x10 -/* 8028D058 00289F98 4E 80 00 20 */ blr - -.global __dt__Q34Game4Baby14ProperAnimatorFv -__dt__Q34Game4Baby14ProperAnimatorFv: -/* 8028D05C 00289F9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D060 00289FA0 7C 08 02 A6 */ mflr r0 -/* 8028D064 00289FA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D068 00289FA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D06C 00289FAC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028D070 00289FB0 41 82 00 30 */ beq lbl_8028D0A0 -/* 8028D074 00289FB4 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby14ProperAnimator@ha -/* 8028D078 00289FB8 38 03 A4 58 */ addi r0, r3, __vt__Q34Game4Baby14ProperAnimator@l -/* 8028D07C 00289FBC 90 1F 00 00 */ stw r0, 0(r31) -/* 8028D080 00289FC0 41 82 00 10 */ beq lbl_8028D090 -/* 8028D084 00289FC4 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 8028D088 00289FC8 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 8028D08C 00289FCC 90 1F 00 00 */ stw r0, 0(r31) -lbl_8028D090: -/* 8028D090 00289FD0 7C 80 07 35 */ extsh. r0, r4 -/* 8028D094 00289FD4 40 81 00 0C */ ble lbl_8028D0A0 -/* 8028D098 00289FD8 7F E3 FB 78 */ mr r3, r31 -/* 8028D09C 00289FDC 4B D9 70 19 */ bl __dl__FPv -lbl_8028D0A0: -/* 8028D0A0 00289FE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D0A4 00289FE4 7F E3 FB 78 */ mr r3, r31 -/* 8028D0A8 00289FE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D0AC 00289FEC 7C 08 03 A6 */ mtlr r0 -/* 8028D0B0 00289FF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D0B4 00289FF4 4E 80 00 20 */ blr - -.global getAnimator__Q34Game4Baby14ProperAnimatorFv -getAnimator__Q34Game4Baby14ProperAnimatorFv: -/* 8028D0B8 00289FF8 38 63 00 10 */ addi r3, r3, 0x10 -/* 8028D0BC 00289FFC 4E 80 00 20 */ blr - -.global __ct__Q34Game4Baby3MgrFiUc -__ct__Q34Game4Baby3MgrFiUc: -/* 8028D0C0 0028A000 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D0C4 0028A004 7C 08 02 A6 */ mflr r0 -/* 8028D0C8 0028A008 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D0CC 0028A00C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D0D0 0028A010 7C 7F 1B 78 */ mr r31, r3 -/* 8028D0D4 0028A014 4B EA 1B C1 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8028D0D8 0028A018 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby3Mgr@ha -/* 8028D0DC 0028A01C 3C 80 80 49 */ lis r4, lbl_80488034@ha -/* 8028D0E0 0028A020 38 A3 A4 8C */ addi r5, r3, __vt__Q34Game4Baby3Mgr@l -/* 8028D0E4 0028A024 7F E3 FB 78 */ mr r3, r31 -/* 8028D0E8 0028A028 90 BF 00 00 */ stw r5, 0(r31) -/* 8028D0EC 0028A02C 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8028D0F0 0028A030 38 04 80 34 */ addi r0, r4, lbl_80488034@l -/* 8028D0F4 0028A034 90 BF 00 04 */ stw r5, 4(r31) -/* 8028D0F8 0028A038 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8028D0FC 0028A03C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D100 0028A040 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D104 0028A044 7C 08 03 A6 */ mtlr r0 -/* 8028D108 0028A048 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D10C 0028A04C 4E 80 00 20 */ blr - -.global doAlloc__Q34Game4Baby3MgrFv -doAlloc__Q34Game4Baby3MgrFv: -/* 8028D110 0028A050 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D114 0028A054 7C 08 02 A6 */ mflr r0 -/* 8028D118 0028A058 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D11C 0028A05C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D120 0028A060 7C 7F 1B 78 */ mr r31, r3 -/* 8028D124 0028A064 38 60 08 58 */ li r3, 0x858 -/* 8028D128 0028A068 4B D9 6D 7D */ bl __nw__FUl -/* 8028D12C 0028A06C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028D130 0028A070 41 82 00 0C */ beq lbl_8028D13C -/* 8028D134 0028A074 48 00 00 25 */ bl __ct__Q34Game4Baby5ParmsFv -/* 8028D138 0028A078 7C 64 1B 78 */ mr r4, r3 -lbl_8028D13C: -/* 8028D13C 0028A07C 7F E3 FB 78 */ mr r3, r31 -/* 8028D140 0028A080 4B EA 27 5D */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8028D144 0028A084 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D148 0028A088 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D14C 0028A08C 7C 08 03 A6 */ mtlr r0 -/* 8028D150 0028A090 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D154 0028A094 4E 80 00 20 */ blr - -.global __ct__Q34Game4Baby5ParmsFv -__ct__Q34Game4Baby5ParmsFv: -/* 8028D158 0028A098 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D15C 0028A09C 7C 08 02 A6 */ mflr r0 -/* 8028D160 0028A0A0 3C 80 80 49 */ lis r4, lbl_80488028@ha -/* 8028D164 0028A0A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D168 0028A0A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D16C 0028A0AC 3B E4 80 28 */ addi r31, r4, lbl_80488028@l -/* 8028D170 0028A0B0 93 C1 00 08 */ stw r30, 8(r1) -/* 8028D174 0028A0B4 7C 7E 1B 78 */ mr r30, r3 -/* 8028D178 0028A0B8 4B E7 C6 25 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 8028D17C 0028A0BC 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby5Parms@ha -/* 8028D180 0028A0C0 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 8028D184 0028A0C4 38 03 A4 80 */ addi r0, r3, __vt__Q34Game4Baby5Parms@l -/* 8028D188 0028A0C8 38 9E 08 54 */ addi r4, r30, 0x854 -/* 8028D18C 0028A0CC 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 8028D190 0028A0D0 38 E0 00 00 */ li r7, 0 -/* 8028D194 0028A0D4 38 1F 00 28 */ addi r0, r31, 0x28 -/* 8028D198 0028A0D8 38 7E 08 04 */ addi r3, r30, 0x804 -/* 8028D19C 0028A0DC 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 8028D1A0 0028A0E0 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8028D1A4 0028A0E4 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 8028D1A8 0028A0E8 38 DF 00 38 */ addi r6, r31, 0x38 -/* 8028D1AC 0028A0EC 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 8028D1B0 0028A0F0 90 1E 08 00 */ stw r0, 0x800(r30) -/* 8028D1B4 0028A0F4 48 18 64 A5 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8028D1B8 0028A0F8 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8028D1BC 0028A0FC 3C A0 66 70 */ lis r5, 0x66703131@ha -/* 8028D1C0 0028A100 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8028D1C4 0028A104 C0 02 D5 68 */ lfs f0, lbl_8051B8C8@sda21(r2) -/* 8028D1C8 0028A108 90 1E 08 04 */ stw r0, 0x804(r30) -/* 8028D1CC 0028A10C 38 7E 08 2C */ addi r3, r30, 0x82c -/* 8028D1D0 0028A110 C0 22 D5 6C */ lfs f1, lbl_8051B8CC@sda21(r2) -/* 8028D1D4 0028A114 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 8028D1D8 0028A118 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 8028D1DC 0028A11C 38 A5 31 31 */ addi r5, r5, 0x66703131@l -/* 8028D1E0 0028A120 C0 02 D5 70 */ lfs f0, lbl_8051B8D0@sda21(r2) -/* 8028D1E4 0028A124 38 DF 00 44 */ addi r6, r31, 0x44 -/* 8028D1E8 0028A128 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 8028D1EC 0028A12C D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 8028D1F0 0028A130 48 18 64 69 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 8028D1F4 0028A134 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 8028D1F8 0028A138 C0 42 D5 74 */ lfs f2, lbl_8051B8D4@sda21(r2) -/* 8028D1FC 0028A13C 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 8028D200 0028A140 C0 22 D5 6C */ lfs f1, lbl_8051B8CC@sda21(r2) -/* 8028D204 0028A144 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 8028D208 0028A148 7F C3 F3 78 */ mr r3, r30 -/* 8028D20C 0028A14C C0 02 D5 78 */ lfs f0, lbl_8051B8D8@sda21(r2) -/* 8028D210 0028A150 D0 5E 08 44 */ stfs f2, 0x844(r30) -/* 8028D214 0028A154 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 8028D218 0028A158 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 8028D21C 0028A15C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D220 0028A160 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028D224 0028A164 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D228 0028A168 7C 08 03 A6 */ mtlr r0 -/* 8028D22C 0028A16C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D230 0028A170 4E 80 00 20 */ blr - -.global createObj__Q34Game4Baby3MgrFi -createObj__Q34Game4Baby3MgrFi: -/* 8028D234 0028A174 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D238 0028A178 7C 08 02 A6 */ mflr r0 -/* 8028D23C 0028A17C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D240 0028A180 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D244 0028A184 7C 9F 23 78 */ mr r31, r4 -/* 8028D248 0028A188 93 C1 00 08 */ stw r30, 8(r1) -/* 8028D24C 0028A18C 7C 7E 1B 78 */ mr r30, r3 -/* 8028D250 0028A190 1C 7F 02 E8 */ mulli r3, r31, 0x2e8 -/* 8028D254 0028A194 38 63 00 10 */ addi r3, r3, 0x10 -/* 8028D258 0028A198 4B D9 6D 55 */ bl __nwa__FUl -/* 8028D25C 0028A19C 3C 80 80 29 */ lis r4, __ct__Q34Game4Baby3ObjFv@ha -/* 8028D260 0028A1A0 3C A0 80 29 */ lis r5, __dt__Q34Game4Baby3ObjFv@ha -/* 8028D264 0028A1A4 38 84 D4 70 */ addi r4, r4, __ct__Q34Game4Baby3ObjFv@l -/* 8028D268 0028A1A8 7F E7 FB 78 */ mr r7, r31 -/* 8028D26C 0028A1AC 38 A5 D2 94 */ addi r5, r5, __dt__Q34Game4Baby3ObjFv@l -/* 8028D270 0028A1B0 38 C0 02 E8 */ li r6, 0x2e8 -/* 8028D274 0028A1B4 4B E3 47 7D */ bl __construct_new_array -/* 8028D278 0028A1B8 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8028D27C 0028A1BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D280 0028A1C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D284 0028A1C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028D288 0028A1C8 7C 08 03 A6 */ mtlr r0 -/* 8028D28C 0028A1CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D290 0028A1D0 4E 80 00 20 */ blr - -.global __dt__Q34Game4Baby3ObjFv -__dt__Q34Game4Baby3ObjFv: -/* 8028D294 0028A1D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D298 0028A1D8 7C 08 02 A6 */ mflr r0 -/* 8028D29C 0028A1DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D2A0 0028A1E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D2A4 0028A1E4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028D2A8 0028A1E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8028D2AC 0028A1EC 7C 9E 23 78 */ mr r30, r4 -/* 8028D2B0 0028A1F0 41 82 00 84 */ beq lbl_8028D334 -/* 8028D2B4 0028A1F4 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby3Obj@ha -/* 8028D2B8 0028A1F8 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 8028D2BC 0028A1FC 38 83 A5 BC */ addi r4, r3, __vt__Q34Game4Baby3Obj@l -/* 8028D2C0 0028A200 90 9F 00 00 */ stw r4, 0(r31) -/* 8028D2C4 0028A204 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8028D2C8 0028A208 38 84 02 FC */ addi r4, r4, 0x2fc -/* 8028D2CC 0028A20C 90 7F 01 78 */ stw r3, 0x178(r31) -/* 8028D2D0 0028A210 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8028D2D4 0028A214 90 83 00 00 */ stw r4, 0(r3) -/* 8028D2D8 0028A218 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 8028D2DC 0028A21C 7C 03 00 50 */ subf r0, r3, r0 -/* 8028D2E0 0028A220 90 03 00 0C */ stw r0, 0xc(r3) -/* 8028D2E4 0028A224 41 82 00 40 */ beq lbl_8028D324 -/* 8028D2E8 0028A228 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8028D2EC 0028A22C 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 8028D2F0 0028A230 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8028D2F4 0028A234 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8028D2F8 0028A238 90 9F 00 00 */ stw r4, 0(r31) -/* 8028D2FC 0028A23C 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8028D300 0028A240 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8028D304 0028A244 38 80 FF FF */ li r4, -1 -/* 8028D308 0028A248 90 BF 01 78 */ stw r5, 0x178(r31) -/* 8028D30C 0028A24C 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8028D310 0028A250 90 C5 00 00 */ stw r6, 0(r5) -/* 8028D314 0028A254 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 8028D318 0028A258 7C 05 00 50 */ subf r0, r5, r0 -/* 8028D31C 0028A25C 90 05 00 0C */ stw r0, 0xc(r5) -/* 8028D320 0028A260 48 18 42 69 */ bl __dt__5CNodeFv -lbl_8028D324: -/* 8028D324 0028A264 7F C0 07 35 */ extsh. r0, r30 -/* 8028D328 0028A268 40 81 00 0C */ ble lbl_8028D334 -/* 8028D32C 0028A26C 7F E3 FB 78 */ mr r3, r31 -/* 8028D330 0028A270 4B D9 6D 85 */ bl __dl__FPv -lbl_8028D334: -/* 8028D334 0028A274 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D338 0028A278 7F E3 FB 78 */ mr r3, r31 -/* 8028D33C 0028A27C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D340 0028A280 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028D344 0028A284 7C 08 03 A6 */ mtlr r0 -/* 8028D348 0028A288 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D34C 0028A28C 4E 80 00 20 */ blr - -.global getEnemy__Q34Game4Baby3MgrFi -getEnemy__Q34Game4Baby3MgrFi: -/* 8028D350 0028A290 1C 04 02 E8 */ mulli r0, r4, 0x2e8 -/* 8028D354 0028A294 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8028D358 0028A298 7C 63 02 14 */ add r3, r3, r0 -/* 8028D35C 0028A29C 4E 80 00 20 */ blr - -.global read__Q34Game4Baby5ParmsFR6Stream -read__Q34Game4Baby5ParmsFR6Stream: -/* 8028D360 0028A2A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D364 0028A2A4 7C 08 02 A6 */ mflr r0 -/* 8028D368 0028A2A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D36C 0028A2AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D370 0028A2B0 7C 9F 23 78 */ mr r31, r4 -/* 8028D374 0028A2B4 93 C1 00 08 */ stw r30, 8(r1) -/* 8028D378 0028A2B8 7C 7E 1B 78 */ mr r30, r3 -/* 8028D37C 0028A2BC 48 18 64 79 */ bl read__10ParametersFR6Stream -/* 8028D380 0028A2C0 7F E4 FB 78 */ mr r4, r31 -/* 8028D384 0028A2C4 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 8028D388 0028A2C8 48 18 64 6D */ bl read__10ParametersFR6Stream -/* 8028D38C 0028A2CC 7F E4 FB 78 */ mr r4, r31 -/* 8028D390 0028A2D0 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 8028D394 0028A2D4 48 18 64 61 */ bl read__10ParametersFR6Stream -/* 8028D398 0028A2D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D39C 0028A2DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D3A0 0028A2E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028D3A4 0028A2E4 7C 08 03 A6 */ mtlr r0 -/* 8028D3A8 0028A2E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D3AC 0028A2EC 4E 80 00 20 */ blr - -.global __dt__Q34Game4Baby3MgrFv -__dt__Q34Game4Baby3MgrFv: -/* 8028D3B0 0028A2F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D3B4 0028A2F4 7C 08 02 A6 */ mflr r0 -/* 8028D3B8 0028A2F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D3BC 0028A2FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D3C0 0028A300 7C 9F 23 78 */ mr r31, r4 -/* 8028D3C4 0028A304 93 C1 00 08 */ stw r30, 8(r1) -/* 8028D3C8 0028A308 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028D3CC 0028A30C 41 82 00 78 */ beq lbl_8028D444 -/* 8028D3D0 0028A310 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby3Mgr@ha -/* 8028D3D4 0028A314 38 63 A4 8C */ addi r3, r3, __vt__Q34Game4Baby3Mgr@l -/* 8028D3D8 0028A318 90 7E 00 00 */ stw r3, 0(r30) -/* 8028D3DC 0028A31C 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028D3E0 0028A320 90 1E 00 04 */ stw r0, 4(r30) -/* 8028D3E4 0028A324 41 82 00 50 */ beq lbl_8028D434 -/* 8028D3E8 0028A328 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8028D3EC 0028A32C 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8028D3F0 0028A330 90 7E 00 00 */ stw r3, 0(r30) -/* 8028D3F4 0028A334 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028D3F8 0028A338 90 1E 00 04 */ stw r0, 4(r30) -/* 8028D3FC 0028A33C 41 82 00 38 */ beq lbl_8028D434 -/* 8028D400 0028A340 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8028D404 0028A344 34 1E 00 04 */ addic. r0, r30, 4 -/* 8028D408 0028A348 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8028D40C 0028A34C 90 7E 00 00 */ stw r3, 0(r30) -/* 8028D410 0028A350 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028D414 0028A354 90 1E 00 04 */ stw r0, 4(r30) -/* 8028D418 0028A358 41 82 00 1C */ beq lbl_8028D434 -/* 8028D41C 0028A35C 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8028D420 0028A360 38 7E 00 04 */ addi r3, r30, 4 -/* 8028D424 0028A364 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8028D428 0028A368 38 80 00 00 */ li r4, 0 -/* 8028D42C 0028A36C 90 1E 00 04 */ stw r0, 4(r30) -/* 8028D430 0028A370 48 18 41 59 */ bl __dt__5CNodeFv -lbl_8028D434: -/* 8028D434 0028A374 7F E0 07 35 */ extsh. r0, r31 -/* 8028D438 0028A378 40 81 00 0C */ ble lbl_8028D444 -/* 8028D43C 0028A37C 7F C3 F3 78 */ mr r3, r30 -/* 8028D440 0028A380 4B D9 6C 75 */ bl __dl__FPv -lbl_8028D444: -/* 8028D444 0028A384 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D448 0028A388 7F C3 F3 78 */ mr r3, r30 -/* 8028D44C 0028A38C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D450 0028A390 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028D454 0028A394 7C 08 03 A6 */ mtlr r0 -/* 8028D458 0028A398 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D45C 0028A39C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Baby3MgrFv -getEnemyTypeID__Q34Game4Baby3MgrFv: -/* 8028D460 0028A3A0 38 60 00 1F */ li r3, 0x1f -/* 8028D464 0028A3A4 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game4Baby3MgrFv -$$24$$2__dt__Q34Game4Baby3MgrFv: -/* 8028D468 0028A3A8 38 63 FF FC */ addi r3, r3, -4 -/* 8028D46C 0028A3AC 4B FF FF 44 */ b __dt__Q34Game4Baby3MgrFv - -.global __ct__Q34Game4Baby3ObjFv -__ct__Q34Game4Baby3ObjFv: -/* 8028D470 0028A3B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D474 0028A3B4 7C 08 02 A6 */ mflr r0 -/* 8028D478 0028A3B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D47C 0028A3BC 7C 80 07 35 */ extsh. r0, r4 -/* 8028D480 0028A3C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D484 0028A3C4 7C 7F 1B 78 */ mr r31, r3 -/* 8028D488 0028A3C8 93 C1 00 08 */ stw r30, 8(r1) -/* 8028D48C 0028A3CC 41 82 00 24 */ beq lbl_8028D4B0 -/* 8028D490 0028A3D0 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 8028D494 0028A3D4 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8028D498 0028A3D8 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8028D49C 0028A3DC 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8028D4A0 0028A3E0 38 00 00 00 */ li r0, 0 -/* 8028D4A4 0028A3E4 90 7F 02 D8 */ stw r3, 0x2d8(r31) -/* 8028D4A8 0028A3E8 90 1F 02 DC */ stw r0, 0x2dc(r31) -/* 8028D4AC 0028A3EC 90 1F 02 E0 */ stw r0, 0x2e0(r31) -lbl_8028D4B0: -/* 8028D4B0 0028A3F0 7F E3 FB 78 */ mr r3, r31 -/* 8028D4B4 0028A3F4 38 80 00 00 */ li r4, 0 -/* 8028D4B8 0028A3F8 4B E7 3E E9 */ bl __ct__Q24Game9EnemyBaseFv -/* 8028D4BC 0028A3FC 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby3Obj@ha -/* 8028D4C0 0028A400 38 1F 02 D8 */ addi r0, r31, 0x2d8 -/* 8028D4C4 0028A404 38 A3 A5 BC */ addi r5, r3, __vt__Q34Game4Baby3Obj@l -/* 8028D4C8 0028A408 38 7F 02 C0 */ addi r3, r31, 0x2c0 -/* 8028D4CC 0028A40C 90 BF 00 00 */ stw r5, 0(r31) -/* 8028D4D0 0028A410 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8028D4D4 0028A414 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 8028D4D8 0028A418 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8028D4DC 0028A41C 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8028D4E0 0028A420 90 A4 00 00 */ stw r5, 0(r4) -/* 8028D4E4 0028A424 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8028D4E8 0028A428 7C 04 00 50 */ subf r0, r4, r0 -/* 8028D4EC 0028A42C 90 04 00 0C */ stw r0, 0xc(r4) -/* 8028D4F0 0028A430 4B EA B0 59 */ bl __ct__10MouthSlotsFv -/* 8028D4F4 0028A434 38 60 00 2C */ li r3, 0x2c -/* 8028D4F8 0028A438 4B D9 69 AD */ bl __nw__FUl -/* 8028D4FC 0028A43C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028D500 0028A440 41 82 00 44 */ beq lbl_8028D544 -/* 8028D504 0028A444 4B E9 A4 71 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 8028D508 0028A448 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby14ProperAnimator@ha -/* 8028D50C 0028A44C 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 8028D510 0028A450 38 03 A4 58 */ addi r0, r3, __vt__Q34Game4Baby14ProperAnimator@l -/* 8028D514 0028A454 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 8028D518 0028A458 90 1E 00 00 */ stw r0, 0(r30) -/* 8028D51C 0028A45C 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 8028D520 0028A460 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 8028D524 0028A464 38 00 00 00 */ li r0, 0 -/* 8028D528 0028A468 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8028D52C 0028A46C 90 7E 00 10 */ stw r3, 0x10(r30) -/* 8028D530 0028A470 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8028D534 0028A474 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8028D538 0028A478 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8028D53C 0028A47C 98 1E 00 28 */ stb r0, 0x28(r30) -/* 8028D540 0028A480 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8028D544: -/* 8028D544 0028A484 93 DF 01 84 */ stw r30, 0x184(r31) -/* 8028D548 0028A488 38 60 00 1C */ li r3, 0x1c -/* 8028D54C 0028A48C 4B D9 69 59 */ bl __nw__FUl -/* 8028D550 0028A490 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028D554 0028A494 41 82 00 24 */ beq lbl_8028D578 -/* 8028D558 0028A498 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8028D55C 0028A49C 3C 60 80 4D */ lis r3, __vt__Q34Game4Baby3FSM@ha -/* 8028D560 0028A4A0 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 8028D564 0028A4A4 38 A0 FF FF */ li r5, -1 -/* 8028D568 0028A4A8 90 04 00 00 */ stw r0, 0(r4) -/* 8028D56C 0028A4AC 38 03 A4 34 */ addi r0, r3, __vt__Q34Game4Baby3FSM@l -/* 8028D570 0028A4B0 90 A4 00 18 */ stw r5, 0x18(r4) -/* 8028D574 0028A4B4 90 04 00 00 */ stw r0, 0(r4) -lbl_8028D578: -/* 8028D578 0028A4B8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028D57C 0028A4BC 7F E3 FB 78 */ mr r3, r31 -/* 8028D580 0028A4C0 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 8028D584 0028A4C4 7D 89 03 A6 */ mtctr r12 -/* 8028D588 0028A4C8 4E 80 04 21 */ bctrl -/* 8028D58C 0028A4CC 7F E3 FB 78 */ mr r3, r31 -/* 8028D590 0028A4D0 48 00 08 B9 */ bl createEffect__Q34Game4Baby3ObjFv -/* 8028D594 0028A4D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D598 0028A4D8 7F E3 FB 78 */ mr r3, r31 -/* 8028D59C 0028A4DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D5A0 0028A4E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028D5A4 0028A4E4 7C 08 03 A6 */ mtlr r0 -/* 8028D5A8 0028A4E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D5AC 0028A4EC 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game4Baby3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game4Baby3ObjFPQ24Game21EnemyInitialParamBase: -/* 8028D5B0 0028A4F0 4E 80 00 20 */ blr - -.global onInit__Q34Game4Baby3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game4Baby3ObjFPQ24Game15CreatureInitArg: -/* 8028D5B4 0028A4F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D5B8 0028A4F8 7C 08 02 A6 */ mflr r0 -/* 8028D5BC 0028A4FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D5C0 0028A500 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D5C4 0028A504 7C 7F 1B 78 */ mr r31, r3 -/* 8028D5C8 0028A508 4B E7 44 91 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 8028D5CC 0028A50C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8028D5D0 0028A510 7F E3 FB 78 */ mr r3, r31 -/* 8028D5D4 0028A514 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8028D5D8 0028A518 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8028D5DC 0028A51C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8028D5E0 0028A520 54 00 06 6E */ rlwinm r0, r0, 0, 0x19, 0x17 -/* 8028D5E4 0028A524 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8028D5E8 0028A528 48 00 09 15 */ bl setupEffect__Q34Game4Baby3ObjFv -/* 8028D5EC 0028A52C 7F E3 FB 78 */ mr r3, r31 -/* 8028D5F0 0028A530 48 00 04 C9 */ bl resetRandTargetPosition__Q34Game4Baby3ObjFv -/* 8028D5F4 0028A534 80 6D 93 E8 */ lwz r3, gameSystem__4Game@sda21(r13) -/* 8028D5F8 0028A538 28 03 00 00 */ cmplwi r3, 0 -/* 8028D5FC 0028A53C 41 82 00 3C */ beq lbl_8028D638 -/* 8028D600 0028A540 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8028D604 0028A544 2C 00 00 04 */ cmpwi r0, 4 -/* 8028D608 0028A548 40 82 00 30 */ bne lbl_8028D638 -/* 8028D60C 0028A54C 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8028D610 0028A550 7F E4 FB 78 */ mr r4, r31 -/* 8028D614 0028A554 38 A0 00 03 */ li r5, 3 -/* 8028D618 0028A558 38 C0 00 00 */ li r6, 0 -/* 8028D61C 0028A55C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028D620 0028A560 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8028D624 0028A564 7D 89 03 A6 */ mtctr r12 -/* 8028D628 0028A568 4E 80 04 21 */ bctrl -/* 8028D62C 0028A56C 7F E3 FB 78 */ mr r3, r31 -/* 8028D630 0028A570 48 00 04 A5 */ bl resetZukanAnimationFrame__Q34Game4Baby3ObjFv -/* 8028D634 0028A574 48 00 00 24 */ b lbl_8028D658 -lbl_8028D638: -/* 8028D638 0028A578 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8028D63C 0028A57C 7F E4 FB 78 */ mr r4, r31 -/* 8028D640 0028A580 38 A0 00 02 */ li r5, 2 -/* 8028D644 0028A584 38 C0 00 00 */ li r6, 0 -/* 8028D648 0028A588 81 83 00 00 */ lwz r12, 0(r3) -/* 8028D64C 0028A58C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8028D650 0028A590 7D 89 03 A6 */ mtctr r12 -/* 8028D654 0028A594 4E 80 04 21 */ bctrl -lbl_8028D658: -/* 8028D658 0028A598 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D65C 0028A59C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D660 0028A5A0 7C 08 03 A6 */ mtlr r0 -/* 8028D664 0028A5A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D668 0028A5A8 4E 80 00 20 */ blr - -.global doUpdate__Q34Game4Baby3ObjFv -doUpdate__Q34Game4Baby3ObjFv: -/* 8028D66C 0028A5AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D670 0028A5B0 7C 08 02 A6 */ mflr r0 -/* 8028D674 0028A5B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D678 0028A5B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D67C 0028A5BC 7C 7F 1B 78 */ mr r31, r3 -/* 8028D680 0028A5C0 7F E4 FB 78 */ mr r4, r31 -/* 8028D684 0028A5C4 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8028D688 0028A5C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028D68C 0028A5CC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028D690 0028A5D0 7D 89 03 A6 */ mtctr r12 -/* 8028D694 0028A5D4 4E 80 04 21 */ bctrl -/* 8028D698 0028A5D8 38 7F 02 C0 */ addi r3, r31, 0x2c0 -/* 8028D69C 0028A5DC 4B EA AF 91 */ bl update__10MouthSlotsFv -/* 8028D6A0 0028A5E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D6A4 0028A5E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D6A8 0028A5E8 7C 08 03 A6 */ mtlr r0 -/* 8028D6AC 0028A5EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D6B0 0028A5F0 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game4Baby3ObjFR8Graphics -doDirectDraw__Q34Game4Baby3ObjFR8Graphics: -/* 8028D6B4 0028A5F4 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game4Baby3ObjFR8Graphics -doDebugDraw__Q34Game4Baby3ObjFR8Graphics: -/* 8028D6B8 0028A5F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D6BC 0028A5FC 7C 08 02 A6 */ mflr r0 -/* 8028D6C0 0028A600 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D6C4 0028A604 4B E7 87 A9 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8028D6C8 0028A608 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D6CC 0028A60C 7C 08 03 A6 */ mtlr r0 -/* 8028D6D0 0028A610 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D6D4 0028A614 4E 80 00 20 */ blr - -.global setFSM__Q34Game4Baby3ObjFPQ34Game4Baby3FSM -setFSM__Q34Game4Baby3ObjFPQ34Game4Baby3FSM: -/* 8028D6D8 0028A618 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D6DC 0028A61C 7C 08 02 A6 */ mflr r0 -/* 8028D6E0 0028A620 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D6E4 0028A624 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D6E8 0028A628 7C 7F 1B 78 */ mr r31, r3 -/* 8028D6EC 0028A62C 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 8028D6F0 0028A630 7F E4 FB 78 */ mr r4, r31 -/* 8028D6F4 0028A634 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8028D6F8 0028A638 81 83 00 00 */ lwz r12, 0(r3) -/* 8028D6FC 0028A63C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028D700 0028A640 7D 89 03 A6 */ mtctr r12 -/* 8028D704 0028A644 4E 80 04 21 */ bctrl -/* 8028D708 0028A648 38 00 00 00 */ li r0, 0 -/* 8028D70C 0028A64C 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 8028D710 0028A650 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D714 0028A654 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D718 0028A658 7C 08 03 A6 */ mtlr r0 -/* 8028D71C 0028A65C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D720 0028A660 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game4Baby3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game4Baby3ObjFRQ24Game11ShadowParam: -/* 8028D724 0028A664 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8028D728 0028A668 C0 42 D5 80 */ lfs f2, lbl_8051B8E0@sda21(r2) -/* 8028D72C 0028A66C D0 04 00 00 */ stfs f0, 0(r4) -/* 8028D730 0028A670 C0 22 D5 84 */ lfs f1, lbl_8051B8E4@sda21(r2) -/* 8028D734 0028A674 C0 63 01 90 */ lfs f3, 0x190(r3) -/* 8028D738 0028A678 C0 02 D5 88 */ lfs f0, lbl_8051B8E8@sda21(r2) -/* 8028D73C 0028A67C D0 64 00 04 */ stfs f3, 4(r4) -/* 8028D740 0028A680 C0 63 01 94 */ lfs f3, 0x194(r3) -/* 8028D744 0028A684 D0 64 00 08 */ stfs f3, 8(r4) -/* 8028D748 0028A688 C0 64 00 04 */ lfs f3, 4(r4) -/* 8028D74C 0028A68C EC 43 10 2A */ fadds f2, f3, f2 -/* 8028D750 0028A690 D0 44 00 04 */ stfs f2, 4(r4) -/* 8028D754 0028A694 D0 24 00 0C */ stfs f1, 0xc(r4) -/* 8028D758 0028A698 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 8028D75C 0028A69C D0 24 00 14 */ stfs f1, 0x14(r4) -/* 8028D760 0028A6A0 80 03 01 E4 */ lwz r0, 0x1e4(r3) -/* 8028D764 0028A6A4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8028D768 0028A6A8 41 82 00 10 */ beq lbl_8028D778 -/* 8028D76C 0028A6AC C0 02 D5 8C */ lfs f0, lbl_8051B8EC@sda21(r2) -/* 8028D770 0028A6B0 D0 04 00 18 */ stfs f0, 0x18(r4) -/* 8028D774 0028A6B4 48 00 00 0C */ b lbl_8028D780 -lbl_8028D778: -/* 8028D778 0028A6B8 C0 02 D5 90 */ lfs f0, lbl_8051B8F0@sda21(r2) -/* 8028D77C 0028A6BC D0 04 00 18 */ stfs f0, 0x18(r4) -lbl_8028D780: -/* 8028D780 0028A6C0 C0 02 D5 90 */ lfs f0, lbl_8051B8F0@sda21(r2) -/* 8028D784 0028A6C4 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8028D788 0028A6C8 4E 80 00 20 */ blr - -.global pressCallBack__Q34Game4Baby3ObjFPQ24Game8CreaturefP8CollPart -pressCallBack__Q34Game4Baby3ObjFPQ24Game8CreaturefP8CollPart: -/* 8028D78C 0028A6CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D790 0028A6D0 7C 08 02 A6 */ mflr r0 -/* 8028D794 0028A6D4 28 04 00 00 */ cmplwi r4, 0 -/* 8028D798 0028A6D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D79C 0028A6DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D7A0 0028A6E0 7C 7F 1B 78 */ mr r31, r3 -/* 8028D7A4 0028A6E4 41 82 00 44 */ beq lbl_8028D7E8 -/* 8028D7A8 0028A6E8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8028D7AC 0028A6EC 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8028D7B0 0028A6F0 40 82 00 38 */ bne lbl_8028D7E8 -/* 8028D7B4 0028A6F4 4B E7 9C 41 */ bl getStateID__Q24Game9EnemyBaseFv -/* 8028D7B8 0028A6F8 2C 03 00 02 */ cmpwi r3, 2 -/* 8028D7BC 0028A6FC 40 81 00 2C */ ble lbl_8028D7E8 -/* 8028D7C0 0028A700 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8028D7C4 0028A704 7F E4 FB 78 */ mr r4, r31 -/* 8028D7C8 0028A708 38 A0 00 01 */ li r5, 1 -/* 8028D7CC 0028A70C 38 C0 00 00 */ li r6, 0 -/* 8028D7D0 0028A710 81 83 00 00 */ lwz r12, 0(r3) -/* 8028D7D4 0028A714 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028D7D8 0028A718 7D 89 03 A6 */ mtctr r12 -/* 8028D7DC 0028A71C 4E 80 04 21 */ bctrl -/* 8028D7E0 0028A720 38 60 00 01 */ li r3, 1 -/* 8028D7E4 0028A724 48 00 00 08 */ b lbl_8028D7EC -lbl_8028D7E8: -/* 8028D7E8 0028A728 38 60 00 00 */ li r3, 0 -lbl_8028D7EC: -/* 8028D7EC 0028A72C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D7F0 0028A730 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D7F4 0028A734 7C 08 03 A6 */ mtlr r0 -/* 8028D7F8 0028A738 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D7FC 0028A73C 4E 80 00 20 */ blr - -.global hipdropCallBack__Q34Game4Baby3ObjFPQ24Game8CreaturefP8CollPart -hipdropCallBack__Q34Game4Baby3ObjFPQ24Game8CreaturefP8CollPart: -/* 8028D800 0028A740 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D804 0028A744 7C 08 02 A6 */ mflr r0 -/* 8028D808 0028A748 28 04 00 00 */ cmplwi r4, 0 -/* 8028D80C 0028A74C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D810 0028A750 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D814 0028A754 7C 7F 1B 78 */ mr r31, r3 -/* 8028D818 0028A758 41 82 00 44 */ beq lbl_8028D85C -/* 8028D81C 0028A75C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8028D820 0028A760 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8028D824 0028A764 40 82 00 38 */ bne lbl_8028D85C -/* 8028D828 0028A768 4B E7 9B CD */ bl getStateID__Q24Game9EnemyBaseFv -/* 8028D82C 0028A76C 2C 03 00 02 */ cmpwi r3, 2 -/* 8028D830 0028A770 40 81 00 2C */ ble lbl_8028D85C -/* 8028D834 0028A774 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8028D838 0028A778 7F E4 FB 78 */ mr r4, r31 -/* 8028D83C 0028A77C 38 A0 00 01 */ li r5, 1 -/* 8028D840 0028A780 38 C0 00 00 */ li r6, 0 -/* 8028D844 0028A784 81 83 00 00 */ lwz r12, 0(r3) -/* 8028D848 0028A788 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028D84C 0028A78C 7D 89 03 A6 */ mtctr r12 -/* 8028D850 0028A790 4E 80 04 21 */ bctrl -/* 8028D854 0028A794 38 60 00 01 */ li r3, 1 -/* 8028D858 0028A798 48 00 00 08 */ b lbl_8028D860 -lbl_8028D85C: -/* 8028D85C 0028A79C 38 60 00 00 */ li r3, 0 -lbl_8028D860: -/* 8028D860 0028A7A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D864 0028A7A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D868 0028A7A8 7C 08 03 A6 */ mtlr r0 -/* 8028D86C 0028A7AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D870 0028A7B0 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game4Baby3ObjFv -doStartStoneState__Q34Game4Baby3ObjFv: -/* 8028D874 0028A7B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D878 0028A7B8 7C 08 02 A6 */ mflr r0 -/* 8028D87C 0028A7BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D880 0028A7C0 4B E7 56 75 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 8028D884 0028A7C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D888 0028A7C8 7C 08 03 A6 */ mtlr r0 -/* 8028D88C 0028A7CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D890 0028A7D0 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game4Baby3ObjFv -doFinishStoneState__Q34Game4Baby3ObjFv: -/* 8028D894 0028A7D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D898 0028A7D8 7C 08 02 A6 */ mflr r0 -/* 8028D89C 0028A7DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D8A0 0028A7E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D8A4 0028A7E4 7C 7F 1B 78 */ mr r31, r3 -/* 8028D8A8 0028A7E8 4B E7 56 61 */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 8028D8AC 0028A7EC 7F E3 FB 78 */ mr r3, r31 -/* 8028D8B0 0028A7F0 4B E7 9B 45 */ bl getStateID__Q24Game9EnemyBaseFv -/* 8028D8B4 0028A7F4 2C 03 00 02 */ cmpwi r3, 2 -/* 8028D8B8 0028A7F8 40 82 00 24 */ bne lbl_8028D8DC -/* 8028D8BC 0028A7FC 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 8028D8C0 0028A800 7F E4 FB 78 */ mr r4, r31 -/* 8028D8C4 0028A804 38 A0 00 03 */ li r5, 3 -/* 8028D8C8 0028A808 38 C0 00 00 */ li r6, 0 -/* 8028D8CC 0028A80C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028D8D0 0028A810 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028D8D4 0028A814 7D 89 03 A6 */ mtctr r12 -/* 8028D8D8 0028A818 4E 80 04 21 */ bctrl -lbl_8028D8DC: -/* 8028D8DC 0028A81C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D8E0 0028A820 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D8E4 0028A824 7C 08 03 A6 */ mtlr r0 -/* 8028D8E8 0028A828 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D8EC 0028A82C 4E 80 00 20 */ blr - -.global doStartWaitingBirthTypeDrop__Q34Game4Baby3ObjFv -doStartWaitingBirthTypeDrop__Q34Game4Baby3ObjFv: -/* 8028D8F0 0028A830 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D8F4 0028A834 7C 08 02 A6 */ mflr r0 -/* 8028D8F8 0028A838 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D8FC 0028A83C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D900 0028A840 7C 7F 1B 78 */ mr r31, r3 -/* 8028D904 0028A844 4B E7 A0 95 */ bl doStartWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8028D908 0028A848 7F E3 FB 78 */ mr r3, r31 -/* 8028D90C 0028A84C 48 00 06 59 */ bl effectDrawOff__Q34Game4Baby3ObjFv -/* 8028D910 0028A850 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D914 0028A854 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D918 0028A858 7C 08 03 A6 */ mtlr r0 -/* 8028D91C 0028A85C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D920 0028A860 4E 80 00 20 */ blr - -.global doFinishWaitingBirthTypeDrop__Q34Game4Baby3ObjFv -doFinishWaitingBirthTypeDrop__Q34Game4Baby3ObjFv: -/* 8028D924 0028A864 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D928 0028A868 7C 08 02 A6 */ mflr r0 -/* 8028D92C 0028A86C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D930 0028A870 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D934 0028A874 7C 7F 1B 78 */ mr r31, r3 -/* 8028D938 0028A878 4B E7 A0 91 */ bl doFinishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8028D93C 0028A87C 7F E3 FB 78 */ mr r3, r31 -/* 8028D940 0028A880 48 00 05 F5 */ bl effectDrawOn__Q34Game4Baby3ObjFv -/* 8028D944 0028A884 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D948 0028A888 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028D94C 0028A88C 7C 08 03 A6 */ mtlr r0 -/* 8028D950 0028A890 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D954 0028A894 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game4Baby3ObjFv -doStartMovie__Q34Game4Baby3ObjFv: -/* 8028D958 0028A898 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D95C 0028A89C 7C 08 02 A6 */ mflr r0 -/* 8028D960 0028A8A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D964 0028A8A4 48 00 06 01 */ bl effectDrawOff__Q34Game4Baby3ObjFv -/* 8028D968 0028A8A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D96C 0028A8AC 7C 08 03 A6 */ mtlr r0 -/* 8028D970 0028A8B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D974 0028A8B4 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game4Baby3ObjFv -doEndMovie__Q34Game4Baby3ObjFv: -/* 8028D978 0028A8B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028D97C 0028A8BC 7C 08 02 A6 */ mflr r0 -/* 8028D980 0028A8C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028D984 0028A8C4 48 00 05 B1 */ bl effectDrawOn__Q34Game4Baby3ObjFv -/* 8028D988 0028A8C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028D98C 0028A8CC 7C 08 03 A6 */ mtlr r0 -/* 8028D990 0028A8D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028D994 0028A8D4 4E 80 00 20 */ blr - -.global initMouthSlots__Q34Game4Baby3ObjFv -initMouthSlots__Q34Game4Baby3ObjFv: -/* 8028D998 0028A8D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028D99C 0028A8DC 7C 08 02 A6 */ mflr r0 -/* 8028D9A0 0028A8E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028D9A4 0028A8E4 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8028D9A8 0028A8E8 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8028D9AC 0028A8EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028D9B0 0028A8F0 93 C1 00 08 */ stw r30, 8(r1) -/* 8028D9B4 0028A8F4 7C 7E 1B 78 */ mr r30, r3 -/* 8028D9B8 0028A8F8 38 80 00 01 */ li r4, 1 -/* 8028D9BC 0028A8FC 38 7E 02 C0 */ addi r3, r30, 0x2c0 -/* 8028D9C0 0028A900 4B EA AB 99 */ bl alloc__10MouthSlotsFi -/* 8028D9C4 0028A904 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 8028D9C8 0028A908 38 7E 02 C0 */ addi r3, r30, 0x2c0 -/* 8028D9CC 0028A90C 38 80 00 00 */ li r4, 0 -/* 8028D9D0 0028A910 38 C2 D5 94 */ addi r6, r2, lbl_8051B8F4@sda21 -/* 8028D9D4 0028A914 4B EA AC BD */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 8028D9D8 0028A918 C3 E2 D5 9C */ lfs f31, lbl_8051B8FC@sda21(r2) -/* 8028D9DC 0028A91C 3B E0 00 00 */ li r31, 0 -/* 8028D9E0 0028A920 48 00 00 18 */ b lbl_8028D9F8 -lbl_8028D9E4: -/* 8028D9E4 0028A924 7F E4 FB 78 */ mr r4, r31 -/* 8028D9E8 0028A928 38 7E 02 C0 */ addi r3, r30, 0x2c0 -/* 8028D9EC 0028A92C 4B EA AD 8D */ bl getSlot__10MouthSlotsFi -/* 8028D9F0 0028A930 D3 E3 00 1C */ stfs f31, 0x1c(r3) -/* 8028D9F4 0028A934 3B FF 00 01 */ addi r31, r31, 1 -lbl_8028D9F8: -/* 8028D9F8 0028A938 80 1E 02 C0 */ lwz r0, 0x2c0(r30) -/* 8028D9FC 0028A93C 7C 1F 00 00 */ cmpw r31, r0 -/* 8028DA00 0028A940 41 80 FF E4 */ blt lbl_8028D9E4 -/* 8028DA04 0028A944 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8028DA08 0028A948 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028DA0C 0028A94C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8028DA10 0028A950 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028DA14 0028A954 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028DA18 0028A958 7C 08 03 A6 */ mtlr r0 -/* 8028DA1C 0028A95C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028DA20 0028A960 4E 80 00 20 */ blr - -.global getSlotPikiNum__Q34Game4Baby3ObjFv -getSlotPikiNum__Q34Game4Baby3ObjFv: -/* 8028DA24 0028A964 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028DA28 0028A968 7C 08 02 A6 */ mflr r0 -/* 8028DA2C 0028A96C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028DA30 0028A970 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028DA34 0028A974 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028DA38 0028A978 3B C0 00 00 */ li r30, 0 -/* 8028DA3C 0028A97C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8028DA40 0028A980 93 81 00 10 */ stw r28, 0x10(r1) -/* 8028DA44 0028A984 81 83 00 00 */ lwz r12, 0(r3) -/* 8028DA48 0028A988 81 8C 02 5C */ lwz r12, 0x25c(r12) -/* 8028DA4C 0028A98C 7D 89 03 A6 */ mtctr r12 -/* 8028DA50 0028A990 4E 80 04 21 */ bctrl -/* 8028DA54 0028A994 83 E3 00 00 */ lwz r31, 0(r3) -/* 8028DA58 0028A998 3B 80 00 00 */ li r28, 0 -/* 8028DA5C 0028A99C 7C 7D 1B 78 */ mr r29, r3 -/* 8028DA60 0028A9A0 48 00 00 24 */ b lbl_8028DA84 -lbl_8028DA64: -/* 8028DA64 0028A9A4 7F A3 EB 78 */ mr r3, r29 -/* 8028DA68 0028A9A8 7F 84 E3 78 */ mr r4, r28 -/* 8028DA6C 0028A9AC 4B EA AD 0D */ bl getSlot__10MouthSlotsFi -/* 8028DA70 0028A9B0 80 03 00 64 */ lwz r0, 0x64(r3) -/* 8028DA74 0028A9B4 28 00 00 00 */ cmplwi r0, 0 -/* 8028DA78 0028A9B8 41 82 00 08 */ beq lbl_8028DA80 -/* 8028DA7C 0028A9BC 3B DE 00 01 */ addi r30, r30, 1 -lbl_8028DA80: -/* 8028DA80 0028A9C0 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8028DA84: -/* 8028DA84 0028A9C4 7C 1C F8 00 */ cmpw r28, r31 -/* 8028DA88 0028A9C8 41 80 FF DC */ blt lbl_8028DA64 -/* 8028DA8C 0028A9CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028DA90 0028A9D0 7F C3 F3 78 */ mr r3, r30 -/* 8028DA94 0028A9D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028DA98 0028A9D8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028DA9C 0028A9DC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8028DAA0 0028A9E0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8028DAA4 0028A9E4 7C 08 03 A6 */ mtlr r0 -/* 8028DAA8 0028A9E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028DAAC 0028A9EC 4E 80 00 20 */ blr - -.global getMouthSlots__Q34Game4Baby3ObjFv -getMouthSlots__Q34Game4Baby3ObjFv: -/* 8028DAB0 0028A9F0 38 63 02 C0 */ addi r3, r3, 0x2c0 -/* 8028DAB4 0028A9F4 4E 80 00 20 */ blr - -.global resetRandTargetPosition__Q34Game4Baby3ObjFv -resetRandTargetPosition__Q34Game4Baby3ObjFv: -/* 8028DAB8 0028A9F8 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8028DABC 0028A9FC D0 03 02 C8 */ stfs f0, 0x2c8(r3) -/* 8028DAC0 0028AA00 C0 03 01 90 */ lfs f0, 0x190(r3) -/* 8028DAC4 0028AA04 D0 03 02 CC */ stfs f0, 0x2cc(r3) -/* 8028DAC8 0028AA08 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 8028DACC 0028AA0C D0 03 02 D0 */ stfs f0, 0x2d0(r3) -/* 8028DAD0 0028AA10 4E 80 00 20 */ blr - -.global resetZukanAnimationFrame__Q34Game4Baby3ObjFv -resetZukanAnimationFrame__Q34Game4Baby3ObjFv: -/* 8028DAD4 0028AA14 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8028DAD8 0028AA18 7C 08 02 A6 */ mflr r0 -/* 8028DADC 0028AA1C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028DAE0 0028AA20 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8028DAE4 0028AA24 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8028DAE8 0028AA28 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028DAEC 0028AA2C 7C 7F 1B 78 */ mr r31, r3 -/* 8028DAF0 0028AA30 4B E7 97 31 */ bl getMotionFrameMax__Q24Game9EnemyBaseFv -/* 8028DAF4 0028AA34 FF E0 08 90 */ fmr f31, f1 -/* 8028DAF8 0028AA38 4B E3 BA A9 */ bl rand -/* 8028DAFC 0028AA3C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8028DB00 0028AA40 3C 00 43 30 */ lis r0, 0x4330 -/* 8028DB04 0028AA44 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028DB08 0028AA48 7F E3 FB 78 */ mr r3, r31 -/* 8028DB0C 0028AA4C C8 42 D5 A8 */ lfd f2, lbl_8051B908@sda21(r2) -/* 8028DB10 0028AA50 90 01 00 08 */ stw r0, 8(r1) -/* 8028DB14 0028AA54 C0 02 D5 A0 */ lfs f0, lbl_8051B900@sda21(r2) -/* 8028DB18 0028AA58 C8 21 00 08 */ lfd f1, 8(r1) -/* 8028DB1C 0028AA5C EC 21 10 28 */ fsubs f1, f1, f2 -/* 8028DB20 0028AA60 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8028DB24 0028AA64 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8028DB28 0028AA68 4B E7 77 01 */ bl setMotionFrame__Q24Game9EnemyBaseFf -/* 8028DB2C 0028AA6C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8028DB30 0028AA70 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028DB34 0028AA74 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8028DB38 0028AA78 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028DB3C 0028AA7C 7C 08 03 A6 */ mtlr r0 -/* 8028DB40 0028AA80 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028DB44 0028AA84 4E 80 00 20 */ blr - -.global moveNoTarget__Q34Game4Baby3ObjFv -moveNoTarget__Q34Game4Baby3ObjFv: -/* 8028DB48 0028AA88 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028DB4C 0028AA8C 7C 08 02 A6 */ mflr r0 -/* 8028DB50 0028AA90 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028DB54 0028AA94 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8028DB58 0028AA98 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8028DB5C 0028AA9C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8028DB60 0028AAA0 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8028DB64 0028AAA4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8028DB68 0028AAA8 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8028DB6C 0028AAAC 7C 7F 1B 78 */ mr r31, r3 -/* 8028DB70 0028AAB0 28 04 00 00 */ cmplwi r4, 0 -/* 8028DB74 0028AAB4 41 82 01 AC */ beq lbl_8028DD20 -/* 8028DB78 0028AAB8 80 04 00 44 */ lwz r0, 0x44(r4) -/* 8028DB7C 0028AABC 2C 00 00 04 */ cmpwi r0, 4 -/* 8028DB80 0028AAC0 40 82 01 A0 */ bne lbl_8028DD20 -/* 8028DB84 0028AAC4 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8028DB88 0028AAC8 C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 8028DB8C 0028AACC C0 5F 01 8C */ lfs f2, 0x18c(r31) -/* 8028DB90 0028AAD0 EC 61 00 28 */ fsubs f3, f1, f0 -/* 8028DB94 0028AAD4 C0 3F 02 C8 */ lfs f1, 0x2c8(r31) -/* 8028DB98 0028AAD8 C0 02 D5 B0 */ lfs f0, lbl_8051B910@sda21(r2) -/* 8028DB9C 0028AADC EC 42 08 28 */ fsubs f2, f2, f1 -/* 8028DBA0 0028AAE0 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 8028DBA4 0028AAE4 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8028DBA8 0028AAE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028DBAC 0028AAEC 40 80 01 54 */ bge lbl_8028DD00 -/* 8028DBB0 0028AAF0 4B E3 B9 F1 */ bl rand -/* 8028DBB4 0028AAF4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8028DBB8 0028AAF8 3C 00 43 30 */ lis r0, 0x4330 -/* 8028DBBC 0028AAFC 90 61 00 0C */ stw r3, 0xc(r1) -/* 8028DBC0 0028AB00 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8028DBC4 0028AB04 C8 42 D5 A8 */ lfd f2, lbl_8051B908@sda21(r2) -/* 8028DBC8 0028AB08 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8028DBCC 0028AB0C 90 01 00 08 */ stw r0, 8(r1) -/* 8028DBD0 0028AB10 C0 02 D5 B4 */ lfs f0, lbl_8051B914@sda21(r2) -/* 8028DBD4 0028AB14 C8 21 00 08 */ lfd f1, 8(r1) -/* 8028DBD8 0028AB18 C0 A2 D5 A0 */ lfs f5, lbl_8051B900@sda21(r2) -/* 8028DBDC 0028AB1C EC 41 10 28 */ fsubs f2, f1, f2 -/* 8028DBE0 0028AB20 C0 7F 01 8C */ lfs f3, 0x18c(r31) -/* 8028DBE4 0028AB24 C0 3F 01 98 */ lfs f1, 0x198(r31) -/* 8028DBE8 0028AB28 C0 82 D5 8C */ lfs f4, lbl_8051B8EC@sda21(r2) -/* 8028DBEC 0028AB2C EC C0 00 B2 */ fmuls f6, f0, f2 -/* 8028DBF0 0028AB30 C0 5F 01 94 */ lfs f2, 0x194(r31) -/* 8028DBF4 0028AB34 EC 23 08 28 */ fsubs f1, f3, f1 -/* 8028DBF8 0028AB38 C0 1F 01 A0 */ lfs f0, 0x1a0(r31) -/* 8028DBFC 0028AB3C EC 66 28 24 */ fdivs f3, f6, f5 -/* 8028DC00 0028AB40 EF E4 18 2A */ fadds f31, f4, f3 -/* 8028DC04 0028AB44 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8028DC08 0028AB48 4B DA 75 01 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8028DC0C 0028AB4C FF C0 08 90 */ fmr f30, f1 -/* 8028DC10 0028AB50 4B E3 B9 91 */ bl rand -/* 8028DC14 0028AB54 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8028DC18 0028AB58 3C 00 43 30 */ lis r0, 0x4330 -/* 8028DC1C 0028AB5C 90 61 00 14 */ stw r3, 0x14(r1) -/* 8028DC20 0028AB60 C8 42 D5 A8 */ lfd f2, lbl_8051B908@sda21(r2) -/* 8028DC24 0028AB64 90 01 00 10 */ stw r0, 0x10(r1) -/* 8028DC28 0028AB68 C0 62 D5 B8 */ lfs f3, lbl_8051B918@sda21(r2) -/* 8028DC2C 0028AB6C C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8028DC30 0028AB70 C0 22 D5 A0 */ lfs f1, lbl_8051B900@sda21(r2) -/* 8028DC34 0028AB74 EC 80 10 28 */ fsubs f4, f0, f2 -/* 8028DC38 0028AB78 C0 42 D5 BC */ lfs f2, lbl_8051B91C@sda21(r2) -/* 8028DC3C 0028AB7C C0 02 D5 84 */ lfs f0, lbl_8051B8E4@sda21(r2) -/* 8028DC40 0028AB80 EC 63 01 32 */ fmuls f3, f3, f4 -/* 8028DC44 0028AB84 EC 23 08 24 */ fdivs f1, f3, f1 -/* 8028DC48 0028AB88 EC 3E 08 2A */ fadds f1, f30, f1 -/* 8028DC4C 0028AB8C EC 62 08 2A */ fadds f3, f2, f1 -/* 8028DC50 0028AB90 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8028DC54 0028AB94 40 80 00 30 */ bge lbl_8028DC84 -/* 8028DC58 0028AB98 C0 02 D5 C0 */ lfs f0, lbl_8051B920@sda21(r2) -/* 8028DC5C 0028AB9C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028DC60 0028ABA0 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8028DC64 0028ABA4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8028DC68 0028ABA8 FC 00 00 1E */ fctiwz f0, f0 -/* 8028DC6C 0028ABAC D8 01 00 18 */ stfd f0, 0x18(r1) -/* 8028DC70 0028ABB0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8028DC74 0028ABB4 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028DC78 0028ABB8 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8028DC7C 0028ABBC FC 40 00 50 */ fneg f2, f0 -/* 8028DC80 0028ABC0 48 00 00 28 */ b lbl_8028DCA8 -lbl_8028DC84: -/* 8028DC84 0028ABC4 C0 02 D5 C4 */ lfs f0, lbl_8051B924@sda21(r2) -/* 8028DC88 0028ABC8 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028DC8C 0028ABCC 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8028DC90 0028ABD0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8028DC94 0028ABD4 FC 00 00 1E */ fctiwz f0, f0 -/* 8028DC98 0028ABD8 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8028DC9C 0028ABDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028DCA0 0028ABE0 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028DCA4 0028ABE4 7C 43 04 2E */ lfsx f2, r3, r0 -lbl_8028DCA8: -/* 8028DCA8 0028ABE8 C0 3F 01 98 */ lfs f1, 0x198(r31) -/* 8028DCAC 0028ABEC C0 02 D5 84 */ lfs f0, lbl_8051B8E4@sda21(r2) -/* 8028DCB0 0028ABF0 EC 3F 08 BA */ fmadds f1, f31, f2, f1 -/* 8028DCB4 0028ABF4 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8028DCB8 0028ABF8 D0 3F 02 C8 */ stfs f1, 0x2c8(r31) -/* 8028DCBC 0028ABFC C0 1F 01 9C */ lfs f0, 0x19c(r31) -/* 8028DCC0 0028AC00 D0 1F 02 CC */ stfs f0, 0x2cc(r31) -/* 8028DCC4 0028AC04 40 80 00 08 */ bge lbl_8028DCCC -/* 8028DCC8 0028AC08 FC 60 18 50 */ fneg f3, f3 -lbl_8028DCCC: -/* 8028DCCC 0028AC0C C0 22 D5 C4 */ lfs f1, lbl_8051B924@sda21(r2) -/* 8028DCD0 0028AC10 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 8028DCD4 0028AC14 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 8028DCD8 0028AC18 C0 1F 01 A0 */ lfs f0, 0x1a0(r31) -/* 8028DCDC 0028AC1C EC 23 00 72 */ fmuls f1, f3, f1 -/* 8028DCE0 0028AC20 FC 20 08 1E */ fctiwz f1, f1 -/* 8028DCE4 0028AC24 D8 21 00 28 */ stfd f1, 0x28(r1) -/* 8028DCE8 0028AC28 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8028DCEC 0028AC2C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8028DCF0 0028AC30 7C 63 02 14 */ add r3, r3, r0 -/* 8028DCF4 0028AC34 C0 23 00 04 */ lfs f1, 4(r3) -/* 8028DCF8 0028AC38 EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 8028DCFC 0028AC3C D0 1F 02 D0 */ stfs f0, 0x2d0(r31) -lbl_8028DD00: -/* 8028DD00 0028AC40 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 8028DD04 0028AC44 7F E3 FB 78 */ mr r3, r31 -/* 8028DD08 0028AC48 38 9F 02 C8 */ addi r4, r31, 0x2c8 -/* 8028DD0C 0028AC4C C0 25 02 E4 */ lfs f1, 0x2e4(r5) -/* 8028DD10 0028AC50 C0 45 03 0C */ lfs f2, 0x30c(r5) -/* 8028DD14 0028AC54 C0 65 03 34 */ lfs f3, 0x334(r5) -/* 8028DD18 0028AC58 4B E8 78 C5 */ bl walkToTarget__Q24Game9EnemyFuncFPQ24Game9EnemyBaseR10Vector3$$0f$$1fff -/* 8028DD1C 0028AC5C 48 00 00 14 */ b lbl_8028DD30 -lbl_8028DD20: -/* 8028DD20 0028AC60 C0 02 D5 84 */ lfs f0, lbl_8051B8E4@sda21(r2) -/* 8028DD24 0028AC64 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 8028DD28 0028AC68 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 8028DD2C 0028AC6C D0 1F 01 DC */ stfs f0, 0x1dc(r31) -lbl_8028DD30: -/* 8028DD30 0028AC70 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8028DD34 0028AC74 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8028DD38 0028AC78 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8028DD3C 0028AC7C CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8028DD40 0028AC80 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028DD44 0028AC84 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8028DD48 0028AC88 7C 08 03 A6 */ mtlr r0 -/* 8028DD4C 0028AC8C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028DD50 0028AC90 4E 80 00 20 */ blr - -.global createHoney__Q34Game4Baby3ObjFv -createHoney__Q34Game4Baby3ObjFv: -/* 8028DD54 0028AC94 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8028DD58 0028AC98 7C 08 02 A6 */ mflr r0 -/* 8028DD5C 0028AC9C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8028DD60 0028ACA0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8028DD64 0028ACA4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8028DD68 0028ACA8 7C 7E 1B 78 */ mr r30, r3 -/* 8028DD6C 0028ACAC 83 E3 00 C0 */ lwz r31, 0xc0(r3) -/* 8028DD70 0028ACB0 4B E3 B8 31 */ bl rand -/* 8028DD74 0028ACB4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8028DD78 0028ACB8 3C 00 43 30 */ lis r0, 0x4330 -/* 8028DD7C 0028ACBC 90 61 00 24 */ stw r3, 0x24(r1) -/* 8028DD80 0028ACC0 C8 62 D5 A8 */ lfd f3, lbl_8051B908@sda21(r2) -/* 8028DD84 0028ACC4 90 01 00 20 */ stw r0, 0x20(r1) -/* 8028DD88 0028ACC8 C0 42 D5 88 */ lfs f2, lbl_8051B8E8@sda21(r2) -/* 8028DD8C 0028ACCC C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8028DD90 0028ACD0 C0 22 D5 A0 */ lfs f1, lbl_8051B900@sda21(r2) -/* 8028DD94 0028ACD4 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8028DD98 0028ACD8 C0 1F 08 44 */ lfs f0, 0x844(r31) -/* 8028DD9C 0028ACDC EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8028DDA0 0028ACE0 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8028DDA4 0028ACE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028DDA8 0028ACE8 40 80 00 88 */ bge lbl_8028DE30 -/* 8028DDAC 0028ACEC 3C 60 80 4B */ lis r3, __vt__Q24Game15CreatureInitArg@ha -/* 8028DDB0 0028ACF0 38 00 00 00 */ li r0, 0 -/* 8028DDB4 0028ACF4 38 83 A2 F4 */ addi r4, r3, __vt__Q24Game15CreatureInitArg@l -/* 8028DDB8 0028ACF8 3C 60 80 4B */ lis r3, __vt__Q34Game9ItemHoney7InitArg@ha -/* 8028DDBC 0028ACFC 90 81 00 08 */ stw r4, 8(r1) -/* 8028DDC0 0028AD00 38 83 A2 E8 */ addi r4, r3, __vt__Q34Game9ItemHoney7InitArg@l -/* 8028DDC4 0028AD04 80 6D 94 50 */ lwz r3, mgr__Q24Game9ItemHoney@sda21(r13) -/* 8028DDC8 0028AD08 90 81 00 08 */ stw r4, 8(r1) -/* 8028DDCC 0028AD0C 98 01 00 0C */ stb r0, 0xc(r1) -/* 8028DDD0 0028AD10 98 01 00 0D */ stb r0, 0xd(r1) -/* 8028DDD4 0028AD14 81 83 00 00 */ lwz r12, 0(r3) -/* 8028DDD8 0028AD18 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 8028DDDC 0028AD1C 7D 89 03 A6 */ mtctr r12 -/* 8028DDE0 0028AD20 4E 80 04 21 */ bctrl -/* 8028DDE4 0028AD24 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028DDE8 0028AD28 41 82 00 48 */ beq lbl_8028DE30 -/* 8028DDEC 0028AD2C 38 81 00 08 */ addi r4, r1, 8 -/* 8028DDF0 0028AD30 4B EA D1 D9 */ bl init__Q24Game8CreatureFPQ24Game15CreatureInitArg -/* 8028DDF4 0028AD34 7F E3 FB 78 */ mr r3, r31 -/* 8028DDF8 0028AD38 38 9E 01 8C */ addi r4, r30, 0x18c -/* 8028DDFC 0028AD3C 38 A0 00 00 */ li r5, 0 -/* 8028DE00 0028AD40 4B EA D3 A9 */ bl setPosition__Q24Game8CreatureFR10Vector3$$0f$$1b -/* 8028DE04 0028AD44 C0 22 D5 84 */ lfs f1, lbl_8051B8E4@sda21(r2) -/* 8028DE08 0028AD48 7F E3 FB 78 */ mr r3, r31 -/* 8028DE0C 0028AD4C C0 02 D5 C8 */ lfs f0, lbl_8051B928@sda21(r2) -/* 8028DE10 0028AD50 38 81 00 10 */ addi r4, r1, 0x10 -/* 8028DE14 0028AD54 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8028DE18 0028AD58 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8028DE1C 0028AD5C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8028DE20 0028AD60 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028DE24 0028AD64 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8028DE28 0028AD68 7D 89 03 A6 */ mtctr r12 -/* 8028DE2C 0028AD6C 4E 80 04 21 */ bctrl -lbl_8028DE30: -/* 8028DE30 0028AD70 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8028DE34 0028AD74 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8028DE38 0028AD78 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8028DE3C 0028AD7C 7C 08 03 A6 */ mtlr r0 -/* 8028DE40 0028AD80 38 21 00 30 */ addi r1, r1, 0x30 -/* 8028DE44 0028AD84 4E 80 00 20 */ blr - -.global createEffect__Q34Game4Baby3ObjFv -createEffect__Q34Game4Baby3ObjFv: -/* 8028DE48 0028AD88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028DE4C 0028AD8C 7C 08 02 A6 */ mflr r0 -/* 8028DE50 0028AD90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028DE54 0028AD94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028DE58 0028AD98 7C 7F 1B 78 */ mr r31, r3 -/* 8028DE5C 0028AD9C 38 60 00 14 */ li r3, 0x14 -/* 8028DE60 0028ADA0 4B D9 60 45 */ bl __nw__FUl -/* 8028DE64 0028ADA4 28 03 00 00 */ cmplwi r3, 0 -/* 8028DE68 0028ADA8 41 82 00 7C */ beq lbl_8028DEE4 -/* 8028DE6C 0028ADAC 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028DE70 0028ADB0 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028DE74 0028ADB4 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028DE78 0028ADB8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028DE7C 0028ADBC 90 03 00 00 */ stw r0, 0(r3) -/* 8028DE80 0028ADC0 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028DE84 0028ADC4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028DE88 0028ADC8 3C 80 80 4E */ lis r4, __vt__Q23efx9TChasePos@ha -/* 8028DE8C 0028ADCC 90 03 00 04 */ stw r0, 4(r3) -/* 8028DE90 0028ADD0 39 04 69 40 */ addi r8, r4, __vt__Q23efx9TChasePos@l -/* 8028DE94 0028ADD4 3C 80 80 4D */ lis r4, __vt__Q23efx9TBabyBorn@ha -/* 8028DE98 0028ADD8 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028DE9C 0028ADDC 90 A3 00 00 */ stw r5, 0(r3) -/* 8028DEA0 0028ADE0 38 84 A5 70 */ addi r4, r4, __vt__Q23efx9TBabyBorn@l -/* 8028DEA4 0028ADE4 39 40 00 00 */ li r10, 0 -/* 8028DEA8 0028ADE8 39 20 02 B2 */ li r9, 0x2b2 -/* 8028DEAC 0028ADEC 90 03 00 04 */ stw r0, 4(r3) -/* 8028DEB0 0028ADF0 38 E8 00 14 */ addi r7, r8, 0x14 -/* 8028DEB4 0028ADF4 38 DF 01 8C */ addi r6, r31, 0x18c -/* 8028DEB8 0028ADF8 38 A0 00 04 */ li r5, 4 -/* 8028DEBC 0028ADFC 91 43 00 08 */ stw r10, 8(r3) -/* 8028DEC0 0028AE00 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028DEC4 0028AE04 B1 23 00 0C */ sth r9, 0xc(r3) -/* 8028DEC8 0028AE08 99 43 00 0E */ stb r10, 0xe(r3) -/* 8028DECC 0028AE0C 91 03 00 00 */ stw r8, 0(r3) -/* 8028DED0 0028AE10 90 E3 00 04 */ stw r7, 4(r3) -/* 8028DED4 0028AE14 90 C3 00 10 */ stw r6, 0x10(r3) -/* 8028DED8 0028AE18 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028DEDC 0028AE1C 90 83 00 00 */ stw r4, 0(r3) -/* 8028DEE0 0028AE20 90 03 00 04 */ stw r0, 4(r3) -lbl_8028DEE4: -/* 8028DEE4 0028AE24 90 7F 02 D4 */ stw r3, 0x2d4(r31) -/* 8028DEE8 0028AE28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028DEEC 0028AE2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028DEF0 0028AE30 7C 08 03 A6 */ mtlr r0 -/* 8028DEF4 0028AE34 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028DEF8 0028AE38 4E 80 00 20 */ blr - -.global setupEffect__Q34Game4Baby3ObjFv -setupEffect__Q34Game4Baby3ObjFv: -/* 8028DEFC 0028AE3C 4E 80 00 20 */ blr - -.global createBornEffect__Q34Game4Baby3ObjFv -createBornEffect__Q34Game4Baby3ObjFv: -/* 8028DF00 0028AE40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028DF04 0028AE44 7C 08 02 A6 */ mflr r0 -/* 8028DF08 0028AE48 38 80 00 00 */ li r4, 0 -/* 8028DF0C 0028AE4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028DF10 0028AE50 80 63 02 D4 */ lwz r3, 0x2d4(r3) -/* 8028DF14 0028AE54 81 83 00 00 */ lwz r12, 0(r3) -/* 8028DF18 0028AE58 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028DF1C 0028AE5C 7D 89 03 A6 */ mtctr r12 -/* 8028DF20 0028AE60 4E 80 04 21 */ bctrl -/* 8028DF24 0028AE64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028DF28 0028AE68 7C 08 03 A6 */ mtlr r0 -/* 8028DF2C 0028AE6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028DF30 0028AE70 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game4Baby3ObjFv -effectDrawOn__Q34Game4Baby3ObjFv: -/* 8028DF34 0028AE74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028DF38 0028AE78 7C 08 02 A6 */ mflr r0 -/* 8028DF3C 0028AE7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028DF40 0028AE80 80 63 02 D4 */ lwz r3, 0x2d4(r3) -/* 8028DF44 0028AE84 81 83 00 00 */ lwz r12, 0(r3) -/* 8028DF48 0028AE88 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8028DF4C 0028AE8C 7D 89 03 A6 */ mtctr r12 -/* 8028DF50 0028AE90 4E 80 04 21 */ bctrl -/* 8028DF54 0028AE94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028DF58 0028AE98 7C 08 03 A6 */ mtlr r0 -/* 8028DF5C 0028AE9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028DF60 0028AEA0 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game4Baby3ObjFv -effectDrawOff__Q34Game4Baby3ObjFv: -/* 8028DF64 0028AEA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028DF68 0028AEA8 7C 08 02 A6 */ mflr r0 -/* 8028DF6C 0028AEAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028DF70 0028AEB0 80 63 02 D4 */ lwz r3, 0x2d4(r3) -/* 8028DF74 0028AEB4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028DF78 0028AEB8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8028DF7C 0028AEBC 7D 89 03 A6 */ mtctr r12 -/* 8028DF80 0028AEC0 4E 80 04 21 */ bctrl -/* 8028DF84 0028AEC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028DF88 0028AEC8 7C 08 03 A6 */ mtlr r0 -/* 8028DF8C 0028AECC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028DF90 0028AED0 4E 80 00 20 */ blr - -.global __dt__Q23efx9TBabyBornFv -__dt__Q23efx9TBabyBornFv: -/* 8028DF94 0028AED4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028DF98 0028AED8 7C 08 02 A6 */ mflr r0 -/* 8028DF9C 0028AEDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028DFA0 0028AEE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028DFA4 0028AEE4 7C 9F 23 78 */ mr r31, r4 -/* 8028DFA8 0028AEE8 93 C1 00 08 */ stw r30, 8(r1) -/* 8028DFAC 0028AEEC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028DFB0 0028AEF0 41 82 00 64 */ beq lbl_8028E014 -/* 8028DFB4 0028AEF4 3C 60 80 4D */ lis r3, __vt__Q23efx9TBabyBorn@ha -/* 8028DFB8 0028AEF8 38 63 A5 70 */ addi r3, r3, __vt__Q23efx9TBabyBorn@l -/* 8028DFBC 0028AEFC 90 7E 00 00 */ stw r3, 0(r30) -/* 8028DFC0 0028AF00 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028DFC4 0028AF04 90 1E 00 04 */ stw r0, 4(r30) -/* 8028DFC8 0028AF08 41 82 00 3C */ beq lbl_8028E004 -/* 8028DFCC 0028AF0C 3C 60 80 4E */ lis r3, __vt__Q23efx9TChasePos@ha -/* 8028DFD0 0028AF10 38 63 69 40 */ addi r3, r3, __vt__Q23efx9TChasePos@l -/* 8028DFD4 0028AF14 90 7E 00 00 */ stw r3, 0(r30) -/* 8028DFD8 0028AF18 38 03 00 14 */ addi r0, r3, 0x14 -/* 8028DFDC 0028AF1C 90 1E 00 04 */ stw r0, 4(r30) -/* 8028DFE0 0028AF20 41 82 00 24 */ beq lbl_8028E004 -/* 8028DFE4 0028AF24 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028DFE8 0028AF28 38 7E 00 04 */ addi r3, r30, 4 -/* 8028DFEC 0028AF2C 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028DFF0 0028AF30 38 80 00 00 */ li r4, 0 -/* 8028DFF4 0028AF34 90 BE 00 00 */ stw r5, 0(r30) -/* 8028DFF8 0028AF38 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028DFFC 0028AF3C 90 1E 00 04 */ stw r0, 4(r30) -/* 8028E000 0028AF40 4B E0 1C 9D */ bl __dt__18JPAEmitterCallBackFv -lbl_8028E004: -/* 8028E004 0028AF44 7F E0 07 35 */ extsh. r0, r31 -/* 8028E008 0028AF48 40 81 00 0C */ ble lbl_8028E014 -/* 8028E00C 0028AF4C 7F C3 F3 78 */ mr r3, r30 -/* 8028E010 0028AF50 4B D9 60 A5 */ bl __dl__FPv -lbl_8028E014: -/* 8028E014 0028AF54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E018 0028AF58 7F C3 F3 78 */ mr r3, r30 -/* 8028E01C 0028AF5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028E020 0028AF60 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028E024 0028AF64 7C 08 03 A6 */ mtlr r0 -/* 8028E028 0028AF68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E02C 0028AF6C 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game4Baby3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game4Baby3ObjFPQ24Game8WaterBox: -/* 8028E030 0028AF70 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game4Baby3ObjFv -outWaterCallback__Q34Game4Baby3ObjFv: -/* 8028E034 0028AF74 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game4Baby3ObjFv -getEnemyTypeID__Q34Game4Baby3ObjFv: -/* 8028E038 0028AF78 38 60 00 1F */ li r3, 0x1f -/* 8028E03C 0028AF7C 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q23efx9TBabyBornFv -$$24$$2__dt__Q23efx9TBabyBornFv: -/* 8028E040 0028AF80 38 63 FF FC */ addi r3, r3, -4 -/* 8028E044 0028AF84 4B FF FF 50 */ b __dt__Q23efx9TBabyBornFv - -.global __ct__Q34Game5Demon3MgrFiUc -__ct__Q34Game5Demon3MgrFiUc: -/* 8028E048 0028AF88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028E04C 0028AF8C 7C 08 02 A6 */ mflr r0 -/* 8028E050 0028AF90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E054 0028AF94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028E058 0028AF98 7C 7F 1B 78 */ mr r31, r3 -/* 8028E05C 0028AF9C 4B EA 0C 39 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8028E060 0028AFA0 3C 60 80 4D */ lis r3, __vt__Q34Game5Demon3Mgr@ha -/* 8028E064 0028AFA4 3C 80 80 49 */ lis r4, lbl_80488330@ha -/* 8028E068 0028AFA8 38 A3 A8 E8 */ addi r5, r3, __vt__Q34Game5Demon3Mgr@l -/* 8028E06C 0028AFAC 7F E3 FB 78 */ mr r3, r31 -/* 8028E070 0028AFB0 90 BF 00 00 */ stw r5, 0(r31) -/* 8028E074 0028AFB4 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8028E078 0028AFB8 38 04 83 30 */ addi r0, r4, lbl_80488330@l -/* 8028E07C 0028AFBC 90 BF 00 04 */ stw r5, 4(r31) -/* 8028E080 0028AFC0 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8028E084 0028AFC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028E088 0028AFC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E08C 0028AFCC 7C 08 03 A6 */ mtlr r0 -/* 8028E090 0028AFD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E094 0028AFD4 4E 80 00 20 */ blr - -.global doAlloc__Q34Game5Demon3MgrFv -doAlloc__Q34Game5Demon3MgrFv: -/* 8028E098 0028AFD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028E09C 0028AFDC 7C 08 02 A6 */ mflr r0 -/* 8028E0A0 0028AFE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E0A4 0028AFE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028E0A8 0028AFE8 7C 7F 1B 78 */ mr r31, r3 -/* 8028E0AC 0028AFEC 38 60 0A 38 */ li r3, 0xa38 -/* 8028E0B0 0028AFF0 4B D9 5D F5 */ bl __nw__FUl -/* 8028E0B4 0028AFF4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028E0B8 0028AFF8 41 82 00 0C */ beq lbl_8028E0C4 -/* 8028E0BC 0028AFFC 4B FE 44 E1 */ bl __ct__Q34Game5Sarai5ParmsFv -/* 8028E0C0 0028B000 7C 64 1B 78 */ mr r4, r3 -lbl_8028E0C4: -/* 8028E0C4 0028B004 7F E3 FB 78 */ mr r3, r31 -/* 8028E0C8 0028B008 4B EA 17 D5 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8028E0CC 0028B00C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E0D0 0028B010 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028E0D4 0028B014 7C 08 03 A6 */ mtlr r0 -/* 8028E0D8 0028B018 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E0DC 0028B01C 4E 80 00 20 */ blr - -.global createObj__Q34Game5Demon3MgrFi -createObj__Q34Game5Demon3MgrFi: -/* 8028E0E0 0028B020 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028E0E4 0028B024 7C 08 02 A6 */ mflr r0 -/* 8028E0E8 0028B028 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E0EC 0028B02C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028E0F0 0028B030 7C 9F 23 78 */ mr r31, r4 -/* 8028E0F4 0028B034 93 C1 00 08 */ stw r30, 8(r1) -/* 8028E0F8 0028B038 7C 7E 1B 78 */ mr r30, r3 -/* 8028E0FC 0028B03C 1C 7F 02 EC */ mulli r3, r31, 0x2ec -/* 8028E100 0028B040 38 63 00 10 */ addi r3, r3, 0x10 -/* 8028E104 0028B044 4B D9 5E A9 */ bl __nwa__FUl -/* 8028E108 0028B048 3C 80 80 29 */ lis r4, __ct__Q34Game5Demon3ObjFv@ha -/* 8028E10C 0028B04C 3C A0 80 29 */ lis r5, __dt__Q34Game5Demon3ObjFv@ha -/* 8028E110 0028B050 38 84 E3 94 */ addi r4, r4, __ct__Q34Game5Demon3ObjFv@l -/* 8028E114 0028B054 7F E7 FB 78 */ mr r7, r31 -/* 8028E118 0028B058 38 A5 E1 40 */ addi r5, r5, __dt__Q34Game5Demon3ObjFv@l -/* 8028E11C 0028B05C 38 C0 02 EC */ li r6, 0x2ec -/* 8028E120 0028B060 4B E3 38 D1 */ bl __construct_new_array -/* 8028E124 0028B064 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8028E128 0028B068 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E12C 0028B06C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028E130 0028B070 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028E134 0028B074 7C 08 03 A6 */ mtlr r0 -/* 8028E138 0028B078 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E13C 0028B07C 4E 80 00 20 */ blr - -.global __dt__Q34Game5Demon3ObjFv -__dt__Q34Game5Demon3ObjFv: -/* 8028E140 0028B080 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028E144 0028B084 7C 08 02 A6 */ mflr r0 -/* 8028E148 0028B088 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E14C 0028B08C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028E150 0028B090 7C 9F 23 78 */ mr r31, r4 -/* 8028E154 0028B094 93 C1 00 08 */ stw r30, 8(r1) -/* 8028E158 0028B098 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028E15C 0028B09C 41 82 00 B8 */ beq lbl_8028E214 -/* 8028E160 0028B0A0 3C 60 80 4D */ lis r3, __vt__Q34Game5Demon3Obj@ha -/* 8028E164 0028B0A4 38 1E 02 DC */ addi r0, r30, 0x2dc -/* 8028E168 0028B0A8 38 83 A9 C8 */ addi r4, r3, __vt__Q34Game5Demon3Obj@l -/* 8028E16C 0028B0AC 90 9E 00 00 */ stw r4, 0(r30) -/* 8028E170 0028B0B0 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8028E174 0028B0B4 38 84 03 0C */ addi r4, r4, 0x30c -/* 8028E178 0028B0B8 90 7E 01 78 */ stw r3, 0x178(r30) -/* 8028E17C 0028B0BC 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028E180 0028B0C0 90 83 00 00 */ stw r4, 0(r3) -/* 8028E184 0028B0C4 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028E188 0028B0C8 7C 03 00 50 */ subf r0, r3, r0 -/* 8028E18C 0028B0CC 90 03 00 0C */ stw r0, 0xc(r3) -/* 8028E190 0028B0D0 41 82 00 74 */ beq lbl_8028E204 -/* 8028E194 0028B0D4 3C 60 80 4C */ lis r3, __vt__Q34Game5Sarai3Obj@ha -/* 8028E198 0028B0D8 38 1E 02 D8 */ addi r0, r30, 0x2d8 -/* 8028E19C 0028B0DC 38 83 65 B8 */ addi r4, r3, __vt__Q34Game5Sarai3Obj@l -/* 8028E1A0 0028B0E0 90 9E 00 00 */ stw r4, 0(r30) -/* 8028E1A4 0028B0E4 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8028E1A8 0028B0E8 38 84 03 0C */ addi r4, r4, 0x30c -/* 8028E1AC 0028B0EC 90 7E 01 78 */ stw r3, 0x178(r30) -/* 8028E1B0 0028B0F0 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028E1B4 0028B0F4 90 83 00 00 */ stw r4, 0(r3) -/* 8028E1B8 0028B0F8 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028E1BC 0028B0FC 7C 03 00 50 */ subf r0, r3, r0 -/* 8028E1C0 0028B100 90 03 00 0C */ stw r0, 0xc(r3) -/* 8028E1C4 0028B104 41 82 00 40 */ beq lbl_8028E204 -/* 8028E1C8 0028B108 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8028E1CC 0028B10C 38 1E 02 BC */ addi r0, r30, 0x2bc -/* 8028E1D0 0028B110 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8028E1D4 0028B114 38 7E 02 90 */ addi r3, r30, 0x290 -/* 8028E1D8 0028B118 90 9E 00 00 */ stw r4, 0(r30) -/* 8028E1DC 0028B11C 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8028E1E0 0028B120 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8028E1E4 0028B124 38 80 FF FF */ li r4, -1 -/* 8028E1E8 0028B128 90 BE 01 78 */ stw r5, 0x178(r30) -/* 8028E1EC 0028B12C 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8028E1F0 0028B130 90 C5 00 00 */ stw r6, 0(r5) -/* 8028E1F4 0028B134 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8028E1F8 0028B138 7C 05 00 50 */ subf r0, r5, r0 -/* 8028E1FC 0028B13C 90 05 00 0C */ stw r0, 0xc(r5) -/* 8028E200 0028B140 48 18 33 89 */ bl __dt__5CNodeFv -lbl_8028E204: -/* 8028E204 0028B144 7F E0 07 35 */ extsh. r0, r31 -/* 8028E208 0028B148 40 81 00 0C */ ble lbl_8028E214 -/* 8028E20C 0028B14C 7F C3 F3 78 */ mr r3, r30 -/* 8028E210 0028B150 4B D9 5E A5 */ bl __dl__FPv -lbl_8028E214: -/* 8028E214 0028B154 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E218 0028B158 7F C3 F3 78 */ mr r3, r30 -/* 8028E21C 0028B15C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028E220 0028B160 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028E224 0028B164 7C 08 03 A6 */ mtlr r0 -/* 8028E228 0028B168 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E22C 0028B16C 4E 80 00 20 */ blr - -.global getEnemy__Q34Game5Demon3MgrFi -getEnemy__Q34Game5Demon3MgrFi: -/* 8028E230 0028B170 1C 04 02 EC */ mulli r0, r4, 0x2ec -/* 8028E234 0028B174 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8028E238 0028B178 7C 63 02 14 */ add r3, r3, r0 -/* 8028E23C 0028B17C 4E 80 00 20 */ blr - -.global loadModelData__Q34Game5Demon3MgrFv -loadModelData__Q34Game5Demon3MgrFv: -/* 8028E240 0028B180 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028E244 0028B184 7C 08 02 A6 */ mflr r0 -/* 8028E248 0028B188 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E24C 0028B18C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028E250 0028B190 7C 7F 1B 78 */ mr r31, r3 -/* 8028E254 0028B194 4B EA 1E B9 */ bl loadModelData__Q24Game12EnemyMgrBaseFv -/* 8028E258 0028B198 38 A0 00 00 */ li r5, 0 -/* 8028E25C 0028B19C 48 00 00 24 */ b lbl_8028E280 -lbl_8028E260: -/* 8028E260 0028B1A0 80 64 00 80 */ lwz r3, 0x80(r4) -/* 8028E264 0028B1A4 54 A0 13 BA */ rlwinm r0, r5, 2, 0xe, 0x1d -/* 8028E268 0028B1A8 38 A5 00 01 */ addi r5, r5, 1 -/* 8028E26C 0028B1AC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8028E270 0028B1B0 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8028E274 0028B1B4 54 00 05 1E */ rlwinm r0, r0, 0, 0x14, 0xf -/* 8028E278 0028B1B8 60 00 20 00 */ ori r0, r0, 0x2000 -/* 8028E27C 0028B1BC 90 03 00 0C */ stw r0, 0xc(r3) -lbl_8028E280: -/* 8028E280 0028B1C0 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 8028E284 0028B1C4 54 A0 04 3E */ clrlwi r0, r5, 0x10 -/* 8028E288 0028B1C8 A0 64 00 7C */ lhz r3, 0x7c(r4) -/* 8028E28C 0028B1CC 7C 00 18 40 */ cmplw r0, r3 -/* 8028E290 0028B1D0 41 80 FF D0 */ blt lbl_8028E260 -/* 8028E294 0028B1D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E298 0028B1D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028E29C 0028B1DC 7C 08 03 A6 */ mtlr r0 -/* 8028E2A0 0028B1E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E2A4 0028B1E4 4E 80 00 20 */ blr - -.global __dt__Q34Game5Demon3MgrFv -__dt__Q34Game5Demon3MgrFv: -/* 8028E2A8 0028B1E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028E2AC 0028B1EC 7C 08 02 A6 */ mflr r0 -/* 8028E2B0 0028B1F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E2B4 0028B1F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028E2B8 0028B1F8 7C 9F 23 78 */ mr r31, r4 -/* 8028E2BC 0028B1FC 93 C1 00 08 */ stw r30, 8(r1) -/* 8028E2C0 0028B200 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028E2C4 0028B204 41 82 00 78 */ beq lbl_8028E33C -/* 8028E2C8 0028B208 3C 60 80 4D */ lis r3, __vt__Q34Game5Demon3Mgr@ha -/* 8028E2CC 0028B20C 38 63 A8 E8 */ addi r3, r3, __vt__Q34Game5Demon3Mgr@l -/* 8028E2D0 0028B210 90 7E 00 00 */ stw r3, 0(r30) -/* 8028E2D4 0028B214 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028E2D8 0028B218 90 1E 00 04 */ stw r0, 4(r30) -/* 8028E2DC 0028B21C 41 82 00 50 */ beq lbl_8028E32C -/* 8028E2E0 0028B220 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8028E2E4 0028B224 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8028E2E8 0028B228 90 7E 00 00 */ stw r3, 0(r30) -/* 8028E2EC 0028B22C 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028E2F0 0028B230 90 1E 00 04 */ stw r0, 4(r30) -/* 8028E2F4 0028B234 41 82 00 38 */ beq lbl_8028E32C -/* 8028E2F8 0028B238 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8028E2FC 0028B23C 34 1E 00 04 */ addic. r0, r30, 4 -/* 8028E300 0028B240 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8028E304 0028B244 90 7E 00 00 */ stw r3, 0(r30) -/* 8028E308 0028B248 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028E30C 0028B24C 90 1E 00 04 */ stw r0, 4(r30) -/* 8028E310 0028B250 41 82 00 1C */ beq lbl_8028E32C -/* 8028E314 0028B254 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8028E318 0028B258 38 7E 00 04 */ addi r3, r30, 4 -/* 8028E31C 0028B25C 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8028E320 0028B260 38 80 00 00 */ li r4, 0 -/* 8028E324 0028B264 90 1E 00 04 */ stw r0, 4(r30) -/* 8028E328 0028B268 48 18 32 61 */ bl __dt__5CNodeFv -lbl_8028E32C: -/* 8028E32C 0028B26C 7F E0 07 35 */ extsh. r0, r31 -/* 8028E330 0028B270 40 81 00 0C */ ble lbl_8028E33C -/* 8028E334 0028B274 7F C3 F3 78 */ mr r3, r30 -/* 8028E338 0028B278 4B D9 5D 7D */ bl __dl__FPv -lbl_8028E33C: -/* 8028E33C 0028B27C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E340 0028B280 7F C3 F3 78 */ mr r3, r30 -/* 8028E344 0028B284 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028E348 0028B288 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028E34C 0028B28C 7C 08 03 A6 */ mtlr r0 -/* 8028E350 0028B290 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E354 0028B294 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Demon3MgrFv -getEnemyTypeID__Q34Game5Demon3MgrFv: -/* 8028E358 0028B298 38 60 00 20 */ li r3, 0x20 -/* 8028E35C 0028B29C 4E 80 00 20 */ blr - -.global doLoadBmd__Q34Game5Demon3MgrFPv -doLoadBmd__Q34Game5Demon3MgrFPv: -/* 8028E360 0028B2A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028E364 0028B2A4 7C 08 02 A6 */ mflr r0 -/* 8028E368 0028B2A8 3C A0 00 24 */ lis r5, 0x00240030@ha -/* 8028E36C 0028B2AC 7C 83 23 78 */ mr r3, r4 -/* 8028E370 0028B2B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E374 0028B2B4 38 85 00 30 */ addi r4, r5, 0x00240030@l -/* 8028E378 0028B2B8 4B DE 15 1D */ bl load__22J3DModelLoaderDataBaseFPCvUl -/* 8028E37C 0028B2BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E380 0028B2C0 7C 08 03 A6 */ mtlr r0 -/* 8028E384 0028B2C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E388 0028B2C8 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game5Demon3MgrFv -$$24$$2__dt__Q34Game5Demon3MgrFv: -/* 8028E38C 0028B2CC 38 63 FF FC */ addi r3, r3, -4 -/* 8028E390 0028B2D0 4B FF FF 18 */ b __dt__Q34Game5Demon3MgrFv - -.global __ct__Q34Game5Demon3ObjFv -__ct__Q34Game5Demon3ObjFv: -/* 8028E394 0028B2D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028E398 0028B2D8 7C 08 02 A6 */ mflr r0 -/* 8028E39C 0028B2DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028E3A0 0028B2E0 7C 80 07 35 */ extsh. r0, r4 -/* 8028E3A4 0028B2E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028E3A8 0028B2E8 7C 7F 1B 78 */ mr r31, r3 -/* 8028E3AC 0028B2EC 41 82 00 24 */ beq lbl_8028E3D0 -/* 8028E3B0 0028B2F0 38 1F 02 DC */ addi r0, r31, 0x2dc -/* 8028E3B4 0028B2F4 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8028E3B8 0028B2F8 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8028E3BC 0028B2FC 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8028E3C0 0028B300 38 00 00 00 */ li r0, 0 -/* 8028E3C4 0028B304 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 8028E3C8 0028B308 90 1F 02 E0 */ stw r0, 0x2e0(r31) -/* 8028E3CC 0028B30C 90 1F 02 E4 */ stw r0, 0x2e4(r31) -lbl_8028E3D0: -/* 8028E3D0 0028B310 7F E3 FB 78 */ mr r3, r31 -/* 8028E3D4 0028B314 38 80 00 00 */ li r4, 0 -/* 8028E3D8 0028B318 4B FE 47 ED */ bl __ct__Q34Game5Sarai3ObjFv -/* 8028E3DC 0028B31C 3C 60 80 4D */ lis r3, __vt__Q34Game5Demon3Obj@ha -/* 8028E3E0 0028B320 38 1F 02 DC */ addi r0, r31, 0x2dc -/* 8028E3E4 0028B324 38 A3 A9 C8 */ addi r5, r3, __vt__Q34Game5Demon3Obj@l -/* 8028E3E8 0028B328 7F E3 FB 78 */ mr r3, r31 -/* 8028E3EC 0028B32C 90 BF 00 00 */ stw r5, 0(r31) -/* 8028E3F0 0028B330 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8028E3F4 0028B334 38 A5 03 0C */ addi r5, r5, 0x30c -/* 8028E3F8 0028B338 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8028E3FC 0028B33C 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8028E400 0028B340 90 A4 00 00 */ stw r5, 0(r4) -/* 8028E404 0028B344 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8028E408 0028B348 7C 04 00 50 */ subf r0, r4, r0 -/* 8028E40C 0028B34C 90 04 00 0C */ stw r0, 0xc(r4) -/* 8028E410 0028B350 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028E414 0028B354 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028E418 0028B358 7C 08 03 A6 */ mtlr r0 -/* 8028E41C 0028B35C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028E420 0028B360 4E 80 00 20 */ blr - -.global getAttackableTarget__Q34Game5Demon3ObjFv -getAttackableTarget__Q34Game5Demon3ObjFv: -/* 8028E424 0028B364 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8028E428 0028B368 7C 08 02 A6 */ mflr r0 -/* 8028E42C 0028B36C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8028E430 0028B370 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8028E434 0028B374 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8028E438 0028B378 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8028E43C 0028B37C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8028E440 0028B380 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 8028E444 0028B384 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 8028E448 0028B388 DB 81 00 80 */ stfd f28, 0x80(r1) -/* 8028E44C 0028B38C F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 8028E450 0028B390 DB 61 00 70 */ stfd f27, 0x70(r1) -/* 8028E454 0028B394 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 -/* 8028E458 0028B398 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8028E45C 0028B39C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8028E460 0028B3A0 80 8D 9A EC */ lwz r4, sys@sda21(r13) -/* 8028E464 0028B3A4 7C 7F 1B 78 */ mr r31, r3 -/* 8028E468 0028B3A8 C0 43 02 D8 */ lfs f2, 0x2d8(r3) -/* 8028E46C 0028B3AC C0 24 00 54 */ lfs f1, 0x54(r4) -/* 8028E470 0028B3B0 C0 02 D5 D0 */ lfs f0, lbl_8051B930@sda21(r2) -/* 8028E474 0028B3B4 EC 22 08 2A */ fadds f1, f2, f1 -/* 8028E478 0028B3B8 D0 23 02 D8 */ stfs f1, 0x2d8(r3) -/* 8028E47C 0028B3BC C0 23 02 D8 */ lfs f1, 0x2d8(r3) -/* 8028E480 0028B3C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028E484 0028B3C4 40 81 03 4C */ ble lbl_8028E7D0 -/* 8028E488 0028B3C8 7F E4 FB 78 */ mr r4, r31 -/* 8028E48C 0028B3CC 38 61 00 44 */ addi r3, r1, 0x44 -/* 8028E490 0028B3D0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028E494 0028B3D4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028E498 0028B3D8 7D 89 03 A6 */ mtctr r12 -/* 8028E49C 0028B3DC 4E 80 04 21 */ bctrl -/* 8028E4A0 0028B3E0 C3 E1 00 4C */ lfs f31, 0x4c(r1) -/* 8028E4A4 0028B3E4 C0 1F 01 A0 */ lfs f0, 0x1a0(r31) -/* 8028E4A8 0028B3E8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 8028E4AC 0028B3EC EC 5F 00 28 */ fsubs f2, f31, f0 -/* 8028E4B0 0028B3F0 C3 C1 00 44 */ lfs f30, 0x44(r1) -/* 8028E4B4 0028B3F4 C0 3F 01 98 */ lfs f1, 0x198(r31) -/* 8028E4B8 0028B3F8 C0 04 03 5C */ lfs f0, 0x35c(r4) -/* 8028E4BC 0028B3FC EC 7E 08 28 */ fsubs f3, f30, f1 -/* 8028E4C0 0028B400 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 8028E4C4 0028B404 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8028E4C8 0028B408 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 8028E4CC 0028B40C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028E4D0 0028B410 40 80 03 00 */ bge lbl_8028E7D0 -/* 8028E4D4 0028B414 C0 42 D5 D8 */ lfs f2, lbl_8051B938@sda21(r2) -/* 8028E4D8 0028B418 3C 60 80 4B */ lis r3, __vt__22Iterator$$0Q24Game4Navi$$1@ha -/* 8028E4DC 0028B41C C0 24 04 24 */ lfs f1, 0x424(r4) -/* 8028E4E0 0028B420 38 00 00 00 */ li r0, 0 -/* 8028E4E4 0028B424 C0 04 03 D4 */ lfs f0, 0x3d4(r4) -/* 8028E4E8 0028B428 38 83 BC B4 */ addi r4, r3, __vt__22Iterator$$0Q24Game4Navi$$1@l -/* 8028E4EC 0028B42C EC 22 00 72 */ fmuls f1, f2, f1 -/* 8028E4F0 0028B430 C0 42 D5 D4 */ lfs f2, lbl_8051B934@sda21(r2) -/* 8028E4F4 0028B434 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 8028E4F8 0028B438 28 00 00 00 */ cmplwi r0, 0 -/* 8028E4FC 0028B43C EF 80 00 32 */ fmuls f28, f0, f0 -/* 8028E500 0028B440 90 81 00 50 */ stw r4, 0x50(r1) -/* 8028E504 0028B444 EF A2 00 72 */ fmuls f29, f2, f1 -/* 8028E508 0028B448 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8028E50C 0028B44C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8028E510 0028B450 90 61 00 58 */ stw r3, 0x58(r1) -/* 8028E514 0028B454 40 82 00 1C */ bne lbl_8028E530 -/* 8028E518 0028B458 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E51C 0028B45C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028E520 0028B460 7D 89 03 A6 */ mtctr r12 -/* 8028E524 0028B464 4E 80 04 21 */ bctrl -/* 8028E528 0028B468 90 61 00 54 */ stw r3, 0x54(r1) -/* 8028E52C 0028B46C 48 00 02 84 */ b lbl_8028E7B0 -lbl_8028E530: -/* 8028E530 0028B470 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E534 0028B474 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028E538 0028B478 7D 89 03 A6 */ mtctr r12 -/* 8028E53C 0028B47C 4E 80 04 21 */ bctrl -/* 8028E540 0028B480 90 61 00 54 */ stw r3, 0x54(r1) -/* 8028E544 0028B484 48 00 00 58 */ b lbl_8028E59C -lbl_8028E548: -/* 8028E548 0028B488 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8028E54C 0028B48C 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8028E550 0028B490 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E554 0028B494 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028E558 0028B498 7D 89 03 A6 */ mtctr r12 -/* 8028E55C 0028B49C 4E 80 04 21 */ bctrl -/* 8028E560 0028B4A0 7C 64 1B 78 */ mr r4, r3 -/* 8028E564 0028B4A4 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8028E568 0028B4A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E56C 0028B4AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028E570 0028B4B0 7D 89 03 A6 */ mtctr r12 -/* 8028E574 0028B4B4 4E 80 04 21 */ bctrl -/* 8028E578 0028B4B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E57C 0028B4BC 40 82 02 34 */ bne lbl_8028E7B0 -/* 8028E580 0028B4C0 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8028E584 0028B4C4 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8028E588 0028B4C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E58C 0028B4CC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028E590 0028B4D0 7D 89 03 A6 */ mtctr r12 -/* 8028E594 0028B4D4 4E 80 04 21 */ bctrl -/* 8028E598 0028B4D8 90 61 00 54 */ stw r3, 0x54(r1) -lbl_8028E59C: -/* 8028E59C 0028B4DC 81 81 00 50 */ lwz r12, 0x50(r1) -/* 8028E5A0 0028B4E0 38 61 00 50 */ addi r3, r1, 0x50 -/* 8028E5A4 0028B4E4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028E5A8 0028B4E8 7D 89 03 A6 */ mtctr r12 -/* 8028E5AC 0028B4EC 4E 80 04 21 */ bctrl -/* 8028E5B0 0028B4F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E5B4 0028B4F4 41 82 FF 94 */ beq lbl_8028E548 -/* 8028E5B8 0028B4F8 48 00 01 F8 */ b lbl_8028E7B0 -lbl_8028E5BC: -/* 8028E5BC 0028B4FC 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8028E5C0 0028B500 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E5C4 0028B504 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028E5C8 0028B508 7D 89 03 A6 */ mtctr r12 -/* 8028E5CC 0028B50C 4E 80 04 21 */ bctrl -/* 8028E5D0 0028B510 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E5D4 0028B514 7C 7E 1B 78 */ mr r30, r3 -/* 8028E5D8 0028B518 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8028E5DC 0028B51C 7D 89 03 A6 */ mtctr r12 -/* 8028E5E0 0028B520 4E 80 04 21 */ bctrl -/* 8028E5E4 0028B524 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E5E8 0028B528 41 82 01 0C */ beq lbl_8028E6F4 -/* 8028E5EC 0028B52C 7F C3 F3 78 */ mr r3, r30 -/* 8028E5F0 0028B530 4B F1 0F 99 */ bl isStickToMouth__Q24Game8CreatureFv -/* 8028E5F4 0028B534 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E5F8 0028B538 40 82 00 FC */ bne lbl_8028E6F4 -/* 8028E5FC 0028B53C 7F C4 F3 78 */ mr r4, r30 -/* 8028E600 0028B540 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028E604 0028B544 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028E608 0028B548 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028E60C 0028B54C 7D 89 03 A6 */ mtctr r12 -/* 8028E610 0028B550 4E 80 04 21 */ bctrl -/* 8028E614 0028B554 7F E4 FB 78 */ mr r4, r31 -/* 8028E618 0028B558 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8028E61C 0028B55C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028E620 0028B560 38 61 00 2C */ addi r3, r1, 0x2c -/* 8028E624 0028B564 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8028E628 0028B568 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8028E62C 0028B56C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028E630 0028B570 D0 41 00 08 */ stfs f2, 8(r1) -/* 8028E634 0028B574 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8028E638 0028B578 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8028E63C 0028B57C 7D 89 03 A6 */ mtctr r12 -/* 8028E640 0028B580 4E 80 04 21 */ bctrl -/* 8028E644 0028B584 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 8028E648 0028B588 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 8028E64C 0028B58C C0 61 00 34 */ lfs f3, 0x34(r1) -/* 8028E650 0028B590 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 8028E654 0028B594 C0 21 00 08 */ lfs f1, 8(r1) -/* 8028E658 0028B598 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8028E65C 0028B59C C0 81 00 30 */ lfs f4, 0x30(r1) -/* 8028E660 0028B5A0 EC 21 28 28 */ fsubs f1, f1, f5 -/* 8028E664 0028B5A4 EC 40 18 28 */ fsubs f2, f0, f3 -/* 8028E668 0028B5A8 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8028E66C 0028B5AC D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8028E670 0028B5B0 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8028E674 0028B5B4 4B DA 6A 95 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 8028E678 0028B5B8 48 18 35 59 */ bl roundAng__Ff -/* 8028E67C 0028B5BC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028E680 0028B5C0 FF 60 08 90 */ fmr f27, f1 -/* 8028E684 0028B5C4 7F E3 FB 78 */ mr r3, r31 -/* 8028E688 0028B5C8 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8028E68C 0028B5CC 7D 89 03 A6 */ mtctr r12 -/* 8028E690 0028B5D0 4E 80 04 21 */ bctrl -/* 8028E694 0028B5D4 FC 40 08 90 */ fmr f2, f1 -/* 8028E698 0028B5D8 FC 20 D8 90 */ fmr f1, f27 -/* 8028E69C 0028B5DC 48 18 35 61 */ bl angDist__Fff -/* 8028E6A0 0028B5E0 FC 00 0A 10 */ fabs f0, f1 -/* 8028E6A4 0028B5E4 FC 00 00 18 */ frsp f0, f0 -/* 8028E6A8 0028B5E8 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 8028E6AC 0028B5EC 4C 40 13 82 */ cror 2, 0, 2 -/* 8028E6B0 0028B5F0 40 82 00 44 */ bne lbl_8028E6F4 -/* 8028E6B4 0028B5F4 7F C4 F3 78 */ mr r4, r30 -/* 8028E6B8 0028B5F8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028E6BC 0028B5FC 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028E6C0 0028B600 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028E6C4 0028B604 7D 89 03 A6 */ mtctr r12 -/* 8028E6C8 0028B608 4E 80 04 21 */ bctrl -/* 8028E6CC 0028B60C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8028E6D0 0028B610 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8028E6D4 0028B614 EC 1F 00 28 */ fsubs f0, f31, f0 -/* 8028E6D8 0028B618 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 8028E6DC 0028B61C EC 00 00 32 */ fmuls f0, f0, f0 -/* 8028E6E0 0028B620 EC 01 00 7A */ fmadds f0, f1, f1, f0 -/* 8028E6E4 0028B624 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 8028E6E8 0028B628 40 80 00 0C */ bge lbl_8028E6F4 -/* 8028E6EC 0028B62C 7F C3 F3 78 */ mr r3, r30 -/* 8028E6F0 0028B630 48 00 00 E4 */ b lbl_8028E7D4 -lbl_8028E6F4: -/* 8028E6F4 0028B634 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8028E6F8 0028B638 28 00 00 00 */ cmplwi r0, 0 -/* 8028E6FC 0028B63C 40 82 00 24 */ bne lbl_8028E720 -/* 8028E700 0028B640 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8028E704 0028B644 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8028E708 0028B648 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E70C 0028B64C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028E710 0028B650 7D 89 03 A6 */ mtctr r12 -/* 8028E714 0028B654 4E 80 04 21 */ bctrl -/* 8028E718 0028B658 90 61 00 54 */ stw r3, 0x54(r1) -/* 8028E71C 0028B65C 48 00 00 94 */ b lbl_8028E7B0 -lbl_8028E720: -/* 8028E720 0028B660 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8028E724 0028B664 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8028E728 0028B668 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E72C 0028B66C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028E730 0028B670 7D 89 03 A6 */ mtctr r12 -/* 8028E734 0028B674 4E 80 04 21 */ bctrl -/* 8028E738 0028B678 90 61 00 54 */ stw r3, 0x54(r1) -/* 8028E73C 0028B67C 48 00 00 58 */ b lbl_8028E794 -lbl_8028E740: -/* 8028E740 0028B680 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8028E744 0028B684 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8028E748 0028B688 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E74C 0028B68C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028E750 0028B690 7D 89 03 A6 */ mtctr r12 -/* 8028E754 0028B694 4E 80 04 21 */ bctrl -/* 8028E758 0028B698 7C 64 1B 78 */ mr r4, r3 -/* 8028E75C 0028B69C 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 8028E760 0028B6A0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E764 0028B6A4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028E768 0028B6A8 7D 89 03 A6 */ mtctr r12 -/* 8028E76C 0028B6AC 4E 80 04 21 */ bctrl -/* 8028E770 0028B6B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E774 0028B6B4 40 82 00 3C */ bne lbl_8028E7B0 -/* 8028E778 0028B6B8 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8028E77C 0028B6BC 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8028E780 0028B6C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E784 0028B6C4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028E788 0028B6C8 7D 89 03 A6 */ mtctr r12 -/* 8028E78C 0028B6CC 4E 80 04 21 */ bctrl -/* 8028E790 0028B6D0 90 61 00 54 */ stw r3, 0x54(r1) -lbl_8028E794: -/* 8028E794 0028B6D4 81 81 00 50 */ lwz r12, 0x50(r1) -/* 8028E798 0028B6D8 38 61 00 50 */ addi r3, r1, 0x50 -/* 8028E79C 0028B6DC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028E7A0 0028B6E0 7D 89 03 A6 */ mtctr r12 -/* 8028E7A4 0028B6E4 4E 80 04 21 */ bctrl -/* 8028E7A8 0028B6E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E7AC 0028B6EC 41 82 FF 94 */ beq lbl_8028E740 -lbl_8028E7B0: -/* 8028E7B0 0028B6F0 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8028E7B4 0028B6F4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E7B8 0028B6F8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028E7BC 0028B6FC 7D 89 03 A6 */ mtctr r12 -/* 8028E7C0 0028B700 4E 80 04 21 */ bctrl -/* 8028E7C4 0028B704 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8028E7C8 0028B708 7C 04 18 40 */ cmplw r4, r3 -/* 8028E7CC 0028B70C 40 82 FD F0 */ bne lbl_8028E5BC -lbl_8028E7D0: -/* 8028E7D0 0028B710 38 60 00 00 */ li r3, 0 -lbl_8028E7D4: -/* 8028E7D4 0028B714 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8028E7D8 0028B718 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8028E7DC 0028B71C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8028E7E0 0028B720 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8028E7E4 0028B724 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 8028E7E8 0028B728 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8028E7EC 0028B72C E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 8028E7F0 0028B730 CB 81 00 80 */ lfd f28, 0x80(r1) -/* 8028E7F4 0028B734 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 -/* 8028E7F8 0028B738 CB 61 00 70 */ lfd f27, 0x70(r1) -/* 8028E7FC 0028B73C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8028E800 0028B740 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8028E804 0028B744 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8028E808 0028B748 7C 08 03 A6 */ mtlr r0 -/* 8028E80C 0028B74C 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8028E810 0028B750 4E 80 00 20 */ blr - -.global catchTarget__Q34Game5Demon3ObjFv -catchTarget__Q34Game5Demon3ObjFv: -/* 8028E814 0028B754 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8028E818 0028B758 7C 08 02 A6 */ mflr r0 -/* 8028E81C 0028B75C 38 80 00 00 */ li r4, 0 -/* 8028E820 0028B760 3C A0 80 4B */ lis r5, __vt__22Iterator$$0Q24Game4Navi$$1@ha -/* 8028E824 0028B764 90 01 00 64 */ stw r0, 0x64(r1) -/* 8028E828 0028B768 38 A5 BC B4 */ addi r5, r5, __vt__22Iterator$$0Q24Game4Navi$$1@l -/* 8028E82C 0028B76C 28 04 00 00 */ cmplwi r4, 0 -/* 8028E830 0028B770 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 8028E834 0028B774 7C 7E 1B 78 */ mr r30, r3 -/* 8028E838 0028B778 3B E0 00 00 */ li r31, 0 -/* 8028E83C 0028B77C 80 0D 92 E0 */ lwz r0, naviMgr__4Game@sda21(r13) -/* 8028E840 0028B780 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8028E844 0028B784 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8028E848 0028B788 90 81 00 24 */ stw r4, 0x24(r1) -/* 8028E84C 0028B78C 90 01 00 28 */ stw r0, 0x28(r1) -/* 8028E850 0028B790 40 82 00 20 */ bne lbl_8028E870 -/* 8028E854 0028B794 7C 03 03 78 */ mr r3, r0 -/* 8028E858 0028B798 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E85C 0028B79C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028E860 0028B7A0 7D 89 03 A6 */ mtctr r12 -/* 8028E864 0028B7A4 4E 80 04 21 */ bctrl -/* 8028E868 0028B7A8 90 61 00 24 */ stw r3, 0x24(r1) -/* 8028E86C 0028B7AC 48 00 02 AC */ b lbl_8028EB18 -lbl_8028E870: -/* 8028E870 0028B7B0 7C 03 03 78 */ mr r3, r0 -/* 8028E874 0028B7B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E878 0028B7B8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028E87C 0028B7BC 7D 89 03 A6 */ mtctr r12 -/* 8028E880 0028B7C0 4E 80 04 21 */ bctrl -/* 8028E884 0028B7C4 90 61 00 24 */ stw r3, 0x24(r1) -/* 8028E888 0028B7C8 48 00 00 58 */ b lbl_8028E8E0 -lbl_8028E88C: -/* 8028E88C 0028B7CC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8028E890 0028B7D0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8028E894 0028B7D4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E898 0028B7D8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028E89C 0028B7DC 7D 89 03 A6 */ mtctr r12 -/* 8028E8A0 0028B7E0 4E 80 04 21 */ bctrl -/* 8028E8A4 0028B7E4 7C 64 1B 78 */ mr r4, r3 -/* 8028E8A8 0028B7E8 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8028E8AC 0028B7EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E8B0 0028B7F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028E8B4 0028B7F4 7D 89 03 A6 */ mtctr r12 -/* 8028E8B8 0028B7F8 4E 80 04 21 */ bctrl -/* 8028E8BC 0028B7FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E8C0 0028B800 40 82 02 58 */ bne lbl_8028EB18 -/* 8028E8C4 0028B804 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8028E8C8 0028B808 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8028E8CC 0028B80C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E8D0 0028B810 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028E8D4 0028B814 7D 89 03 A6 */ mtctr r12 -/* 8028E8D8 0028B818 4E 80 04 21 */ bctrl -/* 8028E8DC 0028B81C 90 61 00 24 */ stw r3, 0x24(r1) -lbl_8028E8E0: -/* 8028E8E0 0028B820 81 81 00 20 */ lwz r12, 0x20(r1) -/* 8028E8E4 0028B824 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028E8E8 0028B828 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028E8EC 0028B82C 7D 89 03 A6 */ mtctr r12 -/* 8028E8F0 0028B830 4E 80 04 21 */ bctrl -/* 8028E8F4 0028B834 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E8F8 0028B838 41 82 FF 94 */ beq lbl_8028E88C -/* 8028E8FC 0028B83C 48 00 02 1C */ b lbl_8028EB18 -lbl_8028E900: -/* 8028E900 0028B840 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8028E904 0028B844 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E908 0028B848 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028E90C 0028B84C 7D 89 03 A6 */ mtctr r12 -/* 8028E910 0028B850 4E 80 04 21 */ bctrl -/* 8028E914 0028B854 81 83 00 00 */ lwz r12, 0(r3) -/* 8028E918 0028B858 7C 7C 1B 78 */ mr r28, r3 -/* 8028E91C 0028B85C 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8028E920 0028B860 7D 89 03 A6 */ mtctr r12 -/* 8028E924 0028B864 4E 80 04 21 */ bctrl -/* 8028E928 0028B868 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E92C 0028B86C 41 82 01 30 */ beq lbl_8028EA5C -/* 8028E930 0028B870 7F 83 E3 78 */ mr r3, r28 -/* 8028E934 0028B874 4B F1 0C 55 */ bl isStickToMouth__Q24Game8CreatureFv -/* 8028E938 0028B878 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028E93C 0028B87C 40 82 01 20 */ bne lbl_8028EA5C -/* 8028E940 0028B880 3B 60 00 00 */ li r27, 0 -/* 8028E944 0028B884 48 00 01 0C */ b lbl_8028EA50 -lbl_8028E948: -/* 8028E948 0028B888 7F 64 DB 78 */ mr r4, r27 -/* 8028E94C 0028B88C 38 7E 02 C4 */ addi r3, r30, 0x2c4 -/* 8028E950 0028B890 4B EA 9E 29 */ bl getSlot__10MouthSlotsFi -/* 8028E954 0028B894 7C 7D 1B 78 */ mr r29, r3 -/* 8028E958 0028B898 80 03 00 64 */ lwz r0, 0x64(r3) -/* 8028E95C 0028B89C 28 00 00 00 */ cmplwi r0, 0 -/* 8028E960 0028B8A0 40 82 00 EC */ bne lbl_8028EA4C -/* 8028E964 0028B8A4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8028E968 0028B8A8 4B EA 9B 61 */ bl getPosition__13MouthCollPartFR10Vector3$$0f$$1 -/* 8028E96C 0028B8AC 7F 84 E3 78 */ mr r4, r28 -/* 8028E970 0028B8B0 38 61 00 08 */ addi r3, r1, 8 -/* 8028E974 0028B8B4 81 9C 00 00 */ lwz r12, 0(r28) -/* 8028E978 0028B8B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028E97C 0028B8BC 7D 89 03 A6 */ mtctr r12 -/* 8028E980 0028B8C0 4E 80 04 21 */ bctrl -/* 8028E984 0028B8C4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8028E988 0028B8C8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8028E98C 0028B8CC C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8028E990 0028B8D0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8028E994 0028B8D4 C0 41 00 08 */ lfs f2, 8(r1) -/* 8028E998 0028B8D8 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8028E99C 0028B8DC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8028E9A0 0028B8E0 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8028E9A4 0028B8E4 EC 84 01 32 */ fmuls f4, f4, f4 -/* 8028E9A8 0028B8E8 EC 41 00 28 */ fsubs f2, f1, f0 -/* 8028E9AC 0028B8EC C0 02 D5 DC */ lfs f0, lbl_8051B93C@sda21(r2) -/* 8028E9B0 0028B8F0 EC 23 20 FA */ fmadds f1, f3, f3, f4 -/* 8028E9B4 0028B8F4 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8028E9B8 0028B8F8 EC 22 08 2A */ fadds f1, f2, f1 -/* 8028E9BC 0028B8FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028E9C0 0028B900 40 81 00 14 */ ble lbl_8028E9D4 -/* 8028E9C4 0028B904 40 81 00 14 */ ble lbl_8028E9D8 -/* 8028E9C8 0028B908 FC 00 08 34 */ frsqrte f0, f1 -/* 8028E9CC 0028B90C EC 20 00 72 */ fmuls f1, f0, f1 -/* 8028E9D0 0028B910 48 00 00 08 */ b lbl_8028E9D8 -lbl_8028E9D4: -/* 8028E9D4 0028B914 FC 20 00 90 */ fmr f1, f0 -lbl_8028E9D8: -/* 8028E9D8 0028B918 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 8028E9DC 0028B91C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028E9E0 0028B920 40 80 00 6C */ bge lbl_8028EA4C -/* 8028E9E4 0028B924 3C 80 80 4B */ lis r4, __vt__Q24Game11Interaction@ha -/* 8028E9E8 0028B928 3C 60 80 4B */ lis r3, __vt__Q24Game14InteractAttack@ha -/* 8028E9EC 0028B92C 38 04 A3 00 */ addi r0, r4, __vt__Q24Game11Interaction@l -/* 8028E9F0 0028B930 3C 80 80 4B */ lis r4, __vt__Q24Game15InteractSwallow@ha -/* 8028E9F4 0028B934 90 01 00 30 */ stw r0, 0x30(r1) -/* 8028E9F8 0028B938 38 03 4D E0 */ addi r0, r3, __vt__Q24Game14InteractAttack@l -/* 8028E9FC 0028B93C C0 02 D5 E0 */ lfs f0, lbl_8051B940@sda21(r2) -/* 8028EA00 0028B940 3C 60 80 4C */ lis r3, __vt__Q24Game13InteractSarai@ha -/* 8028EA04 0028B944 90 01 00 30 */ stw r0, 0x30(r1) -/* 8028EA08 0028B948 38 84 4D BC */ addi r4, r4, __vt__Q24Game15InteractSwallow@l -/* 8028EA0C 0028B94C 38 A0 00 00 */ li r5, 0 -/* 8028EA10 0028B950 38 03 86 44 */ addi r0, r3, __vt__Q24Game13InteractSarai@l -/* 8028EA14 0028B954 90 81 00 30 */ stw r4, 0x30(r1) -/* 8028EA18 0028B958 7F 83 E3 78 */ mr r3, r28 -/* 8028EA1C 0028B95C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8028EA20 0028B960 93 C1 00 34 */ stw r30, 0x34(r1) -/* 8028EA24 0028B964 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8028EA28 0028B968 93 A1 00 3C */ stw r29, 0x3c(r1) -/* 8028EA2C 0028B96C 90 A1 00 40 */ stw r5, 0x40(r1) -/* 8028EA30 0028B970 90 01 00 30 */ stw r0, 0x30(r1) -/* 8028EA34 0028B974 81 9C 00 00 */ lwz r12, 0(r28) -/* 8028EA38 0028B978 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8028EA3C 0028B97C 7D 89 03 A6 */ mtctr r12 -/* 8028EA40 0028B980 4E 80 04 21 */ bctrl -/* 8028EA44 0028B984 3B FF 00 01 */ addi r31, r31, 1 -/* 8028EA48 0028B988 48 00 00 14 */ b lbl_8028EA5C -lbl_8028EA4C: -/* 8028EA4C 0028B98C 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8028EA50: -/* 8028EA50 0028B990 80 1E 02 C4 */ lwz r0, 0x2c4(r30) -/* 8028EA54 0028B994 7C 1B 00 00 */ cmpw r27, r0 -/* 8028EA58 0028B998 41 80 FE F0 */ blt lbl_8028E948 -lbl_8028EA5C: -/* 8028EA5C 0028B99C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8028EA60 0028B9A0 28 00 00 00 */ cmplwi r0, 0 -/* 8028EA64 0028B9A4 40 82 00 24 */ bne lbl_8028EA88 -/* 8028EA68 0028B9A8 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8028EA6C 0028B9AC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8028EA70 0028B9B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028EA74 0028B9B4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028EA78 0028B9B8 7D 89 03 A6 */ mtctr r12 -/* 8028EA7C 0028B9BC 4E 80 04 21 */ bctrl -/* 8028EA80 0028B9C0 90 61 00 24 */ stw r3, 0x24(r1) -/* 8028EA84 0028B9C4 48 00 00 94 */ b lbl_8028EB18 -lbl_8028EA88: -/* 8028EA88 0028B9C8 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8028EA8C 0028B9CC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8028EA90 0028B9D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028EA94 0028B9D4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028EA98 0028B9D8 7D 89 03 A6 */ mtctr r12 -/* 8028EA9C 0028B9DC 4E 80 04 21 */ bctrl -/* 8028EAA0 0028B9E0 90 61 00 24 */ stw r3, 0x24(r1) -/* 8028EAA4 0028B9E4 48 00 00 58 */ b lbl_8028EAFC -lbl_8028EAA8: -/* 8028EAA8 0028B9E8 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8028EAAC 0028B9EC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8028EAB0 0028B9F0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028EAB4 0028B9F4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8028EAB8 0028B9F8 7D 89 03 A6 */ mtctr r12 -/* 8028EABC 0028B9FC 4E 80 04 21 */ bctrl -/* 8028EAC0 0028BA00 7C 64 1B 78 */ mr r4, r3 -/* 8028EAC4 0028BA04 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8028EAC8 0028BA08 81 83 00 00 */ lwz r12, 0(r3) -/* 8028EACC 0028BA0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028EAD0 0028BA10 7D 89 03 A6 */ mtctr r12 -/* 8028EAD4 0028BA14 4E 80 04 21 */ bctrl -/* 8028EAD8 0028BA18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028EADC 0028BA1C 40 82 00 3C */ bne lbl_8028EB18 -/* 8028EAE0 0028BA20 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8028EAE4 0028BA24 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8028EAE8 0028BA28 81 83 00 00 */ lwz r12, 0(r3) -/* 8028EAEC 0028BA2C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028EAF0 0028BA30 7D 89 03 A6 */ mtctr r12 -/* 8028EAF4 0028BA34 4E 80 04 21 */ bctrl -/* 8028EAF8 0028BA38 90 61 00 24 */ stw r3, 0x24(r1) -lbl_8028EAFC: -/* 8028EAFC 0028BA3C 81 81 00 20 */ lwz r12, 0x20(r1) -/* 8028EB00 0028BA40 38 61 00 20 */ addi r3, r1, 0x20 -/* 8028EB04 0028BA44 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8028EB08 0028BA48 7D 89 03 A6 */ mtctr r12 -/* 8028EB0C 0028BA4C 4E 80 04 21 */ bctrl -/* 8028EB10 0028BA50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028EB14 0028BA54 41 82 FF 94 */ beq lbl_8028EAA8 -lbl_8028EB18: -/* 8028EB18 0028BA58 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8028EB1C 0028BA5C 81 83 00 00 */ lwz r12, 0(r3) -/* 8028EB20 0028BA60 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028EB24 0028BA64 7D 89 03 A6 */ mtctr r12 -/* 8028EB28 0028BA68 4E 80 04 21 */ bctrl -/* 8028EB2C 0028BA6C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8028EB30 0028BA70 7C 04 18 40 */ cmplw r4, r3 -/* 8028EB34 0028BA74 40 82 FD CC */ bne lbl_8028E900 -/* 8028EB38 0028BA78 7F E3 FB 78 */ mr r3, r31 -/* 8028EB3C 0028BA7C BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 8028EB40 0028BA80 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8028EB44 0028BA84 7C 08 03 A6 */ mtlr r0 -/* 8028EB48 0028BA88 38 21 00 60 */ addi r1, r1, 0x60 -/* 8028EB4C 0028BA8C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game5Demon3ObjFv -getEnemyTypeID__Q34Game5Demon3ObjFv: -/* 8028EB50 0028BA90 38 60 00 20 */ li r3, 0x20 -/* 8028EB54 0028BA94 4E 80 00 20 */ blr - -.global getStickPikminNum__Q34Game5Demon3ObjFv -getStickPikminNum__Q34Game5Demon3ObjFv: -/* 8028EB58 0028BA98 80 63 01 F4 */ lwz r3, 0x1f4(r3) -/* 8028EB5C 0028BA9C 4E 80 00 20 */ blr - -.global resetAttackableTimer__Q34Game5Demon3ObjFf -resetAttackableTimer__Q34Game5Demon3ObjFf: -/* 8028EB60 0028BAA0 D0 23 02 D8 */ stfs f1, 0x2d8(r3) -/* 8028EB64 0028BAA4 4E 80 00 20 */ blr - -.global makeShadowSRT__Q34Game5Queen15QueenShadowNodeFv -makeShadowSRT__Q34Game5Queen15QueenShadowNodeFv: -/* 8028EB68 0028BAA8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8028EB6C 0028BAAC 7C 08 02 A6 */ mflr r0 -/* 8028EB70 0028BAB0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028EB74 0028BAB4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8028EB78 0028BAB8 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8028EB7C 0028BABC 7C 7E 1B 78 */ mr r30, r3 -/* 8028EB80 0028BAC0 83 E3 00 1C */ lwz r31, 0x1c(r3) -/* 8028EB84 0028BAC4 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8028EB88 0028BAC8 48 19 AD 19 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8028EB8C 0028BACC 7F E5 FB 78 */ mr r5, r31 -/* 8028EB90 0028BAD0 38 9E 00 28 */ addi r4, r30, 0x28 -/* 8028EB94 0028BAD4 4B E5 B7 6D */ bl PSMTXConcat -/* 8028EB98 0028BAD8 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8028EB9C 0028BADC 38 81 00 2C */ addi r4, r1, 0x2c -/* 8028EBA0 0028BAE0 C0 22 D5 E8 */ lfs f1, lbl_8051B948@sda21(r2) -/* 8028EBA4 0028BAE4 C0 03 00 00 */ lfs f0, 0(r3) -/* 8028EBA8 0028BAE8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8028EBAC 0028BAEC C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8028EBB0 0028BAF0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8028EBB4 0028BAF4 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 8028EBB8 0028BAF8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8028EBBC 0028BAFC C0 03 00 04 */ lfs f0, 4(r3) -/* 8028EBC0 0028BB00 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8028EBC4 0028BB04 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8028EBC8 0028BB08 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8028EBCC 0028BB0C C0 03 00 24 */ lfs f0, 0x24(r3) -/* 8028EBD0 0028BB10 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8028EBD4 0028BB14 C0 63 00 08 */ lfs f3, 8(r3) -/* 8028EBD8 0028BB18 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8028EBDC 0028BB1C EC 03 00 F2 */ fmuls f0, f3, f3 -/* 8028EBE0 0028BB20 C0 43 00 18 */ lfs f2, 0x18(r3) -/* 8028EBE4 0028BB24 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8028EBE8 0028BB28 EC 82 00 B2 */ fmuls f4, f2, f2 -/* 8028EBEC 0028BB2C C0 43 00 28 */ lfs f2, 0x28(r3) -/* 8028EBF0 0028BB30 EC 00 20 2A */ fadds f0, f0, f4 -/* 8028EBF4 0028BB34 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8028EBF8 0028BB38 EC A2 00 B2 */ fmuls f5, f2, f2 -/* 8028EBFC 0028BB3C C0 43 00 0C */ lfs f2, 0xc(r3) -/* 8028EC00 0028BB40 EC 05 00 2A */ fadds f0, f5, f0 -/* 8028EC04 0028BB44 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8028EC08 0028BB48 C0 43 00 1C */ lfs f2, 0x1c(r3) -/* 8028EC0C 0028BB4C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8028EC10 0028BB50 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8028EC14 0028BB54 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 8028EC18 0028BB58 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8028EC1C 0028BB5C 40 81 00 20 */ ble lbl_8028EC3C -/* 8028EC20 0028BB60 EC 03 20 FA */ fmadds f0, f3, f3, f4 -/* 8028EC24 0028BB64 EC 45 00 2A */ fadds f2, f5, f0 -/* 8028EC28 0028BB68 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8028EC2C 0028BB6C 40 81 00 14 */ ble lbl_8028EC40 -/* 8028EC30 0028BB70 FC 00 10 34 */ frsqrte f0, f2 -/* 8028EC34 0028BB74 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8028EC38 0028BB78 48 00 00 08 */ b lbl_8028EC40 -lbl_8028EC3C: -/* 8028EC3C 0028BB7C FC 40 08 90 */ fmr f2, f1 -lbl_8028EC40: -/* 8028EC40 0028BB80 C0 22 D5 E8 */ lfs f1, lbl_8051B948@sda21(r2) -/* 8028EC44 0028BB84 C0 02 D5 EC */ lfs f0, lbl_8051B94C@sda21(r2) -/* 8028EC48 0028BB88 D0 41 00 08 */ stfs f2, 8(r1) -/* 8028EC4C 0028BB8C 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 8028EC50 0028BB90 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8028EC54 0028BB94 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8028EC58 0028BB98 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8028EC5C 0028BB9C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8028EC60 0028BBA0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8028EC64 0028BBA4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8028EC68 0028BBA8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8028EC6C 0028BBAC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8028EC70 0028BBB0 81 83 00 04 */ lwz r12, 4(r3) -/* 8028EC74 0028BBB4 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8028EC78 0028BBB8 7D 89 03 A6 */ mtctr r12 -/* 8028EC7C 0028BBBC 4E 80 04 21 */ bctrl -/* 8028EC80 0028BBC0 C0 42 D5 F0 */ lfs f2, lbl_8051B950@sda21(r2) -/* 8028EC84 0028BBC4 C0 01 00 08 */ lfs f0, 8(r1) -/* 8028EC88 0028BBC8 EC 22 08 2A */ fadds f1, f2, f1 -/* 8028EC8C 0028BBCC D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8028EC90 0028BBD0 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8028EC94 0028BBD4 D0 03 00 00 */ stfs f0, 0(r3) -/* 8028EC98 0028BBD8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8028EC9C 0028BBDC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8028ECA0 0028BBE0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8028ECA4 0028BBE4 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8028ECA8 0028BBE8 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8028ECAC 0028BBEC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8028ECB0 0028BBF0 D0 03 00 04 */ stfs f0, 4(r3) -/* 8028ECB4 0028BBF4 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8028ECB8 0028BBF8 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8028ECBC 0028BBFC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8028ECC0 0028BC00 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8028ECC4 0028BC04 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8028ECC8 0028BC08 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8028ECCC 0028BC0C D0 03 00 08 */ stfs f0, 8(r3) -/* 8028ECD0 0028BC10 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8028ECD4 0028BC14 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8028ECD8 0028BC18 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8028ECDC 0028BC1C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8028ECE0 0028BC20 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8028ECE4 0028BC24 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8028ECE8 0028BC28 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8028ECEC 0028BC2C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8028ECF0 0028BC30 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8028ECF4 0028BC34 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8028ECF8 0028BC38 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8028ECFC 0028BC3C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8028ED00 0028BC40 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8028ED04 0028BC44 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028ED08 0028BC48 7C 08 03 A6 */ mtlr r0 -/* 8028ED0C 0028BC4C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8028ED10 0028BC50 4E 80 00 20 */ blr - -.global __ct__Q34Game5Queen14QueenShadowMgrFPQ34Game5Queen3Obj -__ct__Q34Game5Queen14QueenShadowMgrFPQ34Game5Queen3Obj: -/* 8028ED14 0028BC54 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028ED18 0028BC58 7C 08 02 A6 */ mflr r0 -/* 8028ED1C 0028BC5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028ED20 0028BC60 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8028ED24 0028BC64 7C 9C 23 78 */ mr r28, r4 -/* 8028ED28 0028BC68 7C 7B 1B 78 */ mr r27, r3 -/* 8028ED2C 0028BC6C 93 83 00 00 */ stw r28, 0(r3) -/* 8028ED30 0028BC70 38 60 00 20 */ li r3, 0x20 -/* 8028ED34 0028BC74 4B D9 51 71 */ bl __nw__FUl -/* 8028ED38 0028BC78 7C 60 1B 79 */ or. r0, r3, r3 -/* 8028ED3C 0028BC7C 41 82 00 10 */ beq lbl_8028ED4C -/* 8028ED40 0028BC80 7F 84 E3 78 */ mr r4, r28 -/* 8028ED44 0028BC84 4B FB 25 39 */ bl __ct__Q24Game19JointShadowRootNodeFPQ24Game8Creature -/* 8028ED48 0028BC88 7C 60 1B 78 */ mr r0, r3 -lbl_8028ED4C: -/* 8028ED4C 0028BC8C 90 1B 00 04 */ stw r0, 4(r27) -/* 8028ED50 0028BC90 38 60 00 18 */ li r3, 0x18 -/* 8028ED54 0028BC94 4B D9 52 59 */ bl __nwa__FUl -/* 8028ED58 0028BC98 3C 80 80 4D */ lis r4, __vt__Q34Game5Queen15QueenShadowNode@ha -/* 8028ED5C 0028BC9C 90 7B 00 08 */ stw r3, 8(r27) -/* 8028ED60 0028BCA0 3B E4 AD 08 */ addi r31, r4, __vt__Q34Game5Queen15QueenShadowNode@l -/* 8028ED64 0028BCA4 3B 80 00 00 */ li r28, 0 -/* 8028ED68 0028BCA8 3B A0 00 00 */ li r29, 0 -lbl_8028ED6C: -/* 8028ED6C 0028BCAC 38 60 00 58 */ li r3, 0x58 -/* 8028ED70 0028BCB0 4B D9 51 35 */ bl __nw__FUl -/* 8028ED74 0028BCB4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028ED78 0028BCB8 41 82 00 10 */ beq lbl_8028ED88 -/* 8028ED7C 0028BCBC 38 80 00 02 */ li r4, 2 -/* 8028ED80 0028BCC0 4B FB 25 5D */ bl __ct__Q24Game15JointShadowNodeFi -/* 8028ED84 0028BCC4 93 FE 00 00 */ stw r31, 0(r30) -lbl_8028ED88: -/* 8028ED88 0028BCC8 80 7B 00 08 */ lwz r3, 8(r27) -/* 8028ED8C 0028BCCC 7F C3 E9 2E */ stwx r30, r3, r29 -/* 8028ED90 0028BCD0 80 9B 00 08 */ lwz r4, 8(r27) -/* 8028ED94 0028BCD4 80 7B 00 04 */ lwz r3, 4(r27) -/* 8028ED98 0028BCD8 7C 84 E8 2E */ lwzx r4, r4, r29 -/* 8028ED9C 0028BCDC 48 18 26 6D */ bl add__5CNodeFP5CNode -/* 8028EDA0 0028BCE0 3B 9C 00 01 */ addi r28, r28, 1 -/* 8028EDA4 0028BCE4 3B BD 00 04 */ addi r29, r29, 4 -/* 8028EDA8 0028BCE8 2C 1C 00 06 */ cmpwi r28, 6 -/* 8028EDAC 0028BCEC 41 80 FF C0 */ blt lbl_8028ED6C -/* 8028EDB0 0028BCF0 7F 63 DB 78 */ mr r3, r27 -/* 8028EDB4 0028BCF4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8028EDB8 0028BCF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028EDBC 0028BCFC 7C 08 03 A6 */ mtlr r0 -/* 8028EDC0 0028BD00 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028EDC4 0028BD04 4E 80 00 20 */ blr - -.global init__Q34Game5Queen14QueenShadowMgrFv -init__Q34Game5Queen14QueenShadowMgrFv: -/* 8028EDC8 0028BD08 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8028EDCC 0028BD0C 7C 08 02 A6 */ mflr r0 -/* 8028EDD0 0028BD10 C0 42 D5 E8 */ lfs f2, lbl_8051B948@sda21(r2) -/* 8028EDD4 0028BD14 38 82 D6 00 */ addi r4, r2, lbl_8051B960@sda21 -/* 8028EDD8 0028BD18 90 01 00 44 */ stw r0, 0x44(r1) -/* 8028EDDC 0028BD1C C0 62 D5 F4 */ lfs f3, lbl_8051B954@sda21(r2) -/* 8028EDE0 0028BD20 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8028EDE4 0028BD24 7C 7F 1B 78 */ mr r31, r3 -/* 8028EDE8 0028BD28 C0 22 D5 F8 */ lfs f1, lbl_8051B958@sda21(r2) -/* 8028EDEC 0028BD2C C0 02 D5 FC */ lfs f0, lbl_8051B95C@sda21(r2) -/* 8028EDF0 0028BD30 D0 61 00 08 */ stfs f3, 8(r1) -/* 8028EDF4 0028BD34 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8028EDF8 0028BD38 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8028EDFC 0028BD3C D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8028EE00 0028BD40 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8028EE04 0028BD44 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8028EE08 0028BD48 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8028EE0C 0028BD4C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8028EE10 0028BD50 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8028EE14 0028BD54 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8028EE18 0028BD58 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8028EE1C 0028BD5C D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8028EE20 0028BD60 80 63 00 00 */ lwz r3, 0(r3) -/* 8028EE24 0028BD64 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8028EE28 0028BD68 48 1B 01 BD */ bl getJoint__Q28SysShape5ModelFPc -/* 8028EE2C 0028BD6C 80 9F 00 08 */ lwz r4, 8(r31) -/* 8028EE30 0028BD70 80 84 00 00 */ lwz r4, 0(r4) -/* 8028EE34 0028BD74 90 64 00 24 */ stw r3, 0x24(r4) -/* 8028EE38 0028BD78 38 61 00 08 */ addi r3, r1, 8 -/* 8028EE3C 0028BD7C 38 84 00 28 */ addi r4, r4, 0x28 -/* 8028EE40 0028BD80 4B E5 B4 8D */ bl PSMTXCopy -/* 8028EE44 0028BD84 C0 62 D5 E8 */ lfs f3, lbl_8051B948@sda21(r2) -/* 8028EE48 0028BD88 38 82 D6 14 */ addi r4, r2, lbl_8051B974@sda21 -/* 8028EE4C 0028BD8C C0 82 D6 08 */ lfs f4, lbl_8051B968@sda21(r2) -/* 8028EE50 0028BD90 C0 42 D6 0C */ lfs f2, lbl_8051B96C@sda21(r2) -/* 8028EE54 0028BD94 C0 22 D6 10 */ lfs f1, lbl_8051B970@sda21(r2) -/* 8028EE58 0028BD98 C0 02 D5 FC */ lfs f0, lbl_8051B95C@sda21(r2) -/* 8028EE5C 0028BD9C D0 81 00 08 */ stfs f4, 8(r1) -/* 8028EE60 0028BDA0 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8028EE64 0028BDA4 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8028EE68 0028BDA8 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8028EE6C 0028BDAC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028EE70 0028BDB0 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8028EE74 0028BDB4 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8028EE78 0028BDB8 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8028EE7C 0028BDBC D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8028EE80 0028BDC0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8028EE84 0028BDC4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8028EE88 0028BDC8 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8028EE8C 0028BDCC 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028EE90 0028BDD0 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8028EE94 0028BDD4 48 1B 01 51 */ bl getJoint__Q28SysShape5ModelFPc -/* 8028EE98 0028BDD8 80 9F 00 08 */ lwz r4, 8(r31) -/* 8028EE9C 0028BDDC 80 84 00 04 */ lwz r4, 4(r4) -/* 8028EEA0 0028BDE0 90 64 00 24 */ stw r3, 0x24(r4) -/* 8028EEA4 0028BDE4 38 61 00 08 */ addi r3, r1, 8 -/* 8028EEA8 0028BDE8 38 84 00 28 */ addi r4, r4, 0x28 -/* 8028EEAC 0028BDEC 4B E5 B4 21 */ bl PSMTXCopy -/* 8028EEB0 0028BDF0 C0 62 D5 E8 */ lfs f3, lbl_8051B948@sda21(r2) -/* 8028EEB4 0028BDF4 38 82 D6 28 */ addi r4, r2, lbl_8051B988@sda21 -/* 8028EEB8 0028BDF8 C0 82 D6 1C */ lfs f4, lbl_8051B97C@sda21(r2) -/* 8028EEBC 0028BDFC C0 42 D6 20 */ lfs f2, lbl_8051B980@sda21(r2) -/* 8028EEC0 0028BE00 C0 22 D6 24 */ lfs f1, lbl_8051B984@sda21(r2) -/* 8028EEC4 0028BE04 C0 02 D5 FC */ lfs f0, lbl_8051B95C@sda21(r2) -/* 8028EEC8 0028BE08 D0 81 00 08 */ stfs f4, 8(r1) -/* 8028EECC 0028BE0C D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8028EED0 0028BE10 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8028EED4 0028BE14 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8028EED8 0028BE18 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028EEDC 0028BE1C D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8028EEE0 0028BE20 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8028EEE4 0028BE24 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8028EEE8 0028BE28 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8028EEEC 0028BE2C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8028EEF0 0028BE30 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8028EEF4 0028BE34 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8028EEF8 0028BE38 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028EEFC 0028BE3C 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8028EF00 0028BE40 48 1B 00 E5 */ bl getJoint__Q28SysShape5ModelFPc -/* 8028EF04 0028BE44 80 9F 00 08 */ lwz r4, 8(r31) -/* 8028EF08 0028BE48 80 84 00 08 */ lwz r4, 8(r4) -/* 8028EF0C 0028BE4C 90 64 00 24 */ stw r3, 0x24(r4) -/* 8028EF10 0028BE50 38 61 00 08 */ addi r3, r1, 8 -/* 8028EF14 0028BE54 38 84 00 28 */ addi r4, r4, 0x28 -/* 8028EF18 0028BE58 4B E5 B3 B5 */ bl PSMTXCopy -/* 8028EF1C 0028BE5C C0 22 D5 E8 */ lfs f1, lbl_8051B948@sda21(r2) -/* 8028EF20 0028BE60 38 82 D6 34 */ addi r4, r2, lbl_8051B994@sda21 -/* 8028EF24 0028BE64 C0 42 D6 30 */ lfs f2, lbl_8051B990@sda21(r2) -/* 8028EF28 0028BE68 C0 02 D5 FC */ lfs f0, lbl_8051B95C@sda21(r2) -/* 8028EF2C 0028BE6C D0 41 00 08 */ stfs f2, 8(r1) -/* 8028EF30 0028BE70 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8028EF34 0028BE74 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8028EF38 0028BE78 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8028EF3C 0028BE7C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028EF40 0028BE80 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8028EF44 0028BE84 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8028EF48 0028BE88 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8028EF4C 0028BE8C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8028EF50 0028BE90 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8028EF54 0028BE94 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8028EF58 0028BE98 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8028EF5C 0028BE9C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028EF60 0028BEA0 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8028EF64 0028BEA4 48 1B 00 81 */ bl getJoint__Q28SysShape5ModelFPc -/* 8028EF68 0028BEA8 80 9F 00 08 */ lwz r4, 8(r31) -/* 8028EF6C 0028BEAC 80 84 00 0C */ lwz r4, 0xc(r4) -/* 8028EF70 0028BEB0 90 64 00 24 */ stw r3, 0x24(r4) -/* 8028EF74 0028BEB4 38 61 00 08 */ addi r3, r1, 8 -/* 8028EF78 0028BEB8 38 84 00 28 */ addi r4, r4, 0x28 -/* 8028EF7C 0028BEBC 4B E5 B3 51 */ bl PSMTXCopy -/* 8028EF80 0028BEC0 C0 62 D5 E8 */ lfs f3, lbl_8051B948@sda21(r2) -/* 8028EF84 0028BEC4 38 82 D6 48 */ addi r4, r2, lbl_8051B9A8@sda21 -/* 8028EF88 0028BEC8 C0 82 D6 3C */ lfs f4, lbl_8051B99C@sda21(r2) -/* 8028EF8C 0028BECC C0 42 D6 40 */ lfs f2, lbl_8051B9A0@sda21(r2) -/* 8028EF90 0028BED0 C0 22 D6 44 */ lfs f1, lbl_8051B9A4@sda21(r2) -/* 8028EF94 0028BED4 C0 02 D5 FC */ lfs f0, lbl_8051B95C@sda21(r2) -/* 8028EF98 0028BED8 D0 81 00 08 */ stfs f4, 8(r1) -/* 8028EF9C 0028BEDC D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8028EFA0 0028BEE0 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8028EFA4 0028BEE4 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8028EFA8 0028BEE8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028EFAC 0028BEEC D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8028EFB0 0028BEF0 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8028EFB4 0028BEF4 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8028EFB8 0028BEF8 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8028EFBC 0028BEFC D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8028EFC0 0028BF00 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8028EFC4 0028BF04 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8028EFC8 0028BF08 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028EFCC 0028BF0C 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8028EFD0 0028BF10 48 1B 00 15 */ bl getJoint__Q28SysShape5ModelFPc -/* 8028EFD4 0028BF14 80 9F 00 08 */ lwz r4, 8(r31) -/* 8028EFD8 0028BF18 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8028EFDC 0028BF1C 90 64 00 24 */ stw r3, 0x24(r4) -/* 8028EFE0 0028BF20 38 61 00 08 */ addi r3, r1, 8 -/* 8028EFE4 0028BF24 38 84 00 28 */ addi r4, r4, 0x28 -/* 8028EFE8 0028BF28 4B E5 B2 E5 */ bl PSMTXCopy -/* 8028EFEC 0028BF2C C0 62 D5 E8 */ lfs f3, lbl_8051B948@sda21(r2) -/* 8028EFF0 0028BF30 38 82 D6 5C */ addi r4, r2, lbl_8051B9BC@sda21 -/* 8028EFF4 0028BF34 C0 82 D6 50 */ lfs f4, lbl_8051B9B0@sda21(r2) -/* 8028EFF8 0028BF38 C0 42 D6 54 */ lfs f2, lbl_8051B9B4@sda21(r2) -/* 8028EFFC 0028BF3C C0 22 D6 58 */ lfs f1, lbl_8051B9B8@sda21(r2) -/* 8028F000 0028BF40 C0 02 D5 FC */ lfs f0, lbl_8051B95C@sda21(r2) -/* 8028F004 0028BF44 D0 81 00 08 */ stfs f4, 8(r1) -/* 8028F008 0028BF48 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8028F00C 0028BF4C D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8028F010 0028BF50 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8028F014 0028BF54 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8028F018 0028BF58 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8028F01C 0028BF5C D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8028F020 0028BF60 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8028F024 0028BF64 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8028F028 0028BF68 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8028F02C 0028BF6C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8028F030 0028BF70 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8028F034 0028BF74 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028F038 0028BF78 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8028F03C 0028BF7C 48 1A FF A9 */ bl getJoint__Q28SysShape5ModelFPc -/* 8028F040 0028BF80 80 9F 00 08 */ lwz r4, 8(r31) -/* 8028F044 0028BF84 80 84 00 14 */ lwz r4, 0x14(r4) -/* 8028F048 0028BF88 90 64 00 24 */ stw r3, 0x24(r4) -/* 8028F04C 0028BF8C 38 61 00 08 */ addi r3, r1, 8 -/* 8028F050 0028BF90 38 84 00 28 */ addi r4, r4, 0x28 -/* 8028F054 0028BF94 4B E5 B2 79 */ bl PSMTXCopy -/* 8028F058 0028BF98 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8028F05C 0028BF9C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8028F060 0028BFA0 7C 08 03 A6 */ mtlr r0 -/* 8028F064 0028BFA4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8028F068 0028BFA8 4E 80 00 20 */ blr - -.global update__Q34Game5Queen14QueenShadowMgrFv -update__Q34Game5Queen14QueenShadowMgrFv: -/* 8028F06C 0028BFAC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028F070 0028BFB0 7C 08 02 A6 */ mflr r0 -/* 8028F074 0028BFB4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028F078 0028BFB8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028F07C 0028BFBC 3B E0 00 00 */ li r31, 0 -/* 8028F080 0028BFC0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028F084 0028BFC4 3B C0 00 00 */ li r30, 0 -/* 8028F088 0028BFC8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8028F08C 0028BFCC 7C 7D 1B 78 */ mr r29, r3 -lbl_8028F090: -/* 8028F090 0028BFD0 80 7D 00 08 */ lwz r3, 8(r29) -/* 8028F094 0028BFD4 7C 63 F8 2E */ lwzx r3, r3, r31 -/* 8028F098 0028BFD8 4B FF FA D1 */ bl makeShadowSRT__Q34Game5Queen15QueenShadowNodeFv -/* 8028F09C 0028BFDC 3B DE 00 01 */ addi r30, r30, 1 -/* 8028F0A0 0028BFE0 3B FF 00 04 */ addi r31, r31, 4 -/* 8028F0A4 0028BFE4 2C 1E 00 06 */ cmpwi r30, 6 -/* 8028F0A8 0028BFE8 41 80 FF E8 */ blt lbl_8028F090 -/* 8028F0AC 0028BFEC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028F0B0 0028BFF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028F0B4 0028BFF4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028F0B8 0028BFF8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8028F0BC 0028BFFC 7C 08 03 A6 */ mtlr r0 -/* 8028F0C0 0028C000 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028F0C4 0028C004 4E 80 00 20 */ blr - -.global __dt__Q34Game5Queen15QueenShadowNodeFv -__dt__Q34Game5Queen15QueenShadowNodeFv: -/* 8028F0C8 0028C008 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F0CC 0028C00C 7C 08 02 A6 */ mflr r0 -/* 8028F0D0 0028C010 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F0D4 0028C014 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F0D8 0028C018 7C 9F 23 78 */ mr r31, r4 -/* 8028F0DC 0028C01C 93 C1 00 08 */ stw r30, 8(r1) -/* 8028F0E0 0028C020 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028F0E4 0028C024 41 82 00 38 */ beq lbl_8028F11C -/* 8028F0E8 0028C028 3C 80 80 4D */ lis r4, __vt__Q34Game5Queen15QueenShadowNode@ha -/* 8028F0EC 0028C02C 38 04 AD 08 */ addi r0, r4, __vt__Q34Game5Queen15QueenShadowNode@l -/* 8028F0F0 0028C030 90 1E 00 00 */ stw r0, 0(r30) -/* 8028F0F4 0028C034 41 82 00 18 */ beq lbl_8028F10C -/* 8028F0F8 0028C038 3C A0 80 4C */ lis r5, __vt__Q24Game15JointShadowNode@ha -/* 8028F0FC 0028C03C 38 80 00 00 */ li r4, 0 -/* 8028F100 0028C040 38 05 1A 34 */ addi r0, r5, __vt__Q24Game15JointShadowNode@l -/* 8028F104 0028C044 90 1E 00 00 */ stw r0, 0(r30) -/* 8028F108 0028C048 48 18 24 81 */ bl __dt__5CNodeFv -lbl_8028F10C: -/* 8028F10C 0028C04C 7F E0 07 35 */ extsh. r0, r31 -/* 8028F110 0028C050 40 81 00 0C */ ble lbl_8028F11C -/* 8028F114 0028C054 7F C3 F3 78 */ mr r3, r30 -/* 8028F118 0028C058 4B D9 4F 9D */ bl __dl__FPv -lbl_8028F11C: -/* 8028F11C 0028C05C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F120 0028C060 7F C3 F3 78 */ mr r3, r30 -/* 8028F124 0028C064 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F128 0028C068 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028F12C 0028C06C 7C 08 03 A6 */ mtlr r0 -/* 8028F130 0028C070 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F134 0028C074 4E 80 00 20 */ blr - -.global __ct__Q34Game10FireChappy3MgrFiUc -__ct__Q34Game10FireChappy3MgrFiUc: -/* 8028F138 0028C078 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F13C 0028C07C 7C 08 02 A6 */ mflr r0 -/* 8028F140 0028C080 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F144 0028C084 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F148 0028C088 7C 7F 1B 78 */ mr r31, r3 -/* 8028F14C 0028C08C 4B E9 FB 49 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 8028F150 0028C090 3C 60 80 4D */ lis r3, __vt__Q34Game10FireChappy3Mgr@ha -/* 8028F154 0028C094 3C 80 80 49 */ lis r4, lbl_80488398@ha -/* 8028F158 0028C098 38 A3 AD 18 */ addi r5, r3, __vt__Q34Game10FireChappy3Mgr@l -/* 8028F15C 0028C09C 7F E3 FB 78 */ mr r3, r31 -/* 8028F160 0028C0A0 90 BF 00 00 */ stw r5, 0(r31) -/* 8028F164 0028C0A4 38 A5 00 38 */ addi r5, r5, 0x38 -/* 8028F168 0028C0A8 38 04 83 98 */ addi r0, r4, lbl_80488398@l -/* 8028F16C 0028C0AC 90 BF 00 04 */ stw r5, 4(r31) -/* 8028F170 0028C0B0 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8028F174 0028C0B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F178 0028C0B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F17C 0028C0BC 7C 08 03 A6 */ mtlr r0 -/* 8028F180 0028C0C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F184 0028C0C4 4E 80 00 20 */ blr - -.global doAlloc__Q34Game10FireChappy3MgrFv -doAlloc__Q34Game10FireChappy3MgrFv: -/* 8028F188 0028C0C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F18C 0028C0CC 7C 08 02 A6 */ mflr r0 -/* 8028F190 0028C0D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F194 0028C0D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F198 0028C0D8 7C 7F 1B 78 */ mr r31, r3 -/* 8028F19C 0028C0DC 38 60 08 84 */ li r3, 0x884 -/* 8028F1A0 0028C0E0 4B D9 4D 05 */ bl __nw__FUl -/* 8028F1A4 0028C0E4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8028F1A8 0028C0E8 41 82 00 0C */ beq lbl_8028F1B4 -/* 8028F1AC 0028C0EC 4B E8 A7 8D */ bl __ct__Q34Game10ChappyBase5ParmsFv -/* 8028F1B0 0028C0F0 7C 64 1B 78 */ mr r4, r3 -lbl_8028F1B4: -/* 8028F1B4 0028C0F4 7F E3 FB 78 */ mr r3, r31 -/* 8028F1B8 0028C0F8 4B EA 06 E5 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 8028F1BC 0028C0FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F1C0 0028C100 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F1C4 0028C104 7C 08 03 A6 */ mtlr r0 -/* 8028F1C8 0028C108 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F1CC 0028C10C 4E 80 00 20 */ blr - -.global createObj__Q34Game10FireChappy3MgrFi -createObj__Q34Game10FireChappy3MgrFi: -/* 8028F1D0 0028C110 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F1D4 0028C114 7C 08 02 A6 */ mflr r0 -/* 8028F1D8 0028C118 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F1DC 0028C11C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F1E0 0028C120 7C 9F 23 78 */ mr r31, r4 -/* 8028F1E4 0028C124 93 C1 00 08 */ stw r30, 8(r1) -/* 8028F1E8 0028C128 7C 7E 1B 78 */ mr r30, r3 -/* 8028F1EC 0028C12C 1C 7F 03 10 */ mulli r3, r31, 0x310 -/* 8028F1F0 0028C130 38 63 00 10 */ addi r3, r3, 0x10 -/* 8028F1F4 0028C134 4B D9 4D B9 */ bl __nwa__FUl -/* 8028F1F8 0028C138 3C 80 80 29 */ lis r4, __ct__Q34Game10FireChappy3ObjFv@ha -/* 8028F1FC 0028C13C 3C A0 80 29 */ lis r5, __dt__Q34Game10FireChappy3ObjFv@ha -/* 8028F200 0028C140 38 84 F6 2C */ addi r4, r4, __ct__Q34Game10FireChappy3ObjFv@l -/* 8028F204 0028C144 7F E7 FB 78 */ mr r7, r31 -/* 8028F208 0028C148 38 A5 F2 30 */ addi r5, r5, __dt__Q34Game10FireChappy3ObjFv@l -/* 8028F20C 0028C14C 38 C0 03 10 */ li r6, 0x310 -/* 8028F210 0028C150 4B E3 27 E1 */ bl __construct_new_array -/* 8028F214 0028C154 90 7E 00 44 */ stw r3, 0x44(r30) -/* 8028F218 0028C158 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F21C 0028C15C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F220 0028C160 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028F224 0028C164 7C 08 03 A6 */ mtlr r0 -/* 8028F228 0028C168 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F22C 0028C16C 4E 80 00 20 */ blr - -.global __dt__Q34Game10FireChappy3ObjFv -__dt__Q34Game10FireChappy3ObjFv: -/* 8028F230 0028C170 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F234 0028C174 7C 08 02 A6 */ mflr r0 -/* 8028F238 0028C178 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F23C 0028C17C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F240 0028C180 7C 9F 23 78 */ mr r31, r4 -/* 8028F244 0028C184 93 C1 00 08 */ stw r30, 8(r1) -/* 8028F248 0028C188 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028F24C 0028C18C 41 82 00 B8 */ beq lbl_8028F304 -/* 8028F250 0028C190 3C 60 80 4D */ lis r3, __vt__Q34Game10FireChappy3Obj@ha -/* 8028F254 0028C194 38 1E 03 00 */ addi r0, r30, 0x300 -/* 8028F258 0028C198 38 83 AF 44 */ addi r4, r3, __vt__Q34Game10FireChappy3Obj@l -/* 8028F25C 0028C19C 90 9E 00 00 */ stw r4, 0(r30) -/* 8028F260 0028C1A0 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8028F264 0028C1A4 38 84 03 34 */ addi r4, r4, 0x334 -/* 8028F268 0028C1A8 90 7E 01 78 */ stw r3, 0x178(r30) -/* 8028F26C 0028C1AC 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028F270 0028C1B0 90 83 00 00 */ stw r4, 0(r3) -/* 8028F274 0028C1B4 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028F278 0028C1B8 7C 03 00 50 */ subf r0, r3, r0 -/* 8028F27C 0028C1BC 90 03 00 0C */ stw r0, 0xc(r3) -/* 8028F280 0028C1C0 41 82 00 74 */ beq lbl_8028F2F4 -/* 8028F284 0028C1C4 3C 60 80 4B */ lis r3, __vt__Q34Game10ChappyBase3Obj@ha -/* 8028F288 0028C1C8 38 1E 02 E4 */ addi r0, r30, 0x2e4 -/* 8028F28C 0028C1CC 38 83 DF 4C */ addi r4, r3, __vt__Q34Game10ChappyBase3Obj@l -/* 8028F290 0028C1D0 90 9E 00 00 */ stw r4, 0(r30) -/* 8028F294 0028C1D4 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 8028F298 0028C1D8 38 84 03 34 */ addi r4, r4, 0x334 -/* 8028F29C 0028C1DC 90 7E 01 78 */ stw r3, 0x178(r30) -/* 8028F2A0 0028C1E0 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028F2A4 0028C1E4 90 83 00 00 */ stw r4, 0(r3) -/* 8028F2A8 0028C1E8 80 7E 01 7C */ lwz r3, 0x17c(r30) -/* 8028F2AC 0028C1EC 7C 03 00 50 */ subf r0, r3, r0 -/* 8028F2B0 0028C1F0 90 03 00 0C */ stw r0, 0xc(r3) -/* 8028F2B4 0028C1F4 41 82 00 40 */ beq lbl_8028F2F4 -/* 8028F2B8 0028C1F8 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 8028F2BC 0028C1FC 38 1E 02 BC */ addi r0, r30, 0x2bc -/* 8028F2C0 0028C200 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 8028F2C4 0028C204 38 7E 02 90 */ addi r3, r30, 0x290 -/* 8028F2C8 0028C208 90 9E 00 00 */ stw r4, 0(r30) -/* 8028F2CC 0028C20C 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 8028F2D0 0028C210 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 8028F2D4 0028C214 38 80 FF FF */ li r4, -1 -/* 8028F2D8 0028C218 90 BE 01 78 */ stw r5, 0x178(r30) -/* 8028F2DC 0028C21C 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8028F2E0 0028C220 90 C5 00 00 */ stw r6, 0(r5) -/* 8028F2E4 0028C224 80 BE 01 7C */ lwz r5, 0x17c(r30) -/* 8028F2E8 0028C228 7C 05 00 50 */ subf r0, r5, r0 -/* 8028F2EC 0028C22C 90 05 00 0C */ stw r0, 0xc(r5) -/* 8028F2F0 0028C230 48 18 22 99 */ bl __dt__5CNodeFv -lbl_8028F2F4: -/* 8028F2F4 0028C234 7F E0 07 35 */ extsh. r0, r31 -/* 8028F2F8 0028C238 40 81 00 0C */ ble lbl_8028F304 -/* 8028F2FC 0028C23C 7F C3 F3 78 */ mr r3, r30 -/* 8028F300 0028C240 4B D9 4D B5 */ bl __dl__FPv -lbl_8028F304: -/* 8028F304 0028C244 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F308 0028C248 7F C3 F3 78 */ mr r3, r30 -/* 8028F30C 0028C24C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F310 0028C250 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028F314 0028C254 7C 08 03 A6 */ mtlr r0 -/* 8028F318 0028C258 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F31C 0028C25C 4E 80 00 20 */ blr - -.global getEnemy__Q34Game10FireChappy3MgrFi -getEnemy__Q34Game10FireChappy3MgrFi: -/* 8028F320 0028C260 1C 04 03 10 */ mulli r0, r4, 0x310 -/* 8028F324 0028C264 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8028F328 0028C268 7C 63 02 14 */ add r3, r3, r0 -/* 8028F32C 0028C26C 4E 80 00 20 */ blr - -.global loadModelData__Q34Game10FireChappy3MgrFv -loadModelData__Q34Game10FireChappy3MgrFv: -/* 8028F330 0028C270 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F334 0028C274 7C 08 02 A6 */ mflr r0 -/* 8028F338 0028C278 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F33C 0028C27C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F340 0028C280 7C 7F 1B 78 */ mr r31, r3 -/* 8028F344 0028C284 4B EA 0D C9 */ bl loadModelData__Q24Game12EnemyMgrBaseFv -/* 8028F348 0028C288 38 A0 00 00 */ li r5, 0 -/* 8028F34C 0028C28C 48 00 00 24 */ b lbl_8028F370 -lbl_8028F350: -/* 8028F350 0028C290 80 64 00 80 */ lwz r3, 0x80(r4) -/* 8028F354 0028C294 54 A0 13 BA */ rlwinm r0, r5, 2, 0xe, 0x1d -/* 8028F358 0028C298 38 A5 00 01 */ addi r5, r5, 1 -/* 8028F35C 0028C29C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8028F360 0028C2A0 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8028F364 0028C2A4 54 00 05 1E */ rlwinm r0, r0, 0, 0x14, 0xf -/* 8028F368 0028C2A8 60 00 20 00 */ ori r0, r0, 0x2000 -/* 8028F36C 0028C2AC 90 03 00 0C */ stw r0, 0xc(r3) -lbl_8028F370: -/* 8028F370 0028C2B0 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 8028F374 0028C2B4 54 A0 04 3E */ clrlwi r0, r5, 0x10 -/* 8028F378 0028C2B8 A0 64 00 7C */ lhz r3, 0x7c(r4) -/* 8028F37C 0028C2BC 7C 00 18 40 */ cmplw r0, r3 -/* 8028F380 0028C2C0 41 80 FF D0 */ blt lbl_8028F350 -/* 8028F384 0028C2C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F388 0028C2C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F38C 0028C2CC 7C 08 03 A6 */ mtlr r0 -/* 8028F390 0028C2D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F394 0028C2D4 4E 80 00 20 */ blr - -.global loadTexData__Q34Game10FireChappy3MgrFv -loadTexData__Q34Game10FireChappy3MgrFv: -/* 8028F398 0028C2D8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8028F39C 0028C2DC 7C 08 02 A6 */ mflr r0 -/* 8028F3A0 0028C2E0 38 80 00 00 */ li r4, 0 -/* 8028F3A4 0028C2E4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8028F3A8 0028C2E8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8028F3AC 0028C2EC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8028F3B0 0028C2F0 7C 7E 1B 78 */ mr r30, r3 -/* 8028F3B4 0028C2F4 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8028F3B8 0028C2F8 48 1A EE E5 */ bl enableMaterialAnim__Q28SysShape5ModelFP12J3DModelDatai -/* 8028F3BC 0028C2FC 80 8D 84 B8 */ lwz r4, cMatAnimBtkTexName__Q34Game10FireChappy27$$2unnamed$$2FireChappyMgr_cpp$$2@sda21(r13) -/* 8028F3C0 0028C300 38 61 00 38 */ addi r3, r1, 0x38 -/* 8028F3C4 0028C304 3B E0 00 00 */ li r31, 0 -/* 8028F3C8 0028C308 48 1B D2 11 */ bl __ct__Q212LoadResource3ArgFPCc -/* 8028F3CC 0028C30C 80 6D 9C 28 */ lwz r3, gLoadResourceMgr@sda21(r13) -/* 8028F3D0 0028C310 38 81 00 38 */ addi r4, r1, 0x38 -/* 8028F3D4 0028C314 48 1B D3 CD */ bl load__Q212LoadResource3MgrFRQ212LoadResource3Arg -/* 8028F3D8 0028C318 28 03 00 00 */ cmplwi r3, 0 -/* 8028F3DC 0028C31C 41 82 00 08 */ beq lbl_8028F3E4 -/* 8028F3E0 0028C320 83 E3 00 30 */ lwz r31, 0x30(r3) -lbl_8028F3E4: -/* 8028F3E4 0028C324 28 1F 00 00 */ cmplwi r31, 0 -/* 8028F3E8 0028C328 40 82 00 20 */ bne lbl_8028F408 -/* 8028F3EC 0028C32C 3C 60 80 49 */ lis r3, lbl_804883B4@ha -/* 8028F3F0 0028C330 3C A0 80 49 */ lis r5, lbl_804883C8@ha -/* 8028F3F4 0028C334 38 63 83 B4 */ addi r3, r3, lbl_804883B4@l -/* 8028F3F8 0028C338 38 80 00 6E */ li r4, 0x6e -/* 8028F3FC 0028C33C 38 A5 83 C8 */ addi r5, r5, lbl_804883C8@l -/* 8028F400 0028C340 4C C6 31 82 */ crclr 6 -/* 8028F404 0028C344 4B D9 B2 3D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028F408: -/* 8028F408 0028C348 38 60 00 10 */ li r3, 0x10 -/* 8028F40C 0028C34C 4B D9 4A 99 */ bl __nw__FUl -/* 8028F410 0028C350 7C 60 1B 79 */ or. r0, r3, r3 -/* 8028F414 0028C354 41 82 00 0C */ beq lbl_8028F420 -/* 8028F418 0028C358 48 1A 4D 1D */ bl __ct__Q23Sys15MatTexAnimationFv -/* 8028F41C 0028C35C 7C 60 1B 78 */ mr r0, r3 -lbl_8028F420: -/* 8028F420 0028C360 90 1E 00 48 */ stw r0, 0x48(r30) -/* 8028F424 0028C364 7F E4 FB 78 */ mr r4, r31 -/* 8028F428 0028C368 80 7E 00 48 */ lwz r3, 0x48(r30) -/* 8028F42C 0028C36C 80 BE 00 1C */ lwz r5, 0x1c(r30) -/* 8028F430 0028C370 48 1A 4B F1 */ bl attachResource__Q23Sys16MatBaseAnimationFPvP12J3DModelData -/* 8028F434 0028C374 80 8D 84 BC */ lwz r4, cMatAnimBrkTexName__Q34Game10FireChappy27$$2unnamed$$2FireChappyMgr_cpp$$2@sda21(r13) -/* 8028F438 0028C378 38 61 00 08 */ addi r3, r1, 8 -/* 8028F43C 0028C37C 3B E0 00 00 */ li r31, 0 -/* 8028F440 0028C380 48 1B D1 99 */ bl __ct__Q212LoadResource3ArgFPCc -/* 8028F444 0028C384 80 6D 9C 28 */ lwz r3, gLoadResourceMgr@sda21(r13) -/* 8028F448 0028C388 38 81 00 08 */ addi r4, r1, 8 -/* 8028F44C 0028C38C 48 1B D3 55 */ bl load__Q212LoadResource3MgrFRQ212LoadResource3Arg -/* 8028F450 0028C390 28 03 00 00 */ cmplwi r3, 0 -/* 8028F454 0028C394 41 82 00 08 */ beq lbl_8028F45C -/* 8028F458 0028C398 83 E3 00 30 */ lwz r31, 0x30(r3) -lbl_8028F45C: -/* 8028F45C 0028C39C 28 1F 00 00 */ cmplwi r31, 0 -/* 8028F460 0028C3A0 40 82 00 20 */ bne lbl_8028F480 -/* 8028F464 0028C3A4 3C 60 80 49 */ lis r3, lbl_804883B4@ha -/* 8028F468 0028C3A8 3C A0 80 49 */ lis r5, lbl_804883C8@ha -/* 8028F46C 0028C3AC 38 63 83 B4 */ addi r3, r3, lbl_804883B4@l -/* 8028F470 0028C3B0 38 80 00 76 */ li r4, 0x76 -/* 8028F474 0028C3B4 38 A5 83 C8 */ addi r5, r5, lbl_804883C8@l -/* 8028F478 0028C3B8 4C C6 31 82 */ crclr 6 -/* 8028F47C 0028C3BC 4B D9 B1 C5 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028F480: -/* 8028F480 0028C3C0 38 60 00 14 */ li r3, 0x14 -/* 8028F484 0028C3C4 4B D9 4A 21 */ bl __nw__FUl -/* 8028F488 0028C3C8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8028F48C 0028C3CC 41 82 00 0C */ beq lbl_8028F498 -/* 8028F490 0028C3D0 48 1A 4D B1 */ bl __ct__Q23Sys18MatTevRegAnimationFv -/* 8028F494 0028C3D4 7C 60 1B 78 */ mr r0, r3 -lbl_8028F498: -/* 8028F498 0028C3D8 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 8028F49C 0028C3DC 7F E4 FB 78 */ mr r4, r31 -/* 8028F4A0 0028C3E0 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 8028F4A4 0028C3E4 80 BE 00 1C */ lwz r5, 0x1c(r30) -/* 8028F4A8 0028C3E8 48 1A 4B 79 */ bl attachResource__Q23Sys16MatBaseAnimationFPvP12J3DModelData -/* 8028F4AC 0028C3EC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8028F4B0 0028C3F0 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8028F4B4 0028C3F4 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8028F4B8 0028C3F8 7C 08 03 A6 */ mtlr r0 -/* 8028F4BC 0028C3FC 38 21 00 70 */ addi r1, r1, 0x70 -/* 8028F4C0 0028C400 4E 80 00 20 */ blr - -.global createModel__Q34Game10FireChappy3MgrFv -createModel__Q34Game10FireChappy3MgrFv: -/* 8028F4C4 0028C404 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F4C8 0028C408 7C 08 02 A6 */ mflr r0 -/* 8028F4CC 0028C40C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F4D0 0028C410 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F4D4 0028C414 93 C1 00 08 */ stw r30, 8(r1) -/* 8028F4D8 0028C418 7C 7E 1B 78 */ mr r30, r3 -/* 8028F4DC 0028C41C 38 60 00 14 */ li r3, 0x14 -/* 8028F4E0 0028C420 4B D9 49 C5 */ bl __nw__FUl -/* 8028F4E4 0028C424 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8028F4E8 0028C428 41 82 00 18 */ beq lbl_8028F500 -/* 8028F4EC 0028C42C 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 8028F4F0 0028C430 3C A0 00 04 */ lis r5, 4 -/* 8028F4F4 0028C434 88 DE 00 24 */ lbz r6, 0x24(r30) -/* 8028F4F8 0028C438 48 1A EC E1 */ bl __ct__Q28SysShape5ModelFP12J3DModelDataUlUl -/* 8028F4FC 0028C43C 7C 7F 1B 78 */ mr r31, r3 -lbl_8028F500: -/* 8028F500 0028C440 28 1F 00 00 */ cmplwi r31, 0 -/* 8028F504 0028C444 40 82 00 20 */ bne lbl_8028F524 -/* 8028F508 0028C448 3C 60 80 49 */ lis r3, lbl_804883B4@ha -/* 8028F50C 0028C44C 3C A0 80 49 */ lis r5, lbl_804883C8@ha -/* 8028F510 0028C450 38 63 83 B4 */ addi r3, r3, lbl_804883B4@l -/* 8028F514 0028C454 38 80 00 90 */ li r4, 0x90 -/* 8028F518 0028C458 38 A5 83 C8 */ addi r5, r5, lbl_804883C8@l -/* 8028F51C 0028C45C 4C C6 31 82 */ crclr 6 -/* 8028F520 0028C460 4B D9 B1 21 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_8028F524: -/* 8028F524 0028C464 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F528 0028C468 7F E3 FB 78 */ mr r3, r31 -/* 8028F52C 0028C46C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F530 0028C470 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028F534 0028C474 7C 08 03 A6 */ mtlr r0 -/* 8028F538 0028C478 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F53C 0028C47C 4E 80 00 20 */ blr - -.global __dt__Q34Game10FireChappy3MgrFv -__dt__Q34Game10FireChappy3MgrFv: -/* 8028F540 0028C480 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F544 0028C484 7C 08 02 A6 */ mflr r0 -/* 8028F548 0028C488 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F54C 0028C48C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F550 0028C490 7C 9F 23 78 */ mr r31, r4 -/* 8028F554 0028C494 93 C1 00 08 */ stw r30, 8(r1) -/* 8028F558 0028C498 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028F55C 0028C49C 41 82 00 78 */ beq lbl_8028F5D4 -/* 8028F560 0028C4A0 3C 60 80 4D */ lis r3, __vt__Q34Game10FireChappy3Mgr@ha -/* 8028F564 0028C4A4 38 63 AD 18 */ addi r3, r3, __vt__Q34Game10FireChappy3Mgr@l -/* 8028F568 0028C4A8 90 7E 00 00 */ stw r3, 0(r30) -/* 8028F56C 0028C4AC 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028F570 0028C4B0 90 1E 00 04 */ stw r0, 4(r30) -/* 8028F574 0028C4B4 41 82 00 50 */ beq lbl_8028F5C4 -/* 8028F578 0028C4B8 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 8028F57C 0028C4BC 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 8028F580 0028C4C0 90 7E 00 00 */ stw r3, 0(r30) -/* 8028F584 0028C4C4 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028F588 0028C4C8 90 1E 00 04 */ stw r0, 4(r30) -/* 8028F58C 0028C4CC 41 82 00 38 */ beq lbl_8028F5C4 -/* 8028F590 0028C4D0 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 8028F594 0028C4D4 34 1E 00 04 */ addic. r0, r30, 4 -/* 8028F598 0028C4D8 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 8028F59C 0028C4DC 90 7E 00 00 */ stw r3, 0(r30) -/* 8028F5A0 0028C4E0 38 03 00 38 */ addi r0, r3, 0x38 -/* 8028F5A4 0028C4E4 90 1E 00 04 */ stw r0, 4(r30) -/* 8028F5A8 0028C4E8 41 82 00 1C */ beq lbl_8028F5C4 -/* 8028F5AC 0028C4EC 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 8028F5B0 0028C4F0 38 7E 00 04 */ addi r3, r30, 4 -/* 8028F5B4 0028C4F4 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 8028F5B8 0028C4F8 38 80 00 00 */ li r4, 0 -/* 8028F5BC 0028C4FC 90 1E 00 04 */ stw r0, 4(r30) -/* 8028F5C0 0028C500 48 18 1F C9 */ bl __dt__5CNodeFv -lbl_8028F5C4: -/* 8028F5C4 0028C504 7F E0 07 35 */ extsh. r0, r31 -/* 8028F5C8 0028C508 40 81 00 0C */ ble lbl_8028F5D4 -/* 8028F5CC 0028C50C 7F C3 F3 78 */ mr r3, r30 -/* 8028F5D0 0028C510 4B D9 4A E5 */ bl __dl__FPv -lbl_8028F5D4: -/* 8028F5D4 0028C514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F5D8 0028C518 7F C3 F3 78 */ mr r3, r30 -/* 8028F5DC 0028C51C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F5E0 0028C520 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028F5E4 0028C524 7C 08 03 A6 */ mtlr r0 -/* 8028F5E8 0028C528 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F5EC 0028C52C 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game10FireChappy3MgrFv -getEnemyTypeID__Q34Game10FireChappy3MgrFv: -/* 8028F5F0 0028C530 38 60 00 21 */ li r3, 0x21 -/* 8028F5F4 0028C534 4E 80 00 20 */ blr - -.global doLoadBmd__Q34Game10FireChappy3MgrFPv -doLoadBmd__Q34Game10FireChappy3MgrFPv: -/* 8028F5F8 0028C538 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F5FC 0028C53C 7C 08 02 A6 */ mflr r0 -/* 8028F600 0028C540 3C A0 01 24 */ lis r5, 0x01240030@ha -/* 8028F604 0028C544 7C 83 23 78 */ mr r3, r4 -/* 8028F608 0028C548 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F60C 0028C54C 38 85 00 30 */ addi r4, r5, 0x01240030@l -/* 8028F610 0028C550 4B DE 02 85 */ bl load__22J3DModelLoaderDataBaseFPCvUl -/* 8028F614 0028C554 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F618 0028C558 7C 08 03 A6 */ mtlr r0 -/* 8028F61C 0028C55C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F620 0028C560 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game10FireChappy3MgrFv -$$24$$2__dt__Q34Game10FireChappy3MgrFv: -/* 8028F624 0028C564 38 63 FF FC */ addi r3, r3, -4 -/* 8028F628 0028C568 4B FF FF 18 */ b __dt__Q34Game10FireChappy3MgrFv - -.global __ct__Q34Game10FireChappy3ObjFv -__ct__Q34Game10FireChappy3ObjFv: -/* 8028F62C 0028C56C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F630 0028C570 7C 08 02 A6 */ mflr r0 -/* 8028F634 0028C574 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F638 0028C578 7C 80 07 35 */ extsh. r0, r4 -/* 8028F63C 0028C57C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F640 0028C580 7C 7F 1B 78 */ mr r31, r3 -/* 8028F644 0028C584 41 82 00 24 */ beq lbl_8028F668 -/* 8028F648 0028C588 38 1F 03 00 */ addi r0, r31, 0x300 -/* 8028F64C 0028C58C 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 8028F650 0028C590 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8028F654 0028C594 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 8028F658 0028C598 38 00 00 00 */ li r0, 0 -/* 8028F65C 0028C59C 90 7F 03 00 */ stw r3, 0x300(r31) -/* 8028F660 0028C5A0 90 1F 03 04 */ stw r0, 0x304(r31) -/* 8028F664 0028C5A4 90 1F 03 08 */ stw r0, 0x308(r31) -lbl_8028F668: -/* 8028F668 0028C5A8 7F E3 FB 78 */ mr r3, r31 -/* 8028F66C 0028C5AC 38 80 00 00 */ li r4, 0 -/* 8028F670 0028C5B0 4B E9 B2 E1 */ bl __ct__Q34Game10ChappyBase3ObjFv -/* 8028F674 0028C5B4 3C 60 80 4D */ lis r3, __vt__Q34Game10FireChappy3Obj@ha -/* 8028F678 0028C5B8 38 1F 03 00 */ addi r0, r31, 0x300 -/* 8028F67C 0028C5BC 38 A3 AF 44 */ addi r5, r3, __vt__Q34Game10FireChappy3Obj@l -/* 8028F680 0028C5C0 7F E3 FB 78 */ mr r3, r31 -/* 8028F684 0028C5C4 90 BF 00 00 */ stw r5, 0(r31) -/* 8028F688 0028C5C8 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 8028F68C 0028C5CC 38 A5 03 34 */ addi r5, r5, 0x334 -/* 8028F690 0028C5D0 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8028F694 0028C5D4 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8028F698 0028C5D8 90 A4 00 00 */ stw r5, 0(r4) -/* 8028F69C 0028C5DC 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8028F6A0 0028C5E0 7C 04 00 50 */ subf r0, r4, r0 -/* 8028F6A4 0028C5E4 90 04 00 0C */ stw r0, 0xc(r4) -/* 8028F6A8 0028C5E8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028F6AC 0028C5EC 81 8C 03 1C */ lwz r12, 0x31c(r12) -/* 8028F6B0 0028C5F0 7D 89 03 A6 */ mtctr r12 -/* 8028F6B4 0028C5F4 4E 80 04 21 */ bctrl -/* 8028F6B8 0028C5F8 7F E3 FB 78 */ mr r3, r31 -/* 8028F6BC 0028C5FC 48 00 05 E5 */ bl createMaterialAnimation__Q34Game10FireChappy3ObjFv -/* 8028F6C0 0028C600 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F6C4 0028C604 7F E3 FB 78 */ mr r3, r31 -/* 8028F6C8 0028C608 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F6CC 0028C60C 7C 08 03 A6 */ mtlr r0 -/* 8028F6D0 0028C610 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F6D4 0028C614 4E 80 00 20 */ blr - -.global onInit__Q34Game10FireChappy3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game10FireChappy3ObjFPQ24Game15CreatureInitArg: -/* 8028F6D8 0028C618 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F6DC 0028C61C 7C 08 02 A6 */ mflr r0 -/* 8028F6E0 0028C620 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F6E4 0028C624 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F6E8 0028C628 7C 7F 1B 78 */ mr r31, r3 -/* 8028F6EC 0028C62C 4B E9 B4 09 */ bl onInit__Q34Game10ChappyBase3ObjFPQ24Game15CreatureInitArg -/* 8028F6F0 0028C630 7F E3 FB 78 */ mr r3, r31 -/* 8028F6F4 0028C634 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028F6F8 0028C638 81 8C 03 20 */ lwz r12, 0x320(r12) -/* 8028F6FC 0028C63C 7D 89 03 A6 */ mtctr r12 -/* 8028F700 0028C640 4E 80 04 21 */ bctrl -/* 8028F704 0028C644 38 00 00 00 */ li r0, 0 -/* 8028F708 0028C648 7F E3 FB 78 */ mr r3, r31 -/* 8028F70C 0028C64C 98 1F 02 E4 */ stb r0, 0x2e4(r31) -/* 8028F710 0028C650 48 00 03 A9 */ bl startFireState__Q34Game10FireChappy3ObjFv -/* 8028F714 0028C654 7F E3 FB 78 */ mr r3, r31 -/* 8028F718 0028C658 48 00 05 D5 */ bl startMaterialAnimation__Q34Game10FireChappy3ObjFv -/* 8028F71C 0028C65C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F720 0028C660 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F724 0028C664 7C 08 03 A6 */ mtlr r0 -/* 8028F728 0028C668 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F72C 0028C66C 4E 80 00 20 */ blr - -.global onKill__Q34Game10FireChappy3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game10FireChappy3ObjFPQ24Game15CreatureKillArg: -/* 8028F730 0028C670 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F734 0028C674 7C 08 02 A6 */ mflr r0 -/* 8028F738 0028C678 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F73C 0028C67C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F740 0028C680 7C 9F 23 78 */ mr r31, r4 -/* 8028F744 0028C684 38 80 00 00 */ li r4, 0 -/* 8028F748 0028C688 93 C1 00 08 */ stw r30, 8(r1) -/* 8028F74C 0028C68C 7C 7E 1B 78 */ mr r30, r3 -/* 8028F750 0028C690 48 00 03 B1 */ bl finishFireState__Q34Game10FireChappy3ObjFb -/* 8028F754 0028C694 7F C3 F3 78 */ mr r3, r30 -/* 8028F758 0028C698 7F E4 FB 78 */ mr r4, r31 -/* 8028F75C 0028C69C 4B E7 27 8D */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 8028F760 0028C6A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F764 0028C6A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F768 0028C6A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028F76C 0028C6AC 7C 08 03 A6 */ mtlr r0 -/* 8028F770 0028C6B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F774 0028C6B4 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game10FireChappy3ObjFR8Graphics -doDirectDraw__Q34Game10FireChappy3ObjFR8Graphics: -/* 8028F778 0028C6B8 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game10FireChappy3ObjFR8Graphics -doDebugDraw__Q34Game10FireChappy3ObjFR8Graphics: -/* 8028F77C 0028C6BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F780 0028C6C0 7C 08 02 A6 */ mflr r0 -/* 8028F784 0028C6C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F788 0028C6C8 4B E7 66 E5 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 8028F78C 0028C6CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F790 0028C6D0 7C 08 03 A6 */ mtlr r0 -/* 8028F794 0028C6D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F798 0028C6D8 4E 80 00 20 */ blr - -.global changeMaterial__Q34Game10FireChappy3ObjFv -changeMaterial__Q34Game10FireChappy3ObjFv: -/* 8028F79C 0028C6DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028F7A0 0028C6E0 7C 08 02 A6 */ mflr r0 -/* 8028F7A4 0028C6E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028F7A8 0028C6E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028F7AC 0028C6EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028F7B0 0028C6F0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8028F7B4 0028C6F4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8028F7B8 0028C6F8 7C 7C 1B 78 */ mr r28, r3 -/* 8028F7BC 0028C6FC 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8028F7C0 0028C700 83 A3 00 08 */ lwz r29, 8(r3) -/* 8028F7C4 0028C704 81 9D 00 00 */ lwz r12, 0(r29) -/* 8028F7C8 0028C708 7F A3 EB 78 */ mr r3, r29 -/* 8028F7CC 0028C70C 83 DD 00 04 */ lwz r30, 4(r29) -/* 8028F7D0 0028C710 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8028F7D4 0028C714 7D 89 03 A6 */ mtctr r12 -/* 8028F7D8 0028C718 4E 80 04 21 */ bctrl -/* 8028F7DC 0028C71C 7F 83 E3 78 */ mr r3, r28 -/* 8028F7E0 0028C720 48 00 05 6D */ bl updateMaterialAnimation__Q34Game10FireChappy3ObjFv -/* 8028F7E4 0028C724 3C 60 80 51 */ lis r3, j3dSys@ha -/* 8028F7E8 0028C728 3B 80 00 00 */ li r28, 0 -/* 8028F7EC 0028C72C 3B E3 F2 30 */ addi r31, r3, j3dSys@l -/* 8028F7F0 0028C730 48 00 00 3C */ b lbl_8028F82C -lbl_8028F7F4: -/* 8028F7F4 0028C734 80 9D 00 C0 */ lwz r4, 0xc0(r29) -/* 8028F7F8 0028C738 57 83 32 B2 */ rlwinm r3, r28, 6, 0xa, 0x19 -/* 8028F7FC 0028C73C 57 80 13 BA */ rlwinm r0, r28, 2, 0xe, 0x1d -/* 8028F800 0028C740 7C 84 1A 14 */ add r4, r4, r3 -/* 8028F804 0028C744 90 9F 00 3C */ stw r4, 0x3c(r31) -/* 8028F808 0028C748 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 8028F80C 0028C74C 80 84 00 2C */ lwz r4, 0x2c(r4) -/* 8028F810 0028C750 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8028F814 0028C754 80 84 00 34 */ lwz r4, 0x34(r4) -/* 8028F818 0028C758 81 83 00 00 */ lwz r12, 0(r3) -/* 8028F81C 0028C75C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8028F820 0028C760 7D 89 03 A6 */ mtctr r12 -/* 8028F824 0028C764 4E 80 04 21 */ bctrl -/* 8028F828 0028C768 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8028F82C: -/* 8028F82C 0028C76C A0 1E 00 5C */ lhz r0, 0x5c(r30) -/* 8028F830 0028C770 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 8028F834 0028C774 7C 03 00 40 */ cmplw r3, r0 -/* 8028F838 0028C778 41 80 FF BC */ blt lbl_8028F7F4 -/* 8028F83C 0028C77C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028F840 0028C780 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028F844 0028C784 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028F848 0028C788 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8028F84C 0028C78C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8028F850 0028C790 7C 08 03 A6 */ mtlr r0 -/* 8028F854 0028C794 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028F858 0028C798 4E 80 00 20 */ blr - -.global doUpdateCommon__Q34Game10FireChappy3ObjFv -doUpdateCommon__Q34Game10FireChappy3ObjFv: -/* 8028F85C 0028C79C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F860 0028C7A0 7C 08 02 A6 */ mflr r0 -/* 8028F864 0028C7A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F868 0028C7A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F86C 0028C7AC 7C 7F 1B 78 */ mr r31, r3 -/* 8028F870 0028C7B0 4B E7 36 A5 */ bl doUpdateCommon__Q24Game9EnemyBaseFv -/* 8028F874 0028C7B4 7F E3 FB 78 */ mr r3, r31 -/* 8028F878 0028C7B8 48 00 03 1D */ bl updateFireState__Q34Game10FireChappy3ObjFv -/* 8028F87C 0028C7BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F880 0028C7C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F884 0028C7C4 7C 08 03 A6 */ mtlr r0 -/* 8028F888 0028C7C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F88C 0028C7CC 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game10FireChappy3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game10FireChappy3ObjFRQ24Game11ShadowParam: -/* 8028F890 0028C7D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028F894 0028C7D4 7C 08 02 A6 */ mflr r0 -/* 8028F898 0028C7D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028F89C 0028C7DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028F8A0 0028C7E0 7C 9F 23 78 */ mr r31, r4 -/* 8028F8A4 0028C7E4 93 C1 00 08 */ stw r30, 8(r1) -/* 8028F8A8 0028C7E8 7C 7E 1B 78 */ mr r30, r3 -/* 8028F8AC 0028C7EC 80 63 02 C8 */ lwz r3, 0x2c8(r3) -/* 8028F8B0 0028C7F0 48 19 9F F1 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8028F8B4 0028C7F4 C0 83 00 2C */ lfs f4, 0x2c(r3) -/* 8028F8B8 0028C7F8 C0 43 00 1C */ lfs f2, 0x1c(r3) -/* 8028F8BC 0028C7FC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8028F8C0 0028C800 C0 62 D6 68 */ lfs f3, lbl_8051B9C8@sda21(r2) -/* 8028F8C4 0028C804 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8028F8C8 0028C808 C0 22 D6 6C */ lfs f1, lbl_8051B9CC@sda21(r2) -/* 8028F8CC 0028C80C D0 5F 00 04 */ stfs f2, 4(r31) -/* 8028F8D0 0028C810 C0 02 D6 70 */ lfs f0, lbl_8051B9D0@sda21(r2) -/* 8028F8D4 0028C814 D0 9F 00 08 */ stfs f4, 8(r31) -/* 8028F8D8 0028C818 C0 5E 01 90 */ lfs f2, 0x190(r30) -/* 8028F8DC 0028C81C EC 43 10 2A */ fadds f2, f3, f2 -/* 8028F8E0 0028C820 D0 5F 00 04 */ stfs f2, 4(r31) -/* 8028F8E4 0028C824 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 8028F8E8 0028C828 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8028F8EC 0028C82C D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 8028F8F0 0028C830 80 1E 01 E4 */ lwz r0, 0x1e4(r30) -/* 8028F8F4 0028C834 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8028F8F8 0028C838 41 82 00 10 */ beq lbl_8028F908 -/* 8028F8FC 0028C83C C0 02 D6 74 */ lfs f0, lbl_8051B9D4@sda21(r2) -/* 8028F900 0028C840 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8028F904 0028C844 48 00 00 0C */ b lbl_8028F910 -lbl_8028F908: -/* 8028F908 0028C848 C0 02 D6 78 */ lfs f0, lbl_8051B9D8@sda21(r2) -/* 8028F90C 0028C84C D0 1F 00 18 */ stfs f0, 0x18(r31) -lbl_8028F910: -/* 8028F910 0028C850 C0 02 D6 7C */ lfs f0, lbl_8051B9DC@sda21(r2) -/* 8028F914 0028C854 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8028F918 0028C858 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028F91C 0028C85C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028F920 0028C860 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028F924 0028C864 7C 08 03 A6 */ mtlr r0 -/* 8028F928 0028C868 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028F92C 0028C86C 4E 80 00 20 */ blr - -.global collisionCallback__Q34Game10FireChappy3ObjFRQ24Game9CollEvent -collisionCallback__Q34Game10FireChappy3ObjFRQ24Game9CollEvent: -/* 8028F930 0028C870 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028F934 0028C874 7C 08 02 A6 */ mflr r0 -/* 8028F938 0028C878 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028F93C 0028C87C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8028F940 0028C880 7C 9F 23 78 */ mr r31, r4 -/* 8028F944 0028C884 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8028F948 0028C888 7C 7E 1B 78 */ mr r30, r3 -/* 8028F94C 0028C88C 4B E9 B3 89 */ bl collisionCallback__Q34Game10ChappyBase3ObjFRQ24Game9CollEvent -/* 8028F950 0028C890 88 1E 02 E4 */ lbz r0, 0x2e4(r30) -/* 8028F954 0028C894 28 00 00 00 */ cmplwi r0, 0 -/* 8028F958 0028C898 41 82 00 A0 */ beq lbl_8028F9F8 -/* 8028F95C 0028C89C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028F960 0028C8A0 28 03 00 00 */ cmplwi r3, 0 -/* 8028F964 0028C8A4 41 82 00 94 */ beq lbl_8028F9F8 -/* 8028F968 0028C8A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8028F96C 0028C8AC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8028F970 0028C8B0 7D 89 03 A6 */ mtctr r12 -/* 8028F974 0028C8B4 4E 80 04 21 */ bctrl -/* 8028F978 0028C8B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028F97C 0028C8BC 41 82 00 7C */ beq lbl_8028F9F8 -/* 8028F980 0028C8C0 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028F984 0028C8C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028F988 0028C8C8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8028F98C 0028C8CC 7D 89 03 A6 */ mtctr r12 -/* 8028F990 0028C8D0 4E 80 04 21 */ bctrl -/* 8028F994 0028C8D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028F998 0028C8D8 40 82 00 20 */ bne lbl_8028F9B8 -/* 8028F99C 0028C8DC 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028F9A0 0028C8E0 81 83 00 00 */ lwz r12, 0(r3) -/* 8028F9A4 0028C8E4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8028F9A8 0028C8E8 7D 89 03 A6 */ mtctr r12 -/* 8028F9AC 0028C8EC 4E 80 04 21 */ bctrl -/* 8028F9B0 0028C8F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028F9B4 0028C8F4 41 82 00 44 */ beq lbl_8028F9F8 -lbl_8028F9B8: -/* 8028F9B8 0028C8F8 80 DE 00 C0 */ lwz r6, 0xc0(r30) -/* 8028F9BC 0028C8FC 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 8028F9C0 0028C900 3C 60 80 4B */ lis r3, __vt__Q24Game12InteractFire@ha -/* 8028F9C4 0028C904 38 81 00 08 */ addi r4, r1, 8 -/* 8028F9C8 0028C908 C0 06 06 04 */ lfs f0, 0x604(r6) -/* 8028F9CC 0028C90C 38 A5 A3 00 */ addi r5, r5, __vt__Q24Game11Interaction@l -/* 8028F9D0 0028C910 38 03 48 78 */ addi r0, r3, __vt__Q24Game12InteractFire@l -/* 8028F9D4 0028C914 90 A1 00 08 */ stw r5, 8(r1) -/* 8028F9D8 0028C918 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8028F9DC 0028C91C 90 01 00 08 */ stw r0, 8(r1) -/* 8028F9E0 0028C920 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8028F9E4 0028C924 80 7F 00 00 */ lwz r3, 0(r31) -/* 8028F9E8 0028C928 81 83 00 00 */ lwz r12, 0(r3) -/* 8028F9EC 0028C92C 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 8028F9F0 0028C930 7D 89 03 A6 */ mtctr r12 -/* 8028F9F4 0028C934 4E 80 04 21 */ bctrl -lbl_8028F9F8: -/* 8028F9F8 0028C938 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028F9FC 0028C93C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8028FA00 0028C940 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8028FA04 0028C944 7C 08 03 A6 */ mtlr r0 -/* 8028FA08 0028C948 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028FA0C 0028C94C 4E 80 00 20 */ blr - -.global doStartWaitingBirthTypeDrop__Q34Game10FireChappy3ObjFv -doStartWaitingBirthTypeDrop__Q34Game10FireChappy3ObjFv: -/* 8028FA10 0028C950 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FA14 0028C954 7C 08 02 A6 */ mflr r0 -/* 8028FA18 0028C958 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FA1C 0028C95C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FA20 0028C960 7C 7F 1B 78 */ mr r31, r3 -/* 8028FA24 0028C964 4B E7 7F 75 */ bl doStartWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8028FA28 0028C968 7F E3 FB 78 */ mr r3, r31 -/* 8028FA2C 0028C96C 48 00 09 5D */ bl effectDrawOff__Q34Game10FireChappy3ObjFv -/* 8028FA30 0028C970 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FA34 0028C974 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028FA38 0028C978 7C 08 03 A6 */ mtlr r0 -/* 8028FA3C 0028C97C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FA40 0028C980 4E 80 00 20 */ blr - -.global doFinishWaitingBirthTypeDrop__Q34Game10FireChappy3ObjFv -doFinishWaitingBirthTypeDrop__Q34Game10FireChappy3ObjFv: -/* 8028FA44 0028C984 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FA48 0028C988 7C 08 02 A6 */ mflr r0 -/* 8028FA4C 0028C98C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FA50 0028C990 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FA54 0028C994 7C 7F 1B 78 */ mr r31, r3 -/* 8028FA58 0028C998 4B E7 7F 71 */ bl doFinishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv -/* 8028FA5C 0028C99C 7F E3 FB 78 */ mr r3, r31 -/* 8028FA60 0028C9A0 48 00 08 9D */ bl effectDrawOn__Q34Game10FireChappy3ObjFv -/* 8028FA64 0028C9A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FA68 0028C9A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028FA6C 0028C9AC 7C 08 03 A6 */ mtlr r0 -/* 8028FA70 0028C9B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FA74 0028C9B4 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game10FireChappy3ObjFv -doStartMovie__Q34Game10FireChappy3ObjFv: -/* 8028FA78 0028C9B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FA7C 0028C9BC 7C 08 02 A6 */ mflr r0 -/* 8028FA80 0028C9C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FA84 0028C9C4 48 00 09 05 */ bl effectDrawOff__Q34Game10FireChappy3ObjFv -/* 8028FA88 0028C9C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FA8C 0028C9CC 7C 08 03 A6 */ mtlr r0 -/* 8028FA90 0028C9D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FA94 0028C9D4 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game10FireChappy3ObjFv -doEndMovie__Q34Game10FireChappy3ObjFv: -/* 8028FA98 0028C9D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FA9C 0028C9DC 7C 08 02 A6 */ mflr r0 -/* 8028FAA0 0028C9E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FAA4 0028C9E4 48 00 08 59 */ bl effectDrawOn__Q34Game10FireChappy3ObjFv -/* 8028FAA8 0028C9E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FAAC 0028C9EC 7C 08 03 A6 */ mtlr r0 -/* 8028FAB0 0028C9F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FAB4 0028C9F4 4E 80 00 20 */ blr - -.global startFireState__Q34Game10FireChappy3ObjFv -startFireState__Q34Game10FireChappy3ObjFv: -/* 8028FAB8 0028C9F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FABC 0028C9FC 7C 08 02 A6 */ mflr r0 -/* 8028FAC0 0028CA00 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FAC4 0028CA04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FAC8 0028CA08 7C 7F 1B 78 */ mr r31, r3 -/* 8028FACC 0028CA0C 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 8028FAD0 0028CA10 28 00 00 00 */ cmplwi r0, 0 -/* 8028FAD4 0028CA14 40 82 00 10 */ bne lbl_8028FAE4 -/* 8028FAD8 0028CA18 38 00 00 01 */ li r0, 1 -/* 8028FADC 0028CA1C 98 1F 02 E4 */ stb r0, 0x2e4(r31) -/* 8028FAE0 0028CA20 48 00 07 11 */ bl startBodyEffect__Q34Game10FireChappy3ObjFv -lbl_8028FAE4: -/* 8028FAE4 0028CA24 C0 02 D6 80 */ lfs f0, lbl_8051B9E0@sda21(r2) -/* 8028FAE8 0028CA28 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -/* 8028FAEC 0028CA2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FAF0 0028CA30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028FAF4 0028CA34 7C 08 03 A6 */ mtlr r0 -/* 8028FAF8 0028CA38 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FAFC 0028CA3C 4E 80 00 20 */ blr - -.global finishFireState__Q34Game10FireChappy3ObjFb -finishFireState__Q34Game10FireChappy3ObjFb: -/* 8028FB00 0028CA40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FB04 0028CA44 7C 08 02 A6 */ mflr r0 -/* 8028FB08 0028CA48 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FB0C 0028CA4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FB10 0028CA50 7C 9F 23 78 */ mr r31, r4 -/* 8028FB14 0028CA54 93 C1 00 08 */ stw r30, 8(r1) -/* 8028FB18 0028CA58 7C 7E 1B 78 */ mr r30, r3 -/* 8028FB1C 0028CA5C 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 8028FB20 0028CA60 28 00 00 00 */ cmplwi r0, 0 -/* 8028FB24 0028CA64 41 82 00 58 */ beq lbl_8028FB7C -/* 8028FB28 0028CA68 38 00 00 00 */ li r0, 0 -/* 8028FB2C 0028CA6C 98 1E 02 E4 */ stb r0, 0x2e4(r30) -/* 8028FB30 0028CA70 48 00 06 F5 */ bl finishBodyEffect__Q34Game10FireChappy3ObjFv -/* 8028FB34 0028CA74 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8028FB38 0028CA78 41 82 00 10 */ beq lbl_8028FB48 -/* 8028FB3C 0028CA7C 7F C3 F3 78 */ mr r3, r30 -/* 8028FB40 0028CA80 48 00 07 89 */ bl createDeadSteamEffect__Q34Game10FireChappy3ObjFv -/* 8028FB44 0028CA84 48 00 00 0C */ b lbl_8028FB50 -lbl_8028FB48: -/* 8028FB48 0028CA88 7F C3 F3 78 */ mr r3, r30 -/* 8028FB4C 0028CA8C 48 00 07 49 */ bl createDeadSmokeEffect__Q34Game10FireChappy3ObjFv -lbl_8028FB50: -/* 8028FB50 0028CA90 7F C3 F3 78 */ mr r3, r30 -/* 8028FB54 0028CA94 81 9E 00 00 */ lwz r12, 0(r30) -/* 8028FB58 0028CA98 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8028FB5C 0028CA9C 7D 89 03 A6 */ mtctr r12 -/* 8028FB60 0028CAA0 4E 80 04 21 */ bctrl -/* 8028FB64 0028CAA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FB68 0028CAA8 38 80 58 B5 */ li r4, 0x58b5 -/* 8028FB6C 0028CAAC 38 A0 00 00 */ li r5, 0 -/* 8028FB70 0028CAB0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8028FB74 0028CAB4 7D 89 03 A6 */ mtctr r12 -/* 8028FB78 0028CAB8 4E 80 04 21 */ bctrl -lbl_8028FB7C: -/* 8028FB7C 0028CABC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FB80 0028CAC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028FB84 0028CAC4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8028FB88 0028CAC8 7C 08 03 A6 */ mtlr r0 -/* 8028FB8C 0028CACC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FB90 0028CAD0 4E 80 00 20 */ blr - -.global updateFireState__Q34Game10FireChappy3ObjFv -updateFireState__Q34Game10FireChappy3ObjFv: -/* 8028FB94 0028CAD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FB98 0028CAD8 7C 08 02 A6 */ mflr r0 -/* 8028FB9C 0028CADC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FBA0 0028CAE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FBA4 0028CAE4 7C 7F 1B 78 */ mr r31, r3 -/* 8028FBA8 0028CAE8 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 8028FBAC 0028CAEC 28 00 00 00 */ cmplwi r0, 0 -/* 8028FBB0 0028CAF0 41 82 00 94 */ beq lbl_8028FC44 -/* 8028FBB4 0028CAF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FBB8 0028CAF8 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8028FBBC 0028CAFC 7D 89 03 A6 */ mtctr r12 -/* 8028FBC0 0028CB00 4E 80 04 21 */ bctrl -/* 8028FBC4 0028CB04 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FBC8 0028CB08 38 80 50 B4 */ li r4, 0x50b4 -/* 8028FBCC 0028CB0C 38 A0 00 00 */ li r5, 0 -/* 8028FBD0 0028CB10 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8028FBD4 0028CB14 7D 89 03 A6 */ mtctr r12 -/* 8028FBD8 0028CB18 4E 80 04 21 */ bctrl -/* 8028FBDC 0028CB1C 7F E3 FB 78 */ mr r3, r31 -/* 8028FBE0 0028CB20 48 00 02 75 */ bl updateEfxLod__Q34Game10FireChappy3ObjFv -/* 8028FBE4 0028CB24 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 8028FBE8 0028CB28 28 00 00 00 */ cmplwi r0, 0 -/* 8028FBEC 0028CB2C 41 82 00 A0 */ beq lbl_8028FC8C -/* 8028FBF0 0028CB30 88 1F 02 E4 */ lbz r0, 0x2e4(r31) -/* 8028FBF4 0028CB34 28 00 00 00 */ cmplwi r0, 0 -/* 8028FBF8 0028CB38 41 82 00 94 */ beq lbl_8028FC8C -/* 8028FBFC 0028CB3C 38 00 00 00 */ li r0, 0 -/* 8028FC00 0028CB40 7F E3 FB 78 */ mr r3, r31 -/* 8028FC04 0028CB44 98 1F 02 E4 */ stb r0, 0x2e4(r31) -/* 8028FC08 0028CB48 48 00 06 1D */ bl finishBodyEffect__Q34Game10FireChappy3ObjFv -/* 8028FC0C 0028CB4C 7F E3 FB 78 */ mr r3, r31 -/* 8028FC10 0028CB50 48 00 06 B9 */ bl createDeadSteamEffect__Q34Game10FireChappy3ObjFv -/* 8028FC14 0028CB54 7F E3 FB 78 */ mr r3, r31 -/* 8028FC18 0028CB58 81 9F 00 00 */ lwz r12, 0(r31) -/* 8028FC1C 0028CB5C 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 8028FC20 0028CB60 7D 89 03 A6 */ mtctr r12 -/* 8028FC24 0028CB64 4E 80 04 21 */ bctrl -/* 8028FC28 0028CB68 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FC2C 0028CB6C 38 80 58 B5 */ li r4, 0x58b5 -/* 8028FC30 0028CB70 38 A0 00 00 */ li r5, 0 -/* 8028FC34 0028CB74 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8028FC38 0028CB78 7D 89 03 A6 */ mtctr r12 -/* 8028FC3C 0028CB7C 4E 80 04 21 */ bctrl -/* 8028FC40 0028CB80 48 00 00 4C */ b lbl_8028FC8C -lbl_8028FC44: -/* 8028FC44 0028CB84 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FC48 0028CB88 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8028FC4C 0028CB8C 7D 89 03 A6 */ mtctr r12 -/* 8028FC50 0028CB90 4E 80 04 21 */ bctrl -/* 8028FC54 0028CB94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8028FC58 0028CB98 41 82 00 34 */ beq lbl_8028FC8C -/* 8028FC5C 0028CB9C 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 8028FC60 0028CBA0 28 00 00 00 */ cmplwi r0, 0 -/* 8028FC64 0028CBA4 40 82 00 28 */ bne lbl_8028FC8C -/* 8028FC68 0028CBA8 88 1F 02 E4 */ lbz r0, 0x2e4(r31) -/* 8028FC6C 0028CBAC 28 00 00 00 */ cmplwi r0, 0 -/* 8028FC70 0028CBB0 40 82 00 14 */ bne lbl_8028FC84 -/* 8028FC74 0028CBB4 38 00 00 01 */ li r0, 1 -/* 8028FC78 0028CBB8 7F E3 FB 78 */ mr r3, r31 -/* 8028FC7C 0028CBBC 98 1F 02 E4 */ stb r0, 0x2e4(r31) -/* 8028FC80 0028CBC0 48 00 05 71 */ bl startBodyEffect__Q34Game10FireChappy3ObjFv -lbl_8028FC84: -/* 8028FC84 0028CBC4 C0 02 D6 80 */ lfs f0, lbl_8051B9E0@sda21(r2) -/* 8028FC88 0028CBC8 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -lbl_8028FC8C: -/* 8028FC8C 0028CBCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FC90 0028CBD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028FC94 0028CBD4 7C 08 03 A6 */ mtlr r0 -/* 8028FC98 0028CBD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FC9C 0028CBDC 4E 80 00 20 */ blr - -.global createMaterialAnimation__Q34Game10FireChappy3ObjFv -createMaterialAnimation__Q34Game10FireChappy3ObjFv: -/* 8028FCA0 0028CBE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FCA4 0028CBE4 7C 08 02 A6 */ mflr r0 -/* 8028FCA8 0028CBE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FCAC 0028CBEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FCB0 0028CBF0 7C 7F 1B 78 */ mr r31, r3 -/* 8028FCB4 0028CBF4 38 60 00 28 */ li r3, 0x28 -/* 8028FCB8 0028CBF8 4B D9 42 F5 */ bl __nwa__FUl -/* 8028FCBC 0028CBFC 3C 80 80 16 */ lis r4, __ct__Q23Sys15MatLoopAnimatorFv@ha -/* 8028FCC0 0028CC00 38 A0 00 00 */ li r5, 0 -/* 8028FCC4 0028CC04 38 84 38 EC */ addi r4, r4, __ct__Q23Sys15MatLoopAnimatorFv@l -/* 8028FCC8 0028CC08 38 C0 00 0C */ li r6, 0xc -/* 8028FCCC 0028CC0C 38 E0 00 02 */ li r7, 2 -/* 8028FCD0 0028CC10 4B E3 1D 21 */ bl __construct_new_array -/* 8028FCD4 0028CC14 90 7F 02 FC */ stw r3, 0x2fc(r31) -/* 8028FCD8 0028CC18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FCDC 0028CC1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028FCE0 0028CC20 7C 08 03 A6 */ mtlr r0 -/* 8028FCE4 0028CC24 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FCE8 0028CC28 4E 80 00 20 */ blr - -.global startMaterialAnimation__Q34Game10FireChappy3ObjFv -startMaterialAnimation__Q34Game10FireChappy3ObjFv: -/* 8028FCEC 0028CC2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FCF0 0028CC30 7C 08 02 A6 */ mflr r0 -/* 8028FCF4 0028CC34 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FCF8 0028CC38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FCFC 0028CC3C 7C 7F 1B 78 */ mr r31, r3 -/* 8028FD00 0028CC40 80 63 02 FC */ lwz r3, 0x2fc(r3) -/* 8028FD04 0028CC44 80 9F 01 80 */ lwz r4, 0x180(r31) -/* 8028FD08 0028CC48 81 83 00 00 */ lwz r12, 0(r3) -/* 8028FD0C 0028CC4C 80 84 00 48 */ lwz r4, 0x48(r4) -/* 8028FD10 0028CC50 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028FD14 0028CC54 7D 89 03 A6 */ mtctr r12 -/* 8028FD18 0028CC58 4E 80 04 21 */ bctrl -/* 8028FD1C 0028CC5C 80 7F 02 FC */ lwz r3, 0x2fc(r31) -/* 8028FD20 0028CC60 85 83 00 0C */ lwzu r12, 0xc(r3) -/* 8028FD24 0028CC64 80 9F 01 80 */ lwz r4, 0x180(r31) -/* 8028FD28 0028CC68 81 8C 00 08 */ lwz r12, 8(r12) -/* 8028FD2C 0028CC6C 80 84 00 4C */ lwz r4, 0x4c(r4) -/* 8028FD30 0028CC70 7D 89 03 A6 */ mtctr r12 -/* 8028FD34 0028CC74 4E 80 04 21 */ bctrl -/* 8028FD38 0028CC78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FD3C 0028CC7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028FD40 0028CC80 7C 08 03 A6 */ mtlr r0 -/* 8028FD44 0028CC84 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FD48 0028CC88 4E 80 00 20 */ blr - -.global updateMaterialAnimation__Q34Game10FireChappy3ObjFv -updateMaterialAnimation__Q34Game10FireChappy3ObjFv: -/* 8028FD4C 0028CC8C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8028FD50 0028CC90 7C 08 02 A6 */ mflr r0 -/* 8028FD54 0028CC94 90 01 00 24 */ stw r0, 0x24(r1) -/* 8028FD58 0028CC98 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8028FD5C 0028CC9C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8028FD60 0028CCA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FD64 0028CCA4 7C 7F 1B 78 */ mr r31, r3 -/* 8028FD68 0028CCA8 C3 E2 D6 80 */ lfs f31, lbl_8051B9E0@sda21(r2) -/* 8028FD6C 0028CCAC 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 8028FD70 0028CCB0 28 00 00 00 */ cmplwi r0, 0 -/* 8028FD74 0028CCB4 40 82 00 A8 */ bne lbl_8028FE1C -/* 8028FD78 0028CCB8 80 9F 02 FC */ lwz r4, 0x2fc(r31) -/* 8028FD7C 0028CCBC 80 64 00 04 */ lwz r3, 4(r4) -/* 8028FD80 0028CCC0 C3 E4 00 08 */ lfs f31, 8(r4) -/* 8028FD84 0028CCC4 28 03 00 00 */ cmplwi r3, 0 -/* 8028FD88 0028CCC8 41 82 00 0C */ beq lbl_8028FD94 -/* 8028FD8C 0028CCCC 48 1A 43 19 */ bl getFrameMax__Q23Sys16MatBaseAnimationFv -/* 8028FD90 0028CCD0 48 00 00 08 */ b lbl_8028FD98 -lbl_8028FD94: -/* 8028FD94 0028CCD4 C0 22 D6 6C */ lfs f1, lbl_8051B9CC@sda21(r2) -lbl_8028FD98: -/* 8028FD98 0028CCD8 C0 02 D6 80 */ lfs f0, lbl_8051B9E0@sda21(r2) -/* 8028FD9C 0028CCDC C0 5F 02 F8 */ lfs f2, 0x2f8(r31) -/* 8028FDA0 0028CCE0 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8028FDA4 0028CCE4 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 8028FDA8 0028CCE8 40 82 00 34 */ bne lbl_8028FDDC -/* 8028FDAC 0028CCEC C0 02 D6 70 */ lfs f0, lbl_8051B9D0@sda21(r2) -/* 8028FDB0 0028CCF0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8028FDB4 0028CCF4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8028FDB8 0028CCF8 4C 41 13 82 */ cror 2, 1, 2 -/* 8028FDBC 0028CCFC 40 82 00 40 */ bne lbl_8028FDFC -/* 8028FDC0 0028CD00 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 8028FDC4 0028CD04 4C 40 13 82 */ cror 2, 0, 2 -/* 8028FDC8 0028CD08 40 82 00 34 */ bne lbl_8028FDFC -/* 8028FDCC 0028CD0C C0 02 D6 84 */ lfs f0, lbl_8051B9E4@sda21(r2) -/* 8028FDD0 0028CD10 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8028FDD4 0028CD14 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -/* 8028FDD8 0028CD18 48 00 00 24 */ b lbl_8028FDFC -lbl_8028FDDC: -/* 8028FDDC 0028CD1C C0 22 D6 84 */ lfs f1, lbl_8051B9E4@sda21(r2) -/* 8028FDE0 0028CD20 C0 02 D6 6C */ lfs f0, lbl_8051B9CC@sda21(r2) -/* 8028FDE4 0028CD24 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8028FDE8 0028CD28 D0 3F 02 F8 */ stfs f1, 0x2f8(r31) -/* 8028FDEC 0028CD2C C0 3F 02 F8 */ lfs f1, 0x2f8(r31) -/* 8028FDF0 0028CD30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028FDF4 0028CD34 40 80 00 08 */ bge lbl_8028FDFC -/* 8028FDF8 0028CD38 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -lbl_8028FDFC: -/* 8028FDFC 0028CD3C C0 3F 02 F8 */ lfs f1, 0x2f8(r31) -/* 8028FE00 0028CD40 C0 02 D6 6C */ lfs f0, lbl_8051B9CC@sda21(r2) -/* 8028FE04 0028CD44 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8028FE08 0028CD48 4C 40 13 82 */ cror 2, 0, 2 -/* 8028FE0C 0028CD4C 40 82 00 0C */ bne lbl_8028FE18 -/* 8028FE10 0028CD50 FF E0 00 90 */ fmr f31, f0 -/* 8028FE14 0028CD54 48 00 00 08 */ b lbl_8028FE1C -lbl_8028FE18: -/* 8028FE18 0028CD58 FF E0 08 90 */ fmr f31, f1 -lbl_8028FE1C: -/* 8028FE1C 0028CD5C FC 20 F8 90 */ fmr f1, f31 -/* 8028FE20 0028CD60 80 7F 02 FC */ lwz r3, 0x2fc(r31) -/* 8028FE24 0028CD64 48 1A 47 29 */ bl animate__Q23Sys15MatBaseAnimatorFf -/* 8028FE28 0028CD68 80 7F 02 FC */ lwz r3, 0x2fc(r31) -/* 8028FE2C 0028CD6C FC 20 F8 90 */ fmr f1, f31 -/* 8028FE30 0028CD70 38 63 00 0C */ addi r3, r3, 0xc -/* 8028FE34 0028CD74 48 1A 47 19 */ bl animate__Q23Sys15MatBaseAnimatorFf -/* 8028FE38 0028CD78 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8028FE3C 0028CD7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8028FE40 0028CD80 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8028FE44 0028CD84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8028FE48 0028CD88 7C 08 03 A6 */ mtlr r0 -/* 8028FE4C 0028CD8C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8028FE50 0028CD90 4E 80 00 20 */ blr - -.global updateEfxLod__Q34Game10FireChappy3ObjFv -updateEfxLod__Q34Game10FireChappy3ObjFv: -/* 8028FE54 0028CD94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FE58 0028CD98 7C 08 02 A6 */ mflr r0 -/* 8028FE5C 0028CD9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FE60 0028CDA0 88 03 00 D8 */ lbz r0, 0xd8(r3) -/* 8028FE64 0028CDA4 80 63 02 E8 */ lwz r3, 0x2e8(r3) -/* 8028FE68 0028CDA8 54 04 07 BE */ clrlwi r4, r0, 0x1e -/* 8028FE6C 0028CDAC 48 12 3D CD */ bl setRateLOD__Q23efx9TYakiBodyFi -/* 8028FE70 0028CDB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8028FE74 0028CDB4 7C 08 03 A6 */ mtlr r0 -/* 8028FE78 0028CDB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8028FE7C 0028CDBC 4E 80 00 20 */ blr - -.global createEffect__Q34Game10FireChappy3ObjFv -createEffect__Q34Game10FireChappy3ObjFv: -/* 8028FE80 0028CDC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8028FE84 0028CDC4 7C 08 02 A6 */ mflr r0 -/* 8028FE88 0028CDC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8028FE8C 0028CDCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8028FE90 0028CDD0 7C 7F 1B 78 */ mr r31, r3 -/* 8028FE94 0028CDD4 38 60 00 54 */ li r3, 0x54 -/* 8028FE98 0028CDD8 93 C1 00 08 */ stw r30, 8(r1) -/* 8028FE9C 0028CDDC 4B D9 40 09 */ bl __nw__FUl -/* 8028FEA0 0028CDE0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8028FEA4 0028CDE4 41 82 00 28 */ beq lbl_8028FECC -/* 8028FEA8 0028CDE8 38 80 00 00 */ li r4, 0 -/* 8028FEAC 0028CDEC 38 A0 01 E6 */ li r5, 0x1e6 -/* 8028FEB0 0028CDF0 38 C0 01 E7 */ li r6, 0x1e7 -/* 8028FEB4 0028CDF4 38 E0 01 E8 */ li r7, 0x1e8 -/* 8028FEB8 0028CDF8 39 00 01 E9 */ li r8, 0x1e9 -/* 8028FEBC 0028CDFC 48 12 07 A1 */ bl __ct__Q23efx10TChaseMtx4FPA4_fUsUsUsUs -/* 8028FEC0 0028CE00 3C 60 80 4D */ lis r3, __vt__Q23efx9TYakiBody@ha -/* 8028FEC4 0028CE04 38 03 AF 28 */ addi r0, r3, __vt__Q23efx9TYakiBody@l -/* 8028FEC8 0028CE08 90 1E 00 00 */ stw r0, 0(r30) -lbl_8028FECC: -/* 8028FECC 0028CE0C 93 DF 02 E8 */ stw r30, 0x2e8(r31) -/* 8028FED0 0028CE10 38 60 00 14 */ li r3, 0x14 -/* 8028FED4 0028CE14 4B D9 3F D1 */ bl __nw__FUl -/* 8028FED8 0028CE18 28 03 00 00 */ cmplwi r3, 0 -/* 8028FEDC 0028CE1C 41 82 00 78 */ beq lbl_8028FF54 -/* 8028FEE0 0028CE20 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028FEE4 0028CE24 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028FEE8 0028CE28 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028FEEC 0028CE2C 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028FEF0 0028CE30 90 03 00 00 */ stw r0, 0(r3) -/* 8028FEF4 0028CE34 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028FEF8 0028CE38 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028FEFC 0028CE3C 3C 80 80 4E */ lis r4, __vt__Q23efx9TChaseMtx@ha -/* 8028FF00 0028CE40 90 03 00 04 */ stw r0, 4(r3) -/* 8028FF04 0028CE44 38 E4 68 A8 */ addi r7, r4, __vt__Q23efx9TChaseMtx@l -/* 8028FF08 0028CE48 3C 80 80 4D */ lis r4, __vt__Q23efx9THanachoY@ha -/* 8028FF0C 0028CE4C 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028FF10 0028CE50 90 A3 00 00 */ stw r5, 0(r3) -/* 8028FF14 0028CE54 38 84 AE DC */ addi r4, r4, __vt__Q23efx9THanachoY@l -/* 8028FF18 0028CE58 39 20 00 00 */ li r9, 0 -/* 8028FF1C 0028CE5C 39 00 02 B2 */ li r8, 0x2b2 -/* 8028FF20 0028CE60 90 03 00 04 */ stw r0, 4(r3) -/* 8028FF24 0028CE64 38 C7 00 14 */ addi r6, r7, 0x14 -/* 8028FF28 0028CE68 38 A0 00 8C */ li r5, 0x8c -/* 8028FF2C 0028CE6C 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028FF30 0028CE70 91 23 00 08 */ stw r9, 8(r3) -/* 8028FF34 0028CE74 B1 03 00 0C */ sth r8, 0xc(r3) -/* 8028FF38 0028CE78 99 23 00 0E */ stb r9, 0xe(r3) -/* 8028FF3C 0028CE7C 90 E3 00 00 */ stw r7, 0(r3) -/* 8028FF40 0028CE80 90 C3 00 04 */ stw r6, 4(r3) -/* 8028FF44 0028CE84 91 23 00 10 */ stw r9, 0x10(r3) -/* 8028FF48 0028CE88 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028FF4C 0028CE8C 90 83 00 00 */ stw r4, 0(r3) -/* 8028FF50 0028CE90 90 03 00 04 */ stw r0, 4(r3) -lbl_8028FF54: -/* 8028FF54 0028CE94 90 7F 02 D8 */ stw r3, 0x2d8(r31) -/* 8028FF58 0028CE98 38 60 00 14 */ li r3, 0x14 -/* 8028FF5C 0028CE9C 4B D9 3F 49 */ bl __nw__FUl -/* 8028FF60 0028CEA0 28 03 00 00 */ cmplwi r3, 0 -/* 8028FF64 0028CEA4 41 82 00 78 */ beq lbl_8028FFDC -/* 8028FF68 0028CEA8 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028FF6C 0028CEAC 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028FF70 0028CEB0 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028FF74 0028CEB4 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8028FF78 0028CEB8 90 03 00 00 */ stw r0, 0(r3) -/* 8028FF7C 0028CEBC 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 8028FF80 0028CEC0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8028FF84 0028CEC4 3C 80 80 4E */ lis r4, __vt__Q23efx9TChaseMtx@ha -/* 8028FF88 0028CEC8 90 03 00 04 */ stw r0, 4(r3) -/* 8028FF8C 0028CECC 38 E4 68 A8 */ addi r7, r4, __vt__Q23efx9TChaseMtx@l -/* 8028FF90 0028CED0 3C 80 80 4D */ lis r4, __vt__Q23efx10TYakiFlick@ha -/* 8028FF94 0028CED4 38 05 00 14 */ addi r0, r5, 0x14 -/* 8028FF98 0028CED8 90 A3 00 00 */ stw r5, 0(r3) -/* 8028FF9C 0028CEDC 38 84 AE 90 */ addi r4, r4, __vt__Q23efx10TYakiFlick@l -/* 8028FFA0 0028CEE0 39 20 00 00 */ li r9, 0 -/* 8028FFA4 0028CEE4 39 00 02 B2 */ li r8, 0x2b2 -/* 8028FFA8 0028CEE8 90 03 00 04 */ stw r0, 4(r3) -/* 8028FFAC 0028CEEC 38 C7 00 14 */ addi r6, r7, 0x14 -/* 8028FFB0 0028CEF0 38 A0 02 42 */ li r5, 0x242 -/* 8028FFB4 0028CEF4 38 04 00 14 */ addi r0, r4, 0x14 -/* 8028FFB8 0028CEF8 91 23 00 08 */ stw r9, 8(r3) -/* 8028FFBC 0028CEFC B1 03 00 0C */ sth r8, 0xc(r3) -/* 8028FFC0 0028CF00 99 23 00 0E */ stb r9, 0xe(r3) -/* 8028FFC4 0028CF04 90 E3 00 00 */ stw r7, 0(r3) -/* 8028FFC8 0028CF08 90 C3 00 04 */ stw r6, 4(r3) -/* 8028FFCC 0028CF0C 91 23 00 10 */ stw r9, 0x10(r3) -/* 8028FFD0 0028CF10 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8028FFD4 0028CF14 90 83 00 00 */ stw r4, 0(r3) -/* 8028FFD8 0028CF18 90 03 00 04 */ stw r0, 4(r3) -lbl_8028FFDC: -/* 8028FFDC 0028CF1C 90 7F 02 EC */ stw r3, 0x2ec(r31) -/* 8028FFE0 0028CF20 38 60 00 14 */ li r3, 0x14 -/* 8028FFE4 0028CF24 4B D9 3E C1 */ bl __nw__FUl -/* 8028FFE8 0028CF28 28 03 00 00 */ cmplwi r3, 0 -/* 8028FFEC 0028CF2C 41 82 00 78 */ beq lbl_80290064 -/* 8028FFF0 0028CF30 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8028FFF4 0028CF34 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 8028FFF8 0028CF38 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 8028FFFC 0028CF3C 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80290000 0028CF40 90 03 00 00 */ stw r0, 0(r3) -/* 80290004 0028CF44 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80290008 0028CF48 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8029000C 0028CF4C 3C 80 80 4E */ lis r4, __vt__Q23efx10TChaseMtxT@ha -/* 80290010 0028CF50 90 03 00 04 */ stw r0, 4(r3) -/* 80290014 0028CF54 38 E4 68 5C */ addi r7, r4, __vt__Q23efx10TChaseMtxT@l -/* 80290018 0028CF58 3C 80 80 4D */ lis r4, __vt__Q23efx14TYakiDeadsmoke@ha -/* 8029001C 0028CF5C 38 05 00 14 */ addi r0, r5, 0x14 -/* 80290020 0028CF60 90 A3 00 00 */ stw r5, 0(r3) -/* 80290024 0028CF64 38 84 AE 44 */ addi r4, r4, __vt__Q23efx14TYakiDeadsmoke@l -/* 80290028 0028CF68 39 20 00 00 */ li r9, 0 -/* 8029002C 0028CF6C 39 00 02 B2 */ li r8, 0x2b2 -/* 80290030 0028CF70 90 03 00 04 */ stw r0, 4(r3) -/* 80290034 0028CF74 38 C7 00 14 */ addi r6, r7, 0x14 -/* 80290038 0028CF78 38 A0 02 41 */ li r5, 0x241 -/* 8029003C 0028CF7C 38 04 00 14 */ addi r0, r4, 0x14 -/* 80290040 0028CF80 91 23 00 08 */ stw r9, 8(r3) -/* 80290044 0028CF84 B1 03 00 0C */ sth r8, 0xc(r3) -/* 80290048 0028CF88 99 23 00 0E */ stb r9, 0xe(r3) -/* 8029004C 0028CF8C 90 E3 00 00 */ stw r7, 0(r3) -/* 80290050 0028CF90 90 C3 00 04 */ stw r6, 4(r3) -/* 80290054 0028CF94 91 23 00 10 */ stw r9, 0x10(r3) -/* 80290058 0028CF98 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 8029005C 0028CF9C 90 83 00 00 */ stw r4, 0(r3) -/* 80290060 0028CFA0 90 03 00 04 */ stw r0, 4(r3) -lbl_80290064: -/* 80290064 0028CFA4 90 7F 02 F0 */ stw r3, 0x2f0(r31) -/* 80290068 0028CFA8 38 60 00 14 */ li r3, 0x14 -/* 8029006C 0028CFAC 4B D9 3E 39 */ bl __nw__FUl -/* 80290070 0028CFB0 28 03 00 00 */ cmplwi r3, 0 -/* 80290074 0028CFB4 41 82 00 78 */ beq lbl_802900EC -/* 80290078 0028CFB8 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8029007C 0028CFBC 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80290080 0028CFC0 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80290084 0028CFC4 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80290088 0028CFC8 90 03 00 00 */ stw r0, 0(r3) -/* 8029008C 0028CFCC 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80290090 0028CFD0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80290094 0028CFD4 3C 80 80 4E */ lis r4, __vt__Q23efx9TChaseMtx@ha -/* 80290098 0028CFD8 90 03 00 04 */ stw r0, 4(r3) -/* 8029009C 0028CFDC 38 E4 68 A8 */ addi r7, r4, __vt__Q23efx9TChaseMtx@l -/* 802900A0 0028CFE0 3C 80 80 4D */ lis r4, __vt__Q23efx10TYakiSteam@ha -/* 802900A4 0028CFE4 38 05 00 14 */ addi r0, r5, 0x14 -/* 802900A8 0028CFE8 90 A3 00 00 */ stw r5, 0(r3) -/* 802900AC 0028CFEC 38 84 AD F8 */ addi r4, r4, __vt__Q23efx10TYakiSteam@l -/* 802900B0 0028CFF0 39 20 00 00 */ li r9, 0 -/* 802900B4 0028CFF4 39 00 02 B2 */ li r8, 0x2b2 -/* 802900B8 0028CFF8 90 03 00 04 */ stw r0, 4(r3) -/* 802900BC 0028CFFC 38 C7 00 14 */ addi r6, r7, 0x14 -/* 802900C0 0028D000 38 A0 02 86 */ li r5, 0x286 -/* 802900C4 0028D004 38 04 00 14 */ addi r0, r4, 0x14 -/* 802900C8 0028D008 91 23 00 08 */ stw r9, 8(r3) -/* 802900CC 0028D00C B1 03 00 0C */ sth r8, 0xc(r3) -/* 802900D0 0028D010 99 23 00 0E */ stb r9, 0xe(r3) -/* 802900D4 0028D014 90 E3 00 00 */ stw r7, 0(r3) -/* 802900D8 0028D018 90 C3 00 04 */ stw r6, 4(r3) -/* 802900DC 0028D01C 91 23 00 10 */ stw r9, 0x10(r3) -/* 802900E0 0028D020 B0 A3 00 0C */ sth r5, 0xc(r3) -/* 802900E4 0028D024 90 83 00 00 */ stw r4, 0(r3) -/* 802900E8 0028D028 90 03 00 04 */ stw r0, 4(r3) -lbl_802900EC: -/* 802900EC 0028D02C 90 7F 02 F4 */ stw r3, 0x2f4(r31) -/* 802900F0 0028D030 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802900F4 0028D034 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802900F8 0028D038 83 C1 00 08 */ lwz r30, 8(r1) -/* 802900FC 0028D03C 7C 08 03 A6 */ mtlr r0 -/* 80290100 0028D040 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290104 0028D044 4E 80 00 20 */ blr - -.global setupEffect__Q34Game10FireChappy3ObjFv -setupEffect__Q34Game10FireChappy3ObjFv: -/* 80290108 0028D048 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029010C 0028D04C 7C 08 02 A6 */ mflr r0 -/* 80290110 0028D050 38 82 D6 88 */ addi r4, r2, lbl_8051B9E8@sda21 -/* 80290114 0028D054 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290118 0028D058 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029011C 0028D05C 93 C1 00 08 */ stw r30, 8(r1) -/* 80290120 0028D060 7C 7E 1B 78 */ mr r30, r3 -/* 80290124 0028D064 80 63 01 74 */ lwz r3, 0x174(r3) -/* 80290128 0028D068 48 1A EE BD */ bl getJoint__Q28SysShape5ModelFPc -/* 8029012C 0028D06C 48 19 97 75 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80290130 0028D070 7C 60 1B 78 */ mr r0, r3 -/* 80290134 0028D074 80 7E 02 E8 */ lwz r3, 0x2e8(r30) -/* 80290138 0028D078 7C 1F 03 78 */ mr r31, r0 -/* 8029013C 0028D07C 7F E4 FB 78 */ mr r4, r31 -/* 80290140 0028D080 48 12 05 C9 */ bl setMtxptr__Q23efx10TChaseMtx4FPA4_f -/* 80290144 0028D084 80 7E 02 EC */ lwz r3, 0x2ec(r30) -/* 80290148 0028D088 38 82 D6 90 */ addi r4, r2, lbl_8051B9F0@sda21 -/* 8029014C 0028D08C 93 E3 00 10 */ stw r31, 0x10(r3) -/* 80290150 0028D090 80 7E 02 F0 */ lwz r3, 0x2f0(r30) -/* 80290154 0028D094 93 E3 00 10 */ stw r31, 0x10(r3) -/* 80290158 0028D098 80 7E 02 F4 */ lwz r3, 0x2f4(r30) -/* 8029015C 0028D09C 93 E3 00 10 */ stw r31, 0x10(r3) -/* 80290160 0028D0A0 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 80290164 0028D0A4 48 1A EE 81 */ bl getJoint__Q28SysShape5ModelFPc -/* 80290168 0028D0A8 48 19 97 39 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8029016C 0028D0AC 80 9E 02 D8 */ lwz r4, 0x2d8(r30) -/* 80290170 0028D0B0 90 64 00 10 */ stw r3, 0x10(r4) -/* 80290174 0028D0B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290178 0028D0B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029017C 0028D0BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80290180 0028D0C0 7C 08 03 A6 */ mtlr r0 -/* 80290184 0028D0C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290188 0028D0C8 4E 80 00 20 */ blr - -.global startSleepEffect__Q34Game10FireChappy3ObjFv -startSleepEffect__Q34Game10FireChappy3ObjFv: -/* 8029018C 0028D0CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290190 0028D0D0 7C 08 02 A6 */ mflr r0 -/* 80290194 0028D0D4 38 80 00 00 */ li r4, 0 -/* 80290198 0028D0D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029019C 0028D0DC 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 802901A0 0028D0E0 81 83 00 00 */ lwz r12, 0(r3) -/* 802901A4 0028D0E4 81 8C 00 08 */ lwz r12, 8(r12) -/* 802901A8 0028D0E8 7D 89 03 A6 */ mtctr r12 -/* 802901AC 0028D0EC 4E 80 04 21 */ bctrl -/* 802901B0 0028D0F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802901B4 0028D0F4 7C 08 03 A6 */ mtlr r0 -/* 802901B8 0028D0F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802901BC 0028D0FC 4E 80 00 20 */ blr - -.global finishSleepEffect__Q34Game10FireChappy3ObjFv -finishSleepEffect__Q34Game10FireChappy3ObjFv: -/* 802901C0 0028D100 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802901C4 0028D104 7C 08 02 A6 */ mflr r0 -/* 802901C8 0028D108 90 01 00 14 */ stw r0, 0x14(r1) -/* 802901CC 0028D10C 80 63 02 D8 */ lwz r3, 0x2d8(r3) -/* 802901D0 0028D110 81 83 00 00 */ lwz r12, 0(r3) -/* 802901D4 0028D114 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802901D8 0028D118 7D 89 03 A6 */ mtctr r12 -/* 802901DC 0028D11C 4E 80 04 21 */ bctrl -/* 802901E0 0028D120 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802901E4 0028D124 7C 08 03 A6 */ mtlr r0 -/* 802901E8 0028D128 38 21 00 10 */ addi r1, r1, 0x10 -/* 802901EC 0028D12C 4E 80 00 20 */ blr - -.global startBodyEffect__Q34Game10FireChappy3ObjFv -startBodyEffect__Q34Game10FireChappy3ObjFv: -/* 802901F0 0028D130 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802901F4 0028D134 7C 08 02 A6 */ mflr r0 -/* 802901F8 0028D138 38 80 00 00 */ li r4, 0 -/* 802901FC 0028D13C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290200 0028D140 80 63 02 E8 */ lwz r3, 0x2e8(r3) -/* 80290204 0028D144 81 83 00 00 */ lwz r12, 0(r3) -/* 80290208 0028D148 81 8C 00 08 */ lwz r12, 8(r12) -/* 8029020C 0028D14C 7D 89 03 A6 */ mtctr r12 -/* 80290210 0028D150 4E 80 04 21 */ bctrl -/* 80290214 0028D154 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290218 0028D158 7C 08 03 A6 */ mtlr r0 -/* 8029021C 0028D15C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290220 0028D160 4E 80 00 20 */ blr - -.global finishBodyEffect__Q34Game10FireChappy3ObjFv -finishBodyEffect__Q34Game10FireChappy3ObjFv: -/* 80290224 0028D164 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290228 0028D168 7C 08 02 A6 */ mflr r0 -/* 8029022C 0028D16C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290230 0028D170 80 63 02 E8 */ lwz r3, 0x2e8(r3) -/* 80290234 0028D174 81 83 00 00 */ lwz r12, 0(r3) -/* 80290238 0028D178 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8029023C 0028D17C 7D 89 03 A6 */ mtctr r12 -/* 80290240 0028D180 4E 80 04 21 */ bctrl -/* 80290244 0028D184 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290248 0028D188 7C 08 03 A6 */ mtlr r0 -/* 8029024C 0028D18C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290250 0028D190 4E 80 00 20 */ blr - -.global createFlickEffect__Q34Game10FireChappy3ObjFv -createFlickEffect__Q34Game10FireChappy3ObjFv: -/* 80290254 0028D194 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290258 0028D198 7C 08 02 A6 */ mflr r0 -/* 8029025C 0028D19C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290260 0028D1A0 88 03 02 E4 */ lbz r0, 0x2e4(r3) -/* 80290264 0028D1A4 28 00 00 00 */ cmplwi r0, 0 -/* 80290268 0028D1A8 41 82 00 1C */ beq lbl_80290284 -/* 8029026C 0028D1AC 80 63 02 EC */ lwz r3, 0x2ec(r3) -/* 80290270 0028D1B0 38 80 00 00 */ li r4, 0 -/* 80290274 0028D1B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80290278 0028D1B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8029027C 0028D1BC 7D 89 03 A6 */ mtctr r12 -/* 80290280 0028D1C0 4E 80 04 21 */ bctrl -lbl_80290284: -/* 80290284 0028D1C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290288 0028D1C8 7C 08 03 A6 */ mtlr r0 -/* 8029028C 0028D1CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290290 0028D1D0 4E 80 00 20 */ blr - -.global createDeadSmokeEffect__Q34Game10FireChappy3ObjFv -createDeadSmokeEffect__Q34Game10FireChappy3ObjFv: -/* 80290294 0028D1D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290298 0028D1D8 7C 08 02 A6 */ mflr r0 -/* 8029029C 0028D1DC 38 80 00 00 */ li r4, 0 -/* 802902A0 0028D1E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802902A4 0028D1E4 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 802902A8 0028D1E8 81 83 00 00 */ lwz r12, 0(r3) -/* 802902AC 0028D1EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802902B0 0028D1F0 7D 89 03 A6 */ mtctr r12 -/* 802902B4 0028D1F4 4E 80 04 21 */ bctrl -/* 802902B8 0028D1F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802902BC 0028D1FC 7C 08 03 A6 */ mtlr r0 -/* 802902C0 0028D200 38 21 00 10 */ addi r1, r1, 0x10 -/* 802902C4 0028D204 4E 80 00 20 */ blr - -.global createDeadSteamEffect__Q34Game10FireChappy3ObjFv -createDeadSteamEffect__Q34Game10FireChappy3ObjFv: -/* 802902C8 0028D208 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802902CC 0028D20C 7C 08 02 A6 */ mflr r0 -/* 802902D0 0028D210 38 80 00 00 */ li r4, 0 -/* 802902D4 0028D214 90 01 00 14 */ stw r0, 0x14(r1) -/* 802902D8 0028D218 80 63 02 F4 */ lwz r3, 0x2f4(r3) -/* 802902DC 0028D21C 81 83 00 00 */ lwz r12, 0(r3) -/* 802902E0 0028D220 81 8C 00 08 */ lwz r12, 8(r12) -/* 802902E4 0028D224 7D 89 03 A6 */ mtctr r12 -/* 802902E8 0028D228 4E 80 04 21 */ bctrl -/* 802902EC 0028D22C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802902F0 0028D230 7C 08 03 A6 */ mtlr r0 -/* 802902F4 0028D234 38 21 00 10 */ addi r1, r1, 0x10 -/* 802902F8 0028D238 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game10FireChappy3ObjFv -effectDrawOn__Q34Game10FireChappy3ObjFv: -/* 802902FC 0028D23C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290300 0028D240 7C 08 02 A6 */ mflr r0 -/* 80290304 0028D244 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290308 0028D248 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029030C 0028D24C 7C 7F 1B 78 */ mr r31, r3 -/* 80290310 0028D250 80 63 02 E8 */ lwz r3, 0x2e8(r3) -/* 80290314 0028D254 81 83 00 00 */ lwz r12, 0(r3) -/* 80290318 0028D258 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8029031C 0028D25C 7D 89 03 A6 */ mtctr r12 -/* 80290320 0028D260 4E 80 04 21 */ bctrl -/* 80290324 0028D264 80 7F 02 EC */ lwz r3, 0x2ec(r31) -/* 80290328 0028D268 81 83 00 00 */ lwz r12, 0(r3) -/* 8029032C 0028D26C 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80290330 0028D270 7D 89 03 A6 */ mtctr r12 -/* 80290334 0028D274 4E 80 04 21 */ bctrl -/* 80290338 0028D278 80 7F 02 F0 */ lwz r3, 0x2f0(r31) -/* 8029033C 0028D27C 81 83 00 00 */ lwz r12, 0(r3) -/* 80290340 0028D280 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80290344 0028D284 7D 89 03 A6 */ mtctr r12 -/* 80290348 0028D288 4E 80 04 21 */ bctrl -/* 8029034C 0028D28C 80 7F 02 F4 */ lwz r3, 0x2f4(r31) -/* 80290350 0028D290 81 83 00 00 */ lwz r12, 0(r3) -/* 80290354 0028D294 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80290358 0028D298 7D 89 03 A6 */ mtctr r12 -/* 8029035C 0028D29C 4E 80 04 21 */ bctrl -/* 80290360 0028D2A0 80 7F 02 D8 */ lwz r3, 0x2d8(r31) -/* 80290364 0028D2A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80290368 0028D2A8 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8029036C 0028D2AC 7D 89 03 A6 */ mtctr r12 -/* 80290370 0028D2B0 4E 80 04 21 */ bctrl -/* 80290374 0028D2B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290378 0028D2B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029037C 0028D2BC 7C 08 03 A6 */ mtlr r0 -/* 80290380 0028D2C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290384 0028D2C4 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game10FireChappy3ObjFv -effectDrawOff__Q34Game10FireChappy3ObjFv: -/* 80290388 0028D2C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029038C 0028D2CC 7C 08 02 A6 */ mflr r0 -/* 80290390 0028D2D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290394 0028D2D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80290398 0028D2D8 7C 7F 1B 78 */ mr r31, r3 -/* 8029039C 0028D2DC 80 63 02 E8 */ lwz r3, 0x2e8(r3) -/* 802903A0 0028D2E0 81 83 00 00 */ lwz r12, 0(r3) -/* 802903A4 0028D2E4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802903A8 0028D2E8 7D 89 03 A6 */ mtctr r12 -/* 802903AC 0028D2EC 4E 80 04 21 */ bctrl -/* 802903B0 0028D2F0 80 7F 02 EC */ lwz r3, 0x2ec(r31) -/* 802903B4 0028D2F4 81 83 00 00 */ lwz r12, 0(r3) -/* 802903B8 0028D2F8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802903BC 0028D2FC 7D 89 03 A6 */ mtctr r12 -/* 802903C0 0028D300 4E 80 04 21 */ bctrl -/* 802903C4 0028D304 80 7F 02 F0 */ lwz r3, 0x2f0(r31) -/* 802903C8 0028D308 81 83 00 00 */ lwz r12, 0(r3) -/* 802903CC 0028D30C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802903D0 0028D310 7D 89 03 A6 */ mtctr r12 -/* 802903D4 0028D314 4E 80 04 21 */ bctrl -/* 802903D8 0028D318 80 7F 02 F4 */ lwz r3, 0x2f4(r31) -/* 802903DC 0028D31C 81 83 00 00 */ lwz r12, 0(r3) -/* 802903E0 0028D320 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802903E4 0028D324 7D 89 03 A6 */ mtctr r12 -/* 802903E8 0028D328 4E 80 04 21 */ bctrl -/* 802903EC 0028D32C 80 7F 02 D8 */ lwz r3, 0x2d8(r31) -/* 802903F0 0028D330 81 83 00 00 */ lwz r12, 0(r3) -/* 802903F4 0028D334 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 802903F8 0028D338 7D 89 03 A6 */ mtctr r12 -/* 802903FC 0028D33C 4E 80 04 21 */ bctrl -/* 80290400 0028D340 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290404 0028D344 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80290408 0028D348 7C 08 03 A6 */ mtlr r0 -/* 8029040C 0028D34C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290410 0028D350 4E 80 00 20 */ blr - -.global __dt__Q23efx10TYakiSteamFv -__dt__Q23efx10TYakiSteamFv: -/* 80290414 0028D354 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290418 0028D358 7C 08 02 A6 */ mflr r0 -/* 8029041C 0028D35C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290420 0028D360 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80290424 0028D364 7C 9F 23 78 */ mr r31, r4 -/* 80290428 0028D368 93 C1 00 08 */ stw r30, 8(r1) -/* 8029042C 0028D36C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80290430 0028D370 41 82 00 64 */ beq lbl_80290494 -/* 80290434 0028D374 3C 60 80 4D */ lis r3, __vt__Q23efx10TYakiSteam@ha -/* 80290438 0028D378 38 63 AD F8 */ addi r3, r3, __vt__Q23efx10TYakiSteam@l -/* 8029043C 0028D37C 90 7E 00 00 */ stw r3, 0(r30) -/* 80290440 0028D380 38 03 00 14 */ addi r0, r3, 0x14 -/* 80290444 0028D384 90 1E 00 04 */ stw r0, 4(r30) -/* 80290448 0028D388 41 82 00 3C */ beq lbl_80290484 -/* 8029044C 0028D38C 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 80290450 0028D390 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 80290454 0028D394 90 7E 00 00 */ stw r3, 0(r30) -/* 80290458 0028D398 38 03 00 14 */ addi r0, r3, 0x14 -/* 8029045C 0028D39C 90 1E 00 04 */ stw r0, 4(r30) -/* 80290460 0028D3A0 41 82 00 24 */ beq lbl_80290484 -/* 80290464 0028D3A4 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80290468 0028D3A8 38 7E 00 04 */ addi r3, r30, 4 -/* 8029046C 0028D3AC 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80290470 0028D3B0 38 80 00 00 */ li r4, 0 -/* 80290474 0028D3B4 90 BE 00 00 */ stw r5, 0(r30) -/* 80290478 0028D3B8 38 05 00 14 */ addi r0, r5, 0x14 -/* 8029047C 0028D3BC 90 1E 00 04 */ stw r0, 4(r30) -/* 80290480 0028D3C0 4B DF F8 1D */ bl __dt__18JPAEmitterCallBackFv -lbl_80290484: -/* 80290484 0028D3C4 7F E0 07 35 */ extsh. r0, r31 -/* 80290488 0028D3C8 40 81 00 0C */ ble lbl_80290494 -/* 8029048C 0028D3CC 7F C3 F3 78 */ mr r3, r30 -/* 80290490 0028D3D0 4B D9 3C 25 */ bl __dl__FPv -lbl_80290494: -/* 80290494 0028D3D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290498 0028D3D8 7F C3 F3 78 */ mr r3, r30 -/* 8029049C 0028D3DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802904A0 0028D3E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 802904A4 0028D3E4 7C 08 03 A6 */ mtlr r0 -/* 802904A8 0028D3E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802904AC 0028D3EC 4E 80 00 20 */ blr - -.global __dt__Q23efx14TYakiDeadsmokeFv -__dt__Q23efx14TYakiDeadsmokeFv: -/* 802904B0 0028D3F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802904B4 0028D3F4 7C 08 02 A6 */ mflr r0 -/* 802904B8 0028D3F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802904BC 0028D3FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802904C0 0028D400 7C 9F 23 78 */ mr r31, r4 -/* 802904C4 0028D404 93 C1 00 08 */ stw r30, 8(r1) -/* 802904C8 0028D408 7C 7E 1B 79 */ or. r30, r3, r3 -/* 802904CC 0028D40C 41 82 00 64 */ beq lbl_80290530 -/* 802904D0 0028D410 3C 60 80 4D */ lis r3, __vt__Q23efx14TYakiDeadsmoke@ha -/* 802904D4 0028D414 38 63 AE 44 */ addi r3, r3, __vt__Q23efx14TYakiDeadsmoke@l -/* 802904D8 0028D418 90 7E 00 00 */ stw r3, 0(r30) -/* 802904DC 0028D41C 38 03 00 14 */ addi r0, r3, 0x14 -/* 802904E0 0028D420 90 1E 00 04 */ stw r0, 4(r30) -/* 802904E4 0028D424 41 82 00 3C */ beq lbl_80290520 -/* 802904E8 0028D428 3C 60 80 4E */ lis r3, __vt__Q23efx10TChaseMtxT@ha -/* 802904EC 0028D42C 38 63 68 5C */ addi r3, r3, __vt__Q23efx10TChaseMtxT@l -/* 802904F0 0028D430 90 7E 00 00 */ stw r3, 0(r30) -/* 802904F4 0028D434 38 03 00 14 */ addi r0, r3, 0x14 -/* 802904F8 0028D438 90 1E 00 04 */ stw r0, 4(r30) -/* 802904FC 0028D43C 41 82 00 24 */ beq lbl_80290520 -/* 80290500 0028D440 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80290504 0028D444 38 7E 00 04 */ addi r3, r30, 4 -/* 80290508 0028D448 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 8029050C 0028D44C 38 80 00 00 */ li r4, 0 -/* 80290510 0028D450 90 BE 00 00 */ stw r5, 0(r30) -/* 80290514 0028D454 38 05 00 14 */ addi r0, r5, 0x14 -/* 80290518 0028D458 90 1E 00 04 */ stw r0, 4(r30) -/* 8029051C 0028D45C 4B DF F7 81 */ bl __dt__18JPAEmitterCallBackFv -lbl_80290520: -/* 80290520 0028D460 7F E0 07 35 */ extsh. r0, r31 -/* 80290524 0028D464 40 81 00 0C */ ble lbl_80290530 -/* 80290528 0028D468 7F C3 F3 78 */ mr r3, r30 -/* 8029052C 0028D46C 4B D9 3B 89 */ bl __dl__FPv -lbl_80290530: -/* 80290530 0028D470 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290534 0028D474 7F C3 F3 78 */ mr r3, r30 -/* 80290538 0028D478 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029053C 0028D47C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80290540 0028D480 7C 08 03 A6 */ mtlr r0 -/* 80290544 0028D484 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290548 0028D488 4E 80 00 20 */ blr - -.global __dt__Q23efx10TYakiFlickFv -__dt__Q23efx10TYakiFlickFv: -/* 8029054C 0028D48C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290550 0028D490 7C 08 02 A6 */ mflr r0 -/* 80290554 0028D494 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290558 0028D498 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029055C 0028D49C 7C 9F 23 78 */ mr r31, r4 -/* 80290560 0028D4A0 93 C1 00 08 */ stw r30, 8(r1) -/* 80290564 0028D4A4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80290568 0028D4A8 41 82 00 64 */ beq lbl_802905CC -/* 8029056C 0028D4AC 3C 60 80 4D */ lis r3, __vt__Q23efx10TYakiFlick@ha -/* 80290570 0028D4B0 38 63 AE 90 */ addi r3, r3, __vt__Q23efx10TYakiFlick@l -/* 80290574 0028D4B4 90 7E 00 00 */ stw r3, 0(r30) -/* 80290578 0028D4B8 38 03 00 14 */ addi r0, r3, 0x14 -/* 8029057C 0028D4BC 90 1E 00 04 */ stw r0, 4(r30) -/* 80290580 0028D4C0 41 82 00 3C */ beq lbl_802905BC -/* 80290584 0028D4C4 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 80290588 0028D4C8 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 8029058C 0028D4CC 90 7E 00 00 */ stw r3, 0(r30) -/* 80290590 0028D4D0 38 03 00 14 */ addi r0, r3, 0x14 -/* 80290594 0028D4D4 90 1E 00 04 */ stw r0, 4(r30) -/* 80290598 0028D4D8 41 82 00 24 */ beq lbl_802905BC -/* 8029059C 0028D4DC 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 802905A0 0028D4E0 38 7E 00 04 */ addi r3, r30, 4 -/* 802905A4 0028D4E4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 802905A8 0028D4E8 38 80 00 00 */ li r4, 0 -/* 802905AC 0028D4EC 90 BE 00 00 */ stw r5, 0(r30) -/* 802905B0 0028D4F0 38 05 00 14 */ addi r0, r5, 0x14 -/* 802905B4 0028D4F4 90 1E 00 04 */ stw r0, 4(r30) -/* 802905B8 0028D4F8 4B DF F6 E5 */ bl __dt__18JPAEmitterCallBackFv -lbl_802905BC: -/* 802905BC 0028D4FC 7F E0 07 35 */ extsh. r0, r31 -/* 802905C0 0028D500 40 81 00 0C */ ble lbl_802905CC -/* 802905C4 0028D504 7F C3 F3 78 */ mr r3, r30 -/* 802905C8 0028D508 4B D9 3A ED */ bl __dl__FPv -lbl_802905CC: -/* 802905CC 0028D50C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802905D0 0028D510 7F C3 F3 78 */ mr r3, r30 -/* 802905D4 0028D514 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802905D8 0028D518 83 C1 00 08 */ lwz r30, 8(r1) -/* 802905DC 0028D51C 7C 08 03 A6 */ mtlr r0 -/* 802905E0 0028D520 38 21 00 10 */ addi r1, r1, 0x10 -/* 802905E4 0028D524 4E 80 00 20 */ blr - -.global __dt__Q23efx9THanachoYFv -__dt__Q23efx9THanachoYFv: -/* 802905E8 0028D528 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802905EC 0028D52C 7C 08 02 A6 */ mflr r0 -/* 802905F0 0028D530 90 01 00 14 */ stw r0, 0x14(r1) -/* 802905F4 0028D534 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802905F8 0028D538 7C 9F 23 78 */ mr r31, r4 -/* 802905FC 0028D53C 93 C1 00 08 */ stw r30, 8(r1) -/* 80290600 0028D540 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80290604 0028D544 41 82 00 64 */ beq lbl_80290668 -/* 80290608 0028D548 3C 60 80 4D */ lis r3, __vt__Q23efx9THanachoY@ha -/* 8029060C 0028D54C 38 63 AE DC */ addi r3, r3, __vt__Q23efx9THanachoY@l -/* 80290610 0028D550 90 7E 00 00 */ stw r3, 0(r30) -/* 80290614 0028D554 38 03 00 14 */ addi r0, r3, 0x14 -/* 80290618 0028D558 90 1E 00 04 */ stw r0, 4(r30) -/* 8029061C 0028D55C 41 82 00 3C */ beq lbl_80290658 -/* 80290620 0028D560 3C 60 80 4E */ lis r3, __vt__Q23efx9TChaseMtx@ha -/* 80290624 0028D564 38 63 68 A8 */ addi r3, r3, __vt__Q23efx9TChaseMtx@l -/* 80290628 0028D568 90 7E 00 00 */ stw r3, 0(r30) -/* 8029062C 0028D56C 38 03 00 14 */ addi r0, r3, 0x14 -/* 80290630 0028D570 90 1E 00 04 */ stw r0, 4(r30) -/* 80290634 0028D574 41 82 00 24 */ beq lbl_80290658 -/* 80290638 0028D578 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 8029063C 0028D57C 38 7E 00 04 */ addi r3, r30, 4 -/* 80290640 0028D580 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80290644 0028D584 38 80 00 00 */ li r4, 0 -/* 80290648 0028D588 90 BE 00 00 */ stw r5, 0(r30) -/* 8029064C 0028D58C 38 05 00 14 */ addi r0, r5, 0x14 -/* 80290650 0028D590 90 1E 00 04 */ stw r0, 4(r30) -/* 80290654 0028D594 4B DF F6 49 */ bl __dt__18JPAEmitterCallBackFv -lbl_80290658: -/* 80290658 0028D598 7F E0 07 35 */ extsh. r0, r31 -/* 8029065C 0028D59C 40 81 00 0C */ ble lbl_80290668 -/* 80290660 0028D5A0 7F C3 F3 78 */ mr r3, r30 -/* 80290664 0028D5A4 4B D9 3A 51 */ bl __dl__FPv -lbl_80290668: -/* 80290668 0028D5A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029066C 0028D5AC 7F C3 F3 78 */ mr r3, r30 -/* 80290670 0028D5B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80290674 0028D5B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80290678 0028D5B8 7C 08 03 A6 */ mtlr r0 -/* 8029067C 0028D5BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290680 0028D5C0 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game10FireChappy3ObjFv -getEnemyTypeID__Q34Game10FireChappy3ObjFv: -/* 80290684 0028D5C4 38 60 00 21 */ li r3, 0x21 -/* 80290688 0028D5C8 4E 80 00 20 */ blr - -.global $$2768$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2768$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 8029068C 0028D5CC 39 60 00 0C */ li r11, 0xc -/* 80290690 0028D5D0 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80290694 0028D5D4 7C 63 5A 14 */ add r3, r3, r11 -/* 80290698 0028D5D8 38 63 FD 00 */ addi r3, r3, -768 -/* 8029069C 0028D5DC 4B E7 62 80 */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2768$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2768$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 802906A0 0028D5E0 39 60 00 0C */ li r11, 0xc -/* 802906A4 0028D5E4 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802906A8 0028D5E8 7C 63 5A 14 */ add r3, r3, r11 -/* 802906AC 0028D5EC 38 63 FD 00 */ addi r3, r3, -768 -/* 802906B0 0028D5F0 4B E7 5F F8 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2768$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2768$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 802906B4 0028D5F4 39 60 00 0C */ li r11, 0xc -/* 802906B8 0028D5F8 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802906BC 0028D5FC 7C 63 5A 14 */ add r3, r3, r11 -/* 802906C0 0028D600 38 63 FD 00 */ addi r3, r3, -768 -/* 802906C4 0028D604 4B E7 60 04 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2768$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2768$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 802906C8 0028D608 39 60 00 0C */ li r11, 0xc -/* 802906CC 0028D60C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802906D0 0028D610 7C 63 5A 14 */ add r3, r3, r11 -/* 802906D4 0028D614 38 63 FD 00 */ addi r3, r3, -768 -/* 802906D8 0028D618 4B E7 63 A0 */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2768$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2768$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 802906DC 0028D61C 39 60 00 0C */ li r11, 0xc -/* 802906E0 0028D620 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802906E4 0028D624 7C 63 5A 14 */ add r3, r3, r11 -/* 802906E8 0028D628 38 63 FD 00 */ addi r3, r3, -768 -/* 802906EC 0028D62C 4B E7 63 60 */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2768$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2768$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 802906F0 0028D630 39 60 00 0C */ li r11, 0xc -/* 802906F4 0028D634 7D 63 58 2E */ lwzx r11, r3, r11 -/* 802906F8 0028D638 7C 63 5A 14 */ add r3, r3, r11 -/* 802906FC 0028D63C 38 63 FD 00 */ addi r3, r3, -768 -/* 80290700 0028D640 4B E7 5F A0 */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2__dt__Q23efx9THanachoYFv -$$24$$2__dt__Q23efx9THanachoYFv: -/* 80290704 0028D644 38 63 FF FC */ addi r3, r3, -4 -/* 80290708 0028D648 4B FF FE E0 */ b __dt__Q23efx9THanachoYFv - -.global $$24$$2__dt__Q23efx10TYakiFlickFv -$$24$$2__dt__Q23efx10TYakiFlickFv: -/* 8029070C 0028D64C 38 63 FF FC */ addi r3, r3, -4 -/* 80290710 0028D650 4B FF FE 3C */ b __dt__Q23efx10TYakiFlickFv - -.global $$24$$2__dt__Q23efx14TYakiDeadsmokeFv -$$24$$2__dt__Q23efx14TYakiDeadsmokeFv: -/* 80290714 0028D654 38 63 FF FC */ addi r3, r3, -4 -/* 80290718 0028D658 4B FF FD 98 */ b __dt__Q23efx14TYakiDeadsmokeFv - -.global $$24$$2__dt__Q23efx10TYakiSteamFv -$$24$$2__dt__Q23efx10TYakiSteamFv: -/* 8029071C 0028D65C 38 63 FF FC */ addi r3, r3, -4 -/* 80290720 0028D660 4B FF FC F4 */ b __dt__Q23efx10TYakiSteamFv - -.global init__Q34Game9SnakeCrow3FSMFPQ24Game9EnemyBase -init__Q34Game9SnakeCrow3FSMFPQ24Game9EnemyBase: -/* 80290724 0028D664 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80290728 0028D668 7C 08 02 A6 */ mflr r0 -/* 8029072C 0028D66C 38 80 00 09 */ li r4, 9 -/* 80290730 0028D670 90 01 00 14 */ stw r0, 0x14(r1) -/* 80290734 0028D674 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80290738 0028D678 7C 7F 1B 78 */ mr r31, r3 -/* 8029073C 0028D67C 4B EA 01 29 */ bl create__Q24Game17EnemyStateMachineFi -/* 80290740 0028D680 38 60 00 10 */ li r3, 0x10 -/* 80290744 0028D684 4B D9 37 61 */ bl __nw__FUl -/* 80290748 0028D688 7C 64 1B 79 */ or. r4, r3, r3 -/* 8029074C 0028D68C 41 82 00 3C */ beq lbl_80290788 -/* 80290750 0028D690 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 80290754 0028D694 3C A0 80 4D */ lis r5, __vt__Q34Game9SnakeCrow5State@ha -/* 80290758 0028D698 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 8029075C 0028D69C 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow9StateDead@ha -/* 80290760 0028D6A0 90 04 00 00 */ stw r0, 0(r4) -/* 80290764 0028D6A4 38 E0 00 00 */ li r7, 0 -/* 80290768 0028D6A8 38 C5 B4 0C */ addi r6, r5, __vt__Q34Game9SnakeCrow5State@l -/* 8029076C 0028D6AC 38 A2 D6 98 */ addi r5, r2, lbl_8051B9F8@sda21 -/* 80290770 0028D6B0 90 E4 00 04 */ stw r7, 4(r4) -/* 80290774 0028D6B4 38 03 B3 E8 */ addi r0, r3, __vt__Q34Game9SnakeCrow9StateDead@l -/* 80290778 0028D6B8 90 E4 00 08 */ stw r7, 8(r4) -/* 8029077C 0028D6BC 90 C4 00 00 */ stw r6, 0(r4) -/* 80290780 0028D6C0 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80290784 0028D6C4 90 04 00 00 */ stw r0, 0(r4) -lbl_80290788: -/* 80290788 0028D6C8 7F E3 FB 78 */ mr r3, r31 -/* 8029078C 0028D6CC 4B EA 01 7D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80290790 0028D6D0 38 60 00 10 */ li r3, 0x10 -/* 80290794 0028D6D4 4B D9 37 11 */ bl __nw__FUl -/* 80290798 0028D6D8 7C 64 1B 79 */ or. r4, r3, r3 -/* 8029079C 0028D6DC 41 82 00 40 */ beq lbl_802907DC -/* 802907A0 0028D6E0 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802907A4 0028D6E4 3C A0 80 4D */ lis r5, __vt__Q34Game9SnakeCrow5State@ha -/* 802907A8 0028D6E8 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802907AC 0028D6EC 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow9StateStay@ha -/* 802907B0 0028D6F0 90 04 00 00 */ stw r0, 0(r4) -/* 802907B4 0028D6F4 38 00 00 01 */ li r0, 1 -/* 802907B8 0028D6F8 38 E0 00 00 */ li r7, 0 -/* 802907BC 0028D6FC 38 C5 B4 0C */ addi r6, r5, __vt__Q34Game9SnakeCrow5State@l -/* 802907C0 0028D700 90 04 00 04 */ stw r0, 4(r4) -/* 802907C4 0028D704 38 A2 D6 A0 */ addi r5, r2, lbl_8051BA00@sda21 -/* 802907C8 0028D708 38 03 B3 C4 */ addi r0, r3, __vt__Q34Game9SnakeCrow9StateStay@l -/* 802907CC 0028D70C 90 E4 00 08 */ stw r7, 8(r4) -/* 802907D0 0028D710 90 C4 00 00 */ stw r6, 0(r4) -/* 802907D4 0028D714 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802907D8 0028D718 90 04 00 00 */ stw r0, 0(r4) -lbl_802907DC: -/* 802907DC 0028D71C 7F E3 FB 78 */ mr r3, r31 -/* 802907E0 0028D720 4B EA 01 29 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802907E4 0028D724 38 60 00 10 */ li r3, 0x10 -/* 802907E8 0028D728 4B D9 36 BD */ bl __nw__FUl -/* 802907EC 0028D72C 7C 64 1B 79 */ or. r4, r3, r3 -/* 802907F0 0028D730 41 82 00 40 */ beq lbl_80290830 -/* 802907F4 0028D734 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802907F8 0028D738 3C A0 80 4D */ lis r5, __vt__Q34Game9SnakeCrow5State@ha -/* 802907FC 0028D73C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80290800 0028D740 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow12StateAppear1@ha -/* 80290804 0028D744 90 04 00 00 */ stw r0, 0(r4) -/* 80290808 0028D748 38 00 00 02 */ li r0, 2 -/* 8029080C 0028D74C 38 E0 00 00 */ li r7, 0 -/* 80290810 0028D750 38 C5 B4 0C */ addi r6, r5, __vt__Q34Game9SnakeCrow5State@l -/* 80290814 0028D754 90 04 00 04 */ stw r0, 4(r4) -/* 80290818 0028D758 38 A2 D6 A8 */ addi r5, r2, lbl_8051BA08@sda21 -/* 8029081C 0028D75C 38 03 B3 A0 */ addi r0, r3, __vt__Q34Game9SnakeCrow12StateAppear1@l -/* 80290820 0028D760 90 E4 00 08 */ stw r7, 8(r4) -/* 80290824 0028D764 90 C4 00 00 */ stw r6, 0(r4) -/* 80290828 0028D768 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8029082C 0028D76C 90 04 00 00 */ stw r0, 0(r4) -lbl_80290830: -/* 80290830 0028D770 7F E3 FB 78 */ mr r3, r31 -/* 80290834 0028D774 4B EA 00 D5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80290838 0028D778 38 60 00 10 */ li r3, 0x10 -/* 8029083C 0028D77C 4B D9 36 69 */ bl __nw__FUl -/* 80290840 0028D780 7C 64 1B 79 */ or. r4, r3, r3 -/* 80290844 0028D784 41 82 00 40 */ beq lbl_80290884 -/* 80290848 0028D788 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8029084C 0028D78C 3C A0 80 4D */ lis r5, __vt__Q34Game9SnakeCrow5State@ha -/* 80290850 0028D790 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80290854 0028D794 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow12StateAppear2@ha -/* 80290858 0028D798 90 04 00 00 */ stw r0, 0(r4) -/* 8029085C 0028D79C 38 00 00 03 */ li r0, 3 -/* 80290860 0028D7A0 38 E0 00 00 */ li r7, 0 -/* 80290864 0028D7A4 38 C5 B4 0C */ addi r6, r5, __vt__Q34Game9SnakeCrow5State@l -/* 80290868 0028D7A8 90 04 00 04 */ stw r0, 4(r4) -/* 8029086C 0028D7AC 38 A2 D6 B0 */ addi r5, r2, lbl_8051BA10@sda21 -/* 80290870 0028D7B0 38 03 B3 7C */ addi r0, r3, __vt__Q34Game9SnakeCrow12StateAppear2@l -/* 80290874 0028D7B4 90 E4 00 08 */ stw r7, 8(r4) -/* 80290878 0028D7B8 90 C4 00 00 */ stw r6, 0(r4) -/* 8029087C 0028D7BC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80290880 0028D7C0 90 04 00 00 */ stw r0, 0(r4) -lbl_80290884: -/* 80290884 0028D7C4 7F E3 FB 78 */ mr r3, r31 -/* 80290888 0028D7C8 4B EA 00 81 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8029088C 0028D7CC 38 60 00 10 */ li r3, 0x10 -/* 80290890 0028D7D0 4B D9 36 15 */ bl __nw__FUl -/* 80290894 0028D7D4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80290898 0028D7D8 41 82 00 44 */ beq lbl_802908DC -/* 8029089C 0028D7DC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802908A0 0028D7E0 3C C0 80 4D */ lis r6, __vt__Q34Game9SnakeCrow5State@ha -/* 802908A4 0028D7E4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802908A8 0028D7E8 3C A0 80 49 */ lis r5, lbl_804883D8@ha -/* 802908AC 0028D7EC 90 04 00 00 */ stw r0, 0(r4) -/* 802908B0 0028D7F0 38 00 00 04 */ li r0, 4 -/* 802908B4 0028D7F4 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow14StateDisappear@ha -/* 802908B8 0028D7F8 38 E0 00 00 */ li r7, 0 -/* 802908BC 0028D7FC 90 04 00 04 */ stw r0, 4(r4) -/* 802908C0 0028D800 38 C6 B4 0C */ addi r6, r6, __vt__Q34Game9SnakeCrow5State@l -/* 802908C4 0028D804 38 A5 83 D8 */ addi r5, r5, lbl_804883D8@l -/* 802908C8 0028D808 38 03 B3 58 */ addi r0, r3, __vt__Q34Game9SnakeCrow14StateDisappear@l -/* 802908CC 0028D80C 90 E4 00 08 */ stw r7, 8(r4) -/* 802908D0 0028D810 90 C4 00 00 */ stw r6, 0(r4) -/* 802908D4 0028D814 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802908D8 0028D818 90 04 00 00 */ stw r0, 0(r4) -lbl_802908DC: -/* 802908DC 0028D81C 7F E3 FB 78 */ mr r3, r31 -/* 802908E0 0028D820 4B EA 00 29 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802908E4 0028D824 38 60 00 10 */ li r3, 0x10 -/* 802908E8 0028D828 4B D9 35 BD */ bl __nw__FUl -/* 802908EC 0028D82C 7C 64 1B 79 */ or. r4, r3, r3 -/* 802908F0 0028D830 41 82 00 40 */ beq lbl_80290930 -/* 802908F4 0028D834 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802908F8 0028D838 3C A0 80 4D */ lis r5, __vt__Q34Game9SnakeCrow5State@ha -/* 802908FC 0028D83C 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80290900 0028D840 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow9StateWait@ha -/* 80290904 0028D844 90 04 00 00 */ stw r0, 0(r4) -/* 80290908 0028D848 38 00 00 05 */ li r0, 5 -/* 8029090C 0028D84C 38 E0 00 00 */ li r7, 0 -/* 80290910 0028D850 38 C5 B4 0C */ addi r6, r5, __vt__Q34Game9SnakeCrow5State@l -/* 80290914 0028D854 90 04 00 04 */ stw r0, 4(r4) -/* 80290918 0028D858 38 A2 D6 B8 */ addi r5, r2, lbl_8051BA18@sda21 -/* 8029091C 0028D85C 38 03 B3 20 */ addi r0, r3, __vt__Q34Game9SnakeCrow9StateWait@l -/* 80290920 0028D860 90 E4 00 08 */ stw r7, 8(r4) -/* 80290924 0028D864 90 C4 00 00 */ stw r6, 0(r4) -/* 80290928 0028D868 90 A4 00 0C */ stw r5, 0xc(r4) -/* 8029092C 0028D86C 90 04 00 00 */ stw r0, 0(r4) -lbl_80290930: -/* 80290930 0028D870 7F E3 FB 78 */ mr r3, r31 -/* 80290934 0028D874 4B E9 FF D5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80290938 0028D878 38 60 00 10 */ li r3, 0x10 -/* 8029093C 0028D87C 4B D9 35 69 */ bl __nw__FUl -/* 80290940 0028D880 7C 64 1B 79 */ or. r4, r3, r3 -/* 80290944 0028D884 41 82 00 40 */ beq lbl_80290984 -/* 80290948 0028D888 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 8029094C 0028D88C 3C A0 80 4D */ lis r5, __vt__Q34Game9SnakeCrow5State@ha -/* 80290950 0028D890 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 80290954 0028D894 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow11StateAttack@ha -/* 80290958 0028D898 90 04 00 00 */ stw r0, 0(r4) -/* 8029095C 0028D89C 38 00 00 06 */ li r0, 6 -/* 80290960 0028D8A0 38 E0 00 00 */ li r7, 0 -/* 80290964 0028D8A4 38 C5 B4 0C */ addi r6, r5, __vt__Q34Game9SnakeCrow5State@l -/* 80290968 0028D8A8 90 04 00 04 */ stw r0, 4(r4) -/* 8029096C 0028D8AC 38 A2 D6 C0 */ addi r5, r2, lbl_8051BA20@sda21 -/* 80290970 0028D8B0 38 03 B2 FC */ addi r0, r3, __vt__Q34Game9SnakeCrow11StateAttack@l -/* 80290974 0028D8B4 90 E4 00 08 */ stw r7, 8(r4) -/* 80290978 0028D8B8 90 C4 00 00 */ stw r6, 0(r4) -/* 8029097C 0028D8BC 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80290980 0028D8C0 90 04 00 00 */ stw r0, 0(r4) -lbl_80290984: -/* 80290984 0028D8C4 7F E3 FB 78 */ mr r3, r31 -/* 80290988 0028D8C8 4B E9 FF 81 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 8029098C 0028D8CC 38 60 00 10 */ li r3, 0x10 -/* 80290990 0028D8D0 4B D9 35 15 */ bl __nw__FUl -/* 80290994 0028D8D4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80290998 0028D8D8 41 82 00 40 */ beq lbl_802909D8 -/* 8029099C 0028D8DC 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802909A0 0028D8E0 3C A0 80 4D */ lis r5, __vt__Q34Game9SnakeCrow5State@ha -/* 802909A4 0028D8E4 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802909A8 0028D8E8 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow8StateEat@ha -/* 802909AC 0028D8EC 90 04 00 00 */ stw r0, 0(r4) -/* 802909B0 0028D8F0 38 00 00 07 */ li r0, 7 -/* 802909B4 0028D8F4 38 E0 00 00 */ li r7, 0 -/* 802909B8 0028D8F8 38 C5 B4 0C */ addi r6, r5, __vt__Q34Game9SnakeCrow5State@l -/* 802909BC 0028D8FC 90 04 00 04 */ stw r0, 4(r4) -/* 802909C0 0028D900 38 A2 D6 C8 */ addi r5, r2, lbl_8051BA28@sda21 -/* 802909C4 0028D904 38 03 B2 D8 */ addi r0, r3, __vt__Q34Game9SnakeCrow8StateEat@l -/* 802909C8 0028D908 90 E4 00 08 */ stw r7, 8(r4) -/* 802909CC 0028D90C 90 C4 00 00 */ stw r6, 0(r4) -/* 802909D0 0028D910 90 A4 00 0C */ stw r5, 0xc(r4) -/* 802909D4 0028D914 90 04 00 00 */ stw r0, 0(r4) -lbl_802909D8: -/* 802909D8 0028D918 7F E3 FB 78 */ mr r3, r31 -/* 802909DC 0028D91C 4B E9 FF 2D */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 802909E0 0028D920 38 60 00 10 */ li r3, 0x10 -/* 802909E4 0028D924 4B D9 34 C1 */ bl __nw__FUl -/* 802909E8 0028D928 7C 64 1B 79 */ or. r4, r3, r3 -/* 802909EC 0028D92C 41 82 00 44 */ beq lbl_80290A30 -/* 802909F0 0028D930 3C 60 80 4B */ lis r3, __vt__Q24Game13EnemyFSMState@ha -/* 802909F4 0028D934 3C C0 80 4D */ lis r6, __vt__Q34Game9SnakeCrow5State@ha -/* 802909F8 0028D938 38 03 F9 A4 */ addi r0, r3, __vt__Q24Game13EnemyFSMState@l -/* 802909FC 0028D93C 3C A0 80 49 */ lis r5, lbl_804883E4@ha -/* 80290A00 0028D940 90 04 00 00 */ stw r0, 0(r4) -/* 80290A04 0028D944 38 00 00 08 */ li r0, 8 -/* 80290A08 0028D948 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow13StateStruggle@ha -/* 80290A0C 0028D94C 38 E0 00 00 */ li r7, 0 -/* 80290A10 0028D950 90 04 00 04 */ stw r0, 4(r4) -/* 80290A14 0028D954 38 C6 B4 0C */ addi r6, r6, __vt__Q34Game9SnakeCrow5State@l -/* 80290A18 0028D958 38 A5 83 E4 */ addi r5, r5, lbl_804883E4@l -/* 80290A1C 0028D95C 38 03 B2 B4 */ addi r0, r3, __vt__Q34Game9SnakeCrow13StateStruggle@l -/* 80290A20 0028D960 90 E4 00 08 */ stw r7, 8(r4) -/* 80290A24 0028D964 90 C4 00 00 */ stw r6, 0(r4) -/* 80290A28 0028D968 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80290A2C 0028D96C 90 04 00 00 */ stw r0, 0(r4) -lbl_80290A30: -/* 80290A30 0028D970 7F E3 FB 78 */ mr r3, r31 -/* 80290A34 0028D974 4B E9 FE D5 */ bl registerState__Q24Game17EnemyStateMachineFPQ24Game13EnemyFSMState -/* 80290A38 0028D978 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80290A3C 0028D97C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80290A40 0028D980 7C 08 03 A6 */ mtlr r0 -/* 80290A44 0028D984 38 21 00 10 */ addi r1, r1, 0x10 -/* 80290A48 0028D988 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow9StateDeadFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80290A4C 0028D98C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80290A50 0028D990 7C 08 02 A6 */ mflr r0 -/* 80290A54 0028D994 90 01 00 34 */ stw r0, 0x34(r1) -/* 80290A58 0028D998 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80290A5C 0028D99C 7C 9F 23 78 */ mr r31, r4 -/* 80290A60 0028D9A0 7F E3 FB 78 */ mr r3, r31 -/* 80290A64 0028D9A4 4B E7 4C BD */ bl deathProcedure__Q24Game9EnemyBaseFv -/* 80290A68 0028D9A8 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80290A6C 0028D9AC 7F E3 FB 78 */ mr r3, r31 -/* 80290A70 0028D9B0 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80290A74 0028D9B4 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80290A78 0028D9B8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80290A7C 0028D9BC D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80290A80 0028D9C0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80290A84 0028D9C4 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80290A88 0028D9C8 4B E7 0E F5 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80290A8C 0028D9CC 7F E3 FB 78 */ mr r3, r31 -/* 80290A90 0028D9D0 38 80 00 00 */ li r4, 0 -/* 80290A94 0028D9D4 38 A0 00 00 */ li r5, 0 -/* 80290A98 0028D9D8 4B E7 45 6D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80290A9C 0028D9DC 7F E3 FB 78 */ mr r3, r31 -/* 80290AA0 0028D9E0 48 00 4E F1 */ bl createDeadStartEffect__Q34Game9SnakeCrow3ObjFv -/* 80290AA4 0028D9E4 7F E4 FB 78 */ mr r4, r31 -/* 80290AA8 0028D9E8 38 61 00 08 */ addi r3, r1, 8 -/* 80290AAC 0028D9EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80290AB0 0028D9F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80290AB4 0028D9F4 7D 89 03 A6 */ mtctr r12 -/* 80290AB8 0028D9F8 4E 80 04 21 */ bctrl -/* 80290ABC 0028D9FC C0 41 00 08 */ lfs f2, 8(r1) -/* 80290AC0 0028DA00 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80290AC4 0028DA04 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80290AC8 0028DA08 38 80 00 00 */ li r4, 0 -/* 80290ACC 0028DA0C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80290AD0 0028DA10 38 C0 00 02 */ li r6, 2 -/* 80290AD4 0028DA14 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80290AD8 0028DA18 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80290ADC 0028DA1C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80290AE0 0028DA20 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80290AE4 0028DA24 4B FC 17 59 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80290AE8 0028DA28 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80290AEC 0028DA2C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80290AF0 0028DA30 38 80 00 0D */ li r4, 0xd -/* 80290AF4 0028DA34 38 C0 00 02 */ li r6, 2 -/* 80290AF8 0028DA38 4B FC 2C 89 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80290AFC 0028DA3C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80290B00 0028DA40 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80290B04 0028DA44 7C 08 03 A6 */ mtlr r0 -/* 80290B08 0028DA48 38 21 00 30 */ addi r1, r1, 0x30 -/* 80290B0C 0028DA4C 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow9StateDeadFPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow9StateDeadFPQ24Game9EnemyBase: -/* 80290B10 0028DA50 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80290B14 0028DA54 7C 08 02 A6 */ mflr r0 -/* 80290B18 0028DA58 90 01 00 44 */ stw r0, 0x44(r1) -/* 80290B1C 0028DA5C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80290B20 0028DA60 7C 9F 23 78 */ mr r31, r4 -/* 80290B24 0028DA64 80 64 01 88 */ lwz r3, 0x188(r4) -/* 80290B28 0028DA68 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80290B2C 0028DA6C 28 00 00 00 */ cmplwi r0, 0 -/* 80290B30 0028DA70 41 82 01 3C */ beq lbl_80290C6C -/* 80290B34 0028DA74 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80290B38 0028DA78 28 00 00 02 */ cmplwi r0, 2 -/* 80290B3C 0028DA7C 40 82 00 14 */ bne lbl_80290B50 -/* 80290B40 0028DA80 C0 22 D6 D0 */ lfs f1, lbl_8051BA30@sda21(r2) -/* 80290B44 0028DA84 7F E3 FB 78 */ mr r3, r31 -/* 80290B48 0028DA88 48 00 4F 11 */ bl createDownHeadEffect__Q34Game9SnakeCrow3ObjFf -/* 80290B4C 0028DA8C 48 00 01 20 */ b lbl_80290C6C -lbl_80290B50: -/* 80290B50 0028DA90 28 00 00 03 */ cmplwi r0, 3 -/* 80290B54 0028DA94 40 82 00 8C */ bne lbl_80290BE0 -/* 80290B58 0028DA98 7F E3 FB 78 */ mr r3, r31 -/* 80290B5C 0028DA9C 48 00 45 25 */ bl deleteJointShadow__Q34Game9SnakeCrow3ObjFv -/* 80290B60 0028DAA0 7F E3 FB 78 */ mr r3, r31 -/* 80290B64 0028DAA4 48 00 4E 61 */ bl createDeadFinishEffect__Q34Game9SnakeCrow3ObjFv -/* 80290B68 0028DAA8 7F E3 FB 78 */ mr r3, r31 -/* 80290B6C 0028DAAC 48 00 4D F5 */ bl finishWaitEffect__Q34Game9SnakeCrow3ObjFv -/* 80290B70 0028DAB0 7F E3 FB 78 */ mr r3, r31 -/* 80290B74 0028DAB4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80290B78 0028DAB8 81 8C 02 64 */ lwz r12, 0x264(r12) -/* 80290B7C 0028DABC 7D 89 03 A6 */ mtctr r12 -/* 80290B80 0028DAC0 4E 80 04 21 */ bctrl -/* 80290B84 0028DAC4 7F E4 FB 78 */ mr r4, r31 -/* 80290B88 0028DAC8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80290B8C 0028DACC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80290B90 0028DAD0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80290B94 0028DAD4 7D 89 03 A6 */ mtctr r12 -/* 80290B98 0028DAD8 4E 80 04 21 */ bctrl -/* 80290B9C 0028DADC C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80290BA0 0028DAE0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80290BA4 0028DAE4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80290BA8 0028DAE8 38 80 00 00 */ li r4, 0 -/* 80290BAC 0028DAEC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80290BB0 0028DAF0 38 C0 00 02 */ li r6, 2 -/* 80290BB4 0028DAF4 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80290BB8 0028DAF8 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80290BBC 0028DAFC D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80290BC0 0028DB00 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80290BC4 0028DB04 4B FC 16 79 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80290BC8 0028DB08 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80290BCC 0028DB0C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80290BD0 0028DB10 38 80 00 0B */ li r4, 0xb -/* 80290BD4 0028DB14 38 C0 00 02 */ li r6, 2 -/* 80290BD8 0028DB18 4B FC 2B A9 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80290BDC 0028DB1C 48 00 00 90 */ b lbl_80290C6C -lbl_80290BE0: -/* 80290BE0 0028DB20 28 00 00 04 */ cmplwi r0, 4 -/* 80290BE4 0028DB24 40 82 00 14 */ bne lbl_80290BF8 -/* 80290BE8 0028DB28 C0 22 D6 D4 */ lfs f1, lbl_8051BA34@sda21(r2) -/* 80290BEC 0028DB2C 7F E3 FB 78 */ mr r3, r31 -/* 80290BF0 0028DB30 48 00 4E 69 */ bl createDownHeadEffect__Q34Game9SnakeCrow3ObjFf -/* 80290BF4 0028DB34 48 00 00 78 */ b lbl_80290C6C -lbl_80290BF8: -/* 80290BF8 0028DB38 28 00 00 05 */ cmplwi r0, 5 -/* 80290BFC 0028DB3C 40 82 00 5C */ bne lbl_80290C58 -/* 80290C00 0028DB40 81 84 00 00 */ lwz r12, 0(r4) -/* 80290C04 0028DB44 38 61 00 08 */ addi r3, r1, 8 -/* 80290C08 0028DB48 81 8C 00 08 */ lwz r12, 8(r12) -/* 80290C0C 0028DB4C 7D 89 03 A6 */ mtctr r12 -/* 80290C10 0028DB50 4E 80 04 21 */ bctrl -/* 80290C14 0028DB54 C0 41 00 08 */ lfs f2, 8(r1) -/* 80290C18 0028DB58 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80290C1C 0028DB5C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80290C20 0028DB60 38 80 00 08 */ li r4, 8 -/* 80290C24 0028DB64 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80290C28 0028DB68 38 C0 00 02 */ li r6, 2 -/* 80290C2C 0028DB6C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80290C30 0028DB70 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80290C34 0028DB74 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80290C38 0028DB78 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80290C3C 0028DB7C 4B FC 16 01 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80290C40 0028DB80 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80290C44 0028DB84 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80290C48 0028DB88 38 80 00 0D */ li r4, 0xd -/* 80290C4C 0028DB8C 38 C0 00 02 */ li r6, 2 -/* 80290C50 0028DB90 4B FC 2B 31 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80290C54 0028DB94 48 00 00 18 */ b lbl_80290C6C -lbl_80290C58: -/* 80290C58 0028DB98 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80290C5C 0028DB9C 40 82 00 10 */ bne lbl_80290C6C -/* 80290C60 0028DBA0 7F E3 FB 78 */ mr r3, r31 -/* 80290C64 0028DBA4 38 80 00 00 */ li r4, 0 -/* 80290C68 0028DBA8 4B EA A4 89 */ bl kill__Q24Game8CreatureFPQ24Game15CreatureKillArg -lbl_80290C6C: -/* 80290C6C 0028DBAC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80290C70 0028DBB0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80290C74 0028DBB4 7C 08 03 A6 */ mtlr r0 -/* 80290C78 0028DBB8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80290C7C 0028DBBC 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow9StateDeadFPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow9StateDeadFPQ24Game9EnemyBase: -/* 80290C80 0028DBC0 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow9StateStayFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80290C84 0028DBC4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80290C88 0028DBC8 7C 08 02 A6 */ mflr r0 -/* 80290C8C 0028DBCC C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80290C90 0028DBD0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80290C94 0028DBD4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80290C98 0028DBD8 7C 9F 23 78 */ mr r31, r4 -/* 80290C9C 0028DBDC 7F E3 FB 78 */ mr r3, r31 -/* 80290CA0 0028DBE0 D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 80290CA4 0028DBE4 48 00 43 B9 */ bl finishJointShadow__Q34Game9SnakeCrow3ObjFv -/* 80290CA8 0028DBE8 7F E4 FB 78 */ mr r4, r31 -/* 80290CAC 0028DBEC 38 61 00 08 */ addi r3, r1, 8 -/* 80290CB0 0028DBF0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80290CB4 0028DBF4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80290CB8 0028DBF8 7D 89 03 A6 */ mtctr r12 -/* 80290CBC 0028DBFC 4E 80 04 21 */ bctrl -/* 80290CC0 0028DC00 C0 41 00 08 */ lfs f2, 8(r1) -/* 80290CC4 0028DC04 7F E3 FB 78 */ mr r3, r31 -/* 80290CC8 0028DC08 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80290CCC 0028DC0C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80290CD0 0028DC10 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80290CD4 0028DC14 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80290CD8 0028DC18 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80290CDC 0028DC1C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80290CE0 0028DC20 81 9F 00 00 */ lwz r12, 0(r31) -/* 80290CE4 0028DC24 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80290CE8 0028DC28 7D 89 03 A6 */ mtctr r12 -/* 80290CEC 0028DC2C 4E 80 04 21 */ bctrl -/* 80290CF0 0028DC30 7F E3 FB 78 */ mr r3, r31 -/* 80290CF4 0028DC34 38 80 00 00 */ li r4, 0 -/* 80290CF8 0028DC38 81 9F 00 00 */ lwz r12, 0(r31) -/* 80290CFC 0028DC3C 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 80290D00 0028DC40 7D 89 03 A6 */ mtctr r12 -/* 80290D04 0028DC44 4E 80 04 21 */ bctrl -/* 80290D08 0028DC48 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 80290D0C 0028DC4C 38 00 00 01 */ li r0, 1 -/* 80290D10 0028DC50 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80290D14 0028DC54 7F E3 FB 78 */ mr r3, r31 -/* 80290D18 0028DC58 60 85 00 01 */ ori r5, r4, 1 -/* 80290D1C 0028DC5C 38 80 00 01 */ li r4, 1 -/* 80290D20 0028DC60 90 BF 01 E0 */ stw r5, 0x1e0(r31) -/* 80290D24 0028DC64 38 A0 00 00 */ li r5, 0 -/* 80290D28 0028DC68 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80290D2C 0028DC6C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80290D30 0028DC70 64 00 00 40 */ oris r0, r0, 0x40 -/* 80290D34 0028DC74 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80290D38 0028DC78 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80290D3C 0028DC7C 54 00 04 5E */ rlwinm r0, r0, 0, 0x11, 0xf -/* 80290D40 0028DC80 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80290D44 0028DC84 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80290D48 0028DC88 64 00 40 00 */ oris r0, r0, 0x4000 -/* 80290D4C 0028DC8C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80290D50 0028DC90 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80290D54 0028DC94 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 80290D58 0028DC98 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80290D5C 0028DC9C D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80290D60 0028DCA0 D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80290D64 0028DCA4 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80290D68 0028DCA8 4B E7 42 9D */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80290D6C 0028DCAC 7F E3 FB 78 */ mr r3, r31 -/* 80290D70 0028DCB0 4B E7 65 71 */ bl stopMotion__Q24Game9EnemyBaseFv -/* 80290D74 0028DCB4 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 80290D78 0028DCB8 28 00 00 00 */ cmplwi r0, 0 -/* 80290D7C 0028DCBC 41 82 00 18 */ beq lbl_80290D94 -/* 80290D80 0028DCC0 7F E3 FB 78 */ mr r3, r31 -/* 80290D84 0028DCC4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80290D88 0028DCC8 81 8C 02 54 */ lwz r12, 0x254(r12) -/* 80290D8C 0028DCCC 7D 89 03 A6 */ mtctr r12 -/* 80290D90 0028DCD0 4E 80 04 21 */ bctrl -lbl_80290D94: -/* 80290D94 0028DCD4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80290D98 0028DCD8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80290D9C 0028DCDC 7C 08 03 A6 */ mtlr r0 -/* 80290DA0 0028DCE0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80290DA4 0028DCE4 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow9StateStayFPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow9StateStayFPQ24Game9EnemyBase: -/* 80290DA8 0028DCE8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80290DAC 0028DCEC 7C 08 02 A6 */ mflr r0 -/* 80290DB0 0028DCF0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80290DB4 0028DCF4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80290DB8 0028DCF8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80290DBC 0028DCFC DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80290DC0 0028DD00 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80290DC4 0028DD04 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80290DC8 0028DD08 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80290DCC 0028DD0C DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80290DD0 0028DD10 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80290DD4 0028DD14 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80290DD8 0028DD18 7C 7C 1B 78 */ mr r28, r3 -/* 80290DDC 0028DD1C 80 64 00 C0 */ lwz r3, 0xc0(r4) -/* 80290DE0 0028DD20 C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 80290DE4 0028DD24 7C 9F 23 78 */ mr r31, r4 -/* 80290DE8 0028DD28 C0 03 08 6C */ lfs f0, 0x86c(r3) -/* 80290DEC 0028DD2C 3B C0 00 00 */ li r30, 0 -/* 80290DF0 0028DD30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80290DF4 0028DD34 40 81 04 E0 */ ble lbl_802912D4 -/* 80290DF8 0028DD38 C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 80290DFC 0028DD3C 3C 60 80 4B */ lis r3, __vt__22Iterator$$0Q24Game4Piki$$1@ha -/* 80290E00 0028DD40 38 00 00 00 */ li r0, 0 -/* 80290E04 0028DD44 C3 FF 01 98 */ lfs f31, 0x198(r31) -/* 80290E08 0028DD48 C3 DF 01 9C */ lfs f30, 0x19c(r31) -/* 80290E0C 0028DD4C 28 00 00 00 */ cmplwi r0, 0 -/* 80290E10 0028DD50 C3 BF 01 A0 */ lfs f29, 0x1a0(r31) -/* 80290E14 0028DD54 38 83 BC 9C */ addi r4, r3, __vt__22Iterator$$0Q24Game4Piki$$1@l -/* 80290E18 0028DD58 80 6D 92 F4 */ lwz r3, pikiMgr__4Game@sda21(r13) -/* 80290E1C 0028DD5C EF 80 00 32 */ fmuls f28, f0, f0 -/* 80290E20 0028DD60 90 81 00 30 */ stw r4, 0x30(r1) -/* 80290E24 0028DD64 3B A0 00 01 */ li r29, 1 -/* 80290E28 0028DD68 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80290E2C 0028DD6C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80290E30 0028DD70 90 61 00 38 */ stw r3, 0x38(r1) -/* 80290E34 0028DD74 40 82 00 1C */ bne lbl_80290E50 -/* 80290E38 0028DD78 81 83 00 00 */ lwz r12, 0(r3) -/* 80290E3C 0028DD7C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80290E40 0028DD80 7D 89 03 A6 */ mtctr r12 -/* 80290E44 0028DD84 4E 80 04 21 */ bctrl -/* 80290E48 0028DD88 90 61 00 34 */ stw r3, 0x34(r1) -/* 80290E4C 0028DD8C 48 00 02 10 */ b lbl_8029105C -lbl_80290E50: -/* 80290E50 0028DD90 81 83 00 00 */ lwz r12, 0(r3) -/* 80290E54 0028DD94 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80290E58 0028DD98 7D 89 03 A6 */ mtctr r12 -/* 80290E5C 0028DD9C 4E 80 04 21 */ bctrl -/* 80290E60 0028DDA0 90 61 00 34 */ stw r3, 0x34(r1) -/* 80290E64 0028DDA4 48 00 00 58 */ b lbl_80290EBC -lbl_80290E68: -/* 80290E68 0028DDA8 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80290E6C 0028DDAC 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80290E70 0028DDB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80290E74 0028DDB4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80290E78 0028DDB8 7D 89 03 A6 */ mtctr r12 -/* 80290E7C 0028DDBC 4E 80 04 21 */ bctrl -/* 80290E80 0028DDC0 7C 64 1B 78 */ mr r4, r3 -/* 80290E84 0028DDC4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80290E88 0028DDC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80290E8C 0028DDCC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80290E90 0028DDD0 7D 89 03 A6 */ mtctr r12 -/* 80290E94 0028DDD4 4E 80 04 21 */ bctrl -/* 80290E98 0028DDD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80290E9C 0028DDDC 40 82 01 C0 */ bne lbl_8029105C -/* 80290EA0 0028DDE0 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80290EA4 0028DDE4 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80290EA8 0028DDE8 81 83 00 00 */ lwz r12, 0(r3) -/* 80290EAC 0028DDEC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80290EB0 0028DDF0 7D 89 03 A6 */ mtctr r12 -/* 80290EB4 0028DDF4 4E 80 04 21 */ bctrl -/* 80290EB8 0028DDF8 90 61 00 34 */ stw r3, 0x34(r1) -lbl_80290EBC: -/* 80290EBC 0028DDFC 81 81 00 30 */ lwz r12, 0x30(r1) -/* 80290EC0 0028DE00 38 61 00 30 */ addi r3, r1, 0x30 -/* 80290EC4 0028DE04 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80290EC8 0028DE08 7D 89 03 A6 */ mtctr r12 -/* 80290ECC 0028DE0C 4E 80 04 21 */ bctrl -/* 80290ED0 0028DE10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80290ED4 0028DE14 41 82 FF 94 */ beq lbl_80290E68 -/* 80290ED8 0028DE18 48 00 01 84 */ b lbl_8029105C -lbl_80290EDC: -/* 80290EDC 0028DE1C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80290EE0 0028DE20 81 83 00 00 */ lwz r12, 0(r3) -/* 80290EE4 0028DE24 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80290EE8 0028DE28 7D 89 03 A6 */ mtctr r12 -/* 80290EEC 0028DE2C 4E 80 04 21 */ bctrl -/* 80290EF0 0028DE30 81 83 00 00 */ lwz r12, 0(r3) -/* 80290EF4 0028DE34 7C 7B 1B 78 */ mr r27, r3 -/* 80290EF8 0028DE38 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80290EFC 0028DE3C 7D 89 03 A6 */ mtctr r12 -/* 80290F00 0028DE40 4E 80 04 21 */ bctrl -/* 80290F04 0028DE44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80290F08 0028DE48 41 82 00 90 */ beq lbl_80290F98 -/* 80290F0C 0028DE4C 7F 63 DB 78 */ mr r3, r27 -/* 80290F10 0028DE50 81 9B 00 00 */ lwz r12, 0(r27) -/* 80290F14 0028DE54 81 8C 01 C0 */ lwz r12, 0x1c0(r12) -/* 80290F18 0028DE58 7D 89 03 A6 */ mtctr r12 -/* 80290F1C 0028DE5C 4E 80 04 21 */ bctrl -/* 80290F20 0028DE60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80290F24 0028DE64 41 82 00 74 */ beq lbl_80290F98 -/* 80290F28 0028DE68 7F 63 DB 78 */ mr r3, r27 -/* 80290F2C 0028DE6C 4B F0 E6 5D */ bl isStickToMouth__Q24Game8CreatureFv -/* 80290F30 0028DE70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80290F34 0028DE74 40 82 00 64 */ bne lbl_80290F98 -/* 80290F38 0028DE78 7F 64 DB 78 */ mr r4, r27 -/* 80290F3C 0028DE7C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80290F40 0028DE80 81 9B 00 00 */ lwz r12, 0(r27) -/* 80290F44 0028DE84 81 8C 00 08 */ lwz r12, 8(r12) -/* 80290F48 0028DE88 7D 89 03 A6 */ mtctr r12 -/* 80290F4C 0028DE8C 4E 80 04 21 */ bctrl -/* 80290F50 0028DE90 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80290F54 0028DE94 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80290F58 0028DE98 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 80290F5C 0028DE9C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80290F60 0028DEA0 EC 7F 08 28 */ fsubs f3, f31, f1 -/* 80290F64 0028DEA4 EC 3D 00 28 */ fsubs f1, f29, f0 -/* 80290F68 0028DEA8 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80290F6C 0028DEAC EC 03 00 FA */ fmadds f0, f3, f3, f0 -/* 80290F70 0028DEB0 EC 21 00 7A */ fmadds f1, f1, f1, f0 -/* 80290F74 0028DEB4 FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 80290F78 0028DEB8 40 80 00 10 */ bge lbl_80290F88 -/* 80290F7C 0028DEBC 7F 7E DB 78 */ mr r30, r27 -/* 80290F80 0028DEC0 3B A0 00 00 */ li r29, 0 -/* 80290F84 0028DEC4 48 00 00 14 */ b lbl_80290F98 -lbl_80290F88: -/* 80290F88 0028DEC8 C0 02 D6 D8 */ lfs f0, lbl_8051BA38@sda21(r2) -/* 80290F8C 0028DECC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80290F90 0028DED0 40 80 00 08 */ bge lbl_80290F98 -/* 80290F94 0028DED4 3B A0 00 00 */ li r29, 0 -lbl_80290F98: -/* 80290F98 0028DED8 28 1E 00 00 */ cmplwi r30, 0 -/* 80290F9C 0028DEDC 40 82 00 E0 */ bne lbl_8029107C -/* 80290FA0 0028DEE0 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80290FA4 0028DEE4 28 00 00 00 */ cmplwi r0, 0 -/* 80290FA8 0028DEE8 40 82 00 24 */ bne lbl_80290FCC -/* 80290FAC 0028DEEC 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80290FB0 0028DEF0 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80290FB4 0028DEF4 81 83 00 00 */ lwz r12, 0(r3) -/* 80290FB8 0028DEF8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80290FBC 0028DEFC 7D 89 03 A6 */ mtctr r12 -/* 80290FC0 0028DF00 4E 80 04 21 */ bctrl -/* 80290FC4 0028DF04 90 61 00 34 */ stw r3, 0x34(r1) -/* 80290FC8 0028DF08 48 00 00 94 */ b lbl_8029105C -lbl_80290FCC: -/* 80290FCC 0028DF0C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80290FD0 0028DF10 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80290FD4 0028DF14 81 83 00 00 */ lwz r12, 0(r3) -/* 80290FD8 0028DF18 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80290FDC 0028DF1C 7D 89 03 A6 */ mtctr r12 -/* 80290FE0 0028DF20 4E 80 04 21 */ bctrl -/* 80290FE4 0028DF24 90 61 00 34 */ stw r3, 0x34(r1) -/* 80290FE8 0028DF28 48 00 00 58 */ b lbl_80291040 -lbl_80290FEC: -/* 80290FEC 0028DF2C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80290FF0 0028DF30 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80290FF4 0028DF34 81 83 00 00 */ lwz r12, 0(r3) -/* 80290FF8 0028DF38 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80290FFC 0028DF3C 7D 89 03 A6 */ mtctr r12 -/* 80291000 0028DF40 4E 80 04 21 */ bctrl -/* 80291004 0028DF44 7C 64 1B 78 */ mr r4, r3 -/* 80291008 0028DF48 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8029100C 0028DF4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80291010 0028DF50 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291014 0028DF54 7D 89 03 A6 */ mtctr r12 -/* 80291018 0028DF58 4E 80 04 21 */ bctrl -/* 8029101C 0028DF5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80291020 0028DF60 40 82 00 3C */ bne lbl_8029105C -/* 80291024 0028DF64 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80291028 0028DF68 80 81 00 34 */ lwz r4, 0x34(r1) -/* 8029102C 0028DF6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80291030 0028DF70 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80291034 0028DF74 7D 89 03 A6 */ mtctr r12 -/* 80291038 0028DF78 4E 80 04 21 */ bctrl -/* 8029103C 0028DF7C 90 61 00 34 */ stw r3, 0x34(r1) -lbl_80291040: -/* 80291040 0028DF80 81 81 00 30 */ lwz r12, 0x30(r1) -/* 80291044 0028DF84 38 61 00 30 */ addi r3, r1, 0x30 -/* 80291048 0028DF88 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8029104C 0028DF8C 7D 89 03 A6 */ mtctr r12 -/* 80291050 0028DF90 4E 80 04 21 */ bctrl -/* 80291054 0028DF94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80291058 0028DF98 41 82 FF 94 */ beq lbl_80290FEC -lbl_8029105C: -/* 8029105C 0028DF9C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80291060 0028DFA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80291064 0028DFA4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291068 0028DFA8 7D 89 03 A6 */ mtctr r12 -/* 8029106C 0028DFAC 4E 80 04 21 */ bctrl -/* 80291070 0028DFB0 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80291074 0028DFB4 7C 04 18 40 */ cmplw r4, r3 -/* 80291078 0028DFB8 40 82 FE 64 */ bne lbl_80290EDC -lbl_8029107C: -/* 8029107C 0028DFBC 28 1E 00 00 */ cmplwi r30, 0 -/* 80291080 0028DFC0 40 82 02 44 */ bne lbl_802912C4 -/* 80291084 0028DFC4 38 00 00 00 */ li r0, 0 -/* 80291088 0028DFC8 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 8029108C 0028DFCC 3C 80 80 4B */ lis r4, __vt__22Iterator$$0Q24Game4Navi$$1@ha -/* 80291090 0028DFD0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80291094 0028DFD4 38 84 BC B4 */ addi r4, r4, __vt__22Iterator$$0Q24Game4Navi$$1@l -/* 80291098 0028DFD8 28 00 00 00 */ cmplwi r0, 0 -/* 8029109C 0028DFDC 90 81 00 20 */ stw r4, 0x20(r1) -/* 802910A0 0028DFE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 802910A4 0028DFE4 90 61 00 28 */ stw r3, 0x28(r1) -/* 802910A8 0028DFE8 40 82 00 1C */ bne lbl_802910C4 -/* 802910AC 0028DFEC 81 83 00 00 */ lwz r12, 0(r3) -/* 802910B0 0028DFF0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802910B4 0028DFF4 7D 89 03 A6 */ mtctr r12 -/* 802910B8 0028DFF8 4E 80 04 21 */ bctrl -/* 802910BC 0028DFFC 90 61 00 24 */ stw r3, 0x24(r1) -/* 802910C0 0028E000 48 00 01 E4 */ b lbl_802912A4 -lbl_802910C4: -/* 802910C4 0028E004 81 83 00 00 */ lwz r12, 0(r3) -/* 802910C8 0028E008 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 802910CC 0028E00C 7D 89 03 A6 */ mtctr r12 -/* 802910D0 0028E010 4E 80 04 21 */ bctrl -/* 802910D4 0028E014 90 61 00 24 */ stw r3, 0x24(r1) -/* 802910D8 0028E018 48 00 00 58 */ b lbl_80291130 -lbl_802910DC: -/* 802910DC 0028E01C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802910E0 0028E020 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802910E4 0028E024 81 83 00 00 */ lwz r12, 0(r3) -/* 802910E8 0028E028 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802910EC 0028E02C 7D 89 03 A6 */ mtctr r12 -/* 802910F0 0028E030 4E 80 04 21 */ bctrl -/* 802910F4 0028E034 7C 64 1B 78 */ mr r4, r3 -/* 802910F8 0028E038 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 802910FC 0028E03C 81 83 00 00 */ lwz r12, 0(r3) -/* 80291100 0028E040 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291104 0028E044 7D 89 03 A6 */ mtctr r12 -/* 80291108 0028E048 4E 80 04 21 */ bctrl -/* 8029110C 0028E04C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80291110 0028E050 40 82 01 94 */ bne lbl_802912A4 -/* 80291114 0028E054 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80291118 0028E058 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8029111C 0028E05C 81 83 00 00 */ lwz r12, 0(r3) -/* 80291120 0028E060 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80291124 0028E064 7D 89 03 A6 */ mtctr r12 -/* 80291128 0028E068 4E 80 04 21 */ bctrl -/* 8029112C 0028E06C 90 61 00 24 */ stw r3, 0x24(r1) -lbl_80291130: -/* 80291130 0028E070 81 81 00 20 */ lwz r12, 0x20(r1) -/* 80291134 0028E074 38 61 00 20 */ addi r3, r1, 0x20 -/* 80291138 0028E078 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8029113C 0028E07C 7D 89 03 A6 */ mtctr r12 -/* 80291140 0028E080 4E 80 04 21 */ bctrl -/* 80291144 0028E084 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80291148 0028E088 41 82 FF 94 */ beq lbl_802910DC -/* 8029114C 0028E08C 48 00 01 58 */ b lbl_802912A4 -lbl_80291150: -/* 80291150 0028E090 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80291154 0028E094 81 83 00 00 */ lwz r12, 0(r3) -/* 80291158 0028E098 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8029115C 0028E09C 7D 89 03 A6 */ mtctr r12 -/* 80291160 0028E0A0 4E 80 04 21 */ bctrl -/* 80291164 0028E0A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80291168 0028E0A8 7C 7B 1B 78 */ mr r27, r3 -/* 8029116C 0028E0AC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80291170 0028E0B0 7D 89 03 A6 */ mtctr r12 -/* 80291174 0028E0B4 4E 80 04 21 */ bctrl -/* 80291178 0028E0B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029117C 0028E0BC 41 82 00 64 */ beq lbl_802911E0 -/* 80291180 0028E0C0 7F 64 DB 78 */ mr r4, r27 -/* 80291184 0028E0C4 38 61 00 08 */ addi r3, r1, 8 -/* 80291188 0028E0C8 81 9B 00 00 */ lwz r12, 0(r27) -/* 8029118C 0028E0CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291190 0028E0D0 7D 89 03 A6 */ mtctr r12 -/* 80291194 0028E0D4 4E 80 04 21 */ bctrl -/* 80291198 0028E0D8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8029119C 0028E0DC C0 21 00 08 */ lfs f1, 8(r1) -/* 802911A0 0028E0E0 EC 5E 00 28 */ fsubs f2, f30, f0 -/* 802911A4 0028E0E4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802911A8 0028E0E8 EC 7F 08 28 */ fsubs f3, f31, f1 -/* 802911AC 0028E0EC EC 3D 00 28 */ fsubs f1, f29, f0 -/* 802911B0 0028E0F0 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 802911B4 0028E0F4 EC 03 00 FA */ fmadds f0, f3, f3, f0 -/* 802911B8 0028E0F8 EC 21 00 7A */ fmadds f1, f1, f1, f0 -/* 802911BC 0028E0FC FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 802911C0 0028E100 40 80 00 10 */ bge lbl_802911D0 -/* 802911C4 0028E104 7F 7E DB 78 */ mr r30, r27 -/* 802911C8 0028E108 3B A0 00 00 */ li r29, 0 -/* 802911CC 0028E10C 48 00 00 14 */ b lbl_802911E0 -lbl_802911D0: -/* 802911D0 0028E110 C0 02 D6 D8 */ lfs f0, lbl_8051BA38@sda21(r2) -/* 802911D4 0028E114 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802911D8 0028E118 40 80 00 08 */ bge lbl_802911E0 -/* 802911DC 0028E11C 3B A0 00 00 */ li r29, 0 -lbl_802911E0: -/* 802911E0 0028E120 28 1E 00 00 */ cmplwi r30, 0 -/* 802911E4 0028E124 40 82 00 E0 */ bne lbl_802912C4 -/* 802911E8 0028E128 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802911EC 0028E12C 28 00 00 00 */ cmplwi r0, 0 -/* 802911F0 0028E130 40 82 00 24 */ bne lbl_80291214 -/* 802911F4 0028E134 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802911F8 0028E138 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802911FC 0028E13C 81 83 00 00 */ lwz r12, 0(r3) -/* 80291200 0028E140 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80291204 0028E144 7D 89 03 A6 */ mtctr r12 -/* 80291208 0028E148 4E 80 04 21 */ bctrl -/* 8029120C 0028E14C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80291210 0028E150 48 00 00 94 */ b lbl_802912A4 -lbl_80291214: -/* 80291214 0028E154 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80291218 0028E158 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8029121C 0028E15C 81 83 00 00 */ lwz r12, 0(r3) -/* 80291220 0028E160 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80291224 0028E164 7D 89 03 A6 */ mtctr r12 -/* 80291228 0028E168 4E 80 04 21 */ bctrl -/* 8029122C 0028E16C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80291230 0028E170 48 00 00 58 */ b lbl_80291288 -lbl_80291234: -/* 80291234 0028E174 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80291238 0028E178 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8029123C 0028E17C 81 83 00 00 */ lwz r12, 0(r3) -/* 80291240 0028E180 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80291244 0028E184 7D 89 03 A6 */ mtctr r12 -/* 80291248 0028E188 4E 80 04 21 */ bctrl -/* 8029124C 0028E18C 7C 64 1B 78 */ mr r4, r3 -/* 80291250 0028E190 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80291254 0028E194 81 83 00 00 */ lwz r12, 0(r3) -/* 80291258 0028E198 81 8C 00 08 */ lwz r12, 8(r12) -/* 8029125C 0028E19C 7D 89 03 A6 */ mtctr r12 -/* 80291260 0028E1A0 4E 80 04 21 */ bctrl -/* 80291264 0028E1A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80291268 0028E1A8 40 82 00 3C */ bne lbl_802912A4 -/* 8029126C 0028E1AC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80291270 0028E1B0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80291274 0028E1B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80291278 0028E1B8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8029127C 0028E1BC 7D 89 03 A6 */ mtctr r12 -/* 80291280 0028E1C0 4E 80 04 21 */ bctrl -/* 80291284 0028E1C4 90 61 00 24 */ stw r3, 0x24(r1) -lbl_80291288: -/* 80291288 0028E1C8 81 81 00 20 */ lwz r12, 0x20(r1) -/* 8029128C 0028E1CC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80291290 0028E1D0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80291294 0028E1D4 7D 89 03 A6 */ mtctr r12 -/* 80291298 0028E1D8 4E 80 04 21 */ bctrl -/* 8029129C 0028E1DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802912A0 0028E1E0 41 82 FF 94 */ beq lbl_80291234 -lbl_802912A4: -/* 802912A4 0028E1E4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802912A8 0028E1E8 81 83 00 00 */ lwz r12, 0(r3) -/* 802912AC 0028E1EC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802912B0 0028E1F0 7D 89 03 A6 */ mtctr r12 -/* 802912B4 0028E1F4 4E 80 04 21 */ bctrl -/* 802912B8 0028E1F8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802912BC 0028E1FC 7C 04 18 40 */ cmplw r4, r3 -/* 802912C0 0028E200 40 82 FE 90 */ bne lbl_80291150 -lbl_802912C4: -/* 802912C4 0028E204 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802912C8 0028E208 41 82 00 0C */ beq lbl_802912D4 -/* 802912CC 0028E20C 7F E3 FB 78 */ mr r3, r31 -/* 802912D0 0028E210 48 00 40 95 */ bl resetBossAppearBGM__Q34Game9SnakeCrow3ObjFv -lbl_802912D4: -/* 802912D4 0028E214 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802912D8 0028E218 28 1E 00 00 */ cmplwi r30, 0 -/* 802912DC 0028E21C C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 802912E0 0028E220 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 802912E4 0028E224 EC 01 00 2A */ fadds f0, f1, f0 -/* 802912E8 0028E228 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 802912EC 0028E22C 41 82 00 A0 */ beq lbl_8029138C -/* 802912F0 0028E230 93 DF 02 30 */ stw r30, 0x230(r31) -/* 802912F4 0028E234 7F E3 FB 78 */ mr r3, r31 -/* 802912F8 0028E238 7F C4 F3 78 */ mr r4, r30 -/* 802912FC 0028E23C 48 00 25 FD */ bl appearNearByTarget__Q34Game9SnakeCrow3ObjFPQ24Game8Creature -/* 80291300 0028E240 7F E3 FB 78 */ mr r3, r31 -/* 80291304 0028E244 48 00 41 31 */ bl setBossAppearBGM__Q34Game9SnakeCrow3ObjFv -/* 80291308 0028E248 83 BF 00 C0 */ lwz r29, 0xc0(r31) -/* 8029130C 0028E24C 4B E3 82 95 */ bl rand -/* 80291310 0028E250 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80291314 0028E254 3C 00 43 30 */ lis r0, 0x4330 -/* 80291318 0028E258 90 61 00 44 */ stw r3, 0x44(r1) -/* 8029131C 0028E25C C8 62 D6 E8 */ lfd f3, lbl_8051BA48@sda21(r2) -/* 80291320 0028E260 90 01 00 40 */ stw r0, 0x40(r1) -/* 80291324 0028E264 C0 42 D6 DC */ lfs f2, lbl_8051BA3C@sda21(r2) -/* 80291328 0028E268 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 8029132C 0028E26C C0 22 D6 E0 */ lfs f1, lbl_8051BA40@sda21(r2) -/* 80291330 0028E270 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80291334 0028E274 C0 1D 08 1C */ lfs f0, 0x81c(r29) -/* 80291338 0028E278 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8029133C 0028E27C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80291340 0028E280 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80291344 0028E284 40 80 00 28 */ bge lbl_8029136C -/* 80291348 0028E288 7F 83 E3 78 */ mr r3, r28 -/* 8029134C 0028E28C 7F E4 FB 78 */ mr r4, r31 -/* 80291350 0028E290 81 9C 00 00 */ lwz r12, 0(r28) -/* 80291354 0028E294 38 A0 00 02 */ li r5, 2 -/* 80291358 0028E298 38 C0 00 00 */ li r6, 0 -/* 8029135C 0028E29C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291360 0028E2A0 7D 89 03 A6 */ mtctr r12 -/* 80291364 0028E2A4 4E 80 04 21 */ bctrl -/* 80291368 0028E2A8 48 00 00 24 */ b lbl_8029138C -lbl_8029136C: -/* 8029136C 0028E2AC 7F 83 E3 78 */ mr r3, r28 -/* 80291370 0028E2B0 7F E4 FB 78 */ mr r4, r31 -/* 80291374 0028E2B4 81 9C 00 00 */ lwz r12, 0(r28) -/* 80291378 0028E2B8 38 A0 00 03 */ li r5, 3 -/* 8029137C 0028E2BC 38 C0 00 00 */ li r6, 0 -/* 80291380 0028E2C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291384 0028E2C4 7D 89 03 A6 */ mtctr r12 -/* 80291388 0028E2C8 4E 80 04 21 */ bctrl -lbl_8029138C: -/* 8029138C 0028E2CC E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80291390 0028E2D0 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80291394 0028E2D4 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80291398 0028E2D8 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8029139C 0028E2DC E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 802913A0 0028E2E0 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 802913A4 0028E2E4 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 802913A8 0028E2E8 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 802913AC 0028E2EC BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 802913B0 0028E2F0 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 802913B4 0028E2F4 7C 08 03 A6 */ mtlr r0 -/* 802913B8 0028E2F8 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 802913BC 0028E2FC 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow9StateStayFPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow9StateStayFPQ24Game9EnemyBase: -/* 802913C0 0028E300 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802913C4 0028E304 7C 08 02 A6 */ mflr r0 -/* 802913C8 0028E308 90 01 00 14 */ stw r0, 0x14(r1) -/* 802913CC 0028E30C 7C 80 23 78 */ mr r0, r4 -/* 802913D0 0028E310 38 80 00 01 */ li r4, 1 -/* 802913D4 0028E314 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802913D8 0028E318 7C 1F 03 78 */ mr r31, r0 -/* 802913DC 0028E31C 7F E3 FB 78 */ mr r3, r31 -/* 802913E0 0028E320 81 9F 00 00 */ lwz r12, 0(r31) -/* 802913E4 0028E324 81 8C 00 A4 */ lwz r12, 0xa4(r12) -/* 802913E8 0028E328 7D 89 03 A6 */ mtctr r12 -/* 802913EC 0028E32C 4E 80 04 21 */ bctrl -/* 802913F0 0028E330 80 9F 01 E0 */ lwz r4, 0x1e0(r31) -/* 802913F4 0028E334 38 00 00 00 */ li r0, 0 -/* 802913F8 0028E338 7F E3 FB 78 */ mr r3, r31 -/* 802913FC 0028E33C 54 84 00 3C */ rlwinm r4, r4, 0, 0, 0x1e -/* 80291400 0028E340 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80291404 0028E344 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80291408 0028E348 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 8029140C 0028E34C 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 80291410 0028E350 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80291414 0028E354 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80291418 0028E358 60 00 80 00 */ ori r0, r0, 0x8000 -/* 8029141C 0028E35C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80291420 0028E360 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80291424 0028E364 54 00 00 80 */ rlwinm r0, r0, 0, 2, 0 -/* 80291428 0028E368 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8029142C 0028E36C 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80291430 0028E370 60 00 08 00 */ ori r0, r0, 0x800 -/* 80291434 0028E374 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80291438 0028E378 48 00 3B 31 */ bl lifeIncrement__Q34Game9SnakeCrow3ObjFv -/* 8029143C 0028E37C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80291440 0028E380 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80291444 0028E384 7C 08 03 A6 */ mtlr r0 -/* 80291448 0028E388 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029144C 0028E38C 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow12StateAppear1FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow12StateAppear1FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80291450 0028E390 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80291454 0028E394 7C 08 02 A6 */ mflr r0 -/* 80291458 0028E398 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 8029145C 0028E39C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80291460 0028E3A0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80291464 0028E3A4 7C 9F 23 78 */ mr r31, r4 -/* 80291468 0028E3A8 7F E3 FB 78 */ mr r3, r31 -/* 8029146C 0028E3AC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80291470 0028E3B0 64 00 00 20 */ oris r0, r0, 0x20 -/* 80291474 0028E3B4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80291478 0028E3B8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8029147C 0028E3BC 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80291480 0028E3C0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80291484 0028E3C4 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80291488 0028E3C8 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 8029148C 0028E3CC D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 80291490 0028E3D0 4B E7 05 3D */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80291494 0028E3D4 7F E3 FB 78 */ mr r3, r31 -/* 80291498 0028E3D8 38 80 00 01 */ li r4, 1 -/* 8029149C 0028E3DC 38 A0 00 00 */ li r5, 0 -/* 802914A0 0028E3E0 4B E7 3B 65 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802914A4 0028E3E4 7F E3 FB 78 */ mr r3, r31 -/* 802914A8 0028E3E8 38 80 00 00 */ li r4, 0 -/* 802914AC 0028E3EC 48 00 42 01 */ bl createAppearEffect__Q34Game9SnakeCrow3ObjFi -/* 802914B0 0028E3F0 7F E4 FB 78 */ mr r4, r31 -/* 802914B4 0028E3F4 38 61 00 08 */ addi r3, r1, 8 -/* 802914B8 0028E3F8 81 9F 00 00 */ lwz r12, 0(r31) -/* 802914BC 0028E3FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802914C0 0028E400 7D 89 03 A6 */ mtctr r12 -/* 802914C4 0028E404 4E 80 04 21 */ bctrl -/* 802914C8 0028E408 C0 41 00 08 */ lfs f2, 8(r1) -/* 802914CC 0028E40C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802914D0 0028E410 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802914D4 0028E414 38 80 00 06 */ li r4, 6 -/* 802914D8 0028E418 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802914DC 0028E41C 38 C0 00 02 */ li r6, 2 -/* 802914E0 0028E420 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 802914E4 0028E424 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 802914E8 0028E428 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 802914EC 0028E42C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 802914F0 0028E430 4B FC 0D 4D */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 802914F4 0028E434 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 802914F8 0028E438 38 A1 00 14 */ addi r5, r1, 0x14 -/* 802914FC 0028E43C 38 80 00 0F */ li r4, 0xf -/* 80291500 0028E440 38 C0 00 02 */ li r6, 2 -/* 80291504 0028E444 4B FC 22 7D */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80291508 0028E448 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8029150C 0028E44C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80291510 0028E450 7C 08 03 A6 */ mtlr r0 -/* 80291514 0028E454 38 21 00 30 */ addi r1, r1, 0x30 -/* 80291518 0028E458 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow12StateAppear1FPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow12StateAppear1FPQ24Game9EnemyBase: -/* 8029151C 0028E45C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80291520 0028E460 7C 08 02 A6 */ mflr r0 -/* 80291524 0028E464 90 01 00 14 */ stw r0, 0x14(r1) -/* 80291528 0028E468 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029152C 0028E46C 7C 9F 23 78 */ mr r31, r4 -/* 80291530 0028E470 93 C1 00 08 */ stw r30, 8(r1) -/* 80291534 0028E474 7C 7E 1B 78 */ mr r30, r3 -/* 80291538 0028E478 80 64 01 88 */ lwz r3, 0x188(r4) -/* 8029153C 0028E47C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80291540 0028E480 28 00 00 00 */ cmplwi r0, 0 -/* 80291544 0028E484 41 82 01 18 */ beq lbl_8029165C -/* 80291548 0028E488 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8029154C 0028E48C 28 00 00 02 */ cmplwi r0, 2 -/* 80291550 0028E490 40 82 00 24 */ bne lbl_80291574 -/* 80291554 0028E494 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80291558 0028E498 7F E3 FB 78 */ mr r3, r31 -/* 8029155C 0028E49C 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80291560 0028E4A0 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80291564 0028E4A4 48 00 3B 5D */ bl startBossAttackBGM__Q34Game9SnakeCrow3ObjFv -/* 80291568 0028E4A8 7F E3 FB 78 */ mr r3, r31 -/* 8029156C 0028E4AC 48 00 3A CD */ bl startJointShadow__Q34Game9SnakeCrow3ObjFv -/* 80291570 0028E4B0 48 00 00 EC */ b lbl_8029165C -lbl_80291574: -/* 80291574 0028E4B4 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80291578 0028E4B8 40 82 00 E4 */ bne lbl_8029165C -/* 8029157C 0028E4BC 7F E3 FB 78 */ mr r3, r31 -/* 80291580 0028E4C0 48 00 26 B1 */ bl setAttackPosition__Q34Game9SnakeCrow3ObjFv -/* 80291584 0028E4C4 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80291588 0028E4C8 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 8029158C 0028E4CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80291590 0028E4D0 4C 40 13 82 */ cror 2, 0, 2 -/* 80291594 0028E4D4 40 82 00 28 */ bne lbl_802915BC -/* 80291598 0028E4D8 7F C3 F3 78 */ mr r3, r30 -/* 8029159C 0028E4DC 7F E4 FB 78 */ mr r4, r31 -/* 802915A0 0028E4E0 81 9E 00 00 */ lwz r12, 0(r30) -/* 802915A4 0028E4E4 38 A0 00 00 */ li r5, 0 -/* 802915A8 0028E4E8 38 C0 00 00 */ li r6, 0 -/* 802915AC 0028E4EC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802915B0 0028E4F0 7D 89 03 A6 */ mtctr r12 -/* 802915B4 0028E4F4 4E 80 04 21 */ bctrl -/* 802915B8 0028E4F8 48 00 00 A4 */ b lbl_8029165C -lbl_802915BC: -/* 802915BC 0028E4FC 7F E3 FB 78 */ mr r3, r31 -/* 802915C0 0028E500 38 80 00 05 */ li r4, 5 -/* 802915C4 0028E504 48 00 28 79 */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 802915C8 0028E508 28 03 00 00 */ cmplwi r3, 0 -/* 802915CC 0028E50C 40 82 00 18 */ bne lbl_802915E4 -/* 802915D0 0028E510 7F E3 FB 78 */ mr r3, r31 -/* 802915D4 0028E514 38 80 00 05 */ li r4, 5 -/* 802915D8 0028E518 48 00 2E 59 */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 802915DC 0028E51C 28 03 00 00 */ cmplwi r3, 0 -/* 802915E0 0028E520 41 82 00 5C */ beq lbl_8029163C -lbl_802915E4: -/* 802915E4 0028E524 7F E3 FB 78 */ mr r3, r31 -/* 802915E8 0028E528 48 00 34 E5 */ bl getStickHeadPikmin__Q34Game9SnakeCrow3ObjFv -/* 802915EC 0028E52C 2C 03 00 00 */ cmpwi r3, 0 -/* 802915F0 0028E530 41 82 00 28 */ beq lbl_80291618 -/* 802915F4 0028E534 7F C3 F3 78 */ mr r3, r30 -/* 802915F8 0028E538 7F E4 FB 78 */ mr r4, r31 -/* 802915FC 0028E53C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80291600 0028E540 38 A0 00 08 */ li r5, 8 -/* 80291604 0028E544 38 C0 00 00 */ li r6, 0 -/* 80291608 0028E548 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029160C 0028E54C 7D 89 03 A6 */ mtctr r12 -/* 80291610 0028E550 4E 80 04 21 */ bctrl -/* 80291614 0028E554 48 00 00 48 */ b lbl_8029165C -lbl_80291618: -/* 80291618 0028E558 7F C3 F3 78 */ mr r3, r30 -/* 8029161C 0028E55C 7F E4 FB 78 */ mr r4, r31 -/* 80291620 0028E560 81 9E 00 00 */ lwz r12, 0(r30) -/* 80291624 0028E564 38 A0 00 06 */ li r5, 6 -/* 80291628 0028E568 38 C0 00 00 */ li r6, 0 -/* 8029162C 0028E56C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291630 0028E570 7D 89 03 A6 */ mtctr r12 -/* 80291634 0028E574 4E 80 04 21 */ bctrl -/* 80291638 0028E578 48 00 00 24 */ b lbl_8029165C -lbl_8029163C: -/* 8029163C 0028E57C 7F C3 F3 78 */ mr r3, r30 -/* 80291640 0028E580 7F E4 FB 78 */ mr r4, r31 -/* 80291644 0028E584 81 9E 00 00 */ lwz r12, 0(r30) -/* 80291648 0028E588 38 A0 00 05 */ li r5, 5 -/* 8029164C 0028E58C 38 C0 00 00 */ li r6, 0 -/* 80291650 0028E590 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291654 0028E594 7D 89 03 A6 */ mtctr r12 -/* 80291658 0028E598 4E 80 04 21 */ bctrl -lbl_8029165C: -/* 8029165C 0028E59C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80291660 0028E5A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80291664 0028E5A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80291668 0028E5A8 7C 08 03 A6 */ mtlr r0 -/* 8029166C 0028E5AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80291670 0028E5B0 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow12StateAppear1FPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow12StateAppear1FPQ24Game9EnemyBase: -/* 80291674 0028E5B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80291678 0028E5B8 7C 08 02 A6 */ mflr r0 -/* 8029167C 0028E5BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80291680 0028E5C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80291684 0028E5C4 7C 9F 23 78 */ mr r31, r4 -/* 80291688 0028E5C8 7F E3 FB 78 */ mr r3, r31 -/* 8029168C 0028E5CC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80291690 0028E5D0 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 80291694 0028E5D4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80291698 0028E5D8 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 8029169C 0028E5DC 60 00 00 40 */ ori r0, r0, 0x40 -/* 802916A0 0028E5E0 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802916A4 0028E5E4 48 00 42 65 */ bl startWaitEffect__Q34Game9SnakeCrow3ObjFv -/* 802916A8 0028E5E8 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 802916AC 0028E5EC 28 00 00 00 */ cmplwi r0, 0 -/* 802916B0 0028E5F0 41 82 00 18 */ beq lbl_802916C8 -/* 802916B4 0028E5F4 7F E3 FB 78 */ mr r3, r31 -/* 802916B8 0028E5F8 81 9F 00 00 */ lwz r12, 0(r31) -/* 802916BC 0028E5FC 81 8C 02 50 */ lwz r12, 0x250(r12) -/* 802916C0 0028E600 7D 89 03 A6 */ mtctr r12 -/* 802916C4 0028E604 4E 80 04 21 */ bctrl -lbl_802916C8: -/* 802916C8 0028E608 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802916CC 0028E60C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802916D0 0028E610 7C 08 03 A6 */ mtlr r0 -/* 802916D4 0028E614 38 21 00 10 */ addi r1, r1, 0x10 -/* 802916D8 0028E618 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow12StateAppear2FPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow12StateAppear2FPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802916DC 0028E61C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802916E0 0028E620 7C 08 02 A6 */ mflr r0 -/* 802916E4 0028E624 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 802916E8 0028E628 90 01 00 34 */ stw r0, 0x34(r1) -/* 802916EC 0028E62C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 802916F0 0028E630 7C 9F 23 78 */ mr r31, r4 -/* 802916F4 0028E634 7F E3 FB 78 */ mr r3, r31 -/* 802916F8 0028E638 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802916FC 0028E63C 64 00 00 20 */ oris r0, r0, 0x20 -/* 80291700 0028E640 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80291704 0028E644 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80291708 0028E648 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8029170C 0028E64C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80291710 0028E650 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80291714 0028E654 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80291718 0028E658 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 8029171C 0028E65C 4B E7 02 B1 */ bl setEmotionExcitement__Q24Game9EnemyBaseFv -/* 80291720 0028E660 7F E3 FB 78 */ mr r3, r31 -/* 80291724 0028E664 38 80 00 02 */ li r4, 2 -/* 80291728 0028E668 38 A0 00 00 */ li r5, 0 -/* 8029172C 0028E66C 4B E7 38 D9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80291730 0028E670 7F E3 FB 78 */ mr r3, r31 -/* 80291734 0028E674 38 80 00 01 */ li r4, 1 -/* 80291738 0028E678 48 00 3F 75 */ bl createAppearEffect__Q34Game9SnakeCrow3ObjFi -/* 8029173C 0028E67C 7F E4 FB 78 */ mr r4, r31 -/* 80291740 0028E680 38 61 00 08 */ addi r3, r1, 8 -/* 80291744 0028E684 81 9F 00 00 */ lwz r12, 0(r31) -/* 80291748 0028E688 81 8C 00 08 */ lwz r12, 8(r12) -/* 8029174C 0028E68C 7D 89 03 A6 */ mtctr r12 -/* 80291750 0028E690 4E 80 04 21 */ bctrl -/* 80291754 0028E694 C0 41 00 08 */ lfs f2, 8(r1) -/* 80291758 0028E698 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8029175C 0028E69C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80291760 0028E6A0 38 80 00 08 */ li r4, 8 -/* 80291764 0028E6A4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80291768 0028E6A8 38 C0 00 02 */ li r6, 2 -/* 8029176C 0028E6AC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80291770 0028E6B0 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80291774 0028E6B4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80291778 0028E6B8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8029177C 0028E6BC 4B FC 0A C1 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80291780 0028E6C0 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80291784 0028E6C4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80291788 0028E6C8 38 80 00 0C */ li r4, 0xc -/* 8029178C 0028E6CC 38 C0 00 02 */ li r6, 2 -/* 80291790 0028E6D0 4B FC 1F F1 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80291794 0028E6D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80291798 0028E6D8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8029179C 0028E6DC 7C 08 03 A6 */ mtlr r0 -/* 802917A0 0028E6E0 38 21 00 30 */ addi r1, r1, 0x30 -/* 802917A4 0028E6E4 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow12StateAppear2FPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow12StateAppear2FPQ24Game9EnemyBase: -/* 802917A8 0028E6E8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 802917AC 0028E6EC 7C 08 02 A6 */ mflr r0 -/* 802917B0 0028E6F0 90 01 00 44 */ stw r0, 0x44(r1) -/* 802917B4 0028E6F4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 802917B8 0028E6F8 7C 9F 23 78 */ mr r31, r4 -/* 802917BC 0028E6FC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 802917C0 0028E700 7C 7E 1B 78 */ mr r30, r3 -/* 802917C4 0028E704 80 64 01 88 */ lwz r3, 0x188(r4) -/* 802917C8 0028E708 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802917CC 0028E70C 28 00 00 00 */ cmplwi r0, 0 -/* 802917D0 0028E710 41 82 01 F4 */ beq lbl_802919C4 -/* 802917D4 0028E714 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802917D8 0028E718 28 00 00 02 */ cmplwi r0, 2 -/* 802917DC 0028E71C 40 82 00 1C */ bne lbl_802917F8 -/* 802917E0 0028E720 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 802917E4 0028E724 7F E3 FB 78 */ mr r3, r31 -/* 802917E8 0028E728 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 802917EC 0028E72C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 802917F0 0028E730 48 00 38 49 */ bl startJointShadow__Q34Game9SnakeCrow3ObjFv -/* 802917F4 0028E734 48 00 01 D0 */ b lbl_802919C4 -lbl_802917F8: -/* 802917F8 0028E738 28 00 00 03 */ cmplwi r0, 3 -/* 802917FC 0028E73C 40 82 00 10 */ bne lbl_8029180C -/* 80291800 0028E740 7F E3 FB 78 */ mr r3, r31 -/* 80291804 0028E744 48 00 38 BD */ bl startBossAttackBGM__Q34Game9SnakeCrow3ObjFv -/* 80291808 0028E748 48 00 01 BC */ b lbl_802919C4 -lbl_8029180C: -/* 8029180C 0028E74C 28 00 00 04 */ cmplwi r0, 4 -/* 80291810 0028E750 40 82 00 6C */ bne lbl_8029187C -/* 80291814 0028E754 7F E3 FB 78 */ mr r3, r31 -/* 80291818 0028E758 38 80 00 02 */ li r4, 2 -/* 8029181C 0028E75C 48 00 3E 91 */ bl createAppearEffect__Q34Game9SnakeCrow3ObjFi -/* 80291820 0028E760 7F E4 FB 78 */ mr r4, r31 -/* 80291824 0028E764 38 61 00 14 */ addi r3, r1, 0x14 -/* 80291828 0028E768 81 9F 00 00 */ lwz r12, 0(r31) -/* 8029182C 0028E76C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291830 0028E770 7D 89 03 A6 */ mtctr r12 -/* 80291834 0028E774 4E 80 04 21 */ bctrl -/* 80291838 0028E778 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8029183C 0028E77C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80291840 0028E780 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80291844 0028E784 38 80 00 03 */ li r4, 3 -/* 80291848 0028E788 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8029184C 0028E78C 38 C0 00 02 */ li r6, 2 -/* 80291850 0028E790 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80291854 0028E794 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80291858 0028E798 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8029185C 0028E79C D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80291860 0028E7A0 4B FC 09 DD */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80291864 0028E7A4 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80291868 0028E7A8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8029186C 0028E7AC 38 80 00 0B */ li r4, 0xb -/* 80291870 0028E7B0 38 C0 00 02 */ li r6, 2 -/* 80291874 0028E7B4 4B FC 1F 0D */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80291878 0028E7B8 48 00 01 4C */ b lbl_802919C4 -lbl_8029187C: -/* 8029187C 0028E7BC 28 00 00 05 */ cmplwi r0, 5 -/* 80291880 0028E7C0 40 82 00 5C */ bne lbl_802918DC -/* 80291884 0028E7C4 81 84 00 00 */ lwz r12, 0(r4) -/* 80291888 0028E7C8 38 61 00 08 */ addi r3, r1, 8 -/* 8029188C 0028E7CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291890 0028E7D0 7D 89 03 A6 */ mtctr r12 -/* 80291894 0028E7D4 4E 80 04 21 */ bctrl -/* 80291898 0028E7D8 C0 41 00 08 */ lfs f2, 8(r1) -/* 8029189C 0028E7DC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802918A0 0028E7E0 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 802918A4 0028E7E4 38 80 00 03 */ li r4, 3 -/* 802918A8 0028E7E8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 802918AC 0028E7EC 38 C0 00 02 */ li r6, 2 -/* 802918B0 0028E7F0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 802918B4 0028E7F4 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 802918B8 0028E7F8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 802918BC 0028E7FC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 802918C0 0028E800 4B FC 09 7D */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 802918C4 0028E804 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 802918C8 0028E808 38 A1 00 20 */ addi r5, r1, 0x20 -/* 802918CC 0028E80C 38 80 00 0B */ li r4, 0xb -/* 802918D0 0028E810 38 C0 00 02 */ li r6, 2 -/* 802918D4 0028E814 4B FC 1E AD */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 802918D8 0028E818 48 00 00 EC */ b lbl_802919C4 -lbl_802918DC: -/* 802918DC 0028E81C 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802918E0 0028E820 40 82 00 E4 */ bne lbl_802919C4 -/* 802918E4 0028E824 7F E3 FB 78 */ mr r3, r31 -/* 802918E8 0028E828 48 00 23 49 */ bl setAttackPosition__Q34Game9SnakeCrow3ObjFv -/* 802918EC 0028E82C C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802918F0 0028E830 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 802918F4 0028E834 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802918F8 0028E838 4C 40 13 82 */ cror 2, 0, 2 -/* 802918FC 0028E83C 40 82 00 28 */ bne lbl_80291924 -/* 80291900 0028E840 7F C3 F3 78 */ mr r3, r30 -/* 80291904 0028E844 7F E4 FB 78 */ mr r4, r31 -/* 80291908 0028E848 81 9E 00 00 */ lwz r12, 0(r30) -/* 8029190C 0028E84C 38 A0 00 00 */ li r5, 0 -/* 80291910 0028E850 38 C0 00 00 */ li r6, 0 -/* 80291914 0028E854 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291918 0028E858 7D 89 03 A6 */ mtctr r12 -/* 8029191C 0028E85C 4E 80 04 21 */ bctrl -/* 80291920 0028E860 48 00 00 A4 */ b lbl_802919C4 -lbl_80291924: -/* 80291924 0028E864 7F E3 FB 78 */ mr r3, r31 -/* 80291928 0028E868 38 80 00 05 */ li r4, 5 -/* 8029192C 0028E86C 48 00 25 11 */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 80291930 0028E870 28 03 00 00 */ cmplwi r3, 0 -/* 80291934 0028E874 40 82 00 18 */ bne lbl_8029194C -/* 80291938 0028E878 7F E3 FB 78 */ mr r3, r31 -/* 8029193C 0028E87C 38 80 00 05 */ li r4, 5 -/* 80291940 0028E880 48 00 2A F1 */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 80291944 0028E884 28 03 00 00 */ cmplwi r3, 0 -/* 80291948 0028E888 41 82 00 5C */ beq lbl_802919A4 -lbl_8029194C: -/* 8029194C 0028E88C 7F E3 FB 78 */ mr r3, r31 -/* 80291950 0028E890 48 00 31 7D */ bl getStickHeadPikmin__Q34Game9SnakeCrow3ObjFv -/* 80291954 0028E894 2C 03 00 00 */ cmpwi r3, 0 -/* 80291958 0028E898 41 82 00 28 */ beq lbl_80291980 -/* 8029195C 0028E89C 7F C3 F3 78 */ mr r3, r30 -/* 80291960 0028E8A0 7F E4 FB 78 */ mr r4, r31 -/* 80291964 0028E8A4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80291968 0028E8A8 38 A0 00 08 */ li r5, 8 -/* 8029196C 0028E8AC 38 C0 00 00 */ li r6, 0 -/* 80291970 0028E8B0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291974 0028E8B4 7D 89 03 A6 */ mtctr r12 -/* 80291978 0028E8B8 4E 80 04 21 */ bctrl -/* 8029197C 0028E8BC 48 00 00 48 */ b lbl_802919C4 -lbl_80291980: -/* 80291980 0028E8C0 7F C3 F3 78 */ mr r3, r30 -/* 80291984 0028E8C4 7F E4 FB 78 */ mr r4, r31 -/* 80291988 0028E8C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8029198C 0028E8CC 38 A0 00 06 */ li r5, 6 -/* 80291990 0028E8D0 38 C0 00 00 */ li r6, 0 -/* 80291994 0028E8D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291998 0028E8D8 7D 89 03 A6 */ mtctr r12 -/* 8029199C 0028E8DC 4E 80 04 21 */ bctrl -/* 802919A0 0028E8E0 48 00 00 24 */ b lbl_802919C4 -lbl_802919A4: -/* 802919A4 0028E8E4 7F C3 F3 78 */ mr r3, r30 -/* 802919A8 0028E8E8 7F E4 FB 78 */ mr r4, r31 -/* 802919AC 0028E8EC 81 9E 00 00 */ lwz r12, 0(r30) -/* 802919B0 0028E8F0 38 A0 00 05 */ li r5, 5 -/* 802919B4 0028E8F4 38 C0 00 00 */ li r6, 0 -/* 802919B8 0028E8F8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802919BC 0028E8FC 7D 89 03 A6 */ mtctr r12 -/* 802919C0 0028E900 4E 80 04 21 */ bctrl -lbl_802919C4: -/* 802919C4 0028E904 80 01 00 44 */ lwz r0, 0x44(r1) -/* 802919C8 0028E908 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 802919CC 0028E90C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 802919D0 0028E910 7C 08 03 A6 */ mtlr r0 -/* 802919D4 0028E914 38 21 00 40 */ addi r1, r1, 0x40 -/* 802919D8 0028E918 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow12StateAppear2FPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow12StateAppear2FPQ24Game9EnemyBase: -/* 802919DC 0028E91C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802919E0 0028E920 7C 08 02 A6 */ mflr r0 -/* 802919E4 0028E924 90 01 00 14 */ stw r0, 0x14(r1) -/* 802919E8 0028E928 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802919EC 0028E92C 7C 9F 23 78 */ mr r31, r4 -/* 802919F0 0028E930 7F E3 FB 78 */ mr r3, r31 -/* 802919F4 0028E934 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802919F8 0028E938 54 00 02 D2 */ rlwinm r0, r0, 0, 0xb, 9 -/* 802919FC 0028E93C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80291A00 0028E940 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80291A04 0028E944 60 00 00 40 */ ori r0, r0, 0x40 -/* 80291A08 0028E948 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80291A0C 0028E94C 48 00 3E FD */ bl startWaitEffect__Q34Game9SnakeCrow3ObjFv -/* 80291A10 0028E950 80 1F 02 80 */ lwz r0, 0x280(r31) -/* 80291A14 0028E954 28 00 00 00 */ cmplwi r0, 0 -/* 80291A18 0028E958 41 82 00 18 */ beq lbl_80291A30 -/* 80291A1C 0028E95C 7F E3 FB 78 */ mr r3, r31 -/* 80291A20 0028E960 81 9F 00 00 */ lwz r12, 0(r31) -/* 80291A24 0028E964 81 8C 02 50 */ lwz r12, 0x250(r12) -/* 80291A28 0028E968 7D 89 03 A6 */ mtctr r12 -/* 80291A2C 0028E96C 4E 80 04 21 */ bctrl -lbl_80291A30: -/* 80291A30 0028E970 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80291A34 0028E974 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80291A38 0028E978 7C 08 03 A6 */ mtlr r0 -/* 80291A3C 0028E97C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80291A40 0028E980 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow14StateDisappearFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow14StateDisappearFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80291A44 0028E984 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80291A48 0028E988 7C 08 02 A6 */ mflr r0 -/* 80291A4C 0028E98C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80291A50 0028E990 38 61 00 08 */ addi r3, r1, 8 -/* 80291A54 0028E994 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80291A58 0028E998 7C 9F 23 78 */ mr r31, r4 -/* 80291A5C 0028E99C 81 84 00 00 */ lwz r12, 0(r4) -/* 80291A60 0028E9A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291A64 0028E9A4 7D 89 03 A6 */ mtctr r12 -/* 80291A68 0028E9A8 4E 80 04 21 */ bctrl -/* 80291A6C 0028E9AC 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 80291A70 0028E9B0 38 C0 00 00 */ li r6, 0 -/* 80291A74 0028E9B4 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 80291A78 0028E9B8 C0 41 00 08 */ lfs f2, 8(r1) -/* 80291A7C 0028E9BC 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple4@ha -/* 80291A80 0028E9C0 90 01 00 30 */ stw r0, 0x30(r1) -/* 80291A84 0028E9C4 38 03 6A 3C */ addi r0, r3, __vt__Q23efx8TSimple4@l -/* 80291A88 0028E9C8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80291A8C 0028E9CC 3C 60 80 4E */ lis r3, __vt__Q23efx14THebiAphd_base@ha -/* 80291A90 0028E9D0 90 01 00 30 */ stw r0, 0x30(r1) -/* 80291A94 0028E9D4 38 03 6E 30 */ addi r0, r3, __vt__Q23efx14THebiAphd_base@l -/* 80291A98 0028E9D8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80291A9C 0028E9DC 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80291AA0 0028E9E0 3C 60 80 4D */ lis r3, __vt__Q23efx14THebiAphd_dive@ha -/* 80291AA4 0028E9E4 39 64 A7 EC */ addi r11, r4, __vt__Q23efx3Arg@l -/* 80291AA8 0028E9E8 39 40 00 A0 */ li r10, 0xa0 -/* 80291AAC 0028E9EC 39 20 00 A1 */ li r9, 0xa1 -/* 80291AB0 0028E9F0 39 00 00 A2 */ li r8, 0xa2 -/* 80291AB4 0028E9F4 38 E0 00 A3 */ li r7, 0xa3 -/* 80291AB8 0028E9F8 38 A0 00 1E */ li r5, 0x1e -/* 80291ABC 0028E9FC 90 01 00 30 */ stw r0, 0x30(r1) -/* 80291AC0 0028EA00 38 03 B3 44 */ addi r0, r3, __vt__Q23efx14THebiAphd_dive@l -/* 80291AC4 0028EA04 38 61 00 30 */ addi r3, r1, 0x30 -/* 80291AC8 0028EA08 38 81 00 14 */ addi r4, r1, 0x14 -/* 80291ACC 0028EA0C D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80291AD0 0028EA10 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80291AD4 0028EA14 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80291AD8 0028EA18 91 61 00 14 */ stw r11, 0x14(r1) -/* 80291ADC 0028EA1C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80291AE0 0028EA20 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80291AE4 0028EA24 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80291AE8 0028EA28 B1 41 00 34 */ sth r10, 0x34(r1) -/* 80291AEC 0028EA2C B1 21 00 36 */ sth r9, 0x36(r1) -/* 80291AF0 0028EA30 B1 01 00 38 */ sth r8, 0x38(r1) -/* 80291AF4 0028EA34 B0 E1 00 3A */ sth r7, 0x3a(r1) -/* 80291AF8 0028EA38 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 80291AFC 0028EA3C 90 C1 00 40 */ stw r6, 0x40(r1) -/* 80291B00 0028EA40 90 C1 00 44 */ stw r6, 0x44(r1) -/* 80291B04 0028EA44 90 C1 00 48 */ stw r6, 0x48(r1) -/* 80291B08 0028EA48 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 80291B0C 0028EA4C 90 01 00 30 */ stw r0, 0x30(r1) -/* 80291B10 0028EA50 48 12 1F 99 */ bl create__Q23efx14THebiAphd_baseFPQ23efx3Arg -/* 80291B14 0028EA54 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80291B18 0028EA58 7F E3 FB 78 */ mr r3, r31 -/* 80291B1C 0028EA5C C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80291B20 0028EA60 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 80291B24 0028EA64 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80291B28 0028EA68 D0 1F 01 D4 */ stfs f0, 0x1d4(r31) -/* 80291B2C 0028EA6C D0 1F 01 D8 */ stfs f0, 0x1d8(r31) -/* 80291B30 0028EA70 D0 1F 01 DC */ stfs f0, 0x1dc(r31) -/* 80291B34 0028EA74 4B E6 FE 49 */ bl setEmotionCaution__Q24Game9EnemyBaseFv -/* 80291B38 0028EA78 7F E3 FB 78 */ mr r3, r31 -/* 80291B3C 0028EA7C 38 80 00 03 */ li r4, 3 -/* 80291B40 0028EA80 38 A0 00 00 */ li r5, 0 -/* 80291B44 0028EA84 4B E7 34 C1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80291B48 0028EA88 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80291B4C 0028EA8C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80291B50 0028EA90 38 80 00 06 */ li r4, 6 -/* 80291B54 0028EA94 38 C0 00 02 */ li r6, 2 -/* 80291B58 0028EA98 4B FC 06 E5 */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80291B5C 0028EA9C 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80291B60 0028EAA0 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80291B64 0028EAA4 38 80 00 0E */ li r4, 0xe -/* 80291B68 0028EAA8 38 C0 00 02 */ li r6, 2 -/* 80291B6C 0028EAAC 4B FC 1C 15 */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80291B70 0028EAB0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80291B74 0028EAB4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80291B78 0028EAB8 7C 08 03 A6 */ mtlr r0 -/* 80291B7C 0028EABC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80291B80 0028EAC0 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow14StateDisappearFPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow14StateDisappearFPQ24Game9EnemyBase: -/* 80291B84 0028EAC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80291B88 0028EAC8 7C 08 02 A6 */ mflr r0 -/* 80291B8C 0028EACC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80291B90 0028EAD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80291B94 0028EAD4 7C 9F 23 78 */ mr r31, r4 -/* 80291B98 0028EAD8 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80291B9C 0028EADC 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80291BA0 0028EAE0 28 00 00 00 */ cmplwi r0, 0 -/* 80291BA4 0028EAE4 41 82 00 D4 */ beq lbl_80291C78 -/* 80291BA8 0028EAE8 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80291BAC 0028EAEC 28 00 00 02 */ cmplwi r0, 2 -/* 80291BB0 0028EAF0 40 82 00 78 */ bne lbl_80291C28 -/* 80291BB4 0028EAF4 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80291BB8 0028EAF8 7F E3 FB 78 */ mr r3, r31 -/* 80291BBC 0028EAFC C0 82 D6 F0 */ lfs f4, lbl_8051BA50@sda21(r2) -/* 80291BC0 0028EB00 38 80 00 00 */ li r4, 0 -/* 80291BC4 0028EB04 C0 25 05 14 */ lfs f1, 0x514(r5) -/* 80291BC8 0028EB08 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 80291BCC 0028EB0C C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80291BD0 0028EB10 4B E8 1B C1 */ bl flickNearbyNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Navi$$1 -/* 80291BD4 0028EB14 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80291BD8 0028EB18 7F E3 FB 78 */ mr r3, r31 -/* 80291BDC 0028EB1C C0 82 D6 F0 */ lfs f4, lbl_8051BA50@sda21(r2) -/* 80291BE0 0028EB20 38 80 00 00 */ li r4, 0 -/* 80291BE4 0028EB24 C0 25 05 14 */ lfs f1, 0x514(r5) -/* 80291BE8 0028EB28 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 80291BEC 0028EB2C C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80291BF0 0028EB30 4B E8 18 E5 */ bl flickNearbyPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 80291BF4 0028EB34 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80291BF8 0028EB38 7F E3 FB 78 */ mr r3, r31 -/* 80291BFC 0028EB3C C0 82 D6 F0 */ lfs f4, lbl_8051BA50@sda21(r2) -/* 80291C00 0028EB40 38 80 00 00 */ li r4, 0 -/* 80291C04 0028EB44 C0 25 05 3C */ lfs f1, 0x53c(r5) -/* 80291C08 0028EB48 C0 45 04 C4 */ lfs f2, 0x4c4(r5) -/* 80291C0C 0028EB4C C0 65 04 EC */ lfs f3, 0x4ec(r5) -/* 80291C10 0028EB50 4B E8 15 0D */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 80291C14 0028EB54 7F E3 FB 78 */ mr r3, r31 -/* 80291C18 0028EB58 48 00 3D 49 */ bl finishWaitEffect__Q34Game9SnakeCrow3ObjFv -/* 80291C1C 0028EB5C 7F E3 FB 78 */ mr r3, r31 -/* 80291C20 0028EB60 48 00 35 81 */ bl startBossFlickBGM__Q34Game9SnakeCrow3ObjFv -/* 80291C24 0028EB64 48 00 00 54 */ b lbl_80291C78 -lbl_80291C28: -/* 80291C28 0028EB68 28 00 00 03 */ cmplwi r0, 3 -/* 80291C2C 0028EB6C 40 82 00 2C */ bne lbl_80291C58 -/* 80291C30 0028EB70 38 00 00 01 */ li r0, 1 -/* 80291C34 0028EB74 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80291C38 0028EB78 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80291C3C 0028EB7C 7F E3 FB 78 */ mr r3, r31 -/* 80291C40 0028EB80 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80291C44 0028EB84 64 00 00 40 */ oris r0, r0, 0x40 -/* 80291C48 0028EB88 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80291C4C 0028EB8C D0 1F 02 0C */ stfs f0, 0x20c(r31) -/* 80291C50 0028EB90 48 00 34 0D */ bl finishJointShadow__Q34Game9SnakeCrow3ObjFv -/* 80291C54 0028EB94 48 00 00 24 */ b lbl_80291C78 -lbl_80291C58: -/* 80291C58 0028EB98 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80291C5C 0028EB9C 40 82 00 1C */ bne lbl_80291C78 -/* 80291C60 0028EBA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80291C64 0028EBA4 38 A0 00 01 */ li r5, 1 -/* 80291C68 0028EBA8 38 C0 00 00 */ li r6, 0 -/* 80291C6C 0028EBAC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80291C70 0028EBB0 7D 89 03 A6 */ mtctr r12 -/* 80291C74 0028EBB4 4E 80 04 21 */ bctrl -lbl_80291C78: -/* 80291C78 0028EBB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80291C7C 0028EBBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80291C80 0028EBC0 7C 08 03 A6 */ mtlr r0 -/* 80291C84 0028EBC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80291C88 0028EBC8 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow14StateDisappearFPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow14StateDisappearFPQ24Game9EnemyBase: -/* 80291C8C 0028EBCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80291C90 0028EBD0 7C 08 02 A6 */ mflr r0 -/* 80291C94 0028EBD4 C0 22 D6 DC */ lfs f1, lbl_8051BA3C@sda21(r2) -/* 80291C98 0028EBD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80291C9C 0028EBDC C0 42 D6 F4 */ lfs f2, lbl_8051BA54@sda21(r2) -/* 80291CA0 0028EBE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80291CA4 0028EBE4 7C 9F 23 78 */ mr r31, r4 -/* 80291CA8 0028EBE8 C0 62 D6 CC */ lfs f3, lbl_8051BA2C@sda21(r2) -/* 80291CAC 0028EBEC 7F E3 FB 78 */ mr r3, r31 -/* 80291CB0 0028EBF0 C0 82 D6 F0 */ lfs f4, lbl_8051BA50@sda21(r2) -/* 80291CB4 0028EBF4 38 80 00 00 */ li r4, 0 -/* 80291CB8 0028EBF8 4B E8 14 65 */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 80291CBC 0028EBFC 38 00 00 00 */ li r0, 0 -/* 80291CC0 0028EC00 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80291CC4 0028EC04 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80291CC8 0028EC08 54 00 02 90 */ rlwinm r0, r0, 0, 0xa, 8 -/* 80291CCC 0028EC0C 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80291CD0 0028EC10 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80291CD4 0028EC14 60 00 00 40 */ ori r0, r0, 0x40 -/* 80291CD8 0028EC18 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80291CDC 0028EC1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80291CE0 0028EC20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80291CE4 0028EC24 7C 08 03 A6 */ mtlr r0 -/* 80291CE8 0028EC28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80291CEC 0028EC2C 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow9StateWaitFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80291CF0 0028EC30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80291CF4 0028EC34 7C 08 02 A6 */ mflr r0 -/* 80291CF8 0028EC38 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80291CFC 0028EC3C 7C 83 23 78 */ mr r3, r4 -/* 80291D00 0028EC40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80291D04 0028EC44 38 00 00 00 */ li r0, 0 -/* 80291D08 0028EC48 38 A0 00 00 */ li r5, 0 -/* 80291D0C 0028EC4C D0 04 02 C4 */ stfs f0, 0x2c4(r4) -/* 80291D10 0028EC50 38 80 00 09 */ li r4, 9 -/* 80291D14 0028EC54 90 03 02 30 */ stw r0, 0x230(r3) -/* 80291D18 0028EC58 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80291D1C 0028EC5C D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 80291D20 0028EC60 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80291D24 0028EC64 4B E7 32 E1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80291D28 0028EC68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80291D2C 0028EC6C 7C 08 03 A6 */ mtlr r0 -/* 80291D30 0028EC70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80291D34 0028EC74 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow9StateWaitFPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow9StateWaitFPQ24Game9EnemyBase: -/* 80291D38 0028EC78 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 80291D3C 0028EC7C 7C 08 02 A6 */ mflr r0 -/* 80291D40 0028EC80 90 01 01 44 */ stw r0, 0x144(r1) -/* 80291D44 0028EC84 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 80291D48 0028EC88 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 80291D4C 0028EC8C DB C1 01 20 */ stfd f30, 0x120(r1) -/* 80291D50 0028EC90 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 80291D54 0028EC94 DB A1 01 10 */ stfd f29, 0x110(r1) -/* 80291D58 0028EC98 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 80291D5C 0028EC9C DB 81 01 00 */ stfd f28, 0x100(r1) -/* 80291D60 0028ECA0 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 80291D64 0028ECA4 DB 61 00 F0 */ stfd f27, 0xf0(r1) -/* 80291D68 0028ECA8 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 -/* 80291D6C 0028ECAC DB 41 00 E0 */ stfd f26, 0xe0(r1) -/* 80291D70 0028ECB0 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 -/* 80291D74 0028ECB4 DB 21 00 D0 */ stfd f25, 0xd0(r1) -/* 80291D78 0028ECB8 F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0 -/* 80291D7C 0028ECBC DB 01 00 C0 */ stfd f24, 0xc0(r1) -/* 80291D80 0028ECC0 F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0 -/* 80291D84 0028ECC4 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 80291D88 0028ECC8 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 80291D8C 0028ECCC 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 80291D90 0028ECD0 83 A4 02 30 */ lwz r29, 0x230(r4) -/* 80291D94 0028ECD4 7C 7E 1B 78 */ mr r30, r3 -/* 80291D98 0028ECD8 7C 9F 23 78 */ mr r31, r4 -/* 80291D9C 0028ECDC 28 1D 00 00 */ cmplwi r29, 0 -/* 80291DA0 0028ECE0 41 82 02 88 */ beq lbl_80292028 -/* 80291DA4 0028ECE4 7F A3 EB 78 */ mr r3, r29 -/* 80291DA8 0028ECE8 81 9D 00 00 */ lwz r12, 0(r29) -/* 80291DAC 0028ECEC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80291DB0 0028ECF0 7D 89 03 A6 */ mtctr r12 -/* 80291DB4 0028ECF4 4E 80 04 21 */ bctrl -/* 80291DB8 0028ECF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80291DBC 0028ECFC 41 82 02 48 */ beq lbl_80292004 -/* 80291DC0 0028ED00 7F A3 EB 78 */ mr r3, r29 -/* 80291DC4 0028ED04 4B F0 D7 C5 */ bl isStickToMouth__Q24Game8CreatureFv -/* 80291DC8 0028ED08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80291DCC 0028ED0C 40 82 02 38 */ bne lbl_80292004 -/* 80291DD0 0028ED10 80 1D 00 F4 */ lwz r0, 0xf4(r29) -/* 80291DD4 0028ED14 7C 00 F8 40 */ cmplw r0, r31 -/* 80291DD8 0028ED18 41 82 02 2C */ beq lbl_80292004 -/* 80291DDC 0028ED1C 7F A4 EB 78 */ mr r4, r29 -/* 80291DE0 0028ED20 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80291DE4 0028ED24 81 9D 00 00 */ lwz r12, 0(r29) -/* 80291DE8 0028ED28 38 61 00 20 */ addi r3, r1, 0x20 -/* 80291DEC 0028ED2C C3 85 04 24 */ lfs f28, 0x424(r5) -/* 80291DF0 0028ED30 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291DF4 0028ED34 C3 A5 03 FC */ lfs f29, 0x3fc(r5) -/* 80291DF8 0028ED38 C3 C5 03 D4 */ lfs f30, 0x3d4(r5) -/* 80291DFC 0028ED3C C3 E5 03 AC */ lfs f31, 0x3ac(r5) -/* 80291E00 0028ED40 7D 89 03 A6 */ mtctr r12 -/* 80291E04 0028ED44 4E 80 04 21 */ bctrl -/* 80291E08 0028ED48 7F E4 FB 78 */ mr r4, r31 -/* 80291E0C 0028ED4C C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80291E10 0028ED50 81 9F 00 00 */ lwz r12, 0(r31) -/* 80291E14 0028ED54 38 61 00 2C */ addi r3, r1, 0x2c -/* 80291E18 0028ED58 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80291E1C 0028ED5C C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80291E20 0028ED60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291E24 0028ED64 D0 41 00 08 */ stfs f2, 8(r1) -/* 80291E28 0028ED68 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80291E2C 0028ED6C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80291E30 0028ED70 7D 89 03 A6 */ mtctr r12 -/* 80291E34 0028ED74 4E 80 04 21 */ bctrl -/* 80291E38 0028ED78 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 80291E3C 0028ED7C 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80291E40 0028ED80 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 80291E44 0028ED84 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80291E48 0028ED88 C0 21 00 08 */ lfs f1, 8(r1) -/* 80291E4C 0028ED8C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80291E50 0028ED90 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 80291E54 0028ED94 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80291E58 0028ED98 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80291E5C 0028ED9C D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80291E60 0028EDA0 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80291E64 0028EDA4 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80291E68 0028EDA8 4B DA 32 A1 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80291E6C 0028EDAC 48 17 FD 65 */ bl roundAng__Ff -/* 80291E70 0028EDB0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80291E74 0028EDB4 FF 00 08 90 */ fmr f24, f1 -/* 80291E78 0028EDB8 7F E3 FB 78 */ mr r3, r31 -/* 80291E7C 0028EDBC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80291E80 0028EDC0 7D 89 03 A6 */ mtctr r12 -/* 80291E84 0028EDC4 4E 80 04 21 */ bctrl -/* 80291E88 0028EDC8 FC 40 08 90 */ fmr f2, f1 -/* 80291E8C 0028EDCC FC 20 C0 90 */ fmr f1, f24 -/* 80291E90 0028EDD0 48 17 FD 6D */ bl angDist__Fff -/* 80291E94 0028EDD4 7F E4 FB 78 */ mr r4, r31 -/* 80291E98 0028EDD8 FF 40 08 90 */ fmr f26, f1 -/* 80291E9C 0028EDDC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80291EA0 0028EDE0 38 61 00 74 */ addi r3, r1, 0x74 -/* 80291EA4 0028EDE4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291EA8 0028EDE8 7D 89 03 A6 */ mtctr r12 -/* 80291EAC 0028EDEC 4E 80 04 21 */ bctrl -/* 80291EB0 0028EDF0 7F A4 EB 78 */ mr r4, r29 -/* 80291EB4 0028EDF4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80291EB8 0028EDF8 81 9D 00 00 */ lwz r12, 0(r29) -/* 80291EBC 0028EDFC C3 61 00 74 */ lfs f27, 0x74(r1) -/* 80291EC0 0028EE00 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291EC4 0028EE04 7D 89 03 A6 */ mtctr r12 -/* 80291EC8 0028EE08 4E 80 04 21 */ bctrl -/* 80291ECC 0028EE0C 7F E4 FB 78 */ mr r4, r31 -/* 80291ED0 0028EE10 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80291ED4 0028EE14 81 9F 00 00 */ lwz r12, 0(r31) -/* 80291ED8 0028EE18 38 61 00 8C */ addi r3, r1, 0x8c -/* 80291EDC 0028EE1C EF 00 D8 28 */ fsubs f24, f0, f27 -/* 80291EE0 0028EE20 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291EE4 0028EE24 7D 89 03 A6 */ mtctr r12 -/* 80291EE8 0028EE28 4E 80 04 21 */ bctrl -/* 80291EEC 0028EE2C 7F A4 EB 78 */ mr r4, r29 -/* 80291EF0 0028EE30 38 61 00 80 */ addi r3, r1, 0x80 -/* 80291EF4 0028EE34 81 9D 00 00 */ lwz r12, 0(r29) -/* 80291EF8 0028EE38 C3 61 00 90 */ lfs f27, 0x90(r1) -/* 80291EFC 0028EE3C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291F00 0028EE40 7D 89 03 A6 */ mtctr r12 -/* 80291F04 0028EE44 4E 80 04 21 */ bctrl -/* 80291F08 0028EE48 7F E4 FB 78 */ mr r4, r31 -/* 80291F0C 0028EE4C C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80291F10 0028EE50 81 9F 00 00 */ lwz r12, 0(r31) -/* 80291F14 0028EE54 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80291F18 0028EE58 EF 20 D8 28 */ fsubs f25, f0, f27 -/* 80291F1C 0028EE5C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291F20 0028EE60 7D 89 03 A6 */ mtctr r12 -/* 80291F24 0028EE64 4E 80 04 21 */ bctrl -/* 80291F28 0028EE68 7F A4 EB 78 */ mr r4, r29 -/* 80291F2C 0028EE6C 38 61 00 98 */ addi r3, r1, 0x98 -/* 80291F30 0028EE70 81 9D 00 00 */ lwz r12, 0(r29) -/* 80291F34 0028EE74 C3 61 00 AC */ lfs f27, 0xac(r1) -/* 80291F38 0028EE78 81 8C 00 08 */ lwz r12, 8(r12) -/* 80291F3C 0028EE7C 7D 89 03 A6 */ mtctr r12 -/* 80291F40 0028EE80 4E 80 04 21 */ bctrl -/* 80291F44 0028EE84 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80291F48 0028EE88 EC 3F 07 F2 */ fmuls f1, f31, f31 -/* 80291F4C 0028EE8C EC 5E 07 B2 */ fmuls f2, f30, f30 -/* 80291F50 0028EE90 38 60 00 01 */ li r3, 1 -/* 80291F54 0028EE94 EC 00 D8 28 */ fsubs f0, f0, f27 -/* 80291F58 0028EE98 38 80 00 00 */ li r4, 0 -/* 80291F5C 0028EE9C EC 00 00 32 */ fmuls f0, f0, f0 -/* 80291F60 0028EEA0 EC 18 06 3A */ fmadds f0, f24, f24, f0 -/* 80291F64 0028EEA4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80291F68 0028EEA8 40 81 00 30 */ ble lbl_80291F98 -/* 80291F6C 0028EEAC FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80291F70 0028EEB0 7C 80 23 78 */ mr r0, r4 -/* 80291F74 0028EEB4 40 81 00 18 */ ble lbl_80291F8C -/* 80291F78 0028EEB8 FC 00 CA 10 */ fabs f0, f25 -/* 80291F7C 0028EEBC FC 00 00 18 */ frsp f0, f0 -/* 80291F80 0028EEC0 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 80291F84 0028EEC4 40 80 00 08 */ bge lbl_80291F8C -/* 80291F88 0028EEC8 7C 60 1B 78 */ mr r0, r3 -lbl_80291F8C: -/* 80291F8C 0028EECC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80291F90 0028EED0 41 82 00 08 */ beq lbl_80291F98 -/* 80291F94 0028EED4 38 80 00 01 */ li r4, 1 -lbl_80291F98: -/* 80291F98 0028EED8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80291F9C 0028EEDC 40 82 00 34 */ bne lbl_80291FD0 -/* 80291FA0 0028EEE0 C0 02 D6 FC */ lfs f0, lbl_8051BA5C@sda21(r2) -/* 80291FA4 0028EEE4 FC 40 D2 10 */ fabs f2, f26 -/* 80291FA8 0028EEE8 C0 22 D6 F8 */ lfs f1, lbl_8051BA58@sda21(r2) -/* 80291FAC 0028EEEC EC 00 07 32 */ fmuls f0, f0, f28 -/* 80291FB0 0028EEF0 FC 40 10 18 */ frsp f2, f2 -/* 80291FB4 0028EEF4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80291FB8 0028EEF8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80291FBC 0028EEFC 4C 40 13 82 */ cror 2, 0, 2 -/* 80291FC0 0028EF00 7C 00 00 26 */ mfcr r0 -/* 80291FC4 0028EF04 54 00 1F FF */ rlwinm. r0, r0, 3, 0x1f, 0x1f -/* 80291FC8 0028EF08 41 82 00 08 */ beq lbl_80291FD0 -/* 80291FCC 0028EF0C 38 60 00 00 */ li r3, 0 -lbl_80291FD0: -/* 80291FD0 0028EF10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80291FD4 0028EF14 41 82 00 0C */ beq lbl_80291FE0 -/* 80291FD8 0028EF18 38 60 00 00 */ li r3, 0 -/* 80291FDC 0028EF1C 48 00 00 6C */ b lbl_80292048 -lbl_80291FE0: -/* 80291FE0 0028EF20 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80291FE4 0028EF24 7F E3 FB 78 */ mr r3, r31 -/* 80291FE8 0028EF28 38 80 00 00 */ li r4, 0 -/* 80291FEC 0028EF2C 38 A0 00 00 */ li r5, 0 -/* 80291FF0 0028EF30 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80291FF4 0028EF34 38 C0 00 00 */ li r6, 0 -/* 80291FF8 0028EF38 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80291FFC 0028EF3C 4B E8 10 55 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80292000 0028EF40 48 00 00 48 */ b lbl_80292048 -lbl_80292004: -/* 80292004 0028EF44 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 80292008 0028EF48 7F E3 FB 78 */ mr r3, r31 -/* 8029200C 0028EF4C 38 80 00 00 */ li r4, 0 -/* 80292010 0028EF50 38 A0 00 00 */ li r5, 0 -/* 80292014 0028EF54 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 80292018 0028EF58 38 C0 00 00 */ li r6, 0 -/* 8029201C 0028EF5C C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80292020 0028EF60 4B E8 10 31 */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -/* 80292024 0028EF64 48 00 00 24 */ b lbl_80292048 -lbl_80292028: -/* 80292028 0028EF68 80 FF 00 C0 */ lwz r7, 0xc0(r31) -/* 8029202C 0028EF6C 7F E3 FB 78 */ mr r3, r31 -/* 80292030 0028EF70 38 80 00 00 */ li r4, 0 -/* 80292034 0028EF74 38 A0 00 00 */ li r5, 0 -/* 80292038 0028EF78 C0 27 04 24 */ lfs f1, 0x424(r7) -/* 8029203C 0028EF7C 38 C0 00 00 */ li r6, 0 -/* 80292040 0028EF80 C0 47 03 D4 */ lfs f2, 0x3d4(r7) -/* 80292044 0028EF84 4B E8 10 0D */ bl getNearestPikminOrNavi__Q24Game9EnemyFuncFPQ24Game8CreatureffPfP23Condition$$0Q24Game4Navi$$1P23Condition$$0Q24Game4Piki$$1 -lbl_80292048: -/* 80292048 0028EF88 28 03 00 00 */ cmplwi r3, 0 -/* 8029204C 0028EF8C 41 82 01 80 */ beq lbl_802921CC -/* 80292050 0028EF90 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80292054 0028EF94 7C 64 1B 78 */ mr r4, r3 -/* 80292058 0028EF98 38 61 00 50 */ addi r3, r1, 0x50 -/* 8029205C 0028EF9C D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 80292060 0028EFA0 81 84 00 00 */ lwz r12, 0(r4) -/* 80292064 0028EFA4 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80292068 0028EFA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8029206C 0028EFAC C3 65 03 34 */ lfs f27, 0x334(r5) -/* 80292070 0028EFB0 C3 45 03 0C */ lfs f26, 0x30c(r5) -/* 80292074 0028EFB4 7D 89 03 A6 */ mtctr r12 -/* 80292078 0028EFB8 4E 80 04 21 */ bctrl -/* 8029207C 0028EFBC 7F E4 FB 78 */ mr r4, r31 -/* 80292080 0028EFC0 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 80292084 0028EFC4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80292088 0028EFC8 38 61 00 5C */ addi r3, r1, 0x5c -/* 8029208C 0028EFCC C0 21 00 54 */ lfs f1, 0x54(r1) -/* 80292090 0028EFD0 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80292094 0028EFD4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80292098 0028EFD8 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8029209C 0028EFDC D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 802920A0 0028EFE0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802920A4 0028EFE4 7D 89 03 A6 */ mtctr r12 -/* 802920A8 0028EFE8 4E 80 04 21 */ bctrl -/* 802920AC 0028EFEC C0 A1 00 5C */ lfs f5, 0x5c(r1) -/* 802920B0 0028EFF0 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 802920B4 0028EFF4 C0 61 00 64 */ lfs f3, 0x64(r1) -/* 802920B8 0028EFF8 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 802920BC 0028EFFC C0 21 00 38 */ lfs f1, 0x38(r1) -/* 802920C0 0028F000 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 802920C4 0028F004 C0 81 00 60 */ lfs f4, 0x60(r1) -/* 802920C8 0028F008 EC 21 28 28 */ fsubs f1, f1, f5 -/* 802920CC 0028F00C EC 40 18 28 */ fsubs f2, f0, f3 -/* 802920D0 0028F010 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 802920D4 0028F014 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 802920D8 0028F018 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 802920DC 0028F01C 4B DA 30 2D */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 802920E0 0028F020 48 17 FA F1 */ bl roundAng__Ff -/* 802920E4 0028F024 81 9F 00 00 */ lwz r12, 0(r31) -/* 802920E8 0028F028 FF 00 08 90 */ fmr f24, f1 -/* 802920EC 0028F02C 7F E3 FB 78 */ mr r3, r31 -/* 802920F0 0028F030 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 802920F4 0028F034 7D 89 03 A6 */ mtctr r12 -/* 802920F8 0028F038 4E 80 04 21 */ bctrl -/* 802920FC 0028F03C FC 40 08 90 */ fmr f2, f1 -/* 80292100 0028F040 FC 20 C0 90 */ fmr f1, f24 -/* 80292104 0028F044 48 17 FA F9 */ bl angDist__Fff -/* 80292108 0028F048 FF 80 08 90 */ fmr f28, f1 -/* 8029210C 0028F04C C0 02 D6 FC */ lfs f0, lbl_8051BA5C@sda21(r2) -/* 80292110 0028F050 C0 22 D6 F8 */ lfs f1, lbl_8051BA58@sda21(r2) -/* 80292114 0028F054 EC 00 06 F2 */ fmuls f0, f0, f27 -/* 80292118 0028F058 EF 1C 06 B2 */ fmuls f24, f28, f26 -/* 8029211C 0028F05C EC 21 00 32 */ fmuls f1, f1, f0 -/* 80292120 0028F060 FC 00 C2 10 */ fabs f0, f24 -/* 80292124 0028F064 FC 00 00 18 */ frsp f0, f0 -/* 80292128 0028F068 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8029212C 0028F06C 40 81 00 1C */ ble lbl_80292148 -/* 80292130 0028F070 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80292134 0028F074 FC 18 00 40 */ fcmpo cr0, f24, f0 -/* 80292138 0028F078 40 81 00 0C */ ble lbl_80292144 -/* 8029213C 0028F07C FF 00 08 90 */ fmr f24, f1 -/* 80292140 0028F080 48 00 00 08 */ b lbl_80292148 -lbl_80292144: -/* 80292144 0028F084 FF 00 08 50 */ fneg f24, f1 -lbl_80292148: -/* 80292148 0028F088 7F E3 FB 78 */ mr r3, r31 -/* 8029214C 0028F08C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80292150 0028F090 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 80292154 0028F094 7D 89 03 A6 */ mtctr r12 -/* 80292158 0028F098 4E 80 04 21 */ bctrl -/* 8029215C 0028F09C EC 38 08 2A */ fadds f1, f24, f1 -/* 80292160 0028F0A0 48 17 FA 71 */ bl roundAng__Ff -/* 80292164 0028F0A4 FC 60 E2 10 */ fabs f3, f28 -/* 80292168 0028F0A8 D0 3F 01 FC */ stfs f1, 0x1fc(r31) -/* 8029216C 0028F0AC C0 02 D7 00 */ lfs f0, lbl_8051BA60@sda21(r2) -/* 80292170 0028F0B0 C0 5F 01 FC */ lfs f2, 0x1fc(r31) -/* 80292174 0028F0B4 FC 20 18 18 */ frsp f1, f3 -/* 80292178 0028F0B8 D0 5F 01 A8 */ stfs f2, 0x1a8(r31) -/* 8029217C 0028F0BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80292180 0028F0C0 4C 40 13 82 */ cror 2, 0, 2 -/* 80292184 0028F0C4 40 82 00 10 */ bne lbl_80292194 -/* 80292188 0028F0C8 7F E3 FB 78 */ mr r3, r31 -/* 8029218C 0028F0CC 48 00 37 4D */ bl finishRotateEffect__Q34Game9SnakeCrow3ObjFv -/* 80292190 0028F0D0 48 00 00 50 */ b lbl_802921E0 -lbl_80292194: -/* 80292194 0028F0D4 7F E3 FB 78 */ mr r3, r31 -/* 80292198 0028F0D8 48 00 36 E9 */ bl startRotateEffect__Q34Game9SnakeCrow3ObjFv -/* 8029219C 0028F0DC 7F E3 FB 78 */ mr r3, r31 -/* 802921A0 0028F0E0 81 9F 00 00 */ lwz r12, 0(r31) -/* 802921A4 0028F0E4 81 8C 00 F4 */ lwz r12, 0xf4(r12) -/* 802921A8 0028F0E8 7D 89 03 A6 */ mtctr r12 -/* 802921AC 0028F0EC 4E 80 04 21 */ bctrl -/* 802921B0 0028F0F0 81 83 00 00 */ lwz r12, 0(r3) -/* 802921B4 0028F0F4 38 80 50 33 */ li r4, 0x5033 -/* 802921B8 0028F0F8 38 A0 00 00 */ li r5, 0 -/* 802921BC 0028F0FC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802921C0 0028F100 7D 89 03 A6 */ mtctr r12 -/* 802921C4 0028F104 4E 80 04 21 */ bctrl -/* 802921C8 0028F108 48 00 00 18 */ b lbl_802921E0 -lbl_802921CC: -/* 802921CC 0028F10C 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802921D0 0028F110 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 802921D4 0028F114 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 802921D8 0028F118 EC 01 00 2A */ fadds f0, f1, f0 -/* 802921DC 0028F11C D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -lbl_802921E0: -/* 802921E0 0028F120 7F E3 FB 78 */ mr r3, r31 -/* 802921E4 0028F124 4B E7 51 1D */ bl isFinishMotion__Q24Game9EnemyBaseFv -/* 802921E8 0028F128 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802921EC 0028F12C 40 82 00 70 */ bne lbl_8029225C -/* 802921F0 0028F130 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802921F4 0028F134 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 802921F8 0028F138 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802921FC 0028F13C 4C 40 13 82 */ cror 2, 0, 2 -/* 80292200 0028F140 41 82 00 54 */ beq lbl_80292254 -/* 80292204 0028F144 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80292208 0028F148 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 8029220C 0028F14C C0 03 08 44 */ lfs f0, 0x844(r3) -/* 80292210 0028F150 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80292214 0028F154 41 81 00 40 */ bgt lbl_80292254 -/* 80292218 0028F158 7F E3 FB 78 */ mr r3, r31 -/* 8029221C 0028F15C 38 80 00 00 */ li r4, 0 -/* 80292220 0028F160 4B E8 24 39 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80292224 0028F164 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80292228 0028F168 40 82 00 2C */ bne lbl_80292254 -/* 8029222C 0028F16C 7F E3 FB 78 */ mr r3, r31 -/* 80292230 0028F170 38 80 00 05 */ li r4, 5 -/* 80292234 0028F174 48 00 1C 09 */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 80292238 0028F178 28 03 00 00 */ cmplwi r3, 0 -/* 8029223C 0028F17C 40 82 00 18 */ bne lbl_80292254 -/* 80292240 0028F180 7F E3 FB 78 */ mr r3, r31 -/* 80292244 0028F184 38 80 00 05 */ li r4, 5 -/* 80292248 0028F188 48 00 21 E9 */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 8029224C 0028F18C 28 03 00 00 */ cmplwi r3, 0 -/* 80292250 0028F190 41 82 00 0C */ beq lbl_8029225C -lbl_80292254: -/* 80292254 0028F194 7F E3 FB 78 */ mr r3, r31 -/* 80292258 0028F198 4B E7 30 49 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_8029225C: -/* 8029225C 0028F19C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80292260 0028F1A0 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80292264 0028F1A4 28 00 00 00 */ cmplwi r0, 0 -/* 80292268 0028F1A8 41 82 01 34 */ beq lbl_8029239C -/* 8029226C 0028F1AC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80292270 0028F1B0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80292274 0028F1B4 40 82 01 28 */ bne lbl_8029239C -/* 80292278 0028F1B8 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 8029227C 0028F1BC C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80292280 0028F1C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80292284 0028F1C4 4C 40 13 82 */ cror 2, 0, 2 -/* 80292288 0028F1C8 40 82 00 28 */ bne lbl_802922B0 -/* 8029228C 0028F1CC 7F C3 F3 78 */ mr r3, r30 -/* 80292290 0028F1D0 7F E4 FB 78 */ mr r4, r31 -/* 80292294 0028F1D4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292298 0028F1D8 38 A0 00 00 */ li r5, 0 -/* 8029229C 0028F1DC 38 C0 00 00 */ li r6, 0 -/* 802922A0 0028F1E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802922A4 0028F1E4 7D 89 03 A6 */ mtctr r12 -/* 802922A8 0028F1E8 4E 80 04 21 */ bctrl -/* 802922AC 0028F1EC 48 00 00 F0 */ b lbl_8029239C -lbl_802922B0: -/* 802922B0 0028F1F0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802922B4 0028F1F4 C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 802922B8 0028F1F8 C0 03 08 44 */ lfs f0, 0x844(r3) -/* 802922BC 0028F1FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802922C0 0028F200 41 81 00 18 */ bgt lbl_802922D8 -/* 802922C4 0028F204 7F E3 FB 78 */ mr r3, r31 -/* 802922C8 0028F208 38 80 00 00 */ li r4, 0 -/* 802922CC 0028F20C 4B E8 23 8D */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 802922D0 0028F210 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802922D4 0028F214 41 82 00 28 */ beq lbl_802922FC -lbl_802922D8: -/* 802922D8 0028F218 7F C3 F3 78 */ mr r3, r30 -/* 802922DC 0028F21C 7F E4 FB 78 */ mr r4, r31 -/* 802922E0 0028F220 81 9E 00 00 */ lwz r12, 0(r30) -/* 802922E4 0028F224 38 A0 00 04 */ li r5, 4 -/* 802922E8 0028F228 38 C0 00 00 */ li r6, 0 -/* 802922EC 0028F22C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802922F0 0028F230 7D 89 03 A6 */ mtctr r12 -/* 802922F4 0028F234 4E 80 04 21 */ bctrl -/* 802922F8 0028F238 48 00 00 A4 */ b lbl_8029239C -lbl_802922FC: -/* 802922FC 0028F23C 7F E3 FB 78 */ mr r3, r31 -/* 80292300 0028F240 38 80 00 05 */ li r4, 5 -/* 80292304 0028F244 48 00 1B 39 */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 80292308 0028F248 28 03 00 00 */ cmplwi r3, 0 -/* 8029230C 0028F24C 40 82 00 18 */ bne lbl_80292324 -/* 80292310 0028F250 7F E3 FB 78 */ mr r3, r31 -/* 80292314 0028F254 38 80 00 05 */ li r4, 5 -/* 80292318 0028F258 48 00 21 19 */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 8029231C 0028F25C 28 03 00 00 */ cmplwi r3, 0 -/* 80292320 0028F260 41 82 00 5C */ beq lbl_8029237C -lbl_80292324: -/* 80292324 0028F264 7F E3 FB 78 */ mr r3, r31 -/* 80292328 0028F268 48 00 27 A5 */ bl getStickHeadPikmin__Q34Game9SnakeCrow3ObjFv -/* 8029232C 0028F26C 2C 03 00 00 */ cmpwi r3, 0 -/* 80292330 0028F270 41 82 00 28 */ beq lbl_80292358 -/* 80292334 0028F274 7F C3 F3 78 */ mr r3, r30 -/* 80292338 0028F278 7F E4 FB 78 */ mr r4, r31 -/* 8029233C 0028F27C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292340 0028F280 38 A0 00 08 */ li r5, 8 -/* 80292344 0028F284 38 C0 00 00 */ li r6, 0 -/* 80292348 0028F288 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029234C 0028F28C 7D 89 03 A6 */ mtctr r12 -/* 80292350 0028F290 4E 80 04 21 */ bctrl -/* 80292354 0028F294 48 00 00 48 */ b lbl_8029239C -lbl_80292358: -/* 80292358 0028F298 7F C3 F3 78 */ mr r3, r30 -/* 8029235C 0028F29C 7F E4 FB 78 */ mr r4, r31 -/* 80292360 0028F2A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292364 0028F2A4 38 A0 00 06 */ li r5, 6 -/* 80292368 0028F2A8 38 C0 00 00 */ li r6, 0 -/* 8029236C 0028F2AC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292370 0028F2B0 7D 89 03 A6 */ mtctr r12 -/* 80292374 0028F2B4 4E 80 04 21 */ bctrl -/* 80292378 0028F2B8 48 00 00 24 */ b lbl_8029239C -lbl_8029237C: -/* 8029237C 0028F2BC 7F C3 F3 78 */ mr r3, r30 -/* 80292380 0028F2C0 7F E4 FB 78 */ mr r4, r31 -/* 80292384 0028F2C4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292388 0028F2C8 38 A0 00 05 */ li r5, 5 -/* 8029238C 0028F2CC 38 C0 00 00 */ li r6, 0 -/* 80292390 0028F2D0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292394 0028F2D4 7D 89 03 A6 */ mtctr r12 -/* 80292398 0028F2D8 4E 80 04 21 */ bctrl -lbl_8029239C: -/* 8029239C 0028F2DC E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 802923A0 0028F2E0 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 802923A4 0028F2E4 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 802923A8 0028F2E8 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 802923AC 0028F2EC E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 802923B0 0028F2F0 CB A1 01 10 */ lfd f29, 0x110(r1) -/* 802923B4 0028F2F4 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 802923B8 0028F2F8 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 802923BC 0028F2FC E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 -/* 802923C0 0028F300 CB 61 00 F0 */ lfd f27, 0xf0(r1) -/* 802923C4 0028F304 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 -/* 802923C8 0028F308 CB 41 00 E0 */ lfd f26, 0xe0(r1) -/* 802923CC 0028F30C E3 21 00 D8 */ psq_l f25, 216(r1), 0, qr0 -/* 802923D0 0028F310 CB 21 00 D0 */ lfd f25, 0xd0(r1) -/* 802923D4 0028F314 E3 01 00 C8 */ psq_l f24, 200(r1), 0, qr0 -/* 802923D8 0028F318 CB 01 00 C0 */ lfd f24, 0xc0(r1) -/* 802923DC 0028F31C 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 802923E0 0028F320 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 802923E4 0028F324 80 01 01 44 */ lwz r0, 0x144(r1) -/* 802923E8 0028F328 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 802923EC 0028F32C 7C 08 03 A6 */ mtlr r0 -/* 802923F0 0028F330 38 21 01 40 */ addi r1, r1, 0x140 -/* 802923F4 0028F334 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow9StateWaitFPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow9StateWaitFPQ24Game9EnemyBase: -/* 802923F8 0028F338 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802923FC 0028F33C 7C 08 02 A6 */ mflr r0 -/* 80292400 0028F340 7C 83 23 78 */ mr r3, r4 -/* 80292404 0028F344 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292408 0028F348 48 00 34 D1 */ bl finishRotateEffect__Q34Game9SnakeCrow3ObjFv -/* 8029240C 0028F34C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292410 0028F350 7C 08 03 A6 */ mtlr r0 -/* 80292414 0028F354 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292418 0028F358 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow11StateAttackFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 8029241C 0028F35C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292420 0028F360 7C 08 02 A6 */ mflr r0 -/* 80292424 0028F364 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80292428 0028F368 7C 83 23 78 */ mr r3, r4 -/* 8029242C 0028F36C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292430 0028F370 38 A0 00 00 */ li r5, 0 -/* 80292434 0028F374 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 80292438 0028F378 54 00 06 B0 */ rlwinm r0, r0, 0, 0x1a, 0x18 -/* 8029243C 0028F37C 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 80292440 0028F380 D0 04 01 D4 */ stfs f0, 0x1d4(r4) -/* 80292444 0028F384 D0 04 01 D8 */ stfs f0, 0x1d8(r4) -/* 80292448 0028F388 D0 04 01 DC */ stfs f0, 0x1dc(r4) -/* 8029244C 0028F38C 80 84 02 D4 */ lwz r4, 0x2d4(r4) -/* 80292450 0028F390 38 84 00 04 */ addi r4, r4, 4 -/* 80292454 0028F394 4B E7 2B B1 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80292458 0028F398 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029245C 0028F39C 7C 08 03 A6 */ mtlr r0 -/* 80292460 0028F3A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292464 0028F3A4 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow11StateAttackFPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow11StateAttackFPQ24Game9EnemyBase: -/* 80292468 0028F3A8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8029246C 0028F3AC 7C 08 02 A6 */ mflr r0 -/* 80292470 0028F3B0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80292474 0028F3B4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80292478 0028F3B8 7C 9F 23 78 */ mr r31, r4 -/* 8029247C 0028F3BC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80292480 0028F3C0 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80292484 0028F3C4 7C 7D 1B 78 */ mr r29, r3 -/* 80292488 0028F3C8 7F E3 FB 78 */ mr r3, r31 -/* 8029248C 0028F3CC 4B E7 4E 75 */ bl isFinishMotion__Q24Game9EnemyBaseFv -/* 80292490 0028F3D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80292494 0028F3D4 40 82 00 0C */ bne lbl_802924A0 -/* 80292498 0028F3D8 7F E3 FB 78 */ mr r3, r31 -/* 8029249C 0028F3DC 48 00 17 95 */ bl setAttackPosition__Q34Game9SnakeCrow3ObjFv -lbl_802924A0: -/* 802924A0 0028F3E0 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 802924A4 0028F3E4 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 802924A8 0028F3E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802924AC 0028F3EC 4C 40 13 82 */ cror 2, 0, 2 -/* 802924B0 0028F3F0 40 82 00 0C */ bne lbl_802924BC -/* 802924B4 0028F3F4 7F E3 FB 78 */ mr r3, r31 -/* 802924B8 0028F3F8 4B E7 2D E9 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802924BC: -/* 802924BC 0028F3FC 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802924C0 0028F400 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802924C4 0028F404 28 00 00 00 */ cmplwi r0, 0 -/* 802924C8 0028F408 41 82 02 B8 */ beq lbl_80292780 -/* 802924CC 0028F40C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 802924D0 0028F410 28 00 00 02 */ cmplwi r0, 2 -/* 802924D4 0028F414 40 82 00 10 */ bne lbl_802924E4 -/* 802924D8 0028F418 7F E3 FB 78 */ mr r3, r31 -/* 802924DC 0028F41C 48 00 28 F1 */ bl startJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 802924E0 0028F420 48 00 02 A0 */ b lbl_80292780 -lbl_802924E4: -/* 802924E4 0028F424 28 00 00 03 */ cmplwi r0, 3 -/* 802924E8 0028F428 40 82 00 E8 */ bne lbl_802925D0 -/* 802924EC 0028F42C 83 DF 02 D4 */ lwz r30, 0x2d4(r31) -/* 802924F0 0028F430 7F E3 FB 78 */ mr r3, r31 -/* 802924F4 0028F434 7F C4 F3 78 */ mr r4, r30 -/* 802924F8 0028F438 48 00 19 45 */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 802924FC 0028F43C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80292500 0028F440 41 82 00 64 */ beq lbl_80292564 -/* 80292504 0028F444 7F E3 FB 78 */ mr r3, r31 -/* 80292508 0028F448 48 00 24 F1 */ bl getSwallowSlot__Q34Game9SnakeCrow3ObjFv -/* 8029250C 0028F44C 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 80292510 0028F450 3C 80 80 4B */ lis r4, __vt__Q24Game14InteractAttack@ha -/* 80292514 0028F454 38 05 A3 00 */ addi r0, r5, __vt__Q24Game11Interaction@l -/* 80292518 0028F458 C0 02 D6 DC */ lfs f0, lbl_8051BA3C@sda21(r2) -/* 8029251C 0028F45C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80292520 0028F460 38 A4 4D E0 */ addi r5, r4, __vt__Q24Game14InteractAttack@l -/* 80292524 0028F464 3C 80 80 4B */ lis r4, __vt__Q24Game15InteractSwallow@ha -/* 80292528 0028F468 38 00 00 00 */ li r0, 0 -/* 8029252C 0028F46C 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80292530 0028F470 38 A4 4D BC */ addi r5, r4, __vt__Q24Game15InteractSwallow@l -/* 80292534 0028F474 38 81 00 18 */ addi r4, r1, 0x18 -/* 80292538 0028F478 90 61 00 24 */ stw r3, 0x24(r1) -/* 8029253C 0028F47C 7F A3 EB 78 */ mr r3, r29 -/* 80292540 0028F480 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80292544 0028F484 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80292548 0028F488 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8029254C 0028F48C 90 01 00 28 */ stw r0, 0x28(r1) -/* 80292550 0028F490 81 9D 00 00 */ lwz r12, 0(r29) -/* 80292554 0028F494 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 80292558 0028F498 7D 89 03 A6 */ mtctr r12 -/* 8029255C 0028F49C 4E 80 04 21 */ bctrl -/* 80292560 0028F4A0 48 00 00 64 */ b lbl_802925C4 -lbl_80292564: -/* 80292564 0028F4A4 7F E3 FB 78 */ mr r3, r31 -/* 80292568 0028F4A8 7F C4 F3 78 */ mr r4, r30 -/* 8029256C 0028F4AC 48 00 1E C5 */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 80292570 0028F4B0 28 03 00 00 */ cmplwi r3, 0 -/* 80292574 0028F4B4 41 82 00 48 */ beq lbl_802925BC -/* 80292578 0028F4B8 80 DF 00 C0 */ lwz r6, 0xc0(r31) -/* 8029257C 0028F4BC 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha -/* 80292580 0028F4C0 3C 80 80 4B */ lis r4, __vt__Q24Game14InteractAttack@ha -/* 80292584 0028F4C4 38 00 00 00 */ li r0, 0 -/* 80292588 0028F4C8 C0 06 06 04 */ lfs f0, 0x604(r6) -/* 8029258C 0028F4CC 38 C5 A3 00 */ addi r6, r5, __vt__Q24Game11Interaction@l -/* 80292590 0028F4D0 38 A4 4D E0 */ addi r5, r4, __vt__Q24Game14InteractAttack@l -/* 80292594 0028F4D4 38 81 00 08 */ addi r4, r1, 8 -/* 80292598 0028F4D8 90 C1 00 08 */ stw r6, 8(r1) -/* 8029259C 0028F4DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802925A0 0028F4E0 90 A1 00 08 */ stw r5, 8(r1) -/* 802925A4 0028F4E4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802925A8 0028F4E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802925AC 0028F4EC 81 83 00 00 */ lwz r12, 0(r3) -/* 802925B0 0028F4F0 81 8C 01 A4 */ lwz r12, 0x1a4(r12) -/* 802925B4 0028F4F4 7D 89 03 A6 */ mtctr r12 -/* 802925B8 0028F4F8 4E 80 04 21 */ bctrl -lbl_802925BC: -/* 802925BC 0028F4FC 7F E3 FB 78 */ mr r3, r31 -/* 802925C0 0028F500 4B E7 2C E1 */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802925C4: -/* 802925C4 0028F504 7F E3 FB 78 */ mr r3, r31 -/* 802925C8 0028F508 48 00 28 BD */ bl returnJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 802925CC 0028F50C 48 00 01 B4 */ b lbl_80292780 -lbl_802925D0: -/* 802925D0 0028F510 28 00 00 04 */ cmplwi r0, 4 -/* 802925D4 0028F514 40 82 00 94 */ bne lbl_80292668 -/* 802925D8 0028F518 7F E3 FB 78 */ mr r3, r31 -/* 802925DC 0028F51C 4B E7 4D 25 */ bl isFinishMotion__Q24Game9EnemyBaseFv -/* 802925E0 0028F520 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802925E4 0028F524 40 82 00 78 */ bne lbl_8029265C -/* 802925E8 0028F528 7F E3 FB 78 */ mr r3, r31 -/* 802925EC 0028F52C 48 00 24 0D */ bl getSwallowSlot__Q34Game9SnakeCrow3ObjFv -/* 802925F0 0028F530 28 03 00 00 */ cmplwi r3, 0 -/* 802925F4 0028F534 41 82 00 68 */ beq lbl_8029265C -/* 802925F8 0028F538 7F E3 FB 78 */ mr r3, r31 -/* 802925FC 0028F53C 38 80 00 05 */ li r4, 5 -/* 80292600 0028F540 48 00 18 3D */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 80292604 0028F544 28 03 00 00 */ cmplwi r3, 0 -/* 80292608 0028F548 40 82 00 18 */ bne lbl_80292620 -/* 8029260C 0028F54C 7F E3 FB 78 */ mr r3, r31 -/* 80292610 0028F550 38 80 00 05 */ li r4, 5 -/* 80292614 0028F554 48 00 1E 1D */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 80292618 0028F558 28 03 00 00 */ cmplwi r3, 0 -/* 8029261C 0028F55C 41 82 00 34 */ beq lbl_80292650 -lbl_80292620: -/* 80292620 0028F560 80 9F 02 D4 */ lwz r4, 0x2d4(r31) -/* 80292624 0028F564 7F E3 FB 78 */ mr r3, r31 -/* 80292628 0028F568 38 A0 00 00 */ li r5, 0 -/* 8029262C 0028F56C 38 84 00 04 */ addi r4, r4, 4 -/* 80292630 0028F570 4B E7 29 D5 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80292634 0028F574 7F E3 FB 78 */ mr r3, r31 -/* 80292638 0028F578 4B E7 4C 41 */ bl getFirstKeyFrame__Q24Game9EnemyBaseFv -/* 8029263C 0028F57C 7F E3 FB 78 */ mr r3, r31 -/* 80292640 0028F580 4B E7 2B E9 */ bl setMotionFrame__Q24Game9EnemyBaseFf -/* 80292644 0028F584 7F E3 FB 78 */ mr r3, r31 -/* 80292648 0028F588 48 00 27 85 */ bl startJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 8029264C 0028F58C 48 00 01 34 */ b lbl_80292780 -lbl_80292650: -/* 80292650 0028F590 7F E3 FB 78 */ mr r3, r31 -/* 80292654 0028F594 48 00 28 B9 */ bl finishJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 80292658 0028F598 48 00 01 28 */ b lbl_80292780 -lbl_8029265C: -/* 8029265C 0028F59C 7F E3 FB 78 */ mr r3, r31 -/* 80292660 0028F5A0 48 00 28 AD */ bl finishJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 80292664 0028F5A4 48 00 01 1C */ b lbl_80292780 -lbl_80292668: -/* 80292668 0028F5A8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8029266C 0028F5AC 40 82 01 14 */ bne lbl_80292780 -/* 80292670 0028F5B0 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80292674 0028F5B4 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80292678 0028F5B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029267C 0028F5BC 4C 40 13 82 */ cror 2, 0, 2 -/* 80292680 0028F5C0 40 82 00 28 */ bne lbl_802926A8 -/* 80292684 0028F5C4 7F A3 EB 78 */ mr r3, r29 -/* 80292688 0028F5C8 7F E4 FB 78 */ mr r4, r31 -/* 8029268C 0028F5CC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80292690 0028F5D0 38 A0 00 00 */ li r5, 0 -/* 80292694 0028F5D4 38 C0 00 00 */ li r6, 0 -/* 80292698 0028F5D8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029269C 0028F5DC 7D 89 03 A6 */ mtctr r12 -/* 802926A0 0028F5E0 4E 80 04 21 */ bctrl -/* 802926A4 0028F5E4 48 00 00 DC */ b lbl_80292780 -lbl_802926A8: -/* 802926A8 0028F5E8 7F E3 FB 78 */ mr r3, r31 -/* 802926AC 0028F5EC 48 00 23 B5 */ bl isSwallowPikmin__Q34Game9SnakeCrow3ObjFv -/* 802926B0 0028F5F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802926B4 0028F5F4 41 82 00 28 */ beq lbl_802926DC -/* 802926B8 0028F5F8 7F A3 EB 78 */ mr r3, r29 -/* 802926BC 0028F5FC 7F E4 FB 78 */ mr r4, r31 -/* 802926C0 0028F600 81 9D 00 00 */ lwz r12, 0(r29) -/* 802926C4 0028F604 38 A0 00 07 */ li r5, 7 -/* 802926C8 0028F608 38 C0 00 00 */ li r6, 0 -/* 802926CC 0028F60C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802926D0 0028F610 7D 89 03 A6 */ mtctr r12 -/* 802926D4 0028F614 4E 80 04 21 */ bctrl -/* 802926D8 0028F618 48 00 00 A8 */ b lbl_80292780 -lbl_802926DC: -/* 802926DC 0028F61C 7F E3 FB 78 */ mr r3, r31 -/* 802926E0 0028F620 38 80 00 00 */ li r4, 0 -/* 802926E4 0028F624 4B E8 1F 75 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 802926E8 0028F628 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802926EC 0028F62C 41 82 00 28 */ beq lbl_80292714 -/* 802926F0 0028F630 7F A3 EB 78 */ mr r3, r29 -/* 802926F4 0028F634 7F E4 FB 78 */ mr r4, r31 -/* 802926F8 0028F638 81 9D 00 00 */ lwz r12, 0(r29) -/* 802926FC 0028F63C 38 A0 00 04 */ li r5, 4 -/* 80292700 0028F640 38 C0 00 00 */ li r6, 0 -/* 80292704 0028F644 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292708 0028F648 7D 89 03 A6 */ mtctr r12 -/* 8029270C 0028F64C 4E 80 04 21 */ bctrl -/* 80292710 0028F650 48 00 00 70 */ b lbl_80292780 -lbl_80292714: -/* 80292714 0028F654 7F E3 FB 78 */ mr r3, r31 -/* 80292718 0028F658 38 80 00 05 */ li r4, 5 -/* 8029271C 0028F65C 48 00 17 21 */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 80292720 0028F660 28 03 00 00 */ cmplwi r3, 0 -/* 80292724 0028F664 40 82 00 18 */ bne lbl_8029273C -/* 80292728 0028F668 7F E3 FB 78 */ mr r3, r31 -/* 8029272C 0028F66C 38 80 00 05 */ li r4, 5 -/* 80292730 0028F670 48 00 1D 01 */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 80292734 0028F674 28 03 00 00 */ cmplwi r3, 0 -/* 80292738 0028F678 41 82 00 28 */ beq lbl_80292760 -lbl_8029273C: -/* 8029273C 0028F67C 7F A3 EB 78 */ mr r3, r29 -/* 80292740 0028F680 7F E4 FB 78 */ mr r4, r31 -/* 80292744 0028F684 81 9D 00 00 */ lwz r12, 0(r29) -/* 80292748 0028F688 38 A0 00 06 */ li r5, 6 -/* 8029274C 0028F68C 38 C0 00 00 */ li r6, 0 -/* 80292750 0028F690 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292754 0028F694 7D 89 03 A6 */ mtctr r12 -/* 80292758 0028F698 4E 80 04 21 */ bctrl -/* 8029275C 0028F69C 48 00 00 24 */ b lbl_80292780 -lbl_80292760: -/* 80292760 0028F6A0 7F A3 EB 78 */ mr r3, r29 -/* 80292764 0028F6A4 7F E4 FB 78 */ mr r4, r31 -/* 80292768 0028F6A8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8029276C 0028F6AC 38 A0 00 05 */ li r5, 5 -/* 80292770 0028F6B0 38 C0 00 00 */ li r6, 0 -/* 80292774 0028F6B4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292778 0028F6B8 7D 89 03 A6 */ mtctr r12 -/* 8029277C 0028F6BC 4E 80 04 21 */ bctrl -lbl_80292780: -/* 80292780 0028F6C0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80292784 0028F6C4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80292788 0028F6C8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8029278C 0028F6CC 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80292790 0028F6D0 7C 08 03 A6 */ mtlr r0 -/* 80292794 0028F6D4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80292798 0028F6D8 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow11StateAttackFPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow11StateAttackFPQ24Game9EnemyBase: -/* 8029279C 0028F6DC 80 04 01 E0 */ lwz r0, 0x1e0(r4) -/* 802927A0 0028F6E0 60 00 00 40 */ ori r0, r0, 0x40 -/* 802927A4 0028F6E4 90 04 01 E0 */ stw r0, 0x1e0(r4) -/* 802927A8 0028F6E8 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow8StateEatFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow8StateEatFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 802927AC 0028F6EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802927B0 0028F6F0 7C 08 02 A6 */ mflr r0 -/* 802927B4 0028F6F4 7C 83 23 78 */ mr r3, r4 -/* 802927B8 0028F6F8 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 802927BC 0028F6FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802927C0 0028F700 38 80 00 0A */ li r4, 0xa -/* 802927C4 0028F704 38 A0 00 00 */ li r5, 0 -/* 802927C8 0028F708 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 802927CC 0028F70C D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 802927D0 0028F710 D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 802927D4 0028F714 4B E7 28 31 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 802927D8 0028F718 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802927DC 0028F71C 7C 08 03 A6 */ mtlr r0 -/* 802927E0 0028F720 38 21 00 10 */ addi r1, r1, 0x10 -/* 802927E4 0028F724 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow8StateEatFPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow8StateEatFPQ24Game9EnemyBase: -/* 802927E8 0028F728 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802927EC 0028F72C 7C 08 02 A6 */ mflr r0 -/* 802927F0 0028F730 90 01 00 14 */ stw r0, 0x14(r1) -/* 802927F4 0028F734 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802927F8 0028F738 7C 9F 23 78 */ mr r31, r4 -/* 802927FC 0028F73C 93 C1 00 08 */ stw r30, 8(r1) -/* 80292800 0028F740 7C 7E 1B 78 */ mr r30, r3 -/* 80292804 0028F744 80 A4 01 88 */ lwz r5, 0x188(r4) -/* 80292808 0028F748 88 05 00 24 */ lbz r0, 0x24(r5) -/* 8029280C 0028F74C 28 00 00 00 */ cmplwi r0, 0 -/* 80292810 0028F750 41 82 01 38 */ beq lbl_80292948 -/* 80292814 0028F754 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80292818 0028F758 28 00 00 02 */ cmplwi r0, 2 -/* 8029281C 0028F75C 40 82 00 1C */ bne lbl_80292838 -/* 80292820 0028F760 80 BF 00 C0 */ lwz r5, 0xc0(r31) -/* 80292824 0028F764 7F E3 FB 78 */ mr r3, r31 -/* 80292828 0028F768 38 80 00 00 */ li r4, 0 -/* 8029282C 0028F76C C0 25 08 94 */ lfs f1, 0x894(r5) -/* 80292830 0028F770 4B E8 16 55 */ bl swallowPikmin__Q24Game9EnemyFuncFPQ24Game8CreaturefP23Condition$$0Q24Game4Piki$$1 -/* 80292834 0028F774 48 00 01 14 */ b lbl_80292948 -lbl_80292838: -/* 80292838 0028F778 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8029283C 0028F77C 40 82 01 0C */ bne lbl_80292948 -/* 80292840 0028F780 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80292844 0028F784 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80292848 0028F788 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8029284C 0028F78C 4C 40 13 82 */ cror 2, 0, 2 -/* 80292850 0028F790 40 82 00 20 */ bne lbl_80292870 -/* 80292854 0028F794 81 83 00 00 */ lwz r12, 0(r3) -/* 80292858 0028F798 38 A0 00 00 */ li r5, 0 -/* 8029285C 0028F79C 38 C0 00 00 */ li r6, 0 -/* 80292860 0028F7A0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292864 0028F7A4 7D 89 03 A6 */ mtctr r12 -/* 80292868 0028F7A8 4E 80 04 21 */ bctrl -/* 8029286C 0028F7AC 48 00 00 DC */ b lbl_80292948 -lbl_80292870: -/* 80292870 0028F7B0 7F E3 FB 78 */ mr r3, r31 -/* 80292874 0028F7B4 38 80 00 00 */ li r4, 0 -/* 80292878 0028F7B8 4B E8 1D E1 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 8029287C 0028F7BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80292880 0028F7C0 41 82 00 28 */ beq lbl_802928A8 -/* 80292884 0028F7C4 7F C3 F3 78 */ mr r3, r30 -/* 80292888 0028F7C8 7F E4 FB 78 */ mr r4, r31 -/* 8029288C 0028F7CC 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292890 0028F7D0 38 A0 00 04 */ li r5, 4 -/* 80292894 0028F7D4 38 C0 00 00 */ li r6, 0 -/* 80292898 0028F7D8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029289C 0028F7DC 7D 89 03 A6 */ mtctr r12 -/* 802928A0 0028F7E0 4E 80 04 21 */ bctrl -/* 802928A4 0028F7E4 48 00 00 A4 */ b lbl_80292948 -lbl_802928A8: -/* 802928A8 0028F7E8 7F E3 FB 78 */ mr r3, r31 -/* 802928AC 0028F7EC 38 80 00 05 */ li r4, 5 -/* 802928B0 0028F7F0 48 00 15 8D */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 802928B4 0028F7F4 28 03 00 00 */ cmplwi r3, 0 -/* 802928B8 0028F7F8 40 82 00 18 */ bne lbl_802928D0 -/* 802928BC 0028F7FC 7F E3 FB 78 */ mr r3, r31 -/* 802928C0 0028F800 38 80 00 05 */ li r4, 5 -/* 802928C4 0028F804 48 00 1B 6D */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 802928C8 0028F808 28 03 00 00 */ cmplwi r3, 0 -/* 802928CC 0028F80C 41 82 00 5C */ beq lbl_80292928 -lbl_802928D0: -/* 802928D0 0028F810 7F E3 FB 78 */ mr r3, r31 -/* 802928D4 0028F814 48 00 21 F9 */ bl getStickHeadPikmin__Q34Game9SnakeCrow3ObjFv -/* 802928D8 0028F818 2C 03 00 00 */ cmpwi r3, 0 -/* 802928DC 0028F81C 41 82 00 28 */ beq lbl_80292904 -/* 802928E0 0028F820 7F C3 F3 78 */ mr r3, r30 -/* 802928E4 0028F824 7F E4 FB 78 */ mr r4, r31 -/* 802928E8 0028F828 81 9E 00 00 */ lwz r12, 0(r30) -/* 802928EC 0028F82C 38 A0 00 08 */ li r5, 8 -/* 802928F0 0028F830 38 C0 00 00 */ li r6, 0 -/* 802928F4 0028F834 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802928F8 0028F838 7D 89 03 A6 */ mtctr r12 -/* 802928FC 0028F83C 4E 80 04 21 */ bctrl -/* 80292900 0028F840 48 00 00 48 */ b lbl_80292948 -lbl_80292904: -/* 80292904 0028F844 7F C3 F3 78 */ mr r3, r30 -/* 80292908 0028F848 7F E4 FB 78 */ mr r4, r31 -/* 8029290C 0028F84C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292910 0028F850 38 A0 00 06 */ li r5, 6 -/* 80292914 0028F854 38 C0 00 00 */ li r6, 0 -/* 80292918 0028F858 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029291C 0028F85C 7D 89 03 A6 */ mtctr r12 -/* 80292920 0028F860 4E 80 04 21 */ bctrl -/* 80292924 0028F864 48 00 00 24 */ b lbl_80292948 -lbl_80292928: -/* 80292928 0028F868 7F C3 F3 78 */ mr r3, r30 -/* 8029292C 0028F86C 7F E4 FB 78 */ mr r4, r31 -/* 80292930 0028F870 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292934 0028F874 38 A0 00 05 */ li r5, 5 -/* 80292938 0028F878 38 C0 00 00 */ li r6, 0 -/* 8029293C 0028F87C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292940 0028F880 7D 89 03 A6 */ mtctr r12 -/* 80292944 0028F884 4E 80 04 21 */ bctrl -lbl_80292948: -/* 80292948 0028F888 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029294C 0028F88C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292950 0028F890 83 C1 00 08 */ lwz r30, 8(r1) -/* 80292954 0028F894 7C 08 03 A6 */ mtlr r0 -/* 80292958 0028F898 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029295C 0028F89C 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow8StateEatFPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow8StateEatFPQ24Game9EnemyBase: -/* 80292960 0028F8A0 4E 80 00 20 */ blr - -.global init__Q34Game9SnakeCrow13StateStruggleFPQ24Game9EnemyBasePQ24Game8StateArg -init__Q34Game9SnakeCrow13StateStruggleFPQ24Game9EnemyBasePQ24Game8StateArg: -/* 80292964 0028F8A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292968 0028F8A8 7C 08 02 A6 */ mflr r0 -/* 8029296C 0028F8AC 7C 83 23 78 */ mr r3, r4 -/* 80292970 0028F8B0 C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80292974 0028F8B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292978 0028F8B8 38 80 00 0B */ li r4, 0xb -/* 8029297C 0028F8BC 38 A0 00 00 */ li r5, 0 -/* 80292980 0028F8C0 D0 03 02 C4 */ stfs f0, 0x2c4(r3) -/* 80292984 0028F8C4 D0 03 01 D4 */ stfs f0, 0x1d4(r3) -/* 80292988 0028F8C8 D0 03 01 D8 */ stfs f0, 0x1d8(r3) -/* 8029298C 0028F8CC D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80292990 0028F8D0 4B E7 26 75 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 80292994 0028F8D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292998 0028F8D8 7C 08 03 A6 */ mtlr r0 -/* 8029299C 0028F8DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802929A0 0028F8E0 4E 80 00 20 */ blr - -.global exec__Q34Game9SnakeCrow13StateStruggleFPQ24Game9EnemyBase -exec__Q34Game9SnakeCrow13StateStruggleFPQ24Game9EnemyBase: -/* 802929A4 0028F8E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802929A8 0028F8E8 7C 08 02 A6 */ mflr r0 -/* 802929AC 0028F8EC C0 02 D7 04 */ lfs f0, lbl_8051BA64@sda21(r2) -/* 802929B0 0028F8F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 802929B4 0028F8F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802929B8 0028F8F8 7C 9F 23 78 */ mr r31, r4 -/* 802929BC 0028F8FC 93 C1 00 08 */ stw r30, 8(r1) -/* 802929C0 0028F900 7C 7E 1B 78 */ mr r30, r3 -/* 802929C4 0028F904 C0 24 02 C4 */ lfs f1, 0x2c4(r4) -/* 802929C8 0028F908 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802929CC 0028F90C 40 81 00 0C */ ble lbl_802929D8 -/* 802929D0 0028F910 7F E3 FB 78 */ mr r3, r31 -/* 802929D4 0028F914 4B E7 28 CD */ bl finishMotion__Q24Game9EnemyBaseFv -lbl_802929D8: -/* 802929D8 0028F918 80 6D 9A EC */ lwz r3, sys@sda21(r13) -/* 802929DC 0028F91C C0 3F 02 C4 */ lfs f1, 0x2c4(r31) -/* 802929E0 0028F920 C0 03 00 54 */ lfs f0, 0x54(r3) -/* 802929E4 0028F924 EC 01 00 2A */ fadds f0, f1, f0 -/* 802929E8 0028F928 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 802929EC 0028F92C 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 802929F0 0028F930 88 03 00 24 */ lbz r0, 0x24(r3) -/* 802929F4 0028F934 28 00 00 00 */ cmplwi r0, 0 -/* 802929F8 0028F938 41 82 00 EC */ beq lbl_80292AE4 -/* 802929FC 0028F93C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80292A00 0028F940 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80292A04 0028F944 40 82 00 E0 */ bne lbl_80292AE4 -/* 80292A08 0028F948 C0 3F 02 00 */ lfs f1, 0x200(r31) -/* 80292A0C 0028F94C C0 02 D6 CC */ lfs f0, lbl_8051BA2C@sda21(r2) -/* 80292A10 0028F950 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80292A14 0028F954 4C 40 13 82 */ cror 2, 0, 2 -/* 80292A18 0028F958 40 82 00 28 */ bne lbl_80292A40 -/* 80292A1C 0028F95C 7F C3 F3 78 */ mr r3, r30 -/* 80292A20 0028F960 7F E4 FB 78 */ mr r4, r31 -/* 80292A24 0028F964 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292A28 0028F968 38 A0 00 00 */ li r5, 0 -/* 80292A2C 0028F96C 38 C0 00 00 */ li r6, 0 -/* 80292A30 0028F970 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292A34 0028F974 7D 89 03 A6 */ mtctr r12 -/* 80292A38 0028F978 4E 80 04 21 */ bctrl -/* 80292A3C 0028F97C 48 00 00 A8 */ b lbl_80292AE4 -lbl_80292A40: -/* 80292A40 0028F980 7F E3 FB 78 */ mr r3, r31 -/* 80292A44 0028F984 38 80 00 00 */ li r4, 0 -/* 80292A48 0028F988 4B E8 1C 11 */ bl isStartFlick__Q24Game9EnemyFuncFPQ24Game9EnemyBaseb -/* 80292A4C 0028F98C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80292A50 0028F990 41 82 00 28 */ beq lbl_80292A78 -/* 80292A54 0028F994 7F C3 F3 78 */ mr r3, r30 -/* 80292A58 0028F998 7F E4 FB 78 */ mr r4, r31 -/* 80292A5C 0028F99C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292A60 0028F9A0 38 A0 00 04 */ li r5, 4 -/* 80292A64 0028F9A4 38 C0 00 00 */ li r6, 0 -/* 80292A68 0028F9A8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292A6C 0028F9AC 7D 89 03 A6 */ mtctr r12 -/* 80292A70 0028F9B0 4E 80 04 21 */ bctrl -/* 80292A74 0028F9B4 48 00 00 70 */ b lbl_80292AE4 -lbl_80292A78: -/* 80292A78 0028F9B8 7F E3 FB 78 */ mr r3, r31 -/* 80292A7C 0028F9BC 38 80 00 05 */ li r4, 5 -/* 80292A80 0028F9C0 48 00 13 BD */ bl getAttackPiki__Q34Game9SnakeCrow3ObjFi -/* 80292A84 0028F9C4 28 03 00 00 */ cmplwi r3, 0 -/* 80292A88 0028F9C8 40 82 00 18 */ bne lbl_80292AA0 -/* 80292A8C 0028F9CC 7F E3 FB 78 */ mr r3, r31 -/* 80292A90 0028F9D0 38 80 00 05 */ li r4, 5 -/* 80292A94 0028F9D4 48 00 19 9D */ bl getAttackNavi__Q34Game9SnakeCrow3ObjFi -/* 80292A98 0028F9D8 28 03 00 00 */ cmplwi r3, 0 -/* 80292A9C 0028F9DC 41 82 00 28 */ beq lbl_80292AC4 -lbl_80292AA0: -/* 80292AA0 0028F9E0 7F C3 F3 78 */ mr r3, r30 -/* 80292AA4 0028F9E4 7F E4 FB 78 */ mr r4, r31 -/* 80292AA8 0028F9E8 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292AAC 0028F9EC 38 A0 00 06 */ li r5, 6 -/* 80292AB0 0028F9F0 38 C0 00 00 */ li r6, 0 -/* 80292AB4 0028F9F4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292AB8 0028F9F8 7D 89 03 A6 */ mtctr r12 -/* 80292ABC 0028F9FC 4E 80 04 21 */ bctrl -/* 80292AC0 0028FA00 48 00 00 24 */ b lbl_80292AE4 -lbl_80292AC4: -/* 80292AC4 0028FA04 7F C3 F3 78 */ mr r3, r30 -/* 80292AC8 0028FA08 7F E4 FB 78 */ mr r4, r31 -/* 80292ACC 0028FA0C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80292AD0 0028FA10 38 A0 00 05 */ li r5, 5 -/* 80292AD4 0028FA14 38 C0 00 00 */ li r6, 0 -/* 80292AD8 0028FA18 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80292ADC 0028FA1C 7D 89 03 A6 */ mtctr r12 -/* 80292AE0 0028FA20 4E 80 04 21 */ bctrl -lbl_80292AE4: -/* 80292AE4 0028FA24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292AE8 0028FA28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292AEC 0028FA2C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80292AF0 0028FA30 7C 08 03 A6 */ mtlr r0 -/* 80292AF4 0028FA34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292AF8 0028FA38 4E 80 00 20 */ blr - -.global cleanup__Q34Game9SnakeCrow13StateStruggleFPQ24Game9EnemyBase -cleanup__Q34Game9SnakeCrow13StateStruggleFPQ24Game9EnemyBase: -/* 80292AFC 0028FA3C 4E 80 00 20 */ blr - -.global __sinit_SnakeCrowState_cpp -__sinit_SnakeCrowState_cpp: -/* 80292B00 0028FA40 3C 80 80 51 */ lis r4, __float_nan@ha -/* 80292B04 0028FA44 38 00 FF FF */ li r0, -1 -/* 80292B08 0028FA48 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 80292B0C 0028FA4C 3C 60 80 4D */ lis r3, lbl_804CB2A8@ha -/* 80292B10 0028FA50 90 0D 96 D8 */ stw r0, lbl_80515D58@sda21(r13) -/* 80292B14 0028FA54 D4 03 B2 A8 */ stfsu f0, lbl_804CB2A8@l(r3) -/* 80292B18 0028FA58 D0 0D 96 DC */ stfs f0, lbl_80515D5C@sda21(r13) -/* 80292B1C 0028FA5C D0 03 00 04 */ stfs f0, 4(r3) -/* 80292B20 0028FA60 D0 03 00 08 */ stfs f0, 8(r3) -/* 80292B24 0028FA64 4E 80 00 20 */ blr - -.global setAnimMgr__Q34Game9SnakeCrow14ProperAnimatorFPQ28SysShape7AnimMgr -setAnimMgr__Q34Game9SnakeCrow14ProperAnimatorFPQ28SysShape7AnimMgr: -/* 80292B28 0028FA68 90 83 00 20 */ stw r4, 0x20(r3) -/* 80292B2C 0028FA6C 4E 80 00 20 */ blr - -.global getAnimator__Q34Game9SnakeCrow14ProperAnimatorFi -getAnimator__Q34Game9SnakeCrow14ProperAnimatorFi: -/* 80292B30 0028FA70 38 63 00 10 */ addi r3, r3, 0x10 -/* 80292B34 0028FA74 4E 80 00 20 */ blr - -.global __dt__Q34Game9SnakeCrow14ProperAnimatorFv -__dt__Q34Game9SnakeCrow14ProperAnimatorFv: -/* 80292B38 0028FA78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292B3C 0028FA7C 7C 08 02 A6 */ mflr r0 -/* 80292B40 0028FA80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292B44 0028FA84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292B48 0028FA88 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80292B4C 0028FA8C 41 82 00 30 */ beq lbl_80292B7C -/* 80292B50 0028FA90 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow14ProperAnimator@ha -/* 80292B54 0028FA94 38 03 B4 58 */ addi r0, r3, __vt__Q34Game9SnakeCrow14ProperAnimator@l -/* 80292B58 0028FA98 90 1F 00 00 */ stw r0, 0(r31) -/* 80292B5C 0028FA9C 41 82 00 10 */ beq lbl_80292B6C -/* 80292B60 0028FAA0 3C 60 80 4B */ lis r3, __vt__Q24Game17EnemyAnimatorBase@ha -/* 80292B64 0028FAA4 38 03 DC 58 */ addi r0, r3, __vt__Q24Game17EnemyAnimatorBase@l -/* 80292B68 0028FAA8 90 1F 00 00 */ stw r0, 0(r31) -lbl_80292B6C: -/* 80292B6C 0028FAAC 7C 80 07 35 */ extsh. r0, r4 -/* 80292B70 0028FAB0 40 81 00 0C */ ble lbl_80292B7C -/* 80292B74 0028FAB4 7F E3 FB 78 */ mr r3, r31 -/* 80292B78 0028FAB8 4B D9 15 3D */ bl __dl__FPv -lbl_80292B7C: -/* 80292B7C 0028FABC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292B80 0028FAC0 7F E3 FB 78 */ mr r3, r31 -/* 80292B84 0028FAC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292B88 0028FAC8 7C 08 03 A6 */ mtlr r0 -/* 80292B8C 0028FACC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292B90 0028FAD0 4E 80 00 20 */ blr - -.global getAnimator__Q34Game9SnakeCrow14ProperAnimatorFv -getAnimator__Q34Game9SnakeCrow14ProperAnimatorFv: -/* 80292B94 0028FAD4 38 63 00 10 */ addi r3, r3, 0x10 -/* 80292B98 0028FAD8 4E 80 00 20 */ blr - -.global __ct__Q34Game9SnakeCrow3MgrFiUc -__ct__Q34Game9SnakeCrow3MgrFiUc: -/* 80292B9C 0028FADC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292BA0 0028FAE0 7C 08 02 A6 */ mflr r0 -/* 80292BA4 0028FAE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292BA8 0028FAE8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292BAC 0028FAEC 7C 7F 1B 78 */ mr r31, r3 -/* 80292BB0 0028FAF0 4B E9 C0 E5 */ bl __ct__Q24Game12EnemyMgrBaseFiUc -/* 80292BB4 0028FAF4 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow3Mgr@ha -/* 80292BB8 0028FAF8 3C 80 80 49 */ lis r4, lbl_80488404@ha -/* 80292BBC 0028FAFC 38 A3 B4 80 */ addi r5, r3, __vt__Q34Game9SnakeCrow3Mgr@l -/* 80292BC0 0028FB00 7F E3 FB 78 */ mr r3, r31 -/* 80292BC4 0028FB04 90 BF 00 00 */ stw r5, 0(r31) -/* 80292BC8 0028FB08 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80292BCC 0028FB0C 38 04 84 04 */ addi r0, r4, lbl_80488404@l -/* 80292BD0 0028FB10 90 BF 00 04 */ stw r5, 4(r31) -/* 80292BD4 0028FB14 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80292BD8 0028FB18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292BDC 0028FB1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292BE0 0028FB20 7C 08 03 A6 */ mtlr r0 -/* 80292BE4 0028FB24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292BE8 0028FB28 4E 80 00 20 */ blr - -.global doAlloc__Q34Game9SnakeCrow3MgrFv -doAlloc__Q34Game9SnakeCrow3MgrFv: -/* 80292BEC 0028FB2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292BF0 0028FB30 7C 08 02 A6 */ mflr r0 -/* 80292BF4 0028FB34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292BF8 0028FB38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292BFC 0028FB3C 7C 7F 1B 78 */ mr r31, r3 -/* 80292C00 0028FB40 38 60 08 D0 */ li r3, 0x8d0 -/* 80292C04 0028FB44 4B D9 12 A1 */ bl __nw__FUl -/* 80292C08 0028FB48 7C 64 1B 79 */ or. r4, r3, r3 -/* 80292C0C 0028FB4C 41 82 00 0C */ beq lbl_80292C18 -/* 80292C10 0028FB50 48 00 00 25 */ bl __ct__Q34Game9SnakeCrow5ParmsFv -/* 80292C14 0028FB54 7C 64 1B 78 */ mr r4, r3 -lbl_80292C18: -/* 80292C18 0028FB58 7F E3 FB 78 */ mr r3, r31 -/* 80292C1C 0028FB5C 4B E9 CC 81 */ bl init__Q24Game12EnemyMgrBaseFPQ24Game14EnemyParmsBase -/* 80292C20 0028FB60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292C24 0028FB64 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292C28 0028FB68 7C 08 03 A6 */ mtlr r0 -/* 80292C2C 0028FB6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292C30 0028FB70 4E 80 00 20 */ blr - -.global __ct__Q34Game9SnakeCrow5ParmsFv -__ct__Q34Game9SnakeCrow5ParmsFv: -/* 80292C34 0028FB74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292C38 0028FB78 7C 08 02 A6 */ mflr r0 -/* 80292C3C 0028FB7C 3C 80 80 49 */ lis r4, lbl_804883F0@ha -/* 80292C40 0028FB80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292C44 0028FB84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292C48 0028FB88 3B E4 83 F0 */ addi r31, r4, lbl_804883F0@l -/* 80292C4C 0028FB8C 93 C1 00 08 */ stw r30, 8(r1) -/* 80292C50 0028FB90 7C 7E 1B 78 */ mr r30, r3 -/* 80292C54 0028FB94 4B E7 6B 49 */ bl __ct__Q24Game14EnemyParmsBaseFv -/* 80292C58 0028FB98 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow5Parms@ha -/* 80292C5C 0028FB9C 3C A0 66 70 */ lis r5, 0x66703031@ha -/* 80292C60 0028FBA0 38 03 B5 60 */ addi r0, r3, __vt__Q34Game9SnakeCrow5Parms@l -/* 80292C64 0028FBA4 38 9E 08 CC */ addi r4, r30, 0x8cc -/* 80292C68 0028FBA8 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 80292C6C 0028FBAC 38 E0 00 00 */ li r7, 0 -/* 80292C70 0028FBB0 38 1F 00 2C */ addi r0, r31, 0x2c -/* 80292C74 0028FBB4 38 7E 08 04 */ addi r3, r30, 0x804 -/* 80292C78 0028FBB8 90 9E 07 F8 */ stw r4, 0x7f8(r30) -/* 80292C7C 0028FBBC 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80292C80 0028FBC0 38 A5 30 31 */ addi r5, r5, 0x66703031@l -/* 80292C84 0028FBC4 38 DF 00 3C */ addi r6, r31, 0x3c -/* 80292C88 0028FBC8 90 FE 07 FC */ stw r7, 0x7fc(r30) -/* 80292C8C 0028FBCC 90 1E 08 00 */ stw r0, 0x800(r30) -/* 80292C90 0028FBD0 48 18 09 C9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80292C94 0028FBD4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80292C98 0028FBD8 3C A0 66 70 */ lis r5, 0x66703131@ha -/* 80292C9C 0028FBDC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80292CA0 0028FBE0 C0 02 D7 08 */ lfs f0, lbl_8051BA68@sda21(r2) -/* 80292CA4 0028FBE4 90 1E 08 04 */ stw r0, 0x804(r30) -/* 80292CA8 0028FBE8 38 7E 08 2C */ addi r3, r30, 0x82c -/* 80292CAC 0028FBEC C0 22 D7 0C */ lfs f1, lbl_8051BA6C@sda21(r2) -/* 80292CB0 0028FBF0 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80292CB4 0028FBF4 D0 1E 08 1C */ stfs f0, 0x81c(r30) -/* 80292CB8 0028FBF8 38 A5 31 31 */ addi r5, r5, 0x66703131@l -/* 80292CBC 0028FBFC C0 02 D7 10 */ lfs f0, lbl_8051BA70@sda21(r2) -/* 80292CC0 0028FC00 38 DF 00 48 */ addi r6, r31, 0x48 -/* 80292CC4 0028FC04 D0 3E 08 24 */ stfs f1, 0x824(r30) -/* 80292CC8 0028FC08 D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 80292CCC 0028FC0C 48 18 09 8D */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80292CD0 0028FC10 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80292CD4 0028FC14 3C A0 66 70 */ lis r5, 0x66703132@ha -/* 80292CD8 0028FC18 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80292CDC 0028FC1C C0 02 D7 14 */ lfs f0, lbl_8051BA74@sda21(r2) -/* 80292CE0 0028FC20 90 1E 08 2C */ stw r0, 0x82c(r30) -/* 80292CE4 0028FC24 38 7E 08 54 */ addi r3, r30, 0x854 -/* 80292CE8 0028FC28 C0 22 D7 0C */ lfs f1, lbl_8051BA6C@sda21(r2) -/* 80292CEC 0028FC2C 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80292CF0 0028FC30 D0 1E 08 44 */ stfs f0, 0x844(r30) -/* 80292CF4 0028FC34 38 A5 31 32 */ addi r5, r5, 0x66703132@l -/* 80292CF8 0028FC38 C0 02 D7 18 */ lfs f0, lbl_8051BA78@sda21(r2) -/* 80292CFC 0028FC3C 38 DF 00 58 */ addi r6, r31, 0x58 -/* 80292D00 0028FC40 D0 3E 08 4C */ stfs f1, 0x84c(r30) -/* 80292D04 0028FC44 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 80292D08 0028FC48 48 18 09 51 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80292D0C 0028FC4C 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80292D10 0028FC50 3C A0 66 70 */ lis r5, 0x66703231@ha -/* 80292D14 0028FC54 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80292D18 0028FC58 C0 02 D7 10 */ lfs f0, lbl_8051BA70@sda21(r2) -/* 80292D1C 0028FC5C 90 1E 08 54 */ stw r0, 0x854(r30) -/* 80292D20 0028FC60 38 7E 08 7C */ addi r3, r30, 0x87c -/* 80292D24 0028FC64 C0 22 D7 0C */ lfs f1, lbl_8051BA6C@sda21(r2) -/* 80292D28 0028FC68 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80292D2C 0028FC6C D0 1E 08 6C */ stfs f0, 0x86c(r30) -/* 80292D30 0028FC70 38 A5 32 31 */ addi r5, r5, 0x66703231@l -/* 80292D34 0028FC74 C0 02 D7 18 */ lfs f0, lbl_8051BA78@sda21(r2) -/* 80292D38 0028FC78 38 DF 00 68 */ addi r6, r31, 0x68 -/* 80292D3C 0028FC7C D0 3E 08 74 */ stfs f1, 0x874(r30) -/* 80292D40 0028FC80 D0 1E 08 78 */ stfs f0, 0x878(r30) -/* 80292D44 0028FC84 48 18 09 15 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80292D48 0028FC88 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80292D4C 0028FC8C 3C A0 66 70 */ lis r5, 0x66703331@ha -/* 80292D50 0028FC90 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80292D54 0028FC94 C0 02 D7 1C */ lfs f0, lbl_8051BA7C@sda21(r2) -/* 80292D58 0028FC98 90 1E 08 7C */ stw r0, 0x87c(r30) -/* 80292D5C 0028FC9C 38 7E 08 A4 */ addi r3, r30, 0x8a4 -/* 80292D60 0028FCA0 C0 22 D7 0C */ lfs f1, lbl_8051BA6C@sda21(r2) -/* 80292D64 0028FCA4 38 9E 07 F8 */ addi r4, r30, 0x7f8 -/* 80292D68 0028FCA8 D0 1E 08 94 */ stfs f0, 0x894(r30) -/* 80292D6C 0028FCAC 38 A5 33 31 */ addi r5, r5, 0x66703331@l -/* 80292D70 0028FCB0 C0 02 D7 20 */ lfs f0, lbl_8051BA80@sda21(r2) -/* 80292D74 0028FCB4 38 DF 00 74 */ addi r6, r31, 0x74 -/* 80292D78 0028FCB8 D0 3E 08 9C */ stfs f1, 0x89c(r30) -/* 80292D7C 0028FCBC D0 1E 08 A0 */ stfs f0, 0x8a0(r30) -/* 80292D80 0028FCC0 48 18 08 D9 */ bl __ct__8BaseParmFP10ParametersUlPc -/* 80292D84 0028FCC4 3C 60 80 4B */ lis r3, __vt__7Parm$$0f$$1@ha -/* 80292D88 0028FCC8 C0 42 D7 24 */ lfs f2, lbl_8051BA84@sda21(r2) -/* 80292D8C 0028FCCC 38 03 AC BC */ addi r0, r3, __vt__7Parm$$0f$$1@l -/* 80292D90 0028FCD0 C0 22 D7 0C */ lfs f1, lbl_8051BA6C@sda21(r2) -/* 80292D94 0028FCD4 90 1E 08 A4 */ stw r0, 0x8a4(r30) -/* 80292D98 0028FCD8 7F C3 F3 78 */ mr r3, r30 -/* 80292D9C 0028FCDC C0 02 D7 28 */ lfs f0, lbl_8051BA88@sda21(r2) -/* 80292DA0 0028FCE0 D0 5E 08 BC */ stfs f2, 0x8bc(r30) -/* 80292DA4 0028FCE4 D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 80292DA8 0028FCE8 D0 1E 08 C8 */ stfs f0, 0x8c8(r30) -/* 80292DAC 0028FCEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292DB0 0028FCF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80292DB4 0028FCF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292DB8 0028FCF8 7C 08 03 A6 */ mtlr r0 -/* 80292DBC 0028FCFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292DC0 0028FD00 4E 80 00 20 */ blr - -.global createObj__Q34Game9SnakeCrow3MgrFi -createObj__Q34Game9SnakeCrow3MgrFi: -/* 80292DC4 0028FD04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292DC8 0028FD08 7C 08 02 A6 */ mflr r0 -/* 80292DCC 0028FD0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292DD0 0028FD10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292DD4 0028FD14 7C 9F 23 78 */ mr r31, r4 -/* 80292DD8 0028FD18 93 C1 00 08 */ stw r30, 8(r1) -/* 80292DDC 0028FD1C 7C 7E 1B 78 */ mr r30, r3 -/* 80292DE0 0028FD20 1C 7F 03 38 */ mulli r3, r31, 0x338 -/* 80292DE4 0028FD24 38 63 00 10 */ addi r3, r3, 0x10 -/* 80292DE8 0028FD28 4B D9 11 C5 */ bl __nwa__FUl -/* 80292DEC 0028FD2C 3C 80 80 29 */ lis r4, __ct__Q34Game9SnakeCrow3ObjFv@ha -/* 80292DF0 0028FD30 3C A0 80 29 */ lis r5, __dt__Q34Game9SnakeCrow3ObjFv@ha -/* 80292DF4 0028FD34 38 84 30 94 */ addi r4, r4, __ct__Q34Game9SnakeCrow3ObjFv@l -/* 80292DF8 0028FD38 7F E7 FB 78 */ mr r7, r31 -/* 80292DFC 0028FD3C 38 A5 2E 24 */ addi r5, r5, __dt__Q34Game9SnakeCrow3ObjFv@l -/* 80292E00 0028FD40 38 C0 03 38 */ li r6, 0x338 -/* 80292E04 0028FD44 4B E2 EB ED */ bl __construct_new_array -/* 80292E08 0028FD48 90 7E 00 44 */ stw r3, 0x44(r30) -/* 80292E0C 0028FD4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292E10 0028FD50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292E14 0028FD54 83 C1 00 08 */ lwz r30, 8(r1) -/* 80292E18 0028FD58 7C 08 03 A6 */ mtlr r0 -/* 80292E1C 0028FD5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292E20 0028FD60 4E 80 00 20 */ blr - -.global __dt__Q34Game9SnakeCrow3ObjFv -__dt__Q34Game9SnakeCrow3ObjFv: -/* 80292E24 0028FD64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292E28 0028FD68 7C 08 02 A6 */ mflr r0 -/* 80292E2C 0028FD6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292E30 0028FD70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292E34 0028FD74 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80292E38 0028FD78 93 C1 00 08 */ stw r30, 8(r1) -/* 80292E3C 0028FD7C 7C 9E 23 78 */ mr r30, r4 -/* 80292E40 0028FD80 41 82 00 84 */ beq lbl_80292EC4 -/* 80292E44 0028FD84 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow3Obj@ha -/* 80292E48 0028FD88 38 1F 03 28 */ addi r0, r31, 0x328 -/* 80292E4C 0028FD8C 38 83 B6 B8 */ addi r4, r3, __vt__Q34Game9SnakeCrow3Obj@l -/* 80292E50 0028FD90 90 9F 00 00 */ stw r4, 0(r31) -/* 80292E54 0028FD94 38 64 01 B0 */ addi r3, r4, 0x1b0 -/* 80292E58 0028FD98 38 84 02 FC */ addi r4, r4, 0x2fc -/* 80292E5C 0028FD9C 90 7F 01 78 */ stw r3, 0x178(r31) -/* 80292E60 0028FDA0 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80292E64 0028FDA4 90 83 00 00 */ stw r4, 0(r3) -/* 80292E68 0028FDA8 80 7F 01 7C */ lwz r3, 0x17c(r31) -/* 80292E6C 0028FDAC 7C 03 00 50 */ subf r0, r3, r0 -/* 80292E70 0028FDB0 90 03 00 0C */ stw r0, 0xc(r3) -/* 80292E74 0028FDB4 41 82 00 40 */ beq lbl_80292EB4 -/* 80292E78 0028FDB8 3C 60 80 4B */ lis r3, __vt__Q24Game9EnemyBase@ha -/* 80292E7C 0028FDBC 38 1F 02 BC */ addi r0, r31, 0x2bc -/* 80292E80 0028FDC0 38 83 A3 24 */ addi r4, r3, __vt__Q24Game9EnemyBase@l -/* 80292E84 0028FDC4 38 7F 02 90 */ addi r3, r31, 0x290 -/* 80292E88 0028FDC8 90 9F 00 00 */ stw r4, 0(r31) -/* 80292E8C 0028FDCC 38 A4 01 B0 */ addi r5, r4, 0x1b0 -/* 80292E90 0028FDD0 38 C4 02 F8 */ addi r6, r4, 0x2f8 -/* 80292E94 0028FDD4 38 80 FF FF */ li r4, -1 -/* 80292E98 0028FDD8 90 BF 01 78 */ stw r5, 0x178(r31) -/* 80292E9C 0028FDDC 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80292EA0 0028FDE0 90 C5 00 00 */ stw r6, 0(r5) -/* 80292EA4 0028FDE4 80 BF 01 7C */ lwz r5, 0x17c(r31) -/* 80292EA8 0028FDE8 7C 05 00 50 */ subf r0, r5, r0 -/* 80292EAC 0028FDEC 90 05 00 0C */ stw r0, 0xc(r5) -/* 80292EB0 0028FDF0 48 17 E6 D9 */ bl __dt__5CNodeFv -lbl_80292EB4: -/* 80292EB4 0028FDF4 7F C0 07 35 */ extsh. r0, r30 -/* 80292EB8 0028FDF8 40 81 00 0C */ ble lbl_80292EC4 -/* 80292EBC 0028FDFC 7F E3 FB 78 */ mr r3, r31 -/* 80292EC0 0028FE00 4B D9 11 F5 */ bl __dl__FPv -lbl_80292EC4: -/* 80292EC4 0028FE04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292EC8 0028FE08 7F E3 FB 78 */ mr r3, r31 -/* 80292ECC 0028FE0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292ED0 0028FE10 83 C1 00 08 */ lwz r30, 8(r1) -/* 80292ED4 0028FE14 7C 08 03 A6 */ mtlr r0 -/* 80292ED8 0028FE18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292EDC 0028FE1C 4E 80 00 20 */ blr - -.global getEnemy__Q34Game9SnakeCrow3MgrFi -getEnemy__Q34Game9SnakeCrow3MgrFi: -/* 80292EE0 0028FE20 1C 04 03 38 */ mulli r0, r4, 0x338 -/* 80292EE4 0028FE24 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80292EE8 0028FE28 7C 63 02 14 */ add r3, r3, r0 -/* 80292EEC 0028FE2C 4E 80 00 20 */ blr - -.global loadModelData__Q34Game9SnakeCrow3MgrFv -loadModelData__Q34Game9SnakeCrow3MgrFv: -/* 80292EF0 0028FE30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292EF4 0028FE34 7C 08 02 A6 */ mflr r0 -/* 80292EF8 0028FE38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292EFC 0028FE3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292F00 0028FE40 7C 7F 1B 78 */ mr r31, r3 -/* 80292F04 0028FE44 4B E9 D2 09 */ bl loadModelData__Q24Game12EnemyMgrBaseFv -/* 80292F08 0028FE48 38 A0 00 00 */ li r5, 0 -/* 80292F0C 0028FE4C 48 00 00 24 */ b lbl_80292F30 -lbl_80292F10: -/* 80292F10 0028FE50 80 64 00 80 */ lwz r3, 0x80(r4) -/* 80292F14 0028FE54 54 A0 13 BA */ rlwinm r0, r5, 2, 0xe, 0x1d -/* 80292F18 0028FE58 38 A5 00 01 */ addi r5, r5, 1 -/* 80292F1C 0028FE5C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80292F20 0028FE60 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80292F24 0028FE64 54 00 05 1E */ rlwinm r0, r0, 0, 0x14, 0xf -/* 80292F28 0028FE68 60 00 20 00 */ ori r0, r0, 0x2000 -/* 80292F2C 0028FE6C 90 03 00 0C */ stw r0, 0xc(r3) -lbl_80292F30: -/* 80292F30 0028FE70 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80292F34 0028FE74 54 A0 04 3E */ clrlwi r0, r5, 0x10 -/* 80292F38 0028FE78 A0 64 00 7C */ lhz r3, 0x7c(r4) -/* 80292F3C 0028FE7C 7C 00 18 40 */ cmplw r0, r3 -/* 80292F40 0028FE80 41 80 FF D0 */ blt lbl_80292F10 -/* 80292F44 0028FE84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292F48 0028FE88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292F4C 0028FE8C 7C 08 03 A6 */ mtlr r0 -/* 80292F50 0028FE90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80292F54 0028FE94 4E 80 00 20 */ blr - -.global __dt__Q34Game9SnakeCrow3MgrFv -__dt__Q34Game9SnakeCrow3MgrFv: -/* 80292F58 0028FE98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80292F5C 0028FE9C 7C 08 02 A6 */ mflr r0 -/* 80292F60 0028FEA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80292F64 0028FEA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80292F68 0028FEA8 7C 9F 23 78 */ mr r31, r4 -/* 80292F6C 0028FEAC 93 C1 00 08 */ stw r30, 8(r1) -/* 80292F70 0028FEB0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80292F74 0028FEB4 41 82 00 78 */ beq lbl_80292FEC -/* 80292F78 0028FEB8 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow3Mgr@ha -/* 80292F7C 0028FEBC 38 63 B4 80 */ addi r3, r3, __vt__Q34Game9SnakeCrow3Mgr@l -/* 80292F80 0028FEC0 90 7E 00 00 */ stw r3, 0(r30) -/* 80292F84 0028FEC4 38 03 00 38 */ addi r0, r3, 0x38 -/* 80292F88 0028FEC8 90 1E 00 04 */ stw r0, 4(r30) -/* 80292F8C 0028FECC 41 82 00 50 */ beq lbl_80292FDC -/* 80292F90 0028FED0 3C 60 80 4B */ lis r3, __vt__Q24Game12EnemyMgrBase@ha -/* 80292F94 0028FED4 38 63 F8 A0 */ addi r3, r3, __vt__Q24Game12EnemyMgrBase@l -/* 80292F98 0028FED8 90 7E 00 00 */ stw r3, 0(r30) -/* 80292F9C 0028FEDC 38 03 00 38 */ addi r0, r3, 0x38 -/* 80292FA0 0028FEE0 90 1E 00 04 */ stw r0, 4(r30) -/* 80292FA4 0028FEE4 41 82 00 38 */ beq lbl_80292FDC -/* 80292FA8 0028FEE8 3C 60 80 4B */ lis r3, __vt__Q24Game13IEnemyMgrBase@ha -/* 80292FAC 0028FEEC 34 1E 00 04 */ addic. r0, r30, 4 -/* 80292FB0 0028FEF0 38 63 AC FC */ addi r3, r3, __vt__Q24Game13IEnemyMgrBase@l -/* 80292FB4 0028FEF4 90 7E 00 00 */ stw r3, 0(r30) -/* 80292FB8 0028FEF8 38 03 00 38 */ addi r0, r3, 0x38 -/* 80292FBC 0028FEFC 90 1E 00 04 */ stw r0, 4(r30) -/* 80292FC0 0028FF00 41 82 00 1C */ beq lbl_80292FDC -/* 80292FC4 0028FF04 3C 80 80 4B */ lis r4, __vt__16GenericContainer@ha -/* 80292FC8 0028FF08 38 7E 00 04 */ addi r3, r30, 4 -/* 80292FCC 0028FF0C 38 04 AC DC */ addi r0, r4, __vt__16GenericContainer@l -/* 80292FD0 0028FF10 38 80 00 00 */ li r4, 0 -/* 80292FD4 0028FF14 90 1E 00 04 */ stw r0, 4(r30) -/* 80292FD8 0028FF18 48 17 E5 B1 */ bl __dt__5CNodeFv -lbl_80292FDC: -/* 80292FDC 0028FF1C 7F E0 07 35 */ extsh. r0, r31 -/* 80292FE0 0028FF20 40 81 00 0C */ ble lbl_80292FEC -/* 80292FE4 0028FF24 7F C3 F3 78 */ mr r3, r30 -/* 80292FE8 0028FF28 4B D9 10 CD */ bl __dl__FPv -lbl_80292FEC: -/* 80292FEC 0028FF2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80292FF0 0028FF30 7F C3 F3 78 */ mr r3, r30 -/* 80292FF4 0028FF34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80292FF8 0028FF38 83 C1 00 08 */ lwz r30, 8(r1) -/* 80292FFC 0028FF3C 7C 08 03 A6 */ mtlr r0 -/* 80293000 0028FF40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293004 0028FF44 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game9SnakeCrow3MgrFv -getEnemyTypeID__Q34Game9SnakeCrow3MgrFv: -/* 80293008 0028FF48 38 60 00 22 */ li r3, 0x22 -/* 8029300C 0028FF4C 4E 80 00 20 */ blr - -.global doLoadBmd__Q34Game9SnakeCrow3MgrFPv -doLoadBmd__Q34Game9SnakeCrow3MgrFPv: -/* 80293010 0028FF50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293014 0028FF54 7C 08 02 A6 */ mflr r0 -/* 80293018 0028FF58 3C A0 21 24 */ lis r5, 0x21240030@ha -/* 8029301C 0028FF5C 7C 83 23 78 */ mr r3, r4 -/* 80293020 0028FF60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293024 0028FF64 38 85 00 30 */ addi r4, r5, 0x21240030@l -/* 80293028 0028FF68 4B DD C8 6D */ bl load__22J3DModelLoaderDataBaseFPCvUl -/* 8029302C 0028FF6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293030 0028FF70 7C 08 03 A6 */ mtlr r0 -/* 80293034 0028FF74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293038 0028FF78 4E 80 00 20 */ blr - -.global read__Q34Game9SnakeCrow5ParmsFR6Stream -read__Q34Game9SnakeCrow5ParmsFR6Stream: -/* 8029303C 0028FF7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293040 0028FF80 7C 08 02 A6 */ mflr r0 -/* 80293044 0028FF84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293048 0028FF88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029304C 0028FF8C 7C 9F 23 78 */ mr r31, r4 -/* 80293050 0028FF90 93 C1 00 08 */ stw r30, 8(r1) -/* 80293054 0028FF94 7C 7E 1B 78 */ mr r30, r3 -/* 80293058 0028FF98 48 18 07 9D */ bl read__10ParametersFR6Stream -/* 8029305C 0028FF9C 7F E4 FB 78 */ mr r4, r31 -/* 80293060 0028FFA0 38 7E 00 E0 */ addi r3, r30, 0xe0 -/* 80293064 0028FFA4 48 18 07 91 */ bl read__10ParametersFR6Stream -/* 80293068 0028FFA8 7F E4 FB 78 */ mr r4, r31 -/* 8029306C 0028FFAC 38 7E 07 F8 */ addi r3, r30, 0x7f8 -/* 80293070 0028FFB0 48 18 07 85 */ bl read__10ParametersFR6Stream -/* 80293074 0028FFB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293078 0028FFB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029307C 0028FFBC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80293080 0028FFC0 7C 08 03 A6 */ mtlr r0 -/* 80293084 0028FFC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293088 0028FFC8 4E 80 00 20 */ blr - -.global $$24$$2__dt__Q34Game9SnakeCrow3MgrFv -$$24$$2__dt__Q34Game9SnakeCrow3MgrFv: -/* 8029308C 0028FFCC 38 63 FF FC */ addi r3, r3, -4 -/* 80293090 0028FFD0 4B FF FE C8 */ b __dt__Q34Game9SnakeCrow3MgrFv - -.global __ct__Q34Game9SnakeCrow3ObjFv -__ct__Q34Game9SnakeCrow3ObjFv: -/* 80293094 0028FFD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293098 0028FFD8 7C 08 02 A6 */ mflr r0 -/* 8029309C 0028FFDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802930A0 0028FFE0 7C 80 07 35 */ extsh. r0, r4 -/* 802930A4 0028FFE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802930A8 0028FFE8 7C 7F 1B 78 */ mr r31, r3 -/* 802930AC 0028FFEC 93 C1 00 08 */ stw r30, 8(r1) -/* 802930B0 0028FFF0 41 82 00 24 */ beq lbl_802930D4 -/* 802930B4 0028FFF4 38 1F 03 28 */ addi r0, r31, 0x328 -/* 802930B8 0028FFF8 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha -/* 802930BC 0028FFFC 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 802930C0 00290000 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l -/* 802930C4 00290004 38 00 00 00 */ li r0, 0 -/* 802930C8 00290008 90 7F 03 28 */ stw r3, 0x328(r31) -/* 802930CC 0029000C 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 802930D0 00290010 90 1F 03 30 */ stw r0, 0x330(r31) -lbl_802930D4: -/* 802930D4 00290014 7F E3 FB 78 */ mr r3, r31 -/* 802930D8 00290018 38 80 00 00 */ li r4, 0 -/* 802930DC 0029001C 4B E6 E2 C5 */ bl __ct__Q24Game9EnemyBaseFv -/* 802930E0 00290020 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow3Obj@ha -/* 802930E4 00290024 38 1F 03 28 */ addi r0, r31, 0x328 -/* 802930E8 00290028 38 A3 B6 B8 */ addi r5, r3, __vt__Q34Game9SnakeCrow3Obj@l -/* 802930EC 0029002C 38 7F 02 CC */ addi r3, r31, 0x2cc -/* 802930F0 00290030 90 BF 00 00 */ stw r5, 0(r31) -/* 802930F4 00290034 38 85 01 B0 */ addi r4, r5, 0x1b0 -/* 802930F8 00290038 38 A5 02 FC */ addi r5, r5, 0x2fc -/* 802930FC 0029003C 90 9F 01 78 */ stw r4, 0x178(r31) -/* 80293100 00290040 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 80293104 00290044 90 A4 00 00 */ stw r5, 0(r4) -/* 80293108 00290048 80 9F 01 7C */ lwz r4, 0x17c(r31) -/* 8029310C 0029004C 7C 04 00 50 */ subf r0, r4, r0 -/* 80293110 00290050 90 04 00 0C */ stw r0, 0xc(r4) -/* 80293114 00290054 4B EA 54 35 */ bl __ct__10MouthSlotsFv -/* 80293118 00290058 3C 80 80 12 */ lis r4, __ct__10Vector3$$0f$$1Fv@ha -/* 8029311C 0029005C 38 7F 02 D8 */ addi r3, r31, 0x2d8 -/* 80293120 00290060 38 84 F3 48 */ addi r4, r4, __ct__10Vector3$$0f$$1Fv@l -/* 80293124 00290064 38 A0 00 00 */ li r5, 0 -/* 80293128 00290068 38 C0 00 0C */ li r6, 0xc -/* 8029312C 0029006C 38 E0 00 05 */ li r7, 5 -/* 80293130 00290070 4B E2 E7 0D */ bl __construct_array -/* 80293134 00290074 38 60 00 2C */ li r3, 0x2c -/* 80293138 00290078 4B D9 0D 6D */ bl __nw__FUl -/* 8029313C 0029007C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80293140 00290080 41 82 00 44 */ beq lbl_80293184 -/* 80293144 00290084 4B E9 48 31 */ bl __ct__Q24Game17EnemyAnimatorBaseFv -/* 80293148 00290088 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow14ProperAnimator@ha -/* 8029314C 0029008C 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha -/* 80293150 00290090 38 03 B4 58 */ addi r0, r3, __vt__Q34Game9SnakeCrow14ProperAnimator@l -/* 80293154 00290094 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha -/* 80293158 00290098 90 1E 00 00 */ stw r0, 0(r30) -/* 8029315C 0029009C 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l -/* 80293160 002900A0 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l -/* 80293164 002900A4 38 00 00 00 */ li r0, 0 -/* 80293168 002900A8 90 9E 00 10 */ stw r4, 0x10(r30) -/* 8029316C 002900AC 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80293170 002900B0 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80293174 002900B4 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80293178 002900B8 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8029317C 002900BC 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80293180 002900C0 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_80293184: -/* 80293184 002900C4 93 DF 01 84 */ stw r30, 0x184(r31) -/* 80293188 002900C8 38 60 00 1C */ li r3, 0x1c -/* 8029318C 002900CC 4B D9 0D 19 */ bl __nw__FUl -/* 80293190 002900D0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80293194 002900D4 41 82 00 24 */ beq lbl_802931B8 -/* 80293198 002900D8 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha -/* 8029319C 002900DC 3C 60 80 4D */ lis r3, __vt__Q34Game9SnakeCrow3FSM@ha -/* 802931A0 002900E0 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l -/* 802931A4 002900E4 38 A0 FF FF */ li r5, -1 -/* 802931A8 002900E8 90 04 00 00 */ stw r0, 0(r4) -/* 802931AC 002900EC 38 03 B4 30 */ addi r0, r3, __vt__Q34Game9SnakeCrow3FSM@l -/* 802931B0 002900F0 90 A4 00 18 */ stw r5, 0x18(r4) -/* 802931B4 002900F4 90 04 00 00 */ stw r0, 0(r4) -lbl_802931B8: -/* 802931B8 002900F8 81 9F 00 00 */ lwz r12, 0(r31) -/* 802931BC 002900FC 7F E3 FB 78 */ mr r3, r31 -/* 802931C0 00290100 81 8C 02 F8 */ lwz r12, 0x2f8(r12) -/* 802931C4 00290104 7D 89 03 A6 */ mtctr r12 -/* 802931C8 00290108 4E 80 04 21 */ bctrl -/* 802931CC 0029010C 7F E3 FB 78 */ mr r3, r31 -/* 802931D0 00290110 48 00 1B 49 */ bl createJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 802931D4 00290114 7F E3 FB 78 */ mr r3, r31 -/* 802931D8 00290118 48 00 1D D1 */ bl createShadowSystem__Q34Game9SnakeCrow3ObjFv -/* 802931DC 0029011C 7F E3 FB 78 */ mr r3, r31 -/* 802931E0 00290120 48 00 23 21 */ bl createEffect__Q34Game9SnakeCrow3ObjFv -/* 802931E4 00290124 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802931E8 00290128 7F E3 FB 78 */ mr r3, r31 -/* 802931EC 0029012C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802931F0 00290130 83 C1 00 08 */ lwz r30, 8(r1) -/* 802931F4 00290134 7C 08 03 A6 */ mtlr r0 -/* 802931F8 00290138 38 21 00 10 */ addi r1, r1, 0x10 -/* 802931FC 0029013C 4E 80 00 20 */ blr - -.global constructor__Q34Game9SnakeCrow3ObjFv -constructor__Q34Game9SnakeCrow3ObjFv: -/* 80293200 00290140 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293204 00290144 7C 08 02 A6 */ mflr r0 -/* 80293208 00290148 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029320C 0029014C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293210 00290150 7C 7F 1B 78 */ mr r31, r3 -/* 80293214 00290154 4B E6 E5 75 */ bl constructor__Q24Game9EnemyBaseFv -/* 80293218 00290158 38 60 00 01 */ li r3, 1 -/* 8029321C 0029015C 38 00 00 00 */ li r0, 0 -/* 80293220 00290160 98 7F 02 C1 */ stb r3, 0x2c1(r31) -/* 80293224 00290164 7F E3 FB 78 */ mr r3, r31 -/* 80293228 00290168 98 1F 02 C2 */ stb r0, 0x2c2(r31) -/* 8029322C 0029016C 48 00 21 39 */ bl resetBossAppearBGM__Q34Game9SnakeCrow3ObjFv -/* 80293230 00290170 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293234 00290174 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80293238 00290178 7C 08 03 A6 */ mtlr r0 -/* 8029323C 0029017C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293240 00290180 4E 80 00 20 */ blr - -.global setInitialSetting__Q34Game9SnakeCrow3ObjFPQ24Game21EnemyInitialParamBase -setInitialSetting__Q34Game9SnakeCrow3ObjFPQ24Game21EnemyInitialParamBase: -/* 80293244 00290184 4E 80 00 20 */ blr - -.global onInit__Q34Game9SnakeCrow3ObjFPQ24Game15CreatureInitArg -onInit__Q34Game9SnakeCrow3ObjFPQ24Game15CreatureInitArg: -/* 80293248 00290188 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029324C 0029018C 7C 08 02 A6 */ mflr r0 -/* 80293250 00290190 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293254 00290194 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293258 00290198 7C 7F 1B 78 */ mr r31, r3 -/* 8029325C 0029019C 4B E6 E7 FD */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg -/* 80293260 002901A0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80293264 002901A4 7F E3 FB 78 */ mr r3, r31 -/* 80293268 002901A8 54 00 05 24 */ rlwinm r0, r0, 0, 0x14, 0x12 -/* 8029326C 002901AC 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 80293270 002901B0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80293274 002901B4 54 00 05 66 */ rlwinm r0, r0, 0, 0x15, 0x13 -/* 80293278 002901B8 90 1F 01 E0 */ stw r0, 0x1e0(r31) -/* 8029327C 002901BC 4B E7 45 01 */ bl hardConstraintOn__Q24Game9EnemyBaseFv -/* 80293280 002901C0 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 80293284 002901C4 7F E4 FB 78 */ mr r4, r31 -/* 80293288 002901C8 4B FA EC 11 */ bl delNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 8029328C 002901CC 38 00 00 01 */ li r0, 1 -/* 80293290 002901D0 C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80293294 002901D4 98 1F 02 C0 */ stb r0, 0x2c0(r31) -/* 80293298 002901D8 38 00 FF FF */ li r0, -1 -/* 8029329C 002901DC 7F E3 FB 78 */ mr r3, r31 -/* 802932A0 002901E0 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 802932A4 002901E4 90 1F 02 C8 */ stw r0, 0x2c8(r31) -/* 802932A8 002901E8 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 802932AC 002901EC 48 00 1A B5 */ bl setupJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 802932B0 002901F0 7F E3 FB 78 */ mr r3, r31 -/* 802932B4 002901F4 48 00 1C 7D */ bl setupCollision__Q34Game9SnakeCrow3ObjFv -/* 802932B8 002901F8 7F E3 FB 78 */ mr r3, r31 -/* 802932BC 002901FC 48 00 1D 35 */ bl setupShadowSystem__Q34Game9SnakeCrow3ObjFv -/* 802932C0 00290200 7F E3 FB 78 */ mr r3, r31 -/* 802932C4 00290204 48 00 23 9D */ bl setupEffect__Q34Game9SnakeCrow3ObjFv -/* 802932C8 00290208 38 60 00 01 */ li r3, 1 -/* 802932CC 0029020C 38 00 00 00 */ li r0, 0 -/* 802932D0 00290210 98 7F 02 C1 */ stb r3, 0x2c1(r31) -/* 802932D4 00290214 7F E3 FB 78 */ mr r3, r31 -/* 802932D8 00290218 98 1F 02 C2 */ stb r0, 0x2c2(r31) -/* 802932DC 0029021C 48 00 20 89 */ bl resetBossAppearBGM__Q34Game9SnakeCrow3ObjFv -/* 802932E0 00290220 80 7F 02 BC */ lwz r3, 0x2bc(r31) -/* 802932E4 00290224 7F E4 FB 78 */ mr r4, r31 -/* 802932E8 00290228 38 A0 00 01 */ li r5, 1 -/* 802932EC 0029022C 38 C0 00 00 */ li r6, 0 -/* 802932F0 00290230 81 83 00 00 */ lwz r12, 0(r3) -/* 802932F4 00290234 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 802932F8 00290238 7D 89 03 A6 */ mtctr r12 -/* 802932FC 0029023C 4E 80 04 21 */ bctrl -/* 80293300 00290240 7F E3 FB 78 */ mr r3, r31 -/* 80293304 00290244 81 9F 00 00 */ lwz r12, 0(r31) -/* 80293308 00290248 81 8C 01 DC */ lwz r12, 0x1dc(r12) -/* 8029330C 0029024C 7D 89 03 A6 */ mtctr r12 -/* 80293310 00290250 4E 80 04 21 */ bctrl -/* 80293314 00290254 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293318 00290258 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029331C 0029025C 7C 08 03 A6 */ mtlr r0 -/* 80293320 00290260 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293324 00290264 4E 80 00 20 */ blr - -.global onKill__Q34Game9SnakeCrow3ObjFPQ24Game15CreatureKillArg -onKill__Q34Game9SnakeCrow3ObjFPQ24Game15CreatureKillArg: -/* 80293328 00290268 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029332C 0029026C 7C 08 02 A6 */ mflr r0 -/* 80293330 00290270 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293334 00290274 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293338 00290278 7C 9F 23 78 */ mr r31, r4 -/* 8029333C 0029027C 93 C1 00 08 */ stw r30, 8(r1) -/* 80293340 00290280 7C 7E 1B 78 */ mr r30, r3 -/* 80293344 00290284 48 00 25 95 */ bl finishRotateEffect__Q34Game9SnakeCrow3ObjFv -/* 80293348 00290288 7F C3 F3 78 */ mr r3, r30 -/* 8029334C 0029028C 48 00 26 15 */ bl finishWaitEffect__Q34Game9SnakeCrow3ObjFv -/* 80293350 00290290 7F C3 F3 78 */ mr r3, r30 -/* 80293354 00290294 7F E4 FB 78 */ mr r4, r31 -/* 80293358 00290298 4B E6 EB 91 */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg -/* 8029335C 0029029C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293360 002902A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80293364 002902A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80293368 002902A8 7C 08 03 A6 */ mtlr r0 -/* 8029336C 002902AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293370 002902B0 4E 80 00 20 */ blr - -.global setParameters__Q34Game9SnakeCrow3ObjFv -setParameters__Q34Game9SnakeCrow3ObjFv: -/* 80293374 002902B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293378 002902B8 7C 08 02 A6 */ mflr r0 -/* 8029337C 002902BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293380 002902C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293384 002902C4 7C 7F 1B 78 */ mr r31, r3 -/* 80293388 002902C8 80 8D 93 E8 */ lwz r4, gameSystem__4Game@sda21(r13) -/* 8029338C 002902CC 28 04 00 00 */ cmplwi r4, 0 -/* 80293390 002902D0 41 82 00 50 */ beq lbl_802933E0 -/* 80293394 002902D4 88 04 00 48 */ lbz r0, 0x48(r4) -/* 80293398 002902D8 28 00 00 00 */ cmplwi r0, 0 -/* 8029339C 002902DC 41 82 00 44 */ beq lbl_802933E0 -/* 802933A0 002902E0 80 04 00 44 */ lwz r0, 0x44(r4) -/* 802933A4 002902E4 2C 00 00 00 */ cmpwi r0, 0 -/* 802933A8 002902E8 40 82 00 38 */ bne lbl_802933E0 -/* 802933AC 002902EC 80 64 00 58 */ lwz r3, 0x58(r4) -/* 802933B0 002902F0 28 03 00 00 */ cmplwi r3, 0 -/* 802933B4 002902F4 41 82 00 2C */ beq lbl_802933E0 -/* 802933B8 002902F8 81 83 00 00 */ lwz r12, 0(r3) -/* 802933BC 002902FC 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 802933C0 00290300 7D 89 03 A6 */ mtctr r12 -/* 802933C4 00290304 4E 80 04 21 */ bctrl -/* 802933C8 00290308 3C 03 99 A1 */ addis r0, r3, 0x99a1 -/* 802933CC 0029030C 28 00 30 32 */ cmplwi r0, 0x3032 -/* 802933D0 00290310 40 82 00 10 */ bne lbl_802933E0 -/* 802933D4 00290314 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 802933D8 00290318 C0 03 08 BC */ lfs f0, 0x8bc(r3) -/* 802933DC 0029031C D0 03 01 04 */ stfs f0, 0x104(r3) -lbl_802933E0: -/* 802933E0 00290320 7F E3 FB 78 */ mr r3, r31 -/* 802933E4 00290324 4B E6 F7 F5 */ bl setParameters__Q24Game9EnemyBaseFv -/* 802933E8 00290328 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802933EC 0029032C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802933F0 00290330 7C 08 03 A6 */ mtlr r0 -/* 802933F4 00290334 38 21 00 10 */ addi r1, r1, 0x10 -/* 802933F8 00290338 4E 80 00 20 */ blr - -.global doUpdate__Q34Game9SnakeCrow3ObjFv -doUpdate__Q34Game9SnakeCrow3ObjFv: -/* 802933FC 0029033C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293400 00290340 7C 08 02 A6 */ mflr r0 -/* 80293404 00290344 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293408 00290348 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029340C 0029034C 7C 7F 1B 78 */ mr r31, r3 -/* 80293410 00290350 7F E4 FB 78 */ mr r4, r31 -/* 80293414 00290354 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 80293418 00290358 81 83 00 00 */ lwz r12, 0(r3) -/* 8029341C 0029035C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80293420 00290360 7D 89 03 A6 */ mtctr r12 -/* 80293424 00290364 4E 80 04 21 */ bctrl -/* 80293428 00290368 38 7F 02 CC */ addi r3, r31, 0x2cc -/* 8029342C 0029036C 4B EA 52 01 */ bl update__10MouthSlotsFv -/* 80293430 00290370 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293434 00290374 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80293438 00290378 7C 08 03 A6 */ mtlr r0 -/* 8029343C 0029037C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293440 00290380 4E 80 00 20 */ blr - -.global doUpdateCommon__Q34Game9SnakeCrow3ObjFv -doUpdateCommon__Q34Game9SnakeCrow3ObjFv: -/* 80293444 00290384 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293448 00290388 7C 08 02 A6 */ mflr r0 -/* 8029344C 0029038C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293450 00290390 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293454 00290394 7C 7F 1B 78 */ mr r31, r3 -/* 80293458 00290398 4B E6 FA BD */ bl doUpdateCommon__Q24Game9EnemyBaseFv -/* 8029345C 0029039C 7F E3 FB 78 */ mr r3, r31 -/* 80293460 002903A0 48 00 1E 09 */ bl updateBossBGM__Q34Game9SnakeCrow3ObjFv -/* 80293464 002903A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293468 002903A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029346C 002903AC 7C 08 03 A6 */ mtlr r0 -/* 80293470 002903B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293474 002903B4 4E 80 00 20 */ blr - -.global doAnimationUpdateAnimator__Q34Game9SnakeCrow3ObjFv -doAnimationUpdateAnimator__Q34Game9SnakeCrow3ObjFv: -/* 80293478 002903B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029347C 002903BC 7C 08 02 A6 */ mflr r0 -/* 80293480 002903C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293484 002903C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293488 002903C8 7C 7F 1B 78 */ mr r31, r3 -/* 8029348C 002903CC 4B E6 FB 6D */ bl doAnimationUpdateAnimator__Q24Game9EnemyBaseFv -/* 80293490 002903D0 7F E3 FB 78 */ mr r3, r31 -/* 80293494 002903D4 48 00 18 F1 */ bl doAnimationJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 80293498 002903D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029349C 002903DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802934A0 002903E0 7C 08 03 A6 */ mtlr r0 -/* 802934A4 002903E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802934A8 002903E8 4E 80 00 20 */ blr - -.global doAnimationCullingOff__Q34Game9SnakeCrow3ObjFv -doAnimationCullingOff__Q34Game9SnakeCrow3ObjFv: -/* 802934AC 002903EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802934B0 002903F0 7C 08 02 A6 */ mflr r0 -/* 802934B4 002903F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 802934B8 002903F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802934BC 002903FC 7C 7F 1B 78 */ mr r31, r3 -/* 802934C0 00290400 4B E6 FB C1 */ bl doAnimationCullingOff__Q24Game9EnemyBaseFv -/* 802934C4 00290404 7F E3 FB 78 */ mr r3, r31 -/* 802934C8 00290408 48 00 1B 4D */ bl doAnimationShadowSystem__Q34Game9SnakeCrow3ObjFv -/* 802934CC 0029040C 7F E3 FB 78 */ mr r3, r31 -/* 802934D0 00290410 48 00 18 D9 */ bl finishAnimationJointCallBack__Q34Game9SnakeCrow3ObjFv -/* 802934D4 00290414 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802934D8 00290418 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802934DC 0029041C 7C 08 03 A6 */ mtlr r0 -/* 802934E0 00290420 38 21 00 10 */ addi r1, r1, 0x10 -/* 802934E4 00290424 4E 80 00 20 */ blr - -.global doDirectDraw__Q34Game9SnakeCrow3ObjFR8Graphics -doDirectDraw__Q34Game9SnakeCrow3ObjFR8Graphics: -/* 802934E8 00290428 4E 80 00 20 */ blr - -.global doDebugDraw__Q34Game9SnakeCrow3ObjFR8Graphics -doDebugDraw__Q34Game9SnakeCrow3ObjFR8Graphics: -/* 802934EC 0029042C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802934F0 00290430 7C 08 02 A6 */ mflr r0 -/* 802934F4 00290434 90 01 00 14 */ stw r0, 0x14(r1) -/* 802934F8 00290438 4B E7 29 75 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics -/* 802934FC 0029043C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293500 00290440 7C 08 03 A6 */ mtlr r0 -/* 80293504 00290444 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293508 00290448 4E 80 00 20 */ blr - -.global setFSM__Q34Game9SnakeCrow3ObjFPQ34Game9SnakeCrow3FSM -setFSM__Q34Game9SnakeCrow3ObjFPQ34Game9SnakeCrow3FSM: -/* 8029350C 0029044C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293510 00290450 7C 08 02 A6 */ mflr r0 -/* 80293514 00290454 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293518 00290458 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8029351C 0029045C 7C 7F 1B 78 */ mr r31, r3 -/* 80293520 00290460 90 83 02 BC */ stw r4, 0x2bc(r3) -/* 80293524 00290464 7F E4 FB 78 */ mr r4, r31 -/* 80293528 00290468 80 63 02 BC */ lwz r3, 0x2bc(r3) -/* 8029352C 0029046C 81 83 00 00 */ lwz r12, 0(r3) -/* 80293530 00290470 81 8C 00 08 */ lwz r12, 8(r12) -/* 80293534 00290474 7D 89 03 A6 */ mtctr r12 -/* 80293538 00290478 4E 80 04 21 */ bctrl -/* 8029353C 0029047C 38 00 00 00 */ li r0, 0 -/* 80293540 00290480 90 1F 02 B4 */ stw r0, 0x2b4(r31) -/* 80293544 00290484 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293548 00290488 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8029354C 0029048C 7C 08 03 A6 */ mtlr r0 -/* 80293550 00290490 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293554 00290494 4E 80 00 20 */ blr - -.global getShadowParam__Q34Game9SnakeCrow3ObjFRQ24Game11ShadowParam -getShadowParam__Q34Game9SnakeCrow3ObjFRQ24Game11ShadowParam: -/* 80293558 00290498 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029355C 0029049C 7C 08 02 A6 */ mflr r0 -/* 80293560 002904A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293564 002904A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293568 002904A8 7C 9F 23 78 */ mr r31, r4 -/* 8029356C 002904AC 93 C1 00 08 */ stw r30, 8(r1) -/* 80293570 002904B0 7C 7E 1B 78 */ mr r30, r3 -/* 80293574 002904B4 3C 60 80 49 */ lis r3, lbl_8048874C@ha -/* 80293578 002904B8 38 03 87 4C */ addi r0, r3, lbl_8048874C@l -/* 8029357C 002904BC 80 7E 01 74 */ lwz r3, 0x174(r30) -/* 80293580 002904C0 7C 04 03 78 */ mr r4, r0 -/* 80293584 002904C4 48 1A BA 61 */ bl getJoint__Q28SysShape5ModelFPc -/* 80293588 002904C8 48 19 63 19 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 8029358C 002904CC C0 83 00 2C */ lfs f4, 0x2c(r3) -/* 80293590 002904D0 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 80293594 002904D4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80293598 002904D8 C0 A2 D7 34 */ lfs f5, lbl_8051BA94@sda21(r2) -/* 8029359C 002904DC D0 1F 00 00 */ stfs f0, 0(r31) -/* 802935A0 002904E0 C0 62 D7 30 */ lfs f3, lbl_8051BA90@sda21(r2) -/* 802935A4 002904E4 D0 3F 00 04 */ stfs f1, 4(r31) -/* 802935A8 002904E8 C0 42 D7 38 */ lfs f2, lbl_8051BA98@sda21(r2) -/* 802935AC 002904EC D0 9F 00 08 */ stfs f4, 8(r31) -/* 802935B0 002904F0 C0 22 D7 3C */ lfs f1, lbl_8051BA9C@sda21(r2) -/* 802935B4 002904F4 C0 9E 01 90 */ lfs f4, 0x190(r30) -/* 802935B8 002904F8 C0 02 D7 40 */ lfs f0, lbl_8051BAA0@sda21(r2) -/* 802935BC 002904FC EC 85 20 2A */ fadds f4, f5, f4 -/* 802935C0 00290500 D0 9F 00 04 */ stfs f4, 4(r31) -/* 802935C4 00290504 D0 7F 00 0C */ stfs f3, 0xc(r31) -/* 802935C8 00290508 D0 5F 00 10 */ stfs f2, 0x10(r31) -/* 802935CC 0029050C D0 7F 00 14 */ stfs f3, 0x14(r31) -/* 802935D0 00290510 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 802935D4 00290514 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 802935D8 00290518 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802935DC 0029051C 83 C1 00 08 */ lwz r30, 8(r1) -/* 802935E0 00290520 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802935E4 00290524 7C 08 03 A6 */ mtlr r0 -/* 802935E8 00290528 38 21 00 10 */ addi r1, r1, 0x10 -/* 802935EC 0029052C 4E 80 00 20 */ blr - -.global damageCallBack__Q34Game9SnakeCrow3ObjFPQ24Game8CreaturefP8CollPart -damageCallBack__Q34Game9SnakeCrow3ObjFPQ24Game8CreaturefP8CollPart: -/* 802935F0 00290530 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 802935F4 00290534 7C 08 02 A6 */ mflr r0 -/* 802935F8 00290538 90 01 00 24 */ stw r0, 0x24(r1) -/* 802935FC 0029053C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80293600 00290540 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80293604 00290544 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293608 00290548 93 C1 00 08 */ stw r30, 8(r1) -/* 8029360C 0029054C FF E0 08 90 */ fmr f31, f1 -/* 80293610 00290550 28 04 00 00 */ cmplwi r4, 0 -/* 80293614 00290554 7C 7E 1B 78 */ mr r30, r3 -/* 80293618 00290558 7C BF 2B 78 */ mr r31, r5 -/* 8029361C 0029055C 41 82 00 48 */ beq lbl_80293664 -/* 80293620 00290560 7C 83 23 78 */ mr r3, r4 -/* 80293624 00290564 81 84 00 00 */ lwz r12, 0(r4) -/* 80293628 00290568 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8029362C 0029056C 7D 89 03 A6 */ mtctr r12 -/* 80293630 00290570 4E 80 04 21 */ bctrl -/* 80293634 00290574 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80293638 00290578 41 82 00 2C */ beq lbl_80293664 -/* 8029363C 0029057C 28 1F 00 00 */ cmplwi r31, 0 -/* 80293640 00290580 40 82 00 0C */ bne lbl_8029364C -/* 80293644 00290584 C0 02 D7 44 */ lfs f0, lbl_8051BAA4@sda21(r2) -/* 80293648 00290588 EF FF 00 32 */ fmuls f31, f31, f0 -lbl_8029364C: -/* 8029364C 0029058C FC 20 F8 90 */ fmr f1, f31 -/* 80293650 00290590 C0 42 D7 38 */ lfs f2, lbl_8051BA98@sda21(r2) -/* 80293654 00290594 7F C3 F3 78 */ mr r3, r30 -/* 80293658 00290598 4B E7 29 D5 */ bl addDamage__Q24Game9EnemyBaseFff -/* 8029365C 0029059C 38 60 00 01 */ li r3, 1 -/* 80293660 002905A0 48 00 00 08 */ b lbl_80293668 -lbl_80293664: -/* 80293664 002905A4 38 60 00 00 */ li r3, 0 -lbl_80293668: -/* 80293668 002905A8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8029366C 002905AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80293670 002905B0 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80293674 002905B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80293678 002905B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029367C 002905BC 7C 08 03 A6 */ mtlr r0 -/* 80293680 002905C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80293684 002905C4 4E 80 00 20 */ blr - -.global doStartStoneState__Q34Game9SnakeCrow3ObjFv -doStartStoneState__Q34Game9SnakeCrow3ObjFv: -/* 80293688 002905C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029368C 002905CC 7C 08 02 A6 */ mflr r0 -/* 80293690 002905D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293694 002905D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293698 002905D8 7C 7F 1B 78 */ mr r31, r3 -/* 8029369C 002905DC 4B E6 F8 59 */ bl doStartStoneState__Q24Game9EnemyBaseFv -/* 802936A0 002905E0 7F E3 FB 78 */ mr r3, r31 -/* 802936A4 002905E4 48 00 22 35 */ bl finishRotateEffect__Q34Game9SnakeCrow3ObjFv -/* 802936A8 002905E8 7F E3 FB 78 */ mr r3, r31 -/* 802936AC 002905EC 48 00 22 B5 */ bl finishWaitEffect__Q34Game9SnakeCrow3ObjFv -/* 802936B0 002905F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802936B4 002905F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802936B8 002905F8 7C 08 03 A6 */ mtlr r0 -/* 802936BC 002905FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802936C0 00290600 4E 80 00 20 */ blr - -.global doFinishStoneState__Q34Game9SnakeCrow3ObjFv -doFinishStoneState__Q34Game9SnakeCrow3ObjFv: -/* 802936C4 00290604 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802936C8 00290608 7C 08 02 A6 */ mflr r0 -/* 802936CC 0029060C 90 01 00 14 */ stw r0, 0x14(r1) -/* 802936D0 00290610 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802936D4 00290614 7C 7F 1B 78 */ mr r31, r3 -/* 802936D8 00290618 4B E6 F8 31 */ bl doFinishStoneState__Q24Game9EnemyBaseFv -/* 802936DC 0029061C C0 22 D7 38 */ lfs f1, lbl_8051BA98@sda21(r2) -/* 802936E0 00290620 7F E3 FB 78 */ mr r3, r31 -/* 802936E4 00290624 C0 42 D7 48 */ lfs f2, lbl_8051BAA8@sda21(r2) -/* 802936E8 00290628 38 80 00 00 */ li r4, 0 -/* 802936EC 0029062C C0 62 D7 30 */ lfs f3, lbl_8051BA90@sda21(r2) -/* 802936F0 00290630 C0 82 D7 4C */ lfs f4, lbl_8051BAAC@sda21(r2) -/* 802936F4 00290634 4B E7 FA 29 */ bl flickStickPikmin__Q24Game9EnemyFuncFPQ24Game8CreatureffffP23Condition$$0Q24Game4Piki$$1 -/* 802936F8 00290638 7F E3 FB 78 */ mr r3, r31 -/* 802936FC 0029063C 4B E7 3C F9 */ bl getStateID__Q24Game9EnemyBaseFv -/* 80293700 00290640 2C 03 00 05 */ cmpwi r3, 5 -/* 80293704 00290644 41 80 00 0C */ blt lbl_80293710 -/* 80293708 00290648 7F E3 FB 78 */ mr r3, r31 -/* 8029370C 0029064C 48 00 21 FD */ bl startWaitEffect__Q34Game9SnakeCrow3ObjFv -lbl_80293710: -/* 80293710 00290650 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293714 00290654 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80293718 00290658 7C 08 03 A6 */ mtlr r0 -/* 8029371C 0029065C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293720 00290660 4E 80 00 20 */ blr - -.global startCarcassMotion__Q34Game9SnakeCrow3ObjFv -startCarcassMotion__Q34Game9SnakeCrow3ObjFv: -/* 80293724 00290664 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293728 00290668 7C 08 02 A6 */ mflr r0 -/* 8029372C 0029066C 38 80 00 0C */ li r4, 0xc -/* 80293730 00290670 38 A0 00 00 */ li r5, 0 -/* 80293734 00290674 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293738 00290678 4B E7 18 CD */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener -/* 8029373C 0029067C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293740 00290680 7C 08 03 A6 */ mtlr r0 -/* 80293744 00290684 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293748 00290688 4E 80 00 20 */ blr - -.global doStartMovie__Q34Game9SnakeCrow3ObjFv -doStartMovie__Q34Game9SnakeCrow3ObjFv: -/* 8029374C 0029068C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293750 00290690 7C 08 02 A6 */ mflr r0 -/* 80293754 00290694 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293758 00290698 48 00 24 11 */ bl effectDrawOff__Q34Game9SnakeCrow3ObjFv -/* 8029375C 0029069C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293760 002906A0 7C 08 03 A6 */ mtlr r0 -/* 80293764 002906A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293768 002906A8 4E 80 00 20 */ blr - -.global doEndMovie__Q34Game9SnakeCrow3ObjFv -doEndMovie__Q34Game9SnakeCrow3ObjFv: -/* 8029376C 002906AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80293770 002906B0 7C 08 02 A6 */ mflr r0 -/* 80293774 002906B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293778 002906B8 48 00 23 8D */ bl effectDrawOn__Q34Game9SnakeCrow3ObjFv -/* 8029377C 002906BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293780 002906C0 7C 08 03 A6 */ mtlr r0 -/* 80293784 002906C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80293788 002906C8 4E 80 00 20 */ blr - -.global initMouthSlots__Q34Game9SnakeCrow3ObjFv -initMouthSlots__Q34Game9SnakeCrow3ObjFv: -/* 8029378C 002906CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80293790 002906D0 7C 08 02 A6 */ mflr r0 -/* 80293794 002906D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80293798 002906D8 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8029379C 002906DC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 802937A0 002906E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802937A4 002906E4 93 C1 00 08 */ stw r30, 8(r1) -/* 802937A8 002906E8 7C 7E 1B 78 */ mr r30, r3 -/* 802937AC 002906EC 3C 60 80 49 */ lis r3, lbl_80488730@ha -/* 802937B0 002906F0 3B E3 87 30 */ addi r31, r3, lbl_80488730@l -/* 802937B4 002906F4 38 80 00 03 */ li r4, 3 -/* 802937B8 002906F8 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 802937BC 002906FC 4B EA 4D 9D */ bl alloc__10MouthSlotsFi -/* 802937C0 00290700 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 802937C4 00290704 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 802937C8 00290708 38 DF 00 28 */ addi r6, r31, 0x28 -/* 802937CC 0029070C 38 80 00 00 */ li r4, 0 -/* 802937D0 00290710 4B EA 4E C1 */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 802937D4 00290714 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 802937D8 00290718 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 802937DC 0029071C 38 DF 00 34 */ addi r6, r31, 0x34 -/* 802937E0 00290720 38 80 00 01 */ li r4, 1 -/* 802937E4 00290724 4B EA 4E AD */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 802937E8 00290728 80 BE 01 74 */ lwz r5, 0x174(r30) -/* 802937EC 0029072C 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 802937F0 00290730 38 DF 00 40 */ addi r6, r31, 0x40 -/* 802937F4 00290734 38 80 00 02 */ li r4, 2 -/* 802937F8 00290738 4B EA 4E 99 */ bl setup__10MouthSlotsFiPQ28SysShape5ModelPc -/* 802937FC 0029073C C3 E2 D7 50 */ lfs f31, lbl_8051BAB0@sda21(r2) -/* 80293800 00290740 3B E0 00 00 */ li r31, 0 -/* 80293804 00290744 48 00 00 18 */ b lbl_8029381C -lbl_80293808: -/* 80293808 00290748 7F E4 FB 78 */ mr r4, r31 -/* 8029380C 0029074C 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 80293810 00290750 4B EA 4F 69 */ bl getSlot__10MouthSlotsFi -/* 80293814 00290754 D3 E3 00 1C */ stfs f31, 0x1c(r3) -/* 80293818 00290758 3B FF 00 01 */ addi r31, r31, 1 -lbl_8029381C: -/* 8029381C 0029075C 80 1E 02 CC */ lwz r0, 0x2cc(r30) -/* 80293820 00290760 7C 1F 00 00 */ cmpw r31, r0 -/* 80293824 00290764 41 80 FF E4 */ blt lbl_80293808 -/* 80293828 00290768 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8029382C 0029076C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80293830 00290770 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80293834 00290774 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80293838 00290778 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029383C 0029077C 7C 08 03 A6 */ mtlr r0 -/* 80293840 00290780 38 21 00 20 */ addi r1, r1, 0x20 -/* 80293844 00290784 4E 80 00 20 */ blr - -.global getThrowupItemPosition__Q34Game9SnakeCrow3ObjFP10Vector3$$0f$$1 -getThrowupItemPosition__Q34Game9SnakeCrow3ObjFP10Vector3$$0f$$1: -/* 80293848 00290788 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029384C 0029078C 7C 08 02 A6 */ mflr r0 -/* 80293850 00290790 3C A0 80 49 */ lis r5, lbl_8048874C@ha -/* 80293854 00290794 90 01 00 14 */ stw r0, 0x14(r1) -/* 80293858 00290798 38 05 87 4C */ addi r0, r5, lbl_8048874C@l -/* 8029385C 0029079C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80293860 002907A0 7C 9F 23 78 */ mr r31, r4 -/* 80293864 002907A4 7C 04 03 78 */ mr r4, r0 -/* 80293868 002907A8 80 63 01 74 */ lwz r3, 0x174(r3) -/* 8029386C 002907AC 48 1A B7 79 */ bl getJoint__Q28SysShape5ModelFPc -/* 80293870 002907B0 48 19 60 31 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80293874 002907B4 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 80293878 002907B8 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 8029387C 002907BC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80293880 002907C0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80293884 002907C4 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80293888 002907C8 D0 5F 00 08 */ stfs f2, 8(r31) -/* 8029388C 002907CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80293890 002907D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80293894 002907D4 7C 08 03 A6 */ mtlr r0 -/* 80293898 002907D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029389C 002907DC 4E 80 00 20 */ blr - -.global getCommonEffectPos__Q34Game9SnakeCrow3ObjFR10Vector3$$0f$$1 -getCommonEffectPos__Q34Game9SnakeCrow3ObjFR10Vector3$$0f$$1: -/* 802938A0 002907E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802938A4 002907E4 7C 08 02 A6 */ mflr r0 -/* 802938A8 002907E8 3C A0 80 49 */ lis r5, lbl_8048874C@ha -/* 802938AC 002907EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802938B0 002907F0 38 05 87 4C */ addi r0, r5, lbl_8048874C@l -/* 802938B4 002907F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802938B8 002907F8 7C 9F 23 78 */ mr r31, r4 -/* 802938BC 002907FC 7C 04 03 78 */ mr r4, r0 -/* 802938C0 00290800 80 63 01 74 */ lwz r3, 0x174(r3) -/* 802938C4 00290804 48 1A B7 21 */ bl getJoint__Q28SysShape5ModelFPc -/* 802938C8 00290808 48 19 5F D9 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 802938CC 0029080C C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 802938D0 00290810 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 802938D4 00290814 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802938D8 00290818 D0 1F 00 00 */ stfs f0, 0(r31) -/* 802938DC 0029081C D0 3F 00 04 */ stfs f1, 4(r31) -/* 802938E0 00290820 D0 5F 00 08 */ stfs f2, 8(r31) -/* 802938E4 00290824 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802938E8 00290828 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802938EC 0029082C 7C 08 03 A6 */ mtlr r0 -/* 802938F0 00290830 38 21 00 10 */ addi r1, r1, 0x10 -/* 802938F4 00290834 4E 80 00 20 */ blr - -.global appearNearByTarget__Q34Game9SnakeCrow3ObjFPQ24Game8Creature -appearNearByTarget__Q34Game9SnakeCrow3ObjFPQ24Game8Creature: -/* 802938F8 00290838 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 802938FC 0029083C 7C 08 02 A6 */ mflr r0 -/* 80293900 00290840 90 01 00 94 */ stw r0, 0x94(r1) -/* 80293904 00290844 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80293908 00290848 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8029390C 0029084C DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80293910 00290850 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80293914 00290854 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80293918 00290858 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8029391C 0029085C DB 81 00 50 */ stfd f28, 0x50(r1) -/* 80293920 00290860 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 80293924 00290864 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80293928 00290868 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8029392C 0029086C 81 84 00 00 */ lwz r12, 0(r4) -/* 80293930 00290870 7C 7F 1B 78 */ mr r31, r3 -/* 80293934 00290874 38 61 00 08 */ addi r3, r1, 8 -/* 80293938 00290878 81 8C 00 08 */ lwz r12, 8(r12) -/* 8029393C 0029087C 7D 89 03 A6 */ mtctr r12 -/* 80293940 00290880 4E 80 04 21 */ bctrl -/* 80293944 00290884 C3 E1 00 08 */ lfs f31, 8(r1) -/* 80293948 00290888 C3 C1 00 0C */ lfs f30, 0xc(r1) -/* 8029394C 0029088C C3 A1 00 10 */ lfs f29, 0x10(r1) -/* 80293950 00290890 4B E3 5C 51 */ bl rand -/* 80293954 00290894 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80293958 00290898 3C 00 43 30 */ lis r0, 0x4330 -/* 8029395C 0029089C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80293960 002908A0 C8 62 D7 70 */ lfd f3, lbl_8051BAD0@sda21(r2) -/* 80293964 002908A4 90 01 00 20 */ stw r0, 0x20(r1) -/* 80293968 002908A8 C0 42 D7 54 */ lfs f2, lbl_8051BAB4@sda21(r2) -/* 8029396C 002908AC C8 01 00 20 */ lfd f0, 0x20(r1) -/* 80293970 002908B0 C0 22 D7 58 */ lfs f1, lbl_8051BAB8@sda21(r2) -/* 80293974 002908B4 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80293978 002908B8 C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 8029397C 002908BC EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80293980 002908C0 EC 62 08 24 */ fdivs f3, f2, f1 -/* 80293984 002908C4 FF 80 18 90 */ fmr f28, f3 -/* 80293988 002908C8 FC 20 18 90 */ fmr f1, f3 -/* 8029398C 002908CC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80293990 002908D0 40 80 00 08 */ bge lbl_80293998 -/* 80293994 002908D4 FC 20 18 50 */ fneg f1, f3 -lbl_80293998: -/* 80293998 002908D8 C0 42 D7 5C */ lfs f2, lbl_8051BABC@sda21(r2) -/* 8029399C 002908DC 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 802939A0 002908E0 C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 802939A4 002908E4 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 802939A8 002908E8 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 802939AC 002908EC 3B C3 00 04 */ addi r30, r3, 4 -/* 802939B0 002908F0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802939B4 002908F4 FC 00 08 1E */ fctiwz f0, f1 -/* 802939B8 002908F8 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 802939BC 002908FC 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802939C0 00290900 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802939C4 00290904 7C 1E 04 2E */ lfsx f0, r30, r0 -/* 802939C8 00290908 FC A0 00 50 */ fneg f5, f0 -/* 802939CC 0029090C 40 80 00 28 */ bge lbl_802939F4 -/* 802939D0 00290910 C0 02 D7 60 */ lfs f0, lbl_8051BAC0@sda21(r2) -/* 802939D4 00290914 EC 03 00 32 */ fmuls f0, f3, f0 -/* 802939D8 00290918 FC 00 00 1E */ fctiwz f0, f0 -/* 802939DC 0029091C D8 01 00 30 */ stfd f0, 0x30(r1) -/* 802939E0 00290920 80 01 00 34 */ lwz r0, 0x34(r1) -/* 802939E4 00290924 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802939E8 00290928 7C 03 04 2E */ lfsx f0, r3, r0 -/* 802939EC 0029092C FC 00 00 50 */ fneg f0, f0 -/* 802939F0 00290930 48 00 00 1C */ b lbl_80293A0C -lbl_802939F4: -/* 802939F4 00290934 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 802939F8 00290938 FC 00 00 1E */ fctiwz f0, f0 -/* 802939FC 0029093C D8 01 00 38 */ stfd f0, 0x38(r1) -/* 80293A00 00290940 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80293A04 00290944 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293A08 00290948 7C 03 04 2E */ lfsx f0, r3, r0 -lbl_80293A0C: -/* 80293A0C 0029094C FC 60 00 50 */ fneg f3, f0 -/* 80293A10 00290950 C0 42 D7 30 */ lfs f2, lbl_8051BA90@sda21(r2) -/* 80293A14 00290954 C0 22 D7 64 */ lfs f1, lbl_8051BAC4@sda21(r2) -/* 80293A18 00290958 FC 00 28 18 */ frsp f0, f5 -/* 80293A1C 0029095C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80293A20 00290960 FC 80 18 18 */ frsp f4, f3 -/* 80293A24 00290964 EC 42 00 72 */ fmuls f2, f2, f1 -/* 80293A28 00290968 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80293A2C 0029096C EC 60 00 72 */ fmuls f3, f0, f1 -/* 80293A30 00290970 EC 84 00 72 */ fmuls f4, f4, f1 -/* 80293A34 00290974 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 80293A38 00290978 EC 22 F0 2A */ fadds f1, f2, f30 -/* 80293A3C 0029097C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80293A40 00290980 EC 03 E8 2A */ fadds f0, f3, f29 -/* 80293A44 00290984 EC 44 F8 2A */ fadds f2, f4, f31 -/* 80293A48 00290988 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 80293A4C 0029098C D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80293A50 00290990 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80293A54 00290994 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80293A58 00290998 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80293A5C 0029099C C0 7F 01 A0 */ lfs f3, 0x1a0(r31) -/* 80293A60 002909A0 C0 9F 01 98 */ lfs f4, 0x198(r31) -/* 80293A64 002909A4 EC 23 00 28 */ fsubs f1, f3, f0 -/* 80293A68 002909A8 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80293A6C 002909AC EC 44 10 28 */ fsubs f2, f4, f2 -/* 80293A70 002909B0 C0 03 03 5C */ lfs f0, 0x35c(r3) -/* 80293A74 002909B4 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80293A78 002909B8 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80293A7C 002909BC EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 80293A80 002909C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80293A84 002909C4 40 81 01 34 */ ble lbl_80293BB8 -/* 80293A88 002909C8 EC 3F 20 28 */ fsubs f1, f31, f4 -/* 80293A8C 002909CC 3C 60 80 51 */ lis r3, atanTable___5JMath@ha -/* 80293A90 002909D0 EC 5D 18 28 */ fsubs f2, f29, f3 -/* 80293A94 002909D4 38 63 D1 E0 */ addi r3, r3, atanTable___5JMath@l -/* 80293A98 002909D8 4B DA 16 71 */ bl atan2___Q25JMath18TAtanTable$$01024$$4f$$1CFff -/* 80293A9C 002909DC FF 80 08 90 */ fmr f28, f1 -/* 80293AA0 002909E0 4B E3 5B 01 */ bl rand -/* 80293AA4 002909E4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80293AA8 002909E8 3C 00 43 30 */ lis r0, 0x4330 -/* 80293AAC 002909EC 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80293AB0 002909F0 C8 22 D7 70 */ lfd f1, lbl_8051BAD0@sda21(r2) -/* 80293AB4 002909F4 90 01 00 38 */ stw r0, 0x38(r1) -/* 80293AB8 002909F8 C0 62 D7 68 */ lfs f3, lbl_8051BAC8@sda21(r2) -/* 80293ABC 002909FC C8 01 00 38 */ lfd f0, 0x38(r1) -/* 80293AC0 00290A00 C0 42 D7 58 */ lfs f2, lbl_8051BAB8@sda21(r2) -/* 80293AC4 00290A04 EC 80 08 28 */ fsubs f4, f0, f1 -/* 80293AC8 00290A08 C0 22 D7 6C */ lfs f1, lbl_8051BACC@sda21(r2) -/* 80293ACC 00290A0C C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80293AD0 00290A10 EC 63 01 32 */ fmuls f3, f3, f4 -/* 80293AD4 00290A14 EC 43 10 24 */ fdivs f2, f3, f2 -/* 80293AD8 00290A18 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80293ADC 00290A1C EF 9C 08 2A */ fadds f28, f28, f1 -/* 80293AE0 00290A20 FC 20 E0 90 */ fmr f1, f28 -/* 80293AE4 00290A24 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80293AE8 00290A28 40 80 00 08 */ bge lbl_80293AF0 -/* 80293AEC 00290A2C FC 20 E0 50 */ fneg f1, f28 -lbl_80293AF0: -/* 80293AF0 00290A30 C0 42 D7 5C */ lfs f2, lbl_8051BABC@sda21(r2) -/* 80293AF4 00290A34 C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80293AF8 00290A38 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80293AFC 00290A3C FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80293B00 00290A40 FC 00 08 1E */ fctiwz f0, f1 -/* 80293B04 00290A44 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 80293B08 00290A48 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80293B0C 00290A4C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293B10 00290A50 7C 1E 04 2E */ lfsx f0, r30, r0 -/* 80293B14 00290A54 FC A0 00 50 */ fneg f5, f0 -/* 80293B18 00290A58 40 80 00 30 */ bge lbl_80293B48 -/* 80293B1C 00290A5C C0 02 D7 60 */ lfs f0, lbl_8051BAC0@sda21(r2) -/* 80293B20 00290A60 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80293B24 00290A64 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80293B28 00290A68 EC 1C 00 32 */ fmuls f0, f28, f0 -/* 80293B2C 00290A6C FC 00 00 1E */ fctiwz f0, f0 -/* 80293B30 00290A70 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 80293B34 00290A74 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80293B38 00290A78 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293B3C 00290A7C 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80293B40 00290A80 FC 00 00 50 */ fneg f0, f0 -/* 80293B44 00290A84 48 00 00 24 */ b lbl_80293B68 -lbl_80293B48: -/* 80293B48 00290A88 EC 1C 00 B2 */ fmuls f0, f28, f2 -/* 80293B4C 00290A8C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80293B50 00290A90 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l -/* 80293B54 00290A94 FC 00 00 1E */ fctiwz f0, f0 -/* 80293B58 00290A98 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 80293B5C 00290A9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80293B60 00290AA0 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293B64 00290AA4 7C 03 04 2E */ lfsx f0, r3, r0 -lbl_80293B68: -/* 80293B68 00290AA8 FC 60 00 50 */ fneg f3, f0 -/* 80293B6C 00290AAC C0 42 D7 30 */ lfs f2, lbl_8051BA90@sda21(r2) -/* 80293B70 00290AB0 C0 22 D7 64 */ lfs f1, lbl_8051BAC4@sda21(r2) -/* 80293B74 00290AB4 FC 00 28 18 */ frsp f0, f5 -/* 80293B78 00290AB8 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80293B7C 00290ABC FC 80 18 18 */ frsp f4, f3 -/* 80293B80 00290AC0 EC 42 00 72 */ fmuls f2, f2, f1 -/* 80293B84 00290AC4 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80293B88 00290AC8 EC 60 00 72 */ fmuls f3, f0, f1 -/* 80293B8C 00290ACC EC 84 00 72 */ fmuls f4, f4, f1 -/* 80293B90 00290AD0 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 80293B94 00290AD4 EC 22 F0 2A */ fadds f1, f2, f30 -/* 80293B98 00290AD8 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80293B9C 00290ADC EC 03 E8 2A */ fadds f0, f3, f29 -/* 80293BA0 00290AE0 EC 44 F8 2A */ fadds f2, f4, f31 -/* 80293BA4 00290AE4 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 80293BA8 00290AE8 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80293BAC 00290AEC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80293BB0 00290AF0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80293BB4 00290AF4 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_80293BB8: -/* 80293BB8 00290AF8 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80293BBC 00290AFC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80293BC0 00290B00 81 83 00 04 */ lwz r12, 4(r3) -/* 80293BC4 00290B04 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80293BC8 00290B08 7D 89 03 A6 */ mtctr r12 -/* 80293BCC 00290B0C 4E 80 04 21 */ bctrl -/* 80293BD0 00290B10 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80293BD4 00290B14 7F E3 FB 78 */ mr r3, r31 -/* 80293BD8 00290B18 38 81 00 14 */ addi r4, r1, 0x14 -/* 80293BDC 00290B1C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80293BE0 00290B20 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 80293BE4 00290B24 7D 89 03 A6 */ mtctr r12 -/* 80293BE8 00290B28 4E 80 04 21 */ bctrl -/* 80293BEC 00290B2C D3 9F 01 FC */ stfs f28, 0x1fc(r31) -/* 80293BF0 00290B30 C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 80293BF4 00290B34 D0 1F 01 A8 */ stfs f0, 0x1a8(r31) -/* 80293BF8 00290B38 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80293BFC 00290B3C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80293C00 00290B40 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80293C04 00290B44 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80293C08 00290B48 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80293C0C 00290B4C CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80293C10 00290B50 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 80293C14 00290B54 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 80293C18 00290B58 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80293C1C 00290B5C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80293C20 00290B60 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80293C24 00290B64 7C 08 03 A6 */ mtlr r0 -/* 80293C28 00290B68 38 21 00 90 */ addi r1, r1, 0x90 -/* 80293C2C 00290B6C 4E 80 00 20 */ blr - -.global setAttackPosition__Q34Game9SnakeCrow3ObjFv -setAttackPosition__Q34Game9SnakeCrow3ObjFv: -/* 80293C30 00290B70 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80293C34 00290B74 7C 08 02 A6 */ mflr r0 -/* 80293C38 00290B78 90 01 00 94 */ stw r0, 0x94(r1) -/* 80293C3C 00290B7C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80293C40 00290B80 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80293C44 00290B84 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80293C48 00290B88 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80293C4C 00290B8C DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80293C50 00290B90 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80293C54 00290B94 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80293C58 00290B98 7C 7F 1B 78 */ mr r31, r3 -/* 80293C5C 00290B9C C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80293C60 00290BA0 C0 63 01 FC */ lfs f3, 0x1fc(r3) -/* 80293C64 00290BA4 FC 20 18 90 */ fmr f1, f3 -/* 80293C68 00290BA8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80293C6C 00290BAC 40 80 00 08 */ bge lbl_80293C74 -/* 80293C70 00290BB0 FC 20 18 50 */ fneg f1, f3 -lbl_80293C74: -/* 80293C74 00290BB4 C0 42 D7 5C */ lfs f2, lbl_8051BABC@sda21(r2) -/* 80293C78 00290BB8 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80293C7C 00290BBC C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80293C80 00290BC0 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80293C84 00290BC4 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80293C88 00290BC8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80293C8C 00290BCC FC 00 08 1E */ fctiwz f0, f1 -/* 80293C90 00290BD0 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 80293C94 00290BD4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80293C98 00290BD8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293C9C 00290BDC 7C 64 02 14 */ add r3, r4, r0 -/* 80293CA0 00290BE0 C3 E3 00 04 */ lfs f31, 4(r3) -/* 80293CA4 00290BE4 40 80 00 28 */ bge lbl_80293CCC -/* 80293CA8 00290BE8 C0 02 D7 60 */ lfs f0, lbl_8051BAC0@sda21(r2) -/* 80293CAC 00290BEC EC 03 00 32 */ fmuls f0, f3, f0 -/* 80293CB0 00290BF0 FC 00 00 1E */ fctiwz f0, f0 -/* 80293CB4 00290BF4 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 80293CB8 00290BF8 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80293CBC 00290BFC 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293CC0 00290C00 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80293CC4 00290C04 FF C0 00 50 */ fneg f30, f0 -/* 80293CC8 00290C08 48 00 00 1C */ b lbl_80293CE4 -lbl_80293CCC: -/* 80293CCC 00290C0C EC 03 00 B2 */ fmuls f0, f3, f2 -/* 80293CD0 00290C10 FC 00 00 1E */ fctiwz f0, f0 -/* 80293CD4 00290C14 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 80293CD8 00290C18 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80293CDC 00290C1C 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293CE0 00290C20 7F C4 04 2E */ lfsx f30, r4, r0 -lbl_80293CE4: -/* 80293CE4 00290C24 3C 80 80 49 */ lis r4, lbl_80490004@ha -/* 80293CE8 00290C28 85 84 87 7C */ lwzu r12, -0x7884(r4) -/* 80293CEC 00290C2C 3C 60 80 49 */ lis r3, lbl_80488790@ha -/* 80293CF0 00290C30 FF A0 F8 50 */ fneg f29, f31 -/* 80293CF4 00290C34 38 E3 87 90 */ addi r7, r3, lbl_80488790@l -/* 80293CF8 00290C38 81 64 00 04 */ lwz r11, lbl_80490004@l(r4) -/* 80293CFC 00290C3C 81 44 00 08 */ lwz r10, 8(r4) -/* 80293D00 00290C40 7F FC FB 78 */ mr r28, r31 -/* 80293D04 00290C44 81 24 00 0C */ lwz r9, 0xc(r4) -/* 80293D08 00290C48 81 04 00 10 */ lwz r8, 0x10(r4) -/* 80293D0C 00290C4C 3B C1 00 1C */ addi r30, r1, 0x1c -/* 80293D10 00290C50 80 C7 00 00 */ lwz r6, 0(r7) -/* 80293D14 00290C54 3B A1 00 08 */ addi r29, r1, 8 -/* 80293D18 00290C58 80 A7 00 04 */ lwz r5, 4(r7) -/* 80293D1C 00290C5C 3B 60 00 00 */ li r27, 0 -/* 80293D20 00290C60 80 87 00 08 */ lwz r4, 8(r7) -/* 80293D24 00290C64 80 67 00 0C */ lwz r3, 0xc(r7) -/* 80293D28 00290C68 80 07 00 10 */ lwz r0, 0x10(r7) -/* 80293D2C 00290C6C 91 81 00 1C */ stw r12, 0x1c(r1) -/* 80293D30 00290C70 91 61 00 20 */ stw r11, 0x20(r1) -/* 80293D34 00290C74 91 41 00 24 */ stw r10, 0x24(r1) -/* 80293D38 00290C78 91 21 00 28 */ stw r9, 0x28(r1) -/* 80293D3C 00290C7C 91 01 00 2C */ stw r8, 0x2c(r1) -/* 80293D40 00290C80 90 C1 00 08 */ stw r6, 8(r1) -/* 80293D44 00290C84 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80293D48 00290C88 90 81 00 10 */ stw r4, 0x10(r1) -/* 80293D4C 00290C8C 90 61 00 14 */ stw r3, 0x14(r1) -/* 80293D50 00290C90 90 01 00 18 */ stw r0, 0x18(r1) -lbl_80293D54: -/* 80293D54 00290C94 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 80293D58 00290C98 38 9C 02 D8 */ addi r4, r28, 0x2d8 -/* 80293D5C 00290C9C C0 3E 00 00 */ lfs f1, 0(r30) -/* 80293D60 00290CA0 D0 1C 02 D8 */ stfs f0, 0x2d8(r28) -/* 80293D64 00290CA4 C0 5D 00 00 */ lfs f2, 0(r29) -/* 80293D68 00290CA8 EC 7E 00 72 */ fmuls f3, f30, f1 -/* 80293D6C 00290CAC C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 80293D70 00290CB0 EC BF 00 72 */ fmuls f5, f31, f1 -/* 80293D74 00290CB4 C0 82 D7 30 */ lfs f4, lbl_8051BA90@sda21(r2) -/* 80293D78 00290CB8 EC DD 00 B2 */ fmuls f6, f29, f2 -/* 80293D7C 00290CBC D0 1C 02 DC */ stfs f0, 0x2dc(r28) -/* 80293D80 00290CC0 FC E0 20 90 */ fmr f7, f4 -/* 80293D84 00290CC4 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 80293D88 00290CC8 EC 84 00 72 */ fmuls f4, f4, f1 -/* 80293D8C 00290CCC EC 3E 00 B2 */ fmuls f1, f30, f2 -/* 80293D90 00290CD0 D0 1C 02 E0 */ stfs f0, 0x2e0(r28) -/* 80293D94 00290CD4 EC E7 00 B2 */ fmuls f7, f7, f2 -/* 80293D98 00290CD8 C0 1C 02 D8 */ lfs f0, 0x2d8(r28) -/* 80293D9C 00290CDC EC 00 18 2A */ fadds f0, f0, f3 -/* 80293DA0 00290CE0 D0 1C 02 D8 */ stfs f0, 0x2d8(r28) -/* 80293DA4 00290CE4 C0 1C 02 DC */ lfs f0, 0x2dc(r28) -/* 80293DA8 00290CE8 EC 00 20 2A */ fadds f0, f0, f4 -/* 80293DAC 00290CEC D0 1C 02 DC */ stfs f0, 0x2dc(r28) -/* 80293DB0 00290CF0 C0 1C 02 E0 */ lfs f0, 0x2e0(r28) -/* 80293DB4 00290CF4 EC 00 28 2A */ fadds f0, f0, f5 -/* 80293DB8 00290CF8 D0 1C 02 E0 */ stfs f0, 0x2e0(r28) -/* 80293DBC 00290CFC C0 1C 02 D8 */ lfs f0, 0x2d8(r28) -/* 80293DC0 00290D00 EC 00 30 2A */ fadds f0, f0, f6 -/* 80293DC4 00290D04 D0 1C 02 D8 */ stfs f0, 0x2d8(r28) -/* 80293DC8 00290D08 C0 1C 02 DC */ lfs f0, 0x2dc(r28) -/* 80293DCC 00290D0C EC 00 38 2A */ fadds f0, f0, f7 -/* 80293DD0 00290D10 D0 1C 02 DC */ stfs f0, 0x2dc(r28) -/* 80293DD4 00290D14 C0 1C 02 E0 */ lfs f0, 0x2e0(r28) -/* 80293DD8 00290D18 EC 00 08 2A */ fadds f0, f0, f1 -/* 80293DDC 00290D1C D0 1C 02 E0 */ stfs f0, 0x2e0(r28) -/* 80293DE0 00290D20 80 6D 93 08 */ lwz r3, mapMgr__4Game@sda21(r13) -/* 80293DE4 00290D24 81 83 00 04 */ lwz r12, 4(r3) -/* 80293DE8 00290D28 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80293DEC 00290D2C 7D 89 03 A6 */ mtctr r12 -/* 80293DF0 00290D30 4E 80 04 21 */ bctrl -/* 80293DF4 00290D34 3B 7B 00 01 */ addi r27, r27, 1 -/* 80293DF8 00290D38 D0 3C 02 DC */ stfs f1, 0x2dc(r28) -/* 80293DFC 00290D3C 2C 1B 00 05 */ cmpwi r27, 5 -/* 80293E00 00290D40 3B DE 00 04 */ addi r30, r30, 4 -/* 80293E04 00290D44 3B BD 00 04 */ addi r29, r29, 4 -/* 80293E08 00290D48 3B 9C 00 0C */ addi r28, r28, 0xc -/* 80293E0C 00290D4C 41 80 FF 48 */ blt lbl_80293D54 -/* 80293E10 00290D50 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80293E14 00290D54 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80293E18 00290D58 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80293E1C 00290D5C CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80293E20 00290D60 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80293E24 00290D64 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80293E28 00290D68 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 80293E2C 00290D6C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80293E30 00290D70 7C 08 03 A6 */ mtlr r0 -/* 80293E34 00290D74 38 21 00 90 */ addi r1, r1, 0x90 -/* 80293E38 00290D78 4E 80 00 20 */ blr - -.global getAttackPiki__Q34Game9SnakeCrow3ObjFi -getAttackPiki__Q34Game9SnakeCrow3ObjFi: -/* 80293E3C 00290D7C 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80293E40 00290D80 7C 08 02 A6 */ mflr r0 -/* 80293E44 00290D84 90 01 01 64 */ stw r0, 0x164(r1) -/* 80293E48 00290D88 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80293E4C 00290D8C F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 80293E50 00290D90 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 80293E54 00290D94 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 80293E58 00290D98 DB A1 01 30 */ stfd f29, 0x130(r1) -/* 80293E5C 00290D9C F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 80293E60 00290DA0 DB 81 01 20 */ stfd f28, 0x120(r1) -/* 80293E64 00290DA4 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 -/* 80293E68 00290DA8 DB 61 01 10 */ stfd f27, 0x110(r1) -/* 80293E6C 00290DAC F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0 -/* 80293E70 00290DB0 DB 41 01 00 */ stfd f26, 0x100(r1) -/* 80293E74 00290DB4 F3 41 01 08 */ psq_st f26, 264(r1), 0, qr0 -/* 80293E78 00290DB8 BE 61 00 CC */ stmw r19, 0xcc(r1) -/* 80293E7C 00290DBC 2C 04 00 05 */ cmpwi r4, 5 -/* 80293E80 00290DC0 3C A0 80 49 */ lis r5, lbl_80488730@ha -/* 80293E84 00290DC4 7C 7C 1B 78 */ mr r28, r3 -/* 80293E88 00290DC8 3B C0 00 00 */ li r30, 0 -/* 80293E8C 00290DCC 3B E5 87 30 */ addi r31, r5, lbl_80488730@l -/* 80293E90 00290DD0 3B A0 00 05 */ li r29, 5 -/* 80293E94 00290DD4 40 80 00 0C */ bge lbl_80293EA0 -/* 80293E98 00290DD8 7C 9E 23 78 */ mr r30, r4 -/* 80293E9C 00290DDC 3B A4 00 01 */ addi r29, r4, 1 -lbl_80293EA0: -/* 80293EA0 00290DE0 7F 84 E3 78 */ mr r4, r28 -/* 80293EA4 00290DE4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80293EA8 00290DE8 81 9C 00 00 */ lwz r12, 0(r28) -/* 80293EAC 00290DEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80293EB0 00290DF0 7D 89 03 A6 */ mtctr r12 -/* 80293EB4 00290DF4 4E 80 04 21 */ bctrl -/* 80293EB8 00290DF8 C0 7C 01 FC */ lfs f3, 0x1fc(r28) -/* 80293EBC 00290DFC C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80293EC0 00290E00 FC 20 18 90 */ fmr f1, f3 -/* 80293EC4 00290E04 C3 81 00 14 */ lfs f28, 0x14(r1) -/* 80293EC8 00290E08 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80293ECC 00290E0C C3 61 00 18 */ lfs f27, 0x18(r1) -/* 80293ED0 00290E10 C3 41 00 1C */ lfs f26, 0x1c(r1) -/* 80293ED4 00290E14 40 80 00 08 */ bge lbl_80293EDC -/* 80293ED8 00290E18 FC 20 18 50 */ fneg f1, f3 -lbl_80293EDC: -/* 80293EDC 00290E1C C0 42 D7 5C */ lfs f2, lbl_8051BABC@sda21(r2) -/* 80293EE0 00290E20 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 80293EE4 00290E24 C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80293EE8 00290E28 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 80293EEC 00290E2C EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80293EF0 00290E30 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80293EF4 00290E34 FC 00 08 1E */ fctiwz f0, f1 -/* 80293EF8 00290E38 D8 01 00 A8 */ stfd f0, 0xa8(r1) -/* 80293EFC 00290E3C 80 01 00 AC */ lwz r0, 0xac(r1) -/* 80293F00 00290E40 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293F04 00290E44 7C 64 02 14 */ add r3, r4, r0 -/* 80293F08 00290E48 C3 C3 00 04 */ lfs f30, 4(r3) -/* 80293F0C 00290E4C 40 80 00 28 */ bge lbl_80293F34 -/* 80293F10 00290E50 C0 02 D7 60 */ lfs f0, lbl_8051BAC0@sda21(r2) -/* 80293F14 00290E54 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80293F18 00290E58 FC 00 00 1E */ fctiwz f0, f0 -/* 80293F1C 00290E5C D8 01 00 B0 */ stfd f0, 0xb0(r1) -/* 80293F20 00290E60 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80293F24 00290E64 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293F28 00290E68 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80293F2C 00290E6C FF A0 00 50 */ fneg f29, f0 -/* 80293F30 00290E70 48 00 00 1C */ b lbl_80293F4C -lbl_80293F34: -/* 80293F34 00290E74 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 80293F38 00290E78 FC 00 00 1E */ fctiwz f0, f0 -/* 80293F3C 00290E7C D8 01 00 B8 */ stfd f0, 0xb8(r1) -/* 80293F40 00290E80 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 80293F44 00290E84 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 80293F48 00290E88 7F A4 04 2E */ lfsx f29, r4, r0 -lbl_80293F4C: -/* 80293F4C 00290E8C 80 1F 00 C4 */ lwz r0, 0xc4(r31) -/* 80293F50 00290E90 FF E0 F0 50 */ fneg f31, f30 -/* 80293F54 00290E94 81 7F 00 C8 */ lwz r11, 0xc8(r31) -/* 80293F58 00290E98 81 5F 00 CC */ lwz r10, 0xcc(r31) -/* 80293F5C 00290E9C 81 3F 00 D0 */ lwz r9, 0xd0(r31) -/* 80293F60 00290EA0 81 1F 00 D4 */ lwz r8, 0xd4(r31) -/* 80293F64 00290EA4 80 FF 00 D8 */ lwz r7, 0xd8(r31) -/* 80293F68 00290EA8 80 DF 00 DC */ lwz r6, 0xdc(r31) -/* 80293F6C 00290EAC 80 BF 00 E0 */ lwz r5, 0xe0(r31) -/* 80293F70 00290EB0 80 9F 00 E4 */ lwz r4, 0xe4(r31) -/* 80293F74 00290EB4 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 80293F78 00290EB8 C0 3C 02 DC */ lfs f1, 0x2dc(r28) -/* 80293F7C 00290EBC C0 1C 02 E8 */ lfs f0, 0x2e8(r28) -/* 80293F80 00290EC0 C0 5C 02 F4 */ lfs f2, 0x2f4(r28) -/* 80293F84 00290EC4 ED 01 D8 28 */ fsubs f8, f1, f27 -/* 80293F88 00290EC8 C0 3C 03 00 */ lfs f1, 0x300(r28) -/* 80293F8C 00290ECC EC C0 D8 28 */ fsubs f6, f0, f27 -/* 80293F90 00290ED0 C0 1C 03 0C */ lfs f0, 0x30c(r28) -/* 80293F94 00290ED4 ED 82 D8 28 */ fsubs f12, f2, f27 -/* 80293F98 00290ED8 90 01 00 44 */ stw r0, 0x44(r1) -/* 80293F9C 00290EDC 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 80293FA0 00290EE0 ED 61 D8 28 */ fsubs f11, f1, f27 -/* 80293FA4 00290EE4 91 61 00 48 */ stw r11, 0x48(r1) -/* 80293FA8 00290EE8 ED 40 D8 28 */ fsubs f10, f0, f27 -/* 80293FAC 00290EEC C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80293FB0 00290EF0 91 41 00 4C */ stw r10, 0x4c(r1) -/* 80293FB4 00290EF4 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80293FB8 00290EF8 ED 20 40 2A */ fadds f9, f0, f8 -/* 80293FBC 00290EFC 91 21 00 50 */ stw r9, 0x50(r1) -/* 80293FC0 00290F00 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80293FC4 00290F04 EC E1 30 2A */ fadds f7, f1, f6 -/* 80293FC8 00290F08 91 01 00 54 */ stw r8, 0x54(r1) -/* 80293FCC 00290F0C C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80293FD0 00290F10 EC A0 60 2A */ fadds f5, f0, f12 -/* 80293FD4 00290F14 90 E1 00 30 */ stw r7, 0x30(r1) -/* 80293FD8 00290F18 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80293FDC 00290F1C EC 61 58 2A */ fadds f3, f1, f11 -/* 80293FE0 00290F20 90 C1 00 34 */ stw r6, 0x34(r1) -/* 80293FE4 00290F24 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 80293FE8 00290F28 EC 20 50 2A */ fadds f1, f0, f10 -/* 80293FEC 00290F2C 90 A1 00 38 */ stw r5, 0x38(r1) -/* 80293FF0 00290F30 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80293FF4 00290F34 ED 04 40 2A */ fadds f8, f4, f8 -/* 80293FF8 00290F38 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80293FFC 00290F3C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80294000 00290F40 EC C2 30 2A */ fadds f6, f2, f6 -/* 80294004 00290F44 90 61 00 40 */ stw r3, 0x40(r1) -/* 80294008 00290F48 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 8029400C 00290F4C EC 80 60 2A */ fadds f4, f0, f12 -/* 80294010 00290F50 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80294014 00290F54 EC 42 58 2A */ fadds f2, f2, f11 -/* 80294018 00290F58 82 7F 00 78 */ lwz r19, 0x78(r31) -/* 8029401C 00290F5C EC 00 50 2A */ fadds f0, f0, f10 -/* 80294020 00290F60 82 9F 00 7C */ lwz r20, 0x7c(r31) -/* 80294024 00290F64 82 BF 00 80 */ lwz r21, 0x80(r31) -/* 80294028 00290F68 82 DF 00 84 */ lwz r22, 0x84(r31) -/* 8029402C 00290F6C 82 FF 00 88 */ lwz r23, 0x88(r31) -/* 80294030 00290F70 83 1F 00 8C */ lwz r24, 0x8c(r31) -/* 80294034 00290F74 83 3F 00 90 */ lwz r25, 0x90(r31) -/* 80294038 00290F78 83 5F 00 94 */ lwz r26, 0x94(r31) -/* 8029403C 00290F7C 83 7F 00 98 */ lwz r27, 0x98(r31) -/* 80294040 00290F80 81 9F 00 9C */ lwz r12, 0x9c(r31) -/* 80294044 00290F84 81 7F 00 A0 */ lwz r11, 0xa0(r31) -/* 80294048 00290F88 81 5F 00 A4 */ lwz r10, 0xa4(r31) -/* 8029404C 00290F8C 81 3F 00 A8 */ lwz r9, 0xa8(r31) -/* 80294050 00290F90 81 1F 00 AC */ lwz r8, 0xac(r31) -/* 80294054 00290F94 80 FF 00 B0 */ lwz r7, 0xb0(r31) -/* 80294058 00290F98 80 DF 00 B4 */ lwz r6, 0xb4(r31) -/* 8029405C 00290F9C 80 BF 00 B8 */ lwz r5, 0xb8(r31) -/* 80294060 00290FA0 80 9F 00 BC */ lwz r4, 0xbc(r31) -/* 80294064 00290FA4 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 80294068 00290FA8 90 01 00 94 */ stw r0, 0x94(r1) -/* 8029406C 00290FAC 92 61 00 98 */ stw r19, 0x98(r1) -/* 80294070 00290FB0 92 81 00 9C */ stw r20, 0x9c(r1) -/* 80294074 00290FB4 92 A1 00 A0 */ stw r21, 0xa0(r1) -/* 80294078 00290FB8 92 C1 00 A4 */ stw r22, 0xa4(r1) -/* 8029407C 00290FBC 92 E1 00 80 */ stw r23, 0x80(r1) -/* 80294080 00290FC0 93 01 00 84 */ stw r24, 0x84(r1) -/* 80294084 00290FC4 93 21 00 88 */ stw r25, 0x88(r1) -/* 80294088 00290FC8 93 41 00 8C */ stw r26, 0x8c(r1) -/* 8029408C 00290FCC 93 61 00 90 */ stw r27, 0x90(r1) -/* 80294090 00290FD0 91 81 00 6C */ stw r12, 0x6c(r1) -/* 80294094 00290FD4 91 61 00 70 */ stw r11, 0x70(r1) -/* 80294098 00290FD8 91 41 00 74 */ stw r10, 0x74(r1) -/* 8029409C 00290FDC 91 21 00 78 */ stw r9, 0x78(r1) -/* 802940A0 00290FE0 91 01 00 7C */ stw r8, 0x7c(r1) -/* 802940A4 00290FE4 90 E1 00 58 */ stw r7, 0x58(r1) -/* 802940A8 00290FE8 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 802940AC 00290FEC 90 A1 00 60 */ stw r5, 0x60(r1) -/* 802940B0 00290FF0 90 81 00 64 */ stw r4, 0x64(r1) -/* 802940B4 00290FF4 90 61 00 68 */ stw r3, 0x68(r1) -/* 802940B8 00290FF8 D1 21 00 44 */ stfs f9, 0x44(r1) -/* 802940BC 00290FFC D1 01 00 30 */ stfs f8, 0x30(r1) -/* 802940C0 00291000 D0 E1 00 48 */ stfs f7, 0x48(r1) -/* 802940C4 00291004 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 802940C8 00291008 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 802940CC 0029100C D0 81 00 38 */ stfs f4, 0x38(r1) -/* 802940D0 00291010 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 802940D4 00291014 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802940D8 00291018 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802940DC 0029101C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802940E0 00291020 38 00 00 00 */ li r0, 0 -/* 802940E4 00291024 80 6D 92 F4 */ lwz r3, pikiMgr__4Game@sda21(r13) -/* 802940E8 00291028 3C 80 80 4B */ lis r4, __vt__22Iterator$$0Q24Game4Piki$$1@ha -/* 802940EC 0029102C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802940F0 00291030 38 84 BC 9C */ addi r4, r4, __vt__22Iterator$$0Q24Game4Piki$$1@l -/* 802940F4 00291034 28 00 00 00 */ cmplwi r0, 0 -/* 802940F8 00291038 90 81 00 20 */ stw r4, 0x20(r1) -/* 802940FC 0029103C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80294100 00291040 90 61 00 28 */ stw r3, 0x28(r1) -/* 80294104 00291044 40 82 00 1C */ bne lbl_80294120 -/* 80294108 00291048 81 83 00 00 */ lwz r12, 0(r3) -/* 8029410C 0029104C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80294110 00291050 7D 89 03 A6 */ mtctr r12 -/* 80294114 00291054 4E 80 04 21 */ bctrl -/* 80294118 00291058 90 61 00 24 */ stw r3, 0x24(r1) -/* 8029411C 0029105C 48 00 02 AC */ b lbl_802943C8 -lbl_80294120: -/* 80294120 00291060 81 83 00 00 */ lwz r12, 0(r3) -/* 80294124 00291064 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80294128 00291068 7D 89 03 A6 */ mtctr r12 -/* 8029412C 0029106C 4E 80 04 21 */ bctrl -/* 80294130 00291070 90 61 00 24 */ stw r3, 0x24(r1) -/* 80294134 00291074 48 00 00 58 */ b lbl_8029418C -lbl_80294138: -/* 80294138 00291078 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8029413C 0029107C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294140 00291080 81 83 00 00 */ lwz r12, 0(r3) -/* 80294144 00291084 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80294148 00291088 7D 89 03 A6 */ mtctr r12 -/* 8029414C 0029108C 4E 80 04 21 */ bctrl -/* 80294150 00291090 7C 64 1B 78 */ mr r4, r3 -/* 80294154 00291094 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80294158 00291098 81 83 00 00 */ lwz r12, 0(r3) -/* 8029415C 0029109C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294160 002910A0 7D 89 03 A6 */ mtctr r12 -/* 80294164 002910A4 4E 80 04 21 */ bctrl -/* 80294168 002910A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029416C 002910AC 40 82 02 5C */ bne lbl_802943C8 -/* 80294170 002910B0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80294174 002910B4 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294178 002910B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8029417C 002910BC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294180 002910C0 7D 89 03 A6 */ mtctr r12 -/* 80294184 002910C4 4E 80 04 21 */ bctrl -/* 80294188 002910C8 90 61 00 24 */ stw r3, 0x24(r1) -lbl_8029418C: -/* 8029418C 002910CC 81 81 00 20 */ lwz r12, 0x20(r1) -/* 80294190 002910D0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80294194 002910D4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80294198 002910D8 7D 89 03 A6 */ mtctr r12 -/* 8029419C 002910DC 4E 80 04 21 */ bctrl -/* 802941A0 002910E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802941A4 002910E4 41 82 FF 94 */ beq lbl_80294138 -/* 802941A8 002910E8 48 00 02 20 */ b lbl_802943C8 -lbl_802941AC: -/* 802941AC 002910EC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802941B0 002910F0 81 83 00 00 */ lwz r12, 0(r3) -/* 802941B4 002910F4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802941B8 002910F8 7D 89 03 A6 */ mtctr r12 -/* 802941BC 002910FC 4E 80 04 21 */ bctrl -/* 802941C0 00291100 81 83 00 00 */ lwz r12, 0(r3) -/* 802941C4 00291104 7C 73 1B 78 */ mr r19, r3 -/* 802941C8 00291108 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802941CC 0029110C 7D 89 03 A6 */ mtctr r12 -/* 802941D0 00291110 4E 80 04 21 */ bctrl -/* 802941D4 00291114 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802941D8 00291118 41 82 01 34 */ beq lbl_8029430C -/* 802941DC 0029111C 7E 63 9B 78 */ mr r3, r19 -/* 802941E0 00291120 81 93 00 00 */ lwz r12, 0(r19) -/* 802941E4 00291124 81 8C 01 C0 */ lwz r12, 0x1c0(r12) -/* 802941E8 00291128 7D 89 03 A6 */ mtctr r12 -/* 802941EC 0029112C 4E 80 04 21 */ bctrl -/* 802941F0 00291130 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802941F4 00291134 41 82 01 18 */ beq lbl_8029430C -/* 802941F8 00291138 7E 63 9B 78 */ mr r3, r19 -/* 802941FC 0029113C 4B F0 B3 8D */ bl isStickToMouth__Q24Game8CreatureFv -/* 80294200 00291140 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294204 00291144 40 82 01 08 */ bne lbl_8029430C -/* 80294208 00291148 7E 64 9B 78 */ mr r4, r19 -/* 8029420C 0029114C 38 61 00 08 */ addi r3, r1, 8 -/* 80294210 00291150 81 93 00 00 */ lwz r12, 0(r19) -/* 80294214 00291154 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294218 00291158 7D 89 03 A6 */ mtctr r12 -/* 8029421C 0029115C 4E 80 04 21 */ bctrl -/* 80294220 00291160 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80294224 00291164 57 C9 10 3A */ slwi r9, r30, 2 -/* 80294228 00291168 C0 21 00 08 */ lfs f1, 8(r1) -/* 8029422C 0029116C 38 61 00 94 */ addi r3, r1, 0x94 -/* 80294230 00291170 EC 80 D8 28 */ fsubs f4, f0, f27 -/* 80294234 00291174 C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80294238 00291178 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8029423C 0029117C 38 81 00 80 */ addi r4, r1, 0x80 -/* 80294240 00291180 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80294244 00291184 38 C1 00 58 */ addi r6, r1, 0x58 -/* 80294248 00291188 EC 61 E0 28 */ fsubs f3, f1, f28 -/* 8029424C 0029118C 38 E1 00 44 */ addi r7, r1, 0x44 -/* 80294250 00291190 EC 00 01 32 */ fmuls f0, f0, f4 -/* 80294254 00291194 39 01 00 30 */ addi r8, r1, 0x30 -/* 80294258 00291198 EC 42 D0 28 */ fsubs f2, f2, f26 -/* 8029425C 0029119C 7C 1E E8 50 */ subf r0, r30, r29 -/* 80294260 002911A0 EC 3D 00 FA */ fmadds f1, f29, f3, f0 -/* 80294264 002911A4 7F CA F3 78 */ mr r10, r30 -/* 80294268 002911A8 EC 1F 00 FA */ fmadds f0, f31, f3, f0 -/* 8029426C 002911AC 7C 63 4A 14 */ add r3, r3, r9 -/* 80294270 002911B0 7C 84 4A 14 */ add r4, r4, r9 -/* 80294274 002911B4 7C A5 4A 14 */ add r5, r5, r9 -/* 80294278 002911B8 EC 3E 08 BA */ fmadds f1, f30, f2, f1 -/* 8029427C 002911BC 7C C6 4A 14 */ add r6, r6, r9 -/* 80294280 002911C0 EC 5D 00 BA */ fmadds f2, f29, f2, f0 -/* 80294284 002911C4 7C E7 4A 14 */ add r7, r7, r9 -/* 80294288 002911C8 7D 08 4A 14 */ add r8, r8, r9 -/* 8029428C 002911CC 7C 09 03 A6 */ mtctr r0 -/* 80294290 002911D0 7C 1E E8 00 */ cmpw r30, r29 -/* 80294294 002911D4 40 80 00 78 */ bge lbl_8029430C -lbl_80294298: -/* 80294298 002911D8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8029429C 002911DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802942A0 002911E0 40 80 00 4C */ bge lbl_802942EC -/* 802942A4 002911E4 C0 04 00 00 */ lfs f0, 0(r4) -/* 802942A8 002911E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 802942AC 002911EC 40 81 00 40 */ ble lbl_802942EC -/* 802942B0 002911F0 C0 05 00 00 */ lfs f0, 0(r5) -/* 802942B4 002911F4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802942B8 002911F8 40 80 00 34 */ bge lbl_802942EC -/* 802942BC 002911FC C0 06 00 00 */ lfs f0, 0(r6) -/* 802942C0 00291200 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 802942C4 00291204 40 81 00 28 */ ble lbl_802942EC -/* 802942C8 00291208 C0 07 00 00 */ lfs f0, 0(r7) -/* 802942CC 0029120C FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802942D0 00291210 40 80 00 1C */ bge lbl_802942EC -/* 802942D4 00291214 C0 08 00 00 */ lfs f0, 0(r8) -/* 802942D8 00291218 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802942DC 0029121C 40 81 00 10 */ ble lbl_802942EC -/* 802942E0 00291220 91 5C 02 D4 */ stw r10, 0x2d4(r28) -/* 802942E4 00291224 7E 63 9B 78 */ mr r3, r19 -/* 802942E8 00291228 48 00 01 04 */ b lbl_802943EC -lbl_802942EC: -/* 802942EC 0029122C 38 63 00 04 */ addi r3, r3, 4 -/* 802942F0 00291230 38 84 00 04 */ addi r4, r4, 4 -/* 802942F4 00291234 38 A5 00 04 */ addi r5, r5, 4 -/* 802942F8 00291238 38 C6 00 04 */ addi r6, r6, 4 -/* 802942FC 0029123C 38 E7 00 04 */ addi r7, r7, 4 -/* 80294300 00291240 39 08 00 04 */ addi r8, r8, 4 -/* 80294304 00291244 39 4A 00 01 */ addi r10, r10, 1 -/* 80294308 00291248 42 00 FF 90 */ bdnz lbl_80294298 -lbl_8029430C: -/* 8029430C 0029124C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80294310 00291250 28 00 00 00 */ cmplwi r0, 0 -/* 80294314 00291254 40 82 00 24 */ bne lbl_80294338 -/* 80294318 00291258 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8029431C 0029125C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294320 00291260 81 83 00 00 */ lwz r12, 0(r3) -/* 80294324 00291264 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294328 00291268 7D 89 03 A6 */ mtctr r12 -/* 8029432C 0029126C 4E 80 04 21 */ bctrl -/* 80294330 00291270 90 61 00 24 */ stw r3, 0x24(r1) -/* 80294334 00291274 48 00 00 94 */ b lbl_802943C8 -lbl_80294338: -/* 80294338 00291278 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8029433C 0029127C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294340 00291280 81 83 00 00 */ lwz r12, 0(r3) -/* 80294344 00291284 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294348 00291288 7D 89 03 A6 */ mtctr r12 -/* 8029434C 0029128C 4E 80 04 21 */ bctrl -/* 80294350 00291290 90 61 00 24 */ stw r3, 0x24(r1) -/* 80294354 00291294 48 00 00 58 */ b lbl_802943AC -lbl_80294358: -/* 80294358 00291298 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8029435C 0029129C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294360 002912A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80294364 002912A4 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80294368 002912A8 7D 89 03 A6 */ mtctr r12 -/* 8029436C 002912AC 4E 80 04 21 */ bctrl -/* 80294370 002912B0 7C 64 1B 78 */ mr r4, r3 -/* 80294374 002912B4 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80294378 002912B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8029437C 002912BC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294380 002912C0 7D 89 03 A6 */ mtctr r12 -/* 80294384 002912C4 4E 80 04 21 */ bctrl -/* 80294388 002912C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029438C 002912CC 40 82 00 3C */ bne lbl_802943C8 -/* 80294390 002912D0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80294394 002912D4 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294398 002912D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8029439C 002912DC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802943A0 002912E0 7D 89 03 A6 */ mtctr r12 -/* 802943A4 002912E4 4E 80 04 21 */ bctrl -/* 802943A8 002912E8 90 61 00 24 */ stw r3, 0x24(r1) -lbl_802943AC: -/* 802943AC 002912EC 81 81 00 20 */ lwz r12, 0x20(r1) -/* 802943B0 002912F0 38 61 00 20 */ addi r3, r1, 0x20 -/* 802943B4 002912F4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802943B8 002912F8 7D 89 03 A6 */ mtctr r12 -/* 802943BC 002912FC 4E 80 04 21 */ bctrl -/* 802943C0 00291300 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802943C4 00291304 41 82 FF 94 */ beq lbl_80294358 -lbl_802943C8: -/* 802943C8 00291308 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802943CC 0029130C 81 83 00 00 */ lwz r12, 0(r3) -/* 802943D0 00291310 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802943D4 00291314 7D 89 03 A6 */ mtctr r12 -/* 802943D8 00291318 4E 80 04 21 */ bctrl -/* 802943DC 0029131C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802943E0 00291320 7C 04 18 40 */ cmplw r4, r3 -/* 802943E4 00291324 40 82 FD C8 */ bne lbl_802941AC -/* 802943E8 00291328 38 60 00 00 */ li r3, 0 -lbl_802943EC: -/* 802943EC 0029132C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 802943F0 00291330 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 802943F4 00291334 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 802943F8 00291338 CB C1 01 40 */ lfd f30, 0x140(r1) -/* 802943FC 0029133C E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 80294400 00291340 CB A1 01 30 */ lfd f29, 0x130(r1) -/* 80294404 00291344 E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 -/* 80294408 00291348 CB 81 01 20 */ lfd f28, 0x120(r1) -/* 8029440C 0029134C E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 -/* 80294410 00291350 CB 61 01 10 */ lfd f27, 0x110(r1) -/* 80294414 00291354 E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0 -/* 80294418 00291358 CB 41 01 00 */ lfd f26, 0x100(r1) -/* 8029441C 0029135C BA 61 00 CC */ lmw r19, 0xcc(r1) -/* 80294420 00291360 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80294424 00291364 7C 08 03 A6 */ mtlr r0 -/* 80294428 00291368 38 21 01 60 */ addi r1, r1, 0x160 -/* 8029442C 0029136C 4E 80 00 20 */ blr - -.global getAttackNavi__Q34Game9SnakeCrow3ObjFi -getAttackNavi__Q34Game9SnakeCrow3ObjFi: -/* 80294430 00291370 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80294434 00291374 7C 08 02 A6 */ mflr r0 -/* 80294438 00291378 90 01 01 64 */ stw r0, 0x164(r1) -/* 8029443C 0029137C DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80294440 00291380 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 80294444 00291384 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 80294448 00291388 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 8029444C 0029138C DB A1 01 30 */ stfd f29, 0x130(r1) -/* 80294450 00291390 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 80294454 00291394 DB 81 01 20 */ stfd f28, 0x120(r1) -/* 80294458 00291398 F3 81 01 28 */ psq_st f28, 296(r1), 0, qr0 -/* 8029445C 0029139C DB 61 01 10 */ stfd f27, 0x110(r1) -/* 80294460 002913A0 F3 61 01 18 */ psq_st f27, 280(r1), 0, qr0 -/* 80294464 002913A4 DB 41 01 00 */ stfd f26, 0x100(r1) -/* 80294468 002913A8 F3 41 01 08 */ psq_st f26, 264(r1), 0, qr0 -/* 8029446C 002913AC BE 61 00 CC */ stmw r19, 0xcc(r1) -/* 80294470 002913B0 2C 04 00 05 */ cmpwi r4, 5 -/* 80294474 002913B4 3C A0 80 49 */ lis r5, lbl_80488730@ha -/* 80294478 002913B8 7C 7C 1B 78 */ mr r28, r3 -/* 8029447C 002913BC 3B C0 00 00 */ li r30, 0 -/* 80294480 002913C0 3B E5 87 30 */ addi r31, r5, lbl_80488730@l -/* 80294484 002913C4 3B A0 00 05 */ li r29, 5 -/* 80294488 002913C8 40 80 00 0C */ bge lbl_80294494 -/* 8029448C 002913CC 7C 9E 23 78 */ mr r30, r4 -/* 80294490 002913D0 3B A4 00 01 */ addi r29, r4, 1 -lbl_80294494: -/* 80294494 002913D4 7F 84 E3 78 */ mr r4, r28 -/* 80294498 002913D8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8029449C 002913DC 81 9C 00 00 */ lwz r12, 0(r28) -/* 802944A0 002913E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 802944A4 002913E4 7D 89 03 A6 */ mtctr r12 -/* 802944A8 002913E8 4E 80 04 21 */ bctrl -/* 802944AC 002913EC C0 7C 01 FC */ lfs f3, 0x1fc(r28) -/* 802944B0 002913F0 C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 802944B4 002913F4 FC 20 18 90 */ fmr f1, f3 -/* 802944B8 002913F8 C3 81 00 14 */ lfs f28, 0x14(r1) -/* 802944BC 002913FC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802944C0 00291400 C3 61 00 18 */ lfs f27, 0x18(r1) -/* 802944C4 00291404 C3 41 00 1C */ lfs f26, 0x1c(r1) -/* 802944C8 00291408 40 80 00 08 */ bge lbl_802944D0 -/* 802944CC 0029140C FC 20 18 50 */ fneg f1, f3 -lbl_802944D0: -/* 802944D0 00291410 C0 42 D7 5C */ lfs f2, lbl_8051BABC@sda21(r2) -/* 802944D4 00291414 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha -/* 802944D8 00291418 C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 802944DC 0029141C 38 83 71 A0 */ addi r4, r3, sincosTable___5JMath@l -/* 802944E0 00291420 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 802944E4 00291424 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 802944E8 00291428 FC 00 08 1E */ fctiwz f0, f1 -/* 802944EC 0029142C D8 01 00 A8 */ stfd f0, 0xa8(r1) -/* 802944F0 00291430 80 01 00 AC */ lwz r0, 0xac(r1) -/* 802944F4 00291434 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 802944F8 00291438 7C 64 02 14 */ add r3, r4, r0 -/* 802944FC 0029143C C3 C3 00 04 */ lfs f30, 4(r3) -/* 80294500 00291440 40 80 00 28 */ bge lbl_80294528 -/* 80294504 00291444 C0 02 D7 60 */ lfs f0, lbl_8051BAC0@sda21(r2) -/* 80294508 00291448 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8029450C 0029144C FC 00 00 1E */ fctiwz f0, f0 -/* 80294510 00291450 D8 01 00 B0 */ stfd f0, 0xb0(r1) -/* 80294514 00291454 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80294518 00291458 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8029451C 0029145C 7C 04 04 2E */ lfsx f0, r4, r0 -/* 80294520 00291460 FF A0 00 50 */ fneg f29, f0 -/* 80294524 00291464 48 00 00 1C */ b lbl_80294540 -lbl_80294528: -/* 80294528 00291468 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 8029452C 0029146C FC 00 00 1E */ fctiwz f0, f0 -/* 80294530 00291470 D8 01 00 B8 */ stfd f0, 0xb8(r1) -/* 80294534 00291474 80 01 00 BC */ lwz r0, 0xbc(r1) -/* 80294538 00291478 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c -/* 8029453C 0029147C 7F A4 04 2E */ lfsx f29, r4, r0 -lbl_80294540: -/* 80294540 00291480 80 1F 01 3C */ lwz r0, 0x13c(r31) -/* 80294544 00291484 FF E0 F0 50 */ fneg f31, f30 -/* 80294548 00291488 81 7F 01 40 */ lwz r11, 0x140(r31) -/* 8029454C 0029148C 81 5F 01 44 */ lwz r10, 0x144(r31) -/* 80294550 00291490 81 3F 01 48 */ lwz r9, 0x148(r31) -/* 80294554 00291494 81 1F 01 4C */ lwz r8, 0x14c(r31) -/* 80294558 00291498 80 FF 01 50 */ lwz r7, 0x150(r31) -/* 8029455C 0029149C 80 DF 01 54 */ lwz r6, 0x154(r31) -/* 80294560 002914A0 80 BF 01 58 */ lwz r5, 0x158(r31) -/* 80294564 002914A4 80 9F 01 5C */ lwz r4, 0x15c(r31) -/* 80294568 002914A8 80 7F 01 60 */ lwz r3, 0x160(r31) -/* 8029456C 002914AC C0 3C 02 DC */ lfs f1, 0x2dc(r28) -/* 80294570 002914B0 C0 1C 02 E8 */ lfs f0, 0x2e8(r28) -/* 80294574 002914B4 C0 5C 02 F4 */ lfs f2, 0x2f4(r28) -/* 80294578 002914B8 ED 01 D8 28 */ fsubs f8, f1, f27 -/* 8029457C 002914BC C0 3C 03 00 */ lfs f1, 0x300(r28) -/* 80294580 002914C0 EC C0 D8 28 */ fsubs f6, f0, f27 -/* 80294584 002914C4 C0 1C 03 0C */ lfs f0, 0x30c(r28) -/* 80294588 002914C8 ED 82 D8 28 */ fsubs f12, f2, f27 -/* 8029458C 002914CC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80294590 002914D0 80 1F 00 EC */ lwz r0, 0xec(r31) -/* 80294594 002914D4 ED 61 D8 28 */ fsubs f11, f1, f27 -/* 80294598 002914D8 91 61 00 48 */ stw r11, 0x48(r1) -/* 8029459C 002914DC ED 40 D8 28 */ fsubs f10, f0, f27 -/* 802945A0 002914E0 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 802945A4 002914E4 91 41 00 4C */ stw r10, 0x4c(r1) -/* 802945A8 002914E8 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 802945AC 002914EC ED 20 40 2A */ fadds f9, f0, f8 -/* 802945B0 002914F0 91 21 00 50 */ stw r9, 0x50(r1) -/* 802945B4 002914F4 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 802945B8 002914F8 EC E1 30 2A */ fadds f7, f1, f6 -/* 802945BC 002914FC 91 01 00 54 */ stw r8, 0x54(r1) -/* 802945C0 00291500 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 802945C4 00291504 EC A0 60 2A */ fadds f5, f0, f12 -/* 802945C8 00291508 90 E1 00 30 */ stw r7, 0x30(r1) -/* 802945CC 0029150C C0 01 00 54 */ lfs f0, 0x54(r1) -/* 802945D0 00291510 EC 61 58 2A */ fadds f3, f1, f11 -/* 802945D4 00291514 90 C1 00 34 */ stw r6, 0x34(r1) -/* 802945D8 00291518 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 802945DC 0029151C EC 20 50 2A */ fadds f1, f0, f10 -/* 802945E0 00291520 90 A1 00 38 */ stw r5, 0x38(r1) -/* 802945E4 00291524 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 802945E8 00291528 ED 04 40 2A */ fadds f8, f4, f8 -/* 802945EC 0029152C 90 81 00 3C */ stw r4, 0x3c(r1) -/* 802945F0 00291530 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 802945F4 00291534 EC C2 30 2A */ fadds f6, f2, f6 -/* 802945F8 00291538 90 61 00 40 */ stw r3, 0x40(r1) -/* 802945FC 0029153C C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 80294600 00291540 EC 80 60 2A */ fadds f4, f0, f12 -/* 80294604 00291544 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80294608 00291548 EC 42 58 2A */ fadds f2, f2, f11 -/* 8029460C 0029154C 82 7F 00 F0 */ lwz r19, 0xf0(r31) -/* 80294610 00291550 EC 00 50 2A */ fadds f0, f0, f10 -/* 80294614 00291554 82 9F 00 F4 */ lwz r20, 0xf4(r31) -/* 80294618 00291558 82 BF 00 F8 */ lwz r21, 0xf8(r31) -/* 8029461C 0029155C 82 DF 00 FC */ lwz r22, 0xfc(r31) -/* 80294620 00291560 82 FF 01 00 */ lwz r23, 0x100(r31) -/* 80294624 00291564 83 1F 01 04 */ lwz r24, 0x104(r31) -/* 80294628 00291568 83 3F 01 08 */ lwz r25, 0x108(r31) -/* 8029462C 0029156C 83 5F 01 0C */ lwz r26, 0x10c(r31) -/* 80294630 00291570 83 7F 01 10 */ lwz r27, 0x110(r31) -/* 80294634 00291574 81 9F 01 14 */ lwz r12, 0x114(r31) -/* 80294638 00291578 81 7F 01 18 */ lwz r11, 0x118(r31) -/* 8029463C 0029157C 81 5F 01 1C */ lwz r10, 0x11c(r31) -/* 80294640 00291580 81 3F 01 20 */ lwz r9, 0x120(r31) -/* 80294644 00291584 81 1F 01 24 */ lwz r8, 0x124(r31) -/* 80294648 00291588 80 FF 01 28 */ lwz r7, 0x128(r31) -/* 8029464C 0029158C 80 DF 01 2C */ lwz r6, 0x12c(r31) -/* 80294650 00291590 80 BF 01 30 */ lwz r5, 0x130(r31) -/* 80294654 00291594 80 9F 01 34 */ lwz r4, 0x134(r31) -/* 80294658 00291598 80 7F 01 38 */ lwz r3, 0x138(r31) -/* 8029465C 0029159C 90 01 00 94 */ stw r0, 0x94(r1) -/* 80294660 002915A0 92 61 00 98 */ stw r19, 0x98(r1) -/* 80294664 002915A4 92 81 00 9C */ stw r20, 0x9c(r1) -/* 80294668 002915A8 92 A1 00 A0 */ stw r21, 0xa0(r1) -/* 8029466C 002915AC 92 C1 00 A4 */ stw r22, 0xa4(r1) -/* 80294670 002915B0 92 E1 00 80 */ stw r23, 0x80(r1) -/* 80294674 002915B4 93 01 00 84 */ stw r24, 0x84(r1) -/* 80294678 002915B8 93 21 00 88 */ stw r25, 0x88(r1) -/* 8029467C 002915BC 93 41 00 8C */ stw r26, 0x8c(r1) -/* 80294680 002915C0 93 61 00 90 */ stw r27, 0x90(r1) -/* 80294684 002915C4 91 81 00 6C */ stw r12, 0x6c(r1) -/* 80294688 002915C8 91 61 00 70 */ stw r11, 0x70(r1) -/* 8029468C 002915CC 91 41 00 74 */ stw r10, 0x74(r1) -/* 80294690 002915D0 91 21 00 78 */ stw r9, 0x78(r1) -/* 80294694 002915D4 91 01 00 7C */ stw r8, 0x7c(r1) -/* 80294698 002915D8 90 E1 00 58 */ stw r7, 0x58(r1) -/* 8029469C 002915DC 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 802946A0 002915E0 90 A1 00 60 */ stw r5, 0x60(r1) -/* 802946A4 002915E4 90 81 00 64 */ stw r4, 0x64(r1) -/* 802946A8 002915E8 90 61 00 68 */ stw r3, 0x68(r1) -/* 802946AC 002915EC D1 21 00 44 */ stfs f9, 0x44(r1) -/* 802946B0 002915F0 D1 01 00 30 */ stfs f8, 0x30(r1) -/* 802946B4 002915F4 D0 E1 00 48 */ stfs f7, 0x48(r1) -/* 802946B8 002915F8 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 802946BC 002915FC D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 802946C0 00291600 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 802946C4 00291604 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 802946C8 00291608 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 802946CC 0029160C D0 21 00 54 */ stfs f1, 0x54(r1) -/* 802946D0 00291610 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 802946D4 00291614 38 00 00 00 */ li r0, 0 -/* 802946D8 00291618 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13) -/* 802946DC 0029161C 3C 80 80 4B */ lis r4, __vt__22Iterator$$0Q24Game4Navi$$1@ha -/* 802946E0 00291620 90 01 00 2C */ stw r0, 0x2c(r1) -/* 802946E4 00291624 38 84 BC B4 */ addi r4, r4, __vt__22Iterator$$0Q24Game4Navi$$1@l -/* 802946E8 00291628 28 00 00 00 */ cmplwi r0, 0 -/* 802946EC 0029162C 90 81 00 20 */ stw r4, 0x20(r1) -/* 802946F0 00291630 90 01 00 24 */ stw r0, 0x24(r1) -/* 802946F4 00291634 90 61 00 28 */ stw r3, 0x28(r1) -/* 802946F8 00291638 40 82 00 1C */ bne lbl_80294714 -/* 802946FC 0029163C 81 83 00 00 */ lwz r12, 0(r3) -/* 80294700 00291640 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80294704 00291644 7D 89 03 A6 */ mtctr r12 -/* 80294708 00291648 4E 80 04 21 */ bctrl -/* 8029470C 0029164C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80294710 00291650 48 00 02 80 */ b lbl_80294990 -lbl_80294714: -/* 80294714 00291654 81 83 00 00 */ lwz r12, 0(r3) -/* 80294718 00291658 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8029471C 0029165C 7D 89 03 A6 */ mtctr r12 -/* 80294720 00291660 4E 80 04 21 */ bctrl -/* 80294724 00291664 90 61 00 24 */ stw r3, 0x24(r1) -/* 80294728 00291668 48 00 00 58 */ b lbl_80294780 -lbl_8029472C: -/* 8029472C 0029166C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80294730 00291670 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294734 00291674 81 83 00 00 */ lwz r12, 0(r3) -/* 80294738 00291678 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8029473C 0029167C 7D 89 03 A6 */ mtctr r12 -/* 80294740 00291680 4E 80 04 21 */ bctrl -/* 80294744 00291684 7C 64 1B 78 */ mr r4, r3 -/* 80294748 00291688 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8029474C 0029168C 81 83 00 00 */ lwz r12, 0(r3) -/* 80294750 00291690 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294754 00291694 7D 89 03 A6 */ mtctr r12 -/* 80294758 00291698 4E 80 04 21 */ bctrl -/* 8029475C 0029169C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294760 002916A0 40 82 02 30 */ bne lbl_80294990 -/* 80294764 002916A4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80294768 002916A8 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8029476C 002916AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80294770 002916B0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294774 002916B4 7D 89 03 A6 */ mtctr r12 -/* 80294778 002916B8 4E 80 04 21 */ bctrl -/* 8029477C 002916BC 90 61 00 24 */ stw r3, 0x24(r1) -lbl_80294780: -/* 80294780 002916C0 81 81 00 20 */ lwz r12, 0x20(r1) -/* 80294784 002916C4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80294788 002916C8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8029478C 002916CC 7D 89 03 A6 */ mtctr r12 -/* 80294790 002916D0 4E 80 04 21 */ bctrl -/* 80294794 002916D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294798 002916D8 41 82 FF 94 */ beq lbl_8029472C -/* 8029479C 002916DC 48 00 01 F4 */ b lbl_80294990 -lbl_802947A0: -/* 802947A0 002916E0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802947A4 002916E4 81 83 00 00 */ lwz r12, 0(r3) -/* 802947A8 002916E8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 802947AC 002916EC 7D 89 03 A6 */ mtctr r12 -/* 802947B0 002916F0 4E 80 04 21 */ bctrl -/* 802947B4 002916F4 81 83 00 00 */ lwz r12, 0(r3) -/* 802947B8 002916F8 7C 73 1B 78 */ mr r19, r3 -/* 802947BC 002916FC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 802947C0 00291700 7D 89 03 A6 */ mtctr r12 -/* 802947C4 00291704 4E 80 04 21 */ bctrl -/* 802947C8 00291708 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 802947CC 0029170C 41 82 01 08 */ beq lbl_802948D4 -/* 802947D0 00291710 7E 64 9B 78 */ mr r4, r19 -/* 802947D4 00291714 38 61 00 08 */ addi r3, r1, 8 -/* 802947D8 00291718 81 93 00 00 */ lwz r12, 0(r19) -/* 802947DC 0029171C 81 8C 00 08 */ lwz r12, 8(r12) -/* 802947E0 00291720 7D 89 03 A6 */ mtctr r12 -/* 802947E4 00291724 4E 80 04 21 */ bctrl -/* 802947E8 00291728 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 802947EC 0029172C 57 C9 10 3A */ slwi r9, r30, 2 -/* 802947F0 00291730 C0 21 00 08 */ lfs f1, 8(r1) -/* 802947F4 00291734 38 61 00 94 */ addi r3, r1, 0x94 -/* 802947F8 00291738 EC 80 D8 28 */ fsubs f4, f0, f27 -/* 802947FC 0029173C C0 02 D7 30 */ lfs f0, lbl_8051BA90@sda21(r2) -/* 80294800 00291740 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80294804 00291744 38 81 00 80 */ addi r4, r1, 0x80 -/* 80294808 00291748 38 A1 00 6C */ addi r5, r1, 0x6c -/* 8029480C 0029174C 38 C1 00 58 */ addi r6, r1, 0x58 -/* 80294810 00291750 EC 61 E0 28 */ fsubs f3, f1, f28 -/* 80294814 00291754 38 E1 00 44 */ addi r7, r1, 0x44 -/* 80294818 00291758 EC 00 01 32 */ fmuls f0, f0, f4 -/* 8029481C 0029175C 39 01 00 30 */ addi r8, r1, 0x30 -/* 80294820 00291760 EC 42 D0 28 */ fsubs f2, f2, f26 -/* 80294824 00291764 7C 1E E8 50 */ subf r0, r30, r29 -/* 80294828 00291768 EC 3D 00 FA */ fmadds f1, f29, f3, f0 -/* 8029482C 0029176C 7F CA F3 78 */ mr r10, r30 -/* 80294830 00291770 EC 1F 00 FA */ fmadds f0, f31, f3, f0 -/* 80294834 00291774 7C 63 4A 14 */ add r3, r3, r9 -/* 80294838 00291778 7C 84 4A 14 */ add r4, r4, r9 -/* 8029483C 0029177C 7C A5 4A 14 */ add r5, r5, r9 -/* 80294840 00291780 EC 3E 08 BA */ fmadds f1, f30, f2, f1 -/* 80294844 00291784 7C C6 4A 14 */ add r6, r6, r9 -/* 80294848 00291788 EC 5D 00 BA */ fmadds f2, f29, f2, f0 -/* 8029484C 0029178C 7C E7 4A 14 */ add r7, r7, r9 -/* 80294850 00291790 7D 08 4A 14 */ add r8, r8, r9 -/* 80294854 00291794 7C 09 03 A6 */ mtctr r0 -/* 80294858 00291798 7C 1E E8 00 */ cmpw r30, r29 -/* 8029485C 0029179C 40 80 00 78 */ bge lbl_802948D4 -lbl_80294860: -/* 80294860 002917A0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80294864 002917A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80294868 002917A8 40 80 00 4C */ bge lbl_802948B4 -/* 8029486C 002917AC C0 04 00 00 */ lfs f0, 0(r4) -/* 80294870 002917B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80294874 002917B4 40 81 00 40 */ ble lbl_802948B4 -/* 80294878 002917B8 C0 05 00 00 */ lfs f0, 0(r5) -/* 8029487C 002917BC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80294880 002917C0 40 80 00 34 */ bge lbl_802948B4 -/* 80294884 002917C4 C0 06 00 00 */ lfs f0, 0(r6) -/* 80294888 002917C8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8029488C 002917CC 40 81 00 28 */ ble lbl_802948B4 -/* 80294890 002917D0 C0 07 00 00 */ lfs f0, 0(r7) -/* 80294894 002917D4 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80294898 002917D8 40 80 00 1C */ bge lbl_802948B4 -/* 8029489C 002917DC C0 08 00 00 */ lfs f0, 0(r8) -/* 802948A0 002917E0 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 802948A4 002917E4 40 81 00 10 */ ble lbl_802948B4 -/* 802948A8 002917E8 91 5C 02 D4 */ stw r10, 0x2d4(r28) -/* 802948AC 002917EC 7E 63 9B 78 */ mr r3, r19 -/* 802948B0 002917F0 48 00 01 04 */ b lbl_802949B4 -lbl_802948B4: -/* 802948B4 002917F4 38 63 00 04 */ addi r3, r3, 4 -/* 802948B8 002917F8 38 84 00 04 */ addi r4, r4, 4 -/* 802948BC 002917FC 38 A5 00 04 */ addi r5, r5, 4 -/* 802948C0 00291800 38 C6 00 04 */ addi r6, r6, 4 -/* 802948C4 00291804 38 E7 00 04 */ addi r7, r7, 4 -/* 802948C8 00291808 39 08 00 04 */ addi r8, r8, 4 -/* 802948CC 0029180C 39 4A 00 01 */ addi r10, r10, 1 -/* 802948D0 00291810 42 00 FF 90 */ bdnz lbl_80294860 -lbl_802948D4: -/* 802948D4 00291814 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 802948D8 00291818 28 00 00 00 */ cmplwi r0, 0 -/* 802948DC 0029181C 40 82 00 24 */ bne lbl_80294900 -/* 802948E0 00291820 80 61 00 28 */ lwz r3, 0x28(r1) -/* 802948E4 00291824 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802948E8 00291828 81 83 00 00 */ lwz r12, 0(r3) -/* 802948EC 0029182C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 802948F0 00291830 7D 89 03 A6 */ mtctr r12 -/* 802948F4 00291834 4E 80 04 21 */ bctrl -/* 802948F8 00291838 90 61 00 24 */ stw r3, 0x24(r1) -/* 802948FC 0029183C 48 00 00 94 */ b lbl_80294990 -lbl_80294900: -/* 80294900 00291840 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80294904 00291844 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294908 00291848 81 83 00 00 */ lwz r12, 0(r3) -/* 8029490C 0029184C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294910 00291850 7D 89 03 A6 */ mtctr r12 -/* 80294914 00291854 4E 80 04 21 */ bctrl -/* 80294918 00291858 90 61 00 24 */ stw r3, 0x24(r1) -/* 8029491C 0029185C 48 00 00 58 */ b lbl_80294974 -lbl_80294920: -/* 80294920 00291860 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80294924 00291864 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294928 00291868 81 83 00 00 */ lwz r12, 0(r3) -/* 8029492C 0029186C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80294930 00291870 7D 89 03 A6 */ mtctr r12 -/* 80294934 00291874 4E 80 04 21 */ bctrl -/* 80294938 00291878 7C 64 1B 78 */ mr r4, r3 -/* 8029493C 0029187C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80294940 00291880 81 83 00 00 */ lwz r12, 0(r3) -/* 80294944 00291884 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294948 00291888 7D 89 03 A6 */ mtctr r12 -/* 8029494C 0029188C 4E 80 04 21 */ bctrl -/* 80294950 00291890 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294954 00291894 40 82 00 3C */ bne lbl_80294990 -/* 80294958 00291898 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8029495C 0029189C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80294960 002918A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80294964 002918A4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294968 002918A8 7D 89 03 A6 */ mtctr r12 -/* 8029496C 002918AC 4E 80 04 21 */ bctrl -/* 80294970 002918B0 90 61 00 24 */ stw r3, 0x24(r1) -lbl_80294974: -/* 80294974 002918B4 81 81 00 20 */ lwz r12, 0x20(r1) -/* 80294978 002918B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8029497C 002918BC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80294980 002918C0 7D 89 03 A6 */ mtctr r12 -/* 80294984 002918C4 4E 80 04 21 */ bctrl -/* 80294988 002918C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8029498C 002918CC 41 82 FF 94 */ beq lbl_80294920 -lbl_80294990: -/* 80294990 002918D0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80294994 002918D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80294998 002918D8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029499C 002918DC 7D 89 03 A6 */ mtctr r12 -/* 802949A0 002918E0 4E 80 04 21 */ bctrl -/* 802949A4 002918E4 80 81 00 24 */ lwz r4, 0x24(r1) -/* 802949A8 002918E8 7C 04 18 40 */ cmplw r4, r3 -/* 802949AC 002918EC 40 82 FD F4 */ bne lbl_802947A0 -/* 802949B0 002918F0 38 60 00 00 */ li r3, 0 -lbl_802949B4: -/* 802949B4 002918F4 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 802949B8 002918F8 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 802949BC 002918FC E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 802949C0 00291900 CB C1 01 40 */ lfd f30, 0x140(r1) -/* 802949C4 00291904 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 802949C8 00291908 CB A1 01 30 */ lfd f29, 0x130(r1) -/* 802949CC 0029190C E3 81 01 28 */ psq_l f28, 296(r1), 0, qr0 -/* 802949D0 00291910 CB 81 01 20 */ lfd f28, 0x120(r1) -/* 802949D4 00291914 E3 61 01 18 */ psq_l f27, 280(r1), 0, qr0 -/* 802949D8 00291918 CB 61 01 10 */ lfd f27, 0x110(r1) -/* 802949DC 0029191C E3 41 01 08 */ psq_l f26, 264(r1), 0, qr0 -/* 802949E0 00291920 CB 41 01 00 */ lfd f26, 0x100(r1) -/* 802949E4 00291924 BA 61 00 CC */ lmw r19, 0xcc(r1) -/* 802949E8 00291928 80 01 01 64 */ lwz r0, 0x164(r1) -/* 802949EC 0029192C 7C 08 03 A6 */ mtlr r0 -/* 802949F0 00291930 38 21 01 60 */ addi r1, r1, 0x160 -/* 802949F4 00291934 4E 80 00 20 */ blr - -.global getSwallowSlot__Q34Game9SnakeCrow3ObjFv -getSwallowSlot__Q34Game9SnakeCrow3ObjFv: -/* 802949F8 00291938 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802949FC 0029193C 7C 08 02 A6 */ mflr r0 -/* 80294A00 00291940 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294A04 00291944 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80294A08 00291948 3B E0 00 00 */ li r31, 0 -/* 80294A0C 0029194C 93 C1 00 08 */ stw r30, 8(r1) -/* 80294A10 00291950 7C 7E 1B 78 */ mr r30, r3 -/* 80294A14 00291954 48 00 00 24 */ b lbl_80294A38 -lbl_80294A18: -/* 80294A18 00291958 7F E4 FB 78 */ mr r4, r31 -/* 80294A1C 0029195C 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 80294A20 00291960 4B EA 3D 59 */ bl getSlot__10MouthSlotsFi -/* 80294A24 00291964 80 03 00 64 */ lwz r0, 0x64(r3) -/* 80294A28 00291968 28 00 00 00 */ cmplwi r0, 0 -/* 80294A2C 0029196C 40 82 00 08 */ bne lbl_80294A34 -/* 80294A30 00291970 48 00 00 18 */ b lbl_80294A48 -lbl_80294A34: -/* 80294A34 00291974 3B FF 00 01 */ addi r31, r31, 1 -lbl_80294A38: -/* 80294A38 00291978 80 1E 02 CC */ lwz r0, 0x2cc(r30) -/* 80294A3C 0029197C 7C 1F 00 00 */ cmpw r31, r0 -/* 80294A40 00291980 41 80 FF D8 */ blt lbl_80294A18 -/* 80294A44 00291984 38 60 00 00 */ li r3, 0 -lbl_80294A48: -/* 80294A48 00291988 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294A4C 0029198C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80294A50 00291990 83 C1 00 08 */ lwz r30, 8(r1) -/* 80294A54 00291994 7C 08 03 A6 */ mtlr r0 -/* 80294A58 00291998 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294A5C 0029199C 4E 80 00 20 */ blr - -.global isSwallowPikmin__Q34Game9SnakeCrow3ObjFv -isSwallowPikmin__Q34Game9SnakeCrow3ObjFv: -/* 80294A60 002919A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294A64 002919A4 7C 08 02 A6 */ mflr r0 -/* 80294A68 002919A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294A6C 002919AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80294A70 002919B0 3B E0 00 00 */ li r31, 0 -/* 80294A74 002919B4 93 C1 00 08 */ stw r30, 8(r1) -/* 80294A78 002919B8 7C 7E 1B 78 */ mr r30, r3 -/* 80294A7C 002919BC 48 00 00 28 */ b lbl_80294AA4 -lbl_80294A80: -/* 80294A80 002919C0 7F E4 FB 78 */ mr r4, r31 -/* 80294A84 002919C4 38 7E 02 CC */ addi r3, r30, 0x2cc -/* 80294A88 002919C8 4B EA 3C F1 */ bl getSlot__10MouthSlotsFi -/* 80294A8C 002919CC 80 03 00 64 */ lwz r0, 0x64(r3) -/* 80294A90 002919D0 28 00 00 00 */ cmplwi r0, 0 -/* 80294A94 002919D4 41 82 00 0C */ beq lbl_80294AA0 -/* 80294A98 002919D8 38 60 00 01 */ li r3, 1 -/* 80294A9C 002919DC 48 00 00 18 */ b lbl_80294AB4 -lbl_80294AA0: -/* 80294AA0 002919E0 3B FF 00 01 */ addi r31, r31, 1 -lbl_80294AA4: -/* 80294AA4 002919E4 80 1E 02 CC */ lwz r0, 0x2cc(r30) -/* 80294AA8 002919E8 7C 1F 00 00 */ cmpw r31, r0 -/* 80294AAC 002919EC 41 80 FF D4 */ blt lbl_80294A80 -/* 80294AB0 002919F0 38 60 00 00 */ li r3, 0 -lbl_80294AB4: -/* 80294AB4 002919F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294AB8 002919F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80294ABC 002919FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80294AC0 00291A00 7C 08 03 A6 */ mtlr r0 -/* 80294AC4 00291A04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294AC8 00291A08 4E 80 00 20 */ blr - -.global getStickHeadPikmin__Q34Game9SnakeCrow3ObjFv -getStickHeadPikmin__Q34Game9SnakeCrow3ObjFv: -/* 80294ACC 00291A0C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80294AD0 00291A10 7C 08 02 A6 */ mflr r0 -/* 80294AD4 00291A14 7C 64 1B 78 */ mr r4, r3 -/* 80294AD8 00291A18 90 01 00 44 */ stw r0, 0x44(r1) -/* 80294ADC 00291A1C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80294AE0 00291A20 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80294AE4 00291A24 3B E0 00 00 */ li r31, 0 -/* 80294AE8 00291A28 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80294AEC 00291A2C 4B F0 B1 71 */ bl __ct__Q24Game8StickersFPQ24Game8Creature -/* 80294AF0 00291A30 38 00 00 00 */ li r0, 0 -/* 80294AF4 00291A34 3C 60 80 4B */ lis r3, __vt__26Iterator$$0Q24Game8Creature$$1@ha -/* 80294AF8 00291A38 38 83 BC 84 */ addi r4, r3, __vt__26Iterator$$0Q24Game8Creature$$1@l -/* 80294AFC 00291A3C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80294B00 00291A40 28 00 00 00 */ cmplwi r0, 0 -/* 80294B04 00291A44 90 81 00 08 */ stw r4, 8(r1) -/* 80294B08 00291A48 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294B0C 00291A4C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80294B10 00291A50 90 61 00 10 */ stw r3, 0x10(r1) -/* 80294B14 00291A54 40 82 00 1C */ bne lbl_80294B30 -/* 80294B18 00291A58 81 83 00 00 */ lwz r12, 0(r3) -/* 80294B1C 00291A5C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80294B20 00291A60 7D 89 03 A6 */ mtctr r12 -/* 80294B24 00291A64 4E 80 04 21 */ bctrl -/* 80294B28 00291A68 90 61 00 0C */ stw r3, 0xc(r1) -/* 80294B2C 00291A6C 48 00 01 A4 */ b lbl_80294CD0 -lbl_80294B30: -/* 80294B30 00291A70 81 83 00 00 */ lwz r12, 0(r3) -/* 80294B34 00291A74 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80294B38 00291A78 7D 89 03 A6 */ mtctr r12 -/* 80294B3C 00291A7C 4E 80 04 21 */ bctrl -/* 80294B40 00291A80 90 61 00 0C */ stw r3, 0xc(r1) -/* 80294B44 00291A84 48 00 00 58 */ b lbl_80294B9C -lbl_80294B48: -/* 80294B48 00291A88 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80294B4C 00291A8C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80294B50 00291A90 81 83 00 00 */ lwz r12, 0(r3) -/* 80294B54 00291A94 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80294B58 00291A98 7D 89 03 A6 */ mtctr r12 -/* 80294B5C 00291A9C 4E 80 04 21 */ bctrl -/* 80294B60 00291AA0 7C 64 1B 78 */ mr r4, r3 -/* 80294B64 00291AA4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80294B68 00291AA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80294B6C 00291AAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294B70 00291AB0 7D 89 03 A6 */ mtctr r12 -/* 80294B74 00291AB4 4E 80 04 21 */ bctrl -/* 80294B78 00291AB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294B7C 00291ABC 40 82 01 54 */ bne lbl_80294CD0 -/* 80294B80 00291AC0 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80294B84 00291AC4 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80294B88 00291AC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80294B8C 00291ACC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294B90 00291AD0 7D 89 03 A6 */ mtctr r12 -/* 80294B94 00291AD4 4E 80 04 21 */ bctrl -/* 80294B98 00291AD8 90 61 00 0C */ stw r3, 0xc(r1) -lbl_80294B9C: -/* 80294B9C 00291ADC 81 81 00 08 */ lwz r12, 8(r1) -/* 80294BA0 00291AE0 38 61 00 08 */ addi r3, r1, 8 -/* 80294BA4 00291AE4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80294BA8 00291AE8 7D 89 03 A6 */ mtctr r12 -/* 80294BAC 00291AEC 4E 80 04 21 */ bctrl -/* 80294BB0 00291AF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294BB4 00291AF4 41 82 FF 94 */ beq lbl_80294B48 -/* 80294BB8 00291AF8 48 00 01 18 */ b lbl_80294CD0 -lbl_80294BBC: -/* 80294BBC 00291AFC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80294BC0 00291B00 81 83 00 00 */ lwz r12, 0(r3) -/* 80294BC4 00291B04 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80294BC8 00291B08 7D 89 03 A6 */ mtctr r12 -/* 80294BCC 00291B0C 4E 80 04 21 */ bctrl -/* 80294BD0 00291B10 81 83 00 00 */ lwz r12, 0(r3) -/* 80294BD4 00291B14 7C 7E 1B 78 */ mr r30, r3 -/* 80294BD8 00291B18 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80294BDC 00291B1C 7D 89 03 A6 */ mtctr r12 -/* 80294BE0 00291B20 4E 80 04 21 */ bctrl -/* 80294BE4 00291B24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294BE8 00291B28 41 82 00 2C */ beq lbl_80294C14 -/* 80294BEC 00291B2C 80 7E 00 F8 */ lwz r3, 0xf8(r30) -/* 80294BF0 00291B30 28 03 00 00 */ cmplwi r3, 0 -/* 80294BF4 00291B34 41 82 00 20 */ beq lbl_80294C14 -/* 80294BF8 00291B38 3C 80 68 65 */ lis r4, 0x68656164@ha -/* 80294BFC 00291B3C 38 63 00 30 */ addi r3, r3, 0x30 -/* 80294C00 00291B40 38 84 61 64 */ addi r4, r4, 0x68656164@l -/* 80294C04 00291B44 48 17 E8 31 */ bl __eq__4ID32FUl -/* 80294C08 00291B48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294C0C 00291B4C 41 82 00 08 */ beq lbl_80294C14 -/* 80294C10 00291B50 3B FF 00 01 */ addi r31, r31, 1 -lbl_80294C14: -/* 80294C14 00291B54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294C18 00291B58 28 00 00 00 */ cmplwi r0, 0 -/* 80294C1C 00291B5C 40 82 00 24 */ bne lbl_80294C40 -/* 80294C20 00291B60 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80294C24 00291B64 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80294C28 00291B68 81 83 00 00 */ lwz r12, 0(r3) -/* 80294C2C 00291B6C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294C30 00291B70 7D 89 03 A6 */ mtctr r12 -/* 80294C34 00291B74 4E 80 04 21 */ bctrl -/* 80294C38 00291B78 90 61 00 0C */ stw r3, 0xc(r1) -/* 80294C3C 00291B7C 48 00 00 94 */ b lbl_80294CD0 -lbl_80294C40: -/* 80294C40 00291B80 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80294C44 00291B84 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80294C48 00291B88 81 83 00 00 */ lwz r12, 0(r3) -/* 80294C4C 00291B8C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294C50 00291B90 7D 89 03 A6 */ mtctr r12 -/* 80294C54 00291B94 4E 80 04 21 */ bctrl -/* 80294C58 00291B98 90 61 00 0C */ stw r3, 0xc(r1) -/* 80294C5C 00291B9C 48 00 00 58 */ b lbl_80294CB4 -lbl_80294C60: -/* 80294C60 00291BA0 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80294C64 00291BA4 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80294C68 00291BA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80294C6C 00291BAC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80294C70 00291BB0 7D 89 03 A6 */ mtctr r12 -/* 80294C74 00291BB4 4E 80 04 21 */ bctrl -/* 80294C78 00291BB8 7C 64 1B 78 */ mr r4, r3 -/* 80294C7C 00291BBC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80294C80 00291BC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80294C84 00291BC4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80294C88 00291BC8 7D 89 03 A6 */ mtctr r12 -/* 80294C8C 00291BCC 4E 80 04 21 */ bctrl -/* 80294C90 00291BD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294C94 00291BD4 40 82 00 3C */ bne lbl_80294CD0 -/* 80294C98 00291BD8 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80294C9C 00291BDC 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80294CA0 00291BE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80294CA4 00291BE4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80294CA8 00291BE8 7D 89 03 A6 */ mtctr r12 -/* 80294CAC 00291BEC 4E 80 04 21 */ bctrl -/* 80294CB0 00291BF0 90 61 00 0C */ stw r3, 0xc(r1) -lbl_80294CB4: -/* 80294CB4 00291BF4 81 81 00 08 */ lwz r12, 8(r1) -/* 80294CB8 00291BF8 38 61 00 08 */ addi r3, r1, 8 -/* 80294CBC 00291BFC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80294CC0 00291C00 7D 89 03 A6 */ mtctr r12 -/* 80294CC4 00291C04 4E 80 04 21 */ bctrl -/* 80294CC8 00291C08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80294CCC 00291C0C 41 82 FF 94 */ beq lbl_80294C60 -lbl_80294CD0: -/* 80294CD0 00291C10 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80294CD4 00291C14 81 83 00 00 */ lwz r12, 0(r3) -/* 80294CD8 00291C18 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80294CDC 00291C1C 7D 89 03 A6 */ mtctr r12 -/* 80294CE0 00291C20 4E 80 04 21 */ bctrl -/* 80294CE4 00291C24 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80294CE8 00291C28 7C 04 18 40 */ cmplw r4, r3 -/* 80294CEC 00291C2C 40 82 FE D0 */ bne lbl_80294BBC -/* 80294CF0 00291C30 38 61 00 18 */ addi r3, r1, 0x18 -/* 80294CF4 00291C34 38 80 FF FF */ li r4, -1 -/* 80294CF8 00291C38 4B F0 B0 6D */ bl __dt__Q24Game8StickersFv -/* 80294CFC 00291C3C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80294D00 00291C40 7F E3 FB 78 */ mr r3, r31 -/* 80294D04 00291C44 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80294D08 00291C48 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80294D0C 00291C4C 7C 08 03 A6 */ mtlr r0 -/* 80294D10 00291C50 38 21 00 40 */ addi r1, r1, 0x40 -/* 80294D14 00291C54 4E 80 00 20 */ blr - -.global createJointCallBack__Q34Game9SnakeCrow3ObjFv -createJointCallBack__Q34Game9SnakeCrow3ObjFv: -/* 80294D18 00291C58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294D1C 00291C5C 7C 08 02 A6 */ mflr r0 -/* 80294D20 00291C60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294D24 00291C64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80294D28 00291C68 7C 7F 1B 78 */ mr r31, r3 -/* 80294D2C 00291C6C 38 60 00 30 */ li r3, 0x30 -/* 80294D30 00291C70 4B D8 F1 75 */ bl __nw__FUl -/* 80294D34 00291C74 7C 60 1B 79 */ or. r0, r3, r3 -/* 80294D38 00291C78 41 82 00 10 */ beq lbl_80294D48 -/* 80294D3C 00291C7C 7F E4 FB 78 */ mr r4, r31 -/* 80294D40 00291C80 48 03 C9 2D */ bl __ct__Q24Game13SnakeJointMgrFPQ24Game9EnemyBase -/* 80294D44 00291C84 7C 60 1B 78 */ mr r0, r3 -lbl_80294D48: -/* 80294D48 00291C88 90 1F 03 14 */ stw r0, 0x314(r31) -/* 80294D4C 00291C8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294D50 00291C90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80294D54 00291C94 7C 08 03 A6 */ mtlr r0 -/* 80294D58 00291C98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294D5C 00291C9C 4E 80 00 20 */ blr - -.global setupJointCallBack__Q34Game9SnakeCrow3ObjFv -setupJointCallBack__Q34Game9SnakeCrow3ObjFv: -/* 80294D60 00291CA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294D64 00291CA4 7C 08 02 A6 */ mflr r0 -/* 80294D68 00291CA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294D6C 00291CAC 80 63 03 14 */ lwz r3, 0x314(r3) -/* 80294D70 00291CB0 48 03 C9 39 */ bl setupCallBackJoint__Q24Game13SnakeJointMgrFv -/* 80294D74 00291CB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294D78 00291CB8 7C 08 03 A6 */ mtlr r0 -/* 80294D7C 00291CBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294D80 00291CC0 4E 80 00 20 */ blr - -.global doAnimationJointCallBack__Q34Game9SnakeCrow3ObjFv -doAnimationJointCallBack__Q34Game9SnakeCrow3ObjFv: -/* 80294D84 00291CC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294D88 00291CC8 7C 08 02 A6 */ mflr r0 -/* 80294D8C 00291CCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294D90 00291CD0 80 63 03 14 */ lwz r3, 0x314(r3) -/* 80294D94 00291CD4 48 03 CA 15 */ bl doAnimation__Q24Game13SnakeJointMgrFv -/* 80294D98 00291CD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294D9C 00291CDC 7C 08 03 A6 */ mtlr r0 -/* 80294DA0 00291CE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294DA4 00291CE4 4E 80 00 20 */ blr - -.global finishAnimationJointCallBack__Q34Game9SnakeCrow3ObjFv -finishAnimationJointCallBack__Q34Game9SnakeCrow3ObjFv: -/* 80294DA8 00291CE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294DAC 00291CEC 7C 08 02 A6 */ mflr r0 -/* 80294DB0 00291CF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294DB4 00291CF4 80 63 03 14 */ lwz r3, 0x314(r3) -/* 80294DB8 00291CF8 48 03 CA 71 */ bl finishAnimation__Q24Game13SnakeJointMgrFv -/* 80294DBC 00291CFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294DC0 00291D00 7C 08 03 A6 */ mtlr r0 -/* 80294DC4 00291D04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294DC8 00291D08 4E 80 00 20 */ blr - -.global startJointCallBack__Q34Game9SnakeCrow3ObjFv -startJointCallBack__Q34Game9SnakeCrow3ObjFv: -/* 80294DCC 00291D0C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80294DD0 00291D10 7C 08 02 A6 */ mflr r0 -/* 80294DD4 00291D14 90 01 00 34 */ stw r0, 0x34(r1) -/* 80294DD8 00291D18 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80294DDC 00291D1C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80294DE0 00291D20 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80294DE4 00291D24 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80294DE8 00291D28 7C 7E 1B 78 */ mr r30, r3 -/* 80294DEC 00291D2C 80 03 02 D4 */ lwz r0, 0x2d4(r3) -/* 80294DF0 00291D30 80 63 01 84 */ lwz r3, 0x184(r3) -/* 80294DF4 00291D34 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80294DF8 00291D38 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 80294DFC 00291D3C 81 83 00 00 */ lwz r12, 0(r3) -/* 80294E00 00291D40 7C 9E 02 14 */ add r4, r30, r0 -/* 80294E04 00291D44 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80294E08 00291D48 C0 24 02 DC */ lfs f1, 0x2dc(r4) -/* 80294E0C 00291D4C EF E1 00 28 */ fsubs f31, f1, f0 -/* 80294E10 00291D50 7D 89 03 A6 */ mtctr r12 -/* 80294E14 00291D54 4E 80 04 21 */ bctrl -/* 80294E18 00291D58 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80294E1C 00291D5C 38 80 00 03 */ li r4, 3 -/* 80294E20 00291D60 48 19 4B 35 */ bl getAnimKeyByType__Q28SysShape8AnimInfoFUl -/* 80294E24 00291D64 7C 7F 1B 78 */ mr r31, r3 -/* 80294E28 00291D68 7F C3 F3 78 */ mr r3, r30 -/* 80294E2C 00291D6C 4B E7 04 41 */ bl getMotionFrame__Q24Game9EnemyBaseFv -/* 80294E30 00291D70 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80294E34 00291D74 3C 00 43 30 */ lis r0, 0x4330 -/* 80294E38 00291D78 FC 60 08 90 */ fmr f3, f1 -/* 80294E3C 00291D7C 90 01 00 08 */ stw r0, 8(r1) -/* 80294E40 00291D80 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80294E44 00291D84 C8 42 D7 70 */ lfd f2, lbl_8051BAD0@sda21(r2) -/* 80294E48 00291D88 90 01 00 0C */ stw r0, 0xc(r1) -/* 80294E4C 00291D8C FC 20 F8 90 */ fmr f1, f31 -/* 80294E50 00291D90 C8 01 00 08 */ lfd f0, 8(r1) -/* 80294E54 00291D94 80 7E 03 14 */ lwz r3, 0x314(r30) -/* 80294E58 00291D98 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80294E5C 00291D9C EC 40 18 28 */ fsubs f2, f0, f3 -/* 80294E60 00291DA0 48 03 C9 01 */ bl startModify__Q24Game13SnakeJointMgrFff -/* 80294E64 00291DA4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80294E68 00291DA8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80294E6C 00291DAC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80294E70 00291DB0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80294E74 00291DB4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80294E78 00291DB8 7C 08 03 A6 */ mtlr r0 -/* 80294E7C 00291DBC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80294E80 00291DC0 4E 80 00 20 */ blr - -.global returnJointCallBack__Q34Game9SnakeCrow3ObjFv -returnJointCallBack__Q34Game9SnakeCrow3ObjFv: -/* 80294E84 00291DC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80294E88 00291DC8 7C 08 02 A6 */ mflr r0 -/* 80294E8C 00291DCC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80294E90 00291DD0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80294E94 00291DD4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80294E98 00291DD8 7C 7E 1B 78 */ mr r30, r3 -/* 80294E9C 00291DDC 80 63 01 84 */ lwz r3, 0x184(r3) -/* 80294EA0 00291DE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80294EA4 00291DE4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80294EA8 00291DE8 7D 89 03 A6 */ mtctr r12 -/* 80294EAC 00291DEC 4E 80 04 21 */ bctrl -/* 80294EB0 00291DF0 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80294EB4 00291DF4 38 80 00 04 */ li r4, 4 -/* 80294EB8 00291DF8 48 19 4A 9D */ bl getAnimKeyByType__Q28SysShape8AnimInfoFUl -/* 80294EBC 00291DFC 7C 7F 1B 78 */ mr r31, r3 -/* 80294EC0 00291E00 7F C3 F3 78 */ mr r3, r30 -/* 80294EC4 00291E04 4B E7 03 A9 */ bl getMotionFrame__Q24Game9EnemyBaseFv -/* 80294EC8 00291E08 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80294ECC 00291E0C 3C 00 43 30 */ lis r0, 0x4330 -/* 80294ED0 00291E10 90 01 00 08 */ stw r0, 8(r1) -/* 80294ED4 00291E14 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 80294ED8 00291E18 C8 42 D7 70 */ lfd f2, lbl_8051BAD0@sda21(r2) -/* 80294EDC 00291E1C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80294EE0 00291E20 80 7E 03 14 */ lwz r3, 0x314(r30) -/* 80294EE4 00291E24 C8 01 00 08 */ lfd f0, 8(r1) -/* 80294EE8 00291E28 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80294EEC 00291E2C EC 20 08 28 */ fsubs f1, f0, f1 -/* 80294EF0 00291E30 48 03 C8 91 */ bl returnModify__Q24Game13SnakeJointMgrFf -/* 80294EF4 00291E34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80294EF8 00291E38 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80294EFC 00291E3C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80294F00 00291E40 7C 08 03 A6 */ mtlr r0 -/* 80294F04 00291E44 38 21 00 20 */ addi r1, r1, 0x20 -/* 80294F08 00291E48 4E 80 00 20 */ blr - -.global finishJointCallBack__Q34Game9SnakeCrow3ObjFv -finishJointCallBack__Q34Game9SnakeCrow3ObjFv: -/* 80294F0C 00291E4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294F10 00291E50 7C 08 02 A6 */ mflr r0 -/* 80294F14 00291E54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294F18 00291E58 80 63 03 14 */ lwz r3, 0x314(r3) -/* 80294F1C 00291E5C 48 03 C8 81 */ bl finishModify__Q24Game13SnakeJointMgrFv -/* 80294F20 00291E60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294F24 00291E64 7C 08 03 A6 */ mtlr r0 -/* 80294F28 00291E68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294F2C 00291E6C 4E 80 00 20 */ blr - -.global setupCollision__Q34Game9SnakeCrow3ObjFv -setupCollision__Q34Game9SnakeCrow3ObjFv: -/* 80294F30 00291E70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294F34 00291E74 7C 08 02 A6 */ mflr r0 -/* 80294F38 00291E78 3C 80 62 6F */ lis r4, 0x626F6431@ha -/* 80294F3C 00291E7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294F40 00291E80 38 84 64 31 */ addi r4, r4, 0x626F6431@l -/* 80294F44 00291E84 80 63 01 14 */ lwz r3, 0x114(r3) -/* 80294F48 00291E88 4B EA 0E FD */ bl getCollPart__8CollTreeFUl -/* 80294F4C 00291E8C 28 03 00 00 */ cmplwi r3, 0 -/* 80294F50 00291E90 41 82 00 08 */ beq lbl_80294F58 -/* 80294F54 00291E94 4B EA 24 49 */ bl makeTubeTree__8CollPartFv -lbl_80294F58: -/* 80294F58 00291E98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294F5C 00291E9C 7C 08 03 A6 */ mtlr r0 -/* 80294F60 00291EA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294F64 00291EA4 4E 80 00 20 */ blr - -.global lifeIncrement__Q34Game9SnakeCrow3ObjFv -lifeIncrement__Q34Game9SnakeCrow3ObjFv: -/* 80294F68 00291EA8 C0 22 D7 30 */ lfs f1, lbl_8051BA90@sda21(r2) -/* 80294F6C 00291EAC C0 02 D7 48 */ lfs f0, lbl_8051BAA8@sda21(r2) -/* 80294F70 00291EB0 D0 23 02 08 */ stfs f1, 0x208(r3) -/* 80294F74 00291EB4 80 03 01 E0 */ lwz r0, 0x1e0(r3) -/* 80294F78 00291EB8 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d -/* 80294F7C 00291EBC 90 03 01 E0 */ stw r0, 0x1e0(r3) -/* 80294F80 00291EC0 C0 23 02 00 */ lfs f1, 0x200(r3) -/* 80294F84 00291EC4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80294F88 00291EC8 D0 03 02 00 */ stfs f0, 0x200(r3) -/* 80294F8C 00291ECC 80 83 00 C0 */ lwz r4, 0xc0(r3) -/* 80294F90 00291ED0 C0 23 02 00 */ lfs f1, 0x200(r3) -/* 80294F94 00291ED4 C0 04 01 04 */ lfs f0, 0x104(r4) -/* 80294F98 00291ED8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80294F9C 00291EDC 4C 81 00 20 */ blelr -/* 80294FA0 00291EE0 D0 03 02 00 */ stfs f0, 0x200(r3) -/* 80294FA4 00291EE4 4E 80 00 20 */ blr - -.global createShadowSystem__Q34Game9SnakeCrow3ObjFv -createShadowSystem__Q34Game9SnakeCrow3ObjFv: -/* 80294FA8 00291EE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294FAC 00291EEC 7C 08 02 A6 */ mflr r0 -/* 80294FB0 00291EF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294FB4 00291EF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80294FB8 00291EF8 7C 7F 1B 78 */ mr r31, r3 -/* 80294FBC 00291EFC 38 60 00 68 */ li r3, 0x68 -/* 80294FC0 00291F00 4B D8 EE E5 */ bl __nw__FUl -/* 80294FC4 00291F04 7C 60 1B 79 */ or. r0, r3, r3 -/* 80294FC8 00291F08 41 82 00 10 */ beq lbl_80294FD8 -/* 80294FCC 00291F0C 7F E4 FB 78 */ mr r4, r31 -/* 80294FD0 00291F10 48 06 34 19 */ bl __ct__Q34Game9SnakeCrow18SnakeCrowShadowMgrFPQ34Game9SnakeCrow3Obj -/* 80294FD4 00291F14 7C 60 1B 78 */ mr r0, r3 -lbl_80294FD8: -/* 80294FD8 00291F18 90 1F 03 18 */ stw r0, 0x318(r31) -/* 80294FDC 00291F1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80294FE0 00291F20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80294FE4 00291F24 7C 08 03 A6 */ mtlr r0 -/* 80294FE8 00291F28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80294FEC 00291F2C 4E 80 00 20 */ blr - -.global setupShadowSystem__Q34Game9SnakeCrow3ObjFv -setupShadowSystem__Q34Game9SnakeCrow3ObjFv: -/* 80294FF0 00291F30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80294FF4 00291F34 7C 08 02 A6 */ mflr r0 -/* 80294FF8 00291F38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80294FFC 00291F3C 80 63 03 18 */ lwz r3, 0x318(r3) -/* 80295000 00291F40 48 06 34 D5 */ bl init__Q34Game9SnakeCrow18SnakeCrowShadowMgrFv -/* 80295004 00291F44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295008 00291F48 7C 08 03 A6 */ mtlr r0 -/* 8029500C 00291F4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295010 00291F50 4E 80 00 20 */ blr - -.global doAnimationShadowSystem__Q34Game9SnakeCrow3ObjFv -doAnimationShadowSystem__Q34Game9SnakeCrow3ObjFv: -/* 80295014 00291F54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295018 00291F58 7C 08 02 A6 */ mflr r0 -/* 8029501C 00291F5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295020 00291F60 80 63 03 18 */ lwz r3, 0x318(r3) -/* 80295024 00291F64 48 06 36 4D */ bl update__Q34Game9SnakeCrow18SnakeCrowShadowMgrFv -/* 80295028 00291F68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029502C 00291F6C 7C 08 03 A6 */ mtlr r0 -/* 80295030 00291F70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295034 00291F74 4E 80 00 20 */ blr - -.global startJointShadow__Q34Game9SnakeCrow3ObjFv -startJointShadow__Q34Game9SnakeCrow3ObjFv: -/* 80295038 00291F78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8029503C 00291F7C 7C 08 02 A6 */ mflr r0 -/* 80295040 00291F80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295044 00291F84 80 63 03 18 */ lwz r3, 0x318(r3) -/* 80295048 00291F88 48 06 35 4D */ bl startJointShadow__Q34Game9SnakeCrow18SnakeCrowShadowMgrFv -/* 8029504C 00291F8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295050 00291F90 7C 08 03 A6 */ mtlr r0 -/* 80295054 00291F94 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295058 00291F98 4E 80 00 20 */ blr - -.global finishJointShadow__Q34Game9SnakeCrow3ObjFv -finishJointShadow__Q34Game9SnakeCrow3ObjFv: -/* 8029505C 00291F9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295060 00291FA0 7C 08 02 A6 */ mflr r0 -/* 80295064 00291FA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295068 00291FA8 80 63 03 18 */ lwz r3, 0x318(r3) -/* 8029506C 00291FAC 48 06 35 A1 */ bl finishJointShadow__Q34Game9SnakeCrow18SnakeCrowShadowMgrFv -/* 80295070 00291FB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295074 00291FB4 7C 08 03 A6 */ mtlr r0 -/* 80295078 00291FB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029507C 00291FBC 4E 80 00 20 */ blr - -.global deleteJointShadow__Q34Game9SnakeCrow3ObjFv -deleteJointShadow__Q34Game9SnakeCrow3ObjFv: -/* 80295080 00291FC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295084 00291FC4 7C 08 02 A6 */ mflr r0 -/* 80295088 00291FC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029508C 00291FCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295090 00291FD0 7C 7F 1B 78 */ mr r31, r3 -/* 80295094 00291FD4 7F E4 FB 78 */ mr r4, r31 -/* 80295098 00291FD8 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 8029509C 00291FDC 4B FA CC 99 */ bl addNormalShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 802950A0 00291FE0 80 6D 96 80 */ lwz r3, shadowMgr__4Game@sda21(r13) -/* 802950A4 00291FE4 7F E4 FB 78 */ mr r4, r31 -/* 802950A8 00291FE8 4B FA CE 5D */ bl delJointShadow__Q24Game9ShadowMgrFPQ24Game8Creature -/* 802950AC 00291FEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802950B0 00291FF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802950B4 00291FF4 7C 08 03 A6 */ mtlr r0 -/* 802950B8 00291FF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 802950BC 00291FFC 4E 80 00 20 */ blr - -.global startBossAttackBGM__Q34Game9SnakeCrow3ObjFv -startBossAttackBGM__Q34Game9SnakeCrow3ObjFv: -/* 802950C0 00292000 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802950C4 00292004 7C 08 02 A6 */ mflr r0 -/* 802950C8 00292008 90 01 00 14 */ stw r0, 0x14(r1) -/* 802950CC 0029200C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802950D0 00292010 93 C1 00 08 */ stw r30, 8(r1) -/* 802950D4 00292014 88 03 02 C1 */ lbz r0, 0x2c1(r3) -/* 802950D8 00292018 28 00 00 00 */ cmplwi r0, 0 -/* 802950DC 0029201C 41 82 00 10 */ beq lbl_802950EC -/* 802950E0 00292020 38 00 00 00 */ li r0, 0 -/* 802950E4 00292024 98 03 02 C1 */ stb r0, 0x2c1(r3) -/* 802950E8 00292028 48 00 00 A0 */ b lbl_80295188 -lbl_802950EC: -/* 802950EC 0029202C 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 802950F0 00292030 3B E0 00 00 */ li r31, 0 -/* 802950F4 00292034 7F C3 F3 78 */ mr r3, r30 -/* 802950F8 00292038 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802950FC 0029203C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80295100 00292040 7D 89 03 A6 */ mtctr r12 -/* 80295104 00292044 4E 80 04 21 */ bctrl -/* 80295108 00292048 2C 03 00 05 */ cmpwi r3, 5 -/* 8029510C 0029204C 41 82 00 3C */ beq lbl_80295148 -/* 80295110 00292050 7F C3 F3 78 */ mr r3, r30 -/* 80295114 00292054 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 80295118 00292058 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029511C 0029205C 7D 89 03 A6 */ mtctr r12 -/* 80295120 00292060 4E 80 04 21 */ bctrl -/* 80295124 00292064 2C 03 00 06 */ cmpwi r3, 6 -/* 80295128 00292068 41 82 00 20 */ beq lbl_80295148 -/* 8029512C 0029206C 7F C3 F3 78 */ mr r3, r30 -/* 80295130 00292070 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 80295134 00292074 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80295138 00292078 7D 89 03 A6 */ mtctr r12 -/* 8029513C 0029207C 4E 80 04 21 */ bctrl -/* 80295140 00292080 2C 03 00 07 */ cmpwi r3, 7 -/* 80295144 00292084 40 82 00 08 */ bne lbl_8029514C -lbl_80295148: -/* 80295148 00292088 3B E0 00 01 */ li r31, 1 -lbl_8029514C: -/* 8029514C 0029208C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80295150 00292090 40 82 00 20 */ bne lbl_80295170 -/* 80295154 00292094 3C 60 80 49 */ lis r3, lbl_80488894@ha -/* 80295158 00292098 3C A0 80 49 */ lis r5, lbl_804888AC@ha -/* 8029515C 0029209C 38 63 88 94 */ addi r3, r3, lbl_80488894@l -/* 80295160 002920A0 38 80 04 54 */ li r4, 0x454 -/* 80295164 002920A4 38 A5 88 AC */ addi r5, r5, lbl_804888AC@l -/* 80295168 002920A8 4C C6 31 82 */ crclr 6 -/* 8029516C 002920AC 4B D9 54 D5 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80295170: -/* 80295170 002920B0 7F C3 F3 78 */ mr r3, r30 -/* 80295174 002920B4 38 80 00 03 */ li r4, 3 -/* 80295178 002920B8 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8029517C 002920BC 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 80295180 002920C0 7D 89 03 A6 */ mtctr r12 -/* 80295184 002920C4 4E 80 04 21 */ bctrl -lbl_80295188: -/* 80295188 002920C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029518C 002920CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295190 002920D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80295194 002920D4 7C 08 03 A6 */ mtlr r0 -/* 80295198 002920D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029519C 002920DC 4E 80 00 20 */ blr - -.global startBossFlickBGM__Q34Game9SnakeCrow3ObjFv -startBossFlickBGM__Q34Game9SnakeCrow3ObjFv: -/* 802951A0 002920E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802951A4 002920E4 7C 08 02 A6 */ mflr r0 -/* 802951A8 002920E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 802951AC 002920EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 802951B0 002920F0 3B E0 00 00 */ li r31, 0 -/* 802951B4 002920F4 93 C1 00 08 */ stw r30, 8(r1) -/* 802951B8 002920F8 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 802951BC 002920FC 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802951C0 00292100 7F C3 F3 78 */ mr r3, r30 -/* 802951C4 00292104 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802951C8 00292108 7D 89 03 A6 */ mtctr r12 -/* 802951CC 0029210C 4E 80 04 21 */ bctrl -/* 802951D0 00292110 2C 03 00 05 */ cmpwi r3, 5 -/* 802951D4 00292114 41 82 00 3C */ beq lbl_80295210 -/* 802951D8 00292118 7F C3 F3 78 */ mr r3, r30 -/* 802951DC 0029211C 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802951E0 00292120 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802951E4 00292124 7D 89 03 A6 */ mtctr r12 -/* 802951E8 00292128 4E 80 04 21 */ bctrl -/* 802951EC 0029212C 2C 03 00 06 */ cmpwi r3, 6 -/* 802951F0 00292130 41 82 00 20 */ beq lbl_80295210 -/* 802951F4 00292134 7F C3 F3 78 */ mr r3, r30 -/* 802951F8 00292138 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802951FC 0029213C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80295200 00292140 7D 89 03 A6 */ mtctr r12 -/* 80295204 00292144 4E 80 04 21 */ bctrl -/* 80295208 00292148 2C 03 00 07 */ cmpwi r3, 7 -/* 8029520C 0029214C 40 82 00 08 */ bne lbl_80295214 -lbl_80295210: -/* 80295210 00292150 3B E0 00 01 */ li r31, 1 -lbl_80295214: -/* 80295214 00292154 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80295218 00292158 40 82 00 20 */ bne lbl_80295238 -/* 8029521C 0029215C 3C 60 80 49 */ lis r3, lbl_80488894@ha -/* 80295220 00292160 3C A0 80 49 */ lis r5, lbl_804888AC@ha -/* 80295224 00292164 38 63 88 94 */ addi r3, r3, lbl_80488894@l -/* 80295228 00292168 38 80 04 54 */ li r4, 0x454 -/* 8029522C 0029216C 38 A5 88 AC */ addi r5, r5, lbl_804888AC@l -/* 80295230 00292170 4C C6 31 82 */ crclr 6 -/* 80295234 00292174 4B D9 54 0D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80295238: -/* 80295238 00292178 7F C3 F3 78 */ mr r3, r30 -/* 8029523C 0029217C 38 80 00 04 */ li r4, 4 -/* 80295240 00292180 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 80295244 00292184 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 80295248 00292188 7D 89 03 A6 */ mtctr r12 -/* 8029524C 0029218C 4E 80 04 21 */ bctrl -/* 80295250 00292190 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295254 00292194 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295258 00292198 83 C1 00 08 */ lwz r30, 8(r1) -/* 8029525C 0029219C 7C 08 03 A6 */ mtlr r0 -/* 80295260 002921A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295264 002921A4 4E 80 00 20 */ blr - -.global updateBossBGM__Q34Game9SnakeCrow3ObjFv -updateBossBGM__Q34Game9SnakeCrow3ObjFv: -/* 80295268 002921A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029526C 002921AC 7C 08 02 A6 */ mflr r0 -/* 80295270 002921B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80295274 002921B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80295278 002921B8 3B E0 00 00 */ li r31, 0 -/* 8029527C 002921BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80295280 002921C0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80295284 002921C4 7C 7D 1B 78 */ mr r29, r3 -/* 80295288 002921C8 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 8029528C 002921CC 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 80295290 002921D0 7F C3 F3 78 */ mr r3, r30 -/* 80295294 002921D4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80295298 002921D8 7D 89 03 A6 */ mtctr r12 -/* 8029529C 002921DC 4E 80 04 21 */ bctrl -/* 802952A0 002921E0 2C 03 00 05 */ cmpwi r3, 5 -/* 802952A4 002921E4 41 82 00 3C */ beq lbl_802952E0 -/* 802952A8 002921E8 7F C3 F3 78 */ mr r3, r30 -/* 802952AC 002921EC 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802952B0 002921F0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802952B4 002921F4 7D 89 03 A6 */ mtctr r12 -/* 802952B8 002921F8 4E 80 04 21 */ bctrl -/* 802952BC 002921FC 2C 03 00 06 */ cmpwi r3, 6 -/* 802952C0 00292200 41 82 00 20 */ beq lbl_802952E0 -/* 802952C4 00292204 7F C3 F3 78 */ mr r3, r30 -/* 802952C8 00292208 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802952CC 0029220C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802952D0 00292210 7D 89 03 A6 */ mtctr r12 -/* 802952D4 00292214 4E 80 04 21 */ bctrl -/* 802952D8 00292218 2C 03 00 07 */ cmpwi r3, 7 -/* 802952DC 0029221C 40 82 00 08 */ bne lbl_802952E4 -lbl_802952E0: -/* 802952E0 00292220 3B E0 00 01 */ li r31, 1 -lbl_802952E4: -/* 802952E4 00292224 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802952E8 00292228 40 82 00 20 */ bne lbl_80295308 -/* 802952EC 0029222C 3C 60 80 49 */ lis r3, lbl_80488894@ha -/* 802952F0 00292230 3C A0 80 49 */ lis r5, lbl_804888AC@ha -/* 802952F4 00292234 38 63 88 94 */ addi r3, r3, lbl_80488894@l -/* 802952F8 00292238 38 80 04 54 */ li r4, 0x454 -/* 802952FC 0029223C 38 A5 88 AC */ addi r5, r5, lbl_804888AC@l -/* 80295300 00292240 4C C6 31 82 */ crclr 6 -/* 80295304 00292244 4B D9 53 3D */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80295308: -/* 80295308 00292248 80 1D 01 F4 */ lwz r0, 0x1f4(r29) -/* 8029530C 0029224C 2C 00 00 00 */ cmpwi r0, 0 -/* 80295310 00292250 41 82 00 20 */ beq lbl_80295330 -/* 80295314 00292254 7F C3 F3 78 */ mr r3, r30 -/* 80295318 00292258 38 80 00 01 */ li r4, 1 -/* 8029531C 0029225C 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 80295320 00292260 81 8C 00 D8 */ lwz r12, 0xd8(r12) -/* 80295324 00292264 7D 89 03 A6 */ mtctr r12 -/* 80295328 00292268 4E 80 04 21 */ bctrl -/* 8029532C 0029226C 48 00 00 1C */ b lbl_80295348 -lbl_80295330: -/* 80295330 00292270 7F C3 F3 78 */ mr r3, r30 -/* 80295334 00292274 38 80 00 00 */ li r4, 0 -/* 80295338 00292278 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8029533C 0029227C 81 8C 00 D8 */ lwz r12, 0xd8(r12) -/* 80295340 00292280 7D 89 03 A6 */ mtctr r12 -/* 80295344 00292284 4E 80 04 21 */ bctrl -lbl_80295348: -/* 80295348 00292288 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8029534C 0029228C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80295350 00292290 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80295354 00292294 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80295358 00292298 7C 08 03 A6 */ mtlr r0 -/* 8029535C 0029229C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80295360 002922A0 4E 80 00 20 */ blr - -.global resetBossAppearBGM__Q34Game9SnakeCrow3ObjFv -resetBossAppearBGM__Q34Game9SnakeCrow3ObjFv: -/* 80295364 002922A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295368 002922A8 7C 08 02 A6 */ mflr r0 -/* 8029536C 002922AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295370 002922B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295374 002922B4 93 C1 00 08 */ stw r30, 8(r1) -/* 80295378 002922B8 88 03 02 C2 */ lbz r0, 0x2c2(r3) -/* 8029537C 002922BC 28 00 00 00 */ cmplwi r0, 0 -/* 80295380 002922C0 40 82 00 9C */ bne lbl_8029541C -/* 80295384 002922C4 38 00 00 01 */ li r0, 1 -/* 80295388 002922C8 3B E0 00 00 */ li r31, 0 -/* 8029538C 002922CC 98 03 02 C2 */ stb r0, 0x2c2(r3) -/* 80295390 002922D0 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 80295394 002922D4 7F C3 F3 78 */ mr r3, r30 -/* 80295398 002922D8 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 8029539C 002922DC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802953A0 002922E0 7D 89 03 A6 */ mtctr r12 -/* 802953A4 002922E4 4E 80 04 21 */ bctrl -/* 802953A8 002922E8 2C 03 00 05 */ cmpwi r3, 5 -/* 802953AC 002922EC 41 82 00 3C */ beq lbl_802953E8 -/* 802953B0 002922F0 7F C3 F3 78 */ mr r3, r30 -/* 802953B4 002922F4 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802953B8 002922F8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802953BC 002922FC 7D 89 03 A6 */ mtctr r12 -/* 802953C0 00292300 4E 80 04 21 */ bctrl -/* 802953C4 00292304 2C 03 00 06 */ cmpwi r3, 6 -/* 802953C8 00292308 41 82 00 20 */ beq lbl_802953E8 -/* 802953CC 0029230C 7F C3 F3 78 */ mr r3, r30 -/* 802953D0 00292310 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802953D4 00292314 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802953D8 00292318 7D 89 03 A6 */ mtctr r12 -/* 802953DC 0029231C 4E 80 04 21 */ bctrl -/* 802953E0 00292320 2C 03 00 07 */ cmpwi r3, 7 -/* 802953E4 00292324 40 82 00 08 */ bne lbl_802953EC -lbl_802953E8: -/* 802953E8 00292328 3B E0 00 01 */ li r31, 1 -lbl_802953EC: -/* 802953EC 0029232C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802953F0 00292330 40 82 00 20 */ bne lbl_80295410 -/* 802953F4 00292334 3C 60 80 49 */ lis r3, lbl_80488894@ha -/* 802953F8 00292338 3C A0 80 49 */ lis r5, lbl_804888AC@ha -/* 802953FC 0029233C 38 63 88 94 */ addi r3, r3, lbl_80488894@l -/* 80295400 00292340 38 80 04 54 */ li r4, 0x454 -/* 80295404 00292344 38 A5 88 AC */ addi r5, r5, lbl_804888AC@l -/* 80295408 00292348 4C C6 31 82 */ crclr 6 -/* 8029540C 0029234C 4B D9 52 35 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_80295410: -/* 80295410 00292350 7F C3 F3 78 */ mr r3, r30 -/* 80295414 00292354 38 80 00 00 */ li r4, 0 -/* 80295418 00292358 48 1C A5 D9 */ bl setAppearFlag__Q23PSM9EnemyBossFb -lbl_8029541C: -/* 8029541C 0029235C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295420 00292360 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295424 00292364 83 C1 00 08 */ lwz r30, 8(r1) -/* 80295428 00292368 7C 08 03 A6 */ mtlr r0 -/* 8029542C 0029236C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295430 00292370 4E 80 00 20 */ blr - -.global setBossAppearBGM__Q34Game9SnakeCrow3ObjFv -setBossAppearBGM__Q34Game9SnakeCrow3ObjFv: -/* 80295434 00292374 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295438 00292378 7C 08 02 A6 */ mflr r0 -/* 8029543C 0029237C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295440 00292380 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295444 00292384 93 C1 00 08 */ stw r30, 8(r1) -/* 80295448 00292388 88 03 02 C2 */ lbz r0, 0x2c2(r3) -/* 8029544C 0029238C 28 00 00 00 */ cmplwi r0, 0 -/* 80295450 00292390 41 82 00 98 */ beq lbl_802954E8 -/* 80295454 00292394 3B E0 00 00 */ li r31, 0 -/* 80295458 00292398 9B E3 02 C2 */ stb r31, 0x2c2(r3) -/* 8029545C 0029239C 83 C3 02 8C */ lwz r30, 0x28c(r3) -/* 80295460 002923A0 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 80295464 002923A4 7F C3 F3 78 */ mr r3, r30 -/* 80295468 002923A8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8029546C 002923AC 7D 89 03 A6 */ mtctr r12 -/* 80295470 002923B0 4E 80 04 21 */ bctrl -/* 80295474 002923B4 2C 03 00 05 */ cmpwi r3, 5 -/* 80295478 002923B8 41 82 00 3C */ beq lbl_802954B4 -/* 8029547C 002923BC 7F C3 F3 78 */ mr r3, r30 -/* 80295480 002923C0 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 80295484 002923C4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80295488 002923C8 7D 89 03 A6 */ mtctr r12 -/* 8029548C 002923CC 4E 80 04 21 */ bctrl -/* 80295490 002923D0 2C 03 00 06 */ cmpwi r3, 6 -/* 80295494 002923D4 41 82 00 20 */ beq lbl_802954B4 -/* 80295498 002923D8 7F C3 F3 78 */ mr r3, r30 -/* 8029549C 002923DC 81 9E 00 28 */ lwz r12, 0x28(r30) -/* 802954A0 002923E0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 802954A4 002923E4 7D 89 03 A6 */ mtctr r12 -/* 802954A8 002923E8 4E 80 04 21 */ bctrl -/* 802954AC 002923EC 2C 03 00 07 */ cmpwi r3, 7 -/* 802954B0 002923F0 40 82 00 08 */ bne lbl_802954B8 -lbl_802954B4: -/* 802954B4 002923F4 3B E0 00 01 */ li r31, 1 -lbl_802954B8: -/* 802954B8 002923F8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 802954BC 002923FC 40 82 00 20 */ bne lbl_802954DC -/* 802954C0 00292400 3C 60 80 49 */ lis r3, lbl_80488894@ha -/* 802954C4 00292404 3C A0 80 49 */ lis r5, lbl_804888AC@ha -/* 802954C8 00292408 38 63 88 94 */ addi r3, r3, lbl_80488894@l -/* 802954CC 0029240C 38 80 04 54 */ li r4, 0x454 -/* 802954D0 00292410 38 A5 88 AC */ addi r5, r5, lbl_804888AC@l -/* 802954D4 00292414 4C C6 31 82 */ crclr 6 -/* 802954D8 00292418 4B D9 51 69 */ bl panic_f__12JUTExceptionFPCciPCce -lbl_802954DC: -/* 802954DC 0029241C 7F C3 F3 78 */ mr r3, r30 -/* 802954E0 00292420 38 80 00 01 */ li r4, 1 -/* 802954E4 00292424 48 1C A5 0D */ bl setAppearFlag__Q23PSM9EnemyBossFb -lbl_802954E8: -/* 802954E8 00292428 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802954EC 0029242C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802954F0 00292430 83 C1 00 08 */ lwz r30, 8(r1) -/* 802954F4 00292434 7C 08 03 A6 */ mtlr r0 -/* 802954F8 00292438 38 21 00 10 */ addi r1, r1, 0x10 -/* 802954FC 0029243C 4E 80 00 20 */ blr - -.global createEffect__Q34Game9SnakeCrow3ObjFv -createEffect__Q34Game9SnakeCrow3ObjFv: -/* 80295500 00292440 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295504 00292444 7C 08 02 A6 */ mflr r0 -/* 80295508 00292448 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029550C 0029244C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295510 00292450 7C 7F 1B 78 */ mr r31, r3 -/* 80295514 00292454 38 60 00 10 */ li r3, 0x10 -/* 80295518 00292458 93 C1 00 08 */ stw r30, 8(r1) -/* 8029551C 0029245C 4B D8 E9 89 */ bl __nw__FUl -/* 80295520 00292460 28 03 00 00 */ cmplwi r3, 0 -/* 80295524 00292464 41 82 00 6C */ beq lbl_80295590 -/* 80295528 00292468 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 8029552C 0029246C 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 80295530 00292470 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 80295534 00292474 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80295538 00292478 90 03 00 00 */ stw r0, 0(r3) -/* 8029553C 0029247C 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 80295540 00292480 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80295544 00292484 3C 80 80 4B */ lis r4, __vt__Q23efx8TForever@ha -/* 80295548 00292488 90 03 00 04 */ stw r0, 4(r3) -/* 8029554C 0029248C 38 C4 2C 24 */ addi r6, r4, __vt__Q23efx8TForever@l -/* 80295550 00292490 3C 80 80 4D */ lis r4, __vt__Q23efx8THebiRot@ha -/* 80295554 00292494 38 05 00 14 */ addi r0, r5, 0x14 -/* 80295558 00292498 90 A3 00 00 */ stw r5, 0(r3) -/* 8029555C 0029249C 38 84 B6 6C */ addi r4, r4, __vt__Q23efx8THebiRot@l -/* 80295560 002924A0 39 00 00 00 */ li r8, 0 -/* 80295564 002924A4 38 E0 00 A9 */ li r7, 0xa9 -/* 80295568 002924A8 90 03 00 04 */ stw r0, 4(r3) -/* 8029556C 002924AC 38 A6 00 14 */ addi r5, r6, 0x14 -/* 80295570 002924B0 38 04 00 14 */ addi r0, r4, 0x14 -/* 80295574 002924B4 91 03 00 08 */ stw r8, 8(r3) -/* 80295578 002924B8 B0 E3 00 0C */ sth r7, 0xc(r3) -/* 8029557C 002924BC 99 03 00 0E */ stb r8, 0xe(r3) -/* 80295580 002924C0 90 C3 00 00 */ stw r6, 0(r3) -/* 80295584 002924C4 90 A3 00 04 */ stw r5, 4(r3) -/* 80295588 002924C8 90 83 00 00 */ stw r4, 0(r3) -/* 8029558C 002924CC 90 03 00 04 */ stw r0, 4(r3) -lbl_80295590: -/* 80295590 002924D0 90 7F 03 1C */ stw r3, 0x31c(r31) -/* 80295594 002924D4 38 60 00 10 */ li r3, 0x10 -/* 80295598 002924D8 4B D8 E9 0D */ bl __nw__FUl -/* 8029559C 002924DC 28 03 00 00 */ cmplwi r3, 0 -/* 802955A0 002924E0 41 82 00 6C */ beq lbl_8029560C -/* 802955A4 002924E4 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 802955A8 002924E8 3C A0 80 4A */ lis r5, __vt__18JPAEmitterCallBack@ha -/* 802955AC 002924EC 38 04 A7 F8 */ addi r0, r4, __vt__Q23efx5TBase@l -/* 802955B0 002924F0 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 802955B4 002924F4 90 03 00 00 */ stw r0, 0(r3) -/* 802955B8 002924F8 38 05 E2 7C */ addi r0, r5, __vt__18JPAEmitterCallBack@l -/* 802955BC 002924FC 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 802955C0 00292500 3C 80 80 4B */ lis r4, __vt__Q23efx8TForever@ha -/* 802955C4 00292504 90 03 00 04 */ stw r0, 4(r3) -/* 802955C8 00292508 38 C4 2C 24 */ addi r6, r4, __vt__Q23efx8TForever@l -/* 802955CC 0029250C 3C 80 80 4D */ lis r4, __vt__Q23efx9THebiWait@ha -/* 802955D0 00292510 38 05 00 14 */ addi r0, r5, 0x14 -/* 802955D4 00292514 90 A3 00 00 */ stw r5, 0(r3) -/* 802955D8 00292518 38 84 B6 20 */ addi r4, r4, __vt__Q23efx9THebiWait@l -/* 802955DC 0029251C 39 00 00 00 */ li r8, 0 -/* 802955E0 00292520 38 E0 00 AA */ li r7, 0xaa -/* 802955E4 00292524 90 03 00 04 */ stw r0, 4(r3) -/* 802955E8 00292528 38 A6 00 14 */ addi r5, r6, 0x14 -/* 802955EC 0029252C 38 04 00 14 */ addi r0, r4, 0x14 -/* 802955F0 00292530 91 03 00 08 */ stw r8, 8(r3) -/* 802955F4 00292534 B0 E3 00 0C */ sth r7, 0xc(r3) -/* 802955F8 00292538 99 03 00 0E */ stb r8, 0xe(r3) -/* 802955FC 0029253C 90 C3 00 00 */ stw r6, 0(r3) -/* 80295600 00292540 90 A3 00 04 */ stw r5, 4(r3) -/* 80295604 00292544 90 83 00 00 */ stw r4, 0(r3) -/* 80295608 00292548 90 03 00 04 */ stw r0, 4(r3) -lbl_8029560C: -/* 8029560C 0029254C 90 7F 03 20 */ stw r3, 0x320(r31) -/* 80295610 00292550 38 60 00 54 */ li r3, 0x54 -/* 80295614 00292554 4B D8 E8 91 */ bl __nw__FUl -/* 80295618 00292558 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8029561C 0029255C 41 82 00 28 */ beq lbl_80295644 -/* 80295620 00292560 38 80 00 00 */ li r4, 0 -/* 80295624 00292564 38 A0 00 A4 */ li r5, 0xa4 -/* 80295628 00292568 38 C0 00 A5 */ li r6, 0xa5 -/* 8029562C 0029256C 38 E0 00 A6 */ li r7, 0xa6 -/* 80295630 00292570 39 00 00 A7 */ li r8, 0xa7 -/* 80295634 00292574 48 11 B2 D9 */ bl __ct__Q23efx11TChaseMtxT4FPA4_fUsUsUsUs -/* 80295638 00292578 3C 60 80 4D */ lis r3, __vt__Q23efx9THebiDead@ha -/* 8029563C 0029257C 38 03 B6 04 */ addi r0, r3, __vt__Q23efx9THebiDead@l -/* 80295640 00292580 90 1E 00 00 */ stw r0, 0(r30) -lbl_80295644: -/* 80295644 00292584 93 DF 03 24 */ stw r30, 0x324(r31) -/* 80295648 00292588 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029564C 0029258C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295650 00292590 83 C1 00 08 */ lwz r30, 8(r1) -/* 80295654 00292594 7C 08 03 A6 */ mtlr r0 -/* 80295658 00292598 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029565C 0029259C 4E 80 00 20 */ blr - -.global setupEffect__Q34Game9SnakeCrow3ObjFv -setupEffect__Q34Game9SnakeCrow3ObjFv: -/* 80295660 002925A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295664 002925A4 7C 08 02 A6 */ mflr r0 -/* 80295668 002925A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029566C 002925AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295670 002925B0 7C 7F 1B 78 */ mr r31, r3 -/* 80295674 002925B4 3C 60 80 49 */ lis r3, lbl_804888B8@ha -/* 80295678 002925B8 38 83 88 B8 */ addi r4, r3, lbl_804888B8@l -/* 8029567C 002925BC 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80295680 002925C0 48 1A 99 65 */ bl getJoint__Q28SysShape5ModelFPc -/* 80295684 002925C4 48 19 42 1D */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80295688 002925C8 7C 60 1B 78 */ mr r0, r3 -/* 8029568C 002925CC 80 7F 03 24 */ lwz r3, 0x324(r31) -/* 80295690 002925D0 7C 04 03 78 */ mr r4, r0 -/* 80295694 002925D4 48 11 B3 25 */ bl setMtxptr__Q23efx11TChaseMtxT4FPA4_f -/* 80295698 002925D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8029569C 002925DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 802956A0 002925E0 7C 08 03 A6 */ mtlr r0 -/* 802956A4 002925E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 802956A8 002925E8 4E 80 00 20 */ blr - -.global createAppearEffect__Q34Game9SnakeCrow3ObjFi -createAppearEffect__Q34Game9SnakeCrow3ObjFi: -/* 802956AC 002925EC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 802956B0 002925F0 7C 08 02 A6 */ mflr r0 -/* 802956B4 002925F4 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 802956B8 002925F8 2C 04 00 01 */ cmpwi r4, 1 -/* 802956BC 002925FC 90 01 00 84 */ stw r0, 0x84(r1) -/* 802956C0 00292600 38 05 A7 EC */ addi r0, r5, __vt__Q23efx3Arg@l -/* 802956C4 00292604 90 01 00 08 */ stw r0, 8(r1) -/* 802956C8 00292608 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 802956CC 0029260C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802956D0 00292610 C0 03 01 90 */ lfs f0, 0x190(r3) -/* 802956D4 00292614 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802956D8 00292618 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 802956DC 0029261C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802956E0 00292620 41 82 00 9C */ beq lbl_8029577C -/* 802956E4 00292624 40 80 00 10 */ bge lbl_802956F4 -/* 802956E8 00292628 2C 04 00 00 */ cmpwi r4, 0 -/* 802956EC 0029262C 40 80 00 14 */ bge lbl_80295700 -/* 802956F0 00292630 48 00 01 80 */ b lbl_80295870 -lbl_802956F4: -/* 802956F4 00292634 2C 04 00 03 */ cmpwi r4, 3 -/* 802956F8 00292638 40 80 01 78 */ bge lbl_80295870 -/* 802956FC 0029263C 48 00 00 FC */ b lbl_802957F8 -lbl_80295700: -/* 80295700 00292640 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 80295704 00292644 38 C0 00 00 */ li r6, 0 -/* 80295708 00292648 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 8029570C 0029264C 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple4@ha -/* 80295710 00292650 90 01 00 58 */ stw r0, 0x58(r1) -/* 80295714 00292654 38 03 6A 3C */ addi r0, r3, __vt__Q23efx8TSimple4@l -/* 80295718 00292658 3C 80 80 4E */ lis r4, __vt__Q23efx14THebiAphd_base@ha -/* 8029571C 0029265C 3C 60 80 4D */ lis r3, __vt__Q23efx17THebiAphd_appear1@ha -/* 80295720 00292660 90 01 00 58 */ stw r0, 0x58(r1) -/* 80295724 00292664 38 04 6E 30 */ addi r0, r4, __vt__Q23efx14THebiAphd_base@l -/* 80295728 00292668 38 80 00 A0 */ li r4, 0xa0 -/* 8029572C 0029266C 39 20 00 A1 */ li r9, 0xa1 -/* 80295730 00292670 90 01 00 58 */ stw r0, 0x58(r1) -/* 80295734 00292674 38 03 B5 B8 */ addi r0, r3, __vt__Q23efx17THebiAphd_appear1@l -/* 80295738 00292678 39 00 00 A2 */ li r8, 0xa2 -/* 8029573C 0029267C 38 E0 00 A3 */ li r7, 0xa3 -/* 80295740 00292680 38 A0 00 28 */ li r5, 0x28 -/* 80295744 00292684 B0 81 00 5C */ sth r4, 0x5c(r1) -/* 80295748 00292688 38 61 00 58 */ addi r3, r1, 0x58 -/* 8029574C 0029268C 38 81 00 08 */ addi r4, r1, 8 -/* 80295750 00292690 B1 21 00 5E */ sth r9, 0x5e(r1) -/* 80295754 00292694 B1 01 00 60 */ sth r8, 0x60(r1) -/* 80295758 00292698 B0 E1 00 62 */ sth r7, 0x62(r1) -/* 8029575C 0029269C 90 C1 00 64 */ stw r6, 0x64(r1) -/* 80295760 002926A0 90 C1 00 68 */ stw r6, 0x68(r1) -/* 80295764 002926A4 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 80295768 002926A8 90 C1 00 70 */ stw r6, 0x70(r1) -/* 8029576C 002926AC 90 A1 00 74 */ stw r5, 0x74(r1) -/* 80295770 002926B0 90 01 00 58 */ stw r0, 0x58(r1) -/* 80295774 002926B4 48 11 E3 35 */ bl create__Q23efx14THebiAphd_baseFPQ23efx3Arg -/* 80295778 002926B8 48 00 00 F8 */ b lbl_80295870 -lbl_8029577C: -/* 8029577C 002926BC 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 80295780 002926C0 38 C0 00 00 */ li r6, 0 -/* 80295784 002926C4 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 80295788 002926C8 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple4@ha -/* 8029578C 002926CC 90 01 00 38 */ stw r0, 0x38(r1) -/* 80295790 002926D0 38 03 6A 3C */ addi r0, r3, __vt__Q23efx8TSimple4@l -/* 80295794 002926D4 3C 80 80 4E */ lis r4, __vt__Q23efx14THebiAphd_base@ha -/* 80295798 002926D8 3C 60 80 4D */ lis r3, __vt__Q23efx23THebiAphd_appear2_first@ha -/* 8029579C 002926DC 90 01 00 38 */ stw r0, 0x38(r1) -/* 802957A0 002926E0 38 04 6E 30 */ addi r0, r4, __vt__Q23efx14THebiAphd_base@l -/* 802957A4 002926E4 38 80 00 A0 */ li r4, 0xa0 -/* 802957A8 002926E8 39 20 00 A1 */ li r9, 0xa1 -/* 802957AC 002926EC 90 01 00 38 */ stw r0, 0x38(r1) -/* 802957B0 002926F0 38 03 B5 A4 */ addi r0, r3, __vt__Q23efx23THebiAphd_appear2_first@l -/* 802957B4 002926F4 39 00 00 A2 */ li r8, 0xa2 -/* 802957B8 002926F8 38 E0 00 A3 */ li r7, 0xa3 -/* 802957BC 002926FC 38 A0 00 41 */ li r5, 0x41 -/* 802957C0 00292700 B0 81 00 3C */ sth r4, 0x3c(r1) -/* 802957C4 00292704 38 61 00 38 */ addi r3, r1, 0x38 -/* 802957C8 00292708 38 81 00 08 */ addi r4, r1, 8 -/* 802957CC 0029270C B1 21 00 3E */ sth r9, 0x3e(r1) -/* 802957D0 00292710 B1 01 00 40 */ sth r8, 0x40(r1) -/* 802957D4 00292714 B0 E1 00 42 */ sth r7, 0x42(r1) -/* 802957D8 00292718 90 C1 00 44 */ stw r6, 0x44(r1) -/* 802957DC 0029271C 90 C1 00 48 */ stw r6, 0x48(r1) -/* 802957E0 00292720 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 802957E4 00292724 90 C1 00 50 */ stw r6, 0x50(r1) -/* 802957E8 00292728 90 A1 00 54 */ stw r5, 0x54(r1) -/* 802957EC 0029272C 90 01 00 38 */ stw r0, 0x38(r1) -/* 802957F0 00292730 48 11 E2 B9 */ bl create__Q23efx14THebiAphd_baseFPQ23efx3Arg -/* 802957F4 00292734 48 00 00 7C */ b lbl_80295870 -lbl_802957F8: -/* 802957F8 00292738 3C 60 80 4B */ lis r3, __vt__Q23efx5TBase@ha -/* 802957FC 0029273C 38 C0 00 00 */ li r6, 0 -/* 80295800 00292740 38 03 A7 F8 */ addi r0, r3, __vt__Q23efx5TBase@l -/* 80295804 00292744 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple4@ha -/* 80295808 00292748 90 01 00 18 */ stw r0, 0x18(r1) -/* 8029580C 0029274C 38 03 6A 3C */ addi r0, r3, __vt__Q23efx8TSimple4@l -/* 80295810 00292750 3C 80 80 4E */ lis r4, __vt__Q23efx14THebiAphd_base@ha -/* 80295814 00292754 3C 60 80 4D */ lis r3, __vt__Q23efx22THebiAphd_appear2_late@ha -/* 80295818 00292758 90 01 00 18 */ stw r0, 0x18(r1) -/* 8029581C 0029275C 38 04 6E 30 */ addi r0, r4, __vt__Q23efx14THebiAphd_base@l -/* 80295820 00292760 38 80 00 A0 */ li r4, 0xa0 -/* 80295824 00292764 39 20 00 A1 */ li r9, 0xa1 -/* 80295828 00292768 90 01 00 18 */ stw r0, 0x18(r1) -/* 8029582C 0029276C 38 03 B5 90 */ addi r0, r3, __vt__Q23efx22THebiAphd_appear2_late@l -/* 80295830 00292770 39 00 00 A2 */ li r8, 0xa2 -/* 80295834 00292774 38 E0 00 A3 */ li r7, 0xa3 -/* 80295838 00292778 38 A0 00 23 */ li r5, 0x23 -/* 8029583C 0029277C B0 81 00 1C */ sth r4, 0x1c(r1) -/* 80295840 00292780 38 61 00 18 */ addi r3, r1, 0x18 -/* 80295844 00292784 38 81 00 08 */ addi r4, r1, 8 -/* 80295848 00292788 B1 21 00 1E */ sth r9, 0x1e(r1) -/* 8029584C 0029278C B1 01 00 20 */ sth r8, 0x20(r1) -/* 80295850 00292790 B0 E1 00 22 */ sth r7, 0x22(r1) -/* 80295854 00292794 90 C1 00 24 */ stw r6, 0x24(r1) -/* 80295858 00292798 90 C1 00 28 */ stw r6, 0x28(r1) -/* 8029585C 0029279C 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80295860 002927A0 90 C1 00 30 */ stw r6, 0x30(r1) -/* 80295864 002927A4 90 A1 00 34 */ stw r5, 0x34(r1) -/* 80295868 002927A8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8029586C 002927AC 48 11 E2 3D */ bl create__Q23efx14THebiAphd_baseFPQ23efx3Arg -lbl_80295870: -/* 80295870 002927B0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80295874 002927B4 7C 08 03 A6 */ mtlr r0 -/* 80295878 002927B8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8029587C 002927BC 4E 80 00 20 */ blr - -.global startRotateEffect__Q34Game9SnakeCrow3ObjFv -startRotateEffect__Q34Game9SnakeCrow3ObjFv: -/* 80295880 002927C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80295884 002927C4 7C 08 02 A6 */ mflr r0 -/* 80295888 002927C8 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 8029588C 002927CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80295890 002927D0 38 04 A7 EC */ addi r0, r4, __vt__Q23efx3Arg@l -/* 80295894 002927D4 38 81 00 08 */ addi r4, r1, 8 -/* 80295898 002927D8 90 01 00 08 */ stw r0, 8(r1) -/* 8029589C 002927DC C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 802958A0 002927E0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 802958A4 002927E4 C0 03 01 90 */ lfs f0, 0x190(r3) -/* 802958A8 002927E8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 802958AC 002927EC C0 03 01 94 */ lfs f0, 0x194(r3) -/* 802958B0 002927F0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 802958B4 002927F4 80 63 03 1C */ lwz r3, 0x31c(r3) -/* 802958B8 002927F8 81 83 00 00 */ lwz r12, 0(r3) -/* 802958BC 002927FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 802958C0 00292800 7D 89 03 A6 */ mtctr r12 -/* 802958C4 00292804 4E 80 04 21 */ bctrl -/* 802958C8 00292808 80 01 00 24 */ lwz r0, 0x24(r1) -/* 802958CC 0029280C 7C 08 03 A6 */ mtlr r0 -/* 802958D0 00292810 38 21 00 20 */ addi r1, r1, 0x20 -/* 802958D4 00292814 4E 80 00 20 */ blr - -.global finishRotateEffect__Q34Game9SnakeCrow3ObjFv -finishRotateEffect__Q34Game9SnakeCrow3ObjFv: -/* 802958D8 00292818 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 802958DC 0029281C 7C 08 02 A6 */ mflr r0 -/* 802958E0 00292820 90 01 00 14 */ stw r0, 0x14(r1) -/* 802958E4 00292824 80 63 03 1C */ lwz r3, 0x31c(r3) -/* 802958E8 00292828 81 83 00 00 */ lwz r12, 0(r3) -/* 802958EC 0029282C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 802958F0 00292830 7D 89 03 A6 */ mtctr r12 -/* 802958F4 00292834 4E 80 04 21 */ bctrl -/* 802958F8 00292838 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802958FC 0029283C 7C 08 03 A6 */ mtlr r0 -/* 80295900 00292840 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295904 00292844 4E 80 00 20 */ blr - -.global startWaitEffect__Q34Game9SnakeCrow3ObjFv -startWaitEffect__Q34Game9SnakeCrow3ObjFv: -/* 80295908 00292848 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8029590C 0029284C 7C 08 02 A6 */ mflr r0 -/* 80295910 00292850 3C 80 80 4B */ lis r4, __vt__Q23efx3Arg@ha -/* 80295914 00292854 90 01 00 24 */ stw r0, 0x24(r1) -/* 80295918 00292858 38 04 A7 EC */ addi r0, r4, __vt__Q23efx3Arg@l -/* 8029591C 0029285C 38 81 00 08 */ addi r4, r1, 8 -/* 80295920 00292860 90 01 00 08 */ stw r0, 8(r1) -/* 80295924 00292864 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 80295928 00292868 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8029592C 0029286C C0 03 01 90 */ lfs f0, 0x190(r3) -/* 80295930 00292870 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80295934 00292874 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 80295938 00292878 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8029593C 0029287C 80 63 03 20 */ lwz r3, 0x320(r3) -/* 80295940 00292880 81 83 00 00 */ lwz r12, 0(r3) -/* 80295944 00292884 81 8C 00 08 */ lwz r12, 8(r12) -/* 80295948 00292888 7D 89 03 A6 */ mtctr r12 -/* 8029594C 0029288C 4E 80 04 21 */ bctrl -/* 80295950 00292890 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80295954 00292894 7C 08 03 A6 */ mtlr r0 -/* 80295958 00292898 38 21 00 20 */ addi r1, r1, 0x20 -/* 8029595C 0029289C 4E 80 00 20 */ blr - -.global finishWaitEffect__Q34Game9SnakeCrow3ObjFv -finishWaitEffect__Q34Game9SnakeCrow3ObjFv: -/* 80295960 002928A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295964 002928A4 7C 08 02 A6 */ mflr r0 -/* 80295968 002928A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8029596C 002928AC 80 63 03 20 */ lwz r3, 0x320(r3) -/* 80295970 002928B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80295974 002928B4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80295978 002928B8 7D 89 03 A6 */ mtctr r12 -/* 8029597C 002928BC 4E 80 04 21 */ bctrl -/* 80295980 002928C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295984 002928C4 7C 08 03 A6 */ mtlr r0 -/* 80295988 002928C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8029598C 002928CC 4E 80 00 20 */ blr - -.global createDeadStartEffect__Q34Game9SnakeCrow3ObjFv -createDeadStartEffect__Q34Game9SnakeCrow3ObjFv: -/* 80295990 002928D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295994 002928D4 7C 08 02 A6 */ mflr r0 -/* 80295998 002928D8 38 80 00 00 */ li r4, 0 -/* 8029599C 002928DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 802959A0 002928E0 80 63 03 24 */ lwz r3, 0x324(r3) -/* 802959A4 002928E4 81 83 00 00 */ lwz r12, 0(r3) -/* 802959A8 002928E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 802959AC 002928EC 7D 89 03 A6 */ mtctr r12 -/* 802959B0 002928F0 4E 80 04 21 */ bctrl -/* 802959B4 002928F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 802959B8 002928F8 7C 08 03 A6 */ mtlr r0 -/* 802959BC 002928FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 802959C0 00292900 4E 80 00 20 */ blr - -.global createDeadFinishEffect__Q34Game9SnakeCrow3ObjFv -createDeadFinishEffect__Q34Game9SnakeCrow3ObjFv: -/* 802959C4 00292904 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 802959C8 00292908 7C 08 02 A6 */ mflr r0 -/* 802959CC 0029290C 3C 80 80 49 */ lis r4, lbl_8048874C@ha -/* 802959D0 00292910 90 01 00 34 */ stw r0, 0x34(r1) -/* 802959D4 00292914 38 84 87 4C */ addi r4, r4, lbl_8048874C@l -/* 802959D8 00292918 80 63 01 74 */ lwz r3, 0x174(r3) -/* 802959DC 0029291C 48 1A 96 09 */ bl getJoint__Q28SysShape5ModelFPc -/* 802959E0 00292920 48 19 3E C1 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 802959E4 00292924 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha -/* 802959E8 00292928 C0 43 00 2C */ lfs f2, 0x2c(r3) -/* 802959EC 0029292C C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 802959F0 00292930 38 84 A7 F8 */ addi r4, r4, __vt__Q23efx5TBase@l -/* 802959F4 00292934 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 802959F8 00292938 3C 60 80 4E */ lis r3, __vt__Q23efx8TSimple1@ha -/* 802959FC 0029293C 38 03 6A 78 */ addi r0, r3, __vt__Q23efx8TSimple1@l -/* 80295A00 00292940 3C A0 80 4B */ lis r5, __vt__Q23efx3Arg@ha -/* 80295A04 00292944 90 81 00 08 */ stw r4, 8(r1) -/* 80295A08 00292948 3C 60 80 4D */ lis r3, __vt__Q23efx19THebiDeadHane_ver01@ha -/* 80295A0C 0029294C 38 85 A7 EC */ addi r4, r5, __vt__Q23efx3Arg@l -/* 80295A10 00292950 38 C0 00 A8 */ li r6, 0xa8 -/* 80295A14 00292954 38 A0 00 00 */ li r5, 0 -/* 80295A18 00292958 90 01 00 08 */ stw r0, 8(r1) -/* 80295A1C 0029295C 38 03 B5 7C */ addi r0, r3, __vt__Q23efx19THebiDeadHane_ver01@l -/* 80295A20 00292960 38 61 00 08 */ addi r3, r1, 8 -/* 80295A24 00292964 90 81 00 14 */ stw r4, 0x14(r1) -/* 80295A28 00292968 38 81 00 14 */ addi r4, r1, 0x14 -/* 80295A2C 0029296C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80295A30 00292970 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80295A34 00292974 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80295A38 00292978 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 80295A3C 0029297C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80295A40 00292980 90 01 00 08 */ stw r0, 8(r1) -/* 80295A44 00292984 48 11 95 41 */ bl create__Q23efx8TSimple1FPQ23efx3Arg -/* 80295A48 00292988 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80295A4C 0029298C 7C 08 03 A6 */ mtlr r0 -/* 80295A50 00292990 38 21 00 30 */ addi r1, r1, 0x30 -/* 80295A54 00292994 4E 80 00 20 */ blr - -.global createDownHeadEffect__Q34Game9SnakeCrow3ObjFf -createDownHeadEffect__Q34Game9SnakeCrow3ObjFf: -/* 80295A58 00292998 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80295A5C 0029299C 7C 08 02 A6 */ mflr r0 -/* 80295A60 002929A0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80295A64 002929A4 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80295A68 002929A8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80295A6C 002929AC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80295A70 002929B0 7C 7F 1B 78 */ mr r31, r3 -/* 80295A74 002929B4 3C 60 80 49 */ lis r3, lbl_8048874C@ha -/* 80295A78 002929B8 38 83 87 4C */ addi r4, r3, lbl_8048874C@l -/* 80295A7C 002929BC FF E0 08 90 */ fmr f31, f1 -/* 80295A80 002929C0 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80295A84 002929C4 48 1A 95 61 */ bl getJoint__Q28SysShape5ModelFPc -/* 80295A88 002929C8 48 19 3E 19 */ bl getWorldMatrix__Q28SysShape5JointFv -/* 80295A8C 002929CC C0 63 00 1C */ lfs f3, 0x1c(r3) -/* 80295A90 002929D0 FC 20 F8 90 */ fmr f1, f31 -/* 80295A94 002929D4 C0 02 D7 50 */ lfs f0, lbl_8051BAB0@sda21(r2) -/* 80295A98 002929D8 38 81 00 08 */ addi r4, r1, 8 -/* 80295A9C 002929DC C0 83 00 2C */ lfs f4, 0x2c(r3) -/* 80295AA0 002929E0 C0 43 00 0C */ lfs f2, 0xc(r3) -/* 80295AA4 002929E4 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80295AA8 002929E8 7F E3 FB 78 */ mr r3, r31 -/* 80295AAC 002929EC D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80295AB0 002929F0 D0 41 00 08 */ stfs f2, 8(r1) -/* 80295AB4 002929F4 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80295AB8 002929F8 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80295ABC 002929FC 4B E6 E0 95 */ bl createBounceEffect__Q24Game9EnemyBaseFRC10Vector3$$0f$$1f -/* 80295AC0 00292A00 80 6D 96 A0 */ lwz r3, cameraMgr__4Game@sda21(r13) -/* 80295AC4 00292A04 38 A1 00 08 */ addi r5, r1, 8 -/* 80295AC8 00292A08 38 80 00 03 */ li r4, 3 -/* 80295ACC 00292A0C 38 C0 00 02 */ li r6, 2 -/* 80295AD0 00292A10 4B FB C7 6D */ bl startVibration__Q24Game9CameraMgrFiR10Vector3$$0f$$1i -/* 80295AD4 00292A14 80 6D 96 A8 */ lwz r3, rumbleMgr__4Game@sda21(r13) -/* 80295AD8 00292A18 38 A1 00 08 */ addi r5, r1, 8 -/* 80295ADC 00292A1C 38 80 00 08 */ li r4, 8 -/* 80295AE0 00292A20 38 C0 00 02 */ li r6, 2 -/* 80295AE4 00292A24 4B FB DC 9D */ bl startRumble__Q24Game9RumbleMgrFiR10Vector3$$0f$$1i -/* 80295AE8 00292A28 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80295AEC 00292A2C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80295AF0 00292A30 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80295AF4 00292A34 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80295AF8 00292A38 7C 08 03 A6 */ mtlr r0 -/* 80295AFC 00292A3C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80295B00 00292A40 4E 80 00 20 */ blr - -.global effectDrawOn__Q34Game9SnakeCrow3ObjFv -effectDrawOn__Q34Game9SnakeCrow3ObjFv: -/* 80295B04 00292A44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295B08 00292A48 7C 08 02 A6 */ mflr r0 -/* 80295B0C 00292A4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295B10 00292A50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295B14 00292A54 7C 7F 1B 78 */ mr r31, r3 -/* 80295B18 00292A58 80 63 03 1C */ lwz r3, 0x31c(r3) -/* 80295B1C 00292A5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80295B20 00292A60 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80295B24 00292A64 7D 89 03 A6 */ mtctr r12 -/* 80295B28 00292A68 4E 80 04 21 */ bctrl -/* 80295B2C 00292A6C 80 7F 03 20 */ lwz r3, 0x320(r31) -/* 80295B30 00292A70 81 83 00 00 */ lwz r12, 0(r3) -/* 80295B34 00292A74 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80295B38 00292A78 7D 89 03 A6 */ mtctr r12 -/* 80295B3C 00292A7C 4E 80 04 21 */ bctrl -/* 80295B40 00292A80 80 7F 03 24 */ lwz r3, 0x324(r31) -/* 80295B44 00292A84 81 83 00 00 */ lwz r12, 0(r3) -/* 80295B48 00292A88 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80295B4C 00292A8C 7D 89 03 A6 */ mtctr r12 -/* 80295B50 00292A90 4E 80 04 21 */ bctrl -/* 80295B54 00292A94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295B58 00292A98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295B5C 00292A9C 7C 08 03 A6 */ mtlr r0 -/* 80295B60 00292AA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295B64 00292AA4 4E 80 00 20 */ blr - -.global effectDrawOff__Q34Game9SnakeCrow3ObjFv -effectDrawOff__Q34Game9SnakeCrow3ObjFv: -/* 80295B68 00292AA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295B6C 00292AAC 7C 08 02 A6 */ mflr r0 -/* 80295B70 00292AB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295B74 00292AB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295B78 00292AB8 7C 7F 1B 78 */ mr r31, r3 -/* 80295B7C 00292ABC 80 63 03 1C */ lwz r3, 0x31c(r3) -/* 80295B80 00292AC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80295B84 00292AC4 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80295B88 00292AC8 7D 89 03 A6 */ mtctr r12 -/* 80295B8C 00292ACC 4E 80 04 21 */ bctrl -/* 80295B90 00292AD0 80 7F 03 20 */ lwz r3, 0x320(r31) -/* 80295B94 00292AD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80295B98 00292AD8 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80295B9C 00292ADC 7D 89 03 A6 */ mtctr r12 -/* 80295BA0 00292AE0 4E 80 04 21 */ bctrl -/* 80295BA4 00292AE4 80 7F 03 24 */ lwz r3, 0x324(r31) -/* 80295BA8 00292AE8 81 83 00 00 */ lwz r12, 0(r3) -/* 80295BAC 00292AEC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80295BB0 00292AF0 7D 89 03 A6 */ mtctr r12 -/* 80295BB4 00292AF4 4E 80 04 21 */ bctrl -/* 80295BB8 00292AF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295BBC 00292AFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295BC0 00292B00 7C 08 03 A6 */ mtlr r0 -/* 80295BC4 00292B04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295BC8 00292B08 4E 80 00 20 */ blr - -.global createEfxHamon__Q34Game9SnakeCrow3ObjFv -createEfxHamon__Q34Game9SnakeCrow3ObjFv: -/* 80295BCC 00292B0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295BD0 00292B10 7C 08 02 A6 */ mflr r0 -/* 80295BD4 00292B14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295BD8 00292B18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295BDC 00292B1C 7C 7F 1B 78 */ mr r31, r3 -/* 80295BE0 00292B20 81 83 00 00 */ lwz r12, 0(r3) -/* 80295BE4 00292B24 81 8C 00 D0 */ lwz r12, 0xd0(r12) -/* 80295BE8 00292B28 7D 89 03 A6 */ mtctr r12 -/* 80295BEC 00292B2C 4E 80 04 21 */ bctrl -/* 80295BF0 00292B30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80295BF4 00292B34 40 82 00 0C */ bne lbl_80295C00 -/* 80295BF8 00292B38 7F E3 FB 78 */ mr r3, r31 -/* 80295BFC 00292B3C 4B E6 BD 09 */ bl createEfxHamon__Q24Game9EnemyBaseFv -lbl_80295C00: -/* 80295C00 00292B40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295C04 00292B44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295C08 00292B48 7C 08 03 A6 */ mtlr r0 -/* 80295C0C 00292B4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295C10 00292B50 4E 80 00 20 */ blr - -.global isUnderground__Q34Game9SnakeCrow3ObjFv -isUnderground__Q34Game9SnakeCrow3ObjFv: -/* 80295C14 00292B54 88 63 02 C0 */ lbz r3, 0x2c0(r3) -/* 80295C18 00292B58 4E 80 00 20 */ blr - -.global __dt__Q23efx9THebiWaitFv -__dt__Q23efx9THebiWaitFv: -/* 80295C1C 00292B5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295C20 00292B60 7C 08 02 A6 */ mflr r0 -/* 80295C24 00292B64 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295C28 00292B68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295C2C 00292B6C 7C 9F 23 78 */ mr r31, r4 -/* 80295C30 00292B70 93 C1 00 08 */ stw r30, 8(r1) -/* 80295C34 00292B74 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80295C38 00292B78 41 82 00 64 */ beq lbl_80295C9C -/* 80295C3C 00292B7C 3C 60 80 4D */ lis r3, __vt__Q23efx9THebiWait@ha -/* 80295C40 00292B80 38 63 B6 20 */ addi r3, r3, __vt__Q23efx9THebiWait@l -/* 80295C44 00292B84 90 7E 00 00 */ stw r3, 0(r30) -/* 80295C48 00292B88 38 03 00 14 */ addi r0, r3, 0x14 -/* 80295C4C 00292B8C 90 1E 00 04 */ stw r0, 4(r30) -/* 80295C50 00292B90 41 82 00 3C */ beq lbl_80295C8C -/* 80295C54 00292B94 3C 60 80 4B */ lis r3, __vt__Q23efx8TForever@ha -/* 80295C58 00292B98 38 63 2C 24 */ addi r3, r3, __vt__Q23efx8TForever@l -/* 80295C5C 00292B9C 90 7E 00 00 */ stw r3, 0(r30) -/* 80295C60 00292BA0 38 03 00 14 */ addi r0, r3, 0x14 -/* 80295C64 00292BA4 90 1E 00 04 */ stw r0, 4(r30) -/* 80295C68 00292BA8 41 82 00 24 */ beq lbl_80295C8C -/* 80295C6C 00292BAC 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80295C70 00292BB0 38 7E 00 04 */ addi r3, r30, 4 -/* 80295C74 00292BB4 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80295C78 00292BB8 38 80 00 00 */ li r4, 0 -/* 80295C7C 00292BBC 90 BE 00 00 */ stw r5, 0(r30) -/* 80295C80 00292BC0 38 05 00 14 */ addi r0, r5, 0x14 -/* 80295C84 00292BC4 90 1E 00 04 */ stw r0, 4(r30) -/* 80295C88 00292BC8 4B DF A0 15 */ bl __dt__18JPAEmitterCallBackFv -lbl_80295C8C: -/* 80295C8C 00292BCC 7F E0 07 35 */ extsh. r0, r31 -/* 80295C90 00292BD0 40 81 00 0C */ ble lbl_80295C9C -/* 80295C94 00292BD4 7F C3 F3 78 */ mr r3, r30 -/* 80295C98 00292BD8 4B D8 E4 1D */ bl __dl__FPv -lbl_80295C9C: -/* 80295C9C 00292BDC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295CA0 00292BE0 7F C3 F3 78 */ mr r3, r30 -/* 80295CA4 00292BE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295CA8 00292BE8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80295CAC 00292BEC 7C 08 03 A6 */ mtlr r0 -/* 80295CB0 00292BF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295CB4 00292BF4 4E 80 00 20 */ blr - -.global __dt__Q23efx8THebiRotFv -__dt__Q23efx8THebiRotFv: -/* 80295CB8 00292BF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80295CBC 00292BFC 7C 08 02 A6 */ mflr r0 -/* 80295CC0 00292C00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80295CC4 00292C04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80295CC8 00292C08 7C 9F 23 78 */ mr r31, r4 -/* 80295CCC 00292C0C 93 C1 00 08 */ stw r30, 8(r1) -/* 80295CD0 00292C10 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80295CD4 00292C14 41 82 00 64 */ beq lbl_80295D38 -/* 80295CD8 00292C18 3C 60 80 4D */ lis r3, __vt__Q23efx8THebiRot@ha -/* 80295CDC 00292C1C 38 63 B6 6C */ addi r3, r3, __vt__Q23efx8THebiRot@l -/* 80295CE0 00292C20 90 7E 00 00 */ stw r3, 0(r30) -/* 80295CE4 00292C24 38 03 00 14 */ addi r0, r3, 0x14 -/* 80295CE8 00292C28 90 1E 00 04 */ stw r0, 4(r30) -/* 80295CEC 00292C2C 41 82 00 3C */ beq lbl_80295D28 -/* 80295CF0 00292C30 3C 60 80 4B */ lis r3, __vt__Q23efx8TForever@ha -/* 80295CF4 00292C34 38 63 2C 24 */ addi r3, r3, __vt__Q23efx8TForever@l -/* 80295CF8 00292C38 90 7E 00 00 */ stw r3, 0(r30) -/* 80295CFC 00292C3C 38 03 00 14 */ addi r0, r3, 0x14 -/* 80295D00 00292C40 90 1E 00 04 */ stw r0, 4(r30) -/* 80295D04 00292C44 41 82 00 24 */ beq lbl_80295D28 -/* 80295D08 00292C48 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha -/* 80295D0C 00292C4C 38 7E 00 04 */ addi r3, r30, 4 -/* 80295D10 00292C50 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l -/* 80295D14 00292C54 38 80 00 00 */ li r4, 0 -/* 80295D18 00292C58 90 BE 00 00 */ stw r5, 0(r30) -/* 80295D1C 00292C5C 38 05 00 14 */ addi r0, r5, 0x14 -/* 80295D20 00292C60 90 1E 00 04 */ stw r0, 4(r30) -/* 80295D24 00292C64 4B DF 9F 79 */ bl __dt__18JPAEmitterCallBackFv -lbl_80295D28: -/* 80295D28 00292C68 7F E0 07 35 */ extsh. r0, r31 -/* 80295D2C 00292C6C 40 81 00 0C */ ble lbl_80295D38 -/* 80295D30 00292C70 7F C3 F3 78 */ mr r3, r30 -/* 80295D34 00292C74 4B D8 E3 81 */ bl __dl__FPv -lbl_80295D38: -/* 80295D38 00292C78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80295D3C 00292C7C 7F C3 F3 78 */ mr r3, r30 -/* 80295D40 00292C80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80295D44 00292C84 83 C1 00 08 */ lwz r30, 8(r1) -/* 80295D48 00292C88 7C 08 03 A6 */ mtlr r0 -/* 80295D4C 00292C8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80295D50 00292C90 4E 80 00 20 */ blr - -.global inWaterCallback__Q34Game9SnakeCrow3ObjFPQ24Game8WaterBox -inWaterCallback__Q34Game9SnakeCrow3ObjFPQ24Game8WaterBox: -/* 80295D54 00292C94 4E 80 00 20 */ blr - -.global outWaterCallback__Q34Game9SnakeCrow3ObjFv -outWaterCallback__Q34Game9SnakeCrow3ObjFv: -/* 80295D58 00292C98 4E 80 00 20 */ blr - -.global getDamageCoeStoneState__Q34Game9SnakeCrow3ObjFv -getDamageCoeStoneState__Q34Game9SnakeCrow3ObjFv: -/* 80295D5C 00292C9C C0 22 D7 78 */ lfs f1, lbl_8051BAD8@sda21(r2) -/* 80295D60 00292CA0 4E 80 00 20 */ blr - -.global getMouthSlots__Q34Game9SnakeCrow3ObjFv -getMouthSlots__Q34Game9SnakeCrow3ObjFv: -/* 80295D64 00292CA4 38 63 02 CC */ addi r3, r3, 0x2cc -/* 80295D68 00292CA8 4E 80 00 20 */ blr - -.global throwupItemInDeathProcedure__Q34Game9SnakeCrow3ObjFv -throwupItemInDeathProcedure__Q34Game9SnakeCrow3ObjFv: -/* 80295D6C 00292CAC 4E 80 00 20 */ blr - -.global getEnemyTypeID__Q34Game9SnakeCrow3ObjFv -getEnemyTypeID__Q34Game9SnakeCrow3ObjFv: -/* 80295D70 00292CB0 38 60 00 22 */ li r3, 0x22 -/* 80295D74 00292CB4 4E 80 00 20 */ blr - -.global __sinit_SnakeCrow_cpp -__sinit_SnakeCrow_cpp: -/* 80295D78 00292CB8 3C 80 80 51 */ lis r4, __float_nan@ha -/* 80295D7C 00292CBC 38 00 FF FF */ li r0, -1 -/* 80295D80 00292CC0 C0 04 48 B0 */ lfs f0, __float_nan@l(r4) -/* 80295D84 00292CC4 3C 60 80 4D */ lis r3, lbl_804CB570@ha -/* 80295D88 00292CC8 90 0D 96 E0 */ stw r0, lbl_80515D60@sda21(r13) -/* 80295D8C 00292CCC D4 03 B5 70 */ stfsu f0, lbl_804CB570@l(r3) -/* 80295D90 00292CD0 D0 0D 96 E4 */ stfs f0, lbl_80515D64@sda21(r13) -/* 80295D94 00292CD4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80295D98 00292CD8 D0 03 00 08 */ stfs f0, 8(r3) -/* 80295D9C 00292CDC 4E 80 00 20 */ blr - -.global $$2808$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv -$$2808$$212$$2viewOnPelletKilled__Q24Game9EnemyBaseFv: -/* 80295DA0 00292CE0 39 60 00 0C */ li r11, 0xc -/* 80295DA4 00292CE4 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80295DA8 00292CE8 7C 63 5A 14 */ add r3, r3, r11 -/* 80295DAC 00292CEC 38 63 FC D8 */ addi r3, r3, -808 -/* 80295DB0 00292CF0 4B E7 0B 6C */ b viewOnPelletKilled__Q24Game9EnemyBaseFv - -.global $$2808$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv -$$2808$$212$$2viewStartCarryMotion__Q24Game9EnemyBaseFv: -/* 80295DB4 00292CF4 39 60 00 0C */ li r11, 0xc -/* 80295DB8 00292CF8 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80295DBC 00292CFC 7C 63 5A 14 */ add r3, r3, r11 -/* 80295DC0 00292D00 38 63 FC D8 */ addi r3, r3, -808 -/* 80295DC4 00292D04 4B E7 08 E4 */ b viewStartCarryMotion__Q24Game9EnemyBaseFv - -.global $$2808$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv -$$2808$$212$$2viewStartPreCarryMotion__Q24Game9EnemyBaseFv: -/* 80295DC8 00292D08 39 60 00 0C */ li r11, 0xc -/* 80295DCC 00292D0C 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80295DD0 00292D10 7C 63 5A 14 */ add r3, r3, r11 -/* 80295DD4 00292D14 38 63 FC D8 */ addi r3, r3, -808 -/* 80295DD8 00292D18 4B E7 08 F0 */ b viewStartPreCarryMotion__Q24Game9EnemyBaseFv - -.global $$2808$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv -$$2808$$212$$2view_finish_carrymotion__Q24Game9EnemyBaseFv: -/* 80295DDC 00292D1C 39 60 00 0C */ li r11, 0xc -/* 80295DE0 00292D20 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80295DE4 00292D24 7C 63 5A 14 */ add r3, r3, r11 -/* 80295DE8 00292D28 38 63 FC D8 */ addi r3, r3, -808 -/* 80295DEC 00292D2C 4B E7 0C 8C */ b view_finish_carrymotion__Q24Game9EnemyBaseFv - -.global $$2808$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv -$$2808$$212$$2view_start_carrymotion__Q24Game9EnemyBaseFv: -/* 80295DF0 00292D30 39 60 00 0C */ li r11, 0xc -/* 80295DF4 00292D34 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80295DF8 00292D38 7C 63 5A 14 */ add r3, r3, r11 -/* 80295DFC 00292D3C 38 63 FC D8 */ addi r3, r3, -808 -/* 80295E00 00292D40 4B E7 0C 4C */ b view_start_carrymotion__Q24Game9EnemyBaseFv - -.global $$2808$$212$$2viewGetShape__Q24Game9EnemyBaseFv -$$2808$$212$$2viewGetShape__Q24Game9EnemyBaseFv: -/* 80295E04 00292D44 39 60 00 0C */ li r11, 0xc -/* 80295E08 00292D48 7D 63 58 2E */ lwzx r11, r3, r11 -/* 80295E0C 00292D4C 7C 63 5A 14 */ add r3, r3, r11 -/* 80295E10 00292D50 38 63 FC D8 */ addi r3, r3, -808 -/* 80295E14 00292D54 4B E7 08 8C */ b viewGetShape__Q24Game9EnemyBaseFv - -.global $$24$$2__dt__Q23efx8THebiRotFv -$$24$$2__dt__Q23efx8THebiRotFv: -/* 80295E18 00292D58 38 63 FF FC */ addi r3, r3, -4 -/* 80295E1C 00292D5C 4B FF FE 9C */ b __dt__Q23efx8THebiRotFv - -.global $$24$$2__dt__Q23efx9THebiWaitFv -$$24$$2__dt__Q23efx9THebiWaitFv: -/* 80295E20 00292D60 38 63 FF FC */ addi r3, r3, -4 -/* 80295E24 00292D64 4B FF FD F8 */ b __dt__Q23efx9THebiWaitFv - -.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 lbl_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) -lbl_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 lbl_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) -lbl_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 lbl_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) -lbl_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 lbl_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) -lbl_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 lbl_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) -lbl_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 lbl_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) -lbl_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 lbl_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) -lbl_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 lbl_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) -lbl_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 lbl_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) -lbl_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 lbl_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 lbl_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 lbl_80296224 -lbl_802961E8: -/* 802961E8 00293128 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802961EC 0029312C 40 82 00 38 */ bne lbl_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 lbl_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) -lbl_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 -lbl_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 lbl_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 lbl_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$$0Q24Game4Piki$$1 -/* 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$$0Q24Game4Piki$$1 -/* 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$$0Q24Game4Navi$$1 -/* 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 lbl_802967F4 -lbl_80296380: -/* 80296380 002932C0 28 00 00 03 */ cmplwi r0, 3 -/* 80296384 002932C4 40 82 00 14 */ bne lbl_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 lbl_802967F4 -lbl_80296398: -/* 80296398 002932D8 28 00 00 04 */ cmplwi r0, 4 -/* 8029639C 002932DC 40 82 00 14 */ bne lbl_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 lbl_802967F4 -lbl_802963B0: -/* 802963B0 002932F0 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 802963B4 002932F4 40 82 04 40 */ bne lbl_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 lbl_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 lbl_802967F4 -lbl_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 lbl_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 lbl_802967F4 -lbl_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 lbl_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$$01024$$4f$$1CFff -/* 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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80296684 -/* 80296680 002935C0 3B A0 00 01 */ li r29, 1 -lbl_80296684: -/* 80296684 002935C4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80296688 002935C8 41 82 00 28 */ beq lbl_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 lbl_802967F4 -lbl_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 lbl_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 lbl_802967F4 -lbl_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 lbl_802967F4 -lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_802967F4 -lbl_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 -lbl_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 lbl_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 lbl_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 lbl_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 lbl_80296CB4 -lbl_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 lbl_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 lbl_80296CB4 -lbl_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 lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80296B3C -/* 80296B38 00293A78 3B E0 00 01 */ li r31, 1 -lbl_80296B3C: -/* 80296B3C 00293A7C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80296B40 00293A80 41 82 00 28 */ beq lbl_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 lbl_80296CB4 -lbl_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 lbl_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 lbl_80296CB4 -lbl_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 lbl_80296CB4 -lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80296CB4 -lbl_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 -lbl_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 lbl_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 lbl_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 lbl_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$$0Q24Game4Navi$$1 -/* 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$$0Q24Game4Piki$$1 -/* 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$$0Q24Game4Piki$$1 -/* 80296E48 00293D88 2C 1D 00 00 */ cmpwi r29, 0 -/* 80296E4C 00293D8C 40 82 04 14 */ bne lbl_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 lbl_80297260 -lbl_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 lbl_80297260 -lbl_80296E7C: -/* 80296E7C 00293DBC 28 00 00 03 */ cmplwi r0, 3 -/* 80296E80 00293DC0 40 82 00 3C */ bne lbl_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$$0Q24Game4Piki$$1 -/* 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 lbl_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 lbl_80297260 -lbl_80296EBC: -/* 80296EBC 00293DFC 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 80296EC0 00293E00 40 82 03 A0 */ bne lbl_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 lbl_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 lbl_80297260 -lbl_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 lbl_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 lbl_80297260 -lbl_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 lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_802970E8 -/* 802970E4 00294024 3B C0 00 01 */ li r30, 1 -lbl_802970E8: -/* 802970E8 00294028 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 802970EC 0029402C 41 82 00 28 */ beq lbl_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 lbl_80297260 -lbl_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 lbl_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 lbl_80297260 -lbl_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 lbl_80297260 -lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80297260 -lbl_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 -lbl_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 lbl_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 lbl_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$$0Q24Game4Piki$$1 -/* 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$$0Q24Game4Piki$$1 -/* 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$$0Q24Game4Navi$$1 -/* 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 lbl_802977D4 -lbl_80297468: -/* 80297468 002943A8 28 00 03 E8 */ cmplwi r0, 0x3e8 -/* 8029746C 002943AC 40 82 03 68 */ bne lbl_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 lbl_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 lbl_802977D4 -lbl_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 lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_8029765C -/* 80297658 00294598 3B E0 00 01 */ li r31, 1 -lbl_8029765C: -/* 8029765C 0029459C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80297660 002945A0 41 82 00 28 */ beq lbl_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 lbl_802977D4 -lbl_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 lbl_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 lbl_802977D4 -lbl_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 lbl_802977D4 -lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_802977D4 -lbl_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 -lbl_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 lbl_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 lbl_80297E94 -lbl_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 lbl_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 lbl_80297E94 -lbl_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 lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80297A60 -/* 80297A58 00294998 FF 00 08 90 */ fmr f24, f1 -/* 80297A5C 0029499C 48 00 00 08 */ b lbl_80297A64 -lbl_80297A60: -/* 80297A60 002949A0 FF 00 08 50 */ fneg f24, f1 -lbl_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 lbl_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 lbl_80297B90 -/* 80297B8C 00294ACC 3B A0 00 01 */ li r29, 1 -lbl_80297B90: -/* 80297B90 00294AD0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80297B94 00294AD4 41 82 00 24 */ beq lbl_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 lbl_80297E94 -lbl_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 lbl_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 lbl_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 lbl_80297CC8 -/* 80297CC4 00294C04 7C 60 1B 78 */ mr r0, r3 -lbl_80297CC8: -/* 80297CC8 00294C08 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80297CCC 00294C0C 41 82 00 08 */ beq lbl_80297CD4 -/* 80297CD0 00294C10 38 80 00 01 */ li r4, 1 -lbl_80297CD4: -/* 80297CD4 00294C14 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80297CD8 00294C18 40 82 00 34 */ bne lbl_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 lbl_80297D0C -/* 80297D08 00294C48 38 60 00 00 */ li r3, 0 -lbl_80297D0C: -/* 80297D0C 00294C4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80297D10 00294C50 41 82 00 18 */ beq lbl_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 lbl_80297E94 -lbl_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 lbl_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 lbl_80297E94 -lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80297E2C -/* 80297E24 00294D64 FF 00 08 90 */ fmr f24, f1 -/* 80297E28 00294D68 48 00 00 08 */ b lbl_80297E30 -lbl_80297E2C: -/* 80297E2C 00294D6C FF 00 08 50 */ fneg f24, f1 -lbl_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 lbl_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 lbl_80297E94 -lbl_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 -lbl_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 lbl_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 lbl_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 -lbl_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 lbl_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 lbl_80298404 -lbl_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 lbl_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 lbl_80298404 -lbl_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 lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80298148 -/* 80298140 00295080 FF 80 08 90 */ fmr f28, f1 -/* 80298144 00295084 48 00 00 08 */ b lbl_8029814C -lbl_80298148: -/* 80298148 00295088 FF 80 08 50 */ fneg f28, f1 -lbl_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 lbl_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 lbl_80298278 -/* 80298274 002951B4 3B A0 00 01 */ li r29, 1 -lbl_80298278: -/* 80298278 002951B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8029827C 002951BC 41 82 00 24 */ beq lbl_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 lbl_80298404 -lbl_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 lbl_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 lbl_80298404 -lbl_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 lbl_80298404 -lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_802983B0 -/* 802983A8 002952E8 FF 40 08 90 */ fmr f26, f1 -/* 802983AC 002952EC 48 00 00 08 */ b lbl_802983B4 -lbl_802983B0: -/* 802983B0 002952F0 FF 40 08 50 */ fneg f26, f1 -lbl_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 lbl_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 -lbl_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 lbl_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 lbl_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 -lbl_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 lbl_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) -lbl_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 lbl_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 lbl_80298AE8 -lbl_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 lbl_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 lbl_80298AE8 -lbl_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 lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_802986C0 -/* 802986B8 002955F8 FF 00 08 90 */ fmr f24, f1 -/* 802986BC 002955FC 48 00 00 08 */ b lbl_802986C4 -lbl_802986C0: -/* 802986C0 00295600 FF 00 08 50 */ fneg f24, f1 -lbl_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 lbl_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 lbl_802987F0 -/* 802987EC 0029572C 3B A0 00 01 */ li r29, 1 -lbl_802987F0: -/* 802987F0 00295730 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 802987F4 00295734 41 82 00 24 */ beq lbl_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 lbl_80298AE8 -lbl_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 lbl_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 lbl_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 lbl_80298928 -/* 80298924 00295864 7C 60 1B 78 */ mr r0, r3 -lbl_80298928: -/* 80298928 00295868 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8029892C 0029586C 41 82 00 08 */ beq lbl_80298934 -/* 80298930 00295870 38 80 00 01 */ li r4, 1 -lbl_80298934: -/* 80298934 00295874 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80298938 00295878 40 82 00 34 */ bne lbl_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 lbl_8029896C -/* 80298968 002958A8 38 60 00 00 */ li r3, 0 -lbl_8029896C: -/* 8029896C 002958AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80298970 002958B0 41 82 00 18 */ beq lbl_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 lbl_80298AE8 -lbl_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 lbl_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 lbl_80298AE8 -lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80298A80 -/* 80298A78 002959B8 FF 00 08 90 */ fmr f24, f1 -/* 80298A7C 002959BC 48 00 00 08 */ b lbl_80298A84 -lbl_80298A80: -/* 80298A80 002959C0 FF 00 08 50 */ fneg f24, f1 -lbl_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 lbl_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 lbl_80298AE8 -lbl_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 -lbl_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 lbl_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 lbl_80298B78 -lbl_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) -lbl_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 lbl_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 lbl_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 -lbl_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 lbl_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) -lbl_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 lbl_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 lbl_802990E4 -lbl_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 lbl_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 lbl_802990E4 -lbl_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 lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80298E34 -/* 80298E2C 00295D6C FF 80 08 90 */ fmr f28, f1 -/* 80298E30 00295D70 48 00 00 08 */ b lbl_80298E38 -lbl_80298E34: -/* 80298E34 00295D74 FF 80 08 50 */ fneg f28, f1 -lbl_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 lbl_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 lbl_80298F64 -/* 80298F60 00295EA0 3B A0 00 01 */ li r29, 1 -lbl_80298F64: -/* 80298F64 00295EA4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80298F68 00295EA8 41 82 00 24 */ beq lbl_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 lbl_802990E4 -lbl_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 lbl_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 lbl_802990E4 -lbl_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 lbl_802990E4 -lbl_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$$01024$$4f$$1CFff -/* 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 lbl_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 lbl_80299090 -/* 80299088 00295FC8 FF 40 08 90 */ fmr f26, f1 -/* 8029908C 00295FCC 48 00 00 08 */ b lbl_80299094 -lbl_80299090: -/* 80299090 00295FD0 FF 40 08 50 */ fneg f26, f1 -lbl_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 lbl_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 -lbl_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 lbl_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 lbl_80299174 -lbl_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) -lbl_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 lbl_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 lbl_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 -lbl_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 - .global setAnimMgr__Q34Game10KumaChappy14ProperAnimatorFPQ28SysShape7AnimMgr setAnimMgr__Q34Game10KumaChappy14ProperAnimatorFPQ28SysShape7AnimMgr: /* 80299240 00296180 90 83 00 20 */ stw r4, 0x20(r3) diff --git a/obj_files.mk b/obj_files.mk index a9a75b45e..05681dd36 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -1,463 +1,583 @@ # Linker order for every file, passed to the Metrowerks linker. -INIT_O_FILES := \ - $(BUILD_DIR)/asm/init.o \ +INIT_O_FILES:=\ + $(BUILD_DIR)/asm/init.o\ -EXTAB_O_FILES := \ - $(BUILD_DIR)/asm/extab.o \ +EXTAB_O_FILES:=\ + $(BUILD_DIR)/asm/extab.o\ -EXTABINDEX_O_FILES := \ - $(BUILD_DIR)/asm/exidx.o \ +EXTABINDEX_O_FILES:=\ + $(BUILD_DIR)/asm/exidx.o\ -TEXT_O_FILES := \ - $(BUILD_DIR)/asm/text.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyBase.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/pelplant.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/pelplantState.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyInteractBattle.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/generalEnemyMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/kochappyAnimator.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/kochappy.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/kochappyState.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/kochappyMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyAction.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/chappy.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/chappyState.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/chappyAnimator.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/chappyMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/lifeGaugeMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/carryInfoMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/gameLightMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/vtxAnm.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyInfo.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/farm.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/farmMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/genEnemy.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/timeMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/pelplantGenerator.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyInteractActions.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyAnimatorBase.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyStoneMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyStoenInfo.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyStoneDrawInfo.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyStoneObj.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyParmsBase.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/walkSmokeEffect.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/ChappyBaseMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/ChappyBase.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/BlueChappyMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/BlueChappy.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/YellowChappyMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/YellowChappy.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/BlueKochappyMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/BlueKochappy.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/YellowKochappy.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/YellowKochappyMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/KochappyBaseMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/KochappyBase.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyBlendAnimatorBase.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyPelletInfo.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyEffectNode.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyMgrBase.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyFSM.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/singleGS_ZukanParms.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/treasureLightMgr.o \ - $(BUILD_DIR)/asm/plugProjectYamashitaU/effectAnimator.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pikiAnimator.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/collinfo.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameDynamics.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/creature.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/fakePiki.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/navi.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/piki.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/baseGameSection.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGameSection.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/cellPyramid.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/naviMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pikiMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/mapMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/baseHIOSection.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/naviWhistle.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/routeMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/onyonMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/objectTypes.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/naviState.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pikiState.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/interactPiki.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameCPlate.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/updateMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiAction.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiPrimitives.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiFormation.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/creatureStick.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/interactBattle.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiFree.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiAttack.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiTransport.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiEnter.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pathfinder.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletState.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/dynCreature.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameGenerator.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/genPiki.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/genNavi.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/genItem.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameStages.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameSeaMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pikiAI.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletConfig.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameFootmark.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameSystem.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiConstants.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameMapParts.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsGameSection.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gamePlatMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemGate.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiBreakGate.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameStat.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemHole.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemHoney.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameCaveInfo.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/creatureLOD.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/interactNavi.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemPikihead.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemPlant.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemRock.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiBreakRock.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiCrop.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/registItem.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gamePlayData.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemCave.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemBigFountain.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemBridge.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pikiContainer.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameGeneratorCache.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemTreasure.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemDownFloor.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/kandoLib.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemBarrel.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletNumber.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletCarcass.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletFruit.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletOtakara.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/genPellet.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletItem.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/mapMgrTraceMove.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/efxModelObjects.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemUjamushi.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiWeed.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/flockMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/itemWeed.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiBridge.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiTeki.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_MainGame.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_CaveGame.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_MainResult.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_CaveResult.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_WorldMap.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_FileSelect.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gamePlayDataMemCard.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/radarInfo.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_Movie.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/navi_demoCheck.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_Zukan.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameResultTexMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gamePelletList.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_Title.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_Game.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_Result.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_Load.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsStageData.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/cellMgrParms.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/cellIterator.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_VSGame.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameSoundEvent.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiBattle.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameDeathCount.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiBore.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/mapPartsView.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_Ending.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameIconTexture.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameTekiStat.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameHighscore.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gamePlayCommonData.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletCarry.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/gameChallenge2D.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsTekiMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsCardMgr.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/aiRescue.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/baseGameSectionDraw.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_Load.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_DayEnd.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/baseGameSectionKantei.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/sweepPrune.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/texCaster.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/pelletBirthBuffer.o \ - $(BUILD_DIR)/asm/plugProjectKandoU/vsFifo.o \ - $(BUILD_DIR)/asm/plugProjectNishimuraU/nslibmath.o \ - $(BUILD_DIR)/asm/text_1.o \ - $(BUILD_DIR)/asm/plugProjectOgawaU/ogObjSMenuCont.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSSeq.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSGame.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSSystemIF.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSAutoBgm.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSBnkMgr.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSTaskBase.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSBgmTask.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSCreatureMgr.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSAutoBgm_MeloArranger.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSSe.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSSeBase.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSScene.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSBgmTrack.o \ - $(BUILD_DIR)/asm/plugProjectHikinoU/PSDirector.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/dayEndCount.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/hurryUp2D.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/gameOver2D.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/testBase.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/bombState.o \ +TEXT_O_FILES:=\ + $(BUILD_DIR)/asm/text.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyBase.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/pelplant.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/pelplantState.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyInteractBattle.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/generalEnemyMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/kochappyAnimator.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/kochappy.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/kochappyState.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/kochappyMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyAction.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/chappy.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/chappyState.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/chappyAnimator.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/chappyMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/lifeGaugeMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/carryInfoMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/gameLightMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/vtxAnm.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyInfo.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/farm.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/farmMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/genEnemy.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/timeMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/pelplantGenerator.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyInteractActions.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyAnimatorBase.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyStoneMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyStoenInfo.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyStoneDrawInfo.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyStoneObj.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyParmsBase.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/walkSmokeEffect.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/ChappyBaseMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/ChappyBase.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/BlueChappyMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/BlueChappy.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/YellowChappyMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/YellowChappy.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/BlueKochappyMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/BlueKochappy.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/YellowKochappy.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/YellowKochappyMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/KochappyBaseMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/KochappyBase.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyBlendAnimatorBase.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyPelletInfo.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyEffectNode.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyMgrBase.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/enemyFSM.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/singleGS_ZukanParms.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/treasureLightMgr.o\ + $(BUILD_DIR)/asm/plugProjectYamashitaU/effectAnimator.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pikiAnimator.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/collinfo.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameDynamics.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/creature.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/fakePiki.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/navi.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/piki.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/baseGameSection.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGameSection.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/cellPyramid.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/naviMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pikiMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/mapMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/baseHIOSection.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/naviWhistle.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/routeMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/onyonMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/objectTypes.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/naviState.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pikiState.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/interactPiki.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameCPlate.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/updateMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiAction.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiPrimitives.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiFormation.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/creatureStick.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/interactBattle.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiFree.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiAttack.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiTransport.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiEnter.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pathfinder.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletState.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/dynCreature.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameGenerator.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/genPiki.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/genNavi.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/genItem.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameStages.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameSeaMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pikiAI.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletConfig.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameFootmark.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameSystem.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiConstants.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameMapParts.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsGameSection.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gamePlatMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemGate.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiBreakGate.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameStat.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemHole.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemHoney.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameCaveInfo.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/creatureLOD.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/interactNavi.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemPikihead.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemPlant.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemRock.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiBreakRock.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiCrop.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/registItem.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gamePlayData.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemCave.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemBigFountain.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemBridge.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pikiContainer.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameGeneratorCache.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemTreasure.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemDownFloor.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/kandoLib.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemBarrel.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletNumber.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletCarcass.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletFruit.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletOtakara.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/genPellet.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletItem.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/mapMgrTraceMove.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/efxModelObjects.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemUjamushi.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiWeed.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/flockMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/itemWeed.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiBridge.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiTeki.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_MainGame.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_CaveGame.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_MainResult.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_CaveResult.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_WorldMap.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_FileSelect.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gamePlayDataMemCard.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/radarInfo.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_Movie.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/navi_demoCheck.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_Zukan.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameResultTexMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gamePelletList.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_Title.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_Game.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_Result.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_Load.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsStageData.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/cellMgrParms.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/cellIterator.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsGS_VSGame.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameSoundEvent.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiBattle.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameDeathCount.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiBore.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/mapPartsView.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_Ending.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameIconTexture.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameTekiStat.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameHighscore.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gamePlayCommonData.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletCarry.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/gameChallenge2D.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsTekiMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsCardMgr.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/aiRescue.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/baseGameSectionDraw.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_Load.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/singleGS_DayEnd.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/baseGameSectionKantei.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/sweepPrune.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/texCaster.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/pelletBirthBuffer.o\ + $(BUILD_DIR)/asm/plugProjectKandoU/vsFifo.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/nslibmath.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ShadowCylinder.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/playCamera.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/shadowMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MapUnit.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MapNode.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/EnemyUnit.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RandMapMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RandMapDraw.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RandMapChecker.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RandMapUnit.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RandEnemyUnit.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/DoorNode.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MapUnitGenerator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MapCreator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RandMapScore.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ItemUnit.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RandItemUnit.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/GateUnit.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RandGateUnit.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ObjectLayout.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/CameraMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ContRumble.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RumbleMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/PomAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/PomMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Pom.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/PomState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/FrogState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/FrogAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/FrogMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Frog.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/UjibMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Ujib.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/UjibState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/UjibAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/KoganeState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/KoganeMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Kogane.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/KoganeAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/QurioneState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/QurioneMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Qurione.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/QurioneAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RumbleData.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MaroFrogMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MaroFrog.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RockState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RockAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/RockMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Rock.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/UjiaState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/UjiaAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/UjiaMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Ujia.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TobiState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TobiAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TobiMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Tobi.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/HibaState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/HibaAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/HibaMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Hiba.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/GasHibaState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/GasHibaAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/GasHibaMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/GasHiba.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ElecHibaState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ElecHibaAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ElecHibaMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ElecHiba.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/SaraiState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/SaraiAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/SaraiMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Sarai.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TankState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TankAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TankMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Tank.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/CatfishMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Catfish.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TadpoleState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TadpoleAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/TadpoleMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Tadpole.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ElecBugState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ElecBugAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ElecBugMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ElecBug.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/WtankMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Wtank.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ArmorMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Armor.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Mar.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MarAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MarMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/MarState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/WealthyMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Wealthy.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/FartMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Fart.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ArmorState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/ArmorAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/QueenState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/QueenAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/QueenMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Queen.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/BabyState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/BabyAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/BabyMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Baby.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/DemonMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/Demon.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/QueenShadow.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/FireChappyMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/FireChappy.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/SnakeCrowState.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/SnakeCrowAnimator.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/SnakeCrowMgr.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/SnakeCrow.o\ + $(BUILD_DIR)/asm/plugProjectNishimuraU/KumaChappyState.o\ + $(BUILD_DIR)/asm/text_1.o\ + $(BUILD_DIR)/asm/plugProjectOgawaU/ogObjSMenuCont.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSSeq.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSGame.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSSystemIF.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSAutoBgm.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSBnkMgr.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSTaskBase.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSBgmTask.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSCreatureMgr.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSAutoBgm_MeloArranger.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSSe.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSSeBase.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSScene.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSBgmTrack.o\ + $(BUILD_DIR)/asm/plugProjectHikinoU/PSDirector.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/dayEndCount.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/hurryUp2D.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/gameOver2D.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/testBase.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/bombState.o\ $(BUILD_DIR)/asm/plugProjectMorimuraU/bombAnimator.o\ - $(BUILD_DIR)/asm/plugProjectMorimuraU/bombMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/bomb.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/eggState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/eggAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/eggMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/egg.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/panModokiState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/panModokiAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/panModokiMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/panModoki.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/plantsMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/plantsAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/plants.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/kingChappyState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/kingChappyMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/kingChappy.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/miulinState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/miulinAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/miulinMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/miulin.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/jigumoState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/jigumoAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/jigumoMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/jigumo.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/enemyNestMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/enemyNest.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/tamagoMushiState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/tamagoMushiAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/tamagoMushiMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/tamagoMushi.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/zukan2D.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/hiScore2D.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/umiMushiState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/umiMushiAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/umiMushiMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/umiMushi.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/shijimiChouState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/shijimiChouAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/shijimiChouMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/shijimiChou.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/challengeSelect2D.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/challengeResult2D.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/vsSelect2D.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/mrUtil.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/scrollList.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/mrWindow.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/blackManState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/blackManAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/blackManMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/blackMan.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/tyreState.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/tyreAnimator.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/tyreMgr.o \ - $(BUILD_DIR)/asm/plugProjectMorimuraU/tyre.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efxBase.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efxEnemy.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efxObject.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efxPikmin.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/particle2dMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efx2dBase.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efx2dEffect.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/particleMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2Title.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleUnit.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiUtility.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleCamera.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleLight.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenMemoryCard.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efxTPkEffectMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efxEnemyGeneral.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebi3DGraph.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiGeometry.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebi2DGraph.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenOption.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenProgre.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiOptionMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebi2DCallBack.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiCardMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenFramework.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenPushStart.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenFileSelect.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenTitleMenu.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiSaveMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenSaveMenu.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenFileSelect_Mgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiFileSelectMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiCardMgr_Load.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleCoordMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitlePikmin.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleKogane.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleChappy.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenTMBack.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiMainTitleMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleFog.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/efxEnemyBoss.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiCardEReader.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenOmake.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiOmakeMgr.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenOmakeCardE.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenOmakeGame.o \ - $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenInfoWindow.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khWorldMap.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khCaveResult.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khSceneLoader.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/newGame2DMgr.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/newScreenMgr.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khReadyGo.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khFinalFloor.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khDayEndResult.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khUtil.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khFinalResult.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khPayDept.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khWinLose.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khWinLoseReason.o \ - $(BUILD_DIR)/asm/plugProjectKonoU/khMailSaveData.o \ - $(BUILD_DIR)/asm/sysBootupU/sysBootup.o \ - $(BUILD_DIR)/asm/sysCommonU/node.o \ - $(BUILD_DIR)/asm/sysCommonU/sysMath.o \ - $(BUILD_DIR)/asm/sysCommonU/id32.o \ - $(BUILD_DIR)/asm/sysCommonU/parameters.o \ - $(BUILD_DIR)/asm/sysCommonU/stream.o \ - $(BUILD_DIR)/asm/sysCommonU/geometry.o \ - $(BUILD_DIR)/asm/sysCommonU/mapCollision.o \ - $(BUILD_DIR)/asm/sysCommonU/camera.o \ - $(BUILD_DIR)/asm/sysCommonU/tagparams.o \ - $(BUILD_DIR)/asm/sysCommonU/sysTemplates.o \ - $(BUILD_DIR)/asm/sysCommonU/mapCode.o \ - $(BUILD_DIR)/asm/sysCommonU/geomIntersection.o \ - $(BUILD_DIR)/asm/sysCommonU/geomOBBTree.o \ - $(BUILD_DIR)/asm/sysCommonU/geomTraceMove.o \ - $(BUILD_DIR)/asm/sysCommonU/geomCylinder.o \ - $(BUILD_DIR)/asm/sysCommonU/geomClone.o \ - $(BUILD_DIR)/asm/sysGCU/system.o \ - $(BUILD_DIR)/asm/sysGCU/section.o \ - $(BUILD_DIR)/asm/sysGCU/gameflow.o \ - $(BUILD_DIR)/asm/sysGCU/menuSection.o \ - $(BUILD_DIR)/asm/sysGCU/dvdThread.o \ - $(BUILD_DIR)/asm/sysGCU/appThread.o \ - $(BUILD_DIR)/asm/sysGCU/controller.o \ - $(BUILD_DIR)/asm/sysGCU/graphics.o \ - $(BUILD_DIR)/asm/sysGCU/matMath.o \ - $(BUILD_DIR)/asm/sysGCU/sysShape.o \ - $(BUILD_DIR)/asm/sysGCU/reset.o \ - $(BUILD_DIR)/asm/sysGCU/dvdStatus.o \ - $(BUILD_DIR)/asm/sysGCU/sysTimers.o \ - $(BUILD_DIR)/asm/sysGCU/modelMgr.o \ - $(BUILD_DIR)/asm/sysGCU/heapStatus.o \ - $(BUILD_DIR)/asm/sysGCU/light.o \ - $(BUILD_DIR)/asm/sysGCU/wipe.o \ - $(BUILD_DIR)/asm/sysGCU/moviePlayer.o \ - $(BUILD_DIR)/asm/sysGCU/JSTObjectActor.o \ - $(BUILD_DIR)/asm/sysGCU/JSTObjectCamera.o \ - $(BUILD_DIR)/asm/sysGCU/JSTObjectGameActor.o \ - $(BUILD_DIR)/asm/sysGCU/JSTObjectSystem.o \ - $(BUILD_DIR)/asm/sysGCU/JSTFindCreature.o \ - $(BUILD_DIR)/asm/sysGCU/movieConfig.o \ - $(BUILD_DIR)/asm/sysGCU/gameConfig.o \ - $(BUILD_DIR)/asm/sysGCU/fogMgr.o \ - $(BUILD_DIR)/asm/sysGCU/aramMgr.o \ - $(BUILD_DIR)/asm/sysGCU/resourceMgr.o \ - $(BUILD_DIR)/asm/sysGCU/resourceMgr2D.o \ - $(BUILD_DIR)/asm/sysGCU/sysMaterialAnim.o \ - $(BUILD_DIR)/asm/sysGCU/P2DScreen.o \ - $(BUILD_DIR)/asm/sysGCU/movieMessage.o \ - $(BUILD_DIR)/asm/sysGCU/moviePlayerPauseAndDraw.o \ - $(BUILD_DIR)/asm/sysGCU/JSTObjectSpecialActor.o \ - $(BUILD_DIR)/asm/sysGCU/messageSequence.o \ - $(BUILD_DIR)/asm/sysGCU/messageMgr.o \ - $(BUILD_DIR)/asm/sysGCU/messageObj.o \ - $(BUILD_DIR)/asm/sysGCU/messageRendering.o \ - $(BUILD_DIR)/asm/sysGCU/message.o \ - $(BUILD_DIR)/asm/sysGCU/modelEffect.o \ - $(BUILD_DIR)/asm/sysGCU/messageReference.o \ - $(BUILD_DIR)/asm/sysGCU/simpleMessage.o \ - $(BUILD_DIR)/asm/sysGCU/sysShapeAnimation.o \ - $(BUILD_DIR)/asm/sysGCU/sysShapeModel.o \ - $(BUILD_DIR)/asm/sysGCU/windowMessage.o \ - $(BUILD_DIR)/asm/sysGCU/memoryCard.o \ - $(BUILD_DIR)/asm/sysGCU/pikmin2MemoryCardMgr.o \ - $(BUILD_DIR)/asm/sysGCU/commonSaveData.o \ - $(BUILD_DIR)/asm/sysGCU/bootSection.o \ - $(BUILD_DIR)/asm/sysGCU/titleSection.o \ - $(BUILD_DIR)/asm/sysGCU/loadResource.o \ - $(BUILD_DIR)/asm/sysGCU/rootMenuSection.o \ - $(BUILD_DIR)/asm/sysGCU/demoSection.o \ - $(BUILD_DIR)/asm/sysGCU/THPAudioDecode.o \ - $(BUILD_DIR)/asm/sysGCU/THPDraw.o \ - $(BUILD_DIR)/asm/sysGCU/THPPlayer.o \ - $(BUILD_DIR)/asm/sysGCU/THPRead.o \ - $(BUILD_DIR)/asm/sysGCU/THPVideoDecode.o \ - $(BUILD_DIR)/asm/sysGCU/pikmin2THPPlayer.o \ - $(BUILD_DIR)/asm/sysGCU/captionMgr.o \ - $(BUILD_DIR)/asm/sysGCU/captionMessage.o \ - $(BUILD_DIR)/asm/sysGCU/screenScene.o \ - $(BUILD_DIR)/asm/sysGCU/screenMgr.o \ - $(BUILD_DIR)/asm/sysGCU/screenObj.o \ - $(BUILD_DIR)/asm/sysGCU/JSTObjectParticleActor.o \ - $(BUILD_DIR)/asm/sysGCU/moviePlayerAudio.o \ - $(BUILD_DIR)/asm/sysGCU/illustratedBookMessage.o \ - $(BUILD_DIR)/asm/sysGCU/sysDrawBuffer.o \ - $(BUILD_DIR)/asm/sysGCU/pikmin2AramMgr.o \ - $(BUILD_DIR)/asm/sysGCU/messageAnalyzer.o \ - $(BUILD_DIR)/asm/utilityU/menu.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_Director.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_Factory.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_ObjSound.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_Demo.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_Scene.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_BossMgr.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_Se.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_DirectorMgr.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_Sound.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_TrackMap.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_CreaturePrm.o \ - $(BUILD_DIR)/asm/utilityU/PSMainSide_ObjCalc.o \ + $(BUILD_DIR)/asm/plugProjectMorimuraU/bombMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/bomb.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/eggState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/eggAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/eggMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/egg.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/panModokiState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/panModokiAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/panModokiMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/panModoki.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/plantsMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/plantsAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/plants.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/kingChappyState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/kingChappyMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/kingChappy.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/miulinState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/miulinAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/miulinMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/miulin.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/jigumoState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/jigumoAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/jigumoMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/jigumo.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/enemyNestMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/enemyNest.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/tamagoMushiState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/tamagoMushiAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/tamagoMushiMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/tamagoMushi.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/zukan2D.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/hiScore2D.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/umiMushiState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/umiMushiAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/umiMushiMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/umiMushi.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/shijimiChouState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/shijimiChouAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/shijimiChouMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/shijimiChou.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/challengeSelect2D.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/challengeResult2D.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/vsSelect2D.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/mrUtil.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/scrollList.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/mrWindow.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/blackManState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/blackManAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/blackManMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/blackMan.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/tyreState.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/tyreAnimator.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/tyreMgr.o\ + $(BUILD_DIR)/asm/plugProjectMorimuraU/tyre.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efxBase.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efxEnemy.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efxObject.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efxPikmin.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/particle2dMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efx2dBase.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efx2dEffect.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/particleMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2Title.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleUnit.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiUtility.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleCamera.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleLight.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenMemoryCard.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efxTPkEffectMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efxEnemyGeneral.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebi3DGraph.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiGeometry.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebi2DGraph.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenOption.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenProgre.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiOptionMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebi2DCallBack.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiCardMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenFramework.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenPushStart.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenFileSelect.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenTitleMenu.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiSaveMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenSaveMenu.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenFileSelect_Mgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiFileSelectMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiCardMgr_Load.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleCoordMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitlePikmin.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleKogane.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleChappy.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenTMBack.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiMainTitleMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiP2TitleFog.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/efxEnemyBoss.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiCardEReader.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenOmake.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiOmakeMgr.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenOmakeCardE.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenOmakeGame.o\ + $(BUILD_DIR)/asm/plugProjectEbisawaU/ebiScreenInfoWindow.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khWorldMap.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khCaveResult.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khSceneLoader.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/newGame2DMgr.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/newScreenMgr.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khReadyGo.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khFinalFloor.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khDayEndResult.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khUtil.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khFinalResult.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khPayDept.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khWinLose.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khWinLoseReason.o\ + $(BUILD_DIR)/asm/plugProjectKonoU/khMailSaveData.o\ + $(BUILD_DIR)/asm/sysBootupU/sysBootup.o\ + $(BUILD_DIR)/asm/sysCommonU/node.o\ + $(BUILD_DIR)/asm/sysCommonU/sysMath.o\ + $(BUILD_DIR)/asm/sysCommonU/id32.o\ + $(BUILD_DIR)/asm/sysCommonU/parameters.o\ + $(BUILD_DIR)/asm/sysCommonU/stream.o\ + $(BUILD_DIR)/asm/sysCommonU/geometry.o\ + $(BUILD_DIR)/asm/sysCommonU/mapCollision.o\ + $(BUILD_DIR)/asm/sysCommonU/camera.o\ + $(BUILD_DIR)/asm/sysCommonU/tagparams.o\ + $(BUILD_DIR)/asm/sysCommonU/sysTemplates.o\ + $(BUILD_DIR)/asm/sysCommonU/mapCode.o\ + $(BUILD_DIR)/asm/sysCommonU/geomIntersection.o\ + $(BUILD_DIR)/asm/sysCommonU/geomOBBTree.o\ + $(BUILD_DIR)/asm/sysCommonU/geomTraceMove.o\ + $(BUILD_DIR)/asm/sysCommonU/geomCylinder.o\ + $(BUILD_DIR)/asm/sysCommonU/geomClone.o\ + $(BUILD_DIR)/asm/sysGCU/system.o\ + $(BUILD_DIR)/asm/sysGCU/section.o\ + $(BUILD_DIR)/asm/sysGCU/gameflow.o\ + $(BUILD_DIR)/asm/sysGCU/menuSection.o\ + $(BUILD_DIR)/asm/sysGCU/dvdThread.o\ + $(BUILD_DIR)/asm/sysGCU/appThread.o\ + $(BUILD_DIR)/asm/sysGCU/controller.o\ + $(BUILD_DIR)/asm/sysGCU/graphics.o\ + $(BUILD_DIR)/asm/sysGCU/matMath.o\ + $(BUILD_DIR)/asm/sysGCU/sysShape.o\ + $(BUILD_DIR)/asm/sysGCU/reset.o\ + $(BUILD_DIR)/asm/sysGCU/dvdStatus.o\ + $(BUILD_DIR)/asm/sysGCU/sysTimers.o\ + $(BUILD_DIR)/asm/sysGCU/modelMgr.o\ + $(BUILD_DIR)/asm/sysGCU/heapStatus.o\ + $(BUILD_DIR)/asm/sysGCU/light.o\ + $(BUILD_DIR)/asm/sysGCU/wipe.o\ + $(BUILD_DIR)/asm/sysGCU/moviePlayer.o\ + $(BUILD_DIR)/asm/sysGCU/JSTObjectActor.o\ + $(BUILD_DIR)/asm/sysGCU/JSTObjectCamera.o\ + $(BUILD_DIR)/asm/sysGCU/JSTObjectGameActor.o\ + $(BUILD_DIR)/asm/sysGCU/JSTObjectSystem.o\ + $(BUILD_DIR)/asm/sysGCU/JSTFindCreature.o\ + $(BUILD_DIR)/asm/sysGCU/movieConfig.o\ + $(BUILD_DIR)/asm/sysGCU/gameConfig.o\ + $(BUILD_DIR)/asm/sysGCU/fogMgr.o\ + $(BUILD_DIR)/asm/sysGCU/aramMgr.o\ + $(BUILD_DIR)/asm/sysGCU/resourceMgr.o\ + $(BUILD_DIR)/asm/sysGCU/resourceMgr2D.o\ + $(BUILD_DIR)/asm/sysGCU/sysMaterialAnim.o\ + $(BUILD_DIR)/asm/sysGCU/P2DScreen.o\ + $(BUILD_DIR)/asm/sysGCU/movieMessage.o\ + $(BUILD_DIR)/asm/sysGCU/moviePlayerPauseAndDraw.o\ + $(BUILD_DIR)/asm/sysGCU/JSTObjectSpecialActor.o\ + $(BUILD_DIR)/asm/sysGCU/messageSequence.o\ + $(BUILD_DIR)/asm/sysGCU/messageMgr.o\ + $(BUILD_DIR)/asm/sysGCU/messageObj.o\ + $(BUILD_DIR)/asm/sysGCU/messageRendering.o\ + $(BUILD_DIR)/asm/sysGCU/message.o\ + $(BUILD_DIR)/asm/sysGCU/modelEffect.o\ + $(BUILD_DIR)/asm/sysGCU/messageReference.o\ + $(BUILD_DIR)/asm/sysGCU/simpleMessage.o\ + $(BUILD_DIR)/asm/sysGCU/sysShapeAnimation.o\ + $(BUILD_DIR)/asm/sysGCU/sysShapeModel.o\ + $(BUILD_DIR)/asm/sysGCU/windowMessage.o\ + $(BUILD_DIR)/asm/sysGCU/memoryCard.o\ + $(BUILD_DIR)/asm/sysGCU/pikmin2MemoryCardMgr.o\ + $(BUILD_DIR)/asm/sysGCU/commonSaveData.o\ + $(BUILD_DIR)/asm/sysGCU/bootSection.o\ + $(BUILD_DIR)/asm/sysGCU/titleSection.o\ + $(BUILD_DIR)/asm/sysGCU/loadResource.o\ + $(BUILD_DIR)/asm/sysGCU/rootMenuSection.o\ + $(BUILD_DIR)/asm/sysGCU/demoSection.o\ + $(BUILD_DIR)/asm/sysGCU/THPAudioDecode.o\ + $(BUILD_DIR)/asm/sysGCU/THPDraw.o\ + $(BUILD_DIR)/asm/sysGCU/THPPlayer.o\ + $(BUILD_DIR)/asm/sysGCU/THPRead.o\ + $(BUILD_DIR)/asm/sysGCU/THPVideoDecode.o\ + $(BUILD_DIR)/asm/sysGCU/pikmin2THPPlayer.o\ + $(BUILD_DIR)/asm/sysGCU/captionMgr.o\ + $(BUILD_DIR)/asm/sysGCU/captionMessage.o\ + $(BUILD_DIR)/asm/sysGCU/screenScene.o\ + $(BUILD_DIR)/asm/sysGCU/screenMgr.o\ + $(BUILD_DIR)/asm/sysGCU/screenObj.o\ + $(BUILD_DIR)/asm/sysGCU/JSTObjectParticleActor.o\ + $(BUILD_DIR)/asm/sysGCU/moviePlayerAudio.o\ + $(BUILD_DIR)/asm/sysGCU/illustratedBookMessage.o\ + $(BUILD_DIR)/asm/sysGCU/sysDrawBuffer.o\ + $(BUILD_DIR)/asm/sysGCU/pikmin2AramMgr.o\ + $(BUILD_DIR)/asm/sysGCU/messageAnalyzer.o\ + $(BUILD_DIR)/asm/utilityU/menu.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_Director.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_Factory.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_ObjSound.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_Demo.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_Scene.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_BossMgr.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_Se.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_DirectorMgr.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_Sound.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_TrackMap.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_CreaturePrm.o\ + $(BUILD_DIR)/asm/utilityU/PSMainSide_ObjCalc.o\ -CTORS_O_FILES := \ - $(BUILD_DIR)/asm/ctors.o \ +CTORS_O_FILES:=\ + $(BUILD_DIR)/asm/ctors.o\ -DTORS_O_FILES := \ - $(BUILD_DIR)/asm/dtors.o \ +DTORS_O_FILES:=\ + $(BUILD_DIR)/asm/dtors.o\ -RODATA_O_FILES := \ - $(BUILD_DIR)/asm/rodata.o \ +RODATA_O_FILES:=\ + $(BUILD_DIR)/asm/rodata.o\ -DATA_O_FILES := \ - $(BUILD_DIR)/asm/data.o \ +DATA_O_FILES:=\ + $(BUILD_DIR)/asm/data.o\ -BSS_O_FILES := \ - $(BUILD_DIR)/asm/bss.o \ +BSS_O_FILES:=\ + $(BUILD_DIR)/asm/bss.o\ -SDATA_O_FILES := \ - $(BUILD_DIR)/asm/sdata.o \ +SDATA_O_FILES:=\ + $(BUILD_DIR)/asm/sdata.o\ -SBSS_O_FILES := \ - $(BUILD_DIR)/asm/sbss.o \ +SBSS_O_FILES:=\ + $(BUILD_DIR)/asm/sbss.o\ -SDATA2_O_FILES := \ - $(BUILD_DIR)/asm/sdata2.o \ - -SBSS2_O_FILES := \ - $(BUILD_DIR)/asm/sbss2.o \ +SDATA2_O_FILES:=\ + $(BUILD_DIR)/asm/sdata2.o\ + +SBSS2_O_FILES:=\ + $(BUILD_DIR)/asm/sbss2.o\